@biffo/cli 0.107.0 → 0.108.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.
Files changed (2) hide show
  1. package/dist/index.js +14 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6210,6 +6210,16 @@ var UserFrontendSchema = z6.object({
6210
6210
  ),
6211
6211
  required_group: z6.string().min(1, NON_EMPTY_GROUP)
6212
6212
  }).strict();
6213
+ var ChatAgentDeclarationSchema = z6.object({
6214
+ key: z6.string().regex(/^[a-z][a-z0-9-]*$/, "must be a lowercase kebab-case slug"),
6215
+ agent_name: z6.string().optional(),
6216
+ system_prompt: z6.string().min(1),
6217
+ model: z6.string().min(1),
6218
+ required_group: z6.string().min(1),
6219
+ max_history_messages: z6.number().int().positive().default(40),
6220
+ max_output_tokens: z6.number().int().positive().default(1024),
6221
+ timeout_seconds: z6.number().positive().default(20)
6222
+ }).strict();
6213
6223
  var PluginManifestSchema = z6.object({
6214
6224
  name: z6.string().regex(/^[a-z][a-z0-9-]*$/, "must be a lowercase kebab-case slug"),
6215
6225
  version: z6.string().regex(/^\d+\.\d+\.\d+$/, "must be a full semver, e.g. 1.2.3"),
@@ -6228,7 +6238,10 @@ var PluginManifestSchema = z6.object({
6228
6238
  // ADR-0018 user-facing surfaces. Optional: a plugin without them is an
6229
6239
  // ordinary (data/event/CRUD) plugin.
6230
6240
  user_ingress: UserIngressSchema.optional(),
6231
- user_frontend: UserFrontendSchema.optional()
6241
+ user_frontend: UserFrontendSchema.optional(),
6242
+ // Chat agents the plugin registers with Core (ADR-0017). Default empty — an
6243
+ // ordinary plugin declares none.
6244
+ chat_agents: z6.array(ChatAgentDeclarationSchema).default([])
6232
6245
  }).superRefine((manifest, ctx) => {
6233
6246
  const tableNames = new Set(manifest.tables.map((t) => t.name));
6234
6247
  for (const route of manifest.api_routes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.107.0",
3
+ "version": "0.108.0",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",