theokit 0.48.9 → 0.48.10

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.
@@ -178,7 +178,7 @@ async function agentCommand(name, message, deps = {}) {
178
178
  async function createAgentSsrLoader(projectRoot) {
179
179
  const { createServer } = await import("vite");
180
180
  const react = (await import("@vitejs/plugin-react")).default;
181
- const { theoPluginAsync } = await import("./vite-plugin-EQMDMDXV.js");
181
+ const { theoPluginAsync } = await import("./vite-plugin-SM5MHOJZ.js");
182
182
  const { loadConfig } = await import("./load-config-VKD6LKWU.js");
183
183
  const config = await loadConfig(projectRoot);
184
184
  const theoPlugins = await theoPluginAsync({
@@ -212,4 +212,4 @@ export {
212
212
  agentCommand,
213
213
  createAgentSsrLoader
214
214
  };
215
- //# sourceMappingURL=chunk-SO64VQOD.js.map
215
+ //# sourceMappingURL=chunk-NGE76BEX.js.map
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-P2MODWTG.js");
18
+ const { devCommand } = await import("../dev-K27SUPJD.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-FMRO4W4Q.js");
23
+ const { buildCommand } = await import("../build-GYRWWCLA.js");
24
24
  await buildCommand({ target: options.target });
25
25
  } catch (err) {
26
26
  const msg = err instanceof Error ? err.message : String(err);
@@ -62,7 +62,7 @@ cli.command(
62
62
  "Run an agent in the terminal (stream + tool calls + approval)"
63
63
  ).action(async (name, message) => {
64
64
  try {
65
- const { agentCommand } = await import("../agent-SK4TOO6M.js");
65
+ const { agentCommand } = await import("../agent-QMVAEQ7I.js");
66
66
  const { sawError } = await agentCommand(name, message);
67
67
  if (sawError) process.exit(1);
68
68
  } catch (err) {
@@ -93,7 +93,7 @@ cli.command("agent sessions gc", "Collect old transcripts for this project (dry
93
93
  });
94
94
  cli.command("mcp <agent>", "Serve an agent as an MCP server over stdio (for desktop MCP clients)").action(async (agent) => {
95
95
  try {
96
- const { mcpCommand } = await import("../mcp-EQHTPQ2L.js");
96
+ const { mcpCommand } = await import("../mcp-3JORKAFI.js");
97
97
  await mcpCommand(agent);
98
98
  } catch (err) {
99
99
  const msg = err instanceof Error ? err.message : String(err);
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-GEQJAFSV.js";
9
9
  import {
10
10
  theoPluginAsync
11
- } from "./chunk-Q2S2IGSM.js";
11
+ } from "./chunk-7UMA5DY4.js";
12
12
  import "./chunk-GRI4XHBJ.js";
13
13
  import "./chunk-2CVV6CNN.js";
14
14
  import "./chunk-3PWQQWT6.js";
@@ -112,4 +112,4 @@ export {
112
112
  devCommand,
113
113
  startDevServer
114
114
  };
115
- //# sourceMappingURL=dev-P2MODWTG.js.map
115
+ //# sourceMappingURL=dev-K27SUPJD.js.map
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  scanRoutes,
9
9
  theoConfigSchema,
10
10
  theoPlugin
11
- } from "./chunk-YML4ZDFA.js";
11
+ } from "./chunk-7BCC4BCR.js";
12
12
  import "./chunk-SSYDEKWF.js";
13
13
  import "./chunk-OIGJOYX6.js";
14
14
  import "./chunk-OJLL4YD6.js";
@@ -2,7 +2,7 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  createAgentSsrLoader
5
- } from "./chunk-SO64VQOD.js";
5
+ } from "./chunk-NGE76BEX.js";
6
6
  import {
7
7
  extractAppResources,
8
8
  handleMcpJsonRpc
@@ -75,4 +75,4 @@ async function mcpCommand(name, deps = {}) {
75
75
  export {
76
76
  mcpCommand
77
77
  };
78
- //# sourceMappingURL=mcp-EQHTPQ2L.js.map
78
+ //# sourceMappingURL=mcp-3JORKAFI.js.map
@@ -5,7 +5,7 @@ import {
5
5
  defineTheoIntegration,
6
6
  theoPlugin,
7
7
  theoPluginAsync
8
- } from "../chunk-YML4ZDFA.js";
8
+ } from "../chunk-7BCC4BCR.js";
9
9
  import "../chunk-SSYDEKWF.js";
10
10
  import "../chunk-OIGJOYX6.js";
11
11
  import "../chunk-OJLL4YD6.js";
@@ -7,7 +7,7 @@ import {
7
7
  defineTheoIntegration,
8
8
  theoPlugin,
9
9
  theoPluginAsync
10
- } from "./chunk-Q2S2IGSM.js";
10
+ } from "./chunk-7UMA5DY4.js";
11
11
  import "./chunk-GRI4XHBJ.js";
12
12
  import "./chunk-2CVV6CNN.js";
13
13
  import "./chunk-3PWQQWT6.js";
@@ -33,4 +33,4 @@ export {
33
33
  theoPlugin,
34
34
  theoPluginAsync
35
35
  };
36
- //# sourceMappingURL=vite-plugin-EQMDMDXV.js.map
36
+ //# sourceMappingURL=vite-plugin-SM5MHOJZ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theokit",
3
- "version": "0.48.9",
3
+ "version": "0.48.10",
4
4
  "description": "The TheoKit web framework — file-based routing, typed server surfaces, the Vite plugin, the CLI and the deploy adapters, around agents served from agents/*.ts.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -133,9 +133,9 @@
133
133
  "tsx": "^4.22.4",
134
134
  "typescript": "^5.9.3",
135
135
  "vite": "^6.4.3",
136
- "@theokit/agents": "^10.1.0",
136
+ "@theokit/presenter": "^0.7.0",
137
137
  "@theokit/http": "^1.1.0",
138
- "@theokit/presenter": "^0.7.0"
138
+ "@theokit/agents": "^10.1.0"
139
139
  },
140
140
  "peerDependencies": {
141
141
  "@theokit/sdk": "^4.52.1",