@skill-map/cli 0.44.0 → 0.45.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 +91 -114
- package/dist/cli.js +244 -70
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/kernel/index.d.ts +35 -0
- package/dist/kernel/index.js +1 -1
- package/dist/kernel/index.js.map +1 -1
- package/dist/ui/{chunk-DL5EA245.js → chunk-CBI77N5U.js} +3 -3
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-O3CWFYKV.js → main-ERCTR2PR.js} +1 -1
- package/package.json +2 -2
package/dist/kernel/index.d.ts
CHANGED
|
@@ -2026,6 +2026,31 @@ interface IProviderDetect {
|
|
|
2026
2026
|
*/
|
|
2027
2027
|
markers: string[];
|
|
2028
2028
|
}
|
|
2029
|
+
/**
|
|
2030
|
+
* Authoring targets for verbs that MATERIALISE files into this
|
|
2031
|
+
* Provider's on-disk territory (today only `sm tutorial`). The WRITE
|
|
2032
|
+
* counterpart to `detect` (which READS markers to suggest a lens) and
|
|
2033
|
+
* `classify` (which READS paths during a scan). Mirrors
|
|
2034
|
+
* `spec/schemas/extensions/provider.schema.json#/properties/scaffold`.
|
|
2035
|
+
*/
|
|
2036
|
+
interface IProviderScaffold {
|
|
2037
|
+
/**
|
|
2038
|
+
* Directory (relative to the scope root) under which a materialising
|
|
2039
|
+
* verb writes a skill folder, e.g. `.claude/skills` for Claude,
|
|
2040
|
+
* `.agents/skills` for the open standard. The verb appends
|
|
2041
|
+
* `/<skillName>/SKILL.md`. Relative, no leading slash, no `..`
|
|
2042
|
+
* traversal; the consuming verb joins it onto the cwd.
|
|
2043
|
+
*/
|
|
2044
|
+
skillDir: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* Display-only hints naming the agents that consume this scaffold
|
|
2047
|
+
* territory, rendered in parentheses next to the Provider label in the
|
|
2048
|
+
* `sm tutorial` destination prompt (e.g. `.agents/skills` is read by
|
|
2049
|
+
* Antigravity and OpenAI Codex). Purely presentational: NOT matched by
|
|
2050
|
+
* `--for` (only registered Provider ids are) and has no runtime effect.
|
|
2051
|
+
*/
|
|
2052
|
+
aka?: readonly string[];
|
|
2053
|
+
}
|
|
2029
2054
|
interface IProvider extends IExtensionBase {
|
|
2030
2055
|
/** Discriminant injected by the loader from the folder structure. */
|
|
2031
2056
|
kind: 'provider';
|
|
@@ -2049,6 +2074,16 @@ interface IProvider extends IExtensionBase {
|
|
|
2049
2074
|
* auto-suggested (it can still be selected manually).
|
|
2050
2075
|
*/
|
|
2051
2076
|
detect?: IProviderDetect;
|
|
2077
|
+
/**
|
|
2078
|
+
* Optional authoring targets for materialising verbs (`sm tutorial`).
|
|
2079
|
+
* When present, the Provider is offered as a destination for newly
|
|
2080
|
+
* generated content (a skill folder dropped under `scaffold.skillDir`).
|
|
2081
|
+
* Absent means a materialising verb never offers this Provider, e.g.
|
|
2082
|
+
* `openai` until Codex skills land, `antigravity` (skills live under
|
|
2083
|
+
* the open-standard `agent-skills` territory), `core/markdown` (owns
|
|
2084
|
+
* no authoring convention).
|
|
2085
|
+
*/
|
|
2086
|
+
scaffold?: IProviderScaffold;
|
|
2052
2087
|
/**
|
|
2053
2088
|
* Catalog of node kinds this Provider emits. Populated by the loader
|
|
2054
2089
|
* from the `<plugin>/kinds/<kindName>/` directory layout: each subfolder
|
package/dist/kernel/index.js
CHANGED
|
@@ -101,7 +101,7 @@ import cl100k_base from "js-tiktoken/ranks/cl100k_base";
|
|
|
101
101
|
// package.json
|
|
102
102
|
var package_default = {
|
|
103
103
|
name: "@skill-map/cli",
|
|
104
|
-
version: "0.
|
|
104
|
+
version: "0.45.0",
|
|
105
105
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
106
106
|
license: "MIT",
|
|
107
107
|
type: "module",
|