{``}
-
+ Paste before </body> — a chat bubble appears bottom-right, and on connect your page's skills are injected into the agent.
🖥️ Switch to the 后台 / Backstage tab above to watch and drive the agent's live terminal.
} > )} diff --git a/src/Scene2D.jsx b/src/Scene2D.jsx index 3653984..45335cf 100644 --- a/src/Scene2D.jsx +++ b/src/Scene2D.jsx @@ -7,7 +7,7 @@ import Account from './Account.jsx'; import TavernGame from './TavernGame.jsx'; import { api } from './api.js'; -const RELEASE = '0.36.0-https'; +const RELEASE = '0.37.0-embed'; const NAV = [ { id: 'home', label: 'Tavern' }, diff --git a/src/styles.css b/src/styles.css index 0e8f241..cbad9d5 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1174,3 +1174,10 @@ button { .acct-form { display: flex; flex-direction: column; gap: 10px; max-width: 360px; } .acct-form input { padding: 10px; border-radius: 8px; background: #0a0f1a; border: 1px solid #2e2440; color: #eaf2ff; font-family: inherit; } @media (max-width: 680px) { .acct-grid { grid-template-columns: 1fr; } } + +/* agent-use embed prominence (0.37) */ +.ap-embed { padding: 14px; background: #0a0f1a; border-top: 1px solid #1d1430; } +.ap-embed-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; font-size: 13px; color: #c9b8e6; } +.ap-embed > code { display: block; color: #7fe9ff; font-family: ui-monospace, monospace; font-size: 12px; background: #07060c; padding: 10px 12px; border-radius: 8px; word-break: break-all; border: 1px solid #1d2a3a; } +.ap-embed .ap-hint { margin: 8px 0 0; } .ap-embed .ap-hint code { display: inline; padding: 1px 5px; background: #162032; color: #9d8fc0; } +.ap-pty-note { padding: 12px 14px; }