theokit 0.74.1 → 0.74.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.
Files changed (99) hide show
  1. package/dist/{actions-virtual-module-JV7URROJ.js → actions-virtual-module-4J7Z37Y4.js} +2 -2
  2. package/dist/{actions-virtual-module-J2HYO7QZ.js → actions-virtual-module-MIQJEHKJ.js} +2 -2
  3. package/dist/adapters/agent-mount.js +2 -2
  4. package/dist/{agent-5J7CQAYR.js → agent-QJINXU6U.js} +2 -2
  5. package/dist/{app-typed-client-XD4DZBV7.js → app-typed-client-AZMUYIYV.js} +2 -2
  6. package/dist/{app-typed-client-EOA3A2AR.js → app-typed-client-DSS23KDC.js} +2 -2
  7. package/dist/{aws-lambda-ZYSPTD3O.js → aws-lambda-K5Y6XS5V.js} +4 -4
  8. package/dist/{build-7YZSJGP2.js → build-4NRHCMFB.js} +23 -19
  9. package/dist/build-4NRHCMFB.js.map +1 -0
  10. package/dist/{bun-I7YM3RDB.js → bun-VPXMWFBA.js} +6 -4
  11. package/dist/bun-VPXMWFBA.js.map +1 -0
  12. package/dist/{chunk-SG62LZOJ.js → chunk-25OXNMVO.js} +4 -4
  13. package/dist/{chunk-QX5Q3FBJ.js → chunk-7FIK5NKN.js} +10 -10
  14. package/dist/{chunk-SHIXTMQE.js → chunk-DA3GGICE.js} +16 -2
  15. package/dist/{chunk-SHIXTMQE.js.map → chunk-DA3GGICE.js.map} +1 -1
  16. package/dist/{chunk-FJEKQ4FT.js → chunk-EVKNHQWG.js} +1 -1
  17. package/dist/{chunk-FJEKQ4FT.js.map → chunk-EVKNHQWG.js.map} +1 -1
  18. package/dist/{chunk-ZNZISJDZ.js → chunk-L4V5V2TI.js} +1 -1
  19. package/dist/{chunk-ZNZISJDZ.js.map → chunk-L4V5V2TI.js.map} +1 -1
  20. package/dist/{chunk-UFBBFP75.js → chunk-NLHAYGQQ.js} +2 -2
  21. package/dist/{chunk-X2LFNDJQ.js → chunk-NX3P5MLH.js} +2 -2
  22. package/dist/{chunk-2NG5T77O.js → chunk-R4AMIBZL.js} +16 -2
  23. package/dist/{chunk-2NG5T77O.js.map → chunk-R4AMIBZL.js.map} +1 -1
  24. package/dist/{chunk-NQZIQJFH.js → chunk-SHFZKJCU.js} +7 -7
  25. package/dist/{chunk-QAS5SKZP.js → chunk-VD3BCME6.js} +2 -2
  26. package/dist/{chunk-SZWGXHY3.js → chunk-VOXLI66L.js} +2 -2
  27. package/dist/{chunk-HK57MPSZ.js → chunk-VPK7ABMB.js} +2 -2
  28. package/dist/cli/index.js +9 -9
  29. package/dist/{cloudflare-Q5SUXRXY.js → cloudflare-PRTTYWRD.js} +3 -3
  30. package/dist/{config-support-MOZYHRWG.js → config-support-HUZ4DXR7.js} +3 -3
  31. package/dist/{deno-deploy-XW3Q6OMD.js → deno-deploy-ALX36LID.js} +3 -3
  32. package/dist/{dev-FZ4OTCPT.js → dev-LMZGOV4M.js} +7 -7
  33. package/dist/index.js +3 -3
  34. package/dist/{info-SUX7QVA3.js → info-XURFOBRF.js} +4 -4
  35. package/dist/{internal-api-GKPJYL3G.js → internal-api-ATSPOXI2.js} +2 -2
  36. package/dist/{internal-api-ZUBUYGCQ.js → internal-api-XPT4GLYX.js} +2 -2
  37. package/dist/{load-config-52H3EKAA.js → load-config-2DXLI7NW.js} +4 -4
  38. package/dist/{mcp-VUHRRX36.js → mcp-4CXNOZA4.js} +3 -3
  39. package/dist/{netlify-ALPCTQFO.js → netlify-2D2TM2UW.js} +3 -3
  40. package/dist/node-LORYECWI.js +10 -0
  41. package/dist/{openapi-C4UX2SFV.js → openapi-UJSUQPNT.js} +4 -4
  42. package/dist/{preview-II33QNAC.js → preview-LHNJSLS6.js} +3 -3
  43. package/dist/registry-QSJ7X5NO.js +34 -0
  44. package/dist/{routes-3PTNISSO.js → routes-ENMU4GAN.js} +4 -4
  45. package/dist/{schema-LHNWUR4V.js → schema-DJH3IOVR.js} +3 -3
  46. package/dist/server/index.js +1 -1
  47. package/dist/server/storage/index.js +1 -1
  48. package/dist/{server-boundary-QCJNECJP.js → server-boundary-JM72DQLA.js} +2 -2
  49. package/dist/{server-boundary-RTRPHX5I.js → server-boundary-K4YQXDQT.js} +2 -2
  50. package/dist/{services-typed-client-XGT5SUUN.js → services-typed-client-FOBFCRD6.js} +2 -2
  51. package/dist/{start-EREUCSN6.js → start-GAULIE5E.js} +7 -7
  52. package/dist/{static-7LP7LPGN.js → static-O2RZ5NLR.js} +3 -3
  53. package/dist/{theo-cloud-GIA67L4Q.js → theo-cloud-B4R7GCWK.js} +3 -3
  54. package/dist/{vercel-VLR52RXT.js → vercel-INHLOCSZ.js} +3 -3
  55. package/dist/vite-plugin/index.js +3 -3
  56. package/dist/{vite-plugin-3LTZJTUM.js → vite-plugin-NXWE2AVM.js} +7 -7
  57. package/package.json +3 -3
  58. package/dist/build-7YZSJGP2.js.map +0 -1
  59. package/dist/bun-I7YM3RDB.js.map +0 -1
  60. package/dist/node-4HQO6KKZ.js +0 -10
  61. package/dist/registry-WVUO2WNR.js +0 -34
  62. /package/dist/{actions-virtual-module-JV7URROJ.js.map → actions-virtual-module-4J7Z37Y4.js.map} +0 -0
  63. /package/dist/{actions-virtual-module-J2HYO7QZ.js.map → actions-virtual-module-MIQJEHKJ.js.map} +0 -0
  64. /package/dist/{agent-5J7CQAYR.js.map → agent-QJINXU6U.js.map} +0 -0
  65. /package/dist/{app-typed-client-XD4DZBV7.js.map → app-typed-client-AZMUYIYV.js.map} +0 -0
  66. /package/dist/{app-typed-client-EOA3A2AR.js.map → app-typed-client-DSS23KDC.js.map} +0 -0
  67. /package/dist/{aws-lambda-ZYSPTD3O.js.map → aws-lambda-K5Y6XS5V.js.map} +0 -0
  68. /package/dist/{chunk-SG62LZOJ.js.map → chunk-25OXNMVO.js.map} +0 -0
  69. /package/dist/{chunk-QX5Q3FBJ.js.map → chunk-7FIK5NKN.js.map} +0 -0
  70. /package/dist/{chunk-UFBBFP75.js.map → chunk-NLHAYGQQ.js.map} +0 -0
  71. /package/dist/{chunk-X2LFNDJQ.js.map → chunk-NX3P5MLH.js.map} +0 -0
  72. /package/dist/{chunk-NQZIQJFH.js.map → chunk-SHFZKJCU.js.map} +0 -0
  73. /package/dist/{chunk-QAS5SKZP.js.map → chunk-VD3BCME6.js.map} +0 -0
  74. /package/dist/{chunk-SZWGXHY3.js.map → chunk-VOXLI66L.js.map} +0 -0
  75. /package/dist/{chunk-HK57MPSZ.js.map → chunk-VPK7ABMB.js.map} +0 -0
  76. /package/dist/{cloudflare-Q5SUXRXY.js.map → cloudflare-PRTTYWRD.js.map} +0 -0
  77. /package/dist/{config-support-MOZYHRWG.js.map → config-support-HUZ4DXR7.js.map} +0 -0
  78. /package/dist/{deno-deploy-XW3Q6OMD.js.map → deno-deploy-ALX36LID.js.map} +0 -0
  79. /package/dist/{dev-FZ4OTCPT.js.map → dev-LMZGOV4M.js.map} +0 -0
  80. /package/dist/{info-SUX7QVA3.js.map → info-XURFOBRF.js.map} +0 -0
  81. /package/dist/{internal-api-GKPJYL3G.js.map → internal-api-ATSPOXI2.js.map} +0 -0
  82. /package/dist/{internal-api-ZUBUYGCQ.js.map → internal-api-XPT4GLYX.js.map} +0 -0
  83. /package/dist/{load-config-52H3EKAA.js.map → load-config-2DXLI7NW.js.map} +0 -0
  84. /package/dist/{mcp-VUHRRX36.js.map → mcp-4CXNOZA4.js.map} +0 -0
  85. /package/dist/{netlify-ALPCTQFO.js.map → netlify-2D2TM2UW.js.map} +0 -0
  86. /package/dist/{node-4HQO6KKZ.js.map → node-LORYECWI.js.map} +0 -0
  87. /package/dist/{openapi-C4UX2SFV.js.map → openapi-UJSUQPNT.js.map} +0 -0
  88. /package/dist/{preview-II33QNAC.js.map → preview-LHNJSLS6.js.map} +0 -0
  89. /package/dist/{registry-WVUO2WNR.js.map → registry-QSJ7X5NO.js.map} +0 -0
  90. /package/dist/{routes-3PTNISSO.js.map → routes-ENMU4GAN.js.map} +0 -0
  91. /package/dist/{schema-LHNWUR4V.js.map → schema-DJH3IOVR.js.map} +0 -0
  92. /package/dist/{server-boundary-QCJNECJP.js.map → server-boundary-JM72DQLA.js.map} +0 -0
  93. /package/dist/{server-boundary-RTRPHX5I.js.map → server-boundary-K4YQXDQT.js.map} +0 -0
  94. /package/dist/{services-typed-client-XGT5SUUN.js.map → services-typed-client-FOBFCRD6.js.map} +0 -0
  95. /package/dist/{start-EREUCSN6.js.map → start-GAULIE5E.js.map} +0 -0
  96. /package/dist/{static-7LP7LPGN.js.map → static-O2RZ5NLR.js.map} +0 -0
  97. /package/dist/{theo-cloud-GIA67L4Q.js.map → theo-cloud-B4R7GCWK.js.map} +0 -0
  98. /package/dist/{vercel-VLR52RXT.js.map → vercel-INHLOCSZ.js.map} +0 -0
  99. /package/dist/{vite-plugin-3LTZJTUM.js.map → vite-plugin-NXWE2AVM.js.map} +0 -0
package/dist/cli/index.js CHANGED
@@ -15,12 +15,12 @@ function cliVersion() {
15
15
  // src/cli/index.ts
16
16
  var cli = cac("theokit");
17
17
  cli.command("dev", "Start development server").option("--port <port>", "Port number").action(async (options) => {
18
- const { devCommand } = await import("../dev-FZ4OTCPT.js");
18
+ const { devCommand } = await import("../dev-LMZGOV4M.js");
19
19
  await devCommand({ port: options.port ? Number(options.port) : void 0 });
20
20
  });
21
21
  cli.command("build", "Build for production").option("--target <target>", "Deploy target (node, vercel, cloudflare)").action(async (options) => {
22
22
  try {
23
- const { buildCommand } = await import("../build-7YZSJGP2.js");
23
+ const { buildCommand } = await import("../build-4NRHCMFB.js");
24
24
  await buildCommand({ target: options.target });
25
25
  } catch (err) {
26
26
  const msg = err instanceof Error ? err.message : String(err);
@@ -32,7 +32,7 @@ cli.command("build", "Build for production").option("--target <target>", "Deploy
32
32
  });
33
33
  cli.command("start", "Start production server").option("--port <port>", "Port number").action(async (options) => {
34
34
  try {
35
- const { startCommand } = await import("../start-EREUCSN6.js");
35
+ const { startCommand } = await import("../start-GAULIE5E.js");
36
36
  await startCommand({ port: options.port ? Number(options.port) : void 0 });
37
37
  } catch (err) {
38
38
  const msg = err instanceof Error ? err.message : String(err);
@@ -44,7 +44,7 @@ cli.command("start", "Start production server").option("--port <port>", "Port nu
44
44
  });
45
45
  cli.command("preview", "Build for production, then serve it \u2014 one step (B-030)").option("--port <port>", "Port number").option("--target <target>", "Deploy target (node, vercel, cloudflare)").action(async (options) => {
46
46
  try {
47
- const { previewCommand } = await import("../preview-II33QNAC.js");
47
+ const { previewCommand } = await import("../preview-LHNJSLS6.js");
48
48
  await previewCommand({
49
49
  port: options.port ? Number(options.port) : void 0,
50
50
  target: options.target
@@ -77,7 +77,7 @@ cli.command(
77
77
  "Run an agent in the terminal (stream + tool calls + approval)"
78
78
  ).action(async (name, message) => {
79
79
  try {
80
- const { agentCommand } = await import("../agent-5J7CQAYR.js");
80
+ const { agentCommand } = await import("../agent-QJINXU6U.js");
81
81
  const { sawError } = await agentCommand(name, message);
82
82
  if (sawError) process.exit(1);
83
83
  } catch (err) {
@@ -108,7 +108,7 @@ cli.command("agent sessions gc", "Collect old transcripts for this project (dry
108
108
  });
109
109
  cli.command("mcp <agent>", "Serve an agent as an MCP server over stdio (for desktop MCP clients)").action(async (agent) => {
110
110
  try {
111
- const { mcpCommand } = await import("../mcp-VUHRRX36.js");
111
+ const { mcpCommand } = await import("../mcp-4CXNOZA4.js");
112
112
  await mcpCommand(agent);
113
113
  } catch (err) {
114
114
  const msg = err instanceof Error ? err.message : String(err);
@@ -120,7 +120,7 @@ cli.command("mcp <agent>", "Serve an agent as an MCP server over stdio (for desk
120
120
  });
121
121
  cli.command("routes", "List all routes, actions, and WebSocket endpoints").action(async () => {
122
122
  try {
123
- const { routesCommand } = await import("../routes-3PTNISSO.js");
123
+ const { routesCommand } = await import("../routes-ENMU4GAN.js");
124
124
  await routesCommand();
125
125
  } catch (err) {
126
126
  const msg = err instanceof Error ? err.message : String(err);
@@ -161,7 +161,7 @@ cli.command("add <package>", "Install a known TheoKit adapter or plugin (whiteli
161
161
  await addCommand(pkg);
162
162
  });
163
163
  cli.command("info", "Print environment info (runtime, config, routes)").action(async () => {
164
- const { infoCommand } = await import("../info-SUX7QVA3.js");
164
+ const { infoCommand } = await import("../info-XURFOBRF.js");
165
165
  await infoCommand();
166
166
  });
167
167
  cli.command("doctor", "Report the RESOLVED state of this installation (never prints a secret)").action(async () => {
@@ -173,7 +173,7 @@ cli.command(
173
173
  "Generate <distDir>/openapi.json from route schemas (opt-in via config.openapi)"
174
174
  ).option("--dry-run", "Print the document to stdout without writing to disk (EC-3)").action(async (options) => {
175
175
  try {
176
- const { openapiCommand } = await import("../openapi-C4UX2SFV.js");
176
+ const { openapiCommand } = await import("../openapi-UJSUQPNT.js");
177
177
  await openapiCommand({ dryRun: Boolean(options.dryRun) });
178
178
  } catch (err) {
179
179
  const msg = err instanceof Error ? err.message : String(err);
@@ -27,13 +27,13 @@ import {
27
27
  } from "./chunk-EQJF2EH5.js";
28
28
  import {
29
29
  nodeAdapter
30
- } from "./chunk-UFBBFP75.js";
30
+ } from "./chunk-NLHAYGQQ.js";
31
31
  import "./chunk-3PWQQWT6.js";
32
32
  import "./chunk-WSMLSIS5.js";
33
33
  import {
34
34
  assertServicesUnsupported,
35
35
  readManifest
36
- } from "./chunk-ZNZISJDZ.js";
36
+ } from "./chunk-L4V5V2TI.js";
37
37
 
38
38
  // src/adapters/cloudflare.ts
39
39
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -516,4 +516,4 @@ export {
516
516
  renderWorkersUnsupportedStub,
517
517
  renderWranglerToml
518
518
  };
519
- //# sourceMappingURL=cloudflare-Q5SUXRXY.js.map
519
+ //# sourceMappingURL=cloudflare-PRTTYWRD.js.map
@@ -2,8 +2,8 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  nodeAdapter
5
- } from "./chunk-UFBBFP75.js";
6
- import "./chunk-ZNZISJDZ.js";
5
+ } from "./chunk-NLHAYGQQ.js";
6
+ import "./chunk-L4V5V2TI.js";
7
7
 
8
8
  // src/adapters/config-support.ts
9
9
  var CONFIG_CONCERNS = [
@@ -149,4 +149,4 @@ export {
149
149
  findUnappliedConfig,
150
150
  warnUnappliedConfig
151
151
  };
152
- //# sourceMappingURL=config-support-MOZYHRWG.js.map
152
+ //# sourceMappingURL=config-support-HUZ4DXR7.js.map
@@ -19,12 +19,12 @@ import {
19
19
  } from "./chunk-EQJF2EH5.js";
20
20
  import {
21
21
  nodeAdapter
22
- } from "./chunk-UFBBFP75.js";
22
+ } from "./chunk-NLHAYGQQ.js";
23
23
  import "./chunk-WSMLSIS5.js";
24
24
  import {
25
25
  assertServicesUnsupported,
26
26
  readManifest
27
- } from "./chunk-ZNZISJDZ.js";
27
+ } from "./chunk-L4V5V2TI.js";
28
28
 
29
29
  // src/adapters/deno-deploy.ts
30
30
  import { existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync } from "fs";
@@ -326,4 +326,4 @@ export {
326
326
  renderDenoConfig,
327
327
  renderDenoEntry
328
328
  };
329
- //# sourceMappingURL=deno-deploy-XW3Q6OMD.js.map
329
+ //# sourceMappingURL=deno-deploy-ALX36LID.js.map
@@ -11,12 +11,12 @@ import {
11
11
  } from "./chunk-KTMQUYED.js";
12
12
  import {
13
13
  theoPluginAsync
14
- } from "./chunk-QX5Q3FBJ.js";
15
- import "./chunk-QAS5SKZP.js";
14
+ } from "./chunk-7FIK5NKN.js";
15
+ import "./chunk-VD3BCME6.js";
16
16
  import "./chunk-BDH5GKFZ.js";
17
17
  import "./chunk-3PWQQWT6.js";
18
18
  import "./chunk-FDOOBTXJ.js";
19
- import "./chunk-SHIXTMQE.js";
19
+ import "./chunk-DA3GGICE.js";
20
20
  import "./chunk-BINRCILF.js";
21
21
  import "./chunk-FNJVSFEC.js";
22
22
  import "./chunk-WSMLSIS5.js";
@@ -30,15 +30,15 @@ import "./chunk-4WP7A7RX.js";
30
30
  import "./chunk-Z7CJHDLS.js";
31
31
  import {
32
32
  loadConfig
33
- } from "./chunk-SZWGXHY3.js";
33
+ } from "./chunk-VOXLI66L.js";
34
34
  import {
35
35
  loadEnv
36
36
  } from "./chunk-3QPVEJ7D.js";
37
37
  import "./chunk-U5PWXS3J.js";
38
- import "./chunk-X2LFNDJQ.js";
38
+ import "./chunk-NX3P5MLH.js";
39
39
  import {
40
40
  orchestrateDev
41
- } from "./chunk-ZNZISJDZ.js";
41
+ } from "./chunk-L4V5V2TI.js";
42
42
  import "./chunk-D2R5SJEL.js";
43
43
  import "./chunk-5ODOE6EF.js";
44
44
  import "./chunk-VQIUTCK2.js";
@@ -128,4 +128,4 @@ export {
128
128
  devCommand,
129
129
  startDevServer
130
130
  };
131
- //# sourceMappingURL=dev-FZ4OTCPT.js.map
131
+ //# sourceMappingURL=dev-LMZGOV4M.js.map
package/dist/index.js CHANGED
@@ -8,12 +8,12 @@ import {
8
8
  scanRoutes,
9
9
  theoConfigSchema,
10
10
  theoPlugin
11
- } from "./chunk-NQZIQJFH.js";
11
+ } from "./chunk-SHFZKJCU.js";
12
12
  import "./chunk-7NRFZBAL.js";
13
13
  import "./chunk-SSYDEKWF.js";
14
14
  import "./chunk-D7STTNQN.js";
15
- import "./chunk-HK57MPSZ.js";
16
- import "./chunk-2NG5T77O.js";
15
+ import "./chunk-VPK7ABMB.js";
16
+ import "./chunk-R4AMIBZL.js";
17
17
  import "./chunk-OIGJOYX6.js";
18
18
  import "./chunk-U3SPBLJF.js";
19
19
  import "./chunk-WSOAN4KN.js";
@@ -5,11 +5,11 @@ import {
5
5
  } from "./chunk-47MM2JUK.js";
6
6
  import {
7
7
  loadConfig
8
- } from "./chunk-SZWGXHY3.js";
8
+ } from "./chunk-VOXLI66L.js";
9
9
  import "./chunk-3QPVEJ7D.js";
10
10
  import "./chunk-U5PWXS3J.js";
11
- import "./chunk-X2LFNDJQ.js";
12
- import "./chunk-ZNZISJDZ.js";
11
+ import "./chunk-NX3P5MLH.js";
12
+ import "./chunk-L4V5V2TI.js";
13
13
  import "./chunk-D2R5SJEL.js";
14
14
 
15
15
  // src/cli/commands/info.ts
@@ -103,4 +103,4 @@ export {
103
103
  buildInfo,
104
104
  infoCommand
105
105
  };
106
- //# sourceMappingURL=info-SUX7QVA3.js.map
106
+ //# sourceMappingURL=info-XURFOBRF.js.map
@@ -16,7 +16,7 @@ import {
16
16
  handleCspReport,
17
17
  handleCsrfReadiness,
18
18
  mountAgent
19
- } from "./chunk-SHIXTMQE.js";
19
+ } from "./chunk-DA3GGICE.js";
20
20
  import {
21
21
  resolveProvider
22
22
  } from "./chunk-BINRCILF.js";
@@ -87,4 +87,4 @@ export {
87
87
  scanWebSocketRoutes,
88
88
  sendError
89
89
  };
90
- //# sourceMappingURL=internal-api-GKPJYL3G.js.map
90
+ //# sourceMappingURL=internal-api-ATSPOXI2.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-D7STTNQN.js";
4
4
  import {
5
5
  mountAgent
6
- } from "./chunk-2NG5T77O.js";
6
+ } from "./chunk-R4AMIBZL.js";
7
7
  import {
8
8
  CSP_REPORT_PATH,
9
9
  CsrfReadinessStore,
@@ -108,4 +108,4 @@ export {
108
108
  scanWebSocketRoutes,
109
109
  sendError
110
110
  };
111
- //# sourceMappingURL=internal-api-ZUBUYGCQ.js.map
111
+ //# sourceMappingURL=internal-api-XPT4GLYX.js.map
@@ -3,14 +3,14 @@ import "tsx/esm";
3
3
  import {
4
4
  deepMerge,
5
5
  loadConfig
6
- } from "./chunk-SZWGXHY3.js";
6
+ } from "./chunk-VOXLI66L.js";
7
7
  import "./chunk-3QPVEJ7D.js";
8
8
  import "./chunk-U5PWXS3J.js";
9
- import "./chunk-X2LFNDJQ.js";
10
- import "./chunk-ZNZISJDZ.js";
9
+ import "./chunk-NX3P5MLH.js";
10
+ import "./chunk-L4V5V2TI.js";
11
11
  import "./chunk-D2R5SJEL.js";
12
12
  export {
13
13
  deepMerge,
14
14
  loadConfig
15
15
  };
16
- //# sourceMappingURL=load-config-52H3EKAA.js.map
16
+ //# sourceMappingURL=load-config-2DXLI7NW.js.map
@@ -2,7 +2,7 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  createAgentSsrLoader
5
- } from "./chunk-SG62LZOJ.js";
5
+ } from "./chunk-25OXNMVO.js";
6
6
  import {
7
7
  extractAppResources,
8
8
  handleMcpJsonRpc
@@ -46,7 +46,7 @@ async function serveMcpStdio(mod, name, appResources, streams) {
46
46
  // src/cli/commands/mcp.ts
47
47
  async function mcpCommand(name, deps = {}) {
48
48
  const projectRoot = deps.projectRoot ?? process.cwd();
49
- const agentsDir = deps.agentsDir ?? (await (await import("./load-config-52H3EKAA.js")).loadConfig(projectRoot)).agentsDir;
49
+ const agentsDir = deps.agentsDir ?? (await (await import("./load-config-2DXLI7NW.js")).loadConfig(projectRoot)).agentsDir;
50
50
  const agent = scanAgents(projectRoot, agentsDir).find((a) => a.name === name);
51
51
  if (!agent) {
52
52
  const names = scanAgents(projectRoot, agentsDir).map((a) => a.name).join(", ");
@@ -75,4 +75,4 @@ async function mcpCommand(name, deps = {}) {
75
75
  export {
76
76
  mcpCommand
77
77
  };
78
- //# sourceMappingURL=mcp-VUHRRX36.js.map
78
+ //# sourceMappingURL=mcp-4CXNOZA4.js.map
@@ -22,14 +22,14 @@ import {
22
22
  } from "./chunk-EQJF2EH5.js";
23
23
  import {
24
24
  nodeAdapter
25
- } from "./chunk-UFBBFP75.js";
25
+ } from "./chunk-NLHAYGQQ.js";
26
26
  import {
27
27
  buildSecurityHeaders
28
28
  } from "./chunk-WSMLSIS5.js";
29
29
  import {
30
30
  assertServicesUnsupported,
31
31
  readManifest
32
- } from "./chunk-ZNZISJDZ.js";
32
+ } from "./chunk-L4V5V2TI.js";
33
33
 
34
34
  // src/adapters/netlify.ts
35
35
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -379,4 +379,4 @@ export {
379
379
  netlifyAdapter,
380
380
  renderNetlifyFunction
381
381
  };
382
- //# sourceMappingURL=netlify-ALPCTQFO.js.map
382
+ //# sourceMappingURL=netlify-2D2TM2UW.js.map
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ import "tsx/esm";
3
+ import {
4
+ nodeAdapter
5
+ } from "./chunk-NLHAYGQQ.js";
6
+ import "./chunk-L4V5V2TI.js";
7
+ export {
8
+ nodeAdapter
9
+ };
10
+ //# sourceMappingURL=node-LORYECWI.js.map
@@ -12,11 +12,11 @@ import "./chunk-4WP7A7RX.js";
12
12
  import "./chunk-Z7CJHDLS.js";
13
13
  import {
14
14
  loadConfig
15
- } from "./chunk-SZWGXHY3.js";
15
+ } from "./chunk-VOXLI66L.js";
16
16
  import "./chunk-3QPVEJ7D.js";
17
17
  import "./chunk-U5PWXS3J.js";
18
- import "./chunk-X2LFNDJQ.js";
19
- import "./chunk-ZNZISJDZ.js";
18
+ import "./chunk-NX3P5MLH.js";
19
+ import "./chunk-L4V5V2TI.js";
20
20
  import "./chunk-D2R5SJEL.js";
21
21
 
22
22
  // src/cli/commands/openapi.ts
@@ -84,4 +84,4 @@ function emitOpenApiInMemory(manifest, config) {
84
84
  export {
85
85
  openapiCommand
86
86
  };
87
- //# sourceMappingURL=openapi-C4UX2SFV.js.map
87
+ //# sourceMappingURL=openapi-UJSUQPNT.js.map
@@ -4,8 +4,8 @@ import "tsx/esm";
4
4
  // src/cli/commands/preview.ts
5
5
  async function defaultSteps() {
6
6
  const [{ buildCommand }, { startCommand }] = await Promise.all([
7
- import("./build-7YZSJGP2.js"),
8
- import("./start-EREUCSN6.js")
7
+ import("./build-4NRHCMFB.js"),
8
+ import("./start-GAULIE5E.js")
9
9
  ]);
10
10
  return {
11
11
  build: (opts) => buildCommand(opts),
@@ -20,4 +20,4 @@ async function previewCommand(options = {}, steps) {
20
20
  export {
21
21
  previewCommand
22
22
  };
23
- //# sourceMappingURL=preview-II33QNAC.js.map
23
+ //# sourceMappingURL=preview-LHNJSLS6.js.map
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env node
2
+ import "tsx/esm";
3
+ import {
4
+ VALID_TARGETS
5
+ } from "./chunk-4X43VTST.js";
6
+
7
+ // src/adapters/registry.ts
8
+ var adapterRegistry = {
9
+ node: async () => (await import("./node-LORYECWI.js")).nodeAdapter,
10
+ vercel: async () => (await import("./vercel-INHLOCSZ.js")).vercelAdapter,
11
+ cloudflare: async () => (await import("./cloudflare-PRTTYWRD.js")).cloudflareAdapter,
12
+ static: async () => (await import("./static-O2RZ5NLR.js")).staticAdapter,
13
+ bun: async () => (await import("./bun-VPXMWFBA.js")).bunAdapter,
14
+ "deno-deploy": async () => (await import("./deno-deploy-ALX36LID.js")).denoDeployAdapter,
15
+ netlify: async () => (await import("./netlify-2D2TM2UW.js")).netlifyAdapter,
16
+ "aws-lambda": async () => (await import("./aws-lambda-K5Y6XS5V.js")).awsLambdaAdapter,
17
+ "theo-cloud": async () => (await import("./theo-cloud-B4R7GCWK.js")).theoCloudAdapter
18
+ };
19
+ async function resolveAdapter(target) {
20
+ const factory = adapterRegistry[target];
21
+ return factory();
22
+ }
23
+ async function streamingTargets() {
24
+ const out = [];
25
+ for (const target of VALID_TARGETS) {
26
+ if ((await resolveAdapter(target)).streamsResponses === true) out.push(target);
27
+ }
28
+ return out;
29
+ }
30
+ export {
31
+ resolveAdapter,
32
+ streamingTargets
33
+ };
34
+ //# sourceMappingURL=registry-QSJ7X5NO.js.map
@@ -11,11 +11,11 @@ import {
11
11
  import "./chunk-Z7CJHDLS.js";
12
12
  import {
13
13
  loadConfig
14
- } from "./chunk-SZWGXHY3.js";
14
+ } from "./chunk-VOXLI66L.js";
15
15
  import "./chunk-3QPVEJ7D.js";
16
16
  import "./chunk-U5PWXS3J.js";
17
- import "./chunk-X2LFNDJQ.js";
18
- import "./chunk-ZNZISJDZ.js";
17
+ import "./chunk-NX3P5MLH.js";
18
+ import "./chunk-L4V5V2TI.js";
19
19
  import "./chunk-D2R5SJEL.js";
20
20
 
21
21
  // src/cli/commands/routes.ts
@@ -64,4 +64,4 @@ async function routesCommand() {
64
64
  export {
65
65
  routesCommand
66
66
  };
67
- //# sourceMappingURL=routes-3PTNISSO.js.map
67
+ //# sourceMappingURL=routes-ENMU4GAN.js.map
@@ -2,8 +2,8 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  theoConfigSchema
5
- } from "./chunk-X2LFNDJQ.js";
6
- import "./chunk-ZNZISJDZ.js";
5
+ } from "./chunk-NX3P5MLH.js";
6
+ import "./chunk-L4V5V2TI.js";
7
7
  import {
8
8
  cacheSchema,
9
9
  corsSchema,
@@ -17,4 +17,4 @@ export {
17
17
  storageSchema,
18
18
  theoConfigSchema
19
19
  };
20
- //# sourceMappingURL=schema-LHNWUR4V.js.map
20
+ //# sourceMappingURL=schema-DJH3IOVR.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getStorageManager,
9
9
  useDatabase,
10
10
  useUnstorage
11
- } from "../chunk-FJEKQ4FT.js";
11
+ } from "../chunk-EVKNHQWG.js";
12
12
  import {
13
13
  BodyTooLargeError,
14
14
  DEFAULT_MAX_BODY_BYTES,
@@ -3,7 +3,7 @@ import {
3
3
  getStorageManager,
4
4
  useDatabase,
5
5
  useUnstorage
6
- } from "../../chunk-FJEKQ4FT.js";
6
+ } from "../../chunk-EVKNHQWG.js";
7
7
  import "../../chunk-XTHN6JBX.js";
8
8
  export {
9
9
  StorageManager,
@@ -3,7 +3,7 @@ import "tsx/esm";
3
3
  import {
4
4
  resolveTheoRootDir
5
5
  } from "./chunk-FDOOBTXJ.js";
6
- import "./chunk-SHIXTMQE.js";
6
+ import "./chunk-DA3GGICE.js";
7
7
  import "./chunk-BINRCILF.js";
8
8
  import "./chunk-FNJVSFEC.js";
9
9
  import "./chunk-WSMLSIS5.js";
@@ -131,4 +131,4 @@ export {
131
131
  ServerOnlyImportError,
132
132
  serverOnlyImportBoundary
133
133
  };
134
- //# sourceMappingURL=server-boundary-QCJNECJP.js.map
134
+ //# sourceMappingURL=server-boundary-JM72DQLA.js.map
@@ -2,7 +2,7 @@ import {
2
2
  resolveTheoRootDir
3
3
  } from "./chunk-7NRFZBAL.js";
4
4
  import "./chunk-D7STTNQN.js";
5
- import "./chunk-2NG5T77O.js";
5
+ import "./chunk-R4AMIBZL.js";
6
6
  import "./chunk-WSOAN4KN.js";
7
7
  import "./chunk-ENSFCKP6.js";
8
8
  import "./chunk-2Z7TANA4.js";
@@ -147,4 +147,4 @@ export {
147
147
  ServerOnlyImportError,
148
148
  serverOnlyImportBoundary
149
149
  };
150
- //# sourceMappingURL=server-boundary-RTRPHX5I.js.map
150
+ //# sourceMappingURL=server-boundary-K4YQXDQT.js.map
@@ -2,7 +2,7 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  generateTypedClient
5
- } from "./chunk-ZNZISJDZ.js";
5
+ } from "./chunk-L4V5V2TI.js";
6
6
 
7
7
  // src/vite-plugin/services-typed-client.ts
8
8
  import { resolve } from "path";
@@ -44,4 +44,4 @@ function servicesTypedClientPlugin(opts) {
44
44
  export {
45
45
  servicesTypedClientPlugin
46
46
  };
47
- //# sourceMappingURL=services-typed-client-XGT5SUUN.js.map
47
+ //# sourceMappingURL=services-typed-client-FOBFCRD6.js.map
@@ -29,7 +29,7 @@ import {
29
29
  resolveTransformer,
30
30
  serveMatchedAuxRoute,
31
31
  serveThroughPluginLifecycle
32
- } from "./chunk-QAS5SKZP.js";
32
+ } from "./chunk-VD3BCME6.js";
33
33
  import "./chunk-BDH5GKFZ.js";
34
34
  import {
35
35
  findRootDiv
@@ -45,7 +45,7 @@ import {
45
45
  mountAgent,
46
46
  readAgentPolicy,
47
47
  writeWebResponseToServerResponse
48
- } from "./chunk-SHIXTMQE.js";
48
+ } from "./chunk-DA3GGICE.js";
49
49
  import {
50
50
  getApprovalRegistry,
51
51
  resolveProvider
@@ -85,13 +85,13 @@ import {
85
85
  import "./chunk-Z7CJHDLS.js";
86
86
  import {
87
87
  loadConfig
88
- } from "./chunk-SZWGXHY3.js";
88
+ } from "./chunk-VOXLI66L.js";
89
89
  import {
90
90
  loadEnv
91
91
  } from "./chunk-3QPVEJ7D.js";
92
92
  import "./chunk-U5PWXS3J.js";
93
- import "./chunk-X2LFNDJQ.js";
94
- import "./chunk-ZNZISJDZ.js";
93
+ import "./chunk-NX3P5MLH.js";
94
+ import "./chunk-L4V5V2TI.js";
95
95
  import "./chunk-D2R5SJEL.js";
96
96
  import "./chunk-VQIUTCK2.js";
97
97
 
@@ -436,7 +436,7 @@ async function configureStorageManagerFromConfig(storageConfig) {
436
436
  if (storageConfig === void 0 || storageConfig === null) return;
437
437
  try {
438
438
  const { getStorageManager } = await import("./storage-manager-3O5PDO6O.js");
439
- const { storageSchema } = await import("./schema-LHNWUR4V.js");
439
+ const { storageSchema } = await import("./schema-DJH3IOVR.js");
440
440
  const parsed = storageSchema.parse(storageConfig);
441
441
  getStorageManager().configure(parsed);
442
442
  } catch (err) {
@@ -1431,4 +1431,4 @@ export {
1431
1431
  resolveSsrEntry,
1432
1432
  startCommand
1433
1433
  };
1434
- //# sourceMappingURL=start-EREUCSN6.js.map
1434
+ //# sourceMappingURL=start-GAULIE5E.js.map
@@ -2,7 +2,7 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  nodeAdapter
5
- } from "./chunk-UFBBFP75.js";
5
+ } from "./chunk-NLHAYGQQ.js";
6
6
  import {
7
7
  findRootDiv
8
8
  } from "./chunk-3PWQQWT6.js";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  assertServicesUnsupported,
14
14
  readManifest
15
- } from "./chunk-ZNZISJDZ.js";
15
+ } from "./chunk-L4V5V2TI.js";
16
16
 
17
17
  // src/adapters/static.ts
18
18
  import { existsSync, mkdirSync, readdirSync, readFileSync, statSync, writeFileSync } from "fs";
@@ -247,4 +247,4 @@ export {
247
247
  detectApiRoutes,
248
248
  staticAdapter
249
249
  };
250
- //# sourceMappingURL=static-7LP7LPGN.js.map
250
+ //# sourceMappingURL=static-O2RZ5NLR.js.map
@@ -2,11 +2,11 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  nodeAdapter
5
- } from "./chunk-UFBBFP75.js";
5
+ } from "./chunk-NLHAYGQQ.js";
6
6
  import {
7
7
  prepareTheoCloudArtifacts,
8
8
  readManifest
9
- } from "./chunk-ZNZISJDZ.js";
9
+ } from "./chunk-L4V5V2TI.js";
10
10
 
11
11
  // src/adapters/theo-cloud.ts
12
12
  async function buildTheoCloud(config, cwd, deps = {}, ctx) {
@@ -37,4 +37,4 @@ export {
37
37
  buildTheoCloud,
38
38
  theoCloudAdapter
39
39
  };
40
- //# sourceMappingURL=theo-cloud-GIA67L4Q.js.map
40
+ //# sourceMappingURL=theo-cloud-B4R7GCWK.js.map
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-EQJF2EH5.js";
26
26
  import {
27
27
  nodeAdapter
28
- } from "./chunk-UFBBFP75.js";
28
+ } from "./chunk-NLHAYGQQ.js";
29
29
  import "./chunk-3PWQQWT6.js";
30
30
  import {
31
31
  buildSecurityHeaders
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  assertServicesUnsupported,
35
35
  readManifest
36
- } from "./chunk-ZNZISJDZ.js";
36
+ } from "./chunk-L4V5V2TI.js";
37
37
 
38
38
  // src/adapters/vercel.ts
39
39
  import { existsSync, mkdirSync, writeFileSync, cpSync } from "fs";
@@ -437,4 +437,4 @@ export {
437
437
  shouldCopyIntoStatic,
438
438
  vercelAdapter
439
439
  };
440
- //# sourceMappingURL=vercel-VLR52RXT.js.map
440
+ //# sourceMappingURL=vercel-INHLOCSZ.js.map
@@ -6,12 +6,12 @@ import {
6
6
  defineTheoIntegration,
7
7
  theoPlugin,
8
8
  theoPluginAsync
9
- } from "../chunk-NQZIQJFH.js";
9
+ } from "../chunk-SHFZKJCU.js";
10
10
  import "../chunk-7NRFZBAL.js";
11
11
  import "../chunk-SSYDEKWF.js";
12
12
  import "../chunk-D7STTNQN.js";
13
- import "../chunk-HK57MPSZ.js";
14
- import "../chunk-2NG5T77O.js";
13
+ import "../chunk-VPK7ABMB.js";
14
+ import "../chunk-R4AMIBZL.js";
15
15
  import "../chunk-OIGJOYX6.js";
16
16
  import "../chunk-U3SPBLJF.js";
17
17
  import "../chunk-WSOAN4KN.js";