@dmrlzz/davecode 0.5.0 → 0.5.1

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 (69) hide show
  1. package/dist/{ChatApp-CJBICQGA.js → ChatApp-YMHKIAAH.js} +6 -6
  2. package/dist/{account-QWDPJWAA.js → account-5QFYCVYM.js} +3 -3
  3. package/dist/{accounts-IQMR72FC.js → accounts-756BMMAL.js} +5 -5
  4. package/dist/{budget-XANOUVWO.js → budget-PGSNCVVK.js} +4 -4
  5. package/dist/{chat-KDDRNC5V.js → chat-D3T4YG5D.js} +8 -8
  6. package/dist/{chunk-AZKACMME.js → chunk-6SHOBL2X.js} +2 -2
  7. package/dist/{chunk-WQ7MEWDF.js → chunk-6WUVR3R2.js} +10 -4
  8. package/dist/chunk-6WUVR3R2.js.map +1 -0
  9. package/dist/{chunk-HSBJDV3O.js → chunk-HENE4DA6.js} +240 -22
  10. package/dist/chunk-HENE4DA6.js.map +1 -0
  11. package/dist/{chunk-W7GPBEBZ.js → chunk-IOATP7KH.js} +2 -2
  12. package/dist/{chunk-FYPMA55O.js → chunk-JFWMLYV7.js} +111 -19
  13. package/dist/chunk-JFWMLYV7.js.map +1 -0
  14. package/dist/{chunk-44AFJL2X.js → chunk-JSRPO2AR.js} +6 -5
  15. package/dist/chunk-JSRPO2AR.js.map +1 -0
  16. package/dist/{chunk-JLATEHS7.js → chunk-K5AA65RS.js} +2 -2
  17. package/dist/{chunk-PGAJIGUF.js → chunk-ZNUNYYN6.js} +3 -3
  18. package/dist/{config-YTUPIYZT.js → config-TKGGYEN7.js} +3 -3
  19. package/dist/dashboard/assets/Accounts-DciFUg4y.js +1 -0
  20. package/dist/dashboard/assets/{Badge-Z4RBdO9j.js → Badge-DUGKlx3Z.js} +1 -1
  21. package/dist/dashboard/assets/{Callout-w8BTYh4k.js → Callout-WgXHDPg0.js} +1 -1
  22. package/dist/dashboard/assets/{Goals-Bw02to72.js → Goals-C6HL1PNE.js} +1 -1
  23. package/dist/dashboard/assets/{Library-DK7mlpRb.js → Library-DwpBYTbK.js} +1 -1
  24. package/dist/dashboard/assets/Markdown-CGgIydUh.js +71 -0
  25. package/dist/dashboard/assets/{Panes-_KTf8pbZ.js → Panes-DxFSwhb7.js} +1 -1
  26. package/dist/dashboard/assets/{RoutesPage-QV0oPRW9.js → RoutesPage-Cyo0MNd7.js} +1 -1
  27. package/dist/dashboard/assets/{Runner-CkHBLQl0.js → Runner-CIL7RxpN.js} +1 -1
  28. package/dist/dashboard/assets/{Settings-BLz2gTBR.js → Settings-B_PEB585.js} +1 -1
  29. package/dist/dashboard/assets/{Tasks-BiUQSTpt.js → Tasks-DEfPSaE6.js} +1 -1
  30. package/dist/dashboard/assets/{Traffic-BVfBuC70.js → Traffic-Dcz-WhsP.js} +1 -1
  31. package/dist/dashboard/assets/{Workspace-CJTgiiU5.js → Workspace-9UCw9q7C.js} +1 -1
  32. package/dist/dashboard/assets/{index-BDBa5cb0.js → index-CpztPbom.js} +3 -3
  33. package/dist/dashboard/assets/{task-errors-Daqwi0ue.js → task-errors-r-WYZ_S3.js} +1 -1
  34. package/dist/dashboard/index.html +2 -2
  35. package/dist/{dist-37VQSHHA.js → dist-F3NRJ5FK.js} +18 -2
  36. package/dist/{doctor-PYUQRRCB.js → doctor-V4XXVVGK.js} +3 -3
  37. package/dist/{goal-SXZUDUCL.js → goal-RUHYPVPA.js} +3 -3
  38. package/dist/index.js +31 -31
  39. package/dist/{init-Z2AFQEEP.js → init-54FKQZ2Z.js} +3 -3
  40. package/dist/{run-AOS7L3RT.js → run-4R25J2VN.js} +3 -3
  41. package/dist/runtime.js +2 -2
  42. package/dist/{start-CEPXKZUE.js → start-GRHW3TGE.js} +3 -3
  43. package/dist/{status-WNJ3GGKU.js → status-QR2HNPBK.js} +4 -4
  44. package/dist/{tasks-TFUTUMWB.js → tasks-BHWDV4JS.js} +4 -4
  45. package/package.json +6 -6
  46. package/dist/chunk-44AFJL2X.js.map +0 -1
  47. package/dist/chunk-FYPMA55O.js.map +0 -1
  48. package/dist/chunk-HSBJDV3O.js.map +0 -1
  49. package/dist/chunk-WQ7MEWDF.js.map +0 -1
  50. package/dist/dashboard/assets/Accounts-cq8RLMoI.js +0 -1
  51. package/dist/dashboard/assets/Markdown-DCZ4Awcc.js +0 -69
  52. /package/dist/{ChatApp-CJBICQGA.js.map → ChatApp-YMHKIAAH.js.map} +0 -0
  53. /package/dist/{account-QWDPJWAA.js.map → account-5QFYCVYM.js.map} +0 -0
  54. /package/dist/{accounts-IQMR72FC.js.map → accounts-756BMMAL.js.map} +0 -0
  55. /package/dist/{budget-XANOUVWO.js.map → budget-PGSNCVVK.js.map} +0 -0
  56. /package/dist/{chat-KDDRNC5V.js.map → chat-D3T4YG5D.js.map} +0 -0
  57. /package/dist/{chunk-AZKACMME.js.map → chunk-6SHOBL2X.js.map} +0 -0
  58. /package/dist/{chunk-W7GPBEBZ.js.map → chunk-IOATP7KH.js.map} +0 -0
  59. /package/dist/{chunk-JLATEHS7.js.map → chunk-K5AA65RS.js.map} +0 -0
  60. /package/dist/{chunk-PGAJIGUF.js.map → chunk-ZNUNYYN6.js.map} +0 -0
  61. /package/dist/{config-YTUPIYZT.js.map → config-TKGGYEN7.js.map} +0 -0
  62. /package/dist/{dist-37VQSHHA.js.map → dist-F3NRJ5FK.js.map} +0 -0
  63. /package/dist/{doctor-PYUQRRCB.js.map → doctor-V4XXVVGK.js.map} +0 -0
  64. /package/dist/{goal-SXZUDUCL.js.map → goal-RUHYPVPA.js.map} +0 -0
  65. /package/dist/{init-Z2AFQEEP.js.map → init-54FKQZ2Z.js.map} +0 -0
  66. /package/dist/{run-AOS7L3RT.js.map → run-4R25J2VN.js.map} +0 -0
  67. /package/dist/{start-CEPXKZUE.js.map → start-GRHW3TGE.js.map} +0 -0
  68. /package/dist/{status-WNJ3GGKU.js.map → status-QR2HNPBK.js.map} +0 -0
  69. /package/dist/{tasks-TFUTUMWB.js.map → tasks-BHWDV4JS.js.map} +0 -0
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  ACCOUNT_SERVICE,
3
+ API_CONFIG_KEYS,
3
4
  AccountClient,
4
5
  AccountError,
5
6
  AccountRepository,
@@ -29,6 +30,7 @@ import {
29
30
  DEFAULT_JEV_BASE_URL,
30
31
  DEFAULT_JEV_MODEL,
31
32
  DEFAULT_ROLES,
33
+ ENDPOINT_CONFIG_KEYS,
32
34
  EXPERIMENTAL_PROVIDER_KINDS,
33
35
  EventBus,
34
36
  ExecutorAbortedError,
@@ -62,6 +64,7 @@ import {
62
64
  OAUTH_PROVIDERS,
63
65
  OpenAICompatibleProvider,
64
66
  OpenAIProvider,
67
+ PROJECT_SETTABLE_KEYS,
65
68
  PROVIDER_KINDS,
66
69
  PathEscapeError,
67
70
  ProjectBrain,
@@ -97,6 +100,7 @@ import {
97
100
  accountServes,
98
101
  accountService,
99
102
  addTask,
103
+ apiConfigIssues,
100
104
  applySafetyGuard,
101
105
  approximateTokens,
102
106
  assertSafeRef,
@@ -121,10 +125,13 @@ import {
121
125
  deepMerge,
122
126
  defaultModelFor,
123
127
  dependentsOf,
128
+ endpointChanged,
129
+ endpointRebindIssue,
124
130
  envLayer,
125
131
  errorKindFromStatus,
126
132
  estimateTokens2,
127
133
  extractJsonObject,
134
+ filterProjectLayer,
128
135
  findCycles,
129
136
  findProjectRoot,
130
137
  geminiCliEnv,
@@ -144,6 +151,7 @@ import {
144
151
  loginCommandFor,
145
152
  loginEnv,
146
153
  loginFromEnv,
154
+ mergeApiConfig,
147
155
  migrate,
148
156
  newId2,
149
157
  nextTask,
@@ -186,9 +194,10 @@ import {
186
194
  validateTaskGraph,
187
195
  withFileLock,
188
196
  writeGlobalRouting
189
- } from "./chunk-HSBJDV3O.js";
197
+ } from "./chunk-HENE4DA6.js";
190
198
  export {
191
199
  ACCOUNT_SERVICE,
200
+ API_CONFIG_KEYS,
192
201
  AccountClient,
193
202
  AccountError,
194
203
  AccountRepository,
@@ -218,6 +227,7 @@ export {
218
227
  DEFAULT_JEV_BASE_URL,
219
228
  DEFAULT_JEV_MODEL,
220
229
  DEFAULT_ROLES,
230
+ ENDPOINT_CONFIG_KEYS,
221
231
  EXPERIMENTAL_PROVIDER_KINDS,
222
232
  EventBus,
223
233
  ExecutorAbortedError,
@@ -251,6 +261,7 @@ export {
251
261
  OAUTH_PROVIDERS,
252
262
  OpenAICompatibleProvider,
253
263
  OpenAIProvider,
264
+ PROJECT_SETTABLE_KEYS,
254
265
  PROVIDER_KINDS,
255
266
  PathEscapeError,
256
267
  ProjectBrain,
@@ -286,6 +297,7 @@ export {
286
297
  accountServes,
287
298
  accountService,
288
299
  addTask,
300
+ apiConfigIssues,
289
301
  applySafetyGuard,
290
302
  approximateTokens,
291
303
  assertSafeRef,
@@ -310,10 +322,13 @@ export {
310
322
  deepMerge,
311
323
  defaultModelFor,
312
324
  dependentsOf,
325
+ endpointChanged,
326
+ endpointRebindIssue,
313
327
  envLayer,
314
328
  errorKindFromStatus,
315
329
  estimateTokens2 as estimateTokens,
316
330
  extractJsonObject,
331
+ filterProjectLayer,
317
332
  findCycles,
318
333
  findProjectRoot,
319
334
  geminiCliEnv,
@@ -333,6 +348,7 @@ export {
333
348
  loginCommandFor,
334
349
  loginEnv,
335
350
  loginFromEnv,
351
+ mergeApiConfig,
336
352
  migrate,
337
353
  newId2 as newId,
338
354
  nextTask,
@@ -376,4 +392,4 @@ export {
376
392
  withFileLock,
377
393
  writeGlobalRouting
378
394
  };
379
- //# sourceMappingURL=dist-37VQSHHA.js.map
395
+ //# sourceMappingURL=dist-F3NRJ5FK.js.map
@@ -10,14 +10,14 @@ import {
10
10
  detectProjectRoot,
11
11
  resolveDashboardDir,
12
12
  which
13
- } from "./chunk-FYPMA55O.js";
13
+ } from "./chunk-JFWMLYV7.js";
14
14
  import {
15
15
  EXIT
16
16
  } from "./chunk-7XVXEO7U.js";
17
17
  import {
18
18
  loadConfig,
19
19
  openDatabase
20
- } from "./chunk-HSBJDV3O.js";
20
+ } from "./chunk-HENE4DA6.js";
21
21
  import "./chunk-MC7RIPL7.js";
22
22
 
23
23
  // src/commands/doctor.ts
@@ -276,4 +276,4 @@ export {
276
276
  renderDoctor,
277
277
  runDoctor
278
278
  };
279
- //# sourceMappingURL=doctor-PYUQRRCB.js.map
279
+ //# sourceMappingURL=doctor-V4XXVVGK.js.map
@@ -9,7 +9,7 @@ import {
9
9
  detectProjectRoot,
10
10
  findGateway,
11
11
  wireProject
12
- } from "./chunk-FYPMA55O.js";
12
+ } from "./chunk-JFWMLYV7.js";
13
13
  import {
14
14
  CliError,
15
15
  EXIT
@@ -19,7 +19,7 @@ import {
19
19
  createEngine,
20
20
  isTerminalGoal,
21
21
  loadConfig
22
- } from "./chunk-HSBJDV3O.js";
22
+ } from "./chunk-HENE4DA6.js";
23
23
  import "./chunk-MC7RIPL7.js";
24
24
 
25
25
  // src/commands/goal.ts
@@ -299,4 +299,4 @@ export {
299
299
  goalsList,
300
300
  goalsShow
301
301
  };
302
- //# sourceMappingURL=goal-SXZUDUCL.js.map
302
+ //# sourceMappingURL=goal-RUHYPVPA.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-37VQSHHA.js");
39
+ const { VERSION } = await import("./dist-F3NRJ5FK.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-KDDRNC5V.js");
44
+ const { chatCommand } = await import("./chat-D3T4YG5D.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-CEPXKZUE.js");
77
+ const { startCommand } = await import("./start-GRHW3TGE.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-CEPXKZUE.js");
83
+ const { startCommand } = await import("./start-GRHW3TGE.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-WNJ3GGKU.js");
89
+ const { statusCommand } = await import("./status-QR2HNPBK.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-KDDRNC5V.js");
95
+ const { chatCommand } = await import("./chat-D3T4YG5D.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-QWDPJWAA.js");
101
+ const { loginCommand } = await import("./account-5QFYCVYM.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-QWDPJWAA.js");
107
+ const { logoutCommand } = await import("./account-5QFYCVYM.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-QWDPJWAA.js");
113
+ const { accountCommand } = await import("./account-5QFYCVYM.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-XANOUVWO.js");
121
+ const { budgetCommand } = await import("./budget-PGSNCVVK.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-PYUQRRCB.js");
127
+ const { doctorCommand } = await import("./doctor-V4XXVVGK.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-AOS7L3RT.js");
141
+ const { runCommand } = await import("./run-4R25J2VN.js");
142
142
  return runCommand(ctx, opts);
143
143
  })
144
144
  );
@@ -166,26 +166,26 @@ Examples:
166
166
  davecode goal "Add a /health endpoint with tests" --max-rounds 2`
167
167
  ).action(
168
168
  run(async (ctx, words, opts) => {
169
- const { goalCommand } = await import("./goal-SXZUDUCL.js");
169
+ const { goalCommand } = await import("./goal-RUHYPVPA.js");
170
170
  return goalCommand(ctx, words, opts);
171
171
  })
172
172
  );
173
173
  const goals = program.command("goals").description("goals of this repository");
174
174
  goals.command("list", { isDefault: true }).alias("ls").description("goals, newest first").option("--project <dir>", "repository (default: detected)").action(
175
175
  run(async (ctx, opts) => {
176
- const { goalsList } = await import("./goal-SXZUDUCL.js");
176
+ const { goalsList } = await import("./goal-RUHYPVPA.js");
177
177
  return goalsList(ctx, opts);
178
178
  })
179
179
  );
180
180
  goals.command("show <id>").description("tasks, artifacts and summary of a goal").option("--project <dir>", "repository (default: detected)").action(
181
181
  run(async (ctx, id, opts) => {
182
- const { goalsShow } = await import("./goal-SXZUDUCL.js");
182
+ const { goalsShow } = await import("./goal-RUHYPVPA.js");
183
183
  return goalsShow(ctx, id, opts);
184
184
  })
185
185
  );
186
186
  goals.command("cancel <id>").description("cancel a running goal").option("--project <dir>", "repository (default: detected)").action(
187
187
  run(async (ctx, id, opts) => {
188
- const { goalsCancel } = await import("./goal-SXZUDUCL.js");
188
+ const { goalsCancel } = await import("./goal-RUHYPVPA.js");
189
189
  return goalsCancel(ctx, id, opts);
190
190
  })
191
191
  );
@@ -193,20 +193,20 @@ Examples:
193
193
  function registerProject(program, run) {
194
194
  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(
195
195
  run(async (ctx, opts) => {
196
- const { initCommand } = await import("./init-Z2AFQEEP.js");
196
+ const { initCommand } = await import("./init-54FKQZ2Z.js");
197
197
  return initCommand(ctx, opts);
198
198
  })
199
199
  );
200
200
  const tasks = program.command("tasks").description("show and edit the task graph");
201
201
  tasks.command("list", { isDefault: true }).alias("ls").description("task tree with status and blocked reasons").action(
202
202
  run(async (ctx) => {
203
- const { tasksList } = await import("./tasks-TFUTUMWB.js");
203
+ const { tasksList } = await import("./tasks-BHWDV4JS.js");
204
204
  return tasksList(ctx);
205
205
  })
206
206
  );
207
207
  tasks.command("next").description("the task the runner would pick next").action(
208
208
  run(async (ctx) => {
209
- const { tasksNext } = await import("./tasks-TFUTUMWB.js");
209
+ const { tasksNext } = await import("./tasks-BHWDV4JS.js");
210
210
  return tasksNext(ctx);
211
211
  })
212
212
  );
@@ -217,33 +217,33 @@ function registerProject(program, run) {
217
217
  ).action(
218
218
  run(
219
219
  async (ctx, id, title, opts) => {
220
- const { tasksAdd } = await import("./tasks-TFUTUMWB.js");
220
+ const { tasksAdd } = await import("./tasks-BHWDV4JS.js");
221
221
  return tasksAdd(ctx, id, title, opts);
222
222
  }
223
223
  )
224
224
  );
225
225
  tasks.command("status <id> <status>").description("move a task to PENDING | IN_PROGRESS | SUCCESS | FAILED").option("--notes <text>", "note stored on the task").action(
226
226
  run(async (ctx, id, status, opts) => {
227
- const { tasksStatus } = await import("./tasks-TFUTUMWB.js");
227
+ const { tasksStatus } = await import("./tasks-BHWDV4JS.js");
228
228
  return tasksStatus(ctx, id, status, opts);
229
229
  })
230
230
  );
231
231
  const config = program.command("config").description("show the resolved configuration");
232
232
  config.command("show", { isDefault: true }).description("resolved config as JSON (secrets redacted)").action(
233
233
  run(async (ctx) => {
234
- const { configShow } = await import("./config-YTUPIYZT.js");
234
+ const { configShow } = await import("./config-TKGGYEN7.js");
235
235
  return configShow(ctx);
236
236
  })
237
237
  );
238
238
  config.command("path").description("where config, state and brains live").action(
239
239
  run(async (ctx) => {
240
- const { configPath } = await import("./config-YTUPIYZT.js");
240
+ const { configPath } = await import("./config-TKGGYEN7.js");
241
241
  return configPath(ctx);
242
242
  })
243
243
  );
244
244
  config.command("get <key>").description("one value by dotted key, e.g. server.port").action(
245
245
  run(async (ctx, key) => {
246
- const { configGet } = await import("./config-YTUPIYZT.js");
246
+ const { configGet } = await import("./config-TKGGYEN7.js");
247
247
  return configGet(ctx, key);
248
248
  })
249
249
  );
@@ -267,7 +267,7 @@ Examples:
267
267
  davecode accounts add --provider claude-cli --label "Claude Pro" --yes`
268
268
  ).action(
269
269
  run(async (ctx, opts) => {
270
- const { accountsAdd } = await import("./accounts-IQMR72FC.js");
270
+ const { accountsAdd } = await import("./accounts-756BMMAL.js");
271
271
  return accountsAdd(ctx, opts);
272
272
  })
273
273
  );
@@ -276,7 +276,7 @@ function registerAccounts(program, run) {
276
276
  const accounts = program.command("accounts").description("manage provider accounts");
277
277
  accounts.command("list", { isDefault: true }).alias("ls").description("list accounts").option("--local", "read the local database even if a gateway is running").action(
278
278
  run(async (ctx, opts) => {
279
- const { accountsList } = await import("./accounts-IQMR72FC.js");
279
+ const { accountsList } = await import("./accounts-756BMMAL.js");
280
280
  return accountsList(ctx, opts);
281
281
  })
282
282
  );
@@ -286,7 +286,7 @@ function registerAccounts(program, run) {
286
286
  );
287
287
  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(
288
288
  run(async (ctx, id, opts) => {
289
- const { accountsRemove } = await import("./accounts-IQMR72FC.js");
289
+ const { accountsRemove } = await import("./accounts-756BMMAL.js");
290
290
  return accountsRemove(ctx, id, opts);
291
291
  })
292
292
  );
@@ -296,7 +296,7 @@ function registerAccounts(program, run) {
296
296
  ]) {
297
297
  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(
298
298
  run(async (ctx, id, opts) => {
299
- const { accountsSetEnabled } = await import("./accounts-IQMR72FC.js");
299
+ const { accountsSetEnabled } = await import("./accounts-756BMMAL.js");
300
300
  return accountsSetEnabled(ctx, id, enabled, opts);
301
301
  })
302
302
  );
@@ -308,7 +308,7 @@ Entered by hand: DaveCode never reads billing pages. Example:
308
308
  davecode accounts plan acc_123 --plan "Claude Pro" --price 20 --renews 2026-11-01`
309
309
  ).action(
310
310
  run(async (ctx, id, opts) => {
311
- const { accountsPlan } = await import("./accounts-IQMR72FC.js");
311
+ const { accountsPlan } = await import("./accounts-756BMMAL.js");
312
312
  return accountsPlan(ctx, id, opts);
313
313
  })
314
314
  );
@@ -324,7 +324,7 @@ Extra arguments after -- replace the default ones (e.g. -- login --device-auth f
324
324
  ).action(
325
325
  run(
326
326
  async (ctx, id, args, opts) => {
327
- const { accountsLogin } = await import("./accounts-IQMR72FC.js");
327
+ const { accountsLogin } = await import("./accounts-756BMMAL.js");
328
328
  return accountsLogin(ctx, id, args, opts);
329
329
  }
330
330
  )
@@ -338,7 +338,7 @@ connected, start the vendor's own sign-in. Example:
338
338
  davecode accounts connect acc_123 --check`
339
339
  ).action(
340
340
  run(async (ctx, id, opts) => {
341
- const { accountsConnect } = await import("./accounts-IQMR72FC.js");
341
+ const { accountsConnect } = await import("./accounts-756BMMAL.js");
342
342
  return accountsConnect(ctx, id, opts);
343
343
  })
344
344
  );
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-QA3O6RA2.js";
7
7
  import {
8
8
  detectProjectRoot
9
- } from "./chunk-FYPMA55O.js";
9
+ } from "./chunk-JFWMLYV7.js";
10
10
  import {
11
11
  CliError,
12
12
  EXIT
@@ -15,7 +15,7 @@ import {
15
15
  ProjectBrain,
16
16
  configSchema,
17
17
  projectPaths
18
- } from "./chunk-HSBJDV3O.js";
18
+ } from "./chunk-HENE4DA6.js";
19
19
  import "./chunk-MC7RIPL7.js";
20
20
 
21
21
  // src/commands/init.ts
@@ -191,4 +191,4 @@ export {
191
191
  ensureLockIgnored,
192
192
  initCommand
193
193
  };
194
- //# sourceMappingURL=init-Z2AFQEEP.js.map
194
+ //# sourceMappingURL=init-54FKQZ2Z.js.map
@@ -18,7 +18,7 @@ import {
18
18
  detectProjectRoot,
19
19
  findGateway,
20
20
  wireProject
21
- } from "./chunk-FYPMA55O.js";
21
+ } from "./chunk-JFWMLYV7.js";
22
22
  import {
23
23
  CliError,
24
24
  EXIT
@@ -28,7 +28,7 @@ import {
28
28
  RunnerError,
29
29
  createEngine,
30
30
  loadConfig
31
- } from "./chunk-HSBJDV3O.js";
31
+ } from "./chunk-HENE4DA6.js";
32
32
  import "./chunk-MC7RIPL7.js";
33
33
 
34
34
  // src/commands/run.ts
@@ -373,4 +373,4 @@ export {
373
373
  explainRunnerError,
374
374
  runCommand
375
375
  };
376
- //# sourceMappingURL=run-AOS7L3RT.js.map
376
+ //# sourceMappingURL=run-4R25J2VN.js.map
package/dist/runtime.js CHANGED
@@ -5,8 +5,8 @@ import {
5
5
  resolveProjectRoot,
6
6
  startRuntime,
7
7
  wireProject
8
- } from "./chunk-FYPMA55O.js";
9
- import "./chunk-HSBJDV3O.js";
8
+ } from "./chunk-JFWMLYV7.js";
9
+ import "./chunk-HENE4DA6.js";
10
10
  export {
11
11
  detectProjectRoot,
12
12
  launchLoginTerminal,
@@ -10,7 +10,7 @@ import {
10
10
  findGateway,
11
11
  startRuntime,
12
12
  which
13
- } from "./chunk-FYPMA55O.js";
13
+ } from "./chunk-JFWMLYV7.js";
14
14
  import {
15
15
  CliError,
16
16
  EXIT
@@ -19,7 +19,7 @@ import {
19
19
  VERSION,
20
20
  loadConfig,
21
21
  summarize
22
- } from "./chunk-HSBJDV3O.js";
22
+ } from "./chunk-HENE4DA6.js";
23
23
  import "./chunk-MC7RIPL7.js";
24
24
 
25
25
  // src/commands/start.ts
@@ -282,4 +282,4 @@ async function startCommand(ctx, opts, deps = {}) {
282
282
  export {
283
283
  startCommand
284
284
  };
285
- //# sourceMappingURL=start-CEPXKZUE.js.map
285
+ //# sourceMappingURL=start-GRHW3TGE.js.map
@@ -6,12 +6,12 @@ import {
6
6
  renderStatus,
7
7
  statusCommand,
8
8
  windowCell
9
- } from "./chunk-PGAJIGUF.js";
9
+ } from "./chunk-ZNUNYYN6.js";
10
10
  import "./chunk-SF5ZEAP4.js";
11
11
  import "./chunk-QA3O6RA2.js";
12
- import "./chunk-FYPMA55O.js";
12
+ import "./chunk-JFWMLYV7.js";
13
13
  import "./chunk-7XVXEO7U.js";
14
- import "./chunk-HSBJDV3O.js";
14
+ import "./chunk-HENE4DA6.js";
15
15
  import "./chunk-MC7RIPL7.js";
16
16
  export {
17
17
  emptyUsage,
@@ -22,4 +22,4 @@ export {
22
22
  statusCommand,
23
23
  windowCell
24
24
  };
25
- //# sourceMappingURL=status-WNJ3GGKU.js.map
25
+ //# sourceMappingURL=status-QR2HNPBK.js.map
@@ -2,14 +2,14 @@ import {
2
2
  formatTaskDetail,
3
3
  formatTaskTree,
4
4
  summaryLine
5
- } from "./chunk-AZKACMME.js";
5
+ } from "./chunk-6SHOBL2X.js";
6
6
  import "./chunk-SF5ZEAP4.js";
7
7
  import {
8
8
  printJson
9
9
  } from "./chunk-QA3O6RA2.js";
10
10
  import {
11
11
  detectProjectRoot
12
- } from "./chunk-FYPMA55O.js";
12
+ } from "./chunk-JFWMLYV7.js";
13
13
  import {
14
14
  CliError,
15
15
  EXIT
@@ -22,7 +22,7 @@ import {
22
22
  nextTask,
23
23
  parseTaskGraph,
24
24
  summarize
25
- } from "./chunk-HSBJDV3O.js";
25
+ } from "./chunk-HENE4DA6.js";
26
26
  import "./chunk-MC7RIPL7.js";
27
27
 
28
28
  // src/commands/tasks.ts
@@ -181,4 +181,4 @@ export {
181
181
  tasksNext,
182
182
  tasksStatus
183
183
  };
184
- //# sourceMappingURL=tasks-TFUTUMWB.js.map
184
+ //# sourceMappingURL=tasks-BHWDV4JS.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmrlzz/davecode",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "DaveCode CLI & TUI: run the gateway, manage accounts and drive the autonomous engine from your terminal.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,10 +44,10 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@fastify/cors": "^11.3.1",
47
- "@fastify/static": "^10.1.7",
47
+ "@fastify/static": "^10.1.8",
48
48
  "better-sqlite3": "^13.0.3",
49
49
  "commander": "^15.0.0",
50
- "fastify": "^5.12.5",
50
+ "fastify": "^5.12.7",
51
51
  "ink": "^8.0.0",
52
52
  "js-tiktoken": "^1.0.21",
53
53
  "react": "^19.3.1",
@@ -64,9 +64,9 @@
64
64
  "devDependencies": {
65
65
  "@types/react": "^19.3.0",
66
66
  "ink-testing-library": "^4.0.0",
67
- "@davecode/server": "0.5.0",
68
- "@davecode/ui": "0.5.0",
69
- "@davecode/core": "0.5.0"
67
+ "@davecode/core": "0.5.1",
68
+ "@davecode/server": "0.5.1",
69
+ "@davecode/ui": "0.5.1"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsup",