File size: 5,098 Bytes
fc93158 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | {
"id": "diffs",
"name": "Diffs",
"description": "Read-only diff viewer and file renderer for agents.",
"skills": ["./skills"],
"uiHints": {
"defaults.fontFamily": {
"label": "Default Font",
"help": "Preferred font family name for diff content and headers."
},
"defaults.fontSize": {
"label": "Default Font Size",
"help": "Base diff font size in pixels."
},
"defaults.lineSpacing": {
"label": "Default Line Spacing",
"help": "Line-height multiplier applied to diff rows."
},
"defaults.layout": {
"label": "Default Layout",
"help": "Initial diff layout shown in the viewer."
},
"defaults.showLineNumbers": {
"label": "Show Line Numbers",
"help": "Show line numbers by default."
},
"defaults.diffIndicators": {
"label": "Diff Indicator Style",
"help": "Choose added/removed indicators style."
},
"defaults.wordWrap": {
"label": "Default Word Wrap",
"help": "Wrap long lines by default."
},
"defaults.background": {
"label": "Default Background Highlights",
"help": "Show added/removed background highlights by default."
},
"defaults.theme": {
"label": "Default Theme",
"help": "Initial viewer theme."
},
"defaults.fileFormat": {
"label": "Default File Format",
"help": "Rendered file format for file mode (PNG or PDF)."
},
"defaults.fileQuality": {
"label": "Default File Quality",
"help": "Quality preset for PNG/PDF rendering."
},
"defaults.fileScale": {
"label": "Default File Scale",
"help": "Device scale factor used while rendering file artifacts."
},
"defaults.fileMaxWidth": {
"label": "Default File Max Width",
"help": "Maximum file render width in CSS pixels."
},
"defaults.mode": {
"label": "Default Output Mode",
"help": "Tool default when mode is omitted. Use view for canvas/gateway viewer, file for PNG/PDF, or both."
},
"security.allowRemoteViewer": {
"label": "Allow Remote Viewer",
"help": "Allow non-loopback access to diff viewer URLs when the token path is known."
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"defaults": {
"type": "object",
"additionalProperties": false,
"properties": {
"fontFamily": {
"type": "string",
"default": "Fira Code"
},
"fontSize": {
"type": "number",
"minimum": 10,
"maximum": 24,
"default": 15
},
"lineSpacing": {
"type": "number",
"minimum": 1,
"maximum": 3,
"default": 1.6
},
"layout": {
"type": "string",
"enum": ["unified", "split"],
"default": "unified"
},
"showLineNumbers": {
"type": "boolean",
"default": true
},
"diffIndicators": {
"type": "string",
"enum": ["bars", "classic", "none"],
"default": "bars"
},
"wordWrap": {
"type": "boolean",
"default": true
},
"background": {
"type": "boolean",
"default": true
},
"theme": {
"type": "string",
"enum": ["light", "dark"],
"default": "dark"
},
"fileFormat": {
"type": "string",
"enum": ["png", "pdf"],
"default": "png"
},
"format": {
"type": "string",
"enum": ["png", "pdf"]
},
"fileQuality": {
"type": "string",
"enum": ["standard", "hq", "print"],
"default": "standard"
},
"fileScale": {
"type": "number",
"minimum": 1,
"maximum": 4,
"default": 2
},
"fileMaxWidth": {
"type": "number",
"minimum": 640,
"maximum": 2400,
"default": 960
},
"imageFormat": {
"type": "string",
"enum": ["png", "pdf"]
},
"imageQuality": {
"type": "string",
"enum": ["standard", "hq", "print"]
},
"imageScale": {
"type": "number",
"minimum": 1,
"maximum": 4
},
"imageMaxWidth": {
"type": "number",
"minimum": 640,
"maximum": 2400
},
"mode": {
"type": "string",
"enum": ["view", "image", "file", "both"],
"default": "both"
}
}
},
"security": {
"type": "object",
"additionalProperties": false,
"properties": {
"allowRemoteViewer": {
"type": "boolean",
"default": false
}
}
}
}
}
}
|