@miller-tech/uap 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/LICENSE +21 -0
- package/README.md +888 -0
- package/dist/analyzers/index.d.ts +3 -0
- package/dist/analyzers/index.d.ts.map +1 -0
- package/dist/analyzers/index.js +684 -0
- package/dist/analyzers/index.js.map +1 -0
- package/dist/benchmarks/agents/naive-agent.d.ts +60 -0
- package/dist/benchmarks/agents/naive-agent.d.ts.map +1 -0
- package/dist/benchmarks/agents/naive-agent.js +144 -0
- package/dist/benchmarks/agents/naive-agent.js.map +1 -0
- package/dist/benchmarks/agents/uap-agent.d.ts +167 -0
- package/dist/benchmarks/agents/uap-agent.d.ts.map +1 -0
- package/dist/benchmarks/agents/uap-agent.js +437 -0
- package/dist/benchmarks/agents/uap-agent.js.map +1 -0
- package/dist/benchmarks/benchmark.d.ts +328 -0
- package/dist/benchmarks/benchmark.d.ts.map +1 -0
- package/dist/benchmarks/benchmark.js +112 -0
- package/dist/benchmarks/benchmark.js.map +1 -0
- package/dist/benchmarks/execution-verifier.d.ts +41 -0
- package/dist/benchmarks/execution-verifier.d.ts.map +1 -0
- package/dist/benchmarks/execution-verifier.js +340 -0
- package/dist/benchmarks/execution-verifier.js.map +1 -0
- package/dist/benchmarks/hierarchical-prompting.d.ts +37 -0
- package/dist/benchmarks/hierarchical-prompting.d.ts.map +1 -0
- package/dist/benchmarks/hierarchical-prompting.js +246 -0
- package/dist/benchmarks/hierarchical-prompting.js.map +1 -0
- package/dist/benchmarks/improved-benchmark.d.ts +89 -0
- package/dist/benchmarks/improved-benchmark.d.ts.map +1 -0
- package/dist/benchmarks/improved-benchmark.js +585 -0
- package/dist/benchmarks/improved-benchmark.js.map +1 -0
- package/dist/benchmarks/index.d.ts +11 -0
- package/dist/benchmarks/index.d.ts.map +1 -0
- package/dist/benchmarks/index.js +11 -0
- package/dist/benchmarks/index.js.map +1 -0
- package/dist/benchmarks/model-integration.d.ts +111 -0
- package/dist/benchmarks/model-integration.d.ts.map +1 -0
- package/dist/benchmarks/model-integration.js +904 -0
- package/dist/benchmarks/model-integration.js.map +1 -0
- package/dist/benchmarks/multi-turn-agent.d.ts +44 -0
- package/dist/benchmarks/multi-turn-agent.d.ts.map +1 -0
- package/dist/benchmarks/multi-turn-agent.js +254 -0
- package/dist/benchmarks/multi-turn-agent.js.map +1 -0
- package/dist/benchmarks/multi-turn-loop.d.ts +57 -0
- package/dist/benchmarks/multi-turn-loop.d.ts.map +1 -0
- package/dist/benchmarks/multi-turn-loop.js +167 -0
- package/dist/benchmarks/multi-turn-loop.js.map +1 -0
- package/dist/benchmarks/tasks.d.ts +19 -0
- package/dist/benchmarks/tasks.d.ts.map +1 -0
- package/dist/benchmarks/tasks.js +435 -0
- package/dist/benchmarks/tasks.js.map +1 -0
- package/dist/bin/cli.d.ts +3 -0
- package/dist/bin/cli.d.ts.map +1 -0
- package/dist/bin/cli.js +546 -0
- package/dist/bin/cli.js.map +1 -0
- package/dist/bin/llama-server-optimize.d.ts +18 -0
- package/dist/bin/llama-server-optimize.d.ts.map +1 -0
- package/dist/bin/llama-server-optimize.js +708 -0
- package/dist/bin/llama-server-optimize.js.map +1 -0
- package/dist/bin/policy.d.ts +3 -0
- package/dist/bin/policy.d.ts.map +1 -0
- package/dist/bin/policy.js +143 -0
- package/dist/bin/policy.js.map +1 -0
- package/dist/bin/tool-calls.d.ts +3 -0
- package/dist/bin/tool-calls.d.ts.map +1 -0
- package/dist/bin/tool-calls.js +4 -0
- package/dist/bin/tool-calls.js.map +1 -0
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/web-browser.d.ts +30 -0
- package/dist/browser/web-browser.d.ts.map +1 -0
- package/dist/browser/web-browser.js +93 -0
- package/dist/browser/web-browser.js.map +1 -0
- package/dist/cli/agent.d.ts +20 -0
- package/dist/cli/agent.d.ts.map +1 -0
- package/dist/cli/agent.js +474 -0
- package/dist/cli/agent.js.map +1 -0
- package/dist/cli/analyze.d.ts +7 -0
- package/dist/cli/analyze.d.ts.map +1 -0
- package/dist/cli/analyze.js +103 -0
- package/dist/cli/analyze.js.map +1 -0
- package/dist/cli/completion-gates.d.ts +51 -0
- package/dist/cli/completion-gates.d.ts.map +1 -0
- package/dist/cli/completion-gates.js +201 -0
- package/dist/cli/completion-gates.js.map +1 -0
- package/dist/cli/compliance.d.ts +8 -0
- package/dist/cli/compliance.d.ts.map +1 -0
- package/dist/cli/compliance.js +509 -0
- package/dist/cli/compliance.js.map +1 -0
- package/dist/cli/coord.d.ts +7 -0
- package/dist/cli/coord.d.ts.map +1 -0
- package/dist/cli/coord.js +138 -0
- package/dist/cli/coord.js.map +1 -0
- package/dist/cli/dashboard.d.ts +21 -0
- package/dist/cli/dashboard.d.ts.map +1 -0
- package/dist/cli/dashboard.js +1508 -0
- package/dist/cli/dashboard.js.map +1 -0
- package/dist/cli/deploy.d.ts +19 -0
- package/dist/cli/deploy.d.ts.map +1 -0
- package/dist/cli/deploy.js +387 -0
- package/dist/cli/deploy.js.map +1 -0
- package/dist/cli/droids.d.ts +9 -0
- package/dist/cli/droids.d.ts.map +1 -0
- package/dist/cli/droids.js +227 -0
- package/dist/cli/droids.js.map +1 -0
- package/dist/cli/generate.d.ts +17 -0
- package/dist/cli/generate.d.ts.map +1 -0
- package/dist/cli/generate.js +432 -0
- package/dist/cli/generate.js.map +1 -0
- package/dist/cli/hooks.d.ts +9 -0
- package/dist/cli/hooks.d.ts.map +1 -0
- package/dist/cli/hooks.js +464 -0
- package/dist/cli/hooks.js.map +1 -0
- package/dist/cli/init.d.ts +12 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +364 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/mcp-router.d.ts +16 -0
- package/dist/cli/mcp-router.d.ts.map +1 -0
- package/dist/cli/mcp-router.js +143 -0
- package/dist/cli/mcp-router.js.map +1 -0
- package/dist/cli/memory.d.ts +24 -0
- package/dist/cli/memory.d.ts.map +1 -0
- package/dist/cli/memory.js +885 -0
- package/dist/cli/memory.js.map +1 -0
- package/dist/cli/model.d.ts +15 -0
- package/dist/cli/model.d.ts.map +1 -0
- package/dist/cli/model.js +290 -0
- package/dist/cli/model.js.map +1 -0
- package/dist/cli/patterns.d.ts +26 -0
- package/dist/cli/patterns.d.ts.map +1 -0
- package/dist/cli/patterns.js +862 -0
- package/dist/cli/patterns.js.map +1 -0
- package/dist/cli/rtk-validation.d.ts +9 -0
- package/dist/cli/rtk-validation.d.ts.map +1 -0
- package/dist/cli/rtk-validation.js +9 -0
- package/dist/cli/rtk-validation.js.map +1 -0
- package/dist/cli/rtk.d.ts +34 -0
- package/dist/cli/rtk.d.ts.map +1 -0
- package/dist/cli/rtk.js +401 -0
- package/dist/cli/rtk.js.map +1 -0
- package/dist/cli/schema-diff.d.ts +7 -0
- package/dist/cli/schema-diff.d.ts.map +1 -0
- package/dist/cli/schema-diff.js +11 -0
- package/dist/cli/schema-diff.js.map +1 -0
- package/dist/cli/setup-mcp-router.d.ts +8 -0
- package/dist/cli/setup-mcp-router.d.ts.map +1 -0
- package/dist/cli/setup-mcp-router.js +163 -0
- package/dist/cli/setup-mcp-router.js.map +1 -0
- package/dist/cli/setup-wizard.d.ts +2 -0
- package/dist/cli/setup-wizard.d.ts.map +1 -0
- package/dist/cli/setup-wizard.js +806 -0
- package/dist/cli/setup-wizard.js.map +1 -0
- package/dist/cli/setup.d.ts +15 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +154 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/cli/sync.d.ts +8 -0
- package/dist/cli/sync.d.ts.map +1 -0
- package/dist/cli/sync.js +395 -0
- package/dist/cli/sync.js.map +1 -0
- package/dist/cli/task.d.ts +33 -0
- package/dist/cli/task.d.ts.map +1 -0
- package/dist/cli/task.js +672 -0
- package/dist/cli/task.js.map +1 -0
- package/dist/cli/tool-calls.d.ts +20 -0
- package/dist/cli/tool-calls.d.ts.map +1 -0
- package/dist/cli/tool-calls.js +605 -0
- package/dist/cli/tool-calls.js.map +1 -0
- package/dist/cli/uap.d.ts +10 -0
- package/dist/cli/uap.d.ts.map +1 -0
- package/dist/cli/uap.js +398 -0
- package/dist/cli/uap.js.map +1 -0
- package/dist/cli/update.d.ts +10 -0
- package/dist/cli/update.d.ts.map +1 -0
- package/dist/cli/update.js +300 -0
- package/dist/cli/update.js.map +1 -0
- package/dist/cli/visualize.d.ts +77 -0
- package/dist/cli/visualize.d.ts.map +1 -0
- package/dist/cli/visualize.js +287 -0
- package/dist/cli/visualize.js.map +1 -0
- package/dist/cli/worktree.d.ts +9 -0
- package/dist/cli/worktree.d.ts.map +1 -0
- package/dist/cli/worktree.js +213 -0
- package/dist/cli/worktree.js.map +1 -0
- package/dist/coordination/adaptive-patterns.d.ts +65 -0
- package/dist/coordination/adaptive-patterns.d.ts.map +1 -0
- package/dist/coordination/adaptive-patterns.js +108 -0
- package/dist/coordination/adaptive-patterns.js.map +1 -0
- package/dist/coordination/auto-agent.d.ts +82 -0
- package/dist/coordination/auto-agent.d.ts.map +1 -0
- package/dist/coordination/auto-agent.js +145 -0
- package/dist/coordination/auto-agent.js.map +1 -0
- package/dist/coordination/capability-router.d.ts +79 -0
- package/dist/coordination/capability-router.d.ts.map +1 -0
- package/dist/coordination/capability-router.js +334 -0
- package/dist/coordination/capability-router.js.map +1 -0
- package/dist/coordination/database.d.ts +13 -0
- package/dist/coordination/database.d.ts.map +1 -0
- package/dist/coordination/database.js +136 -0
- package/dist/coordination/database.js.map +1 -0
- package/dist/coordination/deploy-batcher.d.ts +122 -0
- package/dist/coordination/deploy-batcher.d.ts.map +1 -0
- package/dist/coordination/deploy-batcher.js +718 -0
- package/dist/coordination/deploy-batcher.js.map +1 -0
- package/dist/coordination/droid-validator.d.ts +59 -0
- package/dist/coordination/droid-validator.d.ts.map +1 -0
- package/dist/coordination/droid-validator.js +142 -0
- package/dist/coordination/droid-validator.js.map +1 -0
- package/dist/coordination/index.d.ts +10 -0
- package/dist/coordination/index.d.ts.map +1 -0
- package/dist/coordination/index.js +10 -0
- package/dist/coordination/index.js.map +1 -0
- package/dist/coordination/pattern-router.d.ts +50 -0
- package/dist/coordination/pattern-router.d.ts.map +1 -0
- package/dist/coordination/pattern-router.js +118 -0
- package/dist/coordination/pattern-router.js.map +1 -0
- package/dist/coordination/service.d.ts +81 -0
- package/dist/coordination/service.d.ts.map +1 -0
- package/dist/coordination/service.js +619 -0
- package/dist/coordination/service.js.map +1 -0
- package/dist/coordination/worktree-enforcer.d.ts +22 -0
- package/dist/coordination/worktree-enforcer.d.ts.map +1 -0
- package/dist/coordination/worktree-enforcer.js +71 -0
- package/dist/coordination/worktree-enforcer.js.map +1 -0
- package/dist/generators/claude-md.d.ts +3 -0
- package/dist/generators/claude-md.d.ts.map +1 -0
- package/dist/generators/claude-md.js +1020 -0
- package/dist/generators/claude-md.js.map +1 -0
- package/dist/generators/template-loader.d.ts +105 -0
- package/dist/generators/template-loader.d.ts.map +1 -0
- package/dist/generators/template-loader.js +291 -0
- package/dist/generators/template-loader.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +63 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp-router/config/parser.d.ts +9 -0
- package/dist/mcp-router/config/parser.d.ts.map +1 -0
- package/dist/mcp-router/config/parser.js +174 -0
- package/dist/mcp-router/config/parser.js.map +1 -0
- package/dist/mcp-router/executor/client.d.ts +31 -0
- package/dist/mcp-router/executor/client.d.ts.map +1 -0
- package/dist/mcp-router/executor/client.js +189 -0
- package/dist/mcp-router/executor/client.js.map +1 -0
- package/dist/mcp-router/index.d.ts +22 -0
- package/dist/mcp-router/index.d.ts.map +1 -0
- package/dist/mcp-router/index.js +18 -0
- package/dist/mcp-router/index.js.map +1 -0
- package/dist/mcp-router/output-compressor.d.ts +26 -0
- package/dist/mcp-router/output-compressor.d.ts.map +1 -0
- package/dist/mcp-router/output-compressor.js +236 -0
- package/dist/mcp-router/output-compressor.js.map +1 -0
- package/dist/mcp-router/search/fuzzy.d.ts +26 -0
- package/dist/mcp-router/search/fuzzy.d.ts.map +1 -0
- package/dist/mcp-router/search/fuzzy.js +94 -0
- package/dist/mcp-router/search/fuzzy.js.map +1 -0
- package/dist/mcp-router/server.d.ts +50 -0
- package/dist/mcp-router/server.d.ts.map +1 -0
- package/dist/mcp-router/server.js +229 -0
- package/dist/mcp-router/server.js.map +1 -0
- package/dist/mcp-router/session-stats.d.ts +37 -0
- package/dist/mcp-router/session-stats.d.ts.map +1 -0
- package/dist/mcp-router/session-stats.js +56 -0
- package/dist/mcp-router/session-stats.js.map +1 -0
- package/dist/mcp-router/tools/discover.d.ts +37 -0
- package/dist/mcp-router/tools/discover.d.ts.map +1 -0
- package/dist/mcp-router/tools/discover.js +65 -0
- package/dist/mcp-router/tools/discover.js.map +1 -0
- package/dist/mcp-router/tools/execute.d.ts +43 -0
- package/dist/mcp-router/tools/execute.d.ts.map +1 -0
- package/dist/mcp-router/tools/execute.js +144 -0
- package/dist/mcp-router/tools/execute.js.map +1 -0
- package/dist/mcp-router/types.d.ts +62 -0
- package/dist/mcp-router/types.d.ts.map +1 -0
- package/dist/mcp-router/types.js +6 -0
- package/dist/mcp-router/types.js.map +1 -0
- package/dist/memory/adaptive-context.d.ts +149 -0
- package/dist/memory/adaptive-context.d.ts.map +1 -0
- package/dist/memory/adaptive-context.js +1095 -0
- package/dist/memory/adaptive-context.js.map +1 -0
- package/dist/memory/agent-scoped-memory.d.ts +67 -0
- package/dist/memory/agent-scoped-memory.d.ts.map +1 -0
- package/dist/memory/agent-scoped-memory.js +126 -0
- package/dist/memory/agent-scoped-memory.js.map +1 -0
- package/dist/memory/ambiguity-detector.d.ts +54 -0
- package/dist/memory/ambiguity-detector.d.ts.map +1 -0
- package/dist/memory/ambiguity-detector.js +401 -0
- package/dist/memory/ambiguity-detector.js.map +1 -0
- package/dist/memory/backends/base.d.ts +18 -0
- package/dist/memory/backends/base.d.ts.map +1 -0
- package/dist/memory/backends/base.js +2 -0
- package/dist/memory/backends/base.js.map +1 -0
- package/dist/memory/backends/factory.d.ts +4 -0
- package/dist/memory/backends/factory.d.ts.map +1 -0
- package/dist/memory/backends/factory.js +53 -0
- package/dist/memory/backends/factory.js.map +1 -0
- package/dist/memory/backends/github.d.ts +27 -0
- package/dist/memory/backends/github.d.ts.map +1 -0
- package/dist/memory/backends/github.js +134 -0
- package/dist/memory/backends/github.js.map +1 -0
- package/dist/memory/backends/qdrant-cloud.d.ts +32 -0
- package/dist/memory/backends/qdrant-cloud.d.ts.map +1 -0
- package/dist/memory/backends/qdrant-cloud.js +167 -0
- package/dist/memory/backends/qdrant-cloud.js.map +1 -0
- package/dist/memory/context-compressor.d.ts +116 -0
- package/dist/memory/context-compressor.d.ts.map +1 -0
- package/dist/memory/context-compressor.js +430 -0
- package/dist/memory/context-compressor.js.map +1 -0
- package/dist/memory/context-pruner.d.ts +55 -0
- package/dist/memory/context-pruner.d.ts.map +1 -0
- package/dist/memory/context-pruner.js +85 -0
- package/dist/memory/context-pruner.js.map +1 -0
- package/dist/memory/correction-propagator.d.ts +44 -0
- package/dist/memory/correction-propagator.d.ts.map +1 -0
- package/dist/memory/correction-propagator.js +156 -0
- package/dist/memory/correction-propagator.js.map +1 -0
- package/dist/memory/daily-log.d.ts +67 -0
- package/dist/memory/daily-log.d.ts.map +1 -0
- package/dist/memory/daily-log.js +143 -0
- package/dist/memory/daily-log.js.map +1 -0
- package/dist/memory/dynamic-retrieval.d.ts +112 -0
- package/dist/memory/dynamic-retrieval.d.ts.map +1 -0
- package/dist/memory/dynamic-retrieval.js +908 -0
- package/dist/memory/dynamic-retrieval.js.map +1 -0
- package/dist/memory/embeddings.d.ts +172 -0
- package/dist/memory/embeddings.d.ts.map +1 -0
- package/dist/memory/embeddings.js +780 -0
- package/dist/memory/embeddings.js.map +1 -0
- package/dist/memory/generic-uap-patterns.d.ts +7 -0
- package/dist/memory/generic-uap-patterns.d.ts.map +1 -0
- package/dist/memory/generic-uap-patterns.js +43 -0
- package/dist/memory/generic-uap-patterns.js.map +1 -0
- package/dist/memory/hierarchical-memory.d.ts +141 -0
- package/dist/memory/hierarchical-memory.d.ts.map +1 -0
- package/dist/memory/hierarchical-memory.js +485 -0
- package/dist/memory/hierarchical-memory.js.map +1 -0
- package/dist/memory/knowledge-graph.d.ts +98 -0
- package/dist/memory/knowledge-graph.d.ts.map +1 -0
- package/dist/memory/knowledge-graph.js +275 -0
- package/dist/memory/knowledge-graph.js.map +1 -0
- package/dist/memory/memory-consolidator.d.ts +124 -0
- package/dist/memory/memory-consolidator.d.ts.map +1 -0
- package/dist/memory/memory-consolidator.js +514 -0
- package/dist/memory/memory-consolidator.js.map +1 -0
- package/dist/memory/memory-maintenance.d.ts +39 -0
- package/dist/memory/memory-maintenance.d.ts.map +1 -0
- package/dist/memory/memory-maintenance.js +336 -0
- package/dist/memory/memory-maintenance.js.map +1 -0
- package/dist/memory/model-router.d.ts +105 -0
- package/dist/memory/model-router.d.ts.map +1 -0
- package/dist/memory/model-router.js +474 -0
- package/dist/memory/model-router.js.map +1 -0
- package/dist/memory/multi-view-memory.d.ts +134 -0
- package/dist/memory/multi-view-memory.d.ts.map +1 -0
- package/dist/memory/multi-view-memory.js +430 -0
- package/dist/memory/multi-view-memory.js.map +1 -0
- package/dist/memory/predictive-memory.d.ts +79 -0
- package/dist/memory/predictive-memory.d.ts.map +1 -0
- package/dist/memory/predictive-memory.js +294 -0
- package/dist/memory/predictive-memory.js.map +1 -0
- package/dist/memory/prepopulate.d.ts +76 -0
- package/dist/memory/prepopulate.d.ts.map +1 -0
- package/dist/memory/prepopulate.js +832 -0
- package/dist/memory/prepopulate.js.map +1 -0
- package/dist/memory/semantic-compression.d.ts +77 -0
- package/dist/memory/semantic-compression.d.ts.map +1 -0
- package/dist/memory/semantic-compression.js +359 -0
- package/dist/memory/semantic-compression.js.map +1 -0
- package/dist/memory/serverless-qdrant.d.ts +102 -0
- package/dist/memory/serverless-qdrant.d.ts.map +1 -0
- package/dist/memory/serverless-qdrant.js +369 -0
- package/dist/memory/serverless-qdrant.js.map +1 -0
- package/dist/memory/short-term/factory.d.ts +26 -0
- package/dist/memory/short-term/factory.d.ts.map +1 -0
- package/dist/memory/short-term/factory.js +28 -0
- package/dist/memory/short-term/factory.js.map +1 -0
- package/dist/memory/short-term/indexeddb.d.ts +25 -0
- package/dist/memory/short-term/indexeddb.d.ts.map +1 -0
- package/dist/memory/short-term/indexeddb.js +64 -0
- package/dist/memory/short-term/indexeddb.js.map +1 -0
- package/dist/memory/short-term/schema.d.ts +6 -0
- package/dist/memory/short-term/schema.d.ts.map +1 -0
- package/dist/memory/short-term/schema.js +141 -0
- package/dist/memory/short-term/schema.js.map +1 -0
- package/dist/memory/short-term/sqlite.d.ts +64 -0
- package/dist/memory/short-term/sqlite.d.ts.map +1 -0
- package/dist/memory/short-term/sqlite.js +274 -0
- package/dist/memory/short-term/sqlite.js.map +1 -0
- package/dist/memory/speculative-cache.d.ts +111 -0
- package/dist/memory/speculative-cache.d.ts.map +1 -0
- package/dist/memory/speculative-cache.js +457 -0
- package/dist/memory/speculative-cache.js.map +1 -0
- package/dist/memory/task-classifier.d.ts +40 -0
- package/dist/memory/task-classifier.d.ts.map +1 -0
- package/dist/memory/task-classifier.js +342 -0
- package/dist/memory/task-classifier.js.map +1 -0
- package/dist/memory/terminal-bench-knowledge.d.ts +48 -0
- package/dist/memory/terminal-bench-knowledge.d.ts.map +1 -0
- package/dist/memory/terminal-bench-knowledge.js +622 -0
- package/dist/memory/terminal-bench-knowledge.js.map +1 -0
- package/dist/memory/write-gate.d.ts +39 -0
- package/dist/memory/write-gate.d.ts.map +1 -0
- package/dist/memory/write-gate.js +190 -0
- package/dist/memory/write-gate.js.map +1 -0
- package/dist/models/api-client.d.ts +46 -0
- package/dist/models/api-client.d.ts.map +1 -0
- package/dist/models/api-client.js +182 -0
- package/dist/models/api-client.js.map +1 -0
- package/dist/models/execution-profiles.d.ts +64 -0
- package/dist/models/execution-profiles.d.ts.map +1 -0
- package/dist/models/execution-profiles.js +403 -0
- package/dist/models/execution-profiles.js.map +1 -0
- package/dist/models/executor.d.ts +130 -0
- package/dist/models/executor.d.ts.map +1 -0
- package/dist/models/executor.js +382 -0
- package/dist/models/executor.js.map +1 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +23 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/plan-validator.d.ts +37 -0
- package/dist/models/plan-validator.d.ts.map +1 -0
- package/dist/models/plan-validator.js +179 -0
- package/dist/models/plan-validator.js.map +1 -0
- package/dist/models/planner.d.ts +73 -0
- package/dist/models/planner.d.ts.map +1 -0
- package/dist/models/planner.js +375 -0
- package/dist/models/planner.js.map +1 -0
- package/dist/models/router.d.ts +96 -0
- package/dist/models/router.d.ts.map +1 -0
- package/dist/models/router.js +523 -0
- package/dist/models/router.js.map +1 -0
- package/dist/models/types.d.ts +370 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/models/types.js +232 -0
- package/dist/models/types.js.map +1 -0
- package/dist/models/unified-router.d.ts +152 -0
- package/dist/models/unified-router.d.ts.map +1 -0
- package/dist/models/unified-router.js +313 -0
- package/dist/models/unified-router.js.map +1 -0
- package/dist/policies/convert-policy-to-claude.d.ts +3 -0
- package/dist/policies/convert-policy-to-claude.d.ts.map +1 -0
- package/dist/policies/convert-policy-to-claude.js +87 -0
- package/dist/policies/convert-policy-to-claude.js.map +1 -0
- package/dist/policies/database-manager.d.ts +27 -0
- package/dist/policies/database-manager.d.ts.map +1 -0
- package/dist/policies/database-manager.js +198 -0
- package/dist/policies/database-manager.js.map +1 -0
- package/dist/policies/enforced-tool-router.d.ts +53 -0
- package/dist/policies/enforced-tool-router.d.ts.map +1 -0
- package/dist/policies/enforced-tool-router.js +80 -0
- package/dist/policies/enforced-tool-router.js.map +1 -0
- package/dist/policies/index.d.ts +10 -0
- package/dist/policies/index.d.ts.map +1 -0
- package/dist/policies/index.js +8 -0
- package/dist/policies/index.js.map +1 -0
- package/dist/policies/policy-gate.d.ts +59 -0
- package/dist/policies/policy-gate.d.ts.map +1 -0
- package/dist/policies/policy-gate.js +171 -0
- package/dist/policies/policy-gate.js.map +1 -0
- package/dist/policies/policy-memory.d.ts +18 -0
- package/dist/policies/policy-memory.d.ts.map +1 -0
- package/dist/policies/policy-memory.js +126 -0
- package/dist/policies/policy-memory.js.map +1 -0
- package/dist/policies/policy-tools.d.ts +11 -0
- package/dist/policies/policy-tools.d.ts.map +1 -0
- package/dist/policies/policy-tools.js +66 -0
- package/dist/policies/policy-tools.js.map +1 -0
- package/dist/policies/schemas/policy.d.ts +69 -0
- package/dist/policies/schemas/policy.d.ts.map +1 -0
- package/dist/policies/schemas/policy.js +31 -0
- package/dist/policies/schemas/policy.js.map +1 -0
- package/dist/tasks/coordination.d.ts +83 -0
- package/dist/tasks/coordination.d.ts.map +1 -0
- package/dist/tasks/coordination.js +291 -0
- package/dist/tasks/coordination.js.map +1 -0
- package/dist/tasks/database.d.ts +19 -0
- package/dist/tasks/database.d.ts.map +1 -0
- package/dist/tasks/database.js +149 -0
- package/dist/tasks/database.js.map +1 -0
- package/dist/tasks/decoder-gate.d.ts +64 -0
- package/dist/tasks/decoder-gate.d.ts.map +1 -0
- package/dist/tasks/decoder-gate.js +268 -0
- package/dist/tasks/decoder-gate.js.map +1 -0
- package/dist/tasks/index.d.ts +6 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/index.js +6 -0
- package/dist/tasks/index.js.map +1 -0
- package/dist/tasks/service.d.ts +40 -0
- package/dist/tasks/service.d.ts.map +1 -0
- package/dist/tasks/service.js +671 -0
- package/dist/tasks/service.js.map +1 -0
- package/dist/tasks/types.d.ts +238 -0
- package/dist/tasks/types.d.ts.map +1 -0
- package/dist/tasks/types.js +74 -0
- package/dist/tasks/types.js.map +1 -0
- package/dist/telemetry/index.d.ts +2 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +2 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/session-telemetry.d.ts +56 -0
- package/dist/telemetry/session-telemetry.d.ts.map +1 -0
- package/dist/telemetry/session-telemetry.js +807 -0
- package/dist/telemetry/session-telemetry.js.map +1 -0
- package/dist/types/analysis.d.ts +82 -0
- package/dist/types/analysis.d.ts.map +1 -0
- package/dist/types/analysis.js +2 -0
- package/dist/types/analysis.js.map +1 -0
- package/dist/types/config.d.ts +3324 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +418 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/coordination.d.ts +240 -0
- package/dist/types/coordination.d.ts.map +1 -0
- package/dist/types/coordination.js +43 -0
- package/dist/types/coordination.js.map +1 -0
- package/dist/types/index.d.ts +4 -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/uap-droids-strict.d.ts +59 -0
- package/dist/uap-droids-strict.d.ts.map +1 -0
- package/dist/uap-droids-strict.js +200 -0
- package/dist/uap-droids-strict.js.map +1 -0
- package/dist/utils/config-manager.d.ts +30 -0
- package/dist/utils/config-manager.d.ts.map +1 -0
- package/dist/utils/config-manager.js +41 -0
- package/dist/utils/config-manager.js.map +1 -0
- package/dist/utils/fetch-with-retry.d.ts +5 -0
- package/dist/utils/fetch-with-retry.d.ts.map +1 -0
- package/dist/utils/fetch-with-retry.js +61 -0
- package/dist/utils/fetch-with-retry.js.map +1 -0
- package/dist/utils/merge-claude-md.d.ts +28 -0
- package/dist/utils/merge-claude-md.d.ts.map +1 -0
- package/dist/utils/merge-claude-md.js +342 -0
- package/dist/utils/merge-claude-md.js.map +1 -0
- package/dist/utils/rate-limiter.d.ts +58 -0
- package/dist/utils/rate-limiter.d.ts.map +1 -0
- package/dist/utils/rate-limiter.js +100 -0
- package/dist/utils/rate-limiter.js.map +1 -0
- package/dist/utils/string-similarity.d.ts +37 -0
- package/dist/utils/string-similarity.d.ts.map +1 -0
- package/dist/utils/string-similarity.js +114 -0
- package/dist/utils/string-similarity.js.map +1 -0
- package/dist/utils/validate-json.d.ts +51 -0
- package/dist/utils/validate-json.d.ts.map +1 -0
- package/dist/utils/validate-json.js +94 -0
- package/dist/utils/validate-json.js.map +1 -0
- package/docs/INDEX.md +66 -0
- package/docs/architecture/MULTI_MODEL.md +224 -0
- package/docs/architecture/SYSTEM_ANALYSIS.md +1117 -0
- package/docs/architecture/UAP_COMPLIANCE.md +217 -0
- package/docs/architecture/UAP_PROTOCOL.md +339 -0
- package/docs/architecture/UAP_STRICT_DROIDS.md +172 -0
- package/docs/archive/BALLS_MODE_SELF_ANALYSIS.md +260 -0
- package/docs/archive/FAILING_TASKS_SOLUTION_PLAN.md +668 -0
- package/docs/archive/JINJA2-SYSTEM-MESSAGE-FIX.md +209 -0
- package/docs/archive/NPM-PUBLISH-V0.9.1.md +240 -0
- package/docs/archive/OPTIMIZATION_OPTIONS.md +334 -0
- package/docs/archive/SETUP_IMPROVEMENTS.md +213 -0
- package/docs/archive/UAP_GENERIC_OPTIMIZATION_PLAN.md +270 -0
- package/docs/archive/UAP_V103_PATTERN_DESIGN.md +315 -0
- package/docs/archive/UAP_V104_COMPLIANCE_DESIGN.md +223 -0
- package/docs/archive/changelog/2026-03-10_uap-100-compliance.md +77 -0
- package/docs/archive/changelog/2026-03-10_uap-full-system-verification.md +109 -0
- package/docs/benchmarks/ACCURACY_ANALYSIS.md +471 -0
- package/docs/benchmarks/TOKEN_OPTIMIZATION.md +572 -0
- package/docs/benchmarks/VALIDATION_PLAN.md +568 -0
- package/docs/benchmarks/VALIDATION_RESULTS.md +161 -0
- package/docs/deployment/DEPLOYMENT.md +895 -0
- package/docs/deployment/DEPLOYMENT_STRATEGIES.md +518 -0
- package/docs/deployment/DEPLOY_BATCHER_ANALYSIS.md +856 -0
- package/docs/deployment/DEPLOY_BATCHING.md +273 -0
- package/docs/deployment/DEPLOY_BUCKETING_ANALYSIS.md +420 -0
- package/docs/deployment/QWEN35_LLAMA_CPP.md +265 -0
- package/docs/getting-started/INTEGRATION.md +449 -0
- package/docs/getting-started/OVERVIEW.md +344 -0
- package/docs/getting-started/SETUP.md +203 -0
- package/docs/integrations/MCP_ROUTER_SETUP.md +445 -0
- package/docs/integrations/RTK_INTEGRATION.md +468 -0
- package/docs/operations/TROUBLESHOOTING.md +660 -0
- package/docs/reference/API_REFERENCE.md +903 -0
- package/docs/reference/FEATURES.md +472 -0
- package/docs/reference/HARNESS-MATRIX.md +318 -0
- package/docs/reference/UAP_CLI_REFERENCE.md +600 -0
- package/docs/research/BEHAVIORAL_PATTERNS.md +228 -0
- package/docs/research/DOMAIN_STRATEGIES.md +316 -0
- package/docs/research/MEMORY_SYSTEMS_COMPARISON.md +812 -0
- package/docs/research/PATTERN_ANALYSIS_2026-01-18.md +436 -0
- package/docs/research/PERFORMANCE_ANALYSIS_2026-01-18.md +209 -0
- package/docs/research/PERFORMANCE_TEST_PLAN.md +383 -0
- package/docs/research/TERMINAL_BENCH_LEARNINGS.md +217 -0
- package/package.json +113 -0
- package/scripts/README.md +161 -0
- package/templates/CLAUDE.template.md +10 -0
- package/templates/CLAUDE_ARCHITECTURE.template.md +103 -0
- package/templates/CLAUDE_CODING.template.md +127 -0
- package/templates/CLAUDE_DROIDS.template.md +109 -0
- package/templates/CLAUDE_MEMORY.template.md +131 -0
- package/templates/CLAUDE_WORKFLOWS.template.md +139 -0
- package/templates/PROJECT.template.md +209 -0
- package/templates/SCHEMA.md +57 -0
- package/templates/archive/CLAUDE.template.root-v6.md +534 -0
- package/templates/archive/CLAUDE.template.v6.md +534 -0
- package/templates/hooks/forgecode/pre-compact.sh +68 -0
- package/templates/hooks/forgecode/session-start.sh +169 -0
- package/templates/hooks/forgecode.plugin.sh +128 -0
- package/templates/hooks/pre-compact.sh +74 -0
- package/templates/hooks/session-start.sh +366 -0
- package/tools/agents/README.md +224 -0
- package/tools/agents/UAP/README.md +386 -0
- package/tools/agents/UAP/__init__.py +9 -0
- package/tools/agents/UAP/cli.py +901 -0
- package/tools/agents/UAP/compliance_verify.sh +108 -0
- package/tools/agents/UAP/full_verification.sh +126 -0
- package/tools/agents/UAP/version.py +32 -0
- package/tools/agents/benchmarks/benchmark_memory_systems.py +730 -0
- package/tools/agents/benchmarks/results/benchmark_20260106_064817.json +170 -0
- package/tools/agents/benchmarks/results/benchmark_20260106_064817.md +51 -0
- package/tools/agents/config/chat_template.jinja +77 -0
- package/tools/agents/config/tool-call-schema.json +19 -0
- package/tools/agents/config/tool-call.gbnf +58 -0
- package/tools/agents/docker/Dockerfile.python +52 -0
- package/tools/agents/docker/Dockerfile.ubuntu +55 -0
- package/tools/agents/docker-compose.qdrant.yml +24 -0
- package/tools/agents/install-opencode-local.sh.j2 +135 -0
- package/tools/agents/migrations/apply.py +256 -0
- package/tools/agents/opencode_uap_agent.py +1505 -0
- package/tools/agents/plugin/README.md +91 -0
- package/tools/agents/plugin/index.ts +46 -0
- package/tools/agents/plugin/pre-compact.sh +68 -0
- package/tools/agents/plugin/session-start.sh +175 -0
- package/tools/agents/plugin/uap-commands.ts +45 -0
- package/tools/agents/plugin/uap-droids.ts +54 -0
- package/tools/agents/plugin/uap-patterns.ts +54 -0
- package/tools/agents/plugin/uap-skills.ts +52 -0
- package/tools/agents/plugins/uap-enforce.ts +314 -0
- package/tools/agents/scripts/__pycache__/tool_call_wrapper.cpython-313.pyc +0 -0
- package/tools/agents/scripts/chat_template_verifier.py +343 -0
- package/tools/agents/scripts/fix-qwen-template.js +38 -0
- package/tools/agents/scripts/fix_qwen_chat_template.py +316 -0
- package/tools/agents/scripts/generate_lora_training_data.py +412 -0
- package/tools/agents/scripts/init_qdrant.py +151 -0
- package/tools/agents/scripts/memory_migration.py +560 -0
- package/tools/agents/scripts/migrate_memory_to_qdrant.py +110 -0
- package/tools/agents/scripts/prepare_lora.sh +512 -0
- package/tools/agents/scripts/query_memory.py +200 -0
- package/tools/agents/scripts/qwen-tool-call-test.js +38 -0
- package/tools/agents/scripts/qwen-tool-call-wrapper.js +38 -0
- package/tools/agents/scripts/qwen_tool_call_test.py +464 -0
- package/tools/agents/scripts/qwen_tool_call_wrapper.py +686 -0
- package/tools/agents/scripts/start-services.sh +96 -0
- package/tools/agents/scripts/tool-choice-proxy.cjs +296 -0
- package/tools/agents/scripts/tool_call_test.py +656 -0
- package/tools/agents/scripts/tool_call_wrapper.py +799 -0
- package/tools/agents/tests/test_uap_compliance.py +257 -0
- package/tools/agents/uap_agent.py +122 -0
- package/tools/agents/uap_agent_install.sh +12 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
# UAP Harness Feature Matrix
|
|
2
|
+
|
|
3
|
+
**Version:** 1.1.0 | **Last Updated:** 2026-03-15 | **Status:** Production Ready
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Executive Summary
|
|
8
|
+
|
|
9
|
+
AI coding harnesses -- Claude Code, Cursor, Cline, Aider, and others -- are stateless code editors. They read files, run commands, and forget everything when the session ends. UAP turns any of them into a persistent, coordinated agent platform.
|
|
10
|
+
|
|
11
|
+
**What UAP adds to every harness, and why:**
|
|
12
|
+
|
|
13
|
+
- **4-layer persistent memory (L1-L4)** -- agents retain lessons, decisions, and corrections across sessions instead of re-discovering the same things
|
|
14
|
+
- **Write gate with 5-criteria scoring** -- prevents memory pollution; only behavioral changes, commitments, decisions, stable facts, and explicit requests are stored
|
|
15
|
+
- **Hot/warm/cold memory tiering** -- keeps the 10 most relevant memories in context at <1ms, promotes on access, so agents always have the right knowledge without token bloat
|
|
16
|
+
- **22 battle-tested patterns** -- Terminal-Bench 2.0 workflows that eliminate the 37% of agent failures caused by missing outputs, wrong formats, and skipped verification
|
|
17
|
+
- **Pattern RAG via Qdrant** -- injects only relevant patterns on demand, saving ~12K tokens per session versus loading all patterns upfront
|
|
18
|
+
- **Git worktree isolation** -- each agent gets its own worktree (`001-feature`, `002-bugfix`), so parallel agents never corrupt shared state
|
|
19
|
+
- **Multi-agent coordination** -- heartbeats, overlap detection, conflict risk levels (`none` through `critical`), and exclusive claims let 2-10+ agents work the same repo safely
|
|
20
|
+
- **Deploy batching** -- squashes commits and serializes pushes so multiple agents finishing simultaneously don't cause push races or deploy storms
|
|
21
|
+
- **Policy enforcement with audit trail** -- required/recommended/optional rules block or log violations, with every check recorded for compliance review
|
|
22
|
+
- **Task DAG management** -- dependency-aware task tracking with cycle detection, JSONL sync for git versioning, and automatic next-task suggestion
|
|
23
|
+
- **Multi-model routing** -- classifies subtasks by complexity and routes to the optimal model across 6 presets, reducing cost without sacrificing quality
|
|
24
|
+
- **MCP Router** -- replaces N tool definitions with 2 meta-tools, cutting system prompt tokens by 98% (from ~12K to ~200)
|
|
25
|
+
- **RTK (Rust Token Killer)** -- compresses command output by 60-90%, so agents spend tokens on reasoning instead of parsing verbose logs
|
|
26
|
+
- **12-gate compliance checking** -- automated protocol verification catches configuration drift, missing hooks, and policy gaps before they ship
|
|
27
|
+
- **20+ CLI commands with dashboard** -- full system management from the terminal, including 6 sub-dashboards for memory, coordination, tasks, patterns, models, and deploy status
|
|
28
|
+
|
|
29
|
+
**The bottom line:** no harness provides any of these capabilities natively. UAP delivers them uniformly across all 15 supported harnesses. The only difference between harnesses is integration depth (native hooks vs. context-file passthrough), not feature availability.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Table of Contents
|
|
34
|
+
|
|
35
|
+
1. [Supported Harnesses](#1-supported-harnesses)
|
|
36
|
+
2. [Baseline Feature Matrix](#2-baseline-feature-matrix)
|
|
37
|
+
3. [UAP-Enhanced Feature Matrix](#3-uap-enhanced-feature-matrix)
|
|
38
|
+
4. [Integration Tiers](#4-integration-tiers)
|
|
39
|
+
5. [Per-Harness Integration Method](#5-per-harness-integration-method)
|
|
40
|
+
6. [The UAP Delta](#6-the-uap-delta)
|
|
41
|
+
7. [Feature Flags](#7-feature-flags)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 1. Supported Harnesses
|
|
46
|
+
|
|
47
|
+
UAP supports **15 harnesses** organized into 4 tiers by integration depth.
|
|
48
|
+
|
|
49
|
+
| Tier | Harnesses | Integration Depth |
|
|
50
|
+
| ---------------------- | -------------------------------------------- | ----------------------------------------------------------------------- |
|
|
51
|
+
| **T1 -- First-Class** | Claude Code, Factory.AI, OpenCode, ForgeCode | Native hooks, dedicated config dir, `uap sync`, context file generation |
|
|
52
|
+
| **T2 -- IDE-Based** | Cursor, VSCode, Cline | Platform-specific hooks, MCP config paths |
|
|
53
|
+
| **T3 -- CLI/Terminal** | Codex CLI, Aider, Windsurf, Zed AI, Continue | Mapped to T1/T2 via CLAUDE.md or .cursorrules |
|
|
54
|
+
| **T4 -- Additional** | GitHub Copilot, JetBrains AI, SWE-agent | Piggybacks on T2 infrastructure |
|
|
55
|
+
|
|
56
|
+
<details>
|
|
57
|
+
<summary>Harness-to-platform mapping details</summary>
|
|
58
|
+
|
|
59
|
+
### Tier 1 -- First-Class
|
|
60
|
+
|
|
61
|
+
| Harness | Platform Mapping | Hook Target | Config Directory |
|
|
62
|
+
| ----------- | ---------------- | ----------- | ---------------- |
|
|
63
|
+
| Claude Code | `claude` | `claude` | `.claude/` |
|
|
64
|
+
| Factory.AI | `factory` | `factory` | `.factory/` |
|
|
65
|
+
| OpenCode | `opencode` | `opencode` | `.opencode/` |
|
|
66
|
+
| ForgeCode | `opencode` | `forgecode` | `.forge/` |
|
|
67
|
+
|
|
68
|
+
### Tier 2 -- IDE-Based
|
|
69
|
+
|
|
70
|
+
| Harness | Platform Mapping | Hook Target |
|
|
71
|
+
| ------- | ---------------- | ----------- |
|
|
72
|
+
| Cursor | `vscode` | `cursor` |
|
|
73
|
+
| VSCode | `vscode` | `vscode` |
|
|
74
|
+
| Cline | `vscode` | `vscode` |
|
|
75
|
+
|
|
76
|
+
### Tier 3 -- CLI/Terminal Agents
|
|
77
|
+
|
|
78
|
+
| Harness | Platform Mapping | Hook Target |
|
|
79
|
+
| --------- | ---------------- | ----------- |
|
|
80
|
+
| Codex CLI | `claude` | `claude` |
|
|
81
|
+
| Aider | `claude` | `claude` |
|
|
82
|
+
| Windsurf | `vscode` | `cursor` |
|
|
83
|
+
| Zed AI | `claude` | `claude` |
|
|
84
|
+
| Continue | `vscode` | `vscode` |
|
|
85
|
+
|
|
86
|
+
### Tier 4 -- Additional Integrations
|
|
87
|
+
|
|
88
|
+
| Harness | Platform Mapping | Hook Target |
|
|
89
|
+
| -------------- | ---------------- | ----------- |
|
|
90
|
+
| GitHub Copilot | `vscode` | `vscode` |
|
|
91
|
+
| JetBrains AI | `vscode` | `vscode` |
|
|
92
|
+
| SWE-agent | `claude` | `claude` |
|
|
93
|
+
|
|
94
|
+
</details>
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 2. Baseline Feature Matrix
|
|
99
|
+
|
|
100
|
+
What each harness provides **natively, without UAP**.
|
|
101
|
+
|
|
102
|
+
| Feature | Claude Code | Factory.AI | OpenCode | ForgeCode | Cursor | VSCode | Cline | Windsurf | Codex CLI | Aider | Zed AI | Copilot | JetBrains | SWE-agent | Continue |
|
|
103
|
+
| ---------------------------- | :---------: | :--------: | :--------: | :-------------: | :----------: | :-----: | :---------: | :------------: | :-------: | :------: | :----: | :-----: | :-------: | :-------: | :------: |
|
|
104
|
+
| **Runtime** | CLI | CLI | CLI | ZSH | IDE | IDE | IDE ext | IDE | CLI | CLI | IDE | IDE ext | IDE ext | CLI | IDE ext |
|
|
105
|
+
| **File system + terminal** | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
106
|
+
| **Context file** | CLAUDE.md | PROJECT.md | -- | -- | .cursorrules | -- | .clinerules | .windsurfrules | -- | .aider\* | -- | -- | -- | -- | -- |
|
|
107
|
+
| **Native hooks** | Yes | Yes | Plugin API | ZSH hooks | hooks.json | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
108
|
+
| **MCP support** | Native | Native | Config | -- | Native | Via ext | Via ext | Via ext | -- | -- | -- | -- | -- | -- | Via ext |
|
|
109
|
+
| **Persistent sessions** | Yes | Yes | Yes | ZSH env | Limited | Limited | Limited | Limited | -- | -- | -- | Limited | Limited | -- | Limited |
|
|
110
|
+
| **Multi-agent modes** | -- | -- | -- | FORGE/MUSE/SAGE | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
111
|
+
| **Local LLM support** | -- | -- | Native | Yes | Yes | Via ext | Yes | Yes | -- | Yes | -- | -- | -- | -- | Yes |
|
|
112
|
+
| **Persistent memory** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
113
|
+
| **Cross-session memory** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
114
|
+
| **Semantic search** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
115
|
+
| **Knowledge graph** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
116
|
+
| **Pattern library** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
117
|
+
| **Worktree isolation** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
118
|
+
| **Multi-agent coordination** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
119
|
+
| **Deploy batching** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
120
|
+
| **Policy enforcement** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
121
|
+
| **Task DAG management** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
122
|
+
| **Model routing** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
123
|
+
| **Compliance checking** | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
|
|
124
|
+
|
|
125
|
+
The bottom 12 rows are empty across every column. No harness provides them. This is the gap UAP fills.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 3. UAP-Enhanced Feature Matrix
|
|
130
|
+
|
|
131
|
+
What each harness gains **after `uap init`**. Every feature below is delivered uniformly by UAP.
|
|
132
|
+
|
|
133
|
+
| Capability | Why It Matters | All 15 Harnesses |
|
|
134
|
+
| ---------------------------------- | ------------------------------------------------ | :--------------: |
|
|
135
|
+
| **4-layer memory (L1-L4)** | Agents remember across sessions | Yes |
|
|
136
|
+
| **Write gate** | Only high-value knowledge stored, no noise | Yes |
|
|
137
|
+
| **Memory tiering (hot/warm/cold)** | Right knowledge at right time, minimal tokens | Yes |
|
|
138
|
+
| **Correction propagation** | Fix a memory once, corrected everywhere | Yes |
|
|
139
|
+
| **Agent-scoped memory** | Per-agent isolation with explicit sharing | Yes |
|
|
140
|
+
| **22 patterns** | Proven workflows prevent 37% of common failures | Yes |
|
|
141
|
+
| **Pattern RAG** | ~12K token savings per session | Yes |
|
|
142
|
+
| **Worktree isolation** | Parallel agents, zero git conflicts | Yes |
|
|
143
|
+
| **Multi-agent coordination** | Heartbeats, overlap detection, conflict risk | Yes |
|
|
144
|
+
| **Deploy batching** | No push races, squashed commits | Yes |
|
|
145
|
+
| **Policy engine** | Audit-trailed rule enforcement | Yes |
|
|
146
|
+
| **Task DAG** | Dependency-aware tracking with cycle detection | Yes |
|
|
147
|
+
| **Model router** | Right model for each subtask, lower cost | Yes |
|
|
148
|
+
| **MCP Router** | 98% system prompt token reduction | Yes |
|
|
149
|
+
| **RTK compression** | 60-90% output token savings | Yes |
|
|
150
|
+
| **12-gate compliance** | Automated protocol verification | Yes |
|
|
151
|
+
| **Droid system** | Specialized expert agents (security, perf, docs) | Yes |
|
|
152
|
+
| **20+ CLI commands** | Full management + 6 dashboards | Yes |
|
|
153
|
+
|
|
154
|
+
<details>
|
|
155
|
+
<summary>Full per-harness breakdown with tier and hook target</summary>
|
|
156
|
+
|
|
157
|
+
| UAP Feature | Claude Code | Factory.AI | OpenCode | ForgeCode | Cursor | VSCode | Cline | Windsurf | Codex CLI | Aider | Zed AI | Copilot | JetBrains | SWE-agent | Continue |
|
|
158
|
+
| ------------------------ | :---------: | :--------: | :------: | :-------: | :----: | :----: | :----: | :------: | :-------: | :----: | :----: | :-----: | :-------: | :-------: | :------: |
|
|
159
|
+
| **Integration Tier** | T1 | T1 | T1 | T1 | T2 | T2 | T2 | T3 | T3 | T3 | T3 | T4 | T4 | T4 | T4 |
|
|
160
|
+
| **Hook Target** | claude | factory | opencode | forgecode | cursor | vscode | vscode | cursor | claude | claude | claude | vscode | vscode | claude | vscode |
|
|
161
|
+
| **Platform Mapping** | claude | factory | opencode | opencode | vscode | vscode | vscode | vscode | claude | claude | claude | vscode | vscode | claude | vscode |
|
|
162
|
+
| Working Memory (L1) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
163
|
+
| Session Memory (L2) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
164
|
+
| Semantic Memory (L3) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
165
|
+
| Knowledge Graph (L4) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
166
|
+
| Memory Write Gate | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
167
|
+
| Memory Tiering | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
168
|
+
| Correction Propagation | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
169
|
+
| Agent-Scoped Memory | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
170
|
+
| Pattern Library (22) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
171
|
+
| Pattern RAG | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
172
|
+
| Worktree Isolation | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
173
|
+
| Multi-Agent Coordination | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
174
|
+
| Deploy Batching | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
175
|
+
| Policy Engine | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
176
|
+
| Task Management | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
177
|
+
| Model Router | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
178
|
+
| Compliance (12 gates) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
179
|
+
| MCP Router | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
180
|
+
| RTK Token Savings | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
181
|
+
| Droid System | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
182
|
+
| CLI (20+ commands) | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
183
|
+
| Dashboard | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
|
184
|
+
|
|
185
|
+
</details>
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## 4. Integration Tiers
|
|
190
|
+
|
|
191
|
+
All tiers receive identical UAP features. The difference is how deeply UAP wires into the harness.
|
|
192
|
+
|
|
193
|
+
### Tier 1 -- First-Class
|
|
194
|
+
|
|
195
|
+
**Harnesses:** Claude Code, Factory.AI, OpenCode, ForgeCode
|
|
196
|
+
|
|
197
|
+
| Aspect | Detail | Why It Matters |
|
|
198
|
+
| -------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
|
|
199
|
+
| Dedicated config directory | `.claude/`, `.factory/`, `.opencode/`, `.forge/` | Clean separation from harness config |
|
|
200
|
+
| Native hook installation | Direct hook scripts in harness config | Hooks fire automatically, no manual setup |
|
|
201
|
+
| Context file generation | CLAUDE.md / PROJECT.md auto-generated with UAP directives | Agent reads project context on every session start |
|
|
202
|
+
| Sync support | `uap sync` copies droids, skills, commands between platforms | Multi-platform teams stay consistent |
|
|
203
|
+
| Session hooks | SessionStart + PreCompact fire automatically | Memory injection and preservation happen without user action |
|
|
204
|
+
| Auto-approve tools | Configurable per-harness | Reduces approval friction for trusted operations |
|
|
205
|
+
| Skills/Commands | Installed into harness-native directories | Discoverable through the harness's own UI |
|
|
206
|
+
| Setup wizard | Full interactive configuration | Guided setup with sensible defaults |
|
|
207
|
+
|
|
208
|
+
### Tier 2 -- IDE-Based
|
|
209
|
+
|
|
210
|
+
**Harnesses:** Cursor, VSCode, Cline
|
|
211
|
+
|
|
212
|
+
| Aspect | Detail | Why It Matters |
|
|
213
|
+
| ---------------- | ---------------------------------------------------------------- | --------------------------------------------- |
|
|
214
|
+
| Hook target | Cursor: `cursor` hooks; VSCode/Cline: `vscode` hooks | Hooks fire through the IDE's extension system |
|
|
215
|
+
| Config directory | `.cursor/` or `.claude/` (VSCode/Cline piggyback on Claude Code) | Reuses existing config infrastructure |
|
|
216
|
+
| MCP config | Platform-specific paths (`~/.config/Cursor/...`, etc.) | MCP tools available in the IDE's tool palette |
|
|
217
|
+
| Context file | `.cursorrules` or CLAUDE.md | Agent reads project context through the IDE |
|
|
218
|
+
| Limitation | VSCode/Cline require "Third-party skills" enabled | One-time setting change |
|
|
219
|
+
|
|
220
|
+
### Tier 3 -- CLI/Terminal Agents
|
|
221
|
+
|
|
222
|
+
**Harnesses:** Codex CLI, Aider, Windsurf, Zed AI, Continue
|
|
223
|
+
|
|
224
|
+
| Aspect | Detail | Why It Matters |
|
|
225
|
+
| ------------ | ---------------------------------------------- | ---------------------------------------------------- |
|
|
226
|
+
| Hook target | Mapped to `claude` or `cursor` hooks | Reuses T1/T2 hook infrastructure |
|
|
227
|
+
| Context file | Relies on CLAUDE.md (read by most CLI agents) | Works because these tools already read context files |
|
|
228
|
+
| Limitation | No dedicated config directory; borrows from T1 | No additional config to maintain |
|
|
229
|
+
|
|
230
|
+
### Tier 4 -- Additional Integrations
|
|
231
|
+
|
|
232
|
+
**Harnesses:** GitHub Copilot, JetBrains AI, SWE-agent
|
|
233
|
+
|
|
234
|
+
| Aspect | Detail | Why It Matters |
|
|
235
|
+
| ----------- | ------------------------------------------------------- | --------------------------------------------- |
|
|
236
|
+
| Hook target | Mapped to `vscode` or `claude` | Reuses existing infrastructure |
|
|
237
|
+
| Limitation | Most indirect; relies on extension/plugin compatibility | Works through the host IDE's extension system |
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## 5. Per-Harness Integration Method
|
|
242
|
+
|
|
243
|
+
| Harness | Hook Method | Config Files Created | Special Integration |
|
|
244
|
+
| ------------------ | -------------------------------------------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------- |
|
|
245
|
+
| **Claude Code** | `bash .claude/hooks/session-start.sh` via `settings.local.json` | `.claude/settings.local.json`, `.claude/hooks/*.sh` | CLAUDE.md generation, skills, commands, agents |
|
|
246
|
+
| **Factory.AI** | `$FACTORY_PROJECT_DIR/.factory/hooks/*.sh` via `settings.local.json` | `.factory/settings.local.json`, `.factory/hooks/*.sh` | Droids, skills, patterns, PROJECT.md |
|
|
247
|
+
| **OpenCode** | TypeScript plugin in `.opencode/plugin/uam-session-hooks.ts` | `.opencode/plugin/uam-session-hooks.ts`, `.opencode/package.json` | Plugin API integration, local LLM config |
|
|
248
|
+
| **ForgeCode** | ZSH plugin `.forge/forgecode.plugin.sh` | `.forge/forgecode.plugin.sh`, `.forge/hooks/*.sh` | Environment variable injection (`UAM_CONTEXT`, `UAM_OPEN_LOOPS`) |
|
|
249
|
+
| **Cursor** | `.cursor/hooks/session-start.sh` via `hooks.json` | `.cursor/hooks.json`, `.cursor/hooks/*.sh` | MCP config at `~/.config/Cursor/...` |
|
|
250
|
+
| **VSCode** | Uses Claude Code hooks via `.claude/settings.local.json` | Same as Claude Code | Requires "Third-party skills" enabled |
|
|
251
|
+
| **Cline** | Mapped to VSCode hooks | Same as VSCode | Same as VSCode |
|
|
252
|
+
| **Windsurf** | Mapped to Cursor hooks | Same as Cursor | Same as Cursor |
|
|
253
|
+
| **Codex CLI** | Mapped to Claude hooks | Same as Claude Code | Uses CLAUDE.md context file |
|
|
254
|
+
| **Aider** | Mapped to Claude hooks | Same as Claude Code | Uses CLAUDE.md context file |
|
|
255
|
+
| **Zed AI** | Mapped to Claude hooks | Same as Claude Code | Uses CLAUDE.md context file |
|
|
256
|
+
| **Continue** | Mapped to VSCode hooks | Same as VSCode | Same as VSCode |
|
|
257
|
+
| **GitHub Copilot** | Mapped to VSCode hooks | Same as VSCode | Same as VSCode |
|
|
258
|
+
| **JetBrains AI** | Mapped to VSCode hooks | Same as VSCode | Same as VSCode |
|
|
259
|
+
| **SWE-agent** | Mapped to Claude hooks | Same as Claude Code | Uses CLAUDE.md context file |
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## 6. The UAP Delta
|
|
264
|
+
|
|
265
|
+
Every harness is a code editing tool with file system and terminal access. UAP transforms them into memory-persistent, coordinated, policy-enforced agent platforms.
|
|
266
|
+
|
|
267
|
+
| Category | What UAP Adds | Why |
|
|
268
|
+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------ |
|
|
269
|
+
| **Memory** | 4-layer persistent memory, write gate, tiering, correction propagation, agent-scoped isolation, daily log, consolidation | Agents learn and retain knowledge across sessions |
|
|
270
|
+
| **Patterns** | 22 Terminal-Bench patterns, Pattern RAG via Qdrant, reinforcement learning | Proven workflows prevent the most common failure modes |
|
|
271
|
+
| **Coordination** | Agent registry, heartbeats, overlap detection, conflict risk, capability routing, work claims | Multiple agents collaborate safely on the same repo |
|
|
272
|
+
| **Deployment** | Intelligent batching, squash commits, push race prevention, parallel execution | Clean deploy history even with many agents |
|
|
273
|
+
| **Policy** | Required/recommended/optional enforcement, audit trail, IaC state parity | Agents follow project standards with accountability |
|
|
274
|
+
| **Tasks** | Dependency DAG, cycle detection, JSONL sync, history/audit, compaction | Structured work tracking that survives sessions |
|
|
275
|
+
| **Models** | Multi-model routing (6 presets), task decomposition, plan validation | Lower cost, better quality per subtask |
|
|
276
|
+
| **Tooling** | MCP Router (98% token reduction), RTK (60-90% savings), CloakBrowser, 20+ CLI commands, 6 dashboards | Dramatically lower token spend, full observability |
|
|
277
|
+
| **Compliance** | 12-gate protocol verification | Catches drift before it ships |
|
|
278
|
+
| **Hooks** | SessionStart, PreCompact, PreToolUse, PostToolUse across 6 hook targets | Automated memory injection and preservation |
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## 7. Feature Flags
|
|
283
|
+
|
|
284
|
+
Every UAP feature is individually toggleable via the setup wizard (`uap setup`) or `.uap.json`.
|
|
285
|
+
|
|
286
|
+
| Category | Flag | Default | What It Controls |
|
|
287
|
+
| ----------- | ------------------------ | ----------------- | -------------------------------------- |
|
|
288
|
+
| Memory | `shortTermMemory` | `true` | L1/L2 SQLite working + session memory |
|
|
289
|
+
| Memory | `longTermMemory` | `false` | L3 Qdrant vector semantic memory |
|
|
290
|
+
| Memory | `knowledgeGraph` | `false` | L4 entity-relationship graph |
|
|
291
|
+
| Memory | `prepopDocs` | `false` | Import existing docs into memory |
|
|
292
|
+
| Memory | `prepopGit` | `false` | Import git history into memory |
|
|
293
|
+
| Multi-Agent | `coordinationDb` | `true` | Agent registry, heartbeats, claims |
|
|
294
|
+
| Multi-Agent | `worktreeIsolation` | `true` | Per-agent git worktrees |
|
|
295
|
+
| Multi-Agent | `deployBatching` | `false` | Squash + serialize deploys |
|
|
296
|
+
| Multi-Agent | `agentMessaging` | `false` | Inter-agent broadcast/direct messages |
|
|
297
|
+
| Patterns | `patternLibrary` | `true` | 22 Terminal-Bench patterns |
|
|
298
|
+
| Patterns | `patternRag` | depends on Qdrant | On-demand pattern retrieval |
|
|
299
|
+
| Patterns | `reinforcementLearning` | `false` | Pattern success/failure tracking |
|
|
300
|
+
| Policy | `policyEngine` | `true` | Rule enforcement with audit trail |
|
|
301
|
+
| Policy | `imageAssetVerification` | `false` | Image asset policy checks |
|
|
302
|
+
| Policy | `iacStateParity` | `true` | Infrastructure-as-code drift detection |
|
|
303
|
+
| Policy | `customPoliciesDir` | `false` | Load policies from custom directory |
|
|
304
|
+
| Model | `provider` | `anthropic` | Default model provider |
|
|
305
|
+
| Model | `qwenOptimizations` | `false` | Qwen3.5 tool call fixes |
|
|
306
|
+
| Model | `costTracking` | `false` | Per-task cost accounting |
|
|
307
|
+
| Model | `modelRouting` | `false` | Multi-model task routing |
|
|
308
|
+
| Hooks | `sessionStart` | `true` | Memory injection on session start |
|
|
309
|
+
| Hooks | `preCompact` | `true` | Memory preservation before compaction |
|
|
310
|
+
| Hooks | `taskCompletion` | `false` | Post-task hooks |
|
|
311
|
+
| Hooks | `autoApproveTools` | `false` | Skip tool approval prompts |
|
|
312
|
+
| Browser | `cloakBrowser` | `false` | Stealth web automation |
|
|
313
|
+
|
|
314
|
+
Per-platform overrides are available for `shortTermMax`, `searchResults`, `sessionMax`, and `patternRag` in the `platforms` section of `.uap.json`.
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
**Last Updated:** 2026-03-15 | **Version:** 1.1.0
|