@songsid/agend 2.3.5-alpha.8 → 2.3.5-beta.2
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/README.md +0 -2
- package/README.zh-TW.md +0 -2
- package/THIRD_PARTY_NOTICES.md +0 -67
- package/dist/agent-cli-instructions.md +1 -1
- package/dist/agent-cli.js +5 -2
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.d.ts +1 -5
- package/dist/agent-endpoint.js +2 -12
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-file-read.js +1 -1
- package/dist/agent-file-read.js.map +1 -1
- package/dist/agent-whats-new.js +4 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/apply-job.d.ts +0 -5
- package/dist/apply-job.js +3 -10
- package/dist/apply-job.js.map +1 -1
- package/dist/auth-api.d.ts +0 -48
- package/dist/auth-api.js +9 -290
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/web-authority.d.ts +2 -25
- package/dist/authority/web-authority.js +4 -37
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/backend/claude-code.d.ts +13 -15
- package/dist/backend/claude-code.js +141 -152
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex-footer-hints.d.ts +0 -3
- package/dist/backend/codex-footer-hints.js +0 -14
- package/dist/backend/codex-footer-hints.js.map +1 -1
- package/dist/backend/codex-package.d.ts +2 -5
- package/dist/backend/codex-package.js +5 -1
- package/dist/backend/codex-package.js.map +1 -1
- package/dist/backend/codex-quota-history.js +19 -4
- package/dist/backend/codex-quota-history.js.map +1 -1
- package/dist/backend/codex.d.ts +115 -142
- package/dist/backend/codex.js +1094 -1188
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/grok.d.ts +0 -2
- package/dist/backend/grok.js +0 -22
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro.js +1 -1
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +4 -7
- package/dist/backend/types.js.map +1 -1
- package/dist/bundled-tmux-guard.d.ts +2 -0
- package/dist/bundled-tmux-guard.js +23 -10
- package/dist/bundled-tmux-guard.js.map +1 -1
- package/dist/channel/ipc-bridge.d.ts +0 -2
- package/dist/channel/mcp-tools.js +4 -4
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/classic-bindings.d.ts +0 -13
- package/dist/classic-bindings.js +2 -28
- package/dist/classic-bindings.js.map +1 -1
- package/dist/claude-model-minimum.d.ts +7 -0
- package/dist/claude-model-minimum.js +16 -0
- package/dist/claude-model-minimum.js.map +1 -0
- package/dist/cli.js +39 -241
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.js +2 -74
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +0 -16
- package/dist/config.js.map +1 -1
- package/dist/daemon.d.ts +50 -100
- package/dist/daemon.js +451 -997
- package/dist/daemon.js.map +1 -1
- package/dist/decision-list.d.ts +2 -0
- package/dist/decision-list.js +1 -1
- package/dist/decision-list.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +3 -15
- package/dist/delivery-consumed-watch.js +1 -23
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/delivery-outbox.d.ts +0 -5
- package/dist/delivery-outbox.js +4 -32
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-reconciliation.d.ts +42 -2
- package/dist/delivery-reconciliation.js +164 -2
- package/dist/delivery-reconciliation.js.map +1 -1
- package/dist/doctor.js +9 -19
- package/dist/doctor.js.map +1 -1
- package/dist/e2e-isolation.js +2 -5
- package/dist/e2e-isolation.js.map +1 -1
- package/dist/fleet-context.d.ts +2 -2
- package/dist/fleet-control-audit.d.ts +1 -1
- package/dist/fleet-level-config.d.ts +1 -1
- package/dist/fleet-level-config.js +0 -2
- package/dist/fleet-level-config.js.map +1 -1
- package/dist/fleet-manager.d.ts +31 -706
- package/dist/fleet-manager.js +377 -4062
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-instance.d.ts +0 -7
- package/dist/general-instance.js +3 -20
- package/dist/general-instance.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +36 -72
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +2 -15
- package/dist/general-knowledge/skills/delegation-playbook/SKILL.md +4 -1
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +2 -2
- package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
- package/dist/general-knowledge/skills/tui-effort/SKILL.md +10 -10
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +13 -23
- package/dist/general-knowledge/steering/core-rules.md +2 -2
- package/dist/instance-config-impact.js +0 -5
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +6 -39
- package/dist/instance-lifecycle.js +179 -429
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.d.ts +0 -2
- package/dist/instructions.js +0 -6
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +12 -180
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +1 -14
- package/dist/login-controller.js +1 -31
- package/dist/login-controller.js.map +1 -1
- package/dist/login-flows.d.ts +7 -8
- package/dist/login-flows.js +3 -28
- package/dist/login-flows.js.map +1 -1
- package/dist/login-window-lock.d.ts +1 -2
- package/dist/login-window-lock.js.map +1 -1
- package/dist/ls-rows.d.ts +1 -1
- package/dist/ls-rows.js +4 -3
- package/dist/ls-rows.js.map +1 -1
- package/dist/needs-you-hub.d.ts +0 -8
- package/dist/needs-you-hub.js +3 -29
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +2 -78
- package/dist/needs-you.js +2 -45
- package/dist/needs-you.js.map +1 -1
- package/dist/office-share-page.js +3 -3
- package/dist/office-share-page.js.map +1 -1
- package/dist/office-share.d.ts +0 -11
- package/dist/office-share.js +0 -14
- package/dist/office-share.js.map +1 -1
- package/dist/outbound-handlers.d.ts +2 -30
- package/dist/outbound-handlers.js +4 -109
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +3 -71
- package/dist/outbound-schemas.js +18 -38
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-quota-history.d.ts +0 -2
- package/dist/pane-quota-history.js +0 -20
- package/dist/pane-quota-history.js.map +1 -1
- package/dist/pause-marker.d.ts +1 -1
- package/dist/pause-marker.js +1 -1
- package/dist/pause-marker.js.map +1 -1
- package/dist/public-web-gateway.js +0 -16
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.d.ts +0 -11
- package/dist/public-web-link.js +0 -13
- package/dist/public-web-link.js.map +1 -1
- package/dist/quickstart-api.js +5 -9
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.d.ts +0 -6
- package/dist/quickstart.js +4 -31
- package/dist/quickstart.js.map +1 -1
- package/dist/scheduler/db.d.ts +10 -0
- package/dist/scheduler/db.js +38 -11
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/task-board-text.js +1 -1
- package/dist/scheduler/task-board-text.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +0 -4
- package/dist/scheduler/task-board.js +3 -9
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/scheduler/types.d.ts +6 -1
- package/dist/service-installer.d.ts +2 -7
- package/dist/service-installer.js +10 -13
- package/dist/service-installer.js.map +1 -1
- package/dist/settings-api.d.ts +1 -14
- package/dist/settings-api.js +6 -491
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +0 -7
- package/dist/settings-baseline.js +1 -3
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.d.ts +0 -10
- package/dist/settings-change.js +1 -53
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-confirmation.d.ts +2 -41
- package/dist/settings-confirmation.js +12 -58
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.d.ts +0 -17
- package/dist/settings-effect.js +2 -168
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +0 -25
- package/dist/settings-http-confirmation.js +6 -117
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-request-capability.d.ts +0 -2
- package/dist/settings-request-capability.js +0 -4
- package/dist/settings-request-capability.js.map +1 -1
- package/dist/settings-transaction.d.ts +0 -4
- package/dist/settings-transaction.js +0 -9
- package/dist/settings-transaction.js.map +1 -1
- package/dist/setup-form.js +3 -6
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-i18n.js +0 -3
- package/dist/setup-i18n.js.map +1 -1
- package/dist/setup-wizard.js +2 -4
- package/dist/setup-wizard.js.map +1 -1
- package/dist/structured-signin-transport.js +0 -4
- package/dist/structured-signin-transport.js.map +1 -1
- package/dist/structured-signin.d.ts +0 -7
- package/dist/structured-signin.js +1 -1
- package/dist/structured-signin.js.map +1 -1
- package/dist/task-board-tool.d.ts +1 -2
- package/dist/task-board-tool.js +6 -62
- package/dist/task-board-tool.js.map +1 -1
- package/dist/team-membership.d.ts +7 -0
- package/dist/team-membership.js +10 -0
- package/dist/team-membership.js.map +1 -0
- package/dist/tmux-control.d.ts +1 -2
- package/dist/tmux-control.js +4 -4
- package/dist/tmux-control.js.map +1 -1
- package/dist/tmux-exec-helper.js +1 -32
- package/dist/tmux-exec-helper.js.map +1 -1
- package/dist/tmux-manager.d.ts +3 -10
- package/dist/tmux-manager.js +41 -57
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tmux-read.js +3 -4
- package/dist/tmux-read.js.map +1 -1
- package/dist/tool-permissions.js +1 -2
- package/dist/tool-permissions.js.map +1 -1
- package/dist/topic-commands.js +6 -10
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-delta-reader.d.ts +1 -1
- package/dist/transcript-delta-reader.js +1 -1
- package/dist/transcript-delta-reader.js.map +1 -1
- package/dist/transcript-monitor.d.ts +0 -3
- package/dist/transcript-monitor.js +54 -68
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-sources.d.ts +0 -5
- package/dist/transcript-sources.js +79 -11
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +0 -29
- package/dist/ui/backend-signin.js +24 -60
- package/dist/ui/chat-ambient.js +1 -1
- package/dist/ui/chat-md-strings.js +9 -3
- package/dist/ui/chat-render.js +670 -3
- package/dist/ui/chat-store.js +3 -14
- package/dist/ui/chat-strings.js +285 -3
- package/dist/ui/chat-thread.js +969 -3
- package/dist/ui/chat-time.js +80 -3
- package/dist/ui/chat-tour.js +1 -1
- package/dist/ui/fleet-office-pack.d.ts +0 -9
- package/dist/ui/fleet-office-pack.js +4 -76
- package/dist/ui/fleet-office-skin.js +5 -23
- package/dist/ui/fleet-office-store.js +0 -5
- package/dist/ui/fleet-office.js +6 -173
- package/dist/ui/fleet-task-card.js +4 -8
- package/dist/ui/fleet-task-common.js +2 -2
- package/dist/ui/fleet-tasks.js +39 -125
- package/dist/ui/html-attachment.js +40 -3
- package/dist/ui/office-share-page.js +2 -4
- package/dist/ui/panel-chat.js +75 -90
- package/dist/ui/panel-details.js +2 -3
- package/dist/ui/panel-fleet.js +18 -105
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-needs.js +6 -170
- package/dist/ui/panel-settings.js +200 -276
- package/dist/ui/preview-pages.js +41 -3
- package/dist/ui/preview-panel-actions.js +161 -3
- package/dist/ui/preview-panel.js +550 -11
- package/dist/ui/preview-versions.js +155 -3
- package/dist/ui/preview.js +476 -3
- package/dist/ui/search-dialog.js +0 -2
- package/dist/ui/settings-appearance.js +23 -122
- package/dist/ui/settings-apply.js +5 -12
- package/dist/ui/settings-catalog.js +10 -37
- package/dist/ui/settings-confirm.js +1 -31
- package/dist/ui/settings-dialogs.js +20 -48
- package/dist/ui/settings-guests.js +11 -25
- package/dist/ui/settings-model.js +1 -10
- package/dist/ui/settings-named-test.js +2 -2
- package/dist/ui/settings-quota-notice.js +3 -3
- package/dist/ui/settings-registry.js +4 -18
- package/dist/ui/settings-strings.js +36 -109
- package/dist/ui/settings-web-authority.js +11 -17
- package/dist/ui/shared/app-i18n.js +2 -5
- package/dist/ui/shared/app-route.js +3 -12
- package/dist/ui/shared/app-session.js +2 -6
- package/dist/ui/shared/app-shell.js +27 -196
- package/dist/ui/shared/app-store.js +0 -1
- package/dist/ui/shared/app-stream.js +1 -3
- package/dist/ui/shared/app.css +3 -1395
- package/dist/ui/shared/app.js +3 -16
- package/dist/ui/shared/header-tools.js +9 -9
- package/dist/ui/shared/instance-nav.js +7 -34
- package/dist/ui/shared/instance-switch.js +3 -4
- package/dist/ui/shared/signin.js +9 -276
- package/dist/ui/shared/tokens.css +0 -1
- package/dist/ui/shared/ui-dialog.js +2 -2
- package/dist/ui/shared/ui-menu.js +10 -30
- package/dist/ui/shared/usage-dialog.js +72 -3
- package/dist/ui/shared/vendor/vendor.json +2 -19
- package/dist/ui/shared/view-strings.js +4 -12
- package/dist/ui/signin.html +0 -22
- package/dist/ui/structured-signin.js +11 -43
- package/dist/unattended-install.js +1 -2
- package/dist/unattended-install.js.map +1 -1
- package/dist/update-dispatch.d.ts +32 -4
- package/dist/update-dispatch.js +146 -16
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-install.d.ts +0 -7
- package/dist/update-install.js +0 -23
- package/dist/update-install.js.map +1 -1
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +2 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/update-marker.d.ts +0 -2
- package/dist/update-marker.js.map +1 -1
- package/dist/usage/providers.js +3 -4
- package/dist/usage/providers.js.map +1 -1
- package/dist/view-api.d.ts +2 -8
- package/dist/view-api.js +10 -14
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +2 -122
- package/dist/web-api.js +21 -887
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +3 -39
- package/dist/web-backend-login.js +17 -25
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-chat-history.d.ts +2 -19
- package/dist/web-chat-history.js +3 -72
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-login.d.ts +1 -35
- package/dist/web-login.js +5 -51
- package/dist/web-login.js.map +1 -1
- package/dist/web-notices.d.ts +0 -9
- package/dist/web-notices.js +0 -19
- package/dist/web-notices.js.map +1 -1
- package/dist/web-office-skins.d.ts +0 -9
- package/dist/web-office-skins.js +1 -16
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-only-fleet.d.ts +0 -20
- package/dist/web-only-fleet.js +0 -21
- package/dist/web-only-fleet.js.map +1 -1
- package/dist/web-session.d.ts +0 -53
- package/dist/web-session.js +1 -47
- package/dist/web-session.js.map +1 -1
- package/dist/web-settings-patch.d.ts +1 -3
- package/dist/web-settings-patch.js +1 -4
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/web-shell-routes.d.ts +1 -10
- package/dist/web-shell-routes.js +2 -14
- package/dist/web-shell-routes.js.map +1 -1
- package/dist/web-terminal.d.ts +30 -11
- package/dist/web-terminal.js +8 -23
- package/dist/web-terminal.js.map +1 -1
- package/dist/yaml-shared-nodes.js +3 -8
- package/dist/yaml-shared-nodes.js.map +1 -1
- package/launcher/agend-install.cjs +1 -8
- package/launcher/postinstall.cjs +2 -27
- package/package.json +4 -15
- package/templates/launchd.plist.ejs +1 -3
- package/dist/accounts-profiles.d.ts +0 -96
- package/dist/accounts-profiles.js +0 -178
- package/dist/accounts-profiles.js.map +0 -1
- package/dist/accounts-signout.d.ts +0 -59
- package/dist/accounts-signout.js +0 -184
- package/dist/accounts-signout.js.map +0 -1
- package/dist/accounts-view.d.ts +0 -168
- package/dist/accounts-view.js +0 -187
- package/dist/accounts-view.js.map +0 -1
- package/dist/agent-runtime-api.d.ts +0 -4
- package/dist/agent-runtime-api.js +0 -59
- package/dist/agent-runtime-api.js.map +0 -1
- package/dist/agent-runtime-change.d.ts +0 -76
- package/dist/agent-runtime-change.js +0 -114
- package/dist/agent-runtime-change.js.map +0 -1
- package/dist/agent-workspace.d.ts +0 -104
- package/dist/agent-workspace.js +0 -381
- package/dist/agent-workspace.js.map +0 -1
- package/dist/backend/grok-model-cache.d.ts +0 -7
- package/dist/backend/grok-model-cache.js +0 -65
- package/dist/backend/grok-model-cache.js.map +0 -1
- package/dist/backend/native-pane.d.ts +0 -11
- package/dist/backend/native-pane.js +0 -59
- package/dist/backend/native-pane.js.map +0 -1
- package/dist/build-provenance-cli.d.ts +0 -3
- package/dist/build-provenance-cli.js +0 -11
- package/dist/build-provenance-cli.js.map +0 -1
- package/dist/build-provenance.d.ts +0 -20
- package/dist/build-provenance.js +0 -67
- package/dist/build-provenance.js.map +0 -1
- package/dist/build-provenance.json +0 -1
- package/dist/claude-auth-status.d.ts +0 -48
- package/dist/claude-auth-status.js +0 -149
- package/dist/claude-auth-status.js.map +0 -1
- package/dist/fleet-windows-runtime.d.ts +0 -98
- package/dist/fleet-windows-runtime.js +0 -467
- package/dist/fleet-windows-runtime.js.map +0 -1
- package/dist/general-binding.d.ts +0 -85
- package/dist/general-binding.js +0 -298
- package/dist/general-binding.js.map +0 -1
- package/dist/general-host-owner.d.ts +0 -8
- package/dist/general-host-owner.js +0 -26
- package/dist/general-host-owner.js.map +0 -1
- package/dist/general-role.d.ts +0 -5
- package/dist/general-role.js +0 -27
- package/dist/general-role.js.map +0 -1
- package/dist/hub/admission.d.ts +0 -28
- package/dist/hub/admission.js +0 -62
- package/dist/hub/admission.js.map +0 -1
- package/dist/hub/attachments/limits.d.ts +0 -20
- package/dist/hub/attachments/limits.js +0 -48
- package/dist/hub/attachments/limits.js.map +0 -1
- package/dist/hub/attachments/store.d.ts +0 -116
- package/dist/hub/attachments/store.js +0 -246
- package/dist/hub/attachments/store.js.map +0 -1
- package/dist/hub/audit/index.d.ts +0 -62
- package/dist/hub/audit/index.js +0 -344
- package/dist/hub/audit/index.js.map +0 -1
- package/dist/hub/browser-certificate.d.ts +0 -38
- package/dist/hub/browser-certificate.js +0 -247
- package/dist/hub/browser-certificate.js.map +0 -1
- package/dist/hub/buttons-model.d.ts +0 -9
- package/dist/hub/buttons-model.js +0 -42
- package/dist/hub/buttons-model.js.map +0 -1
- package/dist/hub/buttons.d.ts +0 -54
- package/dist/hub/buttons.js +0 -348
- package/dist/hub/buttons.js.map +0 -1
- package/dist/hub/catalog.d.ts +0 -74
- package/dist/hub/catalog.js +0 -380
- package/dist/hub/catalog.js.map +0 -1
- package/dist/hub/client.d.ts +0 -69
- package/dist/hub/client.js +0 -302
- package/dist/hub/client.js.map +0 -1
- package/dist/hub/compose/member.d.ts +0 -145
- package/dist/hub/compose/member.js +0 -458
- package/dist/hub/compose/member.js.map +0 -1
- package/dist/hub/compose/server.d.ts +0 -87
- package/dist/hub/compose/server.js +0 -417
- package/dist/hub/compose/server.js.map +0 -1
- package/dist/hub/compose/views.d.ts +0 -12
- package/dist/hub/compose/views.js +0 -4
- package/dist/hub/compose/views.js.map +0 -1
- package/dist/hub/db.d.ts +0 -56
- package/dist/hub/db.js +0 -188
- package/dist/hub/db.js.map +0 -1
- package/dist/hub/directory/config.d.ts +0 -39
- package/dist/hub/directory/config.js +0 -108
- package/dist/hub/directory/config.js.map +0 -1
- package/dist/hub/directory/directory.d.ts +0 -18
- package/dist/hub/directory/directory.js +0 -441
- package/dist/hub/directory/directory.js.map +0 -1
- package/dist/hub/directory/groups.d.ts +0 -29
- package/dist/hub/directory/groups.js +0 -29
- package/dist/hub/directory/groups.js.map +0 -1
- package/dist/hub/directory/index.d.ts +0 -8
- package/dist/hub/directory/index.js +0 -4
- package/dist/hub/directory/index.js.map +0 -1
- package/dist/hub/directory/profiles.d.ts +0 -41
- package/dist/hub/directory/profiles.js +0 -90
- package/dist/hub/directory/profiles.js.map +0 -1
- package/dist/hub/directory/types.d.ts +0 -81
- package/dist/hub/directory/types.js +0 -14
- package/dist/hub/directory/types.js.map +0 -1
- package/dist/hub/execution/cli-provider.d.ts +0 -23
- package/dist/hub/execution/cli-provider.js +0 -341
- package/dist/hub/execution/cli-provider.js.map +0 -1
- package/dist/hub/execution/index.d.ts +0 -13
- package/dist/hub/execution/index.js +0 -8
- package/dist/hub/execution/index.js.map +0 -1
- package/dist/hub/execution/model-broker.d.ts +0 -24
- package/dist/hub/execution/model-broker.js +0 -208
- package/dist/hub/execution/model-broker.js.map +0 -1
- package/dist/hub/execution/provider-setup.d.ts +0 -11
- package/dist/hub/execution/provider-setup.js +0 -21
- package/dist/hub/execution/provider-setup.js.map +0 -1
- package/dist/hub/execution/sandbox-runner.d.ts +0 -1
- package/dist/hub/execution/sandbox-runner.js +0 -221
- package/dist/hub/execution/sandbox-runner.js.map +0 -1
- package/dist/hub/execution/service.d.ts +0 -136
- package/dist/hub/execution/service.js +0 -459
- package/dist/hub/execution/service.js.map +0 -1
- package/dist/hub/execution/store.d.ts +0 -61
- package/dist/hub/execution/store.js +0 -182
- package/dist/hub/execution/store.js.map +0 -1
- package/dist/hub/execution/views.d.ts +0 -20
- package/dist/hub/execution/views.js +0 -48
- package/dist/hub/execution/views.js.map +0 -1
- package/dist/hub/group-policy/admin-api.d.ts +0 -30
- package/dist/hub/group-policy/admin-api.js +0 -83
- package/dist/hub/group-policy/admin-api.js.map +0 -1
- package/dist/hub/group-policy/admin-context.d.ts +0 -23
- package/dist/hub/group-policy/admin-context.js +0 -52
- package/dist/hub/group-policy/admin-context.js.map +0 -1
- package/dist/hub/group-policy/admin-control.d.ts +0 -34
- package/dist/hub/group-policy/admin-control.js +0 -258
- package/dist/hub/group-policy/admin-control.js.map +0 -1
- package/dist/hub/group-policy/admin-dto.d.ts +0 -243
- package/dist/hub/group-policy/admin-dto.js +0 -55
- package/dist/hub/group-policy/admin-dto.js.map +0 -1
- package/dist/hub/group-policy/admin-facts.d.ts +0 -17
- package/dist/hub/group-policy/admin-facts.js +0 -33
- package/dist/hub/group-policy/admin-facts.js.map +0 -1
- package/dist/hub/group-policy/admin-impact.d.ts +0 -51
- package/dist/hub/group-policy/admin-impact.js +0 -88
- package/dist/hub/group-policy/admin-impact.js.map +0 -1
- package/dist/hub/group-policy/admin-inventory.d.ts +0 -24
- package/dist/hub/group-policy/admin-inventory.js +0 -72
- package/dist/hub/group-policy/admin-inventory.js.map +0 -1
- package/dist/hub/group-policy/admin-read.d.ts +0 -21
- package/dist/hub/group-policy/admin-read.js +0 -90
- package/dist/hub/group-policy/admin-read.js.map +0 -1
- package/dist/hub/group-policy/authorization.d.ts +0 -60
- package/dist/hub/group-policy/authorization.js +0 -292
- package/dist/hub/group-policy/authorization.js.map +0 -1
- package/dist/hub/group-policy/impact-inventory.d.ts +0 -21
- package/dist/hub/group-policy/impact-inventory.js +0 -75
- package/dist/hub/group-policy/impact-inventory.js.map +0 -1
- package/dist/hub/group-policy/model.d.ts +0 -56
- package/dist/hub/group-policy/model.js +0 -46
- package/dist/hub/group-policy/model.js.map +0 -1
- package/dist/hub/group-policy/resources.d.ts +0 -72
- package/dist/hub/group-policy/resources.js +0 -260
- package/dist/hub/group-policy/resources.js.map +0 -1
- package/dist/hub/group-policy/store.d.ts +0 -69
- package/dist/hub/group-policy/store.js +0 -210
- package/dist/hub/group-policy/store.js.map +0 -1
- package/dist/hub/group-policy/welcome.d.ts +0 -36
- package/dist/hub/group-policy/welcome.js +0 -55
- package/dist/hub/group-policy/welcome.js.map +0 -1
- package/dist/hub/http/compose.d.ts +0 -22
- package/dist/hub/http/compose.js +0 -640
- package/dist/hub/http/compose.js.map +0 -1
- package/dist/hub/http/core.d.ts +0 -69
- package/dist/hub/http/core.js +0 -257
- package/dist/hub/http/core.js.map +0 -1
- package/dist/hub/http/deps.d.ts +0 -71
- package/dist/hub/http/deps.js +0 -2
- package/dist/hub/http/deps.js.map +0 -1
- package/dist/hub/http/schema.d.ts +0 -14
- package/dist/hub/http/schema.js +0 -80
- package/dist/hub/http/schema.js.map +0 -1
- package/dist/hub/identity.d.ts +0 -32
- package/dist/hub/identity.js +0 -80
- package/dist/hub/identity.js.map +0 -1
- package/dist/hub/init/browser-certificate.d.ts +0 -9
- package/dist/hub/init/browser-certificate.js +0 -78
- package/dist/hub/init/browser-certificate.js.map +0 -1
- package/dist/hub/init/browser-tls.d.ts +0 -18
- package/dist/hub/init/browser-tls.js +0 -62
- package/dist/hub/init/browser-tls.js.map +0 -1
- package/dist/hub/init/cli.d.ts +0 -3
- package/dist/hub/init/cli.js +0 -83
- package/dist/hub/init/cli.js.map +0 -1
- package/dist/hub/init/directory-certificate.d.ts +0 -24
- package/dist/hub/init/directory-certificate.js +0 -222
- package/dist/hub/init/directory-certificate.js.map +0 -1
- package/dist/hub/init/existing-fleet.d.ts +0 -6
- package/dist/hub/init/existing-fleet.js +0 -58
- package/dist/hub/init/existing-fleet.js.map +0 -1
- package/dist/hub/init/handoff.d.ts +0 -8
- package/dist/hub/init/handoff.js +0 -36
- package/dist/hub/init/handoff.js.map +0 -1
- package/dist/hub/init/identity.d.ts +0 -5
- package/dist/hub/init/identity.js +0 -24
- package/dist/hub/init/identity.js.map +0 -1
- package/dist/hub/init/initializer.d.ts +0 -24
- package/dist/hub/init/initializer.js +0 -385
- package/dist/hub/init/initializer.js.map +0 -1
- package/dist/hub/init/inventory.d.ts +0 -17
- package/dist/hub/init/inventory.js +0 -33
- package/dist/hub/init/inventory.js.map +0 -1
- package/dist/hub/init/layout.d.ts +0 -32
- package/dist/hub/init/layout.js +0 -53
- package/dist/hub/init/layout.js.map +0 -1
- package/dist/hub/init/network.d.ts +0 -18
- package/dist/hub/init/network.js +0 -104
- package/dist/hub/init/network.js.map +0 -1
- package/dist/hub/init/plan-digest.d.ts +0 -5
- package/dist/hub/init/plan-digest.js +0 -47
- package/dist/hub/init/plan-digest.js.map +0 -1
- package/dist/hub/init/prompt.d.ts +0 -26
- package/dist/hub/init/prompt.js +0 -110
- package/dist/hub/init/prompt.js.map +0 -1
- package/dist/hub/init/secret-file.d.ts +0 -1
- package/dist/hub/init/secret-file.js +0 -59
- package/dist/hub/init/secret-file.js.map +0 -1
- package/dist/hub/init/text.d.ts +0 -127
- package/dist/hub/init/text.js +0 -247
- package/dist/hub/init/text.js.map +0 -1
- package/dist/hub/init/types.d.ts +0 -114
- package/dist/hub/init/types.js +0 -9
- package/dist/hub/init/types.js.map +0 -1
- package/dist/hub/init/wizard.d.ts +0 -34
- package/dist/hub/init/wizard.js +0 -554
- package/dist/hub/init/wizard.js.map +0 -1
- package/dist/hub/initialization.d.ts +0 -23
- package/dist/hub/initialization.js +0 -28
- package/dist/hub/initialization.js.map +0 -1
- package/dist/hub/member/agent-mode.d.ts +0 -6
- package/dist/hub/member/agent-mode.js +0 -23
- package/dist/hub/member/agent-mode.js.map +0 -1
- package/dist/hub/member/attachments.d.ts +0 -29
- package/dist/hub/member/attachments.js +0 -107
- package/dist/hub/member/attachments.js.map +0 -1
- package/dist/hub/member/exposure-api.d.ts +0 -87
- package/dist/hub/member/exposure-api.js +0 -64
- package/dist/hub/member/exposure-api.js.map +0 -1
- package/dist/hub/member/exposures.d.ts +0 -123
- package/dist/hub/member/exposures.js +0 -282
- package/dist/hub/member/exposures.js.map +0 -1
- package/dist/hub/member/pairing-api.d.ts +0 -87
- package/dist/hub/member/pairing-api.js +0 -386
- package/dist/hub/member/pairing-api.js.map +0 -1
- package/dist/hub/member/pairing-notices.d.ts +0 -18
- package/dist/hub/member/pairing-notices.js +0 -58
- package/dist/hub/member/pairing-notices.js.map +0 -1
- package/dist/hub/member/quota.d.ts +0 -20
- package/dist/hub/member/quota.js +0 -98
- package/dist/hub/member/quota.js.map +0 -1
- package/dist/hub/member-journal.d.ts +0 -104
- package/dist/hub/member-journal.js +0 -336
- package/dist/hub/member-journal.js.map +0 -1
- package/dist/hub/member-reconciliation.d.ts +0 -14
- package/dist/hub/member-reconciliation.js +0 -97
- package/dist/hub/member-reconciliation.js.map +0 -1
- package/dist/hub/mount.d.ts +0 -39
- package/dist/hub/mount.js +0 -123
- package/dist/hub/mount.js.map +0 -1
- package/dist/hub/pairing-client.d.ts +0 -17
- package/dist/hub/pairing-client.js +0 -108
- package/dist/hub/pairing-client.js.map +0 -1
- package/dist/hub/pairing-notices.d.ts +0 -47
- package/dist/hub/pairing-notices.js +0 -241
- package/dist/hub/pairing-notices.js.map +0 -1
- package/dist/hub/pairing.d.ts +0 -99
- package/dist/hub/pairing.js +0 -514
- package/dist/hub/pairing.js.map +0 -1
- package/dist/hub/policy.d.ts +0 -65
- package/dist/hub/policy.js +0 -154
- package/dist/hub/policy.js.map +0 -1
- package/dist/hub/preview.d.ts +0 -32
- package/dist/hub/preview.js +0 -64
- package/dist/hub/preview.js.map +0 -1
- package/dist/hub/private-files.d.ts +0 -5
- package/dist/hub/private-files.js +0 -44
- package/dist/hub/private-files.js.map +0 -1
- package/dist/hub/profile.d.ts +0 -59
- package/dist/hub/profile.js +0 -73
- package/dist/hub/profile.js.map +0 -1
- package/dist/hub/protocol.d.ts +0 -811
- package/dist/hub/protocol.js +0 -98
- package/dist/hub/protocol.js.map +0 -1
- package/dist/hub/quota.d.ts +0 -24
- package/dist/hub/quota.js +0 -112
- package/dist/hub/quota.js.map +0 -1
- package/dist/hub/representative.d.ts +0 -141
- package/dist/hub/representative.js +0 -528
- package/dist/hub/representative.js.map +0 -1
- package/dist/hub/retention.d.ts +0 -17
- package/dist/hub/retention.js +0 -45
- package/dist/hub/retention.js.map +0 -1
- package/dist/hub/rooms.d.ts +0 -121
- package/dist/hub/rooms.js +0 -585
- package/dist/hub/rooms.js.map +0 -1
- package/dist/hub/runtime.d.ts +0 -109
- package/dist/hub/runtime.js +0 -309
- package/dist/hub/runtime.js.map +0 -1
- package/dist/hub/server.d.ts +0 -58
- package/dist/hub/server.js +0 -216
- package/dist/hub/server.js.map +0 -1
- package/dist/hub/service-start.d.ts +0 -17
- package/dist/hub/service-start.js +0 -109
- package/dist/hub/service-start.js.map +0 -1
- package/dist/hub/sessions.d.ts +0 -53
- package/dist/hub/sessions.js +0 -197
- package/dist/hub/sessions.js.map +0 -1
- package/dist/hub/socket.d.ts +0 -24
- package/dist/hub/socket.js +0 -79
- package/dist/hub/socket.js.map +0 -1
- package/dist/hub/store.d.ts +0 -86
- package/dist/hub/store.js +0 -91
- package/dist/hub/store.js.map +0 -1
- package/dist/hub/tls.d.ts +0 -31
- package/dist/hub/tls.js +0 -135
- package/dist/hub/tls.js.map +0 -1
- package/dist/hub/types.d.ts +0 -414
- package/dist/hub/types.js +0 -2
- package/dist/hub/types.js.map +0 -1
- package/dist/hub/validation.d.ts +0 -33
- package/dist/hub/validation.js +0 -136
- package/dist/hub/validation.js.map +0 -1
- package/dist/hub/version-floor.d.ts +0 -10
- package/dist/hub/version-floor.js +0 -45
- package/dist/hub/version-floor.js.map +0 -1
- package/dist/hub-browser-certificate-policy.d.ts +0 -31
- package/dist/hub-browser-certificate-policy.js +0 -25
- package/dist/hub-browser-certificate-policy.js.map +0 -1
- package/dist/hub-membership-settings.d.ts +0 -6
- package/dist/hub-membership-settings.js +0 -21
- package/dist/hub-membership-settings.js.map +0 -1
- package/dist/hub-mode.d.ts +0 -15
- package/dist/hub-mode.js +0 -17
- package/dist/hub-mode.js.map +0 -1
- package/dist/hub-pairing-summary.d.ts +0 -48
- package/dist/hub-pairing-summary.js +0 -36
- package/dist/hub-pairing-summary.js.map +0 -1
- package/dist/hub-report-target.d.ts +0 -32
- package/dist/hub-report-target.js +0 -33
- package/dist/hub-report-target.js.map +0 -1
- package/dist/hub-retention-policy.d.ts +0 -14
- package/dist/hub-retention-policy.js +0 -15
- package/dist/hub-retention-policy.js.map +0 -1
- package/dist/launchd-service-domain.d.ts +0 -5
- package/dist/launchd-service-domain.js +0 -21
- package/dist/launchd-service-domain.js.map +0 -1
- package/dist/local-pane-endpoint.d.ts +0 -46
- package/dist/local-pane-endpoint.js +0 -189
- package/dist/local-pane-endpoint.js.map +0 -1
- package/dist/local-pane-launcher.d.ts +0 -2
- package/dist/local-pane-launcher.js +0 -38
- package/dist/local-pane-launcher.js.map +0 -1
- package/dist/local-pane-stage.ps1 +0 -101
- package/dist/machine-accounts.d.ts +0 -110
- package/dist/machine-accounts.js +0 -229
- package/dist/machine-accounts.js.map +0 -1
- package/dist/machine-signins.d.ts +0 -89
- package/dist/machine-signins.js +0 -182
- package/dist/machine-signins.js.map +0 -1
- package/dist/model-catalog-defaults.d.ts +0 -14
- package/dist/model-catalog-defaults.js +0 -20
- package/dist/model-catalog-defaults.js.map +0 -1
- package/dist/native-agent-admission.d.ts +0 -7
- package/dist/native-agent-admission.js +0 -26
- package/dist/native-agent-admission.js.map +0 -1
- package/dist/native-daemon-client.d.ts +0 -13
- package/dist/native-daemon-client.js +0 -28
- package/dist/native-daemon-client.js.map +0 -1
- package/dist/native-instance-api.d.ts +0 -13
- package/dist/native-instance-api.js +0 -217
- package/dist/native-instance-api.js.map +0 -1
- package/dist/native-instance-input.d.ts +0 -87
- package/dist/native-instance-input.js +0 -59
- package/dist/native-instance-input.js.map +0 -1
- package/dist/native-instance-registry.d.ts +0 -38
- package/dist/native-instance-registry.js +0 -129
- package/dist/native-instance-registry.js.map +0 -1
- package/dist/native-mcp.d.ts +0 -43
- package/dist/native-mcp.js +0 -291
- package/dist/native-mcp.js.map +0 -1
- package/dist/native-model-catalog.d.ts +0 -5
- package/dist/native-model-catalog.js +0 -76
- package/dist/native-model-catalog.js.map +0 -1
- package/dist/native-pane-crash-budget.d.ts +0 -20
- package/dist/native-pane-crash-budget.js +0 -60
- package/dist/native-pane-crash-budget.js.map +0 -1
- package/dist/native-pane-create.d.ts +0 -26
- package/dist/native-pane-create.js +0 -53
- package/dist/native-pane-create.js.map +0 -1
- package/dist/native-pane-lifecycle.d.ts +0 -73
- package/dist/native-pane-lifecycle.js +0 -239
- package/dist/native-pane-lifecycle.js.map +0 -1
- package/dist/native-pane-manager.d.ts +0 -59
- package/dist/native-pane-manager.js +0 -592
- package/dist/native-pane-manager.js.map +0 -1
- package/dist/native-pane-output-log.d.ts +0 -15
- package/dist/native-pane-output-log.js +0 -108
- package/dist/native-pane-output-log.js.map +0 -1
- package/dist/native-pane-reconciliation.d.ts +0 -4
- package/dist/native-pane-reconciliation.js +0 -40
- package/dist/native-pane-reconciliation.js.map +0 -1
- package/dist/native-pane-recovery.d.ts +0 -12
- package/dist/native-pane-recovery.js +0 -10
- package/dist/native-pane-recovery.js.map +0 -1
- package/dist/native-pane-tools.d.ts +0 -2
- package/dist/native-pane-tools.js +0 -14
- package/dist/native-pane-tools.js.map +0 -1
- package/dist/office-talk.d.ts +0 -26
- package/dist/office-talk.js +0 -50
- package/dist/office-talk.js.map +0 -1
- package/dist/pane-port.d.ts +0 -118
- package/dist/pane-port.js +0 -2
- package/dist/pane-port.js.map +0 -1
- package/dist/quiet-run.d.ts +0 -31
- package/dist/quiet-run.js +0 -50
- package/dist/quiet-run.js.map +0 -1
- package/dist/runtime-api.d.ts +0 -23
- package/dist/runtime-api.js +0 -321
- package/dist/runtime-api.js.map +0 -1
- package/dist/runtime-assets/@xterm/addon-serialize/LICENSE +0 -21
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.js +0 -2
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.mjs +0 -19
- package/dist/runtime-assets/@xterm/addon-serialize/package.json +0 -29
- package/dist/runtime-assets/@xterm/headless/LICENSE +0 -21
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.js +0 -2
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.mjs +0 -46
- package/dist/runtime-assets/@xterm/headless/package.json +0 -29
- package/dist/runtime-assets/node-pty/CONPTY-LICENSE +0 -21
- package/dist/runtime-assets/node-pty/CONPTY-NOTICE.md +0 -503
- package/dist/runtime-assets/node-pty/LICENSE +0 -69
- package/dist/runtime-assets/node-pty/lib/conpty_console_list_agent.js +0 -16
- package/dist/runtime-assets/node-pty/lib/eventEmitter2.js +0 -47
- package/dist/runtime-assets/node-pty/lib/index.js +0 -52
- package/dist/runtime-assets/node-pty/lib/interfaces.js +0 -7
- package/dist/runtime-assets/node-pty/lib/shared/conout.js +0 -11
- package/dist/runtime-assets/node-pty/lib/terminal.js +0 -190
- package/dist/runtime-assets/node-pty/lib/types.js +0 -7
- package/dist/runtime-assets/node-pty/lib/unixTerminal.js +0 -346
- package/dist/runtime-assets/node-pty/lib/utils.js +0 -39
- package/dist/runtime-assets/node-pty/lib/windowsConoutConnection.js +0 -125
- package/dist/runtime-assets/node-pty/lib/windowsPtyAgent.js +0 -320
- package/dist/runtime-assets/node-pty/lib/windowsTerminal.js +0 -199
- package/dist/runtime-assets/node-pty/lib/worker/conoutSocketWorker.js +0 -22
- package/dist/runtime-assets/node-pty/package.json +0 -64
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/dist/runtime-build-info.d.ts +0 -10
- package/dist/runtime-build-info.js +0 -63
- package/dist/runtime-build-info.js.map +0 -1
- package/dist/runtime-bundle.d.ts +0 -22
- package/dist/runtime-bundle.js +0 -158
- package/dist/runtime-bundle.js.map +0 -1
- package/dist/runtime-cli-install.d.ts +0 -153
- package/dist/runtime-cli-install.js +0 -675
- package/dist/runtime-cli-install.js.map +0 -1
- package/dist/runtime-cli.d.ts +0 -14
- package/dist/runtime-cli.js +0 -416
- package/dist/runtime-cli.js.map +0 -1
- package/dist/runtime-client-store.d.ts +0 -75
- package/dist/runtime-client-store.js +0 -372
- package/dist/runtime-client-store.js.map +0 -1
- package/dist/runtime-client.d.ts +0 -236
- package/dist/runtime-client.js +0 -1267
- package/dist/runtime-client.js.map +0 -1
- package/dist/runtime-connection.d.ts +0 -22
- package/dist/runtime-connection.js +0 -93
- package/dist/runtime-connection.js.map +0 -1
- package/dist/runtime-coordinator.d.ts +0 -107
- package/dist/runtime-coordinator.js +0 -1180
- package/dist/runtime-coordinator.js.map +0 -1
- package/dist/runtime-credential-profiles.d.ts +0 -87
- package/dist/runtime-credential-profiles.js +0 -304
- package/dist/runtime-credential-profiles.js.map +0 -1
- package/dist/runtime-general-protocol.d.ts +0 -22
- package/dist/runtime-general-protocol.js +0 -57
- package/dist/runtime-general-protocol.js.map +0 -1
- package/dist/runtime-general-workspace.d.ts +0 -17
- package/dist/runtime-general-workspace.js +0 -213
- package/dist/runtime-general-workspace.js.map +0 -1
- package/dist/runtime-install.d.ts +0 -50
- package/dist/runtime-install.js +0 -189
- package/dist/runtime-install.js.map +0 -1
- package/dist/runtime-pane-assets.d.ts +0 -17
- package/dist/runtime-pane-assets.js +0 -23
- package/dist/runtime-pane-assets.js.map +0 -1
- package/dist/runtime-pane-boot.d.ts +0 -9
- package/dist/runtime-pane-boot.js +0 -47
- package/dist/runtime-pane-boot.js.map +0 -1
- package/dist/runtime-pane-codex-index.d.ts +0 -10
- package/dist/runtime-pane-codex-index.js +0 -151
- package/dist/runtime-pane-codex-index.js.map +0 -1
- package/dist/runtime-pane-config.d.ts +0 -16
- package/dist/runtime-pane-config.js +0 -54
- package/dist/runtime-pane-config.js.map +0 -1
- package/dist/runtime-pane-host.d.ts +0 -63
- package/dist/runtime-pane-host.js +0 -467
- package/dist/runtime-pane-host.js.map +0 -1
- package/dist/runtime-pane-job-owner.d.ts +0 -1
- package/dist/runtime-pane-job-owner.js +0 -29
- package/dist/runtime-pane-job-owner.js.map +0 -1
- package/dist/runtime-pane-job.ps1 +0 -116
- package/dist/runtime-pane-link.d.ts +0 -47
- package/dist/runtime-pane-link.js +0 -338
- package/dist/runtime-pane-link.js.map +0 -1
- package/dist/runtime-pane-mcp-protocol.d.ts +0 -32
- package/dist/runtime-pane-mcp-protocol.js +0 -39
- package/dist/runtime-pane-mcp-protocol.js.map +0 -1
- package/dist/runtime-pane-mcp-relay.d.ts +0 -18
- package/dist/runtime-pane-mcp-relay.js +0 -80
- package/dist/runtime-pane-mcp-relay.js.map +0 -1
- package/dist/runtime-pane-mcp.d.ts +0 -55
- package/dist/runtime-pane-mcp.js +0 -153
- package/dist/runtime-pane-mcp.js.map +0 -1
- package/dist/runtime-pane-native.d.ts +0 -75
- package/dist/runtime-pane-native.js +0 -114
- package/dist/runtime-pane-native.js.map +0 -1
- package/dist/runtime-pane-output.d.ts +0 -19
- package/dist/runtime-pane-output.js +0 -53
- package/dist/runtime-pane-output.js.map +0 -1
- package/dist/runtime-pane-port.d.ts +0 -144
- package/dist/runtime-pane-port.js +0 -574
- package/dist/runtime-pane-port.js.map +0 -1
- package/dist/runtime-pane-private.d.ts +0 -14
- package/dist/runtime-pane-private.js +0 -51
- package/dist/runtime-pane-private.js.map +0 -1
- package/dist/runtime-pane-private.ps1 +0 -14
- package/dist/runtime-pane-process.d.ts +0 -4
- package/dist/runtime-pane-process.js +0 -117
- package/dist/runtime-pane-process.js.map +0 -1
- package/dist/runtime-pane-protocol.d.ts +0 -182
- package/dist/runtime-pane-protocol.js +0 -217
- package/dist/runtime-pane-protocol.js.map +0 -1
- package/dist/runtime-pane-quota-history.d.ts +0 -6
- package/dist/runtime-pane-quota-history.js +0 -44
- package/dist/runtime-pane-quota-history.js.map +0 -1
- package/dist/runtime-pane-screen.d.ts +0 -19
- package/dist/runtime-pane-screen.js +0 -76
- package/dist/runtime-pane-screen.js.map +0 -1
- package/dist/runtime-pane-service.d.ts +0 -16
- package/dist/runtime-pane-service.js +0 -256
- package/dist/runtime-pane-service.js.map +0 -1
- package/dist/runtime-pane-stdio-protocol.d.ts +0 -54
- package/dist/runtime-pane-stdio-protocol.js +0 -94
- package/dist/runtime-pane-stdio-protocol.js.map +0 -1
- package/dist/runtime-pane-stdio.d.ts +0 -3
- package/dist/runtime-pane-stdio.js +0 -123
- package/dist/runtime-pane-stdio.js.map +0 -1
- package/dist/runtime-pane-store.d.ts +0 -43
- package/dist/runtime-pane-store.js +0 -176
- package/dist/runtime-pane-store.js.map +0 -1
- package/dist/runtime-pane-transcript-protocol.d.ts +0 -43
- package/dist/runtime-pane-transcript-protocol.js +0 -58
- package/dist/runtime-pane-transcript-protocol.js.map +0 -1
- package/dist/runtime-pane-transcript.d.ts +0 -50
- package/dist/runtime-pane-transcript.js +0 -666
- package/dist/runtime-pane-transcript.js.map +0 -1
- package/dist/runtime-pane-worker.d.ts +0 -1
- package/dist/runtime-pane-worker.js +0 -167
- package/dist/runtime-pane-worker.js.map +0 -1
- package/dist/runtime-profile-ownership.d.ts +0 -66
- package/dist/runtime-profile-ownership.js +0 -391
- package/dist/runtime-profile-ownership.js.map +0 -1
- package/dist/runtime-protocol.d.ts +0 -263
- package/dist/runtime-protocol.js +0 -89
- package/dist/runtime-protocol.js.map +0 -1
- package/dist/runtime-remote-accounts.d.ts +0 -197
- package/dist/runtime-remote-accounts.js +0 -663
- package/dist/runtime-remote-accounts.js.map +0 -1
- package/dist/runtime-remote-setup.d.ts +0 -105
- package/dist/runtime-remote-setup.js +0 -529
- package/dist/runtime-remote-setup.js.map +0 -1
- package/dist/runtime-signin-transport.d.ts +0 -39
- package/dist/runtime-signin-transport.js +0 -110
- package/dist/runtime-signin-transport.js.map +0 -1
- package/dist/runtime-signin.d.ts +0 -132
- package/dist/runtime-signin.js +0 -289
- package/dist/runtime-signin.js.map +0 -1
- package/dist/runtime-switches.d.ts +0 -79
- package/dist/runtime-switches.js +0 -90
- package/dist/runtime-switches.js.map +0 -1
- package/dist/runtime-transcript-delta-reader.d.ts +0 -23
- package/dist/runtime-transcript-delta-reader.js +0 -74
- package/dist/runtime-transcript-delta-reader.js.map +0 -1
- package/dist/runtime-transcript-source.d.ts +0 -36
- package/dist/runtime-transcript-source.js +0 -189
- package/dist/runtime-transcript-source.js.map +0 -1
- package/dist/runtime-update-activity.d.ts +0 -21
- package/dist/runtime-update-activity.js +0 -51
- package/dist/runtime-update-activity.js.map +0 -1
- package/dist/runtime-update-artifact.d.ts +0 -31
- package/dist/runtime-update-artifact.js +0 -252
- package/dist/runtime-update-artifact.js.map +0 -1
- package/dist/runtime-update-attention.d.ts +0 -4
- package/dist/runtime-update-attention.js +0 -11
- package/dist/runtime-update-attention.js.map +0 -1
- package/dist/runtime-update-controller.d.ts +0 -75
- package/dist/runtime-update-controller.js +0 -691
- package/dist/runtime-update-controller.js.map +0 -1
- package/dist/runtime-update-install.d.ts +0 -31
- package/dist/runtime-update-install.js +0 -205
- package/dist/runtime-update-install.js.map +0 -1
- package/dist/runtime-update-ipc.d.ts +0 -42
- package/dist/runtime-update-ipc.js +0 -144
- package/dist/runtime-update-ipc.js.map +0 -1
- package/dist/runtime-update-journal.d.ts +0 -49
- package/dist/runtime-update-journal.js +0 -128
- package/dist/runtime-update-journal.js.map +0 -1
- package/dist/runtime-update-lock.d.ts +0 -48
- package/dist/runtime-update-lock.js +0 -232
- package/dist/runtime-update-lock.js.map +0 -1
- package/dist/runtime-update-owners.d.ts +0 -29
- package/dist/runtime-update-owners.js +0 -240
- package/dist/runtime-update-owners.js.map +0 -1
- package/dist/runtime-update-protocol.d.ts +0 -15
- package/dist/runtime-update-protocol.js +0 -13
- package/dist/runtime-update-protocol.js.map +0 -1
- package/dist/runtime-update-status.d.ts +0 -30
- package/dist/runtime-update-status.js +0 -31
- package/dist/runtime-update-status.js.map +0 -1
- package/dist/runtime-windows-bridge.d.ts +0 -42
- package/dist/runtime-windows-bridge.js +0 -167
- package/dist/runtime-windows-bridge.js.map +0 -1
- package/dist/service-drain.d.ts +0 -19
- package/dist/service-drain.js +0 -64
- package/dist/service-drain.js.map +0 -1
- package/dist/settings-route-lifetime.d.ts +0 -14
- package/dist/settings-route-lifetime.js +0 -48
- package/dist/settings-route-lifetime.js.map +0 -1
- package/dist/signin-keepalive.d.ts +0 -205
- package/dist/signin-keepalive.js +0 -680
- package/dist/signin-keepalive.js.map +0 -1
- package/dist/tmux-binary.d.ts +0 -59
- package/dist/tmux-binary.js +0 -189
- package/dist/tmux-binary.js.map +0 -1
- package/dist/tmux-legacy.d.ts +0 -94
- package/dist/tmux-legacy.js +0 -309
- package/dist/tmux-legacy.js.map +0 -1
- package/dist/tmux-pane-host.d.ts +0 -26
- package/dist/tmux-pane-host.js +0 -25
- package/dist/tmux-pane-host.js.map +0 -1
- package/dist/tmux-rollback.d.ts +0 -31
- package/dist/tmux-rollback.js +0 -72
- package/dist/tmux-rollback.js.map +0 -1
- package/dist/tmux-server.d.ts +0 -102
- package/dist/tmux-server.js +0 -248
- package/dist/tmux-server.js.map +0 -1
- package/dist/transcript-needles.d.ts +0 -42
- package/dist/transcript-needles.js +0 -166
- package/dist/transcript-needles.js.map +0 -1
- package/dist/transcript-records.d.ts +0 -22
- package/dist/transcript-records.js +0 -144
- package/dist/transcript-records.js.map +0 -1
- package/dist/ui/account-identity.js +0 -27
- package/dist/ui/accounts-keepalive.js +0 -118
- package/dist/ui/accounts-manage.js +0 -255
- package/dist/ui/accounts-view.js +0 -416
- package/dist/ui/agent-proposals.js +0 -90
- package/dist/ui/agent-runtime-settings.js +0 -69
- package/dist/ui/agent-runtime.js +0 -124
- package/dist/ui/cli-picker.js +0 -42
- package/dist/ui/credential-profile-select.js +0 -54
- package/dist/ui/fleet-office-dialogue.d.ts +0 -30
- package/dist/ui/fleet-office-dialogue.js +0 -382
- package/dist/ui/fleet-task-menu.js +0 -188
- package/dist/ui/fleet-task-stats.js +0 -124
- package/dist/ui/fleet-task-view.js +0 -340
- package/dist/ui/general-location.js +0 -85
- package/dist/ui/hub-agent-copy.js +0 -23
- package/dist/ui/hub-attachments.js +0 -90
- package/dist/ui/hub-button-actions.js +0 -65
- package/dist/ui/hub-chat-store.js +0 -164
- package/dist/ui/hub-chat-strings.js +0 -77
- package/dist/ui/hub-client.js +0 -388
- package/dist/ui/hub-grant-strings.js +0 -13
- package/dist/ui/hub-group-policy.js +0 -170
- package/dist/ui/hub-group-strings.js +0 -97
- package/dist/ui/hub-owner-strings.js +0 -55
- package/dist/ui/hub-pairing-progress-strings.js +0 -15
- package/dist/ui/hub-preview.js +0 -101
- package/dist/ui/hub-provider-guidance.js +0 -31
- package/dist/ui/hub-quick-pairing.js +0 -202
- package/dist/ui/hub-quick-strings.js +0 -43
- package/dist/ui/hub-quota.js +0 -85
- package/dist/ui/hub-read-strings.js +0 -7
- package/dist/ui/hub-strings.js +0 -164
- package/dist/ui/hub-switcher.js +0 -27
- package/dist/ui/hub-welcome.js +0 -99
- package/dist/ui/machine-signin.js +0 -56
- package/dist/ui/native-instance-settings.js +0 -44
- package/dist/ui/native-pane-recovery.js +0 -45
- package/dist/ui/panel-hub.js +0 -796
- package/dist/ui/panel-runtimes.js +0 -446
- package/dist/ui/panel-windows-agent.js +0 -87
- package/dist/ui/panel-windows-cli.js +0 -189
- package/dist/ui/provider-marks.js +0 -83
- package/dist/ui/runtime-catalog.js +0 -55
- package/dist/ui/runtime-cli-install.js +0 -134
- package/dist/ui/runtime-commands.d.ts +0 -4
- package/dist/ui/runtime-commands.js +0 -59
- package/dist/ui/runtime-update-commands.d.ts +0 -2
- package/dist/ui/runtime-update-commands.js +0 -11
- package/dist/ui/runtime-update-status.js +0 -53
- package/dist/ui/settings-access-strings.js +0 -42
- package/dist/ui/settings-agent-filters.js +0 -94
- package/dist/ui/settings-build-version.js +0 -35
- package/dist/ui/settings-devices.js +0 -249
- package/dist/ui/settings-hub-browser-certificate.js +0 -76
- package/dist/ui/settings-hub-membership.js +0 -92
- package/dist/ui/settings-hub-retention.js +0 -54
- package/dist/ui/settings-hub-section.js +0 -60
- package/dist/ui/settings-hub.js +0 -249
- package/dist/ui/settings-layout.js +0 -246
- package/dist/ui/settings-outside.js +0 -242
- package/dist/ui/settings-restart-strings.js +0 -17
- package/dist/ui/settings-shared-strings.js +0 -143
- package/dist/ui/settings-shared.js +0 -345
- package/dist/ui/settings-shortcuts.js +0 -65
- package/dist/ui/shared/accounts-keepalive.css +0 -12
- package/dist/ui/shared/accounts.css +0 -78
- package/dist/ui/shared/chat-composer.js +0 -68
- package/dist/ui/shared/chat-md-strings.js +0 -9
- package/dist/ui/shared/chat-render.js +0 -682
- package/dist/ui/shared/chat-strings.js +0 -333
- package/dist/ui/shared/chat-thread.js +0 -969
- package/dist/ui/shared/chat-time.js +0 -80
- package/dist/ui/shared/html-attachment.js +0 -42
- package/dist/ui/shared/hub-chat.css +0 -86
- package/dist/ui/shared/hub-groups.css +0 -26
- package/dist/ui/shared/hub-owner.css +0 -33
- package/dist/ui/shared/hub-quota.css +0 -8
- package/dist/ui/shared/hub-signin.css +0 -24
- package/dist/ui/shared/hub.css +0 -72
- package/dist/ui/shared/machine-name.js +0 -13
- package/dist/ui/shared/page-head.js +0 -8
- package/dist/ui/shared/preview-pages.js +0 -41
- package/dist/ui/shared/preview-panel-actions.js +0 -168
- package/dist/ui/shared/preview-panel.js +0 -565
- package/dist/ui/shared/preview-versions.js +0 -155
- package/dist/ui/shared/preview.js +0 -476
- package/dist/ui/shared/qrcode.module.js +0 -2237
- package/dist/ui/shared/runtime-install.css +0 -30
- package/dist/ui/shared/settings-width.js +0 -31
- package/dist/ui/shared/side-rail.js +0 -15
- package/dist/ui/shared/task-board.css +0 -95
- package/dist/ui/shared/usage-meter.js +0 -84
- package/dist/ui/shared/vendor/qrcode-generator.LICENSE +0 -27
- package/dist/ui/shared/workspace-follow.css +0 -19
- package/dist/ui/shared/workspace.css +0 -20
- package/dist/ui/windows-agents-nav.js +0 -2
- package/dist/ui/windows-cli-catalog.js +0 -108
- package/dist/ui/workspace-follow-strings.js +0 -28
- package/dist/ui/workspace-panel.js +0 -378
- package/dist/ui/workspace-strings.js +0 -35
- package/dist/web-device-login.d.ts +0 -153
- package/dist/web-device-login.js +0 -278
- package/dist/web-device-login.js.map +0 -1
- package/dist/web-remote-access.d.ts +0 -158
- package/dist/web-remote-access.js +0 -377
- package/dist/web-remote-access.js.map +0 -1
- package/dist/web-signin-link.d.ts +0 -42
- package/dist/web-signin-link.js +0 -110
- package/dist/web-signin-link.js.map +0 -1
- package/dist/windows-agents.d.ts +0 -127
- package/dist/windows-agents.js +0 -491
- package/dist/windows-agents.js.map +0 -1
- package/dist/windows-cli-api.d.ts +0 -48
- package/dist/windows-cli-api.js +0 -206
- package/dist/windows-cli-api.js.map +0 -1
- package/dist/windows-cli-providers.d.ts +0 -106
- package/dist/windows-cli-providers.js +0 -424
- package/dist/windows-cli-providers.js.map +0 -1
- package/dist/windows-cli-worker.d.ts +0 -85
- package/dist/windows-cli-worker.js +0 -585
- package/dist/windows-cli-worker.js.map +0 -1
- package/dist/windows-cli.d.ts +0 -126
- package/dist/windows-cli.js +0 -416
- package/dist/windows-cli.js.map +0 -1
- package/dist/windows-native-mcp.d.ts +0 -19
- package/dist/windows-native-mcp.js +0 -143
- package/dist/windows-native-mcp.js.map +0 -1
- package/dist/windows-pane-mcp.d.ts +0 -26
- package/dist/windows-pane-mcp.js +0 -187
- package/dist/windows-pane-mcp.js.map +0 -1
- package/dist/workspace-follow-parse.d.ts +0 -36
- package/dist/workspace-follow-parse.js +0 -208
- package/dist/workspace-follow-parse.js.map +0 -1
- package/dist/workspace-follow-records.d.ts +0 -17
- package/dist/workspace-follow-records.js +0 -88
- package/dist/workspace-follow-records.js.map +0 -1
- package/dist/workspace-follow.d.ts +0 -41
- package/dist/workspace-follow.js +0 -143
- package/dist/workspace-follow.js.map +0 -1
- package/dist/wsl-detect.d.ts +0 -1
- package/dist/wsl-detect.js +0 -20
- package/dist/wsl-detect.js.map +0 -1
- package/launcher/launchd-session-type.cjs +0 -14
- package/launcher/tmux-bundle.cjs +0 -263
- package/templates/runtime-assets/conpty-LICENSE +0 -21
- package/templates/runtime-assets/conpty-NOTICE.md +0 -503
- package/templates/runtime-assets/local-pane-stage.ps1 +0 -101
- package/templates/runtime-assets/runtime-pane-job.ps1 +0 -116
- package/templates/runtime-assets/runtime-pane-private.ps1 +0 -14
- package/templates/runtime-assets/xterm-LICENSE +0 -21
- package/templates/runtime-install/install.ps1 +0 -411
|
@@ -15,8 +15,6 @@ import { DEFAULT_SCHEMA, impactOf, sameValue } from "./settings-model.js";
|
|
|
15
15
|
import { editsOf, keepDraft, syncStage } from "./settings-draft.js";
|
|
16
16
|
import { resetWebAuthorization } from "/assets/web-authorize.js";
|
|
17
17
|
import "./settings-strings.js";
|
|
18
|
-
import { layoutText } from "./settings-layout.js";
|
|
19
|
-
import "./settings-access-strings.js"; // revAuthorityBriefWeb / revAuthorityEnabledWeb / revAuthorityRule: an older settings-layout.js from a tab that visited Fleet first lacks them (#3061)
|
|
20
18
|
|
|
21
19
|
const tn = (k, ...v) => t(`settings.${k}`, ...v);
|
|
22
20
|
|
|
@@ -67,9 +65,7 @@ export function WebAuthorityCard({ ctx, staged, disabled = false }) {
|
|
|
67
65
|
syncStage(ctx, "verified_authority", body ? { label: tn("vaTitle"), count: Object.keys(body).length,
|
|
68
66
|
impact: impactOf(ctx.schema || DEFAULT_SCHEMA, "web.verified_authority"), request: { method: "PUT", url: "/api/settings/fleet/web", body: { verified_authority: body } } } : null);
|
|
69
67
|
}, [f, original, overview]);
|
|
70
|
-
|
|
71
|
-
const webOnly = !!overview && overview.webOnly === true;
|
|
72
|
-
const card = (body) => html`<section class="card s-web-authority"><h3>${tn("vaTitle")}</h3><p class="note s-authority-brief">${layoutText(webOnly ? "revAuthorityBriefWeb" : "revAuthorityBrief")}</p><p class="note s-authority-rule">${layoutText("revAuthorityRule")}</p>${body}<details class="s-setting-details"><summary>${layoutText("revAuthorityDetails")}</summary><p class="note">${tn("vaHint")}</p><p class="note">${tn("vaEnabledHint")}</p><p class="note">${tn("vaLoopbackOnlyHint")}</p></details></section>`;
|
|
68
|
+
const card = (body) => html`<section class="card s-web-authority"><h3>${tn("vaTitle")}</h3><p class="note">${tn("vaHint")}</p>${body}</section>`;
|
|
73
69
|
if (failed) return card(html`<p class="note" role="status">${tn("vaLoadFailed")} <button type="button" class="btn btn-sm" onClick=${load}>${t("app.retry")}</button></p>`);
|
|
74
70
|
if (!overview || !f) return card(html`<${Skeleton} variant="rows" lines=${3} />`);
|
|
75
71
|
|
|
@@ -91,28 +87,26 @@ export function WebAuthorityCard({ ctx, staged, disabled = false }) {
|
|
|
91
87
|
|
|
92
88
|
return card(html`<fieldset class="s-va-fields" disabled=${disabled}>
|
|
93
89
|
${stuckOff ? html`<p class="note s-va-warn" role="status" id="vaStuckOff">${tn("vaStuckOff")}</p>` : null}
|
|
94
|
-
<label class=${fc("check", "enabled")}><input
|
|
95
|
-
<p class="note">${
|
|
96
|
-
<label class=${fc("check", "loopbackOnly")}><input
|
|
97
|
-
<p class="note">${
|
|
90
|
+
<label class=${fc("check", "enabled")}><input id="vaEnabled" type="checkbox" checked=${f.enabled} onChange=${(e) => set({ enabled: e.target.checked })} /><span>${tn("vaEnabled")}</span></label>
|
|
91
|
+
<p class="note">${tn("vaEnabledHint")}</p>
|
|
92
|
+
<label class=${fc("check", "loopbackOnly")}><input id="vaLoopbackOnly" type="checkbox" checked=${f.loopbackOnly} onChange=${(e) => set({ loopbackOnly: e.target.checked })} /><span>${tn("vaLoopbackOnly")}</span></label>
|
|
93
|
+
<p class="note">${tn("vaLoopbackOnlyHint")}</p>
|
|
98
94
|
${warnHosts ? html`<p class="note s-va-warn" role="status" id="vaLanWarning">${tn("vaLanWarning", overview.lanHosts.join(", "))}</p>` : null}
|
|
95
|
+
${overview.namedHost || original.namedLink ? html`<label class=${fc("check", "namedLink")}><input id="vaNamedLink" type="checkbox" checked=${f.namedLink} onChange=${(e) => set({ namedLink: e.target.checked })} /><span>${tn("vaNamedLink", overview.namedHost || "—")}</span></label>
|
|
96
|
+
<p class="note">${tn("vaNamedLinkHint")}</p>` : null}
|
|
97
|
+
${/* §0.3: always shown — any fleet can open the temporary public link with /web. */ ""}
|
|
98
|
+
<label class=${fc("check", "quickLink")}><input id="vaQuickLink" type="checkbox" checked=${f.quickLink} onChange=${(e) => set({ quickLink: e.target.checked })} /><span>${tn("vaQuickLink")}</span></label>
|
|
99
|
+
<p class="note">${tn("vaQuickLinkHint")}</p>
|
|
99
100
|
<div class=${fc("field", "hours")}><label for="vaHours">${tn("vaHours", overview.hours.min, overview.hours.max)}</label>
|
|
100
101
|
<input id="vaHours" type="number" min=${overview.hours.min} max=${overview.hours.max} step="any"
|
|
101
102
|
class=${hoursError ? "invalid" : ""} value=${hoursText} onInput=${(e) => set({ hours: onHoursText(e.target.value) })} />
|
|
102
103
|
<${Feedback} error=${hoursError} />
|
|
103
104
|
${hoursText.trim() === "" ? html`<${InEffect} text=${tn("hoursValue", overview.hours.default)} />` : null}</div>
|
|
104
|
-
<p class="note s-authority-public-warning">${layoutText("revAuthorityPublicWarning")}</p>
|
|
105
|
-
<details class="s-authority-links"><summary>${layoutText("revAuthorityLinks")}</summary><div> ${overview.namedHost || original.namedLink ? html`<label class=${fc("check", "namedLink")}><input class="s-ui-toggle" id="vaNamedLink" type="checkbox" checked=${f.namedLink} onChange=${(e) => set({ namedLink: e.target.checked })} /><span>${tn("vaNamedLink", overview.namedHost || "—")}</span></label>
|
|
106
|
-
<p class="note">${tn("vaNamedLinkHint")}</p>` : null}
|
|
107
|
-
${/* §0.3: always shown — any fleet can open the temporary public link with /web. */ ""}
|
|
108
|
-
<label class=${fc("check", "quickLink")}><input class="s-ui-toggle" id="vaQuickLink" type="checkbox" checked=${f.quickLink} onChange=${(e) => set({ quickLink: e.target.checked })} /><span>${tn("vaQuickLink")}</span></label>
|
|
109
|
-
<p class="note">${tn("vaQuickLinkHint")}</p>
|
|
110
|
-
</div></details>
|
|
111
105
|
<h4>${tn("vaSessionsTitle")}</h4>
|
|
112
106
|
${overview.authorized.length
|
|
113
107
|
? html`<ul class="s-va-sessions" id="vaSessions">${overview.authorized.map((a) => html`<li key=${a.handle} data-handle=${a.handle}>
|
|
114
108
|
<strong>${a.label}</strong> <span class="note">${a.account}</span>${a.named ? html` <span class="note s-va-named">${tn("vaSessionNamed")}</span>` : null}${a.quick ? html` <span class="note s-va-named s-va-quick">${tn("vaSessionQuick")}</span>` : null}<br /><span class="note">${tn("vaSessionUntil", when(a.authorizedAt), when(a.until))}</span></li>`)}</ul>`
|
|
115
109
|
: html`<p class="note" id="vaSessionsNone">${tn("vaSessionsNone")}</p>`}
|
|
116
110
|
</fieldset>
|
|
117
|
-
<div class="save-row
|
|
111
|
+
<div class="save-row"><button type="button" class="btn btn-danger" id="vaRevoke" disabled=${disabled} onClick=${revoke}>${tn("vaRevoke")}</button></div>`);
|
|
118
112
|
}
|
|
@@ -101,8 +101,6 @@ register("app", {
|
|
|
101
101
|
opFailed: "Settings were not applied", openSettings: "Open Settings",
|
|
102
102
|
restartWaiting: "{0} saved change(s) take effect after AgEnD restarts", restartNow: "Restart now", restartLater: "Later",
|
|
103
103
|
restartConfirm: "Restart AgEnD now?\n\nEvery agent stops and starts again, work in progress is interrupted, and the panel is unreachable for up to a minute. A notice is posted to your chat channel.",
|
|
104
|
-
// S-92: a fleet with no chat connection — its restart is recorded in the dashboard's Notices instead.
|
|
105
|
-
restartConfirmWebOnly: "Restart AgEnD now?\n\nEvery agent stops and starts again, work in progress is interrupted, and the panel is unreachable for up to a minute. It is recorded in this dashboard's Notices.",
|
|
106
104
|
restartOnHost: "Restart AgEnD to use them.",
|
|
107
105
|
restartOnHostChat: "Send /restart in General to use them.",
|
|
108
106
|
restartRefused: "Restart refused: {0}",
|
|
@@ -114,7 +112,7 @@ register("app", {
|
|
|
114
112
|
confirmTitle: "Please confirm", confirmOk: "Continue", cancel: "Cancel",
|
|
115
113
|
sidePanelLeave: "Leave {0} without saving? Your changes there will be lost.", sidePanelDiscard: "Discard changes",
|
|
116
114
|
// The server's own wording (src/locale.ts needs.reason.*), so the web says what Discord says.
|
|
117
|
-
|
|
115
|
+
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: "Sign-in needed", needs_reason_dialog: "Waiting at a dialog", needs_reason_kiro_choice: "Kiro needs your decision", needs_reason_terminal_input: "May be waiting for input", needs_reason_auth_paused: "Paused: sign-in needed", needs_reason_backend_signin: "Backend sign-in needed", needs_reason_config_invalid: "Configuration file needs attention", 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_crashed: "Crashed", 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",
|
|
118
116
|
},
|
|
119
117
|
"zh-TW": {
|
|
120
118
|
brand: "AgEnD", fleet: "Fleet", fleetOverview: "Fleet 概覽", view: "檢視", settings: "設定", instances: "Instances", newInstance: "新增 instance", newAgent: "新增 Agent",
|
|
@@ -151,7 +149,6 @@ register("app", {
|
|
|
151
149
|
opFailed: "設定沒有套用", openSettings: "開啟設定",
|
|
152
150
|
restartWaiting: "{0} 項已儲存的變更要在 AgEnD 重新啟動後才會生效", restartNow: "立即重新啟動", restartLater: "稍後",
|
|
153
151
|
restartConfirm: "現在重新啟動 AgEnD?\n\n所有 agent 都會停止再啟動,進行中的工作會被中斷,面板會有最多約一分鐘無法連線。聊天頻道會收到一則通知。",
|
|
154
|
-
restartConfirmWebOnly: "現在重新啟動 AgEnD?\n\n所有 agent 都會停止再啟動,進行中的工作會被中斷,面板會有最多約一分鐘無法連線。這次重新啟動會記錄在這個儀表板的通知中。",
|
|
155
152
|
restartOnHost: "請重新啟動 AgEnD 讓它們生效。",
|
|
156
153
|
restartOnHostChat: "請在 General 傳 /restart 讓它們生效。",
|
|
157
154
|
restartRefused: "重新啟動被拒絕:{0}",
|
|
@@ -161,6 +158,6 @@ register("app", {
|
|
|
161
158
|
search: "搜尋", searchTitle: "搜尋聊天、agent 之間的訊息與任務({0})",
|
|
162
159
|
confirmTitle: "請確認", confirmOk: "繼續", cancel: "取消",
|
|
163
160
|
sidePanelLeave: "不儲存就離開「{0}」?你在那裡的修改會遺失。", sidePanelDiscard: "捨棄修改",
|
|
164
|
-
|
|
161
|
+
needs_reason_hang: "沒有回應", needs_reason_exited: "已結束", needs_reason_assist: "在終端機上等待", needs_reason_question: "正在問你問題", needs_reason_permission: "需要權限", needs_reason_dangerous_command: "危險指令待確認", needs_reason_login: "需要登入", needs_reason_dialog: "停在對話框", needs_reason_kiro_choice: "Kiro 需要你決定", needs_reason_terminal_input: "可能在等輸入", needs_reason_auth_paused: "已暫停:需要登入", needs_reason_backend_signin: "後端需要登入", needs_reason_config_invalid: "設定檔需要處理", 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_crashed: "已崩潰", 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: "卡住,在問你",
|
|
165
162
|
},
|
|
166
163
|
});
|
|
@@ -6,11 +6,11 @@ export const FLEET_TABS = ["tasks", "schedules", "teams", "org", "cache", "usage
|
|
|
6
6
|
// #2347: two groups — "You" changes only you or this browser; "Fleet" changes AgEnD for everyone.
|
|
7
7
|
export const SETTINGS_GROUPS = Object.freeze([
|
|
8
8
|
Object.freeze({ id: "you", sections: Object.freeze(["preferences", "look"]) }),
|
|
9
|
-
Object.freeze({ id: "fleet", sections: Object.freeze(["agents", "
|
|
9
|
+
Object.freeze({ id: "fleet", sections: Object.freeze(["agents", "agent-defaults", "notifications", "chat", "web-dashboard", "access", "advanced"]) }),
|
|
10
10
|
]);
|
|
11
11
|
export const SETTINGS_SECTIONS = Object.freeze(SETTINGS_GROUPS.flatMap((g) => g.sections));
|
|
12
12
|
/** #2347: the sections' names before the regrouping (links and bookmarks keep working) and where each one went. */
|
|
13
|
-
export const LEGACY_SETTINGS = Object.freeze({ device: "preferences", appearance: "look", general: "agent-defaults", bots: "chat", classic: "chat#classicbot", web: "access"
|
|
13
|
+
export const LEGACY_SETTINGS = Object.freeze({ device: "preferences", appearance: "look", general: "agent-defaults", bots: "chat", classic: "chat#classicbot", web: "access" });
|
|
14
14
|
const legacySection = (name) => (Object.prototype.hasOwnProperty.call(LEGACY_SETTINGS, name) ? LEGACY_SETTINGS[name] : null);
|
|
15
15
|
const MAX_INSTANCE_NAME = 128;
|
|
16
16
|
const PATH_SEPARATOR_OR_CONTROL = /[/\\\u0000-\u001f\u007f]/;
|
|
@@ -28,16 +28,9 @@ export function isSafeInstanceName(name) {
|
|
|
28
28
|
*/
|
|
29
29
|
export function parseRoute(pathname) {
|
|
30
30
|
if (pathname === "/ui") return { panel: "chat", instance: null };
|
|
31
|
-
if (pathname === "/ui/windows-cli") return { panel: "settings", section: "runtimes" };
|
|
32
|
-
const windowsAgent = /^\/ui\/windows-agents\/([a-f0-9-]{36})$/i.exec(pathname);
|
|
33
|
-
if (windowsAgent) return { panel: "windows-agent", instance: windowsAgent[1] };
|
|
34
31
|
if (pathname === "/ui/fleet") return { panel: "fleet", tab: "tasks" };
|
|
35
32
|
if (pathname === "/ui/needs") return { panel: "needs" };
|
|
36
33
|
if (pathname === NOTICES_PATH) return { panel: "notices" }; // #2910 D2: a web-only fleet's Notices
|
|
37
|
-
// AgEnD Hub P1: a Hub workspace's pages (served only by a Hub's own listener; this fleet's answers not found).
|
|
38
|
-
if (pathname === "/ui/hub") return { panel: "hub", tab: "ask" };
|
|
39
|
-
if (pathname === "/ui/hub/exposures") return { panel: "hub", tab: "exposures" };
|
|
40
|
-
if (pathname === "/ui/hub/admin") return { panel: "hub", tab: "admin" };
|
|
41
34
|
// #1523 N2: one instance's Details (`agent` is no Fleet tab; a tab is one segment).
|
|
42
35
|
let m = /^\/ui\/fleet\/agent\/([^/]+)$/.exec(pathname);
|
|
43
36
|
if (m) return named("details", m[1]);
|
|
@@ -115,12 +108,10 @@ export function legacySettingsTarget(pathname) {
|
|
|
115
108
|
}
|
|
116
109
|
export function routePath(route) {
|
|
117
110
|
if (!route) return "/ui";
|
|
118
|
-
if (route.panel === "windows-agent") return `/ui/windows-agents/${route.instance}`;
|
|
119
111
|
if (route.panel === "fleet") return fleetPath(route.tab);
|
|
120
112
|
if (route.panel === "settings") return settingsPath(route.section);
|
|
121
113
|
if (route.panel === "needs") return NEEDS_PATH;
|
|
122
114
|
if (route.panel === "notices") return NOTICES_PATH;
|
|
123
|
-
if (route.panel === "hub") return route.tab === "exposures" ? "/ui/hub/exposures" : route.tab === "admin" ? "/ui/hub/admin" : "/ui/hub";
|
|
124
115
|
if (route.panel === "view") return viewPath(route.instance);
|
|
125
116
|
if (route.panel === "details") return detailsPath(route.instance);
|
|
126
117
|
if (route.panel === "log") return logPath(route.instance);
|
|
@@ -153,7 +144,7 @@ export function routeKey(route) {
|
|
|
153
144
|
if (!route) return "none";
|
|
154
145
|
if (route.panel === "needs") return "needs:";
|
|
155
146
|
if (route.panel === "notices") return "notices:";
|
|
156
|
-
return `${route.panel}:${route.panel === "fleet"
|
|
147
|
+
return `${route.panel}:${route.panel === "fleet" ? route.tab : route.panel === "settings" ? route.section : route.instance ?? ""}`;
|
|
157
148
|
}
|
|
158
149
|
|
|
159
150
|
/**
|
|
@@ -19,9 +19,6 @@ const ago = (ms) => { const m = Math.round((Date.now() - ms) / 60000); return m
|
|
|
19
19
|
export function SessionMenu() {
|
|
20
20
|
const [me, setMe] = useState(undefined); // undefined: not read yet; null: signed out
|
|
21
21
|
const [sessions, setSessions] = useState(null);
|
|
22
|
-
// #3061 (P2b): on a web-only fleet only the verified owner ends the OTHER devices (the server says so with the list and
|
|
23
|
-
// refuses anyone else regardless); a session that is not one still sees them and can sign itself out.
|
|
24
|
-
const [mayEndOthers, setMayEndOthers] = useState(true);
|
|
25
22
|
const [open, setOpen] = useState(false);
|
|
26
23
|
const [error, setError] = useState(false);
|
|
27
24
|
const btn = useRef(null), pop = useRef(null);
|
|
@@ -30,7 +27,6 @@ export function SessionMenu() {
|
|
|
30
27
|
setMe(m);
|
|
31
28
|
const s = m ? await getJson("/auth/sessions") : null;
|
|
32
29
|
setSessions(s && s.sessions ? s.sessions : null);
|
|
33
|
-
setMayEndOthers(!(s && s.canEndOthers === false));
|
|
34
30
|
}
|
|
35
31
|
useEffect(() => { refresh(); }, []);
|
|
36
32
|
useEffect(() => {
|
|
@@ -61,10 +57,10 @@ export function SessionMenu() {
|
|
|
61
57
|
<${AuthorizeChip} />
|
|
62
58
|
${rows.length > 1 ? html`<h3>${t("app.devices")}</h3><ul class="devices">${rows.map(s => html`<li key=${s.handle}>
|
|
63
59
|
<span class="grow"><span class="name">${s.label}${s.current ? ` · ${t("app.thisDevice")}` : ""}</span><span class="when">${t("app.lastActive", ago(s.lastSeen))}</span></span>
|
|
64
|
-
${s.current
|
|
60
|
+
${s.current ? null : html`<button type="button" class="btn btn-sm danger" onClick=${() => act("DELETE", `/auth/sessions/${encodeURIComponent(s.handle)}`, refresh)}>${t("app.signOut")}</button>`}</li>`)}</ul>` : null}
|
|
65
61
|
<div class="row">
|
|
66
62
|
<button type="button" class="btn" onClick=${() => act("POST", "/auth/logout", () => { location.href = "/signin"; })}><${Icon} name="user" size=${16} />${t("app.signOut")}</button>
|
|
67
|
-
${rows.length > 1
|
|
63
|
+
${rows.length > 1 ? html`<button type="button" class="btn danger" onClick=${() => act("DELETE", "/auth/sessions", () => { location.href = "/signin"; })}>${t("app.signOutAll")}</button>` : null}
|
|
68
64
|
</div>`}
|
|
69
65
|
${error ? html`<p class="err" role="alert">${t("app.failed")}</p>` : null}
|
|
70
66
|
</div>` : null}
|
|
@@ -6,7 +6,7 @@ import { Icon } from "./ui-icons.js";
|
|
|
6
6
|
import { Toasts } from "./ui-toast.js";
|
|
7
7
|
import { ConfirmHost, confirmDialog } from "./ui-confirm.js";
|
|
8
8
|
import { ColorDialogHost } from "./identity-color.js";
|
|
9
|
-
import { t, lang, setLang, onLang
|
|
9
|
+
import { t, lang, setLang, onLang } from "./app-i18n.js";
|
|
10
10
|
import { appStore, createStore, guestBadge, guestPage, guestTrusted, useStore } from "./app-store.js";
|
|
11
11
|
import { navStore } from "./app-nav.js";
|
|
12
12
|
import { toast } from "./ui-toast.js";
|
|
@@ -22,7 +22,6 @@ import { useWebAuthorization } from "./web-authorize.js";
|
|
|
22
22
|
import { RightRail, sidePanelStore } from "./side-panel.js";
|
|
23
23
|
import { OwnerCssKeepBar } from "./owner-css.js";
|
|
24
24
|
import { AgentWidget, fleetBinds, sidebarWidget, sidebarWidgetStore } from "./agent-widget.js";
|
|
25
|
-
import { initSettingsContentWidth } from "./settings-width.js";
|
|
26
25
|
|
|
27
26
|
/** Shell state shared with panels: the phone drawer, the collapsed sidebar, extensions a panel module adds. */
|
|
28
27
|
export const shellStore = createStore({ drawer: false, collapsed: readCollapsed(), keyboard: false, dialog: null, side: null, banner: null });
|
|
@@ -135,13 +134,6 @@ export function clampSidebarWidth(w, vw) {
|
|
|
135
134
|
return Math.round(Math.min(max, Math.max(SIDEBAR_W.min, w)));
|
|
136
135
|
}
|
|
137
136
|
function storedSidebarWidth() { try { const v = Number(localStorage.getItem(SIDEBAR_W_KEY)); return Number.isFinite(v) && v > 0 ? v : null; } catch { return null; } }
|
|
138
|
-
|
|
139
|
-
// #2978 merge (stale tabs, quality rule 3): Settings' content width lives in its own module — a tab opened before an
|
|
140
|
-
// upgrade keeps this shell module, and a lazily loaded Settings panel that imported these names from here would fail to
|
|
141
|
-
// load at all. Re-exported, so the shell and its callers are unchanged.
|
|
142
|
-
export { SETTINGS_CONTENT_WIDTH_KEY, SETTINGS_CONTENT_WIDTHS, DEFAULT_SETTINGS_CONTENT_WIDTH, settingsContentWidthStore,
|
|
143
|
-
initSettingsContentWidth, setSettingsContentWidth } from "./settings-width.js";
|
|
144
|
-
|
|
145
137
|
/** { width: px | null } — null: the default width (tokens.css). */
|
|
146
138
|
export const sidebarWidthStore = createStore({ width: null });
|
|
147
139
|
/** Set the width (clamped to this viewport); `save`: this device keeps it. null: back to the default, nothing kept. */
|
|
@@ -337,66 +329,6 @@ export function signInHref() {
|
|
|
337
329
|
return `/signin?next=${encodeURIComponent(here)}`;
|
|
338
330
|
}
|
|
339
331
|
|
|
340
|
-
// ── AgEnD Hub P1 (docs/design/hub-ui-client.md): the page's mark, set by the listener that served it ──
|
|
341
|
-
register("hubShell", {
|
|
342
|
-
en: { brand: "AgEnD Hub", ask: "Ask", exposures: "My exposures", admin: "Administration" },
|
|
343
|
-
"zh-TW": { brand: "AgEnD Hub", ask: "提問", exposures: "我的公開 Agent", admin: "管理" },
|
|
344
|
-
});
|
|
345
|
-
function hubMarks() {
|
|
346
|
-
const tokens = String((typeof document !== "undefined" && document.body?.dataset?.hub) || "").split(/\s+/);
|
|
347
|
-
return { hub: tokens.includes("hub"), member: tokens.includes("member") };
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* The Hub workspace's sidebar: its brand and name, the conversation list (#3226 B: the Hub's lazy module's HubNav —
|
|
351
|
-
* New chat, a filter, the rooms) and the session with its menu. A Hub module without HubNav (one from before) gets the
|
|
352
|
-
* three page links instead.
|
|
353
|
-
*/
|
|
354
|
-
function HubSidebar({ route }) {
|
|
355
|
-
const name = String(document.body?.dataset?.hubName || "").trim();
|
|
356
|
-
const tab = route && route.panel === "hub" ? route.tab : "ask";
|
|
357
|
-
const row = (key, href, icon) => html`<a class=${`side-row${tab === key ? " active" : ""}`} href=${href}
|
|
358
|
-
aria-current=${tab === key ? "page" : undefined} onClick=${closeDrawer}><${Icon} name=${icon} /><span class="grow">${t(`hubShell.${key}`)}</span></a>`;
|
|
359
|
-
return html`<aside id="sidebar" class="sidebar" aria-label=${t("app.menu")}>
|
|
360
|
-
<div class="side-head" data-trust="navigation">
|
|
361
|
-
<a class="brand hub-brand" href="/ui/hub" onClick=${closeDrawer}>${t("hubShell.brand")}${name ? html`<span class="hub-brand-name"> · ${name}</span>` : null}</a>
|
|
362
|
-
<button type="button" class="icon-btn side-collapse" onClick=${toggleSidebar} aria-label=${narrow() ? t("app.closeMenu") : t("app.collapse")} title=${narrow() ? t("app.closeMenu") : t("app.collapse")} aria-controls="sidebar"><${Icon} name="sidebar" /></button>
|
|
363
|
-
</div>
|
|
364
|
-
<nav data-trust="navigation" class="side-nav hub-side-nav" aria-label=${t("app.menu")}>
|
|
365
|
-
<${HubNavSlot} fallback=${html`${row("ask", "/ui/hub", "chat")}${row("exposures", "/ui/hub/exposures", "globe")}${row("admin", "/ui/hub/admin", "key")}`} />
|
|
366
|
-
</nav>
|
|
367
|
-
<div class="side-foot" data-trust="navigation"><${HubSessionSlot} /></div>
|
|
368
|
-
<${SidebarResize} />
|
|
369
|
-
</aside>`;
|
|
370
|
-
}
|
|
371
|
-
/** #3226 B: the conversation list from the Hub's lazy module; `fallback` until it loads, or when it has none. */
|
|
372
|
-
function HubNavSlot({ fallback }) {
|
|
373
|
-
const [mod, setMod] = useState(null);
|
|
374
|
-
const [none, setNone] = useState(false);
|
|
375
|
-
useEffect(() => { let live = true; import("/ui/js/panel-hub.js").then((m) => { if (!live) return; if (m.HubNav) setMod(() => m.HubNav); else setNone(true); }, () => { if (live) setNone(true); }); return () => { live = false; }; }, []);
|
|
376
|
-
return mod ? html`<${mod} onPick=${closeDrawer} />` : none ? fallback : null;
|
|
377
|
-
}
|
|
378
|
-
/** The Hub's own session row (S3b): who is signed in to the Hub, and Sign out — from the Hub's lazy module, never /auth/. */
|
|
379
|
-
function HubSessionSlot() {
|
|
380
|
-
const [mod, setMod] = useState(null);
|
|
381
|
-
useEffect(() => { let live = true; import("/ui/js/panel-hub.js").then((m) => { if (live && m.HubSessionMenu) setMod(() => m.HubSessionMenu); }, () => {}); return () => { live = false; }; }, []);
|
|
382
|
-
return mod ? html`<${mod} />` : null;
|
|
383
|
-
}
|
|
384
|
-
/** A member fleet's "My fleet ↔ Hub" switcher: its module loads only on a member page, and shows only once paired. */
|
|
385
|
-
function HubSwitcherSlot() {
|
|
386
|
-
const [mod, setMod] = useState(null);
|
|
387
|
-
useEffect(() => { let live = true; import("/ui/js/hub-switcher.js").then((m) => { if (live) setMod(() => m.HubSwitcher); }, () => {}); return () => { live = false; }; }, []);
|
|
388
|
-
return mod ? html`<${mod} />` : null;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
// Fleet-only lazy boundary: the Hub module graph never reaches member Settings or its private inbox.
|
|
392
|
-
function MemberPairingNoticesSlot() {
|
|
393
|
-
const [Component, setComponent] = useState(null);
|
|
394
|
-
useEffect(() => { let live = true; import("/ui/js/hub-quick-pairing.js").then(m => {
|
|
395
|
-
if (live && m.MemberPairingNotices) setComponent(() => m.MemberPairingNotices);
|
|
396
|
-
}, () => {}); return () => { live = false; }; }, []);
|
|
397
|
-
return Component ? html`<${Component} />` : null;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
332
|
function Sidebar({ route, onNewInstance, viewOnly }) {
|
|
401
333
|
const app = useStore(appStore);
|
|
402
334
|
const shell = useStore(shellStore);
|
|
@@ -406,8 +338,7 @@ function Sidebar({ route, onNewInstance, viewOnly }) {
|
|
|
406
338
|
const navLink = (panel, href, icon, label, count = 0, countText = "app.needsCount") => html`<a class=${`side-row${on(panel) ? " active" : ""}`} href=${href}
|
|
407
339
|
aria-current=${on(panel) ? "page" : undefined} aria-label=${count ? `${label} (${t(countText, count)})` : undefined} onClick=${closeDrawer}>
|
|
408
340
|
<${Icon} name=${icon} /><span class="grow">${label}</span>${count ? html`<span class="nav-count" aria-hidden="true">${count}</span>` : null}</a>`;
|
|
409
|
-
|
|
410
|
-
const needsCount = (Array.isArray(app.needs) ? app.needs.length : 0) + (Array.isArray(app.proposals) ? app.proposals.length : 0);
|
|
341
|
+
const needsCount = Array.isArray(app.needs) ? app.needs.length : 0;
|
|
411
342
|
// View-only (an anonymous reader, #1408 §3): View and a way to sign in — nothing that needs a session is rendered.
|
|
412
343
|
if (viewOnly) {
|
|
413
344
|
return html`<aside id="sidebar" class="sidebar" aria-label=${t("app.menu")}>
|
|
@@ -441,8 +372,6 @@ function Sidebar({ route, onNewInstance, viewOnly }) {
|
|
|
441
372
|
<${SidebarResize} />
|
|
442
373
|
</aside>`;
|
|
443
374
|
}
|
|
444
|
-
// AgEnD Hub P1: a Hub workspace (a Hub's own listener marked the page) has the Hub's sidebar, never the fleet's.
|
|
445
|
-
if (hubMarks().hub) return html`<${HubSidebar} route=${route} />`;
|
|
446
375
|
// #1675: the whole fleet, from anywhere — top left, so at the top of a phone's drawer too. #2183 (the user's call): the
|
|
447
376
|
// one Fleet entry ("Fleet" / "Fleet 概覽"), on the tab this device used last (the Org chart the first time); an agent's
|
|
448
377
|
// View, Log and Details are its header's tabs, so the sidebar has no "Fleet" (Details) or "View" row of its own.
|
|
@@ -454,7 +383,6 @@ function Sidebar({ route, onNewInstance, viewOnly }) {
|
|
|
454
383
|
<a class="brand" href="/ui" onClick=${closeDrawer}>${t("app.brand")}</a>
|
|
455
384
|
<button type="button" class="icon-btn side-collapse" onClick=${toggleSidebar} aria-label=${narrow() ? t("app.closeMenu") : t("app.collapse")} title=${narrow() ? t("app.closeMenu") : t("app.collapse")} aria-controls="sidebar"><${Icon} name="sidebar" /></button>
|
|
456
385
|
</div>
|
|
457
|
-
${/* AgEnD Hub P1: a member fleet's "My fleet ↔ Hub" (shown once paired; nothing loads when the switch is off) */ hubMarks().member ? html`<${HubSwitcherSlot} />` : null}
|
|
458
386
|
<nav data-trust="navigation" class="side-nav" aria-label=${t("app.menu")}>
|
|
459
387
|
${overview}
|
|
460
388
|
${navLink("needs", NEEDS_PATH, "inbox", t("app.needsNav"), needsCount)}
|
|
@@ -500,24 +428,23 @@ function ViewOnlyNav({ route }) {
|
|
|
500
428
|
* This browser's theme and language (#1604: Settings → This device; for the anonymous View reader, the footer's
|
|
501
429
|
* popover). The same stores as ever: AgendTheme (theme.js) and setLang (app-i18n.js) — only where they are shown moved.
|
|
502
430
|
*/
|
|
503
|
-
export function DevicePrefs({ labels = false
|
|
431
|
+
export function DevicePrefs({ labels = false } = {}) {
|
|
504
432
|
const [theme, setTheme] = useState(typeof AgendTheme !== "undefined" ? AgendTheme.get() : "system");
|
|
505
433
|
const [l, setL] = useState(lang());
|
|
506
434
|
const names = useStore(namesStore); // #1722
|
|
507
435
|
// #1665: what is in force, as it changes — another device's choice arriving while this is open is shown at once.
|
|
508
436
|
useEffect(() => (typeof AgendTheme !== "undefined" && typeof AgendTheme.onChange === "function" ? AgendTheme.onChange(setTheme) : undefined), []);
|
|
509
437
|
useEffect(() => onLang(setL), []);
|
|
510
|
-
const shows = (field) => fields.includes(field);
|
|
511
438
|
return html`<div class=${`prefs${labels ? " labelled" : ""}`}>
|
|
512
|
-
|
|
439
|
+
<label class="pref"><${Icon} name="sun" size=${16} /><span class=${labels ? "pref-label" : "sr-only"}>${t("app.theme")}</span>
|
|
513
440
|
<select id=${labels ? "pref-theme" : undefined} value=${theme} aria-label=${t("app.theme")} onChange=${(e) => { setTheme(e.target.value); if (typeof AgendTheme !== "undefined") AgendTheme.set(e.target.value); savePref("theme", e.target.value); }}>
|
|
514
|
-
<option value="system">${t("app.themeSystem")}</option><option value="light">${t("app.themeLight")}</option><option value="dark">${t("app.themeDark")}</option></select></label
|
|
515
|
-
|
|
441
|
+
<option value="system">${t("app.themeSystem")}</option><option value="light">${t("app.themeLight")}</option><option value="dark">${t("app.themeDark")}</option></select></label>
|
|
442
|
+
<label class="pref"><${Icon} name="globe" size=${16} /><span class=${labels ? "pref-label" : "sr-only"}>${t("app.language")}</span>
|
|
516
443
|
<select id=${labels ? "pref-lang" : undefined} value=${l} aria-label=${t("app.language")} onChange=${(e) => { setL(e.target.value); setLang(e.target.value); savePref("lang", e.target.value); }}>
|
|
517
|
-
<option value="en">English</option><option value="zh-TW">中文</option></select></label
|
|
518
|
-
|
|
444
|
+
<option value="en">English</option><option value="zh-TW">中文</option></select></label>
|
|
445
|
+
<label class="pref"><${Icon} name="user" size=${16} /><span class=${labels ? "pref-label" : "sr-only"}>${t("app.names")}</span>
|
|
519
446
|
<select id=${labels ? "pref-names" : undefined} value=${names.primary} aria-label=${t("app.names")} onChange=${(e) => setNamesPrimary(e.target.value)}>
|
|
520
|
-
<option value="nickname">${t("app.namesNickname")}</option><option value="instance">${t("app.namesInstance")}</option></select></label
|
|
447
|
+
<option value="nickname">${t("app.namesNickname")}</option><option value="instance">${t("app.namesInstance")}</option></select></label>
|
|
521
448
|
</div>`;
|
|
522
449
|
}
|
|
523
450
|
|
|
@@ -582,7 +509,7 @@ function BottomTabs({ route, viewOnly }) {
|
|
|
582
509
|
// last tab), Settings.
|
|
583
510
|
return html`<nav data-trust="navigation" class="tabs" aria-label=${t("app.menu")}>
|
|
584
511
|
${tab(chatHref, "chat", t("app.chat"), !!open || (!!route && route.panel === "chat"), anyAwaiting)}
|
|
585
|
-
${tab(NEEDS_PATH, "inbox", t("app.needsTab"), route && route.panel === "needs", (app.needs || []).length
|
|
512
|
+
${tab(NEEDS_PATH, "inbox", t("app.needsTab"), route && route.panel === "needs", (app.needs || []).length, t("app.needsCount", (app.needs || []).length))}
|
|
586
513
|
${tab(fleetEntryPath(route), "fleet", t("app.fleet"), route && route.panel === "fleet")}
|
|
587
514
|
${tab(settingsPath(), "settings", t("app.settings"), route && route.panel === "settings")}
|
|
588
515
|
</nav>`;
|
|
@@ -679,108 +606,17 @@ function whereText(where) {
|
|
|
679
606
|
* "Authorize this browser" (the same DM card as the composer's). The host's command otherwise sits folded under
|
|
680
607
|
* "Advanced".
|
|
681
608
|
*/
|
|
682
|
-
// alpha.6 feedback #2c (the user's decision hmsg-77256f66): a change no General could take says WHY, in plain words, and what
|
|
683
|
-
// would let it through — never "type this command on the host". The host's command stays folded under Advanced, a last resort.
|
|
684
|
-
register("pendingHost", {
|
|
685
|
-
en: {
|
|
686
|
-
no_chat: "This fleet has no chat app connected, so there is no General to send the confirm card to.",
|
|
687
|
-
no_chat_do: "This computer's owner confirms it here with Apply now. To confirm from Discord or Telegram, connect one in Settings → Chat & connections.",
|
|
688
|
-
cross_platform: "This change affects chat apps on more than one platform, so no single General can confirm it.",
|
|
689
|
-
cross_platform_do: "Make the change for one platform at a time.",
|
|
690
|
-
no_general: "No agent is the General in a connected chat app, so there is nowhere to send the confirm card.",
|
|
691
|
-
no_general_do: "Make an agent the General in Settings → Agents, then make the change again.",
|
|
692
|
-
chat_disconnected: "General's chat app is not connected right now, so the confirm card could not be sent.",
|
|
693
|
-
chat_disconnected_do: "Check the connection in Settings → Chat & connections, then make the change again.",
|
|
694
|
-
no_topic: "General has no topic in its chat yet, so the confirm card had nowhere to go.",
|
|
695
|
-
no_topic_do: "Send General a message in its chat once, then make the change again.",
|
|
696
|
-
post_failed: "The confirm card could not be posted in General.",
|
|
697
|
-
post_failed_do: "Check General's chat connection in Settings → Chat & connections, then make the change again.",
|
|
698
|
-
unknown: "No General could take the confirm card for this change.",
|
|
699
|
-
go: "Open",
|
|
700
|
-
codeLead: "Or confirm it here with the code from your authenticator app.",
|
|
701
|
-
codeLabel: "Authenticator code", codeGo: "Confirm",
|
|
702
|
-
codeWrong: "That code is not right. Use the current code in your authenticator app.",
|
|
703
|
-
codePaused: "Too many wrong codes. Try again in {0} minutes.",
|
|
704
|
-
codeNotHere: "This page can no longer confirm it with a code.",
|
|
705
|
-
codeUnavailable: "The code could not be checked. Try again.",
|
|
706
|
-
codeChanged: "This change is no longer the one shown here. Reload the page and check it again.",
|
|
707
|
-
onHost: "This change can't be confirmed over a link. Confirm it in the browser on the computer running AgEnD, or in General.",
|
|
708
|
-
hostBrowser: "This change opens a link to this fleet, so only the browser on the computer running AgEnD can confirm it. Do it there.",
|
|
709
|
-
codeSetUp: "To confirm changes here with a code, set up an authenticator app in Access & security.",
|
|
710
|
-
},
|
|
711
|
-
"zh-TW": {
|
|
712
|
-
no_chat: "這個 Fleet 沒有連接聊天平台,所以沒有 General 可以接收確認卡。",
|
|
713
|
-
no_chat_do: "這台電腦的擁有者可以在這裡按「立即套用」確認。若要從 Discord 或 Telegram 確認,請到「設定 → 聊天與連線」連接其中一個。",
|
|
714
|
-
cross_platform: "這項變更涉及多個聊天平台,沒有單一的 General 可以確認。",
|
|
715
|
-
cross_platform_do: "請一次只變更一個平台。",
|
|
716
|
-
no_general: "已連接的聊天平台中沒有任何 Agent 是 General,所以確認卡無處可送。",
|
|
717
|
-
no_general_do: "請到「設定 → Agent」把一個 Agent 設為 General,再重新做一次這項變更。",
|
|
718
|
-
chat_disconnected: "General 的聊天平台目前沒有連線,確認卡無法送出。",
|
|
719
|
-
chat_disconnected_do: "請到「設定 → 聊天與連線」檢查連線,再重新做一次這項變更。",
|
|
720
|
-
no_topic: "General 在聊天平台上還沒有主題,確認卡無處可送。",
|
|
721
|
-
no_topic_do: "請先在 General 的聊天中傳一則訊息,再重新做一次這項變更。",
|
|
722
|
-
post_failed: "確認卡無法傳到 General。",
|
|
723
|
-
post_failed_do: "請到「設定 → 聊天與連線」檢查 General 的連線,再重新做一次這項變更。",
|
|
724
|
-
unknown: "這項變更沒有 General 可以接收確認卡。",
|
|
725
|
-
go: "前往",
|
|
726
|
-
codeLead: "也可以在這裡輸入驗證器 App 的代碼確認。",
|
|
727
|
-
codeLabel: "驗證器代碼", codeGo: "確認",
|
|
728
|
-
codeWrong: "代碼不正確,請使用驗證器 App 目前顯示的代碼。",
|
|
729
|
-
codePaused: "錯誤次數太多,請 {0} 分鐘後再試。",
|
|
730
|
-
codeNotHere: "這個頁面已無法用代碼確認這項變更。",
|
|
731
|
-
codeUnavailable: "無法檢查代碼,請再試一次。",
|
|
732
|
-
codeChanged: "這項變更已不是這裡顯示的內容,請重新整理頁面再確認一次。",
|
|
733
|
-
onHost: "這項變更無法透過連結確認。請在執行 AgEnD 的那台電腦的瀏覽器中確認,或在 General 確認。",
|
|
734
|
-
hostBrowser: "這項變更會開放一條連到這個 fleet 的連結,只有執行 AgEnD 的那台電腦上的瀏覽器能確認。請到那裡操作。",
|
|
735
|
-
codeSetUp: "若要在這裡用代碼確認變更,請先到「存取與安全」設定驗證器 App。",
|
|
736
|
-
},
|
|
737
|
-
});
|
|
738
|
-
const PENDING_HOST_REASONS = ["no_chat", "cross_platform", "no_general", "chat_disconnected", "no_topic", "post_failed"];
|
|
739
|
-
const PENDING_HOST_GO = { no_chat: "chat", no_general: "agents", chat_disconnected: "chat", post_failed: "chat" };
|
|
740
|
-
/**
|
|
741
|
-
* alpha.6 feedback #2c (the user's decision hmsg-468cc290): on a web-only fleet's own page, a local admin who is not the host
|
|
742
|
-
* operator confirms a pending change with the owner's authenticator code. The server decides who may (p.confirmWithCode, from
|
|
743
|
-
* the view's `totp`) and checks the code; this only asks for it and says the answer.
|
|
744
|
-
*/
|
|
745
|
-
function PendingCode({ p }) {
|
|
746
|
-
const [code, setCode] = useState(""), [busy, setBusy] = useState(false), [msg, setMsg] = useState("");
|
|
747
|
-
const go = async (e) => {
|
|
748
|
-
e.preventDefault();
|
|
749
|
-
if (busy || !/^\d{6}$/.test(code.replace(/\s+/g, ""))) return;
|
|
750
|
-
setBusy(true); setMsg("");
|
|
751
|
-
const r = await p.confirmWithCode(code);
|
|
752
|
-
setBusy(false); setCode("");
|
|
753
|
-
if (r && r.ok) return;
|
|
754
|
-
const why = r && r.error;
|
|
755
|
-
setMsg(why === "wrong" ? t("pendingHost.codeWrong") : why === "paused" ? t("pendingHost.codePaused", Math.max(1, Math.ceil((r.retryAfterMs || 60000) / 60000)))
|
|
756
|
-
: why === "not_here" ? t("pendingHost.codeNotHere") : why === "changed" ? t("pendingHost.codeChanged") : t("pendingHost.codeUnavailable"));
|
|
757
|
-
};
|
|
758
|
-
return html`<form class="pending-self pending-code" onSubmit=${go}>
|
|
759
|
-
<span class="note">${t("pendingHost.codeLead")}</span>
|
|
760
|
-
<label class="field-row"><span class="sr-only">${t("pendingHost.codeLabel")}</span>
|
|
761
|
-
<input class="pending-code-input" inputmode="numeric" autocomplete="one-time-code" maxlength="7" placeholder="000000" aria-label=${t("pendingHost.codeLabel")}
|
|
762
|
-
value=${code} disabled=${busy} onInput=${(e) => setCode(e.target.value)} />
|
|
763
|
-
<button type="submit" class="btn btn-sm btn-primary" disabled=${busy || !/^\d{6}$/.test(code.replace(/\s+/g, ""))}>${t("pendingHost.codeGo")}</button></label>
|
|
764
|
-
</form>${msg ? html`<p class="note" role="alert">${msg}</p>` : null}`;
|
|
765
|
-
}
|
|
766
609
|
function PendingHow({ p }) {
|
|
767
610
|
const a = useWebAuthorization();
|
|
768
611
|
const [refused, setRefused] = useState(false);
|
|
769
612
|
const c = p.confirmation || {}, cmd = `agend settings confirm ${p.id}`;
|
|
770
|
-
const
|
|
771
|
-
const lead = c.kind === "posting" ? t("app.pendingPosting") : c.kind === "host_cli" ? t(`pendingHost.${why || "unknown"}`) : t("app.pendingChatWhere", whereText(c.where));
|
|
772
|
-
const go = why && Object.hasOwn(PENDING_HOST_GO, why) ? PENDING_HOST_GO[why] : null;
|
|
613
|
+
const lead = c.kind === "posting" ? t("app.pendingPosting") : c.kind === "host_cli" ? t("app.pendingHostOnly", cmd) : t("app.pendingChatWhere", whereText(c.where));
|
|
773
614
|
// A browser that isn't verified but could be: authorizing it makes this one (and later ones) "Apply now".
|
|
774
615
|
const route = c.kind !== "host_cli" && !p.applyNow && a.st;
|
|
775
616
|
const canAsk = route && a.st.state === "none" && (a.st.reason === "not_authorized" || a.st.reason === "authorization_expired");
|
|
776
617
|
const asking = route && a.st.state === "pending";
|
|
777
618
|
const apply = async () => { setRefused(false); const r = await p.applyNow(); if (!r || !r.ok) setRefused(true); };
|
|
778
619
|
return html`<p class="note">${lead}</p>
|
|
779
|
-
${why ? html`<p class="note pending-why">${t(`pendingHost.${why}_do`)}${go ? html` <a class="btn btn-sm" href=${settingsPath(go)}>${t("pendingHost.go")}</a>` : null}</p>` : null}
|
|
780
|
-
${p.confirmWithCode && !p.applyNow ? html`<${PendingCode} p=${p} />` : null}
|
|
781
|
-
${p.onHost && !p.applyNow ? html`<p class="note pending-on-host">${t("pendingHost.onHost")}</p>` : null}
|
|
782
|
-
${p.hostBrowser && !p.applyNow ? html`<p class="note pending-host-browser">${t("pendingHost.hostBrowser")}</p>` : null}
|
|
783
|
-
${p.totpNotSetUp && !p.applyNow ? html`<p class="note pending-code-setup">${t("pendingHost.codeSetUp")} <a class="btn btn-sm" href=${settingsPath("access")}>${t("pendingHost.go")}</a></p>` : null}
|
|
784
620
|
${p.applyNow ? html`<div class="pending-self"><span class="note">${t("app.pendingSelf")}</span>
|
|
785
621
|
<button type="button" class="btn btn-sm btn-primary" onClick=${apply}>${t("app.pendingApplyNow")}</button></div>` : null}
|
|
786
622
|
${refused && !p.applyNow ? html`<p class="note" role="status">${t("app.pendingApplyRefused")}</p>` : null}
|
|
@@ -788,7 +624,7 @@ function PendingHow({ p }) {
|
|
|
788
624
|
<button type="button" class="btn btn-sm" onClick=${a.ask}>${t("webauth.authorize")}</button></div>` : null}
|
|
789
625
|
${asking ? html`<p class="note">${t("webauth.waiting", mmss(a.left))}</p>` : null}
|
|
790
626
|
${a.notice && (canAsk || asking) ? html`<p class="note" role="status">${a.notice}</p>` : null}
|
|
791
|
-
|
|
627
|
+
${c.kind !== "host_cli" ? html`<details class="pending-host"><summary>${t("app.pendingAdvanced")}</summary><code>${cmd}</code></details>` : null}`;
|
|
792
628
|
}
|
|
793
629
|
|
|
794
630
|
/** Settings' Apply, followed from another panel: one line, and the way back to it (§5: progress shows in any panel). */
|
|
@@ -828,9 +664,9 @@ export async function refreshRestartPending() {
|
|
|
828
664
|
* Restart now asks first and is never automatic (the leader's default: a Save that restarted on its own once took 33
|
|
829
665
|
* agents down at once). Asked again whenever a Save or a restart settles. Left to the Save in hand while it runs or offers
|
|
830
666
|
* its own restart (Settings' card, or the line above in another panel). Over a temporary public link it says so and
|
|
831
|
-
* offers nothing.
|
|
832
|
-
*
|
|
833
|
-
*
|
|
667
|
+
* offers nothing. Restart now is a separate button when a Settings job exists. This muted hint is the no-job case
|
|
668
|
+
* only (a hand edit of fleet.yaml): chat fleets send /restart in General; web-only fleets are told to restart AgEnD,
|
|
669
|
+
* with no command. web-claude will add a button for that case separately.
|
|
834
670
|
*/
|
|
835
671
|
function RestartLine() {
|
|
836
672
|
const { restartPending: pending, settingsOp: op, restartRunner, connections } = useStore(appStore);
|
|
@@ -842,13 +678,12 @@ function RestartLine() {
|
|
|
842
678
|
if (op && op.job && op.job.targets && op.job.targets.some((r) => r.target === "fleet" && r.status === "restart-required")) return null;
|
|
843
679
|
const seen = `${pending.jobId}|${pending.keys.join(",")}`;
|
|
844
680
|
if (later === seen) return null;
|
|
845
|
-
const canRestart = typeof restartRunner === "function";
|
|
846
|
-
|
|
847
|
-
|
|
681
|
+
const canRestart = !!pending.jobId && typeof restartRunner === "function";
|
|
682
|
+
const hint = !pending.jobId
|
|
683
|
+
? t(connections > 0 ? "app.restartOnHostChat" : "app.restartOnHost")
|
|
684
|
+
: null;
|
|
848
685
|
const restart = async () => {
|
|
849
|
-
|
|
850
|
-
const message = t(connections === 0 ? "app.restartConfirmWebOnly" : "app.restartConfirm");
|
|
851
|
-
if (!(await confirmDialog({ title: t("app.restartNow"), message, confirmLabel: t("app.restartNow"), danger: true }))) return;
|
|
686
|
+
if (!(await confirmDialog({ title: t("app.restartNow"), message: t("app.restartConfirm"), confirmLabel: t("app.restartNow"), danger: true }))) return;
|
|
852
687
|
setBusy(true);
|
|
853
688
|
let res;
|
|
854
689
|
try { res = await restartRunner(pending.jobId); } catch { res = { ok: false }; }
|
|
@@ -945,7 +780,6 @@ export function Shell({ panels, onNewInstance, viewOnly = false }) {
|
|
|
945
780
|
const nav = useStore(navStore);
|
|
946
781
|
const shell = useStore(shellStore);
|
|
947
782
|
const root = useRef(null);
|
|
948
|
-
useLayoutEffect(() => { initSettingsContentWidth(); }, []);
|
|
949
783
|
usePageTheme(root, nav.route);
|
|
950
784
|
const [, relang] = useState(0);
|
|
951
785
|
// A language switch re-renders everything and gives the panel a new lease (its key includes the language).
|
|
@@ -1002,8 +836,6 @@ export function Shell({ panels, onNewInstance, viewOnly = false }) {
|
|
|
1002
836
|
};
|
|
1003
837
|
}, []);
|
|
1004
838
|
const guest = guestPage(); // #1920: a guest's page — no operations, pending changes or owner CSS (#2855: usage, yes)
|
|
1005
|
-
// AgEnD Hub P1 (S3b): a Hub workspace has none of the fleet's lines, rails, tabs or bars (their endpoints are the fleet's).
|
|
1006
|
-
const hub = hubMarks().hub;
|
|
1007
839
|
const cls = ["shell", shell.collapsed ? "sb-collapsed" : "", shell.drawer ? "sb-open" : "", shell.keyboard ? "kb-open" : "", guest ? "guest" : ""].filter(Boolean).join(" ");
|
|
1008
840
|
return html`<div ref=${root} class=${cls}>
|
|
1009
841
|
<a data-trust="navigation" class="skip" href="#main">${t("app.skip")}</a>
|
|
@@ -1012,19 +844,18 @@ export function Shell({ panels, onNewInstance, viewOnly = false }) {
|
|
|
1012
844
|
<main id="main" class="main" tabindex="-1" inert=${shell.drawer && narrow() ? true : undefined}>
|
|
1013
845
|
<${ConnectionLine} />
|
|
1014
846
|
<${StartupLine} />
|
|
1015
|
-
${viewOnly || guest
|
|
1016
|
-
${viewOnly || guest
|
|
1017
|
-
${viewOnly || guest ||
|
|
1018
|
-
${viewOnly || guest || hub || !shell.banner ? null : html`<${shell.banner} />`}
|
|
847
|
+
${viewOnly || guest ? null : html`<${OperationLine} route=${nav.route} />`}
|
|
848
|
+
${viewOnly || guest ? null : html`<${RestartLine} />`}
|
|
849
|
+
${viewOnly || guest || !shell.banner ? null : html`<${shell.banner} />`}
|
|
1019
850
|
<${Outlet} route=${nav.route} seq=${nav.seq} panels=${panels} />
|
|
1020
851
|
</main>
|
|
1021
|
-
|
|
1022
|
-
|
|
852
|
+
<${RightRail} route=${nav.route} />
|
|
853
|
+
<${BottomTabs} route=${nav.route} viewOnly=${viewOnly} />
|
|
1023
854
|
${shell.dialog ? html`<${shell.dialog.Component} ...${shell.dialog.props} onClose=${closeDialog} />` : null}
|
|
1024
|
-
${viewOnly || guest ||
|
|
855
|
+
${viewOnly || guest || (nav.route && nav.route.panel === "settings") ? null : html`<${PendingChanges} />`}
|
|
1025
856
|
<${ConfirmHost} />
|
|
1026
857
|
<${ColorDialogHost} />
|
|
1027
|
-
${viewOnly || guest
|
|
858
|
+
${viewOnly || guest ? null : html`<${OwnerCssKeepBar} />`}
|
|
1028
859
|
<${Toasts} />
|
|
1029
860
|
</div>`;
|
|
1030
861
|
}
|
|
@@ -56,7 +56,6 @@ export function applyStatus(d) {
|
|
|
56
56
|
appStore.set({ ready: true, instances: d.instances, uptime: d.uptime ?? 0, exec, awaiting,
|
|
57
57
|
startup: d.startup?.phase === "starting" ? d.startup : null,
|
|
58
58
|
connections: typeof d.connections === "number" ? d.connections : null,
|
|
59
|
-
windowsCli: d.windows_cli === true,
|
|
60
59
|
// #1665: the host preferences' revision (app-prefs.js re-reads them when it moves).
|
|
61
60
|
prefsRev: typeof d.prefs_rev === "number" ? d.prefs_rev : null,
|
|
62
61
|
// #1629: the agents' themes' revision (app-themes.js re-reads them when it moves).
|
|
@@ -36,13 +36,11 @@
|
|
|
36
36
|
// #1918: traffic — a message between instances moved; delegation — a task opened, or its report closed it (SSE only: the
|
|
37
37
|
// org canvas reads /ui/traffic when it has no stream).
|
|
38
38
|
// #2233: backend_login — a dashboard sign-in started, moved or ended (no details: the page reads its own view).
|
|
39
|
-
// alpha.2 (M-2300): agent_proposals — an agent's Windows request came or was decided (no details: a web-only fleet's
|
|
40
|
-
// owner reads GET /ui/agent-proposals).
|
|
41
39
|
// tasks — the task board changed: the card numbers a write touched (SSE only: the board reads again when it is shown).
|
|
42
40
|
// offices — the stored offices changed ({ rev }; SSE only: the Office view reads /ui/offices again).
|
|
43
41
|
// office_skins — a skin pack was uploaded or deleted ({ rev }; SSE only: the Office view reads /ui/office-skins again).
|
|
44
42
|
// office_acts — the agents' live acts in the Office view changed ({ acts }, #2578; a poll page reads /ui/office-acts).
|
|
45
|
-
const EVENTS = ["status", "message", "agent_reply_live", "delivery", "deliveries", "prompt", "prompts", "prompt_resolved", "activity", "needs", "reply_buttons", "reactions", "steps_tick", "clock", "traffic", "delegation", "backend_login", "tasks", "offices", "office_skins", "office_acts", "office_pack_changes", "
|
|
43
|
+
const EVENTS = ["status", "message", "agent_reply_live", "delivery", "deliveries", "prompt", "prompts", "prompt_resolved", "activity", "needs", "reply_buttons", "reactions", "steps_tick", "clock", "traffic", "delegation", "backend_login", "tasks", "offices", "office_skins", "office_acts", "office_pack_changes", "notice"];
|
|
46
44
|
const MAX_HELD = 1000; // live events held during one catch-up read; more → read again afterwards
|
|
47
45
|
const RETRY_DELAYS = [1000, 2000, 4000]; // after the first failed catch-up read; then it waits for Retry
|
|
48
46
|
const POLL_LIMIT_MS = 10000; // a poll that has not answered by then counts as failed
|