@zibby/skill-ids 0.2.2 → 0.2.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +37 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zibby/skill-ids",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
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
@@ -147,6 +147,27 @@ export const SKILL_IDS = Object.freeze({
147
147
  // @zibby/core) and wired declaratively through `.zibby.config.mjs` `skills:`.
148
148
  // Kept in the id map so `SKILLS.SESSION` resolves in any consumer.
149
149
  SESSION: 'session',
150
+ // `gbrain` — per-tenant KNOWLEDGE-BASE sidecar (tier ③) over a `postgres`-type
151
+ // Stores-v2 store. A Postgres (PGlite) + pgvector "brain" the agent ingests
152
+ // source documents into and queries over an env-injected MCP URL
153
+ // (GBRAIN_MCP_URL); the brain is a `postgres` store snapshotted to object
154
+ // storage per tenant (store TYPE = the real engine `postgres`; `gbrain` is the
155
+ // SKILL). Fully server-side, NO user connection → UNGATED.
156
+ // No-connection TOGGLEABLE (like codebase-memory). Backed by gbrainSkill in
157
+ // @zibby/skills. Used by the knowledge-base wrapper-agent (parent = single
158
+ // writer / owner of the brain; per-source children stay pure). Scaffold:
159
+ // dogfood of the public agent-workflow sub-graph API — see the
160
+ // knowledge-base template + WRAPPER-AGENTS.md.
161
+ GBRAIN: 'gbrain',
162
+ // `artifact` — publish a self-contained, shareable HTML/Markdown page (like
163
+ // Claude Code's Artifact tool) to Zibby's own object store and get back a URL.
164
+ // Tier ① (plain JS → a control-plane endpoint that does the privileged S3 write
165
+ // server-side, keeping object-store creds OUT of the hostile run). The INDEX of
166
+ // what an agent has published rides the shipped kv-memory (prefix `artifact:`),
167
+ // so `artifact_list` is just kv_recall_prefix('artifact:') — no new store. No
168
+ // user connection required → UNGATED (auths with the run's own project token,
169
+ // like kv-memory / dataset-store). Backed by artifactSkill in @zibby/skills.
170
+ ARTIFACT: 'artifact',
150
171
  });
151
172
 
152
173
  /**
@@ -227,4 +248,20 @@ export const SKILL_META = deepFreeze({
227
248
  + 'no connection required.',
228
249
  },
229
250
  },
251
+ gbrain: {
252
+ toggleable: true,
253
+ requiresIntegration: false,
254
+ tier: 3,
255
+ display: {
256
+ name: 'Knowledge base (GBrain)',
257
+ description:
258
+ 'Tier-③ knowledge base: a Postgres (PGlite) + pgvector engine (GBrain) '
259
+ + 'the agent ingests source documents into and semantically queries. It '
260
+ + 'runs as an on-demand sidecar brokered by the control-plane (the agent '
261
+ + 'never dials it directly); the per-tenant brain is a Stores-v2 '
262
+ + '`postgres` store, visible on the Storage page. GBrain is the '
263
+ + 'SKILL/engine; the store TYPE is the real engine `postgres`. No user '
264
+ + 'connection required.',
265
+ },
266
+ },
230
267
  });