@vscode/codicons 0.0.46-37 → 0.0.46-38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/skills/build-new-icons/SKILL.md +38 -0
- package/dist/codicon.css +3 -1
- package/dist/codicon.csv +2 -0
- package/dist/codicon.html +61 -1
- package/dist/codicon.svg +1 -1
- package/dist/codicon.ttf +0 -0
- package/dist/codiconsLibrary.ts +2 -0
- package/dist/metadata.json +28 -0
- package/package.json +1 -1
- package/src/icons/copilot-dot-compact.svg +1 -0
- package/src/icons/copilot-dot.svg +1 -0
- package/src/template/mapping.json +6 -0
- package/src/template/metadata.json +28 -0
- package/.github/prompts/build-new-icons.prompt.md +0 -32
package/dist/codicon.ttf
CHANGED
|
Binary file
|
package/dist/codiconsLibrary.ts
CHANGED
|
@@ -765,4 +765,6 @@ export const codiconsLibrary = {
|
|
|
765
765
|
bookCompact: register('book-compact', 0xecef),
|
|
766
766
|
micOff: register('mic-off', 0xecf0),
|
|
767
767
|
micOffCompact: register('mic-off-compact', 0xecf1),
|
|
768
|
+
copilotDot: register('copilot-dot', 0xecf2),
|
|
769
|
+
copilotDotCompact: register('copilot-dot-compact', 0xecf3),
|
|
768
770
|
} as const;
|
package/dist/metadata.json
CHANGED
|
@@ -1472,6 +1472,34 @@
|
|
|
1472
1472
|
"category": "ai",
|
|
1473
1473
|
"description": "AI Copilot assistant (compact variant)"
|
|
1474
1474
|
},
|
|
1475
|
+
"copilot-dot": {
|
|
1476
|
+
"tags": [
|
|
1477
|
+
"ai",
|
|
1478
|
+
"assistant",
|
|
1479
|
+
"status",
|
|
1480
|
+
"indicator",
|
|
1481
|
+
"badge",
|
|
1482
|
+
"dot",
|
|
1483
|
+
"intelligent",
|
|
1484
|
+
"agent"
|
|
1485
|
+
],
|
|
1486
|
+
"category": "ai",
|
|
1487
|
+
"description": "Copilot with status indicator"
|
|
1488
|
+
},
|
|
1489
|
+
"copilot-dot-compact": {
|
|
1490
|
+
"tags": [
|
|
1491
|
+
"ai",
|
|
1492
|
+
"assistant",
|
|
1493
|
+
"status",
|
|
1494
|
+
"indicator",
|
|
1495
|
+
"badge",
|
|
1496
|
+
"dot",
|
|
1497
|
+
"agent",
|
|
1498
|
+
"compact"
|
|
1499
|
+
],
|
|
1500
|
+
"category": "ai",
|
|
1501
|
+
"description": "Copilot with status indicator (compact 12x12 variant)"
|
|
1502
|
+
},
|
|
1475
1503
|
"copilot-error": {
|
|
1476
1504
|
"tags": [
|
|
1477
1505
|
"ai",
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.46 6.73021C7.17 6.73021 6.93 6.97021 6.93 7.26021V8.00021C6.93 8.29021 7.17 8.53021 7.46 8.53021C7.75 8.53021 8 8.29021 8 8.00021V7.26021C8 6.97021 7.76 6.73021 7.46 6.73021ZM10.8 5.44021C10.8 5.44021 10.79 5.34021 10.78 5.28021C10.77 5.24021 10.76 5.20021 10.75 5.16021C10.45 5.41021 10.12 5.62021 9.75 5.77021V9.08021C9.43 9.32021 7.7 10.1502 5.99 10.1502C4.28 10.1502 2.56 9.32021 2.24 9.08021V5.88021L2.26 5.80021C2.63 5.95021 3.07 6.02021 3.56 6.02021C4.42 6.02021 5.1 5.77021 5.59 5.27021C5.72 5.14021 5.82 4.99021 5.91 4.83021C5.59 4.48021 5.35 4.07021 5.2 3.61021C5.11 4.00021 4.98 4.29021 4.79 4.48021C4.56 4.71021 4.2 4.89021 3.56 4.89021C2.87 4.89021 2.6 4.74021 2.48 4.61021C2.34 4.46021 2.25 4.17021 2.25 3.58021C2.25 2.99021 2.34 2.65021 2.52 2.41021C2.7 2.19021 3.04 1.97021 3.81 1.89021C4.55 1.80021 4.89 1.94021 5.04 2.09021C5.09 1.69021 5.2 1.32021 5.37 0.970208C4.9 0.750208 4.32 0.700208 3.68 0.770208C2.76 0.870208 2.07 1.17021 1.64 1.72021C1.22 2.25021 1.12 2.93021 1.12 3.58021C1.12 4.01021 1.16 4.44021 1.31 4.82021C1.26 4.99021 1.24 5.14021 1.22 5.28021C1.22 5.33021 1.2 5.39021 1.19 5.44021C0.51 5.73021 0.06 6.52021 0 6.99021V8.45021C0.09 9.08021 2.58 11.2602 6 11.2602C9.42 11.2602 11.99 8.99021 12 8.42021V7.01021C11.95 6.55021 11.5 5.73021 10.8 5.44021ZM4.53 6.73021C4.24 6.73021 4 6.97021 4 7.26021V8.00021C4 8.30021 4.24 8.53021 4.53 8.53021C4.82 8.53021 5.07 8.30021 5.07 8.00021V7.26021C5.07 6.97021 4.83 6.73021 4.53 6.73021Z"/><path d="M8.5 5C9.88071 5 11 3.88071 11 2.5C11 1.11929 9.88071 0 8.5 0C7.11929 0 6 1.11929 6 2.5C6 3.88071 7.11929 5 8.5 5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M13.99 7.29C13.98 7.22 13.97 7.15 13.96 7.08C13.95 7.02 13.93 6.95 13.92 6.88C13.62 6.95 13.32 7 13 7C12.38 7 11.8 6.85 11.28 6.6C11.2 6.6 11.13 6.61 11.04 6.61C10.23 6.61 9.78 6.39 9.5 6.1C9.2 5.79 9.01 5.32 8.92 4.64C8.83 3.97 8.91 3.56 9.03 3.31C9.03 3.21 9 3.1 9 3C9 2.47 9.11 1.98 9.29 1.52C8.83 1.63 8.43 1.84 8.12 2.17C8.08 2.21 8.03 2.27 7.99 2.32C7.95 2.27 7.91 2.22 7.86 2.17C7.22 1.48 6.23 1.32 5.1 1.45C3.95 1.58 3.09 1.94 2.55 2.63C2.02 3.3 1.9 4.14 1.9 4.96C1.9 5.49 1.95 6.03 2.14 6.51C2.08 6.72 2.05 6.91 2.02 7.08C2.01 7.16 2 7.22 1.99 7.29C1.13 7.65 0.58 8.64 0.5 9.23V11.06C0.62 11.85 3.64 14.59 8 14.59C12.36 14.59 15.5 11.75 15.5 11.03V9.27L15.48 9.25C15.42 8.67 14.86 7.65 13.99 7.29ZM3.65 3.52C3.87 3.24 4.3 2.97 5.26 2.86C6.24 2.75 6.66 2.95 6.84 3.14C7.04 3.34 7.18 3.77 7.07 4.65C6.98 5.33 6.79 5.81 6.49 6.11C6.21 6.4 5.75 6.62 4.95 6.62C4.09 6.62 3.75 6.43 3.6 6.26C3.43 6.07 3.31 5.71 3.31 4.97H3.3C3.3 4.26 3.42 3.81 3.65 3.52ZM12.69 11.84C12.3 12.14 10.14 13.18 8 13.18C5.86 13.18 3.7 12.14 3.31 11.84V7.85L3.33 7.74C3.79 7.93 4.34 8.01 4.95 8.01C6.02 8.01 6.88 7.7 7.49 7.08C7.69 6.87 7.86 6.63 8 6.38C8.14 6.64 8.31 6.87 8.51 7.08C9.12 7.7 9.98 8.01 11.05 8.01C11.66 8.01 12.21 7.94 12.67 7.74L12.69 7.85V11.84ZM7.06 9.66V11.07C7.06 11.46 6.75 11.77 6.36 11.77C5.97 11.77 5.66 11.46 5.66 11.07V9.66C5.66 9.27 5.97 8.96 6.36 8.96C6.75 8.96 7.06 9.27 7.06 9.66ZM10.34 9.66V11.07C10.34 11.46 10.03 11.77 9.64 11.77C9.25 11.77 8.94 11.46 8.94 11.07V9.66C8.94 9.27 9.25 8.96 9.64 8.96C10.03 8.96 10.34 9.27 10.34 9.66ZM10 3C10 1.34 11.34 0 13 0C14.66 0 16 1.34 16 3C16 4.66 14.66 6 13 6C11.34 6 10 4.66 10 3Z"/></svg>
|
|
@@ -1472,6 +1472,34 @@
|
|
|
1472
1472
|
"category": "ai",
|
|
1473
1473
|
"description": "AI Copilot assistant (compact variant)"
|
|
1474
1474
|
},
|
|
1475
|
+
"copilot-dot": {
|
|
1476
|
+
"tags": [
|
|
1477
|
+
"ai",
|
|
1478
|
+
"assistant",
|
|
1479
|
+
"status",
|
|
1480
|
+
"indicator",
|
|
1481
|
+
"badge",
|
|
1482
|
+
"dot",
|
|
1483
|
+
"intelligent",
|
|
1484
|
+
"agent"
|
|
1485
|
+
],
|
|
1486
|
+
"category": "ai",
|
|
1487
|
+
"description": "Copilot with status indicator"
|
|
1488
|
+
},
|
|
1489
|
+
"copilot-dot-compact": {
|
|
1490
|
+
"tags": [
|
|
1491
|
+
"ai",
|
|
1492
|
+
"assistant",
|
|
1493
|
+
"status",
|
|
1494
|
+
"indicator",
|
|
1495
|
+
"badge",
|
|
1496
|
+
"dot",
|
|
1497
|
+
"agent",
|
|
1498
|
+
"compact"
|
|
1499
|
+
],
|
|
1500
|
+
"category": "ai",
|
|
1501
|
+
"description": "Copilot with status indicator (compact 12x12 variant)"
|
|
1502
|
+
},
|
|
1475
1503
|
"copilot-error": {
|
|
1476
1504
|
"tags": [
|
|
1477
1505
|
"ai",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Build codicons and update mapping.json & metadata.json after adding new icons
|
|
3
|
-
argument-hint: List the new icon names you added (e.g. "wand, sparkle-filled")
|
|
4
|
-
tools: ['execute/runInTerminal', 'execute/getTerminalOutput', 'read', 'edit', 'search']
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
New SVG icons have been added to `src/icons/`. Your job is to build the font, update the template files, and verify everything is consistent.
|
|
8
|
-
|
|
9
|
-
## Steps
|
|
10
|
-
|
|
11
|
-
1. **Identify new icons** — compare `src/icons/*.svg` against the entries in `src/template/metadata.json` to find icons that don't have metadata yet. List them.
|
|
12
|
-
|
|
13
|
-
2. **Run the build** — execute `npm run build` in the `vscode-codicons` workspace root. Wait for it to finish and confirm it succeeds (exit code 0). If it fails, diagnose and fix the issue before continuing.
|
|
14
|
-
|
|
15
|
-
3. **Check mapping.json** — read `src/template/mapping.json`. The build's `fantasticon` step auto-generates this file. Verify each new icon appears as a primary name under its codepoint. If any new icon is missing, something went wrong in the build — investigate.
|
|
16
|
-
|
|
17
|
-
4. **Update metadata.json** — for each new icon that is missing from `src/template/metadata.json`, add an entry with this shape:
|
|
18
|
-
```json
|
|
19
|
-
"<icon-name>": {
|
|
20
|
-
"tags": ["<keyword1>", "<keyword2>", ...],
|
|
21
|
-
"category": "<category>",
|
|
22
|
-
"description": "<Short description of the icon>"
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
- **tags**: 4–8 search keywords describing the icon's visual appearance and usage.
|
|
26
|
-
- **category**: one of the existing categories already in the file (e.g. `"action"`, `"navigation"`, `"debug"`, `"file"`, `"user"`, `"git"`, `"layout"`, `"editor"`, `"symbol"`, `"status"`, `"media"`, `"device"`, `"misc"`). Pick the best fit.
|
|
27
|
-
- **description**: a concise one-line description.
|
|
28
|
-
- Keep entries sorted alphabetically by icon name.
|
|
29
|
-
|
|
30
|
-
5. **Run the metadata check** — execute `node scripts/check-metadata.js` and confirm zero missing or orphaned entries.
|
|
31
|
-
|
|
32
|
-
6. **Summary** — list the new icons added, their codepoints from mapping.json, and their metadata entries.
|