@senpi/runtime 3.0.6-dev.runtime-phase-2.20260630134410 → 3.0.6-dev.runtime-phase-2.20260630134511

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 (322) 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} +64 -82
  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 +7 -6
  9. package/dist/actions/event-derivation.d.ts.map +1 -1
  10. package/dist/actions/event-derivation.js +6 -5
  11. package/dist/actions/event-derivation.js.map +1 -1
  12. package/dist/actions/llm-decision/openclaw-llm-decision.js +5 -5
  13. package/dist/actions/llm-decision/openclaw-llm-decision.js.map +1 -1
  14. package/dist/actions/open-position/open-position.action.d.ts.map +1 -1
  15. package/dist/actions/open-position/open-position.action.js +9 -17
  16. package/dist/actions/open-position/open-position.action.js.map +1 -1
  17. package/dist/actions/position-tracker/position-tracker.action.d.ts.map +1 -1
  18. package/dist/actions/position-tracker/position-tracker.action.js +1 -2
  19. package/dist/actions/position-tracker/position-tracker.action.js.map +1 -1
  20. package/dist/dsl/engine-client/event-mapping.d.ts.map +1 -1
  21. package/dist/dsl/engine-client/event-mapping.js +0 -3
  22. package/dist/dsl/engine-client/event-mapping.js.map +1 -1
  23. package/dist/dsl/events/build-closed-event.d.ts.map +1 -1
  24. package/dist/dsl/events/build-closed-event.js +0 -1
  25. package/dist/dsl/events/build-closed-event.js.map +1 -1
  26. package/dist/dsl/events/handlers.d.ts.map +1 -1
  27. package/dist/dsl/events/handlers.js +2 -4
  28. package/dist/dsl/events/handlers.js.map +1 -1
  29. package/dist/dsl/events/initial-state.d.ts.map +1 -1
  30. package/dist/dsl/events/initial-state.js +1 -0
  31. package/dist/dsl/events/initial-state.js.map +1 -1
  32. package/dist/dsl/monitor/create-monitor.d.ts +1 -1
  33. package/dist/dsl/monitor/create-monitor.d.ts.map +1 -1
  34. package/dist/dsl/monitor/create-monitor.js +0 -30
  35. package/dist/dsl/monitor/create-monitor.js.map +1 -1
  36. package/dist/dsl/monitor/dsl-failure-events.d.ts +42 -0
  37. package/dist/dsl/monitor/dsl-failure-events.d.ts.map +1 -0
  38. package/dist/dsl/monitor/dsl-failure-events.js +73 -0
  39. package/dist/dsl/monitor/dsl-failure-events.js.map +1 -0
  40. package/dist/dsl/monitor/process-one-position.d.ts.map +1 -1
  41. package/dist/dsl/monitor/process-one-position.js +46 -158
  42. package/dist/dsl/monitor/process-one-position.js.map +1 -1
  43. package/dist/dsl/plugin/index.js +3 -3
  44. package/dist/dsl/plugin/index.js.map +1 -1
  45. package/dist/dsl/plugin/options.d.ts +1 -1
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +45 -58
  48. package/dist/index.js.map +1 -1
  49. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.d.ts +2 -0
  50. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.d.ts.map +1 -1
  51. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.js +24 -3
  52. package/dist/runtime/__tests__/helpers/runtime-gateway-harness.js.map +1 -1
  53. package/dist/runtime/create-runtime-context.d.ts +1 -1
  54. package/dist/runtime/create-runtime-context.d.ts.map +1 -1
  55. package/dist/runtime/create-scanner-module.d.ts +1 -1
  56. package/dist/runtime/domain-events.d.ts +4 -4
  57. package/dist/runtime/domain-events.d.ts.map +1 -1
  58. package/dist/runtime/domain-events.js +4 -4
  59. package/dist/runtime/domain-events.js.map +1 -1
  60. package/dist/runtime/lifecycle-events.d.ts +46 -3
  61. package/dist/runtime/lifecycle-events.d.ts.map +1 -1
  62. package/dist/runtime/lifecycle-events.js +66 -5
  63. package/dist/runtime/lifecycle-events.js.map +1 -1
  64. package/dist/{tracking → runtime}/position-id-registry.d.ts +14 -1
  65. package/dist/runtime/position-id-registry.d.ts.map +1 -0
  66. package/dist/{tracking → runtime}/position-id-registry.js +20 -3
  67. package/dist/runtime/position-id-registry.js.map +1 -0
  68. package/dist/runtime/run.d.ts +2 -4
  69. package/dist/runtime/run.d.ts.map +1 -1
  70. package/dist/runtime/run.js.map +1 -1
  71. package/dist/runtime/runtime-schema.d.ts +156 -419
  72. package/dist/runtime/runtime-schema.d.ts.map +1 -1
  73. package/dist/runtime/runtime-schema.js +8 -28
  74. package/dist/runtime/runtime-schema.js.map +1 -1
  75. package/dist/runtime/runtime.d.ts +10 -9
  76. package/dist/runtime/runtime.d.ts.map +1 -1
  77. package/dist/runtime/runtime.js +116 -182
  78. package/dist/runtime/runtime.js.map +1 -1
  79. package/dist/runtime/supervisor/long-running-supervisor.d.ts +3 -0
  80. package/dist/runtime/supervisor/long-running-supervisor.d.ts.map +1 -1
  81. package/dist/runtime/supervisor/long-running-supervisor.js +27 -53
  82. package/dist/runtime/supervisor/long-running-supervisor.js.map +1 -1
  83. package/dist/runtime-api/intake/intake-events.d.ts +44 -0
  84. package/dist/runtime-api/intake/intake-events.d.ts.map +1 -0
  85. package/dist/runtime-api/intake/intake-events.js +131 -0
  86. package/dist/runtime-api/intake/intake-events.js.map +1 -0
  87. package/dist/runtime-api/intake/scanner-launcher.d.ts +2 -0
  88. package/dist/runtime-api/intake/scanner-launcher.d.ts.map +1 -1
  89. package/dist/runtime-api/intake/scanner-launcher.js +58 -15
  90. package/dist/runtime-api/intake/scanner-launcher.js.map +1 -1
  91. package/dist/runtime-api/intake/supervisor-events.d.ts +61 -0
  92. package/dist/runtime-api/intake/supervisor-events.d.ts.map +1 -0
  93. package/dist/runtime-api/intake/supervisor-events.js +173 -0
  94. package/dist/runtime-api/intake/supervisor-events.js.map +1 -0
  95. package/dist/runtime-api/routes/signals.d.ts.map +1 -1
  96. package/dist/runtime-api/routes/signals.js +119 -27
  97. package/dist/runtime-api/routes/signals.js.map +1 -1
  98. package/dist/runtime-api/server.d.ts.map +1 -1
  99. package/dist/runtime-api/server.js +10 -1
  100. package/dist/runtime-api/server.js.map +1 -1
  101. package/dist/scanners/engine/data-providers.d.ts +1 -1
  102. package/dist/scanners/engine/engine.d.ts.map +1 -1
  103. package/dist/scanners/engine/engine.js +3 -0
  104. package/dist/scanners/engine/engine.js.map +1 -1
  105. package/dist/scanners/runtime-module.d.ts +1 -1
  106. package/dist/senpi/client.d.ts.map +1 -1
  107. package/dist/senpi/client.js +51 -6
  108. package/dist/senpi/client.js.map +1 -1
  109. package/dist/state/state-events.d.ts +13 -0
  110. package/dist/state/state-events.d.ts.map +1 -0
  111. package/dist/state/state-events.js +22 -0
  112. package/dist/state/state-events.js.map +1 -0
  113. package/dist/state/state-manager.d.ts.map +1 -1
  114. package/dist/state/state-manager.js +14 -1
  115. package/dist/state/state-manager.js.map +1 -1
  116. package/dist/telemetry/attributes.d.ts +13 -0
  117. package/dist/telemetry/attributes.d.ts.map +1 -0
  118. package/dist/telemetry/attributes.js +22 -0
  119. package/dist/telemetry/attributes.js.map +1 -0
  120. package/dist/{tracking → telemetry}/context.d.ts +6 -5
  121. package/dist/telemetry/context.d.ts.map +1 -0
  122. package/dist/{tracking → telemetry}/context.js +4 -4
  123. package/dist/telemetry/context.js.map +1 -0
  124. package/dist/{recording/records.d.ts → telemetry/event-builders.d.ts} +138 -32
  125. package/dist/telemetry/event-builders.d.ts.map +1 -0
  126. package/dist/{recording/wiring/record-builders.js → telemetry/event-builders.js} +90 -39
  127. package/dist/telemetry/event-builders.js.map +1 -0
  128. package/dist/telemetry/identity.d.ts +72 -0
  129. package/dist/telemetry/identity.d.ts.map +1 -0
  130. package/dist/{recording/wiring → telemetry}/identity.js +6 -2
  131. package/dist/telemetry/identity.js.map +1 -0
  132. package/dist/telemetry/metrics.d.ts +137 -15
  133. package/dist/telemetry/metrics.d.ts.map +1 -1
  134. package/dist/telemetry/metrics.js +357 -74
  135. package/dist/telemetry/metrics.js.map +1 -1
  136. package/dist/telemetry/otel-sdk.d.ts +1 -1
  137. package/dist/telemetry/otel-sdk.js +1 -1
  138. package/dist/telemetry/spans/constants.d.ts.map +1 -0
  139. package/dist/telemetry/spans/constants.js.map +1 -0
  140. package/dist/{tracking → telemetry}/spans/gen-ai.d.ts +4 -0
  141. package/dist/telemetry/spans/gen-ai.d.ts.map +1 -0
  142. package/dist/{tracking → telemetry}/spans/gen-ai.js +9 -0
  143. package/dist/telemetry/spans/gen-ai.js.map +1 -0
  144. package/dist/telemetry/spans/index.d.ts.map +1 -0
  145. package/dist/telemetry/spans/index.js.map +1 -0
  146. package/dist/telemetry/spans/redact-pii.d.ts.map +1 -0
  147. package/dist/{tracking → telemetry}/spans/redact-pii.js +4 -1
  148. package/dist/telemetry/spans/redact-pii.js.map +1 -0
  149. package/dist/telemetry/spans/sanitize-payload.d.ts.map +1 -0
  150. package/dist/telemetry/spans/sanitize-payload.js.map +1 -0
  151. package/dist/telemetry/spans/span-hooks.d.ts +18 -0
  152. package/dist/telemetry/spans/span-hooks.d.ts.map +1 -0
  153. package/dist/{tracking → telemetry}/spans/span-hooks.js +183 -28
  154. package/dist/telemetry/spans/span-hooks.js.map +1 -0
  155. package/dist/telemetry/tool-plane.d.ts +31 -0
  156. package/dist/telemetry/tool-plane.d.ts.map +1 -0
  157. package/dist/telemetry/tool-plane.js +70 -0
  158. package/dist/telemetry/tool-plane.js.map +1 -0
  159. package/dist/telemetry/trace-identity.d.ts +1 -1
  160. package/dist/telemetry/trace-identity.d.ts.map +1 -1
  161. package/dist/telemetry/trace-identity.js +3 -0
  162. package/dist/telemetry/trace-identity.js.map +1 -1
  163. package/dist/types/dsl/index.d.ts +8 -9
  164. package/dist/types/dsl/index.d.ts.map +1 -1
  165. package/dist/types/runtime.d.ts +1 -1
  166. package/dist/types/runtime.d.ts.map +1 -1
  167. package/dist/utils/event-catalog.d.ts +239 -2
  168. package/dist/utils/event-catalog.d.ts.map +1 -1
  169. package/dist/utils/event-catalog.js +53 -2
  170. package/dist/utils/event-catalog.js.map +1 -1
  171. package/dist/utils/logger.d.ts +5 -0
  172. package/dist/utils/logger.d.ts.map +1 -1
  173. package/dist/utils/logger.js +21 -12
  174. package/dist/utils/logger.js.map +1 -1
  175. package/package.json +1 -1
  176. package/dist/actions/tracking-helpers.d.ts.map +0 -1
  177. package/dist/actions/tracking-helpers.js.map +0 -1
  178. package/dist/recording/emitter.d.ts +0 -27
  179. package/dist/recording/emitter.d.ts.map +0 -1
  180. package/dist/recording/emitter.js +0 -2
  181. package/dist/recording/emitter.js.map +0 -1
  182. package/dist/recording/identity.d.ts +0 -34
  183. package/dist/recording/identity.d.ts.map +0 -1
  184. package/dist/recording/identity.js +0 -2
  185. package/dist/recording/identity.js.map +0 -1
  186. package/dist/recording/index.d.ts +0 -11
  187. package/dist/recording/index.d.ts.map +0 -1
  188. package/dist/recording/index.js +0 -2
  189. package/dist/recording/index.js.map +0 -1
  190. package/dist/recording/noop-emitter.d.ts +0 -23
  191. package/dist/recording/noop-emitter.d.ts.map +0 -1
  192. package/dist/recording/noop-emitter.js +0 -22
  193. package/dist/recording/noop-emitter.js.map +0 -1
  194. package/dist/recording/otel/attributes.d.ts +0 -37
  195. package/dist/recording/otel/attributes.d.ts.map +0 -1
  196. package/dist/recording/otel/attributes.js +0 -131
  197. package/dist/recording/otel/attributes.js.map +0 -1
  198. package/dist/recording/otel/constants.d.ts +0 -123
  199. package/dist/recording/otel/constants.d.ts.map +0 -1
  200. package/dist/recording/otel/constants.js +0 -172
  201. package/dist/recording/otel/constants.js.map +0 -1
  202. package/dist/recording/otel/ids.d.ts +0 -25
  203. package/dist/recording/otel/ids.d.ts.map +0 -1
  204. package/dist/recording/otel/ids.js +0 -37
  205. package/dist/recording/otel/ids.js.map +0 -1
  206. package/dist/recording/otel/index.d.ts +0 -13
  207. package/dist/recording/otel/index.d.ts.map +0 -1
  208. package/dist/recording/otel/index.js +0 -9
  209. package/dist/recording/otel/index.js.map +0 -1
  210. package/dist/recording/otel/mappers.d.ts +0 -100
  211. package/dist/recording/otel/mappers.d.ts.map +0 -1
  212. package/dist/recording/otel/mappers.js +0 -684
  213. package/dist/recording/otel/mappers.js.map +0 -1
  214. package/dist/recording/otel/otel-emitter.d.ts +0 -43
  215. package/dist/recording/otel/otel-emitter.d.ts.map +0 -1
  216. package/dist/recording/otel/otel-emitter.js +0 -99
  217. package/dist/recording/otel/otel-emitter.js.map +0 -1
  218. package/dist/recording/otel/redaction.d.ts +0 -47
  219. package/dist/recording/otel/redaction.d.ts.map +0 -1
  220. package/dist/recording/otel/redaction.js +0 -88
  221. package/dist/recording/otel/redaction.js.map +0 -1
  222. package/dist/recording/records.d.ts.map +0 -1
  223. package/dist/recording/records.js +0 -14
  224. package/dist/recording/records.js.map +0 -1
  225. package/dist/recording/transport/batcher.d.ts +0 -59
  226. package/dist/recording/transport/batcher.d.ts.map +0 -1
  227. package/dist/recording/transport/batcher.js +0 -234
  228. package/dist/recording/transport/batcher.js.map +0 -1
  229. package/dist/recording/transport/client.d.ts +0 -41
  230. package/dist/recording/transport/client.d.ts.map +0 -1
  231. package/dist/recording/transport/client.js +0 -69
  232. package/dist/recording/transport/client.js.map +0 -1
  233. package/dist/recording/transport/config.d.ts +0 -53
  234. package/dist/recording/transport/config.d.ts.map +0 -1
  235. package/dist/recording/transport/config.js +0 -41
  236. package/dist/recording/transport/config.js.map +0 -1
  237. package/dist/recording/transport/index.d.ts +0 -16
  238. package/dist/recording/transport/index.d.ts.map +0 -1
  239. package/dist/recording/transport/index.js +0 -12
  240. package/dist/recording/transport/index.js.map +0 -1
  241. package/dist/recording/transport/rows.d.ts +0 -88
  242. package/dist/recording/transport/rows.d.ts.map +0 -1
  243. package/dist/recording/transport/rows.js +0 -15
  244. package/dist/recording/transport/rows.js.map +0 -1
  245. package/dist/recording/wiring/emitter-factory.d.ts +0 -34
  246. package/dist/recording/wiring/emitter-factory.d.ts.map +0 -1
  247. package/dist/recording/wiring/emitter-factory.js +0 -44
  248. package/dist/recording/wiring/emitter-factory.js.map +0 -1
  249. package/dist/recording/wiring/identity.d.ts +0 -27
  250. package/dist/recording/wiring/identity.d.ts.map +0 -1
  251. package/dist/recording/wiring/identity.js.map +0 -1
  252. package/dist/recording/wiring/index.d.ts +0 -12
  253. package/dist/recording/wiring/index.d.ts.map +0 -1
  254. package/dist/recording/wiring/index.js +0 -9
  255. package/dist/recording/wiring/index.js.map +0 -1
  256. package/dist/recording/wiring/record-builders.d.ts +0 -107
  257. package/dist/recording/wiring/record-builders.d.ts.map +0 -1
  258. package/dist/recording/wiring/record-builders.js.map +0 -1
  259. package/dist/recording/wiring/subscriber.d.ts +0 -28
  260. package/dist/recording/wiring/subscriber.d.ts.map +0 -1
  261. package/dist/recording/wiring/subscriber.js +0 -173
  262. package/dist/recording/wiring/subscriber.js.map +0 -1
  263. package/dist/recording/wiring/values.d.ts +0 -19
  264. package/dist/recording/wiring/values.d.ts.map +0 -1
  265. package/dist/recording/wiring/values.js +0 -49
  266. package/dist/recording/wiring/values.js.map +0 -1
  267. package/dist/tracking/build-rehydrate-items.d.ts +0 -15
  268. package/dist/tracking/build-rehydrate-items.d.ts.map +0 -1
  269. package/dist/tracking/build-rehydrate-items.js +0 -19
  270. package/dist/tracking/build-rehydrate-items.js.map +0 -1
  271. package/dist/tracking/constants.d.ts +0 -24
  272. package/dist/tracking/constants.d.ts.map +0 -1
  273. package/dist/tracking/constants.js +0 -52
  274. package/dist/tracking/constants.js.map +0 -1
  275. package/dist/tracking/context.d.ts.map +0 -1
  276. package/dist/tracking/context.js.map +0 -1
  277. package/dist/tracking/index.d.ts +0 -16
  278. package/dist/tracking/index.d.ts.map +0 -1
  279. package/dist/tracking/index.js +0 -11
  280. package/dist/tracking/index.js.map +0 -1
  281. package/dist/tracking/plugin-event-tracker.d.ts +0 -13
  282. package/dist/tracking/plugin-event-tracker.d.ts.map +0 -1
  283. package/dist/tracking/plugin-event-tracker.js +0 -27
  284. package/dist/tracking/plugin-event-tracker.js.map +0 -1
  285. package/dist/tracking/position-id-registry.d.ts.map +0 -1
  286. package/dist/tracking/position-id-registry.js.map +0 -1
  287. package/dist/tracking/spans/constants.d.ts.map +0 -1
  288. package/dist/tracking/spans/constants.js.map +0 -1
  289. package/dist/tracking/spans/gen-ai.d.ts.map +0 -1
  290. package/dist/tracking/spans/gen-ai.js.map +0 -1
  291. package/dist/tracking/spans/index.d.ts.map +0 -1
  292. package/dist/tracking/spans/index.js.map +0 -1
  293. package/dist/tracking/spans/redact-pii.d.ts.map +0 -1
  294. package/dist/tracking/spans/redact-pii.js.map +0 -1
  295. package/dist/tracking/spans/sanitize-payload.d.ts.map +0 -1
  296. package/dist/tracking/spans/sanitize-payload.js.map +0 -1
  297. package/dist/tracking/spans/span-hooks.d.ts +0 -11
  298. package/dist/tracking/spans/span-hooks.d.ts.map +0 -1
  299. package/dist/tracking/spans/span-hooks.js.map +0 -1
  300. package/dist/tracking/tracker.d.ts +0 -30
  301. package/dist/tracking/tracker.d.ts.map +0 -1
  302. package/dist/tracking/tracker.js +0 -66
  303. package/dist/tracking/tracker.js.map +0 -1
  304. package/dist/tracking/tracking-handler.d.ts +0 -12
  305. package/dist/tracking/tracking-handler.d.ts.map +0 -1
  306. package/dist/tracking/tracking-handler.js +0 -148
  307. package/dist/tracking/tracking-handler.js.map +0 -1
  308. package/dist/tracking/transport.d.ts +0 -35
  309. package/dist/tracking/transport.d.ts.map +0 -1
  310. package/dist/tracking/transport.js +0 -133
  311. package/dist/tracking/transport.js.map +0 -1
  312. package/dist/tracking/types.d.ts +0 -21
  313. package/dist/tracking/types.d.ts.map +0 -1
  314. package/dist/tracking/types.js +0 -6
  315. package/dist/tracking/types.js.map +0 -1
  316. /package/dist/{tracking → telemetry}/spans/constants.d.ts +0 -0
  317. /package/dist/{tracking → telemetry}/spans/constants.js +0 -0
  318. /package/dist/{tracking → telemetry}/spans/index.d.ts +0 -0
  319. /package/dist/{tracking → telemetry}/spans/index.js +0 -0
  320. /package/dist/{tracking → telemetry}/spans/redact-pii.d.ts +0 -0
  321. /package/dist/{tracking → telemetry}/spans/sanitize-payload.d.ts +0 -0
  322. /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,61 +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. Recording is on by default, so existing
580
- * recipes that omit the section keep working unchanged. A missing API token degrades to a no-op
581
- * emitter; it never fails boot. There is no `enabled` flag: telemetry transport is gated by whether
582
- * the operator sets an OTLP exporter endpoint env (see docs/runtime-docs/runtime-api.md, Tracing).
583
- */
584
- declare const telemetrySchema: z.ZodEffects<z.ZodObject<{
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
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
592
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
593
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
594
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
595
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
596
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
597
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
598
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
599
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
600
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
601
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
602
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
603
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
604
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
605
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
606
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
607
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
608
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
609
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
610
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
611
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
612
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
613
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
614
- }, z.ZodTypeAny, "passthrough">>;
615
578
  declare const exitBlockSchema: z.ZodObject<{
616
579
  engine: z.ZodOptional<z.ZodString>;
617
580
  interval_seconds: z.ZodOptional<z.ZodNumber>;
@@ -1123,20 +1086,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1123
1086
  type: z.ZodLiteral<"strategy">;
1124
1087
  value: z.ZodString;
1125
1088
  }, "strip", z.ZodTypeAny, {
1126
- type: "strategy";
1127
1089
  value: string;
1128
- }, {
1129
1090
  type: "strategy";
1091
+ }, {
1130
1092
  value: string;
1093
+ type: "strategy";
1131
1094
  }>, z.ZodObject<{
1132
1095
  type: z.ZodLiteral<"asset-trend">;
1133
1096
  value: z.ZodString;
1134
1097
  }, "strip", z.ZodTypeAny, {
1135
- type: "asset-trend";
1136
1098
  value: string;
1137
- }, {
1138
1099
  type: "asset-trend";
1100
+ }, {
1139
1101
  value: string;
1102
+ type: "asset-trend";
1140
1103
  }>]>, "many">>;
1141
1104
  decision_prompt: z.ZodOptional<z.ZodString>;
1142
1105
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1169,20 +1132,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1169
1132
  type: z.ZodLiteral<"strategy">;
1170
1133
  value: z.ZodString;
1171
1134
  }, "strip", z.ZodTypeAny, {
1172
- type: "strategy";
1173
1135
  value: string;
1174
- }, {
1175
1136
  type: "strategy";
1137
+ }, {
1176
1138
  value: string;
1139
+ type: "strategy";
1177
1140
  }>, z.ZodObject<{
1178
1141
  type: z.ZodLiteral<"asset-trend">;
1179
1142
  value: z.ZodString;
1180
1143
  }, "strip", z.ZodTypeAny, {
1181
- type: "asset-trend";
1182
1144
  value: string;
1183
- }, {
1184
1145
  type: "asset-trend";
1146
+ }, {
1185
1147
  value: string;
1148
+ type: "asset-trend";
1186
1149
  }>]>, "many">>;
1187
1150
  decision_prompt: z.ZodOptional<z.ZodString>;
1188
1151
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1215,20 +1178,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1215
1178
  type: z.ZodLiteral<"strategy">;
1216
1179
  value: z.ZodString;
1217
1180
  }, "strip", z.ZodTypeAny, {
1218
- type: "strategy";
1219
1181
  value: string;
1220
- }, {
1221
1182
  type: "strategy";
1183
+ }, {
1222
1184
  value: string;
1185
+ type: "strategy";
1223
1186
  }>, z.ZodObject<{
1224
1187
  type: z.ZodLiteral<"asset-trend">;
1225
1188
  value: z.ZodString;
1226
1189
  }, "strip", z.ZodTypeAny, {
1227
- type: "asset-trend";
1228
1190
  value: string;
1229
- }, {
1230
1191
  type: "asset-trend";
1192
+ }, {
1231
1193
  value: string;
1194
+ type: "asset-trend";
1232
1195
  }>]>, "many">>;
1233
1196
  decision_prompt: z.ZodOptional<z.ZodString>;
1234
1197
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1285,37 +1248,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1285
1248
  execution_timeout_seconds?: number | undefined;
1286
1249
  }>>;
1287
1250
  }, z.ZodTypeAny, "passthrough">>>;
1288
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1289
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1290
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1291
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1292
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1293
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1294
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1251
+ health: z.ZodOptional<z.ZodObject<{
1252
+ window_seconds: z.ZodOptional<z.ZodNumber>;
1295
1253
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1296
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1297
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1298
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1299
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1300
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1254
+ window_seconds: z.ZodOptional<z.ZodNumber>;
1301
1255
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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.objectOutputType<{
1308
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1309
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1310
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1311
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1312
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1313
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1314
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
1315
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
1316
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
1317
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
1318
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1256
+ window_seconds: z.ZodOptional<z.ZodNumber>;
1319
1257
  }, z.ZodTypeAny, "passthrough">>>;
1320
1258
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1321
1259
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1852,20 +1790,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1852
1790
  type: z.ZodLiteral<"strategy">;
1853
1791
  value: z.ZodString;
1854
1792
  }, "strip", z.ZodTypeAny, {
1855
- type: "strategy";
1856
1793
  value: string;
1857
- }, {
1858
1794
  type: "strategy";
1795
+ }, {
1859
1796
  value: string;
1797
+ type: "strategy";
1860
1798
  }>, z.ZodObject<{
1861
1799
  type: z.ZodLiteral<"asset-trend">;
1862
1800
  value: z.ZodString;
1863
1801
  }, "strip", z.ZodTypeAny, {
1864
- type: "asset-trend";
1865
1802
  value: string;
1866
- }, {
1867
1803
  type: "asset-trend";
1804
+ }, {
1868
1805
  value: string;
1806
+ type: "asset-trend";
1869
1807
  }>]>, "many">>;
1870
1808
  decision_prompt: z.ZodOptional<z.ZodString>;
1871
1809
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1898,20 +1836,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1898
1836
  type: z.ZodLiteral<"strategy">;
1899
1837
  value: z.ZodString;
1900
1838
  }, "strip", z.ZodTypeAny, {
1901
- type: "strategy";
1902
1839
  value: string;
1903
- }, {
1904
1840
  type: "strategy";
1841
+ }, {
1905
1842
  value: string;
1843
+ type: "strategy";
1906
1844
  }>, z.ZodObject<{
1907
1845
  type: z.ZodLiteral<"asset-trend">;
1908
1846
  value: z.ZodString;
1909
1847
  }, "strip", z.ZodTypeAny, {
1910
- type: "asset-trend";
1911
1848
  value: string;
1912
- }, {
1913
1849
  type: "asset-trend";
1850
+ }, {
1914
1851
  value: string;
1852
+ type: "asset-trend";
1915
1853
  }>]>, "many">>;
1916
1854
  decision_prompt: z.ZodOptional<z.ZodString>;
1917
1855
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1944,20 +1882,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
1944
1882
  type: z.ZodLiteral<"strategy">;
1945
1883
  value: z.ZodString;
1946
1884
  }, "strip", z.ZodTypeAny, {
1947
- type: "strategy";
1948
1885
  value: string;
1949
- }, {
1950
1886
  type: "strategy";
1887
+ }, {
1951
1888
  value: string;
1889
+ type: "strategy";
1952
1890
  }>, z.ZodObject<{
1953
1891
  type: z.ZodLiteral<"asset-trend">;
1954
1892
  value: z.ZodString;
1955
1893
  }, "strip", z.ZodTypeAny, {
1956
- type: "asset-trend";
1957
1894
  value: string;
1958
- }, {
1959
1895
  type: "asset-trend";
1896
+ }, {
1960
1897
  value: string;
1898
+ type: "asset-trend";
1961
1899
  }>]>, "many">>;
1962
1900
  decision_prompt: z.ZodOptional<z.ZodString>;
1963
1901
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2014,37 +1952,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2014
1952
  execution_timeout_seconds?: number | undefined;
2015
1953
  }>>;
2016
1954
  }, z.ZodTypeAny, "passthrough">>>;
2017
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2018
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2019
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2020
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2021
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2022
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2023
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1955
+ health: z.ZodOptional<z.ZodObject<{
1956
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2024
1957
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2025
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2026
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2027
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2028
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2029
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2030
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2031
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2032
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2033
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2034
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2035
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2036
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2037
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2038
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2039
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2040
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2041
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
1958
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2042
1959
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
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>;
1960
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2048
1961
  }, z.ZodTypeAny, "passthrough">>>;
2049
1962
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2050
1963
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2581,20 +2494,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2581
2494
  type: z.ZodLiteral<"strategy">;
2582
2495
  value: z.ZodString;
2583
2496
  }, "strip", z.ZodTypeAny, {
2584
- type: "strategy";
2585
2497
  value: string;
2586
- }, {
2587
2498
  type: "strategy";
2499
+ }, {
2588
2500
  value: string;
2501
+ type: "strategy";
2589
2502
  }>, z.ZodObject<{
2590
2503
  type: z.ZodLiteral<"asset-trend">;
2591
2504
  value: z.ZodString;
2592
2505
  }, "strip", z.ZodTypeAny, {
2593
- type: "asset-trend";
2594
2506
  value: string;
2595
- }, {
2596
2507
  type: "asset-trend";
2508
+ }, {
2597
2509
  value: string;
2510
+ type: "asset-trend";
2598
2511
  }>]>, "many">>;
2599
2512
  decision_prompt: z.ZodOptional<z.ZodString>;
2600
2513
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2627,20 +2540,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2627
2540
  type: z.ZodLiteral<"strategy">;
2628
2541
  value: z.ZodString;
2629
2542
  }, "strip", z.ZodTypeAny, {
2630
- type: "strategy";
2631
2543
  value: string;
2632
- }, {
2633
2544
  type: "strategy";
2545
+ }, {
2634
2546
  value: string;
2547
+ type: "strategy";
2635
2548
  }>, z.ZodObject<{
2636
2549
  type: z.ZodLiteral<"asset-trend">;
2637
2550
  value: z.ZodString;
2638
2551
  }, "strip", z.ZodTypeAny, {
2639
- type: "asset-trend";
2640
2552
  value: string;
2641
- }, {
2642
2553
  type: "asset-trend";
2554
+ }, {
2643
2555
  value: string;
2556
+ type: "asset-trend";
2644
2557
  }>]>, "many">>;
2645
2558
  decision_prompt: z.ZodOptional<z.ZodString>;
2646
2559
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2673,20 +2586,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2673
2586
  type: z.ZodLiteral<"strategy">;
2674
2587
  value: z.ZodString;
2675
2588
  }, "strip", z.ZodTypeAny, {
2676
- type: "strategy";
2677
2589
  value: string;
2678
- }, {
2679
2590
  type: "strategy";
2591
+ }, {
2680
2592
  value: string;
2593
+ type: "strategy";
2681
2594
  }>, z.ZodObject<{
2682
2595
  type: z.ZodLiteral<"asset-trend">;
2683
2596
  value: z.ZodString;
2684
2597
  }, "strip", z.ZodTypeAny, {
2685
- type: "asset-trend";
2686
2598
  value: string;
2687
- }, {
2688
2599
  type: "asset-trend";
2600
+ }, {
2689
2601
  value: string;
2602
+ type: "asset-trend";
2690
2603
  }>]>, "many">>;
2691
2604
  decision_prompt: z.ZodOptional<z.ZodString>;
2692
2605
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2743,37 +2656,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
2743
2656
  execution_timeout_seconds?: number | undefined;
2744
2657
  }>>;
2745
2658
  }, z.ZodTypeAny, "passthrough">>>;
2746
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2747
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
2748
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2749
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2750
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2751
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2752
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2659
+ health: z.ZodOptional<z.ZodObject<{
2660
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2753
2661
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2754
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2755
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2756
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2757
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2758
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2759
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2760
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2761
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2762
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2763
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2764
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2765
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2766
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2767
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2768
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2769
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2770
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2662
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2771
2663
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2772
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
2773
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
2774
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
2775
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
2776
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
2664
+ window_seconds: z.ZodOptional<z.ZodNumber>;
2777
2665
  }, z.ZodTypeAny, "passthrough">>>;
2778
2666
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2779
2667
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3310,20 +3198,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3310
3198
  type: z.ZodLiteral<"strategy">;
3311
3199
  value: z.ZodString;
3312
3200
  }, "strip", z.ZodTypeAny, {
3313
- type: "strategy";
3314
3201
  value: string;
3315
- }, {
3316
3202
  type: "strategy";
3203
+ }, {
3317
3204
  value: string;
3205
+ type: "strategy";
3318
3206
  }>, z.ZodObject<{
3319
3207
  type: z.ZodLiteral<"asset-trend">;
3320
3208
  value: z.ZodString;
3321
3209
  }, "strip", z.ZodTypeAny, {
3322
- type: "asset-trend";
3323
3210
  value: string;
3324
- }, {
3325
3211
  type: "asset-trend";
3212
+ }, {
3326
3213
  value: string;
3214
+ type: "asset-trend";
3327
3215
  }>]>, "many">>;
3328
3216
  decision_prompt: z.ZodOptional<z.ZodString>;
3329
3217
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3356,20 +3244,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3356
3244
  type: z.ZodLiteral<"strategy">;
3357
3245
  value: z.ZodString;
3358
3246
  }, "strip", z.ZodTypeAny, {
3359
- type: "strategy";
3360
3247
  value: string;
3361
- }, {
3362
3248
  type: "strategy";
3249
+ }, {
3363
3250
  value: string;
3251
+ type: "strategy";
3364
3252
  }>, z.ZodObject<{
3365
3253
  type: z.ZodLiteral<"asset-trend">;
3366
3254
  value: z.ZodString;
3367
3255
  }, "strip", z.ZodTypeAny, {
3368
- type: "asset-trend";
3369
3256
  value: string;
3370
- }, {
3371
3257
  type: "asset-trend";
3258
+ }, {
3372
3259
  value: string;
3260
+ type: "asset-trend";
3373
3261
  }>]>, "many">>;
3374
3262
  decision_prompt: z.ZodOptional<z.ZodString>;
3375
3263
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3402,20 +3290,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3402
3290
  type: z.ZodLiteral<"strategy">;
3403
3291
  value: z.ZodString;
3404
3292
  }, "strip", z.ZodTypeAny, {
3405
- type: "strategy";
3406
3293
  value: string;
3407
- }, {
3408
3294
  type: "strategy";
3295
+ }, {
3409
3296
  value: string;
3297
+ type: "strategy";
3410
3298
  }>, z.ZodObject<{
3411
3299
  type: z.ZodLiteral<"asset-trend">;
3412
3300
  value: z.ZodString;
3413
3301
  }, "strip", z.ZodTypeAny, {
3414
- type: "asset-trend";
3415
3302
  value: string;
3416
- }, {
3417
3303
  type: "asset-trend";
3304
+ }, {
3418
3305
  value: string;
3306
+ type: "asset-trend";
3419
3307
  }>]>, "many">>;
3420
3308
  decision_prompt: z.ZodOptional<z.ZodString>;
3421
3309
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3472,37 +3360,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
3472
3360
  execution_timeout_seconds?: number | undefined;
3473
3361
  }>>;
3474
3362
  }, z.ZodTypeAny, "passthrough">>>;
3475
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3476
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3477
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3478
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3479
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3480
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3481
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3363
+ health: z.ZodOptional<z.ZodObject<{
3364
+ window_seconds: z.ZodOptional<z.ZodNumber>;
3482
3365
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3483
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3484
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3485
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3486
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3487
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3366
+ window_seconds: z.ZodOptional<z.ZodNumber>;
3488
3367
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3489
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3490
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3491
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3492
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3493
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3494
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
3495
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3496
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3497
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3498
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3499
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3500
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3501
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
3502
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
3503
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
3504
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
3505
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
3368
+ window_seconds: z.ZodOptional<z.ZodNumber>;
3506
3369
  }, z.ZodTypeAny, "passthrough">>>;
3507
3370
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3508
3371
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4039,20 +3902,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4039
3902
  type: z.ZodLiteral<"strategy">;
4040
3903
  value: z.ZodString;
4041
3904
  }, "strip", z.ZodTypeAny, {
4042
- type: "strategy";
4043
3905
  value: string;
4044
- }, {
4045
3906
  type: "strategy";
3907
+ }, {
4046
3908
  value: string;
3909
+ type: "strategy";
4047
3910
  }>, z.ZodObject<{
4048
3911
  type: z.ZodLiteral<"asset-trend">;
4049
3912
  value: z.ZodString;
4050
3913
  }, "strip", z.ZodTypeAny, {
4051
- type: "asset-trend";
4052
3914
  value: string;
4053
- }, {
4054
3915
  type: "asset-trend";
3916
+ }, {
4055
3917
  value: string;
3918
+ type: "asset-trend";
4056
3919
  }>]>, "many">>;
4057
3920
  decision_prompt: z.ZodOptional<z.ZodString>;
4058
3921
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4085,20 +3948,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4085
3948
  type: z.ZodLiteral<"strategy">;
4086
3949
  value: z.ZodString;
4087
3950
  }, "strip", z.ZodTypeAny, {
4088
- type: "strategy";
4089
3951
  value: string;
4090
- }, {
4091
3952
  type: "strategy";
3953
+ }, {
4092
3954
  value: string;
3955
+ type: "strategy";
4093
3956
  }>, z.ZodObject<{
4094
3957
  type: z.ZodLiteral<"asset-trend">;
4095
3958
  value: z.ZodString;
4096
3959
  }, "strip", z.ZodTypeAny, {
4097
- type: "asset-trend";
4098
3960
  value: string;
4099
- }, {
4100
3961
  type: "asset-trend";
3962
+ }, {
4101
3963
  value: string;
3964
+ type: "asset-trend";
4102
3965
  }>]>, "many">>;
4103
3966
  decision_prompt: z.ZodOptional<z.ZodString>;
4104
3967
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4131,20 +3994,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4131
3994
  type: z.ZodLiteral<"strategy">;
4132
3995
  value: z.ZodString;
4133
3996
  }, "strip", z.ZodTypeAny, {
4134
- type: "strategy";
4135
3997
  value: string;
4136
- }, {
4137
3998
  type: "strategy";
3999
+ }, {
4138
4000
  value: string;
4001
+ type: "strategy";
4139
4002
  }>, z.ZodObject<{
4140
4003
  type: z.ZodLiteral<"asset-trend">;
4141
4004
  value: z.ZodString;
4142
4005
  }, "strip", z.ZodTypeAny, {
4143
- type: "asset-trend";
4144
4006
  value: string;
4145
- }, {
4146
4007
  type: "asset-trend";
4008
+ }, {
4147
4009
  value: string;
4010
+ type: "asset-trend";
4148
4011
  }>]>, "many">>;
4149
4012
  decision_prompt: z.ZodOptional<z.ZodString>;
4150
4013
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4201,37 +4064,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4201
4064
  execution_timeout_seconds?: number | undefined;
4202
4065
  }>>;
4203
4066
  }, z.ZodTypeAny, "passthrough">>>;
4204
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4205
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4206
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4207
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4208
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4209
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4210
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4067
+ health: z.ZodOptional<z.ZodObject<{
4068
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4211
4069
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4212
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4213
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4214
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4215
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4216
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4217
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4218
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4219
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4220
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4221
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4222
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4223
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
4224
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4225
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4226
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4227
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4228
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4070
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4229
4071
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4230
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4231
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4232
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4233
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4234
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4072
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4235
4073
  }, z.ZodTypeAny, "passthrough">>>;
4236
4074
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
4237
4075
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4768,20 +4606,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4768
4606
  type: z.ZodLiteral<"strategy">;
4769
4607
  value: z.ZodString;
4770
4608
  }, "strip", z.ZodTypeAny, {
4771
- type: "strategy";
4772
4609
  value: string;
4773
- }, {
4774
4610
  type: "strategy";
4611
+ }, {
4775
4612
  value: string;
4613
+ type: "strategy";
4776
4614
  }>, z.ZodObject<{
4777
4615
  type: z.ZodLiteral<"asset-trend">;
4778
4616
  value: z.ZodString;
4779
4617
  }, "strip", z.ZodTypeAny, {
4780
- type: "asset-trend";
4781
4618
  value: string;
4782
- }, {
4783
4619
  type: "asset-trend";
4620
+ }, {
4784
4621
  value: string;
4622
+ type: "asset-trend";
4785
4623
  }>]>, "many">>;
4786
4624
  decision_prompt: z.ZodOptional<z.ZodString>;
4787
4625
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4814,20 +4652,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4814
4652
  type: z.ZodLiteral<"strategy">;
4815
4653
  value: z.ZodString;
4816
4654
  }, "strip", z.ZodTypeAny, {
4817
- type: "strategy";
4818
4655
  value: string;
4819
- }, {
4820
4656
  type: "strategy";
4657
+ }, {
4821
4658
  value: string;
4659
+ type: "strategy";
4822
4660
  }>, z.ZodObject<{
4823
4661
  type: z.ZodLiteral<"asset-trend">;
4824
4662
  value: z.ZodString;
4825
4663
  }, "strip", z.ZodTypeAny, {
4826
- type: "asset-trend";
4827
4664
  value: string;
4828
- }, {
4829
4665
  type: "asset-trend";
4666
+ }, {
4830
4667
  value: string;
4668
+ type: "asset-trend";
4831
4669
  }>]>, "many">>;
4832
4670
  decision_prompt: z.ZodOptional<z.ZodString>;
4833
4671
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4860,20 +4698,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4860
4698
  type: z.ZodLiteral<"strategy">;
4861
4699
  value: z.ZodString;
4862
4700
  }, "strip", z.ZodTypeAny, {
4863
- type: "strategy";
4864
4701
  value: string;
4865
- }, {
4866
4702
  type: "strategy";
4703
+ }, {
4867
4704
  value: string;
4705
+ type: "strategy";
4868
4706
  }>, z.ZodObject<{
4869
4707
  type: z.ZodLiteral<"asset-trend">;
4870
4708
  value: z.ZodString;
4871
4709
  }, "strip", z.ZodTypeAny, {
4872
- type: "asset-trend";
4873
4710
  value: string;
4874
- }, {
4875
4711
  type: "asset-trend";
4712
+ }, {
4876
4713
  value: string;
4714
+ type: "asset-trend";
4877
4715
  }>]>, "many">>;
4878
4716
  decision_prompt: z.ZodOptional<z.ZodString>;
4879
4717
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4930,37 +4768,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
4930
4768
  execution_timeout_seconds?: number | undefined;
4931
4769
  }>>;
4932
4770
  }, z.ZodTypeAny, "passthrough">>>;
4933
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4934
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4935
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4936
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4937
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4938
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4939
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4771
+ health: z.ZodOptional<z.ZodObject<{
4772
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4940
4773
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4941
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4942
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4943
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4944
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4945
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4946
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4947
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4948
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4949
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4950
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4951
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4952
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
4953
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4954
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4955
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4956
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4957
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4774
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4958
4775
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4959
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
4960
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
4961
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
4962
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
4963
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
4776
+ window_seconds: z.ZodOptional<z.ZodNumber>;
4964
4777
  }, z.ZodTypeAny, "passthrough">>>;
4965
4778
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
4966
4779
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5497,20 +5310,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5497
5310
  type: z.ZodLiteral<"strategy">;
5498
5311
  value: z.ZodString;
5499
5312
  }, "strip", z.ZodTypeAny, {
5500
- type: "strategy";
5501
5313
  value: string;
5502
- }, {
5503
5314
  type: "strategy";
5315
+ }, {
5504
5316
  value: string;
5317
+ type: "strategy";
5505
5318
  }>, z.ZodObject<{
5506
5319
  type: z.ZodLiteral<"asset-trend">;
5507
5320
  value: z.ZodString;
5508
5321
  }, "strip", z.ZodTypeAny, {
5509
- type: "asset-trend";
5510
5322
  value: string;
5511
- }, {
5512
5323
  type: "asset-trend";
5324
+ }, {
5513
5325
  value: string;
5326
+ type: "asset-trend";
5514
5327
  }>]>, "many">>;
5515
5328
  decision_prompt: z.ZodOptional<z.ZodString>;
5516
5329
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5543,20 +5356,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5543
5356
  type: z.ZodLiteral<"strategy">;
5544
5357
  value: z.ZodString;
5545
5358
  }, "strip", z.ZodTypeAny, {
5546
- type: "strategy";
5547
5359
  value: string;
5548
- }, {
5549
5360
  type: "strategy";
5361
+ }, {
5550
5362
  value: string;
5363
+ type: "strategy";
5551
5364
  }>, z.ZodObject<{
5552
5365
  type: z.ZodLiteral<"asset-trend">;
5553
5366
  value: z.ZodString;
5554
5367
  }, "strip", z.ZodTypeAny, {
5555
- type: "asset-trend";
5556
5368
  value: string;
5557
- }, {
5558
5369
  type: "asset-trend";
5370
+ }, {
5559
5371
  value: string;
5372
+ type: "asset-trend";
5560
5373
  }>]>, "many">>;
5561
5374
  decision_prompt: z.ZodOptional<z.ZodString>;
5562
5375
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5589,20 +5402,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5589
5402
  type: z.ZodLiteral<"strategy">;
5590
5403
  value: z.ZodString;
5591
5404
  }, "strip", z.ZodTypeAny, {
5592
- type: "strategy";
5593
5405
  value: string;
5594
- }, {
5595
5406
  type: "strategy";
5407
+ }, {
5596
5408
  value: string;
5409
+ type: "strategy";
5597
5410
  }>, z.ZodObject<{
5598
5411
  type: z.ZodLiteral<"asset-trend">;
5599
5412
  value: z.ZodString;
5600
5413
  }, "strip", z.ZodTypeAny, {
5601
- type: "asset-trend";
5602
5414
  value: string;
5603
- }, {
5604
5415
  type: "asset-trend";
5416
+ }, {
5605
5417
  value: string;
5418
+ type: "asset-trend";
5606
5419
  }>]>, "many">>;
5607
5420
  decision_prompt: z.ZodOptional<z.ZodString>;
5608
5421
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5659,37 +5472,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
5659
5472
  execution_timeout_seconds?: number | undefined;
5660
5473
  }>>;
5661
5474
  }, z.ZodTypeAny, "passthrough">>>;
5662
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5663
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5664
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5665
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5666
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5667
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5668
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5475
+ health: z.ZodOptional<z.ZodObject<{
5476
+ window_seconds: z.ZodOptional<z.ZodNumber>;
5669
5477
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5670
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5671
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5672
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5673
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5674
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5675
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5676
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5677
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5678
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5679
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5680
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5681
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
5682
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5683
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5684
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5685
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5686
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5478
+ window_seconds: z.ZodOptional<z.ZodNumber>;
5687
5479
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5688
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
5689
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
5690
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
5691
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
5692
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
5480
+ window_seconds: z.ZodOptional<z.ZodNumber>;
5693
5481
  }, z.ZodTypeAny, "passthrough">>>;
5694
5482
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
5695
5483
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6226,20 +6014,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6226
6014
  type: z.ZodLiteral<"strategy">;
6227
6015
  value: z.ZodString;
6228
6016
  }, "strip", z.ZodTypeAny, {
6229
- type: "strategy";
6230
6017
  value: string;
6231
- }, {
6232
6018
  type: "strategy";
6019
+ }, {
6233
6020
  value: string;
6021
+ type: "strategy";
6234
6022
  }>, z.ZodObject<{
6235
6023
  type: z.ZodLiteral<"asset-trend">;
6236
6024
  value: z.ZodString;
6237
6025
  }, "strip", z.ZodTypeAny, {
6238
- type: "asset-trend";
6239
6026
  value: string;
6240
- }, {
6241
6027
  type: "asset-trend";
6028
+ }, {
6242
6029
  value: string;
6030
+ type: "asset-trend";
6243
6031
  }>]>, "many">>;
6244
6032
  decision_prompt: z.ZodOptional<z.ZodString>;
6245
6033
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6272,20 +6060,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6272
6060
  type: z.ZodLiteral<"strategy">;
6273
6061
  value: z.ZodString;
6274
6062
  }, "strip", z.ZodTypeAny, {
6275
- type: "strategy";
6276
6063
  value: string;
6277
- }, {
6278
6064
  type: "strategy";
6065
+ }, {
6279
6066
  value: string;
6067
+ type: "strategy";
6280
6068
  }>, z.ZodObject<{
6281
6069
  type: z.ZodLiteral<"asset-trend">;
6282
6070
  value: z.ZodString;
6283
6071
  }, "strip", z.ZodTypeAny, {
6284
- type: "asset-trend";
6285
6072
  value: string;
6286
- }, {
6287
6073
  type: "asset-trend";
6074
+ }, {
6288
6075
  value: string;
6076
+ type: "asset-trend";
6289
6077
  }>]>, "many">>;
6290
6078
  decision_prompt: z.ZodOptional<z.ZodString>;
6291
6079
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6318,20 +6106,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6318
6106
  type: z.ZodLiteral<"strategy">;
6319
6107
  value: z.ZodString;
6320
6108
  }, "strip", z.ZodTypeAny, {
6321
- type: "strategy";
6322
6109
  value: string;
6323
- }, {
6324
6110
  type: "strategy";
6111
+ }, {
6325
6112
  value: string;
6113
+ type: "strategy";
6326
6114
  }>, z.ZodObject<{
6327
6115
  type: z.ZodLiteral<"asset-trend">;
6328
6116
  value: z.ZodString;
6329
6117
  }, "strip", z.ZodTypeAny, {
6330
- type: "asset-trend";
6331
6118
  value: string;
6332
- }, {
6333
6119
  type: "asset-trend";
6120
+ }, {
6334
6121
  value: string;
6122
+ type: "asset-trend";
6335
6123
  }>]>, "many">>;
6336
6124
  decision_prompt: z.ZodOptional<z.ZodString>;
6337
6125
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6388,37 +6176,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6388
6176
  execution_timeout_seconds?: number | undefined;
6389
6177
  }>>;
6390
6178
  }, z.ZodTypeAny, "passthrough">>>;
6391
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6392
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
6393
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6394
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6395
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6396
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6397
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6179
+ health: z.ZodOptional<z.ZodObject<{
6180
+ window_seconds: z.ZodOptional<z.ZodNumber>;
6398
6181
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6399
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6400
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6401
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6402
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6403
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6182
+ window_seconds: z.ZodOptional<z.ZodNumber>;
6404
6183
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6405
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6406
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6407
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6408
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6409
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6410
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
6411
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6412
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6413
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6414
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6415
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6416
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6417
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
6418
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
6419
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
6420
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
6421
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6184
+ window_seconds: z.ZodOptional<z.ZodNumber>;
6422
6185
  }, z.ZodTypeAny, "passthrough">>>;
6423
6186
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
6424
6187
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6955,20 +6718,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
6955
6718
  type: z.ZodLiteral<"strategy">;
6956
6719
  value: z.ZodString;
6957
6720
  }, "strip", z.ZodTypeAny, {
6958
- type: "strategy";
6959
6721
  value: string;
6960
- }, {
6961
6722
  type: "strategy";
6723
+ }, {
6962
6724
  value: string;
6725
+ type: "strategy";
6963
6726
  }>, z.ZodObject<{
6964
6727
  type: z.ZodLiteral<"asset-trend">;
6965
6728
  value: z.ZodString;
6966
6729
  }, "strip", z.ZodTypeAny, {
6967
- type: "asset-trend";
6968
6730
  value: string;
6969
- }, {
6970
6731
  type: "asset-trend";
6732
+ }, {
6971
6733
  value: string;
6734
+ type: "asset-trend";
6972
6735
  }>]>, "many">>;
6973
6736
  decision_prompt: z.ZodOptional<z.ZodString>;
6974
6737
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7001,20 +6764,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7001
6764
  type: z.ZodLiteral<"strategy">;
7002
6765
  value: z.ZodString;
7003
6766
  }, "strip", z.ZodTypeAny, {
7004
- type: "strategy";
7005
6767
  value: string;
7006
- }, {
7007
6768
  type: "strategy";
6769
+ }, {
7008
6770
  value: string;
6771
+ type: "strategy";
7009
6772
  }>, z.ZodObject<{
7010
6773
  type: z.ZodLiteral<"asset-trend">;
7011
6774
  value: z.ZodString;
7012
6775
  }, "strip", z.ZodTypeAny, {
7013
- type: "asset-trend";
7014
6776
  value: string;
7015
- }, {
7016
6777
  type: "asset-trend";
6778
+ }, {
7017
6779
  value: string;
6780
+ type: "asset-trend";
7018
6781
  }>]>, "many">>;
7019
6782
  decision_prompt: z.ZodOptional<z.ZodString>;
7020
6783
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7047,20 +6810,20 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7047
6810
  type: z.ZodLiteral<"strategy">;
7048
6811
  value: z.ZodString;
7049
6812
  }, "strip", z.ZodTypeAny, {
7050
- type: "strategy";
7051
6813
  value: string;
7052
- }, {
7053
6814
  type: "strategy";
6815
+ }, {
7054
6816
  value: string;
6817
+ type: "strategy";
7055
6818
  }>, z.ZodObject<{
7056
6819
  type: z.ZodLiteral<"asset-trend">;
7057
6820
  value: z.ZodString;
7058
6821
  }, "strip", z.ZodTypeAny, {
7059
- type: "asset-trend";
7060
6822
  value: string;
7061
- }, {
7062
6823
  type: "asset-trend";
6824
+ }, {
7063
6825
  value: string;
6826
+ type: "asset-trend";
7064
6827
  }>]>, "many">>;
7065
6828
  decision_prompt: z.ZodOptional<z.ZodString>;
7066
6829
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7117,37 +6880,12 @@ export declare const runtimeConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects
7117
6880
  execution_timeout_seconds?: number | undefined;
7118
6881
  }>>;
7119
6882
  }, z.ZodTypeAny, "passthrough">>>;
7120
- health: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7121
- telemetry: z.ZodOptional<z.ZodEffects<z.ZodObject<{
7122
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7123
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7124
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7125
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7126
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6883
+ health: z.ZodOptional<z.ZodObject<{
6884
+ window_seconds: z.ZodOptional<z.ZodNumber>;
7127
6885
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7128
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7129
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7130
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7131
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7132
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7133
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7134
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7135
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7136
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7137
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7138
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
7139
- }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
7140
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7141
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7142
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7143
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7144
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6886
+ window_seconds: z.ZodOptional<z.ZodNumber>;
7145
6887
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7146
- /** Ingestion base URL override (else `SENPI_TRACKING_URL` env, else the built-in default).
7147
- * Empty after env resolution (e.g. `${SENPI_TRACKING_URL}` with the var unset) degrades to the
7148
- * default URL instead of failing boot — telemetry config must never block a runtime start. */
7149
- url: z.ZodOptional<z.ZodEffects<z.ZodString, string | undefined, string>>;
7150
- flush_interval_seconds: z.ZodOptional<z.ZodNumber>;
6888
+ window_seconds: z.ZodOptional<z.ZodNumber>;
7151
6889
  }, z.ZodTypeAny, "passthrough">>>;
7152
6890
  hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
7153
6891
  notifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -7231,6 +6969,5 @@ export type RuntimeStrategy = z.infer<typeof strategyEntrySchema>;
7231
6969
  export type RuntimeScanner = z.infer<typeof scannerEntrySchema>;
7232
6970
  export type RuntimeAction = z.infer<typeof actionEntrySchema>;
7233
6971
  export type RuntimeExit = z.infer<typeof exitBlockSchema>;
7234
- export type RuntimeTelemetry = z.infer<typeof telemetrySchema>;
7235
6972
  export {};
7236
6973
  //# sourceMappingURL=runtime-schema.d.ts.map