@skill-map/cli 0.64.1 → 0.65.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.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]="62413e88-87c9-5ddc-a41c-f64bac9cdf2f")}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.
|
|
253
|
+
version: "0.65.0",
|
|
254
254
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
255
255
|
license: "MIT",
|
|
256
256
|
type: "module",
|
|
@@ -1080,6 +1080,17 @@ var skill_schema_default2 = {
|
|
|
1080
1080
|
type: "object",
|
|
1081
1081
|
additionalProperties: true,
|
|
1082
1082
|
properties: {
|
|
1083
|
+
name: {
|
|
1084
|
+
type: "string",
|
|
1085
|
+
maxLength: 64,
|
|
1086
|
+
pattern: "^[a-z0-9]+(-[a-z0-9]+)*$",
|
|
1087
|
+
description: "Skill handle (also the parent directory name). Open-standard rules: 1-64 chars, lowercase alphanumeric and single hyphens only, no leading/trailing or consecutive hyphens. The `name == parent dirname` rule is cross-field and not expressible in a frontmatter schema. Source: https://agentskills.io/specification."
|
|
1088
|
+
},
|
|
1089
|
+
description: {
|
|
1090
|
+
type: "string",
|
|
1091
|
+
maxLength: 1024,
|
|
1092
|
+
description: "What the skill does and when to use it. Max 1024 chars, non-empty (minLength from the spec base). Source: https://agentskills.io/specification."
|
|
1093
|
+
},
|
|
1083
1094
|
license: {
|
|
1084
1095
|
type: "string",
|
|
1085
1096
|
description: "License applied to the skill: a license name (e.g. `Apache-2.0`) or a reference to a bundled license file. Source: https://agentskills.io/specification."
|
|
@@ -1102,11 +1113,11 @@ var skill_schema_default2 = {
|
|
|
1102
1113
|
};
|
|
1103
1114
|
|
|
1104
1115
|
// plugins/agent-skills/providers/agent-skills/index.ts
|
|
1105
|
-
var
|
|
1116
|
+
var COMMONS_READ = {
|
|
1106
1117
|
extensions: [".md"],
|
|
1107
1118
|
parser: "frontmatter-yaml"
|
|
1108
1119
|
};
|
|
1109
|
-
var
|
|
1120
|
+
var COMMONS_KINDS = {
|
|
1110
1121
|
skill: {
|
|
1111
1122
|
schema: "./schemas/skill.schema.json",
|
|
1112
1123
|
schemaJson: skill_schema_default2,
|
|
@@ -1122,8 +1133,28 @@ var OPEN_SKILLS_KINDS = {
|
|
|
1122
1133
|
identifiers: ["frontmatter.name", "dirname"]
|
|
1123
1134
|
}
|
|
1124
1135
|
};
|
|
1125
|
-
var
|
|
1126
|
-
|
|
1136
|
+
var COMMONS_RESOLUTION = { invokes: ["skill"] };
|
|
1137
|
+
var COMMONS_RESERVED_NAMES = {
|
|
1138
|
+
skill: [
|
|
1139
|
+
"add-dir",
|
|
1140
|
+
"agents",
|
|
1141
|
+
"clear",
|
|
1142
|
+
"config",
|
|
1143
|
+
"exit",
|
|
1144
|
+
"feedback",
|
|
1145
|
+
"help",
|
|
1146
|
+
"hooks",
|
|
1147
|
+
"logout",
|
|
1148
|
+
"mcp",
|
|
1149
|
+
"model",
|
|
1150
|
+
"permissions",
|
|
1151
|
+
"quit",
|
|
1152
|
+
"resume",
|
|
1153
|
+
"statusline",
|
|
1154
|
+
"usage"
|
|
1155
|
+
]
|
|
1156
|
+
};
|
|
1157
|
+
function classifyCommonsPath(path) {
|
|
1127
1158
|
if (/^\.agents\/skills\/[^/]+\/skill\.md$/.test(path.toLowerCase())) return "skill";
|
|
1128
1159
|
return null;
|
|
1129
1160
|
}
|
|
@@ -1134,8 +1165,9 @@ var agentSkillsProvider = {
|
|
|
1134
1165
|
description: "Classifies files under `.agents/skills/<name>/SKILL.md` as Agent Skills.",
|
|
1135
1166
|
// Provider identity for the active-lens dropdown, the topbar lens chip,
|
|
1136
1167
|
// and the per-node provider chip. Neutral slate (this is the
|
|
1137
|
-
// vendor-agnostic open-standard Provider, not a brand).
|
|
1138
|
-
//
|
|
1168
|
+
// vendor-agnostic open-standard Provider, not a brand). The reusable
|
|
1169
|
+
// open-standard pieces it owns use a `COMMONS_*` vocabulary internally;
|
|
1170
|
+
// the user-facing label stays the descriptive "Open Skills".
|
|
1139
1171
|
presentation: {
|
|
1140
1172
|
label: "Open Skills",
|
|
1141
1173
|
color: "#64748b",
|
|
@@ -1164,10 +1196,14 @@ var agentSkillsProvider = {
|
|
|
1164
1196
|
// names in the destination prompt to orient testers on those agents.
|
|
1165
1197
|
// `aka` is display-only, `--for` still matches the `agent-skills` id.
|
|
1166
1198
|
scaffold: { skillDir: ".agents/skills", aka: ["Antigravity", "OpenAI Codex"] },
|
|
1167
|
-
read:
|
|
1168
|
-
kinds:
|
|
1169
|
-
resolution:
|
|
1170
|
-
|
|
1199
|
+
read: COMMONS_READ,
|
|
1200
|
+
kinds: COMMONS_KINDS,
|
|
1201
|
+
resolution: COMMONS_RESOLUTION,
|
|
1202
|
+
// Base reserved-name catalog (self-scope under the `agent-skills` lens). The
|
|
1203
|
+
// shared export is inherited by every Provider that adopts the open
|
|
1204
|
+
// standard (see `COMMONS_RESERVED_NAMES` above).
|
|
1205
|
+
reservedNames: COMMONS_RESERVED_NAMES,
|
|
1206
|
+
classify: classifyCommonsPath
|
|
1171
1207
|
};
|
|
1172
1208
|
|
|
1173
1209
|
// plugins/antigravity/providers/antigravity/index.ts
|
|
@@ -1207,24 +1243,24 @@ var antigravityProvider = {
|
|
|
1207
1243
|
// lens, so it never competes here (under the antigravity lens it does
|
|
1208
1244
|
// not participate). This is why there is no cross-provider lens-scope
|
|
1209
1245
|
// rule in the kernel any more.
|
|
1210
|
-
read:
|
|
1211
|
-
kinds:
|
|
1212
|
-
resolution:
|
|
1213
|
-
classify:
|
|
1246
|
+
read: COMMONS_READ,
|
|
1247
|
+
kinds: COMMONS_KINDS,
|
|
1248
|
+
resolution: COMMONS_RESOLUTION,
|
|
1249
|
+
classify: classifyCommonsPath,
|
|
1214
1250
|
// Built-in slash-command catalog, captured verbatim from `agy /help`
|
|
1215
|
-
// (Antigravity CLI v1.0.3).
|
|
1216
|
-
//
|
|
1217
|
-
//
|
|
1218
|
-
// `
|
|
1219
|
-
//
|
|
1220
|
-
//
|
|
1221
|
-
//
|
|
1222
|
-
// `
|
|
1223
|
-
// `
|
|
1224
|
-
//
|
|
1225
|
-
//
|
|
1226
|
-
//
|
|
1227
|
-
//
|
|
1251
|
+
// (Antigravity CLI v1.0.3). The universal cross-agent verbs (`help`,
|
|
1252
|
+
// `config`, `mcp`, `model`, `clear`, `exit`, ...) come from the
|
|
1253
|
+
// open-standard base catalog (`COMMONS_RESERVED_NAMES`, owned by
|
|
1254
|
+
// `agent-skills` and inherited here by composition); this block adds ONLY
|
|
1255
|
+
// Antigravity's OWN runtime-specific verbs on top, so the neutral
|
|
1256
|
+
// standard never carries `agy`-specific commands. The earlier provisional
|
|
1257
|
+
// list mirrored Gemini CLI; `agy` dropped Gemini-only verbs (`vim`,
|
|
1258
|
+
// `theme`, `terminal-setup`, `setup-github`, `bashes`, `shells`,
|
|
1259
|
+
// `policies`, `extensions`, `?`, `dir`, ...) and added agent-first ones.
|
|
1260
|
+
// Both the primary verbs and the 8 documented aliases (`new`, `settings`,
|
|
1261
|
+
// `quit`, `branch`, `switch`, `conversation`, `undo`, `quota`) are
|
|
1262
|
+
// reserved: a user skill named after either is silently shadowed by the
|
|
1263
|
+
// built-in once the catalog activates.
|
|
1228
1264
|
//
|
|
1229
1265
|
// Declared under the `skill` kind (NOT `command`): Antigravity has no
|
|
1230
1266
|
// vendor-specific command directory, its user slash-commands are skills
|
|
@@ -1234,52 +1270,41 @@ var antigravityProvider = {
|
|
|
1234
1270
|
// is built-in.
|
|
1235
1271
|
//
|
|
1236
1272
|
// **Reconciliation marker**: re-capture from `agy /help` on each major
|
|
1237
|
-
// Antigravity CLI release
|
|
1273
|
+
// Antigravity CLI release, bump the cited version above, and move any
|
|
1274
|
+
// verb that becomes universal across agents down into
|
|
1275
|
+
// `COMMONS_RESERVED_NAMES`.
|
|
1238
1276
|
reservedNames: {
|
|
1239
1277
|
skill: [
|
|
1240
|
-
|
|
1241
|
-
"
|
|
1278
|
+
// Inherited open-standard base (universal cross-agent slash commands).
|
|
1279
|
+
...COMMONS_RESERVED_NAMES["skill"] ?? [],
|
|
1280
|
+
// Antigravity-specific verbs (not part of the open-standard base).
|
|
1242
1281
|
"artifact",
|
|
1243
1282
|
"branch",
|
|
1244
1283
|
"btw",
|
|
1245
1284
|
"changelog",
|
|
1246
|
-
"clear",
|
|
1247
|
-
"config",
|
|
1248
1285
|
"context",
|
|
1249
1286
|
"conversation",
|
|
1250
1287
|
"copy",
|
|
1251
1288
|
"credits",
|
|
1252
1289
|
"diff",
|
|
1253
|
-
"exit",
|
|
1254
1290
|
"fast",
|
|
1255
|
-
"feedback",
|
|
1256
1291
|
"fork",
|
|
1257
1292
|
"goal",
|
|
1258
1293
|
"grill-me",
|
|
1259
|
-
"help",
|
|
1260
|
-
"hooks",
|
|
1261
1294
|
"keybindings",
|
|
1262
|
-
"logout",
|
|
1263
|
-
"mcp",
|
|
1264
|
-
"model",
|
|
1265
1295
|
"new",
|
|
1266
1296
|
"open",
|
|
1267
|
-
"permissions",
|
|
1268
1297
|
"planning",
|
|
1269
|
-
"quit",
|
|
1270
1298
|
"quota",
|
|
1271
1299
|
"rename",
|
|
1272
|
-
"resume",
|
|
1273
1300
|
"rewind",
|
|
1274
1301
|
"schedule",
|
|
1275
1302
|
"settings",
|
|
1276
1303
|
"skills",
|
|
1277
|
-
"statusline",
|
|
1278
1304
|
"switch",
|
|
1279
1305
|
"tasks",
|
|
1280
1306
|
"title",
|
|
1281
|
-
"undo"
|
|
1282
|
-
"usage"
|
|
1307
|
+
"undo"
|
|
1283
1308
|
]
|
|
1284
1309
|
}
|
|
1285
1310
|
};
|
|
@@ -32202,4 +32227,4 @@ function resolveBareDefault() {
|
|
|
32202
32227
|
process.exit(ExitCode.Error);
|
|
32203
32228
|
}
|
|
32204
32229
|
//# sourceMappingURL=cli.js.map
|
|
32205
|
-
//# debugId=
|
|
32230
|
+
//# debugId=62413e88-87c9-5ddc-a41c-f64bac9cdf2f
|
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]="efacfab0-2a30-5cef-94ce-15c6fc99cf75")}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.65.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -4130,4 +4130,4 @@ export {
|
|
|
4130
4130
|
runScanWithRenames
|
|
4131
4131
|
};
|
|
4132
4132
|
//# sourceMappingURL=index.js.map
|
|
4133
|
-
//# debugId=
|
|
4133
|
+
//# debugId=efacfab0-2a30-5cef-94ce-15c6fc99cf75
|
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]="cad8a986-e74d-5be7-a5e0-999940232041")}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.65.0",
|
|
106
106
|
description: "skill-map reference implementation \u2014 kernel + CLI + adapters.",
|
|
107
107
|
license: "MIT",
|
|
108
108
|
type: "module",
|
|
@@ -4130,4 +4130,4 @@ export {
|
|
|
4130
4130
|
runScanWithRenames
|
|
4131
4131
|
};
|
|
4132
4132
|
//# sourceMappingURL=index.js.map
|
|
4133
|
-
//# debugId=
|
|
4133
|
+
//# debugId=cad8a986-e74d-5be7-a5e0-999940232041
|