@skill-map/cli 0.61.0 → 0.61.1

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.
@@ -36,7 +36,7 @@ Wait for confirmation. Mark `init`: done.
36
36
 
37
37
  ## Chapter `kinds` - The other kinds appear (~1 min)
38
38
 
39
- Leave the browser open and the terminal with `sm` running. You create five more nodes **without any cross-fixture links** yet, pure standalone nodes, so the tester sees five new dots pop in. Three new **kinds** show up in this step (skill, command, markdown); the last two files are sibling `markdown` notes (`demo-guideline`, `demo-guideline2`) the hub in the `connectors` chapter reaches two ways, a bare mention that resolves to nothing (which lands as a broken reference, no arrow drawn) and the same handle plus `.md` that resolves to a real file (a solid arrow).
39
+ Leave the browser open and the terminal with `sm` running. You create five more nodes **without any cross-fixture links** yet, pure standalone nodes, so the tester sees five new nodes pop in. Three new **kinds** show up in this step (skill, command, markdown); the last two files are sibling `markdown` notes (`demo-guideline`, `demo-guideline2`) the hub in the `connectors` chapter reaches two ways, a bare mention that resolves to nothing (which lands as a broken reference, no arrow drawn) and the same handle plus `.md` that resolves to a real file (a solid arrow).
40
40
 
41
41
  Lay these five files in one go (their content + translation live in `fixtures-data/`). The script resolves `__PROVIDER__` and auto-skips kinds the provider does not claim (`agent-skills` / Antigravity: both `demo-agent` and `demo-command` fold away, only the skill + the three markdown notes remain), so read the actual node count from the summary's `nodeCount`. Backstage (silent):
42
42
 
@@ -51,13 +51,13 @@ Tell the tester:
51
51
  > Look at the browser. Five new nodes should have popped in:
52
52
  > `demo-skill`, `demo-command`, **Demo TODO list**, `demo-guideline`,
53
53
  > and `demo-guideline2`.
54
- > Six total now, **still unconnected**: they're floating dots.
54
+ > Six total now, **still unconnected**: they're floating nodes.
55
55
  > The viewport auto-fits whenever a node is added or removed, so
56
56
  > all six should be visible without panning.
57
57
  >
58
58
  > What I just did behind the scenes: I created five new files in
59
59
  > your project, and the watcher picked them up on its own, that's
60
- > why five new dots appeared without you running anything:
60
+ > why five new nodes appeared without you running anything:
61
61
  >
62
62
  > - `.claude/skills/demo-skill/SKILL.md` (kind: skill)
63
63
  > - `.claude/commands/demo-command.md` (kind: command)
@@ -117,11 +117,12 @@ node .claude/skills/sm-tutorial/scripts/fixtures.js edit todo-connectors --provi
117
117
 
118
118
  Tell the tester:
119
119
 
120
- > Look at the magic again. **Demo TODO list** is now the hub. You
121
- > wrote five linking bullets, and **four arrows** light up between it
122
- > and the other nodes, each coloured by the link kind it carries:
120
+ > Look at the magic again. **Demo TODO list** is now the hub. I added
121
+ > five linking bullets to it (open `notes/todo.md` in your editor to
122
+ > see them), and **four arrows** light up between it and the other
123
+ > nodes, each coloured by the link kind it carries:
123
124
  >
124
- > - `Demo TODO list → demo-agent` (kind: `mentions`, the bare `@` handle resolves to a real agent)
125
+ > - `Demo TODO list → demo-agent` (kind: `mentions`, the `@name` mention resolves to a real agent)
125
126
  > - `Demo TODO list → demo-command` (kind: `invokes`)
126
127
  > - `Demo TODO list → demo-skill` (kind: `invokes`)
127
128
  > - `Demo TODO list → demo-guideline2` (kind: `references`, the `@` handle with a `.md` extension)
@@ -132,17 +133,17 @@ Tell the tester:
132
133
  > extension turns the name drop into a file pointer.
133
134
  >
134
135
  > So why four arrows for five bullets? The fifth bullet,
135
- > `@demo-guideline`, is a bare `@`-mention, and a bare mention only
136
- > resolves to an *agent*. `demo-guideline` is a note, not an agent, so
137
- > the mention resolves to nothing: skill-map draws no arrow (there is
138
- > no node for it to land on) and instead flags the hub with a
136
+ > `@demo-guideline`, is a reference skill-map cannot resolve: an
137
+ > `@name` mention points at an *agent* with that name, and there is no
138
+ > agent called `demo-guideline` (it is a note), so the reference lands
139
+ > on nothing. skill-map draws no arrow and instead flags the hub with a
139
140
  > **broken reference**, a red error marker on the **Demo TODO list**
140
141
  > card. Compare it with the bullet right after: `@demo-guideline2.md`
141
- > adds the `.md`, so skill-map reads a file pointer, finds the real
142
- > `demo-guideline2.md` node, and draws a solid arrow to it. Same
143
- > handle, one `.md` apart, and one resolves while the other breaks.
144
- > (That is also why `@demo-agent` drew fine: a bare mention DOES
145
- > resolve when the target is a real agent.)
142
+ > adds the `.md`, which makes it point at the **file** instead, so
143
+ > skill-map finds the real `demo-guideline2.md` node and draws a solid
144
+ > arrow. Same name, one `.md` apart: one resolves, the other does not.
145
+ > (That is also why `@demo-agent` drew fine: an `@name` mention
146
+ > resolves when an agent by that name really exists.)
146
147
  >
147
148
  > One word on solidity: skill-map draws each connector's
148
149
  > **confidence** as opacity, and every arrow you see here is fully
@@ -157,7 +158,7 @@ Tell the tester:
157
158
  > marker on the hub. If an arrow is missing, refresh the browser and
158
159
  > let me know.
159
160
 
160
- Expected: four drawn arrows plus one `core/reference-broken` error on `notes/todo.md` for the unresolved `@demo-guideline` mention (the prologue carries this single deliberate error from here on; it is the broken-reference preview the campaign and CLI parts build on). If an arrow is missing, do not advance, the next chapter inspects the same hub edit. Mark `connectors`: done.
161
+ Expected: four drawn arrows plus one `core/reference-broken` error on `notes/todo.md` for the unresolved `@demo-guideline` mention (the broken-reference preview; the tester resolves it by hand in the `edit-link` chapter by adding `.md`, and the campaign and CLI parts re-seed their own pristine copy from `prologue-built`). If an arrow is missing, do not advance, the next chapter inspects the same hub edit. Mark `connectors`: done.
161
162
 
162
163
  ## Chapter `inspector` - The inspector and connections (~1 min)
163
164
 
@@ -170,8 +171,8 @@ The canvas only draws the resolved arrows; the full per-link breakdown, includin
170
171
  > first, otherwise it just re-arranges.
171
172
  >
172
173
  > 🆕 Open the Inspector for **Demo TODO list** (click the node on
173
- > the map). **Expand** the **Connections** section (it's collapsed
174
- > by default): it has two sections, **Outgoing** and **Incoming**.
174
+ > the map). Find the **Connections** section: it has two sections,
175
+ > **Outgoing** and **Incoming**.
175
176
  > Demo TODO list lists **5 links** under Outgoing (the canvas drew
176
177
  > four arrows, but the data keeps the broken `@demo-guideline` mention
177
178
  > as a fifth row) and 0 under Incoming. Each row shows the link kind
@@ -194,7 +195,7 @@ Mark `inspector`: done.
194
195
 
195
196
  ## Chapter `edit-link` - Edit a link, the topology changes (~3 min)
196
197
 
197
- **Context**: the `first-edit` chapter had the tester edit a scalar (`description`) and watch the inspector card refresh. This chapter raises the bar: edit a Markdown link and watch the MAP TOPOLOGY change (a connector disappears).
198
+ **Context**: the `first-edit` chapter had the tester edit a scalar (`description`) and watch the inspector card refresh. This chapter raises the bar: edit Markdown links and watch the MAP TOPOLOGY change both ways, a connector disappears when you remove a link, and a new one appears (clearing the broken-reference error) when you fix the unresolved one.
198
199
 
199
200
  The server has been live since the `init` chapter, leave it running; this chapter and the next two (the workspace tour, then `.skillmapignore`) reuse it.
200
201
 
@@ -205,8 +206,24 @@ The server has been live since the `init` chapter, leave it running; this chapte
205
206
  > Expected: the `Demo TODO list → demo-agent` connector (kind:
206
207
  > `mentions`) disappears in real time. The two nodes stay in the
207
208
  > **Map**; only the edge goes.
209
+ >
210
+ > Tell me when the connector is gone.
211
+
212
+ Once they confirm, the second edit fixes the broken reference. Tell the tester:
208
213
 
209
- You verify by reading `notes/todo.md` to confirm the change was applied. (On `agent-skills`, where the `@demo-agent` bullet was never created in the `connectors` chapter, ask the tester to remove the only bullet they did add and watch THAT connector vanish, the lesson is the same.) Once they confirm, leave the server running, the next chapter reuses it. Mark `edit-link`: done.
214
+ > Now the other direction, fix the broken link. Edit `notes/todo.md`
215
+ > again and add the `.md` extension to the `@demo-guideline` bullet so
216
+ > it reads `@demo-guideline.md`. Save.
217
+ >
218
+ > Expected: a NEW arrow appears, `Demo TODO list → demo-guideline`
219
+ > (kind: `references`), and the red broken-reference marker on the hub
220
+ > clears. The `.md` turned the unresolved mention into a file
221
+ > reference that lands on the real `demo-guideline.md`, the same fix
222
+ > you saw side by side in the connectors chapter, now done by hand.
223
+ >
224
+ > Confirm when the new arrow is in and the red marker is gone.
225
+
226
+ You verify by reading `notes/todo.md` to confirm both edits landed (the `@demo-agent` bullet gone, `@demo-guideline` now `@demo-guideline.md`); the prologue's broken reference is now resolved. (On `agent-skills`, where the `@demo-agent` bullet was never created in the `connectors` chapter, ask the tester to remove the only bullet they did add for the first edit; the `.md` fix on `@demo-guideline` is identical.) Once they confirm, leave the server running, the next chapter reuses it. Mark `edit-link`: done.
210
227
 
211
228
  ## Chapter `workspace` - Navigate the workspace (files, search, isolate) (~2 min)
212
229
 
@@ -214,7 +231,11 @@ You verify by reading `notes/todo.md` to confirm the change was applied. (On `ag
214
231
 
215
232
  Per §Provider detection, on `agent-skills` / Antigravity the fixture has fewer nodes (`demo-skill` plus the two `notes/` files), so swap the node names below for ones that exist in that set; the gestures are identical.
216
233
 
217
- **Beat 1, open the Files panel (tester does this).**
234
+ Walk the three tester actions below one at a time (open the Files
235
+ panel, then search, then isolate); each ends with its own
236
+ confirmation, so present one and wait for the tester before the next.
237
+ Do NOT prepend an intro line to a block, each already opens with the
238
+ action itself.
218
239
 
219
240
  > Open the **Files** panel. It sits collapsed against the left edge
220
241
  > by default: click the expand handle there (the `>` arrow, its
@@ -225,8 +246,6 @@ Per §Provider detection, on `agent-skills` / Antigravity the fixture has fewer
225
246
  >
226
247
  > Tell me when the tree is open.
227
248
 
228
- **Beat 2, search (tester does this).**
229
-
230
249
  > At the top of that sidebar there's a search box (placeholder
231
250
  > `Search…`). Type `guideline`. Watch both halves at once: the tree
232
251
  > narrows down to the two guideline nodes (`demo-guideline` and
@@ -237,8 +256,6 @@ Per §Provider detection, on `agent-skills` / Antigravity the fixture has fewer
237
256
  > Now clear the box. All six nodes come back, in both the tree and
238
257
  > the Map. Confirm you saw it filter and then restore.
239
258
 
240
- **Beat 3, isolate (tester does this).**
241
-
242
259
  > Last one. In the tree, find the **Demo TODO list** row: at its
243
260
  > right edge there's a small **sitemap** icon (its tooltip reads
244
261
  > "Isolate this node and its direct links on the map"). Click it.
@@ -65,13 +65,13 @@ Tell the tester:
65
65
 
66
66
  Wait for confirmation. Mark `kickoff`: done.
67
67
 
68
- ## Chapter `manual` - The handbook and CLAUDE.md (~2 min)
68
+ ## Chapter `manual` - The handbook (AGENTS.md) and CLAUDE.md (~2 min)
69
69
 
70
70
  **Context**: the dogfood beat. Real Claude Code projects can
71
71
  reference the generic `AGENTS.md` from their `CLAUDE.md` (this very
72
72
  repo does). That one-line pointer is a real `references` link (the
73
- `.md` extension makes `@AGENTS.md` a file pointer, not a bare
74
- mention), the tester's first connector on the real project.
73
+ `.md` extension makes `@AGENTS.md` a file pointer), the tester's first
74
+ connector on the real project.
75
75
 
76
76
  Tell the tester to create the file themselves (it is their project's
77
77
  file, Inviolable rule #2). Backstage, get the content:
@@ -89,7 +89,7 @@ then render it in the fenced block the tester copies:
89
89
  > `references` connector pointing at `AGENTS.md`, solid at 1.00.
90
90
  > Because `@AGENTS.md` carries the `.md` extension, skill-map reads it
91
91
  > as a file pointer (the same `@name.md` reference you met in the
92
- > prologue, not a bare mention), and since the handbook is right there
92
+ > prologue), and since the handbook is right there
93
93
  > the link resolves with full confidence. It tells anyone (and
94
94
  > skill-map) that `CLAUDE.md` defers to the handbook. This is exactly
95
95
  > how this tool's own repo is wired.
@@ -116,6 +116,11 @@ Tell the tester:
116
116
  > `agent` node appeared on the map. Right now it stands alone; in the
117
117
  > next part we wire it to the handbook and the style guide.
118
118
  >
119
+ > 💡 Tip: I create these harness files for you. If you'd like to see
120
+ > what's inside, open `<provider_dir>/agents/content-editor.md` in your
121
+ > editor, and feel free to peek at the files I add in the coming
122
+ > chapters too.
123
+ >
119
124
  > See the new agent node?
120
125
 
121
126
  Wait for confirmation. Mark `first-agent`: done.
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // cli/entry.ts
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="81a4f94d-0bdd-5d3c-8319-4331c127c6bd")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9a536139-6f70-53a7-b32a-eed4fc49b7a4")}catch(e){}}();
4
4
  import { existsSync as existsSync33 } from "fs";
5
5
  import { Builtins, Cli as Cli2 } from "clipanion";
6
6
 
@@ -250,7 +250,7 @@ function bucketByKind(kind, instance, bag) {
250
250
  // package.json
251
251
  var package_default = {
252
252
  name: "@skill-map/cli",
253
- version: "0.61.0",
253
+ version: "0.61.1",
254
254
  description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
255
255
  license: "MIT",
256
256
  type: "module",
@@ -31057,4 +31057,4 @@ function resolveBareDefault() {
31057
31057
  process.exit(ExitCode.Error);
31058
31058
  }
31059
31059
  //# sourceMappingURL=cli.js.map
31060
- //# debugId=81a4f94d-0bdd-5d3c-8319-4331c127c6bd
31060
+ //# debugId=9a536139-6f70-53a7-b32a-eed4fc49b7a4
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // kernel/i18n/registry.texts.ts
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="67729ef7-56b3-52e1-842e-a6529ab3dec8")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3bc6390b-70e8-568a-835e-870172658869")}catch(e){}}();
4
4
  var REGISTRY_TEXTS = {
5
5
  duplicateExtension: "Extension already registered: {{kind}}:{{qualifiedId}}",
6
6
  unknownKind: "Unknown extension kind: {{kind}}",
@@ -102,7 +102,7 @@ import { Tiktoken as Tiktoken2 } from "js-tiktoken/lite";
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@skill-map/cli",
105
- version: "0.61.0",
105
+ version: "0.61.1",
106
106
  description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
107
107
  license: "MIT",
108
108
  type: "module",
@@ -3847,4 +3847,4 @@ export {
3847
3847
  runScanWithRenames
3848
3848
  };
3849
3849
  //# sourceMappingURL=index.js.map
3850
- //# debugId=67729ef7-56b3-52e1-842e-a6529ab3dec8
3850
+ //# debugId=3bc6390b-70e8-568a-835e-870172658869
@@ -1,6 +1,6 @@
1
1
  // kernel/i18n/registry.texts.ts
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a6c637fa-361c-5922-ade9-901c3b64c47a")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1b30d8c8-edea-5922-be87-39c4ebe079c0")}catch(e){}}();
4
4
  var REGISTRY_TEXTS = {
5
5
  duplicateExtension: "Extension already registered: {{kind}}:{{qualifiedId}}",
6
6
  unknownKind: "Unknown extension kind: {{kind}}",
@@ -102,7 +102,7 @@ import { Tiktoken as Tiktoken2 } from "js-tiktoken/lite";
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@skill-map/cli",
105
- version: "0.61.0",
105
+ version: "0.61.1",
106
106
  description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
107
107
  license: "MIT",
108
108
  type: "module",
@@ -3847,4 +3847,4 @@ export {
3847
3847
  runScanWithRenames
3848
3848
  };
3849
3849
  //# sourceMappingURL=index.js.map
3850
- //# debugId=a6c637fa-361c-5922-ade9-901c3b64c47a
3850
+ //# debugId=1b30d8c8-edea-5922-be87-39c4ebe079c0