@songsid/agend 2.4.0-beta.20 → 2.4.0-beta.21
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/build-provenance.json +1 -1
- package/dist/channel/mcp-tools.js +6 -4
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/contact-change-proposals.d.ts +47 -0
- package/dist/contact-change-proposals.js +131 -0
- package/dist/contact-change-proposals.js.map +1 -0
- package/dist/fleet-manager.d.ts +25 -1
- package/dist/fleet-manager.js +166 -3
- 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 +39 -2
- 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 +147 -0
- package/dist/hub/agent-pictures-model.js +64 -0
- package/dist/hub/agent-pictures-model.js.map +1 -0
- package/dist/hub/agent-pictures.d.ts +52 -0
- package/dist/hub/agent-pictures.js +202 -0
- package/dist/hub/agent-pictures.js.map +1 -0
- package/dist/hub/client.d.ts +2 -0
- package/dist/hub/client.js +16 -2
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +10 -2
- package/dist/hub/compose/member.js +32 -8
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +1 -0
- package/dist/hub/compose/server.js +4 -2
- 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 +2 -0
- package/dist/hub/http/compose.js +155 -19
- 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/schema.js +6 -0
- package/dist/hub/http/schema.js.map +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/mcp/policy.d.ts +1 -1
- package/dist/hub/member/agent-pictures.d.ts +43 -0
- package/dist/hub/member/agent-pictures.js +125 -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-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 +123 -1
- package/dist/hub/protocol.js +17 -7
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/representative.d.ts +28 -0
- package/dist/hub/representative.js +127 -12
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +14 -3
- package/dist/hub/rooms/agents.js.map +1 -1
- 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 +9 -0
- package/dist/hub/rooms/office.js +10 -2
- package/dist/hub/rooms/office.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +32 -1
- package/dist/hub/rooms/service.js +37 -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 +19 -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 +8 -2
- package/dist/hub-picture-reduce.d.ts +14 -0
- package/dist/hub-picture-reduce.js +49 -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 +11 -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 +90 -2
- package/dist/locale.js.map +1 -1
- package/dist/needs-you.d.ts +4 -0
- package/dist/needs-you.js +2 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +4 -0
- package/dist/outbound-handlers.js +37 -4
- 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/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/tool-permissions.js +2 -2
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/contact-tool-groups.js +1 -1
- package/dist/ui/fleet-canvas.js +2 -1
- package/dist/ui/fleet-office-card.js +20 -5
- 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 +13 -13
- 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 +25 -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 +26 -17
- package/dist/ui/fleet-office-zones.js +20 -12
- package/dist/ui/fleet-office.js +173 -44
- package/dist/ui/fleet-task-common.js +1 -1
- 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/hub-chat-store.js +4 -3
- package/dist/ui/hub-chat-strings.js +2 -0
- 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 +2 -1
- package/dist/ui/hub-room-presence.js +9 -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-hub.js +41 -6
- package/dist/ui/panel-needs.js +28 -2
- package/dist/ui/shared/app.css +84 -3
- package/dist/ui/shared/chat-strings.js +1 -1
- package/dist/ui/shared/hub-owner.css +5 -0
- package/dist/ui/shared/hub-rooms-u2.css +3 -0
- package/dist/ui/shared/office-dialogue.css +110 -0
- package/dist/ui/shared/task-board.css +103 -7
- 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
package/dist/ui/shared/app.css
CHANGED
|
@@ -2177,6 +2177,14 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2177
2177
|
.shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
|
|
2178
2178
|
/* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
|
|
2179
2179
|
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
|
|
2180
|
+
/* M-3645: a Hub chat's composer owns the bottom (Send) and its thread starts right under the chat's head, so a toast stands
|
|
2181
|
+
in the head's band: over its title and buttons for a few seconds (toasts let clicks through), never on Send or a message
|
|
2182
|
+
row. A confirmation is one line there, and an older one gives way to the newest, so the stack never runs down the thread;
|
|
2183
|
+
an error or a source's details keep every line. */
|
|
2184
|
+
.shell:has(.hub-chat-head) .toasts { top: var(--s-1); bottom: auto; }
|
|
2185
|
+
.shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
2186
|
+
.shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail):not(:last-child) { display: none; }
|
|
2187
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .shell:has(.hub-chat-head) .toasts { top: calc(env(safe-area-inset-top) + var(--s-3)); } }
|
|
2180
2188
|
.op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
|
|
2181
2189
|
.op-line.ok { color: var(--ok); }
|
|
2182
2190
|
.op-line.bad { color: var(--danger); }
|
|
@@ -2651,13 +2659,26 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2651
2659
|
/* M-3253: the sheet sits on the window's foot (M-3166 took the phone's tab bar away: the old 56 px lift left a gap), its
|
|
2652
2660
|
close and its two actions a fingertip's 44 px. */
|
|
2653
2661
|
.oo-card.sheet { padding: var(--s-2) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom, 0px)); }
|
|
2662
|
+
/* A pack's card.motion: how the card pops up (opacity and the individual scale/translate, so its placement transform stays). */
|
|
2663
|
+
.oo-card[data-enter] { animation: var(--oo-card-enter-ms, 220ms) both; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
|
|
2664
|
+
.oo-card[data-enter="fade"] { animation-name: oo-card-fade; }
|
|
2665
|
+
.oo-card[data-enter="pop"] { animation-name: oo-card-pop; }
|
|
2666
|
+
.oo-card[data-enter="rise"] { animation-name: oo-card-rise; }
|
|
2667
|
+
.oo-card[data-enter="slide"] { animation-name: oo-card-slide; }
|
|
2668
|
+
.oo-card[data-enter="bounce"] { animation-name: oo-card-bounce; animation-timing-function: linear; }
|
|
2669
|
+
@keyframes oo-card-fade { from { opacity: 0; } }
|
|
2670
|
+
@keyframes oo-card-pop { from { opacity: 0; scale: .86; } }
|
|
2671
|
+
@keyframes oo-card-rise { from { opacity: 0; translate: 0 14px; } }
|
|
2672
|
+
@keyframes oo-card-slide { from { opacity: 0; translate: -18px 0; } }
|
|
2673
|
+
@keyframes oo-card-bounce { 0% { opacity: 0; scale: .7; } 55% { opacity: 1; scale: 1.06; } 75% { scale: .97; } 100% { scale: 1; } }
|
|
2674
|
+
@media (prefers-reduced-motion: reduce) { .oo-card[data-enter] { animation: none; } }
|
|
2654
2675
|
.oo-card.sheet .oo-card-close { width: var(--tap); height: var(--tap); margin: -6px -8px 0 0; }
|
|
2655
2676
|
.oo-card.sheet .oo-card-actions .btn { flex: 1; min-height: var(--tap); justify-content: center; }
|
|
2656
2677
|
.oo-card.sheet .oo-card-actions { flex-wrap: wrap; }
|
|
2657
2678
|
.oo-card-grip { width: 36px; height: 4px; margin: 0 auto var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
|
|
2658
2679
|
.oo-card-head { display: flex; gap: var(--s-3); align-items: flex-start; }
|
|
2659
2680
|
.oo-card-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
|
|
2660
|
-
.oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; }
|
|
2681
|
+
.oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; border-radius: inherit; }
|
|
2661
2682
|
.oo-card-avatar .oo-badge { position: absolute; left: -6px; top: -6px; }
|
|
2662
2683
|
.oo-card-names { flex: 1; min-width: 0; }
|
|
2663
2684
|
.oo-card-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -3353,6 +3374,47 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3353
3374
|
.tb-project-pct { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
3354
3375
|
.tb-project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); color: var(--text-2); }
|
|
3355
3376
|
.tb-project-menu { position: absolute; top: var(--s-2); right: var(--s-2); }
|
|
3377
|
+
/* No project, made hard to miss (fleet-task-sort.js): Home's list (the Waiting box's frame), the tile first and outlined, the header's link. */
|
|
3378
|
+
.tb-sort-hint { margin: 0 0 var(--s-2); }
|
|
3379
|
+
.tb-sort-row { gap: var(--s-2) var(--s-3); }
|
|
3380
|
+
.tb-sort-row .tb-wait-title { flex: 1 1 240px; }
|
|
3381
|
+
.tb-sort-meta { font-size: var(--fs-xs); white-space: nowrap; }
|
|
3382
|
+
.tb-sort-pick { flex: 0 0 auto; min-width: 140px; }
|
|
3383
|
+
.tb-sort-foot { display: flex; margin-top: var(--s-2); }
|
|
3384
|
+
.tb-project.needs-sort { border-color: var(--warn-line); }
|
|
3385
|
+
.tb-project.needs-sort:hover { border-color: var(--warn); }
|
|
3386
|
+
.tb-sort-link { border: 0; cursor: pointer; }
|
|
3387
|
+
.tb-sort-link:hover { text-decoration: underline; }
|
|
3388
|
+
/* The header's link: a pill in the stats line on the desk ("N in No project →"); on a phone a full-width banner (below). */
|
|
3389
|
+
.tb-sort-link > svg, .tb-sort-link-long, .tb-sort-link-go { display: none; }
|
|
3390
|
+
/* On a phone or a touch screen (style guide §7: every control a 44px box), laid out for a narrow screen rather than drawn
|
|
3391
|
+
bigger. Home's list is one card: a tinted head (title, hint), then a row per card split by a line — the title across the
|
|
3392
|
+
whole width (its 44px box from padding that negative margins take back, so nothing is drawn bigger), under it who/when on
|
|
3393
|
+
the left and the picker as a small capsule on the right (32px drawn in a 44px box: transparent border; the two boxes
|
|
3394
|
+
meet, they do not overlap), and "See all" as
|
|
3395
|
+
the card's last row. A project's board puts the link on its own line under the stats, as a 44px banner: "No project:
|
|
3396
|
+
N to file … File them →". The desk keeps the Waiting box's rows and the pill. */
|
|
3397
|
+
@media (pointer: coarse), (max-width: 899px) {
|
|
3398
|
+
.tb-sort { padding: 0; overflow: hidden; }
|
|
3399
|
+
.tb-sort > .tb-section-title { margin: 0; padding: var(--s-3) var(--s-4) var(--s-1); background: var(--warn-bg); }
|
|
3400
|
+
.tb-sort > .tb-sort-hint { margin: 0; padding: 0 var(--s-4) var(--s-3); background: var(--warn-bg); }
|
|
3401
|
+
.tb-sort > .rows { gap: 0; }
|
|
3402
|
+
/* the row gap is the title's growth (12px at a 20px line), so the title's 44px box ends where the picker's begins: no overlap */
|
|
3403
|
+
.tb-sort-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-2); border-top: 1px solid var(--border); border-radius: 0; background: none; }
|
|
3404
|
+
.tb-sort-row .tb-wait-title { --grow: max(0px, calc((var(--tap) - 1lh) / 2)); grid-column: 1 / -1; padding-block: var(--grow); margin-block: calc(-1 * var(--grow)); }
|
|
3405
|
+
.tb-sort-row .tb-sort-meta { grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
3406
|
+
.tb-sort-row .tb-sort-pick { grid-column: 2; width: auto; min-width: 0; max-width: 45vw; min-height: var(--tap); padding-inline: var(--s-3);
|
|
3407
|
+
border: 0; border-block: 6px solid transparent; border-radius: calc((var(--tap) - 12px) / 2) / calc(var(--tap) / 2); background-color: var(--surface-2); background-clip: padding-box; } /* the painted end is a half circle (16 / 16) */
|
|
3408
|
+
.tb-sort-foot { margin: 0; border-top: 1px solid var(--border); }
|
|
3409
|
+
.tb-sort-foot .btn { flex: 1; min-height: var(--tap); border-radius: 0; color: var(--accent); font-size: var(--fs-sm); }
|
|
3410
|
+
.tb-stats .tb-flag.tb-sort-link { order: 1; flex: 1 1 100%; gap: var(--s-2); min-height: var(--tap); margin-top: var(--s-1); padding: 0 var(--s-4);
|
|
3411
|
+
border: 1px solid var(--warn-line); border-radius: var(--r-md); font-size: var(--fs-sm); white-space: normal; text-align: left; }
|
|
3412
|
+
.tb-sort-link > svg { display: inline-block; flex: none; }
|
|
3413
|
+
.tb-sort-link-long { display: inline; min-width: 0; }
|
|
3414
|
+
.tb-sort-link-short { display: none; }
|
|
3415
|
+
.tb-sort-link-go { display: inline; margin-left: auto; font-weight: var(--fw-medium); }
|
|
3416
|
+
.tb-sort-link:hover { text-decoration: none; }
|
|
3417
|
+
}
|
|
3356
3418
|
.tb-archived { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
|
|
3357
3419
|
.tb-archived > .tb-projects { align-self: stretch; }
|
|
3358
3420
|
|
|
@@ -3550,14 +3612,23 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3550
3612
|
.tc-meta { padding: 0; background: none; }
|
|
3551
3613
|
/* #2299: a phone's waiting row: pill and title on one line, the actions under them (assignee left, buttons right). */
|
|
3552
3614
|
.tb-wait-main > .tb-pill { min-width: 0; }
|
|
3553
|
-
|
|
3554
|
-
|
|
3615
|
+
/* The assignee, then the answers on one line: the two buttons share what the name leaves (they never part onto two lines, as they did at 360px);
|
|
3616
|
+
a long name gives way with "…" before a button does, and a lone button (Answer) keeps its own width at the right. */
|
|
3617
|
+
.tb-wait-actions { flex-basis: 100%; margin-left: 0; flex-wrap: nowrap; }
|
|
3618
|
+
.tb-wait-actions > .muted { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3619
|
+
.tb-wait-actions .btn { flex: 1 0 auto; padding-inline: var(--s-2); }
|
|
3620
|
+
.tb-wait-actions > button:only-of-type { flex: 0 0 auto; padding-inline: var(--s-4); }
|
|
3555
3621
|
/* #2299: on the board its toasts come in above the tabs, not over its title, search and progress — unless a card's
|
|
3556
3622
|
sheet is open (its buttons are at the bottom). */
|
|
3557
3623
|
.shell:has(.tb-home, .tb-board-page):not(:has(dialog[open])) .toasts { top: auto; bottom: calc(56px + env(safe-area-inset-bottom) + var(--s-3)); }
|
|
3558
3624
|
/* …and they do not pile down the board: an older confirmation gives way to two newer toasts; an error never does. */
|
|
3559
3625
|
.shell:has(.tb-home, .tb-board-page) .toasts > .toast.ok:nth-last-child(n+3) { display: none; }
|
|
3560
3626
|
}
|
|
3627
|
+
/* A very narrow phone (320px): the waiting row's name has a line of its own and the two buttons share the next one. */
|
|
3628
|
+
@media (max-width: 339px) {
|
|
3629
|
+
.tb-wait-actions { flex-wrap: wrap; }
|
|
3630
|
+
.tb-wait-actions > .muted { flex-basis: 100%; }
|
|
3631
|
+
}
|
|
3561
3632
|
/* On a desk a project's columns reach the bottom of the page, as taskhall's: a card drops anywhere down a column, and
|
|
3562
3633
|
an empty column still reads as one. The page's column, the board and its scroller pass the height down as flex. */
|
|
3563
3634
|
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
@@ -5292,3 +5363,13 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5292
5363
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
5293
5364
|
.contact-grant-dialog :is(input:not([type=checkbox]), select, .check) { min-height: var(--tap); }
|
|
5294
5365
|
}
|
|
5366
|
+
|
|
5367
|
+
/* M-3610: Fleet › Tasks on a phone (or a coarse pointer) — every toolbar control a full tap target (--tap, 44px): the
|
|
5368
|
+
Fleet tab pills, the search boxes (home, a project), Instances / New project / New main task, and a project's Back and
|
|
5369
|
+
Stats. A desktop with a fine pointer keeps its compact bar. */
|
|
5370
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
5371
|
+
.p-fleet .seg .seg-item { min-height: var(--tap); }
|
|
5372
|
+
.p-fleet .tb-search input { min-height: var(--tap); }
|
|
5373
|
+
.p-fleet :is(.tb-head-actions, .tb-title, .tb-stats) .btn { min-height: var(--tap); }
|
|
5374
|
+
.p-fleet .tb-project-menu .icon-btn { width: var(--tap); height: var(--tap); } /* a project tile's ⋯ */
|
|
5375
|
+
}
|
|
@@ -264,7 +264,7 @@ register("chat", {
|
|
|
264
264
|
tcShow: "顯示", tcHide: "收起", tcDownload: "下載", tcShowAll: "顯示全部 {0} 行", tcOver: "這個檔案超過 1 MiB,請下載後閱讀。", tcPlain: "內容太大,無法在這裡排版,改以純文字顯示。",
|
|
265
265
|
rbGroup: "選項", rbChosen: "{0} 已選擇", rbExpired: "已逾時,請直接回覆文字",
|
|
266
266
|
pollGroup: "投票", pollAnswered: "🗳 已有 {0} 人作答", pollClosed: "🗳 已截止 · {0} 人作答", pollLeft: "剩餘時間", pollVoters: "投票名單",
|
|
267
|
-
pvOpenPanel: "在面板中開啟", pvInPanel: "已在面板中顯示。", pvPanel: "HTML 預覽", pvSource: "來自 {0},{1}
|
|
267
|
+
pvOpenPanel: "在面板中開啟", pvInPanel: "已在面板中顯示。", pvPanel: "HTML 預覽", pvSource: "來自 {0},{1} · 回到這則訊息",
|
|
268
268
|
pvPage: "頁面", pvCode: "程式碼", pvReload: "重新載入", pvClose: "關閉面板", pvBack: "回到對話", pvResize: "調整預覽面板寬度",
|
|
269
269
|
pvNewer: "{0} 的回覆裡有較新的版本。", pvNewerShow: "顯示", pvPanelIdle: "按「預覽」在這裡執行。",
|
|
270
270
|
pvVersions: "版本", pvVer: "v{0}/{1}", pvVerLong: "第 {0} 版,共 {1} 版", pvVerPrev: "上一版", pvVerNext: "下一版",
|
|
@@ -178,3 +178,8 @@
|
|
|
178
178
|
|
|
179
179
|
/* The granting administrator must see a Team's size and leads at every width. */
|
|
180
180
|
.hub-row-text strong.hub-policy-subject-label { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
|
|
181
|
+
|
|
182
|
+
/* M-3592: Administration → Sign-in's two lists and its Save are a full tap target on a phone. */
|
|
183
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
184
|
+
.hub-session-limits select, .hub-session-limits .btn { min-height: var(--tap); }
|
|
185
|
+
}
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
.hub-agent-av.emoji { font-size: var(--fs-xs); font-weight: normal; }
|
|
130
130
|
/* The default tint is pale on a light panel: the neutral avatar (no look) alone gets a ring in the border colour. */
|
|
131
131
|
.hub-agent-av.neutral { box-shadow: inset 0 0 0 1px var(--border); }
|
|
132
|
+
/* M-3533 R2b: a picture fills the disc, cropped to the circle, never stretched (as the Fleet sidebar's .av img). */
|
|
133
|
+
.hub-agent-av.pic::before { content: none; }
|
|
134
|
+
.hub-agent-av.pic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
|
|
132
135
|
/* The assistant's row is not a button: the agent rows' padding, so its disc sits in their avatar column. */
|
|
133
136
|
.hub-member-assistant { padding-inline: var(--s-1); }
|
|
134
137
|
/* Its status ("Idle · provided by the Hub") is long: in a compact list it takes a second line, so the name stays whole. */
|
|
@@ -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. */
|
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" });
|