@skill-map/cli 0.69.0 → 0.70.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-tutorial/SKILL.md +8 -3
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/agents-hub/providers/codex/en/agents-hub.md +2 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/agents-hub/providers/codex/es/agents-hub.md +2 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-agent.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-command.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-skill.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-agent.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-command.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-skill.md +1 -0
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/codex/en/__PROVIDER__/skills/publish/SKILL.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/codex/es/__PROVIDER__/skills/publish/SKILL.md +2 -2
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/codex/en/.codex/agents/master-agent.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/codex/es/.codex/agents/master-agent.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/codex/en/.codex/agents/content-editor.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/codex/es/.codex/agents/content-editor.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/en/.codex/agents/demo-agent.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/es/.codex/agents/demo-agent.toml +1 -1
- package/dist/cli/tutorial/sm-tutorial/references/_core.md +46 -27
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-daily.md +18 -13
- package/dist/cli/tutorial/sm-tutorial/references/part-basic-fundamentals.md +6 -7
- package/dist/cli/tutorial/sm-tutorial/references/part-daily-loop.md +97 -26
- package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +11 -10
- package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +13 -11
- package/dist/cli/tutorial/sm-tutorial/scripts/lib/paths.js +6 -5
- package/dist/cli.js +267 -128
- package/dist/index.js +9 -7
- package/dist/kernel/index.d.ts +27 -0
- package/dist/kernel/index.js +9 -7
- package/dist/ui/{chunk-RRRXQNG6.js → chunk-EVNCL7FV.js} +21 -21
- package/dist/ui/{chunk-E7GLGHVY.js → chunk-GUGB4JY5.js} +1 -1
- package/dist/ui/chunk-RJUHQQOF.js +3 -0
- package/dist/ui/{chunk-SXSNTF26.js → chunk-RSPEJBPT.js} +1 -1
- package/dist/ui/chunk-SQCXHF3J.js +2 -0
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-23NGLEUB.js → main-K4O6LCIJ.js} +3 -3
- package/package.json +2 -2
- package/dist/ui/chunk-RLRSNHYG.js +0 -3
- package/dist/ui/chunk-SI4MGFOW.js +0 -2
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]="9e0186ab-b10f-5a49-8eef-f0668584ed01")}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.70.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -814,14 +814,16 @@ function installedDefaultEnabled(stability) {
|
|
|
814
814
|
// kernel/scan/detect-providers.ts
|
|
815
815
|
function detectProvidersFromFilesystem(cwd, providers) {
|
|
816
816
|
const seen = /* @__PURE__ */ new Set();
|
|
817
|
-
const
|
|
817
|
+
const matched = [];
|
|
818
818
|
for (const provider of providers) {
|
|
819
819
|
if (seen.has(provider.id)) continue;
|
|
820
820
|
if (!isDetectableUnderCwd(cwd, provider)) continue;
|
|
821
821
|
seen.add(provider.id);
|
|
822
|
-
|
|
822
|
+
matched.push(provider);
|
|
823
823
|
}
|
|
824
|
-
|
|
824
|
+
const hasVendor = matched.some((p) => p.detect?.fallback !== true);
|
|
825
|
+
const kept = hasVendor ? matched.filter((p) => p.detect?.fallback !== true) : matched;
|
|
826
|
+
return kept.map((p) => p.id);
|
|
825
827
|
}
|
|
826
828
|
function isDetectableUnderCwd(cwd, provider) {
|
|
827
829
|
if (!installedDefaultEnabled(provider.stability)) return false;
|
|
@@ -1817,7 +1819,7 @@ function lookupAllowedKinds(link, _indexes, ctx) {
|
|
|
1817
1819
|
}
|
|
1818
1820
|
function stripTriggerSigil(normalized) {
|
|
1819
1821
|
if (!normalized) return null;
|
|
1820
|
-
const trimmed = normalized.replace(/^[
|
|
1822
|
+
const trimmed = normalized.replace(/^[/@$]/, "").trim();
|
|
1821
1823
|
return trimmed.length === 0 ? null : trimmed;
|
|
1822
1824
|
}
|
|
1823
1825
|
function indexNode(node, ctx, byName) {
|
|
@@ -4164,4 +4166,4 @@ export {
|
|
|
4164
4166
|
runScanWithRenames
|
|
4165
4167
|
};
|
|
4166
4168
|
//# sourceMappingURL=index.js.map
|
|
4167
|
-
//# debugId=
|
|
4169
|
+
//# debugId=9e0186ab-b10f-5a49-8eef-f0668584ed01
|
package/dist/kernel/index.d.ts
CHANGED
|
@@ -2582,6 +2582,21 @@ interface IProviderUi {
|
|
|
2582
2582
|
* topbar lens chip; only the per-card badge is suppressed.
|
|
2583
2583
|
*/
|
|
2584
2584
|
hideChip?: boolean;
|
|
2585
|
+
/**
|
|
2586
|
+
* Single glyph this lens's runtime uses to invoke a skill / command,
|
|
2587
|
+
* surfaced as the `invokes` edge-kind glyph (and its tooltip example)
|
|
2588
|
+
* in the link-kind palette so the operator recognises the source
|
|
2589
|
+
* syntax instantly. `/` for the slash-invoking lenses (`claude`
|
|
2590
|
+
* commands + skills, `antigravity` skills + workflows), `$` for
|
|
2591
|
+
* `codex` (skills are `$skill`; `/` is reserved for Codex's own
|
|
2592
|
+
* built-in commands). Omitted for lenses with no `/`/`$` invocation
|
|
2593
|
+
* channel (the open-standard `agent-skills`, where skills activate by
|
|
2594
|
+
* `description`, and the non-lens `markdown` base): under those no
|
|
2595
|
+
* `invokes` edge arises, so the palette never paints the glyph.
|
|
2596
|
+
* Projected into `providerRegistry` and joined client-side against
|
|
2597
|
+
* the active lens.
|
|
2598
|
+
*/
|
|
2599
|
+
invocationSigil?: string;
|
|
2585
2600
|
}
|
|
2586
2601
|
/**
|
|
2587
2602
|
* Auto-detection markers for the active-provider lens. The lens resolver
|
|
@@ -2598,6 +2613,18 @@ interface IProviderDetect {
|
|
|
2598
2613
|
* A directory or a file both count; existence is the only test.
|
|
2599
2614
|
*/
|
|
2600
2615
|
markers: string[];
|
|
2616
|
+
/**
|
|
2617
|
+
* When `true`, this Provider is the open-standard FALLBACK lens: its
|
|
2618
|
+
* markers produce a detection candidate ONLY when no non-fallback
|
|
2619
|
+
* (vendor) Provider matched under the same scope. Reserved for
|
|
2620
|
+
* `agent-skills`, whose `.agents/` marker is the shared skill home that
|
|
2621
|
+
* vendor lenses (`codex`, `antigravity`) also populate; without this flag
|
|
2622
|
+
* a `.codex/` + `.agents/` project would falsely read as an ambiguous
|
|
2623
|
+
* `codex` vs `agent-skills` pair. Vendor Providers omit it (default
|
|
2624
|
+
* `false`) so two vendor markers still surface a real ambiguous prompt.
|
|
2625
|
+
* Mirrors `provider.schema.json#/properties/detect/properties/fallback`.
|
|
2626
|
+
*/
|
|
2627
|
+
fallback?: boolean;
|
|
2601
2628
|
}
|
|
2602
2629
|
/**
|
|
2603
2630
|
* Authoring targets for verbs that MATERIALISE files into this
|
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]="37ae34a6-8712-5003-b7e6-767b1b040298")}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.70.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -814,14 +814,16 @@ function installedDefaultEnabled(stability) {
|
|
|
814
814
|
// kernel/scan/detect-providers.ts
|
|
815
815
|
function detectProvidersFromFilesystem(cwd, providers) {
|
|
816
816
|
const seen = /* @__PURE__ */ new Set();
|
|
817
|
-
const
|
|
817
|
+
const matched = [];
|
|
818
818
|
for (const provider of providers) {
|
|
819
819
|
if (seen.has(provider.id)) continue;
|
|
820
820
|
if (!isDetectableUnderCwd(cwd, provider)) continue;
|
|
821
821
|
seen.add(provider.id);
|
|
822
|
-
|
|
822
|
+
matched.push(provider);
|
|
823
823
|
}
|
|
824
|
-
|
|
824
|
+
const hasVendor = matched.some((p) => p.detect?.fallback !== true);
|
|
825
|
+
const kept = hasVendor ? matched.filter((p) => p.detect?.fallback !== true) : matched;
|
|
826
|
+
return kept.map((p) => p.id);
|
|
825
827
|
}
|
|
826
828
|
function isDetectableUnderCwd(cwd, provider) {
|
|
827
829
|
if (!installedDefaultEnabled(provider.stability)) return false;
|
|
@@ -1817,7 +1819,7 @@ function lookupAllowedKinds(link, _indexes, ctx) {
|
|
|
1817
1819
|
}
|
|
1818
1820
|
function stripTriggerSigil(normalized) {
|
|
1819
1821
|
if (!normalized) return null;
|
|
1820
|
-
const trimmed = normalized.replace(/^[
|
|
1822
|
+
const trimmed = normalized.replace(/^[/@$]/, "").trim();
|
|
1821
1823
|
return trimmed.length === 0 ? null : trimmed;
|
|
1822
1824
|
}
|
|
1823
1825
|
function indexNode(node, ctx, byName) {
|
|
@@ -4164,4 +4166,4 @@ export {
|
|
|
4164
4166
|
runScanWithRenames
|
|
4165
4167
|
};
|
|
4166
4168
|
//# sourceMappingURL=index.js.map
|
|
4167
|
-
//# debugId=
|
|
4169
|
+
//# debugId=37ae34a6-8712-5003-b7e6-767b1b040298
|