@companyhelm/runner 0.0.13 → 0.0.15
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 +8 -0
- package/dist/commands/root.js +141 -29
- package/dist/commands/runner/common.js +1 -0
- package/dist/commands/sdk/codex/auth.js +219 -89
- package/dist/commands/shell.js +300 -12
- package/dist/service/app_server.js +3 -0
- package/dist/state/schema.js +1 -0
- package/drizzle/0002_kind_sue_storm.sql +45 -1
- package/drizzle/0012_magenta_chameleon.sql +19 -0
- package/drizzle/meta/0012_snapshot.json +313 -0
- package/drizzle/meta/_journal.json +8 -1
- package/package.json +2 -2
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "56a2a164-af99-46c0-8887-6f4409ce0f58",
|
|
5
|
+
"prevId": "cc447366-8c9e-4564-8af1-a3cc263db9e1",
|
|
6
|
+
"tables": {
|
|
7
|
+
"agent_sdks": {
|
|
8
|
+
"name": "agent_sdks",
|
|
9
|
+
"columns": {
|
|
10
|
+
"name": {
|
|
11
|
+
"name": "name",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"authentication": {
|
|
18
|
+
"name": "authentication",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"status": {
|
|
25
|
+
"name": "status",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"indexes": {},
|
|
33
|
+
"foreignKeys": {},
|
|
34
|
+
"compositePrimaryKeys": {},
|
|
35
|
+
"uniqueConstraints": {},
|
|
36
|
+
"checkConstraints": {}
|
|
37
|
+
},
|
|
38
|
+
"daemon_state": {
|
|
39
|
+
"name": "daemon_state",
|
|
40
|
+
"columns": {
|
|
41
|
+
"id": {
|
|
42
|
+
"name": "id",
|
|
43
|
+
"type": "text",
|
|
44
|
+
"primaryKey": true,
|
|
45
|
+
"notNull": true,
|
|
46
|
+
"autoincrement": false
|
|
47
|
+
},
|
|
48
|
+
"pid": {
|
|
49
|
+
"name": "pid",
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"primaryKey": false,
|
|
52
|
+
"notNull": false,
|
|
53
|
+
"autoincrement": false
|
|
54
|
+
},
|
|
55
|
+
"log_path": {
|
|
56
|
+
"name": "log_path",
|
|
57
|
+
"type": "text",
|
|
58
|
+
"primaryKey": false,
|
|
59
|
+
"notNull": false,
|
|
60
|
+
"autoincrement": false
|
|
61
|
+
},
|
|
62
|
+
"started_at": {
|
|
63
|
+
"name": "started_at",
|
|
64
|
+
"type": "text",
|
|
65
|
+
"primaryKey": false,
|
|
66
|
+
"notNull": true,
|
|
67
|
+
"autoincrement": false
|
|
68
|
+
},
|
|
69
|
+
"updated_at": {
|
|
70
|
+
"name": "updated_at",
|
|
71
|
+
"type": "text",
|
|
72
|
+
"primaryKey": false,
|
|
73
|
+
"notNull": true,
|
|
74
|
+
"autoincrement": false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"indexes": {},
|
|
78
|
+
"foreignKeys": {},
|
|
79
|
+
"compositePrimaryKeys": {},
|
|
80
|
+
"uniqueConstraints": {},
|
|
81
|
+
"checkConstraints": {}
|
|
82
|
+
},
|
|
83
|
+
"llm_models": {
|
|
84
|
+
"name": "llm_models",
|
|
85
|
+
"columns": {
|
|
86
|
+
"name": {
|
|
87
|
+
"name": "name",
|
|
88
|
+
"type": "text",
|
|
89
|
+
"primaryKey": true,
|
|
90
|
+
"notNull": true,
|
|
91
|
+
"autoincrement": false
|
|
92
|
+
},
|
|
93
|
+
"sdk_name": {
|
|
94
|
+
"name": "sdk_name",
|
|
95
|
+
"type": "text",
|
|
96
|
+
"primaryKey": false,
|
|
97
|
+
"notNull": true,
|
|
98
|
+
"autoincrement": false
|
|
99
|
+
},
|
|
100
|
+
"reasoning_levels": {
|
|
101
|
+
"name": "reasoning_levels",
|
|
102
|
+
"type": "text",
|
|
103
|
+
"primaryKey": false,
|
|
104
|
+
"notNull": false,
|
|
105
|
+
"autoincrement": false
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"indexes": {},
|
|
109
|
+
"foreignKeys": {
|
|
110
|
+
"llm_models_sdk_name_agent_sdks_name_fk": {
|
|
111
|
+
"name": "llm_models_sdk_name_agent_sdks_name_fk",
|
|
112
|
+
"tableFrom": "llm_models",
|
|
113
|
+
"tableTo": "agent_sdks",
|
|
114
|
+
"columnsFrom": [
|
|
115
|
+
"sdk_name"
|
|
116
|
+
],
|
|
117
|
+
"columnsTo": [
|
|
118
|
+
"name"
|
|
119
|
+
],
|
|
120
|
+
"onDelete": "cascade",
|
|
121
|
+
"onUpdate": "no action"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"compositePrimaryKeys": {},
|
|
125
|
+
"uniqueConstraints": {},
|
|
126
|
+
"checkConstraints": {}
|
|
127
|
+
},
|
|
128
|
+
"thread_user_message_request_store": {
|
|
129
|
+
"name": "thread_user_message_request_store",
|
|
130
|
+
"columns": {
|
|
131
|
+
"id": {
|
|
132
|
+
"name": "id",
|
|
133
|
+
"type": "integer",
|
|
134
|
+
"primaryKey": true,
|
|
135
|
+
"notNull": true,
|
|
136
|
+
"autoincrement": true
|
|
137
|
+
},
|
|
138
|
+
"thread_id": {
|
|
139
|
+
"name": "thread_id",
|
|
140
|
+
"type": "text",
|
|
141
|
+
"primaryKey": false,
|
|
142
|
+
"notNull": true,
|
|
143
|
+
"autoincrement": false
|
|
144
|
+
},
|
|
145
|
+
"sdk_turn_id": {
|
|
146
|
+
"name": "sdk_turn_id",
|
|
147
|
+
"type": "text",
|
|
148
|
+
"primaryKey": false,
|
|
149
|
+
"notNull": true,
|
|
150
|
+
"autoincrement": false
|
|
151
|
+
},
|
|
152
|
+
"request_id": {
|
|
153
|
+
"name": "request_id",
|
|
154
|
+
"type": "text",
|
|
155
|
+
"primaryKey": false,
|
|
156
|
+
"notNull": true,
|
|
157
|
+
"autoincrement": false
|
|
158
|
+
},
|
|
159
|
+
"sdk_item_id": {
|
|
160
|
+
"name": "sdk_item_id",
|
|
161
|
+
"type": "text",
|
|
162
|
+
"primaryKey": false,
|
|
163
|
+
"notNull": false,
|
|
164
|
+
"autoincrement": false
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"indexes": {},
|
|
168
|
+
"foreignKeys": {
|
|
169
|
+
"thread_user_message_request_store_thread_id_threads_id_fk": {
|
|
170
|
+
"name": "thread_user_message_request_store_thread_id_threads_id_fk",
|
|
171
|
+
"tableFrom": "thread_user_message_request_store",
|
|
172
|
+
"tableTo": "threads",
|
|
173
|
+
"columnsFrom": [
|
|
174
|
+
"thread_id"
|
|
175
|
+
],
|
|
176
|
+
"columnsTo": [
|
|
177
|
+
"id"
|
|
178
|
+
],
|
|
179
|
+
"onDelete": "cascade",
|
|
180
|
+
"onUpdate": "no action"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"compositePrimaryKeys": {},
|
|
184
|
+
"uniqueConstraints": {},
|
|
185
|
+
"checkConstraints": {}
|
|
186
|
+
},
|
|
187
|
+
"threads": {
|
|
188
|
+
"name": "threads",
|
|
189
|
+
"columns": {
|
|
190
|
+
"id": {
|
|
191
|
+
"name": "id",
|
|
192
|
+
"type": "text",
|
|
193
|
+
"primaryKey": true,
|
|
194
|
+
"notNull": true,
|
|
195
|
+
"autoincrement": false
|
|
196
|
+
},
|
|
197
|
+
"sdk_thread_id": {
|
|
198
|
+
"name": "sdk_thread_id",
|
|
199
|
+
"type": "text",
|
|
200
|
+
"primaryKey": false,
|
|
201
|
+
"notNull": false,
|
|
202
|
+
"autoincrement": false
|
|
203
|
+
},
|
|
204
|
+
"cli_secret": {
|
|
205
|
+
"name": "cli_secret",
|
|
206
|
+
"type": "text",
|
|
207
|
+
"primaryKey": false,
|
|
208
|
+
"notNull": false,
|
|
209
|
+
"autoincrement": false
|
|
210
|
+
},
|
|
211
|
+
"model": {
|
|
212
|
+
"name": "model",
|
|
213
|
+
"type": "text",
|
|
214
|
+
"primaryKey": false,
|
|
215
|
+
"notNull": true,
|
|
216
|
+
"autoincrement": false
|
|
217
|
+
},
|
|
218
|
+
"reasoning_level": {
|
|
219
|
+
"name": "reasoning_level",
|
|
220
|
+
"type": "text",
|
|
221
|
+
"primaryKey": false,
|
|
222
|
+
"notNull": true,
|
|
223
|
+
"autoincrement": false
|
|
224
|
+
},
|
|
225
|
+
"additional_model_instructions": {
|
|
226
|
+
"name": "additional_model_instructions",
|
|
227
|
+
"type": "text",
|
|
228
|
+
"primaryKey": false,
|
|
229
|
+
"notNull": false,
|
|
230
|
+
"autoincrement": false
|
|
231
|
+
},
|
|
232
|
+
"status": {
|
|
233
|
+
"name": "status",
|
|
234
|
+
"type": "text",
|
|
235
|
+
"primaryKey": false,
|
|
236
|
+
"notNull": true,
|
|
237
|
+
"autoincrement": false
|
|
238
|
+
},
|
|
239
|
+
"current_sdk_turn_id": {
|
|
240
|
+
"name": "current_sdk_turn_id",
|
|
241
|
+
"type": "text",
|
|
242
|
+
"primaryKey": false,
|
|
243
|
+
"notNull": false,
|
|
244
|
+
"autoincrement": false
|
|
245
|
+
},
|
|
246
|
+
"is_current_turn_running": {
|
|
247
|
+
"name": "is_current_turn_running",
|
|
248
|
+
"type": "integer",
|
|
249
|
+
"primaryKey": false,
|
|
250
|
+
"notNull": true,
|
|
251
|
+
"autoincrement": false
|
|
252
|
+
},
|
|
253
|
+
"workspace": {
|
|
254
|
+
"name": "workspace",
|
|
255
|
+
"type": "text",
|
|
256
|
+
"primaryKey": false,
|
|
257
|
+
"notNull": true,
|
|
258
|
+
"autoincrement": false
|
|
259
|
+
},
|
|
260
|
+
"runtime_container": {
|
|
261
|
+
"name": "runtime_container",
|
|
262
|
+
"type": "text",
|
|
263
|
+
"primaryKey": false,
|
|
264
|
+
"notNull": true,
|
|
265
|
+
"autoincrement": false
|
|
266
|
+
},
|
|
267
|
+
"dind_container": {
|
|
268
|
+
"name": "dind_container",
|
|
269
|
+
"type": "text",
|
|
270
|
+
"primaryKey": false,
|
|
271
|
+
"notNull": false,
|
|
272
|
+
"autoincrement": false
|
|
273
|
+
},
|
|
274
|
+
"home_directory": {
|
|
275
|
+
"name": "home_directory",
|
|
276
|
+
"type": "text",
|
|
277
|
+
"primaryKey": false,
|
|
278
|
+
"notNull": true,
|
|
279
|
+
"autoincrement": false
|
|
280
|
+
},
|
|
281
|
+
"uid": {
|
|
282
|
+
"name": "uid",
|
|
283
|
+
"type": "integer",
|
|
284
|
+
"primaryKey": false,
|
|
285
|
+
"notNull": true,
|
|
286
|
+
"autoincrement": false
|
|
287
|
+
},
|
|
288
|
+
"gid": {
|
|
289
|
+
"name": "gid",
|
|
290
|
+
"type": "integer",
|
|
291
|
+
"primaryKey": false,
|
|
292
|
+
"notNull": true,
|
|
293
|
+
"autoincrement": false
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"indexes": {},
|
|
297
|
+
"foreignKeys": {},
|
|
298
|
+
"compositePrimaryKeys": {},
|
|
299
|
+
"uniqueConstraints": {},
|
|
300
|
+
"checkConstraints": {}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"views": {},
|
|
304
|
+
"enums": {},
|
|
305
|
+
"_meta": {
|
|
306
|
+
"schemas": {},
|
|
307
|
+
"tables": {},
|
|
308
|
+
"columns": {}
|
|
309
|
+
},
|
|
310
|
+
"internal": {
|
|
311
|
+
"indexes": {}
|
|
312
|
+
}
|
|
313
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@companyhelm/runner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Run the CompanyHelm runner in fully isolated Docker sandboxes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@bufbuild/protobuf": "^2.11.0",
|
|
33
33
|
"@clack/prompts": "^1.0.1",
|
|
34
|
-
"@companyhelm/protos": "0.5.
|
|
34
|
+
"@companyhelm/protos": "^0.5.19",
|
|
35
35
|
"@grpc/grpc-js": "^1.14.3",
|
|
36
36
|
"@libsql/client": "^0.17.0",
|
|
37
37
|
"commander": "^14.0.0",
|