@songsid/agend 2.4.0-beta.8 → 2.4.0-beta.9
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/auth-api.js +3 -0
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/cli-runtime-switch.js +1 -26
- package/dist/backend/cli-runtime-switch.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/connect/mcp.d.ts +9 -0
- package/dist/connect/mcp.js +10 -0
- package/dist/connect/mcp.js.map +1 -0
- package/dist/connect/stdio.d.ts +1 -1
- package/dist/connect/stdio.js +22 -28
- package/dist/connect/stdio.js.map +1 -1
- package/dist/fleet-manager.d.ts +1 -1
- package/dist/fleet-manager.js +11 -16
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +78 -4
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +10 -2
- package/dist/hub/admin-dashboard.js +17 -1
- package/dist/hub/admin-dashboard.js.map +1 -1
- package/dist/hub/audit/index.d.ts +2 -0
- package/dist/hub/audit/index.js +8 -0
- package/dist/hub/audit/index.js.map +1 -1
- package/dist/hub/buttons.js +3 -1
- package/dist/hub/buttons.js.map +1 -1
- package/dist/hub/catalog.d.ts +1 -0
- package/dist/hub/catalog.js +6 -4
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.d.ts +3 -0
- package/dist/hub/client.js +14 -2
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.js +28 -11
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +5 -0
- package/dist/hub/compose/server.js +91 -10
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/group-policy/admin-api.d.ts +1 -0
- package/dist/hub/group-policy/admin-api.js +1 -1
- package/dist/hub/group-policy/admin-api.js.map +1 -1
- package/dist/hub/group-policy/admin-dto.d.ts +2 -1
- package/dist/hub/group-policy/admin-inventory.d.ts +2 -0
- package/dist/hub/group-policy/admin-inventory.js +13 -4
- package/dist/hub/group-policy/admin-inventory.js.map +1 -1
- package/dist/hub/group-policy/authorization.d.ts +2 -0
- package/dist/hub/group-policy/authorization.js +7 -2
- package/dist/hub/group-policy/authorization.js.map +1 -1
- package/dist/hub/group-policy/resources.d.ts +2 -0
- package/dist/hub/group-policy/resources.js +12 -1
- package/dist/hub/group-policy/resources.js.map +1 -1
- package/dist/hub/http/compose.js +99 -22
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.js +27 -3
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +11 -0
- package/dist/hub/http/schema.js +6 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/mcp/auth.d.ts +3 -0
- package/dist/hub/mcp/auth.js +11 -1
- package/dist/hub/mcp/auth.js.map +1 -1
- package/dist/hub/mcp/catalog.d.ts +44 -0
- package/dist/hub/mcp/catalog.js +31 -0
- package/dist/hub/mcp/catalog.js.map +1 -0
- package/dist/hub/mcp/door-schema.d.ts +7 -0
- package/dist/hub/mcp/door-schema.js +20 -0
- package/dist/hub/mcp/door-schema.js.map +1 -0
- package/dist/hub/mcp/http.d.ts +25 -0
- package/dist/hub/mcp/http.js +259 -0
- package/dist/hub/mcp/http.js.map +1 -0
- package/dist/hub/mcp/policy.d.ts +65 -0
- package/dist/hub/mcp/policy.js +153 -0
- package/dist/hub/mcp/policy.js.map +1 -0
- package/dist/hub/mcp/server.d.ts +3 -0
- package/dist/hub/mcp/server.js +32 -0
- package/dist/hub/mcp/server.js.map +1 -0
- package/dist/hub/mcp/tools.d.ts +31 -0
- package/dist/hub/mcp/tools.js +176 -0
- package/dist/hub/mcp/tools.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +4 -4
- package/dist/hub/member/room-ask.js +12 -0
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-mention-feedback.d.ts +44 -0
- package/dist/hub/member/room-mention-feedback.js +121 -0
- package/dist/hub/member/room-mention-feedback.js.map +1 -0
- package/dist/hub/member/room-notification.d.ts +9 -0
- package/dist/hub/member/room-notification.js +2 -0
- package/dist/hub/member/room-notification.js.map +1 -0
- package/dist/hub/member/room-post-answers.d.ts +1 -7
- package/dist/hub/member/room-post-answers.js.map +1 -1
- package/dist/hub/member/room-post.d.ts +3 -0
- package/dist/hub/member/room-post.js +9 -1
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/pairing.d.ts +15 -1
- package/dist/hub/pairing.js +33 -2
- package/dist/hub/pairing.js.map +1 -1
- package/dist/hub/personal/owner-host.d.ts +76 -0
- package/dist/hub/personal/owner-host.js +137 -40
- package/dist/hub/personal/owner-host.js.map +1 -1
- package/dist/hub/personal/refusals.d.ts +11 -0
- package/dist/hub/personal/refusals.js +33 -0
- package/dist/hub/personal/refusals.js.map +1 -0
- package/dist/hub/personal/runtime-host.d.ts +26 -0
- package/dist/hub/personal/runtime-host.js +51 -0
- package/dist/hub/personal/runtime-host.js.map +1 -0
- package/dist/hub/personal/schema.d.ts +2 -0
- package/dist/hub/personal/schema.js +7 -1
- package/dist/hub/personal/schema.js.map +1 -1
- package/dist/hub/personal/turns.d.ts +39 -0
- package/dist/hub/personal/turns.js +221 -0
- package/dist/hub/personal/turns.js.map +1 -0
- package/dist/hub/personal/types.d.ts +1 -1
- package/dist/hub/policy.d.ts +1 -1
- package/dist/hub/protocol.d.ts +43 -0
- package/dist/hub/protocol.js +16 -4
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/roles/admin-control.js +69 -16
- package/dist/hub/roles/admin-control.js.map +1 -1
- package/dist/hub/roles/admin-types.d.ts +24 -1
- package/dist/hub/roles/allowed-list-control.d.ts +34 -0
- package/dist/hub/roles/allowed-list-control.js +179 -0
- package/dist/hub/roles/allowed-list-control.js.map +1 -0
- package/dist/hub/roles/allowed-list.d.ts +8 -0
- package/dist/hub/roles/allowed-list.js +49 -0
- package/dist/hub/roles/allowed-list.js.map +1 -0
- package/dist/hub/roles/audit-details.d.ts +144 -0
- package/dist/hub/roles/audit-details.js +26 -0
- package/dist/hub/roles/audit-details.js.map +1 -0
- package/dist/hub/roles/authority.d.ts +12 -0
- package/dist/hub/roles/authority.js +39 -3
- package/dist/hub/roles/authority.js.map +1 -1
- package/dist/hub/roles/change.d.ts +3 -1
- package/dist/hub/roles/change.js +4 -3
- package/dist/hub/roles/change.js.map +1 -1
- package/dist/hub/roles/clock.d.ts +3 -0
- package/dist/hub/roles/clock.js +1 -1
- package/dist/hub/roles/clock.js.map +1 -1
- package/dist/hub/roles/cutover-inventory.d.ts +2 -0
- package/dist/hub/roles/cutover-inventory.js +8 -1
- package/dist/hub/roles/cutover-inventory.js.map +1 -1
- package/dist/hub/roles/cutover.d.ts +2 -2
- package/dist/hub/roles/cutover.js +3 -4
- package/dist/hub/roles/cutover.js.map +1 -1
- package/dist/hub/roles/delegation.d.ts +4 -1
- package/dist/hub/roles/delegation.js +3 -2
- package/dist/hub/roles/delegation.js.map +1 -1
- package/dist/hub/roles/expiry-effects.d.ts +8 -0
- package/dist/hub/roles/expiry-effects.js +50 -0
- package/dist/hub/roles/expiry-effects.js.map +1 -0
- package/dist/hub/roles/migrations.d.ts +7 -0
- package/dist/hub/roles/migrations.js +44 -0
- package/dist/hub/roles/migrations.js.map +1 -0
- package/dist/hub/roles/model.d.ts +2 -0
- package/dist/hub/roles/model.js +2 -1
- package/dist/hub/roles/model.js.map +1 -1
- package/dist/hub/roles/overview.d.ts +8 -0
- package/dist/hub/roles/overview.js +15 -0
- package/dist/hub/roles/overview.js.map +1 -0
- package/dist/hub/roles/resource-effects.d.ts +3 -2
- package/dist/hub/roles/resource-effects.js +1 -1
- package/dist/hub/roles/resource-effects.js.map +1 -1
- package/dist/hub/roles/review.d.ts +16 -0
- package/dist/hub/roles/review.js +42 -0
- package/dist/hub/roles/review.js.map +1 -0
- package/dist/hub/roles/writer.d.ts +8 -2
- package/dist/hub/roles/writer.js +56 -16
- package/dist/hub/roles/writer.js.map +1 -1
- package/dist/hub/room-mention-feedback-model.d.ts +12 -0
- package/dist/hub/room-mention-feedback-model.js +12 -0
- package/dist/hub/room-mention-feedback-model.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +3 -1
- package/dist/hub/rooms/agents.js +94 -12
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/direct-view.d.ts +6 -2
- package/dist/hub/rooms/direct-view.js +3 -3
- package/dist/hub/rooms/direct-view.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +27 -3
- package/dist/hub/rooms/service.js +74 -13
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +3 -1
- package/dist/hub/rooms.d.ts +11 -1
- package/dist/hub/rooms.js +76 -10
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.js +1 -1
- package/dist/hub/runtime.js.map +1 -1
- package/dist/hub/server.d.ts +2 -0
- package/dist/hub/server.js +19 -3
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/session-directory-transition.d.ts +2 -1
- package/dist/hub/session-directory-transition.js +10 -3
- package/dist/hub/session-directory-transition.js.map +1 -1
- package/dist/hub/sessions.d.ts +1 -1
- package/dist/hub/sessions.js +14 -10
- package/dist/hub/sessions.js.map +1 -1
- package/dist/hub/settings-commit.d.ts +32 -1
- package/dist/hub/settings-commit.js +11 -4
- package/dist/hub/settings-commit.js.map +1 -1
- package/dist/hub/settings-directory-ca.js +1 -1
- package/dist/hub/settings-directory-ca.js.map +1 -1
- package/dist/hub/settings-directory-control.js +7 -7
- package/dist/hub/settings-directory-control.js.map +1 -1
- package/dist/hub/settings-directory-http.d.ts +2 -0
- package/dist/hub/settings-directory-http.js +21 -6
- package/dist/hub/settings-directory-http.js.map +1 -1
- package/dist/hub/settings-directory-proof.d.ts +5 -1
- package/dist/hub/settings-directory-proof.js +27 -9
- package/dist/hub/settings-directory-proof.js.map +1 -1
- package/dist/hub/settings-directory-recovery.js +2 -1
- package/dist/hub/settings-directory-recovery.js.map +1 -1
- package/dist/hub/settings-directory-save.d.ts +2 -0
- package/dist/hub/settings-directory-save.js +9 -6
- package/dist/hub/settings-directory-save.js.map +1 -1
- package/dist/hub/types.d.ts +11 -0
- package/dist/locale.js +10 -10
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +19 -2
- package/dist/login-controller.js +26 -8
- package/dist/login-controller.js.map +1 -1
- package/dist/runtime-build-info.js +1 -1
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-client.js +6 -6
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-coordinator.js +8 -3
- package/dist/runtime-coordinator.js.map +1 -1
- package/dist/runtime-install.d.ts +3 -1
- package/dist/runtime-install.js +5 -3
- package/dist/runtime-install.js.map +1 -1
- package/dist/runtime-personal-answer-only-probe.d.ts +3 -0
- package/dist/runtime-personal-answer-only-probe.js +134 -0
- package/dist/runtime-personal-answer-only-probe.js.map +1 -0
- package/dist/runtime-personal-answer-only.d.ts +16 -0
- package/dist/runtime-personal-answer-only.js +54 -0
- package/dist/runtime-personal-answer-only.js.map +1 -0
- package/dist/runtime-personal-answer.d.ts +6 -2
- package/dist/runtime-personal-answer.js +10 -2
- package/dist/runtime-personal-answer.js.map +1 -1
- package/dist/runtime-personal-preflight.d.ts +4 -1
- package/dist/runtime-personal-preflight.js +50 -4
- package/dist/runtime-personal-preflight.js.map +1 -1
- package/dist/runtime-personal-profile.d.ts +4 -0
- package/dist/runtime-personal-profile.js +11 -0
- package/dist/runtime-personal-profile.js.map +1 -1
- package/dist/runtime-personal-protocol.d.ts +4 -1
- package/dist/runtime-personal-protocol.js +5 -1
- package/dist/runtime-personal-protocol.js.map +1 -1
- package/dist/runtime-personal-stage.d.ts +1 -0
- package/dist/runtime-personal-stage.js +7 -3
- package/dist/runtime-personal-stage.js.map +1 -1
- package/dist/runtime-protocol.d.ts +1 -1
- package/dist/setup-form.js +10 -0
- package/dist/setup-form.js.map +1 -1
- package/dist/tunnel/lease.d.ts +14 -0
- package/dist/tunnel/lease.js +23 -0
- package/dist/tunnel/lease.js.map +1 -1
- package/dist/ui/backend-signin.js +86 -20
- package/dist/ui/chat-activity-groups.js +41 -8
- package/dist/ui/chat-activity.js +3 -1
- package/dist/ui/chat-tour.js +1 -1
- package/dist/ui/fleet-canvas.js +10 -5
- package/dist/ui/fleet-office.js +73 -7
- package/dist/ui/hub-ai-apps-strings.js +6 -0
- package/dist/ui/hub-ai-apps.js +83 -0
- package/dist/ui/hub-client.js +19 -2
- package/dist/ui/hub-directory-editor-strings.js +2 -2
- package/dist/ui/hub-directory-editor.js +1 -0
- package/dist/ui/hub-group-policy.js +4 -3
- package/dist/ui/hub-group-strings.js +2 -2
- package/dist/ui/hub-personal-agent-strings.js +160 -0
- package/dist/ui/hub-personal-agent.js +94 -0
- package/dist/ui/hub-role-audit.js +39 -0
- package/dist/ui/hub-role-forms.js +99 -0
- package/dist/ui/hub-role-notices.js +11 -0
- package/dist/ui/hub-role-view.js +86 -0
- package/dist/ui/hub-roles-strings.js +428 -4
- package/dist/ui/hub-roles.js +76 -41
- package/dist/ui/hub-room-composer.js +3 -2
- package/dist/ui/hub-room-list.js +4 -3
- package/dist/ui/hub-room-members.js +4 -2
- package/dist/ui/hub-room-settings.js +6 -0
- package/dist/ui/hub-room-source-strings.js +17 -0
- package/dist/ui/hub-room-source.js +34 -0
- package/dist/ui/hub-room-thread.js +10 -4
- package/dist/ui/panel-chat.js +4 -4
- package/dist/ui/panel-fleet.js +3 -3
- package/dist/ui/panel-hub.js +39 -25
- package/dist/ui/runtime-commands.d.ts +2 -2
- package/dist/ui/runtime-commands.js +7 -4
- package/dist/ui/settings-build-version.js +2 -2
- package/dist/ui/shared/access-overview.css +1 -1
- package/dist/ui/shared/accounts-keepalive.css +1 -1
- package/dist/ui/shared/accounts.css +1 -1
- package/dist/ui/shared/agent-sheet.js +2 -2
- package/dist/ui/shared/app-prefs.js +5 -2
- package/dist/ui/shared/app-shell.js +1 -1
- package/dist/ui/shared/app-swipe.js +3 -1
- package/dist/ui/shared/app.css +124 -40
- package/dist/ui/shared/app.js +1 -1
- package/dist/ui/shared/chat-thread.js +5 -1
- package/dist/ui/shared/chat-work-bar.css +5 -5
- package/dist/ui/shared/connector-prompt.d.ts +1 -0
- package/dist/ui/shared/connector-prompt.js +10 -0
- package/dist/ui/shared/hub-ai-apps.css +12 -0
- package/dist/ui/shared/hub-chat.css +9 -2
- package/dist/ui/shared/hub-groups.css +1 -1
- package/dist/ui/shared/hub-owner.css +5 -5
- package/dist/ui/shared/hub-roles.css +98 -26
- package/dist/ui/shared/hub-rooms-u2.css +14 -0
- package/dist/ui/shared/hub.css +3 -3
- package/dist/ui/shared/instance-nav.js +24 -9
- package/dist/ui/shared/loading.css +1 -1
- package/dist/ui/shared/model-picker.css +2 -2
- package/dist/ui/shared/preview-panel-actions.js +1 -1
- package/dist/ui/shared/preview-panel.js +2 -2
- package/dist/ui/shared/signin.js +27 -12
- package/dist/ui/shared/task-board.css +2 -2
- package/dist/ui/shared/tokens.css +1 -1
- package/dist/ui/shared/ui-toast.js +4 -4
- package/dist/ui/shared/usage-dialog.js +43 -4
- package/dist/ui/signin.html +4 -2
- package/dist/ui/structured-signin.js +64 -12
- package/dist/ui/web-terminal/terminal.css +1 -1
- package/dist/web-backend-login.d.ts +5 -1
- package/dist/web-backend-login.js +8 -2
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-prefs.js +2 -0
- package/dist/web-prefs.js.map +1 -1
- package/dist/windows-cli-worker.d.ts +3 -0
- package/dist/windows-cli-worker.js +33 -4
- package/dist/windows-cli-worker.js.map +1 -1
- package/dist/windows-cli.d.ts +1 -0
- package/dist/windows-cli.js +8 -4
- package/dist/windows-cli.js.map +1 -1
- package/package.json +1 -1
- package/templates/runtime-install/install.ps1 +24 -4
package/dist/ui/shared/app.css
CHANGED
|
@@ -321,7 +321,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
321
321
|
.p-fleet .host-mem > .dot { margin-top: 6px; }
|
|
322
322
|
.p-fleet .host-mem-top { grid-column: 2; min-width: 0; max-width: 100%; margin-left: 0; }
|
|
323
323
|
.p-fleet .host-mem-top[title] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
324
|
-
@media (max-width: 899px) {
|
|
324
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
325
325
|
.p-fleet .panel-head:has(.host-mem) { flex-wrap: wrap; }
|
|
326
326
|
.p-fleet .panel-title:has(.host-mem) { display: contents; }
|
|
327
327
|
.p-fleet .panel-title:has(.host-mem) > h1 { flex: 1; }
|
|
@@ -532,13 +532,13 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
532
532
|
/* The header's controls are one height, the icon buttons' (36 px): its small buttons, and the instance tabs when they share
|
|
533
533
|
its row (a phone puts them on a row of their own, under it). */
|
|
534
534
|
.panel-head .btn-sm { min-height: 36px; }
|
|
535
|
-
@media (min-width: 900px) { .panel-head .inst-switch .seg-item { min-height: 36px; } }
|
|
535
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .panel-head .inst-switch .seg-item { min-height: 36px; } }
|
|
536
536
|
/* M-2542: Fleet's tabs on its title row — the title, then the tabs (scrolling sideways if they do not fit), then the
|
|
537
537
|
header's tools; under 900 px a row of their own under the header, as the instance tabs. Never wider than the page. */
|
|
538
538
|
.p-fleet .panel-head .panel-title:has(+ .fleet-tabs) { flex: 0 1 auto; } /* M-2542: only when everything fits (panel-fleet) */
|
|
539
539
|
.fleet-tabs { display: flex; gap: var(--s-1); flex: 1 1 auto; min-width: 0; overflow-x: auto; }
|
|
540
540
|
.panel-head .fleet-tabs .seg-item { min-height: 36px; flex-shrink: 0; }
|
|
541
|
-
@media (max-width: 899px) {
|
|
541
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
542
542
|
.panel-head:has(.inst-switch) { flex-wrap: wrap; }
|
|
543
543
|
.inst-switch.seg { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 0 var(--s-1); }
|
|
544
544
|
.inst-switch .seg-item { justify-content: center; border-radius: var(--r-sm); }
|
|
@@ -626,7 +626,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
626
626
|
.dlg-actions { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-3) var(--s-5) var(--s-5); }
|
|
627
627
|
/* A drawer (ui-dialog.js `drawer`): on a desk, the right edge at full height, the page in view beside it. A phone keeps
|
|
628
628
|
the bottom sheet (the rules below are for 900 px and up only). */
|
|
629
|
-
@media (min-width: 900px) {
|
|
629
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
630
630
|
.dlg.dlg-drawer { width: min(620px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0;
|
|
631
631
|
background: var(--bg); box-shadow: var(--shadow-2); animation: dlg-drawer-in 0.18s var(--ease); }
|
|
632
632
|
.dlg-drawer .dlg-box { height: 100%; max-height: 100dvh; }
|
|
@@ -727,7 +727,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
727
727
|
.agent-settings-heading.s-row, .agent-settings-index-return.s-row { min-height: 0; padding: 0; border-radius: 0; background: none; }
|
|
728
728
|
.agent-settings-index-return.s-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; width: 100%; }
|
|
729
729
|
.agent-settings-index-return h2 { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
|
|
730
|
-
@media (max-width: 899px) {
|
|
730
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
731
731
|
.agent-settings-heading.s-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-2); margin-bottom: var(--s-4); }
|
|
732
732
|
.p-agent-page .agent-settings-heading.s-row > .s-back { min-width: var(--tap); min-height: var(--tap); margin: 0; padding: 0; border: 0; background: none; white-space: nowrap; }
|
|
733
733
|
.agent-settings-heading .s-page-head { min-width: 0; margin: 0; }
|
|
@@ -798,7 +798,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
798
798
|
the two groups as full-width rows — and a section opens on its own with "‹ Settings" back to the list. The strip
|
|
799
799
|
that scrolled sideways (and cut its ends) is gone there. Wider screens keep the list beside the section. */
|
|
800
800
|
.p-settings .s-back { display: none; }
|
|
801
|
-
@media (max-width: 899px) {
|
|
801
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
802
802
|
.p-settings[data-view="index"] > .panel-body { display: none; }
|
|
803
803
|
.p-settings[data-view="section"] > .s-nav { display: none; }
|
|
804
804
|
.p-settings[data-view="index"] > .s-nav { flex-direction: column; align-items: stretch; padding: 0 var(--s-4) var(--s-4); }
|
|
@@ -866,7 +866,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
866
866
|
.sched-actions { display: inline-flex; flex: none; gap: var(--s-1); }
|
|
867
867
|
.sched-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
868
868
|
.sched-sub { font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
869
|
-
@media (max-width: 899px) { .sched-sub { white-space: normal; } } /* a phone: the run time wraps rather than being cut */
|
|
869
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .sched-sub { white-space: normal; } } /* a phone: the run time wraps rather than being cut */
|
|
870
870
|
.sched-mode { margin-bottom: var(--s-2); }
|
|
871
871
|
.save-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
|
|
872
872
|
|
|
@@ -882,7 +882,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
882
882
|
.msg.user { align-self: flex-end; max-width: min(80%, 620px); }
|
|
883
883
|
/* Full width (the header's ⋯ menu, this browser's choice): the thread and the composer take the panel, less their own
|
|
884
884
|
padding, for wide tables and code; a person's bubble keeps its cap (above). A phone's column is the screen already. */
|
|
885
|
-
@media (min-width: 900px) { .p-chat[data-width="full"] .thread, .p-chat[data-width="full"] .dock-col { max-width: none; } }
|
|
885
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .p-chat[data-width="full"] .thread, .p-chat[data-width="full"] .dock-col { max-width: none; } }
|
|
886
886
|
.msg.user .meta { justify-content: flex-end; }
|
|
887
887
|
/* #1773: the bubble hugs its text. The message is as wide as its widest child — usually the meta row (sender, a time
|
|
888
888
|
such as 「昨天 下午03:58」, ticks) — and a block body would stretch to it; fit-content keeps a short message short, on
|
|
@@ -1207,7 +1207,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1207
1207
|
.quote-pop .quote-tip.up { top: -6px; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); }
|
|
1208
1208
|
.msg[data-key] { transition: transform var(--t-fast); }
|
|
1209
1209
|
.msg.swipe-ready { box-shadow: 3px 0 0 var(--accent); border-radius: var(--r-sm); } /* let go now: a reply */
|
|
1210
|
-
@media (max-width: 899px) {
|
|
1210
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1211
1211
|
.only-wide { display: none; }
|
|
1212
1212
|
.pv-divider { display: none; }
|
|
1213
1213
|
.pv-panel { position: fixed; inset: 0; z-index: 37; width: auto; min-width: 0; max-width: none;
|
|
@@ -1477,7 +1477,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1477
1477
|
.tour-spot { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
|
|
1478
1478
|
|
|
1479
1479
|
/* ── Phones: the sidebar is a drawer, the composer stays pinned, bottom tabs ── */
|
|
1480
|
-
@media (max-width: 899px) {
|
|
1480
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1481
1481
|
.sidebar {
|
|
1482
1482
|
position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 40; box-shadow: var(--shadow-2);
|
|
1483
1483
|
transform: translateX(-105%); transition: transform var(--t-med) var(--ease); visibility: hidden;
|
|
@@ -1593,7 +1593,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1593
1593
|
@media (hover: none) { .inst-nav:not(.fav-editing) .inst-star { display: none; } }
|
|
1594
1594
|
/* Edit: room for ↑ ↓ ☆ — the context and CLI marks step aside so the name keeps its width. */
|
|
1595
1595
|
.fav-editing .v-li .v-meta { display: none; }
|
|
1596
|
-
@media (max-width: 899px) { .fav-editing .inst-star, .fav-editing .inst-move { width: 36px; height: 36px; } }
|
|
1596
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .fav-editing .inst-star, .fav-editing .inst-move { width: 36px; height: 36px; } }
|
|
1597
1597
|
.v-inst .dot { margin-top: 0; }
|
|
1598
1598
|
.v-meta { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
1599
1599
|
.v-meta { flex: none; }
|
|
@@ -1645,14 +1645,14 @@ img.amb-p { object-fit: contain; }
|
|
|
1645
1645
|
.nav-sort-phone { display: none; }
|
|
1646
1646
|
.v-filter-new { display: none; } /* M-3217: the phone drawer's + (below) */
|
|
1647
1647
|
.nav-sort-menu .nav-sort-sub { margin-top: var(--s-2); }
|
|
1648
|
-
@media (min-width: 900px) { .nav-sort-menu .nav-sort-drawer { display: none; } }
|
|
1648
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .nav-sort-menu .nav-sort-drawer { display: none; } }
|
|
1649
1649
|
.recent-head { cursor: default; }
|
|
1650
1650
|
/* #1722: the sidebar's width — a separator on its right edge (drag, arrows, Home/End, double-click resets); not on a phone */
|
|
1651
1651
|
.side-resize { position: absolute; top: 0; right: -3px; width: 6px; height: 100%; z-index: 5; cursor: col-resize; touch-action: none; }
|
|
1652
1652
|
.side-resize:hover, .side-resize:focus-visible, .side-resize.dragging { background: var(--accent-dim, var(--border-strong)); }
|
|
1653
1653
|
.side-resize:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
1654
1654
|
body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-select: none; }
|
|
1655
|
-
@media (max-width: 899px) { .side-resize { display: none; } }
|
|
1655
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .side-resize { display: none; } }
|
|
1656
1656
|
.dragging { opacity: 0.4; }
|
|
1657
1657
|
.drop-before { box-shadow: inset 0 2px 0 var(--accent); }
|
|
1658
1658
|
.drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
|
|
@@ -1761,6 +1761,18 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1761
1761
|
muted line under the head (one line in the rail, whole in the dialog). */
|
|
1762
1762
|
.u-profile { margin-top: calc(-1 * var(--s-2) + 2px); color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1763
1763
|
.dlg .u-profile { white-space: normal; overflow-wrap: anywhere; }
|
|
1764
|
+
/* M-3248: "No agents on this profile" — a quiet ⓘ right of the login's name (the muted text colour, never a warning's);
|
|
1765
|
+
its words in the settings tip's bubble, fixed to the window (usage-dialog.js NoAgentsMark sets --tip-x / --tip-y). */
|
|
1766
|
+
.u-profile.has-na { display: flex; align-items: center; gap: 6px; }
|
|
1767
|
+
.u-profile.has-na .u-profile-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
1768
|
+
.u-na { position: relative; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; border-radius: var(--r-full);
|
|
1769
|
+
background: none; color: var(--text-3); font: inherit; cursor: help; }
|
|
1770
|
+
.u-na:focus-visible { color: var(--text-2); }
|
|
1771
|
+
@media (hover: hover) { .u-na:hover { color: var(--text-2); } }
|
|
1772
|
+
.u-na:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
|
|
1773
|
+
@media (pointer: coarse) { .u-na::after { content: ""; position: absolute; inset: calc((18px - var(--tap)) / 2); } }
|
|
1774
|
+
.s-tipbody.u-na-tip { position: fixed; top: var(--tip-y); left: var(--tip-x); max-width: min(260px, calc(100vw - 16px)); white-space: normal; text-align: left; cursor: default; }
|
|
1775
|
+
.s-tipbody.u-na-tip.above { top: auto; bottom: var(--tip-y); }
|
|
1764
1776
|
.u-order { margin-left: auto; display: flex; gap: 2px; flex: none; }
|
|
1765
1777
|
.u-order .icon-btn { width: 28px; height: 28px; }
|
|
1766
1778
|
.u-order .icon-btn:disabled { opacity: 0.3; }
|
|
@@ -1862,7 +1874,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1862
1874
|
@media (max-width: 1199px) { .dlg.side-panel { display: none; } }
|
|
1863
1875
|
/* A toast (Offices saved.) beside a docked panel, not over its Cancel and Save. */
|
|
1864
1876
|
@media (min-width: 1200px) { .shell:has(> .side-panel) .toasts { right: calc(400px + var(--s-6)); } }
|
|
1865
|
-
@media (max-width: 899px) {
|
|
1877
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1866
1878
|
.hide-narrow { display: none; }
|
|
1867
1879
|
.v-id { padding-left: var(--s-3); padding-right: var(--s-3); }
|
|
1868
1880
|
.v-id-actions .btn { min-height: var(--tap); }
|
|
@@ -1891,7 +1903,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1891
1903
|
.s-conn .s-actions { margin-left: 0; flex-wrap: nowrap; }
|
|
1892
1904
|
/* Retry and Settings stay together: in a wide list they are the last of the connection's three action columns. */
|
|
1893
1905
|
.s-conn-buttons { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-1); }
|
|
1894
|
-
@media (max-width: 899px) {
|
|
1906
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1895
1907
|
.s-row.s-conn { grid-template-columns: minmax(0, 1fr) auto; }
|
|
1896
1908
|
.s-conn .s-facts { grid-column: 1 / -1; grid-row: 2; }
|
|
1897
1909
|
}
|
|
@@ -2076,7 +2088,7 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2076
2088
|
/* Settings' pending bar sits at the bottom of the page: toasts and request cards stand above it, never on its buttons. */
|
|
2077
2089
|
.shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
|
|
2078
2090
|
/* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
|
|
2079
|
-
@media (min-width: 900px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
|
|
2091
|
+
@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; } }
|
|
2080
2092
|
.op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
|
|
2081
2093
|
.op-line.ok { color: var(--ok); }
|
|
2082
2094
|
.op-line.bad { color: var(--danger); }
|
|
@@ -2144,8 +2156,8 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2144
2156
|
.signin-browser > section { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); min-width: 0; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
|
|
2145
2157
|
.signin-browser > section > :is(h3, p, label, code) { flex-basis: 100%; min-width: 0; }
|
|
2146
2158
|
.signin-browser h3 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
|
|
2147
|
-
.signin-browser :is(button, a) { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: var(--s-2) var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-full); background: var(--bg); color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-md); text-align: center; overflow-wrap: anywhere; cursor: pointer; }
|
|
2148
|
-
.signin-browser :is(button, a):hover:not(:disabled) { background: var(--surface-2); }
|
|
2159
|
+
.signin-browser :is(button, a):not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: var(--s-2) var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-full); background: var(--bg); color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-md); text-align: center; overflow-wrap: anywhere; cursor: pointer; }
|
|
2160
|
+
.signin-browser :is(button, a):not(.btn):hover:not(:disabled) { background: var(--surface-2); }
|
|
2149
2161
|
.signin-browser button:disabled { opacity: 0.45; cursor: default; }
|
|
2150
2162
|
.signin-browser > button { align-self: flex-start; }
|
|
2151
2163
|
.signin-browser section > a { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
|
|
@@ -2154,12 +2166,44 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2154
2166
|
.signin-browser input { width: 100%; min-width: 0; min-height: 40px; padding: var(--s-2) var(--s-3); border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-size: var(--fs-md); }
|
|
2155
2167
|
.signin-browser code { padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--bg); font-family: var(--font-mono); overflow-wrap: anywhere; user-select: all; }
|
|
2156
2168
|
.signin-browser [role="alert"] { padding: var(--s-3); border: 1px solid var(--danger-line); border-radius: var(--r-sm); background: var(--danger-bg); color: var(--danger); }
|
|
2169
|
+
/* M-3238 (the user; Argon's component review): the connect dialogs' steps — the step circles of .hub-steps (24 px, the Hub's
|
|
2170
|
+
stylesheet: not loaded here), a short primary button 「開啟登入頁面」 beside Copy link with the address a quiet mono note
|
|
2171
|
+
under them, the code with Copy in one bordered box (.runtime-command-card + .hub-code), the auto-update hint a quiet
|
|
2172
|
+
.s-info; the end a check banner on --ok-bg and the reloaded agents as .chips > .tag. The same in both dialogs. */
|
|
2173
|
+
.signin-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); counter-reset: signin-step; }
|
|
2174
|
+
.signin-steps > li { display: flex; align-items: flex-start; gap: var(--s-3); counter-increment: signin-step; }
|
|
2175
|
+
.signin-steps > li::before { content: counter(signin-step); flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: var(--r-full); display: grid; place-items: center;
|
|
2176
|
+
background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
|
|
2177
|
+
.signin-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
|
|
2178
|
+
.signin-step-title { color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: var(--lh-sm); }
|
|
2179
|
+
.signin-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); width: 100%; }
|
|
2180
|
+
.signin-url { overflow-wrap: anywhere; }
|
|
2181
|
+
.signin-code-box { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; box-sizing: border-box;
|
|
2182
|
+
padding: var(--s-2) var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
|
|
2183
|
+
.signin-code, .signin-browser code.signin-code { padding: 0; border-radius: 0; background: transparent; color: var(--text); font-family: var(--font-mono); font-size: var(--fs-lg);
|
|
2184
|
+
font-weight: var(--fw-semibold); letter-spacing: 0.12em; user-select: all; overflow-wrap: anywhere; }
|
|
2185
|
+
.signin-back { margin-top: var(--s-1); }
|
|
2186
|
+
.signin-done-banner { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--ok-bg); color: var(--ok); }
|
|
2187
|
+
.signin-done-banner .signin-headline { color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
|
|
2188
|
+
.signin-recovery-box { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
|
|
2189
|
+
.signin-recovery-box > .note { color: var(--text-2); }
|
|
2190
|
+
.signin-recovery-box .chips { gap: var(--s-2); }
|
|
2191
|
+
.signin-recovery-box .tag { font-size: var(--fs-xs); padding: 2px var(--s-3); color: var(--text); white-space: normal; overflow-wrap: anywhere; }
|
|
2192
|
+
.signin-after { margin-top: var(--s-3); }
|
|
2193
|
+
/* The account dialog for one account: its title names the CLI — the card is the dialog's body, no second surface. */
|
|
2194
|
+
.signin-browser.is-single > section { padding: 0; border: 0; background: none; }
|
|
2195
|
+
@media (pointer: coarse), (max-width: 899px) {
|
|
2196
|
+
.signin-linkrow > .btn { flex: 1 1 auto; justify-content: center; min-height: var(--tap); padding-inline: var(--s-3); white-space: nowrap; }
|
|
2197
|
+
.signin-code-box { min-height: calc(var(--tap) + var(--s-2)); }
|
|
2198
|
+
.signin-code-box > .btn { min-height: var(--tap); }
|
|
2199
|
+
}
|
|
2157
2200
|
.signin-browser-actions { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); min-width: 0; }
|
|
2158
2201
|
.signin-browser-actions .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
|
|
2202
|
+
.signin-browser-actions .btn.danger { white-space: nowrap; } /* M-3238: Cancel connecting, one line on the footer's left */
|
|
2159
2203
|
@media (pointer: coarse), (max-width: 899px) {
|
|
2160
2204
|
.signin-browser :is(button, a), .signin-browser-actions .btn, .signin-browser ~ .note .btn { min-height: var(--tap); }
|
|
2161
2205
|
}
|
|
2162
|
-
@media (max-width: 899px) {
|
|
2206
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2163
2207
|
.grid2 { grid-template-columns: minmax(0, 1fr); }
|
|
2164
2208
|
.se-row { grid-template-columns: minmax(0, 1fr) auto auto; }
|
|
2165
2209
|
.se-row label { grid-column: 1 / -1; }
|
|
@@ -2238,7 +2282,7 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2238
2282
|
.org-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
|
|
2239
2283
|
.org-link { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--accent); }
|
|
2240
2284
|
.org-link:hover { text-decoration: underline; }
|
|
2241
|
-
@media (max-width: 899px) {
|
|
2285
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2242
2286
|
/* A phone: one column, the teams hang off a rail on the left. */
|
|
2243
2287
|
.org-top::after { margin: 0 0 0 var(--s-4); }
|
|
2244
2288
|
.org-top + .org-teams, .org-top + .org-note + .org-teams { border-top: 0; padding-top: 0; margin-left: var(--s-4); padding-left: var(--s-4); border-left: 2px solid var(--border-strong); }
|
|
@@ -2449,11 +2493,11 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2449
2493
|
color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
|
|
2450
2494
|
.oo-card.sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; transform: none; z-index: 40; border-radius: var(--r-lg) var(--r-lg) 0 0;
|
|
2451
2495
|
padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); touch-action: none; }
|
|
2452
|
-
/*
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
}
|
|
2496
|
+
/* 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
|
|
2497
|
+
close and its two actions a fingertip's 44 px. */
|
|
2498
|
+
.oo-card.sheet { padding: var(--s-2) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom, 0px)); }
|
|
2499
|
+
.oo-card.sheet .oo-card-close { width: var(--tap); height: var(--tap); margin: -6px -8px 0 0; }
|
|
2500
|
+
.oo-card.sheet .oo-card-actions .btn { flex: 1; min-height: var(--tap); justify-content: center; }
|
|
2457
2501
|
.oo-card-grip { width: 36px; height: 4px; margin: 0 auto var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
|
|
2458
2502
|
.oo-card-head { display: flex; gap: var(--s-3); align-items: flex-start; }
|
|
2459
2503
|
.oo-card-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
|
|
@@ -2582,6 +2626,46 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2582
2626
|
.oo:not(.fs) .oo-zoom-pct { display: flex; align-items: center; padding: 0 6px; border-bottom: 0; border-right: 1px solid var(--border); }
|
|
2583
2627
|
.oo:not(.fs) .oo-zoom .icon-btn + .icon-btn { border-top: 0; border-left: 1px solid var(--border); }
|
|
2584
2628
|
}
|
|
2629
|
+
/* M-3253 (Argon's phone review): the Office on a phone, held upright or turned sideways (a coarse pointer in a short window,
|
|
2630
|
+
as fleet-office.js OFFICE_PHONE_Q). Above the office two rows only: Fleet's header, then Find, the view switch and one
|
|
2631
|
+
44 px ⋯ (the Office's tools and Live in a sheet: .oo-sheet) — no wrapping bar. The stage takes the rest; its zoom pill is
|
|
2632
|
+
−, the zoom, +, fullscreen (Fit and Fill are in the sheet), 44 px each; the zone pills along its foot. */
|
|
2633
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2634
|
+
.oc-office:has(.oo-more-btn) > .oc-bar { flex-wrap: nowrap; padding: var(--s-1) var(--s-3); }
|
|
2635
|
+
.oc-office:has(.oo-more-btn) > .oc-bar > span:first-child, .oc-office:has(.oo-more-btn) > .oc-bar .org-counts { display: none; }
|
|
2636
|
+
.oc-office .oc-bar .oc-tools:has(.oo-more-btn) { flex-wrap: nowrap; overflow: visible; width: 100%; margin-left: 0; gap: var(--s-2); }
|
|
2637
|
+
.oc-tools:has(.oo-more-btn) .oc-find { flex: 1 1 96px; min-width: 88px; }
|
|
2638
|
+
.oc-tools:has(.oo-more-btn) .seg-inline { flex: none; }
|
|
2639
|
+
.oc-tools .oo-more-btn { flex: none; width: var(--tap); height: var(--tap); }
|
|
2640
|
+
.oo.phone > :not(.oo-stage):not(dialog) { margin-left: var(--s-3); margin-right: var(--s-3); }
|
|
2641
|
+
.oo.phone .oo-stage { min-height: 160px; }
|
|
2642
|
+
.oo.phone .oo-mini { display: none; }
|
|
2643
|
+
.oo.phone .oo-zoom .icon-btn { width: var(--tap); height: var(--tap); }
|
|
2644
|
+
.oo.phone:not(.fs) .oo-zoom { flex-direction: row; top: var(--s-2); right: var(--s-2); border-radius: var(--r-full); }
|
|
2645
|
+
.oo.phone:not(.fs) .oo-zoom-pct { display: flex; align-items: center; padding: 0 var(--s-2); border-bottom: 0; border-right: 1px solid var(--border); }
|
|
2646
|
+
.oo.phone:not(.fs) .oo-zoom .icon-btn + .icon-btn { border-top: 0; border-left: 1px solid var(--border); }
|
|
2647
|
+
.oo.phone:not(.fs) .oo-zoom :is(.oo-fit, .oo-fill) { display: none; }
|
|
2648
|
+
.oo-zone-pills { position: absolute; z-index: 6; left: var(--s-2); bottom: max(var(--s-2), env(safe-area-inset-bottom, 0px)); display: flex; gap: var(--s-1);
|
|
2649
|
+
max-width: calc(100% - 2 * var(--s-2)); overflow-x: auto; padding: var(--s-1); box-sizing: border-box;
|
|
2650
|
+
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); box-shadow: var(--shadow-1); }
|
|
2651
|
+
.oo-zone-pills .btn { flex: none; min-height: 36px; border-radius: var(--r-full); white-space: nowrap; }
|
|
2652
|
+
}
|
|
2653
|
+
/* M-3253: the Office's ⋯ sheet (a Dialog: a bottom sheet on a phone) — Fit, Fill and Fullscreen as tiles, then Live and
|
|
2654
|
+
the Office bar's own controls, one per row, each at least 44 px; a select's text from --fs-md (16 px in a field on a phone: tokens.css). */
|
|
2655
|
+
.oo-sheet-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-2); }
|
|
2656
|
+
.oo-sheet-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-1); min-height: 64px; padding: var(--s-1); border: 0;
|
|
2657
|
+
border-radius: var(--r-md); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--fs-sm); text-align: center; cursor: pointer; }
|
|
2658
|
+
.oo-sheet-tile[aria-pressed="true"] { background: var(--accent-dim); }
|
|
2659
|
+
.oo-sheet .oo-sheet-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
|
|
2660
|
+
.oo-sheet :is(.oo-sheet-bar > *, .oo-sheet-live) { min-height: var(--tap); }
|
|
2661
|
+
.oo-sheet :is(.oo-pick, .check) { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text); }
|
|
2662
|
+
.oo-sheet .oo-pick { justify-content: space-between; }
|
|
2663
|
+
.oo-sheet .oo-pick .tb-select { width: 62%; min-height: var(--tap); font-size: var(--fs-md); }
|
|
2664
|
+
.oo-sheet .dlg-x { width: var(--tap); height: var(--tap); }
|
|
2665
|
+
.oo-sheet .oo-sheet-bar :is(.btn, .oo-people > .btn) { min-height: var(--tap); }
|
|
2666
|
+
.oo-sheet .oo-sheet-bar > .btn, .oo-sheet .oo-people > .btn { width: 100%; justify-content: flex-start; }
|
|
2667
|
+
.oo-sheet .oo-sheet-bar > :is(.btn, .oo-people, .oo-carousel, .oo-note) { margin-top: var(--s-1); }
|
|
2668
|
+
.oo-sheet .oo-carousel { flex-wrap: wrap; }
|
|
2585
2669
|
/* A phone: Fleet's five tabs fit when only the open one shows its label (the others keep theirs for screen readers). */
|
|
2586
2670
|
@media (max-width: 479px) {
|
|
2587
2671
|
.p-fleet .seg-item:not(.active) > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
@@ -2617,7 +2701,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2617
2701
|
.ch-ttl line { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 3 3; }
|
|
2618
2702
|
.ch-ttl text { font-size: var(--fs-3xs); fill: var(--danger); }
|
|
2619
2703
|
.ch-rest .row-item { font-size: var(--fs-xs); }
|
|
2620
|
-
@media (max-width: 899px) {
|
|
2704
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2621
2705
|
.ch-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2622
2706
|
.ch-fleet { grid-template-columns: minmax(0, 1fr); }
|
|
2623
2707
|
.ch-bar .btn { min-height: var(--tap); }
|
|
@@ -2725,7 +2809,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2725
2809
|
.quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); font-size: var(--fs-xs); color: var(--text-2); }
|
|
2726
2810
|
/* A phone: the instance's name keeps the header; /model and /effort are a "/" away. */
|
|
2727
2811
|
@media (max-width: 479px) { .hd-chip { display: none; } }
|
|
2728
|
-
@media (max-width: 899px) {
|
|
2812
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2729
2813
|
.hd-chip { max-width: 9em; }
|
|
2730
2814
|
.cmd-palette li { min-height: var(--tap); align-items: center; flex-wrap: wrap; row-gap: 0; }
|
|
2731
2815
|
.cmd-palette .cmd-desc { white-space: normal; flex-basis: 100%; }
|
|
@@ -2825,7 +2909,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2825
2909
|
.aw-chat_header .aw-stat .aw-value { margin-left: 0; }
|
|
2826
2910
|
.aw-chat_header .aw-bar { flex: 0 0 auto; width: 96px; }
|
|
2827
2911
|
/* On a phone the strip may run past the edge: a fade says there is more to scroll to (the last item scrolls clear of it). */
|
|
2828
|
-
@media (max-width: 899px) { .aw-chat_header { padding-right: var(--s-7); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); } }
|
|
2912
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .aw-chat_header { padding-right: var(--s-7); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); } }
|
|
2829
2913
|
.aw-details { background: var(--surface); margin-bottom: var(--s-4); padding: var(--s-4) var(--s-5); }
|
|
2830
2914
|
.side-widget { padding: 0 var(--s-3) var(--s-2); }
|
|
2831
2915
|
.aw-sidebar { max-height: 240px; overflow: auto; }
|
|
@@ -2867,7 +2951,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2867
2951
|
.u-rail > .u-rail-head, .u-rail > .u-rail-body { position: relative; z-index: 1; }
|
|
2868
2952
|
/* Header menus must stay above the later scroller stacking context. */
|
|
2869
2953
|
.panel-head { z-index: 2; }
|
|
2870
|
-
@media (min-width: 900px) { .chat-split > .pv-divider, .chat-split > .pv-panel { position: relative; z-index: 1; } }
|
|
2954
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .chat-split > .pv-divider, .chat-split > .pv-panel { position: relative; z-index: 1; } }
|
|
2871
2955
|
/* #1629: full-app bounded stock surfaces. Panel roots stay neutral; effects never raise the whole app. */
|
|
2872
2956
|
.p-fleet > .seg, .p-settings > .seg,
|
|
2873
2957
|
.p-fleet > .panel-body, .p-needs > .panel-body, .p-notices > .panel-body, .p-settings > .panel-body,
|
|
@@ -2932,7 +3016,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2932
3016
|
.search-ctx-line.here { background: var(--surface-2); }
|
|
2933
3017
|
.search-ctx-text { margin-top: 2px; font-size: var(--fs-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
2934
3018
|
.search-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); padding: var(--s-3) var(--s-1) var(--s-1); }
|
|
2935
|
-
@media (max-width: 899px) {
|
|
3019
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2936
3020
|
.panel-head .sb-search { display: inline-flex; }
|
|
2937
3021
|
.dlg.search-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
|
|
2938
3022
|
.search-box { height: 100%; max-height: 100dvh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); box-sizing: border-box; }
|
|
@@ -3160,7 +3244,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3160
3244
|
.tc-comment-body { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
3161
3245
|
.tc-composer { display: flex; gap: var(--s-2); align-items: flex-end; }
|
|
3162
3246
|
|
|
3163
|
-
@media (max-width: 899px) {
|
|
3247
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3164
3248
|
/* A phone stacks the columns: no sideways scrolling, and a card moves through its dialog's "Move to…". */
|
|
3165
3249
|
.tb-scroll { overflow-x: visible; margin: 0; padding: 0; }
|
|
3166
3250
|
.tb-columns { grid-template-columns: minmax(0, 1fr); min-width: 0; }
|
|
@@ -3181,7 +3265,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3181
3265
|
}
|
|
3182
3266
|
/* On a desk a project's columns reach the bottom of the page, as taskhall's: a card drops anywhere down a column, and
|
|
3183
3267
|
an empty column still reads as one. The page's column, the board and its scroller pass the height down as flex. */
|
|
3184
|
-
@media (min-width: 900px) {
|
|
3268
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
3185
3269
|
.col:has(> .tb > .tb-board-page) { display: flex; flex-direction: column; min-height: 100%; }
|
|
3186
3270
|
.tb:has(> .tb-board-page) { flex: 1; }
|
|
3187
3271
|
.tb-board-page { display: flex; flex-direction: column; flex: 1; }
|
|
@@ -3609,7 +3693,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3609
3693
|
.p-settings .s-dev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
|
|
3610
3694
|
.p-settings .s-dev .s-yaml { width: 100%; min-height: 300px; height: clamp(300px, 52vh, 620px); max-height: none; margin: 0; padding: var(--s-4); overflow: auto; font-size: var(--fs-sm); line-height: 1.65; }
|
|
3611
3695
|
.p-settings .s-dev-state { display: flex; align-items: center; gap: var(--s-2); color: var(--text-3); font-size: var(--fs-xs); }
|
|
3612
|
-
@media (max-width: 899px) {
|
|
3696
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3613
3697
|
.p-settings .s-access-stack { max-width: none; }
|
|
3614
3698
|
.p-settings .s-ro-columns { display: none; }
|
|
3615
3699
|
.p-settings .s-web-readonly .s-web-ro { margin-top: 0; }
|
|
@@ -4292,7 +4376,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4292
4376
|
.p-settings .s-guest-workbench { grid-template-columns: minmax(0, 1fr); }
|
|
4293
4377
|
.p-settings .s-guests .guest-list { min-height: 0; }
|
|
4294
4378
|
}
|
|
4295
|
-
@media (max-width: 899px) {
|
|
4379
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4296
4380
|
.p-settings .s-access-login-layout { grid-template-columns: minmax(0, 1fr); }
|
|
4297
4381
|
.p-settings .s-access-related { order: 2; }
|
|
4298
4382
|
.p-settings .s-dev-context { flex-basis: 100%; order: 3; }
|
|
@@ -4577,8 +4661,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4577
4661
|
the current item is bold, so it is the one that grew. The row of tabs (S4) scrolls instead, and the phone's list wraps. */
|
|
4578
4662
|
.p-settings > .s-nav .seg-item { min-width: 0; max-width: 100%; }
|
|
4579
4663
|
.p-settings > .s-nav .seg-item > span:not(.count) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
4580
|
-
@media (min-width: 900px) and (max-width: 1099px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; } }
|
|
4581
|
-
@media (max-width: 899px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; white-space: normal; } }
|
|
4664
|
+
@media (min-width: 900px) and (pointer: fine) and (max-width: 1099px), (min-width: 900px) and (pointer: none) and (max-width: 1099px), (min-width: 900px) and (min-height: 501px) and (max-width: 1099px), (min-width: 1024px) and (max-width: 1099px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; } }
|
|
4665
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; white-space: normal; } }
|
|
4582
4666
|
/* S3. Wide (≥1100px): the category column is its own panel — the sidebar's tone and a divider on its right edge. */
|
|
4583
4667
|
@media (min-width: 1100px) {
|
|
4584
4668
|
.p-settings > .s-nav { background: var(--bg-sidebar); border-right: 1px solid var(--border); padding: var(--s-4) var(--s-3) var(--s-4) var(--s-3); }
|
|
@@ -4587,7 +4671,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4587
4671
|
}
|
|
4588
4672
|
/* S4. Middle (900–1099px): the row becomes real tabs — an underline for the current one, no group titles (a divider instead),
|
|
4589
4673
|
and a fade at the right edge that says it scrolls. */
|
|
4590
|
-
@media (min-width: 900px) and (max-width: 1099px) {
|
|
4674
|
+
@media (min-width: 900px) and (pointer: fine) and (max-width: 1099px), (min-width: 900px) and (pointer: none) and (max-width: 1099px), (min-width: 900px) and (min-height: 501px) and (max-width: 1099px), (min-width: 1024px) and (max-width: 1099px) {
|
|
4591
4675
|
.p-settings > .s-nav { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0 var(--s-4); }
|
|
4592
4676
|
.p-settings > .s-nav .s-nav-head { display: none; }
|
|
4593
4677
|
.p-settings > .s-nav .s-nav-groups { align-items: stretch; column-gap: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); }
|
|
@@ -4599,7 +4683,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4599
4683
|
.p-settings > .s-nav .seg-item.active::before { display: none; }
|
|
4600
4684
|
}
|
|
4601
4685
|
/* S5. Phone (M-3245: the section's way back is the header's ←; no "‹ Settings" bar). */
|
|
4602
|
-
@media (max-width: 899px) {
|
|
4686
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4603
4687
|
.p-settings[data-view="index"] > .s-nav .s-nav-group + .s-nav-group { border-top: 0; padding-top: 0; }
|
|
4604
4688
|
}
|
|
4605
4689
|
/* The agent page's cards: two columns on a wide page (`.ap-span2` across both), one column when it is narrow. */
|
|
@@ -4634,7 +4718,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4634
4718
|
beta.6: 「大頭被改壞了」): a row's face is the list's own — Detailed, the whole avatar with its dot on its corner; Compact, the
|
|
4635
4719
|
dot alone (instance-nav.js draws no avatar there). The drawer shrank the avatar to 10 px and hid only its letters, so a
|
|
4636
4720
|
picture or an emoji stayed, squashed beside its dot. Fleet is two rows: ☰ and its tabs, then the page's tools; the org page opens on its list. */
|
|
4637
|
-
@media (max-width: 899px) {
|
|
4721
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4638
4722
|
.tabs { display: none !important; }
|
|
4639
4723
|
/* The tab bar's room goes; a list page keeps the home-indicator inset. Not inside an agent's pages (the dock keeps it, #3972)
|
|
4640
4724
|
nor with the keyboard up (the box sits on the keyboard, #2478): there the padding stays 0. */
|
|
@@ -4713,7 +4797,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4713
4797
|
}
|
|
4714
4798
|
/* M-3166 (Argon 2, the user's OK of round 2): on a phone a toast (an agent waiting for you, a result) is one line — a pill that a
|
|
4715
4799
|
tap puts away — and none shows while the keyboard is up. */
|
|
4716
|
-
@media (max-width: 899px) {
|
|
4800
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4717
4801
|
.toasts .toast { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: var(--r-full); padding: var(--s-1) var(--s-3); font-size: var(--fs-sm); cursor: pointer; }
|
|
4718
4802
|
.kb-open .toasts { display: none; }
|
|
4719
4803
|
}
|
package/dist/ui/shared/app.js
CHANGED
|
@@ -191,7 +191,7 @@ installTextUndo({ mac: isMacLike() });
|
|
|
191
191
|
// open/close as ☰ and the scrim. Nothing that owns a sideways drag (code, tables, the terminal, inputs, dialogs) and
|
|
192
192
|
// never the left edge (iOS: "back").
|
|
193
193
|
installSwipe({
|
|
194
|
-
isDrawer: () => typeof matchMedia === "function" && matchMedia("(max-width: 899px)").matches,
|
|
194
|
+
isDrawer: () => typeof matchMedia === "function" && matchMedia("(max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px)").matches,
|
|
195
195
|
isOpen: () => shellStore.get().drawer, open: openDrawer, close: closeDrawer,
|
|
196
196
|
});
|
|
197
197
|
|
|
@@ -207,8 +207,11 @@ export function createThread(list, scroller, opts) {
|
|
|
207
207
|
const reactable = typeof opts.react === "function" && x.roomMessage && opts.canReact?.(x) !== false;
|
|
208
208
|
const addReact = reactable ? `<button type="button" class="chip-btn icon-only" data-act="reactPick" data-arg="${escAttr(key)}" aria-haspopup="true" aria-expanded="false" title="${escAttr(reactText("add"))}" aria-label="${escAttr(reactText("add"))}">${REACT}</button>` : "";
|
|
209
209
|
const act = opts.canReply?.() === false ? (addReact ? `<div data-trust="thread-control" class="msg-actions">${addReact}</div>` : "") : `<div data-trust="thread-control" class="msg-actions">${addReact}<button type="button" class="chip-btn icon-only" data-act="reply" data-arg="${escAttr(key)}" title="${escAttr(tr("chat.reply"))}" aria-label="${escAttr(tr("chat.reply"))}">${REPLY}</button></div>`;
|
|
210
|
+
// A Hub sender's stateless badge is mounted as DOM below. Its escaped descriptor participates in keyed updates;
|
|
211
|
+
// Fleet callers supply no senderBadge hook and retain their existing sender markup.
|
|
212
|
+
const badge = opts.senderBadge && x.sourceBadge ? ` data-source-badge="${escAttr(JSON.stringify(x.sourceBadge))}"` : "";
|
|
210
213
|
// M-3092 (Hub rooms): another person's message, a bubble on the left (`msg-person`); the fleet never sets x.person.
|
|
211
|
-
return `<div class="msg ${u ? "user" : "agent"}${x.person ? " msg-person" : ""}" data-key="${escAttr(key)}" tabindex="-1">${act}<div class="meta"><span class="sender">${escAttr(x.sender)}</span>${time}${ticks}</div>${quoteHtml(x.replyTo)}<div class="body">${clicked ? clickHtml(x.click) : `<div class="md">${renderedMarkdown(x.text, x.role === "agent", opts.emojis, opts.mentions, opts.mentionLabels?.())}</div>`}${R().attachmentsHtml(x.attachments, { htmlCards: x.role === "agent", goneTitle: tr("chat.attGone"), goneLabel: tr("chat.attUnavailable"), inlinePreviews: !PUBLIC_LINK(), textPreviews: true })}${buttons}</div>${Array.isArray(x.reactionBar) ? reactBarHtml(x, key, reactable) : R().reactionsHtml(x.reactions, tr("chat.reactedBy", x.instance || ""))}${tools}</div>`;
|
|
214
|
+
return `<div class="msg ${u ? "user" : "agent"}${x.person ? " msg-person" : ""}" data-key="${escAttr(key)}" tabindex="-1">${act}<div class="meta"><span class="sender"${badge}>${escAttr(x.sender)}</span>${time}${ticks}</div>${quoteHtml(x.replyTo)}<div class="body">${clicked ? clickHtml(x.click) : `<div class="md">${renderedMarkdown(x.text, x.role === "agent", opts.emojis, opts.mentions, opts.mentionLabels?.())}</div>`}${R().attachmentsHtml(x.attachments, { htmlCards: x.role === "agent", goneTitle: tr("chat.attGone"), goneLabel: tr("chat.attUnavailable"), inlinePreviews: !PUBLIC_LINK(), textPreviews: true })}${buttons}</div>${Array.isArray(x.reactionBar) ? reactBarHtml(x, key, reactable) : R().reactionsHtml(x.reactions, tr("chat.reactedBy", x.instance || ""))}${tools}</div>`;
|
|
212
215
|
}
|
|
213
216
|
/** M-3127: a room's words for its reaction controls (opts.reactText(key)), English when the page gives none. */
|
|
214
217
|
function reactText(k, ...a) {
|
|
@@ -412,6 +415,7 @@ export function createThread(list, scroller, opts) {
|
|
|
412
415
|
pollLeft(node);
|
|
413
416
|
if (x) decorateHtmlCards(node, x, stoppedKeys || []);
|
|
414
417
|
if (x) decorateTextCards(node, x);
|
|
418
|
+
if (x?.sourceBadge) opts.senderBadge?.(node.querySelector(".meta .sender"), x);
|
|
415
419
|
return node;
|
|
416
420
|
}
|
|
417
421
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
/* M-3115 (phone v2): in a phone's chat the working bar is one thin status line ("● 調度中… 0:01"), and Stop is Send's
|
|
31
31
|
while the box is empty (panel-chat.js). With something typed Send sends again, and Stop is this line's small 「停止」 —
|
|
32
32
|
a 44 px tap target drawn as text. */
|
|
33
|
-
@media (max-width: 899px) {
|
|
33
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
34
34
|
.p-chat .work-bar { block-size: 22px; min-block-size: 22px; max-block-size: 22px; overflow: visible; }
|
|
35
35
|
/* …only when nothing is waiting to go: with a file attached Send is Send (the file can go), so Stop stays here (M-3198). */
|
|
36
36
|
.p-chat .dock:has(.composer-field textarea:placeholder-shown):not(:has(.pending-files)) .work-bar .btn-stop { display: none; }
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
/* M-3167: between a phone and a wide desk the composer has the model (above), so the header's chips (backend, model,
|
|
61
61
|
effort) give way: they drew under the agent's tabs at about 920 px. Wider, they stay. On every desk the header's status
|
|
62
62
|
line may shrink and is cut instead of running under the tabs, and the name keeps a few characters. */
|
|
63
|
-
@media (min-width: 900px) and (max-width: 1439px) { .p-chat .panel-head .panel-sub .hd-chip { display: none; } }
|
|
64
|
-
@media (min-width: 900px) {
|
|
63
|
+
@media (min-width: 900px) and (pointer: fine) and (max-width: 1439px), (min-width: 900px) and (pointer: none) and (max-width: 1439px), (min-width: 900px) and (min-height: 501px) and (max-width: 1439px), (min-width: 1024px) and (max-width: 1439px) { .p-chat .panel-head .panel-sub .hd-chip { display: none; } }
|
|
64
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
65
65
|
.p-chat .panel-head .panel-sub { min-width: 0; overflow: hidden; }
|
|
66
66
|
.p-chat .panel-head .panel-title h1 { flex: 0 1000 auto; min-width: min(8ch, 40%); } /* the name gives way before the status */
|
|
67
67
|
}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
at least 32 px — in place of the working bar and of the line under the box (its Not verified is the meta line's right end,
|
|
70
70
|
amber; ✓ Verified isn't drawn there). The box is 📎 · the text, the whole width · Send/Stop; files in a strip at the top;
|
|
71
71
|
at most five lines, then it scrolls. */
|
|
72
|
-
@media (max-width: 899px) {
|
|
72
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
73
73
|
.chat-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); height: 26px; padding: 0 var(--s-1); font-size: var(--fs-xs); color: var(--text-2); }
|
|
74
74
|
.chat-meta-left { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 32px; margin: -3px 0; padding: 0 var(--s-2); border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; white-space: nowrap; overflow: hidden; }
|
|
75
75
|
.chat-meta-left > span:not(.chat-meta-dot):not(.chev) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
/* M-3166 (Argon 2–3, the user's OK of round 2): a phone's chat header is "← name ● ⋯" in 44 px — the status is its 6 px dot
|
|
93
93
|
(its title still says it), and the search, card, text size and usage buttons and the tab row are the ⋯ sheet's. */
|
|
94
|
-
@media (max-width: 899px) {
|
|
94
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
95
95
|
.p-chat > .panel-head { min-height: 44px; padding-bottom: 0; }
|
|
96
96
|
.p-chat > .panel-head .panel-title { min-height: 44px; gap: var(--s-2); }
|
|
97
97
|
/* Only a header with the ⋯ sheet gives its controls up to it: a guest's has none, so it keeps its own (#4002 review). */
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { connectInstallInfo } from "../../connect/install.js";
|
|
2
2
|
export function connectorPrompt(info: ReturnType<typeof connectInstallInfo>, app: string, where: string, translate: (key: string) => string): string;
|
|
3
|
+
export function hubConnectorPrompt(address: string, app: string, translate: (key: string) => string): string;
|
|
@@ -8,3 +8,13 @@ export function connectorPrompt(info, app, where, translate) {
|
|
|
8
8
|
: JSON.stringify({ mcpServers: { agend: { command: server.command, args: server.args } } }, null, 2);
|
|
9
9
|
return `${translate("prompt").replace("{app}", name)}\n\n${translate("config")}:\n${config}`;
|
|
10
10
|
}
|
|
11
|
+
/** A remote app config contains only the canonical Hub URL, never a local command or token. */
|
|
12
|
+
export function hubConnectorPrompt(address, app, translate) {
|
|
13
|
+
let url; try { url = new URL(address); } catch { return ""; }
|
|
14
|
+
if (url.protocol !== "https:" || url.username || url.password || url.search || url.hash || url.pathname !== "/mcp") return "";
|
|
15
|
+
const name = translate(app === "claude" ? "claude" : app === "codex" ? "codex" : "generic");
|
|
16
|
+
const config = app === "codex" ? `[mcp_servers.agend_hub]\nurl = ${JSON.stringify(url.href)}`
|
|
17
|
+
: app === "claude" ? JSON.stringify({mcpServers:{agend_hub:{type:"http",url:url.href}}},null,2)
|
|
18
|
+
: JSON.stringify({url:url.href,transport:"streamable-http"},null,2);
|
|
19
|
+
return `${translate("prompt").replace("{app}", name)}\n\n${translate("config")}:\n${config}`;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.hub-ai-apps .hub-app-button { min-height: var(--tap); min-width: var(--tap); }
|
|
2
|
+
.hub-ai-apps .hub-subject-picker .btn { min-height: var(--tap); min-width: var(--tap); }
|
|
3
|
+
.hub-ai-apps :is(select, input[type="url"], input[type="search"]) { min-height: var(--tap); }
|
|
4
|
+
.hub-ai-apps .check { min-height: var(--tap); }
|
|
5
|
+
.hub-ai-apps .hub-app-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
6
|
+
.hub-ai-apps .hub-app-list { padding: 0; list-style: none; }
|
|
7
|
+
.hub-ai-apps .hub-app-row { display: grid; gap: var(--s-2); min-width: 0; overflow-wrap: anywhere; }
|
|
8
|
+
.hub-ai-apps textarea { width: 100%; resize: vertical; }
|
|
9
|
+
.hub-ai-apps summary { min-height: var(--tap); cursor: pointer; }
|
|
10
|
+
.hub-ai-apps .s-disclosure-body { padding: var(--s-3); }
|
|
11
|
+
.hub-ai-apps .hub-app-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
|
|
12
|
+
.hub-ai-apps .hub-app-disconnect { justify-self: end; }
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
.inst-line2 > .nav-count { flex: none; height: 18px; min-width: 18px; line-height: 18px; }
|
|
32
32
|
.hub-room-archived .inst-name { color: var(--text-3); }
|
|
33
33
|
/* M-3117: on a phone the Fleet chat's box has a hairline (model-picker.css, which the Hub does not load): the Hub's too. */
|
|
34
|
-
@media (max-width: 899px) {
|
|
34
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
35
35
|
.hub-dock .composer-box { border: 1px solid var(--border); }
|
|
36
36
|
/* …and its Send is a full tap target (chat-work-bar.css, linked by the Fleet chat only). */
|
|
37
37
|
.hub-dock .composer .btn-send { width: var(--tap); min-width: var(--tap); min-height: var(--tap); }
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
a.hub-launch-pill { border: 1px solid var(--border); background: transparent; color: var(--text); }
|
|
90
90
|
@media (hover: none) { .hub-launch-go { opacity: 1; } }
|
|
91
91
|
@media (max-width: 899px), (pointer: coarse) { .hub-launch-pill { min-height: var(--tap); } } /* a fingertip on a phone */
|
|
92
|
-
@media (max-width: 899px) {
|
|
92
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
93
93
|
.hub-home-list { display: block; flex: 1; overflow-y: auto; padding-top: var(--s-2); }
|
|
94
94
|
.hub-home-pick { display: none; }
|
|
95
95
|
.hub-home.is-launch .hub-home-list { display: none; }
|
|
@@ -165,3 +165,10 @@ a.hub-launch-pill { border: 1px solid var(--border); background: transparent; co
|
|
|
165
165
|
/* The foot is the sidebar's bottom: its session menu opens upward (as the dashboard's), never below the screen. */
|
|
166
166
|
.hub-session-row .hub-session-menu .menu-list { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; max-width: calc(var(--sidebar-w, 260px) - 2 * var(--s-2)); }
|
|
167
167
|
|
|
168
|
+
|
|
169
|
+
/* The access limitation must remain readable on a phone. */
|
|
170
|
+
.hub-chat-title .hub-answer-only-note { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; padding-block: var(--s-1); }
|
|
171
|
+
|
|
172
|
+
.inst-alt.hub-answer-only-note, .cmd-desc.hub-answer-only-note { white-space: normal; overflow-wrap: anywhere; }
|
|
173
|
+
|
|
174
|
+
.hub-chat-head.hub-answer-only-head { padding-block: var(--s-2); }
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
.hub-group-fleets input { width: 4.5em; }
|
|
30
30
|
.hub-groups-impact ul { margin: var(--s-1) 0 var(--s-2); padding-left: var(--s-4); }
|
|
31
31
|
/* A phone's Remove is a full touch target whichever line it wraps onto (Fable #3424 N1: its size followed the font). */
|
|
32
|
-
@media (max-width: 899px) { .hub-rows .s-row.hub-row.hub-group-row > .btn { min-height: var(--tap); min-width: var(--tap); } }
|
|
32
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .hub-rows .s-row.hub-row.hub-group-row > .btn { min-height: var(--tap); min-width: var(--tap); } }
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
@media (max-width: 899px), (pointer: coarse) {
|
|
43
43
|
.hub-versions-banner > .icon-btn, .hub-fleet-summary .hub-fleet-filter { min-width: var(--tap); min-height: var(--tap); }
|
|
44
44
|
}
|
|
45
|
-
@media (max-width: 899px) {
|
|
45
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
46
46
|
/* A phone stacks the row as the Teams roster does: the name, then labelled lines, the tag first. */
|
|
47
47
|
.hub-fleet-list .hub-fleet-version { flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: 2px; }
|
|
48
48
|
}
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
.hub-steps .hub-offer { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: start; margin: 0; padding: 0; }
|
|
74
74
|
.hub-steps > li::before { align-self: flex-start; margin-top: 1px; }
|
|
75
75
|
.hub-steps .hub-offer > * { text-align: start; align-self: flex-start; justify-self: start; margin-left: 0; } /* hub.css's `.hub-steps small` auto margin would push a short line right */
|
|
76
|
-
@media (max-width: 899px) { .hub-page-body { padding: var(--s-3) var(--s-4) var(--s-6); } }
|
|
76
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .hub-page-body { padding: var(--s-3) var(--s-4) var(--s-6); } }
|
|
77
77
|
/* M-2682: Administration → This Hub — the name form, then what identifies this Hub (labels left; stacked on a phone). */
|
|
78
78
|
.hub-this-form .field { max-width: 32em; }
|
|
79
79
|
.hub-this-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
|
|
80
80
|
.hub-this-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-2) var(--s-4); margin: var(--s-4) 0 0; }
|
|
81
81
|
.hub-this-facts dt { color: var(--text-2); }
|
|
82
82
|
.hub-this-facts dd { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); overflow-wrap: anywhere; }
|
|
83
|
-
@media (max-width: 899px) {
|
|
83
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
84
84
|
.hub-this-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
|
|
85
85
|
.hub-this-facts dd { margin-bottom: var(--s-2); }
|
|
86
86
|
/* A phone's Administration: every button and text field is a full touch target, so one class combination keeps one height. */
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
.hub-admin-tab { flex: none; padding: var(--s-2) 0; color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
|
|
106
106
|
.hub-admin-tab:hover { color: var(--text); }
|
|
107
107
|
.hub-admin-tab.active { color: var(--text); font-weight: var(--fw-semibold); border-bottom-color: var(--text); }
|
|
108
|
-
@media (max-width: 899px) {
|
|
108
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
109
109
|
.hub-admin-tabs-wrap { padding: var(--s-2) var(--s-4) 0; }
|
|
110
110
|
.hub-admin-tab { min-height: var(--tap); min-width: var(--tap); display: inline-flex; align-items: center; justify-content: center; }
|
|
111
111
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
.hub-ov-legend dt i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
|
|
162
162
|
.hub-ov-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
|
|
163
163
|
.hub-ov-empty p { margin: 0; }
|
|
164
|
-
@media (max-width: 899px) {
|
|
164
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
165
165
|
.hub-ov-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
166
166
|
.hub-ov-split { grid-template-columns: minmax(0, 1fr); }
|
|
167
167
|
.hub-ov-range-item { min-height: var(--tap); }
|