create-principles-disciple 1.147.13 → 1.147.14

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 (2716) hide show
  1. package/_release/product-identity.json +1 -1
  2. package/codex-adapter/dist/codex-evidence-recorder.d.ts +1 -1
  3. package/codex-adapter/dist/ingestion/admission.d.ts +1 -1
  4. package/codex-adapter/dist/ingestion/admission.js +1 -1
  5. package/codex-adapter/dist/ingestion/catch-up.js +1 -1
  6. package/codex-adapter/dist/ingestion/turn-context.js +1 -1
  7. package/codex-adapter/dist/pd-hook.js +3 -3
  8. package/codex-adapter/dist/tool-semantics.d.ts +1 -1
  9. package/codex-adapter/dist/tool-semantics.js +1 -1
  10. package/codex-adapter/dist/worker/workspace-worker.js +2 -2
  11. package/codex-adapter/package.json +1 -1
  12. package/console/dist/server/config/pd-config-store.d.ts +2 -2
  13. package/console/dist/server/config/pd-config-store.js +34 -20
  14. package/console/dist/server/feedback/github-adapter.d.ts +1 -1
  15. package/console/dist/server/feedback/github-adapter.js +3 -2
  16. package/console/dist/server/feedback/ingest-adapter.d.ts +1 -1
  17. package/console/dist/server/feedback/ingest-adapter.js +3 -2
  18. package/console/dist/server/feedback/submit-service.d.ts +1 -1
  19. package/console/dist/server/feedback/submit-service.js +1 -1
  20. package/console/dist/server/index.js +13 -10
  21. package/console/dist/server/models/ActivationsConsoleModel.d.ts +5 -5
  22. package/console/dist/server/models/ActivationsConsoleModel.js +11 -10
  23. package/console/dist/server/models/ApprovalsConsoleModel.d.ts +2 -2
  24. package/console/dist/server/models/ApprovalsConsoleModel.js +7 -6
  25. package/console/dist/server/models/ApprovalsGroupedConsoleModel.js +5 -4
  26. package/console/dist/server/models/CodexGovernanceHealthModel.js +2 -1
  27. package/console/dist/server/models/ConsoleLifecycleDatasource.d.ts +2 -2
  28. package/console/dist/server/models/ConsoleLifecycleDatasource.js +2 -1
  29. package/console/dist/server/models/EvidenceChainConsoleModel.d.ts +1 -1
  30. package/console/dist/server/models/EvidenceChainConsoleModel.js +4 -3
  31. package/console/dist/server/models/ExaminerEvidenceModel.d.ts +1 -1
  32. package/console/dist/server/models/ExaminerEvidenceModel.js +2 -1
  33. package/console/dist/server/models/FeedbackReportConsoleModel.d.ts +1 -1
  34. package/console/dist/server/models/FeedbackReportConsoleModel.js +8 -7
  35. package/console/dist/server/models/GovernanceConsoleModel.js +3 -2
  36. package/console/dist/server/models/GovernanceExperienceCollector.d.ts +1 -1
  37. package/console/dist/server/models/GovernanceExperienceCollector.js +1 -1
  38. package/console/dist/server/models/GovernanceProjectionCollector.d.ts +1 -1
  39. package/console/dist/server/models/GovernanceProjectionCollector.js +1 -1
  40. package/console/dist/server/models/HealthCheckModel.js +3 -2
  41. package/console/dist/server/models/IntentDecisionModel.d.ts +1 -1
  42. package/console/dist/server/models/IntentDecisionModel.js +1 -1
  43. package/console/dist/server/models/IntentPageModel.d.ts +1 -1
  44. package/console/dist/server/models/IntentPageModel.js +99 -27
  45. package/console/dist/server/models/LifecycleConsoleModel.js +1 -1
  46. package/console/dist/server/models/OwnerDecisionConsoleModel.d.ts +1 -1
  47. package/console/dist/server/models/OwnerDecisionConsoleModel.js +1 -1
  48. package/console/dist/server/models/OwnerDecisionViewModel.d.ts +1 -1
  49. package/console/dist/server/models/OwnerDecisionViewModel.js +5 -5
  50. package/console/dist/server/models/PrincipleClassifier.js +1 -1
  51. package/console/dist/server/models/PrincipleTrajectoryModel.js +8 -7
  52. package/console/dist/server/models/PrinciplesConsoleModel.d.ts +1 -1
  53. package/console/dist/server/models/PrinciplesConsoleModel.js +10 -3
  54. package/console/dist/server/models/ReceiptsConsoleModel.d.ts +1 -1
  55. package/console/dist/server/models/ReceiptsConsoleModel.js +5 -4
  56. package/console/dist/server/models/RuleCandidateBindingConsoleModel.d.ts +3 -3
  57. package/console/dist/server/models/RuleCandidateBindingConsoleModel.js +1 -1
  58. package/console/dist/server/models/artifact-principle-resolver.d.ts +1 -1
  59. package/console/dist/server/models/artifact-principle-resolver.js +1 -1
  60. package/console/dist/server/models/principle-id-resolution.d.ts +3 -3
  61. package/console/dist/server/models/principle-id-resolution.js +2 -2
  62. package/console/dist/server/routes/activations.d.ts +1 -1
  63. package/console/dist/server/routes/activations.js +10 -10
  64. package/console/dist/server/routes/approvals-grouped.js +2 -2
  65. package/console/dist/server/routes/approvals.js +8 -11
  66. package/console/dist/server/routes/design-gate.js +1 -1
  67. package/console/dist/server/routes/evidence-chain.js +2 -2
  68. package/console/dist/server/routes/evidence-outcomes.js +1 -1
  69. package/console/dist/server/routes/failed-tasks.d.ts +1 -1
  70. package/console/dist/server/routes/failed-tasks.js +3 -6
  71. package/console/dist/server/routes/feedback-reports.js +5 -8
  72. package/console/dist/server/routes/governance.d.ts +1 -1
  73. package/console/dist/server/routes/governance.js +3 -3
  74. package/console/dist/server/routes/health.js +2 -2
  75. package/console/dist/server/routes/intent-decisions.js +7 -10
  76. package/console/dist/server/routes/lifecycle.js +2 -2
  77. package/console/dist/server/routes/onboarding.d.ts +1 -1
  78. package/console/dist/server/routes/onboarding.js +3 -3
  79. package/console/dist/server/routes/owner-decision.js +4 -4
  80. package/console/dist/server/routes/owner-decisions.js +4 -4
  81. package/console/dist/server/routes/owner-identity.d.ts +1 -1
  82. package/console/dist/server/routes/owner-identity.js +1 -1
  83. package/console/dist/server/routes/principles.js +13 -13
  84. package/console/dist/server/routes/receipts.js +4 -4
  85. package/console/dist/server/routes/update-transaction.js +4 -4
  86. package/console/dist/server/routes/update.js +3 -3
  87. package/console/dist/server/routes/workspaces.js +5 -8
  88. package/console/dist/server/utils/cli-smoke.js +2 -1
  89. package/console/dist/server/utils/gateway.js +2 -1
  90. package/console/dist/server/utils/pd-backups.js +3 -2
  91. package/console/dist/server/utils/request.js +8 -6
  92. package/console/dist/server/utils/response.d.ts +10 -0
  93. package/console/dist/server/utils/response.js +18 -0
  94. package/console/dist/shared/approved-rule-revision-contract.d.ts +1 -1
  95. package/console/dist/web/assets/app.js +31 -31
  96. package/console/lab/lib/examiner-injection-evidence.mjs +1 -1
  97. package/core/dist/host/host-adapter.d.ts +3 -3
  98. package/core/dist/host/host-adapter.d.ts.map +1 -1
  99. package/core/dist/index.d.ts +26 -26
  100. package/core/dist/index.d.ts.map +1 -1
  101. package/core/dist/index.js +16 -16
  102. package/core/dist/index.js.map +1 -1
  103. package/core/dist/principle-tree-ledger.d.ts +5 -5
  104. package/core/dist/principle-tree-ledger.d.ts.map +1 -1
  105. package/core/dist/principle-tree-ledger.js +17 -4
  106. package/core/dist/principle-tree-ledger.js.map +1 -1
  107. package/core/dist/prompt-builder/model-config.js +1 -1
  108. package/core/dist/prompt-builder/model-config.js.map +1 -1
  109. package/core/dist/prompt-builder/size-guard.d.ts.map +1 -1
  110. package/core/dist/prompt-builder/size-guard.js +39 -6
  111. package/core/dist/prompt-builder/size-guard.js.map +1 -1
  112. package/core/dist/prompt-builder/xml-escape.d.ts +1 -1
  113. package/core/dist/prompt-builder/xml-escape.js +1 -1
  114. package/core/dist/runtime/activation/activation-control-types.d.ts.map +1 -0
  115. package/core/dist/runtime/activation/activation-control-types.js.map +1 -0
  116. package/core/dist/runtime/activation/activation-dispatcher.d.ts.map +1 -0
  117. package/core/dist/runtime/activation/activation-dispatcher.js.map +1 -0
  118. package/core/dist/runtime/activation/activation-types.d.ts.map +1 -0
  119. package/core/dist/runtime/activation/activation-types.js.map +1 -0
  120. package/core/dist/runtime/activation/adaptive-delivery-record.d.ts.map +1 -0
  121. package/core/dist/runtime/activation/adaptive-delivery-record.js.map +1 -0
  122. package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts +83 -0
  123. package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts.map +1 -0
  124. package/core/dist/runtime/activation/adaptive-principle-intervention.js.map +1 -0
  125. package/core/dist/runtime/activation/approval-completion-service.d.ts.map +1 -0
  126. package/core/dist/runtime/activation/approval-completion-service.js.map +1 -0
  127. package/core/dist/runtime/activation/approval-queue.d.ts.map +1 -0
  128. package/core/dist/runtime/activation/approval-queue.js.map +1 -0
  129. package/core/dist/runtime/activation/approval-review-guard.d.ts.map +1 -0
  130. package/core/dist/runtime/activation/approval-review-guard.js.map +1 -0
  131. package/core/dist/runtime/activation/index.d.ts +48 -0
  132. package/core/dist/runtime/activation/index.d.ts.map +1 -0
  133. package/core/dist/runtime/activation/index.js +38 -0
  134. package/core/dist/runtime/activation/index.js.map +1 -0
  135. package/core/dist/runtime/activation/ledger-identity.d.ts.map +1 -0
  136. package/core/dist/runtime/activation/ledger-identity.js.map +1 -0
  137. package/core/dist/runtime/activation/low-risk-writers.d.ts.map +1 -0
  138. package/core/dist/runtime/activation/low-risk-writers.js.map +1 -0
  139. package/core/dist/runtime/activation/memory-activation-state-store.d.ts.map +1 -0
  140. package/core/dist/runtime/activation/memory-activation-state-store.js.map +1 -0
  141. package/core/dist/runtime/activation/memory-approval-store.d.ts.map +1 -0
  142. package/core/dist/runtime/activation/memory-approval-store.js.map +1 -0
  143. package/core/dist/runtime/activation/openclaw-promotion-checks.d.ts.map +1 -0
  144. package/core/dist/runtime/activation/openclaw-promotion-checks.js.map +1 -0
  145. package/core/dist/runtime/activation/production-gate-deps.d.ts.map +1 -0
  146. package/core/dist/runtime/activation/production-gate-deps.js.map +1 -0
  147. package/core/dist/runtime/activation/promotion-evidence-snapshot.d.ts.map +1 -0
  148. package/core/dist/runtime/activation/promotion-evidence-snapshot.js.map +1 -0
  149. package/core/dist/runtime/activation/promotion-readiness-evaluator.d.ts.map +1 -0
  150. package/core/dist/runtime/activation/promotion-readiness-evaluator.js.map +1 -0
  151. package/core/dist/runtime/activation/promotion-readiness-reader.d.ts.map +1 -0
  152. package/core/dist/runtime/activation/promotion-readiness-reader.js.map +1 -0
  153. package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts +118 -0
  154. package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts.map +1 -0
  155. package/core/dist/runtime/activation/prompt-activation-reader-contract.js +209 -0
  156. package/core/dist/runtime/activation/prompt-activation-reader-contract.js.map +1 -0
  157. package/core/dist/runtime/activation/prompt-budget-policy.d.ts.map +1 -0
  158. package/core/dist/runtime/activation/prompt-budget-policy.js +326 -0
  159. package/core/dist/runtime/activation/prompt-budget-policy.js.map +1 -0
  160. package/core/dist/runtime/activation/prompt-replacement.d.ts.map +1 -0
  161. package/core/dist/runtime/activation/prompt-replacement.js.map +1 -0
  162. package/core/dist/runtime/activation/recovery-composition.d.ts.map +1 -0
  163. package/core/dist/runtime/activation/recovery-composition.js.map +1 -0
  164. package/core/dist/runtime/activation/recovery-control-surfaces.d.ts.map +1 -0
  165. package/core/dist/runtime/activation/recovery-control-surfaces.js.map +1 -0
  166. package/core/dist/runtime/activation/rule-replacement.d.ts.map +1 -0
  167. package/core/dist/runtime/activation/rule-replacement.js.map +1 -0
  168. package/core/dist/runtime/activation/rulecode-owner-decision-service.d.ts.map +1 -0
  169. package/core/dist/runtime/activation/rulecode-owner-decision-service.js.map +1 -0
  170. package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.d.ts.map +1 -0
  171. package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.js.map +1 -0
  172. package/core/dist/runtime/activation/rulecode-shadow-summary.d.ts.map +1 -0
  173. package/core/dist/runtime/activation/rulecode-shadow-summary.js.map +1 -0
  174. package/core/dist/runtime/activation/sqlite-activation-safety-store.d.ts.map +1 -0
  175. package/core/dist/runtime/activation/sqlite-activation-safety-store.js.map +1 -0
  176. package/core/dist/runtime/activation/sqlite-activation-state-store.d.ts.map +1 -0
  177. package/core/dist/runtime/activation/sqlite-activation-state-store.js.map +1 -0
  178. package/core/dist/runtime/activation/sqlite-approval-store.d.ts.map +1 -0
  179. package/core/dist/runtime/activation/sqlite-approval-store.js.map +1 -0
  180. package/core/dist/runtime/activation/writers/index.d.ts.map +1 -0
  181. package/core/dist/runtime/activation/writers/index.js.map +1 -0
  182. package/core/dist/runtime/activation/writers/rule-host-writer.d.ts.map +1 -0
  183. package/core/dist/runtime/activation/writers/rule-host-writer.js.map +1 -0
  184. package/core/dist/runtime/activation-compatibility-read-model.d.ts.map +1 -0
  185. package/core/dist/runtime/activation-compatibility-read-model.js.map +1 -0
  186. package/core/dist/runtime/adapter/artificer-l2-adapter.d.ts.map +1 -0
  187. package/core/dist/runtime/adapter/artificer-l2-adapter.js.map +1 -0
  188. package/core/dist/runtime/adapter/index.d.ts.map +1 -0
  189. package/core/dist/runtime/adapter/index.js.map +1 -0
  190. package/core/dist/runtime/adapter/json-extractor.d.ts.map +1 -0
  191. package/core/dist/runtime/adapter/json-extractor.js.map +1 -0
  192. package/core/dist/runtime/adapter/l2-agent-loop-adapter.d.ts.map +1 -0
  193. package/core/dist/runtime/adapter/l2-agent-loop-adapter.js.map +1 -0
  194. package/core/dist/runtime/adapter/output-repair-contract.d.ts.map +1 -0
  195. package/core/dist/runtime/adapter/output-repair-contract.js +99 -0
  196. package/core/dist/runtime/adapter/output-repair-contract.js.map +1 -0
  197. package/core/dist/runtime/adapter/output-schema-registry.d.ts.map +1 -0
  198. package/core/dist/runtime/adapter/output-schema-registry.js.map +1 -0
  199. package/core/dist/runtime/adapter/pi-ai-catalog.d.ts.map +1 -0
  200. package/core/dist/runtime/adapter/pi-ai-catalog.js.map +1 -0
  201. package/core/dist/runtime/adapter/pi-ai-http-transport.d.ts.map +1 -0
  202. package/core/dist/runtime/adapter/pi-ai-http-transport.js.map +1 -0
  203. package/core/dist/runtime/adapter/pi-ai-runtime-adapter.d.ts.map +1 -0
  204. package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js +1489 -0
  205. package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js.map +1 -0
  206. package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts +98 -0
  207. package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts.map +1 -0
  208. package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js +243 -0
  209. package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js.map +1 -0
  210. package/core/dist/runtime/adapter/schema-json-converter.d.ts.map +1 -0
  211. package/core/dist/runtime/adapter/schema-json-converter.js.map +1 -0
  212. package/core/dist/runtime/adapter/schema-prompt-adapter.d.ts.map +1 -0
  213. package/core/dist/runtime/adapter/schema-prompt-adapter.js.map +1 -0
  214. package/core/dist/runtime/adapter/split-pipeline-fixtures.d.ts.map +1 -0
  215. package/core/dist/runtime/adapter/split-pipeline-fixtures.js.map +1 -0
  216. package/core/dist/runtime/adapter/structured-output-repair.d.ts.map +1 -0
  217. package/core/dist/runtime/adapter/structured-output-repair.js +298 -0
  218. package/core/dist/runtime/adapter/structured-output-repair.js.map +1 -0
  219. package/core/dist/runtime/adapter/test-double-runtime-adapter.d.ts.map +1 -0
  220. package/core/dist/runtime/adapter/test-double-runtime-adapter.js.map +1 -0
  221. package/core/dist/runtime/adapter/tools/diagnostician-tool.d.ts.map +1 -0
  222. package/core/dist/runtime/adapter/tools/diagnostician-tool.js.map +1 -0
  223. package/core/dist/runtime/admission-gate.d.ts.map +1 -0
  224. package/core/dist/runtime/admission-gate.js.map +1 -0
  225. package/core/dist/runtime/adversarial-loop.d.ts.map +1 -0
  226. package/core/dist/runtime/adversarial-loop.js.map +1 -0
  227. package/core/dist/runtime/agent-spec.d.ts.map +1 -0
  228. package/core/dist/runtime/agent-spec.js.map +1 -0
  229. package/core/dist/runtime/bridge-result-shaper.d.ts.map +1 -0
  230. package/core/dist/runtime/bridge-result-shaper.js.map +1 -0
  231. package/core/dist/runtime/build-l2-principle-reader.d.ts.map +1 -0
  232. package/core/dist/runtime/build-l2-principle-reader.js.map +1 -0
  233. package/core/dist/runtime/candidate-audit.d.ts.map +1 -0
  234. package/core/dist/runtime/candidate-audit.js.map +1 -0
  235. package/core/dist/runtime/candidate-intake-service.d.ts.map +1 -0
  236. package/core/dist/runtime/candidate-intake-service.js.map +1 -0
  237. package/core/dist/runtime/candidate-intake.d.ts.map +1 -0
  238. package/core/dist/runtime/candidate-intake.js.map +1 -0
  239. package/core/dist/runtime/cli/diagnose.d.ts.map +1 -0
  240. package/core/dist/runtime/cli/diagnose.js.map +1 -0
  241. package/core/dist/runtime/cli/index.d.ts.map +1 -0
  242. package/core/dist/runtime/cli/index.js.map +1 -0
  243. package/core/dist/runtime/cli/probe.d.ts.map +1 -0
  244. package/core/dist/runtime/cli/probe.js.map +1 -0
  245. package/core/dist/runtime/config/index.d.ts.map +1 -0
  246. package/core/dist/runtime/config/index.js.map +1 -0
  247. package/core/dist/runtime/config/pd-config-agent-binding.d.ts.map +1 -0
  248. package/core/dist/runtime/config/pd-config-agent-binding.js.map +1 -0
  249. package/core/dist/runtime/config/pd-config-defaults.d.ts.map +1 -0
  250. package/core/dist/runtime/config/pd-config-defaults.js.map +1 -0
  251. package/core/dist/runtime/config/pd-config-effective.d.ts.map +1 -0
  252. package/core/dist/runtime/config/pd-config-effective.js.map +1 -0
  253. package/core/dist/runtime/config/pd-config-feature-flags.d.ts.map +1 -0
  254. package/core/dist/runtime/config/pd-config-feature-flags.js.map +1 -0
  255. package/core/dist/runtime/config/pd-config-redaction.d.ts.map +1 -0
  256. package/core/dist/runtime/config/pd-config-redaction.js +202 -0
  257. package/core/dist/runtime/config/pd-config-redaction.js.map +1 -0
  258. package/core/dist/runtime/config/pd-config-types.d.ts.map +1 -0
  259. package/core/dist/runtime/config/pd-config-types.js.map +1 -0
  260. package/core/dist/runtime/config/pd-config-validate.d.ts.map +1 -0
  261. package/core/dist/runtime/config/pd-config-validate.js.map +1 -0
  262. package/core/dist/runtime/config/pd-profile-constants.d.ts.map +1 -0
  263. package/core/dist/runtime/config/pd-profile-constants.js.map +1 -0
  264. package/core/dist/runtime/config/pd-validate-profile.d.ts.map +1 -0
  265. package/core/dist/runtime/config/pd-validate-profile.js.map +1 -0
  266. package/core/dist/runtime/context-payload.d.ts.map +1 -0
  267. package/core/dist/runtime/context-payload.js.map +1 -0
  268. package/core/dist/runtime/control-plane-triage.d.ts.map +1 -0
  269. package/core/dist/runtime/control-plane-triage.js.map +1 -0
  270. package/core/dist/runtime/core-principles/core-axiom-block.d.ts.map +1 -0
  271. package/core/dist/runtime/core-principles/core-axiom-block.js.map +1 -0
  272. package/core/dist/runtime/core-principles/core-principle-registry.d.ts.map +1 -0
  273. package/core/dist/runtime/core-principles/core-principle-registry.js.map +1 -0
  274. package/core/dist/runtime/core-principles/index.d.ts.map +1 -0
  275. package/core/dist/runtime/core-principles/index.js.map +1 -0
  276. package/core/dist/runtime/core-principles/strip-fabricated-ids.d.ts.map +1 -0
  277. package/core/dist/runtime/core-principles/strip-fabricated-ids.js.map +1 -0
  278. package/core/dist/runtime/correction/correction-types.d.ts.map +1 -0
  279. package/core/dist/runtime/correction/correction-types.js.map +1 -0
  280. package/core/dist/runtime/correction/index.d.ts.map +1 -0
  281. package/core/dist/runtime/correction/index.js.map +1 -0
  282. package/core/dist/runtime/detection/detection-funnel-policy.d.ts.map +1 -0
  283. package/core/dist/runtime/detection/detection-funnel-policy.js.map +1 -0
  284. package/core/dist/runtime/detection/index.d.ts.map +1 -0
  285. package/core/dist/runtime/detection/index.js.map +1 -0
  286. package/core/dist/runtime/diagnostician/diag-distiller-output.d.ts.map +1 -0
  287. package/core/dist/runtime/diagnostician/diag-distiller-output.js.map +1 -0
  288. package/core/dist/runtime/diagnostician/diag-rootcause-output.d.ts.map +1 -0
  289. package/core/dist/runtime/diagnostician/diag-rootcause-output.js.map +1 -0
  290. package/core/dist/runtime/diagnostician/distiller-prompt-builder.d.ts.map +1 -0
  291. package/core/dist/runtime/diagnostician/distiller-prompt-builder.js.map +1 -0
  292. package/core/dist/runtime/diagnostician/evidence-ref-binding.d.ts.map +1 -0
  293. package/core/dist/runtime/diagnostician/evidence-ref-binding.js.map +1 -0
  294. package/core/dist/runtime/diagnostician/rootcause-prompt-builder.d.ts.map +1 -0
  295. package/core/dist/runtime/diagnostician/rootcause-prompt-builder.js.map +1 -0
  296. package/core/dist/runtime/diagnostician/router-prompt-builder.d.ts.map +1 -0
  297. package/core/dist/runtime/diagnostician/router-prompt-builder.js.map +1 -0
  298. package/core/dist/runtime/diagnostician-association-shadow.d.ts.map +1 -0
  299. package/core/dist/runtime/diagnostician-association-shadow.js.map +1 -0
  300. package/core/dist/runtime/diagnostician-association-validation.d.ts.map +1 -0
  301. package/core/dist/runtime/diagnostician-association-validation.js.map +1 -0
  302. package/core/dist/runtime/diagnostician-capability.d.ts.map +1 -0
  303. package/core/dist/runtime/diagnostician-capability.js.map +1 -0
  304. package/core/dist/runtime/diagnostician-output.d.ts.map +1 -0
  305. package/core/dist/runtime/diagnostician-output.js.map +1 -0
  306. package/core/dist/runtime/diagnostician-prompt-builder.d.ts.map +1 -0
  307. package/core/dist/runtime/diagnostician-prompt-builder.js.map +1 -0
  308. package/core/dist/runtime/error-categories.d.ts +42 -0
  309. package/core/dist/runtime/error-categories.d.ts.map +1 -0
  310. package/core/dist/runtime/error-categories.js +122 -0
  311. package/core/dist/runtime/error-categories.js.map +1 -0
  312. package/core/dist/runtime/evidence-guards.d.ts.map +1 -0
  313. package/core/dist/runtime/evidence-guards.js.map +1 -0
  314. package/core/dist/runtime/evidence-sanitizer.d.ts.map +1 -0
  315. package/core/dist/runtime/evidence-sanitizer.js.map +1 -0
  316. package/core/dist/runtime/evidence-triage/index.d.ts.map +1 -0
  317. package/core/dist/runtime/evidence-triage/index.js.map +1 -0
  318. package/core/dist/runtime/evidence-triage/observation-resolver.d.ts.map +1 -0
  319. package/core/dist/runtime/evidence-triage/observation-resolver.js.map +1 -0
  320. package/core/dist/runtime/evidence-triage/source-descriptors.d.ts.map +1 -0
  321. package/core/dist/runtime/evidence-triage/source-descriptors.js.map +1 -0
  322. package/core/dist/runtime/evidence-triage/triage-policy.d.ts.map +1 -0
  323. package/core/dist/runtime/evidence-triage/triage-policy.js.map +1 -0
  324. package/core/dist/runtime/evidence-triage/trigger-controller.d.ts.map +1 -0
  325. package/core/dist/runtime/evidence-triage/trigger-controller.js.map +1 -0
  326. package/core/dist/runtime/evidence-triage/types.d.ts.map +1 -0
  327. package/core/dist/runtime/evidence-triage/types.js.map +1 -0
  328. package/core/dist/runtime/evolution/evolution-types.d.ts.map +1 -0
  329. package/core/dist/runtime/evolution/evolution-types.js.map +1 -0
  330. package/core/dist/runtime/feature-flags/feature-flag-contract.d.ts.map +1 -0
  331. package/core/dist/runtime/feature-flags/feature-flag-contract.js.map +1 -0
  332. package/core/dist/runtime/feature-flags/feature-flag-lifecycle.d.ts.map +1 -0
  333. package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js +273 -0
  334. package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js.map +1 -0
  335. package/core/dist/runtime/feature-flags/index.d.ts.map +1 -0
  336. package/core/dist/runtime/feature-flags/index.js.map +1 -0
  337. package/core/dist/runtime/feature-flags/plugin-surface-registry.d.ts.map +1 -0
  338. package/core/dist/runtime/feature-flags/plugin-surface-registry.js.map +1 -0
  339. package/core/dist/runtime/feature-flags/surface-guard-policy.d.ts.map +1 -0
  340. package/core/dist/runtime/feature-flags/surface-guard-policy.js.map +1 -0
  341. package/core/dist/runtime/feedback/create-report.d.ts.map +1 -0
  342. package/core/dist/runtime/feedback/create-report.js.map +1 -0
  343. package/core/dist/runtime/feedback/feedback-types.d.ts.map +1 -0
  344. package/core/dist/runtime/feedback/feedback-types.js.map +1 -0
  345. package/core/dist/runtime/feedback/fingerprint.d.ts.map +1 -0
  346. package/core/dist/runtime/feedback/fingerprint.js.map +1 -0
  347. package/core/dist/runtime/feedback/index.d.ts.map +1 -0
  348. package/core/dist/runtime/feedback/index.js +18 -0
  349. package/core/dist/runtime/feedback/index.js.map +1 -0
  350. package/core/dist/runtime/feedback/internal-guards.d.ts.map +1 -0
  351. package/core/dist/runtime/feedback/internal-guards.js.map +1 -0
  352. package/core/dist/runtime/feedback/pending-agent-draft-store.d.ts.map +1 -0
  353. package/core/dist/runtime/feedback/pending-agent-draft-store.js.map +1 -0
  354. package/core/dist/runtime/feedback/privacy-preview.d.ts.map +1 -0
  355. package/core/dist/runtime/feedback/privacy-preview.js.map +1 -0
  356. package/core/dist/runtime/feedback/redact-sensitive.d.ts.map +1 -0
  357. package/core/dist/runtime/feedback/redact-sensitive.js +318 -0
  358. package/core/dist/runtime/feedback/redact-sensitive.js.map +1 -0
  359. package/core/dist/runtime/feedback/render-github-url.d.ts.map +1 -0
  360. package/core/dist/runtime/feedback/render-github-url.js.map +1 -0
  361. package/core/dist/runtime/feedback/render-markdown.d.ts.map +1 -0
  362. package/core/dist/runtime/feedback/render-markdown.js.map +1 -0
  363. package/core/dist/runtime/feedback/safe-stringify.d.ts.map +1 -0
  364. package/core/dist/runtime/feedback/safe-stringify.js.map +1 -0
  365. package/core/dist/runtime/full-trace-contract.d.ts.map +1 -0
  366. package/core/dist/runtime/full-trace-contract.js +481 -0
  367. package/core/dist/runtime/full-trace-contract.js.map +1 -0
  368. package/core/dist/runtime/golden-trace-replay-validator.d.ts.map +1 -0
  369. package/core/dist/runtime/golden-trace-replay-validator.js.map +1 -0
  370. package/core/dist/runtime/golden-trace.d.ts.map +1 -0
  371. package/core/dist/runtime/golden-trace.js.map +1 -0
  372. package/core/dist/runtime/governance-experience-contract.d.ts.map +1 -0
  373. package/core/dist/runtime/governance-experience-contract.js.map +1 -0
  374. package/core/dist/runtime/governance-experience.d.ts.map +1 -0
  375. package/core/dist/runtime/governance-experience.js.map +1 -0
  376. package/core/dist/runtime/governance-projection-contract.d.ts.map +1 -0
  377. package/core/dist/runtime/governance-projection-contract.js.map +1 -0
  378. package/core/dist/runtime/governance-projection.d.ts.map +1 -0
  379. package/core/dist/runtime/governance-projection.js.map +1 -0
  380. package/core/dist/runtime/governance-timestamp-schema.d.ts.map +1 -0
  381. package/core/dist/runtime/governance-timestamp-schema.js.map +1 -0
  382. package/core/dist/runtime/index.d.ts +446 -0
  383. package/core/dist/runtime/index.d.ts.map +1 -0
  384. package/core/dist/runtime/index.js +409 -0
  385. package/core/dist/runtime/index.js.map +1 -0
  386. package/core/dist/runtime/intent/index.d.ts.map +1 -0
  387. package/core/dist/runtime/intent/index.js.map +1 -0
  388. package/core/dist/runtime/intent/intent-browser.d.ts +23 -0
  389. package/core/dist/runtime/intent/intent-browser.d.ts.map +1 -0
  390. package/core/dist/runtime/intent/intent-browser.js +21 -0
  391. package/core/dist/runtime/intent/intent-browser.js.map +1 -0
  392. package/core/dist/runtime/intent/intent-decision-record.d.ts +125 -0
  393. package/core/dist/runtime/intent/intent-decision-record.d.ts.map +1 -0
  394. package/core/dist/runtime/intent/intent-decision-record.js +21 -0
  395. package/core/dist/runtime/intent/intent-decision-record.js.map +1 -0
  396. package/core/dist/runtime/intent/intent-doc-reader-port.d.ts.map +1 -0
  397. package/core/dist/runtime/intent/intent-doc-reader-port.js.map +1 -0
  398. package/core/dist/runtime/intent/intent-doc-version.d.ts.map +1 -0
  399. package/core/dist/runtime/intent/intent-doc-version.js.map +1 -0
  400. package/core/dist/runtime/intent/intent-doc.d.ts.map +1 -0
  401. package/core/dist/runtime/intent/intent-doc.js.map +1 -0
  402. package/core/dist/runtime/intent/intent-friction-block.d.ts.map +1 -0
  403. package/core/dist/runtime/intent/intent-friction-block.js.map +1 -0
  404. package/core/dist/runtime/intent/intent-hash.d.ts.map +1 -0
  405. package/core/dist/runtime/intent/intent-hash.js.map +1 -0
  406. package/core/dist/runtime/intent/intent-patch-proposal.d.ts.map +1 -0
  407. package/core/dist/runtime/intent/intent-patch-proposal.js.map +1 -0
  408. package/core/dist/runtime/internalization/adversarial-case.d.ts.map +1 -0
  409. package/core/dist/runtime/internalization/adversarial-case.js.map +1 -0
  410. package/core/dist/runtime/internalization/adversarial-feedback.d.ts.map +1 -0
  411. package/core/dist/runtime/internalization/adversarial-feedback.js.map +1 -0
  412. package/core/dist/runtime/internalization/approved-rule-revision.d.ts.map +1 -0
  413. package/core/dist/runtime/internalization/approved-rule-revision.js.map +1 -0
  414. package/core/dist/runtime/internalization/artifact-content-hash.d.ts.map +1 -0
  415. package/core/dist/runtime/internalization/artifact-content-hash.js.map +1 -0
  416. package/core/dist/runtime/internalization/artifact-summary.d.ts.map +1 -0
  417. package/core/dist/runtime/internalization/artifact-summary.js.map +1 -0
  418. package/core/dist/runtime/internalization/artificer-code-bearing.d.ts.map +1 -0
  419. package/core/dist/runtime/internalization/artificer-code-bearing.js.map +1 -0
  420. package/core/dist/runtime/internalization/artificer-intent-preflight.d.ts.map +1 -0
  421. package/core/dist/runtime/internalization/artificer-intent-preflight.js.map +1 -0
  422. package/core/dist/runtime/internalization/artificer-output.d.ts.map +1 -0
  423. package/core/dist/runtime/internalization/artificer-output.js.map +1 -0
  424. package/core/dist/runtime/internalization/artificer-prompt-builder.d.ts.map +1 -0
  425. package/core/dist/runtime/internalization/artificer-prompt-builder.js.map +1 -0
  426. package/core/dist/runtime/internalization/artificer-run-correlation.d.ts.map +1 -0
  427. package/core/dist/runtime/internalization/artificer-run-correlation.js.map +1 -0
  428. package/core/dist/runtime/internalization/artificer-runner.d.ts.map +1 -0
  429. package/core/dist/runtime/internalization/artificer-runner.js.map +1 -0
  430. package/core/dist/runtime/internalization/bash-risk.d.ts.map +1 -0
  431. package/core/dist/runtime/internalization/bash-risk.js +908 -0
  432. package/core/dist/runtime/internalization/bash-risk.js.map +1 -0
  433. package/core/dist/runtime/internalization/behavior-example-pack.d.ts +47 -0
  434. package/core/dist/runtime/internalization/behavior-example-pack.d.ts.map +1 -0
  435. package/core/dist/runtime/internalization/behavior-example-pack.js +214 -0
  436. package/core/dist/runtime/internalization/behavior-example-pack.js.map +1 -0
  437. package/core/dist/runtime/internalization/candidate-identity.d.ts.map +1 -0
  438. package/core/dist/runtime/internalization/candidate-identity.js.map +1 -0
  439. package/core/dist/runtime/internalization/compile-result.d.ts.map +1 -0
  440. package/core/dist/runtime/internalization/compile-result.js.map +1 -0
  441. package/core/dist/runtime/internalization/consumer-evidence-preflight.d.ts.map +1 -0
  442. package/core/dist/runtime/internalization/consumer-evidence-preflight.js.map +1 -0
  443. package/core/dist/runtime/internalization/correction-proposal.d.ts.map +1 -0
  444. package/core/dist/runtime/internalization/correction-proposal.js +352 -0
  445. package/core/dist/runtime/internalization/correction-proposal.js.map +1 -0
  446. package/core/dist/runtime/internalization/deprecated-readiness.d.ts.map +1 -0
  447. package/core/dist/runtime/internalization/deprecated-readiness.js.map +1 -0
  448. package/core/dist/runtime/internalization/design-gate-facts.d.ts.map +1 -0
  449. package/core/dist/runtime/internalization/design-gate-facts.js.map +1 -0
  450. package/core/dist/runtime/internalization/diag-distiller-runner.d.ts.map +1 -0
  451. package/core/dist/runtime/internalization/diag-distiller-runner.js.map +1 -0
  452. package/core/dist/runtime/internalization/diag-rootcause-runner.d.ts.map +1 -0
  453. package/core/dist/runtime/internalization/diag-rootcause-runner.js.map +1 -0
  454. package/core/dist/runtime/internalization/diag-router-runner.d.ts.map +1 -0
  455. package/core/dist/runtime/internalization/diag-router-runner.js.map +1 -0
  456. package/core/dist/runtime/internalization/dreamer-output.d.ts.map +1 -0
  457. package/core/dist/runtime/internalization/dreamer-output.js.map +1 -0
  458. package/core/dist/runtime/internalization/dreamer-prompt-builder.d.ts.map +1 -0
  459. package/core/dist/runtime/internalization/dreamer-prompt-builder.js.map +1 -0
  460. package/core/dist/runtime/internalization/dreamer-runner.d.ts.map +1 -0
  461. package/core/dist/runtime/internalization/dreamer-runner.js.map +1 -0
  462. package/core/dist/runtime/internalization/evaluator-output.d.ts.map +1 -0
  463. package/core/dist/runtime/internalization/evaluator-output.js.map +1 -0
  464. package/core/dist/runtime/internalization/evaluator-prompt-builder.d.ts.map +1 -0
  465. package/core/dist/runtime/internalization/evaluator-prompt-builder.js.map +1 -0
  466. package/core/dist/runtime/internalization/evaluator-runner.d.ts.map +1 -0
  467. package/core/dist/runtime/internalization/evaluator-runner.js.map +1 -0
  468. package/core/dist/runtime/internalization/evidence-readiness.d.ts.map +1 -0
  469. package/core/dist/runtime/internalization/evidence-readiness.js.map +1 -0
  470. package/core/dist/runtime/internalization/formation-context.d.ts.map +1 -0
  471. package/core/dist/runtime/internalization/formation-context.js.map +1 -0
  472. package/core/dist/runtime/internalization/golden-dogfood-fixtures.d.ts.map +1 -0
  473. package/core/dist/runtime/internalization/golden-dogfood-fixtures.js.map +1 -0
  474. package/core/dist/runtime/internalization/index.d.ts.map +1 -0
  475. package/core/dist/runtime/internalization/index.js.map +1 -0
  476. package/core/dist/runtime/internalization/intake-to-internalization-bridge.d.ts.map +1 -0
  477. package/core/dist/runtime/internalization/intake-to-internalization-bridge.js.map +1 -0
  478. package/core/dist/runtime/internalization/intent-contract.d.ts.map +1 -0
  479. package/core/dist/runtime/internalization/intent-contract.js.map +1 -0
  480. package/core/dist/runtime/internalization/internalization-consumer-decision.d.ts.map +1 -0
  481. package/core/dist/runtime/internalization/internalization-consumer-decision.js.map +1 -0
  482. package/core/dist/runtime/internalization/internalization-job-graph.d.ts.map +1 -0
  483. package/core/dist/runtime/internalization/internalization-job-graph.js.map +1 -0
  484. package/core/dist/runtime/internalization/internalization-orchestrator.d.ts.map +1 -0
  485. package/core/dist/runtime/internalization/internalization-orchestrator.js.map +1 -0
  486. package/core/dist/runtime/internalization/internalization-route.d.ts.map +1 -0
  487. package/core/dist/runtime/internalization/internalization-route.js.map +1 -0
  488. package/core/dist/runtime/internalization/internalization-state-machine.d.ts.map +1 -0
  489. package/core/dist/runtime/internalization/internalization-state-machine.js.map +1 -0
  490. package/core/dist/runtime/internalization/internalization-task-guards.d.ts.map +1 -0
  491. package/core/dist/runtime/internalization/internalization-task-guards.js.map +1 -0
  492. package/core/dist/runtime/internalization/internalization-transition-decision.d.ts.map +1 -0
  493. package/core/dist/runtime/internalization/internalization-transition-decision.js.map +1 -0
  494. package/core/dist/runtime/internalization/legacy-rule-contract-scanner.d.ts.map +1 -0
  495. package/core/dist/runtime/internalization/legacy-rule-contract-scanner.js.map +1 -0
  496. package/core/dist/runtime/internalization/lifecycle-datasource.d.ts.map +1 -0
  497. package/core/dist/runtime/internalization/lifecycle-datasource.js.map +1 -0
  498. package/core/dist/runtime/internalization/lifecycle-metrics.d.ts.map +1 -0
  499. package/core/dist/runtime/internalization/lifecycle-metrics.js.map +1 -0
  500. package/core/dist/runtime/internalization/lifecycle-read-model.d.ts.map +1 -0
  501. package/core/dist/runtime/internalization/lifecycle-read-model.js.map +1 -0
  502. package/core/dist/runtime/internalization/lifecycle-types.d.ts.map +1 -0
  503. package/core/dist/runtime/internalization/lifecycle-types.js.map +1 -0
  504. package/core/dist/runtime/internalization/owner-decision-review.d.ts.map +1 -0
  505. package/core/dist/runtime/internalization/owner-decision-review.js.map +1 -0
  506. package/core/dist/runtime/internalization/owner-evidence-recovery.d.ts.map +1 -0
  507. package/core/dist/runtime/internalization/owner-evidence-recovery.js.map +1 -0
  508. package/core/dist/runtime/internalization/owner-resolution-service.d.ts.map +1 -0
  509. package/core/dist/runtime/internalization/owner-resolution-service.js.map +1 -0
  510. package/core/dist/runtime/internalization/owner-retry.d.ts.map +1 -0
  511. package/core/dist/runtime/internalization/owner-retry.js.map +1 -0
  512. package/core/dist/runtime/internalization/owner-review.d.ts.map +1 -0
  513. package/core/dist/runtime/internalization/owner-review.js.map +1 -0
  514. package/core/dist/runtime/internalization/peer-runner-contracts.d.ts.map +1 -0
  515. package/core/dist/runtime/internalization/peer-runner-contracts.js.map +1 -0
  516. package/core/dist/runtime/internalization/philosopher-output.d.ts.map +1 -0
  517. package/core/dist/runtime/internalization/philosopher-output.js.map +1 -0
  518. package/core/dist/runtime/internalization/philosopher-prompt-builder.d.ts.map +1 -0
  519. package/core/dist/runtime/internalization/philosopher-prompt-builder.js.map +1 -0
  520. package/core/dist/runtime/internalization/philosopher-runner.d.ts.map +1 -0
  521. package/core/dist/runtime/internalization/philosopher-runner.js.map +1 -0
  522. package/core/dist/runtime/internalization/pi-artifact-store.d.ts.map +1 -0
  523. package/core/dist/runtime/internalization/pi-artifact-store.js.map +1 -0
  524. package/core/dist/runtime/internalization/pi-artifact.d.ts.map +1 -0
  525. package/core/dist/runtime/internalization/pi-artifact.js.map +1 -0
  526. package/core/dist/runtime/internalization/pitask-metadata.d.ts.map +1 -0
  527. package/core/dist/runtime/internalization/pitask-metadata.js +1030 -0
  528. package/core/dist/runtime/internalization/pitask-metadata.js.map +1 -0
  529. package/core/dist/runtime/internalization/prompt-serializer.d.ts.map +1 -0
  530. package/core/dist/runtime/internalization/prompt-serializer.js.map +1 -0
  531. package/core/dist/runtime/internalization/queue-actionability.d.ts.map +1 -0
  532. package/core/dist/runtime/internalization/queue-actionability.js.map +1 -0
  533. package/core/dist/runtime/internalization/refiner-rulehost-gate.d.ts.map +1 -0
  534. package/core/dist/runtime/internalization/refiner-rulehost-gate.js.map +1 -0
  535. package/core/dist/runtime/internalization/refiner-sandbox-wrapper.d.ts.map +1 -0
  536. package/core/dist/runtime/internalization/refiner-sandbox-wrapper.js.map +1 -0
  537. package/core/dist/runtime/internalization/repair-replay-resolver.d.ts.map +1 -0
  538. package/core/dist/runtime/internalization/repair-replay-resolver.js.map +1 -0
  539. package/core/dist/runtime/internalization/revision-reopen.d.ts.map +1 -0
  540. package/core/dist/runtime/internalization/revision-reopen.js.map +1 -0
  541. package/core/dist/runtime/internalization/rollout-reviewer-output.d.ts.map +1 -0
  542. package/core/dist/runtime/internalization/rollout-reviewer-output.js.map +1 -0
  543. package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -0
  544. package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.js.map +1 -0
  545. package/core/dist/runtime/internalization/rollout-reviewer-runner.d.ts.map +1 -0
  546. package/core/dist/runtime/internalization/rollout-reviewer-runner.js.map +1 -0
  547. package/core/dist/runtime/internalization/router-context-evidence.d.ts.map +1 -0
  548. package/core/dist/runtime/internalization/router-context-evidence.js.map +1 -0
  549. package/core/dist/runtime/internalization/routing-policy.d.ts.map +1 -0
  550. package/core/dist/runtime/internalization/routing-policy.js.map +1 -0
  551. package/core/dist/runtime/internalization/rule-activation-contract.d.ts.map +1 -0
  552. package/core/dist/runtime/internalization/rule-activation-contract.js.map +1 -0
  553. package/core/dist/runtime/internalization/rule-binding-revision.d.ts.map +1 -0
  554. package/core/dist/runtime/internalization/rule-binding-revision.js.map +1 -0
  555. package/core/dist/runtime/internalization/rule-code-validator.d.ts.map +1 -0
  556. package/core/dist/runtime/internalization/rule-code-validator.js.map +1 -0
  557. package/core/dist/runtime/internalization/rule-context-v2.d.ts +64 -0
  558. package/core/dist/runtime/internalization/rule-context-v2.d.ts.map +1 -0
  559. package/core/dist/runtime/internalization/rule-context-v2.js +285 -0
  560. package/core/dist/runtime/internalization/rule-context-v2.js.map +1 -0
  561. package/core/dist/runtime/internalization/rule-host-adapter.d.ts.map +1 -0
  562. package/core/dist/runtime/internalization/rule-host-adapter.js.map +1 -0
  563. package/core/dist/runtime/internalization/rule-host-contracts.d.ts.map +1 -0
  564. package/core/dist/runtime/internalization/rule-host-contracts.js.map +1 -0
  565. package/core/dist/runtime/internalization/rule-host-evaluator.d.ts.map +1 -0
  566. package/core/dist/runtime/internalization/rule-host-evaluator.js.map +1 -0
  567. package/core/dist/runtime/internalization/rule-host-helpers.d.ts.map +1 -0
  568. package/core/dist/runtime/internalization/rule-host-helpers.js.map +1 -0
  569. package/core/dist/runtime/internalization/rule-host-input-builder.d.ts.map +1 -0
  570. package/core/dist/runtime/internalization/rule-host-input-builder.js.map +1 -0
  571. package/core/dist/runtime/internalization/rule-host-validator.d.ts.map +1 -0
  572. package/core/dist/runtime/internalization/rule-host-validator.js.map +1 -0
  573. package/core/dist/runtime/internalization/rule-reliability-validation.d.ts.map +1 -0
  574. package/core/dist/runtime/internalization/rule-reliability-validation.js.map +1 -0
  575. package/core/dist/runtime/internalization/rule-source-correction.d.ts.map +1 -0
  576. package/core/dist/runtime/internalization/rule-source-correction.js.map +1 -0
  577. package/core/dist/runtime/internalization/rulecode-verification-obligations.d.ts.map +1 -0
  578. package/core/dist/runtime/internalization/rulecode-verification-obligations.js.map +1 -0
  579. package/core/dist/runtime/internalization/scribe-output.d.ts.map +1 -0
  580. package/core/dist/runtime/internalization/scribe-output.js.map +1 -0
  581. package/core/dist/runtime/internalization/scribe-prompt-builder.d.ts.map +1 -0
  582. package/core/dist/runtime/internalization/scribe-prompt-builder.js.map +1 -0
  583. package/core/dist/runtime/internalization/scribe-runner.d.ts.map +1 -0
  584. package/core/dist/runtime/internalization/scribe-runner.js.map +1 -0
  585. package/core/dist/runtime/internalization/split-diagnostician-runner.d.ts.map +1 -0
  586. package/core/dist/runtime/internalization/split-diagnostician-runner.js.map +1 -0
  587. package/core/dist/runtime/internalization/template-generator.d.ts.map +1 -0
  588. package/core/dist/runtime/internalization/template-generator.js.map +1 -0
  589. package/core/dist/runtime/internalization/textual-basis-anchor.d.ts.map +1 -0
  590. package/core/dist/runtime/internalization/textual-basis-anchor.js.map +1 -0
  591. package/core/dist/runtime/internalization/tool-semantic-baseline.d.ts.map +1 -0
  592. package/core/dist/runtime/internalization/tool-semantic-baseline.js.map +1 -0
  593. package/core/dist/runtime/internalization/tool-semantic-registry.d.ts.map +1 -0
  594. package/core/dist/runtime/internalization/tool-semantic-registry.js.map +1 -0
  595. package/core/dist/runtime/internalization/v2-adversarial-cases.d.ts.map +1 -0
  596. package/core/dist/runtime/internalization/v2-adversarial-cases.js.map +1 -0
  597. package/core/dist/runtime/internalization-chain-integrity-read-model.d.ts.map +1 -0
  598. package/core/dist/runtime/internalization-chain-integrity-read-model.js.map +1 -0
  599. package/core/dist/runtime/internalization-integrity-remediation.d.ts.map +1 -0
  600. package/core/dist/runtime/internalization-integrity-remediation.js.map +1 -0
  601. package/core/dist/runtime/internalization-queue-read-model.d.ts.map +1 -0
  602. package/core/dist/runtime/internalization-queue-read-model.js.map +1 -0
  603. package/core/dist/runtime/intervention-evidence-normalizer.d.ts.map +1 -0
  604. package/core/dist/runtime/intervention-evidence-normalizer.js.map +1 -0
  605. package/core/dist/runtime/l1-hard-cap.d.ts.map +1 -0
  606. package/core/dist/runtime/l1-hard-cap.js.map +1 -0
  607. package/core/dist/runtime/language-directive.d.ts.map +1 -0
  608. package/core/dist/runtime/language-directive.js.map +1 -0
  609. package/core/dist/runtime/learning-lab/actor-action-output.d.ts.map +1 -0
  610. package/core/dist/runtime/learning-lab/actor-action-output.js.map +1 -0
  611. package/core/dist/runtime/mainline-contract.d.ts.map +1 -0
  612. package/core/dist/runtime/mainline-contract.js.map +1 -0
  613. package/core/dist/runtime/observer/agent-scheduler.d.ts.map +1 -0
  614. package/core/dist/runtime/observer/agent-scheduler.js.map +1 -0
  615. package/core/dist/runtime/observer/correction-observer.d.ts.map +1 -0
  616. package/core/dist/runtime/observer/correction-observer.js.map +1 -0
  617. package/core/dist/runtime/operator-health-read-model.d.ts.map +1 -0
  618. package/core/dist/runtime/operator-health-read-model.js +135 -0
  619. package/core/dist/runtime/operator-health-read-model.js.map +1 -0
  620. package/core/dist/runtime/owner-decision/owner-decision-view-contract.d.ts.map +1 -0
  621. package/core/dist/runtime/owner-decision/owner-decision-view-contract.js.map +1 -0
  622. package/core/dist/runtime/owner-decision/owner-decision-view.d.ts.map +1 -0
  623. package/core/dist/runtime/owner-decision/owner-decision-view.js.map +1 -0
  624. package/core/dist/runtime/owner-decision/semantic-selector.d.ts.map +1 -0
  625. package/core/dist/runtime/owner-decision/semantic-selector.js.map +1 -0
  626. package/core/dist/runtime/owner-identity.d.ts.map +1 -0
  627. package/core/dist/runtime/owner-identity.js.map +1 -0
  628. package/core/dist/runtime/pain-chain-read-model.d.ts.map +1 -0
  629. package/core/dist/runtime/pain-chain-read-model.js +327 -0
  630. package/core/dist/runtime/pain-chain-read-model.js.map +1 -0
  631. package/core/dist/runtime/pain-flood-simulation.d.ts.map +1 -0
  632. package/core/dist/runtime/pain-flood-simulation.js +152 -0
  633. package/core/dist/runtime/pain-flood-simulation.js.map +1 -0
  634. package/core/dist/runtime/pain-ingress-payload.d.ts.map +1 -0
  635. package/core/dist/runtime/pain-ingress-payload.js.map +1 -0
  636. package/core/dist/runtime/pain-ingress.d.ts.map +1 -0
  637. package/core/dist/runtime/pain-ingress.js.map +1 -0
  638. package/core/dist/runtime/pain-recall-capability.d.ts.map +1 -0
  639. package/core/dist/runtime/pain-recall-capability.js.map +1 -0
  640. package/core/dist/runtime/pain-recall-read-model.d.ts.map +1 -0
  641. package/core/dist/runtime/pain-recall-read-model.js.map +1 -0
  642. package/core/dist/runtime/pain-recall-snapshot-hooks.d.ts.map +1 -0
  643. package/core/dist/runtime/pain-recall-snapshot-hooks.js.map +1 -0
  644. package/core/dist/runtime/pain-signal-bridge.d.ts +389 -0
  645. package/core/dist/runtime/pain-signal-bridge.d.ts.map +1 -0
  646. package/core/dist/runtime/pain-signal-bridge.js +1460 -0
  647. package/core/dist/runtime/pain-signal-bridge.js.map +1 -0
  648. package/core/dist/runtime/pain-signal-observability.d.ts +36 -0
  649. package/core/dist/runtime/pain-signal-observability.d.ts.map +1 -0
  650. package/core/dist/runtime/pain-signal-observability.js.map +1 -0
  651. package/core/dist/runtime/pain-signal-runtime-factory.d.ts +254 -0
  652. package/core/dist/runtime/pain-signal-runtime-factory.d.ts.map +1 -0
  653. package/core/dist/runtime/pain-signal-runtime-factory.js +780 -0
  654. package/core/dist/runtime/pain-signal-runtime-factory.js.map +1 -0
  655. package/core/dist/runtime/pain-to-principle-service.d.ts.map +1 -0
  656. package/core/dist/runtime/pain-to-principle-service.js.map +1 -0
  657. package/core/dist/runtime/principle-reuse/reuse-domain.d.ts +89 -0
  658. package/core/dist/runtime/principle-reuse/reuse-domain.d.ts.map +1 -0
  659. package/core/dist/runtime/principle-reuse/reuse-domain.js +16 -0
  660. package/core/dist/runtime/principle-reuse/reuse-domain.js.map +1 -0
  661. package/core/dist/runtime/principle-reuse/reuse-evaluation-output.d.ts.map +1 -0
  662. package/core/dist/runtime/principle-reuse/reuse-evaluation-output.js.map +1 -0
  663. package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.d.ts.map +1 -0
  664. package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.js.map +1 -0
  665. package/core/dist/runtime/principle-reuse/reuse-proposal.d.ts.map +1 -0
  666. package/core/dist/runtime/principle-reuse/reuse-proposal.js.map +1 -0
  667. package/core/dist/runtime/principle-reuse/reuse-retrieval.d.ts.map +1 -0
  668. package/core/dist/runtime/principle-reuse/reuse-retrieval.js.map +1 -0
  669. package/core/dist/runtime/principle-reuse/reuse-shortlist.d.ts.map +1 -0
  670. package/core/dist/runtime/principle-reuse/reuse-shortlist.js.map +1 -0
  671. package/core/dist/runtime/principle-tree/ledger-codec.d.ts.map +1 -0
  672. package/core/dist/runtime/principle-tree/ledger-codec.js.map +1 -0
  673. package/core/dist/runtime/principle-tree/rule-candidate-binding.d.ts.map +1 -0
  674. package/core/dist/runtime/principle-tree/rule-candidate-binding.js.map +1 -0
  675. package/core/dist/runtime/product-telemetry/daily-identity.d.ts.map +1 -0
  676. package/core/dist/runtime/product-telemetry/daily-identity.js.map +1 -0
  677. package/core/dist/runtime/product-telemetry/snapshot-contract.d.ts.map +1 -0
  678. package/core/dist/runtime/product-telemetry/snapshot-contract.js.map +1 -0
  679. package/core/dist/runtime/proven-channel-baseline.d.ts.map +1 -0
  680. package/core/dist/runtime/proven-channel-baseline.js +547 -0
  681. package/core/dist/runtime/proven-channel-baseline.js.map +1 -0
  682. package/core/dist/runtime/pruning-read-model.d.ts.map +1 -0
  683. package/core/dist/runtime/pruning-read-model.js.map +1 -0
  684. package/core/dist/runtime/receipt-coverage.d.ts.map +1 -0
  685. package/core/dist/runtime/receipt-coverage.js.map +1 -0
  686. package/core/dist/runtime/recovery-actions-log.d.ts.map +1 -0
  687. package/core/dist/runtime/recovery-actions-log.js.map +1 -0
  688. package/core/dist/runtime/recovery-sweep-service.d.ts.map +1 -0
  689. package/core/dist/runtime/recovery-sweep-service.js.map +1 -0
  690. package/core/dist/runtime/remediation-contract.d.ts.map +1 -0
  691. package/core/dist/runtime/remediation-contract.js.map +1 -0
  692. package/core/dist/runtime/risk/index.d.ts.map +1 -0
  693. package/core/dist/runtime/risk/index.js.map +1 -0
  694. package/core/dist/runtime/risk/risk-calculator-policy.d.ts.map +1 -0
  695. package/core/dist/runtime/risk/risk-calculator-policy.js.map +1 -0
  696. package/core/dist/runtime/runner/base-peer-runner.d.ts.map +1 -0
  697. package/core/dist/runtime/runner/base-peer-runner.js.map +1 -0
  698. package/core/dist/runtime/runner/default-validator.d.ts.map +1 -0
  699. package/core/dist/runtime/runner/default-validator.js.map +1 -0
  700. package/core/dist/runtime/runner/diagnostician-validator.d.ts.map +1 -0
  701. package/core/dist/runtime/runner/diagnostician-validator.js.map +1 -0
  702. package/core/dist/runtime/runner/peer-runner-types.d.ts.map +1 -0
  703. package/core/dist/runtime/runner/peer-runner-types.js.map +1 -0
  704. package/core/dist/runtime/runner/runner-phase.d.ts.map +1 -0
  705. package/core/dist/runtime/runner/runner-phase.js.map +1 -0
  706. package/core/dist/runtime/runner/runner-result.d.ts.map +1 -0
  707. package/core/dist/runtime/runner/runner-result.js.map +1 -0
  708. package/core/dist/runtime/runtime-protocol.d.ts.map +1 -0
  709. package/core/dist/runtime/runtime-protocol.js.map +1 -0
  710. package/core/dist/runtime/runtime-state-handle.d.ts.map +1 -0
  711. package/core/dist/runtime/runtime-state-handle.js.map +1 -0
  712. package/core/dist/runtime/schema-conformance-read-model.d.ts.map +1 -0
  713. package/core/dist/runtime/schema-conformance-read-model.js.map +1 -0
  714. package/core/dist/runtime/schema-version.d.ts +20 -0
  715. package/core/dist/runtime/schema-version.d.ts.map +1 -0
  716. package/core/dist/runtime/schema-version.js +20 -0
  717. package/core/dist/runtime/schema-version.js.map +1 -0
  718. package/core/dist/runtime/signal-collector/confidence-gate.d.ts.map +1 -0
  719. package/core/dist/runtime/signal-collector/confidence-gate.js.map +1 -0
  720. package/core/dist/runtime/signal-collector/index.d.ts.map +1 -0
  721. package/core/dist/runtime/signal-collector/index.js.map +1 -0
  722. package/core/dist/runtime/signal-collector/keyword-stage.d.ts.map +1 -0
  723. package/core/dist/runtime/signal-collector/keyword-stage.js.map +1 -0
  724. package/core/dist/runtime/signal-collector/llm-stage.d.ts.map +1 -0
  725. package/core/dist/runtime/signal-collector/llm-stage.js.map +1 -0
  726. package/core/dist/runtime/signal-collector/signal-collector.d.ts.map +1 -0
  727. package/core/dist/runtime/signal-collector/signal-collector.js.map +1 -0
  728. package/core/dist/runtime/signal-collector/types.d.ts.map +1 -0
  729. package/core/dist/runtime/signal-collector/types.js.map +1 -0
  730. package/core/dist/runtime/stalled-diagnostician-task-read-model.d.ts.map +1 -0
  731. package/core/dist/runtime/stalled-diagnostician-task-read-model.js.map +1 -0
  732. package/core/dist/runtime/store/artifact/artifact-store.d.ts.map +1 -0
  733. package/core/dist/runtime/store/artifact/artifact-store.js.map +1 -0
  734. package/core/dist/runtime/store/artifact/index.d.ts.map +1 -0
  735. package/core/dist/runtime/store/artifact/index.js.map +1 -0
  736. package/core/dist/runtime/store/artifact/memory-artifact-store.d.ts.map +1 -0
  737. package/core/dist/runtime/store/artifact/memory-artifact-store.js.map +1 -0
  738. package/core/dist/runtime/store/artifact/sqlite-artifact-store.d.ts.map +1 -0
  739. package/core/dist/runtime/store/artifact/sqlite-artifact-store.js.map +1 -0
  740. package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -0
  741. package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.js.map +1 -0
  742. package/core/dist/runtime/store/candidate/admission-document.d.ts.map +1 -0
  743. package/core/dist/runtime/store/candidate/admission-document.js.map +1 -0
  744. package/core/dist/runtime/store/candidate/candidate-store.d.ts.map +1 -0
  745. package/core/dist/runtime/store/candidate/candidate-store.js.map +1 -0
  746. package/core/dist/runtime/store/candidate/index.d.ts.map +1 -0
  747. package/core/dist/runtime/store/candidate/index.js.map +1 -0
  748. package/core/dist/runtime/store/candidate/memory-candidate-store.d.ts.map +1 -0
  749. package/core/dist/runtime/store/candidate/memory-candidate-store.js.map +1 -0
  750. package/core/dist/runtime/store/candidate/recommendation-kind-resolver.d.ts.map +1 -0
  751. package/core/dist/runtime/store/candidate/recommendation-kind-resolver.js.map +1 -0
  752. package/core/dist/runtime/store/candidate/sqlite-candidate-store.d.ts.map +1 -0
  753. package/core/dist/runtime/store/candidate/sqlite-candidate-store.js.map +1 -0
  754. package/core/dist/runtime/store/commit/commit-store.d.ts.map +1 -0
  755. package/core/dist/runtime/store/commit/commit-store.js.map +1 -0
  756. package/core/dist/runtime/store/commit/diagnostician-committer.d.ts.map +1 -0
  757. package/core/dist/runtime/store/commit/diagnostician-committer.js.map +1 -0
  758. package/core/dist/runtime/store/commit/index.d.ts.map +1 -0
  759. package/core/dist/runtime/store/commit/index.js.map +1 -0
  760. package/core/dist/runtime/store/commit/memory-commit-store.d.ts.map +1 -0
  761. package/core/dist/runtime/store/commit/memory-commit-store.js.map +1 -0
  762. package/core/dist/runtime/store/commit/sqlite-commit-store.d.ts.map +1 -0
  763. package/core/dist/runtime/store/commit/sqlite-commit-store.js.map +1 -0
  764. package/core/dist/runtime/store/context/context-assembler.d.ts.map +1 -0
  765. package/core/dist/runtime/store/context/context-assembler.js.map +1 -0
  766. package/core/dist/runtime/store/context/index.d.ts.map +1 -0
  767. package/core/dist/runtime/store/context/index.js.map +1 -0
  768. package/core/dist/runtime/store/context/resilient-context-assembler.d.ts.map +1 -0
  769. package/core/dist/runtime/store/context/resilient-context-assembler.js.map +1 -0
  770. package/core/dist/runtime/store/context/sqlite-context-assembler.d.ts.map +1 -0
  771. package/core/dist/runtime/store/context/sqlite-context-assembler.js.map +1 -0
  772. package/core/dist/runtime/store/context/trajectory-turn-reader.d.ts.map +1 -0
  773. package/core/dist/runtime/store/context/trajectory-turn-reader.js.map +1 -0
  774. package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.d.ts.map +1 -0
  775. package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.js.map +1 -0
  776. package/core/dist/runtime/store/event-emitter.d.ts.map +1 -0
  777. package/core/dist/runtime/store/event-emitter.js.map +1 -0
  778. package/core/dist/runtime/store/history/history-query.d.ts.map +1 -0
  779. package/core/dist/runtime/store/history/history-query.js.map +1 -0
  780. package/core/dist/runtime/store/history/index.d.ts.map +1 -0
  781. package/core/dist/runtime/store/history/index.js.map +1 -0
  782. package/core/dist/runtime/store/history/resilient-history-query.d.ts.map +1 -0
  783. package/core/dist/runtime/store/history/resilient-history-query.js.map +1 -0
  784. package/core/dist/runtime/store/history/sqlite-history-query.d.ts.map +1 -0
  785. package/core/dist/runtime/store/history/sqlite-history-query.js.map +1 -0
  786. package/core/dist/runtime/store/intent/index.d.ts.map +1 -0
  787. package/core/dist/runtime/store/intent/index.js.map +1 -0
  788. package/core/dist/runtime/store/intent/sqlite-intent-decision-store.d.ts.map +1 -0
  789. package/core/dist/runtime/store/intent/sqlite-intent-decision-store.js.map +1 -0
  790. package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.d.ts.map +1 -0
  791. package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.js.map +1 -0
  792. package/core/dist/runtime/store/intervention-evidence-schema.d.ts.map +1 -0
  793. package/core/dist/runtime/store/intervention-evidence-schema.js.map +1 -0
  794. package/core/dist/runtime/store/lifecycle/index.d.ts.map +1 -0
  795. package/core/dist/runtime/store/lifecycle/index.js.map +1 -0
  796. package/core/dist/runtime/store/lifecycle/lease-manager.d.ts.map +1 -0
  797. package/core/dist/runtime/store/lifecycle/lease-manager.js.map +1 -0
  798. package/core/dist/runtime/store/lifecycle/recovery-sweep.d.ts.map +1 -0
  799. package/core/dist/runtime/store/lifecycle/recovery-sweep.js.map +1 -0
  800. package/core/dist/runtime/store/lifecycle/retry-policy.d.ts.map +1 -0
  801. package/core/dist/runtime/store/lifecycle/retry-policy.js.map +1 -0
  802. package/core/dist/runtime/store/pain/index.d.ts.map +1 -0
  803. package/core/dist/runtime/store/pain/index.js.map +1 -0
  804. package/core/dist/runtime/store/pain/sqlite-dead-letter-store.d.ts.map +1 -0
  805. package/core/dist/runtime/store/pain/sqlite-dead-letter-store.js.map +1 -0
  806. package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +1 -0
  807. package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.js.map +1 -0
  808. package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +1 -0
  809. package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +1 -0
  810. package/core/dist/runtime/store/reconciliation-cursor-store.d.ts.map +1 -0
  811. package/core/dist/runtime/store/reconciliation-cursor-store.js.map +1 -0
  812. package/core/dist/runtime/store/run/index.d.ts.map +1 -0
  813. package/core/dist/runtime/store/run/index.js.map +1 -0
  814. package/core/dist/runtime/store/run/memory-run-store.d.ts.map +1 -0
  815. package/core/dist/runtime/store/run/memory-run-store.js.map +1 -0
  816. package/core/dist/runtime/store/run/run-store.d.ts.map +1 -0
  817. package/core/dist/runtime/store/run/run-store.js.map +1 -0
  818. package/core/dist/runtime/store/run/sqlite-run-store.d.ts.map +1 -0
  819. package/core/dist/runtime/store/run/sqlite-run-store.js.map +1 -0
  820. package/core/dist/runtime/store/runtime-state-manager.d.ts.map +1 -0
  821. package/core/dist/runtime/store/runtime-state-manager.js.map +1 -0
  822. package/core/dist/runtime/store/sqlite-connection.d.ts.map +1 -0
  823. package/core/dist/runtime/store/sqlite-connection.js.map +1 -0
  824. package/core/dist/runtime/store/sqlite-intervention-evidence-store.d.ts.map +1 -0
  825. package/core/dist/runtime/store/sqlite-intervention-evidence-store.js.map +1 -0
  826. package/core/dist/runtime/store/task/index.d.ts.map +1 -0
  827. package/core/dist/runtime/store/task/index.js.map +1 -0
  828. package/core/dist/runtime/store/task/memory-task-store.d.ts.map +1 -0
  829. package/core/dist/runtime/store/task/memory-task-store.js.map +1 -0
  830. package/core/dist/runtime/store/task/sqlite-approved-rule-revision.d.ts.map +1 -0
  831. package/core/dist/runtime/store/task/sqlite-approved-rule-revision.js.map +1 -0
  832. package/core/dist/runtime/store/task/sqlite-family-reopen.d.ts.map +1 -0
  833. package/core/dist/runtime/store/task/sqlite-family-reopen.js.map +1 -0
  834. package/core/dist/runtime/store/task/sqlite-task-store.d.ts.map +1 -0
  835. package/core/dist/runtime/store/task/sqlite-task-store.js.map +1 -0
  836. package/core/dist/runtime/store/task/task-store.d.ts.map +1 -0
  837. package/core/dist/runtime/store/task/task-store.js.map +1 -0
  838. package/core/dist/runtime/store/task/task-types.d.ts.map +1 -0
  839. package/core/dist/runtime/store/task/task-types.js.map +1 -0
  840. package/core/dist/runtime/store/trajectory/index.d.ts.map +1 -0
  841. package/core/dist/runtime/store/trajectory/index.js.map +1 -0
  842. package/core/dist/runtime/store/trajectory/source-trace-locator.d.ts.map +1 -0
  843. package/core/dist/runtime/store/trajectory/source-trace-locator.js.map +1 -0
  844. package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -0
  845. package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.js.map +1 -0
  846. package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -0
  847. package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.js.map +1 -0
  848. package/core/dist/runtime/store/trajectory/trajectory-locator.d.ts.map +1 -0
  849. package/core/dist/runtime/store/trajectory/trajectory-locator.js.map +1 -0
  850. package/core/dist/runtime/store/workspace-leak-guard.d.ts.map +1 -0
  851. package/core/dist/runtime/store/workspace-leak-guard.js.map +1 -0
  852. package/core/dist/runtime/story-a-demo.d.ts +77 -0
  853. package/core/dist/runtime/story-a-demo.d.ts.map +1 -0
  854. package/core/dist/runtime/story-a-demo.js.map +1 -0
  855. package/core/dist/runtime/synthetic-baseline.d.ts.map +1 -0
  856. package/core/dist/runtime/synthetic-baseline.js +116 -0
  857. package/core/dist/runtime/synthetic-baseline.js.map +1 -0
  858. package/core/dist/runtime/system-prompt-merge.d.ts.map +1 -0
  859. package/core/dist/runtime/system-prompt-merge.js.map +1 -0
  860. package/core/dist/runtime/task-status.d.ts.map +1 -0
  861. package/core/dist/runtime/task-status.js.map +1 -0
  862. package/core/dist/runtime/tools/agent-tool-contract.d.ts.map +1 -0
  863. package/core/dist/runtime/tools/agent-tool-contract.js.map +1 -0
  864. package/core/dist/runtime/tools/artificer-l2-tool-contract.d.ts.map +1 -0
  865. package/core/dist/runtime/tools/artificer-l2-tool-contract.js.map +1 -0
  866. package/core/dist/runtime/tools/artificer-output-typebox.d.ts.map +1 -0
  867. package/core/dist/runtime/tools/artificer-output-typebox.js.map +1 -0
  868. package/core/dist/runtime/tools/dreamer-output-typebox.d.ts.map +1 -0
  869. package/core/dist/runtime/tools/dreamer-output-typebox.js.map +1 -0
  870. package/core/dist/runtime/trajectory-schema.d.ts.map +1 -0
  871. package/core/dist/runtime/trajectory-schema.js.map +1 -0
  872. package/core/dist/runtime/types/artifact-lineage.d.ts.map +1 -0
  873. package/core/dist/runtime/types/artifact-lineage.js.map +1 -0
  874. package/core/dist/runtime/types/event-payload.d.ts.map +1 -0
  875. package/core/dist/runtime/types/event-payload.js.map +1 -0
  876. package/core/dist/runtime/types/event-types.d.ts +940 -0
  877. package/core/dist/runtime/types/event-types.d.ts.map +1 -0
  878. package/core/dist/runtime/types/event-types.js +520 -0
  879. package/core/dist/runtime/types/event-types.js.map +1 -0
  880. package/core/dist/runtime/types/evidence-chain-contract.d.ts +282 -0
  881. package/core/dist/runtime/types/evidence-chain-contract.d.ts.map +1 -0
  882. package/core/dist/runtime/types/evidence-chain-contract.js +1301 -0
  883. package/core/dist/runtime/types/evidence-chain-contract.js.map +1 -0
  884. package/core/dist/runtime/types/hygiene-types.d.ts.map +1 -0
  885. package/core/dist/runtime/types/hygiene-types.js.map +1 -0
  886. package/core/dist/runtime/types/index.d.ts +32 -0
  887. package/core/dist/runtime/types/index.d.ts.map +1 -0
  888. package/core/dist/runtime/types/index.js +21 -0
  889. package/core/dist/runtime/types/index.js.map +1 -0
  890. package/core/dist/runtime/types/intervention-evidence-contract.d.ts.map +1 -0
  891. package/core/dist/runtime/types/intervention-evidence-contract.js.map +1 -0
  892. package/core/dist/runtime/types/ledger-store.d.ts.map +1 -0
  893. package/core/dist/runtime/types/ledger-store.js.map +1 -0
  894. package/core/dist/runtime/types/pain-signal.d.ts.map +1 -0
  895. package/core/dist/runtime/types/pain-signal.js.map +1 -0
  896. package/core/dist/runtime/types/pd-task-types.d.ts.map +1 -0
  897. package/core/dist/runtime/types/pd-task-types.js.map +1 -0
  898. package/core/dist/runtime/types/principle-dependency.d.ts.map +1 -0
  899. package/core/dist/runtime/types/principle-dependency.js.map +1 -0
  900. package/core/dist/runtime/types/principle-enums.d.ts.map +1 -0
  901. package/core/dist/runtime/types/principle-enums.js.map +1 -0
  902. package/core/dist/runtime/types/principle-lifecycle-event.d.ts.map +1 -0
  903. package/core/dist/runtime/types/principle-lifecycle-event.js.map +1 -0
  904. package/core/dist/runtime/types/principle-schema.d.ts.map +1 -0
  905. package/core/dist/runtime/types/principle-schema.js.map +1 -0
  906. package/core/dist/runtime/types/principle-tree-store.d.ts.map +1 -0
  907. package/core/dist/runtime/types/principle-tree-store.js.map +1 -0
  908. package/core/dist/runtime/types/principle-value-metrics.d.ts.map +1 -0
  909. package/core/dist/runtime/types/principle-value-metrics.js.map +1 -0
  910. package/core/dist/runtime/types/replay-types.d.ts.map +1 -0
  911. package/core/dist/runtime/types/replay-types.js.map +1 -0
  912. package/core/dist/runtime/types/rule-candidate-binding.d.ts.map +1 -0
  913. package/core/dist/runtime/types/rule-candidate-binding.js.map +1 -0
  914. package/core/dist/trajectory-types.d.ts +1 -1
  915. package/core/dist/trajectory-types.d.ts.map +1 -1
  916. package/core/dist/workflow-funnel-loader.d.ts +1 -1
  917. package/core/dist/workflow-funnel-loader.d.ts.map +1 -1
  918. package/core/package.json +55 -55
  919. package/dist/installer.js +1 -1
  920. package/dist/installer.js.map +1 -1
  921. package/dist/installers/workbuddy-host-installer.js +1 -1
  922. package/dist/utils/config-file-io.d.ts +1 -1
  923. package/dist/utils/config-file-io.d.ts.map +1 -1
  924. package/dist/utils/config-file-io.js +1 -1
  925. package/dist/utils/config-file-io.js.map +1 -1
  926. package/dist/utils/env.js +1 -1
  927. package/dist/utils/env.js.map +1 -1
  928. package/host-runtime/dist/active-principle-prompt.d.ts +1 -1
  929. package/host-runtime/dist/active-principle-prompt.js +1 -1
  930. package/host-runtime/dist/adaptive-journal-reconciliation.js +1 -1
  931. package/host-runtime/dist/adaptive-principle-revalidation.d.ts +1 -1
  932. package/host-runtime/dist/behavior-example-pack-assembler.d.ts +2 -2
  933. package/host-runtime/dist/behavior-example-pack-assembler.js +6 -6
  934. package/host-runtime/dist/behavior-history.d.ts +1 -1
  935. package/host-runtime/dist/behavior-history.js +1 -1
  936. package/host-runtime/dist/cli-recovery-probe.d.ts +1 -1
  937. package/host-runtime/dist/codex-artificer-trusted-facts.d.ts +1 -1
  938. package/host-runtime/dist/codex-rule-context-provider.d.ts +1 -1
  939. package/host-runtime/dist/codex-rule-context-provider.js +1 -1
  940. package/host-runtime/dist/codex-worker-status.js +1 -1
  941. package/host-runtime/dist/design-gate-facts.d.ts +1 -1
  942. package/host-runtime/dist/design-gate-facts.js +1 -1
  943. package/host-runtime/dist/evaluator-runtime-context.d.ts +1 -1
  944. package/host-runtime/dist/evaluator-runtime-context.js +1 -1
  945. package/host-runtime/dist/governance-observation-store.js +1 -1
  946. package/host-runtime/dist/governance-signal-admission.d.ts +2 -2
  947. package/host-runtime/dist/governance-signal-admission.js +3 -3
  948. package/host-runtime/dist/host-liveness-contract.d.ts +1 -1
  949. package/host-runtime/dist/host-tool-declaration.d.ts +1 -1
  950. package/host-runtime/dist/host-tool-declaration.js +1 -1
  951. package/host-runtime/dist/host-tool-semantic-resolver.d.ts +1 -1
  952. package/host-runtime/dist/host-tool-semantic-resolver.js +1 -1
  953. package/host-runtime/dist/index.d.ts +1 -1
  954. package/host-runtime/dist/index.js +2 -2
  955. package/host-runtime/dist/internalization-consumer-cycle.d.ts +2 -2
  956. package/host-runtime/dist/internalization-consumer-cycle.js +2 -2
  957. package/host-runtime/dist/internalization-consumer-governance.d.ts +1 -1
  958. package/host-runtime/dist/internalization-consumer-governance.js +1 -1
  959. package/host-runtime/dist/intervention-evidence-ingress.d.ts +1 -1
  960. package/host-runtime/dist/intervention-evidence-ingress.js +1 -1
  961. package/host-runtime/dist/pd-config.d.ts +1 -1
  962. package/host-runtime/dist/pd-config.js +1 -1
  963. package/host-runtime/dist/product-telemetry/consent-store.js +1 -1
  964. package/host-runtime/dist/product-telemetry/exporter.d.ts +1 -1
  965. package/host-runtime/dist/product-telemetry/milestone-readers.d.ts +1 -1
  966. package/host-runtime/dist/product-telemetry/service.d.ts +1 -1
  967. package/host-runtime/dist/product-telemetry/service.js +1 -1
  968. package/host-runtime/dist/product-telemetry/workspace-scope.js +1 -1
  969. package/host-runtime/dist/production-pain-evidence.d.ts +1 -1
  970. package/host-runtime/dist/production-pain-evidence.js +3 -3
  971. package/host-runtime/dist/production-rulehost-gate.d.ts +1 -1
  972. package/host-runtime/dist/production-rulehost-gate.js +3 -3
  973. package/host-runtime/dist/prompt-activation-authority.d.ts +1 -1
  974. package/host-runtime/dist/prompt-activation-deliverability.d.ts +1 -1
  975. package/host-runtime/dist/prompt-activation-deliverability.js +1 -1
  976. package/host-runtime/dist/prompt-injection-budget-observation.d.ts +16 -5
  977. package/host-runtime/dist/prompt-injection-budget-observation.js +23 -9
  978. package/host-runtime/dist/prompt-injection-projection.d.ts +1 -1
  979. package/host-runtime/dist/prompt-injection-projection.js +1 -1
  980. package/host-runtime/dist/prompt-injection-status.d.ts +1 -1
  981. package/host-runtime/dist/prompt-injection-status.js +1 -1
  982. package/host-runtime/dist/signal-classifier.d.ts +2 -2
  983. package/host-runtime/dist/signal-classifier.js +3 -3
  984. package/host-runtime/dist/workbuddy-rule-context-provider.d.ts +1 -1
  985. package/host-runtime/dist/workbuddy-rule-context-provider.js +1 -1
  986. package/host-runtime/dist/workbuddy-worker-status.js +1 -1
  987. package/host-runtime/dist/workspace-behavior-evidence.d.ts +1 -1
  988. package/host-runtime/dist/workspace-behavior-evidence.js +2 -2
  989. package/host-runtime/dist/workspace-telemetry-emitter.d.ts +1 -1
  990. package/host-runtime/dist/workspace-telemetry-emitter.js +1 -1
  991. package/host-runtime/package.json +1 -1
  992. package/package.json +3 -3
  993. package/pd-cli/dist/commands/admission-gate.d.ts +1 -1
  994. package/pd-cli/dist/commands/admission-gate.d.ts.map +1 -1
  995. package/pd-cli/dist/commands/admission-gate.js +1 -1
  996. package/pd-cli/dist/commands/admission-gate.js.map +1 -1
  997. package/pd-cli/dist/commands/artifact.js +1 -1
  998. package/pd-cli/dist/commands/artifact.js.map +1 -1
  999. package/pd-cli/dist/commands/build-trajectory-evidence.d.ts +1 -1
  1000. package/pd-cli/dist/commands/build-trajectory-evidence.d.ts.map +1 -1
  1001. package/pd-cli/dist/commands/build-trajectory-evidence.js +1 -1
  1002. package/pd-cli/dist/commands/build-trajectory-evidence.js.map +1 -1
  1003. package/pd-cli/dist/commands/candidate.d.ts +1 -1
  1004. package/pd-cli/dist/commands/candidate.d.ts.map +1 -1
  1005. package/pd-cli/dist/commands/candidate.js +1 -1
  1006. package/pd-cli/dist/commands/candidate.js.map +1 -1
  1007. package/pd-cli/dist/commands/codex-reconcile.js +2 -2
  1008. package/pd-cli/dist/commands/codex-reconcile.js.map +1 -1
  1009. package/pd-cli/dist/commands/codex-setup.js +1 -1
  1010. package/pd-cli/dist/commands/codex-setup.js.map +1 -1
  1011. package/pd-cli/dist/commands/console.d.ts +1 -1
  1012. package/pd-cli/dist/commands/console.js +5 -5
  1013. package/pd-cli/dist/commands/console.js.map +1 -1
  1014. package/pd-cli/dist/commands/demo-story-a.d.ts.map +1 -1
  1015. package/pd-cli/dist/commands/demo-story-a.js +18 -8
  1016. package/pd-cli/dist/commands/demo-story-a.js.map +1 -1
  1017. package/pd-cli/dist/commands/diagnose.js +2 -2
  1018. package/pd-cli/dist/commands/diagnose.js.map +1 -1
  1019. package/pd-cli/dist/commands/health-codex.js +2 -2
  1020. package/pd-cli/dist/commands/health-codex.js.map +1 -1
  1021. package/pd-cli/dist/commands/health.d.ts +3 -3
  1022. package/pd-cli/dist/commands/health.js +4 -4
  1023. package/pd-cli/dist/commands/health.js.map +1 -1
  1024. package/pd-cli/dist/commands/intent.d.ts +1 -1
  1025. package/pd-cli/dist/commands/intent.d.ts.map +1 -1
  1026. package/pd-cli/dist/commands/intent.js +116 -23
  1027. package/pd-cli/dist/commands/intent.js.map +1 -1
  1028. package/pd-cli/dist/commands/legacy-cleanup.js +1 -1
  1029. package/pd-cli/dist/commands/legacy-cleanup.js.map +1 -1
  1030. package/pd-cli/dist/commands/legacy-import.js +2 -2
  1031. package/pd-cli/dist/commands/pain-recall.js +1 -1
  1032. package/pd-cli/dist/commands/pain-recall.js.map +1 -1
  1033. package/pd-cli/dist/commands/pain-record.js +1 -1
  1034. package/pd-cli/dist/commands/pain-record.js.map +1 -1
  1035. package/pd-cli/dist/commands/pain-retry.js +1 -1
  1036. package/pd-cli/dist/commands/pain-retry.js.map +1 -1
  1037. package/pd-cli/dist/commands/principles-stats.js +1 -1
  1038. package/pd-cli/dist/commands/principles-stats.js.map +1 -1
  1039. package/pd-cli/dist/commands/proven-channel-baseline.js +1 -1
  1040. package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -1
  1041. package/pd-cli/dist/commands/recovery-reachability-probe.d.ts +1 -1
  1042. package/pd-cli/dist/commands/recovery-reachability-probe.d.ts.map +1 -1
  1043. package/pd-cli/dist/commands/rulecode.d.ts +1 -1
  1044. package/pd-cli/dist/commands/rulecode.d.ts.map +1 -1
  1045. package/pd-cli/dist/commands/rulecode.js +1 -1
  1046. package/pd-cli/dist/commands/rulecode.js.map +1 -1
  1047. package/pd-cli/dist/commands/runtime-activation.d.ts +3 -3
  1048. package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -1
  1049. package/pd-cli/dist/commands/runtime-activation.js +6 -6
  1050. package/pd-cli/dist/commands/runtime-activation.js.map +1 -1
  1051. package/pd-cli/dist/commands/runtime-artifact-repair.js +1 -1
  1052. package/pd-cli/dist/commands/runtime-artifact-repair.js.map +1 -1
  1053. package/pd-cli/dist/commands/runtime-canary.js +1 -1
  1054. package/pd-cli/dist/commands/runtime-canary.js.map +1 -1
  1055. package/pd-cli/dist/commands/runtime-compatibility-scan.js +1 -1
  1056. package/pd-cli/dist/commands/runtime-compatibility-scan.js.map +1 -1
  1057. package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts.map +1 -1
  1058. package/pd-cli/dist/commands/runtime-diagnostics-export.js +8 -3
  1059. package/pd-cli/dist/commands/runtime-diagnostics-export.js.map +1 -1
  1060. package/pd-cli/dist/commands/runtime-health-snapshot.js +2 -2
  1061. package/pd-cli/dist/commands/runtime-health-snapshot.js.map +1 -1
  1062. package/pd-cli/dist/commands/runtime-init.js +3 -3
  1063. package/pd-cli/dist/commands/runtime-init.js.map +1 -1
  1064. package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js +1 -1
  1065. package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js.map +1 -1
  1066. package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +1 -1
  1067. package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -1
  1068. package/pd-cli/dist/commands/runtime-internalization-evidence.js +1 -1
  1069. package/pd-cli/dist/commands/runtime-internalization-evidence.js.map +1 -1
  1070. package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js +1 -1
  1071. package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js.map +1 -1
  1072. package/pd-cli/dist/commands/runtime-internalization-integrity.js +1 -1
  1073. package/pd-cli/dist/commands/runtime-internalization-integrity.js.map +1 -1
  1074. package/pd-cli/dist/commands/runtime-internalization-queue.js +1 -1
  1075. package/pd-cli/dist/commands/runtime-internalization-queue.js.map +1 -1
  1076. package/pd-cli/dist/commands/runtime-internalization-retry.js +1 -1
  1077. package/pd-cli/dist/commands/runtime-internalization-retry.js.map +1 -1
  1078. package/pd-cli/dist/commands/runtime-internalization-run-once.js +2 -2
  1079. package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -1
  1080. package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js +3 -3
  1081. package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js.map +1 -1
  1082. package/pd-cli/dist/commands/runtime-internalization-wake-once.js +2 -2
  1083. package/pd-cli/dist/commands/runtime-internalization-wake-once.js.map +1 -1
  1084. package/pd-cli/dist/commands/runtime-pruning.js +1 -1
  1085. package/pd-cli/dist/commands/runtime-pruning.js.map +1 -1
  1086. package/pd-cli/dist/commands/runtime-recovery-failed-task.js +1 -1
  1087. package/pd-cli/dist/commands/runtime-recovery-failed-task.js.map +1 -1
  1088. package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js +1 -1
  1089. package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js.map +1 -1
  1090. package/pd-cli/dist/commands/runtime-recovery.js +1 -1
  1091. package/pd-cli/dist/commands/runtime-recovery.js.map +1 -1
  1092. package/pd-cli/dist/commands/runtime-uat.js +1 -1
  1093. package/pd-cli/dist/commands/runtime.js +1 -1
  1094. package/pd-cli/dist/commands/runtime.js.map +1 -1
  1095. package/pd-cli/dist/commands/trace.js +1 -1
  1096. package/pd-cli/dist/commands/trace.js.map +1 -1
  1097. package/pd-cli/dist/commands/workbuddy-worker.js +1 -1
  1098. package/pd-cli/dist/commands/workbuddy-worker.js.map +1 -1
  1099. package/pd-cli/dist/config-reader.d.ts +1 -1
  1100. package/pd-cli/dist/config-reader.d.ts.map +1 -1
  1101. package/pd-cli/dist/config-reader.js +1 -1
  1102. package/pd-cli/dist/config-reader.js.map +1 -1
  1103. package/pd-cli/dist/legacy/session-history-import.d.ts +2 -2
  1104. package/pd-cli/dist/legacy/session-history-import.js +2 -2
  1105. package/pd-cli/dist/services/admission-write-gate.d.ts +1 -1
  1106. package/pd-cli/dist/services/admission-write-gate.d.ts.map +1 -1
  1107. package/pd-cli/dist/services/admission-write-gate.js +1 -1
  1108. package/pd-cli/dist/services/admission-write-gate.js.map +1 -1
  1109. package/pd-cli/dist/services/config-doctor.js +1 -1
  1110. package/pd-cli/dist/services/config-doctor.js.map +1 -1
  1111. package/pd-cli/dist/services/demo-rule-compiler.d.ts +1 -1
  1112. package/pd-cli/dist/services/demo-rule-compiler.d.ts.map +1 -1
  1113. package/pd-cli/dist/services/demo-rule-compiler.js +1 -1
  1114. package/pd-cli/dist/services/demo-rule-compiler.js.map +1 -1
  1115. package/pd-cli/dist/services/demo-story-a-runner.d.ts +1 -1
  1116. package/pd-cli/dist/services/demo-story-a-runner.d.ts.map +1 -1
  1117. package/pd-cli/dist/services/demo-story-a-runner.js +3 -3
  1118. package/pd-cli/dist/services/demo-story-a-runner.js.map +1 -1
  1119. package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts +3 -3
  1120. package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts.map +1 -1
  1121. package/pd-cli/dist/services/mainline-snapshot-assembler.js +3 -3
  1122. package/pd-cli/dist/services/mainline-snapshot-assembler.js.map +1 -1
  1123. package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts +1 -1
  1124. package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -1
  1125. package/pd-cli/dist/services/pain-flood-simulation-runner.js +12 -12
  1126. package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -1
  1127. package/pd-cli/dist/services/pd-config-loader.d.ts +1 -1
  1128. package/pd-cli/dist/services/pd-config-loader.d.ts.map +1 -1
  1129. package/pd-cli/dist/services/pd-config-loader.js +1 -1
  1130. package/pd-cli/dist/services/pd-config-loader.js.map +1 -1
  1131. package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts +1 -1
  1132. package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts.map +1 -1
  1133. package/pd-cli/dist/services/proven-channel-baseline-runner.js +1 -1
  1134. package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -1
  1135. package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts +2 -2
  1136. package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts.map +1 -1
  1137. package/pd-cli/dist/services/resolve-runtime-from-pd-config.js +1 -1
  1138. package/pd-cli/dist/services/resolve-runtime-from-pd-config.js.map +1 -1
  1139. package/pd-cli/dist/services/reuse-gated-intake.d.ts +2 -2
  1140. package/pd-cli/dist/services/reuse-gated-intake.d.ts.map +1 -1
  1141. package/pd-cli/dist/services/reuse-gated-intake.js +1 -1
  1142. package/pd-cli/dist/services/reuse-gated-intake.js.map +1 -1
  1143. package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts +3 -3
  1144. package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts.map +1 -1
  1145. package/pd-cli/dist/services/rulehost-pipeline-runner.js +2 -2
  1146. package/pd-cli/dist/services/rulehost-pipeline-runner.js.map +1 -1
  1147. package/pd-cli/dist/services/rulehost-readiness.js +1 -1
  1148. package/pd-cli/dist/services/rulehost-readiness.js.map +1 -1
  1149. package/pd-cli/dist/services/runtime-adapter-resolver.d.ts +2 -2
  1150. package/pd-cli/dist/services/runtime-adapter-resolver.d.ts.map +1 -1
  1151. package/pd-cli/dist/services/runtime-adapter-resolver.js +1 -1
  1152. package/pd-cli/dist/services/runtime-adapter-resolver.js.map +1 -1
  1153. package/pd-cli/dist/services/synthetic-baseline-runner.d.ts +1 -1
  1154. package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -1
  1155. package/pd-cli/dist/services/synthetic-baseline-runner.js +15 -15
  1156. package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -1
  1157. package/pd-cli/dist/services/workspace-telemetry.js +1 -1
  1158. package/pd-cli/dist/services/workspace-telemetry.js.map +1 -1
  1159. package/pd-cli/dist/services/workspace-tool-semantics.d.ts +1 -1
  1160. package/pd-cli/dist/services/workspace-tool-semantics.d.ts.map +1 -1
  1161. package/pd-mcp-server/dist/envelope.d.ts +1 -1
  1162. package/pd-mcp-server/dist/envelope.js +1 -1
  1163. package/pd-mcp-server/dist/server.d.ts +2 -2
  1164. package/pd-mcp-server/dist/server.js +2 -2
  1165. package/pd-mcp-server/dist/version.d.ts +1 -1
  1166. package/pd-mcp-server/dist/version.js +1 -1
  1167. package/pd-mcp-server/package.json +1 -1
  1168. package/plugin/dist/bundle.js +399 -399
  1169. package/plugin/dist/commands/promote-impl.d.ts +1 -1
  1170. package/plugin/dist/constants/tool-semantics.d.ts +1 -1
  1171. package/plugin/dist/core/correction-types.d.ts +2 -2
  1172. package/plugin/dist/core/event-log.d.ts +3 -3
  1173. package/plugin/dist/core/evolution-types.d.ts +5 -5
  1174. package/plugin/dist/core/intent-doc-reader-adapter.d.ts +1 -1
  1175. package/plugin/dist/core/intent-doc-reader.d.ts +1 -1
  1176. package/plugin/dist/core/pd-task-types.d.ts +2 -2
  1177. package/plugin/dist/core/principle-compiler/code-validator.d.ts +2 -2
  1178. package/plugin/dist/core/principle-compiler/compiler.d.ts +2 -2
  1179. package/plugin/dist/core/principle-compiler/template-generator.d.ts +1 -1
  1180. package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.d.ts +2 -2
  1181. package/plugin/dist/core/principle-internalization/lifecycle-read-model.d.ts +5 -5
  1182. package/plugin/dist/core/principle-internalization/principle-lifecycle-service.d.ts +3 -3
  1183. package/plugin/dist/core/principle-tree-ledger.d.ts +1 -1
  1184. package/plugin/dist/core/replay-engine.d.ts +1 -1
  1185. package/plugin/dist/core/rule-context-assembler.d.ts +1 -1
  1186. package/plugin/dist/core/rule-host.d.ts +3 -3
  1187. package/plugin/dist/core/runtime-prompt-activation-reader.d.ts +30 -0
  1188. package/plugin/dist/core/signal-collector-host.d.ts +1 -1
  1189. package/plugin/dist/core/workspace-context.d.ts +1 -1
  1190. package/plugin/dist/governance-audit.d.ts +2 -2
  1191. package/plugin/dist/governance-audit.js +1 -1
  1192. package/plugin/dist/hooks/gate.d.ts +1 -1
  1193. package/plugin/dist/hooks/message-sanitize.d.ts +1 -1
  1194. package/plugin/dist/hooks/pain-ingress-adapter.d.ts +1 -1
  1195. package/plugin/dist/hooks/raw-observation-adapter.d.ts +2 -2
  1196. package/plugin/dist/hooks/raw-observation-types.d.ts +2 -2
  1197. package/plugin/dist/hooks/trajectory-evidence.d.ts +1 -1
  1198. package/plugin/dist/hooks/triage-adapter.d.ts +1 -1
  1199. package/plugin/dist/index.d.ts +1 -1
  1200. package/plugin/dist/openclaw.plugin.json +1 -1
  1201. package/plugin/dist/service/correction-observer-service.d.ts +1 -1
  1202. package/plugin/dist/service/keyword-optimization-service.d.ts +2 -2
  1203. package/plugin/dist/types/event-types.d.ts +2 -2
  1204. package/plugin/dist/types/hygiene-types.d.ts +2 -2
  1205. package/plugin/dist/types/principle-tree-schema.d.ts +2 -2
  1206. package/plugin/dist/utils/workspace-resolver.d.ts +1 -1
  1207. package/plugin/openclaw.plugin.json +1 -1
  1208. package/plugin/package.json +1 -1
  1209. package/release-manager/dist/installer.js +1 -1
  1210. package/release-manager/dist/installers/workbuddy-host-installer.js +1 -1
  1211. package/release-manager/dist/utils/config-file-io.js +1 -1
  1212. package/release-manager/dist/utils/env.js +1 -1
  1213. package/release-manager/package.json +1 -1
  1214. package/workbuddy-adapter/dist/pd-hook.js +3 -3
  1215. package/workbuddy-adapter/dist/tool-semantics.d.ts +1 -1
  1216. package/workbuddy-adapter/dist/tool-semantics.js +1 -1
  1217. package/workbuddy-adapter/dist/workbuddy-evidence-recorder.d.ts +1 -1
  1218. package/workbuddy-adapter/dist/worker/workspace-worker.js +2 -2
  1219. package/workbuddy-adapter/package.json +1 -1
  1220. package/core/dist/runtime-v2/activation/activation-control-types.d.ts.map +0 -1
  1221. package/core/dist/runtime-v2/activation/activation-control-types.js.map +0 -1
  1222. package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +0 -1
  1223. package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +0 -1
  1224. package/core/dist/runtime-v2/activation/activation-types.d.ts.map +0 -1
  1225. package/core/dist/runtime-v2/activation/activation-types.js.map +0 -1
  1226. package/core/dist/runtime-v2/activation/adaptive-delivery-record.d.ts.map +0 -1
  1227. package/core/dist/runtime-v2/activation/adaptive-delivery-record.js.map +0 -1
  1228. package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts +0 -83
  1229. package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts.map +0 -1
  1230. package/core/dist/runtime-v2/activation/adaptive-principle-intervention.js.map +0 -1
  1231. package/core/dist/runtime-v2/activation/approval-completion-service.d.ts.map +0 -1
  1232. package/core/dist/runtime-v2/activation/approval-completion-service.js.map +0 -1
  1233. package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +0 -1
  1234. package/core/dist/runtime-v2/activation/approval-queue.js.map +0 -1
  1235. package/core/dist/runtime-v2/activation/approval-review-guard.d.ts.map +0 -1
  1236. package/core/dist/runtime-v2/activation/approval-review-guard.js.map +0 -1
  1237. package/core/dist/runtime-v2/activation/index.d.ts +0 -48
  1238. package/core/dist/runtime-v2/activation/index.d.ts.map +0 -1
  1239. package/core/dist/runtime-v2/activation/index.js +0 -38
  1240. package/core/dist/runtime-v2/activation/index.js.map +0 -1
  1241. package/core/dist/runtime-v2/activation/ledger-identity.d.ts.map +0 -1
  1242. package/core/dist/runtime-v2/activation/ledger-identity.js.map +0 -1
  1243. package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +0 -1
  1244. package/core/dist/runtime-v2/activation/low-risk-writers.js.map +0 -1
  1245. package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +0 -1
  1246. package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +0 -1
  1247. package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +0 -1
  1248. package/core/dist/runtime-v2/activation/memory-approval-store.js.map +0 -1
  1249. package/core/dist/runtime-v2/activation/openclaw-promotion-checks.d.ts.map +0 -1
  1250. package/core/dist/runtime-v2/activation/openclaw-promotion-checks.js.map +0 -1
  1251. package/core/dist/runtime-v2/activation/production-gate-deps.d.ts.map +0 -1
  1252. package/core/dist/runtime-v2/activation/production-gate-deps.js.map +0 -1
  1253. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.d.ts.map +0 -1
  1254. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.js.map +0 -1
  1255. package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.d.ts.map +0 -1
  1256. package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.js.map +0 -1
  1257. package/core/dist/runtime-v2/activation/promotion-readiness-reader.d.ts.map +0 -1
  1258. package/core/dist/runtime-v2/activation/promotion-readiness-reader.js.map +0 -1
  1259. package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts +0 -118
  1260. package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts.map +0 -1
  1261. package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js +0 -209
  1262. package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +0 -1
  1263. package/core/dist/runtime-v2/activation/prompt-budget-policy.d.ts.map +0 -1
  1264. package/core/dist/runtime-v2/activation/prompt-budget-policy.js +0 -326
  1265. package/core/dist/runtime-v2/activation/prompt-budget-policy.js.map +0 -1
  1266. package/core/dist/runtime-v2/activation/prompt-replacement.d.ts.map +0 -1
  1267. package/core/dist/runtime-v2/activation/prompt-replacement.js.map +0 -1
  1268. package/core/dist/runtime-v2/activation/recovery-composition.d.ts.map +0 -1
  1269. package/core/dist/runtime-v2/activation/recovery-composition.js.map +0 -1
  1270. package/core/dist/runtime-v2/activation/recovery-control-surfaces.d.ts.map +0 -1
  1271. package/core/dist/runtime-v2/activation/recovery-control-surfaces.js.map +0 -1
  1272. package/core/dist/runtime-v2/activation/rule-replacement.d.ts.map +0 -1
  1273. package/core/dist/runtime-v2/activation/rule-replacement.js.map +0 -1
  1274. package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.d.ts.map +0 -1
  1275. package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.js.map +0 -1
  1276. package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.d.ts.map +0 -1
  1277. package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.js.map +0 -1
  1278. package/core/dist/runtime-v2/activation/rulecode-shadow-summary.d.ts.map +0 -1
  1279. package/core/dist/runtime-v2/activation/rulecode-shadow-summary.js.map +0 -1
  1280. package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.d.ts.map +0 -1
  1281. package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.js.map +0 -1
  1282. package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +0 -1
  1283. package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +0 -1
  1284. package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +0 -1
  1285. package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +0 -1
  1286. package/core/dist/runtime-v2/activation/writers/index.d.ts.map +0 -1
  1287. package/core/dist/runtime-v2/activation/writers/index.js.map +0 -1
  1288. package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +0 -1
  1289. package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +0 -1
  1290. package/core/dist/runtime-v2/activation-compatibility-read-model.d.ts.map +0 -1
  1291. package/core/dist/runtime-v2/activation-compatibility-read-model.js.map +0 -1
  1292. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +0 -1
  1293. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +0 -1
  1294. package/core/dist/runtime-v2/adapter/index.d.ts.map +0 -1
  1295. package/core/dist/runtime-v2/adapter/index.js.map +0 -1
  1296. package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +0 -1
  1297. package/core/dist/runtime-v2/adapter/json-extractor.js.map +0 -1
  1298. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +0 -1
  1299. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +0 -1
  1300. package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +0 -1
  1301. package/core/dist/runtime-v2/adapter/output-repair-contract.js +0 -99
  1302. package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +0 -1
  1303. package/core/dist/runtime-v2/adapter/output-schema-registry.d.ts.map +0 -1
  1304. package/core/dist/runtime-v2/adapter/output-schema-registry.js.map +0 -1
  1305. package/core/dist/runtime-v2/adapter/pi-ai-catalog.d.ts.map +0 -1
  1306. package/core/dist/runtime-v2/adapter/pi-ai-catalog.js.map +0 -1
  1307. package/core/dist/runtime-v2/adapter/pi-ai-http-transport.d.ts.map +0 -1
  1308. package/core/dist/runtime-v2/adapter/pi-ai-http-transport.js.map +0 -1
  1309. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +0 -1
  1310. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +0 -1489
  1311. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +0 -1
  1312. package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +0 -98
  1313. package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +0 -1
  1314. package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +0 -243
  1315. package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +0 -1
  1316. package/core/dist/runtime-v2/adapter/schema-json-converter.d.ts.map +0 -1
  1317. package/core/dist/runtime-v2/adapter/schema-json-converter.js.map +0 -1
  1318. package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +0 -1
  1319. package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js.map +0 -1
  1320. package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.d.ts.map +0 -1
  1321. package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.js.map +0 -1
  1322. package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +0 -1
  1323. package/core/dist/runtime-v2/adapter/structured-output-repair.js +0 -298
  1324. package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +0 -1
  1325. package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +0 -1
  1326. package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +0 -1
  1327. package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +0 -1
  1328. package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js.map +0 -1
  1329. package/core/dist/runtime-v2/admission-gate.d.ts.map +0 -1
  1330. package/core/dist/runtime-v2/admission-gate.js.map +0 -1
  1331. package/core/dist/runtime-v2/adversarial-loop.d.ts.map +0 -1
  1332. package/core/dist/runtime-v2/adversarial-loop.js.map +0 -1
  1333. package/core/dist/runtime-v2/agent-spec.d.ts.map +0 -1
  1334. package/core/dist/runtime-v2/agent-spec.js.map +0 -1
  1335. package/core/dist/runtime-v2/bridge-result-shaper.d.ts.map +0 -1
  1336. package/core/dist/runtime-v2/bridge-result-shaper.js.map +0 -1
  1337. package/core/dist/runtime-v2/build-l2-principle-reader.d.ts.map +0 -1
  1338. package/core/dist/runtime-v2/build-l2-principle-reader.js.map +0 -1
  1339. package/core/dist/runtime-v2/candidate-audit.d.ts.map +0 -1
  1340. package/core/dist/runtime-v2/candidate-audit.js.map +0 -1
  1341. package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +0 -1
  1342. package/core/dist/runtime-v2/candidate-intake-service.js.map +0 -1
  1343. package/core/dist/runtime-v2/candidate-intake.d.ts.map +0 -1
  1344. package/core/dist/runtime-v2/candidate-intake.js.map +0 -1
  1345. package/core/dist/runtime-v2/cli/diagnose.d.ts.map +0 -1
  1346. package/core/dist/runtime-v2/cli/diagnose.js.map +0 -1
  1347. package/core/dist/runtime-v2/cli/index.d.ts.map +0 -1
  1348. package/core/dist/runtime-v2/cli/index.js.map +0 -1
  1349. package/core/dist/runtime-v2/cli/probe.d.ts.map +0 -1
  1350. package/core/dist/runtime-v2/cli/probe.js.map +0 -1
  1351. package/core/dist/runtime-v2/config/index.d.ts.map +0 -1
  1352. package/core/dist/runtime-v2/config/index.js.map +0 -1
  1353. package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +0 -1
  1354. package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +0 -1
  1355. package/core/dist/runtime-v2/config/pd-config-defaults.d.ts.map +0 -1
  1356. package/core/dist/runtime-v2/config/pd-config-defaults.js.map +0 -1
  1357. package/core/dist/runtime-v2/config/pd-config-effective.d.ts.map +0 -1
  1358. package/core/dist/runtime-v2/config/pd-config-effective.js.map +0 -1
  1359. package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts.map +0 -1
  1360. package/core/dist/runtime-v2/config/pd-config-feature-flags.js.map +0 -1
  1361. package/core/dist/runtime-v2/config/pd-config-redaction.d.ts.map +0 -1
  1362. package/core/dist/runtime-v2/config/pd-config-redaction.js +0 -202
  1363. package/core/dist/runtime-v2/config/pd-config-redaction.js.map +0 -1
  1364. package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +0 -1
  1365. package/core/dist/runtime-v2/config/pd-config-types.js.map +0 -1
  1366. package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +0 -1
  1367. package/core/dist/runtime-v2/config/pd-config-validate.js.map +0 -1
  1368. package/core/dist/runtime-v2/config/pd-profile-constants.d.ts.map +0 -1
  1369. package/core/dist/runtime-v2/config/pd-profile-constants.js.map +0 -1
  1370. package/core/dist/runtime-v2/config/pd-validate-profile.d.ts.map +0 -1
  1371. package/core/dist/runtime-v2/config/pd-validate-profile.js.map +0 -1
  1372. package/core/dist/runtime-v2/context-payload.d.ts.map +0 -1
  1373. package/core/dist/runtime-v2/context-payload.js.map +0 -1
  1374. package/core/dist/runtime-v2/control-plane-triage.d.ts.map +0 -1
  1375. package/core/dist/runtime-v2/control-plane-triage.js.map +0 -1
  1376. package/core/dist/runtime-v2/core-principles/core-axiom-block.d.ts.map +0 -1
  1377. package/core/dist/runtime-v2/core-principles/core-axiom-block.js.map +0 -1
  1378. package/core/dist/runtime-v2/core-principles/core-principle-registry.d.ts.map +0 -1
  1379. package/core/dist/runtime-v2/core-principles/core-principle-registry.js.map +0 -1
  1380. package/core/dist/runtime-v2/core-principles/index.d.ts.map +0 -1
  1381. package/core/dist/runtime-v2/core-principles/index.js.map +0 -1
  1382. package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.d.ts.map +0 -1
  1383. package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.js.map +0 -1
  1384. package/core/dist/runtime-v2/correction/correction-types.d.ts.map +0 -1
  1385. package/core/dist/runtime-v2/correction/correction-types.js.map +0 -1
  1386. package/core/dist/runtime-v2/correction/index.d.ts.map +0 -1
  1387. package/core/dist/runtime-v2/correction/index.js.map +0 -1
  1388. package/core/dist/runtime-v2/detection/detection-funnel-policy.d.ts.map +0 -1
  1389. package/core/dist/runtime-v2/detection/detection-funnel-policy.js.map +0 -1
  1390. package/core/dist/runtime-v2/detection/index.d.ts.map +0 -1
  1391. package/core/dist/runtime-v2/detection/index.js.map +0 -1
  1392. package/core/dist/runtime-v2/diagnostician/diag-distiller-output.d.ts.map +0 -1
  1393. package/core/dist/runtime-v2/diagnostician/diag-distiller-output.js.map +0 -1
  1394. package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.d.ts.map +0 -1
  1395. package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.js.map +0 -1
  1396. package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.d.ts.map +0 -1
  1397. package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.js.map +0 -1
  1398. package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.d.ts.map +0 -1
  1399. package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.js.map +0 -1
  1400. package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.d.ts.map +0 -1
  1401. package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.js.map +0 -1
  1402. package/core/dist/runtime-v2/diagnostician/router-prompt-builder.d.ts.map +0 -1
  1403. package/core/dist/runtime-v2/diagnostician/router-prompt-builder.js.map +0 -1
  1404. package/core/dist/runtime-v2/diagnostician-association-shadow.d.ts.map +0 -1
  1405. package/core/dist/runtime-v2/diagnostician-association-shadow.js.map +0 -1
  1406. package/core/dist/runtime-v2/diagnostician-association-validation.d.ts.map +0 -1
  1407. package/core/dist/runtime-v2/diagnostician-association-validation.js.map +0 -1
  1408. package/core/dist/runtime-v2/diagnostician-capability.d.ts.map +0 -1
  1409. package/core/dist/runtime-v2/diagnostician-capability.js.map +0 -1
  1410. package/core/dist/runtime-v2/diagnostician-output.d.ts.map +0 -1
  1411. package/core/dist/runtime-v2/diagnostician-output.js.map +0 -1
  1412. package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts.map +0 -1
  1413. package/core/dist/runtime-v2/diagnostician-prompt-builder.js.map +0 -1
  1414. package/core/dist/runtime-v2/error-categories.d.ts +0 -42
  1415. package/core/dist/runtime-v2/error-categories.d.ts.map +0 -1
  1416. package/core/dist/runtime-v2/error-categories.js +0 -122
  1417. package/core/dist/runtime-v2/error-categories.js.map +0 -1
  1418. package/core/dist/runtime-v2/evidence-guards.d.ts.map +0 -1
  1419. package/core/dist/runtime-v2/evidence-guards.js.map +0 -1
  1420. package/core/dist/runtime-v2/evidence-sanitizer.d.ts.map +0 -1
  1421. package/core/dist/runtime-v2/evidence-sanitizer.js.map +0 -1
  1422. package/core/dist/runtime-v2/evidence-triage/index.d.ts.map +0 -1
  1423. package/core/dist/runtime-v2/evidence-triage/index.js.map +0 -1
  1424. package/core/dist/runtime-v2/evidence-triage/observation-resolver.d.ts.map +0 -1
  1425. package/core/dist/runtime-v2/evidence-triage/observation-resolver.js.map +0 -1
  1426. package/core/dist/runtime-v2/evidence-triage/source-descriptors.d.ts.map +0 -1
  1427. package/core/dist/runtime-v2/evidence-triage/source-descriptors.js.map +0 -1
  1428. package/core/dist/runtime-v2/evidence-triage/triage-policy.d.ts.map +0 -1
  1429. package/core/dist/runtime-v2/evidence-triage/triage-policy.js.map +0 -1
  1430. package/core/dist/runtime-v2/evidence-triage/trigger-controller.d.ts.map +0 -1
  1431. package/core/dist/runtime-v2/evidence-triage/trigger-controller.js.map +0 -1
  1432. package/core/dist/runtime-v2/evidence-triage/types.d.ts.map +0 -1
  1433. package/core/dist/runtime-v2/evidence-triage/types.js.map +0 -1
  1434. package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +0 -1
  1435. package/core/dist/runtime-v2/evolution/evolution-types.js.map +0 -1
  1436. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +0 -1
  1437. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +0 -1
  1438. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.d.ts.map +0 -1
  1439. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js +0 -273
  1440. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js.map +0 -1
  1441. package/core/dist/runtime-v2/feature-flags/index.d.ts.map +0 -1
  1442. package/core/dist/runtime-v2/feature-flags/index.js.map +0 -1
  1443. package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.d.ts.map +0 -1
  1444. package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.js.map +0 -1
  1445. package/core/dist/runtime-v2/feature-flags/surface-guard-policy.d.ts.map +0 -1
  1446. package/core/dist/runtime-v2/feature-flags/surface-guard-policy.js.map +0 -1
  1447. package/core/dist/runtime-v2/feedback/create-report.d.ts.map +0 -1
  1448. package/core/dist/runtime-v2/feedback/create-report.js.map +0 -1
  1449. package/core/dist/runtime-v2/feedback/feedback-types.d.ts.map +0 -1
  1450. package/core/dist/runtime-v2/feedback/feedback-types.js.map +0 -1
  1451. package/core/dist/runtime-v2/feedback/fingerprint.d.ts.map +0 -1
  1452. package/core/dist/runtime-v2/feedback/fingerprint.js.map +0 -1
  1453. package/core/dist/runtime-v2/feedback/index.d.ts.map +0 -1
  1454. package/core/dist/runtime-v2/feedback/index.js +0 -18
  1455. package/core/dist/runtime-v2/feedback/index.js.map +0 -1
  1456. package/core/dist/runtime-v2/feedback/internal-guards.d.ts.map +0 -1
  1457. package/core/dist/runtime-v2/feedback/internal-guards.js.map +0 -1
  1458. package/core/dist/runtime-v2/feedback/pending-agent-draft-store.d.ts.map +0 -1
  1459. package/core/dist/runtime-v2/feedback/pending-agent-draft-store.js.map +0 -1
  1460. package/core/dist/runtime-v2/feedback/privacy-preview.d.ts.map +0 -1
  1461. package/core/dist/runtime-v2/feedback/privacy-preview.js.map +0 -1
  1462. package/core/dist/runtime-v2/feedback/redact-sensitive.d.ts.map +0 -1
  1463. package/core/dist/runtime-v2/feedback/redact-sensitive.js +0 -301
  1464. package/core/dist/runtime-v2/feedback/redact-sensitive.js.map +0 -1
  1465. package/core/dist/runtime-v2/feedback/render-github-url.d.ts.map +0 -1
  1466. package/core/dist/runtime-v2/feedback/render-github-url.js.map +0 -1
  1467. package/core/dist/runtime-v2/feedback/render-markdown.d.ts.map +0 -1
  1468. package/core/dist/runtime-v2/feedback/render-markdown.js.map +0 -1
  1469. package/core/dist/runtime-v2/feedback/safe-stringify.d.ts.map +0 -1
  1470. package/core/dist/runtime-v2/feedback/safe-stringify.js.map +0 -1
  1471. package/core/dist/runtime-v2/full-trace-contract.d.ts.map +0 -1
  1472. package/core/dist/runtime-v2/full-trace-contract.js +0 -466
  1473. package/core/dist/runtime-v2/full-trace-contract.js.map +0 -1
  1474. package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts.map +0 -1
  1475. package/core/dist/runtime-v2/golden-trace-replay-validator.js.map +0 -1
  1476. package/core/dist/runtime-v2/golden-trace.d.ts.map +0 -1
  1477. package/core/dist/runtime-v2/golden-trace.js.map +0 -1
  1478. package/core/dist/runtime-v2/governance-experience-contract.d.ts.map +0 -1
  1479. package/core/dist/runtime-v2/governance-experience-contract.js.map +0 -1
  1480. package/core/dist/runtime-v2/governance-experience.d.ts.map +0 -1
  1481. package/core/dist/runtime-v2/governance-experience.js.map +0 -1
  1482. package/core/dist/runtime-v2/governance-projection-contract.d.ts.map +0 -1
  1483. package/core/dist/runtime-v2/governance-projection-contract.js.map +0 -1
  1484. package/core/dist/runtime-v2/governance-projection.d.ts.map +0 -1
  1485. package/core/dist/runtime-v2/governance-projection.js.map +0 -1
  1486. package/core/dist/runtime-v2/governance-timestamp-schema.d.ts.map +0 -1
  1487. package/core/dist/runtime-v2/governance-timestamp-schema.js.map +0 -1
  1488. package/core/dist/runtime-v2/index.d.ts +0 -446
  1489. package/core/dist/runtime-v2/index.d.ts.map +0 -1
  1490. package/core/dist/runtime-v2/index.js +0 -409
  1491. package/core/dist/runtime-v2/index.js.map +0 -1
  1492. package/core/dist/runtime-v2/intent/index.d.ts.map +0 -1
  1493. package/core/dist/runtime-v2/intent/index.js.map +0 -1
  1494. package/core/dist/runtime-v2/intent/intent-browser.d.ts +0 -23
  1495. package/core/dist/runtime-v2/intent/intent-browser.d.ts.map +0 -1
  1496. package/core/dist/runtime-v2/intent/intent-browser.js +0 -21
  1497. package/core/dist/runtime-v2/intent/intent-browser.js.map +0 -1
  1498. package/core/dist/runtime-v2/intent/intent-decision-record.d.ts +0 -125
  1499. package/core/dist/runtime-v2/intent/intent-decision-record.d.ts.map +0 -1
  1500. package/core/dist/runtime-v2/intent/intent-decision-record.js +0 -21
  1501. package/core/dist/runtime-v2/intent/intent-decision-record.js.map +0 -1
  1502. package/core/dist/runtime-v2/intent/intent-doc-reader-port.d.ts.map +0 -1
  1503. package/core/dist/runtime-v2/intent/intent-doc-reader-port.js.map +0 -1
  1504. package/core/dist/runtime-v2/intent/intent-doc-version.d.ts.map +0 -1
  1505. package/core/dist/runtime-v2/intent/intent-doc-version.js.map +0 -1
  1506. package/core/dist/runtime-v2/intent/intent-doc.d.ts.map +0 -1
  1507. package/core/dist/runtime-v2/intent/intent-doc.js.map +0 -1
  1508. package/core/dist/runtime-v2/intent/intent-friction-block.d.ts.map +0 -1
  1509. package/core/dist/runtime-v2/intent/intent-friction-block.js.map +0 -1
  1510. package/core/dist/runtime-v2/intent/intent-hash.d.ts.map +0 -1
  1511. package/core/dist/runtime-v2/intent/intent-hash.js.map +0 -1
  1512. package/core/dist/runtime-v2/intent/intent-patch-proposal.d.ts.map +0 -1
  1513. package/core/dist/runtime-v2/intent/intent-patch-proposal.js.map +0 -1
  1514. package/core/dist/runtime-v2/internalization/adversarial-case.d.ts.map +0 -1
  1515. package/core/dist/runtime-v2/internalization/adversarial-case.js.map +0 -1
  1516. package/core/dist/runtime-v2/internalization/adversarial-feedback.d.ts.map +0 -1
  1517. package/core/dist/runtime-v2/internalization/adversarial-feedback.js.map +0 -1
  1518. package/core/dist/runtime-v2/internalization/approved-rule-revision.d.ts.map +0 -1
  1519. package/core/dist/runtime-v2/internalization/approved-rule-revision.js.map +0 -1
  1520. package/core/dist/runtime-v2/internalization/artifact-content-hash.d.ts.map +0 -1
  1521. package/core/dist/runtime-v2/internalization/artifact-content-hash.js.map +0 -1
  1522. package/core/dist/runtime-v2/internalization/artifact-summary.d.ts.map +0 -1
  1523. package/core/dist/runtime-v2/internalization/artifact-summary.js.map +0 -1
  1524. package/core/dist/runtime-v2/internalization/artificer-code-bearing.d.ts.map +0 -1
  1525. package/core/dist/runtime-v2/internalization/artificer-code-bearing.js.map +0 -1
  1526. package/core/dist/runtime-v2/internalization/artificer-intent-preflight.d.ts.map +0 -1
  1527. package/core/dist/runtime-v2/internalization/artificer-intent-preflight.js.map +0 -1
  1528. package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +0 -1
  1529. package/core/dist/runtime-v2/internalization/artificer-output.js.map +0 -1
  1530. package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +0 -1
  1531. package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +0 -1
  1532. package/core/dist/runtime-v2/internalization/artificer-run-correlation.d.ts.map +0 -1
  1533. package/core/dist/runtime-v2/internalization/artificer-run-correlation.js.map +0 -1
  1534. package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +0 -1
  1535. package/core/dist/runtime-v2/internalization/artificer-runner.js.map +0 -1
  1536. package/core/dist/runtime-v2/internalization/bash-risk.d.ts.map +0 -1
  1537. package/core/dist/runtime-v2/internalization/bash-risk.js +0 -905
  1538. package/core/dist/runtime-v2/internalization/bash-risk.js.map +0 -1
  1539. package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts +0 -47
  1540. package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts.map +0 -1
  1541. package/core/dist/runtime-v2/internalization/behavior-example-pack.js +0 -214
  1542. package/core/dist/runtime-v2/internalization/behavior-example-pack.js.map +0 -1
  1543. package/core/dist/runtime-v2/internalization/candidate-identity.d.ts.map +0 -1
  1544. package/core/dist/runtime-v2/internalization/candidate-identity.js.map +0 -1
  1545. package/core/dist/runtime-v2/internalization/compile-result.d.ts.map +0 -1
  1546. package/core/dist/runtime-v2/internalization/compile-result.js.map +0 -1
  1547. package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.d.ts.map +0 -1
  1548. package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.js.map +0 -1
  1549. package/core/dist/runtime-v2/internalization/correction-proposal.d.ts.map +0 -1
  1550. package/core/dist/runtime-v2/internalization/correction-proposal.js +0 -333
  1551. package/core/dist/runtime-v2/internalization/correction-proposal.js.map +0 -1
  1552. package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts.map +0 -1
  1553. package/core/dist/runtime-v2/internalization/deprecated-readiness.js.map +0 -1
  1554. package/core/dist/runtime-v2/internalization/design-gate-facts.d.ts.map +0 -1
  1555. package/core/dist/runtime-v2/internalization/design-gate-facts.js.map +0 -1
  1556. package/core/dist/runtime-v2/internalization/diag-distiller-runner.d.ts.map +0 -1
  1557. package/core/dist/runtime-v2/internalization/diag-distiller-runner.js.map +0 -1
  1558. package/core/dist/runtime-v2/internalization/diag-rootcause-runner.d.ts.map +0 -1
  1559. package/core/dist/runtime-v2/internalization/diag-rootcause-runner.js.map +0 -1
  1560. package/core/dist/runtime-v2/internalization/diag-router-runner.d.ts.map +0 -1
  1561. package/core/dist/runtime-v2/internalization/diag-router-runner.js.map +0 -1
  1562. package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +0 -1
  1563. package/core/dist/runtime-v2/internalization/dreamer-output.js.map +0 -1
  1564. package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +0 -1
  1565. package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +0 -1
  1566. package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +0 -1
  1567. package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +0 -1
  1568. package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +0 -1
  1569. package/core/dist/runtime-v2/internalization/evaluator-output.js.map +0 -1
  1570. package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +0 -1
  1571. package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +0 -1
  1572. package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +0 -1
  1573. package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +0 -1
  1574. package/core/dist/runtime-v2/internalization/evidence-readiness.d.ts.map +0 -1
  1575. package/core/dist/runtime-v2/internalization/evidence-readiness.js.map +0 -1
  1576. package/core/dist/runtime-v2/internalization/formation-context.d.ts.map +0 -1
  1577. package/core/dist/runtime-v2/internalization/formation-context.js.map +0 -1
  1578. package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.d.ts.map +0 -1
  1579. package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.js.map +0 -1
  1580. package/core/dist/runtime-v2/internalization/index.d.ts.map +0 -1
  1581. package/core/dist/runtime-v2/internalization/index.js.map +0 -1
  1582. package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts.map +0 -1
  1583. package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js.map +0 -1
  1584. package/core/dist/runtime-v2/internalization/intent-contract.d.ts.map +0 -1
  1585. package/core/dist/runtime-v2/internalization/intent-contract.js.map +0 -1
  1586. package/core/dist/runtime-v2/internalization/internalization-consumer-decision.d.ts.map +0 -1
  1587. package/core/dist/runtime-v2/internalization/internalization-consumer-decision.js.map +0 -1
  1588. package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts.map +0 -1
  1589. package/core/dist/runtime-v2/internalization/internalization-job-graph.js.map +0 -1
  1590. package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +0 -1
  1591. package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +0 -1
  1592. package/core/dist/runtime-v2/internalization/internalization-route.d.ts.map +0 -1
  1593. package/core/dist/runtime-v2/internalization/internalization-route.js.map +0 -1
  1594. package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts.map +0 -1
  1595. package/core/dist/runtime-v2/internalization/internalization-state-machine.js.map +0 -1
  1596. package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts.map +0 -1
  1597. package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +0 -1
  1598. package/core/dist/runtime-v2/internalization/internalization-transition-decision.d.ts.map +0 -1
  1599. package/core/dist/runtime-v2/internalization/internalization-transition-decision.js.map +0 -1
  1600. package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.d.ts.map +0 -1
  1601. package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.js.map +0 -1
  1602. package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts.map +0 -1
  1603. package/core/dist/runtime-v2/internalization/lifecycle-datasource.js.map +0 -1
  1604. package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts.map +0 -1
  1605. package/core/dist/runtime-v2/internalization/lifecycle-metrics.js.map +0 -1
  1606. package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts.map +0 -1
  1607. package/core/dist/runtime-v2/internalization/lifecycle-read-model.js.map +0 -1
  1608. package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts.map +0 -1
  1609. package/core/dist/runtime-v2/internalization/lifecycle-types.js.map +0 -1
  1610. package/core/dist/runtime-v2/internalization/owner-decision-review.d.ts.map +0 -1
  1611. package/core/dist/runtime-v2/internalization/owner-decision-review.js.map +0 -1
  1612. package/core/dist/runtime-v2/internalization/owner-evidence-recovery.d.ts.map +0 -1
  1613. package/core/dist/runtime-v2/internalization/owner-evidence-recovery.js.map +0 -1
  1614. package/core/dist/runtime-v2/internalization/owner-resolution-service.d.ts.map +0 -1
  1615. package/core/dist/runtime-v2/internalization/owner-resolution-service.js.map +0 -1
  1616. package/core/dist/runtime-v2/internalization/owner-retry.d.ts.map +0 -1
  1617. package/core/dist/runtime-v2/internalization/owner-retry.js.map +0 -1
  1618. package/core/dist/runtime-v2/internalization/owner-review.d.ts.map +0 -1
  1619. package/core/dist/runtime-v2/internalization/owner-review.js.map +0 -1
  1620. package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +0 -1
  1621. package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +0 -1
  1622. package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +0 -1
  1623. package/core/dist/runtime-v2/internalization/philosopher-output.js.map +0 -1
  1624. package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +0 -1
  1625. package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +0 -1
  1626. package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +0 -1
  1627. package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +0 -1
  1628. package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +0 -1
  1629. package/core/dist/runtime-v2/internalization/pi-artifact-store.js.map +0 -1
  1630. package/core/dist/runtime-v2/internalization/pi-artifact.d.ts.map +0 -1
  1631. package/core/dist/runtime-v2/internalization/pi-artifact.js.map +0 -1
  1632. package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +0 -1
  1633. package/core/dist/runtime-v2/internalization/pitask-metadata.js +0 -1030
  1634. package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +0 -1
  1635. package/core/dist/runtime-v2/internalization/prompt-serializer.d.ts.map +0 -1
  1636. package/core/dist/runtime-v2/internalization/prompt-serializer.js.map +0 -1
  1637. package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +0 -1
  1638. package/core/dist/runtime-v2/internalization/queue-actionability.js.map +0 -1
  1639. package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts.map +0 -1
  1640. package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js.map +0 -1
  1641. package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts.map +0 -1
  1642. package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js.map +0 -1
  1643. package/core/dist/runtime-v2/internalization/repair-replay-resolver.d.ts.map +0 -1
  1644. package/core/dist/runtime-v2/internalization/repair-replay-resolver.js.map +0 -1
  1645. package/core/dist/runtime-v2/internalization/revision-reopen.d.ts.map +0 -1
  1646. package/core/dist/runtime-v2/internalization/revision-reopen.js.map +0 -1
  1647. package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +0 -1
  1648. package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js.map +0 -1
  1649. package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +0 -1
  1650. package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js.map +0 -1
  1651. package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +0 -1
  1652. package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +0 -1
  1653. package/core/dist/runtime-v2/internalization/router-context-evidence.d.ts.map +0 -1
  1654. package/core/dist/runtime-v2/internalization/router-context-evidence.js.map +0 -1
  1655. package/core/dist/runtime-v2/internalization/routing-policy.d.ts.map +0 -1
  1656. package/core/dist/runtime-v2/internalization/routing-policy.js.map +0 -1
  1657. package/core/dist/runtime-v2/internalization/rule-activation-contract.d.ts.map +0 -1
  1658. package/core/dist/runtime-v2/internalization/rule-activation-contract.js.map +0 -1
  1659. package/core/dist/runtime-v2/internalization/rule-binding-revision.d.ts.map +0 -1
  1660. package/core/dist/runtime-v2/internalization/rule-binding-revision.js.map +0 -1
  1661. package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +0 -1
  1662. package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +0 -1
  1663. package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts +0 -64
  1664. package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts.map +0 -1
  1665. package/core/dist/runtime-v2/internalization/rule-context-v2.js +0 -285
  1666. package/core/dist/runtime-v2/internalization/rule-context-v2.js.map +0 -1
  1667. package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts.map +0 -1
  1668. package/core/dist/runtime-v2/internalization/rule-host-adapter.js.map +0 -1
  1669. package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts.map +0 -1
  1670. package/core/dist/runtime-v2/internalization/rule-host-contracts.js.map +0 -1
  1671. package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts.map +0 -1
  1672. package/core/dist/runtime-v2/internalization/rule-host-evaluator.js.map +0 -1
  1673. package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts.map +0 -1
  1674. package/core/dist/runtime-v2/internalization/rule-host-helpers.js.map +0 -1
  1675. package/core/dist/runtime-v2/internalization/rule-host-input-builder.d.ts.map +0 -1
  1676. package/core/dist/runtime-v2/internalization/rule-host-input-builder.js.map +0 -1
  1677. package/core/dist/runtime-v2/internalization/rule-host-validator.d.ts.map +0 -1
  1678. package/core/dist/runtime-v2/internalization/rule-host-validator.js.map +0 -1
  1679. package/core/dist/runtime-v2/internalization/rule-reliability-validation.d.ts.map +0 -1
  1680. package/core/dist/runtime-v2/internalization/rule-reliability-validation.js.map +0 -1
  1681. package/core/dist/runtime-v2/internalization/rule-source-correction.d.ts.map +0 -1
  1682. package/core/dist/runtime-v2/internalization/rule-source-correction.js.map +0 -1
  1683. package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.d.ts.map +0 -1
  1684. package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.js.map +0 -1
  1685. package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +0 -1
  1686. package/core/dist/runtime-v2/internalization/scribe-output.js.map +0 -1
  1687. package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +0 -1
  1688. package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +0 -1
  1689. package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +0 -1
  1690. package/core/dist/runtime-v2/internalization/scribe-runner.js.map +0 -1
  1691. package/core/dist/runtime-v2/internalization/split-diagnostician-runner.d.ts.map +0 -1
  1692. package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js.map +0 -1
  1693. package/core/dist/runtime-v2/internalization/template-generator.d.ts.map +0 -1
  1694. package/core/dist/runtime-v2/internalization/template-generator.js.map +0 -1
  1695. package/core/dist/runtime-v2/internalization/textual-basis-anchor.d.ts.map +0 -1
  1696. package/core/dist/runtime-v2/internalization/textual-basis-anchor.js.map +0 -1
  1697. package/core/dist/runtime-v2/internalization/tool-semantic-baseline.d.ts.map +0 -1
  1698. package/core/dist/runtime-v2/internalization/tool-semantic-baseline.js.map +0 -1
  1699. package/core/dist/runtime-v2/internalization/tool-semantic-registry.d.ts.map +0 -1
  1700. package/core/dist/runtime-v2/internalization/tool-semantic-registry.js.map +0 -1
  1701. package/core/dist/runtime-v2/internalization/v2-adversarial-cases.d.ts.map +0 -1
  1702. package/core/dist/runtime-v2/internalization/v2-adversarial-cases.js.map +0 -1
  1703. package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +0 -1
  1704. package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +0 -1
  1705. package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +0 -1
  1706. package/core/dist/runtime-v2/internalization-integrity-remediation.js.map +0 -1
  1707. package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +0 -1
  1708. package/core/dist/runtime-v2/internalization-queue-read-model.js.map +0 -1
  1709. package/core/dist/runtime-v2/intervention-evidence-normalizer.d.ts.map +0 -1
  1710. package/core/dist/runtime-v2/intervention-evidence-normalizer.js.map +0 -1
  1711. package/core/dist/runtime-v2/l1-hard-cap.d.ts.map +0 -1
  1712. package/core/dist/runtime-v2/l1-hard-cap.js.map +0 -1
  1713. package/core/dist/runtime-v2/language-directive.d.ts.map +0 -1
  1714. package/core/dist/runtime-v2/language-directive.js.map +0 -1
  1715. package/core/dist/runtime-v2/learning-lab/actor-action-output.d.ts.map +0 -1
  1716. package/core/dist/runtime-v2/learning-lab/actor-action-output.js.map +0 -1
  1717. package/core/dist/runtime-v2/mainline-contract.d.ts.map +0 -1
  1718. package/core/dist/runtime-v2/mainline-contract.js.map +0 -1
  1719. package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +0 -1
  1720. package/core/dist/runtime-v2/observer/agent-scheduler.js.map +0 -1
  1721. package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +0 -1
  1722. package/core/dist/runtime-v2/observer/correction-observer.js.map +0 -1
  1723. package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +0 -1
  1724. package/core/dist/runtime-v2/operator-health-read-model.js +0 -135
  1725. package/core/dist/runtime-v2/operator-health-read-model.js.map +0 -1
  1726. package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.d.ts.map +0 -1
  1727. package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.js.map +0 -1
  1728. package/core/dist/runtime-v2/owner-decision/owner-decision-view.d.ts.map +0 -1
  1729. package/core/dist/runtime-v2/owner-decision/owner-decision-view.js.map +0 -1
  1730. package/core/dist/runtime-v2/owner-decision/semantic-selector.d.ts.map +0 -1
  1731. package/core/dist/runtime-v2/owner-decision/semantic-selector.js.map +0 -1
  1732. package/core/dist/runtime-v2/owner-identity.d.ts.map +0 -1
  1733. package/core/dist/runtime-v2/owner-identity.js.map +0 -1
  1734. package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +0 -1
  1735. package/core/dist/runtime-v2/pain-chain-read-model.js +0 -327
  1736. package/core/dist/runtime-v2/pain-chain-read-model.js.map +0 -1
  1737. package/core/dist/runtime-v2/pain-flood-simulation.d.ts.map +0 -1
  1738. package/core/dist/runtime-v2/pain-flood-simulation.js +0 -152
  1739. package/core/dist/runtime-v2/pain-flood-simulation.js.map +0 -1
  1740. package/core/dist/runtime-v2/pain-ingress-payload.d.ts.map +0 -1
  1741. package/core/dist/runtime-v2/pain-ingress-payload.js.map +0 -1
  1742. package/core/dist/runtime-v2/pain-ingress.d.ts.map +0 -1
  1743. package/core/dist/runtime-v2/pain-ingress.js.map +0 -1
  1744. package/core/dist/runtime-v2/pain-recall-capability.d.ts.map +0 -1
  1745. package/core/dist/runtime-v2/pain-recall-capability.js.map +0 -1
  1746. package/core/dist/runtime-v2/pain-recall-read-model.d.ts.map +0 -1
  1747. package/core/dist/runtime-v2/pain-recall-read-model.js.map +0 -1
  1748. package/core/dist/runtime-v2/pain-recall-snapshot-hooks.d.ts.map +0 -1
  1749. package/core/dist/runtime-v2/pain-recall-snapshot-hooks.js.map +0 -1
  1750. package/core/dist/runtime-v2/pain-signal-bridge.d.ts +0 -389
  1751. package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +0 -1
  1752. package/core/dist/runtime-v2/pain-signal-bridge.js +0 -1460
  1753. package/core/dist/runtime-v2/pain-signal-bridge.js.map +0 -1
  1754. package/core/dist/runtime-v2/pain-signal-observability.d.ts +0 -36
  1755. package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +0 -1
  1756. package/core/dist/runtime-v2/pain-signal-observability.js.map +0 -1
  1757. package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +0 -254
  1758. package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +0 -1
  1759. package/core/dist/runtime-v2/pain-signal-runtime-factory.js +0 -780
  1760. package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +0 -1
  1761. package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +0 -1
  1762. package/core/dist/runtime-v2/pain-to-principle-service.js.map +0 -1
  1763. package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts +0 -89
  1764. package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts.map +0 -1
  1765. package/core/dist/runtime-v2/principle-reuse/reuse-domain.js +0 -16
  1766. package/core/dist/runtime-v2/principle-reuse/reuse-domain.js.map +0 -1
  1767. package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.d.ts.map +0 -1
  1768. package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.js.map +0 -1
  1769. package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.d.ts.map +0 -1
  1770. package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.js.map +0 -1
  1771. package/core/dist/runtime-v2/principle-reuse/reuse-proposal.d.ts.map +0 -1
  1772. package/core/dist/runtime-v2/principle-reuse/reuse-proposal.js.map +0 -1
  1773. package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.d.ts.map +0 -1
  1774. package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.js.map +0 -1
  1775. package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.d.ts.map +0 -1
  1776. package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.js.map +0 -1
  1777. package/core/dist/runtime-v2/principle-tree/ledger-codec.d.ts.map +0 -1
  1778. package/core/dist/runtime-v2/principle-tree/ledger-codec.js.map +0 -1
  1779. package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.d.ts.map +0 -1
  1780. package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.js.map +0 -1
  1781. package/core/dist/runtime-v2/product-telemetry/daily-identity.d.ts.map +0 -1
  1782. package/core/dist/runtime-v2/product-telemetry/daily-identity.js.map +0 -1
  1783. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.d.ts.map +0 -1
  1784. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.js.map +0 -1
  1785. package/core/dist/runtime-v2/proven-channel-baseline.d.ts.map +0 -1
  1786. package/core/dist/runtime-v2/proven-channel-baseline.js +0 -547
  1787. package/core/dist/runtime-v2/proven-channel-baseline.js.map +0 -1
  1788. package/core/dist/runtime-v2/pruning-read-model.d.ts.map +0 -1
  1789. package/core/dist/runtime-v2/pruning-read-model.js.map +0 -1
  1790. package/core/dist/runtime-v2/receipt-coverage.d.ts.map +0 -1
  1791. package/core/dist/runtime-v2/receipt-coverage.js.map +0 -1
  1792. package/core/dist/runtime-v2/recovery-actions-log.d.ts.map +0 -1
  1793. package/core/dist/runtime-v2/recovery-actions-log.js.map +0 -1
  1794. package/core/dist/runtime-v2/recovery-sweep-service.d.ts.map +0 -1
  1795. package/core/dist/runtime-v2/recovery-sweep-service.js.map +0 -1
  1796. package/core/dist/runtime-v2/remediation-contract.d.ts.map +0 -1
  1797. package/core/dist/runtime-v2/remediation-contract.js.map +0 -1
  1798. package/core/dist/runtime-v2/risk/index.d.ts.map +0 -1
  1799. package/core/dist/runtime-v2/risk/index.js.map +0 -1
  1800. package/core/dist/runtime-v2/risk/risk-calculator-policy.d.ts.map +0 -1
  1801. package/core/dist/runtime-v2/risk/risk-calculator-policy.js.map +0 -1
  1802. package/core/dist/runtime-v2/runner/base-peer-runner.d.ts.map +0 -1
  1803. package/core/dist/runtime-v2/runner/base-peer-runner.js.map +0 -1
  1804. package/core/dist/runtime-v2/runner/default-validator.d.ts.map +0 -1
  1805. package/core/dist/runtime-v2/runner/default-validator.js.map +0 -1
  1806. package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +0 -1
  1807. package/core/dist/runtime-v2/runner/diagnostician-validator.js.map +0 -1
  1808. package/core/dist/runtime-v2/runner/peer-runner-types.d.ts.map +0 -1
  1809. package/core/dist/runtime-v2/runner/peer-runner-types.js.map +0 -1
  1810. package/core/dist/runtime-v2/runner/runner-phase.d.ts.map +0 -1
  1811. package/core/dist/runtime-v2/runner/runner-phase.js.map +0 -1
  1812. package/core/dist/runtime-v2/runner/runner-result.d.ts.map +0 -1
  1813. package/core/dist/runtime-v2/runner/runner-result.js.map +0 -1
  1814. package/core/dist/runtime-v2/runtime-protocol.d.ts.map +0 -1
  1815. package/core/dist/runtime-v2/runtime-protocol.js.map +0 -1
  1816. package/core/dist/runtime-v2/runtime-state-handle.d.ts.map +0 -1
  1817. package/core/dist/runtime-v2/runtime-state-handle.js.map +0 -1
  1818. package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +0 -1
  1819. package/core/dist/runtime-v2/schema-conformance-read-model.js.map +0 -1
  1820. package/core/dist/runtime-v2/schema-version.d.ts +0 -20
  1821. package/core/dist/runtime-v2/schema-version.d.ts.map +0 -1
  1822. package/core/dist/runtime-v2/schema-version.js +0 -20
  1823. package/core/dist/runtime-v2/schema-version.js.map +0 -1
  1824. package/core/dist/runtime-v2/signal-collector/confidence-gate.d.ts.map +0 -1
  1825. package/core/dist/runtime-v2/signal-collector/confidence-gate.js.map +0 -1
  1826. package/core/dist/runtime-v2/signal-collector/index.d.ts.map +0 -1
  1827. package/core/dist/runtime-v2/signal-collector/index.js.map +0 -1
  1828. package/core/dist/runtime-v2/signal-collector/keyword-stage.d.ts.map +0 -1
  1829. package/core/dist/runtime-v2/signal-collector/keyword-stage.js.map +0 -1
  1830. package/core/dist/runtime-v2/signal-collector/llm-stage.d.ts.map +0 -1
  1831. package/core/dist/runtime-v2/signal-collector/llm-stage.js.map +0 -1
  1832. package/core/dist/runtime-v2/signal-collector/signal-collector.d.ts.map +0 -1
  1833. package/core/dist/runtime-v2/signal-collector/signal-collector.js.map +0 -1
  1834. package/core/dist/runtime-v2/signal-collector/types.d.ts.map +0 -1
  1835. package/core/dist/runtime-v2/signal-collector/types.js.map +0 -1
  1836. package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.d.ts.map +0 -1
  1837. package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.js.map +0 -1
  1838. package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts.map +0 -1
  1839. package/core/dist/runtime-v2/store/artifact/artifact-store.js.map +0 -1
  1840. package/core/dist/runtime-v2/store/artifact/index.d.ts.map +0 -1
  1841. package/core/dist/runtime-v2/store/artifact/index.js.map +0 -1
  1842. package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +0 -1
  1843. package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +0 -1
  1844. package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +0 -1
  1845. package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +0 -1
  1846. package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +0 -1
  1847. package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +0 -1
  1848. package/core/dist/runtime-v2/store/candidate/admission-document.d.ts.map +0 -1
  1849. package/core/dist/runtime-v2/store/candidate/admission-document.js.map +0 -1
  1850. package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts.map +0 -1
  1851. package/core/dist/runtime-v2/store/candidate/candidate-store.js.map +0 -1
  1852. package/core/dist/runtime-v2/store/candidate/index.d.ts.map +0 -1
  1853. package/core/dist/runtime-v2/store/candidate/index.js.map +0 -1
  1854. package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +0 -1
  1855. package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js.map +0 -1
  1856. package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts.map +0 -1
  1857. package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js.map +0 -1
  1858. package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +0 -1
  1859. package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +0 -1
  1860. package/core/dist/runtime-v2/store/commit/commit-store.d.ts.map +0 -1
  1861. package/core/dist/runtime-v2/store/commit/commit-store.js.map +0 -1
  1862. package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +0 -1
  1863. package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +0 -1
  1864. package/core/dist/runtime-v2/store/commit/index.d.ts.map +0 -1
  1865. package/core/dist/runtime-v2/store/commit/index.js.map +0 -1
  1866. package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +0 -1
  1867. package/core/dist/runtime-v2/store/commit/memory-commit-store.js.map +0 -1
  1868. package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +0 -1
  1869. package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +0 -1
  1870. package/core/dist/runtime-v2/store/context/context-assembler.d.ts.map +0 -1
  1871. package/core/dist/runtime-v2/store/context/context-assembler.js.map +0 -1
  1872. package/core/dist/runtime-v2/store/context/index.d.ts.map +0 -1
  1873. package/core/dist/runtime-v2/store/context/index.js.map +0 -1
  1874. package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +0 -1
  1875. package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +0 -1
  1876. package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +0 -1
  1877. package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +0 -1
  1878. package/core/dist/runtime-v2/store/context/trajectory-turn-reader.d.ts.map +0 -1
  1879. package/core/dist/runtime-v2/store/context/trajectory-turn-reader.js.map +0 -1
  1880. package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.d.ts.map +0 -1
  1881. package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.js.map +0 -1
  1882. package/core/dist/runtime-v2/store/event-emitter.d.ts.map +0 -1
  1883. package/core/dist/runtime-v2/store/event-emitter.js.map +0 -1
  1884. package/core/dist/runtime-v2/store/history/history-query.d.ts.map +0 -1
  1885. package/core/dist/runtime-v2/store/history/history-query.js.map +0 -1
  1886. package/core/dist/runtime-v2/store/history/index.d.ts.map +0 -1
  1887. package/core/dist/runtime-v2/store/history/index.js.map +0 -1
  1888. package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +0 -1
  1889. package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +0 -1
  1890. package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +0 -1
  1891. package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +0 -1
  1892. package/core/dist/runtime-v2/store/intent/index.d.ts.map +0 -1
  1893. package/core/dist/runtime-v2/store/intent/index.js.map +0 -1
  1894. package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.d.ts.map +0 -1
  1895. package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.js.map +0 -1
  1896. package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.d.ts.map +0 -1
  1897. package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.js.map +0 -1
  1898. package/core/dist/runtime-v2/store/intervention-evidence-schema.d.ts.map +0 -1
  1899. package/core/dist/runtime-v2/store/intervention-evidence-schema.js.map +0 -1
  1900. package/core/dist/runtime-v2/store/lifecycle/index.d.ts.map +0 -1
  1901. package/core/dist/runtime-v2/store/lifecycle/index.js.map +0 -1
  1902. package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +0 -1
  1903. package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +0 -1
  1904. package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +0 -1
  1905. package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +0 -1
  1906. package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +0 -1
  1907. package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +0 -1
  1908. package/core/dist/runtime-v2/store/pain/index.d.ts.map +0 -1
  1909. package/core/dist/runtime-v2/store/pain/index.js.map +0 -1
  1910. package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.d.ts.map +0 -1
  1911. package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.js.map +0 -1
  1912. package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +0 -1
  1913. package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.js.map +0 -1
  1914. package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +0 -1
  1915. package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +0 -1
  1916. package/core/dist/runtime-v2/store/reconciliation-cursor-store.d.ts.map +0 -1
  1917. package/core/dist/runtime-v2/store/reconciliation-cursor-store.js.map +0 -1
  1918. package/core/dist/runtime-v2/store/run/index.d.ts.map +0 -1
  1919. package/core/dist/runtime-v2/store/run/index.js.map +0 -1
  1920. package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +0 -1
  1921. package/core/dist/runtime-v2/store/run/memory-run-store.js.map +0 -1
  1922. package/core/dist/runtime-v2/store/run/run-store.d.ts.map +0 -1
  1923. package/core/dist/runtime-v2/store/run/run-store.js.map +0 -1
  1924. package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +0 -1
  1925. package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +0 -1
  1926. package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +0 -1
  1927. package/core/dist/runtime-v2/store/runtime-state-manager.js.map +0 -1
  1928. package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +0 -1
  1929. package/core/dist/runtime-v2/store/sqlite-connection.js.map +0 -1
  1930. package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.d.ts.map +0 -1
  1931. package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.js.map +0 -1
  1932. package/core/dist/runtime-v2/store/task/index.d.ts.map +0 -1
  1933. package/core/dist/runtime-v2/store/task/index.js.map +0 -1
  1934. package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +0 -1
  1935. package/core/dist/runtime-v2/store/task/memory-task-store.js.map +0 -1
  1936. package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.d.ts.map +0 -1
  1937. package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.js.map +0 -1
  1938. package/core/dist/runtime-v2/store/task/sqlite-family-reopen.d.ts.map +0 -1
  1939. package/core/dist/runtime-v2/store/task/sqlite-family-reopen.js.map +0 -1
  1940. package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +0 -1
  1941. package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +0 -1
  1942. package/core/dist/runtime-v2/store/task/task-store.d.ts.map +0 -1
  1943. package/core/dist/runtime-v2/store/task/task-store.js.map +0 -1
  1944. package/core/dist/runtime-v2/store/task/task-types.d.ts.map +0 -1
  1945. package/core/dist/runtime-v2/store/task/task-types.js.map +0 -1
  1946. package/core/dist/runtime-v2/store/trajectory/index.d.ts.map +0 -1
  1947. package/core/dist/runtime-v2/store/trajectory/index.js.map +0 -1
  1948. package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts.map +0 -1
  1949. package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js.map +0 -1
  1950. package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +0 -1
  1951. package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +0 -1
  1952. package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +0 -1
  1953. package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +0 -1
  1954. package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts.map +0 -1
  1955. package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js.map +0 -1
  1956. package/core/dist/runtime-v2/store/workspace-leak-guard.d.ts.map +0 -1
  1957. package/core/dist/runtime-v2/store/workspace-leak-guard.js.map +0 -1
  1958. package/core/dist/runtime-v2/story-a-demo.d.ts +0 -77
  1959. package/core/dist/runtime-v2/story-a-demo.d.ts.map +0 -1
  1960. package/core/dist/runtime-v2/story-a-demo.js.map +0 -1
  1961. package/core/dist/runtime-v2/synthetic-baseline.d.ts.map +0 -1
  1962. package/core/dist/runtime-v2/synthetic-baseline.js +0 -116
  1963. package/core/dist/runtime-v2/synthetic-baseline.js.map +0 -1
  1964. package/core/dist/runtime-v2/system-prompt-merge.d.ts.map +0 -1
  1965. package/core/dist/runtime-v2/system-prompt-merge.js.map +0 -1
  1966. package/core/dist/runtime-v2/task-status.d.ts.map +0 -1
  1967. package/core/dist/runtime-v2/task-status.js.map +0 -1
  1968. package/core/dist/runtime-v2/tools/agent-tool-contract.d.ts.map +0 -1
  1969. package/core/dist/runtime-v2/tools/agent-tool-contract.js.map +0 -1
  1970. package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.d.ts.map +0 -1
  1971. package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.js.map +0 -1
  1972. package/core/dist/runtime-v2/tools/artificer-output-typebox.d.ts.map +0 -1
  1973. package/core/dist/runtime-v2/tools/artificer-output-typebox.js.map +0 -1
  1974. package/core/dist/runtime-v2/tools/dreamer-output-typebox.d.ts.map +0 -1
  1975. package/core/dist/runtime-v2/tools/dreamer-output-typebox.js.map +0 -1
  1976. package/core/dist/runtime-v2/trajectory-schema.d.ts.map +0 -1
  1977. package/core/dist/runtime-v2/trajectory-schema.js.map +0 -1
  1978. package/core/dist/runtime-v2/types/artifact-lineage.d.ts.map +0 -1
  1979. package/core/dist/runtime-v2/types/artifact-lineage.js.map +0 -1
  1980. package/core/dist/runtime-v2/types/event-payload.d.ts.map +0 -1
  1981. package/core/dist/runtime-v2/types/event-payload.js.map +0 -1
  1982. package/core/dist/runtime-v2/types/event-types.d.ts +0 -940
  1983. package/core/dist/runtime-v2/types/event-types.d.ts.map +0 -1
  1984. package/core/dist/runtime-v2/types/event-types.js +0 -520
  1985. package/core/dist/runtime-v2/types/event-types.js.map +0 -1
  1986. package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts +0 -282
  1987. package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts.map +0 -1
  1988. package/core/dist/runtime-v2/types/evidence-chain-contract.js +0 -1301
  1989. package/core/dist/runtime-v2/types/evidence-chain-contract.js.map +0 -1
  1990. package/core/dist/runtime-v2/types/hygiene-types.d.ts.map +0 -1
  1991. package/core/dist/runtime-v2/types/hygiene-types.js.map +0 -1
  1992. package/core/dist/runtime-v2/types/index.d.ts +0 -32
  1993. package/core/dist/runtime-v2/types/index.d.ts.map +0 -1
  1994. package/core/dist/runtime-v2/types/index.js +0 -21
  1995. package/core/dist/runtime-v2/types/index.js.map +0 -1
  1996. package/core/dist/runtime-v2/types/intervention-evidence-contract.d.ts.map +0 -1
  1997. package/core/dist/runtime-v2/types/intervention-evidence-contract.js.map +0 -1
  1998. package/core/dist/runtime-v2/types/ledger-store.d.ts.map +0 -1
  1999. package/core/dist/runtime-v2/types/ledger-store.js.map +0 -1
  2000. package/core/dist/runtime-v2/types/pain-signal.d.ts.map +0 -1
  2001. package/core/dist/runtime-v2/types/pain-signal.js.map +0 -1
  2002. package/core/dist/runtime-v2/types/pd-task-types.d.ts.map +0 -1
  2003. package/core/dist/runtime-v2/types/pd-task-types.js.map +0 -1
  2004. package/core/dist/runtime-v2/types/principle-dependency.d.ts.map +0 -1
  2005. package/core/dist/runtime-v2/types/principle-dependency.js.map +0 -1
  2006. package/core/dist/runtime-v2/types/principle-enums.d.ts.map +0 -1
  2007. package/core/dist/runtime-v2/types/principle-enums.js.map +0 -1
  2008. package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts.map +0 -1
  2009. package/core/dist/runtime-v2/types/principle-lifecycle-event.js.map +0 -1
  2010. package/core/dist/runtime-v2/types/principle-schema.d.ts.map +0 -1
  2011. package/core/dist/runtime-v2/types/principle-schema.js.map +0 -1
  2012. package/core/dist/runtime-v2/types/principle-tree-store.d.ts.map +0 -1
  2013. package/core/dist/runtime-v2/types/principle-tree-store.js.map +0 -1
  2014. package/core/dist/runtime-v2/types/principle-value-metrics.d.ts.map +0 -1
  2015. package/core/dist/runtime-v2/types/principle-value-metrics.js.map +0 -1
  2016. package/core/dist/runtime-v2/types/replay-types.d.ts.map +0 -1
  2017. package/core/dist/runtime-v2/types/replay-types.js.map +0 -1
  2018. package/core/dist/runtime-v2/types/rule-candidate-binding.d.ts.map +0 -1
  2019. package/core/dist/runtime-v2/types/rule-candidate-binding.js.map +0 -1
  2020. package/plugin/dist/core/runtime-v2-prompt-activation-reader.d.ts +0 -30
  2021. /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.d.ts +0 -0
  2022. /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.js +0 -0
  2023. /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.d.ts +0 -0
  2024. /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.js +0 -0
  2025. /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.d.ts +0 -0
  2026. /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.js +0 -0
  2027. /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.d.ts +0 -0
  2028. /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.js +0 -0
  2029. /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-principle-intervention.js +0 -0
  2030. /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.d.ts +0 -0
  2031. /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.js +0 -0
  2032. /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.d.ts +0 -0
  2033. /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.js +0 -0
  2034. /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.d.ts +0 -0
  2035. /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.js +0 -0
  2036. /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.d.ts +0 -0
  2037. /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.js +0 -0
  2038. /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.d.ts +0 -0
  2039. /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.js +0 -0
  2040. /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.d.ts +0 -0
  2041. /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.js +0 -0
  2042. /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.d.ts +0 -0
  2043. /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.js +0 -0
  2044. /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.d.ts +0 -0
  2045. /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.js +0 -0
  2046. /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.d.ts +0 -0
  2047. /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.js +0 -0
  2048. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.d.ts +0 -0
  2049. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.js +0 -0
  2050. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.d.ts +0 -0
  2051. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.js +0 -0
  2052. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.d.ts +0 -0
  2053. /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.js +0 -0
  2054. /package/core/dist/{runtime-v2 → runtime}/activation/prompt-budget-policy.d.ts +0 -0
  2055. /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.d.ts +0 -0
  2056. /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.js +0 -0
  2057. /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.d.ts +0 -0
  2058. /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.js +0 -0
  2059. /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.d.ts +0 -0
  2060. /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.js +0 -0
  2061. /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.d.ts +0 -0
  2062. /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.js +0 -0
  2063. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.d.ts +0 -0
  2064. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.js +0 -0
  2065. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.d.ts +0 -0
  2066. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.js +0 -0
  2067. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.d.ts +0 -0
  2068. /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.js +0 -0
  2069. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.d.ts +0 -0
  2070. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.js +0 -0
  2071. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.d.ts +0 -0
  2072. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.js +0 -0
  2073. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.d.ts +0 -0
  2074. /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.js +0 -0
  2075. /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.d.ts +0 -0
  2076. /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.js +0 -0
  2077. /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.d.ts +0 -0
  2078. /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.js +0 -0
  2079. /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.d.ts +0 -0
  2080. /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.js +0 -0
  2081. /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.d.ts +0 -0
  2082. /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.js +0 -0
  2083. /package/core/dist/{runtime-v2 → runtime}/adapter/index.d.ts +0 -0
  2084. /package/core/dist/{runtime-v2 → runtime}/adapter/index.js +0 -0
  2085. /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.d.ts +0 -0
  2086. /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.js +0 -0
  2087. /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.d.ts +0 -0
  2088. /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.js +0 -0
  2089. /package/core/dist/{runtime-v2 → runtime}/adapter/output-repair-contract.d.ts +0 -0
  2090. /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.d.ts +0 -0
  2091. /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.js +0 -0
  2092. /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.d.ts +0 -0
  2093. /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.js +0 -0
  2094. /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.d.ts +0 -0
  2095. /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.js +0 -0
  2096. /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-runtime-adapter.d.ts +0 -0
  2097. /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.d.ts +0 -0
  2098. /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.js +0 -0
  2099. /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.d.ts +0 -0
  2100. /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.js +0 -0
  2101. /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.d.ts +0 -0
  2102. /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.js +0 -0
  2103. /package/core/dist/{runtime-v2 → runtime}/adapter/structured-output-repair.d.ts +0 -0
  2104. /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.d.ts +0 -0
  2105. /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.js +0 -0
  2106. /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.d.ts +0 -0
  2107. /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.js +0 -0
  2108. /package/core/dist/{runtime-v2 → runtime}/admission-gate.d.ts +0 -0
  2109. /package/core/dist/{runtime-v2 → runtime}/admission-gate.js +0 -0
  2110. /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.d.ts +0 -0
  2111. /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.js +0 -0
  2112. /package/core/dist/{runtime-v2 → runtime}/agent-spec.d.ts +0 -0
  2113. /package/core/dist/{runtime-v2 → runtime}/agent-spec.js +0 -0
  2114. /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.d.ts +0 -0
  2115. /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.js +0 -0
  2116. /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.d.ts +0 -0
  2117. /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.js +0 -0
  2118. /package/core/dist/{runtime-v2 → runtime}/candidate-audit.d.ts +0 -0
  2119. /package/core/dist/{runtime-v2 → runtime}/candidate-audit.js +0 -0
  2120. /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.d.ts +0 -0
  2121. /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.js +0 -0
  2122. /package/core/dist/{runtime-v2 → runtime}/candidate-intake.d.ts +0 -0
  2123. /package/core/dist/{runtime-v2 → runtime}/candidate-intake.js +0 -0
  2124. /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.d.ts +0 -0
  2125. /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.js +0 -0
  2126. /package/core/dist/{runtime-v2 → runtime}/cli/index.d.ts +0 -0
  2127. /package/core/dist/{runtime-v2 → runtime}/cli/index.js +0 -0
  2128. /package/core/dist/{runtime-v2 → runtime}/cli/probe.d.ts +0 -0
  2129. /package/core/dist/{runtime-v2 → runtime}/cli/probe.js +0 -0
  2130. /package/core/dist/{runtime-v2 → runtime}/config/index.d.ts +0 -0
  2131. /package/core/dist/{runtime-v2 → runtime}/config/index.js +0 -0
  2132. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.d.ts +0 -0
  2133. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.js +0 -0
  2134. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.d.ts +0 -0
  2135. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.js +0 -0
  2136. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.d.ts +0 -0
  2137. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.js +0 -0
  2138. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.d.ts +0 -0
  2139. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.js +0 -0
  2140. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-redaction.d.ts +0 -0
  2141. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.d.ts +0 -0
  2142. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.js +0 -0
  2143. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.d.ts +0 -0
  2144. /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.js +0 -0
  2145. /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.d.ts +0 -0
  2146. /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.js +0 -0
  2147. /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.d.ts +0 -0
  2148. /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.js +0 -0
  2149. /package/core/dist/{runtime-v2 → runtime}/context-payload.d.ts +0 -0
  2150. /package/core/dist/{runtime-v2 → runtime}/context-payload.js +0 -0
  2151. /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.d.ts +0 -0
  2152. /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.js +0 -0
  2153. /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.d.ts +0 -0
  2154. /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.js +0 -0
  2155. /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.d.ts +0 -0
  2156. /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.js +0 -0
  2157. /package/core/dist/{runtime-v2 → runtime}/core-principles/index.d.ts +0 -0
  2158. /package/core/dist/{runtime-v2 → runtime}/core-principles/index.js +0 -0
  2159. /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.d.ts +0 -0
  2160. /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.js +0 -0
  2161. /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.d.ts +0 -0
  2162. /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.js +0 -0
  2163. /package/core/dist/{runtime-v2 → runtime}/correction/index.d.ts +0 -0
  2164. /package/core/dist/{runtime-v2 → runtime}/correction/index.js +0 -0
  2165. /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.d.ts +0 -0
  2166. /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.js +0 -0
  2167. /package/core/dist/{runtime-v2 → runtime}/detection/index.d.ts +0 -0
  2168. /package/core/dist/{runtime-v2 → runtime}/detection/index.js +0 -0
  2169. /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.d.ts +0 -0
  2170. /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.js +0 -0
  2171. /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.d.ts +0 -0
  2172. /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.js +0 -0
  2173. /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.d.ts +0 -0
  2174. /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.js +0 -0
  2175. /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.d.ts +0 -0
  2176. /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.js +0 -0
  2177. /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.d.ts +0 -0
  2178. /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.js +0 -0
  2179. /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.d.ts +0 -0
  2180. /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.js +0 -0
  2181. /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.d.ts +0 -0
  2182. /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.js +0 -0
  2183. /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.d.ts +0 -0
  2184. /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.js +0 -0
  2185. /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.d.ts +0 -0
  2186. /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.js +0 -0
  2187. /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.d.ts +0 -0
  2188. /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.js +0 -0
  2189. /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.d.ts +0 -0
  2190. /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.js +0 -0
  2191. /package/core/dist/{runtime-v2 → runtime}/evidence-guards.d.ts +0 -0
  2192. /package/core/dist/{runtime-v2 → runtime}/evidence-guards.js +0 -0
  2193. /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.d.ts +0 -0
  2194. /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.js +0 -0
  2195. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.d.ts +0 -0
  2196. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.js +0 -0
  2197. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.d.ts +0 -0
  2198. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.js +0 -0
  2199. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.d.ts +0 -0
  2200. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.js +0 -0
  2201. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.d.ts +0 -0
  2202. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.js +0 -0
  2203. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.d.ts +0 -0
  2204. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.js +0 -0
  2205. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.d.ts +0 -0
  2206. /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.js +0 -0
  2207. /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.d.ts +0 -0
  2208. /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.js +0 -0
  2209. /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.d.ts +0 -0
  2210. /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.js +0 -0
  2211. /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-lifecycle.d.ts +0 -0
  2212. /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.d.ts +0 -0
  2213. /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.js +0 -0
  2214. /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.d.ts +0 -0
  2215. /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.js +0 -0
  2216. /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.d.ts +0 -0
  2217. /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.js +0 -0
  2218. /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.d.ts +0 -0
  2219. /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.js +0 -0
  2220. /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.d.ts +0 -0
  2221. /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.js +0 -0
  2222. /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.d.ts +0 -0
  2223. /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.js +0 -0
  2224. /package/core/dist/{runtime-v2 → runtime}/feedback/index.d.ts +0 -0
  2225. /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.d.ts +0 -0
  2226. /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.js +0 -0
  2227. /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.d.ts +0 -0
  2228. /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.js +0 -0
  2229. /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.d.ts +0 -0
  2230. /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.js +0 -0
  2231. /package/core/dist/{runtime-v2 → runtime}/feedback/redact-sensitive.d.ts +0 -0
  2232. /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.d.ts +0 -0
  2233. /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.js +0 -0
  2234. /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.d.ts +0 -0
  2235. /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.js +0 -0
  2236. /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.d.ts +0 -0
  2237. /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.js +0 -0
  2238. /package/core/dist/{runtime-v2 → runtime}/full-trace-contract.d.ts +0 -0
  2239. /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.d.ts +0 -0
  2240. /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.js +0 -0
  2241. /package/core/dist/{runtime-v2 → runtime}/golden-trace.d.ts +0 -0
  2242. /package/core/dist/{runtime-v2 → runtime}/golden-trace.js +0 -0
  2243. /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.d.ts +0 -0
  2244. /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.js +0 -0
  2245. /package/core/dist/{runtime-v2 → runtime}/governance-experience.d.ts +0 -0
  2246. /package/core/dist/{runtime-v2 → runtime}/governance-experience.js +0 -0
  2247. /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.d.ts +0 -0
  2248. /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.js +0 -0
  2249. /package/core/dist/{runtime-v2 → runtime}/governance-projection.d.ts +0 -0
  2250. /package/core/dist/{runtime-v2 → runtime}/governance-projection.js +0 -0
  2251. /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.d.ts +0 -0
  2252. /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.js +0 -0
  2253. /package/core/dist/{runtime-v2 → runtime}/intent/index.d.ts +0 -0
  2254. /package/core/dist/{runtime-v2 → runtime}/intent/index.js +0 -0
  2255. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.d.ts +0 -0
  2256. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.js +0 -0
  2257. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.d.ts +0 -0
  2258. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.js +0 -0
  2259. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.d.ts +0 -0
  2260. /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.js +0 -0
  2261. /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.d.ts +0 -0
  2262. /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.js +0 -0
  2263. /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.d.ts +0 -0
  2264. /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.js +0 -0
  2265. /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.d.ts +0 -0
  2266. /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.js +0 -0
  2267. /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.d.ts +0 -0
  2268. /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.js +0 -0
  2269. /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.d.ts +0 -0
  2270. /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.js +0 -0
  2271. /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.d.ts +0 -0
  2272. /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.js +0 -0
  2273. /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.d.ts +0 -0
  2274. /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.js +0 -0
  2275. /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.d.ts +0 -0
  2276. /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.js +0 -0
  2277. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.d.ts +0 -0
  2278. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.js +0 -0
  2279. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.d.ts +0 -0
  2280. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.js +0 -0
  2281. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.d.ts +0 -0
  2282. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.js +0 -0
  2283. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.d.ts +0 -0
  2284. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.js +0 -0
  2285. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.d.ts +0 -0
  2286. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.js +0 -0
  2287. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.d.ts +0 -0
  2288. /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.js +0 -0
  2289. /package/core/dist/{runtime-v2 → runtime}/internalization/bash-risk.d.ts +0 -0
  2290. /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.d.ts +0 -0
  2291. /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.js +0 -0
  2292. /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.d.ts +0 -0
  2293. /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.js +0 -0
  2294. /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.d.ts +0 -0
  2295. /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.js +0 -0
  2296. /package/core/dist/{runtime-v2 → runtime}/internalization/correction-proposal.d.ts +0 -0
  2297. /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.d.ts +0 -0
  2298. /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.js +0 -0
  2299. /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.d.ts +0 -0
  2300. /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.js +0 -0
  2301. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.d.ts +0 -0
  2302. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.js +0 -0
  2303. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.d.ts +0 -0
  2304. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.js +0 -0
  2305. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.d.ts +0 -0
  2306. /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.js +0 -0
  2307. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.d.ts +0 -0
  2308. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.js +0 -0
  2309. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.d.ts +0 -0
  2310. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.js +0 -0
  2311. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.d.ts +0 -0
  2312. /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.js +0 -0
  2313. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.d.ts +0 -0
  2314. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.js +0 -0
  2315. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.d.ts +0 -0
  2316. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.js +0 -0
  2317. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.d.ts +0 -0
  2318. /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.js +0 -0
  2319. /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.d.ts +0 -0
  2320. /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.js +0 -0
  2321. /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.d.ts +0 -0
  2322. /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.js +0 -0
  2323. /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.d.ts +0 -0
  2324. /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.js +0 -0
  2325. /package/core/dist/{runtime-v2 → runtime}/internalization/index.d.ts +0 -0
  2326. /package/core/dist/{runtime-v2 → runtime}/internalization/index.js +0 -0
  2327. /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.d.ts +0 -0
  2328. /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.js +0 -0
  2329. /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.d.ts +0 -0
  2330. /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.js +0 -0
  2331. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.d.ts +0 -0
  2332. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.js +0 -0
  2333. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.d.ts +0 -0
  2334. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.js +0 -0
  2335. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.d.ts +0 -0
  2336. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.js +0 -0
  2337. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.d.ts +0 -0
  2338. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.js +0 -0
  2339. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.d.ts +0 -0
  2340. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.js +0 -0
  2341. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.d.ts +0 -0
  2342. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.js +0 -0
  2343. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.d.ts +0 -0
  2344. /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.js +0 -0
  2345. /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.d.ts +0 -0
  2346. /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.js +0 -0
  2347. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.d.ts +0 -0
  2348. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.js +0 -0
  2349. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.d.ts +0 -0
  2350. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.js +0 -0
  2351. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.d.ts +0 -0
  2352. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.js +0 -0
  2353. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.d.ts +0 -0
  2354. /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.js +0 -0
  2355. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.d.ts +0 -0
  2356. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.js +0 -0
  2357. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.d.ts +0 -0
  2358. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.js +0 -0
  2359. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.d.ts +0 -0
  2360. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.js +0 -0
  2361. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.d.ts +0 -0
  2362. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.js +0 -0
  2363. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.d.ts +0 -0
  2364. /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.js +0 -0
  2365. /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.d.ts +0 -0
  2366. /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.js +0 -0
  2367. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.d.ts +0 -0
  2368. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.js +0 -0
  2369. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.d.ts +0 -0
  2370. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.js +0 -0
  2371. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.d.ts +0 -0
  2372. /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.js +0 -0
  2373. /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.d.ts +0 -0
  2374. /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.js +0 -0
  2375. /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.d.ts +0 -0
  2376. /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.js +0 -0
  2377. /package/core/dist/{runtime-v2 → runtime}/internalization/pitask-metadata.d.ts +0 -0
  2378. /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.d.ts +0 -0
  2379. /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.js +0 -0
  2380. /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.d.ts +0 -0
  2381. /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.js +0 -0
  2382. /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.d.ts +0 -0
  2383. /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.js +0 -0
  2384. /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.d.ts +0 -0
  2385. /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.js +0 -0
  2386. /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.d.ts +0 -0
  2387. /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.js +0 -0
  2388. /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.d.ts +0 -0
  2389. /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.js +0 -0
  2390. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.d.ts +0 -0
  2391. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.js +0 -0
  2392. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.d.ts +0 -0
  2393. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.js +0 -0
  2394. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.d.ts +0 -0
  2395. /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.js +0 -0
  2396. /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.d.ts +0 -0
  2397. /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.js +0 -0
  2398. /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.d.ts +0 -0
  2399. /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.js +0 -0
  2400. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.d.ts +0 -0
  2401. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.js +0 -0
  2402. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.d.ts +0 -0
  2403. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.js +0 -0
  2404. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.d.ts +0 -0
  2405. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.js +0 -0
  2406. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.d.ts +0 -0
  2407. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.js +0 -0
  2408. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.d.ts +0 -0
  2409. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.js +0 -0
  2410. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.d.ts +0 -0
  2411. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.js +0 -0
  2412. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.d.ts +0 -0
  2413. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.js +0 -0
  2414. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.d.ts +0 -0
  2415. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.js +0 -0
  2416. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.d.ts +0 -0
  2417. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.js +0 -0
  2418. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.d.ts +0 -0
  2419. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.js +0 -0
  2420. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.d.ts +0 -0
  2421. /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.js +0 -0
  2422. /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.d.ts +0 -0
  2423. /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.js +0 -0
  2424. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.d.ts +0 -0
  2425. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.js +0 -0
  2426. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.d.ts +0 -0
  2427. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.js +0 -0
  2428. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.d.ts +0 -0
  2429. /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.js +0 -0
  2430. /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.d.ts +0 -0
  2431. /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.js +0 -0
  2432. /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.d.ts +0 -0
  2433. /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.js +0 -0
  2434. /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.d.ts +0 -0
  2435. /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.js +0 -0
  2436. /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.d.ts +0 -0
  2437. /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.js +0 -0
  2438. /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.d.ts +0 -0
  2439. /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.js +0 -0
  2440. /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.d.ts +0 -0
  2441. /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.js +0 -0
  2442. /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.d.ts +0 -0
  2443. /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.js +0 -0
  2444. /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.d.ts +0 -0
  2445. /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.js +0 -0
  2446. /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.d.ts +0 -0
  2447. /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.js +0 -0
  2448. /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.d.ts +0 -0
  2449. /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.js +0 -0
  2450. /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.d.ts +0 -0
  2451. /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.js +0 -0
  2452. /package/core/dist/{runtime-v2 → runtime}/language-directive.d.ts +0 -0
  2453. /package/core/dist/{runtime-v2 → runtime}/language-directive.js +0 -0
  2454. /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.d.ts +0 -0
  2455. /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.js +0 -0
  2456. /package/core/dist/{runtime-v2 → runtime}/mainline-contract.d.ts +0 -0
  2457. /package/core/dist/{runtime-v2 → runtime}/mainline-contract.js +0 -0
  2458. /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.d.ts +0 -0
  2459. /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.js +0 -0
  2460. /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.d.ts +0 -0
  2461. /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.js +0 -0
  2462. /package/core/dist/{runtime-v2 → runtime}/operator-health-read-model.d.ts +0 -0
  2463. /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.d.ts +0 -0
  2464. /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.js +0 -0
  2465. /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.d.ts +0 -0
  2466. /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.js +0 -0
  2467. /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.d.ts +0 -0
  2468. /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.js +0 -0
  2469. /package/core/dist/{runtime-v2 → runtime}/owner-identity.d.ts +0 -0
  2470. /package/core/dist/{runtime-v2 → runtime}/owner-identity.js +0 -0
  2471. /package/core/dist/{runtime-v2 → runtime}/pain-chain-read-model.d.ts +0 -0
  2472. /package/core/dist/{runtime-v2 → runtime}/pain-flood-simulation.d.ts +0 -0
  2473. /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.d.ts +0 -0
  2474. /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.js +0 -0
  2475. /package/core/dist/{runtime-v2 → runtime}/pain-ingress.d.ts +0 -0
  2476. /package/core/dist/{runtime-v2 → runtime}/pain-ingress.js +0 -0
  2477. /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.d.ts +0 -0
  2478. /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.js +0 -0
  2479. /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.d.ts +0 -0
  2480. /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.js +0 -0
  2481. /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.d.ts +0 -0
  2482. /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.js +0 -0
  2483. /package/core/dist/{runtime-v2 → runtime}/pain-signal-observability.js +0 -0
  2484. /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.d.ts +0 -0
  2485. /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.js +0 -0
  2486. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.d.ts +0 -0
  2487. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.js +0 -0
  2488. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.d.ts +0 -0
  2489. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.js +0 -0
  2490. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.d.ts +0 -0
  2491. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.js +0 -0
  2492. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.d.ts +0 -0
  2493. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.js +0 -0
  2494. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.d.ts +0 -0
  2495. /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.js +0 -0
  2496. /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.d.ts +0 -0
  2497. /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.js +0 -0
  2498. /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.d.ts +0 -0
  2499. /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.js +0 -0
  2500. /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.d.ts +0 -0
  2501. /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.js +0 -0
  2502. /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.d.ts +0 -0
  2503. /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.js +0 -0
  2504. /package/core/dist/{runtime-v2 → runtime}/proven-channel-baseline.d.ts +0 -0
  2505. /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.d.ts +0 -0
  2506. /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.js +0 -0
  2507. /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.d.ts +0 -0
  2508. /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.js +0 -0
  2509. /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.d.ts +0 -0
  2510. /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.js +0 -0
  2511. /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.d.ts +0 -0
  2512. /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.js +0 -0
  2513. /package/core/dist/{runtime-v2 → runtime}/remediation-contract.d.ts +0 -0
  2514. /package/core/dist/{runtime-v2 → runtime}/remediation-contract.js +0 -0
  2515. /package/core/dist/{runtime-v2 → runtime}/risk/index.d.ts +0 -0
  2516. /package/core/dist/{runtime-v2 → runtime}/risk/index.js +0 -0
  2517. /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.d.ts +0 -0
  2518. /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.js +0 -0
  2519. /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.d.ts +0 -0
  2520. /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.js +0 -0
  2521. /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.d.ts +0 -0
  2522. /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.js +0 -0
  2523. /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.d.ts +0 -0
  2524. /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.js +0 -0
  2525. /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.d.ts +0 -0
  2526. /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.js +0 -0
  2527. /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.d.ts +0 -0
  2528. /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.js +0 -0
  2529. /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.d.ts +0 -0
  2530. /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.js +0 -0
  2531. /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.d.ts +0 -0
  2532. /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.js +0 -0
  2533. /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.d.ts +0 -0
  2534. /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.js +0 -0
  2535. /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.d.ts +0 -0
  2536. /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.js +0 -0
  2537. /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.d.ts +0 -0
  2538. /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.js +0 -0
  2539. /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.d.ts +0 -0
  2540. /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.js +0 -0
  2541. /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.d.ts +0 -0
  2542. /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.js +0 -0
  2543. /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.d.ts +0 -0
  2544. /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.js +0 -0
  2545. /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.d.ts +0 -0
  2546. /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.js +0 -0
  2547. /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.d.ts +0 -0
  2548. /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.js +0 -0
  2549. /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.d.ts +0 -0
  2550. /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.js +0 -0
  2551. /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.d.ts +0 -0
  2552. /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.js +0 -0
  2553. /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.d.ts +0 -0
  2554. /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.js +0 -0
  2555. /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.d.ts +0 -0
  2556. /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.js +0 -0
  2557. /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.d.ts +0 -0
  2558. /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.js +0 -0
  2559. /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.d.ts +0 -0
  2560. /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.js +0 -0
  2561. /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.d.ts +0 -0
  2562. /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.js +0 -0
  2563. /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.d.ts +0 -0
  2564. /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.js +0 -0
  2565. /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.d.ts +0 -0
  2566. /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.js +0 -0
  2567. /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.d.ts +0 -0
  2568. /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.js +0 -0
  2569. /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.d.ts +0 -0
  2570. /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.js +0 -0
  2571. /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.d.ts +0 -0
  2572. /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.js +0 -0
  2573. /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.d.ts +0 -0
  2574. /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.js +0 -0
  2575. /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.d.ts +0 -0
  2576. /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.js +0 -0
  2577. /package/core/dist/{runtime-v2 → runtime}/store/commit/index.d.ts +0 -0
  2578. /package/core/dist/{runtime-v2 → runtime}/store/commit/index.js +0 -0
  2579. /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.d.ts +0 -0
  2580. /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.js +0 -0
  2581. /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.d.ts +0 -0
  2582. /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.js +0 -0
  2583. /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.d.ts +0 -0
  2584. /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.js +0 -0
  2585. /package/core/dist/{runtime-v2 → runtime}/store/context/index.d.ts +0 -0
  2586. /package/core/dist/{runtime-v2 → runtime}/store/context/index.js +0 -0
  2587. /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.d.ts +0 -0
  2588. /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.js +0 -0
  2589. /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.d.ts +0 -0
  2590. /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.js +0 -0
  2591. /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.d.ts +0 -0
  2592. /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.js +0 -0
  2593. /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.d.ts +0 -0
  2594. /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.js +0 -0
  2595. /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.d.ts +0 -0
  2596. /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.js +0 -0
  2597. /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.d.ts +0 -0
  2598. /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.js +0 -0
  2599. /package/core/dist/{runtime-v2 → runtime}/store/history/index.d.ts +0 -0
  2600. /package/core/dist/{runtime-v2 → runtime}/store/history/index.js +0 -0
  2601. /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.d.ts +0 -0
  2602. /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.js +0 -0
  2603. /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.d.ts +0 -0
  2604. /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.js +0 -0
  2605. /package/core/dist/{runtime-v2 → runtime}/store/intent/index.d.ts +0 -0
  2606. /package/core/dist/{runtime-v2 → runtime}/store/intent/index.js +0 -0
  2607. /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.d.ts +0 -0
  2608. /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.js +0 -0
  2609. /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.d.ts +0 -0
  2610. /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.js +0 -0
  2611. /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.d.ts +0 -0
  2612. /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.js +0 -0
  2613. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.d.ts +0 -0
  2614. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.js +0 -0
  2615. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.d.ts +0 -0
  2616. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.js +0 -0
  2617. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.d.ts +0 -0
  2618. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.js +0 -0
  2619. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.d.ts +0 -0
  2620. /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.js +0 -0
  2621. /package/core/dist/{runtime-v2 → runtime}/store/pain/index.d.ts +0 -0
  2622. /package/core/dist/{runtime-v2 → runtime}/store/pain/index.js +0 -0
  2623. /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.d.ts +0 -0
  2624. /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.js +0 -0
  2625. /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.d.ts +0 -0
  2626. /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.js +0 -0
  2627. /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts +0 -0
  2628. /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.js +0 -0
  2629. /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.d.ts +0 -0
  2630. /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.js +0 -0
  2631. /package/core/dist/{runtime-v2 → runtime}/store/run/index.d.ts +0 -0
  2632. /package/core/dist/{runtime-v2 → runtime}/store/run/index.js +0 -0
  2633. /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.d.ts +0 -0
  2634. /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.js +0 -0
  2635. /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.d.ts +0 -0
  2636. /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.js +0 -0
  2637. /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.d.ts +0 -0
  2638. /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.js +0 -0
  2639. /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.d.ts +0 -0
  2640. /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.js +0 -0
  2641. /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.d.ts +0 -0
  2642. /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.js +0 -0
  2643. /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.d.ts +0 -0
  2644. /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.js +0 -0
  2645. /package/core/dist/{runtime-v2 → runtime}/store/task/index.d.ts +0 -0
  2646. /package/core/dist/{runtime-v2 → runtime}/store/task/index.js +0 -0
  2647. /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.d.ts +0 -0
  2648. /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.js +0 -0
  2649. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.d.ts +0 -0
  2650. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.js +0 -0
  2651. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.d.ts +0 -0
  2652. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.js +0 -0
  2653. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.d.ts +0 -0
  2654. /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.js +0 -0
  2655. /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.d.ts +0 -0
  2656. /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.js +0 -0
  2657. /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.d.ts +0 -0
  2658. /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.js +0 -0
  2659. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.d.ts +0 -0
  2660. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.js +0 -0
  2661. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.d.ts +0 -0
  2662. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.js +0 -0
  2663. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.d.ts +0 -0
  2664. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.js +0 -0
  2665. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.d.ts +0 -0
  2666. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.js +0 -0
  2667. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.d.ts +0 -0
  2668. /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.js +0 -0
  2669. /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.d.ts +0 -0
  2670. /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.js +0 -0
  2671. /package/core/dist/{runtime-v2 → runtime}/story-a-demo.js +0 -0
  2672. /package/core/dist/{runtime-v2 → runtime}/synthetic-baseline.d.ts +0 -0
  2673. /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.d.ts +0 -0
  2674. /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.js +0 -0
  2675. /package/core/dist/{runtime-v2 → runtime}/task-status.d.ts +0 -0
  2676. /package/core/dist/{runtime-v2 → runtime}/task-status.js +0 -0
  2677. /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.d.ts +0 -0
  2678. /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.js +0 -0
  2679. /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.d.ts +0 -0
  2680. /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.js +0 -0
  2681. /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.d.ts +0 -0
  2682. /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.js +0 -0
  2683. /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.d.ts +0 -0
  2684. /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.js +0 -0
  2685. /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.d.ts +0 -0
  2686. /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.js +0 -0
  2687. /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.d.ts +0 -0
  2688. /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.js +0 -0
  2689. /package/core/dist/{runtime-v2 → runtime}/types/event-payload.d.ts +0 -0
  2690. /package/core/dist/{runtime-v2 → runtime}/types/event-payload.js +0 -0
  2691. /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.d.ts +0 -0
  2692. /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.js +0 -0
  2693. /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.d.ts +0 -0
  2694. /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.js +0 -0
  2695. /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.d.ts +0 -0
  2696. /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.js +0 -0
  2697. /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.d.ts +0 -0
  2698. /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.js +0 -0
  2699. /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.d.ts +0 -0
  2700. /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.js +0 -0
  2701. /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.d.ts +0 -0
  2702. /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.js +0 -0
  2703. /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.d.ts +0 -0
  2704. /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.js +0 -0
  2705. /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.d.ts +0 -0
  2706. /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.js +0 -0
  2707. /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.d.ts +0 -0
  2708. /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.js +0 -0
  2709. /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.d.ts +0 -0
  2710. /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.js +0 -0
  2711. /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.d.ts +0 -0
  2712. /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.js +0 -0
  2713. /package/core/dist/{runtime-v2 → runtime}/types/replay-types.d.ts +0 -0
  2714. /package/core/dist/{runtime-v2 → runtime}/types/replay-types.js +0 -0
  2715. /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.d.ts +0 -0
  2716. /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- var xi=Object.defineProperty;var Oi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ar=(e,t)=>{for(var r in t)xi(e,r,{get:t[r],enumerable:!0})};import*as B from"fs";import*as Dt from"path";var Hr={receiptState:["open","closed","reconciled"],execution:["completed","degraded","timeout","failed","unknown"],payload:["none","prepared","returned","confirmed","unknown"],selection:["selected","none_applicable","skipped","unavailable"],submission:["proceeded","blocked","unknown"]};function qr(e){return e===null||typeof e!="object"||Array.isArray(e)||Object.getPrototypeOf(e)!==Object.prototype||Object.hasOwn(e,"__proto__")?!1:Reflect.ownKeys(e).every(r=>{if(typeof r!="string")return!1;let o=Object.getOwnPropertyDescriptor(e,r);return o!==void 0&&Object.hasOwn(o,"value")})}function Ze(e){return typeof e=="string"&&e.trim().length>0}function Ei(e,t){return typeof e=="string"&&t.includes(e)}var Wr=()=>({ok:!1,errors:["record must be a plain data object"]});function zr(e){try{let t=[];if(!qr(e))return Wr();let r=Object.hasOwn(e,"evidence"),o=r?e.evidence:void 0,s=qr(o)?o:void 0,c=!r||s!==void 0,m=c&&r;c||t.push("evidence must be a plain data object when present"),(!Object.hasOwn(e,"hookInvocationId")||!Ze(e.hookInvocationId))&&t.push("hookInvocationId must be a non-empty string"),Object.hasOwn(e,"requestId")&&!Ze(e.requestId)&&t.push("requestId must be a non-empty string when present");for(let f of Object.keys(Hr)){let N=Hr[f];(!Object.hasOwn(e,f)||!Ei(e[f],N))&&t.push(`${f} must be one of: ${N.join(", ")}`)}if(Object.hasOwn(e,"selectionPending")&&typeof e.selectionPending!="boolean"&&t.push("selectionPending must be a boolean when present"),e.receiptState==="open"){for(let f of["execution","payload","submission"])e[f]!=="unknown"&&t.push(`open receipt requires ${f}=unknown`);(e.selection!=="unavailable"||e.selectionPending!==!0)&&t.push("open receipt requires selection=unavailable and selectionPending=true")}else e.selectionPending===!0&&t.push("selectionPending cannot be true for a terminal receipt");if(e.payload==="confirmed"&&(e.execution!=="completed"&&t.push("confirmed payload requires execution=completed"),(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("confirmed payload requires independentlyVerified=true"),(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("confirmed payload requires a non-empty evidence.reference")),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("known submission requires a non-empty independent evidence.reference"),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("known submission requires independentlyVerified=true"),typeof e.execution=="string"&&["degraded","timeout","failed","unknown"].includes(e.execution)&&typeof e.payload=="string"&&["returned","confirmed"].includes(e.payload)&&t.push(`${e.execution} execution cannot have payload=${e.payload}`),e.execution==="timeout"&&((!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("timeout requires independently verified evidence with a non-empty reference"),(!m||!s||!Object.hasOwn(s,"hostKillConfirmed")||s.hostKillConfirmed!==!0)&&t.push("timeout requires evidence.hostKillConfirmed=true")),e.selection==="none_applicable"&&(e.execution!=="completed"||e.payload!=="none")&&t.push("none_applicable requires execution=completed and payload=none"),e.selection==="unavailable"&&typeof e.payload=="string"&&["prepared","returned","confirmed"].includes(e.payload)&&t.push(`unavailable selection cannot have payload=${e.payload}`),c&&s){Object.hasOwn(s,"reference")&&!Ze(s.reference)&&t.push("evidence.reference must be a non-empty string when present");for(let f of["independentlyVerified","hostKillConfirmed"])Object.hasOwn(s,f)&&typeof s[f]!="boolean"&&t.push(`evidence.${f} must be a boolean when present`)}return{ok:t.length===0,errors:t}}catch{return Wr()}}import*as ur from"path";import*as Yr from"os";var Si=[/(^|[/\\])fake([/\\]|$)/i,/(^|[/\\])mock([/\\]|$)/i,/(^|[/\\])tmp[/\\]fake-/i],hi=ur.join(Yr.tmpdir(),".pd-test-quarantine");function Ri(e){if(!e)return!1;let t=e.replace(/\\/g,"/");return Si.some(r=>r.test(t))}function Jr(e){if(!e||!(process.env.NODE_ENV==="test"||!!process.env.VITEST)||!Ri(e))return e;let r=e.replace(/[:*?"<>|]/g,"_").replace(/[/\\]/g,"_");for(;r.startsWith("_");)r=r.slice(1);for(;r.endsWith("_");)r=r.slice(0,-1);return ur.join(hi,r)}var H={};ar(H,{HasPropertyKey:()=>kt,IsArray:()=>v,IsAsyncIterator:()=>cr,IsBigInt:()=>bt,IsBoolean:()=>Te,IsDate:()=>Ve,IsFunction:()=>pr,IsIterator:()=>mr,IsNull:()=>fr,IsNumber:()=>Q,IsObject:()=>O,IsRegExp:()=>gt,IsString:()=>R,IsSymbol:()=>dr,IsUint8Array:()=>Fe,IsUndefined:()=>D});function kt(e,t){return t in e}function cr(e){return O(e)&&!v(e)&&!Fe(e)&&Symbol.asyncIterator in e}function v(e){return Array.isArray(e)}function bt(e){return typeof e=="bigint"}function Te(e){return typeof e=="boolean"}function Ve(e){return e instanceof globalThis.Date}function pr(e){return typeof e=="function"}function mr(e){return O(e)&&!v(e)&&!Fe(e)&&Symbol.iterator in e}function fr(e){return e===null}function Q(e){return typeof e=="number"}function O(e){return typeof e=="object"&&e!==null}function gt(e){return e instanceof globalThis.RegExp}function R(e){return typeof e=="string"}function dr(e){return typeof e=="symbol"}function Fe(e){return e instanceof globalThis.Uint8Array}function D(e){return e===void 0}function Ti(e){return e.map(t=>Kt(t))}function Fi(e){return new Date(e.getTime())}function Ai(e){return new Uint8Array(e)}function _i(e){return new RegExp(e.source,e.flags)}function Ni(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=Kt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=Kt(e[r]);return t}function Kt(e){return v(e)?Ti(e):Ve(e)?Fi(e):Fe(e)?Ai(e):gt(e)?_i(e):O(e)?Ni(e):e}function A(e){return Kt(e)}function Xe(e,t){return t===void 0?A(e):A({...t,...e})}function Zr(e){return e!==null&&typeof e=="object"}function Xr(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Qr(e){return e===void 0}function en(e){return typeof e=="number"}var Ut;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(m,f){return e.ExactOptionalPropertyTypes?f in m:m[f]!==void 0}e.IsExactOptionalProperty=t;function r(m){let f=Zr(m);return e.AllowArrayObject?f:f&&!Xr(m)}e.IsObjectLike=r;function o(m){return r(m)&&!(m instanceof Date)&&!(m instanceof Uint8Array)}e.IsRecordLike=o;function s(m){return e.AllowNaN?en(m):Number.isFinite(m)}e.IsNumberLike=s;function c(m){let f=Qr(m);return e.AllowNullVoid?f||m===null:f}e.IsVoidLike=c})(Ut||(Ut={}));function ji(e){return globalThis.Object.freeze(e).map(t=>xt(t))}function Pi(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=xt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=xt(e[r]);return globalThis.Object.freeze(t)}function xt(e){return v(e)?ji(e):Ve(e)?e:Fe(e)?e:gt(e)?e:O(e)?Pi(e):e}function a(e,t){let r=t!==void 0?{...t,...e}:e;switch(Ut.InstanceMode){case"freeze":return xt(r);case"clone":return A(r);default:return r}}var G=class extends Error{constructor(t){super(t)}};var K=Symbol.for("TypeBox.Transform"),fe=Symbol.for("TypeBox.Readonly"),$=Symbol.for("TypeBox.Optional"),se=Symbol.for("TypeBox.Hint"),p=Symbol.for("TypeBox.Kind");function Qe(e){return O(e)&&e[fe]==="Readonly"}function Y(e){return O(e)&&e[$]==="Optional"}function lr(e){return l(e,"Any")}function Ir(e){return l(e,"Argument")}function de(e){return l(e,"Array")}function $e(e){return l(e,"AsyncIterator")}function Be(e){return l(e,"BigInt")}function Ae(e){return l(e,"Boolean")}function le(e){return l(e,"Computed")}function Ie(e){return l(e,"Constructor")}function Ci(e){return l(e,"Date")}function ye(e){return l(e,"Function")}function be(e){return l(e,"Integer")}function j(e){return l(e,"Intersect")}function He(e){return l(e,"Iterator")}function l(e,t){return O(e)&&p in e&&e[p]===t}function wt(e){return Te(e)||Q(e)||R(e)}function ee(e){return l(e,"Literal")}function te(e){return l(e,"MappedKey")}function _(e){return l(e,"MappedResult")}function Pe(e){return l(e,"Never")}function Li(e){return l(e,"Not")}function Ot(e){return l(e,"Null")}function ge(e){return l(e,"Number")}function k(e){return l(e,"Object")}function qe(e){return l(e,"Promise")}function We(e){return l(e,"Record")}function C(e){return l(e,"Ref")}function yr(e){return l(e,"RegExp")}function _e(e){return l(e,"String")}function Et(e){return l(e,"Symbol")}function re(e){return l(e,"TemplateLiteral")}function vi(e){return l(e,"This")}function Ce(e){return O(e)&&K in e}function ne(e){return l(e,"Tuple")}function St(e){return l(e,"Undefined")}function I(e){return l(e,"Union")}function Di(e){return l(e,"Uint8Array")}function ki(e){return l(e,"Unknown")}function Ki(e){return l(e,"Unsafe")}function Ui(e){return l(e,"Void")}function wi(e){return O(e)&&p in e&&R(e[p])}function oe(e){return lr(e)||Ir(e)||de(e)||Ae(e)||Be(e)||$e(e)||le(e)||Ie(e)||Ci(e)||ye(e)||be(e)||j(e)||He(e)||ee(e)||te(e)||_(e)||Pe(e)||Li(e)||Ot(e)||ge(e)||k(e)||qe(e)||We(e)||C(e)||yr(e)||_e(e)||Et(e)||re(e)||vi(e)||ne(e)||St(e)||I(e)||Di(e)||ki(e)||Ki(e)||Ui(e)||wi(e)}var i={};ar(i,{IsAny:()=>on,IsArgument:()=>sn,IsArray:()=>an,IsAsyncIterator:()=>un,IsBigInt:()=>cn,IsBoolean:()=>pn,IsComputed:()=>mn,IsConstructor:()=>fn,IsDate:()=>dn,IsFunction:()=>ln,IsImport:()=>Hi,IsInteger:()=>In,IsIntersect:()=>yn,IsIterator:()=>bn,IsKind:()=>$n,IsKindOf:()=>d,IsLiteral:()=>Rt,IsLiteralBoolean:()=>qi,IsLiteralNumber:()=>xn,IsLiteralString:()=>gn,IsLiteralValue:()=>On,IsMappedKey:()=>En,IsMappedResult:()=>Sn,IsNever:()=>hn,IsNot:()=>Rn,IsNull:()=>Tn,IsNumber:()=>Fn,IsObject:()=>An,IsOptional:()=>Bi,IsPromise:()=>_n,IsProperties:()=>Gt,IsReadonly:()=>$i,IsRecord:()=>Nn,IsRecursive:()=>Wi,IsRef:()=>jn,IsRegExp:()=>Pn,IsSchema:()=>M,IsString:()=>Cn,IsSymbol:()=>Ln,IsTemplateLiteral:()=>vn,IsThis:()=>Dn,IsTransform:()=>kn,IsTuple:()=>Kn,IsUint8Array:()=>wn,IsUndefined:()=>Un,IsUnion:()=>Or,IsUnionLiteral:()=>zi,IsUnknown:()=>Gn,IsUnsafe:()=>Mn,IsVoid:()=>Vn,TypeGuardUnknownTypeError:()=>br});var br=class extends G{},Gi=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function tn(e){try{return new RegExp(e),!0}catch{return!1}}function gr(e){if(!R(e))return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127)return!1}return!0}function rn(e){return xr(e)||M(e)}function ht(e){return D(e)||bt(e)}function T(e){return D(e)||Q(e)}function xr(e){return D(e)||Te(e)}function E(e){return D(e)||R(e)}function Mi(e){return D(e)||R(e)&&gr(e)&&tn(e)}function Vi(e){return D(e)||R(e)&&gr(e)}function nn(e){return D(e)||M(e)}function $i(e){return O(e)&&e[fe]==="Readonly"}function Bi(e){return O(e)&&e[$]==="Optional"}function on(e){return d(e,"Any")&&E(e.$id)}function sn(e){return d(e,"Argument")&&Q(e.index)}function an(e){return d(e,"Array")&&e.type==="array"&&E(e.$id)&&M(e.items)&&T(e.minItems)&&T(e.maxItems)&&xr(e.uniqueItems)&&nn(e.contains)&&T(e.minContains)&&T(e.maxContains)}function un(e){return d(e,"AsyncIterator")&&e.type==="AsyncIterator"&&E(e.$id)&&M(e.items)}function cn(e){return d(e,"BigInt")&&e.type==="bigint"&&E(e.$id)&&ht(e.exclusiveMaximum)&&ht(e.exclusiveMinimum)&&ht(e.maximum)&&ht(e.minimum)&&ht(e.multipleOf)}function pn(e){return d(e,"Boolean")&&e.type==="boolean"&&E(e.$id)}function mn(e){return d(e,"Computed")&&R(e.target)&&v(e.parameters)&&e.parameters.every(t=>M(t))}function fn(e){return d(e,"Constructor")&&e.type==="Constructor"&&E(e.$id)&&v(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function dn(e){return d(e,"Date")&&e.type==="Date"&&E(e.$id)&&T(e.exclusiveMaximumTimestamp)&&T(e.exclusiveMinimumTimestamp)&&T(e.maximumTimestamp)&&T(e.minimumTimestamp)&&T(e.multipleOfTimestamp)}function ln(e){return d(e,"Function")&&e.type==="Function"&&E(e.$id)&&v(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function Hi(e){return d(e,"Import")&&kt(e,"$defs")&&O(e.$defs)&&Gt(e.$defs)&&kt(e,"$ref")&&R(e.$ref)&&e.$ref in e.$defs}function In(e){return d(e,"Integer")&&e.type==="integer"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function Gt(e){return O(e)&&Object.entries(e).every(([t,r])=>gr(t)&&M(r))}function yn(e){return d(e,"Intersect")&&!(R(e.type)&&e.type!=="object")&&v(e.allOf)&&e.allOf.every(t=>M(t)&&!kn(t))&&E(e.type)&&(xr(e.unevaluatedProperties)||nn(e.unevaluatedProperties))&&E(e.$id)}function bn(e){return d(e,"Iterator")&&e.type==="Iterator"&&E(e.$id)&&M(e.items)}function d(e,t){return O(e)&&p in e&&e[p]===t}function gn(e){return Rt(e)&&R(e.const)}function xn(e){return Rt(e)&&Q(e.const)}function qi(e){return Rt(e)&&Te(e.const)}function Rt(e){return d(e,"Literal")&&E(e.$id)&&On(e.const)}function On(e){return Te(e)||Q(e)||R(e)}function En(e){return d(e,"MappedKey")&&v(e.keys)&&e.keys.every(t=>Q(t)||R(t))}function Sn(e){return d(e,"MappedResult")&&Gt(e.properties)}function hn(e){return d(e,"Never")&&O(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Rn(e){return d(e,"Not")&&M(e.not)}function Tn(e){return d(e,"Null")&&e.type==="null"&&E(e.$id)}function Fn(e){return d(e,"Number")&&e.type==="number"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function An(e){return d(e,"Object")&&e.type==="object"&&E(e.$id)&&Gt(e.properties)&&rn(e.additionalProperties)&&T(e.minProperties)&&T(e.maxProperties)}function _n(e){return d(e,"Promise")&&e.type==="Promise"&&E(e.$id)&&M(e.item)}function Nn(e){return d(e,"Record")&&e.type==="object"&&E(e.$id)&&rn(e.additionalProperties)&&O(e.patternProperties)&&(t=>{let r=Object.getOwnPropertyNames(t.patternProperties);return r.length===1&&tn(r[0])&&O(t.patternProperties)&&M(t.patternProperties[r[0]])})(e)}function Wi(e){return O(e)&&se in e&&e[se]==="Recursive"}function jn(e){return d(e,"Ref")&&E(e.$id)&&R(e.$ref)}function Pn(e){return d(e,"RegExp")&&E(e.$id)&&R(e.source)&&R(e.flags)&&T(e.maxLength)&&T(e.minLength)}function Cn(e){return d(e,"String")&&e.type==="string"&&E(e.$id)&&T(e.minLength)&&T(e.maxLength)&&Mi(e.pattern)&&Vi(e.format)}function Ln(e){return d(e,"Symbol")&&e.type==="symbol"&&E(e.$id)}function vn(e){return d(e,"TemplateLiteral")&&e.type==="string"&&R(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function Dn(e){return d(e,"This")&&E(e.$id)&&R(e.$ref)}function kn(e){return O(e)&&K in e}function Kn(e){return d(e,"Tuple")&&e.type==="array"&&E(e.$id)&&Q(e.minItems)&&Q(e.maxItems)&&e.minItems===e.maxItems&&(D(e.items)&&D(e.additionalItems)&&e.minItems===0||v(e.items)&&e.items.every(t=>M(t)))}function Un(e){return d(e,"Undefined")&&e.type==="undefined"&&E(e.$id)}function zi(e){return Or(e)&&e.anyOf.every(t=>gn(t)||xn(t))}function Or(e){return d(e,"Union")&&E(e.$id)&&O(e)&&v(e.anyOf)&&e.anyOf.every(t=>M(t))}function wn(e){return d(e,"Uint8Array")&&e.type==="Uint8Array"&&E(e.$id)&&T(e.minByteLength)&&T(e.maxByteLength)}function Gn(e){return d(e,"Unknown")&&E(e.$id)}function Mn(e){return d(e,"Unsafe")}function Vn(e){return d(e,"Void")&&e.type==="void"&&E(e.$id)}function $n(e){return O(e)&&p in e&&R(e[p])&&!Gi.includes(e[p])}function M(e){return O(e)&&(on(e)||sn(e)||an(e)||pn(e)||cn(e)||un(e)||mn(e)||fn(e)||dn(e)||ln(e)||In(e)||yn(e)||bn(e)||Rt(e)||En(e)||Sn(e)||hn(e)||Rn(e)||Tn(e)||Fn(e)||An(e)||_n(e)||Nn(e)||jn(e)||Pn(e)||Cn(e)||Ln(e)||vn(e)||Dn(e)||Kn(e)||Un(e)||Or(e)||wn(e)||Gn(e)||Mn(e)||Vn(e)||$n(e))}var Er="(true|false)",Tt="(0|[1-9][0-9]*)",Sr="(.*)",Yi="(?!.*)",Hp=`^${Er}$`,Le=`^${Tt}$`,ve=`^${Sr}$`,Bn=`^${Yi}$`;function Hn(e,t){return e.includes(t)}function qn(e){return[...new Set(e)]}function Ji(e,t){return e.filter(r=>t.includes(r))}function Zi(e,t){return e.reduce((r,o)=>Ji(r,o),t)}function Wn(e){return e.length===1?e[0]:e.length>1?Zi(e.slice(1),e[0]):[]}function zn(e){let t=[];for(let r of e)t.push(...r);return t}function De(e){return a({[p]:"Any"},e)}function et(e,t){return a({[p]:"Array",type:"array",items:e},t)}function Yn(e){return a({[p]:"Argument",index:e})}function tt(e,t){return a({[p]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function F(e,t,r){return a({[p]:"Computed",target:e,parameters:t},r)}function Xi(e,t){let{[t]:r,...o}=e;return o}function P(e,t){return t.reduce((r,o)=>Xi(r,o),e)}function y(e){return a({[p]:"Never",not:{}},e)}function b(e){return a({[p]:"MappedResult",properties:e})}function rt(e,t,r){return a({[p]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function Se(e,t,r){return a({[p]:"Function",type:"Function",parameters:e,returns:t},r)}function Ft(e,t){return a({[p]:"Union",anyOf:e},t)}function Qi(e){return e.some(t=>Y(t))}function Jn(e){return e.map(t=>Y(t)?es(t):t)}function es(e){return P(e,[$])}function ts(e,t){return Qi(e)?q(Ft(Jn(e),t)):Ft(Jn(e),t)}function he(e,t){return e.length===1?a(e[0],t):e.length===0?y(t):ts(e,t)}function x(e,t){return e.length===0?y(t):e.length===1?a(e[0],t):Ft(e,t)}var Mt=class extends G{};function rs(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function hr(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function je(e,t){return hr(e,t,"(")}function At(e,t){return hr(e,t,")")}function Zn(e,t){return hr(e,t,"|")}function ns(e){if(!(je(e,0)&&At(e,e.length-1)))return!1;let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),t===0&&r!==e.length-1)return!1;return!0}function os(e){return e.slice(1,e.length-1)}function is(e){let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),Zn(e,r)&&t===0)return!0;return!1}function ss(e){for(let t=0;t<e.length;t++)if(je(e,t))return!0;return!1}function as(e){let[t,r]=[0,0],o=[];for(let c=0;c<e.length;c++)if(je(e,c)&&(t+=1),At(e,c)&&(t-=1),Zn(e,c)&&t===0){let m=e.slice(r,c);m.length>0&&o.push(nt(m)),r=c+1}let s=e.slice(r);return s.length>0&&o.push(nt(s)),o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"or",expr:o}}function us(e){function t(s,c){if(!je(s,c))throw new Mt("TemplateLiteralParser: Index must point to open parens");let m=0;for(let f=c;f<s.length;f++)if(je(s,f)&&(m+=1),At(s,f)&&(m-=1),m===0)return[c,f];throw new Mt("TemplateLiteralParser: Unclosed group parens in expression")}function r(s,c){for(let m=c;m<s.length;m++)if(je(s,m))return[c,m];return[c,s.length]}let o=[];for(let s=0;s<e.length;s++)if(je(e,s)){let[c,m]=t(e,s),f=e.slice(c,m+1);o.push(nt(f)),s=m}else{let[c,m]=r(e,s),f=e.slice(c,m);f.length>0&&o.push(nt(f)),s=m-1}return o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"and",expr:o}}function nt(e){return ns(e)?nt(os(e)):is(e)?as(e):ss(e)?us(e):{type:"const",const:rs(e)}}function ot(e){return nt(e.slice(1,e.length-1))}var Rr=class extends G{};function cs(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function ps(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function ms(e){return e.type==="const"&&e.const===".*"}function ze(e){return cs(e)||ms(e)?!1:ps(e)?!0:e.type==="and"?e.expr.every(t=>ze(t)):e.type==="or"?e.expr.every(t=>ze(t)):e.type==="const"?!0:(()=>{throw new Rr("Unknown expression type")})()}function Xn(e){let t=ot(e.pattern);return ze(t)}var Tr=class extends G{};function*Qn(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let r of Qn(e.slice(1)))yield`${t}${r}`}function*fs(e){return yield*Qn(e.expr.map(t=>[..._t(t)]))}function*ds(e){for(let t of e.expr)yield*_t(t)}function*ls(e){return yield e.const}function*_t(e){return e.type==="and"?yield*fs(e):e.type==="or"?yield*ds(e):e.type==="const"?yield*ls(e):(()=>{throw new Tr("Unknown expression")})()}function Vt(e){let t=ot(e.pattern);return ze(t)?[..._t(t)]:[]}function g(e,t){return a({[p]:"Literal",const:e,type:typeof e},t)}function $t(e){return a({[p]:"Boolean",type:"boolean"},e)}function it(e){return a({[p]:"BigInt",type:"bigint"},e)}function ae(e){return a({[p]:"Number",type:"number"},e)}function xe(e){return a({[p]:"String",type:"string"},e)}function*Is(e){let t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield $t():t==="number"?yield ae():t==="bigint"?yield it():t==="string"?yield xe():yield(()=>{let r=t.split("|").map(o=>g(o.trim()));return r.length===0?y():r.length===1?r[0]:he(r)})()}function*ys(e){if(e[1]!=="{"){let t=g("$"),r=Fr(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++)if(e[t]==="}"){let r=Is(e.slice(2,t)),o=Fr(e.slice(t+1));return yield*[...r,...o]}yield g(e)}function*Fr(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){let r=g(e.slice(0,t)),o=ys(e.slice(t));return yield*[r,...o]}yield g(e)}function eo(e){return[...Fr(e)]}var Ar=class extends G{};function bs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(e,t){return re(e)?e.pattern.slice(1,e.pattern.length-1):I(e)?`(${e.anyOf.map(r=>to(r,t)).join("|")})`:ge(e)?`${t}${Tt}`:be(e)?`${t}${Tt}`:Be(e)?`${t}${Tt}`:_e(e)?`${t}${Sr}`:ee(e)?`${t}${bs(e.const.toString())}`:Ae(e)?`${t}${Er}`:(()=>{throw new Ar(`Unexpected Kind '${e[p]}'`)})()}function _r(e){return`^${e.map(t=>to(t,"")).join("")}$`}function Ye(e){let r=Vt(e).map(o=>g(o));return he(r)}function Bt(e,t){let r=R(e)?_r(eo(e)):_r(e);return a({[p]:"TemplateLiteral",type:"string",pattern:r},t)}function gs(e){return Vt(e).map(r=>r.toString())}function xs(e){let t=[];for(let r of e)t.push(...J(r));return t}function Os(e){return[e.toString()]}function J(e){return[...new Set(re(e)?gs(e):I(e)?xs(e.anyOf):ee(e)?Os(e.const):ge(e)?["[number]"]:be(e)?["[number]"]:[])]}function Es(e,t,r){let o={};for(let s of Object.getOwnPropertyNames(t))o[s]=ke(e,J(t[s]),r);return o}function Ss(e,t,r){return Es(e,t.properties,r)}function ro(e,t,r){let o=Ss(e,t,r);return b(o)}function oo(e,t){return e.map(r=>io(r,t))}function hs(e){return e.filter(t=>!Pe(t))}function Rs(e,t){return Ht(hs(oo(e,t)))}function Ts(e){return e.some(t=>Pe(t))?[]:e}function Fs(e,t){return he(Ts(oo(e,t)))}function As(e,t){return t in e?e[t]:t==="[number]"?he(e):y()}function _s(e,t){return t==="[number]"?e:y()}function Ns(e,t){return t in e?e[t]:y()}function io(e,t){return j(e)?Rs(e.allOf,t):I(e)?Fs(e.anyOf,t):ne(e)?As(e.items??[],t):de(e)?_s(e.items,t):k(e)?Ns(e.properties,t):y()}function Nr(e,t){return t.map(r=>io(e,r))}function no(e,t){return he(Nr(e,t))}function ke(e,t,r){if(C(e)||C(t)){let o="Index types using Ref parameters require both Type and Key to be of TSchema";if(!oe(e)||!oe(t))throw new G(o);return F("Index",[e,t])}return _(t)?ro(e,t,r):te(t)?so(e,t,r):a(oe(t)?no(e,J(t)):no(e,t),r)}function js(e,t,r){return{[t]:ke(e,[t],A(r))}}function Ps(e,t,r){return t.reduce((o,s)=>({...o,...js(e,s,r)}),{})}function Cs(e,t,r){return Ps(e,t.keys,r)}function so(e,t,r){let o=Cs(e,t,r);return b(o)}function st(e,t){return a({[p]:"Iterator",type:"Iterator",items:e},t)}function Ls(e){return globalThis.Object.keys(e).filter(t=>!Y(e[t]))}function vs(e,t){let r=Ls(e),o=r.length>0?{[p]:"Object",type:"object",required:r,properties:e}:{[p]:"Object",type:"object",properties:e};return a(o,t)}var S=vs;function qt(e,t){return a({[p]:"Promise",type:"Promise",item:e},t)}function Ds(e){return a(P(e,[fe]))}function ks(e){return a({...e,[fe]:"Readonly"})}function Ks(e,t){return t===!1?Ds(e):ks(e)}function Z(e,t){let r=t??!0;return _(e)?ao(e,r):Ks(e,r)}function Us(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=Z(e[o],t);return r}function ws(e,t){return Us(e.properties,t)}function ao(e,t){let r=ws(e,t);return b(r)}function ue(e,t){return a(e.length>0?{[p]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[p]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function uo(e,t){return e in t?ce(e,t[e]):b(t)}function Gs(e){return{[e]:g(e)}}function Ms(e){let t={};for(let r of e)t[r]=g(r);return t}function Vs(e,t){return Hn(t,e)?Gs(e):Ms(t)}function $s(e,t){let r=Vs(e,t);return uo(e,r)}function Nt(e,t){return t.map(r=>ce(e,r))}function Bs(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(t))r[o]=ce(e,t[o]);return r}function ce(e,t){let r={...t};return Y(t)?q(ce(e,P(t,[$]))):Qe(t)?Z(ce(e,P(t,[fe]))):_(t)?uo(e,t.properties):te(t)?$s(e,t.keys):Ie(t)?rt(Nt(e,t.parameters),ce(e,t.returns),r):ye(t)?Se(Nt(e,t.parameters),ce(e,t.returns),r):$e(t)?tt(ce(e,t.items),r):He(t)?st(ce(e,t.items),r):j(t)?W(Nt(e,t.allOf),r):I(t)?x(Nt(e,t.anyOf),r):ne(t)?ue(Nt(e,t.items??[]),r):k(t)?S(Bs(e,t.properties),r):de(t)?et(ce(e,t.items),r):qe(t)?qt(ce(e,t.item),r):t}function Hs(e,t){let r={};for(let o of e)r[o]=ce(o,t);return r}function co(e,t,r){let o=oe(e)?J(e):e,s=t({[p]:"MappedKey",keys:o}),c=Hs(o,s);return S(c,r)}function qs(e){return a(P(e,[$]))}function Ws(e){return a({...e,[$]:"Optional"})}function zs(e,t){return t===!1?qs(e):Ws(e)}function q(e,t){let r=t??!0;return _(e)?po(e,r):zs(e,r)}function Ys(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=q(e[o],t);return r}function Js(e,t){return Ys(e.properties,t)}function po(e,t){let r=Js(e,t);return b(r)}function jt(e,t={}){let r=e.every(s=>k(s)),o=oe(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return a(t.unevaluatedProperties===!1||oe(t.unevaluatedProperties)||r?{...o,[p]:"Intersect",type:"object",allOf:e}:{...o,[p]:"Intersect",allOf:e},t)}function Zs(e){return e.every(t=>Y(t))}function Xs(e){return P(e,[$])}function mo(e){return e.map(t=>Y(t)?Xs(t):t)}function Qs(e,t){return Zs(e)?q(jt(mo(e),t)):jt(mo(e),t)}function Ht(e,t={}){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return Qs(e,t)}function W(e,t){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return jt(e,t)}function Re(...e){let[t,r]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new G("Ref: $ref must be a string");return a({[p]:"Ref",$ref:t},r)}function ea(e,t){return F("Awaited",[F(e,t)])}function ta(e){return F("Awaited",[Re(e)])}function ra(e){return W(fo(e))}function na(e){return x(fo(e))}function oa(e){return at(e)}function fo(e){return e.map(t=>at(t))}function at(e,t){return a(le(e)?ea(e.target,e.parameters):j(e)?ra(e.allOf):I(e)?na(e.anyOf):qe(e)?oa(e.item):C(e)?ta(e.$ref):e,t)}function lo(e){let t=[];for(let r of e)t.push(Pt(r));return t}function ia(e){let t=lo(e);return zn(t)}function sa(e){let t=lo(e);return Wn(t)}function aa(e){return e.map((t,r)=>r.toString())}function ua(e){return["[number]"]}function ca(e){return globalThis.Object.getOwnPropertyNames(e)}function pa(e){return ma?globalThis.Object.getOwnPropertyNames(e).map(r=>r[0]==="^"&&r[r.length-1]==="$"?r.slice(1,r.length-1):r):[]}function Pt(e){return j(e)?ia(e.allOf):I(e)?sa(e.anyOf):ne(e)?aa(e.items??[]):de(e)?ua(e.items):k(e)?ca(e.properties):We(e)?pa(e.patternProperties):[]}var ma=!1;function fa(e,t){return F("KeyOf",[F(e,t)])}function da(e){return F("KeyOf",[Re(e)])}function la(e,t){let r=Pt(e),o=Ia(r),s=he(o);return a(s,t)}function Ia(e){return e.map(t=>t==="[number]"?ae():g(t))}function ut(e,t){return le(e)?fa(e.target,e.parameters):C(e)?da(e.$ref):_(e)?Io(e,t):la(e,t)}function ya(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ut(e[o],A(t));return r}function ba(e,t){return ya(e.properties,t)}function Io(e,t){let r=ba(e,t);return b(r)}function ga(e){let t=[];for(let r of e)t.push(...Pt(r));return qn(t)}function xa(e){return e.filter(t=>!Pe(t))}function Oa(e,t){let r=[];for(let o of e)r.push(...Nr(o,[t]));return xa(r)}function Ea(e,t){let r={};for(let o of t)r[o]=Ht(Oa(e,o));return r}function yo(e,t){let r=ga(e),o=Ea(e,r);return S(o,t)}function Wt(e){return a({[p]:"Date",type:"Date"},e)}function zt(e){return a({[p]:"Null",type:"null"},e)}function Yt(e){return a({[p]:"Symbol",type:"symbol"},e)}function Jt(e){return a({[p]:"Undefined",type:"undefined"},e)}function Zt(e){return a({[p]:"Uint8Array",type:"Uint8Array"},e)}function Ke(e){return a({[p]:"Unknown"},e)}function Sa(e){return e.map(t=>jr(t,!1))}function ha(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=Z(jr(e[r],!1));return t}function Xt(e,t){return t===!0?e:Z(e)}function jr(e,t){return cr(e)?Xt(De(),t):mr(e)?Xt(De(),t):v(e)?Z(ue(Sa(e))):Fe(e)?Zt():Ve(e)?Wt():O(e)?Xt(S(ha(e)),t):pr(e)?Xt(Se([],Ke()),t):D(e)?Jt():fr(e)?zt():dr(e)?Yt():bt(e)?it():Q(e)?g(e):Te(e)?g(e):R(e)?g(e):S({})}function bo(e,t){return a(jr(e,!0),t)}function go(e,t){return Ie(e)?ue(e.parameters,t):y(t)}function xo(e,t){if(D(e))throw new Error("Enum undefined or empty");let r=globalThis.Object.getOwnPropertyNames(e).filter(c=>isNaN(c)).map(c=>e[c]),s=[...new Set(r)].map(c=>g(c));return x(s,{...t,[se]:"Enum"})}var Cr=class extends G{},u;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(u||(u={}));function pe(e){return e===u.False?e:u.True}function ct(e){throw new Cr(e)}function U(e){return i.IsNever(e)||i.IsIntersect(e)||i.IsUnion(e)||i.IsUnknown(e)||i.IsAny(e)}function w(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?Dr(e,t):ct("StructuralRight")}function Dr(e,t){return u.True}function Ra(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)&&t.anyOf.some(r=>i.IsAny(r)||i.IsUnknown(r))?u.True:i.IsUnion(t)?u.Union:i.IsUnknown(t)||i.IsAny(t)?u.True:u.Union}function Ta(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)?u.True:u.False}function Fa(e,t){return i.IsObject(t)&&er(t)?u.True:U(t)?w(e,t):i.IsArray(t)?pe(h(e.items,t.items)):u.False}function Aa(e,t){return U(t)?w(e,t):i.IsAsyncIterator(t)?pe(h(e.items,t.items)):u.False}function _a(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBigInt(t)?u.True:u.False}function Ro(e,t){return i.IsLiteralBoolean(e)||i.IsBoolean(e)?u.True:u.False}function Na(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBoolean(t)?u.True:u.False}function ja(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsConstructor(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function Pa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsDate(t)?u.True:u.False}function Ca(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsFunction(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function To(e,t){return i.IsLiteral(e)&&H.IsNumber(e.const)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function La(e,t){return i.IsInteger(t)||i.IsNumber(t)?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):u.False}function Qt(e,t){return t.allOf.every(r=>h(e,r)===u.True)?u.True:u.False}function va(e,t){return e.allOf.some(r=>h(r,t)===u.True)?u.True:u.False}function Da(e,t){return U(t)?w(e,t):i.IsIterator(t)?pe(h(e.items,t.items)):u.False}function ka(e,t){return i.IsLiteral(t)&&t.const===e.const?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):u.False}function Fo(e,t){return u.False}function Ka(e,t){return u.True}function Oo(e){let[t,r]=[e,0];for(;i.IsNot(t);)t=t.not,r+=1;return r%2===0?t:Ke()}function Ua(e,t){return i.IsNot(e)?h(Oo(e),t):i.IsNot(t)?h(e,Oo(t)):ct("Invalid fallthrough for Not")}function wa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsNull(t)?u.True:u.False}function Ao(e,t){return i.IsLiteralNumber(e)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function Ga(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsInteger(t)||i.IsNumber(t)?u.True:u.False}function X(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Eo(e){return er(e)}function So(e){return X(e,0)||X(e,1)&&"description"in e.properties&&i.IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(i.IsString(e.properties.description.anyOf[0])&&i.IsUndefined(e.properties.description.anyOf[1])||i.IsString(e.properties.description.anyOf[1])&&i.IsUndefined(e.properties.description.anyOf[0]))}function Pr(e){return X(e,0)}function ho(e){return X(e,0)}function Ma(e){return X(e,0)}function Va(e){return X(e,0)}function $a(e){return er(e)}function Ba(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function Ha(e){return X(e,0)}function er(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function qa(e){let t=Se([De()],De());return X(e,0)||X(e,1)&&"then"in e.properties&&pe(h(e.properties.then,t))===u.True}function _o(e,t){return h(e,t)===u.False||i.IsOptional(e)&&!i.IsOptional(t)?u.False:u.True}function z(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)||i.IsLiteralString(e)&&Eo(t)||i.IsLiteralNumber(e)&&Pr(t)||i.IsLiteralBoolean(e)&&ho(t)||i.IsSymbol(e)&&So(t)||i.IsBigInt(e)&&Ma(t)||i.IsString(e)&&Eo(t)||i.IsSymbol(e)&&So(t)||i.IsNumber(e)&&Pr(t)||i.IsInteger(e)&&Pr(t)||i.IsBoolean(e)&&ho(t)||i.IsUint8Array(e)&&$a(t)||i.IsDate(e)&&Va(t)||i.IsConstructor(e)&&Ha(t)||i.IsFunction(e)&&Ba(t)?u.True:i.IsRecord(e)&&i.IsString(Lr(e))?t[se]==="Record"?u.True:u.False:i.IsRecord(e)&&i.IsNumber(Lr(e))&&X(t,0)?u.True:u.False}function Wa(e,t){return U(t)?w(e,t):i.IsRecord(t)?me(e,t):i.IsObject(t)?(()=>{for(let r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!i.IsOptional(t.properties[r]))return u.False;if(i.IsOptional(t.properties[r]))return u.True;if(_o(e.properties[r],t.properties[r])===u.False)return u.False}return u.True})():u.False}function za(e,t){return U(t)?w(e,t):i.IsObject(t)&&qa(t)?u.True:i.IsPromise(t)?pe(h(e.item,t.item)):u.False}function Lr(e){return Le in e.patternProperties?ae():ve in e.patternProperties?xe():ct("Unknown record key pattern")}function vr(e){return Le in e.patternProperties?e.patternProperties[Le]:ve in e.patternProperties?e.patternProperties[ve]:ct("Unable to get record value schema")}function me(e,t){let[r,o]=[Lr(t),vr(t)];return i.IsLiteralString(e)&&i.IsNumber(r)&&pe(h(e,o))===u.True?u.True:i.IsUint8Array(e)&&i.IsNumber(r)||i.IsString(e)&&i.IsNumber(r)||i.IsArray(e)&&i.IsNumber(r)?h(e,o):i.IsObject(e)?(()=>{for(let s of Object.getOwnPropertyNames(e.properties))if(_o(o,e.properties[s])===u.False)return u.False;return u.True})():u.False}function Ya(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?h(vr(e),vr(t)):u.False}function Ja(e,t){let r=i.IsRegExp(e)?xe():e,o=i.IsRegExp(t)?xe():t;return h(r,o)}function No(e,t){return i.IsLiteral(e)&&H.IsString(e.const)||i.IsString(e)?u.True:u.False}function Za(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?u.True:u.False}function Xa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsSymbol(t)?u.True:u.False}function Qa(e,t){return i.IsTemplateLiteral(e)?h(Ye(e),t):i.IsTemplateLiteral(t)?h(e,Ye(t)):ct("Invalid fallthrough for TemplateLiteral")}function eu(e,t){return i.IsArray(t)&&e.items!==void 0&&e.items.every(r=>h(r,t.items)===u.True)}function tu(e,t){return i.IsNever(e)?u.True:i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:u.False}function ru(e,t){return U(t)?w(e,t):i.IsObject(t)&&er(t)||i.IsArray(t)&&eu(e,t)?u.True:i.IsTuple(t)?H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||!H.IsUndefined(e.items)&&H.IsUndefined(t.items)?u.False:H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||e.items.every((r,o)=>h(r,t.items[o])===u.True)?u.True:u.False:u.False}function nu(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsUint8Array(t)?u.True:u.False}function ou(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsVoid(t)?au(e,t):i.IsUndefined(t)?u.True:u.False}function kr(e,t){return t.anyOf.some(r=>h(e,r)===u.True)?u.True:u.False}function iu(e,t){return e.anyOf.every(r=>h(r,t)===u.True)?u.True:u.False}function jo(e,t){return u.True}function su(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsAny(t)?Dr(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):i.IsArray(t)?Ta(e,t):i.IsTuple(t)?tu(e,t):i.IsObject(t)?z(e,t):i.IsUnknown(t)?u.True:u.False}function au(e,t){return i.IsUndefined(e)||i.IsUndefined(e)?u.True:u.False}function uu(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?Dr(e,t):i.IsObject(t)?z(e,t):i.IsVoid(t)?u.True:u.False}function h(e,t){return i.IsTemplateLiteral(e)||i.IsTemplateLiteral(t)?Qa(e,t):i.IsRegExp(e)||i.IsRegExp(t)?Ja(e,t):i.IsNot(e)||i.IsNot(t)?Ua(e,t):i.IsAny(e)?Ra(e,t):i.IsArray(e)?Fa(e,t):i.IsBigInt(e)?_a(e,t):i.IsBoolean(e)?Na(e,t):i.IsAsyncIterator(e)?Aa(e,t):i.IsConstructor(e)?ja(e,t):i.IsDate(e)?Pa(e,t):i.IsFunction(e)?Ca(e,t):i.IsInteger(e)?La(e,t):i.IsIntersect(e)?va(e,t):i.IsIterator(e)?Da(e,t):i.IsLiteral(e)?ka(e,t):i.IsNever(e)?Ka(e,t):i.IsNull(e)?wa(e,t):i.IsNumber(e)?Ga(e,t):i.IsObject(e)?Wa(e,t):i.IsRecord(e)?Ya(e,t):i.IsString(e)?Za(e,t):i.IsSymbol(e)?Xa(e,t):i.IsTuple(e)?ru(e,t):i.IsPromise(e)?za(e,t):i.IsUint8Array(e)?nu(e,t):i.IsUndefined(e)?ou(e,t):i.IsUnion(e)?iu(e,t):i.IsUnknown(e)?su(e,t):i.IsVoid(e)?uu(e,t):ct(`Unknown left type operand '${e[p]}'`)}function Ue(e,t){return h(e,t)}function cu(e,t,r,o,s){let c={};for(let m of globalThis.Object.getOwnPropertyNames(e))c[m]=pt(e[m],t,r,o,A(s));return c}function pu(e,t,r,o,s){return cu(e.properties,t,r,o,s)}function Po(e,t,r,o,s){let c=pu(e,t,r,o,s);return b(c)}function mu(e,t,r,o){let s=Ue(e,t);return s===u.Union?x([r,o]):s===u.True?r:o}function pt(e,t,r,o,s){return _(e)?Po(e,t,r,o,s):te(e)?a(Co(e,t,r,o,s)):a(mu(e,t,r,o),s)}function fu(e,t,r,o,s){return{[e]:pt(g(e),t,r,o,A(s))}}function du(e,t,r,o,s){return e.reduce((c,m)=>({...c,...fu(m,t,r,o,s)}),{})}function lu(e,t,r,o,s){return du(e.keys,t,r,o,s)}function Co(e,t,r,o,s){let c=lu(e,t,r,o,s);return b(c)}function Lo(e,t){return mt(Ye(e),t)}function Iu(e,t){let r=e.filter(o=>Ue(o,t)===u.False);return r.length===1?r[0]:x(r)}function mt(e,t,r={}){return re(e)?a(Lo(e,t),r):_(e)?a(vo(e,t),r):a(I(e)?Iu(e.anyOf,t):Ue(e,t)!==u.False?y():e,r)}function yu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=mt(e[o],t);return r}function bu(e,t){return yu(e.properties,t)}function vo(e,t){let r=bu(e,t);return b(r)}function Do(e,t){return ft(Ye(e),t)}function gu(e,t){let r=e.filter(o=>Ue(o,t)!==u.False);return r.length===1?r[0]:x(r)}function ft(e,t,r){return re(e)?a(Do(e,t),r):_(e)?a(ko(e,t),r):a(I(e)?gu(e.anyOf,t):Ue(e,t)!==u.False?e:y(),r)}function xu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ft(e[o],t);return r}function Ou(e,t){return xu(e.properties,t)}function ko(e,t){let r=Ou(e,t);return b(r)}function Ko(e,t){return Ie(e)?a(e.returns,t):y(t)}function tr(e){return Z(q(e))}function Je(e,t,r){return a({[p]:"Record",type:"object",patternProperties:{[e]:t}},r)}function Kr(e,t,r){let o={};for(let s of e)o[s]=t;return S(o,{...r,[se]:"Record"})}function Eu(e,t,r){return Xn(e)?Kr(J(e),t,r):Je(e.pattern,t,r)}function Su(e,t,r){return Kr(J(x(e)),t,r)}function hu(e,t,r){return Kr([e.toString()],t,r)}function Ru(e,t,r){return Je(e.source,t,r)}function Tu(e,t,r){let o=D(e.pattern)?ve:e.pattern;return Je(o,t,r)}function Fu(e,t,r){return Je(ve,t,r)}function Au(e,t,r){return Je(Bn,t,r)}function _u(e,t,r){return S({true:t,false:t},r)}function Nu(e,t,r){return Je(Le,t,r)}function ju(e,t,r){return Je(Le,t,r)}function rr(e,t,r={}){return I(e)?Su(e.anyOf,t,r):re(e)?Eu(e,t,r):ee(e)?hu(e.const,t,r):Ae(e)?_u(e,t,r):be(e)?Nu(e,t,r):ge(e)?ju(e,t,r):yr(e)?Ru(e,t,r):_e(e)?Tu(e,t,r):lr(e)?Fu(e,t,r):Pe(e)?Au(e,t,r):y(r)}function nr(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Uo(e){let t=nr(e);return t===ve?xe():t===Le?ae():xe({pattern:t})}function or(e){return e.patternProperties[nr(e)]}function Pu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Cu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Lu(e,t){return t.allOf=Ct(e,t.allOf),t}function vu(e,t){return t.anyOf=Ct(e,t.anyOf),t}function Du(e,t){return D(t.items)||(t.items=Ct(e,t.items)),t}function ku(e,t){return t.items=Oe(e,t.items),t}function Ku(e,t){return t.items=Oe(e,t.items),t}function Uu(e,t){return t.items=Oe(e,t.items),t}function wu(e,t){return t.item=Oe(e,t.item),t}function Gu(e,t){let r=Bu(e,t.properties);return{...t,...S(r)}}function Mu(e,t){let r=Oe(e,Uo(t)),o=Oe(e,or(t)),s=rr(r,o);return{...t,...s}}function Vu(e,t){return t.index in e?e[t.index]:Ke()}function $u(e,t){let r=Qe(t),o=Y(t),s=Oe(e,t);return r&&o?tr(s):r&&!o?Z(s):!r&&o?q(s):s}function Bu(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:$u(e,t[o])}),{})}function Ct(e,t){return t.map(r=>Oe(e,r))}function Oe(e,t){return Ie(t)?Pu(e,t):ye(t)?Cu(e,t):j(t)?Lu(e,t):I(t)?vu(e,t):ne(t)?Du(e,t):de(t)?ku(e,t):$e(t)?Ku(e,t):He(t)?Uu(e,t):qe(t)?wu(e,t):k(t)?Gu(e,t):We(t)?Mu(e,t):Ir(t)?Vu(e,t):t}function wo(e,t){return Oe(t,Xe(e))}function Go(e){return a({[p]:"Integer",type:"integer"},e)}function Hu(e,t,r){return{[e]:Ee(g(e),t,A(r))}}function qu(e,t,r){return e.reduce((s,c)=>({...s,...Hu(c,t,r)}),{})}function Wu(e,t,r){return qu(e.keys,t,r)}function Mo(e,t,r){let o=Wu(e,t,r);return b(o)}function zu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function Yu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function Ju(e){return e.toUpperCase()}function Zu(e){return e.toLowerCase()}function Xu(e,t,r){let o=ot(e.pattern);if(!ze(o))return{...e,pattern:Vo(e.pattern,t)};let m=[..._t(o)].map(V=>g(V)),f=$o(m,t),N=x(f);return Bt([N],r)}function Vo(e,t){return typeof e=="string"?t==="Uncapitalize"?zu(e):t==="Capitalize"?Yu(e):t==="Uppercase"?Ju(e):t==="Lowercase"?Zu(e):e:e.toString()}function $o(e,t){return e.map(r=>Ee(r,t))}function Ee(e,t,r={}){return te(e)?Mo(e,t,r):re(e)?Xu(e,t,r):I(e)?x($o(e.anyOf,t),r):ee(e)?g(Vo(e.const,t),r):a(e,r)}function Bo(e,t={}){return Ee(e,"Capitalize",t)}function Ho(e,t={}){return Ee(e,"Lowercase",t)}function qo(e,t={}){return Ee(e,"Uncapitalize",t)}function Wo(e,t={}){return Ee(e,"Uppercase",t)}function Qu(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=we(e[s],t,A(r));return o}function ec(e,t,r){return Qu(e.properties,t,r)}function zo(e,t,r){let o=ec(e,t,r);return b(o)}function tc(e,t){return e.map(r=>Ur(r,t))}function rc(e,t){return e.map(r=>Ur(r,t))}function nc(e,t){let{[t]:r,...o}=e;return o}function oc(e,t){return t.reduce((r,o)=>nc(r,o),e)}function ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=oc(r,t);return S(s,o)}function sc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function Ur(e,t){return j(e)?W(tc(e.allOf,t)):I(e)?x(rc(e.anyOf,t)):k(e)?ic(e,t,e.properties):S({})}function we(e,t,r){let o=v(t)?sc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?zo(e,s,r):te(t)?Yo(e,t,r):c&&m?F("Omit",[e,o],r):!c&&m?F("Omit",[e,o],r):c&&!m?F("Omit",[e,o],r):a({...Ur(e,s),...r})}function ac(e,t,r){return{[t]:we(e,[t],A(r))}}function uc(e,t,r){return t.reduce((o,s)=>({...o,...ac(e,s,r)}),{})}function cc(e,t,r){return uc(e,t.keys,r)}function Yo(e,t,r){let o=cc(e,t,r);return b(o)}function pc(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=Ge(e[s],t,A(r));return o}function mc(e,t,r){return pc(e.properties,t,r)}function Jo(e,t,r){let o=mc(e,t,r);return b(o)}function fc(e,t){return e.map(r=>wr(r,t))}function dc(e,t){return e.map(r=>wr(r,t))}function lc(e,t){let r={};for(let o of t)o in e&&(r[o]=e[o]);return r}function Ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=lc(r,t);return S(s,o)}function yc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function wr(e,t){return j(e)?W(fc(e.allOf,t)):I(e)?x(dc(e.anyOf,t)):k(e)?Ic(e,t,e.properties):S({})}function Ge(e,t,r){let o=v(t)?yc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?Jo(e,s,r):te(t)?Zo(e,t,r):c&&m?F("Pick",[e,o],r):!c&&m?F("Pick",[e,o],r):c&&!m?F("Pick",[e,o],r):a({...wr(e,s),...r})}function bc(e,t,r){return{[t]:Ge(e,[t],A(r))}}function gc(e,t,r){return t.reduce((o,s)=>({...o,...bc(e,s,r)}),{})}function xc(e,t,r){return gc(e,t.keys,r)}function Zo(e,t,r){let o=xc(e,t,r);return b(o)}function Oc(e,t){return F("Partial",[F(e,t)])}function Ec(e){return F("Partial",[Re(e)])}function Sc(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=q(e[r]);return t}function hc(e,t){let r=P(e,[K,"$id","required","properties"]),o=Sc(t);return S(o,r)}function Xo(e){return e.map(t=>Qo(t))}function Qo(e){return le(e)?Oc(e.target,e.parameters):C(e)?Ec(e.$ref):j(e)?W(Xo(e.allOf)):I(e)?x(Xo(e.anyOf)):k(e)?hc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function dt(e,t){return _(e)?ei(e,t):a({...Qo(e),...t})}function Rc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=dt(e[o],A(t));return r}function Tc(e,t){return Rc(e.properties,t)}function ei(e,t){let r=Tc(e,t);return b(r)}function Fc(e,t){return F("Required",[F(e,t)])}function Ac(e){return F("Required",[Re(e)])}function _c(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=P(e[r],[$]);return t}function Nc(e,t){let r=P(e,[K,"$id","required","properties"]),o=_c(t);return S(o,r)}function ti(e){return e.map(t=>ri(t))}function ri(e){return le(e)?Fc(e.target,e.parameters):C(e)?Ac(e.$ref):j(e)?W(ti(e.allOf)):I(e)?x(ti(e.anyOf)):k(e)?Nc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function lt(e,t){return _(e)?ni(e,t):a({...ri(e),...t})}function jc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=lt(e[o],t);return r}function Pc(e,t){return jc(e.properties,t)}function ni(e,t){let r=Pc(e,t);return b(r)}function Cc(e,t){return t.map(r=>C(r)?Gr(e,r.$ref):ie(e,r))}function Gr(e,t){return t in e?C(e[t])?Gr(e,e[t].$ref):ie(e,e[t]):y()}function Lc(e){return at(e[0])}function vc(e){return ke(e[0],e[1])}function Dc(e){return ut(e[0])}function kc(e){return dt(e[0])}function Kc(e){return we(e[0],e[1])}function Uc(e){return Ge(e[0],e[1])}function wc(e){return lt(e[0])}function Gc(e,t,r){let o=Cc(e,r);return t==="Awaited"?Lc(o):t==="Index"?vc(o):t==="KeyOf"?Dc(o):t==="Partial"?kc(o):t==="Omit"?Kc(o):t==="Pick"?Uc(o):t==="Required"?wc(o):y()}function Mc(e,t){return et(ie(e,t))}function Vc(e,t){return tt(ie(e,t))}function $c(e,t,r){return rt(Lt(e,t),ie(e,r))}function Bc(e,t,r){return Se(Lt(e,t),ie(e,r))}function Hc(e,t){return W(Lt(e,t))}function qc(e,t){return st(ie(e,t))}function Wc(e,t){return S(globalThis.Object.keys(t).reduce((r,o)=>({...r,[o]:ie(e,t[o])}),{}))}function zc(e,t){let[r,o]=[ie(e,or(t)),nr(t)],s=Xe(t);return s.patternProperties[o]=r,s}function Yc(e,t){return C(t)?{...Gr(e,t.$ref),[K]:t[K]}:t}function Jc(e,t){return ue(Lt(e,t))}function Zc(e,t){return x(Lt(e,t))}function Lt(e,t){return t.map(r=>ie(e,r))}function ie(e,t){return Y(t)?a(ie(e,P(t,[$])),t):Qe(t)?a(ie(e,P(t,[fe])),t):Ce(t)?a(Yc(e,t),t):de(t)?a(Mc(e,t.items),t):$e(t)?a(Vc(e,t.items),t):le(t)?a(Gc(e,t.target,t.parameters)):Ie(t)?a($c(e,t.parameters,t.returns),t):ye(t)?a(Bc(e,t.parameters,t.returns),t):j(t)?a(Hc(e,t.allOf),t):He(t)?a(qc(e,t.items),t):k(t)?a(Wc(e,t.properties),t):We(t)?a(zc(e,t)):ne(t)?a(Jc(e,t.items||[]),t):I(t)?a(Zc(e,t.anyOf),t):t}function Xc(e,t){return t in e?ie(e,e[t]):y()}function oi(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,r)=>({...t,[r]:Xc(e,r)}),{})}var Mr=class{constructor(t){let r=oi(t),o=this.WithIdentifiers(r);this.$defs=o}Import(t,r){let o={...this.$defs,[t]:a(this.$defs[t],r)};return a({[p]:"Import",$defs:o,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:{...t[o],$id:o}}),{})}};function ii(e){return new Mr(e)}function si(e,t){return a({[p]:"Not",not:e},t)}function ai(e,t){return ye(e)?ue(e.parameters,t):y()}var Qc=0;function ui(e,t={}){D(t.$id)&&(t.$id=`T${Qc++}`);let r=Xe(e({[p]:"This",$ref:`${t.$id}`}));return r.$id=t.$id,a({[se]:"Recursive",...r},t)}function ci(e,t){let r=R(e)?new globalThis.RegExp(e):e;return a({[p]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function ep(e){return j(e)?e.allOf:I(e)?e.anyOf:ne(e)?e.items??[]:[]}function pi(e){return ep(e)}function mi(e,t){return ye(e)?a(e.returns,t):y(t)}var Vr=class{constructor(t){this.schema=t}Decode(t){return new $r(this.schema,t)}},$r=class{constructor(t,r){this.schema=t,this.decode=r}EncodeTransform(t,r){let c={Encode:m=>r[K].Encode(t(m)),Decode:m=>this.decode(r[K].Decode(m))};return{...r,[K]:c}}EncodeSchema(t,r){let o={Decode:this.decode,Encode:t};return{...r,[K]:o}}Encode(t){return Ce(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}};function fi(e){return new Vr(e)}function di(e={}){return a({[p]:e[p]??"Unsafe"},e)}function li(e){return a({[p]:"Void",type:"void"},e)}var Br={};ar(Br,{Any:()=>De,Argument:()=>Yn,Array:()=>et,AsyncIterator:()=>tt,Awaited:()=>at,BigInt:()=>it,Boolean:()=>$t,Capitalize:()=>Bo,Composite:()=>yo,Const:()=>bo,Constructor:()=>rt,ConstructorParameters:()=>go,Date:()=>Wt,Enum:()=>xo,Exclude:()=>mt,Extends:()=>pt,Extract:()=>ft,Function:()=>Se,Index:()=>ke,InstanceType:()=>Ko,Instantiate:()=>wo,Integer:()=>Go,Intersect:()=>W,Iterator:()=>st,KeyOf:()=>ut,Literal:()=>g,Lowercase:()=>Ho,Mapped:()=>co,Module:()=>ii,Never:()=>y,Not:()=>si,Null:()=>zt,Number:()=>ae,Object:()=>S,Omit:()=>we,Optional:()=>q,Parameters:()=>ai,Partial:()=>dt,Pick:()=>Ge,Promise:()=>qt,Readonly:()=>Z,ReadonlyOptional:()=>tr,Record:()=>rr,Recursive:()=>ui,Ref:()=>Re,RegExp:()=>ci,Required:()=>lt,Rest:()=>pi,ReturnType:()=>mi,String:()=>xe,Symbol:()=>Yt,TemplateLiteral:()=>Bt,Transform:()=>fi,Tuple:()=>ue,Uint8Array:()=>Zt,Uncapitalize:()=>qo,Undefined:()=>Jt,Union:()=>x,Unknown:()=>Ke,Unsafe:()=>di,Uppercase:()=>Wo,Void:()=>li});var n=Br;var tp=n.Union([n.Literal("tool_call"),n.Literal("pain_signal"),n.Literal("rule_promotion"),n.Literal("governance_action"),n.Literal("hook_execution"),n.Literal("adaptive_delivery"),n.Literal("gate_block"),n.Literal("gate_bypass"),n.Literal("evolution_task"),n.Literal("empathy_rollback"),n.Literal("error"),n.Literal("warn"),n.Literal("diagnosis_task"),n.Literal("heartbeat_diagnosis"),n.Literal("diagnostician_report"),n.Literal("principle_candidate"),n.Literal("rule_enforced"),n.Literal("rulehost_evaluated"),n.Literal("rulehost_blocked"),n.Literal("rulehost_requireApproval"),n.Literal("rulehost_auto_correct_proposed"),n.Literal("rulehost_auto_correct_applied"),n.Literal("runtime_v2_prompt_activations_injected"),n.Literal("rulehost_unhealthy"),n.Literal("rulehost_skipped"),n.Literal("trajectory_observability_failure")]),rp=n.Union([n.Literal("success"),n.Literal("failure"),n.Literal("detected"),n.Literal("blocked"),n.Literal("bypassed"),n.Literal("approved"),n.Literal("enqueued"),n.Literal("completed"),n.Literal("promoted"),n.Literal("passed"),n.Literal("changed"),n.Literal("rolled_back"),n.Literal("written"),n.Literal("injected"),n.Literal("created"),n.Literal("matched"),n.Literal("evaluated"),n.Literal("requireApproval"),n.Literal("auto_correct")]),aE=n.Object({ts:n.String(),date:n.String(),type:tp,category:rp,sessionId:n.Optional(n.String()),workspaceDir:n.Optional(n.String()),data:n.Record(n.String(),n.Any())}),uE=n.Object({toolName:n.String(),filePath:n.Optional(n.String()),error:n.Optional(n.String()),errorType:n.Optional(n.String()),exitCode:n.Optional(n.Number()),runId:n.Optional(n.String()),toolCallId:n.Optional(n.String())}),cE=n.Object({score:n.Number(),source:n.String(),eventId:n.Optional(n.String()),reason:n.Optional(n.String()),isRisky:n.Optional(n.Boolean()),origin:n.Optional(n.Union([n.Literal("assistant_self_report"),n.Literal("user_manual"),n.Literal("system_infer")])),severity:n.Optional(n.Union([n.Literal("mild"),n.Literal("moderate"),n.Literal("severe")])),confidence:n.Optional(n.Number()),detection_mode:n.Optional(n.Union([n.Literal("structured"),n.Literal("legacy_tag")])),deduped:n.Optional(n.Boolean()),trigger_text_excerpt:n.Optional(n.String()),raw_score:n.Optional(n.Number()),calibrated_score:n.Optional(n.Number())}),pE=n.Object({fingerprint:n.String(),ruleId:n.String(),phrase:n.String(),sampleCount:n.Number(),avgSimilarity:n.Number()}),mE=n.Object({action:n.Union([n.Literal("deactivate"),n.Literal("promote"),n.Literal("global_pause")]),activationId:n.Optional(n.String({minLength:1})),subject:n.Optional(n.Literal("all_live_rulecode")),actor:n.Union([n.Literal("owner"),n.Literal("cli"),n.Literal("session")]),reasonCode:n.String({minLength:1,maxLength:200}),outcome:n.Literal("authorized")}),fE=n.Object({hook:n.String(),sessionId:n.Optional(n.String()),durationMs:n.Optional(n.Number()),error:n.Optional(n.String())}),dE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),blockSource:n.Optional(n.String())}),lE=n.Object({toolName:n.String(),filePath:n.String(),bypassType:n.Union([n.Literal("stage4_architect"),n.Literal("whitelisted")])}),IE=n.Object({taskId:n.String(),taskType:n.String(),reason:n.String()}),yE=n.Object({eventId:n.String(),originalScore:n.Number(),originalSessionId:n.Optional(n.String()),reason:n.String(),triggeredBy:n.Union([n.Literal("user_command"),n.Literal("natural_language"),n.Literal("system")])}),bE=n.Object({taskCount:n.Number(),taskIds:n.Array(n.String()),trigger:n.Union([n.Literal("heartbeat"),n.Literal("immediate")])}),gE=n.Object({taskId:n.String(),painEventId:n.Optional(n.String()),sessionId:n.Optional(n.String())}),xE=n.Object({taskId:n.String(),reportPath:n.String(),category:n.Union([n.Literal("success"),n.Literal("missing_json"),n.Literal("incomplete_fields")])}),OE=n.Object({principleId:n.String(),taskId:n.String(),source:n.Union([n.Literal("diagnostician"),n.Literal("manual")])}),EE=n.Object({ruleId:n.String(),principleId:n.String(),enforcement:n.Union([n.Literal("warn"),n.Literal("block"),n.Literal("requireApproval")]),toolName:n.String(),filePath:n.String()}),SE=n.Object({toolName:n.String(),filePath:n.String(),matched:n.Boolean(),decision:n.Union([n.Literal("allow"),n.Literal("block"),n.Literal("requireApproval"),n.Literal("auto_correct"),n.Literal("no_rules_armed"),n.Literal("evaluation_failed")]),ruleId:n.Optional(n.String()),activationId:n.Optional(n.String()),activationMode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),hostKind:n.Optional(n.String())});var hE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),RE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),TE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),applicationMode:n.Union([n.Literal("shadow"),n.Literal("live")]),correctedFields:n.Array(n.String()),validationValid:n.Boolean()}),FE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),correctedFields:n.Array(n.Object({field:n.String(),original:n.Unknown(),applied:n.Unknown()}))}),AE=n.Object({hookInvocationId:n.Optional(n.String()),sessionId:n.String(),workspaceDir:n.String(),principleIds:n.Array(n.String()),activationIds:n.Array(n.String()),artifactIds:n.Array(n.String()),injectedCount:n.Number(),skippedWarnings:n.Array(n.String()),injectedCharCount:n.Number(),budget:n.Number(),skipReason:n.Optional(n.String()),nextAction:n.Optional(n.String()),legacySelectedCount:n.Optional(n.Number()),legacyTotalChars:n.Optional(n.Number()),legacyTruncated:n.Optional(n.Boolean()),v2Truncated:n.Optional(n.Boolean()),crossBlockDuplicateIds:n.Optional(n.Array(n.String())),runId:n.Optional(n.String()),hostKind:n.Optional(n.Union([n.Literal("openclaw"),n.Literal("codex"),n.Literal("workbuddy")])),eventId:n.Optional(n.String()),selectionPolicy:n.Optional(n.Union([n.Literal("legacy_fifo_prefix_v1"),n.Literal("fair_rotation_v1")])),eligibleCount:n.Optional(n.Number()),rotationStartIndex:n.Optional(n.Number()),selectionRoundOrdinal:n.Optional(n.Number()),selectionRoundSource:n.Optional(n.Literal("session_user_turn_ordinal")),droppedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),oversizedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),budgetPolicyVersion:n.Optional(n.String()),budgetCapacitySource:n.Optional(n.Union([n.Literal("operator_declared"),n.Literal("host_effective_window"),n.Literal("pi_catalog_exact"),n.Literal("pi_catalog_model_id"),n.Literal("legacy_fallback")])),budgetCapacityStatus:n.Optional(n.Union([n.Literal("confirmed"),n.Literal("unknown")])),budgetContextWindowTokens:n.Optional(n.Number()),budgetFallbackReason:n.Optional(n.Union([n.Literal("host_capacity_absent"),n.Literal("host_capacity_source_untrusted"),n.Literal("host_capacity_invalid_value"),n.Literal("catalog_unavailable"),n.Literal("model_identity_absent"),n.Literal("catalog_no_exact_match"),n.Literal("catalog_no_match_for_model_id"),n.Literal("catalog_ambiguous_model_id"),n.Literal("catalog_provider_absent"),n.Literal("catalog_metadata_invalid")]))}),_E=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),reason:n.String(),nextAction:n.String()}),NE=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),mode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),reason:n.String(),nextAction:n.String()}),jE=n.Object({sessionId:n.Optional(n.String()),reason:n.String(),nextAction:n.String()}),np=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byTool:n.Record(n.String(),n.Object({success:n.Number(),failure:n.Number()}))}),op=n.Object({total:n.Number(),byType:n.Record(n.String(),n.Number()),byTool:n.Record(n.String(),n.Number())}),ip=n.Object({totalEvents:n.Number(),dedupedCount:n.Number(),dedupeHitRate:n.Number(),totalPenaltyScore:n.Number(),rolledBackScore:n.Number(),rollbackCount:n.Number(),bySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),scoreBySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),byDetectionMode:n.Object({structured:n.Number(),legacy_tag:n.Number()}),byOrigin:n.Object({assistant_self_report:n.Number(),user_manual:n.Number(),system_infer:n.Number()}),confidenceDistribution:n.Object({high:n.Number(),medium:n.Number(),low:n.Number()}),dailyTrend:n.Array(n.Object({date:n.String(),count:n.Number(),score:n.Number()}))}),sp=n.Object({tasksEnqueued:n.Number(),tasksCompleted:n.Number(),rulesPromoted:n.Number(),diagnosisTasksWritten:n.Number(),heartbeatsInjected:n.Number(),diagnosticianReportsWritten:n.Number(),reportsMissingJson:n.Number(),reportsIncompleteFields:n.Number(),principleCandidatesCreated:n.Number(),rulesEnforced:n.Number(),rulehostEvaluated:n.Number(),rulehostBlocked:n.Number(),rulehostRequireApproval:n.Number(),rulehostAutoCorrectProposed:n.Number(),rulehostAutoCorrectApplied:n.Number()});var ap=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byType:n.Record(n.String(),n.Object({total:n.Number(),success:n.Number(),failure:n.Number()})),errors:n.Number(),totalDurationMs:n.Number()}),PE=n.Object({date:n.String(),createdAt:n.String(),updatedAt:n.String(),tools:n.Object({total:n.Number(),success:n.Number(),failure:n.Number()}),toolCalls:np,errors:op,empathy:ip,evolution:sp,hooks:ap});function ir(e){let t=new Date().toISOString();return{date:e,createdAt:t,updatedAt:t,tools:{total:0,success:0,failure:0},toolCalls:{total:0,success:0,failure:0,byTool:{}},errors:{total:0,byType:{},byTool:{}},empathy:{totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]},evolution:{tasksEnqueued:0,tasksCompleted:0,rulesPromoted:0,diagnosisTasksWritten:0,heartbeatsInjected:0,diagnosticianReportsWritten:0,reportsMissingJson:0,reportsIncompleteFields:0,principleCandidatesCreated:0,rulesEnforced:0,rulehostEvaluated:0,rulehostBlocked:0,rulehostRequireApproval:0,rulehostAutoCorrectProposed:0,rulehostAutoCorrectApplied:0},hooks:{total:0,success:0,failure:0,byType:{},errors:0,totalDurationMs:0}}}import*as It from"fs";var Ii=3,up=50;function yi(e,t){let r=e+".tmp";It.writeFileSync(r,t,"utf8");let o;for(let s=0;s<Ii;s++)try{It.renameSync(r,e);return}catch(c){o=c;let m=c.code;if(m==="EPERM"||m==="EBUSY"||m==="EACCES"){if(s<Ii-1){let f=up*Math.pow(2,s),N=Date.now()+f,V=!1;for(;Date.now()<N;)if(!V&&Date.now()>=N-10){try{Oi("fs").accessSync?.(r)}catch{}V=!0}}continue}break}try{It.unlinkSync(r)}catch{}throw o}var bi="<redacted-path>",yt="[REDACTED]";var cp=/(?:[A-Za-z]:[\\/](?:[^\\\s/:*?"<>|]+[\\/])+[^\\\s/:*?"<>|]*)/g,pp=/(?<![a-zA-Z0-9_.])[\\/](?:usr|home|Users|var|opt|etc|tmp|root|run|mnt|media|srv|boot|dev|proc|sys)(?:[\\/][^\\\s/:*?"<>|]+)+/g;function mp(e){return typeof e!="string"?e:e.replace(cp,bi).replace(pp,bi)}var fp=/\bsk-(?:ant-)?[A-Za-z0-9_-]{16,}\b/g,dp=/\bgh[pousr]_[A-Za-z0-9_]{16,}\b/g,lp=/\blin_api_[A-Za-z0-9_-]{16,}\b/g,Ip=/(Authorization\s*:\s*)(["'])?([A-Za-z]+\s+)?([^\s"';,]+)/gi,yp=/(\$env:\s*[A-Z_][A-Z0-9_]{2,}\s*=\s*")([^"]*)(")/gi,bp=/\b(api[_-]?key|token|secret|password|auth(?:_?token)?)\s*[:=]\s*['"]?([^\s'",}{]+)['"]?/gi,gp=/\bBearer\s+[A-Za-z0-9._\-+/=]{8,}\b/g;function xp(e){return typeof e!="string"?e:e.replace(fp,yt).replace(dp,yt).replace(lp,yt).replace(Ip,"$1$2$3[REDACTED]").replace(yp,"$1[REDACTED]$3").replace(gp,yt).replace(bp,(t,r)=>`${r}=${yt}`)}var Op=/\b([A-Z_][A-Z0-9_]{2,})\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s,;}{]+))/g;function Ep(e){return typeof e!="string"?e:e.replace(Op,(t,r)=>`${r}=${yt}`)}function vt(e){if(typeof e!="string")return e;let t=mp(e);return t=xp(t),t=Ep(t),t}var gi=7,sr=class{logsDir;statsFile;logger;statsCache=new Map;eventBuffer=[];maxBufferSize=20;flushIntervalMs=3e4;flushTimer;currentEventsFile;currentDate;constructor(t,r){let o=Jr(t);this.logsDir=Dt.join(o,"logs"),B.existsSync(this.logsDir)||B.mkdirSync(this.logsDir,{recursive:!0}),this.statsFile=Dt.join(this.logsDir,"daily-stats.json"),this.logger=r,this.loadStats(),this.startFlushTimer()}getEventsFile(t){return Dt.join(this.logsDir,`events_${t}.jsonl`)}getTodayStr(){return new Date().toISOString().split("T")[0]??""}ensureEventsFile(){let t=this.getTodayStr();return(this.currentDate!==t||!this.currentEventsFile)&&(this.currentDate=t,this.currentEventsFile=this.getEventsFile(t),this.cleanupOldEventFiles(t)),this.currentEventsFile}cleanupOldEventFiles(t){if(!(gi<=0))try{let r=Date.now()-gi*24*60*60*1e3,o=B.readdirSync(this.logsDir);for(let s of o){if(!s.startsWith("events_")||!s.endsWith(".jsonl"))continue;let c=Dt.join(this.logsDir,s);B.statSync(c).mtimeMs<r&&B.unlinkSync(c)}}catch(r){this.logger?.debug?.(`[PD] Event file cleanup failed (non-blocking): ${String(r)}`)}}recordToolCall(t,r){let o=r.error||r.exitCode!==void 0&&r.exitCode!==0?"failure":"success";this.record("tool_call",o,t,r)}recordPainSignal(t,r){this.record("pain_signal","detected",t,r)}recordRulePromotion(t){this.record("rule_promotion","promoted",void 0,t)}recordGovernanceAction(t,r){this.record("governance_action","approved",void 0,t),r?.flushImmediately&&this.flushEvents()}recordHookExecution(t,r){let o=t.error?"failure":"success";this.record("hook_execution",o,void 0,t),r?.flushImmediately&&this.flushEvents()}recordAdaptiveDelivery(t,r){let o=zr(r);if(!o.ok)throw new Error(`Invalid adaptive delivery record: ${o.errors.join("; ")}`);this.record("adaptive_delivery","written",t,r),this.flushEvents()}recordGateBlock(t,r){this.record("gate_block","blocked",t,r)}recordGateBypass(t,r){this.record("gate_bypass","bypassed",t,r)}recordEmpathyRollback(t,r){this.record("empathy_rollback","rolled_back",t,r)}recordError(t,r,o){this.record("error","failure",t,{message:r,...o})}recordWarn(t,r,o){this.record("warn","failure",t,{message:r,...o})}recordDiagnosisTask(t){this.record("diagnosis_task","written",void 0,t)}recordHeartbeatDiagnosis(t){this.record("heartbeat_diagnosis","injected",void 0,t)}recordDiagnosticianReport(t){let r={success:"completed",missing_json:"failure",incomplete_fields:"failure"};this.record("diagnostician_report",r[t.category],void 0,t)}recordPrincipleCandidate(t){this.record("principle_candidate","created",void 0,t)}recordRuleEnforced(t){this.record("rule_enforced","matched",void 0,t)}recordRuleHostEvaluated(t){this.record("rulehost_evaluated","evaluated",void 0,t)}recordRuleHostBlocked(t){this.record("rulehost_blocked","blocked",void 0,t)}recordRuleHostRequireApproval(t){this.record("rulehost_requireApproval","requireApproval",void 0,t)}recordRuleHostAutoCorrectProposed(t){this.record("rulehost_auto_correct_proposed","auto_correct",void 0,t)}recordRuleHostAutoCorrectApplied(t){this.record("rulehost_auto_correct_applied","auto_correct",void 0,t)}recordRuntimeV2ActivationsInjected(t){this.record("runtime_v2_prompt_activations_injected","injected",t.sessionId,t)}recordRuleHostUnhealthy(t){this.record("rulehost_unhealthy","failure",void 0,t)}recordRuleHostSkipped(t){this.record("rulehost_skipped","failure",void 0,t)}recordTrajectoryObservabilityFailure(t){this.record("trajectory_observability_failure","failure",t.sessionId,t)}redactEventData(t,r){try{if(!new Set(["tool_call","rulehost_evaluated","rulehost_blocked","rulehost_requireApproval","rulehost_auto_correct_proposed","rulehost_auto_correct_applied","rulehost_skipped","trajectory_observability_failure","rule_enforced","hook_execution","gate_block","gate_bypass"]).has(t))return r;let s={};for(let[c,m]of Object.entries(r))if(typeof m=="string")s[c]=vt(m);else if(Array.isArray(m))s[c]=m.map(f=>{if(typeof f=="string")return vt(f);if(typeof f=="object"&&f!==null){let N={};for(let[V,L]of Object.entries(f))N[V]=typeof L=="string"?vt(L):L;return N}return f});else if(typeof m=="object"&&m!==null){let f={};for(let[N,V]of Object.entries(m))typeof V=="string"?f[N]=vt(V):f[N]=V;s[c]=f}else s[c]=m;return s}catch(o){return{redactionFailure:!0,redactionStatus:"failed","redaction.status":"failed",redactionReason:(o instanceof Error?o.message.slice(0,200):String(o).slice(0,200))||"unknown error",redactionDataDropped:!0,originalType:t,originalSessionId:r.sessionId??null}}}record(t,r,o,s){let c=new Date,m=this.formatDate(c),f=this.redactEventData(t,s),N={ts:c.toISOString(),date:m,type:t,category:r,sessionId:o,data:f};this.eventBuffer.push(N),this.updateStats(N),this.eventBuffer.length>=this.maxBufferSize&&this.flushEvents()}formatDate(t){return t.toISOString().split("T")[0]??""}loadStats(){if(B.existsSync(this.statsFile))try{let t=JSON.parse(B.readFileSync(this.statsFile,"utf-8"));for(let r in t)this.statsCache.set(r,t[r])}catch(t){this.logger&&this.logger.error(`[PD] Failed to load daily-stats.json: ${String(t)}`)}}updateStats(t){let r=this.statsCache.get(t.date);if(r||(r=ir(t.date),this.statsCache.set(t.date,r)),t.type==="tool_call")r.tools.total++,t.category==="success"?r.tools.success++:r.tools.failure++;else if(t.type==="pain_signal"){let o=t.data;if(o.source==="user_empathy"){if(o.deduped)r.empathy.dedupedCount++;else{r.empathy.totalEvents++,r.empathy.totalPenaltyScore+=o.score||0,o.severity&&(r.empathy.bySeverity[o.severity]++,r.empathy.scoreBySeverity[o.severity]+=o.score||0),o.detection_mode&&r.empathy.byDetectionMode[o.detection_mode]++,o.origin&&r.empathy.byOrigin[o.origin]++;let c=o.confidence??1;c>=.8?r.empathy.confidenceDistribution.high++:c>=.5?r.empathy.confidenceDistribution.medium++:r.empathy.confidenceDistribution.low++}let s=r.empathy.totalEvents+r.empathy.dedupedCount;r.empathy.dedupeHitRate=s>0?r.empathy.dedupedCount/s:0}}else if(t.type==="hook_execution"){let o=t.data;if(r.hooks.total++,t.category==="success"?r.hooks.success++:r.hooks.failure++,o.hook){r.hooks.byType[o.hook]||(r.hooks.byType[o.hook]={total:0,success:0,failure:0});let s=r.hooks.byType[o.hook];s&&(s.total++,t.category==="success"?s.success++:s.failure++)}}else if(t.type==="empathy_rollback"){let o=t.data;r.empathy.rollbackCount++,r.empathy.rolledBackScore+=o.originalScore||0}else if(t.type==="rule_promotion")r.evolution.rulesPromoted++;else if(t.type==="evolution_task")t.category==="completed"?r.evolution.tasksCompleted++:t.category==="enqueued"&&r.evolution.tasksEnqueued++;else if(t.type==="diagnosis_task")r.evolution.diagnosisTasksWritten++;else if(t.type==="heartbeat_diagnosis")r.evolution.heartbeatsInjected++;else if(t.type==="diagnostician_report"){let o=t.data;if(Object.prototype.hasOwnProperty.call(o,"category")){let s=o.category;typeof s=="string"&&(s==="success"||s==="missing_json"||s==="incomplete_fields")&&r.evolution.diagnosticianReportsWritten++,typeof s=="string"&&s==="missing_json"&&r.evolution.reportsMissingJson++,typeof s=="string"&&s==="incomplete_fields"&&r.evolution.reportsIncompleteFields++}else Object.prototype.hasOwnProperty.call(o,"success")&&r.evolution.diagnosticianReportsWritten++}else t.type==="principle_candidate"?r.evolution.principleCandidatesCreated++:t.type==="rule_enforced"?r.evolution.rulesEnforced++:t.type==="rulehost_evaluated"?r.evolution.rulehostEvaluated++:t.type==="rulehost_blocked"?r.evolution.rulehostBlocked++:t.type==="rulehost_requireApproval"?r.evolution.rulehostRequireApproval++:t.type==="rulehost_auto_correct_proposed"?r.evolution.rulehostAutoCorrectProposed++:t.type==="rulehost_auto_correct_applied"&&r.evolution.rulehostAutoCorrectApplied++}startFlushTimer(){this.flushTimer=setInterval(()=>this.flush(),this.flushIntervalMs),this.flushTimer.unref()}flush(){this.flushEvents(),this.flushStats()}getBufferedEvents(){return this.eventBuffer.map(t=>({...t,data:{...t.data}}))}getEventDedupKey(t){let r=typeof t.data?.eventId=="string"?String(t.data.eventId):null;if(r)return`${t.type}:${t.sessionId??"none"}:${r}`;let o=t.data??{};return[t.ts??"no-ts",t.type??"no-type",t.category??"no-category",t.sessionId??"no-session",typeof o.source=="string"?o.source:"no-source",typeof o.toolName=="string"?o.toolName:"no-tool",typeof o.reason=="string"?o.reason:"no-reason"].join("::")}readPersistedEvents(){let t=this.ensureEventsFile();if(!B.existsSync(t))return[];try{return B.readFileSync(t,"utf-8").trim().split(`
2
+ var xi=Object.defineProperty;var Oi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ar=(e,t)=>{for(var r in t)xi(e,r,{get:t[r],enumerable:!0})};import*as B from"fs";import*as vt from"path";var Hr={receiptState:["open","closed","reconciled"],execution:["completed","degraded","timeout","failed","unknown"],payload:["none","prepared","returned","confirmed","unknown"],selection:["selected","none_applicable","skipped","unavailable"],submission:["proceeded","blocked","unknown"]};function qr(e){return e===null||typeof e!="object"||Array.isArray(e)||Object.getPrototypeOf(e)!==Object.prototype||Object.hasOwn(e,"__proto__")?!1:Reflect.ownKeys(e).every(r=>{if(typeof r!="string")return!1;let o=Object.getOwnPropertyDescriptor(e,r);return o!==void 0&&Object.hasOwn(o,"value")})}function Ze(e){return typeof e=="string"&&e.trim().length>0}function Ei(e,t){return typeof e=="string"&&t.includes(e)}var Wr=()=>({ok:!1,errors:["record must be a plain data object"]});function zr(e){try{let t=[];if(!qr(e))return Wr();let r=Object.hasOwn(e,"evidence"),o=r?e.evidence:void 0,s=qr(o)?o:void 0,c=!r||s!==void 0,m=c&&r;c||t.push("evidence must be a plain data object when present"),(!Object.hasOwn(e,"hookInvocationId")||!Ze(e.hookInvocationId))&&t.push("hookInvocationId must be a non-empty string"),Object.hasOwn(e,"requestId")&&!Ze(e.requestId)&&t.push("requestId must be a non-empty string when present");for(let f of Object.keys(Hr)){let N=Hr[f];(!Object.hasOwn(e,f)||!Ei(e[f],N))&&t.push(`${f} must be one of: ${N.join(", ")}`)}if(Object.hasOwn(e,"selectionPending")&&typeof e.selectionPending!="boolean"&&t.push("selectionPending must be a boolean when present"),e.receiptState==="open"){for(let f of["execution","payload","submission"])e[f]!=="unknown"&&t.push(`open receipt requires ${f}=unknown`);(e.selection!=="unavailable"||e.selectionPending!==!0)&&t.push("open receipt requires selection=unavailable and selectionPending=true")}else e.selectionPending===!0&&t.push("selectionPending cannot be true for a terminal receipt");if(e.payload==="confirmed"&&(e.execution!=="completed"&&t.push("confirmed payload requires execution=completed"),(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("confirmed payload requires independentlyVerified=true"),(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("confirmed payload requires a non-empty evidence.reference")),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("known submission requires a non-empty independent evidence.reference"),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("known submission requires independentlyVerified=true"),typeof e.execution=="string"&&["degraded","timeout","failed","unknown"].includes(e.execution)&&typeof e.payload=="string"&&["returned","confirmed"].includes(e.payload)&&t.push(`${e.execution} execution cannot have payload=${e.payload}`),e.execution==="timeout"&&((!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("timeout requires independently verified evidence with a non-empty reference"),(!m||!s||!Object.hasOwn(s,"hostKillConfirmed")||s.hostKillConfirmed!==!0)&&t.push("timeout requires evidence.hostKillConfirmed=true")),e.selection==="none_applicable"&&(e.execution!=="completed"||e.payload!=="none")&&t.push("none_applicable requires execution=completed and payload=none"),e.selection==="unavailable"&&typeof e.payload=="string"&&["prepared","returned","confirmed"].includes(e.payload)&&t.push(`unavailable selection cannot have payload=${e.payload}`),c&&s){Object.hasOwn(s,"reference")&&!Ze(s.reference)&&t.push("evidence.reference must be a non-empty string when present");for(let f of["independentlyVerified","hostKillConfirmed"])Object.hasOwn(s,f)&&typeof s[f]!="boolean"&&t.push(`evidence.${f} must be a boolean when present`)}return{ok:t.length===0,errors:t}}catch{return Wr()}}import*as ur from"path";import*as Yr from"os";var Si=[/(^|[/\\])fake([/\\]|$)/i,/(^|[/\\])mock([/\\]|$)/i,/(^|[/\\])tmp[/\\]fake-/i],hi=ur.join(Yr.tmpdir(),".pd-test-quarantine");function Ri(e){if(!e)return!1;let t=e.replace(/\\/g,"/");return Si.some(r=>r.test(t))}function Jr(e){if(!e||!(process.env.NODE_ENV==="test"||!!process.env.VITEST)||!Ri(e))return e;let r=e.replace(/[:*?"<>|]/g,"_").replace(/[/\\]/g,"_");for(;r.startsWith("_");)r=r.slice(1);for(;r.endsWith("_");)r=r.slice(0,-1);return ur.join(hi,r)}var H={};ar(H,{HasPropertyKey:()=>kt,IsArray:()=>D,IsAsyncIterator:()=>cr,IsBigInt:()=>bt,IsBoolean:()=>Te,IsDate:()=>Ve,IsFunction:()=>pr,IsIterator:()=>mr,IsNull:()=>fr,IsNumber:()=>Q,IsObject:()=>O,IsRegExp:()=>gt,IsString:()=>R,IsSymbol:()=>dr,IsUint8Array:()=>Fe,IsUndefined:()=>v});function kt(e,t){return t in e}function cr(e){return O(e)&&!D(e)&&!Fe(e)&&Symbol.asyncIterator in e}function D(e){return Array.isArray(e)}function bt(e){return typeof e=="bigint"}function Te(e){return typeof e=="boolean"}function Ve(e){return e instanceof globalThis.Date}function pr(e){return typeof e=="function"}function mr(e){return O(e)&&!D(e)&&!Fe(e)&&Symbol.iterator in e}function fr(e){return e===null}function Q(e){return typeof e=="number"}function O(e){return typeof e=="object"&&e!==null}function gt(e){return e instanceof globalThis.RegExp}function R(e){return typeof e=="string"}function dr(e){return typeof e=="symbol"}function Fe(e){return e instanceof globalThis.Uint8Array}function v(e){return e===void 0}function Ti(e){return e.map(t=>Kt(t))}function Fi(e){return new Date(e.getTime())}function Ai(e){return new Uint8Array(e)}function _i(e){return new RegExp(e.source,e.flags)}function Ni(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=Kt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=Kt(e[r]);return t}function Kt(e){return D(e)?Ti(e):Ve(e)?Fi(e):Fe(e)?Ai(e):gt(e)?_i(e):O(e)?Ni(e):e}function A(e){return Kt(e)}function Xe(e,t){return t===void 0?A(e):A({...t,...e})}function Zr(e){return e!==null&&typeof e=="object"}function Xr(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Qr(e){return e===void 0}function en(e){return typeof e=="number"}var Ut;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(m,f){return e.ExactOptionalPropertyTypes?f in m:m[f]!==void 0}e.IsExactOptionalProperty=t;function r(m){let f=Zr(m);return e.AllowArrayObject?f:f&&!Xr(m)}e.IsObjectLike=r;function o(m){return r(m)&&!(m instanceof Date)&&!(m instanceof Uint8Array)}e.IsRecordLike=o;function s(m){return e.AllowNaN?en(m):Number.isFinite(m)}e.IsNumberLike=s;function c(m){let f=Qr(m);return e.AllowNullVoid?f||m===null:f}e.IsVoidLike=c})(Ut||(Ut={}));function ji(e){return globalThis.Object.freeze(e).map(t=>xt(t))}function Pi(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=xt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=xt(e[r]);return globalThis.Object.freeze(t)}function xt(e){return D(e)?ji(e):Ve(e)?e:Fe(e)?e:gt(e)?e:O(e)?Pi(e):e}function a(e,t){let r=t!==void 0?{...t,...e}:e;switch(Ut.InstanceMode){case"freeze":return xt(r);case"clone":return A(r);default:return r}}var G=class extends Error{constructor(t){super(t)}};var K=Symbol.for("TypeBox.Transform"),fe=Symbol.for("TypeBox.Readonly"),$=Symbol.for("TypeBox.Optional"),se=Symbol.for("TypeBox.Hint"),p=Symbol.for("TypeBox.Kind");function Qe(e){return O(e)&&e[fe]==="Readonly"}function Y(e){return O(e)&&e[$]==="Optional"}function lr(e){return l(e,"Any")}function Ir(e){return l(e,"Argument")}function de(e){return l(e,"Array")}function $e(e){return l(e,"AsyncIterator")}function Be(e){return l(e,"BigInt")}function Ae(e){return l(e,"Boolean")}function le(e){return l(e,"Computed")}function Ie(e){return l(e,"Constructor")}function Ci(e){return l(e,"Date")}function ye(e){return l(e,"Function")}function be(e){return l(e,"Integer")}function j(e){return l(e,"Intersect")}function He(e){return l(e,"Iterator")}function l(e,t){return O(e)&&p in e&&e[p]===t}function wt(e){return Te(e)||Q(e)||R(e)}function ee(e){return l(e,"Literal")}function te(e){return l(e,"MappedKey")}function _(e){return l(e,"MappedResult")}function Pe(e){return l(e,"Never")}function Li(e){return l(e,"Not")}function Ot(e){return l(e,"Null")}function ge(e){return l(e,"Number")}function k(e){return l(e,"Object")}function qe(e){return l(e,"Promise")}function We(e){return l(e,"Record")}function C(e){return l(e,"Ref")}function yr(e){return l(e,"RegExp")}function _e(e){return l(e,"String")}function Et(e){return l(e,"Symbol")}function re(e){return l(e,"TemplateLiteral")}function Di(e){return l(e,"This")}function Ce(e){return O(e)&&K in e}function ne(e){return l(e,"Tuple")}function St(e){return l(e,"Undefined")}function I(e){return l(e,"Union")}function vi(e){return l(e,"Uint8Array")}function ki(e){return l(e,"Unknown")}function Ki(e){return l(e,"Unsafe")}function Ui(e){return l(e,"Void")}function wi(e){return O(e)&&p in e&&R(e[p])}function oe(e){return lr(e)||Ir(e)||de(e)||Ae(e)||Be(e)||$e(e)||le(e)||Ie(e)||Ci(e)||ye(e)||be(e)||j(e)||He(e)||ee(e)||te(e)||_(e)||Pe(e)||Li(e)||Ot(e)||ge(e)||k(e)||qe(e)||We(e)||C(e)||yr(e)||_e(e)||Et(e)||re(e)||Di(e)||ne(e)||St(e)||I(e)||vi(e)||ki(e)||Ki(e)||Ui(e)||wi(e)}var i={};ar(i,{IsAny:()=>on,IsArgument:()=>sn,IsArray:()=>an,IsAsyncIterator:()=>un,IsBigInt:()=>cn,IsBoolean:()=>pn,IsComputed:()=>mn,IsConstructor:()=>fn,IsDate:()=>dn,IsFunction:()=>ln,IsImport:()=>Hi,IsInteger:()=>In,IsIntersect:()=>yn,IsIterator:()=>bn,IsKind:()=>$n,IsKindOf:()=>d,IsLiteral:()=>Rt,IsLiteralBoolean:()=>qi,IsLiteralNumber:()=>xn,IsLiteralString:()=>gn,IsLiteralValue:()=>On,IsMappedKey:()=>En,IsMappedResult:()=>Sn,IsNever:()=>hn,IsNot:()=>Rn,IsNull:()=>Tn,IsNumber:()=>Fn,IsObject:()=>An,IsOptional:()=>Bi,IsPromise:()=>_n,IsProperties:()=>Gt,IsReadonly:()=>$i,IsRecord:()=>Nn,IsRecursive:()=>Wi,IsRef:()=>jn,IsRegExp:()=>Pn,IsSchema:()=>M,IsString:()=>Cn,IsSymbol:()=>Ln,IsTemplateLiteral:()=>Dn,IsThis:()=>vn,IsTransform:()=>kn,IsTuple:()=>Kn,IsUint8Array:()=>wn,IsUndefined:()=>Un,IsUnion:()=>Or,IsUnionLiteral:()=>zi,IsUnknown:()=>Gn,IsUnsafe:()=>Mn,IsVoid:()=>Vn,TypeGuardUnknownTypeError:()=>br});var br=class extends G{},Gi=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function tn(e){try{return new RegExp(e),!0}catch{return!1}}function gr(e){if(!R(e))return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127)return!1}return!0}function rn(e){return xr(e)||M(e)}function ht(e){return v(e)||bt(e)}function T(e){return v(e)||Q(e)}function xr(e){return v(e)||Te(e)}function E(e){return v(e)||R(e)}function Mi(e){return v(e)||R(e)&&gr(e)&&tn(e)}function Vi(e){return v(e)||R(e)&&gr(e)}function nn(e){return v(e)||M(e)}function $i(e){return O(e)&&e[fe]==="Readonly"}function Bi(e){return O(e)&&e[$]==="Optional"}function on(e){return d(e,"Any")&&E(e.$id)}function sn(e){return d(e,"Argument")&&Q(e.index)}function an(e){return d(e,"Array")&&e.type==="array"&&E(e.$id)&&M(e.items)&&T(e.minItems)&&T(e.maxItems)&&xr(e.uniqueItems)&&nn(e.contains)&&T(e.minContains)&&T(e.maxContains)}function un(e){return d(e,"AsyncIterator")&&e.type==="AsyncIterator"&&E(e.$id)&&M(e.items)}function cn(e){return d(e,"BigInt")&&e.type==="bigint"&&E(e.$id)&&ht(e.exclusiveMaximum)&&ht(e.exclusiveMinimum)&&ht(e.maximum)&&ht(e.minimum)&&ht(e.multipleOf)}function pn(e){return d(e,"Boolean")&&e.type==="boolean"&&E(e.$id)}function mn(e){return d(e,"Computed")&&R(e.target)&&D(e.parameters)&&e.parameters.every(t=>M(t))}function fn(e){return d(e,"Constructor")&&e.type==="Constructor"&&E(e.$id)&&D(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function dn(e){return d(e,"Date")&&e.type==="Date"&&E(e.$id)&&T(e.exclusiveMaximumTimestamp)&&T(e.exclusiveMinimumTimestamp)&&T(e.maximumTimestamp)&&T(e.minimumTimestamp)&&T(e.multipleOfTimestamp)}function ln(e){return d(e,"Function")&&e.type==="Function"&&E(e.$id)&&D(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function Hi(e){return d(e,"Import")&&kt(e,"$defs")&&O(e.$defs)&&Gt(e.$defs)&&kt(e,"$ref")&&R(e.$ref)&&e.$ref in e.$defs}function In(e){return d(e,"Integer")&&e.type==="integer"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function Gt(e){return O(e)&&Object.entries(e).every(([t,r])=>gr(t)&&M(r))}function yn(e){return d(e,"Intersect")&&!(R(e.type)&&e.type!=="object")&&D(e.allOf)&&e.allOf.every(t=>M(t)&&!kn(t))&&E(e.type)&&(xr(e.unevaluatedProperties)||nn(e.unevaluatedProperties))&&E(e.$id)}function bn(e){return d(e,"Iterator")&&e.type==="Iterator"&&E(e.$id)&&M(e.items)}function d(e,t){return O(e)&&p in e&&e[p]===t}function gn(e){return Rt(e)&&R(e.const)}function xn(e){return Rt(e)&&Q(e.const)}function qi(e){return Rt(e)&&Te(e.const)}function Rt(e){return d(e,"Literal")&&E(e.$id)&&On(e.const)}function On(e){return Te(e)||Q(e)||R(e)}function En(e){return d(e,"MappedKey")&&D(e.keys)&&e.keys.every(t=>Q(t)||R(t))}function Sn(e){return d(e,"MappedResult")&&Gt(e.properties)}function hn(e){return d(e,"Never")&&O(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Rn(e){return d(e,"Not")&&M(e.not)}function Tn(e){return d(e,"Null")&&e.type==="null"&&E(e.$id)}function Fn(e){return d(e,"Number")&&e.type==="number"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function An(e){return d(e,"Object")&&e.type==="object"&&E(e.$id)&&Gt(e.properties)&&rn(e.additionalProperties)&&T(e.minProperties)&&T(e.maxProperties)}function _n(e){return d(e,"Promise")&&e.type==="Promise"&&E(e.$id)&&M(e.item)}function Nn(e){return d(e,"Record")&&e.type==="object"&&E(e.$id)&&rn(e.additionalProperties)&&O(e.patternProperties)&&(t=>{let r=Object.getOwnPropertyNames(t.patternProperties);return r.length===1&&tn(r[0])&&O(t.patternProperties)&&M(t.patternProperties[r[0]])})(e)}function Wi(e){return O(e)&&se in e&&e[se]==="Recursive"}function jn(e){return d(e,"Ref")&&E(e.$id)&&R(e.$ref)}function Pn(e){return d(e,"RegExp")&&E(e.$id)&&R(e.source)&&R(e.flags)&&T(e.maxLength)&&T(e.minLength)}function Cn(e){return d(e,"String")&&e.type==="string"&&E(e.$id)&&T(e.minLength)&&T(e.maxLength)&&Mi(e.pattern)&&Vi(e.format)}function Ln(e){return d(e,"Symbol")&&e.type==="symbol"&&E(e.$id)}function Dn(e){return d(e,"TemplateLiteral")&&e.type==="string"&&R(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function vn(e){return d(e,"This")&&E(e.$id)&&R(e.$ref)}function kn(e){return O(e)&&K in e}function Kn(e){return d(e,"Tuple")&&e.type==="array"&&E(e.$id)&&Q(e.minItems)&&Q(e.maxItems)&&e.minItems===e.maxItems&&(v(e.items)&&v(e.additionalItems)&&e.minItems===0||D(e.items)&&e.items.every(t=>M(t)))}function Un(e){return d(e,"Undefined")&&e.type==="undefined"&&E(e.$id)}function zi(e){return Or(e)&&e.anyOf.every(t=>gn(t)||xn(t))}function Or(e){return d(e,"Union")&&E(e.$id)&&O(e)&&D(e.anyOf)&&e.anyOf.every(t=>M(t))}function wn(e){return d(e,"Uint8Array")&&e.type==="Uint8Array"&&E(e.$id)&&T(e.minByteLength)&&T(e.maxByteLength)}function Gn(e){return d(e,"Unknown")&&E(e.$id)}function Mn(e){return d(e,"Unsafe")}function Vn(e){return d(e,"Void")&&e.type==="void"&&E(e.$id)}function $n(e){return O(e)&&p in e&&R(e[p])&&!Gi.includes(e[p])}function M(e){return O(e)&&(on(e)||sn(e)||an(e)||pn(e)||cn(e)||un(e)||mn(e)||fn(e)||dn(e)||ln(e)||In(e)||yn(e)||bn(e)||Rt(e)||En(e)||Sn(e)||hn(e)||Rn(e)||Tn(e)||Fn(e)||An(e)||_n(e)||Nn(e)||jn(e)||Pn(e)||Cn(e)||Ln(e)||Dn(e)||vn(e)||Kn(e)||Un(e)||Or(e)||wn(e)||Gn(e)||Mn(e)||Vn(e)||$n(e))}var Er="(true|false)",Tt="(0|[1-9][0-9]*)",Sr="(.*)",Yi="(?!.*)",Hp=`^${Er}$`,Le=`^${Tt}$`,De=`^${Sr}$`,Bn=`^${Yi}$`;function Hn(e,t){return e.includes(t)}function qn(e){return[...new Set(e)]}function Ji(e,t){return e.filter(r=>t.includes(r))}function Zi(e,t){return e.reduce((r,o)=>Ji(r,o),t)}function Wn(e){return e.length===1?e[0]:e.length>1?Zi(e.slice(1),e[0]):[]}function zn(e){let t=[];for(let r of e)t.push(...r);return t}function ve(e){return a({[p]:"Any"},e)}function et(e,t){return a({[p]:"Array",type:"array",items:e},t)}function Yn(e){return a({[p]:"Argument",index:e})}function tt(e,t){return a({[p]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function F(e,t,r){return a({[p]:"Computed",target:e,parameters:t},r)}function Xi(e,t){let{[t]:r,...o}=e;return o}function P(e,t){return t.reduce((r,o)=>Xi(r,o),e)}function y(e){return a({[p]:"Never",not:{}},e)}function b(e){return a({[p]:"MappedResult",properties:e})}function rt(e,t,r){return a({[p]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function Se(e,t,r){return a({[p]:"Function",type:"Function",parameters:e,returns:t},r)}function Ft(e,t){return a({[p]:"Union",anyOf:e},t)}function Qi(e){return e.some(t=>Y(t))}function Jn(e){return e.map(t=>Y(t)?es(t):t)}function es(e){return P(e,[$])}function ts(e,t){return Qi(e)?q(Ft(Jn(e),t)):Ft(Jn(e),t)}function he(e,t){return e.length===1?a(e[0],t):e.length===0?y(t):ts(e,t)}function x(e,t){return e.length===0?y(t):e.length===1?a(e[0],t):Ft(e,t)}var Mt=class extends G{};function rs(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function hr(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function je(e,t){return hr(e,t,"(")}function At(e,t){return hr(e,t,")")}function Zn(e,t){return hr(e,t,"|")}function ns(e){if(!(je(e,0)&&At(e,e.length-1)))return!1;let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),t===0&&r!==e.length-1)return!1;return!0}function os(e){return e.slice(1,e.length-1)}function is(e){let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),Zn(e,r)&&t===0)return!0;return!1}function ss(e){for(let t=0;t<e.length;t++)if(je(e,t))return!0;return!1}function as(e){let[t,r]=[0,0],o=[];for(let c=0;c<e.length;c++)if(je(e,c)&&(t+=1),At(e,c)&&(t-=1),Zn(e,c)&&t===0){let m=e.slice(r,c);m.length>0&&o.push(nt(m)),r=c+1}let s=e.slice(r);return s.length>0&&o.push(nt(s)),o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"or",expr:o}}function us(e){function t(s,c){if(!je(s,c))throw new Mt("TemplateLiteralParser: Index must point to open parens");let m=0;for(let f=c;f<s.length;f++)if(je(s,f)&&(m+=1),At(s,f)&&(m-=1),m===0)return[c,f];throw new Mt("TemplateLiteralParser: Unclosed group parens in expression")}function r(s,c){for(let m=c;m<s.length;m++)if(je(s,m))return[c,m];return[c,s.length]}let o=[];for(let s=0;s<e.length;s++)if(je(e,s)){let[c,m]=t(e,s),f=e.slice(c,m+1);o.push(nt(f)),s=m}else{let[c,m]=r(e,s),f=e.slice(c,m);f.length>0&&o.push(nt(f)),s=m-1}return o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"and",expr:o}}function nt(e){return ns(e)?nt(os(e)):is(e)?as(e):ss(e)?us(e):{type:"const",const:rs(e)}}function ot(e){return nt(e.slice(1,e.length-1))}var Rr=class extends G{};function cs(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function ps(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function ms(e){return e.type==="const"&&e.const===".*"}function ze(e){return cs(e)||ms(e)?!1:ps(e)?!0:e.type==="and"?e.expr.every(t=>ze(t)):e.type==="or"?e.expr.every(t=>ze(t)):e.type==="const"?!0:(()=>{throw new Rr("Unknown expression type")})()}function Xn(e){let t=ot(e.pattern);return ze(t)}var Tr=class extends G{};function*Qn(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let r of Qn(e.slice(1)))yield`${t}${r}`}function*fs(e){return yield*Qn(e.expr.map(t=>[..._t(t)]))}function*ds(e){for(let t of e.expr)yield*_t(t)}function*ls(e){return yield e.const}function*_t(e){return e.type==="and"?yield*fs(e):e.type==="or"?yield*ds(e):e.type==="const"?yield*ls(e):(()=>{throw new Tr("Unknown expression")})()}function Vt(e){let t=ot(e.pattern);return ze(t)?[..._t(t)]:[]}function g(e,t){return a({[p]:"Literal",const:e,type:typeof e},t)}function $t(e){return a({[p]:"Boolean",type:"boolean"},e)}function it(e){return a({[p]:"BigInt",type:"bigint"},e)}function ae(e){return a({[p]:"Number",type:"number"},e)}function xe(e){return a({[p]:"String",type:"string"},e)}function*Is(e){let t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield $t():t==="number"?yield ae():t==="bigint"?yield it():t==="string"?yield xe():yield(()=>{let r=t.split("|").map(o=>g(o.trim()));return r.length===0?y():r.length===1?r[0]:he(r)})()}function*ys(e){if(e[1]!=="{"){let t=g("$"),r=Fr(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++)if(e[t]==="}"){let r=Is(e.slice(2,t)),o=Fr(e.slice(t+1));return yield*[...r,...o]}yield g(e)}function*Fr(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){let r=g(e.slice(0,t)),o=ys(e.slice(t));return yield*[r,...o]}yield g(e)}function eo(e){return[...Fr(e)]}var Ar=class extends G{};function bs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(e,t){return re(e)?e.pattern.slice(1,e.pattern.length-1):I(e)?`(${e.anyOf.map(r=>to(r,t)).join("|")})`:ge(e)?`${t}${Tt}`:be(e)?`${t}${Tt}`:Be(e)?`${t}${Tt}`:_e(e)?`${t}${Sr}`:ee(e)?`${t}${bs(e.const.toString())}`:Ae(e)?`${t}${Er}`:(()=>{throw new Ar(`Unexpected Kind '${e[p]}'`)})()}function _r(e){return`^${e.map(t=>to(t,"")).join("")}$`}function Ye(e){let r=Vt(e).map(o=>g(o));return he(r)}function Bt(e,t){let r=R(e)?_r(eo(e)):_r(e);return a({[p]:"TemplateLiteral",type:"string",pattern:r},t)}function gs(e){return Vt(e).map(r=>r.toString())}function xs(e){let t=[];for(let r of e)t.push(...J(r));return t}function Os(e){return[e.toString()]}function J(e){return[...new Set(re(e)?gs(e):I(e)?xs(e.anyOf):ee(e)?Os(e.const):ge(e)?["[number]"]:be(e)?["[number]"]:[])]}function Es(e,t,r){let o={};for(let s of Object.getOwnPropertyNames(t))o[s]=ke(e,J(t[s]),r);return o}function Ss(e,t,r){return Es(e,t.properties,r)}function ro(e,t,r){let o=Ss(e,t,r);return b(o)}function oo(e,t){return e.map(r=>io(r,t))}function hs(e){return e.filter(t=>!Pe(t))}function Rs(e,t){return Ht(hs(oo(e,t)))}function Ts(e){return e.some(t=>Pe(t))?[]:e}function Fs(e,t){return he(Ts(oo(e,t)))}function As(e,t){return t in e?e[t]:t==="[number]"?he(e):y()}function _s(e,t){return t==="[number]"?e:y()}function Ns(e,t){return t in e?e[t]:y()}function io(e,t){return j(e)?Rs(e.allOf,t):I(e)?Fs(e.anyOf,t):ne(e)?As(e.items??[],t):de(e)?_s(e.items,t):k(e)?Ns(e.properties,t):y()}function Nr(e,t){return t.map(r=>io(e,r))}function no(e,t){return he(Nr(e,t))}function ke(e,t,r){if(C(e)||C(t)){let o="Index types using Ref parameters require both Type and Key to be of TSchema";if(!oe(e)||!oe(t))throw new G(o);return F("Index",[e,t])}return _(t)?ro(e,t,r):te(t)?so(e,t,r):a(oe(t)?no(e,J(t)):no(e,t),r)}function js(e,t,r){return{[t]:ke(e,[t],A(r))}}function Ps(e,t,r){return t.reduce((o,s)=>({...o,...js(e,s,r)}),{})}function Cs(e,t,r){return Ps(e,t.keys,r)}function so(e,t,r){let o=Cs(e,t,r);return b(o)}function st(e,t){return a({[p]:"Iterator",type:"Iterator",items:e},t)}function Ls(e){return globalThis.Object.keys(e).filter(t=>!Y(e[t]))}function Ds(e,t){let r=Ls(e),o=r.length>0?{[p]:"Object",type:"object",required:r,properties:e}:{[p]:"Object",type:"object",properties:e};return a(o,t)}var S=Ds;function qt(e,t){return a({[p]:"Promise",type:"Promise",item:e},t)}function vs(e){return a(P(e,[fe]))}function ks(e){return a({...e,[fe]:"Readonly"})}function Ks(e,t){return t===!1?vs(e):ks(e)}function Z(e,t){let r=t??!0;return _(e)?ao(e,r):Ks(e,r)}function Us(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=Z(e[o],t);return r}function ws(e,t){return Us(e.properties,t)}function ao(e,t){let r=ws(e,t);return b(r)}function ue(e,t){return a(e.length>0?{[p]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[p]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function uo(e,t){return e in t?ce(e,t[e]):b(t)}function Gs(e){return{[e]:g(e)}}function Ms(e){let t={};for(let r of e)t[r]=g(r);return t}function Vs(e,t){return Hn(t,e)?Gs(e):Ms(t)}function $s(e,t){let r=Vs(e,t);return uo(e,r)}function Nt(e,t){return t.map(r=>ce(e,r))}function Bs(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(t))r[o]=ce(e,t[o]);return r}function ce(e,t){let r={...t};return Y(t)?q(ce(e,P(t,[$]))):Qe(t)?Z(ce(e,P(t,[fe]))):_(t)?uo(e,t.properties):te(t)?$s(e,t.keys):Ie(t)?rt(Nt(e,t.parameters),ce(e,t.returns),r):ye(t)?Se(Nt(e,t.parameters),ce(e,t.returns),r):$e(t)?tt(ce(e,t.items),r):He(t)?st(ce(e,t.items),r):j(t)?W(Nt(e,t.allOf),r):I(t)?x(Nt(e,t.anyOf),r):ne(t)?ue(Nt(e,t.items??[]),r):k(t)?S(Bs(e,t.properties),r):de(t)?et(ce(e,t.items),r):qe(t)?qt(ce(e,t.item),r):t}function Hs(e,t){let r={};for(let o of e)r[o]=ce(o,t);return r}function co(e,t,r){let o=oe(e)?J(e):e,s=t({[p]:"MappedKey",keys:o}),c=Hs(o,s);return S(c,r)}function qs(e){return a(P(e,[$]))}function Ws(e){return a({...e,[$]:"Optional"})}function zs(e,t){return t===!1?qs(e):Ws(e)}function q(e,t){let r=t??!0;return _(e)?po(e,r):zs(e,r)}function Ys(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=q(e[o],t);return r}function Js(e,t){return Ys(e.properties,t)}function po(e,t){let r=Js(e,t);return b(r)}function jt(e,t={}){let r=e.every(s=>k(s)),o=oe(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return a(t.unevaluatedProperties===!1||oe(t.unevaluatedProperties)||r?{...o,[p]:"Intersect",type:"object",allOf:e}:{...o,[p]:"Intersect",allOf:e},t)}function Zs(e){return e.every(t=>Y(t))}function Xs(e){return P(e,[$])}function mo(e){return e.map(t=>Y(t)?Xs(t):t)}function Qs(e,t){return Zs(e)?q(jt(mo(e),t)):jt(mo(e),t)}function Ht(e,t={}){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return Qs(e,t)}function W(e,t){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return jt(e,t)}function Re(...e){let[t,r]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new G("Ref: $ref must be a string");return a({[p]:"Ref",$ref:t},r)}function ea(e,t){return F("Awaited",[F(e,t)])}function ta(e){return F("Awaited",[Re(e)])}function ra(e){return W(fo(e))}function na(e){return x(fo(e))}function oa(e){return at(e)}function fo(e){return e.map(t=>at(t))}function at(e,t){return a(le(e)?ea(e.target,e.parameters):j(e)?ra(e.allOf):I(e)?na(e.anyOf):qe(e)?oa(e.item):C(e)?ta(e.$ref):e,t)}function lo(e){let t=[];for(let r of e)t.push(Pt(r));return t}function ia(e){let t=lo(e);return zn(t)}function sa(e){let t=lo(e);return Wn(t)}function aa(e){return e.map((t,r)=>r.toString())}function ua(e){return["[number]"]}function ca(e){return globalThis.Object.getOwnPropertyNames(e)}function pa(e){return ma?globalThis.Object.getOwnPropertyNames(e).map(r=>r[0]==="^"&&r[r.length-1]==="$"?r.slice(1,r.length-1):r):[]}function Pt(e){return j(e)?ia(e.allOf):I(e)?sa(e.anyOf):ne(e)?aa(e.items??[]):de(e)?ua(e.items):k(e)?ca(e.properties):We(e)?pa(e.patternProperties):[]}var ma=!1;function fa(e,t){return F("KeyOf",[F(e,t)])}function da(e){return F("KeyOf",[Re(e)])}function la(e,t){let r=Pt(e),o=Ia(r),s=he(o);return a(s,t)}function Ia(e){return e.map(t=>t==="[number]"?ae():g(t))}function ut(e,t){return le(e)?fa(e.target,e.parameters):C(e)?da(e.$ref):_(e)?Io(e,t):la(e,t)}function ya(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ut(e[o],A(t));return r}function ba(e,t){return ya(e.properties,t)}function Io(e,t){let r=ba(e,t);return b(r)}function ga(e){let t=[];for(let r of e)t.push(...Pt(r));return qn(t)}function xa(e){return e.filter(t=>!Pe(t))}function Oa(e,t){let r=[];for(let o of e)r.push(...Nr(o,[t]));return xa(r)}function Ea(e,t){let r={};for(let o of t)r[o]=Ht(Oa(e,o));return r}function yo(e,t){let r=ga(e),o=Ea(e,r);return S(o,t)}function Wt(e){return a({[p]:"Date",type:"Date"},e)}function zt(e){return a({[p]:"Null",type:"null"},e)}function Yt(e){return a({[p]:"Symbol",type:"symbol"},e)}function Jt(e){return a({[p]:"Undefined",type:"undefined"},e)}function Zt(e){return a({[p]:"Uint8Array",type:"Uint8Array"},e)}function Ke(e){return a({[p]:"Unknown"},e)}function Sa(e){return e.map(t=>jr(t,!1))}function ha(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=Z(jr(e[r],!1));return t}function Xt(e,t){return t===!0?e:Z(e)}function jr(e,t){return cr(e)?Xt(ve(),t):mr(e)?Xt(ve(),t):D(e)?Z(ue(Sa(e))):Fe(e)?Zt():Ve(e)?Wt():O(e)?Xt(S(ha(e)),t):pr(e)?Xt(Se([],Ke()),t):v(e)?Jt():fr(e)?zt():dr(e)?Yt():bt(e)?it():Q(e)?g(e):Te(e)?g(e):R(e)?g(e):S({})}function bo(e,t){return a(jr(e,!0),t)}function go(e,t){return Ie(e)?ue(e.parameters,t):y(t)}function xo(e,t){if(v(e))throw new Error("Enum undefined or empty");let r=globalThis.Object.getOwnPropertyNames(e).filter(c=>isNaN(c)).map(c=>e[c]),s=[...new Set(r)].map(c=>g(c));return x(s,{...t,[se]:"Enum"})}var Cr=class extends G{},u;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(u||(u={}));function pe(e){return e===u.False?e:u.True}function ct(e){throw new Cr(e)}function U(e){return i.IsNever(e)||i.IsIntersect(e)||i.IsUnion(e)||i.IsUnknown(e)||i.IsAny(e)}function w(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?vr(e,t):ct("StructuralRight")}function vr(e,t){return u.True}function Ra(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)&&t.anyOf.some(r=>i.IsAny(r)||i.IsUnknown(r))?u.True:i.IsUnion(t)?u.Union:i.IsUnknown(t)||i.IsAny(t)?u.True:u.Union}function Ta(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)?u.True:u.False}function Fa(e,t){return i.IsObject(t)&&er(t)?u.True:U(t)?w(e,t):i.IsArray(t)?pe(h(e.items,t.items)):u.False}function Aa(e,t){return U(t)?w(e,t):i.IsAsyncIterator(t)?pe(h(e.items,t.items)):u.False}function _a(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBigInt(t)?u.True:u.False}function Ro(e,t){return i.IsLiteralBoolean(e)||i.IsBoolean(e)?u.True:u.False}function Na(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBoolean(t)?u.True:u.False}function ja(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsConstructor(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function Pa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsDate(t)?u.True:u.False}function Ca(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsFunction(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function To(e,t){return i.IsLiteral(e)&&H.IsNumber(e.const)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function La(e,t){return i.IsInteger(t)||i.IsNumber(t)?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):u.False}function Qt(e,t){return t.allOf.every(r=>h(e,r)===u.True)?u.True:u.False}function Da(e,t){return e.allOf.some(r=>h(r,t)===u.True)?u.True:u.False}function va(e,t){return U(t)?w(e,t):i.IsIterator(t)?pe(h(e.items,t.items)):u.False}function ka(e,t){return i.IsLiteral(t)&&t.const===e.const?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):u.False}function Fo(e,t){return u.False}function Ka(e,t){return u.True}function Oo(e){let[t,r]=[e,0];for(;i.IsNot(t);)t=t.not,r+=1;return r%2===0?t:Ke()}function Ua(e,t){return i.IsNot(e)?h(Oo(e),t):i.IsNot(t)?h(e,Oo(t)):ct("Invalid fallthrough for Not")}function wa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsNull(t)?u.True:u.False}function Ao(e,t){return i.IsLiteralNumber(e)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function Ga(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsInteger(t)||i.IsNumber(t)?u.True:u.False}function X(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Eo(e){return er(e)}function So(e){return X(e,0)||X(e,1)&&"description"in e.properties&&i.IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(i.IsString(e.properties.description.anyOf[0])&&i.IsUndefined(e.properties.description.anyOf[1])||i.IsString(e.properties.description.anyOf[1])&&i.IsUndefined(e.properties.description.anyOf[0]))}function Pr(e){return X(e,0)}function ho(e){return X(e,0)}function Ma(e){return X(e,0)}function Va(e){return X(e,0)}function $a(e){return er(e)}function Ba(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function Ha(e){return X(e,0)}function er(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function qa(e){let t=Se([ve()],ve());return X(e,0)||X(e,1)&&"then"in e.properties&&pe(h(e.properties.then,t))===u.True}function _o(e,t){return h(e,t)===u.False||i.IsOptional(e)&&!i.IsOptional(t)?u.False:u.True}function z(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)||i.IsLiteralString(e)&&Eo(t)||i.IsLiteralNumber(e)&&Pr(t)||i.IsLiteralBoolean(e)&&ho(t)||i.IsSymbol(e)&&So(t)||i.IsBigInt(e)&&Ma(t)||i.IsString(e)&&Eo(t)||i.IsSymbol(e)&&So(t)||i.IsNumber(e)&&Pr(t)||i.IsInteger(e)&&Pr(t)||i.IsBoolean(e)&&ho(t)||i.IsUint8Array(e)&&$a(t)||i.IsDate(e)&&Va(t)||i.IsConstructor(e)&&Ha(t)||i.IsFunction(e)&&Ba(t)?u.True:i.IsRecord(e)&&i.IsString(Lr(e))?t[se]==="Record"?u.True:u.False:i.IsRecord(e)&&i.IsNumber(Lr(e))&&X(t,0)?u.True:u.False}function Wa(e,t){return U(t)?w(e,t):i.IsRecord(t)?me(e,t):i.IsObject(t)?(()=>{for(let r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!i.IsOptional(t.properties[r]))return u.False;if(i.IsOptional(t.properties[r]))return u.True;if(_o(e.properties[r],t.properties[r])===u.False)return u.False}return u.True})():u.False}function za(e,t){return U(t)?w(e,t):i.IsObject(t)&&qa(t)?u.True:i.IsPromise(t)?pe(h(e.item,t.item)):u.False}function Lr(e){return Le in e.patternProperties?ae():De in e.patternProperties?xe():ct("Unknown record key pattern")}function Dr(e){return Le in e.patternProperties?e.patternProperties[Le]:De in e.patternProperties?e.patternProperties[De]:ct("Unable to get record value schema")}function me(e,t){let[r,o]=[Lr(t),Dr(t)];return i.IsLiteralString(e)&&i.IsNumber(r)&&pe(h(e,o))===u.True?u.True:i.IsUint8Array(e)&&i.IsNumber(r)||i.IsString(e)&&i.IsNumber(r)||i.IsArray(e)&&i.IsNumber(r)?h(e,o):i.IsObject(e)?(()=>{for(let s of Object.getOwnPropertyNames(e.properties))if(_o(o,e.properties[s])===u.False)return u.False;return u.True})():u.False}function Ya(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?h(Dr(e),Dr(t)):u.False}function Ja(e,t){let r=i.IsRegExp(e)?xe():e,o=i.IsRegExp(t)?xe():t;return h(r,o)}function No(e,t){return i.IsLiteral(e)&&H.IsString(e.const)||i.IsString(e)?u.True:u.False}function Za(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?u.True:u.False}function Xa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsSymbol(t)?u.True:u.False}function Qa(e,t){return i.IsTemplateLiteral(e)?h(Ye(e),t):i.IsTemplateLiteral(t)?h(e,Ye(t)):ct("Invalid fallthrough for TemplateLiteral")}function eu(e,t){return i.IsArray(t)&&e.items!==void 0&&e.items.every(r=>h(r,t.items)===u.True)}function tu(e,t){return i.IsNever(e)?u.True:i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:u.False}function ru(e,t){return U(t)?w(e,t):i.IsObject(t)&&er(t)||i.IsArray(t)&&eu(e,t)?u.True:i.IsTuple(t)?H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||!H.IsUndefined(e.items)&&H.IsUndefined(t.items)?u.False:H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||e.items.every((r,o)=>h(r,t.items[o])===u.True)?u.True:u.False:u.False}function nu(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsUint8Array(t)?u.True:u.False}function ou(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsVoid(t)?au(e,t):i.IsUndefined(t)?u.True:u.False}function kr(e,t){return t.anyOf.some(r=>h(e,r)===u.True)?u.True:u.False}function iu(e,t){return e.anyOf.every(r=>h(r,t)===u.True)?u.True:u.False}function jo(e,t){return u.True}function su(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsAny(t)?vr(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):i.IsArray(t)?Ta(e,t):i.IsTuple(t)?tu(e,t):i.IsObject(t)?z(e,t):i.IsUnknown(t)?u.True:u.False}function au(e,t){return i.IsUndefined(e)||i.IsUndefined(e)?u.True:u.False}function uu(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?vr(e,t):i.IsObject(t)?z(e,t):i.IsVoid(t)?u.True:u.False}function h(e,t){return i.IsTemplateLiteral(e)||i.IsTemplateLiteral(t)?Qa(e,t):i.IsRegExp(e)||i.IsRegExp(t)?Ja(e,t):i.IsNot(e)||i.IsNot(t)?Ua(e,t):i.IsAny(e)?Ra(e,t):i.IsArray(e)?Fa(e,t):i.IsBigInt(e)?_a(e,t):i.IsBoolean(e)?Na(e,t):i.IsAsyncIterator(e)?Aa(e,t):i.IsConstructor(e)?ja(e,t):i.IsDate(e)?Pa(e,t):i.IsFunction(e)?Ca(e,t):i.IsInteger(e)?La(e,t):i.IsIntersect(e)?Da(e,t):i.IsIterator(e)?va(e,t):i.IsLiteral(e)?ka(e,t):i.IsNever(e)?Ka(e,t):i.IsNull(e)?wa(e,t):i.IsNumber(e)?Ga(e,t):i.IsObject(e)?Wa(e,t):i.IsRecord(e)?Ya(e,t):i.IsString(e)?Za(e,t):i.IsSymbol(e)?Xa(e,t):i.IsTuple(e)?ru(e,t):i.IsPromise(e)?za(e,t):i.IsUint8Array(e)?nu(e,t):i.IsUndefined(e)?ou(e,t):i.IsUnion(e)?iu(e,t):i.IsUnknown(e)?su(e,t):i.IsVoid(e)?uu(e,t):ct(`Unknown left type operand '${e[p]}'`)}function Ue(e,t){return h(e,t)}function cu(e,t,r,o,s){let c={};for(let m of globalThis.Object.getOwnPropertyNames(e))c[m]=pt(e[m],t,r,o,A(s));return c}function pu(e,t,r,o,s){return cu(e.properties,t,r,o,s)}function Po(e,t,r,o,s){let c=pu(e,t,r,o,s);return b(c)}function mu(e,t,r,o){let s=Ue(e,t);return s===u.Union?x([r,o]):s===u.True?r:o}function pt(e,t,r,o,s){return _(e)?Po(e,t,r,o,s):te(e)?a(Co(e,t,r,o,s)):a(mu(e,t,r,o),s)}function fu(e,t,r,o,s){return{[e]:pt(g(e),t,r,o,A(s))}}function du(e,t,r,o,s){return e.reduce((c,m)=>({...c,...fu(m,t,r,o,s)}),{})}function lu(e,t,r,o,s){return du(e.keys,t,r,o,s)}function Co(e,t,r,o,s){let c=lu(e,t,r,o,s);return b(c)}function Lo(e,t){return mt(Ye(e),t)}function Iu(e,t){let r=e.filter(o=>Ue(o,t)===u.False);return r.length===1?r[0]:x(r)}function mt(e,t,r={}){return re(e)?a(Lo(e,t),r):_(e)?a(Do(e,t),r):a(I(e)?Iu(e.anyOf,t):Ue(e,t)!==u.False?y():e,r)}function yu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=mt(e[o],t);return r}function bu(e,t){return yu(e.properties,t)}function Do(e,t){let r=bu(e,t);return b(r)}function vo(e,t){return ft(Ye(e),t)}function gu(e,t){let r=e.filter(o=>Ue(o,t)!==u.False);return r.length===1?r[0]:x(r)}function ft(e,t,r){return re(e)?a(vo(e,t),r):_(e)?a(ko(e,t),r):a(I(e)?gu(e.anyOf,t):Ue(e,t)!==u.False?e:y(),r)}function xu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ft(e[o],t);return r}function Ou(e,t){return xu(e.properties,t)}function ko(e,t){let r=Ou(e,t);return b(r)}function Ko(e,t){return Ie(e)?a(e.returns,t):y(t)}function tr(e){return Z(q(e))}function Je(e,t,r){return a({[p]:"Record",type:"object",patternProperties:{[e]:t}},r)}function Kr(e,t,r){let o={};for(let s of e)o[s]=t;return S(o,{...r,[se]:"Record"})}function Eu(e,t,r){return Xn(e)?Kr(J(e),t,r):Je(e.pattern,t,r)}function Su(e,t,r){return Kr(J(x(e)),t,r)}function hu(e,t,r){return Kr([e.toString()],t,r)}function Ru(e,t,r){return Je(e.source,t,r)}function Tu(e,t,r){let o=v(e.pattern)?De:e.pattern;return Je(o,t,r)}function Fu(e,t,r){return Je(De,t,r)}function Au(e,t,r){return Je(Bn,t,r)}function _u(e,t,r){return S({true:t,false:t},r)}function Nu(e,t,r){return Je(Le,t,r)}function ju(e,t,r){return Je(Le,t,r)}function rr(e,t,r={}){return I(e)?Su(e.anyOf,t,r):re(e)?Eu(e,t,r):ee(e)?hu(e.const,t,r):Ae(e)?_u(e,t,r):be(e)?Nu(e,t,r):ge(e)?ju(e,t,r):yr(e)?Ru(e,t,r):_e(e)?Tu(e,t,r):lr(e)?Fu(e,t,r):Pe(e)?Au(e,t,r):y(r)}function nr(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Uo(e){let t=nr(e);return t===De?xe():t===Le?ae():xe({pattern:t})}function or(e){return e.patternProperties[nr(e)]}function Pu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Cu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Lu(e,t){return t.allOf=Ct(e,t.allOf),t}function Du(e,t){return t.anyOf=Ct(e,t.anyOf),t}function vu(e,t){return v(t.items)||(t.items=Ct(e,t.items)),t}function ku(e,t){return t.items=Oe(e,t.items),t}function Ku(e,t){return t.items=Oe(e,t.items),t}function Uu(e,t){return t.items=Oe(e,t.items),t}function wu(e,t){return t.item=Oe(e,t.item),t}function Gu(e,t){let r=Bu(e,t.properties);return{...t,...S(r)}}function Mu(e,t){let r=Oe(e,Uo(t)),o=Oe(e,or(t)),s=rr(r,o);return{...t,...s}}function Vu(e,t){return t.index in e?e[t.index]:Ke()}function $u(e,t){let r=Qe(t),o=Y(t),s=Oe(e,t);return r&&o?tr(s):r&&!o?Z(s):!r&&o?q(s):s}function Bu(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:$u(e,t[o])}),{})}function Ct(e,t){return t.map(r=>Oe(e,r))}function Oe(e,t){return Ie(t)?Pu(e,t):ye(t)?Cu(e,t):j(t)?Lu(e,t):I(t)?Du(e,t):ne(t)?vu(e,t):de(t)?ku(e,t):$e(t)?Ku(e,t):He(t)?Uu(e,t):qe(t)?wu(e,t):k(t)?Gu(e,t):We(t)?Mu(e,t):Ir(t)?Vu(e,t):t}function wo(e,t){return Oe(t,Xe(e))}function Go(e){return a({[p]:"Integer",type:"integer"},e)}function Hu(e,t,r){return{[e]:Ee(g(e),t,A(r))}}function qu(e,t,r){return e.reduce((s,c)=>({...s,...Hu(c,t,r)}),{})}function Wu(e,t,r){return qu(e.keys,t,r)}function Mo(e,t,r){let o=Wu(e,t,r);return b(o)}function zu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function Yu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function Ju(e){return e.toUpperCase()}function Zu(e){return e.toLowerCase()}function Xu(e,t,r){let o=ot(e.pattern);if(!ze(o))return{...e,pattern:Vo(e.pattern,t)};let m=[..._t(o)].map(V=>g(V)),f=$o(m,t),N=x(f);return Bt([N],r)}function Vo(e,t){return typeof e=="string"?t==="Uncapitalize"?zu(e):t==="Capitalize"?Yu(e):t==="Uppercase"?Ju(e):t==="Lowercase"?Zu(e):e:e.toString()}function $o(e,t){return e.map(r=>Ee(r,t))}function Ee(e,t,r={}){return te(e)?Mo(e,t,r):re(e)?Xu(e,t,r):I(e)?x($o(e.anyOf,t),r):ee(e)?g(Vo(e.const,t),r):a(e,r)}function Bo(e,t={}){return Ee(e,"Capitalize",t)}function Ho(e,t={}){return Ee(e,"Lowercase",t)}function qo(e,t={}){return Ee(e,"Uncapitalize",t)}function Wo(e,t={}){return Ee(e,"Uppercase",t)}function Qu(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=we(e[s],t,A(r));return o}function ec(e,t,r){return Qu(e.properties,t,r)}function zo(e,t,r){let o=ec(e,t,r);return b(o)}function tc(e,t){return e.map(r=>Ur(r,t))}function rc(e,t){return e.map(r=>Ur(r,t))}function nc(e,t){let{[t]:r,...o}=e;return o}function oc(e,t){return t.reduce((r,o)=>nc(r,o),e)}function ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=oc(r,t);return S(s,o)}function sc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function Ur(e,t){return j(e)?W(tc(e.allOf,t)):I(e)?x(rc(e.anyOf,t)):k(e)?ic(e,t,e.properties):S({})}function we(e,t,r){let o=D(t)?sc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?zo(e,s,r):te(t)?Yo(e,t,r):c&&m?F("Omit",[e,o],r):!c&&m?F("Omit",[e,o],r):c&&!m?F("Omit",[e,o],r):a({...Ur(e,s),...r})}function ac(e,t,r){return{[t]:we(e,[t],A(r))}}function uc(e,t,r){return t.reduce((o,s)=>({...o,...ac(e,s,r)}),{})}function cc(e,t,r){return uc(e,t.keys,r)}function Yo(e,t,r){let o=cc(e,t,r);return b(o)}function pc(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=Ge(e[s],t,A(r));return o}function mc(e,t,r){return pc(e.properties,t,r)}function Jo(e,t,r){let o=mc(e,t,r);return b(o)}function fc(e,t){return e.map(r=>wr(r,t))}function dc(e,t){return e.map(r=>wr(r,t))}function lc(e,t){let r={};for(let o of t)o in e&&(r[o]=e[o]);return r}function Ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=lc(r,t);return S(s,o)}function yc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function wr(e,t){return j(e)?W(fc(e.allOf,t)):I(e)?x(dc(e.anyOf,t)):k(e)?Ic(e,t,e.properties):S({})}function Ge(e,t,r){let o=D(t)?yc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?Jo(e,s,r):te(t)?Zo(e,t,r):c&&m?F("Pick",[e,o],r):!c&&m?F("Pick",[e,o],r):c&&!m?F("Pick",[e,o],r):a({...wr(e,s),...r})}function bc(e,t,r){return{[t]:Ge(e,[t],A(r))}}function gc(e,t,r){return t.reduce((o,s)=>({...o,...bc(e,s,r)}),{})}function xc(e,t,r){return gc(e,t.keys,r)}function Zo(e,t,r){let o=xc(e,t,r);return b(o)}function Oc(e,t){return F("Partial",[F(e,t)])}function Ec(e){return F("Partial",[Re(e)])}function Sc(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=q(e[r]);return t}function hc(e,t){let r=P(e,[K,"$id","required","properties"]),o=Sc(t);return S(o,r)}function Xo(e){return e.map(t=>Qo(t))}function Qo(e){return le(e)?Oc(e.target,e.parameters):C(e)?Ec(e.$ref):j(e)?W(Xo(e.allOf)):I(e)?x(Xo(e.anyOf)):k(e)?hc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function dt(e,t){return _(e)?ei(e,t):a({...Qo(e),...t})}function Rc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=dt(e[o],A(t));return r}function Tc(e,t){return Rc(e.properties,t)}function ei(e,t){let r=Tc(e,t);return b(r)}function Fc(e,t){return F("Required",[F(e,t)])}function Ac(e){return F("Required",[Re(e)])}function _c(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=P(e[r],[$]);return t}function Nc(e,t){let r=P(e,[K,"$id","required","properties"]),o=_c(t);return S(o,r)}function ti(e){return e.map(t=>ri(t))}function ri(e){return le(e)?Fc(e.target,e.parameters):C(e)?Ac(e.$ref):j(e)?W(ti(e.allOf)):I(e)?x(ti(e.anyOf)):k(e)?Nc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function lt(e,t){return _(e)?ni(e,t):a({...ri(e),...t})}function jc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=lt(e[o],t);return r}function Pc(e,t){return jc(e.properties,t)}function ni(e,t){let r=Pc(e,t);return b(r)}function Cc(e,t){return t.map(r=>C(r)?Gr(e,r.$ref):ie(e,r))}function Gr(e,t){return t in e?C(e[t])?Gr(e,e[t].$ref):ie(e,e[t]):y()}function Lc(e){return at(e[0])}function Dc(e){return ke(e[0],e[1])}function vc(e){return ut(e[0])}function kc(e){return dt(e[0])}function Kc(e){return we(e[0],e[1])}function Uc(e){return Ge(e[0],e[1])}function wc(e){return lt(e[0])}function Gc(e,t,r){let o=Cc(e,r);return t==="Awaited"?Lc(o):t==="Index"?Dc(o):t==="KeyOf"?vc(o):t==="Partial"?kc(o):t==="Omit"?Kc(o):t==="Pick"?Uc(o):t==="Required"?wc(o):y()}function Mc(e,t){return et(ie(e,t))}function Vc(e,t){return tt(ie(e,t))}function $c(e,t,r){return rt(Lt(e,t),ie(e,r))}function Bc(e,t,r){return Se(Lt(e,t),ie(e,r))}function Hc(e,t){return W(Lt(e,t))}function qc(e,t){return st(ie(e,t))}function Wc(e,t){return S(globalThis.Object.keys(t).reduce((r,o)=>({...r,[o]:ie(e,t[o])}),{}))}function zc(e,t){let[r,o]=[ie(e,or(t)),nr(t)],s=Xe(t);return s.patternProperties[o]=r,s}function Yc(e,t){return C(t)?{...Gr(e,t.$ref),[K]:t[K]}:t}function Jc(e,t){return ue(Lt(e,t))}function Zc(e,t){return x(Lt(e,t))}function Lt(e,t){return t.map(r=>ie(e,r))}function ie(e,t){return Y(t)?a(ie(e,P(t,[$])),t):Qe(t)?a(ie(e,P(t,[fe])),t):Ce(t)?a(Yc(e,t),t):de(t)?a(Mc(e,t.items),t):$e(t)?a(Vc(e,t.items),t):le(t)?a(Gc(e,t.target,t.parameters)):Ie(t)?a($c(e,t.parameters,t.returns),t):ye(t)?a(Bc(e,t.parameters,t.returns),t):j(t)?a(Hc(e,t.allOf),t):He(t)?a(qc(e,t.items),t):k(t)?a(Wc(e,t.properties),t):We(t)?a(zc(e,t)):ne(t)?a(Jc(e,t.items||[]),t):I(t)?a(Zc(e,t.anyOf),t):t}function Xc(e,t){return t in e?ie(e,e[t]):y()}function oi(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,r)=>({...t,[r]:Xc(e,r)}),{})}var Mr=class{constructor(t){let r=oi(t),o=this.WithIdentifiers(r);this.$defs=o}Import(t,r){let o={...this.$defs,[t]:a(this.$defs[t],r)};return a({[p]:"Import",$defs:o,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:{...t[o],$id:o}}),{})}};function ii(e){return new Mr(e)}function si(e,t){return a({[p]:"Not",not:e},t)}function ai(e,t){return ye(e)?ue(e.parameters,t):y()}var Qc=0;function ui(e,t={}){v(t.$id)&&(t.$id=`T${Qc++}`);let r=Xe(e({[p]:"This",$ref:`${t.$id}`}));return r.$id=t.$id,a({[se]:"Recursive",...r},t)}function ci(e,t){let r=R(e)?new globalThis.RegExp(e):e;return a({[p]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function ep(e){return j(e)?e.allOf:I(e)?e.anyOf:ne(e)?e.items??[]:[]}function pi(e){return ep(e)}function mi(e,t){return ye(e)?a(e.returns,t):y(t)}var Vr=class{constructor(t){this.schema=t}Decode(t){return new $r(this.schema,t)}},$r=class{constructor(t,r){this.schema=t,this.decode=r}EncodeTransform(t,r){let c={Encode:m=>r[K].Encode(t(m)),Decode:m=>this.decode(r[K].Decode(m))};return{...r,[K]:c}}EncodeSchema(t,r){let o={Decode:this.decode,Encode:t};return{...r,[K]:o}}Encode(t){return Ce(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}};function fi(e){return new Vr(e)}function di(e={}){return a({[p]:e[p]??"Unsafe"},e)}function li(e){return a({[p]:"Void",type:"void"},e)}var Br={};ar(Br,{Any:()=>ve,Argument:()=>Yn,Array:()=>et,AsyncIterator:()=>tt,Awaited:()=>at,BigInt:()=>it,Boolean:()=>$t,Capitalize:()=>Bo,Composite:()=>yo,Const:()=>bo,Constructor:()=>rt,ConstructorParameters:()=>go,Date:()=>Wt,Enum:()=>xo,Exclude:()=>mt,Extends:()=>pt,Extract:()=>ft,Function:()=>Se,Index:()=>ke,InstanceType:()=>Ko,Instantiate:()=>wo,Integer:()=>Go,Intersect:()=>W,Iterator:()=>st,KeyOf:()=>ut,Literal:()=>g,Lowercase:()=>Ho,Mapped:()=>co,Module:()=>ii,Never:()=>y,Not:()=>si,Null:()=>zt,Number:()=>ae,Object:()=>S,Omit:()=>we,Optional:()=>q,Parameters:()=>ai,Partial:()=>dt,Pick:()=>Ge,Promise:()=>qt,Readonly:()=>Z,ReadonlyOptional:()=>tr,Record:()=>rr,Recursive:()=>ui,Ref:()=>Re,RegExp:()=>ci,Required:()=>lt,Rest:()=>pi,ReturnType:()=>mi,String:()=>xe,Symbol:()=>Yt,TemplateLiteral:()=>Bt,Transform:()=>fi,Tuple:()=>ue,Uint8Array:()=>Zt,Uncapitalize:()=>qo,Undefined:()=>Jt,Union:()=>x,Unknown:()=>Ke,Unsafe:()=>di,Uppercase:()=>Wo,Void:()=>li});var n=Br;var tp=n.Union([n.Literal("tool_call"),n.Literal("pain_signal"),n.Literal("rule_promotion"),n.Literal("governance_action"),n.Literal("hook_execution"),n.Literal("adaptive_delivery"),n.Literal("gate_block"),n.Literal("gate_bypass"),n.Literal("evolution_task"),n.Literal("empathy_rollback"),n.Literal("error"),n.Literal("warn"),n.Literal("diagnosis_task"),n.Literal("heartbeat_diagnosis"),n.Literal("diagnostician_report"),n.Literal("principle_candidate"),n.Literal("rule_enforced"),n.Literal("rulehost_evaluated"),n.Literal("rulehost_blocked"),n.Literal("rulehost_requireApproval"),n.Literal("rulehost_auto_correct_proposed"),n.Literal("rulehost_auto_correct_applied"),n.Literal("runtime_v2_prompt_activations_injected"),n.Literal("rulehost_unhealthy"),n.Literal("rulehost_skipped"),n.Literal("trajectory_observability_failure")]),rp=n.Union([n.Literal("success"),n.Literal("failure"),n.Literal("detected"),n.Literal("blocked"),n.Literal("bypassed"),n.Literal("approved"),n.Literal("enqueued"),n.Literal("completed"),n.Literal("promoted"),n.Literal("passed"),n.Literal("changed"),n.Literal("rolled_back"),n.Literal("written"),n.Literal("injected"),n.Literal("created"),n.Literal("matched"),n.Literal("evaluated"),n.Literal("requireApproval"),n.Literal("auto_correct")]),aE=n.Object({ts:n.String(),date:n.String(),type:tp,category:rp,sessionId:n.Optional(n.String()),workspaceDir:n.Optional(n.String()),data:n.Record(n.String(),n.Any())}),uE=n.Object({toolName:n.String(),filePath:n.Optional(n.String()),error:n.Optional(n.String()),errorType:n.Optional(n.String()),exitCode:n.Optional(n.Number()),runId:n.Optional(n.String()),toolCallId:n.Optional(n.String())}),cE=n.Object({score:n.Number(),source:n.String(),eventId:n.Optional(n.String()),reason:n.Optional(n.String()),isRisky:n.Optional(n.Boolean()),origin:n.Optional(n.Union([n.Literal("assistant_self_report"),n.Literal("user_manual"),n.Literal("system_infer")])),severity:n.Optional(n.Union([n.Literal("mild"),n.Literal("moderate"),n.Literal("severe")])),confidence:n.Optional(n.Number()),detection_mode:n.Optional(n.Union([n.Literal("structured"),n.Literal("legacy_tag")])),deduped:n.Optional(n.Boolean()),trigger_text_excerpt:n.Optional(n.String()),raw_score:n.Optional(n.Number()),calibrated_score:n.Optional(n.Number())}),pE=n.Object({fingerprint:n.String(),ruleId:n.String(),phrase:n.String(),sampleCount:n.Number(),avgSimilarity:n.Number()}),mE=n.Object({action:n.Union([n.Literal("deactivate"),n.Literal("promote"),n.Literal("global_pause")]),activationId:n.Optional(n.String({minLength:1})),subject:n.Optional(n.Literal("all_live_rulecode")),actor:n.Union([n.Literal("owner"),n.Literal("cli"),n.Literal("session")]),reasonCode:n.String({minLength:1,maxLength:200}),outcome:n.Literal("authorized")}),fE=n.Object({hook:n.String(),sessionId:n.Optional(n.String()),durationMs:n.Optional(n.Number()),error:n.Optional(n.String())}),dE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),blockSource:n.Optional(n.String())}),lE=n.Object({toolName:n.String(),filePath:n.String(),bypassType:n.Union([n.Literal("stage4_architect"),n.Literal("whitelisted")])}),IE=n.Object({taskId:n.String(),taskType:n.String(),reason:n.String()}),yE=n.Object({eventId:n.String(),originalScore:n.Number(),originalSessionId:n.Optional(n.String()),reason:n.String(),triggeredBy:n.Union([n.Literal("user_command"),n.Literal("natural_language"),n.Literal("system")])}),bE=n.Object({taskCount:n.Number(),taskIds:n.Array(n.String()),trigger:n.Union([n.Literal("heartbeat"),n.Literal("immediate")])}),gE=n.Object({taskId:n.String(),painEventId:n.Optional(n.String()),sessionId:n.Optional(n.String())}),xE=n.Object({taskId:n.String(),reportPath:n.String(),category:n.Union([n.Literal("success"),n.Literal("missing_json"),n.Literal("incomplete_fields")])}),OE=n.Object({principleId:n.String(),taskId:n.String(),source:n.Union([n.Literal("diagnostician"),n.Literal("manual")])}),EE=n.Object({ruleId:n.String(),principleId:n.String(),enforcement:n.Union([n.Literal("warn"),n.Literal("block"),n.Literal("requireApproval")]),toolName:n.String(),filePath:n.String()}),SE=n.Object({toolName:n.String(),filePath:n.String(),matched:n.Boolean(),decision:n.Union([n.Literal("allow"),n.Literal("block"),n.Literal("requireApproval"),n.Literal("auto_correct"),n.Literal("no_rules_armed"),n.Literal("evaluation_failed")]),ruleId:n.Optional(n.String()),activationId:n.Optional(n.String()),activationMode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),hostKind:n.Optional(n.String())});var hE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),RE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),TE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),applicationMode:n.Union([n.Literal("shadow"),n.Literal("live")]),correctedFields:n.Array(n.String()),validationValid:n.Boolean()}),FE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),correctedFields:n.Array(n.Object({field:n.String(),original:n.Unknown(),applied:n.Unknown()}))}),AE=n.Object({hookInvocationId:n.Optional(n.String()),sessionId:n.String(),workspaceDir:n.String(),principleIds:n.Array(n.String()),activationIds:n.Array(n.String()),artifactIds:n.Array(n.String()),injectedCount:n.Number(),skippedWarnings:n.Array(n.String()),injectedCharCount:n.Number(),budget:n.Number(),skipReason:n.Optional(n.String()),nextAction:n.Optional(n.String()),legacySelectedCount:n.Optional(n.Number()),legacyTotalChars:n.Optional(n.Number()),legacyTruncated:n.Optional(n.Boolean()),v2Truncated:n.Optional(n.Boolean()),crossBlockDuplicateIds:n.Optional(n.Array(n.String())),runId:n.Optional(n.String()),hostKind:n.Optional(n.Union([n.Literal("openclaw"),n.Literal("codex"),n.Literal("workbuddy")])),eventId:n.Optional(n.String()),selectionPolicy:n.Optional(n.Union([n.Literal("legacy_fifo_prefix_v1"),n.Literal("fair_rotation_v1")])),eligibleCount:n.Optional(n.Number()),rotationStartIndex:n.Optional(n.Number()),selectionRoundOrdinal:n.Optional(n.Number()),selectionRoundSource:n.Optional(n.Literal("session_user_turn_ordinal")),droppedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),oversizedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),budgetPolicyVersion:n.Optional(n.String()),budgetCapacitySource:n.Optional(n.Union([n.Literal("operator_declared"),n.Literal("host_effective_window"),n.Literal("pi_catalog_exact"),n.Literal("pi_catalog_model_id"),n.Literal("legacy_fallback")])),budgetCapacityStatus:n.Optional(n.Union([n.Literal("confirmed"),n.Literal("unknown")])),budgetContextWindowTokens:n.Optional(n.Number()),budgetFallbackReason:n.Optional(n.Union([n.Literal("host_capacity_absent"),n.Literal("host_capacity_source_untrusted"),n.Literal("host_capacity_invalid_value"),n.Literal("catalog_unavailable"),n.Literal("model_identity_absent"),n.Literal("catalog_no_exact_match"),n.Literal("catalog_no_match_for_model_id"),n.Literal("catalog_ambiguous_model_id"),n.Literal("catalog_provider_absent"),n.Literal("catalog_metadata_invalid")]))}),_E=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),reason:n.String(),nextAction:n.String()}),NE=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),mode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),reason:n.String(),nextAction:n.String()}),jE=n.Object({sessionId:n.Optional(n.String()),reason:n.String(),nextAction:n.String()}),np=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byTool:n.Record(n.String(),n.Object({success:n.Number(),failure:n.Number()}))}),op=n.Object({total:n.Number(),byType:n.Record(n.String(),n.Number()),byTool:n.Record(n.String(),n.Number())}),ip=n.Object({totalEvents:n.Number(),dedupedCount:n.Number(),dedupeHitRate:n.Number(),totalPenaltyScore:n.Number(),rolledBackScore:n.Number(),rollbackCount:n.Number(),bySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),scoreBySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),byDetectionMode:n.Object({structured:n.Number(),legacy_tag:n.Number()}),byOrigin:n.Object({assistant_self_report:n.Number(),user_manual:n.Number(),system_infer:n.Number()}),confidenceDistribution:n.Object({high:n.Number(),medium:n.Number(),low:n.Number()}),dailyTrend:n.Array(n.Object({date:n.String(),count:n.Number(),score:n.Number()}))}),sp=n.Object({tasksEnqueued:n.Number(),tasksCompleted:n.Number(),rulesPromoted:n.Number(),diagnosisTasksWritten:n.Number(),heartbeatsInjected:n.Number(),diagnosticianReportsWritten:n.Number(),reportsMissingJson:n.Number(),reportsIncompleteFields:n.Number(),principleCandidatesCreated:n.Number(),rulesEnforced:n.Number(),rulehostEvaluated:n.Number(),rulehostBlocked:n.Number(),rulehostRequireApproval:n.Number(),rulehostAutoCorrectProposed:n.Number(),rulehostAutoCorrectApplied:n.Number()});var ap=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byType:n.Record(n.String(),n.Object({total:n.Number(),success:n.Number(),failure:n.Number()})),errors:n.Number(),totalDurationMs:n.Number()}),PE=n.Object({date:n.String(),createdAt:n.String(),updatedAt:n.String(),tools:n.Object({total:n.Number(),success:n.Number(),failure:n.Number()}),toolCalls:np,errors:op,empathy:ip,evolution:sp,hooks:ap});function ir(e){let t=new Date().toISOString();return{date:e,createdAt:t,updatedAt:t,tools:{total:0,success:0,failure:0},toolCalls:{total:0,success:0,failure:0,byTool:{}},errors:{total:0,byType:{},byTool:{}},empathy:{totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]},evolution:{tasksEnqueued:0,tasksCompleted:0,rulesPromoted:0,diagnosisTasksWritten:0,heartbeatsInjected:0,diagnosticianReportsWritten:0,reportsMissingJson:0,reportsIncompleteFields:0,principleCandidatesCreated:0,rulesEnforced:0,rulehostEvaluated:0,rulehostBlocked:0,rulehostRequireApproval:0,rulehostAutoCorrectProposed:0,rulehostAutoCorrectApplied:0},hooks:{total:0,success:0,failure:0,byType:{},errors:0,totalDurationMs:0}}}import*as It from"fs";var Ii=3,up=50;function yi(e,t){let r=e+".tmp";It.writeFileSync(r,t,"utf8");let o;for(let s=0;s<Ii;s++)try{It.renameSync(r,e);return}catch(c){o=c;let m=c.code;if(m==="EPERM"||m==="EBUSY"||m==="EACCES"){if(s<Ii-1){let f=up*Math.pow(2,s),N=Date.now()+f,V=!1;for(;Date.now()<N;)if(!V&&Date.now()>=N-10){try{Oi("fs").accessSync?.(r)}catch{}V=!0}}continue}break}try{It.unlinkSync(r)}catch{}throw o}var bi="<redacted-path>",yt="[REDACTED]";var cp=/(?:[A-Za-z]:[\\/](?:[^\\\s/:*?"<>|]+[\\/])+[^\\\s/:*?"<>|]*)/g,pp=/(?<![a-zA-Z0-9_.])[\\/](?:usr|home|Users|var|opt|etc|tmp|root|run|mnt|media|srv|boot|dev|proc|sys)(?:[\\/][^\\\s/:*?"<>|]+)+/g;function mp(e){return typeof e!="string"?e:e.replace(cp,bi).replace(pp,bi)}var fp=/\bsk-(?:ant-)?[A-Za-z0-9_-]{16,}\b/g,dp=/\bgh[pousr]_[A-Za-z0-9_]{16,}\b/g,lp=/\blin_api_[A-Za-z0-9_-]{16,}\b/g,Ip=/(Authorization\s*:\s*)(["'])?([A-Za-z]+\s+)?([^\s"';,]+)/gi,yp=/(\$env:\s*[A-Z_][A-Z0-9_]{2,}\s*=\s*")([^"]*)(")/gi,bp=/\b(api[_-]?key|token|secret|password|auth(?:_?token)?)\s*[:=]\s*['"]?([^\s'",}{]+)['"]?/gi,gp=/\bBearer\s+[A-Za-z0-9._\-+/=]{8,}\b/g;function xp(e){return typeof e!="string"?e:e.replace(fp,yt).replace(dp,yt).replace(lp,yt).replace(Ip,"$1$2$3[REDACTED]").replace(yp,"$1[REDACTED]$3").replace(gp,yt).replace(bp,(t,r)=>`${r}=${yt}`)}var Op=/\b([A-Z_][A-Z0-9_]{2,})\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s,;}{]+))/g;function Ep(e){return typeof e!="string"?e:e.replace(Op,(t,r)=>`${r}=${yt}`)}function Dt(e){if(typeof e!="string")return e;let t=mp(e);return t=xp(t),t=Ep(t),t}var gi=7,sr=class{logsDir;statsFile;logger;statsCache=new Map;eventBuffer=[];maxBufferSize=20;flushIntervalMs=3e4;flushTimer;currentEventsFile;currentDate;constructor(t,r){let o=Jr(t);this.logsDir=vt.join(o,"logs"),B.existsSync(this.logsDir)||B.mkdirSync(this.logsDir,{recursive:!0}),this.statsFile=vt.join(this.logsDir,"daily-stats.json"),this.logger=r,this.loadStats(),this.startFlushTimer()}getEventsFile(t){return vt.join(this.logsDir,`events_${t}.jsonl`)}getTodayStr(){return new Date().toISOString().split("T")[0]??""}ensureEventsFile(){let t=this.getTodayStr();return(this.currentDate!==t||!this.currentEventsFile)&&(this.currentDate=t,this.currentEventsFile=this.getEventsFile(t),this.cleanupOldEventFiles(t)),this.currentEventsFile}cleanupOldEventFiles(t){if(!(gi<=0))try{let r=Date.now()-gi*24*60*60*1e3,o=B.readdirSync(this.logsDir);for(let s of o){if(!s.startsWith("events_")||!s.endsWith(".jsonl"))continue;let c=vt.join(this.logsDir,s);B.statSync(c).mtimeMs<r&&B.unlinkSync(c)}}catch(r){this.logger?.debug?.(`[PD] Event file cleanup failed (non-blocking): ${String(r)}`)}}recordToolCall(t,r){let o=r.error||r.exitCode!==void 0&&r.exitCode!==0?"failure":"success";this.record("tool_call",o,t,r)}recordPainSignal(t,r){this.record("pain_signal","detected",t,r)}recordRulePromotion(t){this.record("rule_promotion","promoted",void 0,t)}recordGovernanceAction(t,r){this.record("governance_action","approved",void 0,t),r?.flushImmediately&&this.flushEvents()}recordHookExecution(t,r){let o=t.error?"failure":"success";this.record("hook_execution",o,void 0,t),r?.flushImmediately&&this.flushEvents()}recordAdaptiveDelivery(t,r){let o=zr(r);if(!o.ok)throw new Error(`Invalid adaptive delivery record: ${o.errors.join("; ")}`);this.record("adaptive_delivery","written",t,r),this.flushEvents()}recordGateBlock(t,r){this.record("gate_block","blocked",t,r)}recordGateBypass(t,r){this.record("gate_bypass","bypassed",t,r)}recordEmpathyRollback(t,r){this.record("empathy_rollback","rolled_back",t,r)}recordError(t,r,o){this.record("error","failure",t,{message:r,...o})}recordWarn(t,r,o){this.record("warn","failure",t,{message:r,...o})}recordDiagnosisTask(t){this.record("diagnosis_task","written",void 0,t)}recordHeartbeatDiagnosis(t){this.record("heartbeat_diagnosis","injected",void 0,t)}recordDiagnosticianReport(t){let r={success:"completed",missing_json:"failure",incomplete_fields:"failure"};this.record("diagnostician_report",r[t.category],void 0,t)}recordPrincipleCandidate(t){this.record("principle_candidate","created",void 0,t)}recordRuleEnforced(t){this.record("rule_enforced","matched",void 0,t)}recordRuleHostEvaluated(t){this.record("rulehost_evaluated","evaluated",void 0,t)}recordRuleHostBlocked(t){this.record("rulehost_blocked","blocked",void 0,t)}recordRuleHostRequireApproval(t){this.record("rulehost_requireApproval","requireApproval",void 0,t)}recordRuleHostAutoCorrectProposed(t){this.record("rulehost_auto_correct_proposed","auto_correct",void 0,t)}recordRuleHostAutoCorrectApplied(t){this.record("rulehost_auto_correct_applied","auto_correct",void 0,t)}recordRuntimeActivationsInjected(t){this.record("runtime_v2_prompt_activations_injected","injected",t.sessionId,t)}recordRuleHostUnhealthy(t){this.record("rulehost_unhealthy","failure",void 0,t)}recordRuleHostSkipped(t){this.record("rulehost_skipped","failure",void 0,t)}recordTrajectoryObservabilityFailure(t){this.record("trajectory_observability_failure","failure",t.sessionId,t)}redactEventData(t,r){try{if(!new Set(["tool_call","rulehost_evaluated","rulehost_blocked","rulehost_requireApproval","rulehost_auto_correct_proposed","rulehost_auto_correct_applied","rulehost_skipped","trajectory_observability_failure","rule_enforced","hook_execution","gate_block","gate_bypass"]).has(t))return r;let s={};for(let[c,m]of Object.entries(r))if(typeof m=="string")s[c]=Dt(m);else if(Array.isArray(m))s[c]=m.map(f=>{if(typeof f=="string")return Dt(f);if(typeof f=="object"&&f!==null){let N={};for(let[V,L]of Object.entries(f))N[V]=typeof L=="string"?Dt(L):L;return N}return f});else if(typeof m=="object"&&m!==null){let f={};for(let[N,V]of Object.entries(m))typeof V=="string"?f[N]=Dt(V):f[N]=V;s[c]=f}else s[c]=m;return s}catch(o){return{redactionFailure:!0,redactionStatus:"failed","redaction.status":"failed",redactionReason:(o instanceof Error?o.message.slice(0,200):String(o).slice(0,200))||"unknown error",redactionDataDropped:!0,originalType:t,originalSessionId:r.sessionId??null}}}record(t,r,o,s){let c=new Date,m=this.formatDate(c),f=this.redactEventData(t,s),N={ts:c.toISOString(),date:m,type:t,category:r,sessionId:o,data:f};this.eventBuffer.push(N),this.updateStats(N),this.eventBuffer.length>=this.maxBufferSize&&this.flushEvents()}formatDate(t){return t.toISOString().split("T")[0]??""}loadStats(){if(B.existsSync(this.statsFile))try{let t=JSON.parse(B.readFileSync(this.statsFile,"utf-8"));for(let r in t)this.statsCache.set(r,t[r])}catch(t){this.logger&&this.logger.error(`[PD] Failed to load daily-stats.json: ${String(t)}`)}}updateStats(t){let r=this.statsCache.get(t.date);if(r||(r=ir(t.date),this.statsCache.set(t.date,r)),t.type==="tool_call")r.tools.total++,t.category==="success"?r.tools.success++:r.tools.failure++;else if(t.type==="pain_signal"){let o=t.data;if(o.source==="user_empathy"){if(o.deduped)r.empathy.dedupedCount++;else{r.empathy.totalEvents++,r.empathy.totalPenaltyScore+=o.score||0,o.severity&&(r.empathy.bySeverity[o.severity]++,r.empathy.scoreBySeverity[o.severity]+=o.score||0),o.detection_mode&&r.empathy.byDetectionMode[o.detection_mode]++,o.origin&&r.empathy.byOrigin[o.origin]++;let c=o.confidence??1;c>=.8?r.empathy.confidenceDistribution.high++:c>=.5?r.empathy.confidenceDistribution.medium++:r.empathy.confidenceDistribution.low++}let s=r.empathy.totalEvents+r.empathy.dedupedCount;r.empathy.dedupeHitRate=s>0?r.empathy.dedupedCount/s:0}}else if(t.type==="hook_execution"){let o=t.data;if(r.hooks.total++,t.category==="success"?r.hooks.success++:r.hooks.failure++,o.hook){r.hooks.byType[o.hook]||(r.hooks.byType[o.hook]={total:0,success:0,failure:0});let s=r.hooks.byType[o.hook];s&&(s.total++,t.category==="success"?s.success++:s.failure++)}}else if(t.type==="empathy_rollback"){let o=t.data;r.empathy.rollbackCount++,r.empathy.rolledBackScore+=o.originalScore||0}else if(t.type==="rule_promotion")r.evolution.rulesPromoted++;else if(t.type==="evolution_task")t.category==="completed"?r.evolution.tasksCompleted++:t.category==="enqueued"&&r.evolution.tasksEnqueued++;else if(t.type==="diagnosis_task")r.evolution.diagnosisTasksWritten++;else if(t.type==="heartbeat_diagnosis")r.evolution.heartbeatsInjected++;else if(t.type==="diagnostician_report"){let o=t.data;if(Object.prototype.hasOwnProperty.call(o,"category")){let s=o.category;typeof s=="string"&&(s==="success"||s==="missing_json"||s==="incomplete_fields")&&r.evolution.diagnosticianReportsWritten++,typeof s=="string"&&s==="missing_json"&&r.evolution.reportsMissingJson++,typeof s=="string"&&s==="incomplete_fields"&&r.evolution.reportsIncompleteFields++}else Object.prototype.hasOwnProperty.call(o,"success")&&r.evolution.diagnosticianReportsWritten++}else t.type==="principle_candidate"?r.evolution.principleCandidatesCreated++:t.type==="rule_enforced"?r.evolution.rulesEnforced++:t.type==="rulehost_evaluated"?r.evolution.rulehostEvaluated++:t.type==="rulehost_blocked"?r.evolution.rulehostBlocked++:t.type==="rulehost_requireApproval"?r.evolution.rulehostRequireApproval++:t.type==="rulehost_auto_correct_proposed"?r.evolution.rulehostAutoCorrectProposed++:t.type==="rulehost_auto_correct_applied"&&r.evolution.rulehostAutoCorrectApplied++}startFlushTimer(){this.flushTimer=setInterval(()=>this.flush(),this.flushIntervalMs),this.flushTimer.unref()}flush(){this.flushEvents(),this.flushStats()}getBufferedEvents(){return this.eventBuffer.map(t=>({...t,data:{...t.data}}))}getEventDedupKey(t){let r=typeof t.data?.eventId=="string"?String(t.data.eventId):null;if(r)return`${t.type}:${t.sessionId??"none"}:${r}`;let o=t.data??{};return[t.ts??"no-ts",t.type??"no-type",t.category??"no-category",t.sessionId??"no-session",typeof o.source=="string"?o.source:"no-source",typeof o.toolName=="string"?o.toolName:"no-tool",typeof o.reason=="string"?o.reason:"no-reason"].join("::")}readPersistedEvents(){let t=this.ensureEventsFile();if(!B.existsSync(t))return[];try{return B.readFileSync(t,"utf-8").trim().split(`
3
3
  `).filter(o=>o.trim().length>0).map(o=>{try{return JSON.parse(o)}catch(s){return this.logger?.warn?.(`[PD] Corrupted event line skipped: ${String(s).slice(0,100)}`),null}}).filter(o=>o!==null)}catch(r){return this.logger&&this.logger.error(`[PD] Failed to read events file: ${String(r)}`),[]}}getMergedEvents(){let t=new Map;for(let r of[...this.readPersistedEvents(),...this.getBufferedEvents()])t.set(this.getEventDedupKey(r),r);return[...t.values()].sort((r,o)=>r.ts.localeCompare(o.ts))}flushEvents(){if(this.eventBuffer.length===0)return;let t=this.ensureEventsFile(),r=this.eventBuffer.map(o=>JSON.stringify(o)).join(`
4
4
  `)+`
5
5
  `;try{B.appendFileSync(t,r,"utf-8"),this.eventBuffer=[]}catch(o){this.logger&&this.logger.error(`[PD] Failed to flush events: ${String(o)}`)}}flushStats(){if(this.statsCache.size===0)return;let t={};this.statsCache.forEach((r,o)=>{t[o]=r});try{yi(this.statsFile,JSON.stringify(t,null,2))}catch(r){this.logger&&this.logger.error(`[PD] Failed to flush daily-stats.json: ${String(r)}`)}}getDailyStats(t){let r=this.statsCache.get(t);return r||(r=ir(t),this.statsCache.set(t,r)),r}getEmpathyStats(t,r){let o=new Date,s=this.formatDate(o),c={totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]};if(t==="session"&&r)this.aggregateSessionEmpathy(r,c);else if(t==="week")for(let f=0;f<7;f++){let N=new Date(o);N.setDate(N.getDate()-f);let V=this.formatDate(N),L=this.getDailyStats(V);c.totalEvents+=L.empathy.totalEvents,c.dedupedCount+=L.empathy.dedupedCount,c.totalPenaltyScore+=L.empathy.totalPenaltyScore,c.rolledBackScore+=L.empathy.rolledBackScore,c.rollbackCount+=L.empathy.rollbackCount;for(let Me of["mild","moderate","severe"])c.bySeverity[Me]+=L.empathy.bySeverity[Me],c.scoreBySeverity[Me]+=L.empathy.scoreBySeverity[Me];c.byDetectionMode.structured+=L.empathy.byDetectionMode.structured,c.byDetectionMode.legacy_tag+=L.empathy.byDetectionMode.legacy_tag;for(let Me of["assistant_self_report","user_manual","system_infer"])c.byOrigin[Me]+=L.empathy.byOrigin[Me];c.confidenceDistribution.high+=L.empathy.confidenceDistribution.high,c.confidenceDistribution.medium+=L.empathy.confidenceDistribution.medium,c.confidenceDistribution.low+=L.empathy.confidenceDistribution.low,(L.empathy.totalEvents>0||L.empathy.dedupedCount>0)&&c.dailyTrend.push({date:V,count:L.empathy.totalEvents,score:L.empathy.totalPenaltyScore})}else{let f=this.getDailyStats(s);Object.assign(c,f.empathy),(f.empathy.totalEvents>0||f.empathy.dedupedCount>0)&&(c.dailyTrend=[{date:s,count:f.empathy.totalEvents,score:f.empathy.totalPenaltyScore}])}let m=c.totalEvents+c.dedupedCount;return c.dedupeHitRate=m>0?c.dedupedCount/m:0,c}aggregateSessionEmpathy(t,r){for(let o of this.getMergedEvents())if(o.sessionId===t&&o.type==="pain_signal"){let s=o.data;if(s.source==="user_empathy")if(s.deduped)r.dedupedCount++;else{r.totalEvents++,r.totalPenaltyScore+=s.score||0,s.severity&&(r.bySeverity[s.severity]++,r.scoreBySeverity[s.severity]+=s.score||0),s.detection_mode&&r.byDetectionMode[s.detection_mode]++,s.origin&&r.byOrigin[s.origin]++;let c=s.confidence??1;c>=.8?r.confidenceDistribution.high++:c>=.5?r.confidenceDistribution.medium++:r.confidenceDistribution.low++}}else if(o.sessionId===t&&o.type==="empathy_rollback"){let s=o.data;r.rollbackCount++,r.rolledBackScore+=s.originalScore||0}}rollbackEmpathyEvent(t,r,o,s){let c=this.getMergedEvents(),m=null;for(let N of c)if(N.type==="pain_signal"){let V=N.data;if(V.eventId===t&&V.source==="user_empathy"){m={entry:N,data:V};break}}if(!m||m.data.deduped)return 0;let f=m.data.score||0;return this.recordEmpathyRollback(r,{eventId:t,originalScore:f,originalSessionId:m.entry.sessionId,reason:o,triggeredBy:s}),f}getLastEmpathyEventId(t){let r=this.getMergedEvents();for(let o=r.length-1;o>=0;o--){let s=r[o];if(s&&s.sessionId===t&&s.type==="pain_signal"){let c=s.data;if(c.source==="user_empathy"&&!c.deduped)return c.eventId||null}}return null}findLatestPainSignal(t){let r=this.getMergedEvents();for(let o=r.length-1;o>=0;o--){let s=r[o];if(s&&s.sessionId===t&&s.type==="pain_signal")return s.data}return null}dispose(){this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=void 0),this.flush()}};var hp=(e,t)=>{let r=new sr(e);try{r.recordGovernanceAction(t,{flushImmediately:!0})}finally{r.dispose()}};async function HE(e,t,r,o=hp){return o(e,t),r()}export{HE as authorizeGovernanceAction,hp as writeGovernanceAction};
@@ -9,7 +9,7 @@
9
9
  * 2. Rule Host: Dynamic principle-based evaluation (sole gate)
10
10
  */
11
11
  import { WorkspaceContext } from '../core/workspace-context.js';
12
- import type { RuleContextV2 } from '@principles/core/runtime-v2';
12
+ import type { RuleContextV2 } from '@principles/core/runtime';
13
13
  import type { PluginHookBeforeToolCallEvent, PluginHookToolContext, PluginHookBeforeToolCallResult, PluginLogger } from '../openclaw-sdk.js';
14
14
  import type { HostEventResult } from '@principles/core/host';
15
15
  export declare function handleBeforeToolCall(event: PluginHookBeforeToolCallEvent, ctx: PluginHookToolContext & {
@@ -1,5 +1,5 @@
1
1
  import type { PluginHookBeforeMessageWriteEvent, PluginHookBeforeMessageWriteResult } from '../openclaw-sdk.js';
2
- import { convergePath, MAX_EVIDENCE_VALUE_CHARS } from '@principles/core/runtime-v2';
2
+ import { convergePath, MAX_EVIDENCE_VALUE_CHARS } from '@principles/core/runtime';
3
3
  export { MAX_EVIDENCE_VALUE_CHARS, convergePath };
4
4
  /**
5
5
  * Sanitize a single string value for evidence storage.
@@ -1,4 +1,4 @@
1
- import type { PainEvidenceEntry, PainIngressDecision } from '@principles/core/runtime-v2';
1
+ import type { PainEvidenceEntry, PainIngressDecision } from '@principles/core/runtime';
2
2
  import type { WorkspaceContext } from '../core/workspace-context.js';
3
3
  export interface PluginIngressInput {
4
4
  wctx: WorkspaceContext;
@@ -2,7 +2,7 @@
2
2
  * Raw Observation Adapter — PRI-362 / PRI-446
3
3
  *
4
4
  * The source-kind resolution logic and RawObservation builders have been
5
- * migrated to principles-core (runtime-v2/evidence-triage/observation-resolver.ts).
5
+ * migrated to principles-core (runtime/evidence-triage/observation-resolver.ts).
6
6
  *
7
7
  * This file is now a thin re-export adapter. It preserves the original export
8
8
  * names (resolveSourceKind, buildToolFailureObservation, RawObservation) so
@@ -14,5 +14,5 @@
14
14
  * ERR checklist:
15
15
  * - ERR-011: re-export adapter, not a local re-definition of migrated logic.
16
16
  */
17
- export { resolveSourceKind, buildToolFailureObservation, buildManualPainObservation, } from '@principles/core/runtime-v2';
17
+ export { resolveSourceKind, buildToolFailureObservation, buildManualPainObservation, } from '@principles/core/runtime';
18
18
  export type { RawObservation } from './raw-observation-types.js';
@@ -2,10 +2,10 @@
2
2
  * Raw Observation Types — PRI-362 / PRI-446
3
3
  *
4
4
  * The RawObservation type has been migrated to principles-core
5
- * (runtime-v2/evidence-triage/observation-resolver.ts). This file re-exports it
5
+ * (runtime/evidence-triage/observation-resolver.ts). This file re-exports it
6
6
  * so existing plugin import sites keep working unchanged.
7
7
  *
8
8
  * ERR checklist:
9
9
  * - ERR-011: this is a re-export adapter, not a local re-definition.
10
10
  */
11
- export type { RawObservation } from '@principles/core/runtime-v2';
11
+ export type { RawObservation } from '@principles/core/runtime';
@@ -11,7 +11,7 @@
11
11
  * automatic emitter, so the legacy untyped array wrapper was removed: the
12
12
  * Owner manual pain path is the only consumer and it uses the typed API.
13
13
  */
14
- import type { PainEvidenceEntry } from '@principles/core/runtime-v2';
14
+ import type { PainEvidenceEntry } from '@principles/core/runtime';
15
15
  import type { WorkspaceContext } from '../core/workspace-context.js';
16
16
  /**
17
17
  * PRI-642 (SPEC §7.2): discriminated acquisition result. `unavailable` carries
@@ -23,7 +23,7 @@
23
23
  * - ERR-002: Every triage result carries reason + nextAction.
24
24
  * - ERR-024/025/048: Production-path tests cover this adapter.
25
25
  */
26
- import { type TriageResult, type SourceKind } from '@principles/core/runtime-v2';
26
+ import { type TriageResult, type SourceKind } from '@principles/core/runtime';
27
27
  /**
28
28
  * Map RawObservation to SourceKind.
29
29
  *
@@ -77,7 +77,7 @@ declare const plugin: {
77
77
  description: string;
78
78
  register(api: OpenClawPluginApi): void;
79
79
  };
80
- export { PrincipleTreeLedgerAdapter } from '@principles/core/runtime-v2';
80
+ export { PrincipleTreeLedgerAdapter } from '@principles/core/runtime';
81
81
  export { loadFeatureFlagFromWorkspace, isRecord };
82
82
  export { initTrajectorySchema } from './core/trajectory.js';
83
83
  export default plugin;
@@ -2,7 +2,7 @@
2
2
  "id": "principles-disciple",
3
3
  "name": "Principles Disciple",
4
4
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
- "version": "2.7.0",
5
+ "version": "2.7.1",
6
6
  "activation": {
7
7
  "onStartup": true,
8
8
  "onCapabilities": [
@@ -1,6 +1,6 @@
1
1
  import type { OpenClawPluginServiceContext, PluginLogger } from '../openclaw-sdk.js';
2
2
  import { WorkspaceContext } from '../core/workspace-context.js';
3
- import { CorrectionObserver } from '@principles/core/runtime-v2';
3
+ import { CorrectionObserver } from '@principles/core/runtime';
4
4
  export interface CorrectionObserverServiceShape {
5
5
  id: string;
6
6
  start: (ctx: OpenClawPluginServiceContext) => void;
@@ -5,7 +5,7 @@
5
5
  * correction keyword store. Invoked by the correction observer service
6
6
  * when optimization results are available.
7
7
  */
8
- import type { CorrectionObserverOutputV1 as CorrectionObserverResult } from '@principles/core/runtime-v2';
8
+ import type { CorrectionObserverOutputV1 as CorrectionObserverResult } from '@principles/core/runtime';
9
9
  import type { PluginLogger } from '../openclaw-sdk.js';
10
10
  /**
11
11
  * Applies CorrectionObserverResult mutations to the keyword store.
@@ -72,4 +72,4 @@ export type TrajectoryHistoryEntry = {
72
72
  userMessage: string;
73
73
  };
74
74
  /** Re-export CorrectionObserverPayload for convenience */
75
- export type { CorrectionObserverPayload } from '@principles/core/runtime-v2';
75
+ export type { CorrectionObserverPayload } from '@principles/core/runtime';
@@ -1,2 +1,2 @@
1
- export type { EventType, EventCategory, EventLogEntry, ToolCallEventData, PainSignalEventData, RulePromotionEventData, GovernanceActionEventData, HookExecutionEventData, GateBlockEventData, GateBypassEventData, EvolutionTaskEventData, EmpathyRollbackEventData, HeartbeatDiagnosisEventData, DiagnosisTaskEventData, DiagnosticianReportEventData, PrincipleCandidateEventData, RuleEnforcedEventData, RuleHostEvaluatedEventData, RuleHostBlockedEventData, RuleHostRequireApprovalEventData, RuleHostAutoCorrectProposedEventData, RuleHostAutoCorrectAppliedEventData, RuntimeV2PromptActivationsInjectedEventData, RuleHostUnhealthyEventData, RuleHostSkippedEventData, TrajectoryObservabilityFailureEventData, ToolCallStats, ErrorStats, EmpathyEventStats, HookStats, DailyStats, } from '@principles/core/runtime-v2';
2
- export { createEmptyDailyStats, } from '@principles/core/runtime-v2/types/event-types';
1
+ export type { EventType, EventCategory, EventLogEntry, ToolCallEventData, PainSignalEventData, RulePromotionEventData, GovernanceActionEventData, HookExecutionEventData, GateBlockEventData, GateBypassEventData, EvolutionTaskEventData, EmpathyRollbackEventData, HeartbeatDiagnosisEventData, DiagnosisTaskEventData, DiagnosticianReportEventData, PrincipleCandidateEventData, RuleEnforcedEventData, RuleHostEvaluatedEventData, RuleHostBlockedEventData, RuleHostRequireApprovalEventData, RuleHostAutoCorrectProposedEventData, RuleHostAutoCorrectAppliedEventData, RuntimePromptActivationsInjectedEventData, RuleHostUnhealthyEventData, RuleHostSkippedEventData, TrajectoryObservabilityFailureEventData, ToolCallStats, ErrorStats, EmpathyEventStats, HookStats, DailyStats, } from '@principles/core/runtime';
2
+ export { createEmptyDailyStats, } from '@principles/core/runtime/types/event-types';
@@ -1,2 +1,2 @@
1
- export type { PersistenceAction, HygieneStats, } from '@principles/core/runtime-v2';
2
- export { createEmptyHygieneStats, } from '@principles/core/runtime-v2';
1
+ export type { PersistenceAction, HygieneStats, } from '@principles/core/runtime';
2
+ export { createEmptyHygieneStats, } from '@principles/core/runtime';
@@ -21,9 +21,9 @@
21
21
  * - Monitor principles deprecated (solidified into code/weights)
22
22
  * - Track principle value ranking (pain prevented, adherence rate)
23
23
  */
24
- import type { Principle as CorePrinciple } from '@principles/core/runtime-v2';
24
+ import type { Principle as CorePrinciple } from '@principles/core/runtime';
25
25
  import type { PrincipleDetectorSpec } from '../core/evolution-types.js';
26
- export type { PrinciplePriority, PrincipleScope, PrincipleEvaluability, RuleStatus, RuleType, ImplementationLifecycleState, ImplementationType, Rule, Implementation, PrincipleDependency, PrincipleValueMetrics, PrincipleEventType, PrincipleLifecycleEvent, PrincipleTreeStore, } from '@principles/core/runtime-v2';
26
+ export type { PrinciplePriority, PrincipleScope, PrincipleEvaluability, RuleStatus, RuleType, ImplementationLifecycleState, ImplementationType, Rule, Implementation, PrincipleDependency, PrincipleValueMetrics, PrincipleEventType, PrincipleLifecycleEvent, PrincipleTreeStore, } from '@principles/core/runtime';
27
27
  export interface Principle extends CorePrinciple {
28
28
  detectorMetadata?: PrincipleDetectorSpec;
29
29
  }
@@ -131,6 +131,6 @@ export declare class WorkspaceResolutionError extends Error {
131
131
  nextAction: string;
132
132
  };
133
133
  }
134
- export declare function resolveWorkspaceDirForRuntimeV2(ctx: {
134
+ export declare function resolveWorkspaceDirForRuntime(ctx: {
135
135
  workspaceDir?: string;
136
136
  }, api: OpenClawPluginApi | undefined, source: string): string;
@@ -2,7 +2,7 @@
2
2
  "id": "principles-disciple",
3
3
  "name": "Principles Disciple",
4
4
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
- "version": "2.6.5",
5
+ "version": "2.7.1",
6
6
  "activation": {
7
7
  "onStartup": true,
8
8
  "onCapabilities": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "principles-disciple",
3
- "version": "2.6.5",
3
+ "version": "2.7.1",
4
4
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -2139,7 +2139,7 @@ function verifyPdCliShim() {
2139
2139
  // activation arrives at commit. Strict behavior is preserved whenever an
2140
2140
  // active record already exists (upgrades).
2141
2141
  const activeRecordPath = path.join(getPdDir(), 'active.json');
2142
- if (!localOk && detail.includes('no active release record') && !existsSync(activeRecordPath)) {
2142
+ if (detail.includes('no active release record') && !existsSync(activeRecordPath)) {
2143
2143
  localOk = true;
2144
2144
  localError = undefined;
2145
2145
  logger.info('PD CLI executed without an activation record (first install); the record is written at commit.');
@@ -518,7 +518,7 @@ const FEATURES_LINE = /^features:\s*(?:#.*)?$/;
518
518
  const FEATURES_EMPTY_MAPPING_LINE = /^features:\s*\{\s*\}\s*(?:#.*)?$/;
519
519
  /**
520
520
  * Registry-required category for the host.workbuddy flag entry. SSoT:
521
- * packages/principles-core/src/runtime-v2/feature-flags/feature-flag-contract.ts
521
+ * packages/principles-core/src/runtime/feature-flags/feature-flag-contract.ts
522
522
  * ({ id: 'host.workbuddy', category: 'quiet', ... }). The production config
523
523
  * validator (pd-config-validate) REJECTS feature entries without a category,
524
524
  * so an enabled-only override makes every hook invocation degrade (review R1).