@skill-map/cli 0.47.1 → 0.49.0
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-master/SKILL.md +3 -2
- package/dist/cli/tutorial/sm-tutorial/SKILL.md +2 -2
- package/dist/cli.js +441 -108
- package/dist/index.js +7 -5
- package/dist/kernel/index.d.ts +23 -28
- package/dist/kernel/index.js +7 -5
- package/dist/ui/chunk-7EVKMO5A.js +1110 -0
- package/dist/ui/chunk-FDJ5FDGM.js +2 -0
- package/dist/ui/chunk-LBYK5DLL.js +123 -0
- package/dist/ui/chunk-MO37AU3M.js +1 -0
- package/dist/ui/{chunk-HAWX5WNM.js → chunk-NV5DRQPL.js} +2 -2
- package/dist/ui/chunk-OUNBYGMY.js +1 -0
- package/dist/ui/{chunk-CRWK2NFZ.js → chunk-QKL5B4RS.js} +1 -1
- package/dist/ui/chunk-RDYHTZW7.js +1066 -0
- package/dist/ui/{chunk-RT7E4S5B.js → chunk-YA64YJXF.js} +1 -1
- package/dist/ui/chunk-YRBZKMG6.js +2610 -0
- package/dist/ui/{chunk-22CKFAEU.js → chunk-YV7KWLC4.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/ui/main-EVGVBPDA.js +4 -0
- package/dist/ui/{styles-HI4A6IWA.css → styles-HWRPHKTJ.css} +1 -1
- package/package.json +5 -3
- package/dist/ui/chunk-3AKR33GE.js +0 -1
- package/dist/ui/chunk-3HLMBEDX.js +0 -124
- package/dist/ui/chunk-7K36273M.js +0 -809
- package/dist/ui/chunk-CO2ZOUSD.js +0 -90
- package/dist/ui/chunk-EPBUSS3I.js +0 -2
- package/dist/ui/chunk-K365TVPA.js +0 -1
- package/dist/ui/chunk-QCMLB44L.js +0 -123
- package/dist/ui/chunk-UIUGLD7F.js +0 -107
- package/dist/ui/chunk-UV3QRBRR.js +0 -135
- package/dist/ui/chunk-VNA3TMIO.js +0 -1
- package/dist/ui/chunk-VW2A6WZ3.js +0 -1
- package/dist/ui/chunk-WPUUCIS3.js +0 -1021
- package/dist/ui/chunk-XWU3YFSM.js +0 -315
- package/dist/ui/chunk-YOF6HQCQ.js +0 -2190
- package/dist/ui/chunk-ZZJ7XWDX.js +0 -1
- package/dist/ui/main-M4W7H6RY.js +0 -4
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]="c4812091-c4d8-5774-9126-a8e17abfb673")}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.
|
|
105
|
+
version: "0.49.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -155,9 +155,11 @@ var package_default = {
|
|
|
155
155
|
"lint:fix": "eslint . --fix",
|
|
156
156
|
"build-built-ins": "node ../scripts/generate-built-ins.js",
|
|
157
157
|
"built-ins:check": "node ../scripts/generate-built-ins.js --check",
|
|
158
|
+
"view-catalog": "node ../scripts/generate-view-catalog.js",
|
|
159
|
+
"view-catalog:check": "node ../scripts/generate-view-catalog.js --check",
|
|
158
160
|
prebuild: "pnpm build-built-ins",
|
|
159
161
|
validate: "pnpm validate:compile && pnpm validate:test",
|
|
160
|
-
"validate:compile": "pnpm typecheck && pnpm lint && pnpm build && pnpm built-ins:check",
|
|
162
|
+
"validate:compile": "pnpm typecheck && pnpm lint && pnpm build && pnpm built-ins:check && pnpm view-catalog:check",
|
|
161
163
|
"validate:test": "pnpm test:ci",
|
|
162
164
|
pretest: "tsup",
|
|
163
165
|
"pretest:coverage": "tsup",
|
|
@@ -371,7 +373,7 @@ import { dirname as dirname2, resolve as resolve4 } from "path";
|
|
|
371
373
|
import { createRequire as createRequire2 } from "module";
|
|
372
374
|
import { Ajv2020 as Ajv20203 } from "ajv/dist/2020.js";
|
|
373
375
|
|
|
374
|
-
// kernel/types/view-catalog.ts
|
|
376
|
+
// kernel/types/view-catalog.generated.ts
|
|
375
377
|
var ALL_SLOT_NAMES = [
|
|
376
378
|
"card.title.right",
|
|
377
379
|
"card.subtitle.left",
|
|
@@ -3820,4 +3822,4 @@ export {
|
|
|
3820
3822
|
runScanWithRenames
|
|
3821
3823
|
};
|
|
3822
3824
|
//# sourceMappingURL=index.js.map
|
|
3823
|
-
//# debugId=
|
|
3825
|
+
//# debugId=c4812091-c4d8-5774-9126-a8e17abfb673
|
package/dist/kernel/index.d.ts
CHANGED
|
@@ -82,6 +82,17 @@ interface IRegisteredAnnotationKey {
|
|
|
82
82
|
schema: Record<string, unknown>;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Closed enum of view slot names. Mirror of
|
|
87
|
+
* `spec/schemas/view-slots.schema.json#/$defs/SlotName`.
|
|
88
|
+
*/
|
|
89
|
+
type TSlotName = 'card.title.right' | 'card.subtitle.left' | 'card.footer.left' | 'card.footer.right' | 'graph.node.alert' | 'inspector.header.badge.counter' | 'inspector.header.badge.tag' | 'inspector.body.panel.breakdown' | 'inspector.body.panel.records' | 'inspector.body.panel.tree' | 'inspector.body.panel.key-values' | 'inspector.body.panel.link-list' | 'inspector.body.panel.markdown' | 'topbar.nav.start';
|
|
90
|
+
/**
|
|
91
|
+
* Closed enum of input-type names for plugin settings. Mirror of
|
|
92
|
+
* `spec/schemas/input-types.schema.json#/$defs/InputTypeName`.
|
|
93
|
+
*/
|
|
94
|
+
type TInputTypeName = 'string-list' | 'single-string' | 'boolean-flag' | 'integer' | 'enum-pick' | 'enum-multipick' | 'path-glob' | 'regex' | 'secret' | 'key-value-list';
|
|
95
|
+
|
|
85
96
|
/**
|
|
86
97
|
* Step 11.x, runtime view-contribution catalog types.
|
|
87
98
|
*
|
|
@@ -96,35 +107,19 @@ interface IRegisteredAnnotationKey {
|
|
|
96
107
|
* storage or routing, see `architecture.md` §View contribution system
|
|
97
108
|
* for the comparison table.
|
|
98
109
|
*
|
|
99
|
-
* **Closed catalog by design.** Both `TSlotName`
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*
|
|
110
|
-
* `spec/schemas/view-slots.schema.json#/$defs/SlotName`.
|
|
111
|
-
*
|
|
112
|
-
* Plugins pick one of these by name in their extension manifest's
|
|
113
|
-
* `viewContributions[<contributionId>].slot` field. The kernel
|
|
114
|
-
* validates each pick at load time (`invalid-manifest` on miss); the
|
|
115
|
-
* slot fixes both the renderer and the payload shape.
|
|
116
|
-
*/
|
|
117
|
-
type TSlotName = 'card.title.right' | 'card.subtitle.left' | 'card.footer.left' | 'card.footer.right' | 'graph.node.alert' | 'inspector.header.badge.counter' | 'inspector.header.badge.tag' | 'inspector.body.panel.breakdown' | 'inspector.body.panel.records' | 'inspector.body.panel.tree' | 'inspector.body.panel.key-values' | 'inspector.body.panel.link-list' | 'inspector.body.panel.markdown' | 'topbar.nav.start';
|
|
118
|
-
/**
|
|
119
|
-
* Closed enum of input-type names for plugin settings. Mirror of
|
|
120
|
-
* `spec/schemas/input-types.schema.json#/$defs/InputTypeName`.
|
|
121
|
-
*
|
|
122
|
-
* Plugins pick one of these by name in their plugin manifest's
|
|
123
|
-
* `settings[<settingId>].type` field. The kernel exposes the resolved
|
|
124
|
-
* value via `ctx.settings.<settingId>` typed per the input-type's
|
|
125
|
-
* value-type promise.
|
|
110
|
+
* **Closed catalog by design, generated from the spec.** Both `TSlotName`
|
|
111
|
+
* and `TInputTypeName` are generated (in `view-catalog.generated.ts`) from
|
|
112
|
+
* the closed `oneOf` const lists in `spec/schemas/view-slots.schema.json`
|
|
113
|
+
* and `spec/schemas/input-types.schema.json`. Adding a member means editing
|
|
114
|
+
* the spec and running `pnpm --filter @skill-map/cli view-catalog`; the
|
|
115
|
+
* `view-catalog:check` drift guard fails the build if any mirror (this
|
|
116
|
+
* kernel one, the CLI `slots-catalog.ts`, the UI `TSlotId` union) goes
|
|
117
|
+
* stale. The closed-enum shape lets TypeScript surface unknown slots at
|
|
118
|
+
* author time (in plugin authors' editors when their plugin imports
|
|
119
|
+
* `@skill-map/cli`) AND lets the runtime exhaustively dispatch slot →
|
|
120
|
+
* renderer in the UI without `default:` fallbacks.
|
|
126
121
|
*/
|
|
127
|
-
|
|
122
|
+
|
|
128
123
|
/** Closed severity palette aligned with PrimeNG `<p-tag>` / `<p-message>`. */
|
|
129
124
|
type TSeverity = 'info' | 'warn' | 'success' | 'danger';
|
|
130
125
|
/**
|
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]="4068b1b0-6409-5386-ac6b-65a30d38e6e6")}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.
|
|
105
|
+
version: "0.49.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -155,9 +155,11 @@ var package_default = {
|
|
|
155
155
|
"lint:fix": "eslint . --fix",
|
|
156
156
|
"build-built-ins": "node ../scripts/generate-built-ins.js",
|
|
157
157
|
"built-ins:check": "node ../scripts/generate-built-ins.js --check",
|
|
158
|
+
"view-catalog": "node ../scripts/generate-view-catalog.js",
|
|
159
|
+
"view-catalog:check": "node ../scripts/generate-view-catalog.js --check",
|
|
158
160
|
prebuild: "pnpm build-built-ins",
|
|
159
161
|
validate: "pnpm validate:compile && pnpm validate:test",
|
|
160
|
-
"validate:compile": "pnpm typecheck && pnpm lint && pnpm build && pnpm built-ins:check",
|
|
162
|
+
"validate:compile": "pnpm typecheck && pnpm lint && pnpm build && pnpm built-ins:check && pnpm view-catalog:check",
|
|
161
163
|
"validate:test": "pnpm test:ci",
|
|
162
164
|
pretest: "tsup",
|
|
163
165
|
"pretest:coverage": "tsup",
|
|
@@ -371,7 +373,7 @@ import { dirname as dirname2, resolve as resolve4 } from "path";
|
|
|
371
373
|
import { createRequire as createRequire2 } from "module";
|
|
372
374
|
import { Ajv2020 as Ajv20203 } from "ajv/dist/2020.js";
|
|
373
375
|
|
|
374
|
-
// kernel/types/view-catalog.ts
|
|
376
|
+
// kernel/types/view-catalog.generated.ts
|
|
375
377
|
var ALL_SLOT_NAMES = [
|
|
376
378
|
"card.title.right",
|
|
377
379
|
"card.subtitle.left",
|
|
@@ -3820,4 +3822,4 @@ export {
|
|
|
3820
3822
|
runScanWithRenames
|
|
3821
3823
|
};
|
|
3822
3824
|
//# sourceMappingURL=index.js.map
|
|
3823
|
-
//# debugId=
|
|
3825
|
+
//# debugId=4068b1b0-6409-5386-ac6b-65a30d38e6e6
|