opengap
opengap copied to clipboard
refactor: rename gitclaw adapter/format to gitagent
Summary
Renames the gitclaw export adapter/format to gitagent across code and docs.
Changes
- Renamed
src/adapters/gitclaw.tsandsrc/runners/gitclaw.ts→gitagent.ts(symbols, comments, spawned CLI, install hint updated) - Updated format/adapter keyword
gitclaw→gitagentincommands/export.ts,commands/run.ts, andadapters/index.ts - Updated docs:
README.md,docs.md, andpaper/*
How I tested
Built locally and ran the CLI via node dist/index.js from the repo root:
npm run build— compiles cleangrep -rin gitclaw(excl. dist/node_modules) — no leftover referencesnode dist/index.js export -f gitagent -d examples/standard— produces correct output;-f gitclawnow errors as expectednode dist/index.js run -a gitagent -d examples/standard -p "hi"— prepares workspace and launches the agentnode dist/index.js export --help/run --help— showgitagent, nogitclaw