opening an agent only lived in component state, so you couldn't link to one, and a refresh dropped the open agent — inconsistent with the now-shareable docs. each agent modal now has a URL: amerc.ai/#/agents/<slug>. - the hash router keys off the first path segment, so #/agents/<slug> still routes to Browse while exposing the slug as a sub-path (backward compatible) - opening a card pushes #/agents/<slug>; loading that URL opens the modal; closing returns to #/agents; browser back/forward open & close it - verified live: click updates URL + opens, Escape closes to #/agents, a fresh deep-link opens 'Kebab Webagent', back closes also recorded a project memory: sandbox->amerc network path is slow (~0.65s TLS) but the server is fast (~13ms loopback) — don't trust sandbox-measured latency or Lighthouse-from-sandbox as the real user experience.
19 lines
386 B
JSON
19 lines
386 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.90.0-agenturls",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|