theokit 0.46.1 → 0.48.0

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 (171) hide show
  1. package/dist/{actions-virtual-module-LLDDAQWY.js → actions-virtual-module-2VVLVXHY.js} +6 -6
  2. package/dist/{actions-virtual-module-67K4POQ2.js → actions-virtual-module-Z5LXAX7E.js} +8 -7
  3. package/dist/actions-virtual-module-Z5LXAX7E.js.map +1 -0
  4. package/dist/{agent-WFULT3OB.js → agent-Y3JKRROD.js} +4 -4
  5. package/dist/{app-typed-client-S3VR4ZA3.js → app-typed-client-N4I4RBLT.js} +6 -6
  6. package/dist/app-typed-client-N4I4RBLT.js.map +1 -0
  7. package/dist/{app-typed-client-N5WUE2CP.js → app-typed-client-NI3CM2FA.js} +8 -7
  8. package/dist/app-typed-client-NI3CM2FA.js.map +1 -0
  9. package/dist/{aws-lambda-473QCOL6.js → aws-lambda-7SUTORXM.js} +3 -3
  10. package/dist/boot/index.js +1 -1
  11. package/dist/{build-YQ6MXOV6.js → build-SJQDRD2B.js} +10 -10
  12. package/dist/{bun-OQUCL3XW.js → bun-TLYZCEGE.js} +3 -3
  13. package/dist/{chunk-HEK4SET7.js → chunk-5JJCNEUS.js} +2 -2
  14. package/dist/chunk-5JJCNEUS.js.map +1 -0
  15. package/dist/chunk-6E5WKMDS.js +67 -0
  16. package/dist/chunk-6E5WKMDS.js.map +1 -0
  17. package/dist/{chunk-TDNNBLGW.js → chunk-6GGWS7J3.js} +1 -1
  18. package/dist/chunk-6GGWS7J3.js.map +1 -0
  19. package/dist/{chunk-FZG3JYB3.js → chunk-7ZOQN7UH.js} +1 -1
  20. package/dist/{chunk-B7ONQ4QJ.js → chunk-AOGYAXPY.js} +3 -3
  21. package/dist/{chunk-QPVXGC7O.js → chunk-CUYEA62B.js} +1 -1
  22. package/dist/{chunk-QPVXGC7O.js.map → chunk-CUYEA62B.js.map} +1 -1
  23. package/dist/{chunk-OXCALO3W.js → chunk-D3425YDV.js} +2 -2
  24. package/dist/{chunk-SMP2T335.js → chunk-DGQO372T.js} +2 -2
  25. package/dist/{chunk-C34PMLSN.js → chunk-DV34VG3N.js} +2 -10
  26. package/dist/chunk-DV34VG3N.js.map +1 -0
  27. package/dist/{chunk-U3H53IIN.js → chunk-FO55VGMQ.js} +3 -3
  28. package/dist/{chunk-VFU7DTUL.js → chunk-GEHX6CAE.js} +10 -8
  29. package/dist/chunk-GEHX6CAE.js.map +1 -0
  30. package/dist/{chunk-GDN3PXFH.js → chunk-HBU2GIMZ.js} +1 -1
  31. package/dist/chunk-HBU2GIMZ.js.map +1 -0
  32. package/dist/{chunk-7SABX4DJ.js → chunk-IZ3TIL6K.js} +28 -2
  33. package/dist/{chunk-7SABX4DJ.js.map → chunk-IZ3TIL6K.js.map} +1 -1
  34. package/dist/{chunk-L4Y6RJ4E.js → chunk-KSZGBUTI.js} +2 -2
  35. package/dist/{chunk-226KMIGZ.js → chunk-MNIQ5F3Y.js} +2 -10
  36. package/dist/chunk-MNIQ5F3Y.js.map +1 -0
  37. package/dist/{chunk-KBGGQK4I.js → chunk-O3JIAU3V.js} +4 -4
  38. package/dist/{chunk-UYMCKHML.js → chunk-O5W7XSUX.js} +40 -40
  39. package/dist/chunk-O5W7XSUX.js.map +1 -0
  40. package/dist/{chunk-EIRQM55C.js → chunk-OJLL4YD6.js} +5 -46
  41. package/dist/chunk-OJLL4YD6.js.map +1 -0
  42. package/dist/{chunk-6LNIGF5P.js → chunk-ORKNVORZ.js} +1 -1
  43. package/dist/chunk-ORKNVORZ.js.map +1 -0
  44. package/dist/{chunk-KPKLIUUL.js → chunk-TNI4MARH.js} +3 -3
  45. package/dist/{chunk-6KDXP472.js → chunk-UDPJP42U.js} +4 -4
  46. package/dist/{chunk-HGZL5EOI.js → chunk-VQIUTCK2.js} +28 -2
  47. package/dist/chunk-VQIUTCK2.js.map +1 -0
  48. package/dist/{chunk-6VDYQ4I6.js → chunk-VTJMND23.js} +4 -4
  49. package/dist/{chunk-6VDYQ4I6.js.map → chunk-VTJMND23.js.map} +1 -1
  50. package/dist/{chunk-37ZO643S.js → chunk-XALU5LCU.js} +3 -3
  51. package/dist/{chunk-SEELKQUM.js → chunk-Y2KHTD2W.js} +6 -2
  52. package/dist/chunk-Y2KHTD2W.js.map +1 -0
  53. package/dist/{chunk-SZU6BOMV.js → chunk-YRRWQDKK.js} +22 -18
  54. package/dist/chunk-YRRWQDKK.js.map +1 -0
  55. package/dist/{chunk-5AMXBU2R.js → chunk-ZALJIZH2.js} +13 -13
  56. package/dist/chunk-ZALJIZH2.js.map +1 -0
  57. package/dist/cli/index.js +31 -9
  58. package/dist/cli/index.js.map +1 -1
  59. package/dist/client/index.d.ts +1 -1
  60. package/dist/client/index.js +1 -1
  61. package/dist/{cloudflare-4YT5CK3P.js → cloudflare-JTBKOX3F.js} +3 -3
  62. package/dist/{deno-deploy-YYN6BNLF.js → deno-deploy-3ESNGYZU.js} +3 -3
  63. package/dist/{dev-YNO26JS3.js → dev-6TWDBX6G.js} +12 -12
  64. package/dist/{dev-emit-J7V6GWSK.js → dev-emit-7ZZRTYF3.js} +3 -3
  65. package/dist/{dev-emit-F54Y5TIU.js → dev-emit-E5Z26AMV.js} +3 -3
  66. package/dist/devtools/entry.js.map +1 -1
  67. package/dist/doctor-Y53QTUSP.js +56 -0
  68. package/dist/doctor-Y53QTUSP.js.map +1 -0
  69. package/dist/{error-envelope-BsNzzAV5.d.ts → error-envelope-DG47lt8E.d.ts} +4 -4
  70. package/dist/{generate-GXWPUVS7.js → generate-WQSNW4F6.js} +1 -1
  71. package/dist/{generate-GXWPUVS7.js.map → generate-WQSNW4F6.js.map} +1 -1
  72. package/dist/{index-BeAsvfPr.d.ts → index-BEtEv6ZH.d.ts} +2 -2
  73. package/dist/index.d.ts +5 -5
  74. package/dist/index.js +9 -8
  75. package/dist/index.js.map +1 -1
  76. package/dist/{info-ICDTPJDC.js → info-QB7Q3SHP.js} +5 -5
  77. package/dist/{internal-api-S7WK2WCY.js → internal-api-REGN3WMX.js} +11 -9
  78. package/dist/{internal-api-NO24QAXC.js → internal-api-XQA2L663.js} +6 -6
  79. package/dist/load-config-JKJ73TOD.js +14 -0
  80. package/dist/{mcp-3S6A4A4Q.js → mcp-CO4AGAXV.js} +5 -5
  81. package/dist/{netlify-2WZUQYI3.js → netlify-OFJUYXTZ.js} +3 -3
  82. package/dist/node-ND4MJU3Z.js +10 -0
  83. package/dist/{openapi-NIYA2VBG.js → openapi-5CZCL7YP.js} +7 -7
  84. package/dist/registry-QTSMLOVG.js +23 -0
  85. package/dist/{routes-2RD4S5PZ.js → routes-GWAWUVVQ.js} +6 -6
  86. package/dist/{schema-S553QCAU.js → schema-2JEG6TTU.js} +3 -3
  87. package/dist/server/agent/index.d.ts +90 -1
  88. package/dist/server/agent/index.js +14 -2
  89. package/dist/server/cost/index.d.ts +1 -0
  90. package/dist/server/cost/index.js +3 -1
  91. package/dist/server/http/index.d.ts +2 -2
  92. package/dist/server/http/index.js +2 -2
  93. package/dist/server/index.d.ts +499 -6
  94. package/dist/server/index.js +491 -12
  95. package/dist/server/index.js.map +1 -1
  96. package/dist/server/observability/index.d.ts +4 -4
  97. package/dist/server/observability/index.js +1 -1
  98. package/dist/server/rate-limit/index.js +2 -2
  99. package/dist/server/scan/index.js +2 -2
  100. package/dist/{server-error-to-envelope-UM7DEVM4.js → server-error-to-envelope-2MQOME5Q.js} +2 -2
  101. package/dist/{server-error-to-envelope-UUXDSLAZ.js → server-error-to-envelope-4TGCDQ2S.js} +2 -2
  102. package/dist/{services-typed-client-EO4RFNTZ.js → services-typed-client-II7LKXKO.js} +2 -2
  103. package/dist/sessions-gc-H4WC4IXB.js +38 -0
  104. package/dist/sessions-gc-H4WC4IXB.js.map +1 -0
  105. package/dist/{start-TVT7BZ4V.js → start-IO3ZYGEX.js} +13 -13
  106. package/dist/start-IO3ZYGEX.js.map +1 -0
  107. package/dist/{static-25H5K42R.js → static-HTT2WNIT.js} +3 -3
  108. package/dist/{theo-cloud-JL2KXHIS.js → theo-cloud-ZTQLXGPS.js} +2 -2
  109. package/dist/theo-cloud-ZTQLXGPS.js.map +1 -0
  110. package/dist/{vercel-FP3C6LN6.js → vercel-72HFEMJ3.js} +3 -3
  111. package/dist/vite-plugin/index.js +9 -8
  112. package/dist/{vite-plugin-K64KQZSU.js → vite-plugin-NQ6F7FGV.js} +12 -12
  113. package/package.json +6 -7
  114. package/dist/actions-virtual-module-67K4POQ2.js.map +0 -1
  115. package/dist/app-typed-client-N5WUE2CP.js.map +0 -1
  116. package/dist/app-typed-client-S3VR4ZA3.js.map +0 -1
  117. package/dist/chunk-226KMIGZ.js.map +0 -1
  118. package/dist/chunk-5AMXBU2R.js.map +0 -1
  119. package/dist/chunk-6LNIGF5P.js.map +0 -1
  120. package/dist/chunk-C34PMLSN.js.map +0 -1
  121. package/dist/chunk-EIRQM55C.js.map +0 -1
  122. package/dist/chunk-GDN3PXFH.js.map +0 -1
  123. package/dist/chunk-HEK4SET7.js.map +0 -1
  124. package/dist/chunk-HGZL5EOI.js.map +0 -1
  125. package/dist/chunk-SEELKQUM.js.map +0 -1
  126. package/dist/chunk-SZU6BOMV.js.map +0 -1
  127. package/dist/chunk-TDNNBLGW.js.map +0 -1
  128. package/dist/chunk-UYMCKHML.js.map +0 -1
  129. package/dist/chunk-VFU7DTUL.js.map +0 -1
  130. package/dist/load-config-ICCNMO74.js +0 -14
  131. package/dist/node-CMAYKDCM.js +0 -10
  132. package/dist/registry-72YH7ZJM.js +0 -23
  133. package/dist/start-TVT7BZ4V.js.map +0 -1
  134. package/dist/theo-cloud-JL2KXHIS.js.map +0 -1
  135. /package/dist/{actions-virtual-module-LLDDAQWY.js.map → actions-virtual-module-2VVLVXHY.js.map} +0 -0
  136. /package/dist/{agent-WFULT3OB.js.map → agent-Y3JKRROD.js.map} +0 -0
  137. /package/dist/{aws-lambda-473QCOL6.js.map → aws-lambda-7SUTORXM.js.map} +0 -0
  138. /package/dist/{build-YQ6MXOV6.js.map → build-SJQDRD2B.js.map} +0 -0
  139. /package/dist/{bun-OQUCL3XW.js.map → bun-TLYZCEGE.js.map} +0 -0
  140. /package/dist/{chunk-FZG3JYB3.js.map → chunk-7ZOQN7UH.js.map} +0 -0
  141. /package/dist/{chunk-B7ONQ4QJ.js.map → chunk-AOGYAXPY.js.map} +0 -0
  142. /package/dist/{chunk-OXCALO3W.js.map → chunk-D3425YDV.js.map} +0 -0
  143. /package/dist/{chunk-SMP2T335.js.map → chunk-DGQO372T.js.map} +0 -0
  144. /package/dist/{chunk-U3H53IIN.js.map → chunk-FO55VGMQ.js.map} +0 -0
  145. /package/dist/{chunk-L4Y6RJ4E.js.map → chunk-KSZGBUTI.js.map} +0 -0
  146. /package/dist/{chunk-KBGGQK4I.js.map → chunk-O3JIAU3V.js.map} +0 -0
  147. /package/dist/{chunk-KPKLIUUL.js.map → chunk-TNI4MARH.js.map} +0 -0
  148. /package/dist/{chunk-6KDXP472.js.map → chunk-UDPJP42U.js.map} +0 -0
  149. /package/dist/{chunk-37ZO643S.js.map → chunk-XALU5LCU.js.map} +0 -0
  150. /package/dist/{cloudflare-4YT5CK3P.js.map → cloudflare-JTBKOX3F.js.map} +0 -0
  151. /package/dist/{deno-deploy-YYN6BNLF.js.map → deno-deploy-3ESNGYZU.js.map} +0 -0
  152. /package/dist/{dev-YNO26JS3.js.map → dev-6TWDBX6G.js.map} +0 -0
  153. /package/dist/{dev-emit-J7V6GWSK.js.map → dev-emit-7ZZRTYF3.js.map} +0 -0
  154. /package/dist/{dev-emit-F54Y5TIU.js.map → dev-emit-E5Z26AMV.js.map} +0 -0
  155. /package/dist/{info-ICDTPJDC.js.map → info-QB7Q3SHP.js.map} +0 -0
  156. /package/dist/{internal-api-S7WK2WCY.js.map → internal-api-REGN3WMX.js.map} +0 -0
  157. /package/dist/{internal-api-NO24QAXC.js.map → internal-api-XQA2L663.js.map} +0 -0
  158. /package/dist/{load-config-ICCNMO74.js.map → load-config-JKJ73TOD.js.map} +0 -0
  159. /package/dist/{mcp-3S6A4A4Q.js.map → mcp-CO4AGAXV.js.map} +0 -0
  160. /package/dist/{netlify-2WZUQYI3.js.map → netlify-OFJUYXTZ.js.map} +0 -0
  161. /package/dist/{node-CMAYKDCM.js.map → node-ND4MJU3Z.js.map} +0 -0
  162. /package/dist/{openapi-NIYA2VBG.js.map → openapi-5CZCL7YP.js.map} +0 -0
  163. /package/dist/{registry-72YH7ZJM.js.map → registry-QTSMLOVG.js.map} +0 -0
  164. /package/dist/{routes-2RD4S5PZ.js.map → routes-GWAWUVVQ.js.map} +0 -0
  165. /package/dist/{schema-S553QCAU.js.map → schema-2JEG6TTU.js.map} +0 -0
  166. /package/dist/{server-error-to-envelope-UM7DEVM4.js.map → server-error-to-envelope-2MQOME5Q.js.map} +0 -0
  167. /package/dist/{server-error-to-envelope-UUXDSLAZ.js.map → server-error-to-envelope-4TGCDQ2S.js.map} +0 -0
  168. /package/dist/{services-typed-client-EO4RFNTZ.js.map → services-typed-client-II7LKXKO.js.map} +0 -0
  169. /package/dist/{static-25H5K42R.js.map → static-HTT2WNIT.js.map} +0 -0
  170. /package/dist/{vercel-FP3C6LN6.js.map → vercel-72HFEMJ3.js.map} +0 -0
  171. /package/dist/{vite-plugin-K64KQZSU.js.map → vite-plugin-NQ6F7FGV.js.map} +0 -0
@@ -5,6 +5,95 @@ export { InProcessApprovalRequest, InProcessApprovalRequiredError, InProcessAwai
5
5
  import { CustomTool as CustomTool$1 } from '@theokit/sdk';
6
6
  import { V as VerifyFn } from '../../webhook-types-CNUZY7o1.js';
7
7
 
8
+ /**
9
+ * Provider Resolver — Strategy + Registry pattern (FAANG-grade).
10
+ *
11
+ * Inspiration: Dapr Conversation Registry (`dapr/pkg/components/conversation/registry.go`)
12
+ * + Encore Manager provider array (`encore/runtimes/go/pubsub/manager_internal.go`).
13
+ *
14
+ * Principle: provider routing is the FRAMEWORK's responsibility, not the consumer's.
15
+ * The consumer template uses a plain `model: { id: 'gpt-4o-mini' }` — no conditionals.
16
+ *
17
+ * Wire protocol: OpenAI Chat Completions (universal — implemented by every
18
+ * os providers: OpenRouter, Groq, Mistral, Together, Anthropic via proxy, etc).
19
+ *
20
+ * Resolution by priority (FIRST match wins):
21
+ * 1. OPENROUTER_API_KEY → baseUrl=openrouter.ai (multi-model gateway)
22
+ * 2. OPENAI_API_KEY → baseUrl=api.openai.com
23
+ * 3. ANTHROPIC_API_KEY → direct Anthropic (Messages API, not OpenAI-compat)
24
+ *
25
+ * Escape hatch: an explicit `options.apiKey` OVERRIDES auto-resolution
26
+ * (the consumer can force a specific provider if it wants to).
27
+ */
28
+ /**
29
+ * Provider configuration descriptor — Registry entry shape.
30
+ *
31
+ * @public
32
+ */
33
+ interface ProviderDescriptor {
34
+ /** Stable name used internally — not exposed on the wire. */
35
+ name: string;
36
+ /** Environment variable that holds the API key for this provider. */
37
+ envKey: string;
38
+ /** Base URL for the provider's OpenAI-compatible (or native) API. */
39
+ baseUrl: string;
40
+ /** Resolution priority (lower = higher priority). FIRST match wins. */
41
+ priority: number;
42
+ }
43
+ /**
44
+ * Resolved provider configuration — output of `resolveProvider()`.
45
+ *
46
+ * @public
47
+ */
48
+ interface ResolvedProvider {
49
+ name: string;
50
+ apiKey: string;
51
+ baseUrl: string;
52
+ }
53
+ /**
54
+ * Register a new provider (Registry pattern — runtime extension point).
55
+ * Useful for self-hosted endpoints or custom providers without touching theokit src.
56
+ *
57
+ * @example
58
+ * registerProvider({
59
+ * name: 'self-hosted',
60
+ * envKey: 'SELF_HOSTED_API_KEY',
61
+ * baseUrl: 'https://llm.internal.acme.com/v1',
62
+ * priority: 0, // highest priority
63
+ * })
64
+ *
65
+ * @public
66
+ */
67
+ declare function registerProvider(descriptor: ProviderDescriptor): void;
68
+ /**
69
+ * Reset registry to DEFAULT_REGISTRY (test-only / dev escape hatch).
70
+ *
71
+ * @public
72
+ */
73
+ declare function resetProviderRegistry(): void;
74
+ /**
75
+ * Get current registry snapshot (read-only — inspection).
76
+ *
77
+ * @public
78
+ */
79
+ declare function listProviders(): readonly ProviderDescriptor[];
80
+ /**
81
+ * Resolve provider from env vars by priority. FIRST env var found wins.
82
+ *
83
+ * @returns ResolvedProvider with apiKey + baseUrl + name
84
+ * @throws Error if NO provider env var is set (actionable message)
85
+ *
86
+ * @public
87
+ */
88
+ declare function resolveProvider(): ResolvedProvider;
89
+ /**
90
+ * Try to resolve — does NOT throw. Returns null if no provider available.
91
+ * Useful for graceful degradation (e.g., mock mode).
92
+ *
93
+ * @public
94
+ */
95
+ declare function tryResolveProvider(): ResolvedProvider | null;
96
+
8
97
  /**
9
98
  * M26 (ADR-0041) — `createWorkflowTool`: wrap an SDK `Workflow` as a `CustomTool`.
10
99
  *
@@ -320,4 +409,4 @@ interface StdioStreams {
320
409
  */
321
410
  declare function serveMcpStdio(mod: unknown, name: string, appResources: readonly AppResource[], streams: StdioStreams): Promise<void>;
322
411
 
323
- export { type AcpToolConfig, type AppResource, type AppResourceInput, type ChannelMessage, type ChannelWebhookConfig, type CodeModeApi, type CodeModeConfig, type CodeModePermission, CodeModePermissionDeniedError, type McpResourceContents, type McpResourceDescriptor, NodeAcpTransport, type Sandbox, type StdioStreams, type VendorAgentClient, type VendorAgentToolConfig, type WorkflowLike, type WorkflowToolConfig, buildResourceDescriptors, createACPTool, createCodeMode, createVendorAgentTool, createWorkflowTool, defineAppResource, extractAppResources, handleChannelWebhook, handleMcpStdioLine, isChannelPath, parseChannelPath, readAppResource, serveMcpStdio };
412
+ export { type AcpToolConfig, type AppResource, type AppResourceInput, type ChannelMessage, type ChannelWebhookConfig, type CodeModeApi, type CodeModeConfig, type CodeModePermission, CodeModePermissionDeniedError, type McpResourceContents, type McpResourceDescriptor, NodeAcpTransport, type ProviderDescriptor, type ResolvedProvider, type Sandbox, type StdioStreams, type VendorAgentClient, type VendorAgentToolConfig, type WorkflowLike, type WorkflowToolConfig, buildResourceDescriptors, createACPTool, createCodeMode, createVendorAgentTool, createWorkflowTool, defineAppResource, extractAppResources, handleChannelWebhook, handleMcpStdioLine, isChannelPath, listProviders, parseChannelPath, readAppResource, registerProvider, resetProviderRegistry, resolveProvider, serveMcpStdio, tryResolveProvider };
@@ -12,13 +12,20 @@ import {
12
12
  parseChannelPath,
13
13
  serveMcpStdio,
14
14
  streamAgentTurnInProcess
15
- } from "../../chunk-FZG3JYB3.js";
15
+ } from "../../chunk-7ZOQN7UH.js";
16
16
  import {
17
17
  buildResourceDescriptors,
18
18
  defineAppResource,
19
19
  extractAppResources,
20
20
  readAppResource
21
21
  } from "../../chunk-YOIVCCZT.js";
22
+ import {
23
+ listProviders,
24
+ registerProvider,
25
+ resetProviderRegistry,
26
+ resolveProvider,
27
+ tryResolveProvider
28
+ } from "../../chunk-6E5WKMDS.js";
22
29
  import "../../chunk-SAFGDIPQ.js";
23
30
  import "../../chunk-XTHN6JBX.js";
24
31
  export {
@@ -35,9 +42,14 @@ export {
35
42
  handleChannelWebhook,
36
43
  handleMcpStdioLine,
37
44
  isChannelPath,
45
+ listProviders,
38
46
  parseChannelPath,
39
47
  readAppResource,
48
+ registerProvider,
49
+ resetProviderRegistry,
50
+ resolveProvider,
40
51
  serveMcpStdio,
41
- streamAgentTurnInProcess
52
+ streamAgentTurnInProcess,
53
+ tryResolveProvider
42
54
  };
43
55
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,5 @@
1
1
  import { d as StorageAdapter } from '../../storage-types-DsDTCPbp.js';
2
+ export { InMemoryUsageStorage as NeutralUsageStorage } from '@theokit/agents/usage';
2
3
 
3
4
  /**
4
5
  * Cost tracking types (R0.5.11).
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  InMemoryUsageStorage,
3
+ InMemoryUsageStorage2,
3
4
  trackAgentRun,
4
5
  trackAgentTools
5
- } from "../../chunk-SEELKQUM.js";
6
+ } from "../../chunk-Y2KHTD2W.js";
6
7
  import "../../chunk-XTHN6JBX.js";
7
8
  export {
8
9
  InMemoryUsageStorage,
10
+ InMemoryUsageStorage2 as NeutralUsageStorage,
9
11
  trackAgentRun,
10
12
  trackAgentTools
11
13
  };
@@ -1,5 +1,5 @@
1
- export { B as BATCH_PATH, a as BatchExecuteFn, b as BatchPathConflictError, c as BatchPayload, d as BatchRequestItem, e as BatchResponse, f as BatchResultItem, C as CookieOptions, g as CorsConfig, h as CorsHandler, i as CorsOrigin, j as CorsWebHandler, k as CustomErrorPages, E as ExecuteActionOptions, l as ExecuteRouteContext, H as HandleBatchOptions, M as MAX_ERROR_HTML_BYTES, m as MiddlewareResult, N as NotFoundError, S as STRIPPED_HEADERS, n as SendErrorInput, o as SendErrorOptions, T as TRACE_HEADER, p as TRACE_PARENT_HEADER, q as TheoError, _ as _resetMiddlewareCacheForTests, s as appendCookieToHeaders, t as appendDeleteCookieToHeaders, u as createCorsHandler, v as createCorsWebHandler, w as deleteCookie, x as envelopeCodeToStatus, y as executeAction, z as executeRoute, A as extractTraceId, D as extractTraceIdFromRequest, F as fromUnknown, G as getCookie, I as getCookieFromRequest, J as handleBatchRequest, K as handleRequestError, L as handleWebRequestError, P as loadCustomErrorPages, Q as matchesOrigin, R as parseCookieHeader, U as parseTraceparent, W as runMiddlewareAndContext, X as sendError, Y as sendJson, Z as serializeCookie, $ as serveStaticFile, a0 as serverErrorToEnvelope, a1 as setCookie } from '../../index-BeAsvfPr.js';
2
- import '../../error-envelope-BsNzzAV5.js';
1
+ export { B as BATCH_PATH, a as BatchExecuteFn, b as BatchPathConflictError, c as BatchPayload, d as BatchRequestItem, e as BatchResponse, f as BatchResultItem, C as CookieOptions, g as CorsConfig, h as CorsHandler, i as CorsOrigin, j as CorsWebHandler, k as CustomErrorPages, E as ExecuteActionOptions, l as ExecuteRouteContext, H as HandleBatchOptions, M as MAX_ERROR_HTML_BYTES, m as MiddlewareResult, N as NotFoundError, S as STRIPPED_HEADERS, n as SendErrorInput, o as SendErrorOptions, T as TRACE_HEADER, p as TRACE_PARENT_HEADER, q as TheoError, _ as _resetMiddlewareCacheForTests, s as appendCookieToHeaders, t as appendDeleteCookieToHeaders, u as createCorsHandler, v as createCorsWebHandler, w as deleteCookie, x as envelopeCodeToStatus, y as executeAction, z as executeRoute, A as extractTraceId, D as extractTraceIdFromRequest, F as fromUnknown, G as getCookie, I as getCookieFromRequest, J as handleBatchRequest, K as handleRequestError, L as handleWebRequestError, P as loadCustomErrorPages, Q as matchesOrigin, R as parseCookieHeader, U as parseTraceparent, W as runMiddlewareAndContext, X as sendError, Y as sendJson, Z as serializeCookie, $ as serveStaticFile, a0 as serverErrorToEnvelope, a1 as setCookie } from '../../index-BEtEv6ZH.js';
2
+ import '../../error-envelope-DG47lt8E.js';
3
3
  import 'node:http';
4
4
  import '../../plugin-types-D69-lJZ9.js';
5
5
  import '../../plugin-runner-BFEcgtmJ.js';
@@ -24,7 +24,7 @@ import {
24
24
  runMiddlewareAndContext,
25
25
  sendError,
26
26
  sendJson
27
- } from "../../chunk-37ZO643S.js";
27
+ } from "../../chunk-XALU5LCU.js";
28
28
  import "../../chunk-47FFT43U.js";
29
29
  import "../../chunk-KD5G3YXI.js";
30
30
  import "../../chunk-FB2HBNIC.js";
@@ -38,7 +38,7 @@ import {
38
38
  TheoError,
39
39
  fromUnknown,
40
40
  serverErrorToEnvelope
41
- } from "../../chunk-7SABX4DJ.js";
41
+ } from "../../chunk-IZ3TIL6K.js";
42
42
  import {
43
43
  appendCookieToHeaders,
44
44
  appendDeleteCookieToHeaders,