@biffo/cli 0.108.9 → 0.109.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.
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6144,6 +6144,11 @@ var UserFrontendSchema = z6.object({
|
|
|
6144
6144
|
),
|
|
6145
6145
|
required_group: z6.string().min(1, NON_EMPTY_GROUP)
|
|
6146
6146
|
}).strict();
|
|
6147
|
+
var ToolDeclarationSchema = z6.object({
|
|
6148
|
+
name: z6.string(),
|
|
6149
|
+
description: z6.string(),
|
|
6150
|
+
parameters: z6.record(z6.string(), z6.unknown()).default({})
|
|
6151
|
+
});
|
|
6147
6152
|
var ChatAgentDeclarationSchema = z6.object({
|
|
6148
6153
|
key: z6.string().regex(/^[a-z][a-z0-9-]*$/, "must be a lowercase kebab-case slug"),
|
|
6149
6154
|
agent_name: z6.string().optional(),
|
|
@@ -6173,6 +6178,13 @@ var PluginManifestSchema = z6.object({
|
|
|
6173
6178
|
// ordinary (data/event/CRUD) plugin.
|
|
6174
6179
|
user_ingress: UserIngressSchema.optional(),
|
|
6175
6180
|
user_frontend: UserFrontendSchema.optional(),
|
|
6181
|
+
// Tools the plugin's runtime exposes to an agentic worker (ADR-0014 §7,
|
|
6182
|
+
// #569). Default empty — an ordinary plugin declares none. Parsing this
|
|
6183
|
+
// (rather than leaving it to fall through the non-`.strict()` top-level
|
|
6184
|
+
// object and get silently dropped) is the fix for the parity gap: before
|
|
6185
|
+
// this, a manifest declaring `tools` validated with no error and lost the
|
|
6186
|
+
// field entirely.
|
|
6187
|
+
tools: z6.array(ToolDeclarationSchema).default([]),
|
|
6176
6188
|
// Chat agents the plugin registers with Core (ADR-0017). Default empty — an
|
|
6177
6189
|
// ordinary plugin declares none.
|
|
6178
6190
|
chat_agents: z6.array(ChatAgentDeclarationSchema).default([])
|