@toyako/hive 1.0.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.
- package/.agent-hive/audit/audit-1782626932077.json +42 -0
- package/.agent-hive/audit/audit-1782632399175.json +34 -0
- package/.agent-hive/benchmark/runtime-benchmark.json +32 -0
- package/.agent-hive/logs/trace-mqaj7s0x.jsonl +2 -0
- package/.agent-hive/runtime/checkpoint/snapshot-task-1782567056424-vmzojglrb.json +13 -0
- package/.agent-hive/runtime/checkpoint/snapshot-task-1782567218044-r9j58nsum.json +10 -0
- package/.agent-hive/runtime/checkpoint/task-1782561125960-o9kjl8iv4.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782561318850-fqy5h4dj0.json +50 -0
- package/.agent-hive/runtime/checkpoint/task-1782561318861-oy9cxrfwx.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782561835241-68etmejqz.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782567056424-vmzojglrb.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782567218044-r9j58nsum.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782632389172-yzxn6p6tq.json +25 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/package.json +8 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/src/auth.js +19 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/src/auth.test.js +17 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/test-grand-review.js +270 -0
- package/.agent-hive/sandbox/sandbox-task-1782567218044-r9j58nsum-1782567218053/auth.js +7 -0
- package/.agent-hive/stability/stability_window_trace_20260703_1713.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_1746.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119745.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119755.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119765.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119782.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119791.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119801.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119810.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119818.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119826.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119835.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202743.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202749.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202762.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202768.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202773.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202778.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202784.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202789.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202794.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202800.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322538.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322552.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322557.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322562.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322567.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322573.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322579.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322584.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322589.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322595.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404476.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404482.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404488.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404494.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404499.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404504.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404512.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404519.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404526.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404533.json +12 -0
- package/.agent-hive/traces/task-bench-claude-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-03.json +37 -0
- package/.det-hash-manifest.json +9 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +34 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- package/.github/ISSUE_TEMPLATE/runtime_compatibility.md +35 -0
- package/.github/workflows/ci.yml +44 -0
- package/.github/workflows/hive-ci.yml +43 -0
- package/CHANGELOG.md +66 -0
- package/CONTRIBUTING.md +61 -0
- package/LICENSE +21 -0
- package/README.es.md +36 -0
- package/README.ja.md +36 -0
- package/README.md +115 -0
- package/README.zh-CN.md +117 -0
- package/RELEASE.md +116 -0
- package/audit-scoreboard.json +55 -0
- package/benchmarks/version.json +20 -0
- package/dist/adapters/ClaudeAdapter.d.ts +14 -0
- package/dist/adapters/ClaudeAdapter.d.ts.map +1 -0
- package/dist/adapters/ClaudeAdapter.js +251 -0
- package/dist/adapters/ClaudeAdapter.js.map +1 -0
- package/dist/adapters/CodexAdapter.d.ts +16 -0
- package/dist/adapters/CodexAdapter.d.ts.map +1 -0
- package/dist/adapters/CodexAdapter.js +140 -0
- package/dist/adapters/CodexAdapter.js.map +1 -0
- package/dist/adapters/HermesAdapter.d.ts +15 -0
- package/dist/adapters/HermesAdapter.d.ts.map +1 -0
- package/dist/adapters/HermesAdapter.js +223 -0
- package/dist/adapters/HermesAdapter.js.map +1 -0
- package/dist/adapters/MockClaudeAdapter.d.ts +29 -0
- package/dist/adapters/MockClaudeAdapter.d.ts.map +1 -0
- package/dist/adapters/MockClaudeAdapter.js +62 -0
- package/dist/adapters/MockClaudeAdapter.js.map +1 -0
- package/dist/adapters/MockCodexAdapter.d.ts +16 -0
- package/dist/adapters/MockCodexAdapter.d.ts.map +1 -0
- package/dist/adapters/MockCodexAdapter.js +34 -0
- package/dist/adapters/MockCodexAdapter.js.map +1 -0
- package/dist/adapters/OpenClawAdapter.d.ts +15 -0
- package/dist/adapters/OpenClawAdapter.d.ts.map +1 -0
- package/dist/adapters/OpenClawAdapter.js +195 -0
- package/dist/adapters/OpenClawAdapter.js.map +1 -0
- package/dist/adapters/registry.d.ts +31 -0
- package/dist/adapters/registry.d.ts.map +1 -0
- package/dist/adapters/registry.js +42 -0
- package/dist/adapters/registry.js.map +1 -0
- package/dist/api/HiveAPI.d.ts +46 -0
- package/dist/api/HiveAPI.d.ts.map +1 -0
- package/dist/api/HiveAPI.js +117 -0
- package/dist/api/HiveAPI.js.map +1 -0
- package/dist/api/MeshAPI.d.ts +46 -0
- package/dist/api/MeshAPI.d.ts.map +1 -0
- package/dist/api/MeshAPI.js +117 -0
- package/dist/api/MeshAPI.js.map +1 -0
- package/dist/benchmark/BenchmarkDataset.d.ts +28 -0
- package/dist/benchmark/BenchmarkDataset.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkDataset.js +102 -0
- package/dist/benchmark/BenchmarkDataset.js.map +1 -0
- package/dist/benchmark/BenchmarkPlan.d.ts +155 -0
- package/dist/benchmark/BenchmarkPlan.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkPlan.js +310 -0
- package/dist/benchmark/BenchmarkPlan.js.map +1 -0
- package/dist/benchmark/BenchmarkReport.d.ts +44 -0
- package/dist/benchmark/BenchmarkReport.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkReport.js +152 -0
- package/dist/benchmark/BenchmarkReport.js.map +1 -0
- package/dist/benchmark/BenchmarkRunner.d.ts +30 -0
- package/dist/benchmark/BenchmarkRunner.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkRunner.js +115 -0
- package/dist/benchmark/BenchmarkRunner.js.map +1 -0
- package/dist/benchmark/BenchmarkSuite.d.ts +21 -0
- package/dist/benchmark/BenchmarkSuite.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkSuite.js +174 -0
- package/dist/benchmark/BenchmarkSuite.js.map +1 -0
- package/dist/benchmark/index.d.ts +13 -0
- package/dist/benchmark/index.d.ts.map +1 -0
- package/dist/benchmark/index.js +26 -0
- package/dist/benchmark/index.js.map +1 -0
- package/dist/broker/AgentRegistry.d.ts +15 -0
- package/dist/broker/AgentRegistry.d.ts.map +1 -0
- package/dist/broker/AgentRegistry.js +103 -0
- package/dist/broker/AgentRegistry.js.map +1 -0
- package/dist/broker/Broker.d.ts +52 -0
- package/dist/broker/Broker.d.ts.map +1 -0
- package/dist/broker/Broker.js +119 -0
- package/dist/broker/Broker.js.map +1 -0
- package/dist/broker/GraphOperations.d.ts +38 -0
- package/dist/broker/GraphOperations.d.ts.map +1 -0
- package/dist/broker/GraphOperations.js +66 -0
- package/dist/broker/GraphOperations.js.map +1 -0
- package/dist/broker/MessageBus.d.ts +22 -0
- package/dist/broker/MessageBus.d.ts.map +1 -0
- package/dist/broker/MessageBus.js +85 -0
- package/dist/broker/MessageBus.js.map +1 -0
- package/dist/broker/MessageRouter.d.ts +51 -0
- package/dist/broker/MessageRouter.d.ts.map +1 -0
- package/dist/broker/MessageRouter.js +145 -0
- package/dist/broker/MessageRouter.js.map +1 -0
- package/dist/broker/TaskProcessor.d.ts +35 -0
- package/dist/broker/TaskProcessor.d.ts.map +1 -0
- package/dist/broker/TaskProcessor.js +476 -0
- package/dist/broker/TaskProcessor.js.map +1 -0
- package/dist/broker/TaskRouter.d.ts +9 -0
- package/dist/broker/TaskRouter.d.ts.map +1 -0
- package/dist/broker/TaskRouter.js +36 -0
- package/dist/broker/TaskRouter.js.map +1 -0
- package/dist/channels/ChannelPlugin.d.ts +28 -0
- package/dist/channels/ChannelPlugin.d.ts.map +1 -0
- package/dist/channels/ChannelPlugin.js +7 -0
- package/dist/channels/ChannelPlugin.js.map +1 -0
- package/dist/ci/CIGate.d.ts +62 -0
- package/dist/ci/CIGate.d.ts.map +1 -0
- package/dist/ci/CIGate.js +146 -0
- package/dist/ci/CIGate.js.map +1 -0
- package/dist/ci/ContractLock.d.ts +41 -0
- package/dist/ci/ContractLock.d.ts.map +1 -0
- package/dist/ci/ContractLock.js +103 -0
- package/dist/ci/ContractLock.js.map +1 -0
- package/dist/cli/hive-cli.d.ts +14 -0
- package/dist/cli/hive-cli.d.ts.map +1 -0
- package/dist/cli/hive-cli.js +82 -0
- package/dist/cli/hive-cli.js.map +1 -0
- package/dist/cli.d.ts +14 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +193 -0
- package/dist/cli.js.map +1 -0
- package/dist/command/CommandAST.d.ts +28 -0
- package/dist/command/CommandAST.d.ts.map +1 -0
- package/dist/command/CommandAST.js +22 -0
- package/dist/command/CommandAST.js.map +1 -0
- package/dist/commands/cli.d.ts +3 -0
- package/dist/commands/cli.d.ts.map +1 -0
- package/dist/commands/cli.js +848 -0
- package/dist/commands/cli.js.map +1 -0
- package/dist/commands/demo.d.ts +2 -0
- package/dist/commands/demo.d.ts.map +1 -0
- package/dist/commands/demo.js +71 -0
- package/dist/commands/demo.js.map +1 -0
- package/dist/commands/experiment-routing.d.ts +2 -0
- package/dist/commands/experiment-routing.d.ts.map +1 -0
- package/dist/commands/experiment-routing.js +347 -0
- package/dist/commands/experiment-routing.js.map +1 -0
- package/dist/commands/run-validation.d.ts +2 -0
- package/dist/commands/run-validation.d.ts.map +1 -0
- package/dist/commands/run-validation.js.map +1 -0
- package/dist/commands/test-benchmark.d.ts +2 -0
- package/dist/commands/test-benchmark.d.ts.map +1 -0
- package/dist/commands/test-benchmark.js +214 -0
- package/dist/commands/test-benchmark.js.map +1 -0
- package/dist/commands/test-conversation.d.ts +2 -0
- package/dist/commands/test-conversation.d.ts.map +1 -0
- package/dist/commands/test-conversation.js +358 -0
- package/dist/commands/test-conversation.js.map +1 -0
- package/dist/commands/test-crash.d.ts +2 -0
- package/dist/commands/test-crash.d.ts.map +1 -0
- package/dist/commands/test-crash.js +65 -0
- package/dist/commands/test-crash.js.map +1 -0
- package/dist/commands/test-cross-platform.d.ts +2 -0
- package/dist/commands/test-cross-platform.d.ts.map +1 -0
- package/dist/commands/test-cross-platform.js +62 -0
- package/dist/commands/test-cross-platform.js.map +1 -0
- package/dist/commands/test-graph.d.ts +2 -0
- package/dist/commands/test-graph.d.ts.map +1 -0
- package/dist/commands/test-graph.js +526 -0
- package/dist/commands/test-graph.js.map +1 -0
- package/dist/commands/test-observability.d.ts +2 -0
- package/dist/commands/test-observability.d.ts.map +1 -0
- package/dist/commands/test-observability.js +162 -0
- package/dist/commands/test-observability.js.map +1 -0
- package/dist/commands/test-orchestration.d.ts +2 -0
- package/dist/commands/test-orchestration.d.ts.map +1 -0
- package/dist/commands/test-orchestration.js +110 -0
- package/dist/commands/test-orchestration.js.map +1 -0
- package/dist/commands/test-real-world.d.ts +2 -0
- package/dist/commands/test-real-world.d.ts.map +1 -0
- package/dist/commands/test-real-world.js +176 -0
- package/dist/commands/test-real-world.js.map +1 -0
- package/dist/commands/test-reviewer.d.ts +2 -0
- package/dist/commands/test-reviewer.d.ts.map +1 -0
- package/dist/commands/test-reviewer.js +125 -0
- package/dist/commands/test-reviewer.js.map +1 -0
- package/dist/commands/test-runtime-intelligence.d.ts +2 -0
- package/dist/commands/test-runtime-intelligence.d.ts.map +1 -0
- package/dist/commands/test-runtime-intelligence.js +224 -0
- package/dist/commands/test-runtime-intelligence.js.map +1 -0
- package/dist/commands/test-stress.d.ts +2 -0
- package/dist/commands/test-stress.d.ts.map +1 -0
- package/dist/commands/test-stress.js +116 -0
- package/dist/commands/test-stress.js.map +1 -0
- package/dist/commands/test-timeout.d.ts +2 -0
- package/dist/commands/test-timeout.d.ts.map +1 -0
- package/dist/commands/test-timeout.js +126 -0
- package/dist/commands/test-timeout.js.map +1 -0
- package/dist/commands/test-v2-integration.d.ts +2 -0
- package/dist/commands/test-v2-integration.d.ts.map +1 -0
- package/dist/commands/test-v2-integration.js +634 -0
- package/dist/commands/test-v2-integration.js.map +1 -0
- package/dist/commands/test-validation.d.ts +2 -0
- package/dist/commands/test-validation.d.ts.map +1 -0
- package/dist/commands/test-validation.js +198 -0
- package/dist/commands/test-validation.js.map +1 -0
- package/dist/compiler/ArchitectureSynthesizer.d.ts +42 -0
- package/dist/compiler/ArchitectureSynthesizer.d.ts.map +1 -0
- package/dist/compiler/ArchitectureSynthesizer.js +90 -0
- package/dist/compiler/ArchitectureSynthesizer.js.map +1 -0
- package/dist/compiler/BlueprintPackager.d.ts +21 -0
- package/dist/compiler/BlueprintPackager.d.ts.map +1 -0
- package/dist/compiler/BlueprintPackager.js +13 -0
- package/dist/compiler/BlueprintPackager.js.map +1 -0
- package/dist/compiler/CommandCompiler.d.ts +23 -0
- package/dist/compiler/CommandCompiler.d.ts.map +1 -0
- package/dist/compiler/CommandCompiler.js +49 -0
- package/dist/compiler/CommandCompiler.js.map +1 -0
- package/dist/compiler/DAGCompiler.d.ts +12 -0
- package/dist/compiler/DAGCompiler.d.ts.map +1 -0
- package/dist/compiler/DAGCompiler.js +20 -0
- package/dist/compiler/DAGCompiler.js.map +1 -0
- package/dist/compiler/DomainModelGenerator.d.ts +38 -0
- package/dist/compiler/DomainModelGenerator.d.ts.map +1 -0
- package/dist/compiler/DomainModelGenerator.js +104 -0
- package/dist/compiler/DomainModelGenerator.js.map +1 -0
- package/dist/compiler/FeasibilityGate.d.ts +27 -0
- package/dist/compiler/FeasibilityGate.d.ts.map +1 -0
- package/dist/compiler/FeasibilityGate.js +62 -0
- package/dist/compiler/FeasibilityGate.js.map +1 -0
- package/dist/compiler/InputNormalizer.d.ts +34 -0
- package/dist/compiler/InputNormalizer.d.ts.map +1 -0
- package/dist/compiler/InputNormalizer.js +72 -0
- package/dist/compiler/InputNormalizer.js.map +1 -0
- package/dist/compiler/IntentParser.d.ts +40 -0
- package/dist/compiler/IntentParser.d.ts.map +1 -0
- package/dist/compiler/IntentParser.js +96 -0
- package/dist/compiler/IntentParser.js.map +1 -0
- package/dist/compiler/ModulePlanner.d.ts +13 -0
- package/dist/compiler/ModulePlanner.d.ts.map +1 -0
- package/dist/compiler/ModulePlanner.js +25 -0
- package/dist/compiler/ModulePlanner.js.map +1 -0
- package/dist/compiler/PromptCompiler.d.ts +19 -0
- package/dist/compiler/PromptCompiler.d.ts.map +1 -0
- package/dist/compiler/PromptCompiler.js +31 -0
- package/dist/compiler/PromptCompiler.js.map +1 -0
- package/dist/compiler/index.d.ts +34 -0
- package/dist/compiler/index.d.ts.map +1 -0
- package/dist/compiler/index.js +66 -0
- package/dist/compiler/index.js.map +1 -0
- package/dist/context/ContextManager.d.ts +24 -0
- package/dist/context/ContextManager.d.ts.map +1 -0
- package/dist/context/ContextManager.js +51 -0
- package/dist/context/ContextManager.js.map +1 -0
- package/dist/control-plane/BudgetController.d.ts +54 -0
- package/dist/control-plane/BudgetController.d.ts.map +1 -0
- package/dist/control-plane/BudgetController.js +98 -0
- package/dist/control-plane/BudgetController.js.map +1 -0
- package/dist/control-plane/ControlPlane.d.ts +82 -0
- package/dist/control-plane/ControlPlane.d.ts.map +1 -0
- package/dist/control-plane/ControlPlane.js +196 -0
- package/dist/control-plane/ControlPlane.js.map +1 -0
- package/dist/control-plane/ConvergenceGuard.d.ts +39 -0
- package/dist/control-plane/ConvergenceGuard.d.ts.map +1 -0
- package/dist/control-plane/ConvergenceGuard.js +72 -0
- package/dist/control-plane/ConvergenceGuard.js.map +1 -0
- package/dist/control-plane/DriftDetector.d.ts +44 -0
- package/dist/control-plane/DriftDetector.d.ts.map +1 -0
- package/dist/control-plane/DriftDetector.js +83 -0
- package/dist/control-plane/DriftDetector.js.map +1 -0
- package/dist/control-plane/MetricStabilityLock.d.ts +38 -0
- package/dist/control-plane/MetricStabilityLock.d.ts.map +1 -0
- package/dist/control-plane/MetricStabilityLock.js +63 -0
- package/dist/control-plane/MetricStabilityLock.js.map +1 -0
- package/dist/control-plane/index.d.ts +17 -0
- package/dist/control-plane/index.d.ts.map +1 -0
- package/dist/control-plane/index.js +25 -0
- package/dist/control-plane/index.js.map +1 -0
- package/dist/convergence/ConvergenceValidator.d.ts +143 -0
- package/dist/convergence/ConvergenceValidator.d.ts.map +1 -0
- package/dist/convergence/ConvergenceValidator.js +264 -0
- package/dist/convergence/ConvergenceValidator.js.map +1 -0
- package/dist/convergence/index.d.ts +12 -0
- package/dist/convergence/index.d.ts.map +1 -0
- package/dist/convergence/index.js +23 -0
- package/dist/convergence/index.js.map +1 -0
- package/dist/conversation/ConversationManager.d.ts +55 -0
- package/dist/conversation/ConversationManager.d.ts.map +1 -0
- package/dist/conversation/ConversationManager.js +176 -0
- package/dist/conversation/ConversationManager.js.map +1 -0
- package/dist/dashboard/EventStore.d.ts +27 -0
- package/dist/dashboard/EventStore.d.ts.map +1 -0
- package/dist/dashboard/EventStore.js +36 -0
- package/dist/dashboard/EventStore.js.map +1 -0
- package/dist/dashboard/FailureIntelligence.d.ts +77 -0
- package/dist/dashboard/FailureIntelligence.d.ts.map +1 -0
- package/dist/dashboard/FailureIntelligence.js +251 -0
- package/dist/dashboard/FailureIntelligence.js.map +1 -0
- package/dist/dashboard/ObservationDashboard.d.ts +85 -0
- package/dist/dashboard/ObservationDashboard.d.ts.map +1 -0
- package/dist/dashboard/ObservationDashboard.js +178 -0
- package/dist/dashboard/ObservationDashboard.js.map +1 -0
- package/dist/dashboard/StabilityCurve.d.ts +23 -0
- package/dist/dashboard/StabilityCurve.d.ts.map +1 -0
- package/dist/dashboard/StabilityCurve.js +53 -0
- package/dist/dashboard/StabilityCurve.js.map +1 -0
- package/dist/engine/ExecutionEngine.d.ts +29 -0
- package/dist/engine/ExecutionEngine.d.ts.map +1 -0
- package/dist/engine/ExecutionEngine.js +139 -0
- package/dist/engine/ExecutionEngine.js.map +1 -0
- package/dist/engine/PlatformAdapter.d.ts +19 -0
- package/dist/engine/PlatformAdapter.d.ts.map +1 -0
- package/dist/engine/PlatformAdapter.js +77 -0
- package/dist/engine/PlatformAdapter.js.map +1 -0
- package/dist/engine/ResultNormalizer.d.ts +21 -0
- package/dist/engine/ResultNormalizer.d.ts.map +1 -0
- package/dist/engine/ResultNormalizer.js +57 -0
- package/dist/engine/ResultNormalizer.js.map +1 -0
- package/dist/engine/StructuredLogger.d.ts +25 -0
- package/dist/engine/StructuredLogger.d.ts.map +1 -0
- package/dist/engine/StructuredLogger.js +81 -0
- package/dist/engine/StructuredLogger.js.map +1 -0
- package/dist/evaluation/BaselineRunner.d.ts +26 -0
- package/dist/evaluation/BaselineRunner.d.ts.map +1 -0
- package/dist/evaluation/BaselineRunner.js +107 -0
- package/dist/evaluation/BaselineRunner.js.map +1 -0
- package/dist/evaluation/DecisionTrace.d.ts +20 -0
- package/dist/evaluation/DecisionTrace.d.ts.map +1 -0
- package/dist/evaluation/DecisionTrace.js +21 -0
- package/dist/evaluation/DecisionTrace.js.map +1 -0
- package/dist/evaluation/EvaluationMetrics.d.ts +34 -0
- package/dist/evaluation/EvaluationMetrics.d.ts.map +1 -0
- package/dist/evaluation/EvaluationMetrics.js +28 -0
- package/dist/evaluation/EvaluationMetrics.js.map +1 -0
- package/dist/evaluation/GroundTruthDataset.d.ts +18 -0
- package/dist/evaluation/GroundTruthDataset.d.ts.map +1 -0
- package/dist/evaluation/GroundTruthDataset.js +69 -0
- package/dist/evaluation/GroundTruthDataset.js.map +1 -0
- package/dist/evaluation/RealWorldBenchmark.d.ts +21 -0
- package/dist/evaluation/RealWorldBenchmark.d.ts.map +1 -0
- package/dist/evaluation/RealWorldBenchmark.js +73 -0
- package/dist/evaluation/RealWorldBenchmark.js.map +1 -0
- package/dist/evaluation/RealWorldRunner.d.ts +55 -0
- package/dist/evaluation/RealWorldRunner.d.ts.map +1 -0
- package/dist/evaluation/RealWorldRunner.js +133 -0
- package/dist/evaluation/RealWorldRunner.js.map +1 -0
- package/dist/evaluation/ValidationRunner.d.ts +42 -0
- package/dist/evaluation/ValidationRunner.d.ts.map +1 -0
- package/dist/evaluation/ValidationRunner.js +123 -0
- package/dist/evaluation/ValidationRunner.js.map +1 -0
- package/dist/events/AgentEvent.d.ts +62 -0
- package/dist/events/AgentEvent.d.ts.map +1 -0
- package/dist/events/AgentEvent.js +6 -0
- package/dist/events/AgentEvent.js.map +1 -0
- package/dist/events/DecisionEvent.d.ts +16 -0
- package/dist/events/DecisionEvent.d.ts.map +1 -0
- package/dist/events/DecisionEvent.js +6 -0
- package/dist/events/DecisionEvent.js.map +1 -0
- package/dist/events/ExecutionEvent.d.ts +48 -0
- package/dist/events/ExecutionEvent.d.ts.map +1 -0
- package/dist/events/ExecutionEvent.js +3 -0
- package/dist/events/ExecutionEvent.js.map +1 -0
- package/dist/events/SystemEvent.d.ts +11 -0
- package/dist/events/SystemEvent.d.ts.map +1 -0
- package/dist/events/SystemEvent.js +6 -0
- package/dist/events/SystemEvent.js.map +1 -0
- package/dist/evolution/EvolutionEngine.d.ts +121 -0
- package/dist/evolution/EvolutionEngine.d.ts.map +1 -0
- package/dist/evolution/EvolutionEngine.js +288 -0
- package/dist/evolution/EvolutionEngine.js.map +1 -0
- package/dist/evolution/index.d.ts +15 -0
- package/dist/evolution/index.d.ts.map +1 -0
- package/dist/evolution/index.js +24 -0
- package/dist/evolution/index.js.map +1 -0
- package/dist/execution-fabric/DistributedExecutionFabric.d.ts +108 -0
- package/dist/execution-fabric/DistributedExecutionFabric.d.ts.map +1 -0
- package/dist/execution-fabric/DistributedExecutionFabric.js +236 -0
- package/dist/execution-fabric/DistributedExecutionFabric.js.map +1 -0
- package/dist/execution-fabric/index.d.ts +10 -0
- package/dist/execution-fabric/index.d.ts.map +1 -0
- package/dist/execution-fabric/index.js +14 -0
- package/dist/execution-fabric/index.js.map +1 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.d.ts +94 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.d.ts.map +1 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.js +243 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.js.map +1 -0
- package/dist/execution-graph/ExecutionGraphEngine.d.ts +88 -0
- package/dist/execution-graph/ExecutionGraphEngine.d.ts.map +1 -0
- package/dist/execution-graph/ExecutionGraphEngine.js +222 -0
- package/dist/execution-graph/ExecutionGraphEngine.js.map +1 -0
- package/dist/execution-graph/index.d.ts +9 -0
- package/dist/execution-graph/index.d.ts.map +1 -0
- package/dist/execution-graph/index.js +16 -0
- package/dist/execution-graph/index.js.map +1 -0
- package/dist/execution-runtime/ExecutionRuntime.d.ts +99 -0
- package/dist/execution-runtime/ExecutionRuntime.d.ts.map +1 -0
- package/dist/execution-runtime/ExecutionRuntime.js +216 -0
- package/dist/execution-runtime/ExecutionRuntime.js.map +1 -0
- package/dist/execution-runtime/index.d.ts +10 -0
- package/dist/execution-runtime/index.d.ts.map +1 -0
- package/dist/execution-runtime/index.js +14 -0
- package/dist/execution-runtime/index.js.map +1 -0
- package/dist/git-governance/GitGovernanceRuntime.d.ts +200 -0
- package/dist/git-governance/GitGovernanceRuntime.d.ts.map +1 -0
- package/dist/git-governance/GitGovernanceRuntime.js +418 -0
- package/dist/git-governance/GitGovernanceRuntime.js.map +1 -0
- package/dist/git-governance/index.d.ts +16 -0
- package/dist/git-governance/index.d.ts.map +1 -0
- package/dist/git-governance/index.js +33 -0
- package/dist/git-governance/index.js.map +1 -0
- package/dist/governance/EngineeringGovernanceLayer.d.ts +79 -0
- package/dist/governance/EngineeringGovernanceLayer.d.ts.map +1 -0
- package/dist/governance/EngineeringGovernanceLayer.js +212 -0
- package/dist/governance/EngineeringGovernanceLayer.js.map +1 -0
- package/dist/graph/AgentGraph.d.ts +52 -0
- package/dist/graph/AgentGraph.d.ts.map +1 -0
- package/dist/graph/AgentGraph.js +274 -0
- package/dist/graph/AgentGraph.js.map +1 -0
- package/dist/graph/GraphValidator.d.ts +39 -0
- package/dist/graph/GraphValidator.d.ts.map +1 -0
- package/dist/graph/GraphValidator.js +93 -0
- package/dist/graph/GraphValidator.js.map +1 -0
- package/dist/graph/TopologyTemplates.d.ts +39 -0
- package/dist/graph/TopologyTemplates.d.ts.map +1 -0
- package/dist/graph/TopologyTemplates.js +131 -0
- package/dist/graph/TopologyTemplates.js.map +1 -0
- package/dist/hardening/RuntimeHardening.d.ts +169 -0
- package/dist/hardening/RuntimeHardening.d.ts.map +1 -0
- package/dist/hardening/RuntimeHardening.js +330 -0
- package/dist/hardening/RuntimeHardening.js.map +1 -0
- package/dist/hardening/index.d.ts +7 -0
- package/dist/hardening/index.d.ts.map +1 -0
- package/dist/hardening/index.js +15 -0
- package/dist/hardening/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/kernel/ExecutionState.d.ts +68 -0
- package/dist/kernel/ExecutionState.d.ts.map +1 -0
- package/dist/kernel/ExecutionState.js +124 -0
- package/dist/kernel/ExecutionState.js.map +1 -0
- package/dist/kernel/FailureInterceptor.d.ts +51 -0
- package/dist/kernel/FailureInterceptor.d.ts.map +1 -0
- package/dist/kernel/FailureInterceptor.js +112 -0
- package/dist/kernel/FailureInterceptor.js.map +1 -0
- package/dist/kernel/KernelGate.d.ts +41 -0
- package/dist/kernel/KernelGate.d.ts.map +1 -0
- package/dist/kernel/KernelGate.js +62 -0
- package/dist/kernel/KernelGate.js.map +1 -0
- package/dist/kernel/MultiAgentExecutionKernel.d.ts +103 -0
- package/dist/kernel/MultiAgentExecutionKernel.d.ts.map +1 -0
- package/dist/kernel/MultiAgentExecutionKernel.js +187 -0
- package/dist/kernel/MultiAgentExecutionKernel.js.map +1 -0
- package/dist/kernel/RuntimeKernel.d.ts +160 -0
- package/dist/kernel/RuntimeKernel.d.ts.map +1 -0
- package/dist/kernel/RuntimeKernel.js +422 -0
- package/dist/kernel/RuntimeKernel.js.map +1 -0
- package/dist/kernel/index.d.ts +9 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +20 -0
- package/dist/kernel/index.js.map +1 -0
- package/dist/knowledge/KnowledgeSystem.d.ts +62 -0
- package/dist/knowledge/KnowledgeSystem.d.ts.map +1 -0
- package/dist/knowledge/KnowledgeSystem.js +102 -0
- package/dist/knowledge/KnowledgeSystem.js.map +1 -0
- package/dist/learning/ExecutionEpisodeStore.d.ts +64 -0
- package/dist/learning/ExecutionEpisodeStore.d.ts.map +1 -0
- package/dist/learning/ExecutionEpisodeStore.js +62 -0
- package/dist/learning/ExecutionEpisodeStore.js.map +1 -0
- package/dist/learning/InsightEngine.d.ts +31 -0
- package/dist/learning/InsightEngine.d.ts.map +1 -0
- package/dist/learning/InsightEngine.js +63 -0
- package/dist/learning/InsightEngine.js.map +1 -0
- package/dist/learning/LearningLoopEngine.d.ts +48 -0
- package/dist/learning/LearningLoopEngine.d.ts.map +1 -0
- package/dist/learning/LearningLoopEngine.js +82 -0
- package/dist/learning/LearningLoopEngine.js.map +1 -0
- package/dist/learning/MemoryCompressor.d.ts +31 -0
- package/dist/learning/MemoryCompressor.d.ts.map +1 -0
- package/dist/learning/MemoryCompressor.js +76 -0
- package/dist/learning/MemoryCompressor.js.map +1 -0
- package/dist/learning/PolicyOptimizer.d.ts +26 -0
- package/dist/learning/PolicyOptimizer.d.ts.map +1 -0
- package/dist/learning/PolicyOptimizer.js +91 -0
- package/dist/learning/PolicyOptimizer.js.map +1 -0
- package/dist/learning/PolicyStore.d.ts +47 -0
- package/dist/learning/PolicyStore.d.ts.map +1 -0
- package/dist/learning/PolicyStore.js +79 -0
- package/dist/learning/PolicyStore.js.map +1 -0
- package/dist/loop-layer/EvaluationEngine.d.ts +23 -0
- package/dist/loop-layer/EvaluationEngine.d.ts.map +1 -0
- package/dist/loop-layer/EvaluationEngine.js +42 -0
- package/dist/loop-layer/EvaluationEngine.js.map +1 -0
- package/dist/loop-layer/LoopController.d.ts +33 -0
- package/dist/loop-layer/LoopController.d.ts.map +1 -0
- package/dist/loop-layer/LoopController.js +79 -0
- package/dist/loop-layer/LoopController.js.map +1 -0
- package/dist/loop-layer/ObservationEngine.d.ts +62 -0
- package/dist/loop-layer/ObservationEngine.d.ts.map +1 -0
- package/dist/loop-layer/ObservationEngine.js +126 -0
- package/dist/loop-layer/ObservationEngine.js.map +1 -0
- package/dist/memory/ContextCompressor.d.ts +27 -0
- package/dist/memory/ContextCompressor.d.ts.map +1 -0
- package/dist/memory/ContextCompressor.js +71 -0
- package/dist/memory/ContextCompressor.js.map +1 -0
- package/dist/memory/MemoryManager.d.ts +28 -0
- package/dist/memory/MemoryManager.d.ts.map +1 -0
- package/dist/memory/MemoryManager.js +81 -0
- package/dist/memory/MemoryManager.js.map +1 -0
- package/dist/memory/MemorySearch.d.ts +20 -0
- package/dist/memory/MemorySearch.d.ts.map +1 -0
- package/dist/memory/MemorySearch.js +92 -0
- package/dist/memory/MemorySearch.js.map +1 -0
- package/dist/memory/MemoryStore.d.ts +30 -0
- package/dist/memory/MemoryStore.d.ts.map +1 -0
- package/dist/memory/MemoryStore.js +84 -0
- package/dist/memory/MemoryStore.js.map +1 -0
- package/dist/observability/ConversationTrace.d.ts +25 -0
- package/dist/observability/ConversationTrace.d.ts.map +1 -0
- package/dist/observability/ConversationTrace.js +104 -0
- package/dist/observability/ConversationTrace.js.map +1 -0
- package/dist/observability/DecisionRecorder.d.ts +29 -0
- package/dist/observability/DecisionRecorder.d.ts.map +1 -0
- package/dist/observability/DecisionRecorder.js +113 -0
- package/dist/observability/DecisionRecorder.js.map +1 -0
- package/dist/observability/RuntimeMetrics.d.ts +27 -0
- package/dist/observability/RuntimeMetrics.d.ts.map +1 -0
- package/dist/observability/RuntimeMetrics.js +126 -0
- package/dist/observability/RuntimeMetrics.js.map +1 -0
- package/dist/observability/TaskTimeline.d.ts +26 -0
- package/dist/observability/TaskTimeline.d.ts.map +1 -0
- package/dist/observability/TaskTimeline.js +117 -0
- package/dist/observability/TaskTimeline.js.map +1 -0
- package/dist/observation/SystemScoreCalculator.d.ts +66 -0
- package/dist/observation/SystemScoreCalculator.d.ts.map +1 -0
- package/dist/observation/SystemScoreCalculator.js +158 -0
- package/dist/observation/SystemScoreCalculator.js.map +1 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.d.ts +2 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.d.ts.map +1 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.js +61 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.js.map +1 -0
- package/dist/orchestration/AgentRouter.d.ts +19 -0
- package/dist/orchestration/AgentRouter.d.ts.map +1 -0
- package/dist/orchestration/AgentRouter.js +53 -0
- package/dist/orchestration/AgentRouter.js.map +1 -0
- package/dist/orchestration/DAGExecutor.d.ts +22 -0
- package/dist/orchestration/DAGExecutor.d.ts.map +1 -0
- package/dist/orchestration/DAGExecutor.js +123 -0
- package/dist/orchestration/DAGExecutor.js.map +1 -0
- package/dist/orchestration/JudgeAgent.d.ts +14 -0
- package/dist/orchestration/JudgeAgent.d.ts.map +1 -0
- package/dist/orchestration/JudgeAgent.js +58 -0
- package/dist/orchestration/JudgeAgent.js.map +1 -0
- package/dist/orchestration/Planner.d.ts +10 -0
- package/dist/orchestration/Planner.d.ts.map +1 -0
- package/dist/orchestration/Planner.js +45 -0
- package/dist/orchestration/Planner.js.map +1 -0
- package/dist/orchestration/ReviewerAgent.d.ts +12 -0
- package/dist/orchestration/ReviewerAgent.d.ts.map +1 -0
- package/dist/orchestration/ReviewerAgent.js +67 -0
- package/dist/orchestration/ReviewerAgent.js.map +1 -0
- package/dist/orchestration/contracts/Agent.d.ts +42 -0
- package/dist/orchestration/contracts/Agent.d.ts.map +1 -0
- package/dist/orchestration/contracts/Agent.js +3 -0
- package/dist/orchestration/contracts/Agent.js.map +1 -0
- package/dist/orchestration/registry/AgentProfile.d.ts +12 -0
- package/dist/orchestration/registry/AgentProfile.d.ts.map +1 -0
- package/dist/orchestration/registry/AgentProfile.js +3 -0
- package/dist/orchestration/registry/AgentProfile.js.map +1 -0
- package/dist/orchestration/registry/AgentRegistry.d.ts +15 -0
- package/dist/orchestration/registry/AgentRegistry.d.ts.map +1 -0
- package/dist/orchestration/registry/AgentRegistry.js +29 -0
- package/dist/orchestration/registry/AgentRegistry.js.map +1 -0
- package/dist/planning/ProjectPlanningLayer.d.ts +68 -0
- package/dist/planning/ProjectPlanningLayer.d.ts.map +1 -0
- package/dist/planning/ProjectPlanningLayer.js +176 -0
- package/dist/planning/ProjectPlanningLayer.js.map +1 -0
- package/dist/platform/PlatformCapabilities.d.ts +12 -0
- package/dist/platform/PlatformCapabilities.d.ts.map +1 -0
- package/dist/platform/PlatformCapabilities.js +66 -0
- package/dist/platform/PlatformCapabilities.js.map +1 -0
- package/dist/platform/auth/AuthService.d.ts +32 -0
- package/dist/platform/auth/AuthService.d.ts.map +1 -0
- package/dist/platform/auth/AuthService.js +43 -0
- package/dist/platform/auth/AuthService.js.map +1 -0
- package/dist/platform/index.d.ts +43 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/index.js +67 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/sdk/index.d.ts +44 -0
- package/dist/platform/sdk/index.d.ts.map +1 -0
- package/dist/platform/sdk/index.js +67 -0
- package/dist/platform/sdk/index.js.map +1 -0
- package/dist/platform/server/ApiServer.d.ts +62 -0
- package/dist/platform/server/ApiServer.d.ts.map +1 -0
- package/dist/platform/server/ApiServer.js +232 -0
- package/dist/platform/server/ApiServer.js.map +1 -0
- package/dist/platform/services/MetricsService.d.ts +58 -0
- package/dist/platform/services/MetricsService.d.ts.map +1 -0
- package/dist/platform/services/MetricsService.js +81 -0
- package/dist/platform/services/MetricsService.js.map +1 -0
- package/dist/platform/validation/PlatformValidation.d.ts +30 -0
- package/dist/platform/validation/PlatformValidation.d.ts.map +1 -0
- package/dist/platform/validation/PlatformValidation.js +91 -0
- package/dist/platform/validation/PlatformValidation.js.map +1 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.d.ts +33 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.d.ts.map +1 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.js +63 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.js.map +1 -0
- package/dist/platform/validation/chaos/FaultInjector.d.ts +44 -0
- package/dist/platform/validation/chaos/FaultInjector.d.ts.map +1 -0
- package/dist/platform/validation/chaos/FaultInjector.js +57 -0
- package/dist/platform/validation/chaos/FaultInjector.js.map +1 -0
- package/dist/product/AutoTopologySelector.d.ts +30 -0
- package/dist/product/AutoTopologySelector.d.ts.map +1 -0
- package/dist/product/AutoTopologySelector.js +113 -0
- package/dist/product/AutoTopologySelector.js.map +1 -0
- package/dist/product/ProductEngineeringLayer.d.ts +65 -0
- package/dist/product/ProductEngineeringLayer.d.ts.map +1 -0
- package/dist/product/ProductEngineeringLayer.js +168 -0
- package/dist/product/ProductEngineeringLayer.js.map +1 -0
- package/dist/product/ProviderRegistry.d.ts +13 -0
- package/dist/product/ProviderRegistry.d.ts.map +1 -0
- package/dist/product/ProviderRegistry.js +21 -0
- package/dist/product/ProviderRegistry.js.map +1 -0
- package/dist/product/TaskIntentClassifier.d.ts +20 -0
- package/dist/product/TaskIntentClassifier.d.ts.map +1 -0
- package/dist/product/TaskIntentClassifier.js +88 -0
- package/dist/product/TaskIntentClassifier.js.map +1 -0
- package/dist/production/ProductionRuntime.d.ts +50 -0
- package/dist/production/ProductionRuntime.d.ts.map +1 -0
- package/dist/production/ProductionRuntime.js +137 -0
- package/dist/production/ProductionRuntime.js.map +1 -0
- package/dist/production/checkpoint/CheckpointManager.d.ts +59 -0
- package/dist/production/checkpoint/CheckpointManager.d.ts.map +1 -0
- package/dist/production/checkpoint/CheckpointManager.js +84 -0
- package/dist/production/checkpoint/CheckpointManager.js.map +1 -0
- package/dist/production/compensation/CompensationEngine.d.ts +28 -0
- package/dist/production/compensation/CompensationEngine.d.ts.map +1 -0
- package/dist/production/compensation/CompensationEngine.js +52 -0
- package/dist/production/compensation/CompensationEngine.js.map +1 -0
- package/dist/production/events/EventStore.d.ts +54 -0
- package/dist/production/events/EventStore.d.ts.map +1 -0
- package/dist/production/events/EventStore.js +71 -0
- package/dist/production/events/EventStore.js.map +1 -0
- package/dist/production/plugins/PluginRegistry.d.ts +50 -0
- package/dist/production/plugins/PluginRegistry.d.ts.map +1 -0
- package/dist/production/plugins/PluginRegistry.js +63 -0
- package/dist/production/plugins/PluginRegistry.js.map +1 -0
- package/dist/production/scheduler/Scheduler.d.ts +55 -0
- package/dist/production/scheduler/Scheduler.d.ts.map +1 -0
- package/dist/production/scheduler/Scheduler.js +72 -0
- package/dist/production/scheduler/Scheduler.js.map +1 -0
- package/dist/production-observation/ProductionObservation.d.ts +137 -0
- package/dist/production-observation/ProductionObservation.d.ts.map +1 -0
- package/dist/production-observation/ProductionObservation.js +278 -0
- package/dist/production-observation/ProductionObservation.js.map +1 -0
- package/dist/production-observation/index.d.ts +14 -0
- package/dist/production-observation/index.d.ts.map +1 -0
- package/dist/production-observation/index.js +25 -0
- package/dist/production-observation/index.js.map +1 -0
- package/dist/productionization/ProductionizationPlan.d.ts +211 -0
- package/dist/productionization/ProductionizationPlan.d.ts.map +1 -0
- package/dist/productionization/ProductionizationPlan.js +498 -0
- package/dist/productionization/ProductionizationPlan.js.map +1 -0
- package/dist/productionization/index.d.ts +16 -0
- package/dist/productionization/index.d.ts.map +1 -0
- package/dist/productionization/index.js +33 -0
- package/dist/productionization/index.js.map +1 -0
- package/dist/prompts/prompts/reviewer.txt +17 -0
- package/dist/prompts/prompts/revision.txt +10 -0
- package/dist/prompts/reviewer.txt +17 -0
- package/dist/prompts/revision.txt +10 -0
- package/dist/providers/OpenAIProvider.d.ts +22 -0
- package/dist/providers/OpenAIProvider.d.ts.map +1 -0
- package/dist/providers/OpenAIProvider.js +55 -0
- package/dist/providers/OpenAIProvider.js.map +1 -0
- package/dist/providers/ProviderAdapter.d.ts +27 -0
- package/dist/providers/ProviderAdapter.d.ts.map +1 -0
- package/dist/providers/ProviderAdapter.js +7 -0
- package/dist/providers/ProviderAdapter.js.map +1 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.d.ts +31 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.d.ts.map +1 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.js +89 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.js.map +1 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.d.ts +21 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.d.ts.map +1 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.js +55 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.js.map +1 -0
- package/dist/reasoning/ConstraintInferenceEngine.d.ts +45 -0
- package/dist/reasoning/ConstraintInferenceEngine.d.ts.map +1 -0
- package/dist/reasoning/ConstraintInferenceEngine.js +97 -0
- package/dist/reasoning/ConstraintInferenceEngine.js.map +1 -0
- package/dist/reasoning/DecisionEngine.d.ts +28 -0
- package/dist/reasoning/DecisionEngine.d.ts.map +1 -0
- package/dist/reasoning/DecisionEngine.js +66 -0
- package/dist/reasoning/DecisionEngine.js.map +1 -0
- package/dist/reasoning/ExplainabilityLayer.d.ts +29 -0
- package/dist/reasoning/ExplainabilityLayer.d.ts.map +1 -0
- package/dist/reasoning/ExplainabilityLayer.js +51 -0
- package/dist/reasoning/ExplainabilityLayer.js.map +1 -0
- package/dist/reasoning/FailureSimulationEngine.d.ts +27 -0
- package/dist/reasoning/FailureSimulationEngine.d.ts.map +1 -0
- package/dist/reasoning/FailureSimulationEngine.js +80 -0
- package/dist/reasoning/FailureSimulationEngine.js.map +1 -0
- package/dist/reasoning/TradeoffReasoningEngine.d.ts +29 -0
- package/dist/reasoning/TradeoffReasoningEngine.d.ts.map +1 -0
- package/dist/reasoning/TradeoffReasoningEngine.js +92 -0
- package/dist/reasoning/TradeoffReasoningEngine.js.map +1 -0
- package/dist/reasoning/index.d.ts +59 -0
- package/dist/reasoning/index.d.ts.map +1 -0
- package/dist/reasoning/index.js +79 -0
- package/dist/reasoning/index.js.map +1 -0
- package/dist/review/ReviewConsensus.d.ts +55 -0
- package/dist/review/ReviewConsensus.d.ts.map +1 -0
- package/dist/review/ReviewConsensus.js +174 -0
- package/dist/review/ReviewConsensus.js.map +1 -0
- package/dist/runtime/CapabilityDiscovery.d.ts +39 -0
- package/dist/runtime/CapabilityDiscovery.d.ts.map +1 -0
- package/dist/runtime/CapabilityDiscovery.js +157 -0
- package/dist/runtime/CapabilityDiscovery.js.map +1 -0
- package/dist/runtime/EventBus.d.ts +26 -0
- package/dist/runtime/EventBus.d.ts.map +1 -0
- package/dist/runtime/EventBus.js +103 -0
- package/dist/runtime/EventBus.js.map +1 -0
- package/dist/runtime/FailureAnalyzer.d.ts +24 -0
- package/dist/runtime/FailureAnalyzer.d.ts.map +1 -0
- package/dist/runtime/FailureAnalyzer.js +71 -0
- package/dist/runtime/FailureAnalyzer.js.map +1 -0
- package/dist/runtime/ReplayEngine.d.ts +19 -0
- package/dist/runtime/ReplayEngine.d.ts.map +1 -0
- package/dist/runtime/ReplayEngine.js +50 -0
- package/dist/runtime/ReplayEngine.js.map +1 -0
- package/dist/runtime/RuntimeConfig.d.ts +27 -0
- package/dist/runtime/RuntimeConfig.d.ts.map +1 -0
- package/dist/runtime/RuntimeConfig.js +121 -0
- package/dist/runtime/RuntimeConfig.js.map +1 -0
- package/dist/runtime/RuntimeScoreManager.d.ts +49 -0
- package/dist/runtime/RuntimeScoreManager.d.ts.map +1 -0
- package/dist/runtime/RuntimeScoreManager.js +139 -0
- package/dist/runtime/RuntimeScoreManager.js.map +1 -0
- package/dist/runtime/RuntimeSelector.d.ts +32 -0
- package/dist/runtime/RuntimeSelector.d.ts.map +1 -0
- package/dist/runtime/RuntimeSelector.js +86 -0
- package/dist/runtime/RuntimeSelector.js.map +1 -0
- package/dist/runtime/v2/RuntimeCore.d.ts +141 -0
- package/dist/runtime/v2/RuntimeCore.d.ts.map +1 -0
- package/dist/runtime/v2/RuntimeCore.js +373 -0
- package/dist/runtime/v2/RuntimeCore.js.map +1 -0
- package/dist/runtime/v2/audit/AuditTrail.d.ts +155 -0
- package/dist/runtime/v2/audit/AuditTrail.d.ts.map +1 -0
- package/dist/runtime/v2/audit/AuditTrail.js +300 -0
- package/dist/runtime/v2/audit/AuditTrail.js.map +1 -0
- package/dist/runtime/v2/budget/BudgetGuard.d.ts +121 -0
- package/dist/runtime/v2/budget/BudgetGuard.d.ts.map +1 -0
- package/dist/runtime/v2/budget/BudgetGuard.js +248 -0
- package/dist/runtime/v2/budget/BudgetGuard.js.map +1 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.d.ts +116 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.d.ts.map +1 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.js +207 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.js.map +1 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.d.ts +116 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.d.ts.map +1 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.js +265 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.js.map +1 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.d.ts +101 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.d.ts.map +1 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.js +202 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.js.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardApi.d.ts +172 -0
- package/dist/runtime/v2/dashboard/DashboardApi.d.ts.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardApi.js +336 -0
- package/dist/runtime/v2/dashboard/DashboardApi.js.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardServer.d.ts +45 -0
- package/dist/runtime/v2/dashboard/DashboardServer.d.ts.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardServer.js +184 -0
- package/dist/runtime/v2/dashboard/DashboardServer.js.map +1 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.d.ts +168 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.d.ts.map +1 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.js +418 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.js.map +1 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.d.ts +79 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.d.ts.map +1 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.js +261 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.js.map +1 -0
- package/dist/runtime/v2/hydration/HydrationEngine.d.ts +68 -0
- package/dist/runtime/v2/hydration/HydrationEngine.d.ts.map +1 -0
- package/dist/runtime/v2/hydration/HydrationEngine.js +272 -0
- package/dist/runtime/v2/hydration/HydrationEngine.js.map +1 -0
- package/dist/runtime/v2/index.d.ts +33 -0
- package/dist/runtime/v2/index.d.ts.map +1 -0
- package/dist/runtime/v2/index.js +117 -0
- package/dist/runtime/v2/index.js.map +1 -0
- package/dist/runtime/v2/intent/TaskContract.d.ts +97 -0
- package/dist/runtime/v2/intent/TaskContract.d.ts.map +1 -0
- package/dist/runtime/v2/intent/TaskContract.js +85 -0
- package/dist/runtime/v2/intent/TaskContract.js.map +1 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.d.ts +109 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.d.ts.map +1 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.js +294 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.js.map +1 -0
- package/dist/runtime/v2/observation/EventBus.d.ts +68 -0
- package/dist/runtime/v2/observation/EventBus.d.ts.map +1 -0
- package/dist/runtime/v2/observation/EventBus.js +116 -0
- package/dist/runtime/v2/observation/EventBus.js.map +1 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.d.ts +113 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.d.ts.map +1 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.js +334 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.js.map +1 -0
- package/dist/runtime/v2/planner/PlannerEngine.d.ts +48 -0
- package/dist/runtime/v2/planner/PlannerEngine.d.ts.map +1 -0
- package/dist/runtime/v2/planner/PlannerEngine.js +90 -0
- package/dist/runtime/v2/planner/PlannerEngine.js.map +1 -0
- package/dist/runtime/v2/policy/PolicyEngine.d.ts +66 -0
- package/dist/runtime/v2/policy/PolicyEngine.d.ts.map +1 -0
- package/dist/runtime/v2/policy/PolicyEngine.js +244 -0
- package/dist/runtime/v2/policy/PolicyEngine.js.map +1 -0
- package/dist/runtime/v2/provider/AnthropicProvider.d.ts +24 -0
- package/dist/runtime/v2/provider/AnthropicProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/AnthropicProvider.js +139 -0
- package/dist/runtime/v2/provider/AnthropicProvider.js.map +1 -0
- package/dist/runtime/v2/provider/GoogleProvider.d.ts +24 -0
- package/dist/runtime/v2/provider/GoogleProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/GoogleProvider.js +146 -0
- package/dist/runtime/v2/provider/GoogleProvider.js.map +1 -0
- package/dist/runtime/v2/provider/OpenAIProvider.d.ts +31 -0
- package/dist/runtime/v2/provider/OpenAIProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/OpenAIProvider.js +189 -0
- package/dist/runtime/v2/provider/OpenAIProvider.js.map +1 -0
- package/dist/runtime/v2/provider/ProviderManager.d.ts +67 -0
- package/dist/runtime/v2/provider/ProviderManager.d.ts.map +1 -0
- package/dist/runtime/v2/provider/ProviderManager.js +118 -0
- package/dist/runtime/v2/provider/ProviderManager.js.map +1 -0
- package/dist/runtime/v2/provider/ProviderRegistry.d.ts +144 -0
- package/dist/runtime/v2/provider/ProviderRegistry.d.ts.map +1 -0
- package/dist/runtime/v2/provider/ProviderRegistry.js +154 -0
- package/dist/runtime/v2/provider/ProviderRegistry.js.map +1 -0
- package/dist/runtime/v2/queue/RuntimeQueue.d.ts +129 -0
- package/dist/runtime/v2/queue/RuntimeQueue.d.ts.map +1 -0
- package/dist/runtime/v2/queue/RuntimeQueue.js +240 -0
- package/dist/runtime/v2/queue/RuntimeQueue.js.map +1 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.d.ts +112 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.d.ts.map +1 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.js +293 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.js.map +1 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.d.ts +129 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.d.ts.map +1 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.js +306 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.js.map +1 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.d.ts +69 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.d.ts.map +1 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.js +152 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.js.map +1 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.d.ts +104 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.d.ts.map +1 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.js +321 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.js.map +1 -0
- package/dist/runtime/v2.1/ControlPlane.d.ts +83 -0
- package/dist/runtime/v2.1/ControlPlane.d.ts.map +1 -0
- package/dist/runtime/v2.1/ControlPlane.js +178 -0
- package/dist/runtime/v2.1/ControlPlane.js.map +1 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.d.ts +53 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.d.ts.map +1 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.js +109 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.js.map +1 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.d.ts +105 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.js +267 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.js.map +1 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.d.ts +62 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.js +105 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.js.map +1 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.d.ts +50 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.js +89 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.js.map +1 -0
- package/dist/runtime/v2.1/der/DER.d.ts +138 -0
- package/dist/runtime/v2.1/der/DER.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/DER.js +395 -0
- package/dist/runtime/v2.1/der/DER.js.map +1 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.d.ts +63 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.js +138 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.js.map +1 -0
- package/dist/runtime/v2.1/der/StressMetrics.d.ts +65 -0
- package/dist/runtime/v2.1/der/StressMetrics.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/StressMetrics.js +127 -0
- package/dist/runtime/v2.1/der/StressMetrics.js.map +1 -0
- package/dist/runtime/v2.1/index.d.ts +22 -0
- package/dist/runtime/v2.1/index.d.ts.map +1 -0
- package/dist/runtime/v2.1/index.js +51 -0
- package/dist/runtime/v2.1/index.js.map +1 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.d.ts +99 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.js +174 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.js.map +1 -0
- package/dist/runtime/v2.1/validation/CutoverGate.d.ts +82 -0
- package/dist/runtime/v2.1/validation/CutoverGate.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/CutoverGate.js +129 -0
- package/dist/runtime/v2.1/validation/CutoverGate.js.map +1 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.d.ts +58 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.js +130 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.js.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.d.ts +45 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.js +112 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.js.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.d.ts +89 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.js +194 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.js.map +1 -0
- package/dist/runtime-core/agents/hermes.d.ts +18 -0
- package/dist/runtime-core/agents/hermes.d.ts.map +1 -0
- package/dist/runtime-core/agents/hermes.js +21 -0
- package/dist/runtime-core/agents/hermes.js.map +1 -0
- package/dist/runtime-core/agents/registry.d.ts +27 -0
- package/dist/runtime-core/agents/registry.d.ts.map +1 -0
- package/dist/runtime-core/agents/registry.js +29 -0
- package/dist/runtime-core/agents/registry.js.map +1 -0
- package/dist/runtime-core/agents/worker.d.ts +18 -0
- package/dist/runtime-core/agents/worker.d.ts.map +1 -0
- package/dist/runtime-core/agents/worker.js +21 -0
- package/dist/runtime-core/agents/worker.js.map +1 -0
- package/dist/runtime-core/index.d.ts +24 -0
- package/dist/runtime-core/index.d.ts.map +1 -0
- package/dist/runtime-core/index.js +55 -0
- package/dist/runtime-core/index.js.map +1 -0
- package/dist/runtime-core/orchestrator.d.ts +47 -0
- package/dist/runtime-core/orchestrator.d.ts.map +1 -0
- package/dist/runtime-core/orchestrator.js +87 -0
- package/dist/runtime-core/orchestrator.js.map +1 -0
- package/dist/runtime-core/tools/fs.d.ts +9 -0
- package/dist/runtime-core/tools/fs.d.ts.map +1 -0
- package/dist/runtime-core/tools/fs.js +57 -0
- package/dist/runtime-core/tools/fs.js.map +1 -0
- package/dist/runtime-core/tools/registry.d.ts +23 -0
- package/dist/runtime-core/tools/registry.d.ts.map +1 -0
- package/dist/runtime-core/tools/registry.js +29 -0
- package/dist/runtime-core/tools/registry.js.map +1 -0
- package/dist/runtime-v2/agents/PlannerAgent.d.ts +16 -0
- package/dist/runtime-v2/agents/PlannerAgent.d.ts.map +1 -0
- package/dist/runtime-v2/agents/PlannerAgent.js +34 -0
- package/dist/runtime-v2/agents/PlannerAgent.js.map +1 -0
- package/dist/runtime-v2/context/ContextBus.d.ts +45 -0
- package/dist/runtime-v2/context/ContextBus.d.ts.map +1 -0
- package/dist/runtime-v2/context/ContextBus.js +68 -0
- package/dist/runtime-v2/context/ContextBus.js.map +1 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.d.ts +75 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.d.ts.map +1 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.js +171 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.js.map +1 -0
- package/dist/runtime-v2/index.d.ts +24 -0
- package/dist/runtime-v2/index.d.ts.map +1 -0
- package/dist/runtime-v2/index.js +58 -0
- package/dist/runtime-v2/index.js.map +1 -0
- package/dist/runtime.d.ts +10 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +13 -0
- package/dist/runtime.js.map +1 -0
- package/dist/safety/CircuitBreaker.d.ts +55 -0
- package/dist/safety/CircuitBreaker.d.ts.map +1 -0
- package/dist/safety/CircuitBreaker.js +138 -0
- package/dist/safety/CircuitBreaker.js.map +1 -0
- package/dist/safety/HopCounter.d.ts +30 -0
- package/dist/safety/HopCounter.d.ts.map +1 -0
- package/dist/safety/HopCounter.js +55 -0
- package/dist/safety/HopCounter.js.map +1 -0
- package/dist/safety/MessageDeduplicator.d.ts +33 -0
- package/dist/safety/MessageDeduplicator.d.ts.map +1 -0
- package/dist/safety/MessageDeduplicator.js +64 -0
- package/dist/safety/MessageDeduplicator.js.map +1 -0
- package/dist/safety/TimeBudget.d.ts +69 -0
- package/dist/safety/TimeBudget.d.ts.map +1 -0
- package/dist/safety/TimeBudget.js +109 -0
- package/dist/safety/TimeBudget.js.map +1 -0
- package/dist/safety/__tests__/CircuitBreaker.test.d.ts +2 -0
- package/dist/safety/__tests__/CircuitBreaker.test.d.ts.map +1 -0
- package/dist/safety/__tests__/CircuitBreaker.test.js +98 -0
- package/dist/safety/__tests__/CircuitBreaker.test.js.map +1 -0
- package/dist/sandbox/ExecutionSandbox.d.ts +16 -0
- package/dist/sandbox/ExecutionSandbox.d.ts.map +1 -0
- package/dist/sandbox/ExecutionSandbox.js +52 -0
- package/dist/sandbox/ExecutionSandbox.js.map +1 -0
- package/dist/security/P0IncidentResponse.d.ts +90 -0
- package/dist/security/P0IncidentResponse.d.ts.map +1 -0
- package/dist/security/P0IncidentResponse.js +161 -0
- package/dist/security/P0IncidentResponse.js.map +1 -0
- package/dist/security/SecurityHardening.d.ts +121 -0
- package/dist/security/SecurityHardening.d.ts.map +1 -0
- package/dist/security/SecurityHardening.js +228 -0
- package/dist/security/SecurityHardening.js.map +1 -0
- package/dist/security/index.d.ts +15 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +23 -0
- package/dist/security/index.js.map +1 -0
- package/dist/self-healing/ExecutionTrace.d.ts +80 -0
- package/dist/self-healing/ExecutionTrace.d.ts.map +1 -0
- package/dist/self-healing/ExecutionTrace.js +132 -0
- package/dist/self-healing/ExecutionTrace.js.map +1 -0
- package/dist/self-healing/FailureClassifier.d.ts +40 -0
- package/dist/self-healing/FailureClassifier.d.ts.map +1 -0
- package/dist/self-healing/FailureClassifier.js +176 -0
- package/dist/self-healing/FailureClassifier.js.map +1 -0
- package/dist/self-healing/LoopMemory.d.ts +54 -0
- package/dist/self-healing/LoopMemory.d.ts.map +1 -0
- package/dist/self-healing/LoopMemory.js +79 -0
- package/dist/self-healing/LoopMemory.js.map +1 -0
- package/dist/self-healing/PolicyEngine.d.ts +31 -0
- package/dist/self-healing/PolicyEngine.d.ts.map +1 -0
- package/dist/self-healing/PolicyEngine.js +92 -0
- package/dist/self-healing/PolicyEngine.js.map +1 -0
- package/dist/self-healing/RetryPolicy.d.ts +50 -0
- package/dist/self-healing/RetryPolicy.d.ts.map +1 -0
- package/dist/self-healing/RetryPolicy.js +94 -0
- package/dist/self-healing/RetryPolicy.js.map +1 -0
- package/dist/self-healing/RuntimeEvents.d.ts +50 -0
- package/dist/self-healing/RuntimeEvents.d.ts.map +1 -0
- package/dist/self-healing/RuntimeEvents.js +68 -0
- package/dist/self-healing/RuntimeEvents.js.map +1 -0
- package/dist/self-healing/SelfHealingRuntime.d.ts +41 -0
- package/dist/self-healing/SelfHealingRuntime.d.ts.map +1 -0
- package/dist/self-healing/SelfHealingRuntime.js +245 -0
- package/dist/self-healing/SelfHealingRuntime.js.map +1 -0
- package/dist/stability/StabilityEngine.d.ts +67 -0
- package/dist/stability/StabilityEngine.d.ts.map +1 -0
- package/dist/stability/StabilityEngine.js +214 -0
- package/dist/stability/StabilityEngine.js.map +1 -0
- package/dist/stability/TaskQualityGate.d.ts +41 -0
- package/dist/stability/TaskQualityGate.d.ts.map +1 -0
- package/dist/stability/TaskQualityGate.js +90 -0
- package/dist/stability/TaskQualityGate.js.map +1 -0
- package/dist/stability-loop/StabilityHardeningLoop.d.ts +158 -0
- package/dist/stability-loop/StabilityHardeningLoop.d.ts.map +1 -0
- package/dist/stability-loop/StabilityHardeningLoop.js +331 -0
- package/dist/stability-loop/StabilityHardeningLoop.js.map +1 -0
- package/dist/stability-loop/index.d.ts +18 -0
- package/dist/stability-loop/index.d.ts.map +1 -0
- package/dist/stability-loop/index.js +35 -0
- package/dist/stability-loop/index.js.map +1 -0
- package/dist/trace/CausalEngine.d.ts +56 -0
- package/dist/trace/CausalEngine.d.ts.map +1 -0
- package/dist/trace/CausalEngine.js +131 -0
- package/dist/trace/CausalEngine.js.map +1 -0
- package/dist/trace/ExecutionTraceModel.d.ts +127 -0
- package/dist/trace/ExecutionTraceModel.d.ts.map +1 -0
- package/dist/trace/ExecutionTraceModel.js +136 -0
- package/dist/trace/ExecutionTraceModel.js.map +1 -0
- package/dist/trace/KnowledgeInfluenceTracker.d.ts +54 -0
- package/dist/trace/KnowledgeInfluenceTracker.d.ts.map +1 -0
- package/dist/trace/KnowledgeInfluenceTracker.js +76 -0
- package/dist/trace/KnowledgeInfluenceTracker.js.map +1 -0
- package/dist/trace/flexibility/AdaptiveRuntime.d.ts +30 -0
- package/dist/trace/flexibility/AdaptiveRuntime.d.ts.map +1 -0
- package/dist/trace/flexibility/AdaptiveRuntime.js +42 -0
- package/dist/trace/flexibility/AdaptiveRuntime.js.map +1 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.d.ts +52 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.d.ts.map +1 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.js +57 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.js.map +1 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.d.ts +25 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.d.ts.map +1 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.js +48 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.js.map +1 -0
- package/dist/trace/flexibility/index.d.ts +17 -0
- package/dist/trace/flexibility/index.d.ts.map +1 -0
- package/dist/trace/flexibility/index.js +23 -0
- package/dist/trace/flexibility/index.js.map +1 -0
- package/dist/trace/gate/DeviationDetectionEngine.d.ts +60 -0
- package/dist/trace/gate/DeviationDetectionEngine.d.ts.map +1 -0
- package/dist/trace/gate/DeviationDetectionEngine.js +143 -0
- package/dist/trace/gate/DeviationDetectionEngine.js.map +1 -0
- package/dist/trace/gate/ExecutionTracePlan.d.ts +55 -0
- package/dist/trace/gate/ExecutionTracePlan.d.ts.map +1 -0
- package/dist/trace/gate/ExecutionTracePlan.js +67 -0
- package/dist/trace/gate/ExecutionTracePlan.js.map +1 -0
- package/dist/trace/gate/TraceExecutionGate.d.ts +63 -0
- package/dist/trace/gate/TraceExecutionGate.d.ts.map +1 -0
- package/dist/trace/gate/TraceExecutionGate.js +129 -0
- package/dist/trace/gate/TraceExecutionGate.js.map +1 -0
- package/dist/trace/gate/index.d.ts +15 -0
- package/dist/trace/gate/index.d.ts.map +1 -0
- package/dist/trace/gate/index.js +21 -0
- package/dist/trace/gate/index.js.map +1 -0
- package/dist/trace/index.d.ts +13 -0
- package/dist/trace/index.d.ts.map +1 -0
- package/dist/trace/index.js +19 -0
- package/dist/trace/index.js.map +1 -0
- package/dist/trace/proof/ExecutionProofSystem.d.ts +94 -0
- package/dist/trace/proof/ExecutionProofSystem.d.ts.map +1 -0
- package/dist/trace/proof/ExecutionProofSystem.js +185 -0
- package/dist/trace/proof/ExecutionProofSystem.js.map +1 -0
- package/dist/trace/proof/index.d.ts +11 -0
- package/dist/trace/proof/index.d.ts.map +1 -0
- package/dist/trace/proof/index.js +15 -0
- package/dist/trace/proof/index.js.map +1 -0
- package/dist/types/index.d.ts +194 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/unified/UnifiedExecutionEngine.d.ts +118 -0
- package/dist/unified/UnifiedExecutionEngine.d.ts.map +1 -0
- package/dist/unified/UnifiedExecutionEngine.js +187 -0
- package/dist/unified/UnifiedExecutionEngine.js.map +1 -0
- package/dist/unified/index.d.ts +17 -0
- package/dist/unified/index.d.ts.map +1 -0
- package/dist/unified/index.js +21 -0
- package/dist/unified/index.js.map +1 -0
- package/dist/utils/OutputNormalizer.d.ts +8 -0
- package/dist/utils/OutputNormalizer.d.ts.map +1 -0
- package/dist/utils/OutputNormalizer.js +48 -0
- package/dist/utils/OutputNormalizer.js.map +1 -0
- package/dist/utils/RevisionHistory.d.ts +9 -0
- package/dist/utils/RevisionHistory.d.ts.map +1 -0
- package/dist/utils/RevisionHistory.js +72 -0
- package/dist/utils/RevisionHistory.js.map +1 -0
- package/dist/utils/TaskQueue.d.ts +12 -0
- package/dist/utils/TaskQueue.d.ts.map +1 -0
- package/dist/utils/TaskQueue.js +107 -0
- package/dist/utils/TaskQueue.js.map +1 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +66 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/uuid.d.ts +2 -0
- package/dist/utils/uuid.d.ts.map +1 -0
- package/dist/utils/uuid.js +41 -0
- package/dist/utils/uuid.js.map +1 -0
- package/dist/validate.d.ts +22 -0
- package/dist/validate.d.ts.map +1 -0
- package/dist/validate.js +46 -0
- package/dist/validate.js.map +1 -0
- package/dist/workflow/WorkflowMachine.d.ts +55 -0
- package/dist/workflow/WorkflowMachine.d.ts.map +1 -0
- package/dist/workflow/WorkflowMachine.js +185 -0
- package/dist/workflow/WorkflowMachine.js.map +1 -0
- package/docs/AGENT-HIVE-CAPABILITY-MATRIX-AUDIT.md +281 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1-PRODUCT-READY-SPEC.md +346 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0-FINAL-SYSTEM-SPEC.md +509 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0-NEW.md +390 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0.md +369 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.1-FINAL-SPEC.md +380 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.1-RUNTIME-CORE.md +296 -0
- package/docs/AGENT-HIVE-PHASE-10-EXECUTION-KERNEL-SYSTEM.md +399 -0
- package/docs/AGENT-HIVE-PHASE-10-FINAL-FORM-v2-HARD-TRUTH-ENFORCEMENT-SYSTEM.md +350 -0
- package/docs/AGENT-HIVE-PHASE-10-FINAL-HARD-EXECUTION-TRUTH-SYSTEM-INVARIANT-ROOT-CAUSE-AUDIT.md +286 -0
- package/docs/AGENT-HIVE-PHASE-10-HARD-EXECUTION-TRUTH-SYSTEM-INVARIANT-AUDIT.md +283 -0
- package/docs/AGENT-HIVE-PHASE-5-EXECUTION-VALIDATION-REPORT.md +356 -0
- package/docs/AGENT-HIVE-PHASE-5.1-PLANNER-ERROR-AUDIT.md +323 -0
- package/docs/AGENT-HIVE-PHASE-6-TRUTH-AUDIT.md +454 -0
- package/docs/AGENT-HIVE-PHASE-7-PRODUCTION-READINESS-AUDIT.md +210 -0
- package/docs/AGENT-HIVE-PHASE-8-HARD-EXECUTION-TRUTH-ENFORCEMENT-AUDIT.md +310 -0
- package/docs/AGENT-HIVE-PHASE-9-EXECUTION-COLLAPSE-TEST-SYSTEM.md +241 -0
- package/docs/AGENT-HIVE-RELEASE-VALIDATION-REPORT-v2.md +260 -0
- package/docs/AGENT-HIVE-RELEASE-VALIDATION-REPORT.md +282 -0
- package/docs/AGENT-HIVE-RUNTIME-v2.0-ARCHITECTURE-AUDIT.md +500 -0
- package/docs/AGENT-HIVE-RUNTIME-v2.0-ULTIMATE-INVARIANTS-AUDIT.md +170 -0
- package/docs/AGENT-HIVE-v1.4-lite-KERNEL-PATCH-INTEGRATION-REPORT.md +182 -0
- package/docs/ARCHITECTURE-FREEZE-VALIDATION-REPORT.md +157 -0
- package/docs/ARCHITECTURE.md +51 -0
- package/docs/QUICKSTART.md +44 -0
- package/docs/adr/ADR-001-runtime-architecture.md +28 -0
- package/docs/adr/ADR-002-dag-execution.md +11 -0
- package/docs/adr/ADR-003-observation-layer.md +11 -0
- package/docs/adr/ADR-004-policy-engine.md +11 -0
- package/docs/adr/ADR-005-self-healing.md +24 -0
- package/docs/adr/ADR-006-checkpoint.md +24 -0
- package/docs/adr/ADR-007-event-sourcing.md +11 -0
- package/docs/adr/ADR-008-plugin-sdk.md +11 -0
- package/docs/adr/ADR-009-scheduler.md +24 -0
- package/docs/adr/ADR-010-platform-api.md +11 -0
- package/docs/agent-hive-full-audit-report.md +281 -0
- package/docs/agent-hive-observation.md +100 -0
- package/docs/architecture/overview.md +78 -0
- package/docs/architecture-current.md +301 -0
- package/docs/architecture-review-v2.1.7.md +402 -0
- package/docs/audit-report.md +172 -0
- package/docs/branding-final.md +44 -0
- package/docs/branding-review.md +51 -0
- package/docs/continuous-validation.md +59 -0
- package/docs/dashboard-runtime-validation.md +44 -0
- package/docs/dashboard.md +32 -0
- package/docs/experiment-results.json +341 -0
- package/docs/failure-intelligence-report.md +39 -0
- package/docs/hermes-audit-report.md +119 -0
- package/docs/install-validation.md +43 -0
- package/docs/observability-report.md +71 -0
- package/docs/observability.md +187 -0
- package/docs/orchestration-report.md +119 -0
- package/docs/plugins/README.md +64 -0
- package/docs/positioning.md +67 -0
- package/docs/product-entry.md +55 -0
- package/docs/providers.md +56 -0
- package/docs/real-project-validation.md +120 -0
- package/docs/real-workload-stream.md +69 -0
- package/docs/real-world-validation-report.md +76 -0
- package/docs/release-checklist-v1.1.md +25 -0
- package/docs/runtime-benchmark.md +118 -0
- package/docs/self-hosting.md +64 -0
- package/docs/stability.md +49 -0
- package/docs/task-injection-set.md +49 -0
- package/docs/user-feedback-v1.md +59 -0
- package/docs/v2.0-architecture-proposal.md +684 -0
- package/docs/validation-report.md +116 -0
- package/docs/value-analysis.md +110 -0
- package/examples/ai-workflow/index.js +34 -0
- package/examples/demo/index.js +87 -0
- package/examples/demo/package.json +7 -0
- package/jest.config.js +31 -0
- package/package.json +34 -0
- package/runtime.json.example +26 -0
- package/src/adapters/ClaudeAdapter.ts +229 -0
- package/src/adapters/CodexAdapter.ts +108 -0
- package/src/adapters/HermesAdapter.ts +196 -0
- package/src/adapters/MockClaudeAdapter.ts +70 -0
- package/src/adapters/MockCodexAdapter.ts +36 -0
- package/src/adapters/OpenClawAdapter.ts +172 -0
- package/src/adapters/registry.ts +54 -0
- package/src/api/HiveAPI.ts +148 -0
- package/src/benchmark/BenchmarkDataset.ts +80 -0
- package/src/benchmark/BenchmarkPlan.ts +451 -0
- package/src/benchmark/BenchmarkReport.ts +147 -0
- package/src/benchmark/BenchmarkRunner.ts +143 -0
- package/src/benchmark/BenchmarkSuite.ts +193 -0
- package/src/benchmark/index.ts +39 -0
- package/src/broker/AgentRegistry.ts +76 -0
- package/src/broker/Broker.ts +115 -0
- package/src/broker/GraphOperations.ts +73 -0
- package/src/broker/MessageBus.ts +92 -0
- package/src/broker/MessageRouter.ts +159 -0
- package/src/broker/TaskProcessor.ts +520 -0
- package/src/broker/TaskProcessor.ts.backup +472 -0
- package/src/broker/TaskRouter.ts +32 -0
- package/src/channels/ChannelPlugin.ts +34 -0
- package/src/ci/CIGate.ts +150 -0
- package/src/ci/ContractLock.ts +92 -0
- package/src/cli/hive-cli.ts +104 -0
- package/src/cli.ts +218 -0
- package/src/command/CommandAST.ts +40 -0
- package/src/commands/cli.ts +819 -0
- package/src/commands/demo.ts +81 -0
- package/src/commands/experiment-routing.ts +360 -0
- package/src/commands/generate-dashboard.js +235 -0
- package/src/commands/run-daily-validation.js +125 -0
- package/src/commands/run-validation.ts +316 -0
- package/src/commands/test-benchmark.ts +208 -0
- package/src/commands/test-conversation.ts +284 -0
- package/src/commands/test-crash.ts +67 -0
- package/src/commands/test-cross-platform.ts +65 -0
- package/src/commands/test-graph.ts +466 -0
- package/src/commands/test-observability.ts +137 -0
- package/src/commands/test-orchestration.ts +122 -0
- package/src/commands/test-real-world.ts +180 -0
- package/src/commands/test-reviewer.ts +136 -0
- package/src/commands/test-runtime-intelligence.ts +235 -0
- package/src/commands/test-stress.ts +131 -0
- package/src/commands/test-timeout.ts +145 -0
- package/src/commands/test-v2-integration.ts +615 -0
- package/src/commands/test-validation.ts +210 -0
- package/src/compiler/ArchitectureSynthesizer.ts +117 -0
- package/src/compiler/BlueprintPackager.ts +32 -0
- package/src/compiler/CommandCompiler.ts +66 -0
- package/src/compiler/DAGCompiler.ts +25 -0
- package/src/compiler/DomainModelGenerator.ts +132 -0
- package/src/compiler/FeasibilityGate.ts +81 -0
- package/src/compiler/InputNormalizer.ts +88 -0
- package/src/compiler/IntentParser.ts +109 -0
- package/src/compiler/ModulePlanner.ts +32 -0
- package/src/compiler/PromptCompiler.ts +39 -0
- package/src/compiler/index.ts +84 -0
- package/src/context/ContextManager.ts +63 -0
- package/src/control-plane/BudgetController.ts +120 -0
- package/src/control-plane/ControlPlane.ts +254 -0
- package/src/control-plane/ConvergenceGuard.ts +85 -0
- package/src/control-plane/DriftDetector.ts +99 -0
- package/src/control-plane/MetricStabilityLock.ts +75 -0
- package/src/control-plane/index.ts +24 -0
- package/src/convergence/ConvergenceValidator.ts +367 -0
- package/src/convergence/index.ts +35 -0
- package/src/conversation/ConversationManager.ts +158 -0
- package/src/dashboard/EventStore.ts +54 -0
- package/src/dashboard/FailureIntelligence.ts +302 -0
- package/src/dashboard/ObservationDashboard.ts +256 -0
- package/src/dashboard/StabilityCurve.ts +69 -0
- package/src/dashboard/index.html +144 -0
- package/src/engine/ExecutionEngine.ts +132 -0
- package/src/engine/PlatformAdapter.ts +49 -0
- package/src/engine/ResultNormalizer.ts +69 -0
- package/src/engine/StructuredLogger.ts +61 -0
- package/src/evaluation/BaselineRunner.ts +124 -0
- package/src/evaluation/DecisionTrace.ts +33 -0
- package/src/evaluation/EvaluationMetrics.ts +42 -0
- package/src/evaluation/GroundTruthDataset.ts +84 -0
- package/src/evaluation/RealWorldBenchmark.ts +91 -0
- package/src/evaluation/RealWorldRunner.ts +171 -0
- package/src/evaluation/ValidationRunner.ts +156 -0
- package/src/events/AgentEvent.ts +45 -0
- package/src/events/DecisionEvent.ts +16 -0
- package/src/events/ExecutionEvent.ts +38 -0
- package/src/events/SystemEvent.ts +11 -0
- package/src/evolution/EvolutionEngine.ts +388 -0
- package/src/evolution/index.ts +27 -0
- package/src/execution-fabric/DistributedExecutionFabric.ts +304 -0
- package/src/execution-fabric/index.ts +16 -0
- package/src/execution-graph/DynamicExecutionGraphRuntime.ts +319 -0
- package/src/execution-graph/ExecutionGraphEngine.ts +290 -0
- package/src/execution-graph/index.ts +28 -0
- package/src/execution-runtime/ExecutionRuntime.ts +290 -0
- package/src/execution-runtime/index.ts +17 -0
- package/src/governance/EngineeringGovernanceLayer.ts +287 -0
- package/src/graph/AgentGraph.ts +276 -0
- package/src/graph/GraphValidator.ts +107 -0
- package/src/graph/TopologyTemplates.ts +152 -0
- package/src/hardening/RuntimeHardening.ts +381 -0
- package/src/hardening/index.ts +18 -0
- package/src/index.ts +8 -0
- package/src/kernel/ExecutionState.ts +133 -0
- package/src/kernel/FailureInterceptor.ts +136 -0
- package/src/kernel/KernelGate.ts +77 -0
- package/src/kernel/MultiAgentExecutionKernel.ts +274 -0
- package/src/kernel/RuntimeKernel.ts +494 -0
- package/src/kernel/index.ts +32 -0
- package/src/knowledge/KnowledgeSystem.ts +145 -0
- package/src/learning/ExecutionEpisodeStore.ts +95 -0
- package/src/learning/InsightEngine.ts +78 -0
- package/src/learning/LearningLoopEngine.ts +97 -0
- package/src/learning/MemoryCompressor.ts +94 -0
- package/src/learning/PolicyOptimizer.ts +102 -0
- package/src/learning/PolicyStore.ts +94 -0
- package/src/loop-layer/EvaluationEngine.ts +55 -0
- package/src/loop-layer/LoopController.ts +95 -0
- package/src/loop-layer/ObservationEngine.ts +159 -0
- package/src/memory/ContextCompressor.ts +80 -0
- package/src/memory/MemoryManager.ts +52 -0
- package/src/memory/MemorySearch.ts +91 -0
- package/src/memory/MemoryStore.ts +72 -0
- package/src/observability/ConversationTrace.ts +89 -0
- package/src/observability/DecisionRecorder.ts +95 -0
- package/src/observability/RuntimeMetrics.ts +114 -0
- package/src/observability/TaskTimeline.ts +102 -0
- package/src/observation/SystemScoreCalculator.ts +182 -0
- package/src/observation/__tests__/SystemScoreCalculator.test.ts +71 -0
- package/src/orchestration/AgentRouter.ts +69 -0
- package/src/orchestration/DAGExecutor.ts +150 -0
- package/src/orchestration/JudgeAgent.ts +69 -0
- package/src/orchestration/Planner.ts +52 -0
- package/src/orchestration/ReviewerAgent.ts +76 -0
- package/src/orchestration/contracts/Agent.ts +46 -0
- package/src/orchestration/registry/AgentProfile.ts +11 -0
- package/src/orchestration/registry/AgentRegistry.ts +36 -0
- package/src/planning/ProjectPlanningLayer.ts +230 -0
- package/src/platform/PlatformCapabilities.ts +42 -0
- package/src/platform/auth/AuthService.ts +50 -0
- package/src/platform/index.ts +73 -0
- package/src/platform/sdk/index.ts +87 -0
- package/src/platform/server/ApiServer.ts +226 -0
- package/src/platform/services/MetricsService.ts +97 -0
- package/src/platform/validation/PlatformValidation.ts +109 -0
- package/src/platform/validation/benchmark/BenchmarkFramework.ts +83 -0
- package/src/platform/validation/chaos/FaultInjector.ts +85 -0
- package/src/product/AutoTopologySelector.ts +137 -0
- package/src/product/ProductEngineeringLayer.ts +215 -0
- package/src/product/ProviderRegistry.ts +25 -0
- package/src/product/TaskIntentClassifier.ts +105 -0
- package/src/production/ProductionRuntime.ts +161 -0
- package/src/production/checkpoint/CheckpointManager.ts +103 -0
- package/src/production/compensation/CompensationEngine.ts +71 -0
- package/src/production/events/EventStore.ts +100 -0
- package/src/production/plugins/PluginRegistry.ts +84 -0
- package/src/production/scheduler/Scheduler.ts +93 -0
- package/src/production-observation/ProductionObservation.ts +404 -0
- package/src/production-observation/index.ts +41 -0
- package/src/productionization/ProductionizationPlan.ts +591 -0
- package/src/productionization/index.ts +45 -0
- package/src/prompts/reviewer.txt +17 -0
- package/src/prompts/revision.txt +10 -0
- package/src/providers/OpenAIProvider.ts +61 -0
- package/src/providers/ProviderAdapter.ts +32 -0
- package/src/reasoning/ArchitectureCandidateGenerator.ts +103 -0
- package/src/reasoning/ArchitectureSpaceGenerator.ts +73 -0
- package/src/reasoning/ConstraintInferenceEngine.ts +110 -0
- package/src/reasoning/DecisionEngine.ts +102 -0
- package/src/reasoning/ExplainabilityLayer.ts +72 -0
- package/src/reasoning/FailureSimulationEngine.ts +102 -0
- package/src/reasoning/TradeoffReasoningEngine.ts +114 -0
- package/src/reasoning/index.ts +115 -0
- package/src/review/ReviewConsensus.ts +243 -0
- package/src/runtime/CapabilityDiscovery.ts +142 -0
- package/src/runtime/EventBus.ts +84 -0
- package/src/runtime/FailureAnalyzer.ts +87 -0
- package/src/runtime/ReplayEngine.ts +62 -0
- package/src/runtime/RuntimeConfig.ts +101 -0
- package/src/runtime/RuntimeScoreManager.ts +134 -0
- package/src/runtime/RuntimeSelector.ts +118 -0
- package/src/runtime/v2/RuntimeCore.ts +453 -0
- package/src/runtime/v2/audit/AuditTrail.ts +393 -0
- package/src/runtime/v2/budget/BudgetGuard.ts +304 -0
- package/src/runtime/v2/capability/CapabilityRegistry.ts +244 -0
- package/src/runtime/v2/checkpoint/HumanCheckpoint.ts +364 -0
- package/src/runtime/v2/concurrency/ConcurrencyManager.ts +263 -0
- package/src/runtime/v2/dashboard/DashboardApi.ts +534 -0
- package/src/runtime/v2/dashboard/DashboardServer.ts +160 -0
- package/src/runtime/v2/discovery/DiscoveryEngine.ts +488 -0
- package/src/runtime/v2/evaluator/EvaluatorPipeline.ts +300 -0
- package/src/runtime/v2/hydration/HydrationEngine.ts +289 -0
- package/src/runtime/v2/index.ts +211 -0
- package/src/runtime/v2/intent/TaskContract.ts +182 -0
- package/src/runtime/v2/isolation/WorkspaceIsolation.ts +330 -0
- package/src/runtime/v2/observation/EventBus.ts +137 -0
- package/src/runtime/v2/persistence/PersistenceEngine.ts +330 -0
- package/src/runtime/v2/planner/PlannerEngine.ts +134 -0
- package/src/runtime/v2/policy/PolicyEngine.ts +288 -0
- package/src/runtime/v2/provider/AnthropicProvider.ts +133 -0
- package/src/runtime/v2/provider/GoogleProvider.ts +136 -0
- package/src/runtime/v2/provider/OpenAIProvider.ts +184 -0
- package/src/runtime/v2/provider/ProviderManager.ts +150 -0
- package/src/runtime/v2/provider/ProviderRegistry.ts +262 -0
- package/src/runtime/v2/queue/RuntimeQueue.ts +280 -0
- package/src/runtime/v2/recovery/RecoveryEngine.ts +357 -0
- package/src/runtime/v2/scheduler/SchedulerEngine.ts +358 -0
- package/src/runtime/v2/state-machine/RuntimeStateMachine.ts +186 -0
- package/src/runtime/v2/workflow/RuntimeWorkflowBridge.ts +410 -0
- package/src/runtime/v2.1/ControlPlane.ts +249 -0
- package/src/runtime/v2.1/bridge/ExecutionBridge.ts +142 -0
- package/src/runtime/v2.1/contract/ShadowContractLayer.ts +343 -0
- package/src/runtime/v2.1/decision/ShadowDecisionLayer.ts +165 -0
- package/src/runtime/v2.1/der/ChaosExecutionMode.ts +120 -0
- package/src/runtime/v2.1/der/DER.ts +468 -0
- package/src/runtime/v2.1/der/FaultInjectionLayer.ts +181 -0
- package/src/runtime/v2.1/der/StressMetrics.ts +170 -0
- package/src/runtime/v2.1/index.ts +101 -0
- package/src/runtime/v2.1/observability/ShadowObservabilityLayer.ts +226 -0
- package/src/runtime/v2.1/validation/CutoverGate.ts +179 -0
- package/src/runtime/v2.1/validation/DivergenceAnalyzer.ts +165 -0
- package/src/runtime/v2.1/validation/ValidationDashboard.ts +139 -0
- package/src/runtime/v2.1/validation/ValidationEngine.ts +308 -0
- package/src/runtime-core/agents/hermes.ts +20 -0
- package/src/runtime-core/agents/registry.ts +35 -0
- package/src/runtime-core/agents/worker.ts +20 -0
- package/src/runtime-core/index.ts +60 -0
- package/src/runtime-core/orchestrator.ts +123 -0
- package/src/runtime-core/tools/fs.ts +24 -0
- package/src/runtime-core/tools/registry.ts +34 -0
- package/src/runtime-v2/agents/PlannerAgent.ts +34 -0
- package/src/runtime-v2/context/ContextBus.ts +72 -0
- package/src/runtime-v2/graph/GraphRuntimeEngine.ts +217 -0
- package/src/runtime-v2/index.ts +62 -0
- package/src/runtime.ts +10 -0
- package/src/safety/CircuitBreaker.ts +152 -0
- package/src/safety/HopCounter.ts +57 -0
- package/src/safety/MessageDeduplicator.ts +69 -0
- package/src/safety/TimeBudget.ts +129 -0
- package/src/safety/__tests__/CircuitBreaker.test.ts +113 -0
- package/src/sandbox/ExecutionSandbox.ts +65 -0
- package/src/security/P0IncidentResponse.ts +201 -0
- package/src/security/SecurityHardening.ts +272 -0
- package/src/security/index.ts +29 -0
- package/src/self-healing/ExecutionTrace.ts +164 -0
- package/src/self-healing/FailureClassifier.ts +212 -0
- package/src/self-healing/LoopMemory.ts +98 -0
- package/src/self-healing/PolicyEngine.ts +117 -0
- package/src/self-healing/RetryPolicy.ts +120 -0
- package/src/self-healing/RuntimeEvents.ts +93 -0
- package/src/self-healing/SelfHealingRuntime.ts +282 -0
- package/src/stability/StabilityEngine.ts +216 -0
- package/src/stability/TaskQualityGate.ts +119 -0
- package/src/stability-loop/StabilityHardeningLoop.ts +470 -0
- package/src/stability-loop/index.ts +53 -0
- package/src/trace/CausalEngine.ts +160 -0
- package/src/trace/ExecutionTraceModel.ts +242 -0
- package/src/trace/KnowledgeInfluenceTracker.ts +92 -0
- package/src/trace/flexibility/AdaptiveRuntime.ts +41 -0
- package/src/trace/flexibility/ExecutionFlexibilityEngine.ts +97 -0
- package/src/trace/flexibility/FlexibleExecutionGate.ts +51 -0
- package/src/trace/flexibility/index.ts +26 -0
- package/src/trace/gate/DeviationDetectionEngine.ts +182 -0
- package/src/trace/gate/ExecutionTracePlan.ts +108 -0
- package/src/trace/gate/TraceExecutionGate.ts +163 -0
- package/src/trace/gate/index.ts +15 -0
- package/src/trace/index.ts +13 -0
- package/src/trace/proof/ExecutionProofSystem.ts +232 -0
- package/src/trace/proof/index.ts +16 -0
- package/src/types/index.ts +286 -0
- package/src/unified/UnifiedExecutionEngine.ts +281 -0
- package/src/unified/index.ts +24 -0
- package/src/utils/OutputNormalizer.ts +45 -0
- package/src/utils/RevisionHistory.ts +39 -0
- package/src/utils/TaskQueue.ts +80 -0
- package/src/utils/logger.ts +44 -0
- package/src/utils/uuid.ts +5 -0
- package/src/validate.ts +50 -0
- package/src/workflow/WorkflowMachine.ts +229 -0
- package/test-grand-review.js +192 -0
- package/tests/test-system-score.ts +167 -0
- package/toyako-hive-4.0.0-rc.1.tgz +0 -0
- package/tsconfig.json +20 -0
- package/tsconfig.test.json +9 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JudgeAgent — final acceptance authority.
|
|
3
|
+
* Reviewer Pass ≠ Judge Pass. Judge has final say.
|
|
4
|
+
*/
|
|
5
|
+
import { Agent, Task, TaskResult, ReviewResult, JudgeResult } from "./contracts/Agent";
|
|
6
|
+
import { AgentProfile } from "./registry/AgentProfile";
|
|
7
|
+
|
|
8
|
+
export class JudgeAgent implements Agent {
|
|
9
|
+
profile: AgentProfile = {
|
|
10
|
+
id: "judge",
|
|
11
|
+
name: "Judge",
|
|
12
|
+
role: "judge",
|
|
13
|
+
capabilities: ["acceptance", "scoring"],
|
|
14
|
+
priority: 100,
|
|
15
|
+
enabled: true,
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
canHandle(task: Task): boolean {
|
|
19
|
+
return task.type === "acceptance" || task.type === "scoring";
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
async execute(task: Task): Promise<TaskResult> {
|
|
23
|
+
return {
|
|
24
|
+
taskId: task.id,
|
|
25
|
+
agentId: this.profile.id,
|
|
26
|
+
success: true,
|
|
27
|
+
output: "Judgment completed",
|
|
28
|
+
durationMs: 0,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** Judge accepts or rejects based on task result + review */
|
|
33
|
+
judge(result: TaskResult, review: ReviewResult): JudgeResult {
|
|
34
|
+
let score = review.score;
|
|
35
|
+
const reasons: string[] = [];
|
|
36
|
+
|
|
37
|
+
// Judge criteria
|
|
38
|
+
if (!result.success) {
|
|
39
|
+
score = 0;
|
|
40
|
+
reasons.push("Task execution failed");
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (!review.approved) {
|
|
44
|
+
score = Math.min(score, 40);
|
|
45
|
+
reasons.push("Reviewer did not approve");
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (review.findings.length > 3) {
|
|
49
|
+
score -= 10;
|
|
50
|
+
reasons.push("Too many findings from reviewer");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (result.output.length > 100) {
|
|
54
|
+
score += 5;
|
|
55
|
+
reasons.push("Substantial output produced");
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const finalScore = Math.max(0, Math.min(100, score));
|
|
59
|
+
const accepted = finalScore >= 70;
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
taskId: result.taskId,
|
|
63
|
+
judgeId: this.profile.id,
|
|
64
|
+
accepted,
|
|
65
|
+
score: finalScore,
|
|
66
|
+
reason: reasons.length > 0 ? reasons.join("; ") : (accepted ? "All criteria met" : "Score below threshold"),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Planner — decomposes user requests into Task DAGs.
|
|
3
|
+
*/
|
|
4
|
+
import { Task } from "./contracts/Agent";
|
|
5
|
+
|
|
6
|
+
export class Planner {
|
|
7
|
+
/** Plan a task DAG from a user request */
|
|
8
|
+
plan(request: string): Task[] {
|
|
9
|
+
// Analyze request and create task decomposition
|
|
10
|
+
const taskId = `task-${Date.now().toString(36)}`;
|
|
11
|
+
|
|
12
|
+
// Simple heuristic: if request mentions multiple things, split
|
|
13
|
+
const tasks = this.decompose(request, taskId);
|
|
14
|
+
|
|
15
|
+
return tasks;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
private decompose(request: string, baseId: string): Task[] {
|
|
19
|
+
const lower = request.toLowerCase();
|
|
20
|
+
|
|
21
|
+
// Pattern: design + implement + test + review
|
|
22
|
+
if (lower.includes("build") || lower.includes("create") || lower.includes("implement")) {
|
|
23
|
+
return [
|
|
24
|
+
{ id: `${baseId}-design`, title: "Design", description: `Design architecture for: ${request}`, type: "planning", priority: 1, dependencies: [] },
|
|
25
|
+
{ id: `${baseId}-implement`, title: "Implement", description: `Implement: ${request}`, type: "coding", priority: 2, dependencies: [`${baseId}-design`] },
|
|
26
|
+
{ id: `${baseId}-test`, title: "Test", description: `Test implementation of: ${request}`, type: "testing", priority: 3, dependencies: [`${baseId}-implement`] },
|
|
27
|
+
{ id: `${baseId}-review`, title: "Review", description: `Review: ${request}`, type: "review", priority: 4, dependencies: [`${baseId}-test`] },
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Pattern: refactor
|
|
32
|
+
if (lower.includes("refactor") || lower.includes("improve") || lower.includes("optimize")) {
|
|
33
|
+
return [
|
|
34
|
+
{ id: `${baseId}-analyze`, title: "Analyze", description: `Analyze code for: ${request}`, type: "analysis", priority: 1, dependencies: [] },
|
|
35
|
+
{ id: `${baseId}-refactor`, title: "Refactor", description: `Refactor: ${request}`, type: "coding", priority: 2, dependencies: [`${baseId}-analyze`] },
|
|
36
|
+
{ id: `${baseId}-review`, title: "Review", description: `Review refactoring: ${request}`, type: "review", priority: 3, dependencies: [`${baseId}-refactor`] },
|
|
37
|
+
];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Pattern: review only
|
|
41
|
+
if (lower.includes("review") || lower.includes("audit")) {
|
|
42
|
+
return [
|
|
43
|
+
{ id: `${baseId}-review`, title: "Review", description: `Review: ${request}`, type: "review", priority: 1, dependencies: [] },
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Default: single task
|
|
48
|
+
return [
|
|
49
|
+
{ id: baseId, title: "Execute", description: request, type: "general", priority: 1, dependencies: [] },
|
|
50
|
+
];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ReviewerAgent — reviews all agent outputs.
|
|
3
|
+
*/
|
|
4
|
+
import { Agent, Task, TaskResult, ReviewResult } from "./contracts/Agent";
|
|
5
|
+
import { AgentProfile } from "./registry/AgentProfile";
|
|
6
|
+
|
|
7
|
+
export class ReviewerAgent implements Agent {
|
|
8
|
+
profile: AgentProfile = {
|
|
9
|
+
id: "reviewer",
|
|
10
|
+
name: "Reviewer",
|
|
11
|
+
role: "reviewer",
|
|
12
|
+
capabilities: ["audit", "verification", "quality"],
|
|
13
|
+
priority: 10,
|
|
14
|
+
enabled: true,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
canHandle(task: Task): boolean {
|
|
18
|
+
return task.type === "review" || task.type === "audit";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
async execute(task: Task): Promise<TaskResult> {
|
|
22
|
+
return {
|
|
23
|
+
taskId: task.id,
|
|
24
|
+
agentId: this.profile.id,
|
|
25
|
+
success: true,
|
|
26
|
+
output: "Review completed",
|
|
27
|
+
durationMs: 0,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
async review(result: TaskResult): Promise<ReviewResult> {
|
|
32
|
+
const findings: string[] = [];
|
|
33
|
+
let score = 100;
|
|
34
|
+
|
|
35
|
+
// P0: Task execution failed
|
|
36
|
+
if (!result.success) {
|
|
37
|
+
findings.push("Task execution failed");
|
|
38
|
+
score -= 50;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// P1: Output quality checks (Finding #1 fix)
|
|
42
|
+
if (!result.output || result.output.trim().length === 0) {
|
|
43
|
+
findings.push("Empty output — no deliverable produced");
|
|
44
|
+
score -= 80; // Almost certainly a failure
|
|
45
|
+
} else if (result.output.trim().length < 10) {
|
|
46
|
+
findings.push("Output too short — insufficient deliverable");
|
|
47
|
+
score -= 60; // Very likely a failure
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// P2: Negative keyword detection (Finding #2 fix)
|
|
51
|
+
const negativeKeywords = ["warning", "TODO", "FIXME", "no tests", "partial", "incomplete", "not implemented", "stub"];
|
|
52
|
+
const outputLower = (result.output || "").toLowerCase();
|
|
53
|
+
for (const keyword of negativeKeywords) {
|
|
54
|
+
if (outputLower.includes(keyword.toLowerCase())) {
|
|
55
|
+
findings.push(`Negative indicator found: "${keyword}"`);
|
|
56
|
+
score -= 15;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// P3: Execution time
|
|
61
|
+
if (result.durationMs > 60000) {
|
|
62
|
+
findings.push("Execution took over 60 seconds");
|
|
63
|
+
score -= 10;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const finalScore = Math.max(0, Math.min(100, score));
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
taskId: result.taskId,
|
|
70
|
+
reviewerId: this.profile.id,
|
|
71
|
+
score: finalScore,
|
|
72
|
+
findings,
|
|
73
|
+
approved: finalScore >= 60,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent — unified agent contract.
|
|
3
|
+
*/
|
|
4
|
+
import { AgentProfile } from "../registry/AgentProfile";
|
|
5
|
+
|
|
6
|
+
export interface Task {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
type: string;
|
|
11
|
+
priority: number;
|
|
12
|
+
dependencies: string[];
|
|
13
|
+
metadata?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface TaskResult {
|
|
17
|
+
taskId: string;
|
|
18
|
+
agentId: string;
|
|
19
|
+
success: boolean;
|
|
20
|
+
output: string;
|
|
21
|
+
durationMs: number;
|
|
22
|
+
artifacts?: string[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface ReviewResult {
|
|
26
|
+
taskId: string;
|
|
27
|
+
reviewerId: string;
|
|
28
|
+
score: number;
|
|
29
|
+
findings: string[];
|
|
30
|
+
approved: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface JudgeResult {
|
|
34
|
+
taskId: string;
|
|
35
|
+
judgeId: string;
|
|
36
|
+
accepted: boolean;
|
|
37
|
+
score: number;
|
|
38
|
+
reason: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface Agent {
|
|
42
|
+
profile: AgentProfile;
|
|
43
|
+
canHandle(task: Task): boolean;
|
|
44
|
+
execute(task: Task): Promise<TaskResult>;
|
|
45
|
+
review?(result: TaskResult): Promise<ReviewResult>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AgentRegistry — manages registered agents.
|
|
3
|
+
*/
|
|
4
|
+
import { AgentProfile } from "./AgentProfile";
|
|
5
|
+
|
|
6
|
+
export class AgentRegistry {
|
|
7
|
+
private agents: Map<string, AgentProfile> = new Map();
|
|
8
|
+
|
|
9
|
+
register(agent: AgentProfile): void {
|
|
10
|
+
this.agents.set(agent.id, agent);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
unregister(id: string): boolean {
|
|
14
|
+
return this.agents.delete(id);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
list(): AgentProfile[] {
|
|
18
|
+
return Array.from(this.agents.values());
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
get(id: string): AgentProfile | null {
|
|
22
|
+
return this.agents.get(id) || null;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
findByCapability(capability: string): AgentProfile[] {
|
|
26
|
+
return this.list().filter(a => a.enabled && a.capabilities.includes(capability));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
findByRole(role: string): AgentProfile[] {
|
|
30
|
+
return this.list().filter(a => a.enabled && a.role === role);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
enabled(): AgentProfile[] {
|
|
34
|
+
return this.list().filter(a => a.enabled);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project Planning Layer
|
|
3
|
+
*
|
|
4
|
+
* Transform architecture into executable engineering plans.
|
|
5
|
+
*
|
|
6
|
+
* Output:
|
|
7
|
+
* - Milestones
|
|
8
|
+
* - Sprint Plans
|
|
9
|
+
* - Dependency Graph
|
|
10
|
+
* - Risk Analysis
|
|
11
|
+
* - Execution Blueprint
|
|
12
|
+
*
|
|
13
|
+
* Runtime must execute plans. Planning occurs before Runtime.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { ProductSpecification } from "../product/ProductEngineeringLayer";
|
|
17
|
+
import { Architecture } from "../compiler/ArchitectureSynthesizer";
|
|
18
|
+
|
|
19
|
+
// Sprint
|
|
20
|
+
export interface Sprint {
|
|
21
|
+
id: string;
|
|
22
|
+
milestone: string;
|
|
23
|
+
objectives: string[];
|
|
24
|
+
tasks: string[];
|
|
25
|
+
dependencies: string[];
|
|
26
|
+
deliverables: string[];
|
|
27
|
+
acceptanceCriteria: string[];
|
|
28
|
+
complexity: "low" | "medium" | "high";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Milestone
|
|
32
|
+
export interface Milestone {
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
sprints: Sprint[];
|
|
36
|
+
deliverables: string[];
|
|
37
|
+
dependencies: string[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Risk
|
|
41
|
+
export interface Risk {
|
|
42
|
+
type: "technical" | "architecture" | "dependency" | "schedule";
|
|
43
|
+
description: string;
|
|
44
|
+
severity: "low" | "medium" | "high";
|
|
45
|
+
mitigation: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Project Plan
|
|
49
|
+
export interface ProjectPlan {
|
|
50
|
+
milestones: Milestone[];
|
|
51
|
+
dependencyGraph: Record<string, string[]>;
|
|
52
|
+
risks: Risk[];
|
|
53
|
+
executionConstraints: string[];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export class ProjectPlanningLayer {
|
|
57
|
+
/**
|
|
58
|
+
* 生成项目计划
|
|
59
|
+
*/
|
|
60
|
+
plan(spec: ProductSpecification, architecture: Architecture): ProjectPlan {
|
|
61
|
+
const milestones = this.generateMilestones(spec);
|
|
62
|
+
const dependencyGraph = this.generateDependencyGraph(milestones);
|
|
63
|
+
const risks = this.identifyRisks(spec, architecture);
|
|
64
|
+
const executionConstraints = this.defineConstraints(spec);
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
milestones,
|
|
68
|
+
dependencyGraph,
|
|
69
|
+
risks,
|
|
70
|
+
executionConstraints
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* 生成里程碑
|
|
76
|
+
*/
|
|
77
|
+
private generateMilestones(spec: ProductSpecification): Milestone[] {
|
|
78
|
+
const milestones: Milestone[] = [];
|
|
79
|
+
let sprintId = 1;
|
|
80
|
+
|
|
81
|
+
// Milestone 1: Core Infrastructure
|
|
82
|
+
const m1Sprints: Sprint[] = [];
|
|
83
|
+
m1Sprints.push({
|
|
84
|
+
id: `S${sprintId++}`,
|
|
85
|
+
milestone: "M1",
|
|
86
|
+
objectives: ["Setup project structure", "Configure database"],
|
|
87
|
+
tasks: ["Initialize project", "Setup ORM", "Create migrations"],
|
|
88
|
+
dependencies: [],
|
|
89
|
+
deliverables: ["Project skeleton", "Database schema"],
|
|
90
|
+
acceptanceCriteria: ["Project builds", "Database connects"],
|
|
91
|
+
complexity: "low"
|
|
92
|
+
});
|
|
93
|
+
m1Sprints.push({
|
|
94
|
+
id: `S${sprintId++}`,
|
|
95
|
+
milestone: "M1",
|
|
96
|
+
objectives: ["Implement authentication"],
|
|
97
|
+
tasks: ["Create User model", "Implement JWT", "Create auth endpoints"],
|
|
98
|
+
dependencies: [`S${sprintId - 2}`],
|
|
99
|
+
deliverables: ["Auth module", "Login/Register API"],
|
|
100
|
+
acceptanceCriteria: ["User can login", "Token is valid"],
|
|
101
|
+
complexity: "medium"
|
|
102
|
+
});
|
|
103
|
+
milestones.push({
|
|
104
|
+
id: "M1",
|
|
105
|
+
name: "Core Infrastructure",
|
|
106
|
+
sprints: m1Sprints,
|
|
107
|
+
deliverables: ["Project skeleton", "Database", "Authentication"],
|
|
108
|
+
dependencies: []
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
// Milestone 2: Core Features
|
|
112
|
+
const m2Sprints: Sprint[] = [];
|
|
113
|
+
const requiredFeatures = spec.features.filter(f => f.priority === "required");
|
|
114
|
+
for (const feature of requiredFeatures.slice(0, 3)) {
|
|
115
|
+
m2Sprints.push({
|
|
116
|
+
id: `S${sprintId++}`,
|
|
117
|
+
milestone: "M2",
|
|
118
|
+
objectives: [`Implement ${feature.name}`],
|
|
119
|
+
tasks: feature.acceptanceCriteria.map(c => `Implement: ${c}`),
|
|
120
|
+
dependencies: ["M1"],
|
|
121
|
+
deliverables: [`${feature.name} module`],
|
|
122
|
+
acceptanceCriteria: feature.acceptanceCriteria,
|
|
123
|
+
complexity: "medium"
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
milestones.push({
|
|
127
|
+
id: "M2",
|
|
128
|
+
name: "Core Features",
|
|
129
|
+
sprints: m2Sprints,
|
|
130
|
+
deliverables: requiredFeatures.slice(0, 3).map(f => f.name),
|
|
131
|
+
dependencies: ["M1"]
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
// Milestone 3: Additional Features
|
|
135
|
+
const m3Sprints: Sprint[] = [];
|
|
136
|
+
const recommendedFeatures = spec.features.filter(f => f.priority === "recommended");
|
|
137
|
+
for (const feature of recommendedFeatures.slice(0, 2)) {
|
|
138
|
+
m3Sprints.push({
|
|
139
|
+
id: `S${sprintId++}`,
|
|
140
|
+
milestone: "M3",
|
|
141
|
+
objectives: [`Implement ${feature.name}`],
|
|
142
|
+
tasks: feature.acceptanceCriteria.map(c => `Implement: ${c}`),
|
|
143
|
+
dependencies: ["M2"],
|
|
144
|
+
deliverables: [`${feature.name} module`],
|
|
145
|
+
acceptanceCriteria: feature.acceptanceCriteria,
|
|
146
|
+
complexity: "medium"
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
milestones.push({
|
|
150
|
+
id: "M3",
|
|
151
|
+
name: "Additional Features",
|
|
152
|
+
sprints: m3Sprints,
|
|
153
|
+
deliverables: recommendedFeatures.slice(0, 2).map(f => f.name),
|
|
154
|
+
dependencies: ["M2"]
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
return milestones;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 生成依赖图
|
|
162
|
+
*/
|
|
163
|
+
private generateDependencyGraph(milestones: Milestone[]): Record<string, string[]> {
|
|
164
|
+
const graph: Record<string, string[]> = {};
|
|
165
|
+
|
|
166
|
+
for (const milestone of milestones) {
|
|
167
|
+
graph[milestone.id] = milestone.dependencies;
|
|
168
|
+
|
|
169
|
+
for (const sprint of milestone.sprints) {
|
|
170
|
+
graph[sprint.id] = sprint.dependencies;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return graph;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* 识别风险
|
|
179
|
+
*/
|
|
180
|
+
private identifyRisks(spec: ProductSpecification, architecture: Architecture): Risk[] {
|
|
181
|
+
const risks: Risk[] = [];
|
|
182
|
+
|
|
183
|
+
// 技术风险
|
|
184
|
+
if (architecture.architectureStyle === "microservice") {
|
|
185
|
+
risks.push({
|
|
186
|
+
type: "architecture",
|
|
187
|
+
description: "Microservices complexity",
|
|
188
|
+
severity: "high",
|
|
189
|
+
mitigation: "Start with modular monolith, refactor later"
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// 依赖风险
|
|
194
|
+
if (spec.modules.length > 10) {
|
|
195
|
+
risks.push({
|
|
196
|
+
type: "dependency",
|
|
197
|
+
description: "Too many modules",
|
|
198
|
+
severity: "medium",
|
|
199
|
+
mitigation: "Prioritize core modules first"
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// 进度风险
|
|
204
|
+
const requiredFeatures = spec.features.filter(f => f.priority === "required");
|
|
205
|
+
if (requiredFeatures.length > 5) {
|
|
206
|
+
risks.push({
|
|
207
|
+
type: "schedule",
|
|
208
|
+
description: "Too many required features",
|
|
209
|
+
severity: "medium",
|
|
210
|
+
mitigation: "Phase delivery across multiple releases"
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return risks;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 定义约束
|
|
219
|
+
*/
|
|
220
|
+
private defineConstraints(spec: ProductSpecification): string[] {
|
|
221
|
+
const constraints: string[] = [];
|
|
222
|
+
|
|
223
|
+
constraints.push("Each sprint must produce executable software");
|
|
224
|
+
constraints.push("Each sprint must produce reviewable output");
|
|
225
|
+
constraints.push("Each sprint must support rollback");
|
|
226
|
+
constraints.push("Runtime must never receive raw user intent");
|
|
227
|
+
|
|
228
|
+
return constraints;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformCapabilities — declarative platform capability description.
|
|
3
|
+
* No if (platform === ...) checks. All behavior driven by capabilities.
|
|
4
|
+
*/
|
|
5
|
+
import * as os from "os";
|
|
6
|
+
|
|
7
|
+
export interface PlatformCapabilities {
|
|
8
|
+
shell: "cmd" | "bash" | "pwsh";
|
|
9
|
+
supportsPipe: boolean;
|
|
10
|
+
supportsSequence: boolean;
|
|
11
|
+
pathStyle: "windows" | "unix";
|
|
12
|
+
encoding: "utf-8";
|
|
13
|
+
lineEnding: "\r\n" | "\n";
|
|
14
|
+
envSeparator: ";" | ":";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Detect current platform capabilities */
|
|
18
|
+
export function detectCapabilities(): PlatformCapabilities {
|
|
19
|
+
const isWindows = os.platform() === "win32";
|
|
20
|
+
|
|
21
|
+
if (isWindows) {
|
|
22
|
+
return {
|
|
23
|
+
shell: "cmd",
|
|
24
|
+
supportsPipe: true,
|
|
25
|
+
supportsSequence: true,
|
|
26
|
+
pathStyle: "windows",
|
|
27
|
+
encoding: "utf-8",
|
|
28
|
+
lineEnding: "\r\n",
|
|
29
|
+
envSeparator: ";",
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
shell: "bash",
|
|
35
|
+
supportsPipe: true,
|
|
36
|
+
supportsSequence: true,
|
|
37
|
+
pathStyle: "unix",
|
|
38
|
+
encoding: "utf-8",
|
|
39
|
+
lineEnding: "\n",
|
|
40
|
+
envSeparator: ":",
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AuthService — Platform Phase 1
|
|
3
|
+
*
|
|
4
|
+
* 支持:
|
|
5
|
+
* - API Key
|
|
6
|
+
* - 未来可扩展:JWT, OAuth2, OIDC
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// Auth Result
|
|
10
|
+
export interface AuthResult {
|
|
11
|
+
valid: boolean;
|
|
12
|
+
userId?: string;
|
|
13
|
+
error?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export class AuthService {
|
|
17
|
+
private apiKeys: Map<string, string> = new Map(); // apiKey -> userId
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 注册 API Key
|
|
21
|
+
*/
|
|
22
|
+
registerApiKey(apiKey: string, userId: string): void {
|
|
23
|
+
this.apiKeys.set(apiKey, userId);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 验证 API Key
|
|
28
|
+
*/
|
|
29
|
+
validateApiKey(apiKey: string): AuthResult {
|
|
30
|
+
const userId = this.apiKeys.get(apiKey);
|
|
31
|
+
if (userId) {
|
|
32
|
+
return { valid: true, userId };
|
|
33
|
+
}
|
|
34
|
+
return { valid: false, error: "Invalid API Key" };
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 删除 API Key
|
|
39
|
+
*/
|
|
40
|
+
removeApiKey(apiKey: string): boolean {
|
|
41
|
+
return this.apiKeys.delete(apiKey);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 获取所有 API Keys
|
|
46
|
+
*/
|
|
47
|
+
getApiKeys(): string[] {
|
|
48
|
+
return Array.from(this.apiKeys.keys());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform — Platform Phase 1
|
|
3
|
+
*
|
|
4
|
+
* Runtime 不再是产品,Platform 才是产品
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { ApiServer } from "./server/ApiServer";
|
|
8
|
+
import { AuthService } from "./auth/AuthService";
|
|
9
|
+
import { AgentHive } from "./sdk";
|
|
10
|
+
import { MetricsService } from "./services/MetricsService";
|
|
11
|
+
import { ProductionRuntime } from "../production/ProductionRuntime";
|
|
12
|
+
|
|
13
|
+
export class Platform {
|
|
14
|
+
private apiServer: ApiServer;
|
|
15
|
+
private authService: AuthService;
|
|
16
|
+
private metricsService: MetricsService;
|
|
17
|
+
private runtime: ProductionRuntime;
|
|
18
|
+
|
|
19
|
+
constructor(port: number = 3000) {
|
|
20
|
+
this.runtime = new ProductionRuntime();
|
|
21
|
+
this.apiServer = new ApiServer(this.runtime, port);
|
|
22
|
+
this.authService = new AuthService();
|
|
23
|
+
this.metricsService = new MetricsService();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 启动平台
|
|
28
|
+
*/
|
|
29
|
+
async start(): Promise<void> {
|
|
30
|
+
await this.apiServer.start();
|
|
31
|
+
console.log("[Platform] Started");
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 停止平台
|
|
36
|
+
*/
|
|
37
|
+
async stop(): Promise<void> {
|
|
38
|
+
await this.apiServer.stop();
|
|
39
|
+
console.log("[Platform] Stopped");
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 获取 API Server
|
|
44
|
+
*/
|
|
45
|
+
getApiServer(): ApiServer {
|
|
46
|
+
return this.apiServer;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* 获取 Auth Service
|
|
51
|
+
*/
|
|
52
|
+
getAuthService(): AuthService {
|
|
53
|
+
return this.authService;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 获取 Metrics Service
|
|
58
|
+
*/
|
|
59
|
+
getMetricsService(): MetricsService {
|
|
60
|
+
return this.metricsService;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 获取 Runtime
|
|
65
|
+
*/
|
|
66
|
+
getRuntime(): ProductionRuntime {
|
|
67
|
+
return this.runtime;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// 导出 SDK
|
|
72
|
+
export { AgentHive } from "./sdk";
|
|
73
|
+
export type { AgentHiveConfig, ExecutionResult } from "./sdk";
|