@zibby/skill-ids 0.2.2 → 0.2.3

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 +28 -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.3",
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,18 @@ 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',
150
162
  });
151
163
 
152
164
  /**
@@ -227,4 +239,20 @@ export const SKILL_META = deepFreeze({
227
239
  + 'no connection required.',
228
240
  },
229
241
  },
242
+ gbrain: {
243
+ toggleable: true,
244
+ requiresIntegration: false,
245
+ tier: 3,
246
+ display: {
247
+ name: 'Knowledge base (GBrain)',
248
+ description:
249
+ 'Tier-③ knowledge base: a Postgres (PGlite) + pgvector engine (GBrain) '
250
+ + 'the agent ingests source documents into and semantically queries. It '
251
+ + 'runs as an on-demand sidecar brokered by the control-plane (the agent '
252
+ + 'never dials it directly); the per-tenant brain is a Stores-v2 '
253
+ + '`postgres` store, visible on the Storage page. GBrain is the '
254
+ + 'SKILL/engine; the store TYPE is the real engine `postgres`. No user '
255
+ + 'connection required.',
256
+ },
257
+ },
230
258
  });