@zibby/skill-ids 0.2.0 → 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 +26 -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
|
@@ -83,6 +83,14 @@ export const SKILL_IDS = Object.freeze({
|
|
|
83
83
|
// `linkedin` — publish to the connected PERSONAL LinkedIn profile
|
|
84
84
|
// (linkedinSkill → linkedin_publish_post).
|
|
85
85
|
LINKEDIN: 'linkedin',
|
|
86
|
+
// `hubspot` — HubSpot CRM (contacts/companies/deals/tickets/notes/tasks/
|
|
87
|
+
// feedback_submissions/custom) over the HubSpot REST API. OAuth 2.0
|
|
88
|
+
// integration: the user connects HubSpot in Integrations; the backend
|
|
89
|
+
// (handlers/hubspot.js) auto-refreshes the access token and the skill
|
|
90
|
+
// resolves it via resolveIntegrationToken('hubspot'). Declaring SKILLS.HUBSPOT
|
|
91
|
+
// gates deploy on a connected HubSpot (backend SKILL_INTEGRATION_MAP:
|
|
92
|
+
// 'hubspot' → INTEGRATIONS.HUBSPOT). Backed by hubspotSkill in @zibby/skills.
|
|
93
|
+
HUBSPOT: 'hubspot',
|
|
86
94
|
// `chat_notify` — provider-agnostic chat notification. Routes to Slack OR Lark
|
|
87
95
|
// depending on which integration the project has connected. Backend renders
|
|
88
96
|
// this as "Slack OR Lark" via {any:[...]}.
|
|
@@ -112,12 +120,13 @@ export const SKILL_IDS = Object.freeze({
|
|
|
112
120
|
SOCIAL_CARD: 'social-card',
|
|
113
121
|
// `code-scan` — AGENT-DRIVEN, stack-smart deterministic linter over a
|
|
114
122
|
// checked-out repo (JS/TS→oxlint, …). Tier ① (fully local) → UNGATED. Opt-in.
|
|
115
|
-
// No-connection TOGGLEABLE (
|
|
123
|
+
// No-connection TOGGLEABLE, DEFAULT-ON (meta.defaultEnabled: seeded ON at
|
|
124
|
+
// deploy, still user-toggleable OFF). Backed by codeScanSkill.
|
|
116
125
|
CODE_SCAN: 'code-scan',
|
|
117
126
|
// `codebase-memory` — code-graph + semantic index over the checked-out repo,
|
|
118
127
|
// backed by the codebase-memory-mcp binary BAKED INTO the agent image. Fully
|
|
119
|
-
// local → UNGATED. No-connection TOGGLEABLE (
|
|
120
|
-
// codebaseMemorySkill.
|
|
128
|
+
// local → UNGATED. No-connection TOGGLEABLE, DEFAULT-OFF (no meta.defaultEnabled
|
|
129
|
+
// — the user opts IN). Opt-in. Backed by codebaseMemorySkill.
|
|
121
130
|
CODEBASE_MEMORY: 'codebase-memory',
|
|
122
131
|
WORKFLOW_BUILDER: 'workflow-builder',
|
|
123
132
|
// `trigger-agent` — the agent-callable `trigger_agent` MCP tool
|
|
@@ -159,7 +168,17 @@ export const SKILL_IDS = Object.freeze({
|
|
|
159
168
|
*
|
|
160
169
|
* Shape per id:
|
|
161
170
|
* { toggleable, requiresIntegration, tier, display:{ name, description },
|
|
162
|
-
* 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).
|
|
163
182
|
*
|
|
164
183
|
* A skill absent from this map is "not toggleable" (the default for everything
|
|
165
184
|
* except the two no-connection toggleable skills). Ids are append-only (see the
|
|
@@ -195,6 +214,9 @@ export const SKILL_META = deepFreeze({
|
|
|
195
214
|
'code-scan': {
|
|
196
215
|
toggleable: true,
|
|
197
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,
|
|
198
220
|
tier: 2,
|
|
199
221
|
display: {
|
|
200
222
|
name: 'Code scan',
|