@zibby/skill-ids 0.2.1 → 0.2.2
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/package.json +1 -1
- package/src/index.js +18 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zibby/skill-ids",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Single authoritative Zibby skill-id map (zero-dep leaf). The one source of truth for well-known skill ids — every consumer (agent-workflow, core, skills, backend, templates) imports it, so the ids can never drift.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/src/index.js
CHANGED
|
@@ -120,12 +120,13 @@ export const SKILL_IDS = Object.freeze({
|
|
|
120
120
|
SOCIAL_CARD: 'social-card',
|
|
121
121
|
// `code-scan` — AGENT-DRIVEN, stack-smart deterministic linter over a
|
|
122
122
|
// checked-out repo (JS/TS→oxlint, …). Tier ① (fully local) → UNGATED. Opt-in.
|
|
123
|
-
// No-connection TOGGLEABLE (
|
|
123
|
+
// No-connection TOGGLEABLE, DEFAULT-ON (meta.defaultEnabled: seeded ON at
|
|
124
|
+
// deploy, still user-toggleable OFF). Backed by codeScanSkill.
|
|
124
125
|
CODE_SCAN: 'code-scan',
|
|
125
126
|
// `codebase-memory` — code-graph + semantic index over the checked-out repo,
|
|
126
127
|
// backed by the codebase-memory-mcp binary BAKED INTO the agent image. Fully
|
|
127
|
-
// local → UNGATED. No-connection TOGGLEABLE (
|
|
128
|
-
// codebaseMemorySkill.
|
|
128
|
+
// local → UNGATED. No-connection TOGGLEABLE, DEFAULT-OFF (no meta.defaultEnabled
|
|
129
|
+
// — the user opts IN). Opt-in. Backed by codebaseMemorySkill.
|
|
129
130
|
CODEBASE_MEMORY: 'codebase-memory',
|
|
130
131
|
WORKFLOW_BUILDER: 'workflow-builder',
|
|
131
132
|
// `trigger-agent` — the agent-callable `trigger_agent` MCP tool
|
|
@@ -167,7 +168,17 @@ export const SKILL_IDS = Object.freeze({
|
|
|
167
168
|
*
|
|
168
169
|
* Shape per id:
|
|
169
170
|
* { toggleable, requiresIntegration, tier, display:{ name, description },
|
|
170
|
-
* binary?:{ name, version, sha256 } }
|
|
171
|
+
* defaultEnabled?, binary?:{ name, version, sha256 } }
|
|
172
|
+
*
|
|
173
|
+
* `defaultEnabled` (optional, boolean) — a GENERAL per-skill flag: when true, the
|
|
174
|
+
* skill is SEEDED ON at deploy (the platform ships it enabled; the user opts OUT,
|
|
175
|
+
* not in) while remaining user-toggleable OFF in the agent's Skills settings.
|
|
176
|
+
* ABSENT / false = default-OFF (the user opts IN). Only meaningful for
|
|
177
|
+
* `toggleable: true` skills (a non-toggleable skill's on/off isn't user-facing).
|
|
178
|
+
* The deploy-seed (backend marketplace deployWorkflow) unions every graph-declared
|
|
179
|
+
* defaultEnabled toggleable skill into a fresh deploy's allowlist; the deploy
|
|
180
|
+
* modal pre-checks them. e.g. `code-scan` is defaultEnabled (reviews should scan
|
|
181
|
+
* out of the box); `codebase-memory` is NOT (code-graph is opt-in for review).
|
|
171
182
|
*
|
|
172
183
|
* A skill absent from this map is "not toggleable" (the default for everything
|
|
173
184
|
* except the two no-connection toggleable skills). Ids are append-only (see the
|
|
@@ -203,6 +214,9 @@ export const SKILL_META = deepFreeze({
|
|
|
203
214
|
'code-scan': {
|
|
204
215
|
toggleable: true,
|
|
205
216
|
requiresIntegration: false,
|
|
217
|
+
// DEFAULT-ON: seeded into a fresh deploy's allowlist (reviews scan out of the
|
|
218
|
+
// box) but still user-toggleable OFF in the agent's Skills settings.
|
|
219
|
+
defaultEnabled: true,
|
|
206
220
|
tier: 2,
|
|
207
221
|
display: {
|
|
208
222
|
name: 'Code scan',
|