clawchef 0.1.6 → 0.1.7

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/src/types.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
 
4
5
  export interface OpenClawRemoteConfig {
5
6
  base_url: string;
@@ -46,13 +47,7 @@ export interface OpenClawBootstrap {
46
47
  skip_ui?: boolean;
47
48
  skip_daemon?: boolean;
48
49
  install_daemon?: boolean;
49
- openai_api_key?: string;
50
- anthropic_api_key?: string;
51
- openrouter_api_key?: string;
52
- xai_api_key?: string;
53
- gemini_api_key?: string;
54
- ai_gateway_api_key?: string;
55
- cloudflare_ai_gateway_api_key?: string;
50
+ llm_api_key?: string;
56
51
  cloudflare_ai_gateway_account_id?: string;
57
52
  cloudflare_ai_gateway_gateway_id?: string;
58
53
  token?: string;
@@ -73,6 +68,7 @@ export interface WorkspaceDef {
73
68
  name: string;
74
69
  path?: string;
75
70
  assets?: string;
71
+ files?: WorkspaceFileDef[];
76
72
  }
77
73
 
78
74
  export interface ChannelDef {
@@ -102,8 +98,7 @@ export interface AgentDef {
102
98
  skills?: string[];
103
99
  }
104
100
 
105
- export interface FileDef {
106
- workspace: string;
101
+ export interface WorkspaceFileDef {
107
102
  path: string;
108
103
  content?: string;
109
104
  content_from?: string;
@@ -138,18 +133,18 @@ export interface Recipe {
138
133
  workspaces?: WorkspaceDef[];
139
134
  channels?: ChannelDef[];
140
135
  agents?: AgentDef[];
141
- files?: FileDef[];
142
136
  conversations?: ConversationDef[];
143
137
  }
144
138
 
145
139
  export interface RunOptions {
146
140
  vars: Record<string, string>;
147
141
  plugins: string[];
142
+ scope: RunScope;
143
+ workspaceName?: string;
148
144
  dryRun: boolean;
149
145
  allowMissing: boolean;
150
146
  verbose: boolean;
151
147
  silent: boolean;
152
- keepOpenClawState: boolean;
153
148
  provider: OpenClawProvider;
154
149
  remote: Partial<OpenClawRemoteConfig>;
155
150
  }