@pixelml/agenticflow-cli 1.5.2 → 1.6.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.
@@ -1,30 +1,24 @@
1
1
  /**
2
- * Pure translator: CompanyBlueprint → MAS workforce graph (skeleton).
3
- *
4
- * Converts a Paperclip-era blueprint (agent role slots + starter tasks) into
5
- * a MINIMAL VALID AgenticFlow workforce graph that the user can then fill in
6
- * with real agents via the UI or follow-up CLI commands.
7
- *
8
- * Why a skeleton, not a full agent graph:
9
- * MAS `agent` nodes require a real `agent_id` (verified 400 on live attempt
10
- * 2026-04-14). The CLI cannot synthesize agents during init without either
11
- * creating real agent entities (heavyweight: N API calls, model/prompt picks)
12
- * or matching against marketplace templates (requires a search flow).
13
- * A skeleton avoids the chicken-and-egg: deploy succeeds, user knows exactly
14
- * what to wire next.
15
- *
16
- * What the skeleton contains:
17
- * - One `trigger` node carrying the full blueprint metadata (slots, tasks,
18
- * goal) so downstream tooling can materialize agents later.
19
- * - One `output` node that echoes the message from the triggering run.
20
- * - A `next_step` edge from trigger → output.
21
- *
22
- * What callers of this translator should then do:
23
- * 1. POST the workforce (metadata only).
24
- * 2. PUT the skeleton schema from this translator.
25
- * 3. Surface `next_steps` in the response telling the user:
26
- * "Open the UI, add one Agent node per slot in trigger.input.planned_agents,
27
- * connect them from the trigger, and publish."
2
+ * CompanyBlueprint → MAS workforce deploy.
3
+ *
4
+ * Two modes:
5
+ *
6
+ * 1. SKELETON (original, `blueprintToWorkforce`)
7
+ * Produces a minimal trigger+output graph with blueprint metadata on the
8
+ * trigger. User fills in agent nodes afterwards. Fast, no agent creation,
9
+ * safe for --dry-run.
10
+ *
11
+ * 2. FULL DEPLOY (new, `blueprintToAgentSpecs` + `buildAgentWiredGraph`)
12
+ * Produces agent-create specs AND a graph stub parameterised by
13
+ * {slotRole agentId}. Caller creates the agents, then feeds the map
14
+ * into `buildAgentWiredGraph` to produce a fully-wired graph ready for
15
+ * PUT /schema.
16
+ *
17
+ * The two-phase design exists because MAS `agent` nodes require a real
18
+ * `agent_id` (the backend 400s otherwise), so we can't one-shot the graph
19
+ * without first materialising agents. Splitting keeps the pure translator
20
+ * pure and leaves the side-effectful agent-creation to the CLI command which
21
+ * can handle error-rollback.
28
22
  */
29
23
  import type { CompanyBlueprint, AgentSlot } from "./company-blueprints.js";
30
24
  import type { WorkforceSchema } from "@pixelml/agenticflow-sdk";
@@ -48,4 +42,53 @@ export declare function blueprintToWorkforce(blueprint: CompanyBlueprint, option
48
42
  name?: string;
49
43
  description?: string;
50
44
  }): BlueprintTranslation;
45
+ /**
46
+ * Create-payload specification for one agent slot.
47
+ * Caller passes each to `client.agents.create()`, then maps the returned
48
+ * agent ids back into `buildAgentWiredGraph()`.
49
+ */
50
+ export interface AgentSpec {
51
+ /** Stable slot identifier (= slot.role) used as the map key. */
52
+ slotKey: string;
53
+ /** The body to POST to /v1/agents/. Includes project_id, name, tools, etc. */
54
+ body: Record<string, unknown>;
55
+ /** Reference to the source slot, for graph wiring + failure reporting. */
56
+ slot: AgentSlot;
57
+ }
58
+ /**
59
+ * Build N agent-create payloads from a blueprint. Each agent:
60
+ * - `name` prefixed with workforce name for identification
61
+ * - `system_prompt` derived from slot.title + slot.description + blueprint goal
62
+ * - `model` defaulted (overridable via options.model)
63
+ * - `tools: []` (user attaches MCPs/tools afterwards)
64
+ *
65
+ * `project_id` is REQUIRED — caller supplies from `af bootstrap > auth.project_id`.
66
+ */
67
+ export declare function blueprintToAgentSpecs(blueprint: CompanyBlueprint, options: {
68
+ projectId: string;
69
+ workforceName: string;
70
+ model?: string;
71
+ includeOptionalSlots?: boolean;
72
+ }): AgentSpec[];
73
+ /**
74
+ * Build a full workforce graph that references real agent_ids.
75
+ *
76
+ * Shape:
77
+ * trigger ──► coordinator_agent ──► worker_agent_1
78
+ * ├─► worker_agent_2
79
+ * ├─► worker_agent_3
80
+ * └─► output (from coordinator)
81
+ *
82
+ * The first non-optional slot (typically "ceo") becomes the coordinator.
83
+ * Coordinator receives the trigger event, and all other agents receive
84
+ * their handoff from the coordinator. `output` listens on the coordinator.
85
+ *
86
+ * `agentIdBySlot` MUST contain an id for every slot in `specs` — callers
87
+ * produce this map by creating agents and pairing the returned ids back
88
+ * with `spec.slotKey`.
89
+ */
90
+ export declare function buildAgentWiredGraph(blueprint: CompanyBlueprint, specs: AgentSpec[], agentIdBySlot: Record<string, string>): {
91
+ nodes: WorkforceSchema["nodes"][number][];
92
+ edges: WorkforceSchema["edges"][number][];
93
+ };
51
94
  //# sourceMappingURL=blueprint-to-workforce.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blueprint-to-workforce.d.ts","sourceRoot":"","sources":["../../src/cli/blueprint-to-workforce.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,sBAAsB,CAAC;IAClC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1C,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1C,+EAA+E;IAC/E,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,mDAAmD;AACnD,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAEtD;AAED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,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,0EAA0E;IAC1E,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,gBAAgB,EAC3B,OAAO,EAAE;IACP,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,GACA,SAAS,EAAE,CAiBb;AAuBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,SAAS,EAAE,EAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACpC;IAAE,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;IAAC,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAAA;CAAE,CAgF1F"}
@@ -1,30 +1,24 @@
1
1
  /**
2
- * Pure translator: CompanyBlueprint → MAS workforce graph (skeleton).
2
+ * CompanyBlueprint → MAS workforce deploy.
3
3
  *
4
- * Converts a Paperclip-era blueprint (agent role slots + starter tasks) into
5
- * a MINIMAL VALID AgenticFlow workforce graph that the user can then fill in
6
- * with real agents via the UI or follow-up CLI commands.
4
+ * Two modes:
7
5
  *
8
- * Why a skeleton, not a full agent graph:
9
- * MAS `agent` nodes require a real `agent_id` (verified 400 on live attempt
10
- * 2026-04-14). The CLI cannot synthesize agents during init without either
11
- * creating real agent entities (heavyweight: N API calls, model/prompt picks)
12
- * or matching against marketplace templates (requires a search flow).
13
- * A skeleton avoids the chicken-and-egg: deploy succeeds, user knows exactly
14
- * what to wire next.
6
+ * 1. SKELETON (original, `blueprintToWorkforce`)
7
+ * Produces a minimal trigger+output graph with blueprint metadata on the
8
+ * trigger. User fills in agent nodes afterwards. Fast, no agent creation,
9
+ * safe for --dry-run.
15
10
  *
16
- * What the skeleton contains:
17
- * - One `trigger` node carrying the full blueprint metadata (slots, tasks,
18
- * goal) so downstream tooling can materialize agents later.
19
- * - One `output` node that echoes the message from the triggering run.
20
- * - A `next_step` edge from trigger → output.
11
+ * 2. FULL DEPLOY (new, `blueprintToAgentSpecs` + `buildAgentWiredGraph`)
12
+ * Produces agent-create specs AND a graph stub parameterised by
13
+ * {slotRole agentId}. Caller creates the agents, then feeds the map
14
+ * into `buildAgentWiredGraph` to produce a fully-wired graph ready for
15
+ * PUT /schema.
21
16
  *
22
- * What callers of this translator should then do:
23
- * 1. POST the workforce (metadata only).
24
- * 2. PUT the skeleton schema from this translator.
25
- * 3. Surface `next_steps` in the response telling the user:
26
- * "Open the UI, add one Agent node per slot in trigger.input.planned_agents,
27
- * connect them from the trigger, and publish."
17
+ * The two-phase design exists because MAS `agent` nodes require a real
18
+ * `agent_id` (the backend 400s otherwise), so we can't one-shot the graph
19
+ * without first materialising agents. Splitting keeps the pure translator
20
+ * pure and leaves the side-effectful agent-creation to the CLI command which
21
+ * can handle error-rollback.
28
22
  */
29
23
  /** Stable, URL-safe node name for an AgentSlot. */
30
24
  export function slotToNodeName(slot) {
@@ -94,4 +88,143 @@ export function blueprintToWorkforce(blueprint, options = {}) {
94
88
  suggested_next_steps,
95
89
  };
96
90
  }
91
+ /**
92
+ * Build N agent-create payloads from a blueprint. Each agent:
93
+ * - `name` prefixed with workforce name for identification
94
+ * - `system_prompt` derived from slot.title + slot.description + blueprint goal
95
+ * - `model` defaulted (overridable via options.model)
96
+ * - `tools: []` (user attaches MCPs/tools afterwards)
97
+ *
98
+ * `project_id` is REQUIRED — caller supplies from `af bootstrap > auth.project_id`.
99
+ */
100
+ export function blueprintToAgentSpecs(blueprint, options) {
101
+ const model = options.model ?? "agenticflow/gemini-2.0-flash";
102
+ const slots = options.includeOptionalSlots
103
+ ? blueprint.agents
104
+ : blueprint.agents.filter((s) => !s.optional);
105
+ return slots.map((slot) => ({
106
+ slotKey: slot.role,
107
+ slot,
108
+ body: {
109
+ name: `${options.workforceName} — ${slot.title}`,
110
+ project_id: options.projectId,
111
+ tools: [],
112
+ model,
113
+ description: `${slot.role} for "${blueprint.name}" workforce`,
114
+ system_prompt: buildSystemPrompt(blueprint, slot),
115
+ },
116
+ }));
117
+ }
118
+ function buildSystemPrompt(blueprint, slot) {
119
+ return [
120
+ `You are the ${slot.title} for "${blueprint.name}".`,
121
+ ``,
122
+ `YOUR ROLE: ${slot.description}`,
123
+ ``,
124
+ `TEAM GOAL: ${blueprint.goal}`,
125
+ ``,
126
+ slot.suggestedTemplate
127
+ ? `REFERENCE: Behave like the AgenticFlow marketplace template "${slot.suggestedTemplate}" for this role.`
128
+ : null,
129
+ ``,
130
+ `OPERATING RULES:`,
131
+ `- Stay in your role; do not do work outside ${slot.role} scope.`,
132
+ `- When you need input from another role, name the role in your response rather than acting for them.`,
133
+ `- Produce concrete, structured output the downstream node in the workforce can act on.`,
134
+ ]
135
+ .filter((l) => l !== null)
136
+ .join("\n");
137
+ }
138
+ /**
139
+ * Build a full workforce graph that references real agent_ids.
140
+ *
141
+ * Shape:
142
+ * trigger ──► coordinator_agent ──► worker_agent_1
143
+ * ├─► worker_agent_2
144
+ * ├─► worker_agent_3
145
+ * └─► output (from coordinator)
146
+ *
147
+ * The first non-optional slot (typically "ceo") becomes the coordinator.
148
+ * Coordinator receives the trigger event, and all other agents receive
149
+ * their handoff from the coordinator. `output` listens on the coordinator.
150
+ *
151
+ * `agentIdBySlot` MUST contain an id for every slot in `specs` — callers
152
+ * produce this map by creating agents and pairing the returned ids back
153
+ * with `spec.slotKey`.
154
+ */
155
+ export function buildAgentWiredGraph(blueprint, specs, agentIdBySlot) {
156
+ if (specs.length === 0) {
157
+ throw new Error("No agent specs provided to buildAgentWiredGraph");
158
+ }
159
+ const coordinatorSpec = specs[0];
160
+ const coordinatorId = agentIdBySlot[coordinatorSpec.slotKey];
161
+ if (!coordinatorId) {
162
+ throw new Error(`Missing agent_id for coordinator slot "${coordinatorSpec.slotKey}"`);
163
+ }
164
+ const coordinatorNodeName = slotToNodeName(coordinatorSpec.slot);
165
+ const GRID_X = 320;
166
+ const GRID_Y = 180;
167
+ const nodes = [
168
+ {
169
+ name: "trigger",
170
+ type: "trigger",
171
+ position: { x: 0, y: GRID_Y },
172
+ input: {},
173
+ meta: {
174
+ source_blueprint: blueprint.id,
175
+ blueprint_name: blueprint.name,
176
+ blueprint_goal: blueprint.goal,
177
+ starter_tasks: blueprint.starterTasks,
178
+ },
179
+ },
180
+ {
181
+ name: coordinatorNodeName,
182
+ type: "agent",
183
+ position: { x: GRID_X, y: GRID_Y },
184
+ input: { agent_id: coordinatorId },
185
+ meta: {
186
+ role: coordinatorSpec.slot.role,
187
+ title: coordinatorSpec.slot.title,
188
+ is_coordinator: true,
189
+ },
190
+ },
191
+ ];
192
+ // Worker agent nodes, laid out to the right of the coordinator, stacked vertically
193
+ specs.slice(1).forEach((spec, i) => {
194
+ const nodeName = slotToNodeName(spec.slot);
195
+ const agentId = agentIdBySlot[spec.slotKey];
196
+ if (!agentId) {
197
+ throw new Error(`Missing agent_id for slot "${spec.slotKey}"`);
198
+ }
199
+ nodes.push({
200
+ name: nodeName,
201
+ type: "agent",
202
+ position: { x: GRID_X * 2, y: i * GRID_Y },
203
+ input: { agent_id: agentId },
204
+ meta: { role: spec.slot.role, title: spec.slot.title },
205
+ });
206
+ });
207
+ // Output node listens on the coordinator's result
208
+ nodes.push({
209
+ name: "output",
210
+ type: "output",
211
+ position: { x: GRID_X * 3, y: GRID_Y },
212
+ input: { message: `${blueprint.name} team response` },
213
+ });
214
+ const edges = [
215
+ // trigger → coordinator
216
+ { source_node_name: "trigger", target_node_name: coordinatorNodeName, connection_type: "next_step" },
217
+ // coordinator → output
218
+ { source_node_name: coordinatorNodeName, target_node_name: "output", connection_type: "next_step" },
219
+ ];
220
+ // coordinator → each worker agent (fan-out)
221
+ for (const spec of specs.slice(1)) {
222
+ edges.push({
223
+ source_node_name: coordinatorNodeName,
224
+ target_node_name: slotToNodeName(spec.slot),
225
+ connection_type: "next_step",
226
+ });
227
+ }
228
+ return { nodes, edges };
229
+ }
97
230
  //# sourceMappingURL=blueprint-to-workforce.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blueprint-to-workforce.js","sourceRoot":"","sources":["../../src/cli/blueprint-to-workforce.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAqBH,mDAAmD;AACnD,MAAM,UAAU,cAAc,CAAC,IAAe;IAC5C,OAAO,SAAS,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;AACzE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,SAA2B,EAC3B,UAAmD,EAAE;IAErD,MAAM,aAAa,GAAG,OAAO,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC;IACrD,MAAM,oBAAoB,GAAG,OAAO,CAAC,WAAW,IAAI,SAAS,CAAC,WAAW,CAAC;IAE1E,sEAAsE;IACtE,4EAA4E;IAC5E,2BAA2B;IAC3B,MAAM,aAAa,GAAG,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpD,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,kBAAkB,EAAE,IAAI,CAAC,iBAAiB,IAAI,IAAI;QAClD,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;QAChC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC;KACzC,CAAC,CAAC,CAAC;IAEJ,MAAM,KAAK,GAAuC;QAChD;YACE,IAAI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AAS,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,eAAe,EAAE,WAAW,EAAE;QACpG,uBAAuB;QACvB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE;KACpG,CAAC;IACF,4CAA4C;IAC5C,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAClC,KAAK,CAAC,IAAI,CAAC;YACT,gBAAgB,EAAE,mBAAmB;YACrC,gBAAgB,EAAE,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;YAC3C,eAAe,EAAE,WAAW;SAC7B,CAAC,CAAC;IACL,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../src/cli/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,SAAS,EAAE,cAAc,EAsIrC,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,cAAc,CAEnD;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,EAAE,CAInE"}
1
+ {"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../src/cli/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,SAAS,EAAE,cAAc,EAsKrC,CAAC;AAEF,wBAAgB,kBAAkB,IAAI,cAAc,CAEnD;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,EAAE,CAInE"}
@@ -5,6 +5,38 @@
5
5
  * and displayed after upgrade.
6
6
  */
7
7
  export const CHANGELOG = [
8
+ {
9
+ version: "1.6.0",
10
+ date: "2026-04-14",
11
+ highlights: [
12
+ "`af workforce init --blueprint <slug>` now deploys a RUNNABLE TEAM by default — creates one real agent per non-optional blueprint slot, then wires them into a DAG (trigger → coordinator → worker agents → output). Previously it produced a skeleton the user had to finish manually",
13
+ "Atomic rollback on failure: if workforce init fails at any step, every agent created so far is deleted and the workforce is removed. No orphans",
14
+ "`--skeleton-only` preserves the v1.5 behavior for users who want to wire agents manually (e.g. re-use existing agents rather than auto-create)",
15
+ "`--model` flag lets you pick the model for all auto-created agents (default: agenticflow/gemini-2.0-flash). `--include-optional-slots` fills every slot, not just the required ones",
16
+ "`--dry-run` shows both the agent-create plan AND the graph shape without touching the workspace — preview the full team before committing",
17
+ ],
18
+ for_ai: [
19
+ "NEW DEFAULT FLOW: `af workforce init --blueprint amazon-seller --name \"My Team\" --json` gives you a fully runnable workforce in one command. Returns {workforce_id, agents:[{slot_role, agent_id, title}], node_count, edge_count, next_steps}",
20
+ "Each auto-created agent starts with tools:[] — attach MCP clients or tools with `af agent update --agent-id <id> --patch --body '{\"mcp_clients\":[...]}'` after init",
21
+ "If init fails, the error details carry `rolled_back_agents` and `rolled_back_workforce` so you know what was undone. If rollback itself fails, `rollback_errors` lists what needs manual cleanup",
22
+ "Use `--dry-run` first to preview: you'll see the model per slot, a preview of each agent's system prompt, and the estimated node/edge count — no side effects",
23
+ "Set `--project-id` explicitly if your shell doesn't have AGENTICFLOW_PROJECT_ID — full init needs it for agent creation (server doesn't auto-inject for agent endpoints)",
24
+ ],
25
+ },
26
+ {
27
+ version: "1.5.3",
28
+ date: "2026-04-14",
29
+ highlights: [
30
+ "Model preflight on `af agent create/update` — invalid model strings (typos, missing slash) fail fast BEFORE the agent gets created with a broken config. Unknown-but-plausible models warn but proceed (so new models work between CLI releases)",
31
+ "Structured error hints on 401/403/404/409/422/429 — every common HTTP failure now carries an actionable `hint` in --json output pointing at the right recovery command (`af whoami`, `af agent list`, fetch-and-reconcile, etc.)",
32
+ "`af agent update` emits a stderr `[info]` line naming which null-valued fields got auto-stripped. Closes the footgun where bots thought they'd cleared a field but the server never saw null. Silenced with --json (keeps stdout clean for piping)",
33
+ ],
34
+ for_ai: [
35
+ "If you're iterating on an agent's system prompt with `--patch`, don't also clear optional fields by sending null — the CLI strips them and the stderr info line tells you which ones were dropped",
36
+ "When a command fails, check the `hint` field in the error envelope before retrying — 404s point you at the matching `list` command, 422s point you at `details.payload` for field-level errors",
37
+ "Pass only models from `af bootstrap --json > models[]` — typos fail at validation time, not at next `agent run`. If you're trying a brand-new model and hit a warning, you can proceed (CLI is conservative — warns but doesn't block)",
38
+ ],
39
+ },
8
40
  {
9
41
  version: "1.5.2",
10
42
  date: "2026-04-14",
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/cli/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,MAAM,CAAC,MAAM,SAAS,GAAqB;IACzC;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,8PAA8P;YAC9P,2JAA2J;YAC3J,0KAA0K;YAC1K,uNAAuN;YACvN,2RAA2R;YAC3R,sKAAsK;SACvK;QACD,MAAM,EAAE;YACN,8GAA8G;YAC9G,sKAAsK;YACtK,2HAA2H;YAC3H,mKAAmK;YACnK,4IAA4I;SAC7I;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,gSAAgS;YAChS,0HAA0H;YAC1H,2KAA2K;YAC3K,sSAAsS;YACtS,wOAAwO;YACxO,yLAAyL;SAC1L;QACD,MAAM,EAAE;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C,6DAA6D;SAC9D;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,kCAAkC;YAClC,6CAA6C;YAC7C,qCAAqC;SACtC;QACD,MAAM,EAAE;YACN,0CAA0C;SAC3C;KACF;CACF,CAAC;AAEF,MAAM,UAAU,kBAAkB;IAChC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAe;IAC/C,MAAM,GAAG,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;IAC9D,IAAI,GAAG,IAAI,CAAC;QAAE,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC"}
1
+ {"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/cli/changelog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,MAAM,CAAC,MAAM,SAAS,GAAqB;IACzC;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,wRAAwR;YACxR,iJAAiJ;YACjJ,gJAAgJ;YAChJ,qLAAqL;YACrL,2IAA2I;SAC5I;QACD,MAAM,EAAE;YACN,kPAAkP;YAClP,uKAAuK;YACvK,kMAAkM;YAClM,+JAA+J;YAC/J,0KAA0K;SAC3K;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACV,kPAAkP;YAClP,kOAAkO;YAClO,oPAAoP;SACrP;QACD,MAAM,EAAE;YACN,mMAAmM;YACnM,gMAAgM;YAChM,wOAAwO;SACzO;KACF;IACD;QACE,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,YAAY;QAClB,UAAU,E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,GAAG,OAAO,CAAC,IAAI,CAAC,CAwB3D"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAi8BpC,wBAAgB,aAAa,IAAI,OAAO,CAu/KvC;AAED,wBAAsB,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAwB3D"}