@skill-map/cli 0.68.0 → 0.68.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.
- package/dist/cli/tutorial/sm-tutorial/SKILL.md +14 -15
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/manifest.json +0 -3
- package/dist/cli/tutorial/sm-tutorial/references/_core.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/_manifest.json +30 -56
- package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +11 -35
- package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +6 -7
- package/dist/cli/tutorial/sm-tutorial/references/part-authoring.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-daily.md +25 -51
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-fundamentals.md +20 -19
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-kickoff.md +150 -5
- package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/part-daily-loop.md +41 -73
- package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +25 -29
- package/dist/cli/tutorial/sm-tutorial/references/part-plugins.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +170 -13
- package/dist/cli/tutorial/sm-tutorial/references/part-settings.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/scripts/state.js +4 -4
- package/dist/cli.js +12 -11
- package/dist/index.js +3 -3
- package/dist/kernel/index.js +3 -3
- package/dist/ui/{chunk-4F53HBGG.js → chunk-22EQLC23.js} +1 -1
- package/dist/ui/chunk-TLMV4LOQ.js +3 -0
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-ZYRIR6DB.js → main-R7BIU4HU.js} +3 -3
- package/package.json +2 -2
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-connect.md +0 -166
- package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +0 -175
- package/dist/ui/chunk-BJUBDHJR.js +0 -3
- /package/dist/ui/{chunk-3GDWM5VM.js → chunk-K3ZRQNN5.js} +0 -0
|
@@ -5,9 +5,13 @@ starts an actual project: a tiny personal **portfolio website**,
|
|
|
5
5
|
fully static, served by a ~15-line Express server, plus the
|
|
6
6
|
`.claude/` **harness** that maintains it. skill-map maps the harness
|
|
7
7
|
(the `.md` assets and how they reference each other); the site itself
|
|
8
|
-
is plain HTML the harness produces (the daily loop, Part
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
is plain HTML the harness produces (the daily loop, Part 2, runs and ships it).
|
|
9
|
+
This part runs end to end: it boots the project and grows its harness
|
|
10
|
+
members (the `kickoff` to `real-kinds` chapters), then wires them into a
|
|
11
|
+
connected graph, a link checker, a publish command, the handbook turned
|
|
12
|
+
hub, and a close-up on connector confidence (the `check-links` to
|
|
13
|
+
`confidence` chapters). `pace: per-step`, `preflight: portfolio-init`.
|
|
14
|
+
Shared conventions live in `_core.md`.
|
|
11
15
|
|
|
12
16
|
The orchestrator's `portfolio-init` pre-flight (backstage, silent)
|
|
13
17
|
has already laid the bare project skeleton before the tester runs
|
|
@@ -33,7 +37,9 @@ The chapters grow the harness from there.
|
|
|
33
37
|
- `real-kinds`: Codex's kinds are `agent` (TOML) + `skill` + `markdown`, there is
|
|
34
38
|
no `command`. Lay only `docs/DEPLOY.md` here (STYLE landed in `first-agent`),
|
|
35
39
|
and name the kinds as agent + skill + markdown (the skill + the publish piece
|
|
36
|
-
arrive in
|
|
40
|
+
arrive later in this part as skills).
|
|
41
|
+
- `publish`: Codex has no `command` kind, so the tester creates a **skill** at `.agents/skills/publish/SKILL.md` instead of `.claude/commands/publish.md`. The body is the Codex one (same `/check-links` + `@content-editor` + deploy reference); fetch it with `fixtures.js cat harness --file "__PROVIDER__/skills/publish/SKILL.md" --provider codex --lang <lang>`. Tell the tester they are creating a `skill` (one node, three connectors, same as the claude command). The fixture lays no `publish` for codex in this chapter (the tester authors it), so the `cat` is the source.
|
|
42
|
+
- `links`: the `content-editor-style` reference is baked into the Codex content-editor's TOML (`developer_instructions`) at lay time, so the `edit content-editor-style` step is a no-op on Codex, the `content-editor -> docs/STYLE.md` arrow is already drawn from earlier in this part. Run only `edit agents-hub` and narrate the two `AGENTS.md` arrows; mention the style-guide arrow as already present.
|
|
37
43
|
|
|
38
44
|
## Chapter `kickoff` - Start the portfolio (~2 min)
|
|
39
45
|
|
|
@@ -106,8 +112,7 @@ then render it in the fenced block the tester copies:
|
|
|
106
112
|
> as a file pointer (the same `@name.md` reference you met in the
|
|
107
113
|
> prologue), and since the handbook is right there
|
|
108
114
|
> the link resolves with full confidence. It tells anyone (and
|
|
109
|
-
> skill-map) that `CLAUDE.md` defers to the handbook.
|
|
110
|
-
> how this tool's own repo is wired.
|
|
115
|
+
> skill-map) that `CLAUDE.md` defers to the handbook.
|
|
111
116
|
>
|
|
112
117
|
> Did the connector light up?
|
|
113
118
|
|
|
@@ -126,8 +131,8 @@ Tell the tester:
|
|
|
126
131
|
|
|
127
132
|
> I added the first real member of your harness: an agent called
|
|
128
133
|
> `content-editor` (its job is to write the site's pages). A new
|
|
129
|
-
> `agent` node appeared on the map. Right now it stands alone; in
|
|
130
|
-
>
|
|
134
|
+
> `agent` node appeared on the map. Right now it stands alone; later in
|
|
135
|
+
> this part we wire it to the handbook and the style guide.
|
|
131
136
|
>
|
|
132
137
|
> 💡 Tip: I create these harness files for you. If you'd like to see
|
|
133
138
|
> what's inside, open `<provider_dir>/agents/content-editor.md` in your
|
|
@@ -162,14 +167,166 @@ Tell the tester:
|
|
|
162
167
|
> - **agent**: `content-editor` (does work on your behalf).
|
|
163
168
|
> - **markdown**: `AGENTS.md`, `CLAUDE.md`, the two docs (plain notes
|
|
164
169
|
> and manuals).
|
|
165
|
-
> - **skill** and **command**: you add these
|
|
166
|
-
> the publish command)
|
|
170
|
+
> - **skill** and **command**: you add these later in this part (the
|
|
171
|
+
> link checker and the publish command).
|
|
167
172
|
>
|
|
168
173
|
> Your handbook now has a real harness around it: a `content-editor`
|
|
169
174
|
> agent plus its docs, all on the map.
|
|
170
175
|
>
|
|
171
176
|
> See the agent and the docs in the map?
|
|
172
177
|
|
|
173
|
-
Wait for confirmation. Mark `real-kinds`: done.
|
|
174
|
-
|
|
175
|
-
|
|
178
|
+
Wait for confirmation. Mark `real-kinds`: done.
|
|
179
|
+
|
|
180
|
+
## Chapter `check-links` - The link checker (~3 min)
|
|
181
|
+
|
|
182
|
+
**Context**: the harness needs a guard that runs before publishing, a skill that checks the site's internal links resolve before it ships. We only create the `skill` node here; the `publish` command in the next chapter is its caller.
|
|
183
|
+
|
|
184
|
+
Lay the `check-links` skill (its content + translation live in
|
|
185
|
+
`fixtures-data/`; this kind exists on every provider, so no skip).
|
|
186
|
+
Backstage (silent):
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
node .claude/skills/sm-tutorial/scripts/fixtures.js lay harness --only "__PROVIDER__/skills/check-links/SKILL.md" --provider <provider> --lang <lang>
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
Tell the tester:
|
|
193
|
+
|
|
194
|
+
> So I added that guard: a skill called `check-links`. A new `skill`
|
|
195
|
+
> node appeared on the **Map**, alone for now; the next chapter gives
|
|
196
|
+
> it a caller.
|
|
197
|
+
>
|
|
198
|
+
> See the new skill node?
|
|
199
|
+
|
|
200
|
+
Wait for confirmation. Mark `check-links`: done.
|
|
201
|
+
|
|
202
|
+
## Chapter `publish` - The publish command (~4 min)
|
|
203
|
+
|
|
204
|
+
**Context**: this is the chapter where the graph comes alive. The `/publish` command ties three pieces together in one body: it invokes the link checker, mentions the content editor, and references the deploy runbook. Three connectors light up from a single new node, one per link syntax.
|
|
205
|
+
|
|
206
|
+
Tell the tester to create the file themselves (it is their project's file, Inviolable rule #2). Substitute `<provider_dir>` per `_core.md` in the path you give them. Backstage, get the content: `node .claude/skills/sm-tutorial/scripts/fixtures.js cat harness --file "__PROVIDER__/commands/publish.md" --provider <provider> --lang <lang>`, then render it as a **top-level fenced code block**: at column 0, NOT inside the `> ` blockquote and with NO leading indentation, so the tester's copy keeps every line flush left. The frontmatter fences (`---`) MUST land on column 0. If the block is rendered (or pasted) indented, the opening and closing `---` shift off column 0, the YAML never parses, and the `publish` node loads body-only without its `name` / `description` (`sm check` then warns `frontmatter-malformed`). Present the block below exactly as written.
|
|
207
|
+
|
|
208
|
+
> Create `.claude/commands/publish.md` with exactly this content (the first line is `---`, nothing before it):
|
|
209
|
+
|
|
210
|
+
```markdown
|
|
211
|
+
---
|
|
212
|
+
name: publish
|
|
213
|
+
description: |
|
|
214
|
+
Publishes the portfolio: runs the link check, hands off to the
|
|
215
|
+
content editor for any last fixes, then follows the deploy runbook.
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
# publish
|
|
219
|
+
|
|
220
|
+
The one command you run when the site is ready to go out.
|
|
221
|
+
|
|
222
|
+
## Steps
|
|
223
|
+
1. Run /check-links on the pages in public/. If it reports broken links, stop and fix them first.
|
|
224
|
+
2. If a page needs a content fix, brief @content-editor with the change.
|
|
225
|
+
3. Follow the [deploy runbook](../../docs/DEPLOY.md): regenerate pages, run the link check, start the server.
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Continue the tester message:
|
|
229
|
+
|
|
230
|
+
> Save it. Watch the **Map**: **three** new arrows light up at once
|
|
231
|
+
> from the new `publish` node, and each one is a different colour
|
|
232
|
+
> because each one is a different kind of link:
|
|
233
|
+
>
|
|
234
|
+
> - `publish -> check-links` (kind: `invokes`), from the `/check-links`
|
|
235
|
+
> token in the body.
|
|
236
|
+
> - `publish -> content-editor` (kind: `mentions`), from the
|
|
237
|
+
> `@content-editor` token.
|
|
238
|
+
> - `publish -> docs/DEPLOY.md` (kind: `references`), from the
|
|
239
|
+
> `[deploy runbook](../../docs/DEPLOY.md)` markdown link.
|
|
240
|
+
>
|
|
241
|
+
> One node, three connectors, three link kinds. The harness is
|
|
242
|
+
> starting to look like a real graph.
|
|
243
|
+
>
|
|
244
|
+
> 💡 Tip: to tidy every node into a clean layout, click the
|
|
245
|
+
> **Re-arrange layout** button in the map toolbar. Handy whenever the
|
|
246
|
+
> graph starts to look crowded.
|
|
247
|
+
>
|
|
248
|
+
> Did the three arrows appear?
|
|
249
|
+
|
|
250
|
+
Wait for confirmation. You MAY use `Read` on the file afterwards to verify it landed, in particular that the opening and closing `---` are flush at column 0. If a later `sm check` flags `frontmatter-malformed` on `publish.md`, the fences got indented on paste: have the tester re-align every line flush left (strip the leading spaces so `---` is at column 0), then the next scan reads it clean. Mark `publish`: done.
|
|
251
|
+
|
|
252
|
+
## Chapter `links` - The handbook becomes the hub (~4 min)
|
|
253
|
+
|
|
254
|
+
**Context**: the handbook (`AGENTS.md`) has been a lonely node since the start of this part. Here it becomes the hub: we add two bullets so it mentions the content editor and invokes the publish command. We also give the content editor a reference to the style guide it follows. Several connectors land, and we recap the three link kinds and which syntax produced each.
|
|
255
|
+
|
|
256
|
+
Apply both edits (their content + translation live in `fixtures-data/`).
|
|
257
|
+
The first appends the two hub bullets to `AGENTS.md`; the second adds
|
|
258
|
+
the style-guide reference line to the content-editor. Backstage (silent):
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
node .claude/skills/sm-tutorial/scripts/fixtures.js edit agents-hub --provider <provider> --lang <lang>
|
|
262
|
+
node .claude/skills/sm-tutorial/scripts/fixtures.js edit content-editor-style --provider <provider> --lang <lang>
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Tell the tester:
|
|
266
|
+
|
|
267
|
+
> Two edits, and the **Map** fills in. Your handbook (`AGENTS.md`) is
|
|
268
|
+
> now the hub: it points at the content editor and at the publish
|
|
269
|
+
> command. And the content editor now reaches the style guide it
|
|
270
|
+
> follows. New arrows:
|
|
271
|
+
>
|
|
272
|
+
> - `AGENTS.md -> content-editor` (kind: `mentions`), from `@content-editor`.
|
|
273
|
+
> - `AGENTS.md -> /publish` (kind: `invokes`), from `/publish`.
|
|
274
|
+
> - `content-editor -> docs/STYLE.md` (kind: `references`), from the
|
|
275
|
+
> `[style guide](../../docs/STYLE.md)` markdown link.
|
|
276
|
+
>
|
|
277
|
+
> Here is the whole recap of the three link kinds, one per syntax:
|
|
278
|
+
>
|
|
279
|
+
> - an `@handle` token is always a **mention**.
|
|
280
|
+
> - a `/slash` token is always an **invoke**.
|
|
281
|
+
> - a `[text](path.md)` markdown link is always a **reference**.
|
|
282
|
+
>
|
|
283
|
+
> The kind comes purely from how you wrote it. Your harness is wired
|
|
284
|
+
> end to end now: the handbook reaches the work, the work reaches the
|
|
285
|
+
> docs, and `/publish` pulls the whole publish flow together.
|
|
286
|
+
>
|
|
287
|
+
> Did the new arrows light up?
|
|
288
|
+
|
|
289
|
+
Wait for confirmation. You MAY use `Read` on the two files afterwards to verify the edits landed before moving on. Mark `links`: done.
|
|
290
|
+
|
|
291
|
+
## Chapter `confidence` - How sure is each link (~3 min)
|
|
292
|
+
|
|
293
|
+
No file edits in this chapter, pure observation on the graph the tester just built.
|
|
294
|
+
|
|
295
|
+
Tell the tester:
|
|
296
|
+
|
|
297
|
+
> Last beat of this part: how sure is skill-map about each connection?
|
|
298
|
+
> It records a **confidence** for every link and draws it as opacity:
|
|
299
|
+
> a link that resolves to a real node is solid (**1.00**), a link that
|
|
300
|
+
> does not lands fainter, so a glance at the **Map** separates the
|
|
301
|
+
> solid wiring from the problem links.
|
|
302
|
+
>
|
|
303
|
+
> Open the Inspector for the `publish` node (click it on the **Map**).
|
|
304
|
+
> Scroll down to the **Connections** panel and read the **Outgoing**
|
|
305
|
+
> rows. Each row shows the link kind and a confidence badge, and here
|
|
306
|
+
> every one reads **1.00**:
|
|
307
|
+
>
|
|
308
|
+
> - `publish -> docs/DEPLOY.md` (`references`) is a markdown link to a
|
|
309
|
+
> file that exists on disk, so skill-map is certain.
|
|
310
|
+
> - `publish -> content-editor` (`mentions`) resolves to the real
|
|
311
|
+
> content-editor agent, and `publish -> check-links` (`invokes`)
|
|
312
|
+
> resolves to the real check-links skill, so both are certain too.
|
|
313
|
+
>
|
|
314
|
+
> Your whole harness reads solid because every link lands on a real
|
|
315
|
+
> node, that is what a clean, fully wired graph looks like. So what
|
|
316
|
+
> does a link that does NOT resolve look like? You met one back in the
|
|
317
|
+
> prologue: `@demo-guideline` was a reference skill-map could not
|
|
318
|
+
> resolve, it had nothing to land on, so skill-map drew no arrow and
|
|
319
|
+
> flagged it as a **broken reference**, its confidence knocked down to
|
|
320
|
+
> **0.50** by the broken penalty. The fix was one character: adding
|
|
321
|
+
> `.md` (`@demo-guideline.md`) turned it into a file reference to the
|
|
322
|
+
> real `demo-guideline.md`, and it drew a solid arrow at **1.00**.
|
|
323
|
+
>
|
|
324
|
+
> **IMPORTANT:** why does confidence matter? It mirrors how the runtime itself
|
|
325
|
+
> resolves a reference: a deterministic name-and-path lookup, no guessing
|
|
326
|
+
> and no scanning the tree for a file under some other extension. That is
|
|
327
|
+
> cheaper and it does not fail, so the agent spends fewer tokens and less
|
|
328
|
+
> time, the same reason a clean, well-named harness is worth keeping.
|
|
329
|
+
>
|
|
330
|
+
> Do you see every badge reading 1.00 in the Inspector?
|
|
331
|
+
|
|
332
|
+
Wait for confirmation. Mark `confidence`: done. Last chapter of the part: apply §Closing a part (the close names the part by its title and routes back to the menu; do NOT lead into the next part from here).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Part
|
|
1
|
+
# Part 3 (a): Extend skill-map - settings (step library, `settings-*` ids)
|
|
2
2
|
|
|
3
|
-
Step bodies for the settings chapters of Part
|
|
3
|
+
Step bodies for the settings chapters of Part 3 (config layers, the
|
|
4
4
|
`sm config` verbs, the active provider lens). The SKILL.md
|
|
5
5
|
orchestrator dispatches each `settings-*` chapter id here;
|
|
6
6
|
`authoring-*` ids it dispatches to `part-authoring.md`.
|
|
@@ -236,8 +236,8 @@ function computeWipePaths(state) {
|
|
|
236
236
|
// provider), so either part's presence means that fixture is on disk.
|
|
237
237
|
if (has('fundamentals') || has('basic-fundamentals')) addFootprint('prologue');
|
|
238
238
|
if (
|
|
239
|
-
has('project-kickoff') || has('
|
|
240
|
-
|| has('basic-kickoff') || has('basic-
|
|
239
|
+
has('project-kickoff') || has('daily-loop')
|
|
240
|
+
|| has('basic-kickoff') || has('basic-daily')
|
|
241
241
|
) addFootprint('portfolio');
|
|
242
242
|
if (has('extend')) addFootprint('master');
|
|
243
243
|
// `cli` seeds the prologue demo fixture plus its external-ref demo.
|
|
@@ -274,5 +274,5 @@ function main() {
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
main();
|
|
277
|
-
!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]="
|
|
278
|
-
//# debugId=
|
|
277
|
+
!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]="3ef90c0e-0700-5a7b-a25f-c47aa19fd567")}catch(e){}}();
|
|
278
|
+
//# debugId=3ef90c0e-0700-5a7b-a25f-c47aa19fd567
|
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]="
|
|
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]="a842c024-162c-5a3a-85db-1daea4b6735f")}catch(e){}}();
|
|
4
4
|
import { existsSync as existsSync34 } 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.68.
|
|
253
|
+
version: "0.68.1",
|
|
254
254
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
255
255
|
license: "MIT",
|
|
256
256
|
type: "module",
|
|
@@ -32062,13 +32062,15 @@ var TUTORIAL_TEXTS = {
|
|
|
32062
32062
|
writtenLabelEn: "English",
|
|
32063
32063
|
writtenLabelEs: "Espa\xF1ol",
|
|
32064
32064
|
// Destination-provider prompt (interactive stdin, no `--for`). Header
|
|
32065
|
-
// uses a yellow `?` glyph; options are a numbered list of provider
|
|
32066
|
-
//
|
|
32067
|
-
// a `(default)` marker on
|
|
32068
|
-
//
|
|
32069
|
-
//
|
|
32065
|
+
// uses a yellow `?` glyph; options are a numbered list of the provider's
|
|
32066
|
+
// vendor name (for a provider with an `aka`, the aka vendor leads and the
|
|
32067
|
+
// provider label follows in parentheses), with a `(default)` marker on
|
|
32068
|
+
// the first option (Claude). The destination folder is deliberately NOT
|
|
32069
|
+
// shown: several providers share `.agents/skills`, so the folder does not
|
|
32070
|
+
// identify the lens. The input line accepts a number, a provider id, or
|
|
32071
|
+
// an empty answer (which takes the default).
|
|
32070
32072
|
promptHeader: "{{glyph}} Which agent should host the tutorial skill?",
|
|
32071
|
-
promptOption: " {{index}}) {{label}}
|
|
32073
|
+
promptOption: " {{index}}) {{label}}{{marker}}",
|
|
32072
32074
|
promptDefaultMarker: " (default)",
|
|
32073
32075
|
promptInput: " Enter the number or provider id [default {{index}}]: ",
|
|
32074
32076
|
// Prompt answer matched neither an index nor an id. Goes to stderr,
|
|
@@ -32319,7 +32321,7 @@ function listScaffoldTargets(includeExperimental = false) {
|
|
|
32319
32321
|
return out;
|
|
32320
32322
|
}
|
|
32321
32323
|
function labelWithAka(target) {
|
|
32322
|
-
return target.aka.length > 0 ? `${target.
|
|
32324
|
+
return target.aka.length > 0 ? `${target.aka.join(", ")} (${target.label})` : target.label;
|
|
32323
32325
|
}
|
|
32324
32326
|
function renderTargetLines(targets, def, glyph) {
|
|
32325
32327
|
const lines = [tx(TUTORIAL_TEXTS.promptHeader, { glyph })];
|
|
@@ -32329,7 +32331,6 @@ function renderTargetLines(targets, def, glyph) {
|
|
|
32329
32331
|
tx(TUTORIAL_TEXTS.promptOption, {
|
|
32330
32332
|
index: i + 1,
|
|
32331
32333
|
label: labelWithAka(t),
|
|
32332
|
-
skillDir: `${t.skillDir}/`,
|
|
32333
32334
|
marker: t.id === def.id ? TUTORIAL_TEXTS.promptDefaultMarker : ""
|
|
32334
32335
|
})
|
|
32335
32336
|
);
|
|
@@ -32615,4 +32616,4 @@ function resolveBareDefault() {
|
|
|
32615
32616
|
process.exit(ExitCode.Error);
|
|
32616
32617
|
}
|
|
32617
32618
|
//# sourceMappingURL=cli.js.map
|
|
32618
|
-
//# debugId=
|
|
32619
|
+
//# debugId=a842c024-162c-5a3a-85db-1daea4b6735f
|
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]="
|
|
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]="f0a24ed1-f91a-59a8-b2b9-db8168690990")}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.68.
|
|
105
|
+
version: "0.68.1",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -4163,4 +4163,4 @@ export {
|
|
|
4163
4163
|
runScanWithRenames
|
|
4164
4164
|
};
|
|
4165
4165
|
//# sourceMappingURL=index.js.map
|
|
4166
|
-
//# debugId=
|
|
4166
|
+
//# debugId=f0a24ed1-f91a-59a8-b2b9-db8168690990
|
package/dist/kernel/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]="
|
|
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]="7dc46367-403b-5856-87b8-23673c2d3f6c")}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.68.
|
|
105
|
+
version: "0.68.1",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -4163,4 +4163,4 @@ export {
|
|
|
4163
4163
|
runScanWithRenames
|
|
4164
4164
|
};
|
|
4165
4165
|
//# sourceMappingURL=index.js.map
|
|
4166
|
-
//# debugId=
|
|
4166
|
+
//# debugId=7dc46367-403b-5856-87b8-23673c2d3f6c
|