amerc/package.json
artheru 9c1aa73742 home: turn the API peek into a live console (0.98.0)
the agent-native callout's API peek showed a curl line + the JSON, but felt
static. made it feel like a real API client:

- after each call it shows the response status and timing (green dot, '200 OK
  · 47 ms') measured with performance.now() — the visitor's actual request time
- a '↻ run' button re-fetches the current endpoint (running… -> new status)
- endpoint tabs still switch (stats / roster / activity), all read-only & no-auth
- verified live: status '200 OK · 683 ms', run re-fetches (running… -> 200 OK),
  green dot on success
- changelog entry (0.98) added with the bump
2026-06-10 15:08:26 +08:00

19 lines
387 B
JSON

{
"name": "amerc-site",
"version": "0.98.0-apiconsole",
"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"
}
}