mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-23 16:25:30 +00:00
- Add antigravity-home target adapter installing directly into ~/.gemini/config/plugins/ecc/
- Support full Antigravity lifecycle hooks (PreToolUse, Stop) adhering to the protojson contract ({ decision, reason }) via scripts/hooks/antigravity-hook-bridge.js
- Generate native Antigravity plugin manifest (plugin.json) and shared ECC memory vault MCP config (mcp_config.json)
- Support dual scope (user and project) with full harness capability integration
- Update install schemas and manifests to recognize antigravity-home
- Fix upstream regressions in plan.js scaffoldOnly, plan-canvas child_process spawn, codex-hooks pre-push test, and claude-plugin-setup hook arguments
- Add comprehensive Tier 1 test suite (13 passing tests) with 100% pass across all 4919 repository tests
29 lines
605 B
JavaScript
29 lines
605 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Antigravity MCP Configuration Generator
|
|
*
|
|
* Generates valid Antigravity mcp_config.json containing the ECC Memory Vault
|
|
* stdio server so that Antigravity agents have native access to .ecc/memory/.
|
|
*/
|
|
|
|
function buildAntigravityMcpConfig(options = {}) {
|
|
const memoryScript = options.memoryScript || 'scripts/memory-mcp.mjs';
|
|
|
|
return {
|
|
mcpServers: {
|
|
'ecc-memory': {
|
|
command: 'node',
|
|
args: [memoryScript],
|
|
env: {
|
|
ECC_MEMORY_HARNESS: 'antigravity',
|
|
},
|
|
},
|
|
},
|
|
};
|
|
}
|
|
|
|
module.exports = {
|
|
buildAntigravityMcpConfig,
|
|
};
|