@songsid/agend 2.4.0-beta.7 → 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 +4 -0
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/antigravity.d.ts +9 -2
- package/dist/backend/antigravity.js +24 -6
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/cli-env-probe.js +1 -1
- package/dist/backend/cli-env-probe.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/daemon.d.ts +13 -0
- package/dist/daemon.js +64 -1
- package/dist/daemon.js.map +1 -1
- package/dist/dispatcher-liveness.d.ts +51 -1
- package/dist/dispatcher-liveness.js +92 -2
- package/dist/dispatcher-liveness.js.map +1 -1
- package/dist/fleet-manager.d.ts +56 -1
- package/dist/fleet-manager.js +243 -32
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +83 -3
- 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 +7 -4
- package/dist/hub/catalog.js +19 -10
- 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-impact.d.ts +32 -3
- package/dist/hub/group-policy/admin-impact.js +14 -2
- package/dist/hub/group-policy/admin-impact.js.map +1 -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/impact-inventory.d.ts +1 -1
- package/dist/hub/group-policy/impact-inventory.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 +164 -23
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.js +27 -0
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +12 -0
- package/dist/hub/http/schema.js +6 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/join/service.d.ts +1 -1
- package/dist/hub/join/service.js.map +1 -1
- package/dist/hub/mcp/auth-schema.d.ts +7 -0
- package/dist/hub/mcp/auth-schema.js +31 -0
- package/dist/hub/mcp/auth-schema.js.map +1 -0
- package/dist/hub/mcp/auth.d.ts +89 -0
- package/dist/hub/mcp/auth.js +374 -0
- package/dist/hub/mcp/auth.js.map +1 -0
- 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 +140 -0
- package/dist/hub/personal/owner-host.js +287 -0
- package/dist/hub/personal/owner-host.js.map +1 -0
- 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 +4 -0
- package/dist/hub/personal/schema.js +54 -0
- package/dist/hub/personal/schema.js.map +1 -0
- 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 +42 -0
- package/dist/hub/personal/types.js +2 -0
- package/dist/hub/personal/types.js.map +1 -0
- package/dist/hub/policy.d.ts +1 -1
- package/dist/hub/policy.js +2 -0
- package/dist/hub/policy.js.map +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/quota.js +3 -1
- package/dist/hub/quota.js.map +1 -1
- package/dist/hub/roles/admin-control.d.ts +29 -0
- package/dist/hub/roles/admin-control.js +187 -0
- package/dist/hub/roles/admin-control.js.map +1 -0
- package/dist/hub/roles/admin-types.d.ts +72 -0
- package/dist/hub/roles/admin-types.js +2 -0
- package/dist/hub/roles/admin-types.js.map +1 -0
- 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 +17 -0
- package/dist/hub/roles/resource-effects.js +62 -0
- package/dist/hub/roles/resource-effects.js.map +1 -0
- 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 +14 -3
- package/dist/hub/roles/writer.js +64 -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 +96 -11
- 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 +12 -2
- package/dist/hub/rooms.js +87 -17
- 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 +26 -4
- 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/sharing.js +2 -2
- package/dist/hub/sharing.js.map +1 -1
- package/dist/hub/types.d.ts +26 -3
- package/dist/locale.js +13 -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/native-model-catalog.d.ts +15 -0
- package/dist/native-model-catalog.js +43 -3
- package/dist/native-model-catalog.js.map +1 -1
- package/dist/runtime-build-info.js +1 -0
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli.js +31 -5
- package/dist/runtime-cli.js.map +1 -1
- package/dist/runtime-client-store.d.ts +5 -0
- package/dist/runtime-client-store.js +28 -0
- package/dist/runtime-client-store.js.map +1 -1
- package/dist/runtime-client.d.ts +4 -0
- package/dist/runtime-client.js +33 -10
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-coordinator.d.ts +4 -2
- package/dist/runtime-coordinator.js +33 -6
- package/dist/runtime-coordinator.js.map +1 -1
- package/dist/runtime-install.d.ts +6 -1
- package/dist/runtime-install.js +12 -4
- 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 +7 -2
- package/dist/runtime-personal-answer.js +12 -3
- package/dist/runtime-personal-answer.js.map +1 -1
- package/dist/runtime-personal-preflight.d.ts +8 -0
- package/dist/runtime-personal-preflight.js +103 -0
- package/dist/runtime-personal-preflight.js.map +1 -0
- package/dist/runtime-personal-profile.d.ts +7 -1
- package/dist/runtime-personal-profile.js +24 -4
- package/dist/runtime-personal-profile.js.map +1 -1
- package/dist/runtime-personal-protocol.d.ts +10 -0
- package/dist/runtime-personal-protocol.js +15 -0
- package/dist/runtime-personal-protocol.js.map +1 -0
- package/dist/runtime-personal-stage.d.ts +37 -0
- package/dist/runtime-personal-stage.js +167 -0
- package/dist/runtime-personal-stage.js.map +1 -0
- package/dist/runtime-protocol.d.ts +2 -0
- 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-store.js +39 -2
- 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 +32 -1
- 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 +439 -0
- package/dist/ui/hub-roles.js +83 -0
- 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/hub-switcher.js +2 -2
- package/dist/ui/hub-this-hub.js +2 -2
- package/dist/ui/model-picker.js +4 -1
- package/dist/ui/panel-chat.js +4 -4
- package/dist/ui/panel-fleet.js +3 -3
- package/dist/ui/panel-hub.js +51 -31
- package/dist/ui/panel-settings.js +2 -3
- 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/settings-catalog.js +22 -0
- package/dist/ui/settings-hub-setup.js +2 -1
- package/dist/ui/settings-strings.js +2 -0
- 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 +20 -8
- package/dist/ui/shared/app-stream.js +3 -1
- package/dist/ui/shared/app-swipe.js +3 -1
- package/dist/ui/shared/app.css +142 -48
- 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 +99 -0
- package/dist/ui/shared/hub-rooms-u2.css +14 -0
- package/dist/ui/shared/hub.css +13 -5
- 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 +110 -16
- package/dist/ui/shared/view-strings.js +8 -0
- 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-api.d.ts +4 -0
- package/dist/web-api.js +39 -23
- package/dist/web-api.js.map +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 +10 -0
- package/dist/windows-cli-worker.js +109 -14
- package/dist/windows-cli-worker.js.map +1 -1
- package/dist/windows-cli.d.ts +10 -1
- package/dist/windows-cli.js +47 -13
- 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
|
@@ -292,7 +292,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
292
292
|
}
|
|
293
293
|
.panel-head .sb-open { display: none; }
|
|
294
294
|
.sb-open .ic-back, .sb-open .sb-badge { display: none; } /* M-3115: the phone's ‹ (below); elsewhere ☰ only */
|
|
295
|
-
.side-collapse .ic-
|
|
295
|
+
.side-collapse .ic-close { display: none; } /* M-3211, M-3245: a phone's full-width drawer closes by ✕ (below); elsewhere the sidebar icon */
|
|
296
296
|
.sb-collapsed .panel-head .sb-open { display: inline-flex; }
|
|
297
297
|
/* #2074: a collapsed sidebar's "New agent", beside its ☰ (a phone opens the drawer, which has the row). */
|
|
298
298
|
.panel-head .sb-new { margin-left: calc(-1 * var(--s-1)); }
|
|
@@ -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,12 +798,9 @@ 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
|
-
.p-settings > .panel-body .s-back { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); margin: 0 0 var(--s-2);
|
|
805
|
-
color: var(--accent); font-size: var(--fs-sm); text-decoration: none; }
|
|
806
|
-
.p-settings .s-back .s-back-here { margin-left: auto; color: var(--text); font-weight: var(--fw-semibold); }
|
|
807
804
|
.p-settings[data-view="index"] > .s-nav { flex-direction: column; align-items: stretch; padding: 0 var(--s-4) var(--s-4); }
|
|
808
805
|
.p-settings[data-view="index"] > .s-nav .s-nav-groups { flex-direction: column; align-items: stretch; flex-wrap: nowrap; overflow: visible; gap: var(--s-4); }
|
|
809
806
|
.p-settings[data-view="index"] > .s-nav .s-nav-group { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; }
|
|
@@ -869,7 +866,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
869
866
|
.sched-actions { display: inline-flex; flex: none; gap: var(--s-1); }
|
|
870
867
|
.sched-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
871
868
|
.sched-sub { font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
872
|
-
@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 */
|
|
873
870
|
.sched-mode { margin-bottom: var(--s-2); }
|
|
874
871
|
.save-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
|
|
875
872
|
|
|
@@ -885,7 +882,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
885
882
|
.msg.user { align-self: flex-end; max-width: min(80%, 620px); }
|
|
886
883
|
/* Full width (the header's ⋯ menu, this browser's choice): the thread and the composer take the panel, less their own
|
|
887
884
|
padding, for wide tables and code; a person's bubble keeps its cap (above). A phone's column is the screen already. */
|
|
888
|
-
@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; } }
|
|
889
886
|
.msg.user .meta { justify-content: flex-end; }
|
|
890
887
|
/* #1773: the bubble hugs its text. The message is as wide as its widest child — usually the meta row (sender, a time
|
|
891
888
|
such as 「昨天 下午03:58」, ticks) — and a block body would stretch to it; fit-content keeps a short message short, on
|
|
@@ -1210,7 +1207,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1210
1207
|
.quote-pop .quote-tip.up { top: -6px; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); }
|
|
1211
1208
|
.msg[data-key] { transition: transform var(--t-fast); }
|
|
1212
1209
|
.msg.swipe-ready { box-shadow: 3px 0 0 var(--accent); border-radius: var(--r-sm); } /* let go now: a reply */
|
|
1213
|
-
@media (max-width: 899px) {
|
|
1210
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1214
1211
|
.only-wide { display: none; }
|
|
1215
1212
|
.pv-divider { display: none; }
|
|
1216
1213
|
.pv-panel { position: fixed; inset: 0; z-index: 37; width: auto; min-width: 0; max-width: none;
|
|
@@ -1480,7 +1477,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1480
1477
|
.tour-spot { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
|
|
1481
1478
|
|
|
1482
1479
|
/* ── Phones: the sidebar is a drawer, the composer stays pinned, bottom tabs ── */
|
|
1483
|
-
@media (max-width: 899px) {
|
|
1480
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1484
1481
|
.sidebar {
|
|
1485
1482
|
position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 40; box-shadow: var(--shadow-2);
|
|
1486
1483
|
transform: translateX(-105%); transition: transform var(--t-med) var(--ease); visibility: hidden;
|
|
@@ -1596,7 +1593,7 @@ img.amb-p { object-fit: contain; }
|
|
|
1596
1593
|
@media (hover: none) { .inst-nav:not(.fav-editing) .inst-star { display: none; } }
|
|
1597
1594
|
/* Edit: room for ↑ ↓ ☆ — the context and CLI marks step aside so the name keeps its width. */
|
|
1598
1595
|
.fav-editing .v-li .v-meta { display: none; }
|
|
1599
|
-
@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; } }
|
|
1600
1597
|
.v-inst .dot { margin-top: 0; }
|
|
1601
1598
|
.v-meta { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
1602
1599
|
.v-meta { flex: none; }
|
|
@@ -1648,14 +1645,14 @@ img.amb-p { object-fit: contain; }
|
|
|
1648
1645
|
.nav-sort-phone { display: none; }
|
|
1649
1646
|
.v-filter-new { display: none; } /* M-3217: the phone drawer's + (below) */
|
|
1650
1647
|
.nav-sort-menu .nav-sort-sub { margin-top: var(--s-2); }
|
|
1651
|
-
@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; } }
|
|
1652
1649
|
.recent-head { cursor: default; }
|
|
1653
1650
|
/* #1722: the sidebar's width — a separator on its right edge (drag, arrows, Home/End, double-click resets); not on a phone */
|
|
1654
1651
|
.side-resize { position: absolute; top: 0; right: -3px; width: 6px; height: 100%; z-index: 5; cursor: col-resize; touch-action: none; }
|
|
1655
1652
|
.side-resize:hover, .side-resize:focus-visible, .side-resize.dragging { background: var(--accent-dim, var(--border-strong)); }
|
|
1656
1653
|
.side-resize:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
1657
1654
|
body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-select: none; }
|
|
1658
|
-
@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; } }
|
|
1659
1656
|
.dragging { opacity: 0.4; }
|
|
1660
1657
|
.drop-before { box-shadow: inset 0 2px 0 var(--accent); }
|
|
1661
1658
|
.drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
|
|
@@ -1764,6 +1761,18 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1764
1761
|
muted line under the head (one line in the rail, whole in the dialog). */
|
|
1765
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; }
|
|
1766
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); }
|
|
1767
1776
|
.u-order { margin-left: auto; display: flex; gap: 2px; flex: none; }
|
|
1768
1777
|
.u-order .icon-btn { width: 28px; height: 28px; }
|
|
1769
1778
|
.u-order .icon-btn:disabled { opacity: 0.3; }
|
|
@@ -1802,6 +1811,21 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1802
1811
|
letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
|
|
1803
1812
|
.u-cg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1804
1813
|
.u-cg-count { flex: none; }
|
|
1814
|
+
/* M-3241 (the user): a group of two or more logins folds — −/+ on its header's right cycles every window → one line per
|
|
1815
|
+
login (its binding window beside its name) → the header alone with the highest percent, in its warning colour. */
|
|
1816
|
+
.u-cg-tools { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); align-self: center; text-transform: none; letter-spacing: 0; }
|
|
1817
|
+
.u-cg-top { font-size: var(--fs-sm); }
|
|
1818
|
+
.u-cg-top.u-cm-pct.is-stale { color: var(--text-3); } /* a stale login's cached number: muted, as its row (#4054 review) */
|
|
1819
|
+
.u-cg-toggle { width: 24px; height: 24px; margin: -4px calc(-1 * var(--s-1)) -4px 0; color: var(--text-3); }
|
|
1820
|
+
.u-cg-toggle:hover { color: var(--text); }
|
|
1821
|
+
.u-cgroup.is-collapsed > .u-cg-head { padding-bottom: 7px; }
|
|
1822
|
+
.u-crow.is-one { flex-direction: row; align-items: center; gap: var(--s-3); }
|
|
1823
|
+
.u-crow.is-one > .u-crow-head { flex: 0 0 32%; min-width: 0; }
|
|
1824
|
+
.u-crow.is-one > .u-crow-head .u-crow-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1825
|
+
.u-crow.is-one .u-plan { display: none; } /* one line: the name gets the room; the plan is in the full rows */
|
|
1826
|
+
.u-crow.is-one .u-cm { grid-template-columns: 3em minmax(0, 1fr) 2.9em 3.7em; } /* 「5小時」 whole */
|
|
1827
|
+
.u-crow.is-one > .u-cm, .u-crow.is-one > .u-crow-note { flex: 1 1 0; min-width: 0; }
|
|
1828
|
+
@media (pointer: coarse) { .u-cg-toggle { width: var(--tap); height: var(--tap); margin-block: calc((24px - var(--tap)) / 2); } }
|
|
1805
1829
|
.u-crow { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0; padding: 6px var(--s-3); border: 0; border-top: 1px solid var(--border);
|
|
1806
1830
|
background: transparent; color: inherit; font: inherit; line-height: 1.3; text-align: left; cursor: pointer; }
|
|
1807
1831
|
.u-cg-head + .u-crow { border-top: 0; }
|
|
@@ -1850,7 +1874,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1850
1874
|
@media (max-width: 1199px) { .dlg.side-panel { display: none; } }
|
|
1851
1875
|
/* A toast (Offices saved.) beside a docked panel, not over its Cancel and Save. */
|
|
1852
1876
|
@media (min-width: 1200px) { .shell:has(> .side-panel) .toasts { right: calc(400px + var(--s-6)); } }
|
|
1853
|
-
@media (max-width: 899px) {
|
|
1877
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1854
1878
|
.hide-narrow { display: none; }
|
|
1855
1879
|
.v-id { padding-left: var(--s-3); padding-right: var(--s-3); }
|
|
1856
1880
|
.v-id-actions .btn { min-height: var(--tap); }
|
|
@@ -1879,7 +1903,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
|
|
|
1879
1903
|
.s-conn .s-actions { margin-left: 0; flex-wrap: nowrap; }
|
|
1880
1904
|
/* Retry and Settings stay together: in a wide list they are the last of the connection's three action columns. */
|
|
1881
1905
|
.s-conn-buttons { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-1); }
|
|
1882
|
-
@media (max-width: 899px) {
|
|
1906
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
1883
1907
|
.s-row.s-conn { grid-template-columns: minmax(0, 1fr) auto; }
|
|
1884
1908
|
.s-conn .s-facts { grid-column: 1 / -1; grid-row: 2; }
|
|
1885
1909
|
}
|
|
@@ -2064,7 +2088,7 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2064
2088
|
/* Settings' pending bar sits at the bottom of the page: toasts and request cards stand above it, never on its buttons. */
|
|
2065
2089
|
.shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
|
|
2066
2090
|
/* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
|
|
2067
|
-
@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; } }
|
|
2068
2092
|
.op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
|
|
2069
2093
|
.op-line.ok { color: var(--ok); }
|
|
2070
2094
|
.op-line.bad { color: var(--danger); }
|
|
@@ -2132,8 +2156,8 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2132
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); }
|
|
2133
2157
|
.signin-browser > section > :is(h3, p, label, code) { flex-basis: 100%; min-width: 0; }
|
|
2134
2158
|
.signin-browser h3 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
|
|
2135
|
-
.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; }
|
|
2136
|
-
.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); }
|
|
2137
2161
|
.signin-browser button:disabled { opacity: 0.45; cursor: default; }
|
|
2138
2162
|
.signin-browser > button { align-self: flex-start; }
|
|
2139
2163
|
.signin-browser section > a { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
|
|
@@ -2142,12 +2166,44 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2142
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); }
|
|
2143
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; }
|
|
2144
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
|
+
}
|
|
2145
2200
|
.signin-browser-actions { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); min-width: 0; }
|
|
2146
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 */
|
|
2147
2203
|
@media (pointer: coarse), (max-width: 899px) {
|
|
2148
2204
|
.signin-browser :is(button, a), .signin-browser-actions .btn, .signin-browser ~ .note .btn { min-height: var(--tap); }
|
|
2149
2205
|
}
|
|
2150
|
-
@media (max-width: 899px) {
|
|
2206
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2151
2207
|
.grid2 { grid-template-columns: minmax(0, 1fr); }
|
|
2152
2208
|
.se-row { grid-template-columns: minmax(0, 1fr) auto auto; }
|
|
2153
2209
|
.se-row label { grid-column: 1 / -1; }
|
|
@@ -2226,7 +2282,7 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2226
2282
|
.org-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
|
|
2227
2283
|
.org-link { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--accent); }
|
|
2228
2284
|
.org-link:hover { text-decoration: underline; }
|
|
2229
|
-
@media (max-width: 899px) {
|
|
2285
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2230
2286
|
/* A phone: one column, the teams hang off a rail on the left. */
|
|
2231
2287
|
.org-top::after { margin: 0 0 0 var(--s-4); }
|
|
2232
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); }
|
|
@@ -2437,11 +2493,11 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
|
|
|
2437
2493
|
color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
|
|
2438
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;
|
|
2439
2495
|
padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); touch-action: none; }
|
|
2440
|
-
/*
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
}
|
|
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; }
|
|
2445
2501
|
.oo-card-grip { width: 36px; height: 4px; margin: 0 auto var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
|
|
2446
2502
|
.oo-card-head { display: flex; gap: var(--s-3); align-items: flex-start; }
|
|
2447
2503
|
.oo-card-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
|
|
@@ -2570,6 +2626,46 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2570
2626
|
.oo:not(.fs) .oo-zoom-pct { display: flex; align-items: center; padding: 0 6px; border-bottom: 0; border-right: 1px solid var(--border); }
|
|
2571
2627
|
.oo:not(.fs) .oo-zoom .icon-btn + .icon-btn { border-top: 0; border-left: 1px solid var(--border); }
|
|
2572
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; }
|
|
2573
2669
|
/* A phone: Fleet's five tabs fit when only the open one shows its label (the others keep theirs for screen readers). */
|
|
2574
2670
|
@media (max-width: 479px) {
|
|
2575
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; }
|
|
@@ -2605,7 +2701,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2605
2701
|
.ch-ttl line { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 3 3; }
|
|
2606
2702
|
.ch-ttl text { font-size: var(--fs-3xs); fill: var(--danger); }
|
|
2607
2703
|
.ch-rest .row-item { font-size: var(--fs-xs); }
|
|
2608
|
-
@media (max-width: 899px) {
|
|
2704
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2609
2705
|
.ch-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
2610
2706
|
.ch-fleet { grid-template-columns: minmax(0, 1fr); }
|
|
2611
2707
|
.ch-bar .btn { min-height: var(--tap); }
|
|
@@ -2713,7 +2809,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2713
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); }
|
|
2714
2810
|
/* A phone: the instance's name keeps the header; /model and /effort are a "/" away. */
|
|
2715
2811
|
@media (max-width: 479px) { .hd-chip { display: none; } }
|
|
2716
|
-
@media (max-width: 899px) {
|
|
2812
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2717
2813
|
.hd-chip { max-width: 9em; }
|
|
2718
2814
|
.cmd-palette li { min-height: var(--tap); align-items: center; flex-wrap: wrap; row-gap: 0; }
|
|
2719
2815
|
.cmd-palette .cmd-desc { white-space: normal; flex-basis: 100%; }
|
|
@@ -2813,7 +2909,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2813
2909
|
.aw-chat_header .aw-stat .aw-value { margin-left: 0; }
|
|
2814
2910
|
.aw-chat_header .aw-bar { flex: 0 0 auto; width: 96px; }
|
|
2815
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). */
|
|
2816
|
-
@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); } }
|
|
2817
2913
|
.aw-details { background: var(--surface); margin-bottom: var(--s-4); padding: var(--s-4) var(--s-5); }
|
|
2818
2914
|
.side-widget { padding: 0 var(--s-3) var(--s-2); }
|
|
2819
2915
|
.aw-sidebar { max-height: 240px; overflow: auto; }
|
|
@@ -2855,7 +2951,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2855
2951
|
.u-rail > .u-rail-head, .u-rail > .u-rail-body { position: relative; z-index: 1; }
|
|
2856
2952
|
/* Header menus must stay above the later scroller stacking context. */
|
|
2857
2953
|
.panel-head { z-index: 2; }
|
|
2858
|
-
@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; } }
|
|
2859
2955
|
/* #1629: full-app bounded stock surfaces. Panel roots stay neutral; effects never raise the whole app. */
|
|
2860
2956
|
.p-fleet > .seg, .p-settings > .seg,
|
|
2861
2957
|
.p-fleet > .panel-body, .p-needs > .panel-body, .p-notices > .panel-body, .p-settings > .panel-body,
|
|
@@ -2920,7 +3016,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2920
3016
|
.search-ctx-line.here { background: var(--surface-2); }
|
|
2921
3017
|
.search-ctx-text { margin-top: 2px; font-size: var(--fs-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
2922
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); }
|
|
2923
|
-
@media (max-width: 899px) {
|
|
3019
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2924
3020
|
.panel-head .sb-search { display: inline-flex; }
|
|
2925
3021
|
.dlg.search-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
|
|
2926
3022
|
.search-box { height: 100%; max-height: 100dvh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); box-sizing: border-box; }
|
|
@@ -3148,7 +3244,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3148
3244
|
.tc-comment-body { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
3149
3245
|
.tc-composer { display: flex; gap: var(--s-2); align-items: flex-end; }
|
|
3150
3246
|
|
|
3151
|
-
@media (max-width: 899px) {
|
|
3247
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3152
3248
|
/* A phone stacks the columns: no sideways scrolling, and a card moves through its dialog's "Move to…". */
|
|
3153
3249
|
.tb-scroll { overflow-x: visible; margin: 0; padding: 0; }
|
|
3154
3250
|
.tb-columns { grid-template-columns: minmax(0, 1fr); min-width: 0; }
|
|
@@ -3169,7 +3265,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3169
3265
|
}
|
|
3170
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
|
|
3171
3267
|
an empty column still reads as one. The page's column, the board and its scroller pass the height down as flex. */
|
|
3172
|
-
@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) {
|
|
3173
3269
|
.col:has(> .tb > .tb-board-page) { display: flex; flex-direction: column; min-height: 100%; }
|
|
3174
3270
|
.tb:has(> .tb-board-page) { flex: 1; }
|
|
3175
3271
|
.tb-board-page { display: flex; flex-direction: column; flex: 1; }
|
|
@@ -3597,7 +3693,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3597
3693
|
.p-settings .s-dev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
|
|
3598
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; }
|
|
3599
3695
|
.p-settings .s-dev-state { display: flex; align-items: center; gap: var(--s-2); color: var(--text-3); font-size: var(--fs-xs); }
|
|
3600
|
-
@media (max-width: 899px) {
|
|
3696
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3601
3697
|
.p-settings .s-access-stack { max-width: none; }
|
|
3602
3698
|
.p-settings .s-ro-columns { display: none; }
|
|
3603
3699
|
.p-settings .s-web-readonly .s-web-ro { margin-top: 0; }
|
|
@@ -4280,7 +4376,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4280
4376
|
.p-settings .s-guest-workbench { grid-template-columns: minmax(0, 1fr); }
|
|
4281
4377
|
.p-settings .s-guests .guest-list { min-height: 0; }
|
|
4282
4378
|
}
|
|
4283
|
-
@media (max-width: 899px) {
|
|
4379
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4284
4380
|
.p-settings .s-access-login-layout { grid-template-columns: minmax(0, 1fr); }
|
|
4285
4381
|
.p-settings .s-access-related { order: 2; }
|
|
4286
4382
|
.p-settings .s-dev-context { flex-basis: 100%; order: 3; }
|
|
@@ -4565,8 +4661,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4565
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. */
|
|
4566
4662
|
.p-settings > .s-nav .seg-item { min-width: 0; max-width: 100%; }
|
|
4567
4663
|
.p-settings > .s-nav .seg-item > span:not(.count) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
4568
|
-
@media (min-width: 900px) and (max-width: 1099px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; } }
|
|
4569
|
-
@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; } }
|
|
4570
4666
|
/* S3. Wide (≥1100px): the category column is its own panel — the sidebar's tone and a divider on its right edge. */
|
|
4571
4667
|
@media (min-width: 1100px) {
|
|
4572
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); }
|
|
@@ -4575,7 +4671,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4575
4671
|
}
|
|
4576
4672
|
/* S4. Middle (900–1099px): the row becomes real tabs — an underline for the current one, no group titles (a divider instead),
|
|
4577
4673
|
and a fade at the right edge that says it scrolls. */
|
|
4578
|
-
@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) {
|
|
4579
4675
|
.p-settings > .s-nav { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0 var(--s-4); }
|
|
4580
4676
|
.p-settings > .s-nav .s-nav-head { display: none; }
|
|
4581
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); }
|
|
@@ -4586,10 +4682,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4586
4682
|
.p-settings > .s-nav .seg-item.active { background: none; color: var(--accent); border-bottom-color: var(--accent); }
|
|
4587
4683
|
.p-settings > .s-nav .seg-item.active::before { display: none; }
|
|
4588
4684
|
}
|
|
4589
|
-
/* S5. Phone
|
|
4590
|
-
@media (max-width: 899px) {
|
|
4591
|
-
.p-settings > .panel-body .s-back { min-height: 48px; margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-4); padding: 0 var(--s-4); background: var(--surface); border-bottom: 1px solid var(--border); font-weight: var(--fw-semibold); }
|
|
4592
|
-
.p-settings .s-back .s-back-here { font-weight: var(--fw-semibold); }
|
|
4685
|
+
/* S5. Phone (M-3245: the section's way back is the header's ←; no "‹ Settings" bar). */
|
|
4686
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4593
4687
|
.p-settings[data-view="index"] > .s-nav .s-nav-group + .s-nav-group { border-top: 0; padding-top: 0; }
|
|
4594
4688
|
}
|
|
4595
4689
|
/* The agent page's cards: two columns on a wide page (`.ap-span2` across both), one column when it is narrow. */
|
|
@@ -4624,7 +4718,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4624
4718
|
beta.6: 「大頭被改壞了」): a row's face is the list's own — Detailed, the whole avatar with its dot on its corner; Compact, the
|
|
4625
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
|
|
4626
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. */
|
|
4627
|
-
@media (max-width: 899px) {
|
|
4721
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4628
4722
|
.tabs { display: none !important; }
|
|
4629
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)
|
|
4630
4724
|
nor with the keyboard up (the box sits on the keyboard, #2478): there the padding stays 0. */
|
|
@@ -4637,7 +4731,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4637
4731
|
.sidebar.fleet-side:not(.drawer-narrow) .side-head { padding-left: var(--s-1); }
|
|
4638
4732
|
.sidebar.fleet-side:not(.drawer-narrow) .side-collapse { order: -1; min-width: var(--tap); min-height: var(--tap); }
|
|
4639
4733
|
.sidebar.fleet-side:not(.drawer-narrow) .side-collapse .ic-sidebar { display: none; }
|
|
4640
|
-
.sidebar.fleet-side:not(.drawer-narrow) .side-collapse .ic-
|
|
4734
|
+
.sidebar.fleet-side:not(.drawer-narrow) .side-collapse .ic-close { display: inline-block; }
|
|
4641
4735
|
.sidebar.fleet-side:not(.drawer-narrow) .v-inst { min-height: 72px; gap: var(--s-3); padding-block: var(--s-2); }
|
|
4642
4736
|
.sidebar.fleet-side:not(.drawer-narrow) .v-inst .av { width: 54px; height: 54px; margin-top: 0; font-size: var(--fs-xl); }
|
|
4643
4737
|
.sidebar.fleet-side:not(.drawer-narrow) .v-inst .av.av-emoji { font-size: calc(var(--fs-xl) * 1.4); }
|
|
@@ -4703,7 +4797,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4703
4797
|
}
|
|
4704
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
|
|
4705
4799
|
tap puts away — and none shows while the keyboard is up. */
|
|
4706
|
-
@media (max-width: 899px) {
|
|
4800
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
4707
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; }
|
|
4708
4802
|
.kb-open .toasts { display: none; }
|
|
4709
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); }
|