Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

657 B
Raw Blame
'use strict';

const { main } = require('../../scripts/install-guided');

function createPlan(request) {
  return {
    request,
    harnesses: request.harnesses.map(id => ({
      id,
      channel: id === 'kimi' ? 'managed-project' : 'native-plugin',
      preview: {},
    })),
  };
}

async function applyPlan(plan) {
  return {
    status: 'complete',
    completed: plan.harnesses.map(({ id }) => ({ id })),
    retryHarnesses: [],
  };
}

main([], {
  applyPlan,
  createPlan,
  showWelcome({ output }) {
    output.write('PTY_WELCOME_SHOWN\n');
  },
  startSpinner() {
    return { stop() {} };
  },
}).then(code => {
  process.exitCode = code;
});