theokit 0.30.1 → 0.30.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 (44) hide show
  1. package/dist/{actions-virtual-module-PBLLMJY4.js → actions-virtual-module-XHVLBFNN.js} +7 -7
  2. package/dist/{app-typed-client-EXHUWPOI.js → app-typed-client-4PAUHTO6.js} +7 -7
  3. package/dist/boot/index.js +3 -3
  4. package/dist/{chunk-UYFZ6DDW.js → chunk-4MTCKE5I.js} +1 -189
  5. package/dist/chunk-4MTCKE5I.js.map +1 -0
  6. package/dist/chunk-63BUBV5L.js +64 -0
  7. package/dist/chunk-63BUBV5L.js.map +1 -0
  8. package/dist/{chunk-RBRDTYOO.js → chunk-CEHXC5NI.js} +2 -2
  9. package/dist/chunk-CEHXC5NI.js.map +1 -0
  10. package/dist/{chunk-EHUT4FMG.js → chunk-HAOPVC47.js} +29 -27
  11. package/dist/{chunk-EHUT4FMG.js.map → chunk-HAOPVC47.js.map} +1 -1
  12. package/dist/chunk-HZ6USUHC.js +191 -0
  13. package/dist/chunk-HZ6USUHC.js.map +1 -0
  14. package/dist/chunk-SPFMJAFW.js +326 -0
  15. package/dist/chunk-SPFMJAFW.js.map +1 -0
  16. package/dist/{chunk-DMGVH3VG.js → chunk-V3X5FWJA.js} +5 -62
  17. package/dist/chunk-V3X5FWJA.js.map +1 -0
  18. package/dist/client/core.js +1 -1
  19. package/dist/client/index.js +1 -1
  20. package/dist/define-agent-tool-ChaGymol.d.ts +88 -0
  21. package/dist/index.js +11 -10
  22. package/dist/index.js.map +1 -1
  23. package/dist/{internal-api-JIR3HRKF.js → internal-api-QSP2HCUU.js} +20 -20
  24. package/dist/server/agent/index.d.ts +387 -0
  25. package/dist/server/agent/index.js +43 -0
  26. package/dist/server/agent/index.js.map +1 -0
  27. package/dist/server/auth/index.js +1 -1
  28. package/dist/server/define/index.d.ts +3 -86
  29. package/dist/server/define/index.js +4 -2
  30. package/dist/server/index.d.ts +10 -387
  31. package/dist/server/index.js +112 -398
  32. package/dist/server/index.js.map +1 -1
  33. package/dist/server/jobs/index.js +4 -4
  34. package/dist/server/scan/index.js +1 -1
  35. package/dist/server/webhook/index.d.ts +4 -45
  36. package/dist/vite-plugin/index.js +11 -10
  37. package/dist/webhook-types-CNUZY7o1.d.ts +45 -0
  38. package/package.json +6 -2
  39. package/dist/chunk-DMGVH3VG.js.map +0 -1
  40. package/dist/chunk-RBRDTYOO.js.map +0 -1
  41. package/dist/chunk-UYFZ6DDW.js.map +0 -1
  42. /package/dist/{actions-virtual-module-PBLLMJY4.js.map → actions-virtual-module-XHVLBFNN.js.map} +0 -0
  43. /package/dist/{app-typed-client-EXHUWPOI.js.map → app-typed-client-4PAUHTO6.js.map} +0 -0
  44. /package/dist/{internal-api-JIR3HRKF.js.map → internal-api-QSP2HCUU.js.map} +0 -0
@@ -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