@skill-map/cli 0.53.4 → 0.53.6
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 +23 -12
- package/dist/cli/tutorial/sm-tutorial/references/_core.md +35 -9
- package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +10 -10
- package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +9 -25
- package/dist/cli/tutorial/sm-tutorial/references/part-authoring.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +10 -34
- package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +30 -30
- package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +89 -74
- package/dist/cli/tutorial/sm-tutorial/references/part-live-site.md +5 -5
- package/dist/cli/tutorial/sm-tutorial/references/part-maintain.md +35 -52
- package/dist/cli/tutorial/sm-tutorial/references/part-mcp.md +6 -6
- package/dist/cli/tutorial/sm-tutorial/references/part-plugins.md +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +11 -9
- package/dist/cli/tutorial/sm-tutorial/references/part-run-harness.md +34 -8
- package/dist/cli/tutorial/sm-tutorial/references/part-settings.md +2 -2
- package/dist/cli.js +33 -7
- package/dist/index.js +3 -3
- package/dist/kernel/index.js +3 -3
- package/dist/ui/{chunk-R2IJXS47.js → chunk-7OJPO3XD.js} +6 -6
- package/dist/ui/{chunk-JQE4N6JU.js → chunk-PRP3JSUU.js} +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-ZXOCLPLS.js → main-O4DGYJ62.js} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Part
|
|
1
|
+
# Part 6 (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 6 (config layers, the
|
|
4
4
|
`sm config` verbs, the active provider lens), plus the shared step
|
|
5
5
|
`settings-6-contributions` that the plugin-authoring chapters reuse.
|
|
6
6
|
The SKILL.md orchestrator dispatches each `settings-*` chapter id
|
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]="3bc438eb-6e57-550d-aab1-392242aca915")}catch(e){}}();
|
|
4
4
|
import { existsSync as existsSync33 } from "fs";
|
|
5
5
|
import { Builtins, Cli as Cli2 } from "clipanion";
|
|
6
6
|
|
|
@@ -246,7 +246,7 @@ function bucketByKind(kind, instance, bag) {
|
|
|
246
246
|
// package.json
|
|
247
247
|
var package_default = {
|
|
248
248
|
name: "@skill-map/cli",
|
|
249
|
-
version: "0.53.
|
|
249
|
+
version: "0.53.6",
|
|
250
250
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
251
251
|
license: "MIT",
|
|
252
252
|
type: "module",
|
|
@@ -14839,6 +14839,13 @@ var HELP_TEXTS = {
|
|
|
14839
14839
|
* Tagline mirrors README.md "In a sentence", keep them in sync.
|
|
14840
14840
|
*/
|
|
14841
14841
|
compactHeader: "{{binary}} {{version}}: the missing map for Markdown-based generative-AI ecosystems",
|
|
14842
|
+
/**
|
|
14843
|
+
* Tutorial call-to-action rendered at the very top of the compact
|
|
14844
|
+
* overview, directly under the header and above USAGE, to point new
|
|
14845
|
+
* users at `sm tutorial`. `{{glyph}}` is a green `▶` when color is on,
|
|
14846
|
+
* a bare `▶` otherwise.
|
|
14847
|
+
*/
|
|
14848
|
+
compactTutorialCta: "{{glyph}} New to skill-map? Run `sm tutorial` for a hands-on, guided walkthrough.",
|
|
14842
14849
|
compactUsageHeading: "USAGE",
|
|
14843
14850
|
compactUsageLine: " sm <command> [options]",
|
|
14844
14851
|
compactExamplesHeading: "EXAMPLES",
|
|
@@ -14916,9 +14923,16 @@ var HelpCommand = class extends Command15 {
|
|
|
14916
14923
|
});
|
|
14917
14924
|
verbParts = Option14.Rest({ required: 0 });
|
|
14918
14925
|
format = Option14.String("--format", "human");
|
|
14926
|
+
// `HelpCommand` extends Clipanion's `Command` directly (see block
|
|
14927
|
+
// comment), so it does not inherit `SmCommand`'s `--no-color`. Declared
|
|
14928
|
+
// here because the human overview now emits a coloured tutorial glyph;
|
|
14929
|
+
// `ansiFor` still layers `NO_COLOR` / `FORCE_COLOR` / TTY on top.
|
|
14930
|
+
noColor = Option14.Boolean("--no-color", false, {
|
|
14931
|
+
description: "Disable ANSI color codes."
|
|
14932
|
+
});
|
|
14919
14933
|
async execute() {
|
|
14920
14934
|
const stderr = this.context.stderr;
|
|
14921
|
-
const ansi = ansiFor({ isTTY: stderr.isTTY === true, noColorFlag:
|
|
14935
|
+
const ansi = ansiFor({ isTTY: stderr.isTTY === true, noColorFlag: this.noColor });
|
|
14922
14936
|
const errGlyph = ansi.red("\u2715");
|
|
14923
14937
|
const format = normalizeFormat(this.format);
|
|
14924
14938
|
if (!format) {
|
|
@@ -14954,7 +14968,9 @@ var HelpCommand = class extends Command15 {
|
|
|
14954
14968
|
return ExitCode.NotFound;
|
|
14955
14969
|
}
|
|
14956
14970
|
if (format === "human") {
|
|
14957
|
-
this.context.stdout
|
|
14971
|
+
const stdout = this.context.stdout;
|
|
14972
|
+
const stdoutAnsi = ansiFor({ isTTY: stdout.isTTY === true, noColorFlag: this.noColor });
|
|
14973
|
+
this.context.stdout.write(renderCompactOverview(verbs, stdoutAnsi));
|
|
14958
14974
|
return ExitCode.Ok;
|
|
14959
14975
|
}
|
|
14960
14976
|
const doc = {
|
|
@@ -15255,10 +15271,12 @@ function truncate2(text, width) {
|
|
|
15255
15271
|
function padRight(value, width) {
|
|
15256
15272
|
return value.length >= width ? value : value + " ".repeat(width - value.length);
|
|
15257
15273
|
}
|
|
15258
|
-
function renderCompactOverview(verbs) {
|
|
15274
|
+
function renderCompactOverview(verbs, ansi) {
|
|
15259
15275
|
const lines = [];
|
|
15260
15276
|
lines.push(tx(HELP_TEXTS.compactHeader, { binary: BINARY_LABEL, version: VERSION }));
|
|
15261
15277
|
lines.push("");
|
|
15278
|
+
lines.push(tx(HELP_TEXTS.compactTutorialCta, { glyph: ansi.green("\u25B6") }));
|
|
15279
|
+
lines.push("");
|
|
15262
15280
|
lines.push(HELP_TEXTS.compactUsageHeading);
|
|
15263
15281
|
lines.push(HELP_TEXTS.compactUsageLine);
|
|
15264
15282
|
lines.push("");
|
|
@@ -15303,9 +15321,17 @@ function renderCompactOverview(verbs) {
|
|
|
15303
15321
|
}
|
|
15304
15322
|
var RootHelpCommand = class extends Command15 {
|
|
15305
15323
|
static paths = [["-h"], ["--help"]];
|
|
15324
|
+
// Mirrors `HelpCommand.noColor`: this command extends Clipanion's
|
|
15325
|
+
// `Command` directly, so the flag is declared here to gate the
|
|
15326
|
+
// coloured tutorial glyph in the overview.
|
|
15327
|
+
noColor = Option14.Boolean("--no-color", false, {
|
|
15328
|
+
description: "Disable ANSI color codes."
|
|
15329
|
+
});
|
|
15306
15330
|
async execute() {
|
|
15307
15331
|
const verbs = buildVerbCatalog(this.cli);
|
|
15308
|
-
this.context.stdout
|
|
15332
|
+
const stdout = this.context.stdout;
|
|
15333
|
+
const ansi = ansiFor({ isTTY: stdout.isTTY === true, noColorFlag: this.noColor });
|
|
15334
|
+
this.context.stdout.write(renderCompactOverview(verbs, ansi));
|
|
15309
15335
|
return ExitCode.Ok;
|
|
15310
15336
|
}
|
|
15311
15337
|
};
|
|
@@ -30251,4 +30277,4 @@ function resolveBareDefault() {
|
|
|
30251
30277
|
process.exit(ExitCode.Error);
|
|
30252
30278
|
}
|
|
30253
30279
|
//# sourceMappingURL=cli.js.map
|
|
30254
|
-
//# debugId=
|
|
30280
|
+
//# debugId=3bc438eb-6e57-550d-aab1-392242aca915
|
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]="e4042206-8e88-53b7-93f5-c2c9bbb77b3e")}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.53.
|
|
105
|
+
version: "0.53.6",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -3632,4 +3632,4 @@ export {
|
|
|
3632
3632
|
runScanWithRenames
|
|
3633
3633
|
};
|
|
3634
3634
|
//# sourceMappingURL=index.js.map
|
|
3635
|
-
//# debugId=
|
|
3635
|
+
//# debugId=e4042206-8e88-53b7-93f5-c2c9bbb77b3e
|
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]="edd337e5-10f2-5ebc-92b6-0e1ea1dd4e3f")}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.53.
|
|
105
|
+
version: "0.53.6",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -3632,4 +3632,4 @@ export {
|
|
|
3632
3632
|
runScanWithRenames
|
|
3633
3633
|
};
|
|
3634
3634
|
//# sourceMappingURL=index.js.map
|
|
3635
|
-
//# debugId=
|
|
3635
|
+
//# debugId=edd337e5-10f2-5ebc-92b6-0e1ea1dd4e3f
|