theokit 0.30.0 → 0.30.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.
Files changed (106) hide show
  1. package/LICENSE +201 -0
  2. package/dist/{actions-virtual-module-PBLLMJY4.js → actions-virtual-module-XHVLBFNN.js} +7 -7
  3. package/dist/actions-virtual-module-Z2IXNF72.js +0 -0
  4. package/dist/add-W6FNTAFS.js +0 -0
  5. package/dist/agent-I5QEOMCN.js +0 -0
  6. package/dist/agents-typed-client-5DCGDWFZ.js +0 -0
  7. package/dist/{app-typed-client-EXHUWPOI.js → app-typed-client-4PAUHTO6.js} +7 -7
  8. package/dist/app-typed-client-YCQC3MZ7.js +0 -0
  9. package/dist/aws-lambda-7GSCNLPY.js +0 -0
  10. package/dist/body-parser-web-FV5HWCY3.js +0 -0
  11. package/dist/boot/index.js +3 -3
  12. package/dist/broadcast-LUMOJIJT.js +0 -0
  13. package/dist/build-V2QEBE7I.js +0 -0
  14. package/dist/build-request-body-preview-QMWD2IXK.js +0 -0
  15. package/dist/bun-KP2KES6S.js +0 -0
  16. package/dist/check-PD2FTKMM.js +0 -0
  17. package/dist/chunk-2CVV6CNN.js +0 -0
  18. package/dist/chunk-45C3WUQ7.js +0 -0
  19. package/dist/{chunk-UYFZ6DDW.js → chunk-4MTCKE5I.js} +1 -189
  20. package/dist/chunk-4MTCKE5I.js.map +1 -0
  21. package/dist/chunk-5ODOE6EF.js +0 -0
  22. package/dist/chunk-63BUBV5L.js +64 -0
  23. package/dist/chunk-63BUBV5L.js.map +1 -0
  24. package/dist/chunk-AFVTEAES.js +0 -0
  25. package/dist/chunk-FOZIR3TG.js +0 -0
  26. package/dist/chunk-FRUEDJFX.js +0 -0
  27. package/dist/chunk-GDN3PXFH.js +0 -0
  28. package/dist/chunk-GEQJAFSV.js +0 -0
  29. package/dist/chunk-GSO77FSM.js +0 -0
  30. package/dist/{chunk-EHUT4FMG.js → chunk-HAOPVC47.js} +29 -27
  31. package/dist/{chunk-EHUT4FMG.js.map → chunk-HAOPVC47.js.map} +1 -1
  32. package/dist/chunk-HGZL5EOI.js +0 -0
  33. package/dist/chunk-HNBWZKIQ.js +0 -0
  34. package/dist/chunk-HZ6USUHC.js +191 -0
  35. package/dist/chunk-HZ6USUHC.js.map +1 -0
  36. package/dist/chunk-IEES3CHD.js +0 -0
  37. package/dist/chunk-JAIKGP3Q.js +0 -0
  38. package/dist/chunk-KXA37ONC.js +0 -0
  39. package/dist/chunk-M6NMS5LR.js +0 -0
  40. package/dist/chunk-P37RZRFV.js +0 -0
  41. package/dist/chunk-S7L6H3KP.js +0 -0
  42. package/dist/chunk-SPFMJAFW.js +326 -0
  43. package/dist/chunk-SPFMJAFW.js.map +1 -0
  44. package/dist/chunk-TERFLG67.js +0 -0
  45. package/dist/{chunk-DMGVH3VG.js → chunk-V3X5FWJA.js} +5 -62
  46. package/dist/chunk-V3X5FWJA.js.map +1 -0
  47. package/dist/chunk-VRVNM3QL.js +0 -0
  48. package/dist/chunk-WR4F4EEZ.js +0 -0
  49. package/dist/chunk-Y4TOVMNC.js +0 -0
  50. package/dist/chunk-YJWEADAW.js +0 -0
  51. package/dist/cloudflare-C6E5SPAE.js +0 -0
  52. package/dist/configure-agent-registry-ZOBVU3MV.js +0 -0
  53. package/dist/db-3UNAMSFK.js +0 -0
  54. package/dist/define-agent-tool-ChaGymol.d.ts +88 -0
  55. package/dist/deno-deploy-RFZN56X4.js +0 -0
  56. package/dist/dev-5ZQMWVFC.js +0 -0
  57. package/dist/dev-emit-EFQRBVYS.js +0 -0
  58. package/dist/dispatcher-EJHL6JMJ.js +0 -0
  59. package/dist/docker-LZZB4D5E.js +0 -0
  60. package/dist/generate-373DALPY.js +0 -0
  61. package/dist/index.js +11 -10
  62. package/dist/index.js.map +1 -1
  63. package/dist/info-2OOXFTJX.js +0 -0
  64. package/dist/{internal-api-JIR3HRKF.js → internal-api-QSP2HCUU.js} +20 -20
  65. package/dist/internal-api-Y5REPVUS.js +0 -0
  66. package/dist/load-config-3EAQTXPH.js +0 -0
  67. package/dist/mcp-VMKWB2BY.js +0 -0
  68. package/dist/netlify-PMLHVPN4.js +0 -0
  69. package/dist/node-BPJ3Z4DT.js +0 -0
  70. package/dist/openapi-ERYWAT3A.js +0 -0
  71. package/dist/registry-3NB7KOUI.js +0 -0
  72. package/dist/router-TLEAOFID.js +0 -0
  73. package/dist/routes-XNS3UM3B.js +0 -0
  74. package/dist/scan-7MJC6PYU.js +0 -0
  75. package/dist/schema-LYOLNHZ7.js +0 -0
  76. package/dist/server/agent/index.d.ts +387 -0
  77. package/dist/server/agent/index.js +43 -0
  78. package/dist/server/agent/index.js.map +1 -0
  79. package/dist/server/auth/index.js +1 -1
  80. package/dist/server/define/index.d.ts +3 -86
  81. package/dist/server/define/index.js +4 -2
  82. package/dist/server/index.d.ts +10 -387
  83. package/dist/server/index.js +112 -398
  84. package/dist/server/index.js.map +1 -1
  85. package/dist/server/jobs/index.js +4 -4
  86. package/dist/server/scan/index.js +1 -1
  87. package/dist/server/webhook/index.d.ts +4 -45
  88. package/dist/server-error-to-envelope-UUXDSLAZ.js +0 -0
  89. package/dist/server-routes-hmr-VZXOP5YT.js +0 -0
  90. package/dist/services-json-Y3XODNB5.js +0 -0
  91. package/dist/services-typed-client-32KMTTXR.js +0 -0
  92. package/dist/start-IFTLTEPZ.js +0 -0
  93. package/dist/static-MB2CD5Y3.js +0 -0
  94. package/dist/storage-manager-ZSQFLEYT.js +0 -0
  95. package/dist/theo-cloud-DQRP6S6M.js +0 -0
  96. package/dist/upgrade-readiness-ACGW44JC.js +0 -0
  97. package/dist/vercel-J6G7ZHYQ.js +0 -0
  98. package/dist/vite-plugin/index.js +11 -10
  99. package/dist/vite-plugin-BNI7YLCD.js +0 -0
  100. package/dist/webhook-types-CNUZY7o1.d.ts +45 -0
  101. package/package.json +14 -10
  102. package/dist/chunk-DMGVH3VG.js.map +0 -1
  103. package/dist/chunk-UYFZ6DDW.js.map +0 -1
  104. /package/dist/{actions-virtual-module-PBLLMJY4.js.map → actions-virtual-module-XHVLBFNN.js.map} +0 -0
  105. /package/dist/{app-typed-client-EXHUWPOI.js.map → app-typed-client-4PAUHTO6.js.map} +0 -0
  106. /package/dist/{internal-api-JIR3HRKF.js.map → internal-api-QSP2HCUU.js.map} +0 -0
@@ -0,0 +1,64 @@
1
+ // src/server/define/define-agent-tool.ts
2
+ import { z } from "zod";
3
+ var TOOL_NAME_REGEX = /^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/;
4
+ function isZodObject(schema) {
5
+ let current = schema;
6
+ for (let depth = 0; depth < 10; depth++) {
7
+ if (current instanceof z.ZodObject) return true;
8
+ const z4 = current.def;
9
+ if (z4?.type === "object") return true;
10
+ const z3 = current._def;
11
+ if (z3?.typeName === "ZodObject") return true;
12
+ const next = z4?.innerType ?? z4?.in ?? z3?.schema ?? z3?.innerType;
13
+ if (next !== void 0) {
14
+ current = next;
15
+ continue;
16
+ }
17
+ return false;
18
+ }
19
+ return false;
20
+ }
21
+ function defineAgentTool(spec) {
22
+ if (!TOOL_NAME_REGEX.test(spec.name)) {
23
+ throw new Error(
24
+ `defineAgentTool: name must match ${TOOL_NAME_REGEX.source}. Got: ${JSON.stringify(spec.name)}`
25
+ );
26
+ }
27
+ if (!isZodObject(spec.inputSchema)) {
28
+ throw new Error("defineAgentTool: inputSchema must be a ZodObject (z.object({...}))");
29
+ }
30
+ if (spec.description.length === 0) {
31
+ console.warn(
32
+ `defineAgentTool(${JSON.stringify(spec.name)}): empty description degrades LLM tool selection \u2014 provide a one-sentence summary.`
33
+ );
34
+ }
35
+ const { $schema: _$schema, ...inputSchema } = z.toJSONSchema(spec.inputSchema);
36
+ return {
37
+ name: spec.name,
38
+ description: spec.description,
39
+ inputSchema,
40
+ handler: async (input, ctx) => {
41
+ const parsed = spec.inputSchema.parse(input);
42
+ const result = await spec.handler(parsed, ctx);
43
+ if (spec.toModelOutput) return spec.toModelOutput(result);
44
+ if (typeof result !== "string") {
45
+ throw new Error(
46
+ `defineAgentTool(${JSON.stringify(spec.name)}): handler returned a non-string; provide toModelOutput to map it to a string for the model.`
47
+ );
48
+ }
49
+ return result;
50
+ },
51
+ // M18 — carry the per-target formatters for the app (ignored by the SDK wire).
52
+ ...spec.transform !== void 0 ? { transform: spec.transform } : {}
53
+ };
54
+ }
55
+ function applyTransform(tool, result, target) {
56
+ const fn = tool.transform?.[target];
57
+ return fn ? fn(result) : result;
58
+ }
59
+
60
+ export {
61
+ defineAgentTool,
62
+ applyTransform
63
+ };
64
+ //# sourceMappingURL=chunk-63BUBV5L.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/server/define/define-agent-tool.ts"],"sourcesContent":["import { z } from 'zod'\n\n/**\n * Item #4 — `defineAgentTool`\n *\n * Sugar over the `@theokit/sdk` `CustomTool` contract. Takes a Zod schema +\n * handler and produces a structurally-compatible `CustomTool` that\n * `Agent.create({ tools: [...] })` accepts.\n *\n * Uses Zod v4's native `z.toJSONSchema()` to convert the input schema to\n * JSON Schema for LLM providers.\n *\n * Handler error propagation:\n * `defineAgentTool` parses the input via the Zod schema BEFORE calling the\n * user handler. Invalid input throws a `ZodError`, which the SDK's tool-\n * dispatcher treats as a tool failure and surfaces to the model as a tool\n * error (the SDK owns the wire; ADR D3).\n */\n\n/**\n * Local mirror of the SDK's `CustomTool` interface. We don't `import type`\n * from `@theokit/sdk` because the SDK is an optional peer (consumers who\n * never call `defineAgentTool` shouldn't need it installed). The shape is\n * the wire contract; any structurally-matching object is accepted by\n * `Agent.create({ tools })`.\n *\n * @public\n */\nexport interface CustomTool {\n name: string\n description: string\n inputSchema: Record<string, unknown>\n handler: (\n input: Record<string, unknown>,\n ctx?: { signal?: AbortSignal; context?: unknown },\n ) => string | Promise<string>\n /** M18 — optional per-target formatters for the app's UI/transcript (ignored by the SDK wire). */\n transform?: ToolTransform\n}\n\n/**\n * M18 — per-target formatters. `display` shapes the rich handler result for the UI; `transcript`\n * shapes it for a saved transcript. Applied by {@link applyTransform}, never by the model wire.\n */\nexport interface ToolTransform<R = unknown> {\n display?: (result: R) => unknown\n transcript?: (result: R) => unknown\n}\n\n/**\n * Spec accepted by {@link defineAgentTool}. `inputSchema` is a Zod 3 schema\n * rooted in `z.object(...)`. The `handler` argument type is inferred via\n * `z.infer<T>`.\n *\n * @public\n */\nexport interface DefineAgentToolSpec<T extends z.ZodType, R = string> {\n /** Tool name surfaced to the LLM. Must match `^[a-zA-Z][a-zA-Z0-9_-]{0,63}$`. */\n name: string\n /** Description surfaced to the LLM. Required — drives tool-selection accuracy. */\n description: string\n /** Zod schema describing the input. Must be `z.object(...)` at the root. */\n inputSchema: T\n /**\n * Handler invoked with the parsed input and, optionally, the run `ctx` (M7). `ctx.context`\n * is the object supplied once at the agent level (`defineAgent({ context })`) or per-run —\n * read it for shared config like `projectRoot` instead of baking it into the factory.\n * `ctx.signal` is the abort signal. Optional so existing one-arg handlers keep working.\n *\n * M18 — the handler may return RICH data `R` (not just a string) when `toModelOutput` is\n * provided to map it to the model-visible string.\n */\n handler: (\n input: z.infer<T>,\n ctx?: { signal?: AbortSignal; context?: unknown },\n ) => R | Promise<R>\n /**\n * M18 — map the rich handler result `R` to the string the model sees. Required (in practice)\n * when `handler` returns a non-string; absent ⇒ the handler must return a string.\n */\n toModelOutput?: (result: R) => string\n /** M18 — per-target formatters (`display` / `transcript`) for the app, applied by {@link applyTransform}. */\n transform?: ToolTransform<R>\n}\n\nconst TOOL_NAME_REGEX = /^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/\n\nfunction isZodObject(schema: z.ZodType): boolean {\n // Refinements (`.refine`), transforms (`.transform`), and defaults wrap the\n // underlying schema — walk the chain until we hit a ZodObject (or give up).\n // Supports both zod 4 (`instanceof z.ZodObject`, `def.type === 'object'`,\n // wrappers via `def.innerType` / pipe via `def.in`) and zod 3\n // (`_def.typeName === 'ZodObject'`, wrappers via `_def.schema`/`_def.innerType`).\n let current: unknown = schema\n for (let depth = 0; depth < 10; depth++) {\n if (current instanceof z.ZodObject) return true\n const z4 = (current as { def?: { type?: string; innerType?: unknown; in?: unknown } }).def\n if (z4?.type === 'object') return true\n const z3 = (current as { _def?: { typeName?: string; schema?: unknown; innerType?: unknown } })\n ._def\n if (z3?.typeName === 'ZodObject') return true\n const next = z4?.innerType ?? z4?.in ?? z3?.schema ?? z3?.innerType\n if (next !== undefined) {\n current = next\n continue\n }\n return false\n }\n return false\n}\n\n/**\n * Build a {@link CustomTool} from a Zod 3 schema + handler.\n *\n * Behavior:\n * - Validates `name` matches the LLM tool-name regex.\n * - Requires `inputSchema` to be a `ZodObject` (Anthropic + SDK contract).\n * - Warns (not throws) if `description` is empty — empty descriptions\n * degrade LLM tool selection.\n * - Converts the Zod schema to JSON Schema 7 inline (no `$ref`s — LLMs handle\n * inline schemas more reliably).\n * - Strips the top-level `$schema` field (Anthropic rejects schemas with\n * `$schema` at root in some provider modes).\n * - Wraps the handler to parse the input via the Zod schema BEFORE invoking\n * the user code — bad LLM-supplied input throws `ZodError`, which the SDK\n * converts to `tool_result(isError)`.\n *\n * @public\n */\nexport function defineAgentTool<T extends z.ZodType, R = string>(\n spec: DefineAgentToolSpec<T, R>,\n): CustomTool {\n if (!TOOL_NAME_REGEX.test(spec.name)) {\n throw new Error(\n `defineAgentTool: name must match ${TOOL_NAME_REGEX.source}. Got: ${JSON.stringify(spec.name)}`,\n )\n }\n if (!isZodObject(spec.inputSchema)) {\n throw new Error('defineAgentTool: inputSchema must be a ZodObject (z.object({...}))')\n }\n if (spec.description.length === 0) {\n console.warn(\n `defineAgentTool(${JSON.stringify(spec.name)}): empty description degrades LLM tool selection — provide a one-sentence summary.`,\n )\n }\n\n // Zod v4 native JSON Schema conversion — replaces zod-to-json-schema dep.\n // Strip $schema (Anthropic + some providers reject it).\n const { $schema: _$schema, ...inputSchema } = z.toJSONSchema(spec.inputSchema) as Record<\n string,\n unknown\n > & {\n $schema?: unknown\n }\n\n return {\n name: spec.name,\n description: spec.description,\n inputSchema,\n handler: async (\n input: Record<string, unknown>,\n ctx?: { signal?: AbortSignal; context?: unknown },\n ): Promise<string> => {\n const parsed = spec.inputSchema.parse(input)\n // M7 — forward the run ctx so the handler can read `ctx.context` (e.g. projectRoot).\n const result = await spec.handler(parsed, ctx)\n // M18 — shape the (possibly rich) result into the model-visible string.\n if (spec.toModelOutput) return spec.toModelOutput(result)\n if (typeof result !== 'string') {\n throw new Error(\n `defineAgentTool(${JSON.stringify(spec.name)}): handler returned a non-string; provide toModelOutput to map it to a string for the model.`,\n )\n }\n return result\n },\n // M18 — carry the per-target formatters for the app (ignored by the SDK wire).\n ...(spec.transform !== undefined ? { transform: spec.transform as ToolTransform } : {}),\n }\n}\n\n/**\n * M18 — apply a tool's `transform` for a target (`display` / `transcript`). Returns the formatted\n * value, or the raw `result` when the tool declares no transform for that target.\n */\nexport function applyTransform(\n tool: CustomTool,\n result: unknown,\n target: 'display' | 'transcript',\n): unknown {\n const fn = tool.transform?.[target]\n return fn ? fn(result) : result\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAqFlB,IAAM,kBAAkB;AAExB,SAAS,YAAY,QAA4B;AAM/C,MAAI,UAAmB;AACvB,WAAS,QAAQ,GAAG,QAAQ,IAAI,SAAS;AACvC,QAAI,mBAAmB,EAAE,UAAW,QAAO;AAC3C,UAAM,KAAM,QAA2E;AACvF,QAAI,IAAI,SAAS,SAAU,QAAO;AAClC,UAAM,KAAM,QACT;AACH,QAAI,IAAI,aAAa,YAAa,QAAO;AACzC,UAAM,OAAO,IAAI,aAAa,IAAI,MAAM,IAAI,UAAU,IAAI;AAC1D,QAAI,SAAS,QAAW;AACtB,gBAAU;AACV;AAAA,IACF;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;AAoBO,SAAS,gBACd,MACY;AACZ,MAAI,CAAC,gBAAgB,KAAK,KAAK,IAAI,GAAG;AACpC,UAAM,IAAI;AAAA,MACR,oCAAoC,gBAAgB,MAAM,UAAU,KAAK,UAAU,KAAK,IAAI,CAAC;AAAA,IAC/F;AAAA,EACF;AACA,MAAI,CAAC,YAAY,KAAK,WAAW,GAAG;AAClC,UAAM,IAAI,MAAM,oEAAoE;AAAA,EACtF;AACA,MAAI,KAAK,YAAY,WAAW,GAAG;AACjC,YAAQ;AAAA,MACN,mBAAmB,KAAK,UAAU,KAAK,IAAI,CAAC;AAAA,IAC9C;AAAA,EACF;AAIA,QAAM,EAAE,SAAS,UAAU,GAAG,YAAY,IAAI,EAAE,aAAa,KAAK,WAAW;AAO7E,SAAO;AAAA,IACL,MAAM,KAAK;AAAA,IACX,aAAa,KAAK;AAAA,IAClB;AAAA,IACA,SAAS,OACP,OACA,QACoB;AACpB,YAAM,SAAS,KAAK,YAAY,MAAM,KAAK;AAE3C,YAAM,SAAS,MAAM,KAAK,QAAQ,QAAQ,GAAG;AAE7C,UAAI,KAAK,cAAe,QAAO,KAAK,cAAc,MAAM;AACxD,UAAI,OAAO,WAAW,UAAU;AAC9B,cAAM,IAAI;AAAA,UACR,mBAAmB,KAAK,UAAU,KAAK,IAAI,CAAC;AAAA,QAC9C;AAAA,MACF;AACA,aAAO;AAAA,IACT;AAAA;AAAA,IAEA,GAAI,KAAK,cAAc,SAAY,EAAE,WAAW,KAAK,UAA2B,IAAI,CAAC;AAAA,EACvF;AACF;AAMO,SAAS,eACd,MACA,QACA,QACS;AACT,QAAM,KAAK,KAAK,YAAY,MAAM;AAClC,SAAO,KAAK,GAAG,MAAM,IAAI;AAC3B;","names":[]}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,20 +1,30 @@
1
- import {
2
- broadcastToDevtools
3
- } from "./chunk-7BIM27LV.js";
4
1
  import {
5
2
  buildServicesProxyConfig,
6
3
  servicesConfigSchema
7
4
  } from "./chunk-D7ZH7DTG.js";
8
5
  import {
9
- extractAppResources,
10
- handleMcpJsonRpc,
11
- isMcpPath,
6
+ broadcastToDevtools
7
+ } from "./chunk-7BIM27LV.js";
8
+ import {
12
9
  loadEnv,
13
10
  resolveTransformer
14
- } from "./chunk-UYFZ6DDW.js";
11
+ } from "./chunk-4MTCKE5I.js";
12
+ import {
13
+ BATCH_PATH,
14
+ TRACE_HEADER,
15
+ createCorsHandler,
16
+ executeAction,
17
+ executeRoute,
18
+ extractTraceId,
19
+ handleBatchRequest,
20
+ sendError
21
+ } from "./chunk-TGTNRUH3.js";
15
22
  import {
16
23
  findSuggestion
17
24
  } from "./chunk-5QW7IQQU.js";
25
+ import {
26
+ logRequest
27
+ } from "./chunk-WFNLNIJX.js";
18
28
  import {
19
29
  createPluginRunnerFromConfig
20
30
  } from "./chunk-IAJ2JVEH.js";
@@ -38,28 +48,20 @@ import {
38
48
  handleCspReport,
39
49
  handleCsrfReadiness
40
50
  } from "./chunk-JBCHWRKF.js";
51
+ import {
52
+ validateCsrfRequest
53
+ } from "./chunk-TSLSIRBR.js";
54
+ import {
55
+ extractAppResources,
56
+ handleMcpJsonRpc,
57
+ isMcpPath
58
+ } from "./chunk-HZ6USUHC.js";
41
59
  import {
42
60
  generateNonce
43
61
  } from "./chunk-C3ZZ56YZ.js";
44
62
  import {
45
63
  importUserModule
46
64
  } from "./chunk-7MQOHNHE.js";
47
- import {
48
- BATCH_PATH,
49
- TRACE_HEADER,
50
- createCorsHandler,
51
- executeAction,
52
- executeRoute,
53
- extractTraceId,
54
- handleBatchRequest,
55
- sendError
56
- } from "./chunk-TGTNRUH3.js";
57
- import {
58
- logRequest
59
- } from "./chunk-WFNLNIJX.js";
60
- import {
61
- validateCsrfRequest
62
- } from "./chunk-TSLSIRBR.js";
63
65
 
64
66
  // src/vite-plugin/index.ts
65
67
  import { existsSync as existsSync9 } from "fs";
@@ -3342,19 +3344,19 @@ async function theoPluginAsync(rootOrOptions) {
3342
3344
  })
3343
3345
  );
3344
3346
  }
3345
- const { appTypedClientPlugin } = await import("./app-typed-client-EXHUWPOI.js");
3347
+ const { appTypedClientPlugin } = await import("./app-typed-client-4PAUHTO6.js");
3346
3348
  const appClientPlugin = appTypedClientPlugin({
3347
3349
  cwd: projectRoot,
3348
3350
  serverDir: serverDirAbs,
3349
3351
  distDir: resolve9(projectRoot, ".theokit")
3350
3352
  });
3351
- const { actionsVirtualModule } = await import("./actions-virtual-module-PBLLMJY4.js");
3353
+ const { actionsVirtualModule } = await import("./actions-virtual-module-XHVLBFNN.js");
3352
3354
  const actionsPlugin = actionsVirtualModule({
3353
3355
  serverDir: serverDirAbs,
3354
3356
  distDir: resolve9(projectRoot, ".theokit")
3355
3357
  });
3356
3358
  const { agentsTypedClientPlugin } = await import("./agents-typed-client-MAAILRI6.js");
3357
- const { generateManifest } = await import("./internal-api-JIR3HRKF.js");
3359
+ const { generateManifest } = await import("./internal-api-QSP2HCUU.js");
3358
3360
  const agentsClientPlugin = agentsTypedClientPlugin({
3359
3361
  projectRoot,
3360
3362
  agentsDir: agentsDirName,
@@ -3537,4 +3539,4 @@ export {
3537
3539
  theoPluginAsync,
3538
3540
  theoPlugin
3539
3541
  };
3540
- //# sourceMappingURL=chunk-EHUT4FMG.js.map
3542
+ //# sourceMappingURL=chunk-HAOPVC47.js.map