aegisai-harness 0.0.0-stage → 0.67.2
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 +325 -0
- package/CONTRIBUTING.md +47 -0
- package/HARNESS_DOCS.md +34 -0
- package/LICENSE +21 -0
- package/README.md +129 -2
- package/ROADMAP.md +462 -0
- package/llms.txt +39 -0
- package/package.json +29 -4
- package/packaging/build-binary.sh +10 -0
- package/packaging/build.ps1 +30 -0
- package/packaging/install.ps1 +20 -0
- package/packaging/linux/build-appimage.sh +21 -0
- package/packaging/macos/build-dmg.sh +21 -0
- package/packaging/tauri/Cargo.toml +15 -0
- package/packaging/tauri/src/main.rs +8 -0
- package/packaging/tauri/tauri.conf.json +28 -0
- package/packaging/windows/aegisai-harness.cmd +8 -0
- package/packaging/windows/installer.iss +45 -0
- package/public/app.js +387 -0
- package/public/dag.html +37 -0
- package/public/index.html +16 -0
- package/public/manifest.json +9 -0
- package/public/markdown.js +35 -0
- package/public/plugins.html +25 -0
- package/public/style.css +237 -0
- package/public/sw.js +8 -0
- package/public/trajectory.html +17 -0
- package/src/a2a.js +37 -0
- package/src/access_iac.js +24 -0
- package/src/access_tokens.js +19 -0
- package/src/acp.js +36 -0
- package/src/action_guard.js +34 -0
- package/src/admission.js +21 -0
- package/src/adversarial.js +43 -0
- package/src/agent/compact.js +42 -0
- package/src/agent/run.js +561 -0
- package/src/agents/profiles.js +77 -0
- package/src/agents_as_tools.js +21 -0
- package/src/ahp.js +38 -0
- package/src/aibom.js +32 -0
- package/src/alwayson.js +48 -0
- package/src/arch_rules.js +32 -0
- package/src/ast_chunk.js +34 -0
- package/src/async_tools.js +70 -0
- package/src/auto_policy.js +47 -0
- package/src/awesome_re.js +76 -0
- package/src/backends/index.js +279 -0
- package/src/backup.js +65 -0
- package/src/benchmark.js +39 -0
- package/src/benchmarks_real.js +35 -0
- package/src/boundary_bench.js +18 -0
- package/src/brain_sandbox.js +36 -0
- package/src/bug_repro.js +26 -0
- package/src/capsule.js +34 -0
- package/src/capture.js +21 -0
- package/src/channels.js +45 -0
- package/src/chaos.js +18 -0
- package/src/charter.js +49 -0
- package/src/cheapest_model.js +31 -0
- package/src/ci_resolver.js +21 -0
- package/src/citations.js +19 -0
- package/src/code_map.js +40 -0
- package/src/composable_api.js +16 -0
- package/src/confidence_memory.js +28 -0
- package/src/config_installer.js +29 -0
- package/src/config_matrix.js +18 -0
- package/src/config_toml.js +48 -0
- package/src/consolidation_scheduler.js +45 -0
- package/src/constitution.js +21 -0
- package/src/content_review.js +21 -0
- package/src/contest_memory.js +29 -0
- package/src/context_files.js +37 -0
- package/src/context_fs.js +31 -0
- package/src/context_reset.js +12 -0
- package/src/continual.js +33 -0
- package/src/contracts.js +35 -0
- package/src/control_plane.js +34 -0
- package/src/core/capabilities.js +23 -0
- package/src/core/config.js +21 -0
- package/src/core/logger.js +23 -0
- package/src/core/plugins.js +46 -0
- package/src/core/security.js +45 -0
- package/src/cost_routing.js +24 -0
- package/src/counterfactual.js +32 -0
- package/src/craft.js +21 -0
- package/src/critic.js +34 -0
- package/src/cve_reachability.js +41 -0
- package/src/dag.js +38 -0
- package/src/debugger.js +21 -0
- package/src/decision_gates.js +16 -0
- package/src/decision_memory.js +44 -0
- package/src/deep_research.js +37 -0
- package/src/default_skills.js +49 -0
- package/src/delivery.js +46 -0
- package/src/deterministic_compact.js +34 -0
- package/src/diff_review.js +59 -0
- package/src/diff_review_ui.js +127 -0
- package/src/dingtalk_feishu.js +26 -0
- package/src/doomloop.js +67 -0
- package/src/durable.js +66 -0
- package/src/equipment_registry.js +26 -0
- package/src/error_recovery.js +16 -0
- package/src/eval.js +89 -0
- package/src/event_bus.js +35 -0
- package/src/event_sourced.js +19 -0
- package/src/event_stream.js +19 -0
- package/src/evidence_bundle.js +25 -0
- package/src/evolution_search.js +23 -0
- package/src/failure_cluster.js +26 -0
- package/src/fetch_url.js +20 -0
- package/src/file_attachments.js +27 -0
- package/src/formats.js +21 -0
- package/src/fs_resources.js +37 -0
- package/src/fs_robust.js +30 -0
- package/src/gateway.js +27 -0
- package/src/gems.js +38 -0
- package/src/geometric_memory.js +30 -0
- package/src/ghidra.js +28 -0
- package/src/git_integration.js +93 -0
- package/src/git_state.js +30 -0
- package/src/github_webhooks.js +28 -0
- package/src/graph_mcp.js +24 -0
- package/src/graph_memory.js +47 -0
- package/src/guardrails.js +31 -0
- package/src/hardware.js +48 -0
- package/src/harness_discovery.js +33 -0
- package/src/harness_lint.js +39 -0
- package/src/harness_score.js +27 -0
- package/src/harness_spec.js +35 -0
- package/src/health_failover.js +38 -0
- package/src/hippocampus.js +22 -0
- package/src/honesty.js +14 -0
- package/src/hooks.js +62 -0
- package/src/hunt.js +48 -0
- package/src/identity_audit.js +21 -0
- package/src/index.js +947 -0
- package/src/indexing/codeindex.js +98 -0
- package/src/integrations/bidi.js +43 -0
- package/src/integrations/browser.js +136 -0
- package/src/integrations/mcp.js +192 -0
- package/src/integrations/retools.js +33 -0
- package/src/isolation.js +37 -0
- package/src/keyless_search.js +41 -0
- package/src/layer_registry.js +25 -0
- package/src/ledger.js +57 -0
- package/src/lenient_parse.js +44 -0
- package/src/lifecycle.js +39 -0
- package/src/lsp.js +124 -0
- package/src/mailbox.js +23 -0
- package/src/maintenance_templates.js +40 -0
- package/src/markdown_extract.js +33 -0
- package/src/markdown_governance.js +43 -0
- package/src/markdown_memory.js +27 -0
- package/src/mcp_apps.js +18 -0
- package/src/mcp_conformance.js +30 -0
- package/src/mcp_everything.js +26 -0
- package/src/mcp_file_uploads.js +20 -0
- package/src/mcp_interceptors.js +22 -0
- package/src/mcp_marketplace.js +19 -0
- package/src/mcp_pinning.js +20 -0
- package/src/mcp_presets.js +35 -0
- package/src/mcp_registry.js +99 -0
- package/src/mcp_registry_browser.js +21 -0
- package/src/mcp_search.js +49 -0
- package/src/mcp_security.js +47 -0
- package/src/mcp_server.js +144 -0
- package/src/mcp_skills.js +18 -0
- package/src/mcp_tasks.js +22 -0
- package/src/mcpb.js +24 -0
- package/src/memory_extract.js +21 -0
- package/src/memory_hierarchy.js +33 -0
- package/src/memory_rag.js +25 -0
- package/src/merkle.js +21 -0
- package/src/metrics.js +19 -0
- package/src/migration_recipes.js +22 -0
- package/src/model_discovery.js +42 -0
- package/src/multi_search.js +29 -0
- package/src/native_adapters.js +20 -0
- package/src/netvein_adapter.js +17 -0
- package/src/observability.js +31 -0
- package/src/office_preview.js +59 -0
- package/src/optimizer.js +37 -0
- package/src/orchestrator.js +43 -0
- package/src/output_compress.js +13 -0
- package/src/pairing.js +45 -0
- package/src/pass_at_k.js +34 -0
- package/src/patch.js +54 -0
- package/src/peer_review.js +25 -0
- package/src/pentest_pipeline.js +32 -0
- package/src/pii.js +21 -0
- package/src/plugin_marketplace.js +170 -0
- package/src/podman.js +19 -0
- package/src/policy.js +65 -0
- package/src/pr_review.js +22 -0
- package/src/private_kb.js +37 -0
- package/src/projects.js +42 -0
- package/src/prompt_templates.js +30 -0
- package/src/proof_of_work.js +28 -0
- package/src/providers.js +59 -0
- package/src/python_client.js +18 -0
- package/src/re_index.js +63 -0
- package/src/rea.js +26 -0
- package/src/read_only.js +16 -0
- package/src/readiness_audit.js +20 -0
- package/src/reliability.js +34 -0
- package/src/replay.js +29 -0
- package/src/replay_guard.js +17 -0
- package/src/rollback.js +33 -0
- package/src/routing_eval.js +28 -0
- package/src/runtime_contract.js +23 -0
- package/src/runtime_manager.js +41 -0
- package/src/sandbox_fingerprint.js +24 -0
- package/src/sandbox_rings.js +23 -0
- package/src/sarif.js +25 -0
- package/src/scheduler.js +75 -0
- package/src/sealed.js +21 -0
- package/src/security_kb.js +36 -0
- package/src/security_layers.js +29 -0
- package/src/self_improve.js +57 -0
- package/src/semantic_tools.js +32 -0
- package/src/separation.js +26 -0
- package/src/sequential_thinking.js +24 -0
- package/src/serverless.js +23 -0
- package/src/session_brief.js +22 -0
- package/src/session_converter.js +27 -0
- package/src/session_goals.js +23 -0
- package/src/session_search.js +29 -0
- package/src/settings.js +9 -0
- package/src/shadow_ai.js +29 -0
- package/src/silent_failure.js +15 -0
- package/src/sim_browser.js +47 -0
- package/src/simulated_approval.js +22 -0
- package/src/skill_auto.js +17 -0
- package/src/skill_eval.js +56 -0
- package/src/skill_factory.js +34 -0
- package/src/skill_pkg.js +32 -0
- package/src/skills_import.js +28 -0
- package/src/slack_gateway.js +30 -0
- package/src/source_memory.js +27 -0
- package/src/spans5.js +15 -0
- package/src/speed_bench.js +21 -0
- package/src/squeeze.js +20 -0
- package/src/ssh_bridge.js +19 -0
- package/src/state.js +35 -0
- package/src/stopconditions.js +17 -0
- package/src/storage/db.js +218 -0
- package/src/stream_actions.js +19 -0
- package/src/swarm.js +78 -0
- package/src/task.js +56 -0
- package/src/task_board.js +49 -0
- package/src/task_state.js +35 -0
- package/src/teams.js +54 -0
- package/src/telemetry.js +23 -0
- package/src/temporal_memory.js +44 -0
- package/src/tenants.js +38 -0
- package/src/testing/mockmcp.js +41 -0
- package/src/themes.js +12 -0
- package/src/time_tool.js +26 -0
- package/src/timers.js +37 -0
- package/src/token_dashboard.js +19 -0
- package/src/tokenizer.js +17 -0
- package/src/tool_annotations.js +16 -0
- package/src/tool_contract.js +20 -0
- package/src/tool_discovery.js +24 -0
- package/src/tool_eval.js +21 -0
- package/src/tool_state.js +20 -0
- package/src/tools/coding.js +129 -0
- package/src/tools/registry.js +53 -0
- package/src/toolsets.js +22 -0
- package/src/trace_export.js +31 -0
- package/src/tracing.js +58 -0
- package/src/tui.js +125 -0
- package/src/two_bar.js +17 -0
- package/src/ui_replay.js +39 -0
- package/src/updater.js +51 -0
- package/src/url_validate.js +24 -0
- package/src/variants.js +25 -0
- package/src/vault.js +68 -0
- package/src/verifier.js +47 -0
- package/src/vision.js +19 -0
- package/src/voice_adapter.js +28 -0
- package/src/vuln_patterns.js +37 -0
- package/src/vuln_scan.js +45 -0
- package/src/waste.js +24 -0
- package/src/web_search.js +25 -0
- package/src/workflow.js +20 -0
- package/src/ws_bridge.js +27 -0
- package/src/yaml_eval.js +38 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to AegisAi Harness are documented here.
|
|
4
|
+
|
|
5
|
+
## [0.63.0] - 2026-11-22
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Plugin marketplace maturity: categories, ratings, tags, filters, enable/disable, update, info, stats
|
|
9
|
+
- Install from content/URL with dependency auto-install
|
|
10
|
+
- 8 curated featured plugins
|
|
11
|
+
|
|
12
|
+
## [0.62.0] - 2026-11-22
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- Interactive multi-file diff review UI (accept/reject hunks per file)
|
|
16
|
+
|
|
17
|
+
## [0.61.0] - 2026-11-22
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- Model provider breadth: 18 providers (Ollama, LM Studio, llama.cpp, vLLM, text-gen-webui, KoboldCpp, LocalAI, Jan, OpenAI, Anthropic, Groq, Mistral, DeepSeek, Together, Fireworks, Cohere, OpenRouter, Gemini) with auto-detection
|
|
21
|
+
- Plugin marketplace (search, install, uninstall, list)
|
|
22
|
+
|
|
23
|
+
## [0.60.0] - 2026-11-22
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- Multi-file diff review (parseDiff, review, fullReview, stagedReview, unstagedReview, applyHunks)
|
|
27
|
+
|
|
28
|
+
## [0.59.0] - 2026-11-22
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
- Git-aware editing: status, diff, commit, blame, branch, stash, log, show, reset, auto-commit
|
|
32
|
+
- `--auto-commit` flag
|
|
33
|
+
|
|
34
|
+
## [0.58.0] - 2026-11-22
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
- Multi-pane TUI (status bar, chat, sidebar, command palette)
|
|
38
|
+
- LSP client (hover, definition, completion, diagnostics, didOpen)
|
|
39
|
+
- `--tui` flag
|
|
40
|
+
|
|
41
|
+
## [0.57.0] - 2026-11-22
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
- Tailwind CSS via CDN
|
|
45
|
+
- pdf-parse support in office preview
|
|
46
|
+
- Proper Windows installer (Inno Setup)
|
|
47
|
+
- README rewrite
|
|
48
|
+
- aegisai-next deprecated
|
|
49
|
+
- Repository made public
|
|
50
|
+
|
|
51
|
+
## [0.56.0] - 2026-11-22
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
- Swarm orchestration, dependency patch proposals, phase-based tasks
|
|
55
|
+
- Bug-hunting flow, awesome-re 17k index, MCP presets
|
|
56
|
+
- Vuln-patterns library, markdown memory, metrics
|
|
57
|
+
|
|
58
|
+
## [0.55.0] - 2026-11-22
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
- Preact web UI (via CDN, zero npm deps)
|
|
62
|
+
|
|
63
|
+
## [0.54.0] - 2026-11-22
|
|
64
|
+
|
|
65
|
+
### Added
|
|
66
|
+
- Native RE tooling (REA, Ghidra, Craft modules)
|
|
67
|
+
- Expanded RE index (30+ entries, categories, online search)
|
|
68
|
+
|
|
69
|
+
## [0.53.0] - 2026-11-22
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
- Private knowledge base, DingTalk/Feishu channels, Office preview
|
|
73
|
+
- PAT-gated stream actions, filesystem MCP resources
|
|
74
|
+
- Tool variants, tool annotations, access management IaC
|
|
75
|
+
|
|
76
|
+
## [0.52.0] - 2026-11-22
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
- IM channel adapters (Telegram, Discord)
|
|
80
|
+
- GitHub webhook event-driven agents
|
|
81
|
+
- File attachments, graph memory via MCP
|
|
82
|
+
|
|
83
|
+
## [0.51.0] - 2026-11-22
|
|
84
|
+
|
|
85
|
+
### Added
|
|
86
|
+
- Projects with instructions + document shelf
|
|
87
|
+
- Hippocampus memory, skill factory, UI replay, embedded Python client
|
|
88
|
+
|
|
89
|
+
## [0.50.0] - 2026-11-22
|
|
90
|
+
|
|
91
|
+
### Added
|
|
92
|
+
- Session goals, personal access tokens, token dashboard
|
|
93
|
+
- Proof-of-work artifacts, Codex-style approval modes
|
|
94
|
+
|
|
95
|
+
## [0.49.0] - 2026-11-22
|
|
96
|
+
|
|
97
|
+
### Added
|
|
98
|
+
- Roadmap from deer-flow, symphony, codex exploration
|
|
99
|
+
|
|
100
|
+
## [0.48.0] - 2026-11-22
|
|
101
|
+
|
|
102
|
+
### Added
|
|
103
|
+
- MCP protocol extensions (conformance, Apps, Tasks, .mcpb, interceptors, uploads, skills)
|
|
104
|
+
|
|
105
|
+
## [0.47.0] - 2026-11-22
|
|
106
|
+
|
|
107
|
+
### Added
|
|
108
|
+
- Streamable HTTP MCP server mode
|
|
109
|
+
- MCP reference servers (sequential thinking, fetch_url, time, registry browser, Everything fixture)
|
|
110
|
+
|
|
111
|
+
## [0.46.0] - 2026-11-22
|
|
112
|
+
|
|
113
|
+
### Added
|
|
114
|
+
- MCP reference servers from modelcontextprotocol/servers
|
|
115
|
+
|
|
116
|
+
## [0.45.0] - 2026-11-22
|
|
117
|
+
|
|
118
|
+
### Added
|
|
119
|
+
- Full app parity (keyless engines, simulated approval, citations, netvein, vision, proxy abort, RE index, AST chunking, remote docs)
|
|
120
|
+
|
|
121
|
+
## [0.44.0] - 2026-11-22
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
- App-parity gaps (rich chat UI, memory RAG, model discovery, lenient parsing, SSRF guard, context meter, UI config, default skills, squeeze)
|
|
125
|
+
|
|
126
|
+
## [0.43.0] - 2026-11-22
|
|
127
|
+
|
|
128
|
+
### Added
|
|
129
|
+
- Reliability & verification (session briefs, deterministic compaction, error recovery, chaos, silent-failure, honesty, boundary bench, replay guard, MCP pinning, Merkle, readiness, trajectory UI, cost routing, tool contracts, agents-as-tools, equipment registry)
|
|
130
|
+
|
|
131
|
+
## [0.42.0] - 2026-11-22
|
|
132
|
+
|
|
133
|
+
### Added
|
|
134
|
+
- Roadmap from harness tools search pages 5-8
|
|
135
|
+
|
|
136
|
+
## [0.41.0] - 2026-11-22
|
|
137
|
+
|
|
138
|
+
### Added
|
|
139
|
+
- Tool systems & evidence (tool state/eval, evolution search, config matrix, migration recipes, confidence memory, event replay, context reset, identity audit, 5-layer spans, evidence bundles, composable APIs)
|
|
140
|
+
|
|
141
|
+
## [0.40.0] - 2026-11-22
|
|
142
|
+
|
|
143
|
+
### Added
|
|
144
|
+
- Roadmap from harness tools search pages 1-4
|
|
145
|
+
|
|
146
|
+
## [0.39.0] - 2026-11-22
|
|
147
|
+
|
|
148
|
+
### Added
|
|
149
|
+
- Clear remaining deferred (simulated browser, plugin UI, 5-layer security, layer registry, markdown governance, trace export, native adapters)
|
|
150
|
+
|
|
151
|
+
## [0.38.0] - 2026-11-22
|
|
152
|
+
|
|
153
|
+
### Added
|
|
154
|
+
- DiggerHQ integrations (Slack gateway, WS bridge, serverless, Podman, PR review, CI resolver, CVE reachability)
|
|
155
|
+
|
|
156
|
+
## [0.37.0] - 2026-11-22
|
|
157
|
+
|
|
158
|
+
### Added
|
|
159
|
+
- DiggerHQ patterns (brain/sandbox, health failover, git state, bug repro, maintenance templates, speed bench, runtime contract, sandbox fingerprint)
|
|
160
|
+
|
|
161
|
+
## [0.36.0] - 2026-11-22
|
|
162
|
+
|
|
163
|
+
### Added
|
|
164
|
+
- Roadmap from diggerhq with feasibility ratings
|
|
165
|
+
|
|
166
|
+
## [0.35.0] - 2026-11-22
|
|
167
|
+
|
|
168
|
+
### Added
|
|
169
|
+
- Decisions & interop (decision gates, workflow state machine, two-bar goals, geometric memory, session converter, arch rules, AIBOM, SSH bridge)
|
|
170
|
+
|
|
171
|
+
## [0.34.0] - 2026-11-22
|
|
172
|
+
|
|
173
|
+
### Added
|
|
174
|
+
- Retrieval & reporting (semantic tools, YAML evals, pass@k, failure clusters, ledger rewind, Gems, AHP gateway, SARIF)
|
|
175
|
+
|
|
176
|
+
## [0.33.0] - 2026-11-22
|
|
177
|
+
|
|
178
|
+
### Added
|
|
179
|
+
- Interfaces & governance (dual-graph memory, constitution, BiDi, SSE, config installer, multi-search, routing eval, control plane)
|
|
180
|
+
|
|
181
|
+
## [0.32.0] - 2026-11-22
|
|
182
|
+
|
|
183
|
+
### Added
|
|
184
|
+
- Memory & control (graph memory, UI replay, executor/verifier separation, self-writing policy, debugger, cheapest-model finder, code-flow map)
|
|
185
|
+
|
|
186
|
+
## [0.31.0] - 2026-11-22
|
|
187
|
+
|
|
188
|
+
### Added
|
|
189
|
+
- Protocol & isolation (A2A, DAG editor UI, local voice, sealed Docker, multi-tenant)
|
|
190
|
+
|
|
191
|
+
## [0.30.0] - 2026-11-22
|
|
192
|
+
|
|
193
|
+
### Added
|
|
194
|
+
- P2 platform (task board, context FS, event bus, ACP, benchmarks, docs, pentest pipeline)
|
|
195
|
+
|
|
196
|
+
## [0.29.0] - 2026-11-22
|
|
197
|
+
|
|
198
|
+
### Added
|
|
199
|
+
- Security & local inference (hardware detect, gateway, admission, vuln scanner, security KB, deep research, continual, memory hierarchy)
|
|
200
|
+
|
|
201
|
+
## [0.28.0] - 2026-11-22
|
|
202
|
+
|
|
203
|
+
### Added
|
|
204
|
+
- Ecosystem & tooling (runtime manager, shadow AI, skill packages, MCP marketplace, self-improvement, templates/themes/RPC, harness-as-code, config discovery)
|
|
205
|
+
|
|
206
|
+
## [0.27.0] - 2026-11-22
|
|
207
|
+
|
|
208
|
+
### Added
|
|
209
|
+
- Context & control (AX browser, capsules, rollback, task state, web search, slop filter, peer review)
|
|
210
|
+
|
|
211
|
+
## [0.26.0] - 2026-11-22
|
|
212
|
+
|
|
213
|
+
### Added
|
|
214
|
+
- Audit & evolution (ledger, action guardrails, counterfactual evolution, file-first verification, waste detection, mailbox)
|
|
215
|
+
|
|
216
|
+
## [0.25.0] - 2026-11-22
|
|
217
|
+
|
|
218
|
+
### Added
|
|
219
|
+
- Trust & governance (lifecycle, PII, charter, Windows robustness, pairing evals, bi-temporal memory)
|
|
220
|
+
|
|
221
|
+
## [0.24.0] - 2026-11-22
|
|
222
|
+
|
|
223
|
+
### Added
|
|
224
|
+
- Teams & interfaces (teams, JSON CLI, context files, read-only, markdown extract)
|
|
225
|
+
|
|
226
|
+
## [0.23.0] - 2026-11-22
|
|
227
|
+
|
|
228
|
+
### Added
|
|
229
|
+
- Trust & tuning (MCP security scanner, source-bound memory, contract baselines, optimizer, cron)
|
|
230
|
+
|
|
231
|
+
## [0.22.0] - 2026-11-22
|
|
232
|
+
|
|
233
|
+
### Added
|
|
234
|
+
- Roadmap from harness search pages 4-6
|
|
235
|
+
|
|
236
|
+
## [0.21.0] - 2026-11-22
|
|
237
|
+
|
|
238
|
+
### Added
|
|
239
|
+
- Computer use (CDP browser tools)
|
|
240
|
+
|
|
241
|
+
## [0.20.0] - 2026-11-22
|
|
242
|
+
|
|
243
|
+
### Added
|
|
244
|
+
- DAG orchestration + multi-critic evaluation pipeline
|
|
245
|
+
|
|
246
|
+
## [0.19.0] - 2026-11-22
|
|
247
|
+
|
|
248
|
+
### Added
|
|
249
|
+
- Voice input/output (Web Speech API)
|
|
250
|
+
|
|
251
|
+
## [0.18.0] - 2026-11-22
|
|
252
|
+
|
|
253
|
+
### Added
|
|
254
|
+
- Run capture, harness score, reliability attribution
|
|
255
|
+
|
|
256
|
+
## [0.17.0] - 2026-11-22
|
|
257
|
+
|
|
258
|
+
### Added
|
|
259
|
+
- Roadmap from GitHub harness search
|
|
260
|
+
|
|
261
|
+
## [0.16.0] - 2026-11-22
|
|
262
|
+
|
|
263
|
+
### Added
|
|
264
|
+
- Integration/skills/memory panels, version/errors/backup UI, Docker, RE wiring, allowlist
|
|
265
|
+
|
|
266
|
+
## [0.15.0] - 2026-11-22
|
|
267
|
+
|
|
268
|
+
### Added
|
|
269
|
+
- Web UI branching, approval, model mgmt, PWA, auth/rate limit, installers
|
|
270
|
+
|
|
271
|
+
## [0.14.0] - 2026-11-22
|
|
272
|
+
|
|
273
|
+
### Added
|
|
274
|
+
- Integration/skills/memory panels, version/error-log/backup UI
|
|
275
|
+
|
|
276
|
+
## [0.13.0] - 2026-11-22
|
|
277
|
+
|
|
278
|
+
### Added
|
|
279
|
+
- Ecosystem exploration 2 items
|
|
280
|
+
|
|
281
|
+
## [0.12.0] - 2026-11-22
|
|
282
|
+
|
|
283
|
+
### Added
|
|
284
|
+
- Ecosystem exploration 1 items
|
|
285
|
+
|
|
286
|
+
## [0.11.0] - 2026-11-22
|
|
287
|
+
|
|
288
|
+
### Added
|
|
289
|
+
- Packaging (build script, install script, offline update checker)
|
|
290
|
+
|
|
291
|
+
## [0.10.0] - 2026-11-22
|
|
292
|
+
|
|
293
|
+
### Added
|
|
294
|
+
- Policy engine, sandbox rings, skill auto-create, session search, capture, observability
|
|
295
|
+
|
|
296
|
+
## [0.9.0] - 2026-11-22
|
|
297
|
+
|
|
298
|
+
### Added
|
|
299
|
+
- Async/background tools, state-diff grading, large-tool-set stress, advanced routing, TOML config, benchmark suites
|
|
300
|
+
|
|
301
|
+
## [0.8.0] - 2026-11-22
|
|
302
|
+
|
|
303
|
+
### Added
|
|
304
|
+
- Tool sets, SKILL.md import, proxy mode
|
|
305
|
+
|
|
306
|
+
## [0.7.0] - 2026-11-22
|
|
307
|
+
|
|
308
|
+
### Added
|
|
309
|
+
- Enhanced doom-loop, richer hooks, tool context, format converters, OTel export
|
|
310
|
+
|
|
311
|
+
## [0.6.0] - 2026-11-22
|
|
312
|
+
|
|
313
|
+
### Added
|
|
314
|
+
- Richer hooks, enhanced doom-loop, state-diff grading, advanced routing, conversation state accessor
|
|
315
|
+
|
|
316
|
+
## [0.5.0] - 2026-11-22
|
|
317
|
+
|
|
318
|
+
### Added
|
|
319
|
+
- Doom-loop detection, composable stop conditions, mock MCP services, tool-payload stress testing, multi-backend router
|
|
320
|
+
|
|
321
|
+
## [0.1.0] - 2026-11-22
|
|
322
|
+
|
|
323
|
+
### Added
|
|
324
|
+
- Initial harness scaffold: agent loop, tool registry, backends, storage, MCP client, compaction, hooks, tracing, eval, vault, backup, proxy, web UI
|
|
325
|
+
```
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Contributing to AegisAi Harness
|
|
2
|
+
|
|
3
|
+
## Getting started
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
git clone https://github.com/user6811992/aegisai-harness.git
|
|
7
|
+
cd aegisai-harness
|
|
8
|
+
npm install
|
|
9
|
+
npm test # 250+ tests, all must pass
|
|
10
|
+
npm start # run the harness
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Requires Node.js 22.5+.
|
|
14
|
+
|
|
15
|
+
## Development workflow
|
|
16
|
+
|
|
17
|
+
1. Fork the repo and create a feature branch.
|
|
18
|
+
2. Make your changes.
|
|
19
|
+
3. Run `npm test` — all tests must pass.
|
|
20
|
+
4. Run `node scripts/run-lint.js` — no errors.
|
|
21
|
+
5. Run `node scripts/run-stress.js` — adversarial stress must pass.
|
|
22
|
+
6. Submit a pull request.
|
|
23
|
+
|
|
24
|
+
## Code conventions
|
|
25
|
+
|
|
26
|
+
- **Zero dependencies** (except optional `better-sqlite3` and `pdf-parse`). If you need a library, add it as an optional dependency and provide a fallback.
|
|
27
|
+
- **One module per concern** — keep files focused and small.
|
|
28
|
+
- **No telemetry or phone-home** — the harness is local-first.
|
|
29
|
+
- **Security first** — all file ops go through `safePath()`, all URLs through `url_validate.js`.
|
|
30
|
+
- **Tests** — every new module gets a test file in `tests/vNNN.test.js`.
|
|
31
|
+
|
|
32
|
+
## Adding a new module
|
|
33
|
+
|
|
34
|
+
1. Create `src/your_module.js` with a clear `module.exports`.
|
|
35
|
+
2. Add a test file `tests/vNNN.test.js`.
|
|
36
|
+
3. Add REPL commands in `src/index.js` if applicable.
|
|
37
|
+
4. Add a ROADMAP.md entry.
|
|
38
|
+
5. Update `llms.txt` if it's a major capability.
|
|
39
|
+
|
|
40
|
+
## Commit messages
|
|
41
|
+
|
|
42
|
+
Use conventional commits: `feat(v0.XX): description`, `fix: description`, `docs: description`, `chore: description`.
|
|
43
|
+
|
|
44
|
+
## Code of conduct
|
|
45
|
+
|
|
46
|
+
Be respectful. This is a local-first, privacy-first project. No telemetry, no cloud dependencies, no tracking.
|
|
47
|
+
```
|
package/HARNESS_DOCS.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# AegisAi Harness — engineering docs
|
|
2
|
+
|
|
3
|
+
## Architecture teardown
|
|
4
|
+
|
|
5
|
+
The harness is an agent runtime: the model thinks, the harness decides what that thinking may touch.
|
|
6
|
+
|
|
7
|
+
Layers:
|
|
8
|
+
1. **Backends** (`src/backends`) — Ollama + OpenAI-compatible, streaming, routing, circuit breakers.
|
|
9
|
+
2. **Agent loop** (`src/agent/run.js`) — tool calls, fallback models, budgets, gates (policy, charter, read-only, action guard, admission, MCP security), hooks, doom-loop detection, capsules, ledger capture.
|
|
10
|
+
3. **Tools** (`src/tools`) — coding tools, registry, capability filtering, tool sets, discovery, output compression.
|
|
11
|
+
4. **Integrations** (`src/integrations`) — MCP client + security scanner, CDP browser (AX-first), REA/Ghidra/Craft.
|
|
12
|
+
5. **Memory & context** — SQLite persistence, compaction + archive, source-bound/bi-temporal memory, context files, context filesystem, capsules.
|
|
13
|
+
6. **Quality** — evals, benchmarks, harness score, reliability attribution, counterfactual optimizer, adversarial tests, CI template.
|
|
14
|
+
7. **Interfaces** — CLI/REPL, `--web` UI, `--rpc`, OpenAI-compatible `--proxy`, JSON `--json`.
|
|
15
|
+
|
|
16
|
+
## Guides
|
|
17
|
+
|
|
18
|
+
- **Build your own harness:** see `tests/minimal-harness` concepts — a loop, three tools, a permission gate, a context file, a budget, a resumable transcript.
|
|
19
|
+
- **Add a tool:** register in `src/tools/registry.js`; add execution in `src/tools/coding.js`; declare capabilities.
|
|
20
|
+
- **Add a gate:** implement a pure `enforce(name, args, ctx)` function and wire into `src/agent/run.js` before tool execution.
|
|
21
|
+
- **Add an MCP server:** configure in `mcp.json`; the security scanner (`src/mcp_security.js`) checks tool descriptions before loading.
|
|
22
|
+
- **Set project rules:** write `.aegisai/charter.yaml` with `protected_paths`, `forbidden_tools`, `require_approval`, `quality_gates`.
|
|
23
|
+
- **Run offline:** `AEGISAI_OFFLINE=true` removes network tools; all backends can be local.
|
|
24
|
+
|
|
25
|
+
## Playbooks
|
|
26
|
+
|
|
27
|
+
- **Test-drive on your repo:** `/eval`, `/bench`, `/pairing <model>` — measure before and after config changes.
|
|
28
|
+
- **Harden:** `/lint`, `/stress`, `/vuln-scan <path>`, `/admit <tool>`, `/gw-allow`, `/charter`.
|
|
29
|
+
- **Recover:** `/rollbacks`, `/rollback <id>`, `/ledger-replay`, `/capsule` resume.
|
|
30
|
+
- **Improve:** `/diagnose`, `/evolve`, `/self-improve`, `/continual`, `/memory-hierarchy`.
|
|
31
|
+
|
|
32
|
+
## Non-goals
|
|
33
|
+
- Cloud-hosted backends as a requirement (local-first always).
|
|
34
|
+
- Telemetry or phone-home.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AegisAi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,130 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AegisAi Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/user6811992/aegisai-harness/actions/workflows/harness-check.yml)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://nodejs.org)
|
|
6
|
+
[](https://github.com/user6811992/aegisai-harness/releases)
|
|
7
|
+
[](https://github.com/user6811992/aegisai-harness/stargazers)
|
|
8
|
+
|
|
9
|
+
A **feature-rich, local-only AI agent harness** — OpenCode-class runtime, but
|
|
10
|
+
offline-first: no cloud dependencies, no telemetry. 66 milestones, ~200 modules,
|
|
11
|
+
257 tests, CI green.
|
|
12
|
+
|
|
13
|
+
> Status: v0.66.0 (see [ROADMAP.md](./ROADMAP.md)).
|
|
14
|
+
> **Successor to [aegisai-next](https://github.com/user6811992/aegisai-next)** — that project is deprecated; all features have been ported here.
|
|
15
|
+
> **Live docs:** https://user6811992.github.io/aegisai-harness/
|
|
16
|
+
|
|
17
|
+
## What a harness is here
|
|
18
|
+
|
|
19
|
+
The harness is the runtime that hosts an agent loop around a local LLM:
|
|
20
|
+
|
|
21
|
+
- **Agent loop** with tool calls, streaming, fallback models, iteration caps, doom-loop detection, composable stop conditions.
|
|
22
|
+
- **Tool registry** with 64+ coding tools plus pluggable external tools (MCP, plugins, REA, Ghidra, Craft).
|
|
23
|
+
- **Capability-based security** (allowed/denied tool patterns per session, sandbox rings, clean room mode).
|
|
24
|
+
- **Session & memory persistence** in local SQLite with WAL (bi-temporal memory graph, hippocampus, source-bound memory).
|
|
25
|
+
- **Context management** (compaction + retrievable archive + capsules).
|
|
26
|
+
- **Local-only guarantees** (offline mode, local embeddings, no phone-home).
|
|
27
|
+
- **MCP client + server** (stdio + Streamable HTTP, conformance, Apps, Tasks, .mcpb, interceptors, uploads, skills).
|
|
28
|
+
- **Web UI** (Preact, Markdown rendering, context meter, dark/light theme, voice, config panel, onboarding wizard, command palette).
|
|
29
|
+
- **Terminal UI** (multi-pane TUI with status bar, chat, sidebar, command palette).
|
|
30
|
+
- **Reverse engineering** (REA, Ghidra, Craft, 30+ index, awesome-re 17k, pentest pipeline, vuln scanner, security KB).
|
|
31
|
+
- **Observability** (run capture, harness score, reliability attribution, OTel export, SARIF, Merkle ledger, evidence bundles).
|
|
32
|
+
- **Always-on layer** (events, timers, approvals, outbox, scheduler, cron, mailbox).
|
|
33
|
+
- **Multi-agent** (DAG orchestration, swarm, teams, multi-critic, task phases, async/background tools).
|
|
34
|
+
- **Quality gates** (skill eval, harness lint, adversarial stress, CI template, conformance testing).
|
|
35
|
+
- **Git-aware editing** (status, diff, commit, blame, branch, stash, log, multi-file diff review, auto-commit).
|
|
36
|
+
- **Model providers** (18: Ollama, LM Studio, llama.cpp, vLLM, OpenAI, Anthropic, Groq, Mistral, DeepSeek, Together, Fireworks, Cohere, OpenRouter, Gemini, etc.).
|
|
37
|
+
- **Plugin marketplace** (search, install, uninstall, enable/disable, categories, ratings).
|
|
38
|
+
- **IM channels** (Telegram, Discord, DingTalk, Feishu).
|
|
39
|
+
- **LSP integration** (hover, definition, completion, diagnostics).
|
|
40
|
+
|
|
41
|
+
## Quick start
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
git clone https://github.com/user6811992/aegisai-harness.git
|
|
45
|
+
cd aegisai-harness
|
|
46
|
+
npm install
|
|
47
|
+
npm start
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Requires Node 22.5+ and a local backend (Ollama recommended).
|
|
51
|
+
|
|
52
|
+
### Web UI
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm start -- --web
|
|
56
|
+
# Open http://127.0.0.1:8080
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Terminal UI
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npm start -- --tui
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### MCP server (for Claude Code, Cursor, etc.)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm start -- --mcp-server
|
|
69
|
+
# Connect to http://127.0.0.1:3001/mcp
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Headless / CI
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
node src/index.js --json "your prompt here"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Build
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Windows installer (requires Inno Setup 6)
|
|
82
|
+
.\packaging\build.ps1 -Installer
|
|
83
|
+
|
|
84
|
+
# Standalone binary
|
|
85
|
+
.\packaging\build.ps1 -Binary
|
|
86
|
+
|
|
87
|
+
# Or use the cross-platform binary script
|
|
88
|
+
bash packaging/build-binary.sh
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Environment variables
|
|
92
|
+
|
|
93
|
+
See [ROADMAP.md](./ROADMAP.md) for the full list. Key ones:
|
|
94
|
+
|
|
95
|
+
| Var | Purpose | Default |
|
|
96
|
+
|---|---|---|
|
|
97
|
+
| `PORT` / `HOST` | Bind address | 127.0.0.1:8080 |
|
|
98
|
+
| `AEGISAI_TOKEN` | Auth token (open mode if unset) | (none) |
|
|
99
|
+
| `AEGISAI_OFFLINE` | Force offline mode | false |
|
|
100
|
+
| `BACKEND_TYPE` | Backend type (auto/ollama/openai) | auto |
|
|
101
|
+
| `BACKEND_URL` | Backend URL | auto-detect |
|
|
102
|
+
| `AEGISAI_DATA_DIR` | Data directory | ./data |
|
|
103
|
+
| `AEGISAI_PROJECT_ROOT_ALLOWLIST` | Allow-list for agent project roots | (none) |
|
|
104
|
+
|
|
105
|
+
## Layout
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
src/ 150+ modules (agent, tools, backends, storage, integrations, ...)
|
|
109
|
+
public/ web UI (Preact via CDN, no build step)
|
|
110
|
+
tests/ 257 tests (node:test)
|
|
111
|
+
packaging/ Windows/macOS/Linux installers + binary build
|
|
112
|
+
docs/ landing page (GitHub Pages)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## License
|
|
116
|
+
|
|
117
|
+
MIT
|
|
118
|
+
|
|
119
|
+
## Acknowledgments
|
|
120
|
+
|
|
121
|
+
Built with inspiration from the open-source community. See [ROADMAP.md](./ROADMAP.md) for the full list of explored projects and patterns.
|
|
122
|
+
|
|
123
|
+
### Prior art & inspiration
|
|
124
|
+
- **Agent harnesses** — OpenCode, Claude Code, Aider, Cline, OpenHands, Goose, Codex, DeerFlow, Symphony, diggerhq
|
|
125
|
+
- **MCP** — Model Context Protocol (modelcontextprotocol/servers, registry, extensions)
|
|
126
|
+
- **Reverse engineering** — REA, Ghidra, Craft Anything, awesome-reverse-engineered, netvein
|
|
127
|
+
- **Memory & learning** — bytedance/deer-flow, volcengine/OpenViking, rohitg00/agentmemory
|
|
128
|
+
- **Security** — Microsoft agent-governance-toolkit, spec-kitty
|
|
129
|
+
- **Observability** — OpenTelemetry, SARIF, LangSmith, Langfuse
|
|
130
|
+
```
|