attocode 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/LICENSE +21 -0
- package/README.md +164 -0
- package/dist/src/adapters.d.ts +83 -0
- package/dist/src/adapters.d.ts.map +1 -0
- package/dist/src/adapters.js +221 -0
- package/dist/src/adapters.js.map +1 -0
- package/dist/src/agent-tools/index.d.ts +7 -0
- package/dist/src/agent-tools/index.d.ts.map +1 -0
- package/dist/src/agent-tools/index.js +8 -0
- package/dist/src/agent-tools/index.js.map +1 -0
- package/dist/src/agent-tools/lsp-file-tools.d.ts +33 -0
- package/dist/src/agent-tools/lsp-file-tools.d.ts.map +1 -0
- package/dist/src/agent-tools/lsp-file-tools.js +200 -0
- package/dist/src/agent-tools/lsp-file-tools.js.map +1 -0
- package/dist/src/agent.d.ts +667 -0
- package/dist/src/agent.d.ts.map +1 -0
- package/dist/src/agent.js +2824 -0
- package/dist/src/agent.js.map +1 -0
- package/dist/src/cli.d.ts +36 -0
- package/dist/src/cli.d.ts.map +1 -0
- package/dist/src/cli.js +176 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/commands/handler.d.ts +22 -0
- package/dist/src/commands/handler.d.ts.map +1 -0
- package/dist/src/commands/handler.js +1320 -0
- package/dist/src/commands/handler.js.map +1 -0
- package/dist/src/commands/init.d.ts +7 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +153 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/types.d.ts +70 -0
- package/dist/src/commands/types.d.ts.map +1 -0
- package/dist/src/commands/types.js +8 -0
- package/dist/src/commands/types.js.map +1 -0
- package/dist/src/config.d.ts +22 -0
- package/dist/src/config.d.ts.map +1 -0
- package/dist/src/config.js +25 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/core/index.d.ts +32 -0
- package/dist/src/core/index.d.ts.map +1 -0
- package/dist/src/core/index.js +35 -0
- package/dist/src/core/index.js.map +1 -0
- package/dist/src/core/process-handlers.d.ts +43 -0
- package/dist/src/core/process-handlers.d.ts.map +1 -0
- package/dist/src/core/process-handlers.js +117 -0
- package/dist/src/core/process-handlers.js.map +1 -0
- package/dist/src/core/protocol/bridge.d.ts +117 -0
- package/dist/src/core/protocol/bridge.d.ts.map +1 -0
- package/dist/src/core/protocol/bridge.js +149 -0
- package/dist/src/core/protocol/bridge.js.map +1 -0
- package/dist/src/core/protocol/index.d.ts +8 -0
- package/dist/src/core/protocol/index.d.ts.map +1 -0
- package/dist/src/core/protocol/index.js +8 -0
- package/dist/src/core/protocol/index.js.map +1 -0
- package/dist/src/core/protocol/types.d.ts +539 -0
- package/dist/src/core/protocol/types.d.ts.map +1 -0
- package/dist/src/core/protocol/types.js +149 -0
- package/dist/src/core/protocol/types.js.map +1 -0
- package/dist/src/core/queues/atomic-counter.d.ts +36 -0
- package/dist/src/core/queues/atomic-counter.d.ts.map +1 -0
- package/dist/src/core/queues/atomic-counter.js +46 -0
- package/dist/src/core/queues/atomic-counter.js.map +1 -0
- package/dist/src/core/queues/event-queue.d.ts +126 -0
- package/dist/src/core/queues/event-queue.d.ts.map +1 -0
- package/dist/src/core/queues/event-queue.js +208 -0
- package/dist/src/core/queues/event-queue.js.map +1 -0
- package/dist/src/core/queues/index.d.ts +12 -0
- package/dist/src/core/queues/index.d.ts.map +1 -0
- package/dist/src/core/queues/index.js +15 -0
- package/dist/src/core/queues/index.js.map +1 -0
- package/dist/src/core/queues/submission-queue.d.ts +116 -0
- package/dist/src/core/queues/submission-queue.d.ts.map +1 -0
- package/dist/src/core/queues/submission-queue.js +236 -0
- package/dist/src/core/queues/submission-queue.js.map +1 -0
- package/dist/src/costs/index.d.ts +22 -0
- package/dist/src/costs/index.d.ts.map +1 -0
- package/dist/src/costs/index.js +22 -0
- package/dist/src/costs/index.js.map +1 -0
- package/dist/src/costs/model-registry.d.ts +80 -0
- package/dist/src/costs/model-registry.d.ts.map +1 -0
- package/dist/src/costs/model-registry.js +237 -0
- package/dist/src/costs/model-registry.js.map +1 -0
- package/dist/src/costs/types.d.ts +50 -0
- package/dist/src/costs/types.d.ts.map +1 -0
- package/dist/src/costs/types.js +2 -0
- package/dist/src/costs/types.js.map +1 -0
- package/dist/src/defaults.d.ts +114 -0
- package/dist/src/defaults.d.ts.map +1 -0
- package/dist/src/defaults.js +457 -0
- package/dist/src/defaults.js.map +1 -0
- package/dist/src/first-run.d.ts +35 -0
- package/dist/src/first-run.d.ts.map +1 -0
- package/dist/src/first-run.js +94 -0
- package/dist/src/first-run.js.map +1 -0
- package/dist/src/hello.d.ts +2 -0
- package/dist/src/hello.d.ts.map +1 -0
- package/dist/src/hello.js +4 -0
- package/dist/src/hello.js.map +1 -0
- package/dist/src/integrations/agent-registry.d.ts +160 -0
- package/dist/src/integrations/agent-registry.d.ts.map +1 -0
- package/dist/src/integrations/agent-registry.js +446 -0
- package/dist/src/integrations/agent-registry.js.map +1 -0
- package/dist/src/integrations/auto-compaction.d.ts +177 -0
- package/dist/src/integrations/auto-compaction.d.ts.map +1 -0
- package/dist/src/integrations/auto-compaction.js +428 -0
- package/dist/src/integrations/auto-compaction.js.map +1 -0
- package/dist/src/integrations/cancellation.d.ts +162 -0
- package/dist/src/integrations/cancellation.d.ts.map +1 -0
- package/dist/src/integrations/cancellation.js +339 -0
- package/dist/src/integrations/cancellation.js.map +1 -0
- package/dist/src/integrations/codebase-context.d.ts +319 -0
- package/dist/src/integrations/codebase-context.d.ts.map +1 -0
- package/dist/src/integrations/codebase-context.js +816 -0
- package/dist/src/integrations/codebase-context.js.map +1 -0
- package/dist/src/integrations/compaction.d.ts +192 -0
- package/dist/src/integrations/compaction.d.ts.map +1 -0
- package/dist/src/integrations/compaction.js +376 -0
- package/dist/src/integrations/compaction.js.map +1 -0
- package/dist/src/integrations/context-engineering.d.ts +246 -0
- package/dist/src/integrations/context-engineering.d.ts.map +1 -0
- package/dist/src/integrations/context-engineering.js +394 -0
- package/dist/src/integrations/context-engineering.js.map +1 -0
- package/dist/src/integrations/diff-utils.d.ts +105 -0
- package/dist/src/integrations/diff-utils.d.ts.map +1 -0
- package/dist/src/integrations/diff-utils.js +497 -0
- package/dist/src/integrations/diff-utils.js.map +1 -0
- package/dist/src/integrations/economics.d.ts +192 -0
- package/dist/src/integrations/economics.d.ts.map +1 -0
- package/dist/src/integrations/economics.js +431 -0
- package/dist/src/integrations/economics.js.map +1 -0
- package/dist/src/integrations/execution-policy.d.ts +189 -0
- package/dist/src/integrations/execution-policy.d.ts.map +1 -0
- package/dist/src/integrations/execution-policy.js +352 -0
- package/dist/src/integrations/execution-policy.js.map +1 -0
- package/dist/src/integrations/file-change-tracker.d.ts +161 -0
- package/dist/src/integrations/file-change-tracker.d.ts.map +1 -0
- package/dist/src/integrations/file-change-tracker.js +520 -0
- package/dist/src/integrations/file-change-tracker.js.map +1 -0
- package/dist/src/integrations/hierarchical-config.d.ts +212 -0
- package/dist/src/integrations/hierarchical-config.d.ts.map +1 -0
- package/dist/src/integrations/hierarchical-config.js +484 -0
- package/dist/src/integrations/hierarchical-config.js.map +1 -0
- package/dist/src/integrations/hooks.d.ts +114 -0
- package/dist/src/integrations/hooks.d.ts.map +1 -0
- package/dist/src/integrations/hooks.js +326 -0
- package/dist/src/integrations/hooks.js.map +1 -0
- package/dist/src/integrations/ignore.d.ts +143 -0
- package/dist/src/integrations/ignore.d.ts.map +1 -0
- package/dist/src/integrations/ignore.js +417 -0
- package/dist/src/integrations/ignore.js.map +1 -0
- package/dist/src/integrations/image-renderer.d.ts +119 -0
- package/dist/src/integrations/image-renderer.d.ts.map +1 -0
- package/dist/src/integrations/image-renderer.js +306 -0
- package/dist/src/integrations/image-renderer.js.map +1 -0
- package/dist/src/integrations/index.d.ts +42 -0
- package/dist/src/integrations/index.d.ts.map +1 -0
- package/dist/src/integrations/index.js +73 -0
- package/dist/src/integrations/index.js.map +1 -0
- package/dist/src/integrations/lsp.d.ts +196 -0
- package/dist/src/integrations/lsp.d.ts.map +1 -0
- package/dist/src/integrations/lsp.js +582 -0
- package/dist/src/integrations/lsp.js.map +1 -0
- package/dist/src/integrations/mcp-client.d.ts +270 -0
- package/dist/src/integrations/mcp-client.d.ts.map +1 -0
- package/dist/src/integrations/mcp-client.js +698 -0
- package/dist/src/integrations/mcp-client.js.map +1 -0
- package/dist/src/integrations/mcp-tool-search.d.ts +77 -0
- package/dist/src/integrations/mcp-tool-search.d.ts.map +1 -0
- package/dist/src/integrations/mcp-tool-search.js +220 -0
- package/dist/src/integrations/mcp-tool-search.js.map +1 -0
- package/dist/src/integrations/memory.d.ts +108 -0
- package/dist/src/integrations/memory.d.ts.map +1 -0
- package/dist/src/integrations/memory.js +288 -0
- package/dist/src/integrations/memory.js.map +1 -0
- package/dist/src/integrations/multi-agent.d.ts +150 -0
- package/dist/src/integrations/multi-agent.d.ts.map +1 -0
- package/dist/src/integrations/multi-agent.js +306 -0
- package/dist/src/integrations/multi-agent.js.map +1 -0
- package/dist/src/integrations/observability.d.ts +162 -0
- package/dist/src/integrations/observability.d.ts.map +1 -0
- package/dist/src/integrations/observability.js +406 -0
- package/dist/src/integrations/observability.js.map +1 -0
- package/dist/src/integrations/openrouter-pricing.d.ts +42 -0
- package/dist/src/integrations/openrouter-pricing.d.ts.map +1 -0
- package/dist/src/integrations/openrouter-pricing.js +124 -0
- package/dist/src/integrations/openrouter-pricing.js.map +1 -0
- package/dist/src/integrations/pending-plan.d.ts +171 -0
- package/dist/src/integrations/pending-plan.d.ts.map +1 -0
- package/dist/src/integrations/pending-plan.js +244 -0
- package/dist/src/integrations/pending-plan.js.map +1 -0
- package/dist/src/integrations/persistence.d.ts +48 -0
- package/dist/src/integrations/persistence.d.ts.map +1 -0
- package/dist/src/integrations/persistence.js +196 -0
- package/dist/src/integrations/persistence.js.map +1 -0
- package/dist/src/integrations/planning.d.ts +96 -0
- package/dist/src/integrations/planning.d.ts.map +1 -0
- package/dist/src/integrations/planning.js +338 -0
- package/dist/src/integrations/planning.js.map +1 -0
- package/dist/src/integrations/pty-shell.d.ts +169 -0
- package/dist/src/integrations/pty-shell.d.ts.map +1 -0
- package/dist/src/integrations/pty-shell.js +367 -0
- package/dist/src/integrations/pty-shell.js.map +1 -0
- package/dist/src/integrations/react.d.ts +139 -0
- package/dist/src/integrations/react.d.ts.map +1 -0
- package/dist/src/integrations/react.js +273 -0
- package/dist/src/integrations/react.js.map +1 -0
- package/dist/src/integrations/resources.d.ts +177 -0
- package/dist/src/integrations/resources.d.ts.map +1 -0
- package/dist/src/integrations/resources.js +311 -0
- package/dist/src/integrations/resources.js.map +1 -0
- package/dist/src/integrations/result-synthesizer.d.ts +389 -0
- package/dist/src/integrations/result-synthesizer.d.ts.map +1 -0
- package/dist/src/integrations/result-synthesizer.js +951 -0
- package/dist/src/integrations/result-synthesizer.js.map +1 -0
- package/dist/src/integrations/routing.d.ts +117 -0
- package/dist/src/integrations/routing.d.ts.map +1 -0
- package/dist/src/integrations/routing.js +347 -0
- package/dist/src/integrations/routing.js.map +1 -0
- package/dist/src/integrations/rules.d.ts +131 -0
- package/dist/src/integrations/rules.d.ts.map +1 -0
- package/dist/src/integrations/rules.js +284 -0
- package/dist/src/integrations/rules.js.map +1 -0
- package/dist/src/integrations/safety.d.ts +142 -0
- package/dist/src/integrations/safety.d.ts.map +1 -0
- package/dist/src/integrations/safety.js +342 -0
- package/dist/src/integrations/safety.js.map +1 -0
- package/dist/src/integrations/sandbox/basic.d.ts +74 -0
- package/dist/src/integrations/sandbox/basic.d.ts.map +1 -0
- package/dist/src/integrations/sandbox/basic.js +310 -0
- package/dist/src/integrations/sandbox/basic.js.map +1 -0
- package/dist/src/integrations/sandbox/docker.d.ts +94 -0
- package/dist/src/integrations/sandbox/docker.d.ts.map +1 -0
- package/dist/src/integrations/sandbox/docker.js +293 -0
- package/dist/src/integrations/sandbox/docker.js.map +1 -0
- package/dist/src/integrations/sandbox/index.d.ts +182 -0
- package/dist/src/integrations/sandbox/index.d.ts.map +1 -0
- package/dist/src/integrations/sandbox/index.js +382 -0
- package/dist/src/integrations/sandbox/index.js.map +1 -0
- package/dist/src/integrations/sandbox/landlock.d.ts +59 -0
- package/dist/src/integrations/sandbox/landlock.d.ts.map +1 -0
- package/dist/src/integrations/sandbox/landlock.js +326 -0
- package/dist/src/integrations/sandbox/landlock.js.map +1 -0
- package/dist/src/integrations/sandbox/seatbelt.d.ts +68 -0
- package/dist/src/integrations/sandbox/seatbelt.d.ts.map +1 -0
- package/dist/src/integrations/sandbox/seatbelt.js +298 -0
- package/dist/src/integrations/sandbox/seatbelt.js.map +1 -0
- package/dist/src/integrations/semantic-cache.d.ts +178 -0
- package/dist/src/integrations/semantic-cache.d.ts.map +1 -0
- package/dist/src/integrations/semantic-cache.js +372 -0
- package/dist/src/integrations/semantic-cache.js.map +1 -0
- package/dist/src/integrations/session-store.d.ts +183 -0
- package/dist/src/integrations/session-store.d.ts.map +1 -0
- package/dist/src/integrations/session-store.js +345 -0
- package/dist/src/integrations/session-store.js.map +1 -0
- package/dist/src/integrations/shared-blackboard.d.ts +403 -0
- package/dist/src/integrations/shared-blackboard.d.ts.map +1 -0
- package/dist/src/integrations/shared-blackboard.js +710 -0
- package/dist/src/integrations/shared-blackboard.js.map +1 -0
- package/dist/src/integrations/skills.d.ts +171 -0
- package/dist/src/integrations/skills.d.ts.map +1 -0
- package/dist/src/integrations/skills.js +403 -0
- package/dist/src/integrations/skills.js.map +1 -0
- package/dist/src/integrations/smart-decomposer.d.ts +322 -0
- package/dist/src/integrations/smart-decomposer.d.ts.map +1 -0
- package/dist/src/integrations/smart-decomposer.js +856 -0
- package/dist/src/integrations/smart-decomposer.js.map +1 -0
- package/dist/src/integrations/sourcegraph.d.ts +169 -0
- package/dist/src/integrations/sourcegraph.d.ts.map +1 -0
- package/dist/src/integrations/sourcegraph.js +379 -0
- package/dist/src/integrations/sourcegraph.js.map +1 -0
- package/dist/src/integrations/sqlite-store.d.ts +518 -0
- package/dist/src/integrations/sqlite-store.d.ts.map +1 -0
- package/dist/src/integrations/sqlite-store.js +1423 -0
- package/dist/src/integrations/sqlite-store.js.map +1 -0
- package/dist/src/integrations/streaming.d.ts +102 -0
- package/dist/src/integrations/streaming.d.ts.map +1 -0
- package/dist/src/integrations/streaming.js +362 -0
- package/dist/src/integrations/streaming.js.map +1 -0
- package/dist/src/integrations/thread-manager.d.ts +199 -0
- package/dist/src/integrations/thread-manager.d.ts.map +1 -0
- package/dist/src/integrations/thread-manager.js +357 -0
- package/dist/src/integrations/thread-manager.js.map +1 -0
- package/dist/src/main.d.ts +26 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/main.js +170 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/modes/index.d.ts +10 -0
- package/dist/src/modes/index.d.ts.map +1 -0
- package/dist/src/modes/index.js +10 -0
- package/dist/src/modes/index.js.map +1 -0
- package/dist/src/modes/repl.d.ts +19 -0
- package/dist/src/modes/repl.d.ts.map +1 -0
- package/dist/src/modes/repl.js +393 -0
- package/dist/src/modes/repl.js.map +1 -0
- package/dist/src/modes/tui.d.ts +29 -0
- package/dist/src/modes/tui.d.ts.map +1 -0
- package/dist/src/modes/tui.js +272 -0
- package/dist/src/modes/tui.js.map +1 -0
- package/dist/src/modes.d.ts +179 -0
- package/dist/src/modes.d.ts.map +1 -0
- package/dist/src/modes.js +385 -0
- package/dist/src/modes.js.map +1 -0
- package/dist/src/observability/tracer.d.ts +111 -0
- package/dist/src/observability/tracer.d.ts.map +1 -0
- package/dist/src/observability/tracer.js +300 -0
- package/dist/src/observability/tracer.js.map +1 -0
- package/dist/src/observability/types.d.ts +271 -0
- package/dist/src/observability/types.d.ts.map +1 -0
- package/dist/src/observability/types.js +24 -0
- package/dist/src/observability/types.js.map +1 -0
- package/dist/src/paths.d.ts +101 -0
- package/dist/src/paths.d.ts.map +1 -0
- package/dist/src/paths.js +148 -0
- package/dist/src/paths.js.map +1 -0
- package/dist/src/persistence/index.d.ts +38 -0
- package/dist/src/persistence/index.d.ts.map +1 -0
- package/dist/src/persistence/index.js +48 -0
- package/dist/src/persistence/index.js.map +1 -0
- package/dist/src/persistence/migrator.d.ts +135 -0
- package/dist/src/persistence/migrator.d.ts.map +1 -0
- package/dist/src/persistence/migrator.js +303 -0
- package/dist/src/persistence/migrator.js.map +1 -0
- package/dist/src/persistence/schema.d.ts +101 -0
- package/dist/src/persistence/schema.d.ts.map +1 -0
- package/dist/src/persistence/schema.js +395 -0
- package/dist/src/persistence/schema.js.map +1 -0
- package/dist/src/providers/adapters/anthropic.d.ts +20 -0
- package/dist/src/providers/adapters/anthropic.d.ts.map +1 -0
- package/dist/src/providers/adapters/anthropic.js +124 -0
- package/dist/src/providers/adapters/anthropic.js.map +1 -0
- package/dist/src/providers/adapters/mock.d.ts +25 -0
- package/dist/src/providers/adapters/mock.d.ts.map +1 -0
- package/dist/src/providers/adapters/mock.js +133 -0
- package/dist/src/providers/adapters/mock.js.map +1 -0
- package/dist/src/providers/adapters/openai.d.ts +21 -0
- package/dist/src/providers/adapters/openai.d.ts.map +1 -0
- package/dist/src/providers/adapters/openai.js +126 -0
- package/dist/src/providers/adapters/openai.js.map +1 -0
- package/dist/src/providers/adapters/openrouter.d.ts +49 -0
- package/dist/src/providers/adapters/openrouter.d.ts.map +1 -0
- package/dist/src/providers/adapters/openrouter.js +363 -0
- package/dist/src/providers/adapters/openrouter.js.map +1 -0
- package/dist/src/providers/provider.d.ts +54 -0
- package/dist/src/providers/provider.d.ts.map +1 -0
- package/dist/src/providers/provider.js +111 -0
- package/dist/src/providers/provider.js.map +1 -0
- package/dist/src/providers/resilient-fetch.d.ts +99 -0
- package/dist/src/providers/resilient-fetch.d.ts.map +1 -0
- package/dist/src/providers/resilient-fetch.js +208 -0
- package/dist/src/providers/resilient-fetch.js.map +1 -0
- package/dist/src/providers/types.d.ts +227 -0
- package/dist/src/providers/types.d.ts.map +1 -0
- package/dist/src/providers/types.js +24 -0
- package/dist/src/providers/types.js.map +1 -0
- package/dist/src/session-picker.d.ts +28 -0
- package/dist/src/session-picker.d.ts.map +1 -0
- package/dist/src/session-picker.js +256 -0
- package/dist/src/session-picker.js.map +1 -0
- package/dist/src/test-sqlite.d.ts +2 -0
- package/dist/src/test-sqlite.d.ts.map +1 -0
- package/dist/src/test-sqlite.js +114 -0
- package/dist/src/test-sqlite.js.map +1 -0
- package/dist/src/tools/agent.d.ts +44 -0
- package/dist/src/tools/agent.d.ts.map +1 -0
- package/dist/src/tools/agent.js +110 -0
- package/dist/src/tools/agent.js.map +1 -0
- package/dist/src/tools/bash.d.ts +52 -0
- package/dist/src/tools/bash.d.ts.map +1 -0
- package/dist/src/tools/bash.js +141 -0
- package/dist/src/tools/bash.js.map +1 -0
- package/dist/src/tools/file.d.ts +47 -0
- package/dist/src/tools/file.d.ts.map +1 -0
- package/dist/src/tools/file.js +263 -0
- package/dist/src/tools/file.js.map +1 -0
- package/dist/src/tools/permission.d.ts +43 -0
- package/dist/src/tools/permission.d.ts.map +1 -0
- package/dist/src/tools/permission.js +216 -0
- package/dist/src/tools/permission.js.map +1 -0
- package/dist/src/tools/registry.d.ts +63 -0
- package/dist/src/tools/registry.d.ts.map +1 -0
- package/dist/src/tools/registry.js +250 -0
- package/dist/src/tools/registry.js.map +1 -0
- package/dist/src/tools/standard.d.ts +57 -0
- package/dist/src/tools/standard.d.ts.map +1 -0
- package/dist/src/tools/standard.js +113 -0
- package/dist/src/tools/standard.js.map +1 -0
- package/dist/src/tools/types.d.ts +146 -0
- package/dist/src/tools/types.d.ts.map +1 -0
- package/dist/src/tools/types.js +28 -0
- package/dist/src/tools/types.js.map +1 -0
- package/dist/src/tools/undo.d.ts +71 -0
- package/dist/src/tools/undo.d.ts.map +1 -0
- package/dist/src/tools/undo.js +123 -0
- package/dist/src/tools/undo.js.map +1 -0
- package/dist/src/tracing/cache-boundary-tracker.d.ts +189 -0
- package/dist/src/tracing/cache-boundary-tracker.d.ts.map +1 -0
- package/dist/src/tracing/cache-boundary-tracker.js +411 -0
- package/dist/src/tracing/cache-boundary-tracker.js.map +1 -0
- package/dist/src/tracing/trace-collector.d.ts +274 -0
- package/dist/src/tracing/trace-collector.d.ts.map +1 -0
- package/dist/src/tracing/trace-collector.js +727 -0
- package/dist/src/tracing/trace-collector.js.map +1 -0
- package/dist/src/tracing/types.d.ts +657 -0
- package/dist/src/tracing/types.d.ts.map +1 -0
- package/dist/src/tracing/types.js +39 -0
- package/dist/src/tracing/types.js.map +1 -0
- package/dist/src/tricks/failure-evidence.d.ts +268 -0
- package/dist/src/tricks/failure-evidence.d.ts.map +1 -0
- package/dist/src/tricks/failure-evidence.js +544 -0
- package/dist/src/tricks/failure-evidence.js.map +1 -0
- package/dist/src/tricks/json-utils.d.ts +77 -0
- package/dist/src/tricks/json-utils.d.ts.map +1 -0
- package/dist/src/tricks/json-utils.js +247 -0
- package/dist/src/tricks/json-utils.js.map +1 -0
- package/dist/src/tricks/kv-cache-context.d.ts +227 -0
- package/dist/src/tricks/kv-cache-context.d.ts.map +1 -0
- package/dist/src/tricks/kv-cache-context.js +377 -0
- package/dist/src/tricks/kv-cache-context.js.map +1 -0
- package/dist/src/tricks/recitation.d.ts +208 -0
- package/dist/src/tricks/recitation.d.ts.map +1 -0
- package/dist/src/tricks/recitation.js +374 -0
- package/dist/src/tricks/recitation.js.map +1 -0
- package/dist/src/tricks/reversible-compaction.d.ts +251 -0
- package/dist/src/tricks/reversible-compaction.d.ts.map +1 -0
- package/dist/src/tricks/reversible-compaction.js +555 -0
- package/dist/src/tricks/reversible-compaction.js.map +1 -0
- package/dist/src/tricks/serialization-diversity.d.ts +197 -0
- package/dist/src/tricks/serialization-diversity.d.ts.map +1 -0
- package/dist/src/tricks/serialization-diversity.js +460 -0
- package/dist/src/tricks/serialization-diversity.js.map +1 -0
- package/dist/src/tui/app.d.ts +42 -0
- package/dist/src/tui/app.d.ts.map +1 -0
- package/dist/src/tui/app.js +1076 -0
- package/dist/src/tui/app.js.map +1 -0
- package/dist/src/tui/components/ApprovalDialog.d.ts +28 -0
- package/dist/src/tui/components/ApprovalDialog.d.ts.map +1 -0
- package/dist/src/tui/components/ApprovalDialog.js +59 -0
- package/dist/src/tui/components/ApprovalDialog.js.map +1 -0
- package/dist/src/tui/components/InputArea.d.ts +35 -0
- package/dist/src/tui/components/InputArea.d.ts.map +1 -0
- package/dist/src/tui/components/InputArea.js +144 -0
- package/dist/src/tui/components/InputArea.js.map +1 -0
- package/dist/src/tui/components/MessageItem.d.ts +28 -0
- package/dist/src/tui/components/MessageItem.d.ts.map +1 -0
- package/dist/src/tui/components/MessageItem.js +27 -0
- package/dist/src/tui/components/MessageItem.js.map +1 -0
- package/dist/src/tui/components/ScrollableBox.d.ts +41 -0
- package/dist/src/tui/components/ScrollableBox.d.ts.map +1 -0
- package/dist/src/tui/components/ScrollableBox.js +101 -0
- package/dist/src/tui/components/ScrollableBox.js.map +1 -0
- package/dist/src/tui/components/ToolCallItem.d.ts +33 -0
- package/dist/src/tui/components/ToolCallItem.d.ts.map +1 -0
- package/dist/src/tui/components/ToolCallItem.js +91 -0
- package/dist/src/tui/components/ToolCallItem.js.map +1 -0
- package/dist/src/tui/components/index.d.ts +13 -0
- package/dist/src/tui/components/index.d.ts.map +1 -0
- package/dist/src/tui/components/index.js +15 -0
- package/dist/src/tui/components/index.js.map +1 -0
- package/dist/src/tui/event-display.d.ts +19 -0
- package/dist/src/tui/event-display.d.ts.map +1 -0
- package/dist/src/tui/event-display.js +178 -0
- package/dist/src/tui/event-display.js.map +1 -0
- package/dist/src/tui/index.d.ts +105 -0
- package/dist/src/tui/index.d.ts.map +1 -0
- package/dist/src/tui/index.js +214 -0
- package/dist/src/tui/index.js.map +1 -0
- package/dist/src/tui/input/CommandPalette.d.ts +55 -0
- package/dist/src/tui/input/CommandPalette.d.ts.map +1 -0
- package/dist/src/tui/input/CommandPalette.js +135 -0
- package/dist/src/tui/input/CommandPalette.js.map +1 -0
- package/dist/src/tui/input/index.d.ts +7 -0
- package/dist/src/tui/input/index.d.ts.map +1 -0
- package/dist/src/tui/input/index.js +7 -0
- package/dist/src/tui/input/index.js.map +1 -0
- package/dist/src/tui/theme/index.d.ts +45 -0
- package/dist/src/tui/theme/index.d.ts.map +1 -0
- package/dist/src/tui/theme/index.js +215 -0
- package/dist/src/tui/theme/index.js.map +1 -0
- package/dist/src/tui/types.d.ts +214 -0
- package/dist/src/tui/types.d.ts.map +1 -0
- package/dist/src/tui/types.js +27 -0
- package/dist/src/tui/types.js.map +1 -0
- package/dist/src/types.d.ts +905 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +9 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Result Synthesizer Integration
|
|
3
|
+
*
|
|
4
|
+
* Structured merging of results from multiple agents.
|
|
5
|
+
* Goes beyond simple consensus to intelligently combine outputs.
|
|
6
|
+
*
|
|
7
|
+
* Key features:
|
|
8
|
+
* - Code merging: Intelligent merge of code changes from multiple agents
|
|
9
|
+
* - Finding synthesis: Combine research findings, deduplicate insights
|
|
10
|
+
* - Conflict detection: Identify contradictions between results
|
|
11
|
+
* - Conflict resolution: Strategies for resolving disagreements
|
|
12
|
+
* - Confidence weighting: Weight results by agent confidence and authority
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* A result from an agent that can be synthesized.
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentOutput {
|
|
18
|
+
/** Agent identifier */
|
|
19
|
+
agentId: string;
|
|
20
|
+
/** Output content */
|
|
21
|
+
content: string;
|
|
22
|
+
/** Type of output */
|
|
23
|
+
type: OutputType;
|
|
24
|
+
/** Confidence score (0-1) */
|
|
25
|
+
confidence: number;
|
|
26
|
+
/** Agent's authority/expertise level (0-1) */
|
|
27
|
+
authority?: number;
|
|
28
|
+
/** Files modified by this result */
|
|
29
|
+
filesModified?: FileChange[];
|
|
30
|
+
/** Key findings/insights */
|
|
31
|
+
findings?: string[];
|
|
32
|
+
/** Errors encountered */
|
|
33
|
+
errors?: string[];
|
|
34
|
+
/** Metadata */
|
|
35
|
+
metadata?: Record<string, unknown>;
|
|
36
|
+
}
|
|
37
|
+
export type OutputType = 'code' | 'research' | 'analysis' | 'review' | 'plan' | 'documentation' | 'mixed';
|
|
38
|
+
/**
|
|
39
|
+
* A file change from an agent.
|
|
40
|
+
*/
|
|
41
|
+
export interface FileChange {
|
|
42
|
+
/** File path */
|
|
43
|
+
path: string;
|
|
44
|
+
/** Change type */
|
|
45
|
+
type: 'create' | 'modify' | 'delete';
|
|
46
|
+
/** Original content (for modify) */
|
|
47
|
+
originalContent?: string;
|
|
48
|
+
/** New content */
|
|
49
|
+
newContent: string;
|
|
50
|
+
/** Line-level changes */
|
|
51
|
+
hunks?: Hunk[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A hunk of changes (like git diff).
|
|
55
|
+
*/
|
|
56
|
+
export interface Hunk {
|
|
57
|
+
/** Start line in original */
|
|
58
|
+
originalStart: number;
|
|
59
|
+
/** Number of lines in original */
|
|
60
|
+
originalLength: number;
|
|
61
|
+
/** Start line in new */
|
|
62
|
+
newStart: number;
|
|
63
|
+
/** Number of lines in new */
|
|
64
|
+
newLength: number;
|
|
65
|
+
/** The actual lines */
|
|
66
|
+
lines: string[];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A detected conflict between results.
|
|
70
|
+
*/
|
|
71
|
+
export interface ResultConflict {
|
|
72
|
+
/** Unique identifier */
|
|
73
|
+
id: string;
|
|
74
|
+
/** Type of conflict */
|
|
75
|
+
type: ConflictType;
|
|
76
|
+
/** Agents involved */
|
|
77
|
+
agentIds: string[];
|
|
78
|
+
/** Description of the conflict */
|
|
79
|
+
description: string;
|
|
80
|
+
/** Conflicting values/content */
|
|
81
|
+
conflictingContent: string[];
|
|
82
|
+
/** Severity */
|
|
83
|
+
severity: 'low' | 'medium' | 'high';
|
|
84
|
+
/** File path if applicable */
|
|
85
|
+
filePath?: string;
|
|
86
|
+
/** Line numbers if applicable */
|
|
87
|
+
lines?: number[];
|
|
88
|
+
/** Suggested resolution */
|
|
89
|
+
suggestedResolution?: string;
|
|
90
|
+
/** Resolution if applied */
|
|
91
|
+
resolution?: ConflictResolution;
|
|
92
|
+
}
|
|
93
|
+
export type ConflictType = 'code_overlap' | 'logic_contradiction' | 'approach_mismatch' | 'fact_disagreement' | 'priority_conflict' | 'naming_conflict';
|
|
94
|
+
/**
|
|
95
|
+
* Resolution applied to a conflict.
|
|
96
|
+
*/
|
|
97
|
+
export interface ConflictResolution {
|
|
98
|
+
/** How it was resolved */
|
|
99
|
+
strategy: ResolutionStrategy;
|
|
100
|
+
/** Which agent's version was chosen (if applicable) */
|
|
101
|
+
chosenAgentId?: string;
|
|
102
|
+
/** Merged content (if applicable) */
|
|
103
|
+
mergedContent?: string;
|
|
104
|
+
/** Explanation of resolution */
|
|
105
|
+
explanation: string;
|
|
106
|
+
/** Timestamp */
|
|
107
|
+
resolvedAt: Date;
|
|
108
|
+
}
|
|
109
|
+
export type ResolutionStrategy = 'choose_highest_confidence' | 'choose_highest_authority' | 'merge_both' | 'human_decision' | 'llm_decision' | 'voting' | 'discard_all';
|
|
110
|
+
/**
|
|
111
|
+
* Result of synthesis.
|
|
112
|
+
*/
|
|
113
|
+
export interface SynthesisResult {
|
|
114
|
+
/** Synthesized output */
|
|
115
|
+
output: string;
|
|
116
|
+
/** Type of synthesized output */
|
|
117
|
+
type: OutputType;
|
|
118
|
+
/** Combined confidence */
|
|
119
|
+
confidence: number;
|
|
120
|
+
/** Merged file changes */
|
|
121
|
+
fileChanges: FileChange[];
|
|
122
|
+
/** Synthesized findings */
|
|
123
|
+
findings: string[];
|
|
124
|
+
/** Detected conflicts */
|
|
125
|
+
conflicts: ResultConflict[];
|
|
126
|
+
/** Statistics about the synthesis */
|
|
127
|
+
stats: SynthesisStats;
|
|
128
|
+
/** How the synthesis was performed */
|
|
129
|
+
method: SynthesisMethod;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Statistics about the synthesis process.
|
|
133
|
+
*/
|
|
134
|
+
export interface SynthesisStats {
|
|
135
|
+
/** Number of inputs */
|
|
136
|
+
inputCount: number;
|
|
137
|
+
/** Total content length */
|
|
138
|
+
totalContentLength: number;
|
|
139
|
+
/** Synthesized content length */
|
|
140
|
+
synthesizedLength: number;
|
|
141
|
+
/** Deduplication rate (0-1) */
|
|
142
|
+
deduplicationRate: number;
|
|
143
|
+
/** Number of conflicts detected */
|
|
144
|
+
conflictsDetected: number;
|
|
145
|
+
/** Number of conflicts resolved */
|
|
146
|
+
conflictsResolved: number;
|
|
147
|
+
/** Agreement rate between agents (0-1) */
|
|
148
|
+
agreementRate: number;
|
|
149
|
+
}
|
|
150
|
+
export type SynthesisMethod = 'concatenate' | 'deduplicate' | 'merge_structured' | 'synthesize_llm' | 'majority_vote';
|
|
151
|
+
/**
|
|
152
|
+
* Configuration for the result synthesizer.
|
|
153
|
+
*/
|
|
154
|
+
export interface ResultSynthesizerConfig {
|
|
155
|
+
/** Default synthesis method */
|
|
156
|
+
defaultMethod?: SynthesisMethod;
|
|
157
|
+
/** Conflict resolution strategy */
|
|
158
|
+
conflictResolution?: ResolutionStrategy;
|
|
159
|
+
/** Minimum similarity for deduplication (0-1) */
|
|
160
|
+
deduplicationThreshold?: number;
|
|
161
|
+
/** Enable LLM-assisted synthesis */
|
|
162
|
+
useLLM?: boolean;
|
|
163
|
+
/** LLM synthesis function */
|
|
164
|
+
llmSynthesizer?: LLMSynthesizeFunction;
|
|
165
|
+
/** Prefer higher confidence results */
|
|
166
|
+
preferHigherConfidence?: boolean;
|
|
167
|
+
/** Prefer higher authority results */
|
|
168
|
+
preferHigherAuthority?: boolean;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Function type for LLM-assisted synthesis.
|
|
172
|
+
*/
|
|
173
|
+
export type LLMSynthesizeFunction = (outputs: AgentOutput[], conflicts: ResultConflict[]) => Promise<LLMSynthesisResult>;
|
|
174
|
+
/**
|
|
175
|
+
* Result from LLM synthesis.
|
|
176
|
+
*/
|
|
177
|
+
export interface LLMSynthesisResult {
|
|
178
|
+
/** Synthesized content */
|
|
179
|
+
content: string;
|
|
180
|
+
/** Key findings extracted */
|
|
181
|
+
findings: string[];
|
|
182
|
+
/** Conflict resolutions */
|
|
183
|
+
resolutions: Array<{
|
|
184
|
+
conflictId: string;
|
|
185
|
+
resolution: string;
|
|
186
|
+
explanation: string;
|
|
187
|
+
}>;
|
|
188
|
+
/** Overall confidence */
|
|
189
|
+
confidence: number;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Events emitted by the result synthesizer.
|
|
193
|
+
*/
|
|
194
|
+
export type ResultSynthesizerEvent = {
|
|
195
|
+
type: 'synthesis.started';
|
|
196
|
+
outputCount: number;
|
|
197
|
+
} | {
|
|
198
|
+
type: 'synthesis.completed';
|
|
199
|
+
result: SynthesisResult;
|
|
200
|
+
} | {
|
|
201
|
+
type: 'conflict.detected';
|
|
202
|
+
conflict: ResultConflict;
|
|
203
|
+
} | {
|
|
204
|
+
type: 'conflict.resolved';
|
|
205
|
+
conflict: ResultConflict;
|
|
206
|
+
} | {
|
|
207
|
+
type: 'deduplication.performed';
|
|
208
|
+
original: number;
|
|
209
|
+
deduplicated: number;
|
|
210
|
+
};
|
|
211
|
+
export type ResultSynthesizerEventListener = (event: ResultSynthesizerEvent) => void;
|
|
212
|
+
/**
|
|
213
|
+
* Synthesizes results from multiple agents into a coherent output.
|
|
214
|
+
*
|
|
215
|
+
* @example
|
|
216
|
+
* ```typescript
|
|
217
|
+
* const synthesizer = createResultSynthesizer();
|
|
218
|
+
*
|
|
219
|
+
* const result = await synthesizer.synthesize([
|
|
220
|
+
* {
|
|
221
|
+
* agentId: 'agent-a',
|
|
222
|
+
* content: 'Found auth logic in src/auth.ts',
|
|
223
|
+
* type: 'research',
|
|
224
|
+
* confidence: 0.9,
|
|
225
|
+
* findings: ['JWT tokens used', 'Session stored in Redis'],
|
|
226
|
+
* },
|
|
227
|
+
* {
|
|
228
|
+
* agentId: 'agent-b',
|
|
229
|
+
* content: 'Auth implemented in src/auth.ts using JWT',
|
|
230
|
+
* type: 'research',
|
|
231
|
+
* confidence: 0.85,
|
|
232
|
+
* findings: ['JWT tokens used', 'Password hashing with bcrypt'],
|
|
233
|
+
* },
|
|
234
|
+
* ]);
|
|
235
|
+
*
|
|
236
|
+
* console.log(result.findings); // Deduplicated findings
|
|
237
|
+
* console.log(result.conflicts); // Any disagreements
|
|
238
|
+
* ```
|
|
239
|
+
*/
|
|
240
|
+
export declare class ResultSynthesizer {
|
|
241
|
+
private config;
|
|
242
|
+
private listeners;
|
|
243
|
+
private conflictCounter;
|
|
244
|
+
constructor(config?: ResultSynthesizerConfig);
|
|
245
|
+
/**
|
|
246
|
+
* Synthesize multiple agent outputs into a coherent result.
|
|
247
|
+
*/
|
|
248
|
+
synthesize(outputs: AgentOutput[]): Promise<SynthesisResult>;
|
|
249
|
+
/**
|
|
250
|
+
* Synthesize code changes from multiple agents.
|
|
251
|
+
*/
|
|
252
|
+
synthesizeCode(outputs: AgentOutput[]): Promise<SynthesisResult>;
|
|
253
|
+
/**
|
|
254
|
+
* Synthesize research findings from multiple agents.
|
|
255
|
+
*/
|
|
256
|
+
synthesizeFindings(outputs: AgentOutput[]): SynthesisResult;
|
|
257
|
+
/**
|
|
258
|
+
* Detect conflicts between agent outputs.
|
|
259
|
+
*/
|
|
260
|
+
detectConflicts(outputs: AgentOutput[]): ResultConflict[];
|
|
261
|
+
/**
|
|
262
|
+
* Detect overlapping code changes.
|
|
263
|
+
*/
|
|
264
|
+
private detectCodeOverlaps;
|
|
265
|
+
/**
|
|
266
|
+
* Check if two file changes overlap.
|
|
267
|
+
*/
|
|
268
|
+
private checkCodeOverlap;
|
|
269
|
+
/**
|
|
270
|
+
* Detect logic contradictions in findings.
|
|
271
|
+
*/
|
|
272
|
+
private detectLogicContradictions;
|
|
273
|
+
/**
|
|
274
|
+
* Find contradicting statements between two texts.
|
|
275
|
+
*/
|
|
276
|
+
private findContradictions;
|
|
277
|
+
/**
|
|
278
|
+
* Detect different approaches to the same problem.
|
|
279
|
+
*/
|
|
280
|
+
private detectApproachMismatches;
|
|
281
|
+
/**
|
|
282
|
+
* Merge with deduplication.
|
|
283
|
+
*/
|
|
284
|
+
private deduplicateMerge;
|
|
285
|
+
/**
|
|
286
|
+
* Simple concatenation merge.
|
|
287
|
+
*/
|
|
288
|
+
private concatenateMerge;
|
|
289
|
+
/**
|
|
290
|
+
* Structured merge for code.
|
|
291
|
+
*/
|
|
292
|
+
private mergeStructured;
|
|
293
|
+
/**
|
|
294
|
+
* LLM-assisted synthesis.
|
|
295
|
+
*/
|
|
296
|
+
private synthesizeLLM;
|
|
297
|
+
/**
|
|
298
|
+
* Majority vote synthesis.
|
|
299
|
+
*/
|
|
300
|
+
private majorityVote;
|
|
301
|
+
/**
|
|
302
|
+
* Resolve a conflict using the configured strategy.
|
|
303
|
+
*/
|
|
304
|
+
resolveConflict(conflict: ResultConflict, outputs: AgentOutput[]): ConflictResolution;
|
|
305
|
+
private resolveByConfidence;
|
|
306
|
+
private resolveByAuthority;
|
|
307
|
+
private resolveMergeBoth;
|
|
308
|
+
private resolveByVoting;
|
|
309
|
+
/**
|
|
310
|
+
* Calculate content similarity (Jaccard index).
|
|
311
|
+
*/
|
|
312
|
+
private calculateSimilarity;
|
|
313
|
+
/**
|
|
314
|
+
* Calculate combined confidence from multiple outputs.
|
|
315
|
+
*/
|
|
316
|
+
private calculateCombinedConfidence;
|
|
317
|
+
/**
|
|
318
|
+
* Calculate agreement rate between outputs.
|
|
319
|
+
*/
|
|
320
|
+
private calculateAgreement;
|
|
321
|
+
/**
|
|
322
|
+
* Determine synthesis method based on output types.
|
|
323
|
+
*/
|
|
324
|
+
private determineMethod;
|
|
325
|
+
/**
|
|
326
|
+
* Determine output type from multiple outputs.
|
|
327
|
+
*/
|
|
328
|
+
private determineOutputType;
|
|
329
|
+
/**
|
|
330
|
+
* Merge all file changes from outputs.
|
|
331
|
+
*/
|
|
332
|
+
private mergeAllFileChanges;
|
|
333
|
+
/**
|
|
334
|
+
* Merge file changes for a single file.
|
|
335
|
+
*/
|
|
336
|
+
private mergeFileChanges;
|
|
337
|
+
/**
|
|
338
|
+
* Extract all findings from outputs.
|
|
339
|
+
*/
|
|
340
|
+
private extractAllFindings;
|
|
341
|
+
/**
|
|
342
|
+
* Extract findings from content text.
|
|
343
|
+
*/
|
|
344
|
+
private extractFindingsFromContent;
|
|
345
|
+
/**
|
|
346
|
+
* Deduplicate findings.
|
|
347
|
+
*/
|
|
348
|
+
private deduplicateFindings;
|
|
349
|
+
/**
|
|
350
|
+
* Detect contradictions between findings.
|
|
351
|
+
*/
|
|
352
|
+
private detectFindingContradictions;
|
|
353
|
+
/**
|
|
354
|
+
* Calculate synthesis statistics.
|
|
355
|
+
*/
|
|
356
|
+
private calculateStats;
|
|
357
|
+
/**
|
|
358
|
+
* Create empty result.
|
|
359
|
+
*/
|
|
360
|
+
private createEmptyResult;
|
|
361
|
+
/**
|
|
362
|
+
* Create result from single output.
|
|
363
|
+
*/
|
|
364
|
+
private createSingleResult;
|
|
365
|
+
/**
|
|
366
|
+
* Subscribe to events.
|
|
367
|
+
*/
|
|
368
|
+
on(listener: ResultSynthesizerEventListener): () => void;
|
|
369
|
+
private emit;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Create a result synthesizer.
|
|
373
|
+
*
|
|
374
|
+
* @example
|
|
375
|
+
* ```typescript
|
|
376
|
+
* const synthesizer = createResultSynthesizer({
|
|
377
|
+
* conflictResolution: 'choose_highest_confidence',
|
|
378
|
+
* deduplicationThreshold: 0.85,
|
|
379
|
+
* });
|
|
380
|
+
*
|
|
381
|
+
* const result = await synthesizer.synthesize(agentOutputs);
|
|
382
|
+
* ```
|
|
383
|
+
*/
|
|
384
|
+
export declare function createResultSynthesizer(config?: ResultSynthesizerConfig): ResultSynthesizer;
|
|
385
|
+
/**
|
|
386
|
+
* Create an LLM prompt for synthesis.
|
|
387
|
+
*/
|
|
388
|
+
export declare function createSynthesisPrompt(outputs: AgentOutput[], conflicts: ResultConflict[]): string;
|
|
389
|
+
//# sourceMappingURL=result-synthesizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result-synthesizer.d.ts","sourceRoot":"","sources":["../../../src/integrations/result-synthesizer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,qBAAqB;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,6BAA6B;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,aAAa,CAAC,EAAE,UAAU,EAAE,CAAC;IAC7B,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,UAAU,GACV,UAAU,GACV,QAAQ,GACR,MAAM,GACN,eAAe,GACf,OAAO,CAAC;AAEZ;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACrC,oCAAoC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB;AAED;;GAEG;AACH,MAA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