@songsid/agend 2.4.0-beta.18 → 2.4.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-cli-instructions.md +13 -7
- package/dist/agent-cli.js +149 -49
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-export.d.ts +3 -1
- package/dist/agent-export.js +18 -1
- package/dist/agent-export.js.map +1 -1
- package/dist/agent-whats-new.js +9 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/apply-job.d.ts +2 -2
- package/dist/auth-api.js +1 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/claude-code.d.ts +0 -6
- package/dist/backend/claude-code.js +23 -3
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex-precaution.js +3 -2
- package/dist/backend/codex-precaution.js.map +1 -1
- package/dist/backend/codex.js +1 -1
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/types.d.ts +6 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-server.js +8 -2
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/channel/mcp-tools.d.ts +27 -1
- package/dist/channel/mcp-tools.js +77 -7
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/chat-task-refs.d.ts +61 -0
- package/dist/chat-task-refs.js +112 -0
- package/dist/chat-task-refs.js.map +1 -0
- package/dist/classic-channel-manager.d.ts +1 -1
- package/dist/classic-channel-manager.js +6 -2
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/claude-credential-launch.d.ts +6 -0
- package/dist/claude-credential-launch.js +16 -3
- package/dist/claude-credential-launch.js.map +1 -1
- package/dist/claude-credential-runner.js +3 -1
- package/dist/claude-credential-runner.js.map +1 -1
- package/dist/claude-setup-token-transport.js +25 -3
- package/dist/claude-setup-token-transport.js.map +1 -1
- package/dist/cli-audited.js +5 -5
- package/dist/cli-audited.js.map +1 -1
- package/dist/composite-tools.d.ts +11 -0
- package/dist/composite-tools.js +29 -0
- package/dist/composite-tools.js.map +1 -0
- package/dist/config-validator.js +22 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +11 -0
- package/dist/config.js.map +1 -1
- package/dist/contact-auth-policy.d.ts +1 -0
- package/dist/contact-auth-policy.js +2 -1
- package/dist/contact-auth-policy.js.map +1 -1
- package/dist/contact-auth-service.js +2 -0
- package/dist/contact-auth-service.js.map +1 -1
- package/dist/contact-auth-store.js +21 -6
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-auth-types.d.ts +2 -0
- package/dist/contact-auth-types.js.map +1 -1
- package/dist/daemon.js +4 -0
- package/dist/daemon.js.map +1 -1
- package/dist/darwin-memory.js +2 -1
- package/dist/darwin-memory.js.map +1 -1
- package/dist/dashboard-permissions.d.ts +1 -8
- package/dist/dashboard-permissions.js +8 -9
- package/dist/dashboard-permissions.js.map +1 -1
- package/dist/delivery-outbox.d.ts +0 -6
- package/dist/delivery-outbox.js +0 -25
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-outbox.test.js +132 -96
- package/dist/delivery-outbox.test.js.map +1 -1
- package/dist/fleet-manager.d.ts +45 -7
- package/dist/fleet-manager.js +309 -99
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +1 -1
- package/dist/fleet-windows-runtime.js +8 -1
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/fleet-yaml-stringify.d.ts +1 -1
- package/dist/fleet-yaml-stringify.js +64 -11
- package/dist/fleet-yaml-stringify.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +53 -4
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +4 -0
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +21 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +2 -0
- package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +5 -1
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +3 -2
- package/dist/general-knowledge/skills/persona-emoji/SKILL.md +3 -0
- package/dist/general-knowledge/skills/task-board/SKILL.md +63 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +25 -2
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +38 -9
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +4 -0
- package/dist/general-knowledge/steering/core-rules.md +15 -78
- package/dist/general-role-block.d.ts +19 -0
- package/dist/general-role-block.js +56 -0
- package/dist/general-role-block.js.map +1 -0
- package/dist/general-role.d.ts +1 -1
- package/dist/general-role.js +1 -0
- package/dist/general-role.js.map +1 -1
- package/dist/host-memory.d.ts +3 -0
- package/dist/host-memory.js.map +1 -1
- package/dist/host-monitoring/darwin/collector.d.ts +18 -0
- package/dist/host-monitoring/darwin/collector.js +65 -0
- package/dist/host-monitoring/darwin/collector.js.map +1 -0
- package/dist/host-monitoring/darwin/defaults.d.ts +2 -0
- package/dist/host-monitoring/darwin/defaults.js +9 -0
- package/dist/host-monitoring/darwin/defaults.js.map +1 -0
- package/dist/host-monitoring/darwin/interpretation.d.ts +20 -0
- package/dist/host-monitoring/darwin/interpretation.js +73 -0
- package/dist/host-monitoring/darwin/interpretation.js.map +1 -0
- package/dist/host-monitoring/linux/collector.d.ts +17 -0
- package/dist/host-monitoring/linux/collector.js +55 -0
- package/dist/host-monitoring/linux/collector.js.map +1 -0
- package/dist/host-monitoring/linux/defaults.d.ts +2 -0
- package/dist/host-monitoring/linux/defaults.js +9 -0
- package/dist/host-monitoring/linux/defaults.js.map +1 -0
- package/dist/host-monitoring/linux/interpretation.d.ts +22 -0
- package/dist/host-monitoring/linux/interpretation.js +76 -0
- package/dist/host-monitoring/linux/interpretation.js.map +1 -0
- package/dist/host-monitoring/transport.d.ts +42 -0
- package/dist/host-monitoring/transport.js +101 -0
- package/dist/host-monitoring/transport.js.map +1 -0
- package/dist/host-monitoring/wsl/collector.d.ts +19 -0
- package/dist/host-monitoring/wsl/collector.js +72 -0
- package/dist/host-monitoring/wsl/collector.js.map +1 -0
- package/dist/host-monitoring/wsl/defaults.d.ts +2 -0
- package/dist/host-monitoring/wsl/defaults.js +9 -0
- package/dist/host-monitoring/wsl/defaults.js.map +1 -0
- package/dist/host-monitoring/wsl/interpretation.d.ts +22 -0
- package/dist/host-monitoring/wsl/interpretation.js +77 -0
- package/dist/host-monitoring/wsl/interpretation.js.map +1 -0
- package/dist/host-monitoring-alert-policy.d.ts +2 -0
- package/dist/host-monitoring-alert-policy.js +4 -2
- package/dist/host-monitoring-alert-policy.js.map +1 -1
- package/dist/host-monitoring-alert-settings.d.ts +3 -1
- package/dist/host-monitoring-alert-settings.js +7 -2
- package/dist/host-monitoring-alert-settings.js.map +1 -1
- package/dist/host-monitoring-alerts.d.ts +3 -0
- package/dist/host-monitoring-alerts.js +18 -3
- package/dist/host-monitoring-alerts.js.map +1 -1
- package/dist/host-monitoring-defaults.d.ts +19 -0
- package/dist/host-monitoring-defaults.js +10 -0
- package/dist/host-monitoring-defaults.js.map +1 -0
- package/dist/host-monitoring-platform.d.ts +18 -70
- package/dist/host-monitoring-platform.js +14 -269
- package/dist/host-monitoring-platform.js.map +1 -1
- package/dist/host-monitoring.d.ts +13 -0
- package/dist/host-monitoring.js.map +1 -1
- package/dist/hub/agent-catalog-model.d.ts +21 -0
- package/dist/hub/agent-catalog-model.js +9 -1
- package/dist/hub/agent-catalog-model.js.map +1 -1
- package/dist/hub/agent-catalog.d.ts +4 -1
- package/dist/hub/agent-catalog.js +11 -0
- package/dist/hub/agent-catalog.js.map +1 -1
- package/dist/hub/catalog.js +12 -0
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.js +4 -1
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +5 -0
- package/dist/hub/compose/member.js +25 -5
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +2 -0
- package/dist/hub/compose/server.js +4 -2
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/http/compose.d.ts +5 -0
- package/dist/hub/http/compose.js +25 -2
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/deps.d.ts +2 -0
- package/dist/hub/http/schema.js +4 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/lapse-carry.d.ts +45 -0
- package/dist/hub/lapse-carry.js +62 -0
- package/dist/hub/lapse-carry.js.map +1 -0
- package/dist/hub/member/agent-catalog.d.ts +4 -1
- package/dist/hub/member/agent-catalog.js +15 -4
- package/dist/hub/member/agent-catalog.js.map +1 -1
- package/dist/hub/member/agent-intro.d.ts +4 -3
- package/dist/hub/member/agent-intro.js +7 -0
- package/dist/hub/member/agent-intro.js.map +1 -1
- package/dist/hub/member/exposure-api.d.ts +2 -0
- package/dist/hub/member/exposure-api.js +8 -1
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/room-post.d.ts +34 -6
- package/dist/hub/member/room-post.js +30 -0
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/member/sharing.d.ts +2 -0
- package/dist/hub/member/sharing.js +9 -2
- package/dist/hub/member/sharing.js.map +1 -1
- package/dist/hub/protocol.d.ts +2 -0
- package/dist/hub/room-brief-model.js +2 -1
- package/dist/hub/room-brief-model.js.map +1 -1
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +16 -2
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/office.d.ts +82 -0
- package/dist/hub/rooms/office.js +46 -0
- package/dist/hub/rooms/office.js.map +1 -0
- package/dist/hub/rooms/service.d.ts +66 -1
- package/dist/hub/rooms/service.js +67 -11
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +4 -0
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/server.js +9 -2
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/sharing-requests.d.ts +5 -2
- package/dist/hub/sharing-requests.js +19 -4
- package/dist/hub/sharing-requests.js.map +1 -1
- package/dist/instance-config-impact.js +1 -1
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.js +6 -7
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instruction-file-sizes.d.ts +46 -0
- package/dist/instruction-file-sizes.js +115 -0
- package/dist/instruction-file-sizes.js.map +1 -0
- package/dist/instructions.d.ts +35 -1
- package/dist/instructions.js +59 -33
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +16 -4
- package/dist/locale.js.map +1 -1
- package/dist/log-steps.d.ts +5 -0
- package/dist/log-steps.js +6 -2
- package/dist/log-steps.js.map +1 -1
- package/dist/memory-guidance.d.ts +5 -0
- package/dist/memory-guidance.js +14 -0
- package/dist/memory-guidance.js.map +1 -0
- package/dist/model-defaults.d.ts +5 -0
- package/dist/model-defaults.js +6 -0
- package/dist/model-defaults.js.map +1 -0
- package/dist/native-mcp.d.ts +2 -0
- package/dist/native-mcp.js +16 -6
- package/dist/native-mcp.js.map +1 -1
- package/dist/needs-you-hub.d.ts +2 -0
- package/dist/needs-you-hub.js +6 -1
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +13 -1
- package/dist/needs-you.js +5 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +3 -3
- package/dist/outbound-schemas.d.ts +3 -0
- package/dist/outbound-schemas.js +27 -26
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/quickstart.d.ts +1 -1
- package/dist/quickstart.js +2 -3
- package/dist/quickstart.js.map +1 -1
- package/dist/remote-card-prompt.d.ts +1 -0
- package/dist/remote-card-prompt.js +1 -1
- package/dist/remote-card-prompt.js.map +1 -1
- package/dist/runtime-build-info.js +1 -1
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli-install.js +5 -5
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/runtime-pane-mcp.js +7 -3
- package/dist/runtime-pane-mcp.js.map +1 -1
- package/dist/runtime-pane-native.js +2 -1
- package/dist/runtime-pane-native.js.map +1 -1
- package/dist/scheduler/db.js +2 -0
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/task-board-mentions.d.ts +32 -0
- package/dist/scheduler/task-board-mentions.js +97 -0
- package/dist/scheduler/task-board-mentions.js.map +1 -0
- package/dist/scheduler/task-board-text.js +3 -0
- package/dist/scheduler/task-board-text.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +199 -3
- package/dist/scheduler/task-board.js +492 -7
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/settings-api.d.ts +3 -1
- package/dist/settings-api.js +23 -4
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +4 -2
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +1 -1
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-instance-patch.js +3 -1
- package/dist/settings-instance-patch.js.map +1 -1
- package/dist/setup-host.d.ts +2 -3
- package/dist/setup-host.js +3 -5
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-wizard.js +0 -2
- package/dist/setup-wizard.js.map +1 -1
- package/dist/shared-default-adoption.d.ts +24 -0
- package/dist/shared-default-adoption.js +73 -0
- package/dist/shared-default-adoption.js.map +1 -0
- package/dist/subagent-records.d.ts +2 -0
- package/dist/subagent-records.js +11 -1
- package/dist/subagent-records.js.map +1 -1
- package/dist/subagent-service.d.ts +3 -0
- package/dist/subagent-service.js +24 -4
- package/dist/subagent-service.js.map +1 -1
- package/dist/task-board-tool.d.ts +31 -0
- package/dist/task-board-tool.js +31 -0
- package/dist/task-board-tool.js.map +1 -1
- package/dist/task-board-waker.d.ts +23 -30
- package/dist/task-board-waker.js +136 -97
- package/dist/task-board-waker.js.map +1 -1
- package/dist/types.d.ts +23 -0
- package/dist/ui/agent-details-settings.js +2 -2
- package/dist/ui/agent-export-dialog.js +4 -3
- package/dist/ui/agent-export-strings.js +4 -4
- package/dist/ui/agent-page-strings.js +18 -0
- package/dist/ui/chat-activity-groups.js +1 -1
- package/dist/ui/chat-activity.js +17 -0
- package/dist/ui/chat-store.js +13 -4
- package/dist/ui/chat-task-ref-strings.js +24 -0
- package/dist/ui/chat-task-refs.js +129 -0
- package/dist/ui/claude-setup-token.js +3 -3
- package/dist/ui/contact-auth-strings.js +33 -3
- package/dist/ui/contact-authorizations.js +17 -24
- package/dist/ui/contact-grant-editor.js +50 -0
- package/dist/ui/contact-permissions.js +21 -8
- package/dist/ui/fleet-office-card.js +18 -14
- package/dist/ui/fleet-office.js +29 -17
- package/dist/ui/fleet-task-activity.js +362 -0
- package/dist/ui/fleet-task-card.js +317 -314
- package/dist/ui/fleet-task-common.js +99 -9
- package/dist/ui/fleet-task-create.js +67 -0
- package/dist/ui/fleet-task-edit.js +204 -0
- package/dist/ui/fleet-task-follow.js +123 -0
- package/dist/ui/fleet-task-menu.js +1 -1
- package/dist/ui/fleet-task-owner.js +252 -0
- package/dist/ui/fleet-task-run.js +257 -0
- package/dist/ui/fleet-task-view.js +178 -39
- package/dist/ui/fleet-task-work.js +2 -2
- package/dist/ui/fleet-tasks.js +258 -130
- package/dist/ui/host-health.js +9 -6
- package/dist/ui/host-monitoring-darwin.js +6 -0
- package/dist/ui/host-monitoring-help.js +7 -0
- package/dist/ui/host-monitoring-linux.js +6 -0
- package/dist/ui/host-monitoring-wsl.js +6 -0
- package/dist/ui/hub-agent-copy.js +2 -0
- package/dist/ui/hub-client.js +4 -0
- package/dist/ui/hub-my-agents-strings.js +2 -0
- package/dist/ui/hub-my-agents.js +17 -1
- package/dist/ui/hub-room-composer.js +108 -5
- package/dist/ui/hub-room-members-strings.js +9 -2
- package/dist/ui/hub-room-members.js +72 -15
- package/dist/ui/hub-room-office.js +191 -0
- package/dist/ui/hub-room-purpose.js +18 -2
- package/dist/ui/hub-room-settings.js +8 -1
- package/dist/ui/hub-room-strings.js +15 -0
- package/dist/ui/hub-room-thread.js +51 -15
- package/dist/ui/hub-strings.js +1 -1
- package/dist/ui/log-row.js +7 -5
- package/dist/ui/native-instance-settings.js +4 -2
- package/dist/ui/panel-chat.js +96 -17
- package/dist/ui/panel-details.js +17 -0
- package/dist/ui/panel-fleet.js +1 -1
- package/dist/ui/panel-hub.js +4 -1
- package/dist/ui/panel-needs.js +11 -2
- package/dist/ui/panel-settings.js +57 -13
- package/dist/ui/settings-apply.js +8 -3
- package/dist/ui/settings-default-model-scope.js +40 -0
- package/dist/ui/settings-default-model-strings.js +43 -0
- package/dist/ui/settings-dialogs.js +9 -5
- package/dist/ui/settings-host-alerts.js +4 -3
- package/dist/ui/settings-host-monitoring.js +2 -1
- package/dist/ui/settings-hub.js +1 -1
- package/dist/ui/settings-layout.js +7 -2
- package/dist/ui/settings-model.js +9 -5
- package/dist/ui/settings-quota-notice.js +3 -3
- package/dist/ui/settings-registry.js +3 -0
- package/dist/ui/settings-shared-strings.js +22 -0
- package/dist/ui/settings-shared.js +59 -12
- package/dist/ui/settings-strings.js +2 -4
- package/dist/ui/shared/app-i18n.js +2 -2
- package/dist/ui/shared/app.css +124 -46
- package/dist/ui/shared/chat-composer.js +7 -6
- package/dist/ui/shared/chat-render.js +39 -1
- package/dist/ui/shared/chat-thread.js +8 -3
- package/dist/ui/shared/composer-focus.js +21 -0
- package/dist/ui/shared/hub-chat.css +30 -2
- package/dist/ui/shared/hub-rooms-u2.css +17 -0
- package/dist/ui/shared/task-board.css +406 -8
- package/dist/ui/trigger-complete.js +71 -0
- package/dist/web-api.d.ts +9 -0
- package/dist/web-api.js +128 -13
- package/dist/web-api.js.map +1 -1
- package/dist/windows-native-mcp.js +5 -2
- package/dist/windows-native-mcp.js.map +1 -1
- package/dist/workflow-templates/default.md +4 -6
- package/package.json +1 -1
|
@@ -121,7 +121,7 @@ register("app", {
|
|
|
121
121
|
confirmTitle: "Please confirm", confirmOk: "Continue", cancel: "Cancel",
|
|
122
122
|
sidePanelLeave: "Leave {0} without saving? Your changes there will be lost.", sidePanelDiscard: "Discard changes",
|
|
123
123
|
// The server's own wording (src/locale.ts needs.reason.*), so the web says what Discord says.
|
|
124
|
-
needs_reason_kiro_choice: "Kiro needs your decision", needs_reason_hang: "Not responding", needs_reason_exited: "Exited", needs_reason_assist: "Waiting at its terminal", needs_reason_question: "Asking you a question", needs_reason_permission: "Permission needed", needs_reason_dangerous_command: "Dangerous command waiting", needs_reason_login: "Waiting to connect its AI account", needs_reason_dialog: "Waiting at a dialog", needs_reason_terminal_input: "May be waiting for input", needs_reason_auth_paused: "Paused: AI account not connected", needs_reason_host_health: "Host health", needs_reason_stale_auth: "Codex needs a restart", needs_stale_auth_detail: "Codex cannot refresh this agent’s current sign-in. Restart the agent; sign in again only if Codex asks.", needs_reason_backend_signin: "AI account needs connecting", needs_reason_config_invalid: "Configuration file needs attention", needs_reason_hub_proposal: "Hub action proposed: review locally", needs_reason_hub_execution_hold: "Hub work held: review locally", needs_reason_hub_unavailable: "Hub not running", needs_reason_config_fallback: "Running on stored configuration", config_history_edit: "{0}, line {1}, column {2}: {3}. AgEnD is still running on the previous settings. The next restart would use the stored valid copy from {4}. Correct the YAML error; the file has not been changed by AgEnD.", config_history_no_history: "{0}, line {1}, column {2}: {3}. AgEnD is still running on the previous settings. No stored valid copy is available, so the next restart cannot recover automatically. Correct the YAML error before restarting; the file has not been changed by AgEnD.", config_history_fallback: "{0}, line {1}, column {2}: {3}. AgEnD started using the stored valid copy from {4}. Correct the YAML error and reload the settings. The file on disk has not been changed by AgEnD.", needs_reason_general_windows_offline: "General’s Windows PC is offline", needs_reason_general_location_hold: "Run General on", needs_reason_native_pane_hold: "Windows agent needs attention", needs_reason_model_switch: "Claude model switched", needs_reason_crashed: "Crashed", needs_reason_backend_missing: "AI CLI not installed", needs_reason_usage_limit: "Usage limit reached · reset time unknown", needs_reason_delivery_uncertain: "Could not confirm delivery", needs_reason_delivery_failed: "Delivery failed", needs_reason_missed_offline: "Missed while AgEnD was offline", needs_reason_task_review: "Waiting for your confirmation", needs_reason_task_blocked: "Blocked: asks you", needs_reason_task_stalled: "Its assignee went quiet",
|
|
124
|
+
needs_reason_kiro_choice: "Kiro needs your decision", needs_reason_hang: "Not responding", needs_reason_exited: "Exited", needs_reason_assist: "Waiting at its terminal", needs_reason_question: "Asking you a question", needs_reason_permission: "Permission needed", needs_reason_dangerous_command: "Dangerous command waiting", needs_reason_login: "Waiting to connect its AI account", needs_reason_dialog: "Waiting at a dialog", needs_reason_terminal_input: "May be waiting for input", needs_reason_auth_paused: "Paused: AI account not connected", needs_reason_host_health: "Host health", needs_reason_stale_auth: "Codex needs a restart", needs_stale_auth_detail: "Codex cannot refresh this agent’s current sign-in. Restart the agent; sign in again only if Codex asks.", needs_reason_backend_signin: "AI account needs connecting", needs_reason_config_invalid: "Configuration file needs attention", needs_reason_hub_proposal: "Hub action proposed: review locally", needs_reason_hub_execution_hold: "Hub work held: review locally", needs_reason_hub_share_lapsed: "Hub share needs to be shared again: its backend or folder changed", needs_reason_hub_unavailable: "Hub not running", needs_reason_config_fallback: "Running on stored configuration", config_history_edit: "{0}, line {1}, column {2}: {3}. AgEnD is still running on the previous settings. The next restart would use the stored valid copy from {4}. Correct the YAML error; the file has not been changed by AgEnD.", config_history_no_history: "{0}, line {1}, column {2}: {3}. AgEnD is still running on the previous settings. No stored valid copy is available, so the next restart cannot recover automatically. Correct the YAML error before restarting; the file has not been changed by AgEnD.", config_history_fallback: "{0}, line {1}, column {2}: {3}. AgEnD started using the stored valid copy from {4}. Correct the YAML error and reload the settings. The file on disk has not been changed by AgEnD.", needs_reason_general_windows_offline: "General’s Windows PC is offline", needs_reason_general_location_hold: "Run General on", needs_reason_native_pane_hold: "Windows agent needs attention", needs_reason_model_switch: "Claude model switched", needs_reason_crashed: "Crashed", needs_reason_backend_missing: "AI CLI not installed", needs_reason_usage_limit: "Usage limit reached · reset time unknown", needs_reason_delivery_uncertain: "Could not confirm delivery", needs_reason_delivery_failed: "Delivery failed", needs_reason_missed_offline: "Missed while AgEnD was offline", needs_reason_task_review: "Waiting for your confirmation", needs_reason_task_blocked: "Blocked: asks you", needs_reason_task_stalled: "Its assignee went quiet",
|
|
125
125
|
},
|
|
126
126
|
"zh-TW": {
|
|
127
127
|
brand: "AgEnD", fleet: "Fleet", fleetOverview: "Fleet 概覽", view: "檢視", settings: "設定", instances: "Agent", newInstance: "新增 Agent", newAgent: "新增 Agent",
|
|
@@ -171,6 +171,6 @@ register("app", {
|
|
|
171
171
|
search: "搜尋", searchTitle: "搜尋聊天、agent 之間的訊息與任務({0})",
|
|
172
172
|
confirmTitle: "請確認", confirmOk: "繼續", cancel: "取消",
|
|
173
173
|
sidePanelLeave: "不儲存就離開「{0}」?你在那裡的修改會遺失。", sidePanelDiscard: "捨棄修改",
|
|
174
|
-
needs_reason_kiro_choice: "Kiro 需要你決定", needs_reason_hang: "沒有回應", needs_reason_exited: "已結束", needs_reason_assist: "在終端機上等待", needs_reason_question: "正在問你問題", needs_reason_permission: "需要權限", needs_reason_dangerous_command: "危險指令待確認", needs_reason_login: "等待連接 AI 帳號", needs_reason_dialog: "停在對話框", needs_reason_terminal_input: "可能在等輸入", needs_reason_auth_paused: "已暫停:AI 帳號未連接", needs_reason_host_health: "主機狀態", needs_reason_stale_auth: "Codex 需要重新啟動", needs_stale_auth_detail: "Codex 無法更新這個 Agent 執行中使用的登入。請重新啟動 Agent;只有 Codex 要求時才需要重新登入。", needs_reason_backend_signin: "需要連接 AI 帳號", needs_reason_config_invalid: "設定檔需要處理", needs_reason_hub_proposal: "Hub 提議操作:請在本機檢視", needs_reason_hub_execution_hold: "Hub 工作已暫停:請在本機檢視", needs_reason_hub_unavailable: "Hub 未在執行", needs_reason_config_fallback: "正在使用儲存的設定副本", config_history_edit: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 仍使用先前的設定執行。下次重新啟動會改用 {4} 儲存的有效副本。請修正 YAML 錯誤;AgEnD 未更動此檔案。", config_history_no_history: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 仍使用先前的設定執行。沒有可用的有效副本,下次重新啟動將無法自動恢復。請在重新啟動前修正 YAML 錯誤;AgEnD 未更動此檔案。", config_history_fallback: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 已使用 {4} 儲存的有效副本啟動。請修正 YAML 錯誤並重新載入設定。AgEnD 未更動磁碟上的檔案。", needs_reason_general_windows_offline: "General 所在的 Windows 電腦已離線", needs_reason_general_location_hold: "General 執行位置", needs_reason_native_pane_hold: "Windows Agent 需要處理", needs_reason_model_switch: "Claude 模型已切換", needs_reason_crashed: "已崩潰", needs_reason_backend_missing: "AI CLI 沒有安裝", needs_reason_usage_limit: "用量已達上限 · 恢復時間未知", needs_reason_delivery_uncertain: "無法確認是否送達", needs_reason_delivery_failed: "傳送失敗", needs_reason_missed_offline: "AgEnD 離線時錯過", needs_reason_task_review: "等你確認", needs_reason_task_blocked: "卡住,在問你", needs_reason_task_stalled: "接手者很久沒有動靜",
|
|
174
|
+
needs_reason_kiro_choice: "Kiro 需要你決定", needs_reason_hang: "沒有回應", needs_reason_exited: "已結束", needs_reason_assist: "在終端機上等待", needs_reason_question: "正在問你問題", needs_reason_permission: "需要權限", needs_reason_dangerous_command: "危險指令待確認", needs_reason_login: "等待連接 AI 帳號", needs_reason_dialog: "停在對話框", needs_reason_terminal_input: "可能在等輸入", needs_reason_auth_paused: "已暫停:AI 帳號未連接", needs_reason_host_health: "主機狀態", needs_reason_stale_auth: "Codex 需要重新啟動", needs_stale_auth_detail: "Codex 無法更新這個 Agent 執行中使用的登入。請重新啟動 Agent;只有 Codex 要求時才需要重新登入。", needs_reason_backend_signin: "需要連接 AI 帳號", needs_reason_config_invalid: "設定檔需要處理", needs_reason_hub_proposal: "Hub 提議操作:請在本機檢視", needs_reason_hub_execution_hold: "Hub 工作已暫停:請在本機檢視", needs_reason_hub_share_lapsed: "Hub 分享需要重新分享:它的後端或資料夾換了", needs_reason_hub_unavailable: "Hub 未在執行", needs_reason_config_fallback: "正在使用儲存的設定副本", config_history_edit: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 仍使用先前的設定執行。下次重新啟動會改用 {4} 儲存的有效副本。請修正 YAML 錯誤;AgEnD 未更動此檔案。", config_history_no_history: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 仍使用先前的設定執行。沒有可用的有效副本,下次重新啟動將無法自動恢復。請在重新啟動前修正 YAML 錯誤;AgEnD 未更動此檔案。", config_history_fallback: "{0} 第 {1} 行、第 {2} 欄:{3}。AgEnD 已使用 {4} 儲存的有效副本啟動。請修正 YAML 錯誤並重新載入設定。AgEnD 未更動磁碟上的檔案。", needs_reason_general_windows_offline: "General 所在的 Windows 電腦已離線", needs_reason_general_location_hold: "General 執行位置", needs_reason_native_pane_hold: "Windows Agent 需要處理", needs_reason_model_switch: "Claude 模型已切換", needs_reason_crashed: "已崩潰", needs_reason_backend_missing: "AI CLI 沒有安裝", needs_reason_usage_limit: "用量已達上限 · 恢復時間未知", needs_reason_delivery_uncertain: "無法確認是否送達", needs_reason_delivery_failed: "傳送失敗", needs_reason_missed_offline: "AgEnD 離線時錯過", needs_reason_task_review: "等你確認", needs_reason_task_blocked: "卡住,在問你", needs_reason_task_stalled: "接手者很久沒有動靜",
|
|
175
175
|
},
|
|
176
176
|
});
|
package/dist/ui/shared/app.css
CHANGED
|
@@ -142,11 +142,11 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
142
142
|
A short box that clips to its corners (.msg-quote) moves the bar in (--lbar-left) and shortens it (--lbar-inset) so
|
|
143
143
|
the corner never cuts its ends round.
|
|
144
144
|
tests/web-left-bar-2330.test.ts keeps a coloured border-left off rounded boxes. */
|
|
145
|
-
.lbar, .reply-bar, .msg-quote, .p-log .log-item.k-error, .p-log .log-item.s-failed, .org-node, .us-basis, .us-partial, .cmd-card.bad, .
|
|
145
|
+
.lbar, .reply-bar, .msg-quote, .p-log .log-item.k-error, .p-log .log-item.s-failed, .org-node, .us-basis, .us-partial, .cmd-card.bad, .s-dirty,
|
|
146
146
|
.search-row.on, .search-recent-item:hover, .search-recent-item:focus-visible, .search-ctx-line.here, .tw-line:hover, .tw-line:focus-visible,
|
|
147
147
|
.u-crow:focus-visible, .p-settings .s-nav .seg-item.active, .s-find-item.on { position: relative; }
|
|
148
148
|
.lbar::before, .reply-bar::before, .msg-quote::before, .p-log .log-item.k-error::before, .p-log .log-item.s-failed::before, .org-node::before,
|
|
149
|
-
.us-basis::before, .us-partial::before, .cmd-card.bad::before, .
|
|
149
|
+
.us-basis::before, .us-partial::before, .cmd-card.bad::before, .s-dirty::before,
|
|
150
150
|
/* #2478 item 7 (the user's fixed template): a selected, hovered or keyboard-focused row is the straight bar and a flat
|
|
151
151
|
background at most — never a rounded fill, a curved inset edge or a rounded ring. */
|
|
152
152
|
.search-row.on::before, .search-recent-item:hover::before, .search-recent-item:focus-visible::before, .search-ctx-line.here::before,
|
|
@@ -460,6 +460,8 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
460
460
|
:is(.p-log, .act-block) .log-status.done { color: var(--ok); }
|
|
461
461
|
:is(.p-log, .act-block) .log-status.failed { color: var(--danger); }
|
|
462
462
|
:is(.p-log, .act-block) .log-status.interrupted { color: var(--warn, var(--text-3)); }
|
|
463
|
+
/* M-3541: a subagent started in the background: the call is done, the work goes on (the Subagents row). */
|
|
464
|
+
:is(.p-log, .act-block) .log-status.background { color: var(--text-2); }
|
|
463
465
|
:is(.p-log, .act-block) .log-status .spinner { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
|
|
464
466
|
:is(.p-log, .act-block) .log-repeat { flex: none; font-size: var(--fs-xs); padding: 0 6px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
|
|
465
467
|
:is(.p-log, .act-block) .log-text { white-space: pre-wrap; margin-top: var(--s-1); font-size: var(--fs-sm); }
|
|
@@ -682,6 +684,12 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
682
684
|
.kv { display: flex; gap: var(--s-3); font-size: var(--fs-sm); align-items: center; }
|
|
683
685
|
.kv .k { color: var(--text-3); min-width: 110px; }
|
|
684
686
|
.kv .v { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: var(--s-2); }
|
|
687
|
+
/* M-3522: Details → Loaded every session — a file over its limit, and the warning under the list. */
|
|
688
|
+
.d-loaded .v .warn { color: var(--warn); font-weight: 600; }
|
|
689
|
+
.d-loaded .kv { justify-content: space-between; }
|
|
690
|
+
.d-loaded .kv .v { font-variant-numeric: tabular-nums; }
|
|
691
|
+
.d-loaded .d-loaded-total { border-top: 1px solid var(--border); padding-top: var(--s-2); font-weight: 600; }
|
|
692
|
+
.d-loaded .note.warn { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); line-height: 1.5; }
|
|
685
693
|
.pct { font-weight: var(--fw-semibold); font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
|
|
686
694
|
.progress-bar { display: inline-block; width: 120px; height: 8px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
|
|
687
695
|
.progress-fill { display: block; height: 100%; width: 0; border-radius: var(--r-full); background: var(--accent); transition: width 0.4s var(--ease); }
|
|
@@ -793,12 +801,12 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
793
801
|
.s-setting-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; min-width: 0; padding: 14px 0; }
|
|
794
802
|
.s-setting-row + .s-setting-row { border-top: 1px solid var(--border); }
|
|
795
803
|
.s-setting-row .note { margin: 5px 0 0; }
|
|
796
|
-
.p-settings input.s-ui-toggle, .p-hub input.s-ui-toggle { appearance: none; position: relative; display: inline-block; flex: none; width: 38px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface-3, var(--surface-2)); cursor: pointer; }
|
|
797
|
-
.p-settings input.s-ui-toggle::after, .p-hub input.s-ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform var(--t-fast); }
|
|
798
|
-
.p-settings input.s-ui-toggle:checked, .p-hub input.s-ui-toggle:checked { background: var(--accent); border-color: var(--accent); }
|
|
799
|
-
.p-settings input.s-ui-toggle:checked::after, .p-hub input.s-ui-toggle:checked::after { background: var(--on-accent, #fff); transform: translateX(16px); }
|
|
800
|
-
.p-settings input.s-ui-toggle:disabled, .p-hub input.s-ui-toggle:disabled { cursor: default; opacity: 0.55; }
|
|
801
|
-
.p-settings input.s-ui-toggle:focus-visible, .p-hub input.s-ui-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
|
|
804
|
+
.p-settings input.s-ui-toggle, .p-hub input.s-ui-toggle, .p-fleet input.s-ui-toggle { appearance: none; position: relative; display: inline-block; flex: none; width: 38px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface-3, var(--surface-2)); cursor: pointer; }
|
|
805
|
+
.p-settings input.s-ui-toggle::after, .p-hub input.s-ui-toggle::after, .p-fleet input.s-ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform var(--t-fast); }
|
|
806
|
+
.p-settings input.s-ui-toggle:checked, .p-hub input.s-ui-toggle:checked, .p-fleet input.s-ui-toggle:checked { background: var(--accent); border-color: var(--accent); }
|
|
807
|
+
.p-settings input.s-ui-toggle:checked::after, .p-hub input.s-ui-toggle:checked::after, .p-fleet input.s-ui-toggle:checked::after { background: var(--on-accent, #fff); transform: translateX(16px); }
|
|
808
|
+
.p-settings input.s-ui-toggle:disabled, .p-hub input.s-ui-toggle:disabled, .p-fleet input.s-ui-toggle:disabled { cursor: default; opacity: 0.55; }
|
|
809
|
+
.p-settings input.s-ui-toggle:focus-visible, .p-hub input.s-ui-toggle:focus-visible, .p-fleet input.s-ui-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
|
|
802
810
|
.s-classic-area { display: flex; flex-direction: column; gap: 16px; }
|
|
803
811
|
.s-classic-area > .s-ap-group { margin-bottom: 0; }
|
|
804
812
|
@media (max-width: 600px) {
|
|
@@ -836,6 +844,10 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
836
844
|
.p-settings #g-liveness input { min-height: var(--tap); }
|
|
837
845
|
.p-settings #g-liveness .s-switch { min-height: var(--tap); }
|
|
838
846
|
.p-settings #g-liveness .s-switch input[type="checkbox"] { width: var(--tap); }
|
|
847
|
+
/* The same for "When the task board wakes an agent" (its switches and the leader menu). */
|
|
848
|
+
.p-settings #g-wakes select { min-height: var(--tap); }
|
|
849
|
+
.p-settings #g-wakes .s-switch { min-height: var(--tap); }
|
|
850
|
+
.p-settings #g-wakes .s-switch input[type="checkbox"] { width: var(--tap); }
|
|
839
851
|
/* Settings' dialogs are full-screen sheets (§7): an agent's or a connection's fields get the whole screen, the title on
|
|
840
852
|
top and the actions at the bottom, inside it. The app's own questions (ask()) stay bottom sheets. */
|
|
841
853
|
.p-settings .dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
|
|
@@ -1303,6 +1315,9 @@ img.amb-p { object-fit: contain; }
|
|
|
1303
1315
|
@media (prefers-reduced-motion: reduce) { .jump-latest { transition: none; } }
|
|
1304
1316
|
.dock { flex-shrink: 0; padding: 0 max(var(--s-5), env(safe-area-inset-right)) max(var(--s-3), env(safe-area-inset-bottom)) max(var(--s-5), env(safe-area-inset-left)); }
|
|
1305
1317
|
.dock-col { max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-2); }
|
|
1318
|
+
/* M3540: reserve an 8px gutter in normal flow; its bottom uses existing dock padding, avoiding a double keyboard gap. */
|
|
1319
|
+
.composer-hit { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2); margin-inline: calc(-1 * var(--s-2)); margin-bottom: calc(-1 * var(--s-2)); user-select: none; -webkit-user-select: none; }
|
|
1320
|
+
.composer-hit .cmd-card, .composer-hit .pending-files, .composer-hit .reply-bar { user-select: text; -webkit-user-select: text; }
|
|
1306
1321
|
.prompts { display: flex; flex-direction: column; gap: var(--s-2); }
|
|
1307
1322
|
.prompt { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-size: var(--fs-sm); background: var(--warn-bg); border: 1px solid var(--warn-line); }
|
|
1308
1323
|
.prompt.done { background: transparent; border-style: dashed; color: var(--text-2); }
|
|
@@ -1329,16 +1344,16 @@ img.amb-p { object-fit: contain; }
|
|
|
1329
1344
|
/* S-30: a state note above the composer ("Connection revoked…", "still working") sat flush on the box's edge. */
|
|
1330
1345
|
.composer-box > .note { margin: 0; padding: var(--s-2) var(--s-3) 0; }
|
|
1331
1346
|
.composer-box:focus-within { box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-1); }
|
|
1332
|
-
.composer { display: flex; align-items: flex-end; gap: var(--s-1); padding: var(--s-2); }
|
|
1347
|
+
.composer { display: flex; align-items: flex-end; gap: var(--s-1); padding: var(--s-2); user-select: none; -webkit-user-select: none; }
|
|
1333
1348
|
.composer textarea {
|
|
1334
|
-
flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 7px var(--s-1); outline: none;
|
|
1349
|
+
flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 7px var(--s-1); outline: none; user-select: text; -webkit-user-select: text;
|
|
1335
1350
|
font-size: var(--fs-md); line-height: var(--lh-md); resize: none; min-height: 24px; max-height: 240px; overflow-y: auto;
|
|
1336
1351
|
}
|
|
1337
1352
|
.composer textarea::placeholder { color: var(--text-3); }
|
|
1338
1353
|
/* #2478: the placeholder, drawn over the empty box at its text's place: one line ending in "…" (a textarea's own is
|
|
1339
1354
|
clipped, never ellipsized). The same size and line as the box's text; it never takes a tap. */
|
|
1340
1355
|
.composer-field { position: relative; flex: 1; min-width: 0; display: flex; }
|
|
1341
|
-
.composer-ph { position: absolute; left: var(--s-1); right: var(--s-1); top: 7px; pointer-events: none; color: var(--text-3);
|
|
1356
|
+
.composer-ph { position: absolute; left: var(--s-1); right: var(--s-1); top: 7px; pointer-events: none; user-select: none; -webkit-user-select: none; color: var(--text-3);
|
|
1342
1357
|
font-size: var(--fs-md); line-height: var(--lh-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1343
1358
|
.composer-field textarea:not(:placeholder-shown) + .composer-ph { display: none; } /* text in the box, composing text too */
|
|
1344
1359
|
.btn-send { width: 36px; padding: 0; }
|
|
@@ -2315,15 +2330,13 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2315
2330
|
.n-notify .n-notify-icon { color: var(--text-2); }
|
|
2316
2331
|
/* M-3503: no word left alone on the note's last line (a phone's zh line ended with 「知。」 by itself). */
|
|
2317
2332
|
.n-notify-note { text-wrap: balance; }
|
|
2318
|
-
/* M-
|
|
2319
|
-
|
|
2320
|
-
step under the header, a label one small step above its cards, sections one step apart. */
|
|
2321
|
-
.p-needs > .panel-body > .col { margin-inline: 0; padding-top: var(--s-3); padding-inline: max(var(--s-3), env(safe-area-inset-left)) max(var(--s-3), env(safe-area-inset-right)); }
|
|
2333
|
+
/* M-3545: use the shared centered desktop column; retain M-3503's section rhythm and phone leading edge. */
|
|
2334
|
+
.p-needs > .panel-body > .col { margin-inline: auto; padding-top: var(--s-3); padding-inline: max(var(--s-3), env(safe-area-inset-left)) max(var(--s-3), env(safe-area-inset-right)); }
|
|
2322
2335
|
/* A plain heading only: the suggestions group's head is its <summary>, a control that keeps its own padding (and a
|
|
2323
2336
|
phone's tap height, below). */
|
|
2324
2337
|
.p-needs :is(h2.n-group-head, .n-settings-head) { padding: 0 0 var(--s-2); }
|
|
2325
2338
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
2326
|
-
.p-needs > .panel-body > .col { padding-inline: max(var(--s-4), env(safe-area-inset-left)) max(var(--s-4), env(safe-area-inset-right)); }
|
|
2339
|
+
.p-needs > .panel-body > .col { margin-inline: 0; padding-inline: max(var(--s-4), env(safe-area-inset-left)) max(var(--s-4), env(safe-area-inset-right)); }
|
|
2327
2340
|
.p-needs .n-suggestions > summary { min-height: var(--tap); }
|
|
2328
2341
|
}
|
|
2329
2342
|
/* #2910 D2: Notices (a web-only fleet's General) — the Needs you rows; a new one has an accent edge and a "New" tag. */
|
|
@@ -2341,6 +2354,11 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2341
2354
|
Desktop: General's stem meets the bus over the team grid (no per-team ticks: a wrapped row would have nothing to
|
|
2342
2355
|
meet). Phone: one column hanging off a rail, a tick into each team. ── */
|
|
2343
2356
|
.col.col-wide { max-width: 1240px; }
|
|
2357
|
+
/* A project's page — the board and the list alike — fills the content area (the same side margins), so the columns
|
|
2358
|
+
and the list's title have the room. Home (the projects) keeps the Fleet page's width. */
|
|
2359
|
+
.col.col-wide:has(> .tb > .tb-board-page) { max-width: none; }
|
|
2360
|
+
/* So does a card's page — the main column and the properties column share the whole content area, at any width. */
|
|
2361
|
+
.col.col-wide:has(> .tb > .tp) { max-width: none; }
|
|
2344
2362
|
.org-head { flex-wrap: wrap; }
|
|
2345
2363
|
.org-counts { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); list-style: none; }
|
|
2346
2364
|
.org-count { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
|
|
@@ -3013,6 +3031,18 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3013
3031
|
/* #1682: a mention, as Discord draws one — accent text on a tint of it; the id (or the Telegram handle) on hover. */
|
|
3014
3032
|
.md .mention { display: inline; padding: 0 0.2em; border-radius: var(--r-sm); color: var(--accent); background: var(--accent-dim);
|
|
3015
3033
|
font-weight: var(--fw-medium); white-space: nowrap; }
|
|
3034
|
+
/* A task card in a person's message — number, title, status; a link to the card (Fleet › Tasks). The status is the
|
|
3035
|
+
board's own pill (.tb-pill, below); the colours are the page's tokens. */
|
|
3036
|
+
.msg .md a.task-ref, .md a.task-ref { display: inline-flex; align-items: center; gap: var(--s-2); max-width: 100%; padding: 0 var(--s-2); border: 1px solid var(--border);
|
|
3037
|
+
border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); text-decoration: none; vertical-align: baseline; line-height: 1.6; }
|
|
3038
|
+
.md a.task-ref:hover { border-color: var(--accent); }
|
|
3039
|
+
.md a.task-ref:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
3040
|
+
.md .task-ref-code { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--accent); flex-shrink: 0; }
|
|
3041
|
+
.md .task-ref-title { min-width: 0; max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3042
|
+
.md a.task-ref .tb-pill { flex-shrink: 0; }
|
|
3043
|
+
/* …and the list the composer opens while `#` is typed: the command palette's own look, the title taking the row's room. */
|
|
3044
|
+
.task-ref-list .cmd-desc { flex: 1; }
|
|
3045
|
+
.task-ref-list .tb-pill { flex-shrink: 0; }
|
|
3016
3046
|
|
|
3017
3047
|
/* #1629 r4 §1 / r4.1 Q3 (a): the identity card (identity-card.js). The size is a class token; its heights are here
|
|
3018
3048
|
(S 160 / M 240 / L 360 px, on a phone 120 / 180 / 240). Never a style attribute.
|
|
@@ -3271,11 +3301,11 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3271
3301
|
.tb-wait-title:hover { text-decoration: underline; }
|
|
3272
3302
|
.tb-wait-reason { flex-basis: 100%; margin-top: 2px; color: var(--danger); font-size: var(--fs-xs); line-height: var(--lh-xs); overflow-wrap: anywhere; }
|
|
3273
3303
|
.tb-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); }
|
|
3274
|
-
.tb-project { position: relative; border: 1px solid var(--border); border-radius: var(--r-
|
|
3304
|
+
.tb-project { position: relative; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
|
|
3275
3305
|
.tb-project:hover { border-color: var(--border-strong); }
|
|
3276
3306
|
.tb-project.is-archived { opacity: 0.7; }
|
|
3277
|
-
.tb-project-open { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-
|
|
3278
|
-
.tb-project-name { font-weight: var(--fw-
|
|
3307
|
+
.tb-project-open { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-5); padding-right: calc(var(--s-5) + 32px); background: none; border: 0; color: inherit; text-align: left; cursor: pointer; border-radius: inherit; }
|
|
3308
|
+
.tb-project-name { font-weight: var(--fw-semibold); font-size: var(--fs-lg); overflow-wrap: anywhere; }
|
|
3279
3309
|
.tb-project-desc { color: var(--text-2); font-size: var(--fs-xs); overflow-wrap: anywhere; }
|
|
3280
3310
|
.tb-project-pct { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
3281
3311
|
.tb-project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); color: var(--text-2); }
|
|
@@ -3284,8 +3314,9 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3284
3314
|
.tb-archived > .tb-projects { align-self: stretch; }
|
|
3285
3315
|
|
|
3286
3316
|
.tb-search { position: relative; min-width: 180px; flex: 0 1 280px; }
|
|
3287
|
-
|
|
3288
|
-
.tb-search input
|
|
3317
|
+
/* The search field is Settings' (.s-search): the surface fill, --r-sm, no border, the focus ring. */
|
|
3318
|
+
.tb-search input { width: 100%; min-height: 36px; padding: 0 var(--s-3) 0 30px; border: 0; border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: var(--fs-sm); }
|
|
3319
|
+
.tb-search input:focus { outline: none; box-shadow: 0 0 0 2px var(--focus); }
|
|
3289
3320
|
.tb-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
|
|
3290
3321
|
.tb-search-results { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; width: min(440px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; margin: 0; padding: var(--s-1); list-style: none; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
|
|
3291
3322
|
.tb-search-results button { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); width: 100%; padding: var(--s-2); background: none; border: 0; border-radius: var(--r-sm); color: var(--text); text-align: left; cursor: pointer; font-size: var(--fs-sm); }
|
|
@@ -3295,13 +3326,20 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3295
3326
|
.tb-search-none { padding: var(--s-2); font-size: var(--fs-sm); }
|
|
3296
3327
|
|
|
3297
3328
|
/* A project: its header, then one column per status. */
|
|
3298
|
-
.
|
|
3299
|
-
|
|
3300
|
-
.tb-
|
|
3301
|
-
.tb-
|
|
3329
|
+
/* The page head is Settings' (.s-page-head: a 24px title with its badge, a muted lead under it, the actions at the right),
|
|
3330
|
+
so Tasks and Settings read as one product. The project's back link, then the title, its description as the lead, its numbers. */
|
|
3331
|
+
.tb-bar-head, .tb-head { margin-bottom: var(--s-4); }
|
|
3332
|
+
.tb-head-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); flex: 1 1 320px; min-width: 0; }
|
|
3333
|
+
.tb-head-back { margin-left: calc(-1 * var(--s-3)); flex: none; }
|
|
3334
|
+
.tb-title { min-width: 0; }
|
|
3335
|
+
.tb-title h2 { overflow-wrap: anywhere; }
|
|
3336
|
+
.tb-head-lead { margin: 0; }
|
|
3337
|
+
.tb-head-actions { display: flex; flex: none; align-items: center; gap: var(--s-2); }
|
|
3338
|
+
.tb-stats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-1); font-size: var(--fs-sm); }
|
|
3302
3339
|
.tb-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--s-2)); padding: 0 var(--s-2) var(--s-2); }
|
|
3303
|
-
/*
|
|
3304
|
-
|
|
3340
|
+
/* A column is 272–360 px wide however many there are (statuses may become the person's own): a few columns
|
|
3341
|
+
widen up to 360 px, more than fit scroll sideways — a card is never squeezed narrower to fit another column in. */
|
|
3342
|
+
.tb-columns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 360px); gap: var(--s-3); align-items: start; min-width: min-content; }
|
|
3305
3343
|
.tb-col { display: flex; flex-direction: column; gap: var(--s-2); min-height: 120px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--surface); border: 1px dashed transparent; }
|
|
3306
3344
|
.tb-col.can-drop { border-color: var(--border); }
|
|
3307
3345
|
.tb-col.over { border-color: var(--accent); background: var(--accent-dim); }
|
|
@@ -3310,30 +3348,39 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3310
3348
|
.tb-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-3); }
|
|
3311
3349
|
.tb-drop-line { height: 3px; border-radius: 2px; background: var(--accent); }
|
|
3312
3350
|
|
|
3313
|
-
.tb-tile { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3)
|
|
3351
|
+
.tb-tile { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-1); cursor: pointer; font-size: var(--fs-sm); min-width: 0; }
|
|
3314
3352
|
.tb-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
|
|
3315
|
-
/*
|
|
3316
|
-
|
|
3317
|
-
.tb-tile.st-claimed { --lbar-color: var(--accent); }
|
|
3318
|
-
.tb-tile.st-blocked { --lbar-color: var(--danger); }
|
|
3319
|
-
.tb-tile.st-review { --lbar-color: var(--warn); }
|
|
3353
|
+
/* No coloured bar on the left edge, in any status — the column says the status, and a stuck or waiting card says
|
|
3354
|
+
it in the colour of its text. A done tile is dimmed. */
|
|
3320
3355
|
.tb-tile.st-done { background: color-mix(in srgb, var(--bg) 60%, var(--surface)); box-shadow: none; }
|
|
3321
3356
|
.tb-tile.st-done .tb-tile-title { color: var(--text-2); }
|
|
3322
3357
|
.tb-tile.dragging { opacity: 0.4; }
|
|
3323
3358
|
.tb-tile.flash { animation: tb-flash 1.6s var(--ease); }
|
|
3324
3359
|
@keyframes tb-flash { from { box-shadow: 0 0 0 3px var(--accent-dim); background: var(--accent-dim); } to { box-shadow: none; } }
|
|
3325
|
-
|
|
3326
|
-
|
|
3360
|
+
/* A tile is as tall as its content (what a card can show will grow), so what keeps one tile from running away is
|
|
3361
|
+
a cap on each row: the title takes two lines, the status one; what does not fit is cut with "…" and its whole text is the
|
|
3362
|
+
tooltip. Every row starts at the tile's content edge; the number has a fixed width so the tags after it line up. */
|
|
3363
|
+
.tb-tile-top { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; min-width: 0; }
|
|
3364
|
+
.tb-tile-top > .tb-code { flex: none; min-width: 5ch; }
|
|
3365
|
+
.tb-tile-top > .tb-tag { flex: none; }
|
|
3366
|
+
.tb-tile-tags { display: flex; align-items: center; gap: var(--s-1); min-width: 0; overflow: hidden; }
|
|
3367
|
+
.tb-size { flex: none; padding: 0 5px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: var(--fs-2xs); font-weight: var(--fw-bold); line-height: 16px; color: var(--text-3); white-space: nowrap; }
|
|
3327
3368
|
/* The tile's control: its title, a plain-looking button (Enter opens the card, Alt+arrows move it). */
|
|
3328
3369
|
.tb-tile-title { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: var(--r-sm); color: var(--text); font: inherit; font-weight: var(--fw-semibold); line-height: 1.4; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
|
|
3370
|
+
.tb-tile-title > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
|
|
3329
3371
|
.tb-tile-title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
3330
3372
|
.tb-tile:has(.tb-tile-title:focus-visible) { border-color: var(--focus); }
|
|
3331
|
-
|
|
3373
|
+
/* The status row: ONE line, whatever it says (fleet-task-common.js tileStatus); there is no row for a card with nothing to say. */
|
|
3374
|
+
.tb-tile-status { display: flex; align-items: center; min-width: 0; overflow: hidden; }
|
|
3375
|
+
.tb-tile-status > * { flex: 1; min-width: 0; }
|
|
3376
|
+
.tb-tile-note { display: flex; gap: var(--s-1); align-items: center; font-size: var(--fs-xs); color: var(--text-2); }
|
|
3377
|
+
.tb-tile-note > .icon { flex: none; }
|
|
3378
|
+
.tb-tile-note > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3332
3379
|
/* A main task's sub task at work now (its worker in the foot), and what a card waiting for you still lacks. */
|
|
3333
3380
|
.tb-tile-now { display: flex; align-items: baseline; gap: var(--s-1); min-width: 0; font-size: var(--fs-xs); color: var(--text-2); }
|
|
3334
3381
|
/* #2080: whom a card in review waits for — the person (accented), or the agent that confirms it. */
|
|
3335
|
-
.tb-tile-waits { font-size: var(--fs-xs); color: var(--
|
|
3336
|
-
.tb-tile-waits.you {
|
|
3382
|
+
.tb-tile-waits { font-size: var(--fs-xs); color: var(--warn); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3383
|
+
.tb-tile-waits.you { font-weight: var(--fw-semibold); }
|
|
3337
3384
|
.tb-now-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3338
3385
|
.tb-now-label { flex-shrink: 0; font-size: var(--fs-2xs); font-weight: var(--fw-semibold); color: var(--text-2); }
|
|
3339
3386
|
.tb-now-label.st-claimed { color: var(--accent); }
|
|
@@ -3354,17 +3401,28 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3354
3401
|
.tb-sub-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3355
3402
|
.tb-sub-blocked { padding-left: 22px; font-size: var(--fs-xs); color: var(--danger); overflow-wrap: anywhere; }
|
|
3356
3403
|
.tb-sub-more { font-size: var(--fs-xs); padding-left: var(--s-1); }
|
|
3357
|
-
.tb-tile-foot { display: flex; align-items: center; gap: var(--s-2); }
|
|
3358
|
-
.tb-tile-foot > .tb-who, .tb-tile-foot > .tb-person
|
|
3359
|
-
.tb-people { display: flex;
|
|
3404
|
+
.tb-tile-foot { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; min-width: 0; }
|
|
3405
|
+
.tb-tile-foot > .tb-who, .tb-tile-foot > .tb-person { flex: 1; min-width: 0; max-width: none; }
|
|
3406
|
+
.tb-people { display: flex; gap: var(--s-3); overflow: hidden; }
|
|
3360
3407
|
/* Who (fleet-task-common.js): a round initial — the instance's identity colour when it has one — then the name. */
|
|
3361
3408
|
.tb-person { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
3362
3409
|
.tb-person > .tb-who { min-width: 0; }
|
|
3363
3410
|
.tb-person.none > .tb-who { color: var(--text-3); }
|
|
3364
|
-
.tb-av { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; font-size: var(--fs-2xs); font-weight: var(--fw-bold); line-height: 1;
|
|
3411
|
+
.tb-av { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; font-size: var(--fs-2xs); font-weight: var(--fw-bold); line-height: 1;
|
|
3365
3412
|
background: color-mix(in srgb, var(--id, var(--text-3)) 16%, var(--bg)); color: var(--id-name, var(--text-2)); }
|
|
3366
|
-
|
|
3367
|
-
.tb-
|
|
3413
|
+
/* An instance's state on its avatar (the dashboard's dotState; where the activity names who spoke): a small dot with a ring in the card's colour. */
|
|
3414
|
+
.tb-av-dot { position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); box-shadow: 0 0 0 2px var(--surface); }
|
|
3415
|
+
.tb-av-dot.st-working, .tb-av-dot.st-starting { background: var(--accent); }
|
|
3416
|
+
.tb-av-dot.st-idle { background: var(--ok); }
|
|
3417
|
+
.tb-av-dot.st-needs, .tb-av-dot.st-stuck { background: var(--warn); }
|
|
3418
|
+
.tb-av-dot.st-crashed { background: var(--danger); }
|
|
3419
|
+
.tb-tile-stats { display: inline-flex; flex: none; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-3); }
|
|
3420
|
+
.tb-tile-stats > span, .tb-tile-subs { display: inline-flex; align-items: center; gap: 2px; }
|
|
3421
|
+
/* The sub tasks' count in the foot, when the status row says something else: done/total, red once one is blocked; it opens the list. */
|
|
3422
|
+
.tb-tile-subs { padding: 0 2px; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; cursor: pointer; }
|
|
3423
|
+
.tb-tile-subs:hover { background: var(--surface-2); }
|
|
3424
|
+
.tb-tile-subs:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
|
|
3425
|
+
.tb-tile-subs.has-blocked { color: var(--danger); }
|
|
3368
3426
|
.tb-tile-stats > .all { color: var(--ok); }
|
|
3369
3427
|
.tb-tile-stats > .reply { color: var(--accent); }
|
|
3370
3428
|
|
|
@@ -3439,7 +3497,9 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3439
3497
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3440
3498
|
/* A phone stacks the columns: no sideways scrolling, and a card moves through its dialog's "Move to…". */
|
|
3441
3499
|
.tb-scroll { overflow-x: visible; margin: 0; padding: 0; }
|
|
3442
|
-
|
|
3500
|
+
/* The page head's actions go under the title and wrap, as Settings' do. */
|
|
3501
|
+
.tb-head-actions { flex-wrap: wrap; flex: 1 1 100%; }
|
|
3502
|
+
.tb-columns { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); min-width: 0; }
|
|
3443
3503
|
.tb-col { min-height: 0; }
|
|
3444
3504
|
.tb-form-row { grid-template-columns: minmax(0, 1fr); }
|
|
3445
3505
|
.tb-search { flex: 1 1 100%; }
|
|
@@ -4997,7 +5057,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4997
5057
|
.contact-approver-add select, .contact-mcp-add .input { flex: 1; min-width: 0; }
|
|
4998
5058
|
.contact-owner-warning { display: flex; align-items: center; gap: var(--s-1); margin: 0; }
|
|
4999
5059
|
.card.contact-ticket { margin: 0; min-width: 0; }
|
|
5000
|
-
.contact-ticket > *, .contact-ticket-foot > *, .contact-decide >
|
|
5060
|
+
.contact-ticket > *, .contact-ticket-foot > *, .contact-decide > :not(.dlg) { margin: 0; }
|
|
5001
5061
|
.contact-ticket[data-state="pending"] { --lbar-color: var(--warn); }
|
|
5002
5062
|
.contact-ticket.focus { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
5003
5063
|
.contact-ticket-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-md); line-height: var(--lh-md); }
|
|
@@ -5125,6 +5185,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5125
5185
|
.host-health .s-page-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
5126
5186
|
.host-health :is(.host-sample-time, .host-load-value) { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
|
|
5127
5187
|
.host-health .host-coverage { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
|
|
5188
|
+
.host-health .host-word { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
|
|
5128
5189
|
.host-health .host-pressure-value { white-space: nowrap; overflow-wrap: normal; }
|
|
5129
5190
|
.host-health .host-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
|
|
5130
5191
|
.host-health .host-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
|
|
@@ -5171,3 +5232,20 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5171
5232
|
.host-footprint-memory { white-space: nowrap; }
|
|
5172
5233
|
|
|
5173
5234
|
.host-footprint-managed { white-space: nowrap; }
|
|
5235
|
+
|
|
5236
|
+
/* Shared-default adoption is an explicit choice before Save, including touch. */
|
|
5237
|
+
.s-default-adoption select { min-height: var(--tap); max-width: 100%; width: 100%; }
|
|
5238
|
+
|
|
5239
|
+
/* Let operation labels take a readable line before their outcome on narrow screens. */
|
|
5240
|
+
.s-op .s-step .grow { flex-basis: 12rem; }
|
|
5241
|
+
.s-op-name, .s-op-slug { display: block; overflow-wrap: anywhere; }
|
|
5242
|
+
.p-settings .s-page-lead { text-wrap: pretty; }
|
|
5243
|
+
|
|
5244
|
+
.p-settings .s-default-lead-tail { white-space: nowrap; }
|
|
5245
|
+
|
|
5246
|
+
/* Scoped grant metadata wraps as whole phrases; disabled decisions stay readable. */
|
|
5247
|
+
.contact-grant-meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
|
|
5248
|
+
.contact-grant-dialog .btn-primary:disabled { opacity: 1; background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
|
|
5249
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
5250
|
+
.contact-grant-dialog :is(input:not([type=checkbox]), select, .check) { min-height: var(--tap); }
|
|
5251
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
// ends one that never ended). It grows with the text up to 240px, through the CSSOM (#1300: never a style attribute).
|
|
11
11
|
import { html, useLayoutEffect, useRef } from "./app-html.js";
|
|
12
12
|
import { Icon } from "./ui-icons.js";
|
|
13
|
+
import { focusComposerPadding } from "./composer-focus.js";
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* Grow the box with its text, up to 240px; empty, it is one line. M-3206 (the user, iPhone, beta.5: typing flickered):
|
|
@@ -58,7 +59,7 @@ export function ComposerInput({ inputRef, value, placeholder, onValue, onKeyDown
|
|
|
58
59
|
// The composed text is the draft now (some engines send no input after it); a blur ends one that never ended.
|
|
59
60
|
// Lower-case props below: an element has no oncomposition… property, so Preact would listen for "CompositionStart".
|
|
60
61
|
const onCompositionEnd = (e) => { if (!composing.current) return; composing.current = false; onValue(e.target.value); };
|
|
61
|
-
return html`<div class="composer">
|
|
62
|
+
return html`<div class="composer" data-composer-focus onPointerDown=${(e) => focusComposerPadding(e, input.current)} onClick=${(e) => focusComposerPadding(e, input.current)}>
|
|
62
63
|
${attach ? html`<button id=${ids.attachBtn || "attachBtn"} type="button" class="icon-btn" title=${attach.title} aria-label=${attach.title} onClick=${() => fileIn.current && fileIn.current.click()}><${Icon} name="attach" /></button>
|
|
63
64
|
<input ref=${fileIn} type="file" multiple hidden
|
|
64
65
|
onChange=${(e) => { attach.onFiles(e.target.files); e.target.value = ""; }} />` : null}
|
|
@@ -66,11 +67,11 @@ export function ComposerInput({ inputRef, value, placeholder, onValue, onKeyDown
|
|
|
66
67
|
never ellipsized, and a long name wrapped it to two lines. The box keeps the words as its accessible name. Its own
|
|
67
68
|
placeholder is one space: :placeholder-shown hides the drawn one (app.css) the moment the box holds text, an
|
|
68
69
|
IME's composing text included, with no change to the page. */ ""}
|
|
69
|
-
<span class="composer-field"><textarea id=${ids.msgIn || "msgIn"} ref=${input} rows="1" value=${boxValue} aria-label=${placeholder}
|
|
70
|
+
<span class="composer-field" data-composer-focus><textarea id=${ids.msgIn || "msgIn"} ref=${input} rows="1" value=${boxValue} aria-label=${placeholder}
|
|
70
71
|
enterkeyhint=${touchScreen() ? "enter" : undefined} autocomplete="off" aria-controls=${controls} aria-expanded=${expanded ? "true" : "false"}
|
|
71
72
|
aria-activedescendant=${activeDescendant} onInput=${onInput} onKeyDown=${onKeyDown} onPaste=${onPaste}
|
|
72
73
|
oncompositionstart=${onCompositionStart} oncompositionend=${onCompositionEnd} onBlur=${onCompositionEnd}
|
|
73
|
-
placeholder=" "></textarea><span class="composer-ph" aria-hidden="true">${placeholder}</span></span>
|
|
74
|
+
placeholder=" "></textarea><span class="composer-ph" data-composer-focus aria-hidden="true">${placeholder}</span></span>
|
|
74
75
|
${/* M-3115 (phone v2): what the row holds beside the box (the Fleet chat's context ring and model picker); none elsewhere. */ ""}
|
|
75
76
|
${tools || null}
|
|
76
77
|
${/* M-3115: `send.stop` — the button stops the reply instead (a phone's empty box while the agent works). */ ""}
|
|
@@ -86,9 +87,9 @@ export function ComposerInput({ inputRef, value, placeholder, onValue, onKeyDown
|
|
|
86
87
|
* `stop` (M-2904): { disabled, title, label, onClick } — Stop, beside what it stops; null: none.
|
|
87
88
|
*/
|
|
88
89
|
export function WorkBarView({ kind, label, note, noteTitle, elapsed, elapsedTitle, stop = null, ids = {} }) {
|
|
89
|
-
return html`<div class=${`work-bar ${kind}`}><span class="pulse" aria-hidden="true"></span><span class="lbl">${label}</span>
|
|
90
|
-
${kind === "awaiting" ? html`<span class="note" title=${noteTitle}>${note}</span>`
|
|
91
|
-
: html`<span class="elapsed" title=${elapsedTitle} aria-hidden="true">${elapsed}</span>`}
|
|
90
|
+
return html`<div class=${`work-bar ${kind}`} data-composer-focus><span class="pulse" data-composer-focus aria-hidden="true"></span><span class="lbl" data-composer-focus>${label}</span>
|
|
91
|
+
${kind === "awaiting" ? html`<span class="note" data-composer-focus title=${noteTitle}>${note}</span>`
|
|
92
|
+
: html`<span class="elapsed" data-composer-focus title=${elapsedTitle} aria-hidden="true">${elapsed}</span>`}
|
|
92
93
|
${stop ? html`<button id=${ids.stopBtn || "stopBtn"} type="button" class="btn btn-sm btn-stop" title=${stop.title} aria-label=${stop.label}
|
|
93
94
|
disabled=${stop.disabled} onClick=${stop.onClick}><${Icon} name="stop" size=${14} /><span class="stop-label">${stop.label}</span></button>` : null}</div>`;
|
|
94
95
|
}
|
|
@@ -85,6 +85,35 @@
|
|
|
85
85
|
return '<span class="mention" data-mention="' + kind + ":" + id + '" title="' + id + '">' + label + "</span>";
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
// A task card's number in a person's message — `#M-3` or `#s3` (a bare M-3 is the word it is) — drawn as a chip (number, title,
|
|
89
|
+
// status) that opens the card (Fleet › Tasks, ?card=). Only for a card the page knows (store.taskRefs(code) → { title, status,
|
|
90
|
+
// statusLabel, tip }), and only on a page that asks for it (the person's own words, in the Fleet chat); any other number
|
|
91
|
+
// stays the text it was. The rule is the server's (src/chat-task-refs.ts) and the page's (chat-task-refs.js): a test holds the
|
|
92
|
+
// three to one list of cases. The href is built from the matched digits, the class from a fixed list; the card's own words
|
|
93
|
+
// (title, labels) are inserted escaped.
|
|
94
|
+
var TASK_REF_RE = /(?<![A-Za-z0-9_\/&#@-])#([MmSs])-?(\d{1,9})(?![A-Za-z0-9_-]|\.\d)/g;
|
|
95
|
+
var TASK_STATUS = { open: 1, claimed: 1, blocked: 1, review: 1, done: 1, cancelled: 1 };
|
|
96
|
+
function taskChip(code, info) {
|
|
97
|
+
var status = Object.prototype.hasOwnProperty.call(TASK_STATUS, info.status) ? info.status : "open";
|
|
98
|
+
var label = typeof info.statusLabel === "string" ? info.statusLabel : "";
|
|
99
|
+
var tip = typeof info.tip === "string" && info.tip ? info.tip : code + " " + (info.title || "");
|
|
100
|
+
return '<a class="task-ref" href="/ui/fleet?card=' + code + '" data-task-ref="' + code + '" title="' + escapeHtml(tip) + '">'
|
|
101
|
+
+ '<span class="task-ref-code">' + code + "</span>"
|
|
102
|
+
+ '<span class="task-ref-title">' + escapeHtml(String(info.title || "")) + "</span>"
|
|
103
|
+
+ (label ? '<span class="tb-pill st-' + status + '">' + escapeHtml(label) + "</span>" : "") + "</a>";
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** The card numbers a (raw) text names, normalised, each once — what the thread asks the page about (chat-thread.js). */
|
|
107
|
+
function taskRefCodes(text) {
|
|
108
|
+
var out = [], re = new RegExp(TASK_REF_RE.source, "g"), m;
|
|
109
|
+
var src = String(text == null ? "" : text).replace(/\u0000/g, "");
|
|
110
|
+
while ((m = re.exec(src)) && out.length < 10) {
|
|
111
|
+
var code = m[1].toUpperCase() + "-" + Number(m[2]);
|
|
112
|
+
if (out.indexOf(code) === -1) out.push(code);
|
|
113
|
+
}
|
|
114
|
+
return out;
|
|
115
|
+
}
|
|
116
|
+
|
|
88
117
|
/** Inline Markdown over ALREADY-ESCAPED text. */
|
|
89
118
|
function inline(escaped, store) {
|
|
90
119
|
var s = escaped;
|
|
@@ -111,6 +140,13 @@
|
|
|
111
140
|
var href = safeHref(url);
|
|
112
141
|
return href ? pre + stash(store, link(href, url)) : m;
|
|
113
142
|
});
|
|
143
|
+
// A card's number, after the links (a link is stashed by now: a URL's "#M-3" is never touched).
|
|
144
|
+
var cardOf = store.taskRefs;
|
|
145
|
+
if (cardOf) s = s.replace(TASK_REF_RE, function (m, letter, digits) {
|
|
146
|
+
var code = letter.toUpperCase() + "-" + Number(digits);
|
|
147
|
+
var info = cardOf(code);
|
|
148
|
+
return info && typeof info === "object" ? stash(store, taskChip(code, info)) : m;
|
|
149
|
+
});
|
|
114
150
|
// M-3092: a Hub room's own mention labels (「@所有 Agent」, "@project-helper"), exact, longest first, before the
|
|
115
151
|
// @username rule (which cannot take a space, a hyphen or CJK). Only a page that passes them gets any: the fleet passes none.
|
|
116
152
|
if (store.labels) for (var li = 0; li < store.labels.length; li++) {
|
|
@@ -344,6 +380,8 @@
|
|
|
344
380
|
store.emojis = opts && typeof opts.emojis === "function" ? opts.emojis : null;
|
|
345
381
|
// #1682: the names the page knows for mentions (a function (kind "u" | "r" | "c", id) → name or null).
|
|
346
382
|
store.mentions = opts && typeof opts.mentions === "function" ? opts.mentions : null;
|
|
383
|
+
// The cards the page knows for a task number (a function "M-3" → { title, status, … } or null); none elsewhere.
|
|
384
|
+
store.taskRefs = opts && typeof opts.taskRefs === "function" ? opts.taskRefs : null;
|
|
347
385
|
// M-3092: exact mention labels a Hub room accents (none elsewhere); longest first so a name never splits a longer one.
|
|
348
386
|
store.labels = opts && Array.isArray(opts.mentionLabels) ? opts.mentionLabels.filter(function (x) { return typeof x === "string" && x.length > 1; })
|
|
349
387
|
.sort(function (a, b) { return b.length - a.length; }) : null;
|
|
@@ -716,7 +754,7 @@
|
|
|
716
754
|
|
|
717
755
|
return {
|
|
718
756
|
renderMarkdown: renderMarkdown, escapeHtml: escapeHtml, attachmentUrl: attachmentUrl, mergeMessages: mergeMessages, applyReplyButtons: applyReplyButtons, composerKey: composerKey,
|
|
719
|
-
pollRemaining: pollRemaining,
|
|
757
|
+
pollRemaining: pollRemaining, taskRefCodes: taskRefCodes,
|
|
720
758
|
|
|
721
759
|
FILE_LIMITS: FILE_LIMITS, fileLimits: fileLimits, fileRejection: fileRejection, formatSize: formatSize, checkFiles: checkFiles, attachmentsHtml: attachmentsHtml, isHtmlAttachment: isHtmlAttachment,
|
|
722
760
|
nextDeliveryState: nextDeliveryState, applyDelivery: applyDelivery, deliveryHtml: deliveryHtml, isBusy: isBusy,
|
|
@@ -112,11 +112,15 @@ const mdCache = new Map();
|
|
|
112
112
|
const EMOJI_IDS = /<a?:[A-Za-z0-9_]{2,32}:(\d{15,25})>/g;
|
|
113
113
|
const MENTION_IDS = /<(@!?|@&|#)(\d{15,25})>/g;
|
|
114
114
|
const MENTION_KINDS = { "@": "u", "@!": "u", "@&": "r", "#": "c" };
|
|
115
|
-
|
|
115
|
+
/** A text that may name a task card (#M-3, #s3): the quick test before the exact one. */
|
|
116
|
+
const TASK_REF_HINT = /#[MmSs]-?\d/;
|
|
117
|
+
export function renderedMarkdown(text, cards, emojis, mentions, labels, taskRefs) {
|
|
116
118
|
const src = typeof text === "string" ? text : String(text == null ? "" : text);
|
|
117
119
|
let sig = cards ? "c" : "-";
|
|
118
120
|
// M-3092: a Hub room's mention labels change the drawing, so they are part of its key.
|
|
119
121
|
if (Array.isArray(labels) && labels.length) sig += `|L${labels.join("\u0001")}`;
|
|
122
|
+
// A person's task numbers are chips while the page knows the card (what it knows, its words included, is in the key).
|
|
123
|
+
if (typeof taskRefs === "function" && typeof R().taskRefCodes === "function" && TASK_REF_HINT.test(src)) for (const code of R().taskRefCodes(src)) { const info = taskRefs(code); sig += `|t${code}=${info && typeof info === "object" ? JSON.stringify(info) : "-"}`; }
|
|
120
124
|
if (src.includes("<")) {
|
|
121
125
|
// Read as renderMarkdown reads it: it drops NUL first (its placeholder mark), so "<@\0id>" is a mention there too.
|
|
122
126
|
const seen = src.includes("\u0000") ? src.replace(/\u0000/g, "") : src;
|
|
@@ -127,6 +131,7 @@ export function renderedMarkdown(text, cards, emojis, mentions, labels) {
|
|
|
127
131
|
let html = mdCache.get(key);
|
|
128
132
|
// The fleet's call is unchanged; only a Hub room passes its mention labels (M-3092).
|
|
129
133
|
if (html === undefined) html = Array.isArray(labels) && labels.length ? R().renderMarkdown(src, { htmlCards: cards, emojis, mentions, mentionLabels: labels })
|
|
134
|
+
: typeof taskRefs === "function" ? R().renderMarkdown(src, { htmlCards: cards, emojis, mentions, taskRefs })
|
|
130
135
|
: R().renderMarkdown(src, { htmlCards: cards, emojis, mentions });
|
|
131
136
|
else mdCache.delete(key);
|
|
132
137
|
mdCache.set(key, html);
|
|
@@ -214,7 +219,7 @@ export function createThread(list, scroller, opts) {
|
|
|
214
219
|
// M-3339: a contact request's badge (聯絡申請 #R… / 已准轉交 #R…) — escaped HTML from the Fleet chat's hook; a Hub passes none.
|
|
215
220
|
const contact = typeof opts.contactBadge === "function" && x.contactTicket ? String(opts.contactBadge(x) || "") : "";
|
|
216
221
|
// M-3092 (Hub rooms): another person's message, a bubble on the left (`msg-person`); the fleet never sets x.person.
|
|
217
|
-
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}${contact}</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(x.archived ? "chat.attNotKeptTitle" : "chat.attGone"), goneLabel: tr(x.archived ? "chat.attNotKept" : "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}${resend}</div>`;
|
|
222
|
+
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}${contact}</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?.(), x.role === "user" ? opts.taskRefs : undefined)}</div>`}${R().attachmentsHtml(x.attachments, { htmlCards: x.role === "agent", goneTitle: tr(x.archived ? "chat.attNotKeptTitle" : "chat.attGone"), goneLabel: tr(x.archived ? "chat.attNotKept" : "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}${resend}</div>`;
|
|
218
223
|
}
|
|
219
224
|
/** M-3127: a room's words for its reaction controls (opts.reactText(key)), English when the page gives none. */
|
|
220
225
|
function reactText(k, ...a) {
|
|
@@ -282,7 +287,7 @@ export function createThread(list, scroller, opts) {
|
|
|
282
287
|
+ `<button type="button" class="btn btn-sm" data-act="deleteOut" data-arg="${escAttr(x.clientId)}">${escAttr(tr("chat.deleteUnsent"))}</button></span></div>` : "";
|
|
283
288
|
const state = going ? `<span class="out-state" role="status"><span class="out-spin" aria-hidden="true"></span>${escAttr(tr("chat.sending"))}</span>` : "";
|
|
284
289
|
return `<div class="msg user out out-${st}" data-out="${escAttr(x.clientId)}"${going ? ' aria-busy="true"' : ""} tabindex="-1"><div class="meta"><span class="sender">${escAttr(x.sender)}</span>${state}</div>`
|
|
285
|
-
+ `${quoteHtml(x.replyTo)}<div class="body">${x.text ? `<div class="md">${renderedMarkdown(x.text, false, opts.emojis, opts.mentions, opts.mentionLabels?.())}</div>` : ""}`
|
|
290
|
+
+ `${quoteHtml(x.replyTo)}<div class="body">${x.text ? `<div class="md">${renderedMarkdown(x.text, false, opts.emojis, opts.mentions, opts.mentionLabels?.(), opts.taskRefs)}</div>` : ""}`
|
|
286
291
|
+ `${files ? `<div class="out-files">${files}</div>` : ""}</div>${failed}</div>`;
|
|
287
292
|
}
|
|
288
293
|
/** The pending bubbles' upload bars and percentages, as their files stand now (in place: CSSOM, no redraw). */
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Padding is part of the input surface, not a selectable document text node.
|
|
2
|
+
// Leave controls and the textarea itself to the browser (selection, IME, menus).
|
|
3
|
+
export function focusComposerPadding(event, field) {
|
|
4
|
+
if (!field || field.disabled || event.defaultPrevented || event.isPrimary === false || event.button > 0) return;
|
|
5
|
+
// A touch drag must keep scrolling. Only its eventual click focuses; a pan has none.
|
|
6
|
+
if (event.type === "pointerdown" && event.pointerType && event.pointerType !== "mouse") return;
|
|
7
|
+
const control = event.target?.closest?.("textarea, input, button, select, a, label, summary, [contenteditable], [role='button'], [role='link'], [tabindex], .cmd-card, .pending-files, .reply-bar");
|
|
8
|
+
// The shell's focusable main ancestor is outside this strip, not a control in it.
|
|
9
|
+
if (control && (!event.currentTarget || event.currentTarget.contains(control))) return;
|
|
10
|
+
// Eligibility belongs to this exact painted background, never to its descendants. Popups may be
|
|
11
|
+
// inside the strip without being native controls or having any ARIA role; leave all of them alone.
|
|
12
|
+
if (!event.target?.matches?.("[data-composer-focus]")) return;
|
|
13
|
+
event.preventDefault();
|
|
14
|
+
field.ownerDocument?.getSelection?.()?.removeAllRanges();
|
|
15
|
+
field.focus();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// This listener belongs to the reserved dock strip, never the message list.
|
|
19
|
+
export function focusComposerStrip(event) {
|
|
20
|
+
focusComposerPadding(event, event.currentTarget?.querySelector(".composer-box .composer textarea"));
|
|
21
|
+
}
|