@songsid/agend 2.4.0-beta.17 → 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 +29 -5
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/claude-transcript-errors.d.ts +4 -0
- package/dist/backend/claude-transcript-errors.js +5 -1
- package/dist/backend/claude-transcript-errors.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 +9 -8
- 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.d.ts +8 -0
- package/dist/daemon.js +66 -13
- 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-context.d.ts +1 -0
- package/dist/fleet-manager.d.ts +60 -8
- package/dist/fleet-manager.js +404 -107
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +2 -2
- package/dist/fleet-windows-runtime.js +9 -2
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/fleet-yaml-stringify.d.ts +3 -0
- package/dist/fleet-yaml-stringify.js +132 -0
- package/dist/fleet-yaml-stringify.js.map +1 -0
- 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 +48 -11
- 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 +73 -0
- package/dist/host-monitoring-alert-policy.js +152 -0
- package/dist/host-monitoring-alert-policy.js.map +1 -0
- package/dist/host-monitoring-alert-resources.d.ts +11 -0
- package/dist/host-monitoring-alert-resources.js +16 -0
- package/dist/host-monitoring-alert-resources.js.map +1 -0
- package/dist/host-monitoring-alert-settings.d.ts +16 -0
- package/dist/host-monitoring-alert-settings.js +68 -0
- package/dist/host-monitoring-alert-settings.js.map +1 -0
- package/dist/host-monitoring-alert-store.d.ts +49 -0
- package/dist/host-monitoring-alert-store.js +228 -0
- package/dist/host-monitoring-alert-store.js.map +1 -0
- package/dist/host-monitoring-alert-text.d.ts +7 -0
- package/dist/host-monitoring-alert-text.js +10 -0
- package/dist/host-monitoring-alert-text.js.map +1 -0
- package/dist/host-monitoring-alerts.d.ts +79 -0
- package/dist/host-monitoring-alerts.js +276 -0
- package/dist/host-monitoring-alerts.js.map +1 -0
- 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-footprint-policy.d.ts +45 -0
- package/dist/host-monitoring-footprint-policy.js +150 -0
- package/dist/host-monitoring-footprint-policy.js.map +1 -0
- package/dist/host-monitoring-footprint.d.ts +42 -0
- package/dist/host-monitoring-footprint.js +169 -0
- package/dist/host-monitoring-footprint.js.map +1 -0
- package/dist/host-monitoring-history-policy.d.ts +2 -0
- package/dist/host-monitoring-history-policy.js +16 -2
- package/dist/host-monitoring-history-policy.js.map +1 -1
- package/dist/host-monitoring-history-store.js +8 -6
- package/dist/host-monitoring-history-store.js.map +1 -1
- package/dist/host-monitoring-history-worker.js +19 -3
- package/dist/host-monitoring-history-worker.js.map +1 -1
- package/dist/host-monitoring-history.d.ts +9 -0
- package/dist/host-monitoring-history.js +45 -9
- package/dist/host-monitoring-history.js.map +1 -1
- 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-process-identity.d.ts +8 -0
- package/dist/host-monitoring-process-identity.js +81 -0
- package/dist/host-monitoring-process-identity.js.map +1 -0
- package/dist/host-monitoring-runtime.d.ts +8 -0
- package/dist/host-monitoring-runtime.js +18 -3
- package/dist/host-monitoring-runtime.js.map +1 -1
- package/dist/host-monitoring.d.ts +15 -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 +8 -9
- 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 +3 -0
- package/dist/needs-you-hub.js +7 -1
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +15 -2
- package/dist/needs-you.js +6 -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/public-web-gateway.js +7 -1
- package/dist/public-web-gateway.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 +9 -9
- 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 +5 -1
- package/dist/settings-api.js +77 -2
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.js +5 -4
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.js +4 -2
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.d.ts +2 -0
- package/dist/settings-effect.js +20 -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/topic-commands.js +4 -0
- package/dist/topic-commands.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 +34 -8
- 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-alerts.js +23 -0
- package/dist/ui/host-footprint.js +17 -0
- package/dist/ui/host-health.js +24 -16
- 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/host-time.js +5 -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 +98 -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 +38 -18
- package/dist/ui/panel-settings.js +58 -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 +23 -0
- package/dist/ui/settings-host-monitoring.js +10 -8
- 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 +169 -50
- package/dist/ui/shared/chat-composer.js +7 -6
- package/dist/ui/shared/chat-render.js +63 -10
- package/dist/ui/shared/chat-strings.js +2 -2
- package/dist/ui/shared/chat-thread.js +10 -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 +11 -1
- package/dist/web-api.js +324 -18
- package/dist/web-api.js.map +1 -1
- package/dist/web-chat-history.d.ts +40 -1
- package/dist/web-chat-history.js +131 -9
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-guest-access.js +4 -4
- package/dist/web-guest-access.js.map +1 -1
- package/dist/web-upload.d.ts +1 -1
- package/dist/web-upload.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
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; }
|
|
@@ -962,6 +974,8 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
|
|
|
962
974
|
.msg.status-line .st-more { border: 0; background: none; color: var(--text-2); cursor: pointer; font-size: var(--fs-xs); padding: var(--s-1) 0 0 var(--s-3); }
|
|
963
975
|
.msg.status-line.folded .st-more { flex: none; padding: 0 var(--s-2) 0 0; white-space: nowrap; }
|
|
964
976
|
.msg.status-line .st-more:hover { color: var(--text); }
|
|
977
|
+
.msg-resend { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
|
|
978
|
+
@media (pointer: coarse), (max-width: 899px) { .msg-resend .btn { min-height: var(--tap); min-width: var(--tap); } }
|
|
965
979
|
.msg-tools { display: flex; gap: var(--s-1); margin-top: var(--s-1); opacity: 0; transition: opacity var(--t-fast); }
|
|
966
980
|
/* #2147: bounded stock toolbar paint, including fixed descendants. Padding preserves focus outlines. */
|
|
967
981
|
.shell .thread .msg-tools { contain: paint; overflow: clip; overflow-clip-margin: 0px; padding: 4px; margin: 0 -4px -4px; }
|
|
@@ -1301,6 +1315,9 @@ img.amb-p { object-fit: contain; }
|
|
|
1301
1315
|
@media (prefers-reduced-motion: reduce) { .jump-latest { transition: none; } }
|
|
1302
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)); }
|
|
1303
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; }
|
|
1304
1321
|
.prompts { display: flex; flex-direction: column; gap: var(--s-2); }
|
|
1305
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); }
|
|
1306
1323
|
.prompt.done { background: transparent; border-style: dashed; color: var(--text-2); }
|
|
@@ -1327,16 +1344,16 @@ img.amb-p { object-fit: contain; }
|
|
|
1327
1344
|
/* S-30: a state note above the composer ("Connection revoked…", "still working") sat flush on the box's edge. */
|
|
1328
1345
|
.composer-box > .note { margin: 0; padding: var(--s-2) var(--s-3) 0; }
|
|
1329
1346
|
.composer-box:focus-within { box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-1); }
|
|
1330
|
-
.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; }
|
|
1331
1348
|
.composer textarea {
|
|
1332
|
-
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;
|
|
1333
1350
|
font-size: var(--fs-md); line-height: var(--lh-md); resize: none; min-height: 24px; max-height: 240px; overflow-y: auto;
|
|
1334
1351
|
}
|
|
1335
1352
|
.composer textarea::placeholder { color: var(--text-3); }
|
|
1336
1353
|
/* #2478: the placeholder, drawn over the empty box at its text's place: one line ending in "…" (a textarea's own is
|
|
1337
1354
|
clipped, never ellipsized). The same size and line as the box's text; it never takes a tap. */
|
|
1338
1355
|
.composer-field { position: relative; flex: 1; min-width: 0; display: flex; }
|
|
1339
|
-
.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);
|
|
1340
1357
|
font-size: var(--fs-md); line-height: var(--lh-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1341
1358
|
.composer-field textarea:not(:placeholder-shown) + .composer-ph { display: none; } /* text in the box, composing text too */
|
|
1342
1359
|
.btn-send { width: 36px; padding: 0; }
|
|
@@ -2291,21 +2308,37 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2291
2308
|
.nav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger);
|
|
2292
2309
|
font-size: var(--fs-2xs); font-weight: var(--fw-semibold); line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
|
|
2293
2310
|
.n-group { margin-bottom: var(--s-4); }
|
|
2294
|
-
.n-group-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
|
|
2311
|
+
.n-group-head, .n-settings-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
|
|
2295
2312
|
.n-group-head a { color: inherit; }
|
|
2296
2313
|
.n-group-head a:hover { text-decoration: underline; }
|
|
2297
2314
|
/* M-3381: the rooms' restricted-mode suggestions, one closed group: its heading opens it. */
|
|
2298
2315
|
.n-suggestions > summary { cursor: pointer; }
|
|
2299
|
-
.n-item { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); margin-bottom: 2px; }
|
|
2300
|
-
.n-icon { flex: none; margin-top: 2px; color: var(--warn); }
|
|
2316
|
+
.n-item, .n-notify { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); margin-bottom: 2px; }
|
|
2317
|
+
.n-icon, .n-notify-icon { flex: none; margin-top: 2px; color: var(--warn); }
|
|
2301
2318
|
.n-item.bad .n-icon { color: var(--danger); }
|
|
2302
|
-
.n-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
|
|
2303
|
-
.n-title { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
|
|
2304
|
-
.n-title strong { font-size: var(--fs-sm); }
|
|
2319
|
+
.n-body, .n-notify-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
|
|
2320
|
+
.n-title, .n-notify-title { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
|
|
2321
|
+
.n-title strong, .n-notify-title strong { font-size: var(--fs-sm); }
|
|
2305
2322
|
.n-age { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
|
2306
|
-
.n-detail { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
2307
|
-
.n-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-1); }
|
|
2308
|
-
|
|
2323
|
+
.n-detail, .n-notify-note { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
2324
|
+
.n-actions, .n-notify-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-1); }
|
|
2325
|
+
/* M-3503: a text button in Needs you lines up with the text above it on every width (a phone already did, below). */
|
|
2326
|
+
.n-actions > .btn-ghost { padding-left: 0; padding-right: 0; margin-left: -1px; }
|
|
2327
|
+
/* M-3503 (the user): this device's notify setting is not an item waiting — a section of its own under the list, a rule
|
|
2328
|
+
above it; drawn as an item row (its bell in the icon's place, neutral), so text and buttons share the items' edge. */
|
|
2329
|
+
.n-settings { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--border); }
|
|
2330
|
+
.n-notify .n-notify-icon { color: var(--text-2); }
|
|
2331
|
+
/* M-3503: no word left alone on the note's last line (a phone's zh line ended with 「知。」 by itself). */
|
|
2332
|
+
.n-notify-note { text-wrap: balance; }
|
|
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)); }
|
|
2335
|
+
/* A plain heading only: the suggestions group's head is its <summary>, a control that keeps its own padding (and a
|
|
2336
|
+
phone's tap height, below). */
|
|
2337
|
+
.p-needs :is(h2.n-group-head, .n-settings-head) { padding: 0 0 var(--s-2); }
|
|
2338
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
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)); }
|
|
2340
|
+
.p-needs .n-suggestions > summary { min-height: var(--tap); }
|
|
2341
|
+
}
|
|
2309
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. */
|
|
2310
2343
|
.n-item.notice.unread { box-shadow: inset 3px 0 0 var(--accent); }
|
|
2311
2344
|
.n-item.notice:not(.bad) .n-icon { color: var(--text-2); }
|
|
@@ -2321,6 +2354,11 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
|
|
|
2321
2354
|
Desktop: General's stem meets the bus over the team grid (no per-team ticks: a wrapped row would have nothing to
|
|
2322
2355
|
meet). Phone: one column hanging off a rail, a tick into each team. ── */
|
|
2323
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; }
|
|
2324
2362
|
.org-head { flex-wrap: wrap; }
|
|
2325
2363
|
.org-counts { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); list-style: none; }
|
|
2326
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; }
|
|
@@ -2993,6 +3031,18 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
2993
3031
|
/* #1682: a mention, as Discord draws one — accent text on a tint of it; the id (or the Telegram handle) on hover. */
|
|
2994
3032
|
.md .mention { display: inline; padding: 0 0.2em; border-radius: var(--r-sm); color: var(--accent); background: var(--accent-dim);
|
|
2995
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; }
|
|
2996
3046
|
|
|
2997
3047
|
/* #1629 r4 §1 / r4.1 Q3 (a): the identity card (identity-card.js). The size is a class token; its heights are here
|
|
2998
3048
|
(S 160 / M 240 / L 360 px, on a phone 120 / 180 / 240). Never a style attribute.
|
|
@@ -3251,11 +3301,11 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3251
3301
|
.tb-wait-title:hover { text-decoration: underline; }
|
|
3252
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; }
|
|
3253
3303
|
.tb-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); }
|
|
3254
|
-
.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; }
|
|
3255
3305
|
.tb-project:hover { border-color: var(--border-strong); }
|
|
3256
3306
|
.tb-project.is-archived { opacity: 0.7; }
|
|
3257
|
-
.tb-project-open { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-
|
|
3258
|
-
.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; }
|
|
3259
3309
|
.tb-project-desc { color: var(--text-2); font-size: var(--fs-xs); overflow-wrap: anywhere; }
|
|
3260
3310
|
.tb-project-pct { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
|
|
3261
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); }
|
|
@@ -3264,8 +3314,9 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3264
3314
|
.tb-archived > .tb-projects { align-self: stretch; }
|
|
3265
3315
|
|
|
3266
3316
|
.tb-search { position: relative; min-width: 180px; flex: 0 1 280px; }
|
|
3267
|
-
|
|
3268
|
-
.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); }
|
|
3269
3320
|
.tb-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
|
|
3270
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); }
|
|
3271
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); }
|
|
@@ -3275,13 +3326,20 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3275
3326
|
.tb-search-none { padding: var(--s-2); font-size: var(--fs-sm); }
|
|
3276
3327
|
|
|
3277
3328
|
/* A project: its header, then one column per status. */
|
|
3278
|
-
.
|
|
3279
|
-
|
|
3280
|
-
.tb-
|
|
3281
|
-
.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); }
|
|
3282
3339
|
.tb-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--s-2)); padding: 0 var(--s-2) var(--s-2); }
|
|
3283
|
-
/*
|
|
3284
|
-
|
|
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; }
|
|
3285
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; }
|
|
3286
3344
|
.tb-col.can-drop { border-color: var(--border); }
|
|
3287
3345
|
.tb-col.over { border-color: var(--accent); background: var(--accent-dim); }
|
|
@@ -3290,30 +3348,39 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3290
3348
|
.tb-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-3); }
|
|
3291
3349
|
.tb-drop-line { height: 3px; border-radius: 2px; background: var(--accent); }
|
|
3292
3350
|
|
|
3293
|
-
.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; }
|
|
3294
3352
|
.tb-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
|
|
3295
|
-
/*
|
|
3296
|
-
|
|
3297
|
-
.tb-tile.st-claimed { --lbar-color: var(--accent); }
|
|
3298
|
-
.tb-tile.st-blocked { --lbar-color: var(--danger); }
|
|
3299
|
-
.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. */
|
|
3300
3355
|
.tb-tile.st-done { background: color-mix(in srgb, var(--bg) 60%, var(--surface)); box-shadow: none; }
|
|
3301
3356
|
.tb-tile.st-done .tb-tile-title { color: var(--text-2); }
|
|
3302
3357
|
.tb-tile.dragging { opacity: 0.4; }
|
|
3303
3358
|
.tb-tile.flash { animation: tb-flash 1.6s var(--ease); }
|
|
3304
3359
|
@keyframes tb-flash { from { box-shadow: 0 0 0 3px var(--accent-dim); background: var(--accent-dim); } to { box-shadow: none; } }
|
|
3305
|
-
|
|
3306
|
-
|
|
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; }
|
|
3307
3368
|
/* The tile's control: its title, a plain-looking button (Enter opens the card, Alt+arrows move it). */
|
|
3308
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; }
|
|
3309
3371
|
.tb-tile-title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
3310
3372
|
.tb-tile:has(.tb-tile-title:focus-visible) { border-color: var(--focus); }
|
|
3311
|
-
|
|
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; }
|
|
3312
3379
|
/* A main task's sub task at work now (its worker in the foot), and what a card waiting for you still lacks. */
|
|
3313
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); }
|
|
3314
3381
|
/* #2080: whom a card in review waits for — the person (accented), or the agent that confirms it. */
|
|
3315
|
-
.tb-tile-waits { font-size: var(--fs-xs); color: var(--
|
|
3316
|
-
.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); }
|
|
3317
3384
|
.tb-now-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3318
3385
|
.tb-now-label { flex-shrink: 0; font-size: var(--fs-2xs); font-weight: var(--fw-semibold); color: var(--text-2); }
|
|
3319
3386
|
.tb-now-label.st-claimed { color: var(--accent); }
|
|
@@ -3334,17 +3401,28 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3334
3401
|
.tb-sub-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3335
3402
|
.tb-sub-blocked { padding-left: 22px; font-size: var(--fs-xs); color: var(--danger); overflow-wrap: anywhere; }
|
|
3336
3403
|
.tb-sub-more { font-size: var(--fs-xs); padding-left: var(--s-1); }
|
|
3337
|
-
.tb-tile-foot { display: flex; align-items: center; gap: var(--s-2); }
|
|
3338
|
-
.tb-tile-foot > .tb-who, .tb-tile-foot > .tb-person
|
|
3339
|
-
.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; }
|
|
3340
3407
|
/* Who (fleet-task-common.js): a round initial — the instance's identity colour when it has one — then the name. */
|
|
3341
3408
|
.tb-person { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
|
|
3342
3409
|
.tb-person > .tb-who { min-width: 0; }
|
|
3343
3410
|
.tb-person.none > .tb-who { color: var(--text-3); }
|
|
3344
|
-
.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;
|
|
3345
3412
|
background: color-mix(in srgb, var(--id, var(--text-3)) 16%, var(--bg)); color: var(--id-name, var(--text-2)); }
|
|
3346
|
-
|
|
3347
|
-
.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); }
|
|
3348
3426
|
.tb-tile-stats > .all { color: var(--ok); }
|
|
3349
3427
|
.tb-tile-stats > .reply { color: var(--accent); }
|
|
3350
3428
|
|
|
@@ -3419,7 +3497,9 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
3419
3497
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
3420
3498
|
/* A phone stacks the columns: no sideways scrolling, and a card moves through its dialog's "Move to…". */
|
|
3421
3499
|
.tb-scroll { overflow-x: visible; margin: 0; padding: 0; }
|
|
3422
|
-
|
|
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; }
|
|
3423
3503
|
.tb-col { min-height: 0; }
|
|
3424
3504
|
.tb-form-row { grid-template-columns: minmax(0, 1fr); }
|
|
3425
3505
|
.tb-search { flex: 1 1 100%; }
|
|
@@ -4977,7 +5057,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
4977
5057
|
.contact-approver-add select, .contact-mcp-add .input { flex: 1; min-width: 0; }
|
|
4978
5058
|
.contact-owner-warning { display: flex; align-items: center; gap: var(--s-1); margin: 0; }
|
|
4979
5059
|
.card.contact-ticket { margin: 0; min-width: 0; }
|
|
4980
|
-
.contact-ticket > *, .contact-ticket-foot > *, .contact-decide >
|
|
5060
|
+
.contact-ticket > *, .contact-ticket-foot > *, .contact-decide > :not(.dlg) { margin: 0; }
|
|
4981
5061
|
.contact-ticket[data-state="pending"] { --lbar-color: var(--warn); }
|
|
4982
5062
|
.contact-ticket.focus { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
4983
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); }
|
|
@@ -5104,6 +5184,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5104
5184
|
.host-health { min-width: 0; }
|
|
5105
5185
|
.host-health .s-page-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
5106
5186
|
.host-health :is(.host-sample-time, .host-load-value) { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
|
|
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; }
|
|
5107
5189
|
.host-health .host-pressure-value { white-space: nowrap; overflow-wrap: normal; }
|
|
5108
5190
|
.host-health .host-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
|
|
5109
5191
|
.host-health .host-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
|
|
@@ -5125,8 +5207,45 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
|
|
|
5125
5207
|
.host-health .host-chart .note { margin: 4px 0; }
|
|
5126
5208
|
.host-health .host-no-history { padding: 20px 0; }
|
|
5127
5209
|
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
5210
|
+
.p-settings #host-monitoring :is(select, input[type="number"], summary) { min-height: var(--tap); min-width: var(--tap); font-size: max(1rem, var(--fs-sm)); }
|
|
5128
5211
|
.host-health .host-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
5129
5212
|
.host-health .host-storage { grid-row: 1; grid-column: 1 / -1; }
|
|
5130
5213
|
.host-health .s-page-actions { width: 100%; }
|
|
5131
5214
|
.host-health .btn { min-height: 44px; min-width: 44px; }
|
|
5132
5215
|
}
|
|
5216
|
+
|
|
5217
|
+
/* Bounded agent table: scroll is confined to the table, never the page. */
|
|
5218
|
+
.host-footprint .table-wrap { max-width: 100%; overflow-x: auto; }
|
|
5219
|
+
.host-footprint table { width: 100%; border-collapse: collapse; text-align: start; }
|
|
5220
|
+
.host-footprint th, .host-footprint td { padding: var(--s-2); border-bottom: 1px solid var(--border); vertical-align: middle; }
|
|
5221
|
+
.host-footprint td { white-space: nowrap; font-variant-numeric: tabular-nums; }
|
|
5222
|
+
.host-footprint th:first-child { min-width: 8rem; }
|
|
5223
|
+
.host-footprint th .btn { white-space: normal; overflow-wrap: anywhere; text-align: start; }
|
|
5224
|
+
.host-footprint [aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
|
|
5225
|
+
|
|
5226
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
5227
|
+
.host-footprint th:first-child { min-width: 6rem; }
|
|
5228
|
+
.host-footprint th, .host-footprint td { padding: var(--s-1); }
|
|
5229
|
+
}
|
|
5230
|
+
|
|
5231
|
+
.host-footprint-sample { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
|
|
5232
|
+
.host-footprint-memory { white-space: nowrap; }
|
|
5233
|
+
|
|
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;
|
|
@@ -416,8 +454,8 @@
|
|
|
416
454
|
if (seen[k] !== undefined) {
|
|
417
455
|
// The same message again (history after the stream): the copy that got further shows its ticks.
|
|
418
456
|
var had = out[seen[k]];
|
|
419
|
-
var
|
|
420
|
-
if (
|
|
457
|
+
var updated = deliveryMessage(had, m);
|
|
458
|
+
if (updated !== had) out[seen[k]] = had = updated;
|
|
421
459
|
// #1266: …and the copy whose buttons got further (open → chosen / expired) shows them.
|
|
422
460
|
if (m.buttons && (!had.buttons || buttonsRank(m.buttons) > buttonsRank(had.buttons) || (buttonsRank(m.buttons) === buttonsRank(had.buttons) && m.buttons.poll && had.buttons.poll && m.buttons.poll.rev > had.buttons.poll.rev))) out[seen[k]] = Object.assign({}, had, { buttons: m.buttons });
|
|
423
461
|
return;
|
|
@@ -450,15 +488,30 @@
|
|
|
450
488
|
}
|
|
451
489
|
|
|
452
490
|
/** The list after a delivery report for `messageId`: the same list when nothing moved, else a copy. */
|
|
453
|
-
function
|
|
491
|
+
function deliveryMessage(had, update) {
|
|
492
|
+
var retry = update.retry, old = had.retry;
|
|
493
|
+
if (retry && typeof retry.owner === "string" && Number.isSafeInteger(retry.attempt) && retry.attempt >= 0) {
|
|
494
|
+
if (old && (old.owner !== retry.owner || retry.attempt < old.attempt)) return had;
|
|
495
|
+
if (old && retry.attempt === old.attempt && update.messageId !== had.messageId) return had;
|
|
496
|
+
var newer = !old || retry.attempt > old.attempt;
|
|
497
|
+
var next = newer ? nextDeliveryState(undefined, update.delivery) : nextDeliveryState(had.delivery, update.delivery);
|
|
498
|
+
if (!next) return had;
|
|
499
|
+
if (!newer && next === had.delivery && update.delivery !== had.delivery) return had;
|
|
500
|
+
if (!newer && next === had.delivery && JSON.stringify(retry) === JSON.stringify(old)) return had;
|
|
501
|
+
return Object.assign({}, had, { messageId: update.messageId, delivery: next, retry: Object.assign({}, retry) });
|
|
502
|
+
}
|
|
503
|
+
if (had.retry && update.messageId && update.messageId !== had.messageId) return had;
|
|
504
|
+
var next = nextDeliveryState(had.delivery, update.delivery);
|
|
505
|
+
return next === had.delivery ? had : Object.assign({}, had, { delivery: next });
|
|
506
|
+
}
|
|
507
|
+
function applyDelivery(list, messageId, delivery, update) {
|
|
454
508
|
var msgs = list || [];
|
|
455
509
|
for (var i = msgs.length - 1; i >= 0; i--) {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
out
|
|
461
|
-
return out;
|
|
510
|
+
var sameRow = update && update.retry && msgs[i] && msgs[i].boot === update.boot && msgs[i].id === update.id;
|
|
511
|
+
if (!msgs[i] || (!sameRow && msgs[i].messageId !== messageId)) continue;
|
|
512
|
+
var next = deliveryMessage(msgs[i], Object.assign({}, update || {}, { messageId: messageId, delivery: delivery }));
|
|
513
|
+
if (next === msgs[i]) return msgs;
|
|
514
|
+
var out = msgs.slice(); out[i] = next; return out;
|
|
462
515
|
}
|
|
463
516
|
return msgs;
|
|
464
517
|
}
|
|
@@ -701,7 +754,7 @@
|
|
|
701
754
|
|
|
702
755
|
return {
|
|
703
756
|
renderMarkdown: renderMarkdown, escapeHtml: escapeHtml, attachmentUrl: attachmentUrl, mergeMessages: mergeMessages, applyReplyButtons: applyReplyButtons, composerKey: composerKey,
|
|
704
|
-
pollRemaining: pollRemaining,
|
|
757
|
+
pollRemaining: pollRemaining, taskRefCodes: taskRefCodes,
|
|
705
758
|
|
|
706
759
|
FILE_LIMITS: FILE_LIMITS, fileLimits: fileLimits, fileRejection: fileRejection, formatSize: formatSize, checkFiles: checkFiles, attachmentsHtml: attachmentsHtml, isHtmlAttachment: isHtmlAttachment,
|
|
707
760
|
nextDeliveryState: nextDeliveryState, applyDelivery: applyDelivery, deliveryHtml: deliveryHtml, isBusy: isBusy,
|
|
@@ -145,7 +145,7 @@ register("chat", {
|
|
|
145
145
|
previews: "Allow HTML previews",
|
|
146
146
|
clicked: "Clicked:", clickShow: "Show the message these buttons were on",
|
|
147
147
|
copy: "Copy", copyMessage: "Copy this reply", copied: "Copied", copyFailed: "Copy failed", wrap: "Wrap", showAll: "Show all {0} lines", showMore: "Show more", showLess: "Show less", showAllShort: "All {0} lines", showMoreShort: "More", jumpLatest: "Latest", newBelow: "{0} new",
|
|
148
|
-
disconnected: "disconnected", tick_queued: "Waiting behind another message", tick_processing: "Handed to the agent", tick_delivered: "The agent has it", tick_failed: "Not delivered", tick_cancelled: "Dropped by Stop", reactedBy: "{0} reacted",
|
|
148
|
+
disconnected: "disconnected", tick_queued: "Waiting behind another message", tick_processing: "Handed to the agent", tick_delivered: "The agent has it", tick_failed: "Not delivered", resend: "Resend", resending: "Resending…", resendFailed: "The message could not be resent. Try again.", resendAttachmentGone: "An attached file is no longer available. Write a new message and attach it again.", resendReplyGone: "The quoted message is no longer available. Write a new message without the quote.", tick_cancelled: "Dropped by Stop", reactedBy: "{0} reacted",
|
|
149
149
|
promptAnswering: "Answering…", promptGone: "This prompt is no longer open", promptTextPlaceholder: "Your answer", promptTextSend: "Send answer", promptFor: "{0}: {1}",
|
|
150
150
|
working: "{0} is working…", stuck: "{0} looks stuck",
|
|
151
151
|
metaWorking: "Working", metaStuck: "Looks stuck", metaStopping: "Stopping…", metaAwaiting: "Waiting for you", stopReply: "Stop reply", stopReplyTitle: "Stop the current reply (like Esc) and drop the messages still waiting. The instance keeps running.", stopSent: "Stopped",
|
|
@@ -318,7 +318,7 @@ register("chat", {
|
|
|
318
318
|
previews: "允許預覽 HTML",
|
|
319
319
|
clicked: "點選了:", clickShow: "顯示這些按鈕所在的訊息",
|
|
320
320
|
copy: "複製", copyMessage: "複製這則回覆", copied: "已複製", copyFailed: "複製失敗", wrap: "換行", showAll: "展開全部 {0} 行", showMore: "顯示更多", showLess: "收合", showAllShort: "全部 {0} 行", showMoreShort: "更多", jumpLatest: "最新", newBelow: "{0} 則新訊息",
|
|
321
|
-
disconnected: "已斷線", tick_queued: "排在前一則訊息之後", tick_processing: "已交給 agent", tick_delivered: "agent 已收到", tick_failed: "
|
|
321
|
+
disconnected: "已斷線", tick_queued: "排在前一則訊息之後", tick_processing: "已交給 agent", tick_delivered: "agent 已收到", tick_failed: "沒有送到", resend: "重新傳送", resending: "正在重新傳送…", resendFailed: "無法重新傳送這則訊息,請再試一次。", resendAttachmentGone: "附件已無法使用。請寫一則新訊息,重新附上檔案。", resendReplyGone: "引用的訊息已無法使用。請寫一則不含引用的新訊息。", tick_cancelled: "已被中止取消", reactedBy: "{0} 的回應",
|
|
322
322
|
promptAnswering: "回覆中…", promptGone: "這個提示已經結束", promptTextPlaceholder: "你的回答", promptTextSend: "送出回答", promptFor: "{0}:{1}",
|
|
323
323
|
working: "{0} 處理中…", stuck: "{0} 似乎卡住了",
|
|
324
324
|
metaWorking: "處理中", metaStuck: "似乎卡住了", metaStopping: "停止中…", metaAwaiting: "等你回應", stopReply: "停止回覆", stopReplyTitle: "停止目前的回覆(同 Esc),並取消還在排隊的訊息。Agent 會繼續運行。", stopSent: "已中止",
|