theokit 0.74.4 → 0.74.5
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/{agent-QJINXU6U.js → agent-XPZUWTHR.js} +2 -2
- package/dist/{build-AKN2NCFW.js → build-F3O5LJHY.js} +2 -2
- package/dist/{chunk-SHFZKJCU.js → chunk-FPC6ZEEU.js} +6 -1
- package/dist/{chunk-SHFZKJCU.js.map → chunk-FPC6ZEEU.js.map} +1 -1
- package/dist/{chunk-25OXNMVO.js → chunk-PZLH4WGU.js} +2 -2
- package/dist/{chunk-7FIK5NKN.js → chunk-XUAWD5HK.js} +6 -1
- package/dist/{chunk-7FIK5NKN.js.map → chunk-XUAWD5HK.js.map} +1 -1
- package/dist/cli/index.js +5 -5
- package/dist/{dev-LMZGOV4M.js → dev-TW6QD7F3.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{mcp-4CXNOZA4.js → mcp-LMV3NQEP.js} +2 -2
- package/dist/{preview-WTPUW47O.js → preview-AMNBV2DP.js} +2 -2
- package/dist/vite-plugin/index.js +1 -1
- package/dist/{vite-plugin-NXWE2AVM.js → vite-plugin-4ZMBW3KV.js} +2 -2
- package/package.json +2 -2
- /package/dist/{agent-QJINXU6U.js.map → agent-XPZUWTHR.js.map} +0 -0
- /package/dist/{build-AKN2NCFW.js.map → build-F3O5LJHY.js.map} +0 -0
- /package/dist/{chunk-25OXNMVO.js.map → chunk-PZLH4WGU.js.map} +0 -0
- /package/dist/{dev-LMZGOV4M.js.map → dev-TW6QD7F3.js.map} +0 -0
- /package/dist/{mcp-4CXNOZA4.js.map → mcp-LMV3NQEP.js.map} +0 -0
- /package/dist/{preview-WTPUW47O.js.map → preview-AMNBV2DP.js.map} +0 -0
- /package/dist/{vite-plugin-NXWE2AVM.js.map → vite-plugin-4ZMBW3KV.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-
|
|
18
|
+
const { devCommand } = await import("../dev-TW6QD7F3.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-
|
|
23
|
+
const { buildCommand } = await import("../build-F3O5LJHY.js");
|
|
24
24
|
await buildCommand({ target: options.target });
|
|
25
25
|
} catch (err) {
|
|
26
26
|
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-
|
|
47
|
+
const { previewCommand } = await import("../preview-AMNBV2DP.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-
|
|
80
|
+
const { agentCommand } = await import("../agent-XPZUWTHR.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-
|
|
111
|
+
const { mcpCommand } = await import("../mcp-LMV3NQEP.js");
|
|
112
112
|
await mcpCommand(agent);
|
|
113
113
|
} catch (err) {
|
|
114
114
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-KTMQUYED.js";
|
|
12
12
|
import {
|
|
13
13
|
theoPluginAsync
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XUAWD5HK.js";
|
|
15
15
|
import "./chunk-VD3BCME6.js";
|
|
16
16
|
import "./chunk-BDH5GKFZ.js";
|
|
17
17
|
import "./chunk-3PWQQWT6.js";
|
|
@@ -128,4 +128,4 @@ export {
|
|
|
128
128
|
devCommand,
|
|
129
129
|
startDevServer
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=dev-
|
|
131
|
+
//# sourceMappingURL=dev-TW6QD7F3.js.map
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "tsx/esm";
|
|
3
3
|
import {
|
|
4
4
|
createAgentSsrLoader
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PZLH4WGU.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-
|
|
78
|
+
//# sourceMappingURL=mcp-LMV3NQEP.js.map
|
|
@@ -4,7 +4,7 @@ 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-
|
|
7
|
+
import("./build-F3O5LJHY.js"),
|
|
8
8
|
import("./start-GAULIE5E.js")
|
|
9
9
|
]);
|
|
10
10
|
return {
|
|
@@ -20,4 +20,4 @@ async function previewCommand(options = {}, steps) {
|
|
|
20
20
|
export {
|
|
21
21
|
previewCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=preview-
|
|
23
|
+
//# sourceMappingURL=preview-AMNBV2DP.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
defineTheoIntegration,
|
|
9
9
|
theoPlugin,
|
|
10
10
|
theoPluginAsync
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XUAWD5HK.js";
|
|
12
12
|
import "./chunk-VD3BCME6.js";
|
|
13
13
|
import "./chunk-BDH5GKFZ.js";
|
|
14
14
|
import "./chunk-3PWQQWT6.js";
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
theoPlugin,
|
|
43
43
|
theoPluginAsync
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=vite-plugin-
|
|
45
|
+
//# sourceMappingURL=vite-plugin-4ZMBW3KV.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "theokit",
|
|
3
|
-
"version": "0.74.
|
|
3
|
+
"version": "0.74.5",
|
|
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",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"tsx": "^4.22.4",
|
|
151
151
|
"typescript": "^5.9.3",
|
|
152
152
|
"vite": "^7.0.0",
|
|
153
|
-
"@theokit/agents": "^15.0
|
|
153
|
+
"@theokit/agents": "^15.1.0",
|
|
154
154
|
"@theokit/http": "^2.3.0",
|
|
155
155
|
"@theokit/presenter": "^0.10.0"
|
|
156
156
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|