@songsid/agend 2.4.0-beta.20 → 2.4.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-cli-instructions.md +1 -1
- package/dist/backend/claude-carry.d.ts +11 -0
- package/dist/backend/claude-carry.js +88 -6
- package/dist/backend/claude-carry.js.map +1 -1
- package/dist/backend/claude-code.js +3 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/cache-ledger.d.ts +23 -21
- package/dist/cache-ledger.js +70 -6
- package/dist/cache-ledger.js.map +1 -1
- package/dist/cache-prices.d.ts +8 -6
- package/dist/cache-prices.js +12 -5
- package/dist/cache-prices.js.map +1 -1
- package/dist/cache-service.d.ts +9 -5
- package/dist/cache-service.js +202 -50
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/mcp-tools.js +6 -4
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/cli-audited.js +2 -1
- package/dist/cli-audited.js.map +1 -1
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/contact-auth-policy.js +1 -1
- package/dist/contact-auth-policy.js.map +1 -1
- package/dist/contact-auth-service.js +8 -2
- package/dist/contact-auth-service.js.map +1 -1
- package/dist/contact-auth-store.d.ts +3 -0
- package/dist/contact-auth-store.js +34 -8
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-auth-types.d.ts +3 -2
- package/dist/contact-auth-types.js.map +1 -1
- package/dist/contact-change-proposals.d.ts +47 -0
- package/dist/contact-change-proposals.js +132 -0
- package/dist/contact-change-proposals.js.map +1 -0
- package/dist/daemon.d.ts +31 -0
- package/dist/daemon.js +149 -2
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-outbox.d.ts +10 -0
- package/dist/delivery-outbox.js +21 -0
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/fleet-manager.d.ts +65 -1
- package/dist/fleet-manager.js +338 -20
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +2 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +45 -5
- package/dist/general-knowledge/skills/task-board/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +1 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +16 -6
- package/dist/hub/agent-pictures-model.d.ts +275 -0
- package/dist/hub/agent-pictures-model.js +103 -0
- package/dist/hub/agent-pictures-model.js.map +1 -0
- package/dist/hub/agent-pictures.d.ts +64 -0
- package/dist/hub/agent-pictures.js +255 -0
- package/dist/hub/agent-pictures.js.map +1 -0
- package/dist/hub/client.d.ts +4 -0
- package/dist/hub/client.js +23 -2
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +14 -3
- package/dist/hub/compose/member.js +46 -10
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +6 -5
- package/dist/hub/compose/server.js +7 -3
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/direct-posts-model.d.ts +1 -0
- package/dist/hub/direct-posts-model.js +2 -0
- package/dist/hub/direct-posts-model.js.map +1 -0
- package/dist/hub/direct-posts.d.ts +36 -0
- package/dist/hub/direct-posts.js +145 -0
- package/dist/hub/direct-posts.js.map +1 -0
- package/dist/hub/http/compose.d.ts +5 -0
- package/dist/hub/http/compose.js +158 -20
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.d.ts +9 -1
- package/dist/hub/http/core.js +21 -1
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +1 -0
- package/dist/hub/http/schema.js +7 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/init/text.js +1 -1
- package/dist/hub/join/service.d.ts +2 -0
- package/dist/hub/join/service.js +7 -3
- package/dist/hub/join/service.js.map +1 -1
- package/dist/hub/member/agent-pictures.d.ts +76 -0
- package/dist/hub/member/agent-pictures.js +196 -0
- package/dist/hub/member/agent-pictures.js.map +1 -0
- package/dist/hub/member/direct-rooms.d.ts +9 -0
- package/dist/hub/member/direct-rooms.js +14 -0
- package/dist/hub/member/direct-rooms.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +22 -1
- package/dist/hub/member/room-ask.js +99 -5
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-asker-store.d.ts +48 -0
- package/dist/hub/member/room-asker-store.js +181 -0
- package/dist/hub/member/room-asker-store.js.map +1 -0
- package/dist/hub/member/room-post.d.ts +11 -10
- package/dist/hub/member/room-post.js +51 -7
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/policy.d.ts +11 -2
- package/dist/hub/policy.js +60 -7
- package/dist/hub/policy.js.map +1 -1
- package/dist/hub/protocol.d.ts +254 -1
- package/dist/hub/protocol.js +20 -8
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/representative.d.ts +38 -0
- package/dist/hub/representative.js +140 -12
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/room-asker-identity-model.d.ts +53 -0
- package/dist/hub/room-asker-identity-model.js +14 -0
- package/dist/hub/room-asker-identity-model.js.map +1 -0
- package/dist/hub/room-asker-identity.d.ts +22 -0
- package/dist/hub/room-asker-identity.js +43 -0
- package/dist/hub/room-asker-identity.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +30 -3
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/asker-identity.d.ts +21 -0
- package/dist/hub/rooms/asker-identity.js +86 -0
- package/dist/hub/rooms/asker-identity.js.map +1 -0
- package/dist/hub/rooms/direct-view.d.ts +3 -2
- package/dist/hub/rooms/direct-view.js +23 -8
- package/dist/hub/rooms/direct-view.js.map +1 -1
- package/dist/hub/rooms/office.d.ts +27 -0
- package/dist/hub/rooms/office.js +12 -2
- package/dist/hub/rooms/office.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +38 -1
- package/dist/hub/rooms/service.js +56 -3
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +5 -2
- package/dist/hub/rooms.d.ts +9 -0
- package/dist/hub/rooms.js +97 -26
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/server.js +24 -2
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/session-directory-transition.d.ts +1 -0
- package/dist/hub/session-directory-transition.js +15 -9
- package/dist/hub/session-directory-transition.js.map +1 -1
- package/dist/hub/session-limits.d.ts +58 -0
- package/dist/hub/session-limits.js +121 -0
- package/dist/hub/session-limits.js.map +1 -0
- package/dist/hub/sessions.d.ts +1 -1
- package/dist/hub/sessions.js +13 -7
- package/dist/hub/sessions.js.map +1 -1
- package/dist/hub/settings-directory-decision.js +1 -1
- package/dist/hub/settings-directory-decision.js.map +1 -1
- package/dist/hub/types.d.ts +9 -2
- package/dist/hub-character-plan.d.ts +47 -0
- package/dist/hub-character-plan.js +70 -0
- package/dist/hub-character-plan.js.map +1 -0
- package/dist/hub-contact-windows.d.ts +13 -1
- package/dist/hub-contact-windows.js +35 -2
- package/dist/hub-contact-windows.js.map +1 -1
- package/dist/hub-picture-reduce.d.ts +34 -0
- package/dist/hub-picture-reduce.js +101 -0
- package/dist/hub-picture-reduce.js.map +1 -0
- package/dist/hub-picture-worker.d.ts +1 -0
- package/dist/hub-picture-worker.js +19 -0
- package/dist/hub-picture-worker.js.map +1 -0
- package/dist/hub-report-target.d.ts +6 -0
- package/dist/hub-report-target.js +6 -0
- package/dist/hub-report-target.js.map +1 -1
- package/dist/locale.js +357 -265
- package/dist/locale.js.map +1 -1
- package/dist/ls-rows.d.ts +2 -0
- package/dist/ls-rows.js.map +1 -1
- package/dist/needs-you.d.ts +6 -0
- package/dist/needs-you.js +3 -1
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +8 -0
- package/dist/outbound-handlers.js +53 -6
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +2 -0
- package/dist/outbound-schemas.js +6 -4
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/runtime-cli-install.js +4 -4
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/task-board-tool.d.ts +17 -0
- package/dist/task-board-tool.js +58 -6
- package/dist/task-board-tool.js.map +1 -1
- package/dist/tips.js +3 -3
- package/dist/tool-permissions.js +2 -2
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/agent-export-strings.js +1 -1
- package/dist/ui/agent-page-strings.js +5 -5
- package/dist/ui/contact-auth-client.js +2 -2
- package/dist/ui/contact-tool-groups.js +1 -1
- package/dist/ui/fleet-cache.js +5 -5
- package/dist/ui/fleet-canvas.js +3 -2
- package/dist/ui/fleet-office-card.js +46 -7
- package/dist/ui/fleet-office-dialogue.d.ts +6 -3
- package/dist/ui/fleet-office-dialogue.js +13 -3
- package/dist/ui/fleet-office-layout.js +15 -15
- package/dist/ui/fleet-office-model.js +3 -2
- package/dist/ui/fleet-office-overview.js +1 -1
- package/dist/ui/fleet-office-pack.d.ts +17 -7
- package/dist/ui/fleet-office-pack.js +106 -38
- package/dist/ui/fleet-office-play.js +11 -4
- package/dist/ui/fleet-office-skin.js +41 -11
- package/dist/ui/fleet-office-store.js +10 -1
- package/dist/ui/fleet-office-talk.js +423 -0
- package/dist/ui/fleet-office-view.js +58 -17
- package/dist/ui/fleet-office-zones.js +20 -12
- package/dist/ui/fleet-office.js +250 -65
- package/dist/ui/fleet-org.js +3 -3
- package/dist/ui/fleet-task-common.js +3 -3
- package/dist/ui/fleet-task-sort.js +88 -0
- package/dist/ui/fleet-task-view.js +38 -9
- package/dist/ui/fleet-tasks.js +47 -15
- package/dist/ui/fleet-usage.js +6 -6
- package/dist/ui/hub-admin-overview.js +1 -1
- package/dist/ui/hub-chat-store.js +4 -3
- package/dist/ui/hub-chat-strings.js +3 -1
- package/dist/ui/hub-client.js +3 -0
- package/dist/ui/hub-my-agents-strings.js +2 -2
- package/dist/ui/hub-my-agents.js +3 -0
- package/dist/ui/hub-room-composer.js +24 -4
- package/dist/ui/hub-room-members.js +7 -3
- package/dist/ui/hub-room-office.js +71 -2
- package/dist/ui/hub-room-presence.js +14 -0
- package/dist/ui/hub-room-strings.js +18 -2
- package/dist/ui/hub-room-thread.js +82 -13
- package/dist/ui/hub-room-working.js +37 -0
- package/dist/ui/hub-session-limits.js +79 -0
- package/dist/ui/panel-fleet.js +5 -5
- package/dist/ui/panel-hub.js +41 -6
- package/dist/ui/panel-log.js +3 -3
- package/dist/ui/panel-needs.js +28 -2
- package/dist/ui/panel-runtimes.js +2 -2
- package/dist/ui/runtime-cli-install.js +1 -1
- package/dist/ui/runtime-update-status.js +1 -1
- package/dist/ui/settings-access-strings.js +1 -1
- package/dist/ui/settings-hub-setup-strings.js +1 -1
- package/dist/ui/settings-layout.js +2 -2
- package/dist/ui/settings-named-test.js +16 -16
- package/dist/ui/settings-public-session-strings.js +2 -2
- package/dist/ui/settings-revoke-strings.js +1 -1
- package/dist/ui/settings-shared-strings.js +2 -2
- package/dist/ui/settings-strings.js +40 -40
- package/dist/ui/shared/app-shell.js +1 -1
- package/dist/ui/shared/app.css +106 -6
- package/dist/ui/shared/chat-strings.js +9 -9
- package/dist/ui/shared/hub-owner.css +5 -0
- package/dist/ui/shared/hub-rooms-u2.css +3 -0
- package/dist/ui/shared/instance-nav.js +36 -2
- package/dist/ui/shared/office-dialogue.css +110 -0
- package/dist/ui/shared/task-board.css +103 -7
- package/dist/ui/shared/view-strings.js +27 -9
- package/dist/web-api.d.ts +5 -0
- package/dist/web-api.js +29 -0
- package/dist/web-api.js.map +1 -1
- package/dist/web-office-skins.d.ts +8 -2
- package/dist/web-office-skins.js +33 -14
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.js +5 -3
- package/dist/web-office-store.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,3 +10,113 @@
|
|
|
10
10
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
11
11
|
.oo.fs > .oo-zone-pills { display: flex; }
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
/* Talking from the Office (fleet-office-talk.js): the side panel (a bottom sheet on a phone) and the line under the box. */
|
|
15
|
+
.oo { position: relative; }
|
|
16
|
+
.oo.ot-side > .oo-stage, .oo.ot-side > canvas.oo-dialogue-canvas, .oo.ot-side > .oo-zone-pills { margin-right: calc(min(380px, 40%) + 8px); width: auto; }
|
|
17
|
+
.ot-panel { position: absolute; right: 0; bottom: 0; width: min(380px, 40%); z-index: 6; display: flex; flex-direction: column; min-height: 0;
|
|
18
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm, 8px); box-shadow: var(--shadow-2);
|
|
19
|
+
animation: ot-in 180ms ease-out; }
|
|
20
|
+
.ot-panel.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: min(62dvh, 560px); z-index: 60;
|
|
21
|
+
border-radius: 14px 14px 0 0; animation-name: ot-up; padding-bottom: env(safe-area-inset-bottom); }
|
|
22
|
+
@keyframes ot-in { from { transform: translateX(16px); opacity: 0; } }
|
|
23
|
+
@keyframes ot-up { from { transform: translateY(24px); opacity: 0; } }
|
|
24
|
+
@media (prefers-reduced-motion: reduce) { .ot-panel { animation: none; } }
|
|
25
|
+
.ot-head { display: flex; align-items: center; gap: var(--s-2); padding: 8px 10px; border-bottom: 1px solid var(--border); }
|
|
26
|
+
.ot-who { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; }
|
|
27
|
+
.ot-who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
28
|
+
.ot-state { font-size: var(--fs-2xs); padding: 1px 6px; border-radius: 99px; background: var(--surface-2); color: var(--text-2, inherit); }
|
|
29
|
+
.ot-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0; padding: 10px; list-style: none; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
|
|
30
|
+
.ot-msg { max-width: 88%; padding: 7px 10px; border-radius: 10px; line-height: 1.45; word-break: break-word; }
|
|
31
|
+
.ot-msg.me { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 3px; white-space: pre-wrap; }
|
|
32
|
+
.ot-msg.agent { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 3px; }
|
|
33
|
+
.ot-msg.pending { opacity: 0.7; }
|
|
34
|
+
.ot-msg.failed { outline: 1px solid var(--danger); }
|
|
35
|
+
.ot-md > :first-child { margin-top: 0; } .ot-md > :last-child { margin-bottom: 0; }
|
|
36
|
+
.ot-md pre { overflow-x: auto; }
|
|
37
|
+
.ot-meta { display: block; font-size: var(--fs-2xs); opacity: 0.8; margin-top: 2px; }
|
|
38
|
+
.ot-bad { color: var(--danger); }
|
|
39
|
+
.ot-note { align-self: center; color: var(--text-2, inherit); font-size: var(--fs-xs); }
|
|
40
|
+
.ot-compose { display: flex; gap: 6px; align-items: flex-end; flex: 1 1 auto; min-width: 0; }
|
|
41
|
+
.ot-panel .ot-compose { padding: 8px 10px; border-top: 1px solid var(--border); flex: 0 0 auto; }
|
|
42
|
+
.ot-input { flex: 1 1 auto; min-width: 0; resize: none; max-height: 7.5em; field-sizing: content; min-height: var(--tap, 32px); padding: 6px 8px;
|
|
43
|
+
font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; }
|
|
44
|
+
.ot-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
|
|
45
|
+
.ot-send { min-height: var(--tap, 32px); }
|
|
46
|
+
.ot-bar { position: relative; flex: 0 0 auto; background: var(--surface); border-top: 1px solid var(--border); padding: 6px 8px; }
|
|
47
|
+
.ot-bar-row { display: flex; align-items: flex-end; gap: 6px; }
|
|
48
|
+
.ot-to { align-self: center; font-weight: 600; white-space: nowrap; max-width: 30%; overflow: hidden; text-overflow: ellipsis; }
|
|
49
|
+
.ot-reply { position: absolute; left: 8px; right: 8px; bottom: calc(100% + 6px); max-height: 50dvh; overflow-y: auto; z-index: 7; padding: 10px 34px 10px 12px;
|
|
50
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-2); }
|
|
51
|
+
.ot-reply .ot-close { position: absolute; top: 4px; right: 4px; }
|
|
52
|
+
@media (max-width: 599px) { .ot-to { display: none; } }
|
|
53
|
+
.ot-play { display: flex; gap: 2px; flex: 0 0 auto; align-self: center; }
|
|
54
|
+
.ot-play .ot-read.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
|
|
55
|
+
@media (max-width: 599px) { .ot-bar-row { flex-wrap: wrap; } .ot-play { order: -1; width: 100%; justify-content: flex-end; } }
|
|
56
|
+
|
|
57
|
+
/* Talk "Dialogue box" on the scene (fleet-office-talk.js TalkStage): over the stage's foot; the Office keeps its size. */
|
|
58
|
+
.ot-stage { position: absolute; inset: 0; z-index: 4; pointer-events: none; container-type: size; }
|
|
59
|
+
.ot-stage .ot-box, .ot-stage .ot-tools { pointer-events: auto; }
|
|
60
|
+
.ot-figure { position: absolute; right: 1.5cqw; bottom: 2cqh; z-index: 2; height: 74cqh; max-width: 34cqw; object-fit: contain; object-position: right bottom;
|
|
61
|
+
pointer-events: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(var(--shadow-1)); }
|
|
62
|
+
.ot-box { position: absolute; left: 2.5cqw; right: 2.5cqw; bottom: 2.5cqh; z-index: 1; display: flex; flex-direction: column; gap: 0.55em;
|
|
63
|
+
padding: 0.9em calc(var(--ot-pad, 0px) + 1em) 0.9em 1.3em; font-size: max(var(--fs-sm), 1.45cqw); line-height: 1.5; color: var(--ot-text);
|
|
64
|
+
background: color-mix(in srgb, var(--ot-bg) 93%, transparent); border: 2px solid var(--ot-gold); border-radius: 0.9em;
|
|
65
|
+
box-shadow: var(--shadow-2), inset 0 0 0 1px color-mix(in srgb, var(--ot-gold) 35%, transparent); }
|
|
66
|
+
.ot-tools { position: absolute; top: -1.9em; right: calc(var(--ot-pad, 0px) + 0.6em); display: flex; gap: 0.3em; font-size: 0.72em; }
|
|
67
|
+
.ot-tool { padding: 0.2em 0.8em; color: var(--ot-text); background: color-mix(in srgb, var(--ot-bg) 88%, transparent); border: 1px solid var(--ot-gold);
|
|
68
|
+
border-radius: 99em; font: inherit; cursor: pointer; }
|
|
69
|
+
.ot-tool.on { color: var(--ot-bg); background: var(--ot-name); font-weight: 700; }
|
|
70
|
+
.ot-tool:focus-visible, .ot-link:focus-visible, .ot-read:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
71
|
+
.ot-read { display: flex; flex-direction: column; gap: 0.55em; cursor: pointer; min-width: 0; }
|
|
72
|
+
.ot-plate { position: relative; isolation: isolate; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0.1em 1.25em; font-weight: 700; color: var(--ot-name);
|
|
73
|
+
background: var(--ot-gold); clip-path: polygon(0.75em 0, calc(100% - 0.75em) 0, 100% 50%, calc(100% - 0.75em) 100%, 0.75em 100%, 0 50%); }
|
|
74
|
+
.ot-plate::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--ot-bg);
|
|
75
|
+
clip-path: polygon(0.7em 0, calc(100% - 0.7em) 0, 100% 50%, calc(100% - 0.7em) 100%, 0.7em 100%, 0 50%); }
|
|
76
|
+
.ot-answer { display: flex; align-items: flex-start; gap: 1em; min-width: 0; }
|
|
77
|
+
.ot-words { flex: 1 1 auto; min-width: 0; min-height: 3em; font-size: 1.12em; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
|
|
78
|
+
.ot-status { font-style: italic; color: var(--ot-name); opacity: 0.85; }
|
|
79
|
+
.ot-cue { margin-left: 0.35em; color: var(--ot-name); animation: ot-cue 1s ease-in-out infinite; }
|
|
80
|
+
@keyframes ot-cue { 50% { transform: translateY(0.18em); opacity: 0.55; } }
|
|
81
|
+
.ot-agent { margin-top: 0.15em; }
|
|
82
|
+
.ot-more-n { align-self: flex-end; font-size: 0.75em; color: var(--ot-name); }
|
|
83
|
+
.ot-line { display: flex; align-items: center; gap: 0.7em; }
|
|
84
|
+
.ot-stage .ot-compose { flex: 1 1 auto; align-items: center; }
|
|
85
|
+
.ot-stage .ot-input { min-height: 2.3em; font-size: 0.95em; color: var(--ot-text); background: color-mix(in srgb, var(--ot-bg) 80%, black);
|
|
86
|
+
border: 1.5px solid var(--ot-gold); border-radius: 0.5em; padding: 0.45em 0.8em; }
|
|
87
|
+
.ot-stage .ot-input::placeholder { color: color-mix(in srgb, var(--ot-text) 55%, transparent); }
|
|
88
|
+
.ot-stage .ot-send { min-height: 2.3em; padding: 0.35em 1.4em; font-size: 0.95em; font-weight: 700; color: var(--ot-bg); border: 0; border-radius: 0.45em;
|
|
89
|
+
background: linear-gradient(180deg, var(--ot-name), var(--ot-gold)); }
|
|
90
|
+
.ot-stage .ot-send:disabled { opacity: 0.6; }
|
|
91
|
+
.ot-sep { color: var(--ot-gold); opacity: 0.7; }
|
|
92
|
+
.ot-link { flex: 0 0 auto; padding: 0; font: inherit; font-size: 0.95em; color: var(--ot-name); background: none; border: 0; text-decoration: underline;
|
|
93
|
+
text-underline-offset: 0.2em; cursor: pointer; white-space: nowrap; }
|
|
94
|
+
/* A phone: the portrait stands behind the box, its face above it; the words use the box's whole width. */
|
|
95
|
+
.ot-stage.phone .ot-figure { z-index: 0; right: 0; height: 62cqh; max-width: 60cqw; }
|
|
96
|
+
.ot-stage.phone .ot-box { left: 2cqw; right: 2cqw; bottom: 1.5cqh; padding: 0.8em 0.9em; font-size: max(var(--fs-sm), 3.4cqw); }
|
|
97
|
+
.ot-stage.phone .ot-tools { right: 0.6em; }
|
|
98
|
+
@media (prefers-reduced-motion: reduce) { .ot-cue { animation: none; } }
|
|
99
|
+
/* #4406: on a phone or a touch screen every talk control is a whole touch target (--tap, 44 px). */
|
|
100
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
101
|
+
.ot-tool, .ot-stage .ot-send, .ot-send, .ot-link, .ot-panel .ot-full, .ot-panel .ot-close, .ot-reply .ot-close, .ot-bar .btn,
|
|
102
|
+
.ot-log .ot-x { min-height: var(--tap, 44px); min-width: var(--tap, 44px); }
|
|
103
|
+
.ot-tool, .ot-link { display: inline-flex; align-items: center; justify-content: center; }
|
|
104
|
+
.ot-link { padding: 0 0.5em; }
|
|
105
|
+
.ot-tools { top: calc(-1 * var(--tap, 44px) - 6px); gap: 4px; font-size: 0.85em; }
|
|
106
|
+
.ot-input, .ot-stage .ot-input { min-height: var(--tap, 44px); font-size: max(var(--fs-md), 0.95em); } /* tokens.css: 16 px on a field here (#1611, no iOS zoom) */
|
|
107
|
+
}
|
|
108
|
+
/* While the box is up, the snack tray (bottom left of the scene) waits under it. */
|
|
109
|
+
.oo-stage:has(.ot-stage) .oo-snacks { display: none; }
|
|
110
|
+
/* History (TalkLog): both sides of the conversation, over the box's text column. */
|
|
111
|
+
.ot-log { position: absolute; left: 0; right: calc(var(--ot-pad, 0px) + 0.5em); bottom: calc(100% + 2.6em); display: flex; flex-direction: column;
|
|
112
|
+
max-height: 52cqh; font-size: 0.85em; color: var(--ot-text); background: color-mix(in srgb, var(--ot-bg) 96%, transparent);
|
|
113
|
+
border: 2px solid var(--ot-gold); border-radius: 0.8em; box-shadow: var(--shadow-2); }
|
|
114
|
+
.ot-log-head { display: flex; align-items: center; gap: 0.8em; padding: 0.5em 0.6em 0.5em 1em; border-bottom: 1px solid color-mix(in srgb, var(--ot-gold) 50%, transparent); }
|
|
115
|
+
.ot-log-head strong { flex: 1 1 auto; min-width: 0; color: var(--ot-name); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
116
|
+
.ot-log-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0; padding: 0.6em 1em; list-style: none; display: flex; flex-direction: column; gap: 0.7em; overscroll-behavior: contain; }
|
|
117
|
+
.ot-log-msg { display: flex; flex-direction: column; gap: 0.15em; }
|
|
118
|
+
.ot-log-msg.me { color: color-mix(in srgb, var(--ot-text) 72%, transparent); }
|
|
119
|
+
.ot-log-who { font-size: 0.8em; font-weight: 700; color: var(--ot-gold); }
|
|
120
|
+
.ot-log-msg.agent .ot-log-who { color: var(--ot-name); }
|
|
121
|
+
.ot-log .ot-plain { white-space: pre-wrap; }
|
|
122
|
+
.ot-stage.phone .ot-log { right: 0; max-height: 46cqh; }
|
|
@@ -39,7 +39,11 @@
|
|
|
39
39
|
.menu-text { gap: var(--s-1); }
|
|
40
40
|
/* Under the project's header, as Linear's options row: Filter, Display, then the filters in force. */
|
|
41
41
|
.tb-view-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-3) 0; }
|
|
42
|
-
|
|
42
|
+
/* The head's name and progress, and the toolbar's Filter / Display / 🔍, are groups only a phone lays out (below): on a desk they take no
|
|
43
|
+
part, so the head's title row, its stats line and the toolbar read exactly as without them. */
|
|
44
|
+
.tb-name, .tb-progress, .tb-view-actions { display: contents; }
|
|
45
|
+
.tb-search-toggle { display: none; }
|
|
46
|
+
.tb-view-bar .tb-view-actions > .menu > .menu-text.active, .tb-view-actions > .tb-search-toggle.active { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
|
|
43
47
|
/* While columns are out of sight the toolbar says so: "‹ ›" at its end (a button with nothing to reach is dimmed, not removed, so the focus stays). */
|
|
44
48
|
.tb-scroll-nav { margin-left: auto; }
|
|
45
49
|
.tb-scroll-btn { display: inline-flex; align-items: center; justify-content: center; }
|
|
@@ -413,10 +417,6 @@ button.tb-row-progress:hover { background: var(--surface-2); }
|
|
|
413
417
|
.tc-composer { padding: var(--s-3); }
|
|
414
418
|
.tc-composer > .btn { align-self: stretch; min-height: var(--tap); }
|
|
415
419
|
.tl-filter .tb-seg-btn { min-height: var(--tap); }
|
|
416
|
-
.tb-view-bar { gap: var(--s-2); }
|
|
417
|
-
.tb-view-toggle { order: -1; }
|
|
418
|
-
.tb-find { flex: 1 1 100%; order: 0; }
|
|
419
|
-
.tb-view-toggle .tb-seg-btn, .tb-view-bar .menu-text { min-height: var(--tap); }
|
|
420
420
|
.tb-list-head { display: none; }
|
|
421
421
|
.tb-row-code { width: auto; }
|
|
422
422
|
.tb-row-prio { width: auto; }
|
|
@@ -424,8 +424,6 @@ button.tb-row-progress:hover { background: var(--surface-2); }
|
|
|
424
424
|
.tb-tile-more { opacity: 1; margin: calc(-1 * var(--s-3)) calc(-1 * var(--s-3)) 0 0; }
|
|
425
425
|
.tb-tile-top { min-height: 0; }
|
|
426
426
|
.tb-group-toggle { min-height: var(--tap); }
|
|
427
|
-
.tb-status-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); width: 100%; margin: 0 0 var(--s-3); border-radius: var(--r-md); }
|
|
428
|
-
.tb-status-seg .tb-seg-btn { min-height: var(--tap); padding: 0 var(--s-2); border-radius: var(--r-sm); font-size: var(--fs-xs); }
|
|
429
427
|
.tb-col:not(.is-current) { display: none; }
|
|
430
428
|
.tb-col > .tb-col-head { display: none; }
|
|
431
429
|
.tb-qc-chip { min-height: var(--tap); }
|
|
@@ -437,6 +435,104 @@ button.tb-row-progress:hover { background: var(--surface-2); }
|
|
|
437
435
|
.p-fleet input.s-ui-toggle::after { transition: none; }
|
|
438
436
|
}
|
|
439
437
|
|
|
438
|
+
/* ── The Tasks page on a phone ("plan A"): laid out for the width, and every control a 44px box (style guide §7) ───────────────────
|
|
439
|
+
TOUCH (a phone, or any touch screen) is about the box a finger gets; PHONE (the narrow layout, where one status shows at a time)
|
|
440
|
+
is about where things go — a tablet on its side keeps the desk's layout with the bigger boxes. Nothing is drawn bigger: a control's
|
|
441
|
+
box grows by a transparent border and a negative margin gives the room back (as .info-tip-btn does, and the No project picker);
|
|
442
|
+
what is painted stops at the padding edge (background-clip), a button's outline is an inset ring, so the page keeps its spacing.
|
|
443
|
+
`--drawn` is the control's own height; `--grow` is what it takes on each side. */
|
|
444
|
+
@media (pointer: coarse), (max-width: 899px) {
|
|
445
|
+
:is(.tb-head-back, .tb-bar-head .tb-head-actions .btn, .tb-home .tb-head-actions .btn, .tb-stats > .tb-insights, .tb-view-toggle .tb-seg-btn, .tb-view-actions .btn, .tb-scroll-btn) {
|
|
446
|
+
--grow: max(0px, calc((var(--tap) - var(--drawn, 36px)) / 2));
|
|
447
|
+
position: relative; min-height: var(--tap); border-block: var(--grow) solid transparent; margin-block: calc(-1 * var(--grow)); background-clip: padding-box;
|
|
448
|
+
/* The corners are worked out for the PAINTED shape, not the 44px box: a pill's painted end is a half circle (--drawn / 2 both ways).
|
|
449
|
+
The painted corner is the box's radius less the border (--bx sideways, --grow up and down), so the box's own radius is
|
|
450
|
+
(--drawn / 2 + --bx) across and --tap / 2 down. */
|
|
451
|
+
border-radius: calc(var(--drawn, 36px) / 2 + var(--bx, 1px)) / calc(var(--tap) / 2);
|
|
452
|
+
}
|
|
453
|
+
.tb-head-back { --drawn: 30px; }
|
|
454
|
+
.tb-stats > .tb-insights { --drawn: 26px; }
|
|
455
|
+
.tb-view-toggle .tb-seg-btn { --drawn: 30px; --bx: 0px; }
|
|
456
|
+
.tb-scroll-btn { --drawn: 30px; --bx: 2px; }
|
|
457
|
+
.tb-view-actions .btn { --drawn: 30px; }
|
|
458
|
+
/* a button that had an outline keeps it as a ring on the painted edge (the border that carried it is transparent now) */
|
|
459
|
+
:is(.tb-bar-head .tb-head-actions .btn, .tb-home .tb-head-actions .btn, .tb-view-actions .btn):not(.btn-primary, .btn-ghost) { border-color: transparent; box-shadow: inset 0 0 0 1px var(--border); }
|
|
460
|
+
/* Filter / Display and the 🔍 when they are on: the blue is a ring on the painted edge too — the border stays transparent and the
|
|
461
|
+
painted background stops at the padding edge (the desk rule's `background` shorthand would paint the whole 44px box) */
|
|
462
|
+
.tb-view-bar .tb-view-actions > .menu > .menu-text.active, .tb-view-bar .tb-view-actions > .tb-search-toggle.active { border-color: transparent; background-clip: padding-box; box-shadow: inset 0 0 0 1px var(--accent); }
|
|
463
|
+
.tb-scroll-btn { border-inline: 2px solid transparent; margin-inline: -1px; } /* the pair's boxes meet in the 2px gap, they do not overlap */
|
|
464
|
+
/* the picked one's lift is a shadow round its box, which is the grown one: the colour alone says it (it is drawn on the painted edge) */
|
|
465
|
+
.tb-view-toggle .tb-seg-btn.active { box-shadow: none; }
|
|
466
|
+
/* The keyboard focus ring is drawn on the painted edge too, as round and as far from it as on a desk: a pseudo-element the size of the
|
|
467
|
+
painted shape (the button's padding box) carries it, where the button's own outline would follow the 44px box. */
|
|
468
|
+
:is(.tb-head-back, .tb-bar-head .tb-head-actions .btn, .tb-home .tb-head-actions .btn, .tb-stats > .tb-insights, .tb-view-toggle .tb-seg-btn, .tb-view-actions .btn, .tb-scroll-btn):focus-visible { outline: none; }
|
|
469
|
+
:is(.tb-head-back, .tb-bar-head .tb-head-actions .btn, .tb-home .tb-head-actions .btn, .tb-stats > .tb-insights, .tb-view-toggle .tb-seg-btn, .tb-view-actions .btn, .tb-scroll-btn):focus-visible::after {
|
|
470
|
+
content: ""; position: absolute; inset: 0; border-radius: var(--r-full); outline: 2px solid var(--focus); outline-offset: 2px; pointer-events: none;
|
|
471
|
+
}
|
|
472
|
+
.tb-view-toggle .tb-seg-btn:focus-visible::after, .tb-scroll-btn:focus-visible::after { outline-offset: 1px; }
|
|
473
|
+
/* the search fields: a text box is a control too (the 36px it is drawn at, a 44px box); its corner is the desk's (--r-sm) once the border is taken off,
|
|
474
|
+
and its focus ring is the wrapper's (the field's footprint is the painted box), so it is the desk's ring */
|
|
475
|
+
:is(.tb-search input) { --grow: max(0px, calc((var(--tap) - 36px) / 2)); min-height: var(--tap); border-block: var(--grow) solid transparent; margin-block: calc(-1 * var(--grow)); background-clip: padding-box;
|
|
476
|
+
border-radius: var(--r-sm) / calc(var(--r-sm) + var(--grow)); }
|
|
477
|
+
.tb-search input:focus { box-shadow: none; outline: none; }
|
|
478
|
+
.tb-search:focus-within::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-sm); box-shadow: 0 0 0 2px var(--focus); pointer-events: none; }
|
|
479
|
+
}
|
|
480
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
481
|
+
/* A project's head: [← Projects … Agent + Main task], [name … Insights], the description, the progress (its bar across the width), the banner.
|
|
482
|
+
The wrappers a desk ignores (.tb-name, .tb-progress) are the cells; the rest of the head's boxes give way to the grid. */
|
|
483
|
+
.tb-bar-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-3); }
|
|
484
|
+
.tb-head-main, .tb-title, .tb-stats { display: contents; }
|
|
485
|
+
.tb-head-back { grid-column: 1; grid-row: 1; justify-self: start; }
|
|
486
|
+
.tb-bar-head > .tb-head-actions { grid-column: 2; grid-row: 1; flex: none; flex-wrap: nowrap; justify-content: flex-end; }
|
|
487
|
+
/* The name's row starts 4px lower: with the row gap that leaves the buttons' 44px boxes above and Insights' box below clear of each other. */
|
|
488
|
+
.tb-name { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: var(--s-2); min-width: 0; margin-top: var(--s-1); }
|
|
489
|
+
.tb-bar-head .tb-stats > .tb-insights { grid-column: 2; grid-row: 2; justify-self: end; --drawn: 32px; margin-top: calc(var(--s-1) - var(--grow)); padding: 0 var(--s-3); background-color: var(--surface); }
|
|
490
|
+
.tb-bar-head .tb-stats > .tb-insights:hover:not(:disabled) { background-color: var(--surface-2); }
|
|
491
|
+
.tb-head-lead { grid-column: 1 / -1; }
|
|
492
|
+
.tb-progress { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); font-size: var(--fs-sm); min-width: 0; }
|
|
493
|
+
.tb-progress > .tb-bar { width: auto; flex: 1 1 64px; min-width: 64px; }
|
|
494
|
+
.tb-stats > .tb-sort-link { grid-column: 1 / -1; margin-top: 0; }
|
|
495
|
+
/* Home's head: the title with Agent and New project in its row; the search under it, across the width. */
|
|
496
|
+
.tb-home > .tb-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-2); }
|
|
497
|
+
.tb-home > .tb-head > .s-page-title { flex: 1 1 auto; min-width: min-content; }
|
|
498
|
+
.tb-home > .tb-head > .tb-head-actions { display: contents; }
|
|
499
|
+
.tb-home .tb-head-actions > .btn { flex: none; order: 1; gap: 6px; padding-inline: 10px; } /* "Projects" + Instances + New project fit 390px; on a narrower phone the buttons wrap under the title */
|
|
500
|
+
.tb-home .tb-head-actions > .tb-search { flex: 1 1 100%; order: 2; min-width: 0; }
|
|
501
|
+
/* The toolbar: one row — the switch at the left; Filter, Display and the 🔍 at the right; the field opens under it; the chips after. */
|
|
502
|
+
.tb-view-bar { gap: var(--s-3) var(--s-2); margin: var(--s-2) 0; } /* 12px between its rows: the row above's boxes and the search field's box do not overlap */
|
|
503
|
+
.tb-view-toggle { flex: none; }
|
|
504
|
+
.tb-view-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; flex: none; }
|
|
505
|
+
.tb-view-actions .btn { --drawn: 34px; padding-inline: var(--s-3); }
|
|
506
|
+
.tb-search-toggle { --bx: var(--grow); display: inline-flex; width: var(--tap); padding: 0; border-inline: var(--grow) solid transparent; margin-inline: calc(-1 * var(--grow)); }
|
|
507
|
+
.tb-view-bar .tb-view-actions .menu-list { left: auto; right: 0; }
|
|
508
|
+
.tb-find { flex: 1 1 100%; order: 1; min-width: 0; }
|
|
509
|
+
.tb-find.is-closed { display: none; }
|
|
510
|
+
.tb-filters > * { order: 2; }
|
|
511
|
+
/* The statuses: ONE row of pills that scrolls sideways (the picked one is brought into view: fleet-tasks.js); a status without
|
|
512
|
+
cards is quieter and can still be picked. A pill is drawn 32px in its 44px box; the row clips what it scrolls, so the box is its height. */
|
|
513
|
+
.tb-status-seg { display: flex; gap: var(--s-2); width: auto; margin: 0 calc(-1 * var(--s-4)) var(--s-1); padding: 0 var(--s-4); scroll-padding-inline: var(--s-4); background: none; border-radius: 0;
|
|
514
|
+
overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
|
|
515
|
+
.tb-status-seg::-webkit-scrollbar { display: none; }
|
|
516
|
+
.tb-status-seg .tb-seg-btn { --drawn: 32px; --grow: max(0px, calc((var(--tap) - var(--drawn)) / 2)); position: relative; flex: none; min-height: var(--tap); padding: 0 var(--s-3); border-block: var(--grow) solid transparent;
|
|
517
|
+
border-radius: calc(var(--drawn) / 2) / calc(var(--tap) / 2); /* the painted end is a half circle (16 / 16), not the 22 / 16 oval the box's own 22px radius would leave */
|
|
518
|
+
background-color: var(--surface); background-clip: padding-box; color: var(--text-2); font-size: var(--fs-sm); }
|
|
519
|
+
.tb-status-seg .tb-seg-btn:hover { background-color: var(--surface-2); }
|
|
520
|
+
.tb-status-seg .tb-seg-btn.active, .tb-status-seg .tb-seg-btn.active:hover { background-color: var(--accent-fill); color: var(--on-accent); box-shadow: none; font-weight: var(--fw-semibold); }
|
|
521
|
+
.tb-status-seg .tb-seg-btn.is-empty:not(.active) { color: var(--text-3); }
|
|
522
|
+
.tb-status-seg .tb-seg-btn.is-empty:not(.active) .tb-dot { opacity: 0.45; }
|
|
523
|
+
.tb-status-seg .tb-seg-btn:focus-visible { outline: none; }
|
|
524
|
+
.tb-status-seg .tb-seg-btn:focus-visible::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-full); outline: 2px solid var(--focus); outline-offset: 1px; pointer-events: none; }
|
|
525
|
+
/* No frame round the cards: the column's own box is not drawn (one status shows, so it frames nothing); the cards run the full width. */
|
|
526
|
+
.tb-columns { gap: 0; }
|
|
527
|
+
.tb-col { padding: 0; border-width: 0; border-radius: 0; background: none; }
|
|
528
|
+
}
|
|
529
|
+
/* A phone narrower than 390px (a 360px Android, an SE): the head's "Agent / Instances" button keeps its icon and the label goes to a screen
|
|
530
|
+
reader only (the tooltip says it too), or the way back, Instances and "Main task" would not fit one row. */
|
|
531
|
+
@media (max-width: 389px) {
|
|
532
|
+
.tb-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
533
|
+
/* Home's icon-only button is 36px wide drawn: its 44px box grows sideways into the gap (4px of the 8px) the same way */
|
|
534
|
+
.tb-home .tb-head-actions > .btn:not(.btn-primary) { --bx: 4px; border-inline: 4px solid transparent; margin-inline: -4px; }
|
|
535
|
+
}
|
|
440
536
|
/* ── what the agent is doing on a card ─────────────────────────────────────────────────────────────── */
|
|
441
537
|
/* The mark beside a tile's or a row's number, and the state on the card's page: a dot that breathes only while the
|
|
442
538
|
assignee is working (still, with reduced motion; the word says it either way). Busy with several cards: quiet grey. */
|
|
@@ -272,6 +272,15 @@ register("view", {
|
|
|
272
272
|
"replyYesterday": "yesterday",
|
|
273
273
|
"replyDays": "{n} d ago",
|
|
274
274
|
"replyTitle": "Last replied: {time}",
|
|
275
|
+
"whenPerson": "Person {t}",
|
|
276
|
+
"whenAgent": "Agent {t}",
|
|
277
|
+
"whenBoth": "{p} · {a}",
|
|
278
|
+
"whenNow": "now",
|
|
279
|
+
"whenMin": "{n}m",
|
|
280
|
+
"whenHour": "{n}h",
|
|
281
|
+
"whenDay": "{n}d",
|
|
282
|
+
"whenPersonTitle": "Last reply to a person: {time}",
|
|
283
|
+
"whenAgentTitle": "Last turn another agent started (send_to_instance, a task, a report, a broadcast): {time}",
|
|
275
284
|
"sortTitle": "Sort the list",
|
|
276
285
|
"sortCustom": "Custom",
|
|
277
286
|
"sortCustomHint": "Your own order (drag rows); replies never move them",
|
|
@@ -310,7 +319,7 @@ register("view", {
|
|
|
310
319
|
"displayName": "顯示名稱",
|
|
311
320
|
"role": "角色",
|
|
312
321
|
"description": "描述",
|
|
313
|
-
"saveHint": "
|
|
322
|
+
"saveHint": "儲存需要已登入的工作階段。請在 AgEnD bot 傳 /web 取得裝置登入碼。",
|
|
314
323
|
"helpTitle": "📖 使用說明",
|
|
315
324
|
"help1": "在清單裡選一個 Agent:它的即時終端畫面會顯示在這裡。",
|
|
316
325
|
"help2": "點群組名稱可以收合或展開。",
|
|
@@ -378,7 +387,7 @@ register("view", {
|
|
|
378
387
|
"usageFail": "無法載入用量資料。",
|
|
379
388
|
"usage.title": "AI 訂閱用量",
|
|
380
389
|
"usage.title_plain": "AI 訂閱用量",
|
|
381
|
-
"usage.empty_active": "
|
|
390
|
+
"usage.empty_active": "沒有使用中且支援用量追蹤的後端",
|
|
382
391
|
"usage.not_logged_in": "未登入",
|
|
383
392
|
"usage.default_login": "預設",
|
|
384
393
|
"usage.no_agents": "此帳號目前沒有 Agent",
|
|
@@ -421,10 +430,10 @@ register("view", {
|
|
|
421
430
|
"usage.note.used_limit_unit": "{0} / {1} {2}",
|
|
422
431
|
"usage.note.bonus_codes": "{0} / {1} {2} · {3} 組兌換碼",
|
|
423
432
|
"usage.metric.agy_claude_others": "Claude 與其他模型",
|
|
424
|
-
"usage.metric.agy_claude_others_session": "Claude
|
|
433
|
+
"usage.metric.agy_claude_others_session": "Claude 與其他模型(工作階段)",
|
|
425
434
|
"usage.metric.agy_claude_others_weekly": "Claude 與其他模型(每週)",
|
|
426
|
-
"usage.hint.statusline_now": "來自 {0}
|
|
427
|
-
"usage.hint.statusline_minutes": "來自 {0}
|
|
435
|
+
"usage.hint.statusline_now": "來自 {0} 的狀態列(剛剛);未呼叫 API,方案與各模型上限需要 CLI 登入資料",
|
|
436
|
+
"usage.hint.statusline_minutes": "來自 {0} 的狀態列({1} 分鐘前);未呼叫 API,方案與各模型上限需要 CLI 登入資料",
|
|
428
437
|
"usage.hint.claude_api_key": "API key 登入沒有訂閱用量資料。請使用 `claude /login`,或設定 CLAUDE_CODE_OAUTH_TOKEN(由 `claude setup-token` 取得)。",
|
|
429
438
|
"usage.hint.login_claude": "請使用 Claude Code CLI(`claude`)登入。",
|
|
430
439
|
"usage.hint.login_agy": "請使用 Antigravity CLI(`agy`)登入。",
|
|
@@ -465,7 +474,7 @@ register("view", {
|
|
|
465
474
|
"usage.error.invalid_kiro_response": "GetUsageLimits 回傳了無效資料。",
|
|
466
475
|
"usage.error.claude_token_expired": "Access token 已過期;下次啟動任一使用 Claude Code 的 Agent 時會重新整理。",
|
|
467
476
|
"usage.error.codex_token_expired": "Access token 已過期。請執行一次 `codex` 以重新整理。",
|
|
468
|
-
"usage.error.grok_expired": "Grok
|
|
477
|
+
"usage.error.grok_expired": "Grok 工作階段已過期。請再次執行 `grok login`。",
|
|
469
478
|
"usage.error.grok_response_changed": "Grok 計費回應格式已變更。",
|
|
470
479
|
"usage.error.agy_cap": "個人上限已用完,CLI 正受到速率限制(約 {0} 後重置)。各模型的額度池是另一組計數,因此仍可能顯示 0% 已使用。",
|
|
471
480
|
"usage.error.agy_no_refresh": "Access token 已過期,且未儲存 refresh token。請執行一次 `agy`。",
|
|
@@ -481,13 +490,13 @@ register("view", {
|
|
|
481
490
|
"helpButton": "說明",
|
|
482
491
|
"close": "關閉",
|
|
483
492
|
"rosterFailed": "載入 Agent 清單失敗:{error}\n(Fleet 是否正在執行?)",
|
|
484
|
-
"paneFailed": "⚠ 無法載入 {name}
|
|
485
|
-
"signInToSave": "
|
|
493
|
+
"paneFailed": "⚠ 無法載入 {name} 的窗格(HTTP {status})。",
|
|
494
|
+
"signInToSave": "請先登入才能儲存:你的工作階段可能已結束。",
|
|
486
495
|
"avatarFailed": "上傳頭像失敗:{error}",
|
|
487
496
|
"avatarRemoveFailed": "無法移除圖片:{error}",
|
|
488
497
|
"removePicture": "移除圖片",
|
|
489
498
|
"keepPicture": "保留圖片",
|
|
490
|
-
"removePictureNote": "儲存後移除,改顯示 Bot
|
|
499
|
+
"removePictureNote": "儲存後移除,改顯示 Bot 的頭像、人設 emoji 或名稱第一個字。",
|
|
491
500
|
"cardSection": "身分卡",
|
|
492
501
|
"cardLead": "你設定的欄位優先於 agent 的,逐欄比較。欄位留空就顯示 agent 的。",
|
|
493
502
|
"cardTagline": "標語(一行,最多 60 個字)",
|
|
@@ -556,6 +565,15 @@ register("view", {
|
|
|
556
565
|
"replyYesterday": "昨天",
|
|
557
566
|
"replyDays": "{n} 天前",
|
|
558
567
|
"replyTitle": "最後回覆:{time}",
|
|
568
|
+
"whenPerson": "人 {t}",
|
|
569
|
+
"whenAgent": "Agent {t}",
|
|
570
|
+
"whenBoth": "{p} · {a}",
|
|
571
|
+
"whenNow": "剛剛",
|
|
572
|
+
"whenMin": "{n} 分",
|
|
573
|
+
"whenHour": "{n} 小時",
|
|
574
|
+
"whenDay": "{n} 天",
|
|
575
|
+
"whenPersonTitle": "最後回覆人的時間:{time}",
|
|
576
|
+
"whenAgentTitle": "最後一次由其他 Agent 發起的回合(send_to_instance、任務、回報、廣播):{time}",
|
|
559
577
|
"sortTitle": "排序方式",
|
|
560
578
|
"sortCustom": "自訂",
|
|
561
579
|
"sortCustomHint": "你拖曳排好的順序,有回覆也不會跳動",
|
package/dist/web-api.d.ts
CHANGED
|
@@ -478,6 +478,11 @@ export interface WebApiContext extends ClaudeCredentialApi {
|
|
|
478
478
|
status: number;
|
|
479
479
|
message: string;
|
|
480
480
|
};
|
|
481
|
+
/** M-3632: Needs you → "Try again" on held Hub work. */
|
|
482
|
+
retryHubHeld?(id: string): {
|
|
483
|
+
status: number;
|
|
484
|
+
code: string;
|
|
485
|
+
};
|
|
481
486
|
/** alpha.2 (M-2300): agents' requests waiting for a web-only fleet's verified owner; null: not that owner. */
|
|
482
487
|
webAgentProposals?(req: IncomingMessage): import("./settings-confirmation.js").SettingsPendingView[] | null;
|
|
483
488
|
webDecideAgentProposal?(req: IncomingMessage, id: string, decision: "confirm" | "reject"): Promise<{
|
package/dist/web-api.js
CHANGED
|
@@ -4744,6 +4744,35 @@ export function handleWebRequest(req, res, url, ctx) {
|
|
|
4744
4744
|
});
|
|
4745
4745
|
return true;
|
|
4746
4746
|
}
|
|
4747
|
+
// M-3632: Needs you → "Try again" on held Hub work: back through the Hub's checks, never a blind delivery.
|
|
4748
|
+
if (method === "POST" && path === "/ui/needs/hub-retry") {
|
|
4749
|
+
if (!ctx.retryHubHeld) {
|
|
4750
|
+
json(res, 404, { error: "not-found", code: "not-found" });
|
|
4751
|
+
return true;
|
|
4752
|
+
}
|
|
4753
|
+
const retry = ctx.retryHubHeld.bind(ctx);
|
|
4754
|
+
(async () => {
|
|
4755
|
+
let body;
|
|
4756
|
+
try {
|
|
4757
|
+
body = await parseBody(req);
|
|
4758
|
+
}
|
|
4759
|
+
catch {
|
|
4760
|
+
json(res, 400, { error: "Invalid JSON" });
|
|
4761
|
+
return;
|
|
4762
|
+
}
|
|
4763
|
+
if (!permitWebContinuation(req, res, ctx))
|
|
4764
|
+
return;
|
|
4765
|
+
const id = body && typeof body === "object" ? body.id : undefined;
|
|
4766
|
+
if (typeof id !== "string" || id.length > 200) {
|
|
4767
|
+
json(res, 400, { error: "id required" });
|
|
4768
|
+
return;
|
|
4769
|
+
}
|
|
4770
|
+
const out = retry(id);
|
|
4771
|
+
json(res, out.status, out.status === 200 ? { ok: true, code: out.code } : { error: out.code, code: out.code });
|
|
4772
|
+
})().catch(() => { if (!res.headersSent)
|
|
4773
|
+
json(res, 500, { error: "failed" }); });
|
|
4774
|
+
return true;
|
|
4775
|
+
}
|
|
4747
4776
|
if (method === "POST" && path === "/ui/needs/ack") {
|
|
4748
4777
|
if (!ctx.acknowledgeNeedsItem) {
|
|
4749
4778
|
json(res, 404, { error: "Nothing to acknowledge here" });
|