Skip to content

feat(agentconnect-ui): get-started screen instead of 'open from CLI' notice - #135

Merged
JamesLawton merged 3 commits into
mainfrom
feat/agentconnect-get-started
Jul 24, 2026
Merged

feat(agentconnect-ui): get-started screen instead of 'open from CLI' notice#135
JamesLawton merged 3 commits into
mainfrom
feat/agentconnect-get-started

Conversation

@JamesLawton

@JamesLawton JamesLawton commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Two changes to agentconnect-ui, both affecting what a visitor to https://agentconnect.polygon.technology/ gets.

1. Get-started screen instead of the dead-end notice

When the dashboard is opened directly (no ?wallet= deep link from the CLI), it previously said "Open this page from the polygon-agent CLI." — a dead end. It now shows a "Set up a Polygon Agent" card with two copyable steps:

  1. Install the skill — npx skills add https://github.com/0xPolygon/polygon-agent-cli
  2. Prompt your agent — set up a Polygon Agent for me

Styling reuses the existing dashboard design system. The wallet-dashboard view when ?wallet= is present is unchanged.

2. Serve the agent skills from this deployment

The skill URLs the app and the skills reference (agentconnect.polygon.technology/SKILL.md, /polygon-defi/SKILL.md, etc.) were served only by the retired connector-ui — the agentconnect-ui build never included them, so once connector-ui goes away those URLs would 404. The build now copies the repo skills/ tree into dist/ (small serve-skills vite plugin in vite.config.ts), so the Cloudflare worker serves all of them as static assets:

  • /SKILL.md, /polygon-agent-cli/SKILL.md, /polygon-defi/SKILL.md, /polygon-discovery/SKILL.md, /polygon-polymarket/SKILL.md

The dashboard's main skill link (SKILL_URL) now points at the canonical /polygon-agent-cli/SKILL.md rather than the root /SKILL.md, which keeps it working after the root skills/SKILL.md is removed (see PR #134).

Testing

  • typecheck, lint, and vite build all clean (vite.config.ts is typechecked via tsconfig.node.json).
  • Built the app and served dist/ locally:
    • New landing screen renders correctly; all three copy strings assert true (screenshot captured).
    • All five SKILL.md URLs return 200 text/markdown with real skill content.
    • SPA root still 200; extensionless routes still fall back to the app.

Note

agentconnect-ui auto-deploys on merge (the deploy-agentconnect-ui workflow triggers on push to main for packages/agentconnect-ui/**), so merging ships both changes to production. Cross-PR note: this points SKILL_URL at /polygon-agent-cli/SKILL.md, the canonical skill kept by PR #134; both PRs are consistent regardless of merge order.

When the dashboard is opened directly (no ?wallet= deep link from the CLI),
show how to get started instead of 'Open this page from the polygon-agent CLI':
the skill install command (npx skills add ...) and the starter prompt
'set up a Polygon Agent for me', each copyable.
@claude

claude Bot commented Jul 24, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Build copies the repo skills/ tree into dist/ so the Cloudflare worker serves
SKILL.md and the sub-skills (polygon-agent-cli, polygon-defi, polygon-discovery,
polygon-polymarket) at agentconnect.polygon.technology — previously only the
retired connector-ui served them. Point the dashboard's main skill link at the
canonical polygon-agent-cli/SKILL.md (survives the root SKILL.md removal).
@JamesLawton
JamesLawton merged commit 8be6b13 into main Jul 24, 2026
6 checks passed
@JamesLawton
JamesLawton deleted the feat/agentconnect-get-started branch July 24, 2026 10:48
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