Commit Graph

10 Commits

Author SHA1 Message Date
b4b5df91f0 legion: agent cards reused + class runtime properties (1.2.0)
- AgentCard extracted; Browse and My Legion render the identical card;
  Legion cards open the same ClassModal (instances + Use + chat)
- class properties: managed (amerc-managed, loads amerc skills),
  terminal_mode new|shared per session, skills_reload for shared
  terminals — publish form, API create/patch, badges in the modal
- kebab coordination: broker spec delivered via TerminalMan 155; kebab
  already heartbeats instance 2 with the skills array (status lost ->
  stabilizing); monitor armed for online

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 02:58:51 +08:00
34fb174308 api: native chat + no-cache file relay (chat backend, iter 2)
- chat_messages table: persistent per-session chatlog (file kinds store
  placeholder only); session open/close events logged
- GET/POST /agents/sessions/:id/messages — browser (cookie) and broker
  (accesskey) both speak plain HTTP; ?wait=1 long-polls up to 25s
- GET /agents/sessions — my chatlog list with last message + counts
- POST /agents/sessions/:id/files + GET /agents/files/:token — streamed
  rendezvous relay, both directions; bytes never touch disk or DB;
  single-use token, 5-min expiry, Content-Length passthrough for progress
- heartbeat now accepts skills[] (shown in chat) and returns activeSessions
- nginx /api: request buffering off, 512m bodies, 360s timeouts (deployed)

Tested locally end-to-end: chat both ways, 3MB relay both directions
(md5-identical, zero server caching), long-poll wake, auth rejection.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 02:39:33 +08:00
c8f6d0f892 public documentation (0.39.0)
- amerc-api: GET /docs + /docs/:id are public (reads); writes still require auth
- DocsApp/ConsoleShell: publicView mode renders docs read-only when logged out,
  with a 'Log in to edit' header CTA; edit/new/delete hidden for anonymous
- Docs nav link now shown to everyone
- seeded 5 quality guides: Quickstart, Publish an agent, Embed a chatbox, Showcase, API reference
2026-06-10 06:08:19 +08:00
adbac1b9f0 Showcase HTTPS (0.36.0): auto per-user wildcard TLS
- server: certbot DNS-01 GoDaddy hooks + showcase-cert.sh issues *.<user>.amerc.ai
  wildcard cert and writes a per-user 443 nginx vhost -> edge
- amerc-api: registration triggers cert provisioning async (idempotent) + returns https URL
- Mansion shows the HTTPS-provisioning note
- verified: https://demo1.artheru.amerc.ai serves over TLS (Let's Encrypt *.artheru cert)
2026-06-10 05:46:28 +08:00
0de81620b0 live activity feed (0.31.0): 'Live in the tavern' on the landing
- /api/agents/activity: derived recent events (classes published, instances run,
  sessions started, showcases opened) — no new schema
- landing feed with per-kind icons + relative time, auto-refreshes every 15s
- social proof / 'platform is alive' on the home page
2026-06-10 05:18:13 +08:00
7d62877808 self-service agent keys (0.28.0): users mint their own Bearer keys
- amerc-api: owner column migration + /api/keys GET/POST/DELETE (user-scoped)
- My Booth: 'My agent keys' card — mint, list, revoke, with Bearer usage hint
- unblocks any user wiring their own agent to amerc docs/netdisk/platform (was admin-only)
2026-06-10 05:04:32 +08:00
099fd7616f Showcase reverse-proxy + amerc Mansion UI (0.26.0)
- amerc-api /api/showcase: register subdomain + GoDaddy per-user wildcard DNS automation
- server/showcase-edge: ngrok-style HTTP+WS reverse tunnel (ws), broker-token verified
- nginx: apex /showcase/ws (broker) + wildcard vhost for *.<user>.amerc.ai showcases
- Mansion page: services hub, Showcase registration + kebab delivery-center instructions
- verified on the public internet (http://demo1.artheru.amerc.ai/ via local-port tunnel)
- reference broker sent to kebab for their delivery center + ws/http demo
2026-06-10 04:50:16 +08:00
f85301c33d agent platform (class/instance/session) + top-down RPG tavern + Gitea SSO + tests
- agent_classes/instances/sessions API w/ lifecycle (heartbeat->online->lost->down)
- TopDownTavern (3/4 tile RPG scene) + Browse Agents + Booth dashboard + live stats
- /api/auth/verify SSO bridge (nginx auth_request -> Gitea reverse-proxy auth)
- RPG-themed login across docs/pm; webagent broker login
- server/platform-tests.mjs: 41 assertions, all passing

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 22:08:39 +08:00
4a483638a7 webagent: apex broker login endpoint (/api/webagent/login)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 06:12:20 +08:00
b055663372 amerc suite: 2D pixel tavern + zero-dep auth/admin/docs/pm backend
- Scene2D pixel tavern (replaces three.js 3D scene)
- amerc-api: node:http+node:sqlite+node:crypto, auth/admin/docs/files/boards
- docs.amerc.ai + pm.amerc.ai (whiteboard mindmap + netdisk) apps
- agent API keys for fleet read/write

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 06:03:40 +08:00