@dmrlzz/davecode 0.5.2 → 0.5.3
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/{ChatApp-Z6PQIZ5J.js → ChatApp-IF5D7XNH.js} +6 -6
- package/dist/{account-RTPS2V6O.js → account-KBXJ5KR7.js} +3 -3
- package/dist/{accounts-IYQ4ZRL7.js → accounts-XUJNDCFH.js} +5 -5
- package/dist/{budget-N2ZB66FF.js → budget-PHV4NRUS.js} +4 -4
- package/dist/{chat-6TX6JX45.js → chat-HGTX76DU.js} +8 -8
- package/dist/{chunk-UEV5K3DH.js → chunk-AFCQURO5.js} +3 -3
- package/dist/{chunk-BJTXMET2.js → chunk-DFQW3MRD.js} +2 -2
- package/dist/{chunk-UNK3EQD6.js → chunk-EBV5A33R.js} +4 -4
- package/dist/{chunk-WAARDGCZ.js → chunk-FPSLYBLU.js} +2 -2
- package/dist/{chunk-LEU46DGH.js → chunk-FZJNOG2T.js} +2 -2
- package/dist/{chunk-QKY3OKVG.js → chunk-ING5HCIO.js} +2 -2
- package/dist/{chunk-QKY3OKVG.js.map → chunk-ING5HCIO.js.map} +1 -1
- package/dist/{chunk-KUY3QHGS.js → chunk-YSD6W27K.js} +2 -2
- package/dist/{chunk-YNAMNQLW.js → chunk-ZVNX7CSO.js} +3 -3
- package/dist/{config-YQKY2AA4.js → config-DG2E4VDW.js} +3 -3
- package/dist/{dist-PIC255RX.js → dist-IPMBGFJD.js} +2 -2
- package/dist/{doctor-PQC7JQPP.js → doctor-5APOWJ5D.js} +3 -3
- package/dist/{goal-STLEU7C7.js → goal-ETZWLVKO.js} +3 -3
- package/dist/index.js +31 -31
- package/dist/{init-NHU5LJSS.js → init-YDLNA3GD.js} +3 -3
- package/dist/{run-7HWSHMRJ.js → run-I6N7TLHV.js} +3 -3
- package/dist/runtime.js +2 -2
- package/dist/{start-WVAEAQWL.js → start-ECLELJGJ.js} +3 -3
- package/dist/{status-ZRHPFLFT.js → status-QQPP67I4.js} +4 -4
- package/dist/{tasks-JVWXUNXN.js → tasks-RNMC2XFN.js} +4 -4
- package/package.json +4 -4
- /package/dist/{ChatApp-Z6PQIZ5J.js.map → ChatApp-IF5D7XNH.js.map} +0 -0
- /package/dist/{account-RTPS2V6O.js.map → account-KBXJ5KR7.js.map} +0 -0
- /package/dist/{accounts-IYQ4ZRL7.js.map → accounts-XUJNDCFH.js.map} +0 -0
- /package/dist/{budget-N2ZB66FF.js.map → budget-PHV4NRUS.js.map} +0 -0
- /package/dist/{chat-6TX6JX45.js.map → chat-HGTX76DU.js.map} +0 -0
- /package/dist/{chunk-UEV5K3DH.js.map → chunk-AFCQURO5.js.map} +0 -0
- /package/dist/{chunk-BJTXMET2.js.map → chunk-DFQW3MRD.js.map} +0 -0
- /package/dist/{chunk-UNK3EQD6.js.map → chunk-EBV5A33R.js.map} +0 -0
- /package/dist/{chunk-WAARDGCZ.js.map → chunk-FPSLYBLU.js.map} +0 -0
- /package/dist/{chunk-LEU46DGH.js.map → chunk-FZJNOG2T.js.map} +0 -0
- /package/dist/{chunk-KUY3QHGS.js.map → chunk-YSD6W27K.js.map} +0 -0
- /package/dist/{chunk-YNAMNQLW.js.map → chunk-ZVNX7CSO.js.map} +0 -0
- /package/dist/{config-YQKY2AA4.js.map → config-DG2E4VDW.js.map} +0 -0
- /package/dist/{dist-PIC255RX.js.map → dist-IPMBGFJD.js.map} +0 -0
- /package/dist/{doctor-PQC7JQPP.js.map → doctor-5APOWJ5D.js.map} +0 -0
- /package/dist/{goal-STLEU7C7.js.map → goal-ETZWLVKO.js.map} +0 -0
- /package/dist/{init-NHU5LJSS.js.map → init-YDLNA3GD.js.map} +0 -0
- /package/dist/{run-7HWSHMRJ.js.map → run-I6N7TLHV.js.map} +0 -0
- /package/dist/{start-WVAEAQWL.js.map → start-ECLELJGJ.js.map} +0 -0
- /package/dist/{status-ZRHPFLFT.js.map → status-QQPP67I4.js.map} +0 -0
- /package/dist/{tasks-JVWXUNXN.js.map → tasks-RNMC2XFN.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
newId2,
|
|
26
26
|
routeSchema,
|
|
27
27
|
taskIdSchema
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ING5HCIO.js";
|
|
29
29
|
|
|
30
30
|
// src/runtime.ts
|
|
31
31
|
import { existsSync as existsSync3 } from "fs";
|
|
@@ -1744,4 +1744,4 @@ export {
|
|
|
1744
1744
|
resolveProjectRoot,
|
|
1745
1745
|
startRuntime
|
|
1746
1746
|
};
|
|
1747
|
-
//# sourceMappingURL=chunk-
|
|
1747
|
+
//# sourceMappingURL=chunk-YSD6W27K.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
detectProjectRoot,
|
|
15
15
|
findGateway,
|
|
16
16
|
targetFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YSD6W27K.js";
|
|
18
18
|
import {
|
|
19
19
|
EXIT
|
|
20
20
|
} from "./chunk-7XVXEO7U.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
QUOTA_WINDOWS,
|
|
23
23
|
createEngine,
|
|
24
24
|
loadConfig
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ING5HCIO.js";
|
|
26
26
|
|
|
27
27
|
// src/commands/status.ts
|
|
28
28
|
function emptyUsage(accountId) {
|
|
@@ -210,4 +210,4 @@ export {
|
|
|
210
210
|
renderStatus,
|
|
211
211
|
statusCommand
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=chunk-
|
|
213
|
+
//# sourceMappingURL=chunk-ZVNX7CSO.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-QA3O6RA2.js";
|
|
7
7
|
import {
|
|
8
8
|
detectProjectRoot
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YSD6W27K.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError,
|
|
12
12
|
EXIT
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
globalPaths,
|
|
17
17
|
loadConfig,
|
|
18
18
|
projectPaths
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ING5HCIO.js";
|
|
20
20
|
import "./chunk-MC7RIPL7.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/config.ts
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
configPath,
|
|
157
157
|
configShow
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=config-
|
|
159
|
+
//# sourceMappingURL=config-DG2E4VDW.js.map
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
validateTaskGraph,
|
|
196
196
|
withFileLock,
|
|
197
197
|
writeGlobalRouting
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-ING5HCIO.js";
|
|
199
199
|
export {
|
|
200
200
|
ACCOUNT_SERVICE,
|
|
201
201
|
API_CONFIG_KEYS,
|
|
@@ -394,4 +394,4 @@ export {
|
|
|
394
394
|
withFileLock,
|
|
395
395
|
writeGlobalRouting
|
|
396
396
|
};
|
|
397
|
-
//# sourceMappingURL=dist-
|
|
397
|
+
//# sourceMappingURL=dist-IPMBGFJD.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
detectProjectRoot,
|
|
11
11
|
resolveDashboardDir,
|
|
12
12
|
which
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YSD6W27K.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-
|
|
21
|
+
} from "./chunk-ING5HCIO.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-
|
|
280
|
+
//# sourceMappingURL=doctor-5APOWJ5D.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
detectProjectRoot,
|
|
10
10
|
findGateway,
|
|
11
11
|
wireProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YSD6W27K.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
EXIT
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
createEngine,
|
|
21
21
|
isTerminalGoal,
|
|
22
22
|
loadConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ING5HCIO.js";
|
|
24
24
|
import "./chunk-MC7RIPL7.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/goal.ts
|
|
@@ -300,4 +300,4 @@ export {
|
|
|
300
300
|
goalsList,
|
|
301
301
|
goalsShow
|
|
302
302
|
};
|
|
303
|
-
//# sourceMappingURL=goal-
|
|
303
|
+
//# sourceMappingURL=goal-ETZWLVKO.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-
|
|
39
|
+
const { VERSION } = await import("./dist-IPMBGFJD.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-
|
|
44
|
+
const { chatCommand } = await import("./chat-HGTX76DU.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-
|
|
77
|
+
const { startCommand } = await import("./start-ECLELJGJ.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-
|
|
83
|
+
const { startCommand } = await import("./start-ECLELJGJ.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-
|
|
89
|
+
const { statusCommand } = await import("./status-QQPP67I4.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-
|
|
95
|
+
const { chatCommand } = await import("./chat-HGTX76DU.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-
|
|
101
|
+
const { loginCommand } = await import("./account-KBXJ5KR7.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-
|
|
107
|
+
const { logoutCommand } = await import("./account-KBXJ5KR7.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-
|
|
113
|
+
const { accountCommand } = await import("./account-KBXJ5KR7.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-
|
|
121
|
+
const { budgetCommand } = await import("./budget-PHV4NRUS.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-
|
|
127
|
+
const { doctorCommand } = await import("./doctor-5APOWJ5D.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-
|
|
141
|
+
const { runCommand } = await import("./run-I6N7TLHV.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-
|
|
169
|
+
const { goalCommand } = await import("./goal-ETZWLVKO.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-
|
|
176
|
+
const { goalsList } = await import("./goal-ETZWLVKO.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-
|
|
182
|
+
const { goalsShow } = await import("./goal-ETZWLVKO.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-
|
|
188
|
+
const { goalsCancel } = await import("./goal-ETZWLVKO.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-
|
|
196
|
+
const { initCommand } = await import("./init-YDLNA3GD.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-
|
|
203
|
+
const { tasksList } = await import("./tasks-RNMC2XFN.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-
|
|
209
|
+
const { tasksNext } = await import("./tasks-RNMC2XFN.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-
|
|
220
|
+
const { tasksAdd } = await import("./tasks-RNMC2XFN.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-
|
|
227
|
+
const { tasksStatus } = await import("./tasks-RNMC2XFN.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-
|
|
234
|
+
const { configShow } = await import("./config-DG2E4VDW.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-
|
|
240
|
+
const { configPath } = await import("./config-DG2E4VDW.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-
|
|
246
|
+
const { configGet } = await import("./config-DG2E4VDW.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-
|
|
270
|
+
const { accountsAdd } = await import("./accounts-XUJNDCFH.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-
|
|
279
|
+
const { accountsList } = await import("./accounts-XUJNDCFH.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-
|
|
289
|
+
const { accountsRemove } = await import("./accounts-XUJNDCFH.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-
|
|
299
|
+
const { accountsSetEnabled } = await import("./accounts-XUJNDCFH.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-
|
|
311
|
+
const { accountsPlan } = await import("./accounts-XUJNDCFH.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-
|
|
327
|
+
const { accountsLogin } = await import("./accounts-XUJNDCFH.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-
|
|
341
|
+
const { accountsConnect } = await import("./accounts-XUJNDCFH.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-
|
|
9
|
+
} from "./chunk-YSD6W27K.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-
|
|
19
|
+
} from "./chunk-ING5HCIO.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-
|
|
195
|
+
//# sourceMappingURL=init-YDLNA3GD.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
detectProjectRoot,
|
|
19
19
|
findGateway,
|
|
20
20
|
wireProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YSD6W27K.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-
|
|
32
|
+
} from "./chunk-ING5HCIO.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-
|
|
377
|
+
//# sourceMappingURL=run-I6N7TLHV.js.map
|
package/dist/runtime.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
resolveProjectRoot,
|
|
6
6
|
startRuntime,
|
|
7
7
|
wireProject
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YSD6W27K.js";
|
|
9
9
|
import "./chunk-732GIHRQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ING5HCIO.js";
|
|
11
11
|
export {
|
|
12
12
|
detectProjectRoot,
|
|
13
13
|
launchLoginTerminal,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
findGateway,
|
|
11
11
|
startRuntime,
|
|
12
12
|
which
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YSD6W27K.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-
|
|
23
|
+
} from "./chunk-ING5HCIO.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-
|
|
286
|
+
//# sourceMappingURL=start-ECLELJGJ.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
renderStatus,
|
|
7
7
|
statusCommand,
|
|
8
8
|
windowCell
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZVNX7CSO.js";
|
|
10
10
|
import "./chunk-SF5ZEAP4.js";
|
|
11
11
|
import "./chunk-QA3O6RA2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YSD6W27K.js";
|
|
13
13
|
import "./chunk-7XVXEO7U.js";
|
|
14
14
|
import "./chunk-732GIHRQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ING5HCIO.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-
|
|
26
|
+
//# sourceMappingURL=status-QQPP67I4.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
formatTaskDetail,
|
|
3
3
|
formatTaskTree,
|
|
4
4
|
summaryLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DFQW3MRD.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-
|
|
12
|
+
} from "./chunk-YSD6W27K.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
EXIT
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
nextTask,
|
|
24
24
|
parseTaskGraph,
|
|
25
25
|
summarize
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ING5HCIO.js";
|
|
27
27
|
import "./chunk-MC7RIPL7.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/tasks.ts
|
|
@@ -182,4 +182,4 @@ export {
|
|
|
182
182
|
tasksNext,
|
|
183
183
|
tasksStatus
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=tasks-
|
|
185
|
+
//# sourceMappingURL=tasks-RNMC2XFN.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dmrlzz/davecode",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/react": "^19.3.0",
|
|
66
66
|
"ink-testing-library": "^4.0.0",
|
|
67
|
-
"@davecode/core": "0.5.
|
|
68
|
-
"@davecode/server": "0.5.
|
|
69
|
-
"@davecode/ui": "0.5.
|
|
67
|
+
"@davecode/core": "0.5.3",
|
|
68
|
+
"@davecode/server": "0.5.3",
|
|
69
|
+
"@davecode/ui": "0.5.3"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "tsup",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|