clawchef 0.1.6 → 0.1.8

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/schema.d.ts CHANGED
@@ -34,32 +34,20 @@ export declare const recipeSchema: z.ZodObject<{
34
34
  skip_ui: z.ZodOptional<z.ZodBoolean>;
35
35
  skip_daemon: z.ZodOptional<z.ZodBoolean>;
36
36
  install_daemon: z.ZodOptional<z.ZodBoolean>;
37
- openai_api_key: z.ZodOptional<z.ZodString>;
38
- anthropic_api_key: z.ZodOptional<z.ZodString>;
39
- openrouter_api_key: z.ZodOptional<z.ZodString>;
40
- xai_api_key: z.ZodOptional<z.ZodString>;
41
- gemini_api_key: z.ZodOptional<z.ZodString>;
42
- ai_gateway_api_key: z.ZodOptional<z.ZodString>;
43
- cloudflare_ai_gateway_api_key: z.ZodOptional<z.ZodString>;
37
+ llm_api_key: z.ZodOptional<z.ZodString>;
44
38
  cloudflare_ai_gateway_account_id: z.ZodOptional<z.ZodString>;
45
39
  cloudflare_ai_gateway_gateway_id: z.ZodOptional<z.ZodString>;
46
40
  token: z.ZodOptional<z.ZodString>;
47
41
  token_provider: z.ZodOptional<z.ZodString>;
48
42
  token_profile_id: z.ZodOptional<z.ZodString>;
49
43
  }, "strict", z.ZodTypeAny, {
50
- openai_api_key?: string | undefined;
51
- anthropic_api_key?: string | undefined;
52
- openrouter_api_key?: string | undefined;
53
- xai_api_key?: string | undefined;
54
- gemini_api_key?: string | undefined;
55
- ai_gateway_api_key?: string | undefined;
56
- cloudflare_ai_gateway_api_key?: string | undefined;
44
+ workspace?: string | undefined;
57
45
  cloudflare_ai_gateway_account_id?: string | undefined;
58
46
  cloudflare_ai_gateway_gateway_id?: string | undefined;
59
47
  token?: string | undefined;
60
48
  token_provider?: string | undefined;
61
49
  token_profile_id?: string | undefined;
62
- workspace?: string | undefined;
50
+ llm_api_key?: string | undefined;
63
51
  non_interactive?: boolean | undefined;
64
52
  accept_risk?: boolean | undefined;
65
53
  mode?: "remote" | "local" | undefined;
@@ -73,19 +61,13 @@ export declare const recipeSchema: z.ZodObject<{
73
61
  skip_daemon?: boolean | undefined;
74
62
  install_daemon?: boolean | undefined;
75
63
  }, {
76
- openai_api_key?: string | undefined;
77
- anthropic_api_key?: string | undefined;
78
- openrouter_api_key?: string | undefined;
79
- xai_api_key?: string | undefined;
80
- gemini_api_key?: string | undefined;
81
- ai_gateway_api_key?: string | undefined;
82
- cloudflare_ai_gateway_api_key?: string | undefined;
64
+ workspace?: string | undefined;
83
65
  cloudflare_ai_gateway_account_id?: string | undefined;
84
66
  cloudflare_ai_gateway_gateway_id?: string | undefined;
85
67
  token?: string | undefined;
86
68
  token_provider?: string | undefined;
87
69
  token_profile_id?: string | undefined;
88
- workspace?: string | undefined;
70
+ llm_api_key?: string | undefined;
89
71
  non_interactive?: boolean | undefined;
90
72
  accept_risk?: boolean | undefined;
91
73
  mode?: "remote" | "local" | undefined;
@@ -107,6 +89,7 @@ export declare const recipeSchema: z.ZodObject<{
107
89
  factory_reset: z.ZodOptional<z.ZodString>;
108
90
  start_gateway: z.ZodOptional<z.ZodString>;
109
91
  enable_plugin: z.ZodOptional<z.ZodString>;
92
+ bind_channel_agent: z.ZodOptional<z.ZodString>;
110
93
  login_channel: z.ZodOptional<z.ZodString>;
111
94
  create_workspace: z.ZodOptional<z.ZodString>;
112
95
  create_agent: z.ZodOptional<z.ZodString>;
@@ -121,6 +104,7 @@ export declare const recipeSchema: z.ZodObject<{
121
104
  factory_reset?: string | undefined;
122
105
  start_gateway?: string | undefined;
123
106
  enable_plugin?: string | undefined;
107
+ bind_channel_agent?: string | undefined;
124
108
  login_channel?: string | undefined;
125
109
  create_agent?: string | undefined;
126
110
  install_skill?: string | undefined;
@@ -135,6 +119,7 @@ export declare const recipeSchema: z.ZodObject<{
135
119
  factory_reset?: string | undefined;
136
120
  start_gateway?: string | undefined;
137
121
  enable_plugin?: string | undefined;
122
+ bind_channel_agent?: string | undefined;
138
123
  login_channel?: string | undefined;
139
124
  create_agent?: string | undefined;
140
125
  install_skill?: string | undefined;
@@ -148,19 +133,13 @@ export declare const recipeSchema: z.ZodObject<{
148
133
  install?: "auto" | "always" | "never" | undefined;
149
134
  plugins?: string[] | undefined;
150
135
  bootstrap?: {
151
- openai_api_key?: string | undefined;
152
- anthropic_api_key?: string | undefined;
153
- openrouter_api_key?: string | undefined;
154
- xai_api_key?: string | undefined;
155
- gemini_api_key?: string | undefined;
156
- ai_gateway_api_key?: string | undefined;
157
- cloudflare_ai_gateway_api_key?: string | undefined;
136
+ workspace?: string | undefined;
158
137
  cloudflare_ai_gateway_account_id?: string | undefined;
159
138
  cloudflare_ai_gateway_gateway_id?: string | undefined;
160
139
  token?: string | undefined;
161
140
  token_provider?: string | undefined;
162
141
  token_profile_id?: string | undefined;
163
- workspace?: string | undefined;
142
+ llm_api_key?: string | undefined;
164
143
  non_interactive?: boolean | undefined;
165
144
  accept_risk?: boolean | undefined;
166
145
  mode?: "remote" | "local" | undefined;
@@ -182,6 +161,7 @@ export declare const recipeSchema: z.ZodObject<{
182
161
  factory_reset?: string | undefined;
183
162
  start_gateway?: string | undefined;
184
163
  enable_plugin?: string | undefined;
164
+ bind_channel_agent?: string | undefined;
185
165
  login_channel?: string | undefined;
186
166
  create_agent?: string | undefined;
187
167
  install_skill?: string | undefined;
@@ -195,19 +175,13 @@ export declare const recipeSchema: z.ZodObject<{
195
175
  install?: "auto" | "always" | "never" | undefined;
196
176
  plugins?: string[] | undefined;
197
177
  bootstrap?: {
198
- openai_api_key?: string | undefined;
199
- anthropic_api_key?: string | undefined;
200
- openrouter_api_key?: string | undefined;
201
- xai_api_key?: string | undefined;
202
- gemini_api_key?: string | undefined;
203
- ai_gateway_api_key?: string | undefined;
204
- cloudflare_ai_gateway_api_key?: string | undefined;
178
+ workspace?: string | undefined;
205
179
  cloudflare_ai_gateway_account_id?: string | undefined;
206
180
  cloudflare_ai_gateway_gateway_id?: string | undefined;
207
181
  token?: string | undefined;
208
182
  token_provider?: string | undefined;
209
183
  token_profile_id?: string | undefined;
210
- workspace?: string | undefined;
184
+ llm_api_key?: string | undefined;
211
185
  non_interactive?: boolean | undefined;
212
186
  accept_risk?: boolean | undefined;
213
187
  mode?: "remote" | "local" | undefined;
@@ -229,6 +203,7 @@ export declare const recipeSchema: z.ZodObject<{
229
203
  factory_reset?: string | undefined;
230
204
  start_gateway?: string | undefined;
231
205
  enable_plugin?: string | undefined;
206
+ bind_channel_agent?: string | undefined;
232
207
  login_channel?: string | undefined;
233
208
  create_agent?: string | undefined;
234
209
  install_skill?: string | undefined;
@@ -241,18 +216,64 @@ export declare const recipeSchema: z.ZodObject<{
241
216
  name: z.ZodString;
242
217
  path: z.ZodOptional<z.ZodString>;
243
218
  assets: z.ZodOptional<z.ZodString>;
219
+ files: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
220
+ path: z.ZodString;
221
+ content: z.ZodOptional<z.ZodString>;
222
+ content_from: z.ZodOptional<z.ZodString>;
223
+ source: z.ZodOptional<z.ZodString>;
224
+ overwrite: z.ZodOptional<z.ZodBoolean>;
225
+ }, "strict", z.ZodTypeAny, {
226
+ path: string;
227
+ content?: string | undefined;
228
+ overwrite?: boolean | undefined;
229
+ content_from?: string | undefined;
230
+ source?: string | undefined;
231
+ }, {
232
+ path: string;
233
+ content?: string | undefined;
234
+ overwrite?: boolean | undefined;
235
+ content_from?: string | undefined;
236
+ source?: string | undefined;
237
+ }>, {
238
+ path: string;
239
+ content?: string | undefined;
240
+ overwrite?: boolean | undefined;
241
+ content_from?: string | undefined;
242
+ source?: string | undefined;
243
+ }, {
244
+ path: string;
245
+ content?: string | undefined;
246
+ overwrite?: boolean | undefined;
247
+ content_from?: string | undefined;
248
+ source?: string | undefined;
249
+ }>, "many">>;
244
250
  }, "strict", z.ZodTypeAny, {
245
251
  name: string;
246
252
  path?: string | undefined;
253
+ files?: {
254
+ path: string;
255
+ content?: string | undefined;
256
+ overwrite?: boolean | undefined;
257
+ content_from?: string | undefined;
258
+ source?: string | undefined;
259
+ }[] | undefined;
247
260
  assets?: string | undefined;
248
261
  }, {
249
262
  name: string;
250
263
  path?: string | undefined;
264
+ files?: {
265
+ path: string;
266
+ content?: string | undefined;
267
+ overwrite?: boolean | undefined;
268
+ content_from?: string | undefined;
269
+ source?: string | undefined;
270
+ }[] | undefined;
251
271
  assets?: string | undefined;
252
272
  }>, "many">>;
253
273
  channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
274
  channel: z.ZodString;
255
275
  account: z.ZodOptional<z.ZodString>;
276
+ agent: z.ZodOptional<z.ZodString>;
256
277
  login: z.ZodOptional<z.ZodBoolean>;
257
278
  login_mode: z.ZodOptional<z.ZodEnum<["interactive"]>>;
258
279
  login_account: z.ZodOptional<z.ZodString>;
@@ -272,6 +293,7 @@ export declare const recipeSchema: z.ZodObject<{
272
293
  channel: string;
273
294
  token?: string | undefined;
274
295
  account?: string | undefined;
296
+ agent?: string | undefined;
275
297
  login?: boolean | undefined;
276
298
  login_mode?: "interactive" | undefined;
277
299
  login_account?: string | undefined;
@@ -290,6 +312,7 @@ export declare const recipeSchema: z.ZodObject<{
290
312
  channel: string;
291
313
  token?: string | undefined;
292
314
  account?: string | undefined;
315
+ agent?: string | undefined;
293
316
  login?: boolean | undefined;
294
317
  login_mode?: "interactive" | undefined;
295
318
  login_account?: string | undefined;
@@ -321,42 +344,6 @@ export declare const recipeSchema: z.ZodObject<{
321
344
  model?: string | undefined;
322
345
  skills?: string[] | undefined;
323
346
  }>, "many">>;
324
- files: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
325
- workspace: z.ZodString;
326
- path: z.ZodString;
327
- content: z.ZodOptional<z.ZodString>;
328
- content_from: z.ZodOptional<z.ZodString>;
329
- source: z.ZodOptional<z.ZodString>;
330
- overwrite: z.ZodOptional<z.ZodBoolean>;
331
- }, "strict", z.ZodTypeAny, {
332
- path: string;
333
- workspace: string;
334
- content?: string | undefined;
335
- overwrite?: boolean | undefined;
336
- content_from?: string | undefined;
337
- source?: string | undefined;
338
- }, {
339
- path: string;
340
- workspace: string;
341
- content?: string | undefined;
342
- overwrite?: boolean | undefined;
343
- content_from?: string | undefined;
344
- source?: string | undefined;
345
- }>, {
346
- path: string;
347
- workspace: string;
348
- content?: string | undefined;
349
- overwrite?: boolean | undefined;
350
- content_from?: string | undefined;
351
- source?: string | undefined;
352
- }, {
353
- path: string;
354
- workspace: string;
355
- content?: string | undefined;
356
- overwrite?: boolean | undefined;
357
- content_from?: string | undefined;
358
- source?: string | undefined;
359
- }>, "many">>;
360
347
  conversations: z.ZodOptional<z.ZodArray<z.ZodObject<{
361
348
  workspace: z.ZodString;
362
349
  agent: z.ZodString;
@@ -430,19 +417,13 @@ export declare const recipeSchema: z.ZodObject<{
430
417
  install?: "auto" | "always" | "never" | undefined;
431
418
  plugins?: string[] | undefined;
432
419
  bootstrap?: {
433
- openai_api_key?: string | undefined;
434
- anthropic_api_key?: string | undefined;
435
- openrouter_api_key?: string | undefined;
436
- xai_api_key?: string | undefined;
437
- gemini_api_key?: string | undefined;
438
- ai_gateway_api_key?: string | undefined;
439
- cloudflare_ai_gateway_api_key?: string | undefined;
420
+ workspace?: string | undefined;
440
421
  cloudflare_ai_gateway_account_id?: string | undefined;
441
422
  cloudflare_ai_gateway_gateway_id?: string | undefined;
442
423
  token?: string | undefined;
443
424
  token_provider?: string | undefined;
444
425
  token_profile_id?: string | undefined;
445
- workspace?: string | undefined;
426
+ llm_api_key?: string | undefined;
446
427
  non_interactive?: boolean | undefined;
447
428
  accept_risk?: boolean | undefined;
448
429
  mode?: "remote" | "local" | undefined;
@@ -464,6 +445,7 @@ export declare const recipeSchema: z.ZodObject<{
464
445
  factory_reset?: string | undefined;
465
446
  start_gateway?: string | undefined;
466
447
  enable_plugin?: string | undefined;
448
+ bind_channel_agent?: string | undefined;
467
449
  login_channel?: string | undefined;
468
450
  create_agent?: string | undefined;
469
451
  install_skill?: string | undefined;
@@ -482,12 +464,20 @@ export declare const recipeSchema: z.ZodObject<{
482
464
  workspaces?: {
483
465
  name: string;
484
466
  path?: string | undefined;
467
+ files?: {
468
+ path: string;
469
+ content?: string | undefined;
470
+ overwrite?: boolean | undefined;
471
+ content_from?: string | undefined;
472
+ source?: string | undefined;
473
+ }[] | undefined;
485
474
  assets?: string | undefined;
486
475
  }[] | undefined;
487
476
  channels?: {
488
477
  channel: string;
489
478
  token?: string | undefined;
490
479
  account?: string | undefined;
480
+ agent?: string | undefined;
491
481
  login?: boolean | undefined;
492
482
  login_mode?: "interactive" | undefined;
493
483
  login_account?: string | undefined;
@@ -509,14 +499,6 @@ export declare const recipeSchema: z.ZodObject<{
509
499
  model?: string | undefined;
510
500
  skills?: string[] | undefined;
511
501
  }[] | undefined;
512
- files?: {
513
- path: string;
514
- workspace: string;
515
- content?: string | undefined;
516
- overwrite?: boolean | undefined;
517
- content_from?: string | undefined;
518
- source?: string | undefined;
519
- }[] | undefined;
520
502
  conversations?: {
521
503
  workspace: string;
522
504
  agent: string;
@@ -538,19 +520,13 @@ export declare const recipeSchema: z.ZodObject<{
538
520
  install?: "auto" | "always" | "never" | undefined;
539
521
  plugins?: string[] | undefined;
540
522
  bootstrap?: {
541
- openai_api_key?: string | undefined;
542
- anthropic_api_key?: string | undefined;
543
- openrouter_api_key?: string | undefined;
544
- xai_api_key?: string | undefined;
545
- gemini_api_key?: string | undefined;
546
- ai_gateway_api_key?: string | undefined;
547
- cloudflare_ai_gateway_api_key?: string | undefined;
523
+ workspace?: string | undefined;
548
524
  cloudflare_ai_gateway_account_id?: string | undefined;
549
525
  cloudflare_ai_gateway_gateway_id?: string | undefined;
550
526
  token?: string | undefined;
551
527
  token_provider?: string | undefined;
552
528
  token_profile_id?: string | undefined;
553
- workspace?: string | undefined;
529
+ llm_api_key?: string | undefined;
554
530
  non_interactive?: boolean | undefined;
555
531
  accept_risk?: boolean | undefined;
556
532
  mode?: "remote" | "local" | undefined;
@@ -572,6 +548,7 @@ export declare const recipeSchema: z.ZodObject<{
572
548
  factory_reset?: string | undefined;
573
549
  start_gateway?: string | undefined;
574
550
  enable_plugin?: string | undefined;
551
+ bind_channel_agent?: string | undefined;
575
552
  login_channel?: string | undefined;
576
553
  create_agent?: string | undefined;
577
554
  install_skill?: string | undefined;
@@ -590,12 +567,20 @@ export declare const recipeSchema: z.ZodObject<{
590
567
  workspaces?: {
591
568
  name: string;
592
569
  path?: string | undefined;
570
+ files?: {
571
+ path: string;
572
+ content?: string | undefined;
573
+ overwrite?: boolean | undefined;
574
+ content_from?: string | undefined;
575
+ source?: string | undefined;
576
+ }[] | undefined;
593
577
  assets?: string | undefined;
594
578
  }[] | undefined;
595
579
  channels?: {
596
580
  channel: string;
597
581
  token?: string | undefined;
598
582
  account?: string | undefined;
583
+ agent?: string | undefined;
599
584
  login?: boolean | undefined;
600
585
  login_mode?: "interactive" | undefined;
601
586
  login_account?: string | undefined;
@@ -617,14 +602,6 @@ export declare const recipeSchema: z.ZodObject<{
617
602
  model?: string | undefined;
618
603
  skills?: string[] | undefined;
619
604
  }[] | undefined;
620
- files?: {
621
- path: string;
622
- workspace: string;
623
- content?: string | undefined;
624
- overwrite?: boolean | undefined;
625
- content_from?: string | undefined;
626
- source?: string | undefined;
627
- }[] | undefined;
628
605
  conversations?: {
629
606
  workspace: string;
630
607
  agent: string;
package/dist/schema.js CHANGED
@@ -13,6 +13,7 @@ const openClawCommandsSchema = z
13
13
  factory_reset: z.string().optional(),
14
14
  start_gateway: z.string().optional(),
15
15
  enable_plugin: z.string().optional(),
16
+ bind_channel_agent: z.string().optional(),
16
17
  login_channel: z.string().optional(),
17
18
  create_workspace: z.string().optional(),
18
19
  create_agent: z.string().optional(),
@@ -36,13 +37,7 @@ const openClawBootstrapSchema = z
36
37
  skip_ui: z.boolean().optional(),
37
38
  skip_daemon: z.boolean().optional(),
38
39
  install_daemon: z.boolean().optional(),
39
- openai_api_key: z.string().optional(),
40
- anthropic_api_key: z.string().optional(),
41
- openrouter_api_key: z.string().optional(),
42
- xai_api_key: z.string().optional(),
43
- gemini_api_key: z.string().optional(),
44
- ai_gateway_api_key: z.string().optional(),
45
- cloudflare_ai_gateway_api_key: z.string().optional(),
40
+ llm_api_key: z.string().optional(),
46
41
  cloudflare_ai_gateway_account_id: z.string().optional(),
47
42
  cloudflare_ai_gateway_gateway_id: z.string().optional(),
48
43
  token: z.string().optional(),
@@ -65,12 +60,27 @@ const workspaceSchema = z
65
60
  name: z.string().min(1),
66
61
  path: z.string().min(1).optional(),
67
62
  assets: z.string().min(1).optional(),
63
+ files: z
64
+ .array(z
65
+ .object({
66
+ path: z.string().min(1),
67
+ content: z.string().optional(),
68
+ content_from: z.string().min(1).optional(),
69
+ source: z.string().optional(),
70
+ overwrite: z.boolean().optional(),
71
+ })
72
+ .strict()
73
+ .refine((v) => [v.content, v.content_from, v.source].filter((item) => item !== undefined).length === 1, {
74
+ message: "workspaces[].files[] requires exactly one of content, content_from, or source",
75
+ }))
76
+ .optional(),
68
77
  })
69
78
  .strict();
70
79
  const channelSchema = z
71
80
  .object({
72
81
  channel: z.string().min(1),
73
82
  account: z.string().min(1).optional(),
83
+ agent: z.string().min(1).optional(),
74
84
  login: z.boolean().optional(),
75
85
  login_mode: z.enum(["interactive"]).optional(),
76
86
  login_account: z.string().min(1).optional(),
@@ -96,19 +106,6 @@ const agentSchema = z
96
106
  skills: z.array(z.string().min(1)).optional(),
97
107
  })
98
108
  .strict();
99
- const fileSchema = z
100
- .object({
101
- workspace: z.string().min(1),
102
- path: z.string().min(1),
103
- content: z.string().optional(),
104
- content_from: z.string().min(1).optional(),
105
- source: z.string().optional(),
106
- overwrite: z.boolean().optional(),
107
- })
108
- .strict()
109
- .refine((v) => [v.content, v.content_from, v.source].filter((item) => item !== undefined).length === 1, {
110
- message: "files[] requires exactly one of content, content_from, or source",
111
- });
112
109
  const conversationExpectSchema = z
113
110
  .object({
114
111
  contains: z.array(z.string()).optional(),
@@ -140,7 +137,6 @@ export const recipeSchema = z
140
137
  workspaces: z.array(workspaceSchema).optional(),
141
138
  channels: z.array(channelSchema).optional(),
142
139
  agents: z.array(agentSchema).optional(),
143
- files: z.array(fileSchema).optional(),
144
140
  conversations: z.array(conversationSchema).optional(),
145
141
  })
146
142
  .strict();
package/dist/types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export type InstallPolicy = "auto" | "always" | "never";
2
2
  export type OpenClawProvider = "command" | "mock" | "remote";
3
+ export type RunScope = "full" | "files" | "workspace";
3
4
  export interface OpenClawRemoteConfig {
4
5
  base_url: string;
5
6
  api_key?: string;
@@ -21,6 +22,7 @@ export interface OpenClawCommandOverrides {
21
22
  factory_reset?: string;
22
23
  start_gateway?: string;
23
24
  enable_plugin?: string;
25
+ bind_channel_agent?: string;
24
26
  login_channel?: string;
25
27
  create_workspace?: string;
26
28
  create_agent?: string;
@@ -42,13 +44,7 @@ export interface OpenClawBootstrap {
42
44
  skip_ui?: boolean;
43
45
  skip_daemon?: boolean;
44
46
  install_daemon?: boolean;
45
- openai_api_key?: string;
46
- anthropic_api_key?: string;
47
- openrouter_api_key?: string;
48
- xai_api_key?: string;
49
- gemini_api_key?: string;
50
- ai_gateway_api_key?: string;
51
- cloudflare_ai_gateway_api_key?: string;
47
+ llm_api_key?: string;
52
48
  cloudflare_ai_gateway_account_id?: string;
53
49
  cloudflare_ai_gateway_gateway_id?: string;
54
50
  token?: string;
@@ -67,10 +63,12 @@ export interface WorkspaceDef {
67
63
  name: string;
68
64
  path?: string;
69
65
  assets?: string;
66
+ files?: WorkspaceFileDef[];
70
67
  }
71
68
  export interface ChannelDef {
72
69
  channel: string;
73
70
  account?: string;
71
+ agent?: string;
74
72
  login?: boolean;
75
73
  login_mode?: "interactive";
76
74
  login_account?: string;
@@ -93,8 +91,7 @@ export interface AgentDef {
93
91
  model?: string;
94
92
  skills?: string[];
95
93
  }
96
- export interface FileDef {
97
- workspace: string;
94
+ export interface WorkspaceFileDef {
98
95
  path: string;
99
96
  content?: string;
100
97
  content_from?: string;
@@ -125,17 +122,17 @@ export interface Recipe {
125
122
  workspaces?: WorkspaceDef[];
126
123
  channels?: ChannelDef[];
127
124
  agents?: AgentDef[];
128
- files?: FileDef[];
129
125
  conversations?: ConversationDef[];
130
126
  }
131
127
  export interface RunOptions {
132
128
  vars: Record<string, string>;
133
129
  plugins: string[];
130
+ scope: RunScope;
131
+ workspaceName?: string;
134
132
  dryRun: boolean;
135
133
  allowMissing: boolean;
136
134
  verbose: boolean;
137
135
  silent: boolean;
138
- keepOpenClawState: boolean;
139
136
  provider: OpenClawProvider;
140
137
  remote: Partial<OpenClawRemoteConfig>;
141
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawchef",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Recipe-driven OpenClaw environment orchestrator",
5
5
  "homepage": "https://renorzr.github.io/clawchef",
6
6
  "repository": {
@@ -1,20 +1,24 @@
1
1
  version: "1"
2
2
  name: "content-from-sample"
3
3
 
4
+ params:
5
+ project_name:
6
+ default: "content-from-demo"
7
+ agent_name:
8
+ default: "planner"
9
+
4
10
  openclaw:
5
11
  version: "1.3.2"
6
12
  install: "auto"
7
13
 
8
14
  workspaces:
9
- - name: "content-from-demo"
15
+ - name: "${project_name}"
16
+ files:
17
+ - path: "README.md"
18
+ overwrite: true
19
+ content_from: "./snippets/readme-template.md"
10
20
 
11
21
  agents:
12
- - workspace: "content-from-demo"
13
- name: "planner"
22
+ - workspace: "${project_name}"
23
+ name: "${agent_name}"
14
24
  model: "gpt-5.3-codex"
15
-
16
- files:
17
- - workspace: "content-from-demo"
18
- path: "README.md"
19
- overwrite: true
20
- content_from: "./snippets/readme-template.md"
@@ -6,7 +6,7 @@ params:
6
6
  default: "from-zero-demo"
7
7
  openclaw_version:
8
8
  default: "2026.2.9"
9
- openai_api_key:
9
+ llm_api_key:
10
10
  required: true
11
11
 
12
12
  openclaw:
@@ -15,7 +15,7 @@ openclaw:
15
15
  install: "never"
16
16
  bootstrap:
17
17
  auth_choice: "openai-api-key"
18
- openai_api_key: "${openai_api_key}"
18
+ llm_api_key: "${llm_api_key}"
19
19
  mode: "local"
20
20
  flow: "quickstart"
21
21
  accept_risk: true
@@ -6,7 +6,7 @@ params:
6
6
  default: "openclaw-local-demo"
7
7
  openclaw_version:
8
8
  default: "2026.2.9"
9
- openai_api_key:
9
+ llm_api_key:
10
10
  required: true
11
11
  telegram_bot_token:
12
12
  required: true
@@ -21,7 +21,7 @@ openclaw:
21
21
  install: "never"
22
22
  bootstrap:
23
23
  auth_choice: "openai-api-key"
24
- openai_api_key: "${openai_api_key}"
24
+ llm_api_key: "${llm_api_key}"
25
25
  mode: "local"
26
26
  flow: "quickstart"
27
27
  accept_risk: true
@@ -34,20 +34,18 @@ openclaw:
34
34
 
35
35
  workspaces:
36
36
  - name: "${project_name}"
37
+ files:
38
+ - path: "README.md"
39
+ overwrite: true
40
+ content: |
41
+ # ${project_name}
42
+ Generated by clawchef.
37
43
 
38
44
  agents:
39
45
  - workspace: "${project_name}"
40
46
  name: "chef-openai"
41
47
  model: "openai/gpt-5.3-codex"
42
48
 
43
- files:
44
- - workspace: "${project_name}"
45
- path: "README.md"
46
- overwrite: true
47
- content: |
48
- # ${project_name}
49
- Generated by clawchef.
50
-
51
49
  channels:
52
50
  - channel: "telegram"
53
51
  token: "${telegram_bot_token}"
@@ -13,20 +13,18 @@ openclaw:
13
13
 
14
14
  workspaces:
15
15
  - name: "${project_name}"
16
+ files:
17
+ - path: "README.md"
18
+ overwrite: true
19
+ content: |
20
+ # ${project_name}
21
+ Managed by clawchef remote HTTP provider.
16
22
 
17
23
  agents:
18
24
  - workspace: "${project_name}"
19
25
  name: "chef-openai"
20
26
  model: "openai/gpt-5.3-codex"
21
27
 
22
- files:
23
- - workspace: "${project_name}"
24
- path: "README.md"
25
- overwrite: true
26
- content: |
27
- # ${project_name}
28
- Managed by clawchef remote HTTP provider.
29
-
30
28
  conversations:
31
29
  - workspace: "${project_name}"
32
30
  agent: "chef-openai"