@senpi/runtime 3.0.6-dev.runtime-phase-2.20260630134327 → 3.0.6-dev.runtime-phase-2.20260630134451

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 (326) hide show
  1. package/dist/actions/{tracking-helpers.d.ts → action-events.d.ts} +24 -23
  2. package/dist/actions/action-events.d.ts.map +1 -0
  3. package/dist/actions/{tracking-helpers.js → action-events.js} +25 -77
  4. package/dist/actions/action-events.js.map +1 -0
  5. package/dist/actions/close-position/close-position.action.d.ts.map +1 -1
  6. package/dist/actions/close-position/close-position.action.js +8 -17
  7. package/dist/actions/close-position/close-position.action.js.map +1 -1
  8. package/dist/actions/event-derivation.d.ts +5 -6
  9. package/dist/actions/event-derivation.d.ts.map +1 -1
  10. package/dist/actions/event-derivation.js +4 -5
  11. package/dist/actions/event-derivation.js.map +1 -1
  12. package/dist/actions/llm-decision/anthropic-llm-decision.d.ts +5 -9
  13. package/dist/actions/llm-decision/anthropic-llm-decision.d.ts.map +1 -1
  14. package/dist/actions/llm-decision/anthropic-llm-decision.js +6 -86
  15. package/dist/actions/llm-decision/anthropic-llm-decision.js.map +1 -1
  16. package/dist/actions/llm-decision/factory.d.ts +0 -6
  17. package/dist/actions/llm-decision/factory.d.ts.map +1 -1
  18. package/dist/actions/llm-decision/factory.js +0 -2
  19. package/dist/actions/llm-decision/factory.js.map +1 -1
  20. package/dist/actions/llm-decision/openclaw-llm-decision.d.ts.map +1 -1
  21. package/dist/actions/llm-decision/openclaw-llm-decision.js +25 -5
  22. package/dist/actions/llm-decision/openclaw-llm-decision.js.map +1 -1
  23. package/dist/actions/open-position/open-position.action.d.ts.map +1 -1
  24. package/dist/actions/open-position/open-position.action.js +9 -17
  25. package/dist/actions/open-position/open-position.action.js.map +1 -1
  26. package/dist/actions/position-tracker/position-tracker.action.d.ts.map +1 -1
  27. package/dist/actions/position-tracker/position-tracker.action.js +1 -2
  28. package/dist/actions/position-tracker/position-tracker.action.js.map +1 -1
  29. package/dist/dsl/engine-client/event-mapping.d.ts.map +1 -1
  30. package/dist/dsl/engine-client/event-mapping.js +0 -3
  31. package/dist/dsl/engine-client/event-mapping.js.map +1 -1
  32. package/dist/dsl/events/build-closed-event.d.ts.map +1 -1
  33. package/dist/dsl/events/build-closed-event.js +0 -1
  34. package/dist/dsl/events/build-closed-event.js.map +1 -1
  35. package/dist/dsl/events/handlers.d.ts.map +1 -1
  36. package/dist/dsl/events/handlers.js +2 -4
  37. package/dist/dsl/events/handlers.js.map +1 -1
  38. package/dist/dsl/monitor/create-monitor.d.ts +1 -1
  39. package/dist/dsl/monitor/create-monitor.d.ts.map +1 -1
  40. package/dist/dsl/monitor/create-monitor.js +0 -30
  41. package/dist/dsl/monitor/create-monitor.js.map +1 -1
  42. package/dist/dsl/monitor/process-one-position.d.ts.map +1 -1
  43. package/dist/dsl/monitor/process-one-position.js +0 -121
  44. package/dist/dsl/monitor/process-one-position.js.map +1 -1
  45. package/dist/dsl/plugin/index.js +3 -3
  46. package/dist/dsl/plugin/index.js.map +1 -1
  47. package/dist/dsl/plugin/options.d.ts +1 -1
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +27 -60
  50. package/dist/index.js.map +1 -1
  51. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.d.ts +2 -0
  52. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.d.ts.map +1 -1
  53. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.js +24 -3
  54. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.js.map +1 -1
  55. package/dist/runtime/create-runtime-context.d.ts +1 -1
  56. package/dist/runtime/create-runtime-context.d.ts.map +1 -1
  57. package/dist/runtime/create-scanner-module.d.ts +1 -1
  58. package/dist/runtime/domain-events.d.ts +4 -4
  59. package/dist/runtime/domain-events.d.ts.map +1 -1
  60. package/dist/runtime/domain-events.js +4 -4
  61. package/dist/runtime/domain-events.js.map +1 -1
  62. package/dist/runtime/lifecycle-events.d.ts +3 -3
  63. package/dist/runtime/lifecycle-events.js +5 -5
  64. package/dist/runtime/lifecycle-events.js.map +1 -1
  65. package/dist/{tracking → runtime}/position-id-registry.d.ts +14 -1
  66. package/dist/runtime/position-id-registry.d.ts.map +1 -0
  67. package/dist/{tracking → runtime}/position-id-registry.js +20 -3
  68. package/dist/runtime/position-id-registry.js.map +1 -0
  69. package/dist/runtime/run.d.ts +2 -4
  70. package/dist/runtime/run.d.ts.map +1 -1
  71. package/dist/runtime/run.js.map +1 -1
  72. package/dist/runtime/runtime-schema.d.ts +120 -486
  73. package/dist/runtime/runtime-schema.d.ts.map +1 -1
  74. package/dist/runtime/runtime-schema.js +0 -27
  75. package/dist/runtime/runtime-schema.js.map +1 -1
  76. package/dist/runtime/runtime.d.ts +4 -9
  77. package/dist/runtime/runtime.d.ts.map +1 -1
  78. package/dist/runtime/runtime.js +33 -190
  79. package/dist/runtime/runtime.js.map +1 -1
  80. package/dist/scanners/engine/data-providers.d.ts +1 -1
  81. package/dist/scanners/runtime-module.d.ts +1 -1
  82. package/dist/senpi/client.d.ts +10 -0
  83. package/dist/senpi/client.d.ts.map +1 -1
  84. package/dist/senpi/client.js +70 -50
  85. package/dist/senpi/client.js.map +1 -1
  86. package/dist/telemetry/attributes.d.ts +13 -0
  87. package/dist/telemetry/attributes.d.ts.map +1 -0
  88. package/dist/telemetry/attributes.js +22 -0
  89. package/dist/telemetry/attributes.js.map +1 -0
  90. package/dist/{tracking → telemetry}/context.d.ts +6 -5
  91. package/dist/telemetry/context.d.ts.map +1 -0
  92. package/dist/{tracking → telemetry}/context.js +4 -4
  93. package/dist/telemetry/context.js.map +1 -0
  94. package/dist/{recording/records.d.ts → telemetry/event-builders.d.ts} +138 -30
  95. package/dist/telemetry/event-builders.d.ts.map +1 -0
  96. package/dist/{recording/wiring/record-builders.js → telemetry/event-builders.js} +90 -39
  97. package/dist/telemetry/event-builders.js.map +1 -0
  98. package/dist/telemetry/identity.d.ts +62 -0
  99. package/dist/telemetry/identity.d.ts.map +1 -0
  100. package/dist/{recording/wiring → telemetry}/identity.js +5 -2
  101. package/dist/telemetry/identity.js.map +1 -0
  102. package/dist/telemetry/metrics.d.ts +47 -0
  103. package/dist/telemetry/metrics.d.ts.map +1 -0
  104. package/dist/telemetry/metrics.js +154 -0
  105. package/dist/telemetry/metrics.js.map +1 -0
  106. package/dist/telemetry/otel-sdk.d.ts +21 -33
  107. package/dist/telemetry/otel-sdk.d.ts.map +1 -1
  108. package/dist/telemetry/otel-sdk.js +77 -50
  109. package/dist/telemetry/otel-sdk.js.map +1 -1
  110. package/dist/telemetry/spans/constants.d.ts +12 -0
  111. package/dist/telemetry/spans/constants.d.ts.map +1 -0
  112. package/dist/telemetry/spans/constants.js +12 -0
  113. package/dist/telemetry/spans/constants.js.map +1 -0
  114. package/dist/telemetry/spans/gen-ai.d.ts +70 -0
  115. package/dist/telemetry/spans/gen-ai.d.ts.map +1 -0
  116. package/dist/telemetry/spans/gen-ai.js +330 -0
  117. package/dist/telemetry/spans/gen-ai.js.map +1 -0
  118. package/dist/telemetry/spans/index.d.ts +11 -0
  119. package/dist/telemetry/spans/index.d.ts.map +1 -0
  120. package/dist/telemetry/spans/index.js +11 -0
  121. package/dist/telemetry/spans/index.js.map +1 -0
  122. package/dist/{tracking → telemetry}/spans/redact-pii.d.ts +18 -20
  123. package/dist/telemetry/spans/redact-pii.d.ts.map +1 -0
  124. package/dist/{tracking → telemetry}/spans/redact-pii.js +30 -29
  125. package/dist/telemetry/spans/redact-pii.js.map +1 -0
  126. package/dist/telemetry/spans/sanitize-payload.d.ts.map +1 -0
  127. package/dist/telemetry/spans/sanitize-payload.js.map +1 -0
  128. package/dist/telemetry/spans/span-hooks.d.ts +11 -0
  129. package/dist/telemetry/spans/span-hooks.d.ts.map +1 -0
  130. package/dist/telemetry/spans/span-hooks.js +609 -0
  131. package/dist/telemetry/spans/span-hooks.js.map +1 -0
  132. package/dist/telemetry/trace-identity.d.ts +1 -1
  133. package/dist/telemetry/tracing.d.ts +2 -1
  134. package/dist/telemetry/tracing.d.ts.map +1 -1
  135. package/dist/telemetry/tracing.js +1 -1
  136. package/dist/telemetry/tracing.js.map +1 -1
  137. package/dist/types/dsl/index.d.ts +2 -9
  138. package/dist/types/dsl/index.d.ts.map +1 -1
  139. package/dist/types/runtime.d.ts +1 -1
  140. package/dist/types/runtime.d.ts.map +1 -1
  141. package/dist/utils/event-catalog.d.ts +2 -2
  142. package/dist/utils/event-catalog.js +2 -2
  143. package/dist/utils/logger.js +3 -4
  144. package/dist/utils/logger.js.map +1 -1
  145. package/package.json +1 -1
  146. package/dist/actions/tracking-helpers.d.ts.map +0 -1
  147. package/dist/actions/tracking-helpers.js.map +0 -1
  148. package/dist/recording/emitter.d.ts +0 -27
  149. package/dist/recording/emitter.d.ts.map +0 -1
  150. package/dist/recording/emitter.js +0 -2
  151. package/dist/recording/emitter.js.map +0 -1
  152. package/dist/recording/identity.d.ts +0 -34
  153. package/dist/recording/identity.d.ts.map +0 -1
  154. package/dist/recording/identity.js +0 -2
  155. package/dist/recording/identity.js.map +0 -1
  156. package/dist/recording/index.d.ts +0 -11
  157. package/dist/recording/index.d.ts.map +0 -1
  158. package/dist/recording/index.js +0 -2
  159. package/dist/recording/index.js.map +0 -1
  160. package/dist/recording/noop-emitter.d.ts +0 -23
  161. package/dist/recording/noop-emitter.d.ts.map +0 -1
  162. package/dist/recording/noop-emitter.js +0 -22
  163. package/dist/recording/noop-emitter.js.map +0 -1
  164. package/dist/recording/otel/attributes.d.ts +0 -37
  165. package/dist/recording/otel/attributes.d.ts.map +0 -1
  166. package/dist/recording/otel/attributes.js +0 -131
  167. package/dist/recording/otel/attributes.js.map +0 -1
  168. package/dist/recording/otel/constants.d.ts +0 -123
  169. package/dist/recording/otel/constants.d.ts.map +0 -1
  170. package/dist/recording/otel/constants.js +0 -172
  171. package/dist/recording/otel/constants.js.map +0 -1
  172. package/dist/recording/otel/ids.d.ts +0 -25
  173. package/dist/recording/otel/ids.d.ts.map +0 -1
  174. package/dist/recording/otel/ids.js +0 -37
  175. package/dist/recording/otel/ids.js.map +0 -1
  176. package/dist/recording/otel/index.d.ts +0 -13
  177. package/dist/recording/otel/index.d.ts.map +0 -1
  178. package/dist/recording/otel/index.js +0 -9
  179. package/dist/recording/otel/index.js.map +0 -1
  180. package/dist/recording/otel/mappers.d.ts +0 -100
  181. package/dist/recording/otel/mappers.d.ts.map +0 -1
  182. package/dist/recording/otel/mappers.js +0 -684
  183. package/dist/recording/otel/mappers.js.map +0 -1
  184. package/dist/recording/otel/otel-emitter.d.ts +0 -43
  185. package/dist/recording/otel/otel-emitter.d.ts.map +0 -1
  186. package/dist/recording/otel/otel-emitter.js +0 -99
  187. package/dist/recording/otel/otel-emitter.js.map +0 -1
  188. package/dist/recording/otel/redaction.d.ts +0 -47
  189. package/dist/recording/otel/redaction.d.ts.map +0 -1
  190. package/dist/recording/otel/redaction.js +0 -88
  191. package/dist/recording/otel/redaction.js.map +0 -1
  192. package/dist/recording/records.d.ts.map +0 -1
  193. package/dist/recording/records.js +0 -14
  194. package/dist/recording/records.js.map +0 -1
  195. package/dist/recording/transport/batcher.d.ts +0 -59
  196. package/dist/recording/transport/batcher.d.ts.map +0 -1
  197. package/dist/recording/transport/batcher.js +0 -234
  198. package/dist/recording/transport/batcher.js.map +0 -1
  199. package/dist/recording/transport/client.d.ts +0 -41
  200. package/dist/recording/transport/client.d.ts.map +0 -1
  201. package/dist/recording/transport/client.js +0 -69
  202. package/dist/recording/transport/client.js.map +0 -1
  203. package/dist/recording/transport/config.d.ts +0 -53
  204. package/dist/recording/transport/config.d.ts.map +0 -1
  205. package/dist/recording/transport/config.js +0 -41
  206. package/dist/recording/transport/config.js.map +0 -1
  207. package/dist/recording/transport/index.d.ts +0 -16
  208. package/dist/recording/transport/index.d.ts.map +0 -1
  209. package/dist/recording/transport/index.js +0 -12
  210. package/dist/recording/transport/index.js.map +0 -1
  211. package/dist/recording/transport/rows.d.ts +0 -88
  212. package/dist/recording/transport/rows.d.ts.map +0 -1
  213. package/dist/recording/transport/rows.js +0 -15
  214. package/dist/recording/transport/rows.js.map +0 -1
  215. package/dist/recording/wiring/emitter-factory.d.ts +0 -39
  216. package/dist/recording/wiring/emitter-factory.d.ts.map +0 -1
  217. package/dist/recording/wiring/emitter-factory.js +0 -62
  218. package/dist/recording/wiring/emitter-factory.js.map +0 -1
  219. package/dist/recording/wiring/identity.d.ts +0 -27
  220. package/dist/recording/wiring/identity.d.ts.map +0 -1
  221. package/dist/recording/wiring/identity.js.map +0 -1
  222. package/dist/recording/wiring/index.d.ts +0 -12
  223. package/dist/recording/wiring/index.d.ts.map +0 -1
  224. package/dist/recording/wiring/index.js +0 -9
  225. package/dist/recording/wiring/index.js.map +0 -1
  226. package/dist/recording/wiring/record-builders.d.ts +0 -107
  227. package/dist/recording/wiring/record-builders.d.ts.map +0 -1
  228. package/dist/recording/wiring/record-builders.js.map +0 -1
  229. package/dist/recording/wiring/subscriber.d.ts +0 -28
  230. package/dist/recording/wiring/subscriber.d.ts.map +0 -1
  231. package/dist/recording/wiring/subscriber.js +0 -173
  232. package/dist/recording/wiring/subscriber.js.map +0 -1
  233. package/dist/recording/wiring/values.d.ts +0 -19
  234. package/dist/recording/wiring/values.d.ts.map +0 -1
  235. package/dist/recording/wiring/values.js +0 -49
  236. package/dist/recording/wiring/values.js.map +0 -1
  237. package/dist/tracking/build-rehydrate-items.d.ts +0 -15
  238. package/dist/tracking/build-rehydrate-items.d.ts.map +0 -1
  239. package/dist/tracking/build-rehydrate-items.js +0 -19
  240. package/dist/tracking/build-rehydrate-items.js.map +0 -1
  241. package/dist/tracking/constants.d.ts +0 -24
  242. package/dist/tracking/constants.d.ts.map +0 -1
  243. package/dist/tracking/constants.js +0 -52
  244. package/dist/tracking/constants.js.map +0 -1
  245. package/dist/tracking/context.d.ts.map +0 -1
  246. package/dist/tracking/context.js.map +0 -1
  247. package/dist/tracking/index.d.ts +0 -16
  248. package/dist/tracking/index.d.ts.map +0 -1
  249. package/dist/tracking/index.js +0 -11
  250. package/dist/tracking/index.js.map +0 -1
  251. package/dist/tracking/plugin-event-tracker.d.ts +0 -13
  252. package/dist/tracking/plugin-event-tracker.d.ts.map +0 -1
  253. package/dist/tracking/plugin-event-tracker.js +0 -27
  254. package/dist/tracking/plugin-event-tracker.js.map +0 -1
  255. package/dist/tracking/position-id-registry.d.ts.map +0 -1
  256. package/dist/tracking/position-id-registry.js.map +0 -1
  257. package/dist/tracking/spans/constants.d.ts +0 -19
  258. package/dist/tracking/spans/constants.d.ts.map +0 -1
  259. package/dist/tracking/spans/constants.js +0 -31
  260. package/dist/tracking/spans/constants.js.map +0 -1
  261. package/dist/tracking/spans/fan-out-span-transport.d.ts +0 -22
  262. package/dist/tracking/spans/fan-out-span-transport.d.ts.map +0 -1
  263. package/dist/tracking/spans/fan-out-span-transport.js +0 -49
  264. package/dist/tracking/spans/fan-out-span-transport.js.map +0 -1
  265. package/dist/tracking/spans/index.d.ts +0 -13
  266. package/dist/tracking/spans/index.d.ts.map +0 -1
  267. package/dist/tracking/spans/index.js +0 -16
  268. package/dist/tracking/spans/index.js.map +0 -1
  269. package/dist/tracking/spans/otel/fit-row-budget.d.ts +0 -22
  270. package/dist/tracking/spans/otel/fit-row-budget.d.ts.map +0 -1
  271. package/dist/tracking/spans/otel/fit-row-budget.js +0 -91
  272. package/dist/tracking/spans/otel/fit-row-budget.js.map +0 -1
  273. package/dist/tracking/spans/otel/map-span-to-trace-row.d.ts +0 -16
  274. package/dist/tracking/spans/otel/map-span-to-trace-row.d.ts.map +0 -1
  275. package/dist/tracking/spans/otel/map-span-to-trace-row.js +0 -227
  276. package/dist/tracking/spans/otel/map-span-to-trace-row.js.map +0 -1
  277. package/dist/tracking/spans/otel/recording-span-transport.d.ts +0 -43
  278. package/dist/tracking/spans/otel/recording-span-transport.d.ts.map +0 -1
  279. package/dist/tracking/spans/otel/recording-span-transport.js +0 -67
  280. package/dist/tracking/spans/otel/recording-span-transport.js.map +0 -1
  281. package/dist/tracking/spans/otel/span-ids.d.ts +0 -22
  282. package/dist/tracking/spans/otel/span-ids.d.ts.map +0 -1
  283. package/dist/tracking/spans/otel/span-ids.js +0 -32
  284. package/dist/tracking/spans/otel/span-ids.js.map +0 -1
  285. package/dist/tracking/spans/plugin-span-tracker.d.ts +0 -9
  286. package/dist/tracking/spans/plugin-span-tracker.d.ts.map +0 -1
  287. package/dist/tracking/spans/plugin-span-tracker.js +0 -115
  288. package/dist/tracking/spans/plugin-span-tracker.js.map +0 -1
  289. package/dist/tracking/spans/redact-pii.d.ts.map +0 -1
  290. package/dist/tracking/spans/redact-pii.js.map +0 -1
  291. package/dist/tracking/spans/sanitize-payload.d.ts.map +0 -1
  292. package/dist/tracking/spans/sanitize-payload.js.map +0 -1
  293. package/dist/tracking/spans/span-hooks.d.ts +0 -28
  294. package/dist/tracking/spans/span-hooks.d.ts.map +0 -1
  295. package/dist/tracking/spans/span-hooks.js +0 -409
  296. package/dist/tracking/spans/span-hooks.js.map +0 -1
  297. package/dist/tracking/spans/span-tracker.d.ts +0 -133
  298. package/dist/tracking/spans/span-tracker.d.ts.map +0 -1
  299. package/dist/tracking/spans/span-tracker.js +0 -721
  300. package/dist/tracking/spans/span-tracker.js.map +0 -1
  301. package/dist/tracking/spans/span-transport.d.ts +0 -71
  302. package/dist/tracking/spans/span-transport.d.ts.map +0 -1
  303. package/dist/tracking/spans/span-transport.js +0 -240
  304. package/dist/tracking/spans/span-transport.js.map +0 -1
  305. package/dist/tracking/spans/types.d.ts +0 -101
  306. package/dist/tracking/spans/types.d.ts.map +0 -1
  307. package/dist/tracking/spans/types.js +0 -6
  308. package/dist/tracking/spans/types.js.map +0 -1
  309. package/dist/tracking/tracker.d.ts +0 -30
  310. package/dist/tracking/tracker.d.ts.map +0 -1
  311. package/dist/tracking/tracker.js +0 -66
  312. package/dist/tracking/tracker.js.map +0 -1
  313. package/dist/tracking/tracking-handler.d.ts +0 -12
  314. package/dist/tracking/tracking-handler.d.ts.map +0 -1
  315. package/dist/tracking/tracking-handler.js +0 -148
  316. package/dist/tracking/tracking-handler.js.map +0 -1
  317. package/dist/tracking/transport.d.ts +0 -35
  318. package/dist/tracking/transport.d.ts.map +0 -1
  319. package/dist/tracking/transport.js +0 -133
  320. package/dist/tracking/transport.js.map +0 -1
  321. package/dist/tracking/types.d.ts +0 -21
  322. package/dist/tracking/types.d.ts.map +0 -1
  323. package/dist/tracking/types.js +0 -6
  324. package/dist/tracking/types.js.map +0 -1
  325. /package/dist/{tracking → telemetry}/spans/sanitize-payload.d.ts +0 -0
  326. /package/dist/{tracking → telemetry}/spans/sanitize-payload.js +0 -0
@@ -465,20 +465,20 @@ declare const actionEntrySchema: z.ZodObject<{
465
465
  type: z.ZodLiteral<"strategy">;
466
466
  value: z.ZodString;
467
467
  }, "strip", z.ZodTypeAny, {
468
- type: "strategy";
469
468
  value: string;
470
- }, {
471
469
  type: "strategy";
470
+ }, {
472
471
  value: string;
472
+ type: "strategy";
473
473
  }>, z.ZodObject<{
474
474
  type: z.ZodLiteral<"asset-trend">;
475
475
  value: z.ZodString;
476
476
  }, "strip", z.ZodTypeAny, {
477
- type: "asset-trend";
478
477
  value: string;
479
- }, {
480
478
  type: "asset-trend";
479
+ }, {
481
480
  value: string;
481
+ type: "asset-trend";
482
482
  }>]>, "many">>;
483
483
  decision_prompt: z.ZodOptional<z.ZodString>;
484
484
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -511,20 +511,20 @@ declare const actionEntrySchema: z.ZodObject<{
511
511
  type: z.ZodLiteral<"strategy">;
512
512
  value: z.ZodString;
513
513
  }, "strip", z.ZodTypeAny, {
514
- type: "strategy";
515
514
  value: string;
516
- }, {
517
515
  type: "strategy";
516
+ }, {
518
517
  value: string;
518
+ type: "strategy";
519
519
  }>, z.ZodObject<{
520
520
  type: z.ZodLiteral<"asset-trend">;
521
521
  value: z.ZodString;
522
522
  }, "strip", z.ZodTypeAny, {
523
- type: "asset-trend";
524
523
  value: string;
525
- }, {
526
524
  type: "asset-trend";
525
+ }, {
527
526
  value: string;
527
+ type: "asset-trend";
528
528
  }>]>, "many">>;
529
529
  decision_prompt: z.ZodOptional<z.ZodString>;
530
530
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -557,65 +557,24 @@ declare const actionEntrySchema: z.ZodObject<{
557
557
  type: z.ZodLiteral<"strategy">;
558
558
  value: z.ZodString;
559
559
  }, "strip", z.ZodTypeAny, {
560
- type: "strategy";
561
560
  value: string;
562
- }, {
563
561
  type: "strategy";
562
+ }, {
564
563
  value: string;
564
+ type: "strategy";
565
565
  }>, z.ZodObject<{
566
566
  type: z.ZodLiteral<"asset-trend">;
567
567
  value: z.ZodString;
568
568
  }, "strip", z.ZodTypeAny, {
569
- type: "asset-trend";
570
569
  value: string;
571
- }, {
572
570
  type: "asset-trend";
571
+ }, {
573
572
  value: string;
573
+ type: "asset-trend";
574
574
  }>]>, "many">>;
575
575
  decision_prompt: z.ZodOptional<z.ZodString>;
576
576
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
577
577
  }, z.ZodTypeAny, "passthrough">>;
578
- /**
579
- * Telemetry (OTEL recording) section — fully optional. Every field is optional and `enabled`
580
- * defaults to `true` at runtime, so existing recipes that omit the section keep working unchanged.
581
- * A missing API token degrades to a no-op emitter; it never fails boot.
582
- */
583
- declare const telemetrySchema: z.ZodEffects<z.ZodObject<{
584
- enabled: z.ZodOptional<z.ZodBoolean>;
585
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
586
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
587
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
588
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
589
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
590
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
591
- enabled: z.ZodOptional<z.ZodBoolean>;
592
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
593
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
594
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
595
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
596
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
597
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
598
- enabled: z.ZodOptional<z.ZodBoolean>;
599
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
600
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
601
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
602
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
603
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
604
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
605
- enabled: z.ZodOptional<z.ZodBoolean>;
606
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
607
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
608
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
609
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
610
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
611
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
612
- enabled: z.ZodOptional<z.ZodBoolean>;
613
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
614
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
615
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
616
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
617
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
618
- }, z.ZodTypeAny, "passthrough">>;
619
578
  declare const exitBlockSchema: z.ZodObject<{
620
579
  engine: z.ZodOptional<z.ZodString>;
621
580
  interval_seconds: z.ZodOptional<z.ZodNumber>;
@@ -1127,20 +1086,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1127
1086
  type: z.ZodLiteral<"strategy">;
1128
1087
  value: z.ZodString;
1129
1088
  }, "strip", z.ZodTypeAny, {
1130
- type: "strategy";
1131
1089
  value: string;
1132
- }, {
1133
1090
  type: "strategy";
1091
+ }, {
1134
1092
  value: string;
1093
+ type: "strategy";
1135
1094
  }>, z.ZodObject<{
1136
1095
  type: z.ZodLiteral<"asset-trend">;
1137
1096
  value: z.ZodString;
1138
1097
  }, "strip", z.ZodTypeAny, {
1139
- type: "asset-trend";
1140
1098
  value: string;
1141
- }, {
1142
1099
  type: "asset-trend";
1100
+ }, {
1143
1101
  value: string;
1102
+ type: "asset-trend";
1144
1103
  }>]>, "many">>;
1145
1104
  decision_prompt: z.ZodOptional<z.ZodString>;
1146
1105
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1173,20 +1132,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1173
1132
  type: z.ZodLiteral<"strategy">;
1174
1133
  value: z.ZodString;
1175
1134
  }, "strip", z.ZodTypeAny, {
1176
- type: "strategy";
1177
1135
  value: string;
1178
- }, {
1179
1136
  type: "strategy";
1137
+ }, {
1180
1138
  value: string;
1139
+ type: "strategy";
1181
1140
  }>, z.ZodObject<{
1182
1141
  type: z.ZodLiteral<"asset-trend">;
1183
1142
  value: z.ZodString;
1184
1143
  }, "strip", z.ZodTypeAny, {
1185
- type: "asset-trend";
1186
1144
  value: string;
1187
- }, {
1188
1145
  type: "asset-trend";
1146
+ }, {
1189
1147
  value: string;
1148
+ type: "asset-trend";
1190
1149
  }>]>, "many">>;
1191
1150
  decision_prompt: z.ZodOptional<z.ZodString>;
1192
1151
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1219,20 +1178,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1219
1178
  type: z.ZodLiteral<"strategy">;
1220
1179
  value: z.ZodString;
1221
1180
  }, "strip", z.ZodTypeAny, {
1222
- type: "strategy";
1223
1181
  value: string;
1224
- }, {
1225
1182
  type: "strategy";
1183
+ }, {
1226
1184
  value: string;
1185
+ type: "strategy";
1227
1186
  }>, z.ZodObject<{
1228
1187
  type: z.ZodLiteral<"asset-trend">;
1229
1188
  value: z.ZodString;
1230
1189
  }, "strip", z.ZodTypeAny, {
1231
- type: "asset-trend";
1232
1190
  value: string;
1233
- }, {
1234
1191
  type: "asset-trend";
1192
+ }, {
1235
1193
  value: string;
1194
+ type: "asset-trend";
1236
1195
  }>]>, "many">>;
1237
1196
  decision_prompt: z.ZodOptional<z.ZodString>;
1238
1197
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1290,42 +1249,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1290
1249
  }>>;
1291
1250
  }, z.ZodTypeAny, "passthrough">>>;
1292
1251
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1293
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1294
- enabled: z.ZodOptional<z.ZodBoolean>;
1295
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1296
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1297
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1298
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1299
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1300
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1301
- enabled: z.ZodOptional<z.ZodBoolean>;
1302
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1303
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1304
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1305
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1306
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1307
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1308
- enabled: z.ZodOptional<z.ZodBoolean>;
1309
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1310
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1311
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1312
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1313
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1314
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1315
- enabled: z.ZodOptional<z.ZodBoolean>;
1316
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1317
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1318
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1319
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1320
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1321
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1322
- enabled: z.ZodOptional<z.ZodBoolean>;
1323
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1324
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1325
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1326
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1327
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1328
- }, z.ZodTypeAny, "passthrough">>>;
1329
1252
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1330
1253
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1331
1254
  risk: z.ZodOptional<z.ZodObject<{
@@ -1861,20 +1784,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1861
1784
  type: z.ZodLiteral<"strategy">;
1862
1785
  value: z.ZodString;
1863
1786
  }, "strip", z.ZodTypeAny, {
1864
- type: "strategy";
1865
1787
  value: string;
1866
- }, {
1867
1788
  type: "strategy";
1789
+ }, {
1868
1790
  value: string;
1791
+ type: "strategy";
1869
1792
  }>, z.ZodObject<{
1870
1793
  type: z.ZodLiteral<"asset-trend">;
1871
1794
  value: z.ZodString;
1872
1795
  }, "strip", z.ZodTypeAny, {
1873
- type: "asset-trend";
1874
1796
  value: string;
1875
- }, {
1876
1797
  type: "asset-trend";
1798
+ }, {
1877
1799
  value: string;
1800
+ type: "asset-trend";
1878
1801
  }>]>, "many">>;
1879
1802
  decision_prompt: z.ZodOptional<z.ZodString>;
1880
1803
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1907,20 +1830,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1907
1830
  type: z.ZodLiteral<"strategy">;
1908
1831
  value: z.ZodString;
1909
1832
  }, "strip", z.ZodTypeAny, {
1910
- type: "strategy";
1911
1833
  value: string;
1912
- }, {
1913
1834
  type: "strategy";
1835
+ }, {
1914
1836
  value: string;
1837
+ type: "strategy";
1915
1838
  }>, z.ZodObject<{
1916
1839
  type: z.ZodLiteral<"asset-trend">;
1917
1840
  value: z.ZodString;
1918
1841
  }, "strip", z.ZodTypeAny, {
1919
- type: "asset-trend";
1920
1842
  value: string;
1921
- }, {
1922
1843
  type: "asset-trend";
1844
+ }, {
1923
1845
  value: string;
1846
+ type: "asset-trend";
1924
1847
  }>]>, "many">>;
1925
1848
  decision_prompt: z.ZodOptional<z.ZodString>;
1926
1849
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1953,20 +1876,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1953
1876
  type: z.ZodLiteral<"strategy">;
1954
1877
  value: z.ZodString;
1955
1878
  }, "strip", z.ZodTypeAny, {
1956
- type: "strategy";
1957
1879
  value: string;
1958
- }, {
1959
1880
  type: "strategy";
1881
+ }, {
1960
1882
  value: string;
1883
+ type: "strategy";
1961
1884
  }>, z.ZodObject<{
1962
1885
  type: z.ZodLiteral<"asset-trend">;
1963
1886
  value: z.ZodString;
1964
1887
  }, "strip", z.ZodTypeAny, {
1965
- type: "asset-trend";
1966
1888
  value: string;
1967
- }, {
1968
1889
  type: "asset-trend";
1890
+ }, {
1969
1891
  value: string;
1892
+ type: "asset-trend";
1970
1893
  }>]>, "many">>;
1971
1894
  decision_prompt: z.ZodOptional<z.ZodString>;
1972
1895
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2024,42 +1947,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2024
1947
  }>>;
2025
1948
  }, z.ZodTypeAny, "passthrough">>>;
2026
1949
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2027
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2028
- enabled: z.ZodOptional<z.ZodBoolean>;
2029
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2030
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2031
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2032
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2033
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2034
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2035
- enabled: z.ZodOptional<z.ZodBoolean>;
2036
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2037
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2038
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2039
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2040
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2041
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2042
- enabled: z.ZodOptional<z.ZodBoolean>;
2043
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2044
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2045
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2046
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2047
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2048
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2049
- enabled: z.ZodOptional<z.ZodBoolean>;
2050
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2051
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2052
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2053
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2054
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2055
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2056
- enabled: z.ZodOptional<z.ZodBoolean>;
2057
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2058
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2059
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2060
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2061
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2062
- }, z.ZodTypeAny, "passthrough">>>;
2063
1950
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2064
1951
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2065
1952
  risk: z.ZodOptional<z.ZodObject<{
@@ -2595,20 +2482,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2595
2482
  type: z.ZodLiteral<"strategy">;
2596
2483
  value: z.ZodString;
2597
2484
  }, "strip", z.ZodTypeAny, {
2598
- type: "strategy";
2599
2485
  value: string;
2600
- }, {
2601
2486
  type: "strategy";
2487
+ }, {
2602
2488
  value: string;
2489
+ type: "strategy";
2603
2490
  }>, z.ZodObject<{
2604
2491
  type: z.ZodLiteral<"asset-trend">;
2605
2492
  value: z.ZodString;
2606
2493
  }, "strip", z.ZodTypeAny, {
2607
- type: "asset-trend";
2608
2494
  value: string;
2609
- }, {
2610
2495
  type: "asset-trend";
2496
+ }, {
2611
2497
  value: string;
2498
+ type: "asset-trend";
2612
2499
  }>]>, "many">>;
2613
2500
  decision_prompt: z.ZodOptional<z.ZodString>;
2614
2501
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2641,20 +2528,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2641
2528
  type: z.ZodLiteral<"strategy">;
2642
2529
  value: z.ZodString;
2643
2530
  }, "strip", z.ZodTypeAny, {
2644
- type: "strategy";
2645
2531
  value: string;
2646
- }, {
2647
2532
  type: "strategy";
2533
+ }, {
2648
2534
  value: string;
2535
+ type: "strategy";
2649
2536
  }>, z.ZodObject<{
2650
2537
  type: z.ZodLiteral<"asset-trend">;
2651
2538
  value: z.ZodString;
2652
2539
  }, "strip", z.ZodTypeAny, {
2653
- type: "asset-trend";
2654
2540
  value: string;
2655
- }, {
2656
2541
  type: "asset-trend";
2542
+ }, {
2657
2543
  value: string;
2544
+ type: "asset-trend";
2658
2545
  }>]>, "many">>;
2659
2546
  decision_prompt: z.ZodOptional<z.ZodString>;
2660
2547
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2687,20 +2574,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2687
2574
  type: z.ZodLiteral<"strategy">;
2688
2575
  value: z.ZodString;
2689
2576
  }, "strip", z.ZodTypeAny, {
2690
- type: "strategy";
2691
2577
  value: string;
2692
- }, {
2693
2578
  type: "strategy";
2579
+ }, {
2694
2580
  value: string;
2581
+ type: "strategy";
2695
2582
  }>, z.ZodObject<{
2696
2583
  type: z.ZodLiteral<"asset-trend">;
2697
2584
  value: z.ZodString;
2698
2585
  }, "strip", z.ZodTypeAny, {
2699
- type: "asset-trend";
2700
2586
  value: string;
2701
- }, {
2702
2587
  type: "asset-trend";
2588
+ }, {
2703
2589
  value: string;
2590
+ type: "asset-trend";
2704
2591
  }>]>, "many">>;
2705
2592
  decision_prompt: z.ZodOptional<z.ZodString>;
2706
2593
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2758,42 +2645,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2758
2645
  }>>;
2759
2646
  }, z.ZodTypeAny, "passthrough">>>;
2760
2647
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2761
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2762
- enabled: z.ZodOptional<z.ZodBoolean>;
2763
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2764
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2765
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2766
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2767
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2768
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2769
- enabled: z.ZodOptional<z.ZodBoolean>;
2770
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2771
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2772
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2773
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2774
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2775
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2776
- enabled: z.ZodOptional<z.ZodBoolean>;
2777
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2778
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2779
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2780
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2781
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2782
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2783
- enabled: z.ZodOptional<z.ZodBoolean>;
2784
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2785
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2786
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2787
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2788
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2789
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2790
- enabled: z.ZodOptional<z.ZodBoolean>;
2791
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2792
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2793
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2794
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2795
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2796
- }, z.ZodTypeAny, "passthrough">>>;
2797
2648
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2798
2649
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2799
2650
  risk: z.ZodOptional<z.ZodObject<{
@@ -3329,20 +3180,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3329
3180
  type: z.ZodLiteral<"strategy">;
3330
3181
  value: z.ZodString;
3331
3182
  }, "strip", z.ZodTypeAny, {
3332
- type: "strategy";
3333
3183
  value: string;
3334
- }, {
3335
3184
  type: "strategy";
3185
+ }, {
3336
3186
  value: string;
3187
+ type: "strategy";
3337
3188
  }>, z.ZodObject<{
3338
3189
  type: z.ZodLiteral<"asset-trend">;
3339
3190
  value: z.ZodString;
3340
3191
  }, "strip", z.ZodTypeAny, {
3341
- type: "asset-trend";
3342
3192
  value: string;
3343
- }, {
3344
3193
  type: "asset-trend";
3194
+ }, {
3345
3195
  value: string;
3196
+ type: "asset-trend";
3346
3197
  }>]>, "many">>;
3347
3198
  decision_prompt: z.ZodOptional<z.ZodString>;
3348
3199
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3375,20 +3226,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3375
3226
  type: z.ZodLiteral<"strategy">;
3376
3227
  value: z.ZodString;
3377
3228
  }, "strip", z.ZodTypeAny, {
3378
- type: "strategy";
3379
3229
  value: string;
3380
- }, {
3381
3230
  type: "strategy";
3231
+ }, {
3382
3232
  value: string;
3233
+ type: "strategy";
3383
3234
  }>, z.ZodObject<{
3384
3235
  type: z.ZodLiteral<"asset-trend">;
3385
3236
  value: z.ZodString;
3386
3237
  }, "strip", z.ZodTypeAny, {
3387
- type: "asset-trend";
3388
3238
  value: string;
3389
- }, {
3390
3239
  type: "asset-trend";
3240
+ }, {
3391
3241
  value: string;
3242
+ type: "asset-trend";
3392
3243
  }>]>, "many">>;
3393
3244
  decision_prompt: z.ZodOptional<z.ZodString>;
3394
3245
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3421,20 +3272,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3421
3272
  type: z.ZodLiteral<"strategy">;
3422
3273
  value: z.ZodString;
3423
3274
  }, "strip", z.ZodTypeAny, {
3424
- type: "strategy";
3425
3275
  value: string;
3426
- }, {
3427
3276
  type: "strategy";
3277
+ }, {
3428
3278
  value: string;
3279
+ type: "strategy";
3429
3280
  }>, z.ZodObject<{
3430
3281
  type: z.ZodLiteral<"asset-trend">;
3431
3282
  value: z.ZodString;
3432
3283
  }, "strip", z.ZodTypeAny, {
3433
- type: "asset-trend";
3434
3284
  value: string;
3435
- }, {
3436
3285
  type: "asset-trend";
3286
+ }, {
3437
3287
  value: string;
3288
+ type: "asset-trend";
3438
3289
  }>]>, "many">>;
3439
3290
  decision_prompt: z.ZodOptional<z.ZodString>;
3440
3291
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3492,42 +3343,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3492
3343
  }>>;
3493
3344
  }, z.ZodTypeAny, "passthrough">>>;
3494
3345
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3495
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3496
- enabled: z.ZodOptional<z.ZodBoolean>;
3497
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3498
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3499
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3500
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3501
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3502
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3503
- enabled: z.ZodOptional<z.ZodBoolean>;
3504
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3505
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3506
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3507
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3508
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3509
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3510
- enabled: z.ZodOptional<z.ZodBoolean>;
3511
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3512
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3513
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3514
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3515
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3516
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
3517
- enabled: z.ZodOptional<z.ZodBoolean>;
3518
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3519
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3520
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3521
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3522
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3523
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3524
- enabled: z.ZodOptional<z.ZodBoolean>;
3525
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3526
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3527
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3528
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3529
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3530
- }, z.ZodTypeAny, "passthrough">>>;
3531
3346
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3532
3347
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3533
3348
  risk: z.ZodOptional<z.ZodObject<{
@@ -4063,20 +3878,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4063
3878
  type: z.ZodLiteral<"strategy">;
4064
3879
  value: z.ZodString;
4065
3880
  }, "strip", z.ZodTypeAny, {
4066
- type: "strategy";
4067
3881
  value: string;
4068
- }, {
4069
3882
  type: "strategy";
3883
+ }, {
4070
3884
  value: string;
3885
+ type: "strategy";
4071
3886
  }>, z.ZodObject<{
4072
3887
  type: z.ZodLiteral<"asset-trend">;
4073
3888
  value: z.ZodString;
4074
3889
  }, "strip", z.ZodTypeAny, {
4075
- type: "asset-trend";
4076
3890
  value: string;
4077
- }, {
4078
3891
  type: "asset-trend";
3892
+ }, {
4079
3893
  value: string;
3894
+ type: "asset-trend";
4080
3895
  }>]>, "many">>;
4081
3896
  decision_prompt: z.ZodOptional<z.ZodString>;
4082
3897
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4109,20 +3924,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4109
3924
  type: z.ZodLiteral<"strategy">;
4110
3925
  value: z.ZodString;
4111
3926
  }, "strip", z.ZodTypeAny, {
4112
- type: "strategy";
4113
3927
  value: string;
4114
- }, {
4115
3928
  type: "strategy";
3929
+ }, {
4116
3930
  value: string;
3931
+ type: "strategy";
4117
3932
  }>, z.ZodObject<{
4118
3933
  type: z.ZodLiteral<"asset-trend">;
4119
3934
  value: z.ZodString;
4120
3935
  }, "strip", z.ZodTypeAny, {
4121
- type: "asset-trend";
4122
3936
  value: string;
4123
- }, {
4124
3937
  type: "asset-trend";
3938
+ }, {
4125
3939
  value: string;
3940
+ type: "asset-trend";
4126
3941
  }>]>, "many">>;
4127
3942
  decision_prompt: z.ZodOptional<z.ZodString>;
4128
3943
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4155,20 +3970,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4155
3970
  type: z.ZodLiteral<"strategy">;
4156
3971
  value: z.ZodString;
4157
3972
  }, "strip", z.ZodTypeAny, {
4158
- type: "strategy";
4159
3973
  value: string;
4160
- }, {
4161
3974
  type: "strategy";
3975
+ }, {
4162
3976
  value: string;
3977
+ type: "strategy";
4163
3978
  }>, z.ZodObject<{
4164
3979
  type: z.ZodLiteral<"asset-trend">;
4165
3980
  value: z.ZodString;
4166
3981
  }, "strip", z.ZodTypeAny, {
4167
- type: "asset-trend";
4168
3982
  value: string;
4169
- }, {
4170
3983
  type: "asset-trend";
3984
+ }, {
4171
3985
  value: string;
3986
+ type: "asset-trend";
4172
3987
  }>]>, "many">>;
4173
3988
  decision_prompt: z.ZodOptional<z.ZodString>;
4174
3989
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4226,42 +4041,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4226
4041
  }>>;
4227
4042
  }, z.ZodTypeAny, "passthrough">>>;
4228
4043
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4229
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4230
- enabled: z.ZodOptional<z.ZodBoolean>;
4231
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4232
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4233
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4234
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4235
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4236
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4237
- enabled: z.ZodOptional<z.ZodBoolean>;
4238
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4239
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4240
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4241
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4242
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4243
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4244
- enabled: z.ZodOptional<z.ZodBoolean>;
4245
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4246
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4247
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4248
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4249
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4250
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
4251
- enabled: z.ZodOptional<z.ZodBoolean>;
4252
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4253
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4254
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4255
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4256
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4257
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4258
- enabled: z.ZodOptional<z.ZodBoolean>;
4259
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4260
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4261
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4262
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4263
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4264
- }, z.ZodTypeAny, "passthrough">>>;
4265
4044
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
4266
4045
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4267
4046
  risk: z.ZodOptional<z.ZodObject<{
@@ -4797,20 +4576,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4797
4576
  type: z.ZodLiteral<"strategy">;
4798
4577
  value: z.ZodString;
4799
4578
  }, "strip", z.ZodTypeAny, {
4800
- type: "strategy";
4801
4579
  value: string;
4802
- }, {
4803
4580
  type: "strategy";
4581
+ }, {
4804
4582
  value: string;
4583
+ type: "strategy";
4805
4584
  }>, z.ZodObject<{
4806
4585
  type: z.ZodLiteral<"asset-trend">;
4807
4586
  value: z.ZodString;
4808
4587
  }, "strip", z.ZodTypeAny, {
4809
- type: "asset-trend";
4810
4588
  value: string;
4811
- }, {
4812
4589
  type: "asset-trend";
4590
+ }, {
4813
4591
  value: string;
4592
+ type: "asset-trend";
4814
4593
  }>]>, "many">>;
4815
4594
  decision_prompt: z.ZodOptional<z.ZodString>;
4816
4595
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4843,20 +4622,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4843
4622
  type: z.ZodLiteral<"strategy">;
4844
4623
  value: z.ZodString;
4845
4624
  }, "strip", z.ZodTypeAny, {
4846
- type: "strategy";
4847
4625
  value: string;
4848
- }, {
4849
4626
  type: "strategy";
4627
+ }, {
4850
4628
  value: string;
4629
+ type: "strategy";
4851
4630
  }>, z.ZodObject<{
4852
4631
  type: z.ZodLiteral<"asset-trend">;
4853
4632
  value: z.ZodString;
4854
4633
  }, "strip", z.ZodTypeAny, {
4855
- type: "asset-trend";
4856
4634
  value: string;
4857
- }, {
4858
4635
  type: "asset-trend";
4636
+ }, {
4859
4637
  value: string;
4638
+ type: "asset-trend";
4860
4639
  }>]>, "many">>;
4861
4640
  decision_prompt: z.ZodOptional<z.ZodString>;
4862
4641
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4889,20 +4668,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4889
4668
  type: z.ZodLiteral<"strategy">;
4890
4669
  value: z.ZodString;
4891
4670
  }, "strip", z.ZodTypeAny, {
4892
- type: "strategy";
4893
4671
  value: string;
4894
- }, {
4895
4672
  type: "strategy";
4673
+ }, {
4896
4674
  value: string;
4675
+ type: "strategy";
4897
4676
  }>, z.ZodObject<{
4898
4677
  type: z.ZodLiteral<"asset-trend">;
4899
4678
  value: z.ZodString;
4900
4679
  }, "strip", z.ZodTypeAny, {
4901
- type: "asset-trend";
4902
4680
  value: string;
4903
- }, {
4904
4681
  type: "asset-trend";
4682
+ }, {
4905
4683
  value: string;
4684
+ type: "asset-trend";
4906
4685
  }>]>, "many">>;
4907
4686
  decision_prompt: z.ZodOptional<z.ZodString>;
4908
4687
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4960,42 +4739,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4960
4739
  }>>;
4961
4740
  }, z.ZodTypeAny, "passthrough">>>;
4962
4741
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4963
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4964
- enabled: z.ZodOptional<z.ZodBoolean>;
4965
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4966
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4967
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4968
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4969
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4970
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4971
- enabled: z.ZodOptional<z.ZodBoolean>;
4972
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4973
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4974
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4975
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4976
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4977
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4978
- enabled: z.ZodOptional<z.ZodBoolean>;
4979
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4980
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4981
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4982
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4983
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4984
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
4985
- enabled: z.ZodOptional<z.ZodBoolean>;
4986
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4987
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4988
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4989
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4990
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4991
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4992
- enabled: z.ZodOptional<z.ZodBoolean>;
4993
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4994
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4995
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4996
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4997
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4998
- }, z.ZodTypeAny, "passthrough">>>;
4999
4742
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
5000
4743
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5001
4744
  risk: z.ZodOptional<z.ZodObject<{
@@ -5531,20 +5274,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5531
5274
  type: z.ZodLiteral<"strategy">;
5532
5275
  value: z.ZodString;
5533
5276
  }, "strip", z.ZodTypeAny, {
5534
- type: "strategy";
5535
5277
  value: string;
5536
- }, {
5537
5278
  type: "strategy";
5279
+ }, {
5538
5280
  value: string;
5281
+ type: "strategy";
5539
5282
  }>, z.ZodObject<{
5540
5283
  type: z.ZodLiteral<"asset-trend">;
5541
5284
  value: z.ZodString;
5542
5285
  }, "strip", z.ZodTypeAny, {
5543
- type: "asset-trend";
5544
5286
  value: string;
5545
- }, {
5546
5287
  type: "asset-trend";
5288
+ }, {
5547
5289
  value: string;
5290
+ type: "asset-trend";
5548
5291
  }>]>, "many">>;
5549
5292
  decision_prompt: z.ZodOptional<z.ZodString>;
5550
5293
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5577,20 +5320,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5577
5320
  type: z.ZodLiteral<"strategy">;
5578
5321
  value: z.ZodString;
5579
5322
  }, "strip", z.ZodTypeAny, {
5580
- type: "strategy";
5581
5323
  value: string;
5582
- }, {
5583
5324
  type: "strategy";
5325
+ }, {
5584
5326
  value: string;
5327
+ type: "strategy";
5585
5328
  }>, z.ZodObject<{
5586
5329
  type: z.ZodLiteral<"asset-trend">;
5587
5330
  value: z.ZodString;
5588
5331
  }, "strip", z.ZodTypeAny, {
5589
- type: "asset-trend";
5590
5332
  value: string;
5591
- }, {
5592
5333
  type: "asset-trend";
5334
+ }, {
5593
5335
  value: string;
5336
+ type: "asset-trend";
5594
5337
  }>]>, "many">>;
5595
5338
  decision_prompt: z.ZodOptional<z.ZodString>;
5596
5339
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5623,20 +5366,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5623
5366
  type: z.ZodLiteral<"strategy">;
5624
5367
  value: z.ZodString;
5625
5368
  }, "strip", z.ZodTypeAny, {
5626
- type: "strategy";
5627
5369
  value: string;
5628
- }, {
5629
5370
  type: "strategy";
5371
+ }, {
5630
5372
  value: string;
5373
+ type: "strategy";
5631
5374
  }>, z.ZodObject<{
5632
5375
  type: z.ZodLiteral<"asset-trend">;
5633
5376
  value: z.ZodString;
5634
5377
  }, "strip", z.ZodTypeAny, {
5635
- type: "asset-trend";
5636
5378
  value: string;
5637
- }, {
5638
5379
  type: "asset-trend";
5380
+ }, {
5639
5381
  value: string;
5382
+ type: "asset-trend";
5640
5383
  }>]>, "many">>;
5641
5384
  decision_prompt: z.ZodOptional<z.ZodString>;
5642
5385
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5694,42 +5437,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5694
5437
  }>>;
5695
5438
  }, z.ZodTypeAny, "passthrough">>>;
5696
5439
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5697
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5698
- enabled: z.ZodOptional<z.ZodBoolean>;
5699
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5700
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5701
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5702
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5703
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5704
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5705
- enabled: z.ZodOptional<z.ZodBoolean>;
5706
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5707
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5708
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5709
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5710
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5711
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5712
- enabled: z.ZodOptional<z.ZodBoolean>;
5713
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5714
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5715
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5716
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5717
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5718
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
5719
- enabled: z.ZodOptional<z.ZodBoolean>;
5720
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5721
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5722
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5723
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5724
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5725
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5726
- enabled: z.ZodOptional<z.ZodBoolean>;
5727
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5728
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5729
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5730
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5731
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5732
- }, z.ZodTypeAny, "passthrough">>>;
5733
5440
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
5734
5441
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5735
5442
  risk: z.ZodOptional<z.ZodObject<{
@@ -6265,20 +5972,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6265
5972
  type: z.ZodLiteral<"strategy">;
6266
5973
  value: z.ZodString;
6267
5974
  }, "strip", z.ZodTypeAny, {
6268
- type: "strategy";
6269
5975
  value: string;
6270
- }, {
6271
5976
  type: "strategy";
5977
+ }, {
6272
5978
  value: string;
5979
+ type: "strategy";
6273
5980
  }>, z.ZodObject<{
6274
5981
  type: z.ZodLiteral<"asset-trend">;
6275
5982
  value: z.ZodString;
6276
5983
  }, "strip", z.ZodTypeAny, {
6277
- type: "asset-trend";
6278
5984
  value: string;
6279
- }, {
6280
5985
  type: "asset-trend";
5986
+ }, {
6281
5987
  value: string;
5988
+ type: "asset-trend";
6282
5989
  }>]>, "many">>;
6283
5990
  decision_prompt: z.ZodOptional<z.ZodString>;
6284
5991
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6311,20 +6018,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6311
6018
  type: z.ZodLiteral<"strategy">;
6312
6019
  value: z.ZodString;
6313
6020
  }, "strip", z.ZodTypeAny, {
6314
- type: "strategy";
6315
6021
  value: string;
6316
- }, {
6317
6022
  type: "strategy";
6023
+ }, {
6318
6024
  value: string;
6025
+ type: "strategy";
6319
6026
  }>, z.ZodObject<{
6320
6027
  type: z.ZodLiteral<"asset-trend">;
6321
6028
  value: z.ZodString;
6322
6029
  }, "strip", z.ZodTypeAny, {
6323
- type: "asset-trend";
6324
6030
  value: string;
6325
- }, {
6326
6031
  type: "asset-trend";
6032
+ }, {
6327
6033
  value: string;
6034
+ type: "asset-trend";
6328
6035
  }>]>, "many">>;
6329
6036
  decision_prompt: z.ZodOptional<z.ZodString>;
6330
6037
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6357,20 +6064,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6357
6064
  type: z.ZodLiteral<"strategy">;
6358
6065
  value: z.ZodString;
6359
6066
  }, "strip", z.ZodTypeAny, {
6360
- type: "strategy";
6361
6067
  value: string;
6362
- }, {
6363
6068
  type: "strategy";
6069
+ }, {
6364
6070
  value: string;
6071
+ type: "strategy";
6365
6072
  }>, z.ZodObject<{
6366
6073
  type: z.ZodLiteral<"asset-trend">;
6367
6074
  value: z.ZodString;
6368
6075
  }, "strip", z.ZodTypeAny, {
6369
- type: "asset-trend";
6370
6076
  value: string;
6371
- }, {
6372
6077
  type: "asset-trend";
6078
+ }, {
6373
6079
  value: string;
6080
+ type: "asset-trend";
6374
6081
  }>]>, "many">>;
6375
6082
  decision_prompt: z.ZodOptional<z.ZodString>;
6376
6083
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6428,42 +6135,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6428
6135
  }>>;
6429
6136
  }, z.ZodTypeAny, "passthrough">>>;
6430
6137
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6431
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
6432
- enabled: z.ZodOptional<z.ZodBoolean>;
6433
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6434
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6435
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6436
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6437
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6438
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6439
- enabled: z.ZodOptional<z.ZodBoolean>;
6440
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6441
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6442
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6443
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6444
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6445
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6446
- enabled: z.ZodOptional<z.ZodBoolean>;
6447
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6448
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6449
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6450
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6451
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6452
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
6453
- enabled: z.ZodOptional<z.ZodBoolean>;
6454
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6455
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6456
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6457
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6458
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6459
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6460
- enabled: z.ZodOptional<z.ZodBoolean>;
6461
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6462
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6463
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6464
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6465
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6466
- }, z.ZodTypeAny, "passthrough">>>;
6467
6138
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
6468
6139
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6469
6140
  risk: z.ZodOptional<z.ZodObject<{
@@ -6999,20 +6670,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6999
6670
  type: z.ZodLiteral<"strategy">;
7000
6671
  value: z.ZodString;
7001
6672
  }, "strip", z.ZodTypeAny, {
7002
- type: "strategy";
7003
6673
  value: string;
7004
- }, {
7005
6674
  type: "strategy";
6675
+ }, {
7006
6676
  value: string;
6677
+ type: "strategy";
7007
6678
  }>, z.ZodObject<{
7008
6679
  type: z.ZodLiteral<"asset-trend">;
7009
6680
  value: z.ZodString;
7010
6681
  }, "strip", z.ZodTypeAny, {
7011
- type: "asset-trend";
7012
6682
  value: string;
7013
- }, {
7014
6683
  type: "asset-trend";
6684
+ }, {
7015
6685
  value: string;
6686
+ type: "asset-trend";
7016
6687
  }>]>, "many">>;
7017
6688
  decision_prompt: z.ZodOptional<z.ZodString>;
7018
6689
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7045,20 +6716,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7045
6716
  type: z.ZodLiteral<"strategy">;
7046
6717
  value: z.ZodString;
7047
6718
  }, "strip", z.ZodTypeAny, {
7048
- type: "strategy";
7049
6719
  value: string;
7050
- }, {
7051
6720
  type: "strategy";
6721
+ }, {
7052
6722
  value: string;
6723
+ type: "strategy";
7053
6724
  }>, z.ZodObject<{
7054
6725
  type: z.ZodLiteral<"asset-trend">;
7055
6726
  value: z.ZodString;
7056
6727
  }, "strip", z.ZodTypeAny, {
7057
- type: "asset-trend";
7058
6728
  value: string;
7059
- }, {
7060
6729
  type: "asset-trend";
6730
+ }, {
7061
6731
  value: string;
6732
+ type: "asset-trend";
7062
6733
  }>]>, "many">>;
7063
6734
  decision_prompt: z.ZodOptional<z.ZodString>;
7064
6735
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7091,20 +6762,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7091
6762
  type: z.ZodLiteral<"strategy">;
7092
6763
  value: z.ZodString;
7093
6764
  }, "strip", z.ZodTypeAny, {
7094
- type: "strategy";
7095
6765
  value: string;
7096
- }, {
7097
6766
  type: "strategy";
6767
+ }, {
7098
6768
  value: string;
6769
+ type: "strategy";
7099
6770
  }>, z.ZodObject<{
7100
6771
  type: z.ZodLiteral<"asset-trend">;
7101
6772
  value: z.ZodString;
7102
6773
  }, "strip", z.ZodTypeAny, {
7103
- type: "asset-trend";
7104
6774
  value: string;
7105
- }, {
7106
6775
  type: "asset-trend";
6776
+ }, {
7107
6777
  value: string;
6778
+ type: "asset-trend";
7108
6779
  }>]>, "many">>;
7109
6780
  decision_prompt: z.ZodOptional<z.ZodString>;
7110
6781
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7162,42 +6833,6 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7162
6833
  }>>;
7163
6834
  }, z.ZodTypeAny, "passthrough">>>;
7164
6835
  health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7165
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
7166
- enabled: z.ZodOptional<z.ZodBoolean>;
7167
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7168
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7169
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7170
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7171
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7172
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7173
- enabled: z.ZodOptional<z.ZodBoolean>;
7174
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7175
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7176
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7177
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7178
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7179
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7180
- enabled: z.ZodOptional<z.ZodBoolean>;
7181
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7182
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7183
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7184
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7185
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7186
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
7187
- enabled: z.ZodOptional<z.ZodBoolean>;
7188
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7189
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7190
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7191
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7192
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7193
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7194
- enabled: z.ZodOptional<z.ZodBoolean>;
7195
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7196
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7197
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7198
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7199
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7200
- }, z.ZodTypeAny, "passthrough">>>;
7201
6836
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
7202
6837
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7203
6838
  risk: z.ZodOptional<z.ZodObject<{
@@ -7280,6 +6915,5 @@ export type RuntimeStrategy = z.infer<typeof strategyEntrySchema>;
7280
6915
  export type RuntimeScanner = z.infer<typeof scannerEntrySchema>;
7281
6916
  export type RuntimeAction = z.infer<typeof actionEntrySchema>;
7282
6917
  export type RuntimeExit = z.infer<typeof exitBlockSchema>;
7283
- export type RuntimeTelemetry = z.infer<typeof telemetrySchema>;
7284
6918
  export {};
7285
6919
  //# sourceMappingURL=runtime-schema.d.ts.map