Skip to content

Rename gitclaw → gitagent across the entire project - #43

Merged
shreyas-lyzr merged 2 commits into
mainfrom
rename/gitclaw-to-gitagent
May 24, 2026
Merged

Rename gitclaw → gitagent across the entire project#43
shreyas-lyzr merged 2 commits into
mainfrom
rename/gitclaw-to-gitagent

Conversation

@shreyas-lyzr

Copy link
Copy Markdown
Contributor

Project-wide rename following the repo move to open-gitagent/gitagent.

What changed

  • npm package name + bin: gitclawgitagent
  • Env vars: GITCLAW_*GITAGENT_* (PASSWORD, USERNAME, CLOUD, OTEL_ENABLED, MODEL_BASE_URL, MAX_FILE_BYTES)
  • OpenTelemetry span/metric prefixes: gitclaw.*gitagent.* (gitagent.agent.session, gitagent.tool.execute, gitagent.tool.calls, gitagent.session.cost_usd, …)
  • Global plugin dir: ~/.gitclaw/plugins~/.gitagent/plugins
    • The per-agent runtime dir <agent>/.gitagent/ was already named .gitagent and is unchanged — no collision (different locations: HOME vs agent dir).
  • Docs & assets: README, Documentation.md, CONTRIBUTING, install.sh, docs/, examples, skills/example-skill, identity files, repo URLs, and the logo (gitclaw-logo.pnggitagent-logo.png).

Scope

  • 30 text files + 1 asset rename
  • Pure rename: 304 insertions / 304 deletions, fully balanced
  • Case-preserving: gitclawgitagent, GITCLAWGITAGENT, GitClawGitAgent, GitclawGitagent

Verification

  • npm run build (tsc) — clean
  • npm test27/27 pass (telemetry span-name assertions updated in lockstep with telemetry.ts)

⚠️ Breaking changes

  • The gitclaw CLI name is gone — use gitagent.
  • GITCLAW_* env vars are gone — use GITAGENT_*. No backward-compat fallback is included (can add one if desired).
  • Downstream consumers importing the gitclaw npm package must switch to gitagent.

🤖 Generated with Claude Code

Project-wide rename following the repo move to open-gitagent/gitagent.

- npm package name and bin: gitclaw -> gitagent
- env vars: GITCLAW_* -> GITAGENT_* (PASSWORD, USERNAME, CLOUD,
  OTEL_ENABLED, MODEL_BASE_URL, MAX_FILE_BYTES)
- OpenTelemetry span/metric prefixes: gitclaw.* -> gitagent.*
- global plugin dir: ~/.gitclaw/plugins -> ~/.gitagent/plugins
  (per-agent runtime dir <agent>/.gitagent/ was already named that
   and is unchanged)
- repo URLs, README, Documentation, install.sh, examples, skills,
  identity files, and the logo asset (gitclaw-logo.png -> gitagent-logo.png)

Pure rename: 304 insertions / 304 deletions, balanced. tsc build is
clean and all 27 tests pass.

BREAKING: existing GITCLAW_* env vars and the `gitclaw` CLI name no
longer work — callers must switch to GITAGENT_* and `gitagent`.
npm ci enforces that package-lock.json matches package.json. After the
rename, the committed lockfile still said name "gitclaw" (and also
pointed every dependency at a private kavak.jfrog.io Artifactory mirror,
which GitHub Actions can't auth to). Both would break the publish.yml
workflow's `npm ci` step.

Regenerated against registry.npmjs.org with the new package name:
- root name: gitclaw -> gitagent (matches package.json)
- 333/333 packages now resolve to registry.npmjs.org with integrity
- 0 kavak.jfrog.io URLs

Verified: `npm ci` + `npm run build` both succeed locally.
@shreyas-lyzr
shreyas-lyzr merged commit d32e526 into main May 24, 2026
@shreyas-lyzr
shreyas-lyzr deleted the rename/gitclaw-to-gitagent branch May 24, 2026 16:03
shreyas-lyzr added a commit that referenced this pull request May 24, 2026
The FAQ section (added in #35) landed after the rename branch point,
so its gitclaw references survived the squash merge of #43. Renamed
them and fixed the circular 'formerly GitAgent' note to
'GitAgent (formerly Gitclaw)'.
shreyas-lyzr added a commit that referenced this pull request May 24, 2026
The FAQ section (added in #35) landed after the rename branch point,
so its gitclaw references survived the squash merge of #43. Renamed
them and fixed the circular 'formerly GitAgent' note to
'GitAgent (formerly Gitclaw)'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant