Skip to content

Commit d16b771

Browse files
jarrodwattsclaude
andcommitted
Rename repo references from agw-mcp to agw-cli
Update GitHub URLs, package name, README banner path, and test tmp dir prefixes. Legacy storage dirname (.agw-mcp) kept for backward-compatible migration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 29bc2a9 commit d16b771

12 files changed

Lines changed: 30 additions & 30 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/Abstract-Foundation/agw-mcp/main/docs/assets/banner.png" alt="AGW CLI Banner" width="100%" />
2+
<img src="https://raw.githubusercontent.com/Abstract-Foundation/agw-cli/main/agw-cli-banner.png" alt="AGW CLI Banner" width="100%" />
33
</p>
44

55
<p align="center">
66
<a href="https://www.npmjs.com/package/@abstract-foundation/agw-cli"><img src="https://img.shields.io/npm/v/@abstract-foundation/agw-cli" alt="npm version" /></a>
7-
<a href="https://github.com/Abstract-Foundation/agw-mcp/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Abstract-Foundation/agw-mcp" alt="License" /></a>
7+
<a href="https://github.com/Abstract-Foundation/agw-cli/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Abstract-Foundation/agw-cli" alt="License" /></a>
88
<img src="https://img.shields.io/node/v/@abstract-foundation/agw-cli" alt="Node.js version" />
99
</p>
1010

@@ -29,10 +29,10 @@ It also ships a built-in [MCP](https://modelcontextprotocol.io/) server, so any
2929
Copy and paste this prompt to your LLM agent (Claude Code, Codex, etc.):
3030

3131
```text
32-
Install and configure the AGW CLI by following the instructions here (use curl to fetch this file, NOT WebFetch): https://raw.githubusercontent.com/Abstract-Foundation/agw-mcp/main/docs/guide/installation.md
32+
Install and configure the AGW CLI by following the instructions here (use curl to fetch this file, NOT WebFetch): https://raw.githubusercontent.com/Abstract-Foundation/agw-cli/main/docs/guide/installation.md
3333
```
3434

35-
Or, read the [installation guide](https://github.com/Abstract-Foundation/agw-mcp/blob/main/docs/guide/installation.md) directly.
35+
Or, read the [installation guide](https://github.com/Abstract-Foundation/agw-cli/blob/main/docs/guide/installation.md) directly.
3636

3737
### Prerequisites
3838

@@ -203,7 +203,7 @@ agw-cli mcp-config --npx # npx-based (no global install needed)
203203
The repo ships agent skills that teach AI agents how to use the CLI safely. Install them with:
204204

205205
```bash
206-
npx skills add https://github.com/Abstract-Foundation/agw-mcp/tree/main/packages/agw-cli/skills
206+
npx skills add https://github.com/Abstract-Foundation/agw-cli/tree/main/packages/agw-cli/skills
207207
```
208208

209209
Available skills:
@@ -304,7 +304,7 @@ Yes. Pass `--chain-id` or set `AGW_CHAIN_ID` to target a different network. Use
304304
305305
## Contributing
306306

307-
Issues and pull requests are welcome at [github.com/Abstract-Foundation/agw-mcp](https://github.com/Abstract-Foundation/agw-mcp/issues).
307+
Issues and pull requests are welcome at [github.com/Abstract-Foundation/agw-cli](https://github.com/Abstract-Foundation/agw-cli/issues).
308308

309309
## License
310310

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@abstract-foundation/agw-mcp-app",
2+
"name": "@abstract-foundation/agw-cli-app",
33
"version": "0.1.0",
44
"private": true,
55
"type": "module",

docs/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ The AGW repo ships agent Skills that teach the agent how to use the CLI safely a
6666
Install all AGW skills by default:
6767

6868
```bash
69-
npx skills add https://github.com/Abstract-Foundation/agw-mcp/tree/main/packages/agw-cli/skills
69+
npx skills add https://github.com/Abstract-Foundation/agw-cli/tree/main/packages/agw-cli/skills
7070
```

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"author": "Abstract Foundation",
88
"repository": {
99
"type": "git",
10-
"url": "git+https://github.com/Abstract-Foundation/agw-mcp.git"
10+
"url": "git+https://github.com/Abstract-Foundation/agw-cli.git"
1111
},
12-
"homepage": "https://github.com/Abstract-Foundation/agw-mcp#readme",
12+
"homepage": "https://github.com/Abstract-Foundation/agw-cli#readme",
1313
"bugs": {
14-
"url": "https://github.com/Abstract-Foundation/agw-mcp/issues"
14+
"url": "https://github.com/Abstract-Foundation/agw-cli/issues"
1515
},
1616
"type": "module",
1717
"packageManager": "pnpm@10.12.1",

packages/agw-cli/extensions/claude-code/.claude-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": {
66
"name": "Abstract Foundation"
77
},
8-
"homepage": "https://github.com/Abstract-Foundation/agw-mcp",
9-
"repository": "https://github.com/Abstract-Foundation/agw-mcp",
8+
"homepage": "https://github.com/Abstract-Foundation/agw-cli",
9+
"repository": "https://github.com/Abstract-Foundation/agw-cli",
1010
"license": "MIT"
1111
}

packages/agw-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"author": "Abstract Foundation",
88
"repository": {
99
"type": "git",
10-
"url": "git+https://github.com/Abstract-Foundation/agw-mcp.git"
10+
"url": "git+https://github.com/Abstract-Foundation/agw-cli.git"
1111
},
12-
"homepage": "https://github.com/Abstract-Foundation/agw-mcp#readme",
12+
"homepage": "https://github.com/Abstract-Foundation/agw-cli#readme",
1313
"bugs": {
14-
"url": "https://github.com/Abstract-Foundation/agw-mcp/issues"
14+
"url": "https://github.com/Abstract-Foundation/agw-cli/issues"
1515
},
1616
"bin": {
1717
"agw-cli": "./dist/index.mjs"

server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "io.github.abstract-foundation/agw-cli",
44
"description": "MCP server for Abstract Global Wallet session-key workflows — scoped wallet actions without custodial signing",
55
"repository": {
6-
"url": "https://github.com/Abstract-Foundation/agw-mcp",
6+
"url": "https://github.com/Abstract-Foundation/agw-cli",
77
"source": "github"
88
},
99
"version": "0.1.0",

test/audit-log.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AuditLog } from "../packages/agw-core/src/audit/log.js";
55

66
describe("audit log module", () => {
77
it("appends redact-safe audit entries", async () => {
8-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-audit-"));
8+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-audit-"));
99

1010
try {
1111
const audit = new AuditLog(tmpDir);
@@ -52,7 +52,7 @@ describe("audit log module", () => {
5252
});
5353

5454
it("rotates audit log files when size threshold is exceeded", async () => {
55-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-audit-rotate-"));
55+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-audit-rotate-"));
5656

5757
try {
5858
const audit = new AuditLog({

test/bootstrap.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ describe("bootstrap callback/signer bundle flow", () => {
157157

158158
it("materializes session bundle with auth keyfile path", () => {
159159
// #given
160-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-"));
160+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-"));
161161
const now = 1_800_000_000;
162162

163163
try {
@@ -201,7 +201,7 @@ describe("bootstrap callback/signer bundle flow", () => {
201201

202202
it("opens hosted onboarding URL with callback_url + chain_id and then saves session", async () => {
203203
// #given
204-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-flow-"));
204+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-flow-"));
205205

206206
let resolvePayload!: (value: string) => void;
207207
const payloadPromise = new Promise<string>(resolve => {
@@ -272,7 +272,7 @@ describe("bootstrap callback/signer bundle flow", () => {
272272

273273
it("defaults to mcp.abs.xyz when onboarding app URL is not configured", async () => {
274274
// #given
275-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-flow-"));
275+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-flow-"));
276276
const previous = process.env.AGW_APP_URL;
277277
delete process.env.AGW_APP_URL;
278278

@@ -327,7 +327,7 @@ describe("bootstrap callback/signer bundle flow", () => {
327327
});
328328

329329
it("rejects insecure non-loopback http app URLs", async () => {
330-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-flow-"));
330+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-flow-"));
331331

332332
try {
333333
await expect(
@@ -344,7 +344,7 @@ describe("bootstrap callback/signer bundle flow", () => {
344344

345345
it("fails when another bootstrap lock already exists", async () => {
346346
// #given
347-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-lock-"));
347+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-lock-"));
348348
fs.mkdirSync(tmpDir, { recursive: true });
349349
fs.writeFileSync(path.join(tmpDir, ".bootstrap-init.lock"), JSON.stringify({ pid: process.pid }), { mode: 0o600 });
350350

@@ -364,7 +364,7 @@ describe("bootstrap callback/signer bundle flow", () => {
364364

365365
it("recovers stale bootstrap lock and continues", async () => {
366366
// #given
367-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-lock-"));
367+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-lock-"));
368368
const lockPath = path.join(tmpDir, ".bootstrap-init.lock");
369369
fs.mkdirSync(tmpDir, { recursive: true });
370370
fs.writeFileSync(lockPath, "stale-lock", { mode: 0o600 });
@@ -446,7 +446,7 @@ describe("bootstrap callback/signer bundle flow", () => {
446446

447447
it("rejects bundle when returned chain id mismatches requested chain", async () => {
448448
// #given
449-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-flow-"));
449+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-flow-"));
450450

451451
let resolvePayload!: (value: string) => void;
452452
const payloadPromise = new Promise<string>(resolve => {
@@ -480,7 +480,7 @@ describe("bootstrap callback/signer bundle flow", () => {
480480

481481
it("restores previous local key/session files when bootstrap fails", async () => {
482482
// #given
483-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-bootstrap-restore-"));
483+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-bootstrap-restore-"));
484484
const originalKey = "wallet-auth:dGVzdC1vcmlnaW5hbC1rZXk=\n";
485485
const originalSession = JSON.stringify(
486486
{

test/get-balances.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe("get_balances tool", () => {
140140
});
141141

142142
it("integrates with SessionManager and de-duplicates token addresses", async () => {
143-
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-mcp-get-balances-"));
143+
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), "agw-cli-get-balances-"));
144144
const logger = new Logger("test");
145145

146146
try {

0 commit comments

Comments
 (0)