void 0.7.0 → 0.7.2
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/agents-DqkFfc2c.mjs +151 -0
- package/dist/{auth-cmd-Dx8oPKZC.mjs → auth-cmd-Dk0acCT5.mjs} +2 -2
- package/dist/{better-auth-shared-C9_GHSkR.d.mts → better-auth-shared-CZsIpjey.d.mts} +1 -1
- package/dist/{cache-W82I8ihI.mjs → cache-DGSZ5Bh6.mjs} +2 -2
- package/dist/{cancel-deploy-BOBTqqh0.mjs → cancel-deploy-CrY3kt93.mjs} +1 -1
- package/dist/cli/cli.mjs +37 -177
- package/dist/{client-snXOjrp1.mjs → client-DCqnMpDt.mjs} +161 -18
- package/dist/{create-project-BIA15W7z.mjs → create-project-Bg88Kq_I.mjs} +3 -3
- package/dist/{db-DsRoMcfN.mjs → db-ClNu7vYQ.mjs} +13 -13
- package/dist/{delete-DAP6yDc7.mjs → delete-DXcX1yQZ.mjs} +2 -2
- package/dist/{deploy-BPKblFx6.mjs → deploy-BkjqNk9U.mjs} +888 -185
- package/dist/{domain-BGofcQ6I.mjs → domain-CDQhvYNZ.mjs} +1 -1
- package/dist/{env-CyG3tvU0.mjs → env-CnrQY2b6.mjs} +1 -1
- package/dist/{env-helpers-Dr9Y7RnE.d.mts → env-helpers-CbeM_7-k.d.mts} +1 -1
- package/dist/{gen-U0Ktr4Zd.mjs → gen-C0EY2k27.mjs} +1 -1
- package/dist/{handler-B0ds0OHJ.d.mts → handler-dKQWyF-G.d.mts} +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +13 -12
- package/dist/{init-C7wS5iGP.mjs → init-CPny6w9D.mjs} +63 -28
- package/dist/{link-p2R6NbgN.mjs → link-eZ0aiHFK.mjs} +2 -2
- package/dist/{list-Bfel-QLc.mjs → list-ztyEz4TW.mjs} +2 -2
- package/dist/{login-CkcXUiIu.mjs → login-B5HHT32i.mjs} +1 -1
- package/dist/{logs-DmkrRvx6.mjs → logs-J4BN0LXd.mjs} +1 -1
- package/dist/{mcp-CaQzfeUi.mjs → mcp-Bdu9bnjR.mjs} +1 -1
- package/dist/{node-DDfXj10V.mjs → node-DFqMcZR1.mjs} +3 -3
- package/dist/pages/client.d.mts +1 -1
- package/dist/pages/client.mjs +3 -0
- package/dist/pages/head-client.d.mts +1 -1
- package/dist/pages/head.d.mts +1 -1
- package/dist/pages/index.d.mts +2 -2
- package/dist/pages/index.mjs +1 -1
- package/dist/pages/islands-plugin.d.mts +1 -1
- package/dist/pages/protocol.d.mts +2 -2
- package/dist/pages/protocol.mjs +23 -18
- package/dist/{prepare-BAtWufvm.mjs → prepare-DKkx-2Kt.mjs} +1 -1
- package/dist/{project-cmd-B7lQp3F3.mjs → project-cmd-DKiQYdSd.mjs} +8 -8
- package/dist/{protocol-BWzXs2A2.d.mts → protocol-CK4OFwfR.d.mts} +2 -2
- package/dist/{rollback-gyC59l7U.mjs → rollback-ZNvT8T54.mjs} +1 -1
- package/dist/{runner-6Ep3fNQu.mjs → runner-BUPRnMFN.mjs} +1 -1
- package/dist/runtime/ai.mjs +1 -1
- package/dist/runtime/auth.d.mts +1 -1
- package/dist/runtime/better-auth-pg.d.mts +1 -1
- package/dist/runtime/better-auth-pg.mjs +2 -2
- package/dist/runtime/better-auth.d.mts +1 -1
- package/dist/runtime/better-auth.mjs +2 -2
- package/dist/runtime/client.d.mts +2 -2
- package/dist/runtime/client.mjs +1 -1
- package/dist/runtime/env-helpers.d.mts +1 -1
- package/dist/runtime/env-public-client.d.mts +1 -1
- package/dist/runtime/env-public.d.mts +2 -2
- package/dist/runtime/env-public.mjs +1 -1
- package/dist/runtime/env.mjs +1 -1
- package/dist/runtime/fetch-stream.d.mts +1 -1
- package/dist/runtime/fetch-stream.mjs +1 -1
- package/dist/runtime/fetch.d.mts +1 -1
- package/dist/runtime/fetch.mjs +1 -1
- package/dist/runtime/handler.d.mts +1 -1
- package/dist/runtime/handler.mjs +1 -1
- package/dist/runtime/isr.mjs +1 -1
- package/dist/runtime/migration-handler.mjs +2 -2
- package/dist/runtime/validator.d.mts +1 -1
- package/dist/runtime/ws-server.d.mts +2 -2
- package/dist/runtime/ws.d.mts +3 -3
- package/dist/{secret-CeRSukgM.mjs → secret-BXHx515u.mjs} +2 -2
- package/dist/{skills-ipldjlKE.mjs → skills-CbuYOthf.mjs} +1 -1
- package/package.json +20 -20
- package/skills/void/docs/guide/deployment.md +4 -6
- package/skills/void/docs/index.md +3 -3
- package/skills/void/docs/node_modules/void/AGENTS.md +1 -1
- package/skills/void/docs/node_modules/void/node_modules/@types/node/README.md +1 -1
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/@types/node/README.md +1 -1
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/AGENTS.md +15 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/README.md +208 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/build.md +21 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/fmt.md +18 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/index.md +31 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/lint.md +24 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/pack.md +17 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/run.md +249 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/staged.md +15 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/config/test.md +18 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/build.md +40 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/cache.md +119 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/check.md +44 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ci.md +64 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/commit-hooks.md +51 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/create.md +88 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/dev.md +24 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/env.md +102 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/fmt.md +41 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/ide-integration.md +101 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/implode.md +23 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/index.md +128 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/install.md +147 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/lint.md +50 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/migrate.md +173 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/pack.md +61 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/run.md +324 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/test.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/troubleshooting.md +132 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/upgrade.md +49 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/vpx.md +66 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/guide/why.md +39 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/index.md +12 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/docs/team.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/generator/README.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite-plus/templates/monorepo/README.md +29 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/AGENTS.md +15 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/README.md +208 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/build.md +21 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/fmt.md +18 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/index.md +31 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/lint.md +24 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/pack.md +17 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/run.md +249 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/staged.md +15 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/config/test.md +18 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/build.md +40 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/cache.md +119 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/check.md +44 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ci.md +64 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/commit-hooks.md +51 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/create.md +88 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/dev.md +24 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/env.md +102 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/fmt.md +41 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/ide-integration.md +101 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/implode.md +23 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/index.md +128 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/install.md +147 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/lint.md +50 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/migrate.md +173 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/pack.md +61 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/run.md +324 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/test.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/troubleshooting.md +132 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/upgrade.md +49 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/vpx.md +66 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/guide/why.md +39 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/index.md +12 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/docs/team.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/generator/README.md +35 -0
- package/skills/void/docs/node_modules/void/node_modules/vite-plus/templates/monorepo/README.md +29 -0
- package/skills/void/docs/reference/cli.md +10 -7
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/tsdown/README.md +0 -55
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/LICENSE.md +0 -2230
- package/skills/void/docs/node_modules/void/node_modules/@void/md/node_modules/vite/README.md +0 -20
- package/skills/void/docs/node_modules/void/node_modules/tsdown/README.md +0 -55
- package/skills/void/docs/node_modules/void/node_modules/vite/LICENSE.md +0 -2230
- package/skills/void/docs/node_modules/void/node_modules/vite/README.md +0 -20
- /package/dist/{auth-BdsJ0Aff.d.mts → auth-DrfOTMmr.d.mts} +0 -0
- /package/dist/{auth-migrations-BAtAck2g.mjs → auth-migrations-BwLPwRgH.mjs} +0 -0
- /package/dist/{better-auth-shared-CdYmQGry.mjs → better-auth-shared-APuDaPqW.mjs} +0 -0
- /package/dist/{defer-DcxEsVH1.mjs → defer-2ARBu8Et.mjs} +0 -0
- /package/dist/{drizzle-NnudE_UN.mjs → drizzle-C-NRqGhx.mjs} +0 -0
- /package/dist/{env-raw-BDL4TvdN.mjs → env-raw-DtfQ9E31.mjs} +0 -0
- /package/dist/{fetch-error-BQ8sZ5Nd.mjs → fetch-error-CEr0ACTl.mjs} +0 -0
- /package/dist/{fetch-error-CVZ5CGA-.d.mts → fetch-error-DflegrF3.d.mts} +0 -0
- /package/dist/{head-P-egrtFE.d.mts → head-CZGAunBV.d.mts} +0 -0
- /package/dist/{headers-DCXc7mDs.mjs → headers-YVkHjOyq.mjs} +0 -0
- /package/dist/{preset-D4I73kT4.mjs → preset-DFvePt0l.mjs} +0 -0
- /package/dist/{project-slug-CKam8lF9.mjs → project-slug-KRvHQEQI.mjs} +0 -0
- /package/dist/{resolve-project-Br5BR03U.mjs → resolve-project-DdjLQ2tB.mjs} +0 -0
- /package/dist/{runner-pg-D0wWHYnr.mjs → runner-pg-BI6f6Ncm.mjs} +0 -0
- /package/dist/{standard-schema-9CRjx-uR.d.mts → standard-schema-BfGDWXff.d.mts} +0 -0
- /package/dist/{subcommand-prompt-BKjuNAPb.mjs → subcommand-prompt-BMS1TNG5.mjs} +0 -0
- /package/dist/{types-mHOEwpW4.d.mts → types-AdKzPp2C.d.mts} +0 -0
- /package/dist/{yarn-pnp-BFqMV_bl.mjs → yarn-pnp-6LD6_3Ej.mjs} +0 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { a as join } from "./pathe.M-eThtNZ-D-kmWkCS.mjs";
|
|
2
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
//#region src/cli/agents.ts
|
|
5
|
+
function getPackageDir() {
|
|
6
|
+
let dir = join(fileURLToPath(import.meta.url), "..");
|
|
7
|
+
for (let i = 0; i < 5; i++) {
|
|
8
|
+
if (existsSync(join(dir, "package.json"))) {
|
|
9
|
+
if (JSON.parse(readFileSync(join(dir, "package.json"), "utf-8")).name === "void") return dir;
|
|
10
|
+
}
|
|
11
|
+
dir = join(dir, "..");
|
|
12
|
+
}
|
|
13
|
+
throw new Error("Could not find void package root");
|
|
14
|
+
}
|
|
15
|
+
const agents = {
|
|
16
|
+
"claude-code": {
|
|
17
|
+
displayName: "Claude Code",
|
|
18
|
+
skillsDir: ".claude/skills",
|
|
19
|
+
detect: (root) => existsSync(join(root, ".claude")) || existsSync(join(root, "CLAUDE.md")),
|
|
20
|
+
mcpConfig: [{
|
|
21
|
+
filePath: ".claude/settings.json",
|
|
22
|
+
rootKey: "mcpServers"
|
|
23
|
+
}, {
|
|
24
|
+
filePath: ".claude/settings.local.json",
|
|
25
|
+
rootKey: "mcpServers"
|
|
26
|
+
}]
|
|
27
|
+
},
|
|
28
|
+
amp: {
|
|
29
|
+
displayName: "Amp",
|
|
30
|
+
skillsDir: ".agents/skills",
|
|
31
|
+
detect: (root) => existsSync(join(root, ".agents")),
|
|
32
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
33
|
+
},
|
|
34
|
+
codex: {
|
|
35
|
+
displayName: "Codex",
|
|
36
|
+
skillsDir: ".agents/skills",
|
|
37
|
+
detect: (root) => existsSync(join(root, ".codex")),
|
|
38
|
+
mcpHint: "codex mcp add void -- npx void mcp"
|
|
39
|
+
},
|
|
40
|
+
cursor: {
|
|
41
|
+
displayName: "Cursor",
|
|
42
|
+
skillsDir: ".agents/skills",
|
|
43
|
+
detect: (root) => existsSync(join(root, ".cursor")),
|
|
44
|
+
mcpConfig: [{
|
|
45
|
+
filePath: ".cursor/mcp.json",
|
|
46
|
+
rootKey: "mcpServers"
|
|
47
|
+
}]
|
|
48
|
+
},
|
|
49
|
+
windsurf: {
|
|
50
|
+
displayName: "Windsurf",
|
|
51
|
+
skillsDir: ".windsurf/skills",
|
|
52
|
+
detect: (root) => existsSync(join(root, ".windsurf")),
|
|
53
|
+
mcpConfig: [{
|
|
54
|
+
filePath: ".windsurf/mcp.json",
|
|
55
|
+
rootKey: "mcpServers"
|
|
56
|
+
}]
|
|
57
|
+
},
|
|
58
|
+
"gemini-cli": {
|
|
59
|
+
displayName: "Gemini CLI",
|
|
60
|
+
skillsDir: ".agents/skills",
|
|
61
|
+
detect: (root) => existsSync(join(root, ".gemini")),
|
|
62
|
+
mcpHint: "gemini mcp add void -- npx void mcp"
|
|
63
|
+
},
|
|
64
|
+
"github-copilot": {
|
|
65
|
+
displayName: "GitHub Copilot",
|
|
66
|
+
skillsDir: ".agents/skills",
|
|
67
|
+
detect: (root) => existsSync(join(root, ".github", "copilot-instructions.md")) || existsSync(join(root, ".vscode", "mcp.json")),
|
|
68
|
+
mcpConfig: [{
|
|
69
|
+
filePath: ".vscode/mcp.json",
|
|
70
|
+
rootKey: "servers",
|
|
71
|
+
extraFields: { type: "stdio" }
|
|
72
|
+
}]
|
|
73
|
+
},
|
|
74
|
+
cline: {
|
|
75
|
+
displayName: "Cline",
|
|
76
|
+
skillsDir: ".cline/skills",
|
|
77
|
+
detect: (root) => existsSync(join(root, ".cline")),
|
|
78
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
79
|
+
},
|
|
80
|
+
roo: {
|
|
81
|
+
displayName: "Roo Code",
|
|
82
|
+
skillsDir: ".roo/skills",
|
|
83
|
+
detect: (root) => existsSync(join(root, ".roo")),
|
|
84
|
+
mcpConfig: [{
|
|
85
|
+
filePath: ".roo/mcp.json",
|
|
86
|
+
rootKey: "mcpServers"
|
|
87
|
+
}]
|
|
88
|
+
},
|
|
89
|
+
kilo: {
|
|
90
|
+
displayName: "Kilo Code",
|
|
91
|
+
skillsDir: ".kilocode/skills",
|
|
92
|
+
detect: (root) => existsSync(join(root, ".kilocode")),
|
|
93
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
94
|
+
},
|
|
95
|
+
continue: {
|
|
96
|
+
displayName: "Continue",
|
|
97
|
+
skillsDir: ".continue/skills",
|
|
98
|
+
detect: (root) => existsSync(join(root, ".continue")),
|
|
99
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
100
|
+
},
|
|
101
|
+
goose: {
|
|
102
|
+
displayName: "Goose",
|
|
103
|
+
skillsDir: ".goose/skills",
|
|
104
|
+
detect: (root) => existsSync(join(root, ".goose")),
|
|
105
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
106
|
+
},
|
|
107
|
+
opencode: {
|
|
108
|
+
displayName: "OpenCode",
|
|
109
|
+
skillsDir: ".agents/skills",
|
|
110
|
+
detect: (root) => existsSync(join(root, ".opencode")),
|
|
111
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
112
|
+
},
|
|
113
|
+
trae: {
|
|
114
|
+
displayName: "Trae",
|
|
115
|
+
skillsDir: ".trae/skills",
|
|
116
|
+
detect: (root) => existsSync(join(root, ".trae")),
|
|
117
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
118
|
+
},
|
|
119
|
+
junie: {
|
|
120
|
+
displayName: "Junie",
|
|
121
|
+
skillsDir: ".junie/skills",
|
|
122
|
+
detect: (root) => existsSync(join(root, ".junie")),
|
|
123
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
124
|
+
},
|
|
125
|
+
"kiro-cli": {
|
|
126
|
+
displayName: "Kiro CLI",
|
|
127
|
+
skillsDir: ".kiro/skills",
|
|
128
|
+
detect: (root) => existsSync(join(root, ".kiro")),
|
|
129
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
130
|
+
},
|
|
131
|
+
zencoder: {
|
|
132
|
+
displayName: "Zencoder",
|
|
133
|
+
skillsDir: ".zencoder/skills",
|
|
134
|
+
detect: (root) => existsSync(join(root, ".zencoder")),
|
|
135
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
136
|
+
},
|
|
137
|
+
"qwen-code": {
|
|
138
|
+
displayName: "Qwen Code",
|
|
139
|
+
skillsDir: ".qwen/skills",
|
|
140
|
+
detect: (root) => existsSync(join(root, ".qwen")),
|
|
141
|
+
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
function getAgentById(id) {
|
|
145
|
+
return agents[id];
|
|
146
|
+
}
|
|
147
|
+
function detectAgents(root) {
|
|
148
|
+
return Object.values(agents).filter((a) => a.detect(root));
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
export { getAgentById as n, getPackageDir as r, detectAgents as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as R } from "./dist-Dayj3gCK.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as runLoginCommand } from "./login-
|
|
2
|
+
import { c as getToken, d as removeToken, n as PlatformClient } from "./client-DCqnMpDt.mjs";
|
|
3
|
+
import { n as runLoginCommand } from "./login-B5HHT32i.mjs";
|
|
4
4
|
import { execSync } from "node:child_process";
|
|
5
5
|
//#region src/cli/auth-cmd.ts
|
|
6
6
|
async function runAuthCommand(root, args) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as VoidAuthConfig, n as AuthState } from "./auth-
|
|
1
|
+
import { i as VoidAuthConfig, n as AuthState } from "./auth-DrfOTMmr.mjs";
|
|
2
2
|
import { DBFieldAttribute } from "better-auth/db";
|
|
3
3
|
import { BetterAuthOptions, betterAuth } from "better-auth";
|
|
4
4
|
import { Context } from "hono";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as dim, n as cliTitle, r as createSpinner } from "./output-BwlcIYSR.mjs";
|
|
2
2
|
import { c as R, g as ge, y as ye } from "./dist-Dayj3gCK.mjs";
|
|
3
3
|
import { r as readProjectConfig } from "./project-TqORyHn8.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { r as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-
|
|
4
|
+
import { c as getToken, n as PlatformClient } from "./client-DCqnMpDt.mjs";
|
|
5
|
+
import { r as resolveProjectBySlug, t as getRequestedProjectSlug } from "./resolve-project-DdjLQ2tB.mjs";
|
|
6
6
|
//#region src/cli/cache.ts
|
|
7
7
|
async function runPurgeCacheCommand(root, projectSlug) {
|
|
8
8
|
console.log();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as cliTitle } from "./output-BwlcIYSR.mjs";
|
|
2
2
|
import { c as R, g as ge, v as ue, x as q, y as ye } from "./dist-Dayj3gCK.mjs";
|
|
3
3
|
import { r as readProjectConfig } from "./project-TqORyHn8.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { c as getToken, n as PlatformClient } from "./client-DCqnMpDt.mjs";
|
|
5
5
|
//#region src/cli/cancel-deploy.ts
|
|
6
6
|
const ACTIVE_STATUSES = new Set([
|
|
7
7
|
"pending",
|
package/dist/cli/cli.mjs
CHANGED
|
@@ -2,156 +2,9 @@
|
|
|
2
2
|
import { a as join } from "../pathe.M-eThtNZ-D-kmWkCS.mjs";
|
|
3
3
|
import { c as sectionTitle, o as helpLine, s as import_picocolors, t as categoryTitle } from "../output-BwlcIYSR.mjs";
|
|
4
4
|
import { c as R, u as Se, y as ye } from "../dist-Dayj3gCK.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { r as getPackageDir } from "../agents-DqkFfc2c.mjs";
|
|
6
|
+
import { readFileSync } from "node:fs";
|
|
7
7
|
import { parseArgs } from "node:util";
|
|
8
|
-
//#region src/cli/agents.ts
|
|
9
|
-
function getPackageDir() {
|
|
10
|
-
let dir = join(fileURLToPath(import.meta.url), "..");
|
|
11
|
-
for (let i = 0; i < 5; i++) {
|
|
12
|
-
if (existsSync(join(dir, "package.json"))) {
|
|
13
|
-
if (JSON.parse(readFileSync(join(dir, "package.json"), "utf-8")).name === "void") return dir;
|
|
14
|
-
}
|
|
15
|
-
dir = join(dir, "..");
|
|
16
|
-
}
|
|
17
|
-
throw new Error("Could not find void package root");
|
|
18
|
-
}
|
|
19
|
-
const agents = {
|
|
20
|
-
"claude-code": {
|
|
21
|
-
displayName: "Claude Code",
|
|
22
|
-
skillsDir: ".claude/skills",
|
|
23
|
-
detect: (root) => existsSync(join(root, ".claude")) || existsSync(join(root, "CLAUDE.md")),
|
|
24
|
-
mcpConfig: [{
|
|
25
|
-
filePath: ".claude/settings.json",
|
|
26
|
-
rootKey: "mcpServers"
|
|
27
|
-
}, {
|
|
28
|
-
filePath: ".claude/settings.local.json",
|
|
29
|
-
rootKey: "mcpServers"
|
|
30
|
-
}]
|
|
31
|
-
},
|
|
32
|
-
amp: {
|
|
33
|
-
displayName: "Amp",
|
|
34
|
-
skillsDir: ".agents/skills",
|
|
35
|
-
detect: (root) => existsSync(join(root, ".agents")),
|
|
36
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
37
|
-
},
|
|
38
|
-
codex: {
|
|
39
|
-
displayName: "Codex",
|
|
40
|
-
skillsDir: ".agents/skills",
|
|
41
|
-
detect: (root) => existsSync(join(root, ".codex")),
|
|
42
|
-
mcpHint: "codex mcp add void -- npx void mcp"
|
|
43
|
-
},
|
|
44
|
-
cursor: {
|
|
45
|
-
displayName: "Cursor",
|
|
46
|
-
skillsDir: ".agents/skills",
|
|
47
|
-
detect: (root) => existsSync(join(root, ".cursor")),
|
|
48
|
-
mcpConfig: [{
|
|
49
|
-
filePath: ".cursor/mcp.json",
|
|
50
|
-
rootKey: "mcpServers"
|
|
51
|
-
}]
|
|
52
|
-
},
|
|
53
|
-
windsurf: {
|
|
54
|
-
displayName: "Windsurf",
|
|
55
|
-
skillsDir: ".windsurf/skills",
|
|
56
|
-
detect: (root) => existsSync(join(root, ".windsurf")),
|
|
57
|
-
mcpConfig: [{
|
|
58
|
-
filePath: ".windsurf/mcp.json",
|
|
59
|
-
rootKey: "mcpServers"
|
|
60
|
-
}]
|
|
61
|
-
},
|
|
62
|
-
"gemini-cli": {
|
|
63
|
-
displayName: "Gemini CLI",
|
|
64
|
-
skillsDir: ".agents/skills",
|
|
65
|
-
detect: (root) => existsSync(join(root, ".gemini")),
|
|
66
|
-
mcpHint: "gemini mcp add void -- npx void mcp"
|
|
67
|
-
},
|
|
68
|
-
"github-copilot": {
|
|
69
|
-
displayName: "GitHub Copilot",
|
|
70
|
-
skillsDir: ".agents/skills",
|
|
71
|
-
detect: (root) => existsSync(join(root, ".github", "copilot-instructions.md")) || existsSync(join(root, ".vscode", "mcp.json")),
|
|
72
|
-
mcpConfig: [{
|
|
73
|
-
filePath: ".vscode/mcp.json",
|
|
74
|
-
rootKey: "servers",
|
|
75
|
-
extraFields: { type: "stdio" }
|
|
76
|
-
}]
|
|
77
|
-
},
|
|
78
|
-
cline: {
|
|
79
|
-
displayName: "Cline",
|
|
80
|
-
skillsDir: ".cline/skills",
|
|
81
|
-
detect: (root) => existsSync(join(root, ".cline")),
|
|
82
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
83
|
-
},
|
|
84
|
-
roo: {
|
|
85
|
-
displayName: "Roo Code",
|
|
86
|
-
skillsDir: ".roo/skills",
|
|
87
|
-
detect: (root) => existsSync(join(root, ".roo")),
|
|
88
|
-
mcpConfig: [{
|
|
89
|
-
filePath: ".roo/mcp.json",
|
|
90
|
-
rootKey: "mcpServers"
|
|
91
|
-
}]
|
|
92
|
-
},
|
|
93
|
-
kilo: {
|
|
94
|
-
displayName: "Kilo Code",
|
|
95
|
-
skillsDir: ".kilocode/skills",
|
|
96
|
-
detect: (root) => existsSync(join(root, ".kilocode")),
|
|
97
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
98
|
-
},
|
|
99
|
-
continue: {
|
|
100
|
-
displayName: "Continue",
|
|
101
|
-
skillsDir: ".continue/skills",
|
|
102
|
-
detect: (root) => existsSync(join(root, ".continue")),
|
|
103
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
104
|
-
},
|
|
105
|
-
goose: {
|
|
106
|
-
displayName: "Goose",
|
|
107
|
-
skillsDir: ".goose/skills",
|
|
108
|
-
detect: (root) => existsSync(join(root, ".goose")),
|
|
109
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
110
|
-
},
|
|
111
|
-
opencode: {
|
|
112
|
-
displayName: "OpenCode",
|
|
113
|
-
skillsDir: ".agents/skills",
|
|
114
|
-
detect: (root) => existsSync(join(root, ".opencode")),
|
|
115
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
116
|
-
},
|
|
117
|
-
trae: {
|
|
118
|
-
displayName: "Trae",
|
|
119
|
-
skillsDir: ".trae/skills",
|
|
120
|
-
detect: (root) => existsSync(join(root, ".trae")),
|
|
121
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
122
|
-
},
|
|
123
|
-
junie: {
|
|
124
|
-
displayName: "Junie",
|
|
125
|
-
skillsDir: ".junie/skills",
|
|
126
|
-
detect: (root) => existsSync(join(root, ".junie")),
|
|
127
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
128
|
-
},
|
|
129
|
-
"kiro-cli": {
|
|
130
|
-
displayName: "Kiro CLI",
|
|
131
|
-
skillsDir: ".kiro/skills",
|
|
132
|
-
detect: (root) => existsSync(join(root, ".kiro")),
|
|
133
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
134
|
-
},
|
|
135
|
-
zencoder: {
|
|
136
|
-
displayName: "Zencoder",
|
|
137
|
-
skillsDir: ".zencoder/skills",
|
|
138
|
-
detect: (root) => existsSync(join(root, ".zencoder")),
|
|
139
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
140
|
-
},
|
|
141
|
-
"qwen-code": {
|
|
142
|
-
displayName: "Qwen Code",
|
|
143
|
-
skillsDir: ".qwen/skills",
|
|
144
|
-
detect: (root) => existsSync(join(root, ".qwen")),
|
|
145
|
-
mcpHint: "Run `npx void mcp` — this starts a stdio MCP server. See your agent's docs for how to add a local MCP server."
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
function getAgentById(id) {
|
|
149
|
-
return agents[id];
|
|
150
|
-
}
|
|
151
|
-
function detectAgents(root) {
|
|
152
|
-
return Object.values(agents).filter((a) => a.detect(root));
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
8
|
//#region src/cli/args.ts
|
|
156
9
|
function parseDeployArgs(args) {
|
|
157
10
|
let parsed;
|
|
@@ -162,7 +15,8 @@ function parseDeployArgs(args) {
|
|
|
162
15
|
project: { type: "string" },
|
|
163
16
|
dir: { type: "string" },
|
|
164
17
|
spa: { type: "boolean" },
|
|
165
|
-
"skip-build": { type: "boolean" }
|
|
18
|
+
"skip-build": { type: "boolean" },
|
|
19
|
+
debug: { type: "boolean" }
|
|
166
20
|
},
|
|
167
21
|
allowPositionals: true,
|
|
168
22
|
strict: true,
|
|
@@ -184,7 +38,8 @@ function parseDeployArgs(args) {
|
|
|
184
38
|
projectSlug,
|
|
185
39
|
dir: typeof parsed.values.dir === "string" ? parsed.values.dir : void 0,
|
|
186
40
|
spa: parsed.values.spa === true ? true : void 0,
|
|
187
|
-
skipBuild: parsed.values["skip-build"] === true ? true : void 0
|
|
41
|
+
skipBuild: parsed.values["skip-build"] === true ? true : void 0,
|
|
42
|
+
debug: parsed.values.debug === true ? true : void 0
|
|
188
43
|
};
|
|
189
44
|
}
|
|
190
45
|
//#endregion
|
|
@@ -768,6 +623,10 @@ const HELP_TREE = {
|
|
|
768
623
|
{
|
|
769
624
|
command: "--skip-build",
|
|
770
625
|
description: "Skip the build step and use existing output"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
command: "--debug",
|
|
629
|
+
description: "Mirror the deploy log to stderr (always written to ~/.void/logs)"
|
|
771
630
|
}
|
|
772
631
|
],
|
|
773
632
|
examples: [
|
|
@@ -1615,7 +1474,7 @@ async function runSubcommandGroup(command, subcommands, parse, run) {
|
|
|
1615
1474
|
const sub = args[1];
|
|
1616
1475
|
try {
|
|
1617
1476
|
if ((!sub || sub.startsWith("-")) && process.stdin.isTTY) {
|
|
1618
|
-
const { promptSubcommand } = await import("../subcommand-prompt-
|
|
1477
|
+
const { promptSubcommand } = await import("../subcommand-prompt-BMS1TNG5.mjs");
|
|
1619
1478
|
const result = await promptSubcommand(command, subcommands);
|
|
1620
1479
|
if (!result) process.exit(0);
|
|
1621
1480
|
await run(root, parse(buildArgs(result, args.slice(1))));
|
|
@@ -1644,24 +1503,25 @@ else if (command === "deploy") {
|
|
|
1644
1503
|
R.error(err instanceof Error ? err.message : String(err));
|
|
1645
1504
|
process.exit(1);
|
|
1646
1505
|
}
|
|
1647
|
-
import("../deploy-
|
|
1506
|
+
import("../deploy-BkjqNk9U.mjs").then((n) => n.t).then(({ runDeploy }) => {
|
|
1648
1507
|
runDeploy(root, {
|
|
1649
1508
|
projectSlug: deployArgs.projectSlug,
|
|
1650
1509
|
dir: deployArgs.dir,
|
|
1651
1510
|
spa: deployArgs.spa,
|
|
1652
|
-
skipBuild: deployArgs.skipBuild
|
|
1511
|
+
skipBuild: deployArgs.skipBuild,
|
|
1512
|
+
debug: deployArgs.debug
|
|
1653
1513
|
}).catch((err) => {
|
|
1654
1514
|
R.error(err.message ?? err);
|
|
1655
1515
|
process.exit(1);
|
|
1656
1516
|
});
|
|
1657
1517
|
});
|
|
1658
|
-
} else if (command === "auth") runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-cmd-
|
|
1659
|
-
else if (command === "project") runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-
|
|
1660
|
-
else if (command === "secret") runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-
|
|
1661
|
-
else if (command === "domain") runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-
|
|
1662
|
-
else if (command === "db") runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-
|
|
1663
|
-
else if (command === "env") runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-
|
|
1664
|
-
else if (command === "gen") runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-
|
|
1518
|
+
} else if (command === "auth") runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (root, parsed) => import("../auth-cmd-Dk0acCT5.mjs").then(({ runAuthCommand }) => runAuthCommand(root, parsed)));
|
|
1519
|
+
else if (command === "project") runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (root, parsed) => import("../project-cmd-DKiQYdSd.mjs").then(({ runProjectCommand }) => runProjectCommand(root, parsed)));
|
|
1520
|
+
else if (command === "secret") runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (root, parsed) => import("../secret-BXHx515u.mjs").then(({ runSecretCommand }) => runSecretCommand(root, parsed)));
|
|
1521
|
+
else if (command === "domain") runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (root, parsed) => import("../domain-CDQhvYNZ.mjs").then(({ runDomainCommand }) => runDomainCommand(root, parsed)));
|
|
1522
|
+
else if (command === "db") runSubcommandGroup("db", dbSubcommands, parseDbArgs, (root, parsed) => import("../db-ClNu7vYQ.mjs").then(({ runDbCommand }) => runDbCommand(root, parsed)));
|
|
1523
|
+
else if (command === "env") runSubcommandGroup("env", envSubcommands, parseEnvArgs, (root, parsed) => import("../env-CnrQY2b6.mjs").then(({ runEnvCommand }) => runEnvCommand(root, parsed)));
|
|
1524
|
+
else if (command === "gen") runSubcommandGroup("gen", genSubcommands, parseGenArgs, (root, parsed) => import("../gen-C0EY2k27.mjs").then(({ runGenCommand }) => runGenCommand(root, parsed)));
|
|
1665
1525
|
else if (command === "prepare") {
|
|
1666
1526
|
const root = process.cwd();
|
|
1667
1527
|
let prepareArgs;
|
|
@@ -1671,7 +1531,7 @@ else if (command === "prepare") {
|
|
|
1671
1531
|
R.error(err instanceof Error ? err.message : String(err));
|
|
1672
1532
|
process.exit(1);
|
|
1673
1533
|
}
|
|
1674
|
-
import("../prepare-
|
|
1534
|
+
import("../prepare-DKkx-2Kt.mjs").then(({ runPrepareCommand }) => {
|
|
1675
1535
|
runPrepareCommand(root, prepareArgs).catch((err) => {
|
|
1676
1536
|
R.error(err.message ?? err);
|
|
1677
1537
|
process.exit(1);
|
|
@@ -1679,7 +1539,7 @@ else if (command === "prepare") {
|
|
|
1679
1539
|
});
|
|
1680
1540
|
} else if (command === "init") {
|
|
1681
1541
|
const root = process.cwd();
|
|
1682
|
-
import("../init-
|
|
1542
|
+
import("../init-CPny6w9D.mjs").then(({ runInitCommand, parseInitArgs }) => {
|
|
1683
1543
|
let initArgs;
|
|
1684
1544
|
try {
|
|
1685
1545
|
initArgs = parseInitArgs(args.slice(1));
|
|
@@ -1692,7 +1552,7 @@ else if (command === "prepare") {
|
|
|
1692
1552
|
process.exit(1);
|
|
1693
1553
|
});
|
|
1694
1554
|
});
|
|
1695
|
-
} else if (command === "mcp") import("../mcp-
|
|
1555
|
+
} else if (command === "mcp") import("../mcp-Bdu9bnjR.mjs").then(({ runMcp }) => {
|
|
1696
1556
|
runMcp();
|
|
1697
1557
|
});
|
|
1698
1558
|
else if (command === "-v" || command === "--version") {
|
|
@@ -1761,36 +1621,36 @@ else if (command === "-v" || command === "--version") {
|
|
|
1761
1621
|
];
|
|
1762
1622
|
(async () => {
|
|
1763
1623
|
printVoidHeader();
|
|
1764
|
-
const { promptSubcommand } = await import("../subcommand-prompt-
|
|
1624
|
+
const { promptSubcommand } = await import("../subcommand-prompt-BMS1TNG5.mjs");
|
|
1765
1625
|
const result = await promptSubcommand("", topLevelCommands);
|
|
1766
1626
|
if (!result) process.exit(0);
|
|
1767
1627
|
const cmd = result.subcommand;
|
|
1768
1628
|
const root = process.cwd();
|
|
1769
1629
|
switch (cmd) {
|
|
1770
1630
|
case "init": {
|
|
1771
|
-
const { runInitCommand, parseInitArgs } = await import("../init-
|
|
1631
|
+
const { runInitCommand, parseInitArgs } = await import("../init-CPny6w9D.mjs");
|
|
1772
1632
|
await runInitCommand(root, parseInitArgs([]));
|
|
1773
1633
|
return;
|
|
1774
1634
|
}
|
|
1775
1635
|
case "deploy": {
|
|
1776
|
-
const { runDeploy } = await import("../deploy-
|
|
1636
|
+
const { runDeploy } = await import("../deploy-BkjqNk9U.mjs").then((n) => n.t);
|
|
1777
1637
|
await runDeploy(root);
|
|
1778
1638
|
return;
|
|
1779
1639
|
}
|
|
1780
1640
|
case "mcp": {
|
|
1781
|
-
const { runMcp } = await import("../mcp-
|
|
1641
|
+
const { runMcp } = await import("../mcp-Bdu9bnjR.mjs");
|
|
1782
1642
|
runMcp();
|
|
1783
1643
|
return;
|
|
1784
1644
|
}
|
|
1785
|
-
case "auth": return runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (r, p) => import("../auth-cmd-
|
|
1786
|
-
case "project": return runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (r, p) => import("../project-cmd-
|
|
1787
|
-
case "secret": return runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (r, p) => import("../secret-
|
|
1788
|
-
case "domain": return runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (r, p) => import("../domain-
|
|
1789
|
-
case "db": return runSubcommandGroup("db", dbSubcommands, parseDbArgs, (r, p) => import("../db-
|
|
1790
|
-
case "env": return runSubcommandGroup("env", envSubcommands, parseEnvArgs, (r, p) => import("../env-
|
|
1791
|
-
case "gen": return runSubcommandGroup("gen", genSubcommands, parseGenArgs, (r, p) => import("../gen-
|
|
1645
|
+
case "auth": return runSubcommandGroup("auth", authSubcommands, parseAuthArgs, (r, p) => import("../auth-cmd-Dk0acCT5.mjs").then(({ runAuthCommand }) => runAuthCommand(r, p)));
|
|
1646
|
+
case "project": return runSubcommandGroup("project", projectSubcommands, parseProjectArgs, (r, p) => import("../project-cmd-DKiQYdSd.mjs").then(({ runProjectCommand }) => runProjectCommand(r, p)));
|
|
1647
|
+
case "secret": return runSubcommandGroup("secret", secretSubcommands, parseSecretArgs, (r, p) => import("../secret-BXHx515u.mjs").then(({ runSecretCommand }) => runSecretCommand(r, p)));
|
|
1648
|
+
case "domain": return runSubcommandGroup("domain", domainSubcommands, parseDomainArgs, (r, p) => import("../domain-CDQhvYNZ.mjs").then(({ runDomainCommand }) => runDomainCommand(r, p)));
|
|
1649
|
+
case "db": return runSubcommandGroup("db", dbSubcommands, parseDbArgs, (r, p) => import("../db-ClNu7vYQ.mjs").then(({ runDbCommand }) => runDbCommand(r, p)));
|
|
1650
|
+
case "env": return runSubcommandGroup("env", envSubcommands, parseEnvArgs, (r, p) => import("../env-CnrQY2b6.mjs").then(({ runEnvCommand }) => runEnvCommand(r, p)));
|
|
1651
|
+
case "gen": return runSubcommandGroup("gen", genSubcommands, parseGenArgs, (r, p) => import("../gen-C0EY2k27.mjs").then(({ runGenCommand }) => runGenCommand(r, p)));
|
|
1792
1652
|
case "prepare": {
|
|
1793
|
-
const { runPrepareCommand } = await import("../prepare-
|
|
1653
|
+
const { runPrepareCommand } = await import("../prepare-DKkx-2Kt.mjs");
|
|
1794
1654
|
await runPrepareCommand(root, parsePrepareArgs([]));
|
|
1795
1655
|
return;
|
|
1796
1656
|
}
|
|
@@ -1804,4 +1664,4 @@ else if (command === "-v" || command === "--version") {
|
|
|
1804
1664
|
});
|
|
1805
1665
|
} else printGlobalHelp();
|
|
1806
1666
|
//#endregion
|
|
1807
|
-
export {
|
|
1667
|
+
export {};
|