Skip to content

Commit 50b2843

Browse files
jarrodwattsclaude
andcommitted
Rename AGW MCP to AGW CLI in signer labels and UI copy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d956543 commit 50b2843

11 files changed

Lines changed: 18 additions & 18 deletions

File tree

app/src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import AbstractProvider from '@/providers/AbstractProvider';
88
import styles from './styles.module.scss';
99

1010
export const metadata = {
11-
title: 'AGW MCP Onboarding',
12-
description: 'Hosted onboarding flow for AGW MCP wallet linking.',
13-
applicationName: 'AGW MCP',
11+
title: 'AGW CLI Onboarding',
12+
description: 'Hosted onboarding flow for AGW CLI wallet linking.',
13+
applicationName: 'AGW CLI',
1414
};
1515

1616
export const viewport: Viewport = {

app/src/components/RevokeSignerFlow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default function RevokeSignerFlow({
141141
<div className={styles.wrapper}>
142142
<Card>
143143
<CardHeader>
144-
<CardTitle>Revoke AGW MCP Signer</CardTitle>
144+
<CardTitle>Revoke AGW CLI Signer</CardTitle>
145145
<CardDescription>Remove this device signer from your wallet, then hand the result back to the CLI.</CardDescription>
146146
</CardHeader>
147147
<CardContent className={styles.content}>
@@ -156,7 +156,7 @@ export default function RevokeSignerFlow({
156156
</p>
157157
) : null}
158158
<p className={styles.helper}>
159-
This only removes the selected AGW MCP signer. Other AGW MCP signers on this wallet are left unchanged.
159+
This only removes the selected AGW CLI signer. Other AGW CLI signers on this wallet are left unchanged.
160160
</p>
161161
{error ? <p className={styles.error}>{error}</p> : null}
162162
</CardContent>

app/src/components/SessionWizard/steps/Creating.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function Creating({
8787
<Card>
8888
<CardHeader>
8989
<CardTitle>Setting Up Agent Access</CardTitle>
90-
<CardDescription>Provisioning a new AGW MCP signer for this device.</CardDescription>
90+
<CardDescription>Provisioning a new AGW CLI signer for this device.</CardDescription>
9191
</CardHeader>
9292
<CardContent>
9393
<p className={styles.helper}>

app/src/components/SessionWizard/steps/NotLoggedIn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function NotLoggedIn() {
2929
</div>
3030
</CardHeader>
3131
<CardContent className={styles.loginContent}>
32-
<CardTitle>AGW MCP Server Onboarding</CardTitle>
32+
<CardTitle>AGW CLI Server Onboarding</CardTitle>
3333
<CardDescription>
3434
Connect your wallet to authorize an AI agent for automated wallet actions on this
3535
machine. This flow only configures MCP access for this device.

app/src/hooks/useCreateSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function useCreateAgentSigner() {
4444
});
4545
const provisionBody = (await provisionResponse.json()) as ProvisionedSignerResult & { error?: string };
4646
if (!provisionResponse.ok) {
47-
throw new Error(provisionBody.error ?? 'Failed to provision AGW MCP signer.');
47+
throw new Error(provisionBody.error ?? 'Failed to provision AGW CLI signer.');
4848
}
4949

5050
await addSessionSigners({
@@ -69,7 +69,7 @@ export function useCreateAgentSigner() {
6969
});
7070
const finalized = (await finalizeResponse.json()) as { redirectUrl?: string; error?: string };
7171
if (!finalizeResponse.ok || !finalized.redirectUrl) {
72-
throw new Error(finalized.error ?? 'Failed to finalize AGW MCP signer provisioning.');
72+
throw new Error(finalized.error ?? 'Failed to finalize AGW CLI signer provisioning.');
7373
}
7474

7575
return {

app/src/lib/policy-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export function buildDefaultPolicyPreview(nowUnixSeconds = Math.floor(Date.now()
305305
version: 1,
306306
mode: 'guided',
307307
presetId: preset.id,
308-
presetLabel: 'AGW MCP Default',
308+
presetLabel: 'AGW CLI Default',
309309
enabledTools: [...DEFAULT_ENABLED_TOOLS],
310310
selectedAppIds: [],
311311
selectedContractAddresses: [],

app/src/lib/policy-presets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export const BUILT_IN_POLICY_PRESETS: Readonly<
182182
},
183183
full_app_control: {
184184
id: 'full_app_control',
185-
label: 'Broad AGW MCP Access',
185+
label: 'Broad AGW CLI Access',
186186
description: 'Broad device signer access with chain, time, and native value limits.',
187187
customMode: false,
188188
riskHint: 'critical',

app/src/lib/server/default-policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function buildDefaultPolicyMeta(nowUnixSeconds = Math.floor(Date.now() /
2121
version: 1,
2222
mode: 'guided',
2323
presetId: 'full_app_control',
24-
presetLabel: 'AGW MCP Default',
24+
presetLabel: 'AGW CLI Default',
2525
enabledTools: [...DEFAULT_ENABLED_TOOLS],
2626
selectedAppIds: [],
2727
selectedContractAddresses: [],

app/src/lib/server/privy-api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createHash } from 'node:crypto';
22

33
const PRIVY_API_BASE = 'https://api.privy.io';
4-
const AGW_MCP_SIGNER_LABEL_PREFIX = 'AGW MCP';
4+
const SIGNER_LABEL_PREFIX = 'AGW CLI';
55

66
export interface PrivyAdminConfig {
77
appId: string;
@@ -173,7 +173,7 @@ function normalizeKeyQuorumRecord(value: Record<string, unknown>): PrivyKeyQuoru
173173
const id = typeof value.id === 'string' ? value.id : '';
174174
const displayName = typeof value.display_name === 'string' && value.display_name.trim()
175175
? value.display_name.trim()
176-
: `${AGW_MCP_SIGNER_LABEL_PREFIX} signer`;
176+
: `${SIGNER_LABEL_PREFIX} signer`;
177177
const publicKeys = Array.isArray(value.authorization_keys)
178178
? value.authorization_keys.flatMap(entry => {
179179
if (!entry || typeof entry !== 'object') {
@@ -202,7 +202,7 @@ export function computeSignerFingerprint(publicKeyBase64: string): string {
202202
}
203203

204204
export function buildSignerLabel(fingerprint: string): string {
205-
return `${AGW_MCP_SIGNER_LABEL_PREFIX} ${fingerprint}`;
205+
return `${SIGNER_LABEL_PREFIX} ${fingerprint}`;
206206
}
207207

208208
export async function findWalletByAddress(address: string): Promise<PrivyWalletRecord> {
@@ -288,7 +288,7 @@ export async function listExistingAgwMcpSigners(wallet: PrivyWalletRecord) {
288288
wallet.additionalSigners.map(async signer => {
289289
try {
290290
const keyQuorum = await getKeyQuorumById(signer.signerId);
291-
if (!keyQuorum.displayName.startsWith(AGW_MCP_SIGNER_LABEL_PREFIX)) {
291+
if (!keyQuorum.displayName.startsWith(SIGNER_LABEL_PREFIX)) {
292292
return null;
293293
}
294294
return {

packages/agw-core/src/privy/admin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function normalizeKeyQuorumRecord(value: Record<string, unknown>): PrivyKeyQuoru
129129
const id = typeof value.id === "string" ? value.id : "";
130130
const displayName = typeof value.display_name === "string" && value.display_name.trim()
131131
? value.display_name.trim()
132-
: "AGW MCP signer";
132+
: "AGW CLI signer";
133133
const publicKeys = Array.isArray(value.authorization_keys)
134134
? value.authorization_keys.flatMap(entry => {
135135
if (!entry || typeof entry !== "object") {

0 commit comments

Comments
 (0)