@dmrlzz/davecode 0.6.0 → 0.7.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.
Files changed (83) hide show
  1. package/dist/{ChatApp-RQZ2IZFQ.js → ChatApp-C23NVTME.js} +6 -6
  2. package/dist/{account-FY6THFLW.js → account-GG7UFSNY.js} +3 -3
  3. package/dist/{accounts-ZV3KMLC5.js → accounts-IPOGUMHF.js} +5 -5
  4. package/dist/{budget-OUOEMMOM.js → budget-7QJGPYPF.js} +4 -4
  5. package/dist/{chat-OHVP4BS3.js → chat-3K2KXS3E.js} +8 -8
  6. package/dist/{chunk-FFB2QA5I.js → chunk-3BTE76UD.js} +2 -2
  7. package/dist/{chunk-L7NEDOA3.js → chunk-4FE2YV5U.js} +2 -2
  8. package/dist/{chunk-TP3ORSHY.js → chunk-FKGZERYB.js} +157 -9
  9. package/dist/chunk-FKGZERYB.js.map +1 -0
  10. package/dist/{chunk-2MM5WT5J.js → chunk-JBX6J74G.js} +3 -3
  11. package/dist/{chunk-2P5DJWIJ.js → chunk-KEURMO75.js} +4 -4
  12. package/dist/{chunk-NKRI6SYR.js → chunk-LK2K73DC.js} +2 -2
  13. package/dist/{chunk-2XGDILCW.js → chunk-NBQIMB43.js} +2422 -1599
  14. package/dist/chunk-NBQIMB43.js.map +1 -0
  15. package/dist/{chunk-HL4RIXPM.js → chunk-PGZPSJS7.js} +3 -3
  16. package/dist/{chunk-U5CI774J.js → chunk-U42YONUN.js} +3 -3
  17. package/dist/{config-ZLO3YOUX.js → config-BFEQFGAR.js} +3 -3
  18. package/dist/dashboard/assets/Accounts-CUMFzGls.js +1 -0
  19. package/dist/dashboard/assets/{Callout-CqdcH6dC.js → Callout-DDtTG_BA.js} +1 -1
  20. package/dist/dashboard/assets/Goals-CBGiTkcP.js +1 -0
  21. package/dist/dashboard/assets/{Library-DnCIb76j.js → Library-CKWa3h0E.js} +1 -1
  22. package/dist/dashboard/assets/{Panes-DBqKYuaE.js → Panes-ziAz-CZa.js} +4 -4
  23. package/dist/dashboard/assets/RoutesPage-D2iW-KhM.js +4 -0
  24. package/dist/dashboard/assets/Runner-4e79FB1J.js +1 -0
  25. package/dist/dashboard/assets/Settings-CSae84S0.js +1 -0
  26. package/dist/dashboard/assets/Tasks-CnbZ5PvX.js +2 -0
  27. package/dist/dashboard/assets/Traffic-B12xKOUm.js +1 -0
  28. package/dist/dashboard/assets/Workspace-CMPHlw4f.js +1 -0
  29. package/dist/dashboard/assets/chevron-down-DT349Fth.js +1 -0
  30. package/dist/dashboard/assets/external-link-DCIUScea.js +1 -0
  31. package/dist/dashboard/assets/format-C7Q-B9fI.js +112 -0
  32. package/dist/dashboard/assets/index-4RIBvhr9.css +2 -0
  33. package/dist/dashboard/assets/index-z8TlFwRe.js +50 -0
  34. package/dist/dashboard/assets/{task-errors-DK4-900l.js → task-errors-3F3vbQ7k.js} +1 -1
  35. package/dist/dashboard/assets/x-UBQsC1rW.js +1 -0
  36. package/dist/dashboard/index.html +4 -3
  37. package/dist/{dist-56V3DLJ4.js → dist-VTC5E7Z5.js} +34 -2
  38. package/dist/{doctor-DUOKUSJL.js → doctor-JLFYQ3EP.js} +3 -3
  39. package/dist/{goal-WG37XHUY.js → goal-JM7QYTL2.js} +4 -4
  40. package/dist/index.js +32 -32
  41. package/dist/{init-WW4XPFMM.js → init-6K4EGMTV.js} +3 -3
  42. package/dist/{orchestrate-7YQDBS3E.js → orchestrate-QC5P6IUZ.js} +4 -4
  43. package/dist/{run-QB4SGPEC.js → run-ABQNQ722.js} +3 -3
  44. package/dist/runtime.js +2 -2
  45. package/dist/{start-U4RL377T.js → start-MSO7TGBX.js} +3 -3
  46. package/dist/{status-GHVMGZI5.js → status-U6C4LUCM.js} +4 -4
  47. package/dist/{tasks-VTBJ4B2G.js → tasks-HEVT67YM.js} +4 -4
  48. package/package.json +4 -4
  49. package/dist/chunk-2XGDILCW.js.map +0 -1
  50. package/dist/chunk-TP3ORSHY.js.map +0 -1
  51. package/dist/dashboard/assets/Accounts-CIhOt9FH.js +0 -1
  52. package/dist/dashboard/assets/Goals-CITP2GqG.js +0 -1
  53. package/dist/dashboard/assets/RoutesPage-BNVmKhyU.js +0 -4
  54. package/dist/dashboard/assets/Runner-KR35ZWUE.js +0 -1
  55. package/dist/dashboard/assets/Settings-B5qE-a5O.js +0 -1
  56. package/dist/dashboard/assets/Tasks-bJLfNJmS.js +0 -2
  57. package/dist/dashboard/assets/Traffic-CGfilrRx.js +0 -1
  58. package/dist/dashboard/assets/Workspace-Dc3cvct_.js +0 -1
  59. package/dist/dashboard/assets/format-328qIBHX.js +0 -111
  60. package/dist/dashboard/assets/index-C-bwzlsl.js +0 -50
  61. package/dist/dashboard/assets/index-D9FCfPmM.css +0 -2
  62. /package/dist/{ChatApp-RQZ2IZFQ.js.map → ChatApp-C23NVTME.js.map} +0 -0
  63. /package/dist/{account-FY6THFLW.js.map → account-GG7UFSNY.js.map} +0 -0
  64. /package/dist/{accounts-ZV3KMLC5.js.map → accounts-IPOGUMHF.js.map} +0 -0
  65. /package/dist/{budget-OUOEMMOM.js.map → budget-7QJGPYPF.js.map} +0 -0
  66. /package/dist/{chat-OHVP4BS3.js.map → chat-3K2KXS3E.js.map} +0 -0
  67. /package/dist/{chunk-FFB2QA5I.js.map → chunk-3BTE76UD.js.map} +0 -0
  68. /package/dist/{chunk-L7NEDOA3.js.map → chunk-4FE2YV5U.js.map} +0 -0
  69. /package/dist/{chunk-2MM5WT5J.js.map → chunk-JBX6J74G.js.map} +0 -0
  70. /package/dist/{chunk-2P5DJWIJ.js.map → chunk-KEURMO75.js.map} +0 -0
  71. /package/dist/{chunk-NKRI6SYR.js.map → chunk-LK2K73DC.js.map} +0 -0
  72. /package/dist/{chunk-HL4RIXPM.js.map → chunk-PGZPSJS7.js.map} +0 -0
  73. /package/dist/{chunk-U5CI774J.js.map → chunk-U42YONUN.js.map} +0 -0
  74. /package/dist/{config-ZLO3YOUX.js.map → config-BFEQFGAR.js.map} +0 -0
  75. /package/dist/{dist-56V3DLJ4.js.map → dist-VTC5E7Z5.js.map} +0 -0
  76. /package/dist/{doctor-DUOKUSJL.js.map → doctor-JLFYQ3EP.js.map} +0 -0
  77. /package/dist/{goal-WG37XHUY.js.map → goal-JM7QYTL2.js.map} +0 -0
  78. /package/dist/{init-WW4XPFMM.js.map → init-6K4EGMTV.js.map} +0 -0
  79. /package/dist/{orchestrate-7YQDBS3E.js.map → orchestrate-QC5P6IUZ.js.map} +0 -0
  80. /package/dist/{run-QB4SGPEC.js.map → run-ABQNQ722.js.map} +0 -0
  81. /package/dist/{start-U4RL377T.js.map → start-MSO7TGBX.js.map} +0 -0
  82. /package/dist/{status-GHVMGZI5.js.map → status-U6C4LUCM.js.map} +0 -0
  83. /package/dist/{tasks-VTBJ4B2G.js.map → tasks-HEVT67YM.js.map} +0 -0
@@ -1 +1 @@
1
- import{n as e}from"./cn-BwE4cei0.js";import{Mt as t,Nt as n}from"./format-328qIBHX.js";var r={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};r.node;var i=e(r);function a(e){if(!n(e))return t(e);switch(e.code){case`brain_read_only`:return`This gateway exposes the project brain read-only, so the task graph cannot be edited here.`;case`no_brain`:return`No project is loaded. Start the gateway inside an initialised project (davecode init).`;case`cycle`:return e.cycle?`That would create a dependency cycle: ${e.cycle.join(` → `)}.`:e.message;case`has_dependents`:return e.dependents?.length?`Other tasks still depend on it: ${e.dependents.join(`, `)}. Remove those dependencies first.`:e.message;case`task_in_progress`:return`The task is in progress. Reopen it before deleting it.`;case`duplicate_id`:return`A task with this id already exists.`;case`invalid_transition`:return`The task cannot move to that status from its current one. ${e.message}`;case`config_invalid`:return`The global config file is not valid, so it was left untouched. ${e.message}`;default:return t(e)}}export{i as n,a as t};
1
+ import{n as e}from"./cn-BwE4cei0.js";import{Xt as t,Yt as n}from"./format-C7Q-B9fI.js";var r={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};r.node;var i=e(r);function a(e){if(!t(e))return n(e);switch(e.code){case`brain_read_only`:return`This gateway exposes the project brain read-only, so the task graph cannot be edited here.`;case`no_brain`:return`No project is loaded. Start the gateway inside an initialised project (davecode init).`;case`cycle`:return e.cycle?`That would create a dependency cycle: ${e.cycle.join(` → `)}.`:e.message;case`has_dependents`:return e.dependents?.length?`Other tasks still depend on it: ${e.dependents.join(`, `)}. Remove those dependencies first.`:e.message;case`task_in_progress`:return`The task is in progress. Reopen it before deleting it.`;case`duplicate_id`:return`A task with this id already exists.`;case`invalid_transition`:return`The task cannot move to that status from its current one. ${e.message}`;case`config_invalid`:return`The global config file is not valid, so it was left untouched. ${e.message}`;default:return n(e)}}export{i as n,a as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./cn-BwE4cei0.js";var t={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};t.node;var n=e(t),r={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};r.node;var i=e(r);export{n,i as t};
@@ -20,10 +20,11 @@
20
20
  document.documentElement.dataset.theme = storedTheme;
21
21
  }
22
22
  </script>
23
- <script type="module" crossorigin src="./assets/index-C-bwzlsl.js"></script>
23
+ <script type="module" crossorigin src="./assets/index-z8TlFwRe.js"></script>
24
24
  <link rel="modulepreload" crossorigin href="./assets/cn-BwE4cei0.js">
25
- <link rel="modulepreload" crossorigin href="./assets/format-328qIBHX.js">
26
- <link rel="stylesheet" crossorigin href="./assets/index-D9FCfPmM.css">
25
+ <link rel="modulepreload" crossorigin href="./assets/format-C7Q-B9fI.js">
26
+ <link rel="modulepreload" crossorigin href="./assets/x-UBQsC1rW.js">
27
+ <link rel="stylesheet" crossorigin href="./assets/index-4RIBvhr9.css">
27
28
  </head>
28
29
  <body>
29
30
  <div id="root"></div>
@@ -12,9 +12,11 @@ import {
12
12
  BRAND_MARK_SVG,
13
13
  BudgetService,
14
14
  BuiltinExecutor,
15
+ CHANGES_LIMITS,
15
16
  CLAUDE_CLI_INSTRUCTIONS,
16
17
  CLI_LOGINS,
17
18
  CONTEXT_TRUNCATION_MARKER,
19
+ ChangesError,
18
20
  ChromiumProfileManager,
19
21
  ChromiumUnavailableError,
20
22
  CircuitBreaker,
@@ -57,6 +59,7 @@ import {
57
59
  LockTimeoutError,
58
60
  LoginError,
59
61
  LoginService,
62
+ MAIN_WORKSPACE_ID,
60
63
  MIGRATIONS,
61
64
  MeteredExecutor,
62
65
  MissingBrainError,
@@ -67,6 +70,7 @@ import {
67
70
  OpenAICompatibleProvider,
68
71
  OpenAIProvider,
69
72
  OrchestratorError,
73
+ PANE_BRANCH_PREFIX,
70
74
  PROJECT_SETTABLE_KEYS,
71
75
  PROVIDER_KINDS,
72
76
  PathEscapeError,
@@ -95,6 +99,7 @@ import {
95
99
  VERSION,
96
100
  Validator,
97
101
  WINDOW_MS,
102
+ WORKSPACE_ID_PATTERN,
98
103
  WorkspaceLock,
99
104
  WorkspaceTools,
100
105
  acceptanceOf,
@@ -119,6 +124,7 @@ import {
119
124
  connectionMethod,
120
125
  countTextTokens,
121
126
  createAccountControl,
127
+ createChangesService,
122
128
  createCliAgentRunner,
123
129
  createEngine,
124
130
  createExecutor,
@@ -128,6 +134,7 @@ import {
128
134
  createOrchestratorService,
129
135
  createProviders,
130
136
  createRunner,
137
+ createWorkspaceSchema,
131
138
  davecodeHome,
132
139
  deepMerge,
133
140
  defaultModelFor,
@@ -138,6 +145,7 @@ import {
138
145
  errorKindFromStatus,
139
146
  estimateTokens2,
140
147
  extractJsonObject,
148
+ fallbackSuggestion,
141
149
  filterProjectLayer,
142
150
  findCycles,
143
151
  findProjectRoot,
@@ -159,11 +167,15 @@ import {
159
167
  loginEnv,
160
168
  loginFromEnv,
161
169
  mergeApiConfig,
170
+ mergeSchema,
162
171
  migrate,
163
172
  newId2,
164
173
  nextTask,
165
174
  openDatabase,
166
175
  outboundAction,
176
+ paneWorkspacePath,
177
+ paneWorktreesDir,
178
+ parseAgentSuggestion,
167
179
  parseModel,
168
180
  parseRetryAfter,
169
181
  parseTaskGraph,
@@ -172,6 +184,7 @@ import {
172
184
  projectPaths,
173
185
  readyGoalTasks,
174
186
  readyTasks,
187
+ removeSchema,
175
188
  removeTask,
176
189
  repairPrompt,
177
190
  reportedFraction,
@@ -187,10 +200,12 @@ import {
187
200
  seedGeminiHome,
188
201
  selectClaudeAccount,
189
202
  setTaskStatus,
203
+ shipSchema,
190
204
  spawnProbe,
191
205
  splitCommand,
192
206
  startAccountLogin,
193
207
  startRunSchema,
208
+ suggestSchema,
194
209
  summarize,
195
210
  summarizeValidation,
196
211
  taskGraphSchema,
@@ -201,8 +216,9 @@ import {
201
216
  updateTask,
202
217
  validateTaskGraph,
203
218
  withFileLock,
219
+ workspaceIdSchema,
204
220
  writeGlobalRouting
205
- } from "./chunk-2XGDILCW.js";
221
+ } from "./chunk-NBQIMB43.js";
206
222
  export {
207
223
  ACCOUNT_SERVICE,
208
224
  API_CONFIG_KEYS,
@@ -217,9 +233,11 @@ export {
217
233
  BRAND_MARK_SVG,
218
234
  BudgetService,
219
235
  BuiltinExecutor,
236
+ CHANGES_LIMITS,
220
237
  CLAUDE_CLI_INSTRUCTIONS,
221
238
  CLI_LOGINS,
222
239
  CONTEXT_TRUNCATION_MARKER,
240
+ ChangesError,
223
241
  ChromiumProfileManager,
224
242
  ChromiumUnavailableError,
225
243
  CircuitBreaker,
@@ -262,6 +280,7 @@ export {
262
280
  LockTimeoutError,
263
281
  LoginError,
264
282
  LoginService,
283
+ MAIN_WORKSPACE_ID,
265
284
  MIGRATIONS,
266
285
  MeteredExecutor,
267
286
  MissingBrainError,
@@ -272,6 +291,7 @@ export {
272
291
  OpenAICompatibleProvider,
273
292
  OpenAIProvider,
274
293
  OrchestratorError,
294
+ PANE_BRANCH_PREFIX,
275
295
  PROJECT_SETTABLE_KEYS,
276
296
  PROVIDER_KINDS,
277
297
  PathEscapeError,
@@ -300,6 +320,7 @@ export {
300
320
  VERSION,
301
321
  Validator,
302
322
  WINDOW_MS,
323
+ WORKSPACE_ID_PATTERN,
303
324
  WorkspaceLock,
304
325
  WorkspaceTools,
305
326
  acceptanceOf,
@@ -324,6 +345,7 @@ export {
324
345
  connectionMethod,
325
346
  countTextTokens,
326
347
  createAccountControl,
348
+ createChangesService,
327
349
  createCliAgentRunner,
328
350
  createEngine,
329
351
  createExecutor,
@@ -333,6 +355,7 @@ export {
333
355
  createOrchestratorService,
334
356
  createProviders,
335
357
  createRunner,
358
+ createWorkspaceSchema,
336
359
  davecodeHome,
337
360
  deepMerge,
338
361
  defaultModelFor,
@@ -343,6 +366,7 @@ export {
343
366
  errorKindFromStatus,
344
367
  estimateTokens2 as estimateTokens,
345
368
  extractJsonObject,
369
+ fallbackSuggestion,
346
370
  filterProjectLayer,
347
371
  findCycles,
348
372
  findProjectRoot,
@@ -364,11 +388,15 @@ export {
364
388
  loginEnv,
365
389
  loginFromEnv,
366
390
  mergeApiConfig,
391
+ mergeSchema,
367
392
  migrate,
368
393
  newId2 as newId,
369
394
  nextTask,
370
395
  openDatabase,
371
396
  outboundAction,
397
+ paneWorkspacePath,
398
+ paneWorktreesDir,
399
+ parseAgentSuggestion,
372
400
  parseModel,
373
401
  parseRetryAfter,
374
402
  parseTaskGraph,
@@ -377,6 +405,7 @@ export {
377
405
  projectPaths,
378
406
  readyGoalTasks,
379
407
  readyTasks,
408
+ removeSchema,
380
409
  removeTask,
381
410
  repairPrompt,
382
411
  reportedFraction,
@@ -392,10 +421,12 @@ export {
392
421
  seedGeminiHome,
393
422
  selectClaudeAccount,
394
423
  setTaskStatus,
424
+ shipSchema,
395
425
  spawnProbe,
396
426
  splitCommand,
397
427
  startAccountLogin,
398
428
  startRunSchema,
429
+ suggestSchema,
399
430
  summarize,
400
431
  summarizeValidation,
401
432
  taskGraphSchema,
@@ -406,6 +437,7 @@ export {
406
437
  updateTask,
407
438
  validateTaskGraph,
408
439
  withFileLock,
440
+ workspaceIdSchema,
409
441
  writeGlobalRouting
410
442
  };
411
- //# sourceMappingURL=dist-56V3DLJ4.js.map
443
+ //# sourceMappingURL=dist-VTC5E7Z5.js.map
@@ -10,7 +10,7 @@ import {
10
10
  detectProjectRoot,
11
11
  resolveDashboardDir,
12
12
  which
13
- } from "./chunk-TP3ORSHY.js";
13
+ } from "./chunk-FKGZERYB.js";
14
14
  import {
15
15
  EXIT
16
16
  } from "./chunk-7XVXEO7U.js";
@@ -18,7 +18,7 @@ import "./chunk-732GIHRQ.js";
18
18
  import {
19
19
  loadConfig,
20
20
  openDatabase
21
- } from "./chunk-2XGDILCW.js";
21
+ } from "./chunk-NBQIMB43.js";
22
22
  import "./chunk-MC7RIPL7.js";
23
23
 
24
24
  // src/commands/doctor.ts
@@ -277,4 +277,4 @@ export {
277
277
  renderDoctor,
278
278
  runDoctor
279
279
  };
280
- //# sourceMappingURL=doctor-DUOKUSJL.js.map
280
+ //# sourceMappingURL=doctor-JLFYQ3EP.js.map
@@ -6,13 +6,13 @@ import {
6
6
  goalsList,
7
7
  goalsShow,
8
8
  interruptSignal
9
- } from "./chunk-HL4RIXPM.js";
9
+ } from "./chunk-PGZPSJS7.js";
10
10
  import "./chunk-SF5ZEAP4.js";
11
11
  import "./chunk-QA3O6RA2.js";
12
- import "./chunk-TP3ORSHY.js";
12
+ import "./chunk-FKGZERYB.js";
13
13
  import "./chunk-7XVXEO7U.js";
14
14
  import "./chunk-732GIHRQ.js";
15
- import "./chunk-2XGDILCW.js";
15
+ import "./chunk-NBQIMB43.js";
16
16
  import "./chunk-MC7RIPL7.js";
17
17
  export {
18
18
  describeGoal,
@@ -23,4 +23,4 @@ export {
23
23
  goalsShow,
24
24
  interruptSignal
25
25
  };
26
- //# sourceMappingURL=goal-WG37XHUY.js.map
26
+ //# sourceMappingURL=goal-JM7QYTL2.js.map
package/dist/index.js CHANGED
@@ -36,12 +36,12 @@ Docs: https://github.com/DMRLZZ/DaveCode#readme`
36
36
  run(async (ctx) => {
37
37
  const globals = program.opts();
38
38
  if (globals.version) {
39
- const { VERSION } = await import("./dist-56V3DLJ4.js");
39
+ const { VERSION } = await import("./dist-VTC5E7Z5.js");
40
40
  ctx.out(`davecode ${VERSION}`);
41
41
  return EXIT.ok;
42
42
  }
43
43
  if (ctx.interactive) {
44
- const { chatCommand } = await import("./chat-OHVP4BS3.js");
44
+ const { chatCommand } = await import("./chat-3K2KXS3E.js");
45
45
  return chatCommand(ctx, {});
46
46
  }
47
47
  program.outputHelp();
@@ -74,43 +74,43 @@ function collect(value, previous = []) {
74
74
  function registerCommands(program, run) {
75
75
  program.command("app").description("start your local workspace in a Chrome or Edge app window").addOption(new Option("-p, --port <port>", "port to listen on").argParser(parsePort)).option("--project <dir>", "repository to open").action(
76
76
  run(async (ctx, opts) => {
77
- const { startCommand } = await import("./start-U4RL377T.js");
77
+ const { startCommand } = await import("./start-MSO7TGBX.js");
78
78
  return startCommand(ctx, { ...opts, host: "127.0.0.1", app: true });
79
79
  })
80
80
  );
81
81
  program.command("start").description("start the gateway (OpenAI-compatible /v1, dashboard API and web dashboard)").addOption(new Option("-p, --port <port>", "port to listen on").argParser(parsePort)).option("--host <host>", "interface to bind (default 127.0.0.1)").option("--no-dashboard", "do not serve the web dashboard").option("--project <dir>", "repository whose project brain to serve (default: detected)").option("--verbose", "print gateway request logs").option("-q, --quiet", "do not print the live activity log").action(
82
82
  run(async (ctx, opts) => {
83
- const { startCommand } = await import("./start-U4RL377T.js");
83
+ const { startCommand } = await import("./start-MSO7TGBX.js");
84
84
  return startCommand(ctx, opts);
85
85
  })
86
86
  );
87
87
  program.command("status").description("gateway health, accounts and 1m/5h/24h quota usage").action(
88
88
  run(async (ctx) => {
89
- const { statusCommand } = await import("./status-GHVMGZI5.js");
89
+ const { statusCommand } = await import("./status-U6C4LUCM.js");
90
90
  return statusCommand(ctx);
91
91
  })
92
92
  );
93
93
  program.command("chat").description("chat TUI (also what bare `davecode` opens in a terminal)").option("-m, --model <id>", "model or route, e.g. davecode/auto or anthropic/claude-sonnet-5-5").option("--project <dir>", "repository whose brain an in-process gateway serves").action(
94
94
  run(async (ctx, opts) => {
95
- const { chatCommand } = await import("./chat-OHVP4BS3.js");
95
+ const { chatCommand } = await import("./chat-3K2KXS3E.js");
96
96
  return chatCommand(ctx, opts);
97
97
  })
98
98
  );
99
99
  program.command("login").description("sign in to your DaveCode account in the browser").action(
100
100
  run(async (ctx) => {
101
- const { loginCommand } = await import("./account-FY6THFLW.js");
101
+ const { loginCommand } = await import("./account-GG7UFSNY.js");
102
102
  return loginCommand(ctx);
103
103
  })
104
104
  );
105
105
  program.command("logout").description("sign out of your DaveCode account").action(
106
106
  run(async (ctx) => {
107
- const { logoutCommand } = await import("./account-FY6THFLW.js");
107
+ const { logoutCommand } = await import("./account-GG7UFSNY.js");
108
108
  return logoutCommand(ctx);
109
109
  })
110
110
  );
111
111
  program.command("account").description("show the signed-in DaveCode account").action(
112
112
  run(async (ctx) => {
113
- const { accountCommand } = await import("./account-FY6THFLW.js");
113
+ const { accountCommand } = await import("./account-GG7UFSNY.js");
114
114
  return accountCommand(ctx);
115
115
  })
116
116
  );
@@ -118,13 +118,13 @@ function registerCommands(program, run) {
118
118
  registerProject(program, run);
119
119
  program.command("budget").description("plans, renewals and remaining quota per account (what agents are told)").option("--context", "print only the summary injected into agent prompts").option("--local", "read the local database even if a gateway is running").action(
120
120
  run(async (ctx, opts) => {
121
- const { budgetCommand } = await import("./budget-OUOEMMOM.js");
121
+ const { budgetCommand } = await import("./budget-7QJGPYPF.js");
122
122
  return budgetCommand(ctx, opts);
123
123
  })
124
124
  );
125
125
  program.command("doctor").description("check the environment and print fixes").action(
126
126
  run(async (ctx) => {
127
- const { doctorCommand } = await import("./doctor-DUOKUSJL.js");
127
+ const { doctorCommand } = await import("./doctor-JLFYQ3EP.js");
128
128
  return doctorCommand(ctx);
129
129
  })
130
130
  );
@@ -138,7 +138,7 @@ Exit codes with --once: 0 success or nothing to do, 1 failed or error, 130 stopp
138
138
  Ctrl+C stops safely: partial work stays on the task branch and the task goes back to PENDING.`
139
139
  ).action(
140
140
  run(async (ctx, opts) => {
141
- const { runCommand } = await import("./run-QB4SGPEC.js");
141
+ const { runCommand } = await import("./run-ABQNQ722.js");
142
142
  return runCommand(ctx, opts);
143
143
  })
144
144
  );
@@ -171,7 +171,7 @@ Examples:
171
171
  ).action(
172
172
  run(
173
173
  async (ctx, words, opts) => {
174
- const { orchestrateCommand } = await import("./orchestrate-7YQDBS3E.js");
174
+ const { orchestrateCommand } = await import("./orchestrate-QC5P6IUZ.js");
175
175
  return orchestrateCommand(ctx, words, opts);
176
176
  }
177
177
  )
@@ -199,26 +199,26 @@ Examples:
199
199
  davecode goal "Add a /health endpoint with tests" --max-rounds 2`
200
200
  ).action(
201
201
  run(async (ctx, words, opts) => {
202
- const { goalCommand } = await import("./goal-WG37XHUY.js");
202
+ const { goalCommand } = await import("./goal-JM7QYTL2.js");
203
203
  return goalCommand(ctx, words, opts);
204
204
  })
205
205
  );
206
206
  const goals = program.command("goals").description("goals of this repository");
207
207
  goals.command("list", { isDefault: true }).alias("ls").description("goals, newest first").option("--project <dir>", "repository (default: detected)").action(
208
208
  run(async (ctx, opts) => {
209
- const { goalsList } = await import("./goal-WG37XHUY.js");
209
+ const { goalsList } = await import("./goal-JM7QYTL2.js");
210
210
  return goalsList(ctx, opts);
211
211
  })
212
212
  );
213
213
  goals.command("show <id>").description("tasks, artifacts and summary of a goal").option("--project <dir>", "repository (default: detected)").action(
214
214
  run(async (ctx, id, opts) => {
215
- const { goalsShow } = await import("./goal-WG37XHUY.js");
215
+ const { goalsShow } = await import("./goal-JM7QYTL2.js");
216
216
  return goalsShow(ctx, id, opts);
217
217
  })
218
218
  );
219
219
  goals.command("cancel <id>").description("cancel a running goal").option("--project <dir>", "repository (default: detected)").action(
220
220
  run(async (ctx, id, opts) => {
221
- const { goalsCancel } = await import("./goal-WG37XHUY.js");
221
+ const { goalsCancel } = await import("./goal-JM7QYTL2.js");
222
222
  return goalsCancel(ctx, id, opts);
223
223
  })
224
224
  );
@@ -226,20 +226,20 @@ Examples:
226
226
  function registerProject(program, run) {
227
227
  program.command("init").description("scaffold the project brain (.davecode/) in this repository").option("--name <name>", "project name used in STATE.md and ARCHITECTURE.md").option("--config", "write a starter .davecode/config.json without asking").option("--no-config", "do not write .davecode/config.json").action(
228
228
  run(async (ctx, opts) => {
229
- const { initCommand } = await import("./init-WW4XPFMM.js");
229
+ const { initCommand } = await import("./init-6K4EGMTV.js");
230
230
  return initCommand(ctx, opts);
231
231
  })
232
232
  );
233
233
  const tasks = program.command("tasks").description("show and edit the task graph");
234
234
  tasks.command("list", { isDefault: true }).alias("ls").description("task tree with status and blocked reasons").action(
235
235
  run(async (ctx) => {
236
- const { tasksList } = await import("./tasks-VTBJ4B2G.js");
236
+ const { tasksList } = await import("./tasks-HEVT67YM.js");
237
237
  return tasksList(ctx);
238
238
  })
239
239
  );
240
240
  tasks.command("next").description("the task the runner would pick next").action(
241
241
  run(async (ctx) => {
242
- const { tasksNext } = await import("./tasks-VTBJ4B2G.js");
242
+ const { tasksNext } = await import("./tasks-HEVT67YM.js");
243
243
  return tasksNext(ctx);
244
244
  })
245
245
  );
@@ -250,33 +250,33 @@ function registerProject(program, run) {
250
250
  ).action(
251
251
  run(
252
252
  async (ctx, id, title, opts) => {
253
- const { tasksAdd } = await import("./tasks-VTBJ4B2G.js");
253
+ const { tasksAdd } = await import("./tasks-HEVT67YM.js");
254
254
  return tasksAdd(ctx, id, title, opts);
255
255
  }
256
256
  )
257
257
  );
258
258
  tasks.command("status <id> <status>").description("move a task to PENDING | IN_PROGRESS | SUCCESS | FAILED").option("--notes <text>", "note stored on the task").action(
259
259
  run(async (ctx, id, status, opts) => {
260
- const { tasksStatus } = await import("./tasks-VTBJ4B2G.js");
260
+ const { tasksStatus } = await import("./tasks-HEVT67YM.js");
261
261
  return tasksStatus(ctx, id, status, opts);
262
262
  })
263
263
  );
264
264
  const config = program.command("config").description("show the resolved configuration");
265
265
  config.command("show", { isDefault: true }).description("resolved config as JSON (secrets redacted)").action(
266
266
  run(async (ctx) => {
267
- const { configShow } = await import("./config-ZLO3YOUX.js");
267
+ const { configShow } = await import("./config-BFEQFGAR.js");
268
268
  return configShow(ctx);
269
269
  })
270
270
  );
271
271
  config.command("path").description("where config, state and brains live").action(
272
272
  run(async (ctx) => {
273
- const { configPath } = await import("./config-ZLO3YOUX.js");
273
+ const { configPath } = await import("./config-BFEQFGAR.js");
274
274
  return configPath(ctx);
275
275
  })
276
276
  );
277
277
  config.command("get <key>").description("one value by dotted key, e.g. server.port").action(
278
278
  run(async (ctx, key) => {
279
- const { configGet } = await import("./config-ZLO3YOUX.js");
279
+ const { configGet } = await import("./config-BFEQFGAR.js");
280
280
  return configGet(ctx, key);
281
281
  })
282
282
  );
@@ -300,7 +300,7 @@ Examples:
300
300
  davecode accounts add --provider claude-cli --label "Claude Pro" --yes`
301
301
  ).action(
302
302
  run(async (ctx, opts) => {
303
- const { accountsAdd } = await import("./accounts-ZV3KMLC5.js");
303
+ const { accountsAdd } = await import("./accounts-IPOGUMHF.js");
304
304
  return accountsAdd(ctx, opts);
305
305
  })
306
306
  );
@@ -309,7 +309,7 @@ function registerAccounts(program, run) {
309
309
  const accounts = program.command("accounts").description("manage provider accounts");
310
310
  accounts.command("list", { isDefault: true }).alias("ls").description("list accounts").option("--local", "read the local database even if a gateway is running").action(
311
311
  run(async (ctx, opts) => {
312
- const { accountsList } = await import("./accounts-ZV3KMLC5.js");
312
+ const { accountsList } = await import("./accounts-IPOGUMHF.js");
313
313
  return accountsList(ctx, opts);
314
314
  })
315
315
  );
@@ -319,7 +319,7 @@ function registerAccounts(program, run) {
319
319
  );
320
320
  accounts.command("remove <id>").alias("rm").description("remove an account, its secret and its sandbox").option("-y, --yes", "do not ask for confirmation").option("--local", "write to the local database even if a gateway is running").action(
321
321
  run(async (ctx, id, opts) => {
322
- const { accountsRemove } = await import("./accounts-ZV3KMLC5.js");
322
+ const { accountsRemove } = await import("./accounts-IPOGUMHF.js");
323
323
  return accountsRemove(ctx, id, opts);
324
324
  })
325
325
  );
@@ -329,7 +329,7 @@ function registerAccounts(program, run) {
329
329
  ]) {
330
330
  accounts.command(`${name} <id>`).description(`${name} an account${enabled ? " (also clears error and cooldown state)" : ""}`).option("--local", "write to the local database even if a gateway is running").action(
331
331
  run(async (ctx, id, opts) => {
332
- const { accountsSetEnabled } = await import("./accounts-ZV3KMLC5.js");
332
+ const { accountsSetEnabled } = await import("./accounts-IPOGUMHF.js");
333
333
  return accountsSetEnabled(ctx, id, enabled, opts);
334
334
  })
335
335
  );
@@ -341,7 +341,7 @@ Entered by hand: DaveCode never reads billing pages. Example:
341
341
  davecode accounts plan acc_123 --plan "Claude Pro" --price 20 --renews 2026-11-01`
342
342
  ).action(
343
343
  run(async (ctx, id, opts) => {
344
- const { accountsPlan } = await import("./accounts-ZV3KMLC5.js");
344
+ const { accountsPlan } = await import("./accounts-IPOGUMHF.js");
345
345
  return accountsPlan(ctx, id, opts);
346
346
  })
347
347
  );
@@ -357,7 +357,7 @@ Extra arguments after -- replace the default ones (e.g. -- login --device-auth f
357
357
  ).action(
358
358
  run(
359
359
  async (ctx, id, args, opts) => {
360
- const { accountsLogin } = await import("./accounts-ZV3KMLC5.js");
360
+ const { accountsLogin } = await import("./accounts-IPOGUMHF.js");
361
361
  return accountsLogin(ctx, id, args, opts);
362
362
  }
363
363
  )
@@ -371,7 +371,7 @@ connected, start the vendor's own sign-in. Example:
371
371
  davecode accounts connect acc_123 --check`
372
372
  ).action(
373
373
  run(async (ctx, id, opts) => {
374
- const { accountsConnect } = await import("./accounts-ZV3KMLC5.js");
374
+ const { accountsConnect } = await import("./accounts-IPOGUMHF.js");
375
375
  return accountsConnect(ctx, id, opts);
376
376
  })
377
377
  );
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-QA3O6RA2.js";
7
7
  import {
8
8
  detectProjectRoot
9
- } from "./chunk-TP3ORSHY.js";
9
+ } from "./chunk-FKGZERYB.js";
10
10
  import {
11
11
  CliError,
12
12
  EXIT
@@ -16,7 +16,7 @@ import {
16
16
  ProjectBrain,
17
17
  configSchema,
18
18
  projectPaths
19
- } from "./chunk-2XGDILCW.js";
19
+ } from "./chunk-NBQIMB43.js";
20
20
  import "./chunk-MC7RIPL7.js";
21
21
 
22
22
  // src/commands/init.ts
@@ -192,4 +192,4 @@ export {
192
192
  ensureLockIgnored,
193
193
  initCommand
194
194
  };
195
- //# sourceMappingURL=init-WW4XPFMM.js.map
195
+ //# sourceMappingURL=init-6K4EGMTV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  interruptSignal
3
- } from "./chunk-HL4RIXPM.js";
3
+ } from "./chunk-PGZPSJS7.js";
4
4
  import {
5
5
  formatDuration,
6
6
  truncate
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  createProjectOrchestrator,
13
13
  detectProjectRoot
14
- } from "./chunk-TP3ORSHY.js";
14
+ } from "./chunk-FKGZERYB.js";
15
15
  import {
16
16
  CliError,
17
17
  EXIT
@@ -21,7 +21,7 @@ import {
21
21
  EventBus,
22
22
  ORCHESTRATOR_AGENTS,
23
23
  ORCHESTRATOR_LIMITS
24
- } from "./chunk-2XGDILCW.js";
24
+ } from "./chunk-NBQIMB43.js";
25
25
  import "./chunk-MC7RIPL7.js";
26
26
 
27
27
  // src/commands/orchestrate.ts
@@ -379,4 +379,4 @@ export {
379
379
  runListLine,
380
380
  startInput
381
381
  };
382
- //# sourceMappingURL=orchestrate-7YQDBS3E.js.map
382
+ //# sourceMappingURL=orchestrate-QC5P6IUZ.js.map
@@ -18,7 +18,7 @@ import {
18
18
  detectProjectRoot,
19
19
  findGateway,
20
20
  wireProject
21
- } from "./chunk-TP3ORSHY.js";
21
+ } from "./chunk-FKGZERYB.js";
22
22
  import {
23
23
  CliError,
24
24
  EXIT
@@ -29,7 +29,7 @@ import {
29
29
  RunnerError,
30
30
  createEngine,
31
31
  loadConfig
32
- } from "./chunk-2XGDILCW.js";
32
+ } from "./chunk-NBQIMB43.js";
33
33
  import "./chunk-MC7RIPL7.js";
34
34
 
35
35
  // src/commands/run.ts
@@ -374,4 +374,4 @@ export {
374
374
  explainRunnerError,
375
375
  runCommand
376
376
  };
377
- //# sourceMappingURL=run-QB4SGPEC.js.map
377
+ //# sourceMappingURL=run-ABQNQ722.js.map
package/dist/runtime.js CHANGED
@@ -7,9 +7,9 @@ import {
7
7
  resolveProjectRoot,
8
8
  startRuntime,
9
9
  wireProject
10
- } from "./chunk-TP3ORSHY.js";
10
+ } from "./chunk-FKGZERYB.js";
11
11
  import "./chunk-732GIHRQ.js";
12
- import "./chunk-2XGDILCW.js";
12
+ import "./chunk-NBQIMB43.js";
13
13
  export {
14
14
  createProjectOrchestrator,
15
15
  detectProjectRoot,
@@ -10,7 +10,7 @@ import {
10
10
  findGateway,
11
11
  startRuntime,
12
12
  which
13
- } from "./chunk-TP3ORSHY.js";
13
+ } from "./chunk-FKGZERYB.js";
14
14
  import {
15
15
  CliError,
16
16
  EXIT
@@ -20,7 +20,7 @@ import {
20
20
  VERSION,
21
21
  loadConfig,
22
22
  summarize
23
- } from "./chunk-2XGDILCW.js";
23
+ } from "./chunk-NBQIMB43.js";
24
24
  import "./chunk-MC7RIPL7.js";
25
25
 
26
26
  // src/commands/start.ts
@@ -283,4 +283,4 @@ async function startCommand(ctx, opts, deps = {}) {
283
283
  export {
284
284
  startCommand
285
285
  };
286
- //# sourceMappingURL=start-U4RL377T.js.map
286
+ //# sourceMappingURL=start-MSO7TGBX.js.map
@@ -6,13 +6,13 @@ import {
6
6
  renderStatus,
7
7
  statusCommand,
8
8
  windowCell
9
- } from "./chunk-U5CI774J.js";
9
+ } from "./chunk-U42YONUN.js";
10
10
  import "./chunk-SF5ZEAP4.js";
11
11
  import "./chunk-QA3O6RA2.js";
12
- import "./chunk-TP3ORSHY.js";
12
+ import "./chunk-FKGZERYB.js";
13
13
  import "./chunk-7XVXEO7U.js";
14
14
  import "./chunk-732GIHRQ.js";
15
- import "./chunk-2XGDILCW.js";
15
+ import "./chunk-NBQIMB43.js";
16
16
  import "./chunk-MC7RIPL7.js";
17
17
  export {
18
18
  emptyUsage,
@@ -23,4 +23,4 @@ export {
23
23
  statusCommand,
24
24
  windowCell
25
25
  };
26
- //# sourceMappingURL=status-GHVMGZI5.js.map
26
+ //# sourceMappingURL=status-U6C4LUCM.js.map