@obora/runtime 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +183 -0
  3. package/dist/_legacy/actor/base/BaseActor.d.ts +87 -0
  4. package/dist/_legacy/actor/pool/ActorPool.d.ts +194 -0
  5. package/dist/_legacy/actor/pool/NoOpMessageBus.d.ts +16 -0
  6. package/dist/_legacy/actor/pool/PoolManager.d.ts +76 -0
  7. package/dist/_legacy/actor/pool/index.d.ts +3 -0
  8. package/dist/_legacy/actor/runtime/ActorRunner.d.ts +54 -0
  9. package/dist/_legacy/actor/runtime/ActorRuntime.d.ts +161 -0
  10. package/dist/_legacy/actor/runtime/DefaultActorFactory.d.ts +44 -0
  11. package/dist/_legacy/actor/runtime/types.d.ts +41 -0
  12. package/dist/_legacy/actor/runtime/utils/delay.d.ts +7 -0
  13. package/dist/_legacy/actor/supervision/Supervisor.d.ts +102 -0
  14. package/dist/_legacy/actor/supervision/SupervisorTree.d.ts +54 -0
  15. package/dist/_legacy/actor/supervision/types.d.ts +130 -0
  16. package/dist/_legacy/actor/types/action.d.ts +65 -0
  17. package/dist/_legacy/actor/types/actor.d.ts +251 -0
  18. package/dist/_legacy/actor/types/blackboard.d.ts +46 -0
  19. package/dist/_legacy/actor/types/crypto.d.ts +6 -0
  20. package/dist/_legacy/actor/types/message.d.ts +209 -0
  21. package/dist/_legacy/actor/types/metrics.d.ts +43 -0
  22. package/dist/_legacy/actor/types/observation.d.ts +45 -0
  23. package/dist/_legacy/actor/types/result.d.ts +110 -0
  24. package/dist/_legacy/agents/roles/analyst-agent.d.ts +18 -0
  25. package/dist/_legacy/agents/roles/base-agent.d.ts +320 -0
  26. package/dist/_legacy/agents/roles/director-agent.d.ts +26 -0
  27. package/dist/_legacy/agents/roles/executor-agent.d.ts +26 -0
  28. package/dist/_legacy/agents/roles/factory.d.ts +30 -0
  29. package/dist/_legacy/agents/roles/index.d.ts +6 -0
  30. package/dist/_legacy/agents/roles/verifier-agent.d.ts +18 -0
  31. package/dist/_legacy/blackboard/core/accessors/decisions-accessor.d.ts +190 -0
  32. package/dist/_legacy/blackboard/core/accessors/index.d.ts +7 -0
  33. package/dist/_legacy/blackboard/core/accessors/knowledge-accessor.d.ts +154 -0
  34. package/dist/_legacy/blackboard/core/accessors/state-accessor.d.ts +173 -0
  35. package/dist/_legacy/blackboard/core/blackboard-events.d.ts +105 -0
  36. package/dist/_legacy/blackboard/core/blackboard.d.ts +286 -0
  37. package/dist/_legacy/blackboard/core/id-generator.d.ts +53 -0
  38. package/dist/_legacy/blackboard/core/immutable.d.ts +45 -0
  39. package/dist/_legacy/blackboard/core/index.d.ts +13 -0
  40. package/dist/_legacy/blackboard/core/path-utils.d.ts +75 -0
  41. package/dist/_legacy/blackboard/core/tkg.d.ts +50 -0
  42. package/dist/_legacy/blackboard/core/versioning.d.ts +80 -0
  43. package/dist/_legacy/blackboard/domains/agenda/AgendaStore.d.ts +34 -0
  44. package/dist/_legacy/blackboard/domains/agenda/events.d.ts +12 -0
  45. package/dist/_legacy/blackboard/domains/agenda/index.d.ts +6 -0
  46. package/dist/_legacy/blackboard/domains/agenda/types.d.ts +26 -0
  47. package/dist/_legacy/blackboard/domains/consensus/ConsensusRuleEngine.d.ts +10 -0
  48. package/dist/_legacy/blackboard/domains/consensus/index.d.ts +4 -0
  49. package/dist/_legacy/blackboard/domains/consensus/types.d.ts +27 -0
  50. package/dist/_legacy/blackboard/domains/tkg/InMemoryTKG.d.ts +38 -0
  51. package/dist/_legacy/blackboard/domains/tkg/JsonFileReflectorStateStore.d.ts +9 -0
  52. package/dist/_legacy/blackboard/domains/tkg/ObserverReflector.d.ts +114 -0
  53. package/dist/_legacy/blackboard/domains/tkg/index.d.ts +4 -0
  54. package/dist/_legacy/blackboard/domains/voting/VotingSessionStore.d.ts +14 -0
  55. package/dist/_legacy/blackboard/domains/voting/index.d.ts +3 -0
  56. package/dist/_legacy/blackboard/domains/voting/types.d.ts +32 -0
  57. package/dist/_legacy/blackboard/events/event-bus.d.ts +254 -0
  58. package/dist/_legacy/blackboard/events/event-factory.d.ts +80 -0
  59. package/dist/_legacy/blackboard/events/index.d.ts +17 -0
  60. package/dist/_legacy/blackboard/events/types.d.ts +554 -0
  61. package/dist/_legacy/blackboard/snapshot/compression.d.ts +170 -0
  62. package/dist/_legacy/blackboard/snapshot/id-utils.d.ts +20 -0
  63. package/dist/_legacy/blackboard/snapshot/index.d.ts +21 -0
  64. package/dist/_legacy/blackboard/snapshot/serializer.d.ts +123 -0
  65. package/dist/_legacy/blackboard/snapshot/snapshot-comparer.d.ts +102 -0
  66. package/dist/_legacy/blackboard/snapshot/snapshot-creator.d.ts +49 -0
  67. package/dist/_legacy/blackboard/snapshot/snapshot-manager.d.ts +253 -0
  68. package/dist/_legacy/blackboard/snapshot/snapshot-restorer.d.ts +54 -0
  69. package/dist/_legacy/blackboard/snapshot/snapshot-serializer.d.ts +45 -0
  70. package/dist/_legacy/blackboard/snapshot/snapshot-validator.d.ts +55 -0
  71. package/dist/_legacy/blackboard/snapshot/type-guards.d.ts +12 -0
  72. package/dist/_legacy/blackboard/snapshot/types.d.ts +151 -0
  73. package/dist/_legacy/blackboard/snapshot/utils.d.ts +20 -0
  74. package/dist/_legacy/blackboard/types/agent.d.ts +89 -0
  75. package/dist/_legacy/blackboard/types/base.d.ts +213 -0
  76. package/dist/_legacy/blackboard/types/blackboard.d.ts +217 -0
  77. package/dist/_legacy/blackboard/types/decision.d.ts +260 -0
  78. package/dist/_legacy/blackboard/types/index.d.ts +12 -0
  79. package/dist/_legacy/blackboard/types/knowledge.d.ts +224 -0
  80. package/dist/_legacy/blackboard/types/message.d.ts +162 -0
  81. package/dist/_legacy/blackboard/types/task.d.ts +154 -0
  82. package/dist/_legacy/blackboard/types/tkg.d.ts +189 -0
  83. package/dist/_legacy/blackboard/workflow/meeting-state-machine/MeetingStateMachine.d.ts +22 -0
  84. package/dist/_legacy/blackboard/workflow/meeting-state-machine/types.d.ts +30 -0
  85. package/dist/_legacy/cli-runtime/runtime/agent-registry.d.ts +33 -0
  86. package/dist/_legacy/cli-runtime/runtime/blackboard.d.ts +41 -0
  87. package/dist/_legacy/cli-runtime/runtime/context-builder.d.ts +88 -0
  88. package/dist/_legacy/cli-runtime/runtime/retry-policy.d.ts +8 -0
  89. package/dist/_legacy/cli-runtime/runtime/step-executor.d.ts +33 -0
  90. package/dist/_legacy/cli-runtime/runtime/types.d.ts +12 -0
  91. package/dist/_legacy/cli-runtime/runtime/utils.d.ts +2 -0
  92. package/dist/_legacy/database/src/duckdb-client.d.ts +178 -0
  93. package/dist/_legacy/workflow/errors/diagnosis.d.ts +32 -0
  94. package/dist/_legacy/workflow/errors/index.d.ts +52 -0
  95. package/dist/_legacy/workflow/graph/index.d.ts +57 -0
  96. package/dist/_legacy/workflow/index.d.ts +9 -0
  97. package/dist/_legacy/workflow/parser/workflow-parser.d.ts +13 -0
  98. package/dist/_legacy/workflow/resolver/dependency-resolver.d.ts +83 -0
  99. package/dist/_legacy/workflow/types/workflow.d.ts +173 -0
  100. package/dist/_legacy/workflow/utils.d.ts +2 -0
  101. package/dist/_legacy/workflow/validator/workflow-validator.d.ts +71 -0
  102. package/dist/artifacts/index.d.ts +2 -0
  103. package/dist/artifacts/local-file-artifact-store.d.ts +22 -0
  104. package/dist/artifacts/types.d.ts +19 -0
  105. package/dist/audit/AuditReplay.d.ts +4 -0
  106. package/dist/audit/AuditStore.d.ts +13 -0
  107. package/dist/audit/AuditTrail.d.ts +28 -0
  108. package/dist/audit/DefaultAuditRecorder.d.ts +10 -0
  109. package/dist/audit/EventBusAdapter.d.ts +12 -0
  110. package/dist/audit/InMemoryAuditStore.d.ts +9 -0
  111. package/dist/audit/ReExecutionDiffReport.d.ts +24 -0
  112. package/dist/audit/ReExecutionPlanner.d.ts +30 -0
  113. package/dist/audit/ReExecutionRuntime.d.ts +35 -0
  114. package/dist/audit/database-api.d.ts +32 -0
  115. package/dist/audit/database-index.d.ts +5 -0
  116. package/dist/audit/event-bus.d.ts +1 -0
  117. package/dist/audit/event-factory.d.ts +1 -0
  118. package/dist/audit/index.d.ts +12 -0
  119. package/dist/audit/testing.d.ts +15 -0
  120. package/dist/audit/tkg/InMemoryTKG.d.ts +1 -0
  121. package/dist/audit/tkg/JsonFileReflectorStateStore.d.ts +1 -0
  122. package/dist/audit/tkg/ObserverReflector.d.ts +1 -0
  123. package/dist/audit/tkg/index.d.ts +1 -0
  124. package/dist/audit/types.d.ts +23 -0
  125. package/dist/blackboard/core/accessors/decisions-accessor.d.ts +190 -0
  126. package/dist/blackboard/core/accessors/index.d.ts +7 -0
  127. package/dist/blackboard/core/accessors/knowledge-accessor.d.ts +154 -0
  128. package/dist/blackboard/core/accessors/state-accessor.d.ts +173 -0
  129. package/dist/blackboard/core/blackboard-events.d.ts +105 -0
  130. package/dist/blackboard/core/blackboard.d.ts +286 -0
  131. package/dist/blackboard/core/id-generator.d.ts +53 -0
  132. package/dist/blackboard/core/immutable.d.ts +45 -0
  133. package/dist/blackboard/core/index.d.ts +13 -0
  134. package/dist/blackboard/core/path-utils.d.ts +75 -0
  135. package/dist/blackboard/core/tkg.d.ts +50 -0
  136. package/dist/blackboard/core/versioning.d.ts +80 -0
  137. package/dist/blackboard/events/event-bus.d.ts +254 -0
  138. package/dist/blackboard/events/event-factory.d.ts +80 -0
  139. package/dist/blackboard/events/index.d.ts +17 -0
  140. package/dist/blackboard/events/types.d.ts +554 -0
  141. package/dist/blackboard/index.d.ts +20 -0
  142. package/dist/blackboard/observer-reflector.d.ts +114 -0
  143. package/dist/blackboard/snapshot/compression.d.ts +170 -0
  144. package/dist/blackboard/snapshot/id-utils.d.ts +20 -0
  145. package/dist/blackboard/snapshot/index.d.ts +21 -0
  146. package/dist/blackboard/snapshot/serializer.d.ts +123 -0
  147. package/dist/blackboard/snapshot/snapshot-comparer.d.ts +102 -0
  148. package/dist/blackboard/snapshot/snapshot-creator.d.ts +49 -0
  149. package/dist/blackboard/snapshot/snapshot-manager.d.ts +253 -0
  150. package/dist/blackboard/snapshot/snapshot-restorer.d.ts +54 -0
  151. package/dist/blackboard/snapshot/snapshot-serializer.d.ts +45 -0
  152. package/dist/blackboard/snapshot/snapshot-validator.d.ts +55 -0
  153. package/dist/blackboard/snapshot/type-guards.d.ts +12 -0
  154. package/dist/blackboard/snapshot/types.d.ts +151 -0
  155. package/dist/blackboard/snapshot/utils.d.ts +20 -0
  156. package/dist/blackboard/types/agent.d.ts +89 -0
  157. package/dist/blackboard/types/base.d.ts +213 -0
  158. package/dist/blackboard/types/blackboard.d.ts +217 -0
  159. package/dist/blackboard/types/decision.d.ts +260 -0
  160. package/dist/blackboard/types/index.d.ts +12 -0
  161. package/dist/blackboard/types/knowledge.d.ts +224 -0
  162. package/dist/blackboard/types/message.d.ts +162 -0
  163. package/dist/blackboard/types/task.d.ts +154 -0
  164. package/dist/blackboard/types/tkg.d.ts +189 -0
  165. package/dist/cell/ActorPool.d.ts +1 -0
  166. package/dist/cell/AgentFactory.d.ts +1 -0
  167. package/dist/cell/AgentRegistry.d.ts +1 -0
  168. package/dist/cell/BaseActor.d.ts +1 -0
  169. package/dist/cell/CellContext.d.ts +39 -0
  170. package/dist/cell/CellManager.d.ts +80 -0
  171. package/dist/cell/ExecutionCell.d.ts +44 -0
  172. package/dist/cell/PoolManager.d.ts +1 -0
  173. package/dist/cell/actor-types/action.d.ts +65 -0
  174. package/dist/cell/actor-types/actor.d.ts +251 -0
  175. package/dist/cell/actor-types/blackboard.d.ts +46 -0
  176. package/dist/cell/actor-types/crypto.d.ts +6 -0
  177. package/dist/cell/actor-types/index.d.ts +12 -0
  178. package/dist/cell/actor-types/message.d.ts +209 -0
  179. package/dist/cell/actor-types/metrics.d.ts +43 -0
  180. package/dist/cell/actor-types/observation.d.ts +45 -0
  181. package/dist/cell/actor-types/result.d.ts +110 -0
  182. package/dist/cell/agents/AnalystCellAgent.d.ts +2 -0
  183. package/dist/cell/agents/BaseRuntimeAgent.d.ts +2 -0
  184. package/dist/cell/agents/DirectorCellAgent.d.ts +2 -0
  185. package/dist/cell/agents/ExecutorCellAgent.d.ts +2 -0
  186. package/dist/cell/agents/VerifierCellAgent.d.ts +2 -0
  187. package/dist/cell/agents/index.d.ts +5 -0
  188. package/dist/cell/index.d.ts +9 -0
  189. package/dist/cell/internal/ActorRunnerAdapter.d.ts +2 -0
  190. package/dist/cell/internal/CellActorFactory.d.ts +2 -0
  191. package/dist/cell/internal/NoOpRuntimeBus.d.ts +2 -0
  192. package/dist/cell/internal/delay.d.ts +1 -0
  193. package/dist/cell/pool-index.d.ts +1 -0
  194. package/dist/cell/types.d.ts +47 -0
  195. package/dist/checkpoint/CheckpointFactoryRegistry.d.ts +16 -0
  196. package/dist/checkpoint/CheckpointManager.d.ts +41 -0
  197. package/dist/checkpoint/index.d.ts +5 -0
  198. package/dist/checkpoint/policy-hash.d.ts +11 -0
  199. package/dist/consensus/ConsensusGate.d.ts +83 -0
  200. package/dist/consensus/ConsensusRuleEngine.d.ts +1 -0
  201. package/dist/consensus/agenda/AgendaStore.d.ts +1 -0
  202. package/dist/consensus/agenda/events.d.ts +1 -0
  203. package/dist/consensus/agenda/index.d.ts +1 -0
  204. package/dist/consensus/agenda/types.d.ts +1 -0
  205. package/dist/consensus/index.d.ts +2 -0
  206. package/dist/consensus/types.d.ts +1 -0
  207. package/dist/consensus/voting/VotingSessionStore.d.ts +1 -0
  208. package/dist/consensus/voting/index.d.ts +1 -0
  209. package/dist/consensus/voting/types.d.ts +1 -0
  210. package/dist/errors/OboraErrorCode.d.ts +28 -0
  211. package/dist/errors/index.d.ts +1 -0
  212. package/dist/gates/GateAssignment.d.ts +28 -0
  213. package/dist/gates/MultiStageApproval.d.ts +74 -0
  214. package/dist/gates/SLAManager.d.ts +21 -0
  215. package/dist/gates/index.d.ts +4 -0
  216. package/dist/gates/types.d.ts +19 -0
  217. package/dist/index.cjs +26588 -0
  218. package/dist/index.cjs.map +1 -0
  219. package/dist/index.d.ts +39 -0
  220. package/dist/index.js +26330 -0
  221. package/dist/index.js.map +1 -0
  222. package/dist/judgment/JudgmentEngine.d.ts +24 -0
  223. package/dist/judgment/JudgmentNormalizer.d.ts +37 -0
  224. package/dist/judgment/JudgmentPolicy.d.ts +74 -0
  225. package/dist/judgment/JudgmentReporter.d.ts +70 -0
  226. package/dist/judgment/OperationalLogger.d.ts +68 -0
  227. package/dist/judgment/index.d.ts +6 -0
  228. package/dist/judgment/types.d.ts +42 -0
  229. package/dist/orchestrator/ExecutionContextBuilder.d.ts +1 -0
  230. package/dist/orchestrator/RuntimeOrchestrator.d.ts +94 -0
  231. package/dist/orchestrator/StepScheduler.d.ts +2 -0
  232. package/dist/orchestrator/index.d.ts +4 -0
  233. package/dist/orchestrator/types.d.ts +80 -0
  234. package/dist/orchestrator/utils.d.ts +1 -0
  235. package/dist/patterns/CustomPatternAPI.d.ts +10 -0
  236. package/dist/patterns/PatternRegistry.d.ts +19 -0
  237. package/dist/patterns/builtin/BrainstormPattern.d.ts +13 -0
  238. package/dist/patterns/builtin/CompositePattern.d.ts +11 -0
  239. package/dist/patterns/builtin/ConsensusPattern.d.ts +17 -0
  240. package/dist/patterns/builtin/DiscussionPattern.d.ts +13 -0
  241. package/dist/patterns/builtin/FanOutFanInPattern.d.ts +21 -0
  242. package/dist/patterns/builtin/PeerReviewPattern.d.ts +40 -0
  243. package/dist/patterns/builtin/PipelinePattern.d.ts +6 -0
  244. package/dist/patterns/builtin/RedBluePattern.d.ts +13 -0
  245. package/dist/patterns/builtin/SupervisorPattern.d.ts +13 -0
  246. package/dist/patterns/builtin/discussion/MeetingStateMachine.d.ts +1 -0
  247. package/dist/patterns/builtin/discussion/index.d.ts +2 -0
  248. package/dist/patterns/builtin/discussion/types.d.ts +1 -0
  249. package/dist/patterns/examples/OxfordDebatePattern.d.ts +11 -0
  250. package/dist/patterns/examples/index.d.ts +1 -0
  251. package/dist/patterns/index.d.ts +14 -0
  252. package/dist/patterns/resolveCustomPattern.d.ts +22 -0
  253. package/dist/patterns/types.d.ts +252 -0
  254. package/dist/plugins/PluginLoader.d.ts +16 -0
  255. package/dist/plugins/PluginRegistry.d.ts +15 -0
  256. package/dist/plugins/builtins.d.ts +137 -0
  257. package/dist/plugins/index.d.ts +5 -0
  258. package/dist/plugins/types.d.ts +52 -0
  259. package/dist/plugins/validator.d.ts +3 -0
  260. package/dist/policy/DefaultPolicyEngine.d.ts +43 -0
  261. package/dist/policy/DynamicPolicyContext.d.ts +21 -0
  262. package/dist/policy/DynamicQuotaEvaluator.d.ts +9 -0
  263. package/dist/policy/DynamicToolPolicy.d.ts +10 -0
  264. package/dist/policy/PolicyEngine.d.ts +14 -0
  265. package/dist/policy/PolicyLoader.d.ts +3 -0
  266. package/dist/policy/expressions/ExpressionEvaluator.d.ts +37 -0
  267. package/dist/policy/expressions/ExpressionParser.d.ts +35 -0
  268. package/dist/policy/expressions/constants.d.ts +5 -0
  269. package/dist/policy/expressions/index.d.ts +2 -0
  270. package/dist/policy/index.d.ts +9 -0
  271. package/dist/policy/rules/GateRule.d.ts +7 -0
  272. package/dist/policy/rules/ResourceRule.d.ts +7 -0
  273. package/dist/policy/rules/SandboxRule.d.ts +7 -0
  274. package/dist/policy/rules/ToolRule.d.ts +23 -0
  275. package/dist/policy/rules/index.d.ts +4 -0
  276. package/dist/policy/types.d.ts +156 -0
  277. package/dist/recovery/RecoveryEngine.d.ts +11 -0
  278. package/dist/recovery/RetryStrategy.d.ts +2 -0
  279. package/dist/recovery/SupervisionTree.d.ts +1 -0
  280. package/dist/recovery/index.d.ts +4 -0
  281. package/dist/recovery/types.d.ts +103 -0
  282. package/dist/state/RuntimeBlackboardCompat.d.ts +1 -0
  283. package/dist/state/StateBinder.d.ts +40 -0
  284. package/dist/state/StateManager.d.ts +1 -0
  285. package/dist/state/accessors/decisions-accessor.d.ts +1 -0
  286. package/dist/state/accessors/index.d.ts +1 -0
  287. package/dist/state/accessors/knowledge-accessor.d.ts +1 -0
  288. package/dist/state/accessors/state-accessor.d.ts +1 -0
  289. package/dist/state/blackboard-events.d.ts +1 -0
  290. package/dist/state/core-index.d.ts +1 -0
  291. package/dist/state/id-generator.d.ts +1 -0
  292. package/dist/state/immutable.d.ts +1 -0
  293. package/dist/state/index.d.ts +6 -0
  294. package/dist/state/path-utils.d.ts +1 -0
  295. package/dist/state/snapshot/compression.d.ts +1 -0
  296. package/dist/state/snapshot/id-utils.d.ts +1 -0
  297. package/dist/state/snapshot/index.d.ts +1 -0
  298. package/dist/state/snapshot/serializer.d.ts +1 -0
  299. package/dist/state/snapshot/snapshot-comparer.d.ts +1 -0
  300. package/dist/state/snapshot/snapshot-creator.d.ts +1 -0
  301. package/dist/state/snapshot/snapshot-manager.d.ts +1 -0
  302. package/dist/state/snapshot/snapshot-restorer.d.ts +1 -0
  303. package/dist/state/snapshot/snapshot-serializer.d.ts +1 -0
  304. package/dist/state/snapshot/snapshot-validator.d.ts +1 -0
  305. package/dist/state/snapshot/type-guards.d.ts +1 -0
  306. package/dist/state/snapshot/types.d.ts +1 -0
  307. package/dist/state/snapshot/utils.d.ts +1 -0
  308. package/dist/state/tkg.d.ts +1 -0
  309. package/dist/state/types/agent.d.ts +1 -0
  310. package/dist/state/types/base.d.ts +1 -0
  311. package/dist/state/types/blackboard.d.ts +1 -0
  312. package/dist/state/types/decision.d.ts +1 -0
  313. package/dist/state/types/index.d.ts +1 -0
  314. package/dist/state/types/knowledge.d.ts +1 -0
  315. package/dist/state/types/message.d.ts +1 -0
  316. package/dist/state/types/task.d.ts +1 -0
  317. package/dist/state/types/tkg.d.ts +1 -0
  318. package/dist/state/versioning.d.ts +1 -0
  319. package/dist/storage/index.d.ts +3 -0
  320. package/dist/storage/inmemory-adapter.d.ts +27 -0
  321. package/dist/storage/sqlite-adapter.d.ts +43 -0
  322. package/dist/storage/types.d.ts +129 -0
  323. package/package.json +76 -0
@@ -0,0 +1,43 @@
1
+ import type { PolicyEngine } from "./PolicyEngine.js";
2
+ import { type PolicyConditionAuditEvent } from "./rules/index.js";
3
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicyRulePlugin, PolicySet, PolicySnapshot, PolicyVersion } from "./types.js";
4
+ export interface PolicyLifecycleEvent {
5
+ type: "load" | "reload_success" | "reload_failure";
6
+ version?: PolicyVersion;
7
+ source: string;
8
+ error?: string;
9
+ }
10
+ export interface PolicySnapshotPinnedAuditEvent {
11
+ type: "policy_snapshot_pinned";
12
+ executionId: string;
13
+ version: string;
14
+ }
15
+ export interface DefaultPolicyEngineOptions {
16
+ onLifecycleEvent?: (event: PolicyLifecycleEvent) => void | Promise<void>;
17
+ onAuditEvent?: (event: PolicyConditionAuditEvent | PolicySnapshotPinnedAuditEvent) => void | Promise<void>;
18
+ }
19
+ export declare class DefaultPolicyEngine implements PolicyEngine {
20
+ private policyPath?;
21
+ private policySet;
22
+ private policyVersion?;
23
+ private readonly versions;
24
+ private readonly rules;
25
+ private readonly onLifecycleEvent?;
26
+ private readonly onAuditEvent?;
27
+ private readonly pinnedSnapshots;
28
+ constructor(rules?: readonly PolicyRulePlugin[], options?: DefaultPolicyEngineOptions);
29
+ load(pathToPolicy: string): Promise<PolicyVersion>;
30
+ loadInline(policies: PolicySet, source?: string): PolicyVersion;
31
+ enforce(action: PolicyAction, context: PolicyContext): PolicyDecision;
32
+ reload(): Promise<PolicyVersion | undefined>;
33
+ version(): string;
34
+ currentVersion(): PolicyVersion | undefined;
35
+ history(): readonly PolicyVersion[];
36
+ snapshot(): PolicySnapshot;
37
+ pinForExecution(executionId: string): PolicySnapshot;
38
+ unpinExecution(executionId: string): void;
39
+ getPinnedSnapshot(executionId: string): PolicySnapshot | undefined;
40
+ private enforceWithPolicy;
41
+ private applyPolicy;
42
+ private emit;
43
+ }
@@ -0,0 +1,21 @@
1
+ import type { AuditEvent } from "../audit/types.js";
2
+ import type { DynamicPolicyVars } from "./types.js";
3
+ export interface BuildDynamicPolicyVarsParams {
4
+ executionId: string;
5
+ workflowName: string;
6
+ startedAt: Date;
7
+ stepName: string;
8
+ stepAgent: string;
9
+ stepIndex: number;
10
+ stepConfig?: Record<string, unknown>;
11
+ actorId: string;
12
+ actorRole?: string;
13
+ state: Record<string, unknown>;
14
+ auditEvents: AuditEvent[];
15
+ completedSteps: string[];
16
+ previousResults: Record<string, {
17
+ success: boolean;
18
+ output?: unknown;
19
+ }>;
20
+ }
21
+ export declare function buildDynamicPolicyVars(params: BuildDynamicPolicyVarsParams): DynamicPolicyVars;
@@ -0,0 +1,9 @@
1
+ import type { DynamicResourceLimit, PolicyAction, PolicyContext, PolicyDecision, ResourcePolicy } from "./types.js";
2
+ export declare function evaluateDynamicResourceDecision(policy: ResourcePolicy, action: PolicyAction, context: PolicyContext): PolicyDecision | null;
3
+ export declare function getEffectiveStaticLimit(policy: ResourcePolicy, field: DynamicResourceLimit["field"]): number | undefined;
4
+ export declare function getStaticRulePath(field: DynamicResourceLimit["field"]): string;
5
+ export declare function getStaticReason(field: DynamicResourceLimit["field"]): string;
6
+ export declare const __internal: {
7
+ getExpressionCacheSize: () => number;
8
+ clearExpressionCache: () => void;
9
+ };
@@ -0,0 +1,10 @@
1
+ import type { DynamicToolRule, PolicyAction, PolicyContext, PolicyDecision } from "./types.js";
2
+ export interface DynamicToolRuleResolution {
3
+ matchedRule?: DynamicToolRule;
4
+ denyDecision?: PolicyDecision;
5
+ }
6
+ export declare function resolveDynamicToolRule(action: PolicyAction, context: PolicyContext, rules: DynamicToolRule[] | undefined): DynamicToolRuleResolution;
7
+ export declare const __internal: {
8
+ getExpressionCacheSize: () => number;
9
+ clearExpressionCache: () => void;
10
+ };
@@ -0,0 +1,14 @@
1
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicySet, PolicySnapshot, PolicyVersion } from "./types.js";
2
+ export interface PolicyEngine {
3
+ load(path: string): Promise<PolicyVersion>;
4
+ loadInline(policies: PolicySet, source?: string): PolicyVersion;
5
+ enforce(action: PolicyAction, context: PolicyContext): PolicyDecision;
6
+ reload(): Promise<PolicyVersion | undefined>;
7
+ version(): string;
8
+ currentVersion(): PolicyVersion | undefined;
9
+ history(): readonly PolicyVersion[];
10
+ snapshot(): PolicySnapshot;
11
+ pinForExecution(executionId: string): PolicySnapshot;
12
+ unpinExecution(executionId: string): void;
13
+ getPinnedSnapshot(executionId: string): PolicySnapshot | undefined;
14
+ }
@@ -0,0 +1,3 @@
1
+ import type { PolicySet } from "./types.js";
2
+ export declare function normalizePolicySet(input: unknown): PolicySet;
3
+ export declare function loadPolicyFromYaml(path: string): Promise<PolicySet>;
@@ -0,0 +1,37 @@
1
+ import type { PolicyAction, PolicyContext } from "../types.js";
2
+ import type { ExpressionAST } from "./ExpressionParser.js";
3
+ export interface ExpressionContext {
4
+ action: PolicyAction;
5
+ context: PolicyContext;
6
+ state?: Record<string, unknown>;
7
+ step?: {
8
+ name: string;
9
+ agent: string;
10
+ config?: Record<string, unknown>;
11
+ };
12
+ execution?: {
13
+ id: string;
14
+ workflowName: string;
15
+ startedAt: Date;
16
+ elapsedMs: number;
17
+ totalTokens: number;
18
+ totalCost: number;
19
+ totalToolCalls: number;
20
+ completedSteps: string[];
21
+ };
22
+ actor?: {
23
+ id: string;
24
+ role?: string;
25
+ };
26
+ metrics?: {
27
+ errorCount: number;
28
+ retryCount: number;
29
+ avgStepDurationMs: number;
30
+ maxStepDurationMs: number;
31
+ };
32
+ previousResults?: Record<string, {
33
+ success: boolean;
34
+ output?: unknown;
35
+ }>;
36
+ }
37
+ export declare function evaluateExpression(ast: ExpressionAST, ctx: ExpressionContext): boolean;
@@ -0,0 +1,35 @@
1
+ export type ExpressionAST = ComparisonExpression | LogicalExpression | FunctionCallExpression | LiteralExpression | FieldRefExpression | NotExpression | ArrayLiteralExpression;
2
+ export interface ComparisonExpression {
3
+ type: "comparison";
4
+ operator: "==" | "!=" | ">" | ">=" | "<" | "<=";
5
+ left: ExpressionAST;
6
+ right: ExpressionAST;
7
+ }
8
+ export interface LogicalExpression {
9
+ type: "logical";
10
+ operator: "&&" | "||";
11
+ left: ExpressionAST;
12
+ right: ExpressionAST;
13
+ }
14
+ export interface FunctionCallExpression {
15
+ type: "function_call";
16
+ name: "contains" | "matches" | "startsWith" | "endsWith" | "in";
17
+ args: ExpressionAST[];
18
+ }
19
+ export interface LiteralExpression {
20
+ type: "literal";
21
+ value: string | number | boolean | null;
22
+ }
23
+ export interface FieldRefExpression {
24
+ type: "field_ref";
25
+ path: string[];
26
+ }
27
+ export interface NotExpression {
28
+ type: "not";
29
+ expression: ExpressionAST;
30
+ }
31
+ export interface ArrayLiteralExpression {
32
+ type: "array_literal";
33
+ items: ExpressionAST[];
34
+ }
35
+ export declare function parseExpression(expr: string): ExpressionAST;
@@ -0,0 +1,5 @@
1
+ export declare const MAX_EXPRESSION_DEPTH = 50;
2
+ export declare const ALLOWED_EXPRESSION_ROOTS: Set<string>;
3
+ export declare const BLOCKED_FIELD_NAMES: Set<string>;
4
+ export declare const ALLOWED_EXPRESSION_FUNCTIONS: Set<string>;
5
+ export declare const MAX_REGEX_PATTERN_LENGTH = 256;
@@ -0,0 +1,2 @@
1
+ export * from "./ExpressionParser.js";
2
+ export * from "./ExpressionEvaluator.js";
@@ -0,0 +1,9 @@
1
+ export * from "./types.js";
2
+ export * from "./PolicyEngine.js";
3
+ export * from "./PolicyLoader.js";
4
+ export * from "./DefaultPolicyEngine.js";
5
+ export * from "./DynamicPolicyContext.js";
6
+ export * from "./DynamicQuotaEvaluator.js";
7
+ export * from "./DynamicToolPolicy.js";
8
+ export * from "./rules/index.js";
9
+ export * from "./expressions/index.js";
@@ -0,0 +1,7 @@
1
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicyRulePlugin, PolicySet } from "../types.js";
2
+ export declare class GateRule implements PolicyRulePlugin {
3
+ readonly name = "gate";
4
+ readonly version = "1.0.0";
5
+ readonly type: "policy-rule";
6
+ evaluate(action: PolicyAction, _context: PolicyContext, policies: PolicySet): PolicyDecision | null;
7
+ }
@@ -0,0 +1,7 @@
1
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicyRulePlugin, PolicySet } from "../types.js";
2
+ export declare class ResourceRule implements PolicyRulePlugin {
3
+ readonly name = "resource";
4
+ readonly version = "1.0.0";
5
+ readonly type: "policy-rule";
6
+ evaluate(action: PolicyAction, context: PolicyContext, policies: PolicySet): PolicyDecision | null;
7
+ }
@@ -0,0 +1,7 @@
1
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicyRulePlugin, PolicySet } from "../types.js";
2
+ export declare class SandboxRule implements PolicyRulePlugin {
3
+ readonly name = "sandbox";
4
+ readonly version = "1.0.0";
5
+ readonly type: "policy-rule";
6
+ evaluate(action: PolicyAction, _context: PolicyContext, policies: PolicySet): PolicyDecision | null;
7
+ }
@@ -0,0 +1,23 @@
1
+ import type { PolicyAction, PolicyContext, PolicyDecision, PolicyRulePlugin, PolicySet } from "../types.js";
2
+ export interface PolicyConditionAuditEvent {
3
+ type: "policy_condition_evaluated";
4
+ expression: string;
5
+ result: boolean;
6
+ rule: string;
7
+ action: string;
8
+ error?: string;
9
+ }
10
+ export interface ToolRuleOptions {
11
+ onAuditEvent?: (event: PolicyConditionAuditEvent) => void | Promise<void>;
12
+ }
13
+ export declare class ToolRule implements PolicyRulePlugin {
14
+ readonly name = "tool";
15
+ readonly version = "1.1.0";
16
+ readonly type: "policy-rule";
17
+ private readonly expressionCache;
18
+ private readonly onAuditEvent?;
19
+ constructor(options?: ToolRuleOptions);
20
+ evaluate(action: PolicyAction, context: PolicyContext, policies: PolicySet): PolicyDecision | null;
21
+ private toDecisionFromDynamicRule;
22
+ private getExpressionAst;
23
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./ToolRule.js";
2
+ export * from "./SandboxRule.js";
3
+ export * from "./ResourceRule.js";
4
+ export * from "./GateRule.js";
@@ -0,0 +1,156 @@
1
+ export type PolicyDecision = {
2
+ type: "allow";
3
+ warning?: PolicyWarning;
4
+ } | {
5
+ type: "deny";
6
+ reason: string;
7
+ rule: string;
8
+ } | {
9
+ type: "gate";
10
+ gateType: string;
11
+ config: unknown;
12
+ } | {
13
+ type: "transform";
14
+ original: unknown;
15
+ transformed: unknown;
16
+ rule: string;
17
+ transformFn?: string;
18
+ };
19
+ export interface PolicyWarning {
20
+ reason: string;
21
+ rule: string;
22
+ field?: string;
23
+ limit?: number;
24
+ current?: number;
25
+ }
26
+ export interface PolicyRulePlugin {
27
+ name: string;
28
+ version: string;
29
+ type: "policy-rule";
30
+ evaluate(action: PolicyAction, context: PolicyContext, policies: PolicySet): PolicyDecision | null;
31
+ }
32
+ export interface PolicyAction {
33
+ type: "tool_call" | "file_access" | "step_start" | "resource_use";
34
+ name: string;
35
+ params?: unknown;
36
+ }
37
+ export interface PolicyContext {
38
+ cellId?: string;
39
+ stepName?: string;
40
+ executionId?: string;
41
+ currentTokens?: number;
42
+ currentCost?: number;
43
+ currentToolCalls?: number;
44
+ currentDurationMs?: number;
45
+ dynamicVars?: DynamicPolicyVars;
46
+ }
47
+ export interface PolicySet {
48
+ version?: string;
49
+ tools?: ToolPolicy[];
50
+ dynamicToolRules?: DynamicToolRule[];
51
+ sandbox?: SandboxPolicy;
52
+ resources?: ResourcePolicy;
53
+ gates?: GatePolicy[];
54
+ }
55
+ export interface PolicyVersion {
56
+ version: string;
57
+ loadedAt: Date;
58
+ source: string;
59
+ hash: string;
60
+ }
61
+ export interface PolicySnapshot {
62
+ readonly version: PolicyVersion;
63
+ enforce(action: PolicyAction, context: PolicyContext): PolicyDecision;
64
+ }
65
+ export interface ToolPolicy {
66
+ name: string;
67
+ effect: "allow" | "deny" | "transform" | "gate";
68
+ when?: {
69
+ matches?: string[];
70
+ not_matches?: string[];
71
+ condition?: string;
72
+ };
73
+ transform?: {
74
+ fn: string;
75
+ };
76
+ gate?: {
77
+ type: "human-approval" | "consensus" | "external";
78
+ timeout?: string;
79
+ };
80
+ }
81
+ export interface DynamicToolRule {
82
+ name: string;
83
+ condition: string;
84
+ effect: "allow" | "deny" | "transform" | "gate";
85
+ priority?: number;
86
+ /** Required when effect is "transform". The transform function identifier. */
87
+ transformFn?: string;
88
+ /** Required when effect is "gate". Gate type and optional timeout. */
89
+ gate?: {
90
+ type: "human-approval" | "consensus" | "external";
91
+ timeout?: string;
92
+ };
93
+ }
94
+ export interface SandboxPolicy {
95
+ root: string;
96
+ denyOutsideRoot: boolean;
97
+ denyPatterns?: string[];
98
+ maxFileSize?: string;
99
+ }
100
+ export interface DynamicResourceLimit {
101
+ field: "tokens" | "cost" | "tool_calls" | "duration_ms";
102
+ condition: string;
103
+ limit: number;
104
+ action: "deny" | "warn" | "gate";
105
+ }
106
+ export interface DynamicQuotaConfig {
107
+ limits: DynamicResourceLimit[];
108
+ }
109
+ export interface ResourcePolicy {
110
+ timeoutMs?: number;
111
+ maxTokens?: number;
112
+ maxCostUsd?: number;
113
+ maxToolCalls?: number;
114
+ maxOutputSize?: string;
115
+ dynamicQuota?: DynamicQuotaConfig;
116
+ }
117
+ export interface DynamicPolicyVars {
118
+ execution: {
119
+ id: string;
120
+ workflowName: string;
121
+ startedAt: Date;
122
+ elapsedMs: number;
123
+ totalTokens: number;
124
+ totalCost: number;
125
+ totalToolCalls: number;
126
+ completedSteps: string[];
127
+ };
128
+ step: {
129
+ name: string;
130
+ agent: string;
131
+ index: number;
132
+ config?: Record<string, unknown>;
133
+ };
134
+ actor: {
135
+ id: string;
136
+ role?: string;
137
+ };
138
+ state: Record<string, unknown>;
139
+ metrics: {
140
+ errorCount: number;
141
+ retryCount: number;
142
+ avgStepDurationMs: number;
143
+ maxStepDurationMs: number;
144
+ };
145
+ previousResults: Record<string, {
146
+ success: boolean;
147
+ output?: unknown;
148
+ }>;
149
+ }
150
+ export interface GatePolicy {
151
+ step: string;
152
+ type: "human-approval" | "consensus" | "external";
153
+ required: boolean;
154
+ timeout?: string;
155
+ fallback?: "fail" | "escalate" | "auto-approve";
156
+ }
@@ -0,0 +1,11 @@
1
+ import type { CellFailure, RecoveryContext, RecoveryEngine as RecoveryEngineContract, RecoveryResult, RecoveryHandleOptions, RecoveryStrategy, RecoveryStrategyPlugin } from "./types.js";
2
+ export declare class RecoveryEngine implements RecoveryEngineContract {
3
+ private readonly context;
4
+ private readonly plugins;
5
+ constructor(context?: RecoveryContext);
6
+ register(plugin: RecoveryStrategyPlugin): void;
7
+ handle(failure: CellFailure, strategy: RecoveryStrategy, options?: RecoveryHandleOptions): Promise<RecoveryResult>;
8
+ private recordAudit;
9
+ }
10
+ export { Supervisor as LegacyRecoveryEngine } from "../_legacy/actor/supervision/Supervisor.js";
11
+ export { RecoveryEngine as DefaultRecoveryEngine };
@@ -0,0 +1,2 @@
1
+ import type { RetryRecoveryStrategy } from "./types.js";
2
+ export declare function calculateRetryDelay(strategy: RetryRecoveryStrategy, attempt: number): number;
@@ -0,0 +1 @@
1
+ export * from "../_legacy/actor/supervision/SupervisorTree.js";
@@ -0,0 +1,4 @@
1
+ export * from "./RecoveryEngine.js";
2
+ export * from "./SupervisionTree.js";
3
+ export * from "./types.js";
4
+ export * from "./RetryStrategy.js";
@@ -0,0 +1,103 @@
1
+ export type RecoveryStrategyType = "retry" | "rollback" | "escalate" | "alternative" | "custom";
2
+ export interface CellFailure {
3
+ executionId: string;
4
+ cellId: string;
5
+ stepName?: string;
6
+ attempt: number;
7
+ error: Error;
8
+ metadata?: Record<string, unknown>;
9
+ }
10
+ export interface BaseRecoveryStrategy {
11
+ type: RecoveryStrategyType;
12
+ }
13
+ export interface RetryRecoveryStrategy extends BaseRecoveryStrategy {
14
+ type: "retry";
15
+ mode: "linear" | "exponential";
16
+ maxAttempts: number;
17
+ initialDelayMs: number;
18
+ maxDelayMs: number;
19
+ multiplier?: number;
20
+ }
21
+ export interface RollbackRecoveryStrategy extends BaseRecoveryStrategy {
22
+ type: "rollback";
23
+ snapshotId: string;
24
+ }
25
+ export interface EscalateRecoveryStrategy extends BaseRecoveryStrategy {
26
+ type: "escalate";
27
+ severity: "low" | "medium" | "high" | "critical";
28
+ channel: string;
29
+ summary?: string;
30
+ }
31
+ export interface AlternativeRecoveryStrategy extends BaseRecoveryStrategy {
32
+ type: "alternative";
33
+ stepName: string;
34
+ payload?: unknown;
35
+ }
36
+ export interface CustomRecoveryStrategy extends BaseRecoveryStrategy {
37
+ type: "custom";
38
+ handlerPath: string;
39
+ }
40
+ export type RecoveryStrategy = RetryRecoveryStrategy | RollbackRecoveryStrategy | EscalateRecoveryStrategy | AlternativeRecoveryStrategy | CustomRecoveryStrategy;
41
+ export interface RetryExecutor {
42
+ executeRetry(failure: CellFailure): Promise<unknown>;
43
+ }
44
+ export interface SnapshotStore {
45
+ restore(snapshotId: string): Promise<void>;
46
+ }
47
+ export interface EscalationNotifier {
48
+ notify(input: {
49
+ failure: CellFailure;
50
+ severity: EscalateRecoveryStrategy["severity"];
51
+ channel: string;
52
+ summary?: string;
53
+ }): Promise<void>;
54
+ }
55
+ export interface AlternativeStepExecutor {
56
+ executeAlternative(input: {
57
+ failure: CellFailure;
58
+ stepName: string;
59
+ payload?: unknown;
60
+ }): Promise<unknown>;
61
+ }
62
+ export interface RecoveryConsensusGate {
63
+ evaluate(sessionId: string): {
64
+ status: "pass" | "fail" | "pending" | "timeout";
65
+ };
66
+ }
67
+ export interface RecoveryContext {
68
+ retryExecutor?: RetryExecutor;
69
+ snapshotStore?: SnapshotStore;
70
+ escalationNotifier?: EscalationNotifier;
71
+ alternativeExecutor?: AlternativeStepExecutor;
72
+ consensusGate?: RecoveryConsensusGate;
73
+ auditTrail?: {
74
+ record(event: {
75
+ id: string;
76
+ executionId: string;
77
+ cellId?: string;
78
+ timestamp: Date;
79
+ type: "recovery_start" | "recovery_end";
80
+ data: unknown;
81
+ }): Promise<void>;
82
+ };
83
+ wait?: (ms: number) => Promise<void>;
84
+ }
85
+ export type RecoveryResultStatus = "recovered" | "failed" | "escalated";
86
+ export interface RecoveryResult {
87
+ status: RecoveryResultStatus;
88
+ strategy: RecoveryStrategyType;
89
+ attempts?: number;
90
+ details?: Record<string, unknown>;
91
+ error?: Error;
92
+ }
93
+ export interface RecoveryStrategyPlugin {
94
+ readonly type: RecoveryStrategyType;
95
+ execute(failure: CellFailure, strategy: RecoveryStrategy, context: Required<RecoveryContext>): Promise<RecoveryResult>;
96
+ }
97
+ export interface RecoveryHandleOptions {
98
+ consensusSessionId?: string;
99
+ }
100
+ export interface RecoveryEngine {
101
+ handle(failure: CellFailure, strategy: RecoveryStrategy, options?: RecoveryHandleOptions): Promise<RecoveryResult>;
102
+ }
103
+ export * from "../_legacy/actor/supervision/types.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/cli-runtime/runtime/blackboard.js";
@@ -0,0 +1,40 @@
1
+ import type { AuditRecorder } from "../audit/AuditTrail.js";
2
+ import type { CellResult } from "../cell/types.js";
3
+ export interface StateBinding {
4
+ source: string;
5
+ target: string;
6
+ transform?: string;
7
+ condition?: string;
8
+ }
9
+ export interface StateBinder {
10
+ bind(cellResult: CellResult, bindings: StateBinding[]): Promise<void>;
11
+ }
12
+ export interface StateStore {
13
+ read(path: string): unknown;
14
+ write(path: string, value: unknown): unknown;
15
+ }
16
+ export type TransformFn = (value: unknown, cellResult: CellResult, binding: StateBinding) => unknown;
17
+ export interface StateBinderOptions {
18
+ transforms?: Record<string, TransformFn>;
19
+ evaluateCondition?: (condition: string, value: unknown, cellResult: CellResult, binding: StateBinding) => boolean;
20
+ auditRecorder?: Pick<AuditRecorder, "recordStateChange">;
21
+ }
22
+ declare function parsePath(path: string): string[];
23
+ declare function getByPath(source: unknown, path: string): unknown;
24
+ declare function resolvePathFunction(path: string): unknown;
25
+ export declare class DefaultStateBinder implements StateBinder {
26
+ private readonly stateStore;
27
+ private readonly transforms;
28
+ private readonly evaluateCondition;
29
+ private readonly auditRecorder?;
30
+ constructor(stateStore: StateStore, options?: StateBinderOptions);
31
+ bind(cellResult: CellResult, bindings: StateBinding[]): Promise<void>;
32
+ private readSafely;
33
+ private applyTransform;
34
+ }
35
+ export declare const __internal: {
36
+ getByPath: typeof getByPath;
37
+ parsePath: typeof parsePath;
38
+ resolvePathFunction: typeof resolvePathFunction;
39
+ };
40
+ export {};
@@ -0,0 +1 @@
1
+ export { Blackboard as StateManager } from "../_legacy/blackboard/core/blackboard.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/core/accessors/decisions-accessor.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/core/accessors/index.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/core/accessors/knowledge-accessor.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/core/accessors/state-accessor.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/blackboard/core/blackboard-events.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/blackboard/core/index.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/blackboard/core/id-generator.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/blackboard/core/immutable.js";
@@ -0,0 +1,6 @@
1
+ export * from "./StateManager.js";
2
+ export * from "./StateBinder.js";
3
+ export * from "./RuntimeBlackboardCompat.js";
4
+ export * from "./accessors/index.js";
5
+ export * from "./snapshot/index.js";
6
+ export * from "./types/index.js";
@@ -0,0 +1 @@
1
+ export * from "../_legacy/blackboard/core/path-utils.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/compression.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/id-utils.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/index.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/serializer.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/snapshot-comparer.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/snapshot-creator.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/snapshot-manager.js";
@@ -0,0 +1 @@
1
+ export * from "../../_legacy/blackboard/snapshot/snapshot-restorer.js";