Repository navigation
Production-harden AGW: workspace restructure, delegated signing, and skill catalog #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d8ac035
feat: add Privy-backed delegated signer sessions
jarrodwatts e23fb7f
feat(app): add Privy delegated onboarding flow
jarrodwatts e9170ef
Implement delegated AGW MCP signer onboarding
jarrodwatts f455391
Use AGW address as canonical session wallet
jarrodwatts a590539
Fix Privy wallet RPC: hex chain_id, chain_type, and error propagation
jarrodwatts 4540305
Replace AgwActionAdapter with AbstractClient from agw-client
jarrodwatts b8b064d
Increase default policy expiry from 1 hour to 30 days
jarrodwatts abe3d2e
refactor: move agw runtime into workspace packages
jarrodwatts 5999e0e
chore: promote agw as the published product surface
jarrodwatts b4d0f83
chore: remove legacy runtime and stale repo artifacts
jarrodwatts df1a670
refactor: harden agw core command contracts
jarrodwatts 372d40b
feat: align agw cli and extension surfaces
jarrodwatts b7a30b1
test: lock article parity behavior
jarrodwatts bcb10fd
chore: remove ZeroEx API integration and related artifacts
jarrodwatts 6c61438
feat: add AGW CLI banner image and update README
jarrodwatts f67eeaa
Use live Portal data for AGW app discovery
jarrodwatts f07b46b
Improve AGW installation and packaging guidance
jarrodwatts 85ed1e1
Refresh shipped AGW skills for agent workflows
jarrodwatts 176ccbd
Restructure wallet read schemas and align public field paths
jarrodwatts e5eebcb
Harden Aborean discovery with exact-pair factory lookup
jarrodwatts bf1cf2f
Update .gitignore to include additional file patterns
jarrodwatts 483a6e5
Rename CLI package from agw to agw-cli
jarrodwatts 63fa645
Fix publish workflow filter and session wizard chain resolution
jarrodwatts 9e71f37
Remove duplicate lockfile and favicon causing Next.js conflicts
jarrodwatts df74e8d
Rename skills to gerund form per Anthropic naming conventions
jarrodwatts 737c0bd
Add trading-on-uniswap skill for Uniswap V2+V3 swaps on Abstract
jarrodwatts bceaebc
Add managing-agent-identity skill for ERC-8004 on Abstract
jarrodwatts 3638912
Add bridging-to-abstract and building-on-abstract skills
jarrodwatts 0804ea3
Add upvoting-on-abstract skill for Abstract Portal voting
jarrodwatts 288b96a
Fix ABI format in skills: use full JSON objects, not human-readable s…
jarrodwatts dde0959
Fix auth state race conditions and redesign authorization page
jarrodwatts 89d6e54
Add mining-with-bigcoin skill for Bigcoin game on Abstract
jarrodwatts 3f721ba
Fix pre-merge review items: env docs, skills list, stray console.error
jarrodwatts e7544ef
Override vulnerable transitive deps to fix CI audit
jarrodwatts 74e9e2c
Fix CI app job: install full workspace so overrides apply
jarrodwatts c43e1e7
Fix CI: use valid registry app ID in test, suppress tsdown bundle war…
jarrodwatts c32dd9d
Use shared Privy policy instead of creating one per session
jarrodwatts cef9e63
Add script to create default Privy policy
jarrodwatts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "packages/agw-cli": "0.1.0" | ||
| } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # AGW Context | ||
|
|
||
| AGW is an agent-first CLI for Abstract Global Wallet workflows. Treat the CLI as the source of truth. | ||
|
|
||
| ## Rules | ||
|
|
||
| - Use `agw-cli schema <commandId>` whenever the request or response shape is unclear. | ||
| - Pass command input with `--json <payload|@file>`. | ||
| - Keep runtime config out of JSON payloads. Use `AGW_*` env vars or CLI flags such as `--home`, `--chain-id`, `--rpc-url`, and `--app-url`. | ||
| - Treat signing and state-changing commands as preview-first. | ||
| - Use `--dry-run` to validate locally and inspect the preview. | ||
| - Use `--execute` only after explicit user confirmation. | ||
| - Never infer execute permission from a successful preview. | ||
| - Keep reads narrow with `fields`. | ||
| - Use pagination on list surfaces and prefer `--page-all --output ndjson` for large result sets. | ||
| - Parse stdout only. Diagnostics and warnings belong on stderr. | ||
| - Prefer MCP when the host supports it. The MCP server is generated from the same registry as the CLI. | ||
| - Sanitization profiles are `off` and `strict`. MCP and extension surfaces default to `strict`. | ||
|
|
||
| ## Config | ||
|
|
||
| Public runtime config is: | ||
|
|
||
| - `AGW_HOME` | ||
| - `AGW_CHAIN_ID` | ||
| - `AGW_RPC_URL` | ||
| - `AGW_APP_URL` | ||
| - `AGW_OUTPUT` | ||
| - `AGW_CALLBACK_SIGNING_PUBLIC_KEY` | ||
| - `AGW_CALLBACK_SIGNING_ISSUER` | ||
| - `AGW_SANITIZE_PROFILE` | ||
|
|
||
| ## Common Patterns | ||
|
|
||
| Inspect schema: | ||
|
|
||
| ```bash | ||
| agw-cli schema tx.send | ||
| ``` | ||
|
|
||
| Inspect session state: | ||
|
|
||
| ```bash | ||
| agw-cli session status --json '{"fields":["status","readiness","accountAddress"]}' | ||
| ``` | ||
|
|
||
| Preview a mutating action: | ||
|
|
||
| ```bash | ||
| agw-cli tx send --json '{"to":"0x...","data":"0x1234","value":"0"}' --dry-run | ||
| ``` | ||
|
|
||
| Execute after confirmation: | ||
|
|
||
| ```bash | ||
| agw-cli tx send --json '{"to":"0x...","data":"0x1234","value":"0"}' --execute | ||
| ``` | ||
|
|
||
| Stream a paginated read: | ||
|
|
||
| ```bash | ||
| agw-cli wallet tokens list \ | ||
| --json '{"pageSize":25,"fields":["items.symbol","items.value","nextCursor"]}' \ | ||
| --page-all \ | ||
| --output ndjson | ||
| ``` |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.