@pixelml/agenticflow-cli 1.0.4 → 1.0.6

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/README.md CHANGED
@@ -73,6 +73,18 @@ agenticflow logout --profile staging # remove a single profile
73
73
 
74
74
  ## Commands
75
75
 
76
+ ### Cold start
77
+
78
+ ```bash
79
+ # Machine-discoverable first-touch path
80
+ agenticflow discover --json
81
+ agenticflow playbook first-touch
82
+
83
+ # Prime local template cache for workflow/agent/workforce examples
84
+ agenticflow templates sync --json
85
+ agenticflow templates index --json
86
+ ```
87
+
76
88
  ### agent
77
89
 
78
90
  ```bash
@@ -97,10 +109,8 @@ agenticflow workflow run --workflow-id <id> [--input <json|@file>]
97
109
  agenticflow workflow run-status --workflow-run-id <id>
98
110
  agenticflow workflow list-runs --workflow-id <id> [--sort-order asc|desc]
99
111
  agenticflow workflow run-history --workflow-id <id>
100
- agenticflow workflow validate --body <json|@file>
112
+ agenticflow workflow validate --body <json|@file> [--local-only]
101
113
  agenticflow workflow reference-impact --workflow-id <id>
102
- agenticflow workflow like --workflow-id <id>
103
- agenticflow workflow unlike --workflow-id <id>
104
114
  agenticflow workflow like-status --workflow-id <id>
105
115
  ```
106
116
 
@@ -109,10 +119,8 @@ agenticflow workflow like-status --workflow-id <id>
109
119
  ```bash
110
120
  agenticflow connections list [--workspace-id <id>] [--project-id <id>]
111
121
  agenticflow connections create --body <json|@file> [--workspace-id <id>]
112
- agenticflow connections get-default --category <name> [--workspace-id <id>] [--project-id <id>]
113
122
  agenticflow connections update --connection-id <id> --body <json|@file> [--workspace-id <id>]
114
123
  agenticflow connections delete --connection-id <id> [--workspace-id <id>]
115
- agenticflow connections categories [--workspace-id <id>]
116
124
  ```
117
125
 
118
126
  ### node-types
@@ -137,13 +145,13 @@ For any endpoint not covered by resource commands:
137
145
 
138
146
  ```bash
139
147
  # By operation ID
140
- agenticflow call --operation-id getAgentModel
148
+ agenticflow call --operation-id get_by_id_v1_agents__agent_id__get -P agent_id=abc123
141
149
 
142
150
  # By method + path
143
151
  agenticflow call --method GET --path /v1/agents/
144
152
 
145
153
  # With parameters and body
146
- agenticflow call --operation-id updateAgent \
154
+ agenticflow call --operation-id update_v1_agents__agent_id__put \
147
155
  -P agent_id=abc123 \
148
156
  --body '{"name": "Updated"}'
149
157
 
@@ -151,7 +159,7 @@ agenticflow call --operation-id updateAgent \
151
159
  agenticflow call --method GET --path /v1/agents/ -Q limit=10
152
160
 
153
161
  # Dry run (shows request without executing)
154
- agenticflow call --operation-id listAgents --dry-run
162
+ agenticflow call --operation-id get_all_v1_agents__get --dry-run
155
163
  ```
156
164
 
157
165
  ### Utilities
@@ -160,8 +168,11 @@ agenticflow call --operation-id listAgents --dry-run
160
168
  # Preflight diagnostics
161
169
  agenticflow doctor
162
170
 
171
+ # Machine-readable capability discovery
172
+ agenticflow discover --json
173
+
163
174
  # OpenAPI operation discovery
164
- agenticflow ops list [--public-only] [--tag <tag>]
175
+ agenticflow ops list [--public-only] [--tag <tag>] [--json]
165
176
  agenticflow ops show <operation-id>
166
177
 
167
178
  # Operation catalog
@@ -174,6 +185,22 @@ agenticflow policy init [--spend-ceiling <amount>]
174
185
 
175
186
  # Built-in playbooks
176
187
  agenticflow playbook [topic] [--list]
188
+ # First-touch onboarding for cold agents
189
+ agenticflow playbook first-touch
190
+ agenticflow playbook --list --json
191
+
192
+ # Template bootstrap cache for cold agents
193
+ agenticflow templates sync [--dir .agenticflow/templates] [--limit 100] [--strict] [--json]
194
+ agenticflow templates index [--dir .agenticflow/templates] [--json]
195
+
196
+ # Duplicate resources from templates (web-like flow)
197
+ agenticflow templates duplicate workflow --template-id <workflow_template_id> --json
198
+ agenticflow templates duplicate agent --template-id <agent_template_id> --json
199
+ # Build payloads only (no create)
200
+ agenticflow templates duplicate workflow --template-id <id> --dry-run --json
201
+ # Resolve template IDs from local cache first (cold/sandbox-friendly)
202
+ agenticflow templates duplicate workflow --template-id <id> --cache-dir .agenticflow/templates --json
203
+ agenticflow templates duplicate agent --template-file .agenticflow/templates/agent/<file>.json --cache-dir .agenticflow/templates --dry-run --json
177
204
  ```
178
205
 
179
206
  ## Global Options
@@ -184,13 +211,18 @@ agenticflow playbook [topic] [--list]
184
211
  | `--workspace-id <id>` | Default workspace ID |
185
212
  | `--project-id <id>` | Default project ID |
186
213
  | `--spec-file <path>` | Path to OpenAPI spec JSON |
214
+ | `--no-color` | Disable ANSI color output |
187
215
  | `--json` | Force JSON output |
188
216
  | `--version` | Show version |
189
217
  | `--help` | Show help |
190
218
 
191
219
  ## Output
192
220
 
193
- All commands output JSON to stdout. Errors set a non-zero exit code.
221
+ Use `--json` for machine-readable output. In JSON mode, errors use a structured envelope and exit non-zero.
222
+
223
+ Create/update/run/stream commands perform local payload validation first. This returns `local_schema_validation_failed` immediately for malformed inputs, before any API request is sent.
224
+
225
+ `templates duplicate` can resolve workflow templates from a local `templates sync` cache via `--cache-dir` before attempting API fetches. This improves cold-start behavior in restricted environments.
194
226
 
195
227
  ```bash
196
228
  agenticflow agent list | jq '.[] | .name'
@@ -4,7 +4,17 @@
4
4
  */
5
5
  import { runCli } from "../cli/main.js";
6
6
  runCli().catch((err) => {
7
- console.error(err instanceof Error ? err.message : err);
7
+ const message = err instanceof Error ? err.message : String(err);
8
+ if (process.argv.includes("--json")) {
9
+ console.log(JSON.stringify({
10
+ schema: "agenticflow.error.v1",
11
+ code: "cli_error",
12
+ message,
13
+ }, null, 2));
14
+ }
15
+ else {
16
+ console.error(message);
17
+ }
8
18
  process.exit(1);
9
19
  });
10
20
  //# sourceMappingURL=agenticflow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agenticflow.js","sourceRoot":"","sources":["../../src/bin/agenticflow.ts"],"names":[],"mappings":";AAEA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACxD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"agenticflow.js","sourceRoot":"","sources":["../../src/bin/agenticflow.ts"],"names":[],"mappings":";AAEA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACrB,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACjE,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;YACzB,MAAM,EAAE,sBAAsB;YAC9B,IAAI,EAAE,WAAW;YACjB,OAAO;SACR,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACf,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Local payload validators for cold-start feedback before network calls.
3
+ * These validators mirror backend DTO constraints for the most common
4
+ * create/update entrypoints.
5
+ */
6
+ export interface LocalValidationIssue {
7
+ path: string;
8
+ message: string;
9
+ }
10
+ export declare function validateWorkflowCreatePayload(payload: unknown): LocalValidationIssue[];
11
+ export declare function validateWorkflowUpdatePayload(payload: unknown): LocalValidationIssue[];
12
+ export declare function validateAgentCreatePayload(payload: unknown): LocalValidationIssue[];
13
+ export declare function validateAgentUpdatePayload(payload: unknown): LocalValidationIssue[];
14
+ export declare function validateWorkflowRunPayload(payload: unknown): LocalValidationIssue[];
15
+ export declare function validateAgentStreamPayload(payload: unknown): LocalValidationIssue[];
16
+ //# sourceMappingURL=local-validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-validation.d.ts","sourceRoot":"","sources":["../../src/cli/local-validation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAqJD,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CAetF;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CA+BtF;AAuCD,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CA4BnF;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CAiCnF;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CAUnF;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,CA4BnF"}
@@ -0,0 +1,298 @@
1
+ /**
2
+ * Local payload validators for cold-start feedback before network calls.
3
+ * These validators mirror backend DTO constraints for the most common
4
+ * create/update entrypoints.
5
+ */
6
+ function isRecord(value) {
7
+ return typeof value === "object" && value !== null && !Array.isArray(value);
8
+ }
9
+ function addIssue(issues, path, message) {
10
+ issues.push({ path, message });
11
+ }
12
+ function validateString(value, issues, path, opts = {}) {
13
+ const required = opts.required ?? false;
14
+ const minLength = opts.minLength ?? 0;
15
+ const maxLength = opts.maxLength;
16
+ const nullable = opts.nullable ?? false;
17
+ if (value == null) {
18
+ if (required)
19
+ addIssue(issues, path, "is required");
20
+ return;
21
+ }
22
+ if (nullable && value === null)
23
+ return;
24
+ if (typeof value !== "string") {
25
+ addIssue(issues, path, "must be a string");
26
+ return;
27
+ }
28
+ if (value.length < minLength) {
29
+ addIssue(issues, path, `must be at least ${minLength} characters`);
30
+ }
31
+ if (maxLength != null && value.length > maxLength) {
32
+ addIssue(issues, path, `must be <= ${maxLength} characters`);
33
+ }
34
+ }
35
+ function validateBoolean(value, issues, path, required = false) {
36
+ if (value == null) {
37
+ if (required)
38
+ addIssue(issues, path, "is required");
39
+ return;
40
+ }
41
+ if (typeof value !== "boolean") {
42
+ addIssue(issues, path, "must be a boolean");
43
+ }
44
+ }
45
+ function validateNumber(value, issues, path, opts = {}) {
46
+ const required = opts.required ?? false;
47
+ if (value == null) {
48
+ if (required)
49
+ addIssue(issues, path, "is required");
50
+ return;
51
+ }
52
+ if (typeof value !== "number" || Number.isNaN(value) || !Number.isFinite(value)) {
53
+ addIssue(issues, path, "must be a number");
54
+ return;
55
+ }
56
+ if (opts.integer && !Number.isInteger(value)) {
57
+ addIssue(issues, path, "must be an integer");
58
+ }
59
+ if (opts.min != null && value < opts.min) {
60
+ addIssue(issues, path, `must be >= ${opts.min}`);
61
+ }
62
+ if (opts.max != null && value > opts.max) {
63
+ addIssue(issues, path, `must be <= ${opts.max}`);
64
+ }
65
+ }
66
+ function validateObject(value, issues, path, required = false) {
67
+ if (value == null) {
68
+ if (required)
69
+ addIssue(issues, path, "is required");
70
+ return false;
71
+ }
72
+ if (!isRecord(value)) {
73
+ addIssue(issues, path, "must be an object");
74
+ return false;
75
+ }
76
+ return true;
77
+ }
78
+ function validateStringMap(value, issues, path, required = false) {
79
+ if (value == null) {
80
+ if (required)
81
+ addIssue(issues, path, "is required");
82
+ return;
83
+ }
84
+ if (!isRecord(value)) {
85
+ addIssue(issues, path, "must be an object");
86
+ return;
87
+ }
88
+ for (const [key, raw] of Object.entries(value)) {
89
+ if (typeof raw !== "string") {
90
+ addIssue(issues, `${path}.${key}`, "must be a string");
91
+ }
92
+ }
93
+ }
94
+ function validateNodePayload(node, issues, path) {
95
+ if (!validateObject(node, issues, path, true))
96
+ return;
97
+ validateString(node["name"], issues, `${path}.name`, { required: true, minLength: 1, maxLength: 100 });
98
+ validateString(node["title"], issues, `${path}.title`, { required: false, nullable: true, maxLength: 100 });
99
+ validateString(node["description"], issues, `${path}.description`, { required: false, nullable: true, maxLength: 400 });
100
+ validateString(node["node_type_name"], issues, `${path}.node_type_name`, { required: true, minLength: 1, maxLength: 100 });
101
+ validateObject(node["input_config"], issues, `${path}.input_config`, true);
102
+ if (node["output_mapping"] != null) {
103
+ validateStringMap(node["output_mapping"], issues, `${path}.output_mapping`, false);
104
+ }
105
+ if (node["connection"] != null && typeof node["connection"] !== "string") {
106
+ addIssue(issues, `${path}.connection`, "must be a string or null");
107
+ }
108
+ }
109
+ function validateNodesArray(value, issues, path) {
110
+ if (!Array.isArray(value)) {
111
+ addIssue(issues, path, "must be an array");
112
+ return;
113
+ }
114
+ if (value.length < 1) {
115
+ addIssue(issues, path, "must contain at least one node");
116
+ }
117
+ if (value.length > 100) {
118
+ addIssue(issues, path, "must contain at most 100 nodes");
119
+ }
120
+ value.forEach((node, index) => validateNodePayload(node, issues, `${path}[${index}]`));
121
+ }
122
+ export function validateWorkflowCreatePayload(payload) {
123
+ const issues = [];
124
+ if (!validateObject(payload, issues, "$", true))
125
+ return issues;
126
+ validateString(payload["name"], issues, "$.name", { required: true, minLength: 1, maxLength: 100 });
127
+ validateString(payload["description"], issues, "$.description", { required: false, nullable: true, maxLength: 400 });
128
+ validateNodesArray(payload["nodes"], issues, "$.nodes");
129
+ validateStringMap(payload["output_mapping"], issues, "$.output_mapping", true);
130
+ validateObject(payload["input_schema"], issues, "$.input_schema", true);
131
+ validateString(payload["project_id"], issues, "$.project_id", { required: true, minLength: 1 });
132
+ if (payload["workflow_metadata"] != null) {
133
+ validateObject(payload["workflow_metadata"], issues, "$.workflow_metadata");
134
+ }
135
+ return issues;
136
+ }
137
+ export function validateWorkflowUpdatePayload(payload) {
138
+ const issues = [];
139
+ if (!validateObject(payload, issues, "$", true))
140
+ return issues;
141
+ validateString(payload["name"], issues, "$.name", { required: true, minLength: 1, maxLength: 100 });
142
+ validateString(payload["description"], issues, "$.description", { required: false, nullable: true, maxLength: 400 });
143
+ validateNodesArray(payload["nodes"], issues, "$.nodes");
144
+ validateStringMap(payload["output_mapping"], issues, "$.output_mapping", true);
145
+ validateObject(payload["input_schema"], issues, "$.input_schema", true);
146
+ validateBoolean(payload["public_runnable"], issues, "$.public_runnable", true);
147
+ if (payload["public_clone"] != null) {
148
+ validateBoolean(payload["public_clone"], issues, "$.public_clone");
149
+ }
150
+ if (payload["images"] != null) {
151
+ if (!Array.isArray(payload["images"])) {
152
+ addIssue(issues, "$.images", "must be an array of strings");
153
+ }
154
+ else {
155
+ payload["images"].forEach((item, index) => {
156
+ if (typeof item !== "string")
157
+ addIssue(issues, `$.images[${index}]`, "must be a string");
158
+ });
159
+ }
160
+ }
161
+ if (payload["dataset_id"] != null && typeof payload["dataset_id"] !== "string") {
162
+ addIssue(issues, "$.dataset_id", "must be a string or null");
163
+ }
164
+ if (payload["workflow_metadata"] != null) {
165
+ validateObject(payload["workflow_metadata"], issues, "$.workflow_metadata");
166
+ }
167
+ return issues;
168
+ }
169
+ function validateToolConfig(value, issues, path) {
170
+ if (!validateObject(value, issues, path, true))
171
+ return;
172
+ if (value["workflow_id"] != null && typeof value["workflow_id"] !== "string") {
173
+ addIssue(issues, `${path}.workflow_id`, "must be a string or null");
174
+ }
175
+ if (value["workflow_template_id"] != null && typeof value["workflow_template_id"] !== "string") {
176
+ addIssue(issues, `${path}.workflow_template_id`, "must be a string or null");
177
+ }
178
+ if (value["description"] != null && typeof value["description"] !== "string") {
179
+ addIssue(issues, `${path}.description`, "must be a string or null");
180
+ }
181
+ if (value["run_behavior"] != null) {
182
+ if (value["run_behavior"] !== "auto_run" && value["run_behavior"] !== "request_confirmation") {
183
+ addIssue(issues, `${path}.run_behavior`, "must be 'auto_run' or 'request_confirmation'");
184
+ }
185
+ }
186
+ if (value["timeout"] != null) {
187
+ validateNumber(value["timeout"], issues, `${path}.timeout`, { min: 1, max: 300, integer: true });
188
+ }
189
+ if (value["input_config"] != null && !isRecord(value["input_config"])) {
190
+ addIssue(issues, `${path}.input_config`, "must be an object or null");
191
+ }
192
+ }
193
+ function validateToolsArray(value, issues, path, required = false) {
194
+ if (value == null) {
195
+ if (required)
196
+ addIssue(issues, path, "is required");
197
+ return;
198
+ }
199
+ if (!Array.isArray(value)) {
200
+ addIssue(issues, path, "must be an array");
201
+ return;
202
+ }
203
+ value.forEach((tool, index) => validateToolConfig(tool, issues, `${path}[${index}]`));
204
+ }
205
+ export function validateAgentCreatePayload(payload) {
206
+ const issues = [];
207
+ if (!validateObject(payload, issues, "$", true))
208
+ return issues;
209
+ validateString(payload["name"], issues, "$.name", { required: true, minLength: 1 });
210
+ validateString(payload["project_id"], issues, "$.project_id", { required: true, minLength: 1 });
211
+ validateToolsArray(payload["tools"], issues, "$.tools", true);
212
+ if (payload["visibility"] != null) {
213
+ const visibility = payload["visibility"];
214
+ if (visibility !== "private" &&
215
+ visibility !== "public" &&
216
+ visibility !== "public_visible") {
217
+ addIssue(issues, "$.visibility", "must be 'private', 'public', or 'public_visible'");
218
+ }
219
+ }
220
+ if (payload["recursion_limit"] != null) {
221
+ validateNumber(payload["recursion_limit"], issues, "$.recursion_limit", {
222
+ min: 10,
223
+ max: 500,
224
+ integer: true,
225
+ });
226
+ }
227
+ return issues;
228
+ }
229
+ export function validateAgentUpdatePayload(payload) {
230
+ const issues = [];
231
+ if (!validateObject(payload, issues, "$", true))
232
+ return issues;
233
+ if (Object.keys(payload).length === 0) {
234
+ addIssue(issues, "$", "must contain at least one field to update");
235
+ return issues;
236
+ }
237
+ if (payload["name"] != null)
238
+ validateString(payload["name"], issues, "$.name", { minLength: 1 });
239
+ if (payload["description"] != null && typeof payload["description"] !== "string") {
240
+ addIssue(issues, "$.description", "must be a string or null");
241
+ }
242
+ if (payload["tools"] != null)
243
+ validateToolsArray(payload["tools"], issues, "$.tools");
244
+ if (payload["recursion_limit"] != null) {
245
+ validateNumber(payload["recursion_limit"], issues, "$.recursion_limit", {
246
+ min: 10,
247
+ max: 500,
248
+ integer: true,
249
+ });
250
+ }
251
+ if (payload["visibility"] != null) {
252
+ const visibility = payload["visibility"];
253
+ if (visibility !== "private" &&
254
+ visibility !== "public" &&
255
+ visibility !== "public_visible") {
256
+ addIssue(issues, "$.visibility", "must be 'private', 'public', or 'public_visible'");
257
+ }
258
+ }
259
+ return issues;
260
+ }
261
+ export function validateWorkflowRunPayload(payload) {
262
+ const issues = [];
263
+ if (!validateObject(payload, issues, "$", true))
264
+ return issues;
265
+ validateString(payload["workflow_id"], issues, "$.workflow_id", { required: true, minLength: 1 });
266
+ if (payload["input"] != null && !isRecord(payload["input"])) {
267
+ addIssue(issues, "$.input", "must be an object when provided");
268
+ }
269
+ return issues;
270
+ }
271
+ export function validateAgentStreamPayload(payload) {
272
+ const issues = [];
273
+ if (!validateObject(payload, issues, "$", true))
274
+ return issues;
275
+ const messages = payload["messages"];
276
+ if (!Array.isArray(messages)) {
277
+ addIssue(issues, "$.messages", "must be an array");
278
+ return issues;
279
+ }
280
+ if (messages.length < 1) {
281
+ addIssue(issues, "$.messages", "must contain at least one message");
282
+ return issues;
283
+ }
284
+ messages.forEach((message, index) => {
285
+ const basePath = `$.messages[${index}]`;
286
+ if (!validateObject(message, issues, basePath, true))
287
+ return;
288
+ validateString(message["content"], issues, `${basePath}.content`, { required: true, minLength: 1 });
289
+ if (message["role"] != null && typeof message["role"] !== "string") {
290
+ addIssue(issues, `${basePath}.role`, "must be a string");
291
+ }
292
+ });
293
+ if (payload["id"] != null && typeof payload["id"] !== "string") {
294
+ addIssue(issues, "$.id", "must be a string when provided");
295
+ }
296
+ return issues;
297
+ }
298
+ //# sourceMappingURL=local-validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-validation.js","sourceRoot":"","sources":["../../src/cli/local-validation.ts"],"names":[],"mappings":"A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CAAC,CAAC;QACpG,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,QAAQ,EAAE,CAAC;YACnE,QAAQ,CAAC,MAAM,EAAE,GAAG,QAAQ,OAAO,EAAE,kBAAkB,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC/D,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,gCAAgC,CAAC,CAAC;IAC7D,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Main CLI program definition with Commander.js.
3
3
  * Resource commands (workflow, agent, node-types, connections, uploads)
4
4
  * use the SDK resource classes. Generic commands (call, ops, catalog,
5
- * doctor, auth, policy, playbook) remain spec-based.
5
+ * doctor, auth, policy, playbook, templates) remain spec-based.
6
6
  */
7
7
  import { Command } from "commander";
8
8
  export declare function createProgram(): Command;
@@ -1 +1 @@
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;AAsKpC,wBAAgB,aAAa,IAAI,OAAO,CA8jCvC;AAED,wBAAsB,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3D"}
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;AA6bpC,wBAAgB,aAAa,IAAI,OAAO,CA00DvC;AAED,wBAAsB,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAwB3D"}