@agentconnect.md/cli 1.16.0 → 1.17.0-rc.5
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 +17 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8241,6 +8241,22 @@ discriminatedUnion("kind", [
|
|
|
8241
8241
|
object({ kind: literal("image") })
|
|
8242
8242
|
]);
|
|
8243
8243
|
/**
|
|
8244
|
+
* A self-contained skill source the daemon installs via `npx skills` after the
|
|
8245
|
+
* workspace is ready and before the ACP host spawns (design: shared-skills.md §4).
|
|
8246
|
+
* The source definition rides INLINE on the AgentSpec (and lands in agent.json,
|
|
8247
|
+
* like mcpServers) — there is no separate skillsource frame or daemon-side def
|
|
8248
|
+
* cache. The CP resolves each agent's enabled org-level `SkillSource` rows into
|
|
8249
|
+
* these entries when it builds the spec.
|
|
8250
|
+
*/
|
|
8251
|
+
const SkillArg = string().min(1).refine((s) => !s.startsWith("-"), { message: "must not start with \"-\"" });
|
|
8252
|
+
const AgentSkillEntry = object({
|
|
8253
|
+
name: string(),
|
|
8254
|
+
source: SkillArg,
|
|
8255
|
+
ref: string().optional(),
|
|
8256
|
+
subDir: string().optional(),
|
|
8257
|
+
skills: array(SkillArg).default([])
|
|
8258
|
+
});
|
|
8259
|
+
/**
|
|
8244
8260
|
* The editable agent definition the CP owns and the daemon needs to run it:
|
|
8245
8261
|
* prompt + runtime selection. The launch protocol carries this config and the
|
|
8246
8262
|
* daemon synthesizes the system prompt locally; `description` IS the prompt.
|
|
@@ -8271,6 +8287,7 @@ const AgentSpec = object({
|
|
|
8271
8287
|
secrets: record(string(), string()).optional(),
|
|
8272
8288
|
memory: AgentMemoryBinding.optional(),
|
|
8273
8289
|
mcpServers: array(string()).default([]),
|
|
8290
|
+
skills: array(AgentSkillEntry).default([]),
|
|
8274
8291
|
callPolicy: _enum(["all", "selected"]).optional(),
|
|
8275
8292
|
allowedCallerAgentIds: array(string()).default([]),
|
|
8276
8293
|
outboundPolicy: _enum(["all", "selected"]).optional(),
|