@songsid/agend 2.3.5-alpha.5 → 2.3.5-beta.1
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 -68
- 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/auth-api.d.ts +0 -48
- package/dist/auth-api.js +4 -250
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/session-authorizations.d.ts +2 -0
- package/dist/authority/session-authorizations.js +7 -1
- package/dist/authority/session-authorizations.js.map +1 -1
- package/dist/authority/web-authority.d.ts +2 -12
- package/dist/authority/web-authority.js +4 -25
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/backend/claude-code.d.ts +12 -15
- package/dist/backend/claude-code.js +133 -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 -1187
- 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/types.d.ts +2 -7
- package/dist/backend/types.js.map +1 -1
- package/dist/bundled-tmux-guard.d.ts +21 -0
- package/dist/bundled-tmux-guard.js +96 -0
- package/dist/bundled-tmux-guard.js.map +1 -0
- package/dist/channel/ipc-bridge.d.ts +0 -2
- package/dist/channel/mcp-tools.js +2 -2
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/classic-channel-manager.d.ts +2 -0
- package/dist/classic-channel-manager.js +5 -1
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/cli.js +30 -127
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.js +13 -74
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +3 -17
- package/dist/config.js.map +1 -1
- package/dist/daemon.d.ts +5 -72
- package/dist/daemon.js +275 -869
- package/dist/daemon.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 -20
- package/dist/doctor.js.map +1 -1
- package/dist/fleet-context.d.ts +2 -2
- 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 +9 -498
- package/dist/fleet-manager.js +202 -2849
- 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 +18 -50
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +2 -5
- 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/instance-config-impact.js +4 -8
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +3 -22
- package/dist/instance-lifecycle.js +176 -393
- 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 +2 -147
- package/dist/locale.js.map +1 -1
- package/dist/login-flows.d.ts +7 -8
- package/dist/login-flows.js +1 -24
- package/dist/login-flows.js.map +1 -1
- package/dist/ls-rows.js +4 -3
- package/dist/ls-rows.js.map +1 -1
- package/dist/muse-usage-relay.d.ts +2 -0
- package/dist/muse-usage-relay.js +5 -3
- package/dist/muse-usage-relay.js.map +1 -1
- package/dist/needs-you-hub.d.ts +0 -5
- package/dist/needs-you-hub.js +2 -18
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +2 -45
- package/dist/needs-you.js +2 -26
- 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 +1 -71
- package/dist/outbound-schemas.js +14 -36
- 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 +6 -44
- package/dist/quickstart.js.map +1 -1
- package/dist/quota-notice-config.d.ts +22 -0
- package/dist/quota-notice-config.js +41 -0
- package/dist/quota-notice-config.js.map +1 -0
- 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/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 +0 -12
- package/dist/settings-api.js +7 -487
- 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.js +7 -35
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-confirmation.d.ts +1 -16
- package/dist/settings-confirmation.js +9 -47
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.d.ts +0 -17
- package/dist/settings-effect.js +1 -155
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +0 -4
- package/dist/settings-http-confirmation.js +3 -43
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-instance-patch.js +1 -1
- package/dist/settings-instance-patch.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 -6
- package/dist/setup-wizard.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/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 +2 -3
- package/dist/tmux-manager.js +36 -45
- 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 +5 -9
- 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 +51 -27
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-sources.d.ts +0 -5
- package/dist/transcript-sources.js +79 -8
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +3 -29
- package/dist/ui/app.html +8 -1
- package/dist/ui/backend-signin.js +21 -39
- 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 +2 -2
- package/dist/ui/panel-needs.js +4 -162
- package/dist/ui/panel-notices.js +4 -3
- package/dist/ui/panel-settings.js +202 -281
- package/dist/ui/preview-pages.js +1 -1
- package/dist/ui/preview-panel.js +13 -21
- package/dist/ui/preview-versions.js +1 -1
- package/dist/ui/preview.js +476 -3
- package/dist/ui/search-dialog.js +3 -4
- package/dist/ui/settings-appearance.js +23 -122
- package/dist/ui/settings-catalog.js +10 -37
- package/dist/ui/settings-confirm.js +1 -3
- package/dist/ui/settings-dialogs.js +20 -48
- package/dist/ui/settings-guests.js +14 -27
- package/dist/ui/settings-model.js +1 -10
- package/dist/ui/settings-quota-notice.js +100 -0
- package/dist/ui/settings-registry.js +5 -15
- package/dist/ui/settings-strings.js +32 -105
- package/dist/ui/settings-web-authority.js +13 -18
- package/dist/ui/shared/app-i18n.js +2 -2
- 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 +26 -87
- package/dist/ui/shared/app-store.js +2 -3
- package/dist/ui/shared/app-stream.js +1 -3
- package/dist/ui/shared/app.css +5 -1368
- package/dist/ui/shared/app.js +5 -17
- 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/loading.css +37 -0
- package/dist/ui/shared/signin.js +6 -211
- 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/ui-states.js +14 -3
- package/dist/ui/shared/vendor/vendor.json +2 -19
- package/dist/ui/shared/view-strings.js +0 -8
- package/dist/ui/signin.html +5 -23
- package/dist/unattended-install.js +1 -2
- package/dist/unattended-install.js.map +1 -1
- package/dist/usage/providers.d.ts +5 -0
- package/dist/usage/providers.js +6 -2
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/quota-notices.d.ts +38 -0
- package/dist/usage/quota-notices.js +160 -0
- package/dist/usage/quota-notices.js.map +1 -0
- package/dist/usage/usage-api.d.ts +1 -0
- package/dist/usage/usage-api.js +16 -0
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/view-api.js +7 -5
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +2 -80
- package/dist/web-api.js +10 -513
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +1 -23
- package/dist/web-backend-login.js +17 -11
- 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-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 -42
- package/dist/web-session.js +0 -9
- 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 -4
- package/dist/web-terminal.js +6 -9
- 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 +3 -10
- package/templates/launchd.plist.ejs +1 -3
- package/dist/accounts-view.d.ts +0 -97
- package/dist/accounts-view.js +0 -116
- 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 -93
- package/dist/agent-workspace.js +0 -353
- 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 -346
- package/dist/hub/buttons.js.map +0 -1
- package/dist/hub/catalog.d.ts +0 -74
- package/dist/hub/catalog.js +0 -195
- package/dist/hub/catalog.js.map +0 -1
- package/dist/hub/client.d.ts +0 -69
- package/dist/hub/client.js +0 -300
- package/dist/hub/client.js.map +0 -1
- package/dist/hub/compose/member.d.ts +0 -139
- package/dist/hub/compose/member.js +0 -450
- package/dist/hub/compose/member.js.map +0 -1
- package/dist/hub/compose/server.d.ts +0 -77
- package/dist/hub/compose/server.js +0 -349
- 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 -320
- package/dist/hub/directory/directory.js.map +0 -1
- package/dist/hub/directory/index.d.ts +0 -7
- 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 -71
- 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/http/compose.d.ts +0 -20
- package/dist/hub/http/compose.js +0 -518
- package/dist/hub/http/compose.js.map +0 -1
- package/dist/hub/http/core.d.ts +0 -49
- package/dist/hub/http/core.js +0 -124
- package/dist/hub/http/core.js.map +0 -1
- package/dist/hub/http/deps.d.ts +0 -61
- 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 -85
- package/dist/hub/member/pairing-api.js +0 -385
- package/dist/hub/member/pairing-api.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.d.ts +0 -65
- package/dist/hub/pairing.js +0 -211
- package/dist/hub/pairing.js.map +0 -1
- package/dist/hub/policy.d.ts +0 -63
- package/dist/hub/policy.js +0 -147
- 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 -779
- package/dist/hub/protocol.js +0 -93
- 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 -120
- package/dist/hub/rooms.js +0 -535
- package/dist/hub/rooms.js.map +0 -1
- package/dist/hub/runtime.d.ts +0 -106
- package/dist/hub/runtime.js +0 -298
- package/dist/hub/runtime.js.map +0 -1
- package/dist/hub/server.d.ts +0 -56
- package/dist/hub/server.js +0 -202
- 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 -196
- 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 -77
- package/dist/hub/store.js +0 -88
- 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 -401
- 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/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/runtime-api.d.ts +0 -10
- package/dist/runtime-api.js +0 -189
- 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 -9
- package/dist/runtime-build-info.js +0 -59
- 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.d.ts +0 -14
- package/dist/runtime-cli.js +0 -271
- 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 -174
- package/dist/runtime-client.js +0 -1010
- 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 -98
- package/dist/runtime-coordinator.js +0 -1089
- package/dist/runtime-coordinator.js.map +0 -1
- package/dist/runtime-credential-profiles.d.ts +0 -78
- package/dist/runtime-credential-profiles.js +0 -280
- 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 -186
- 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 -337
- 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 -33
- package/dist/runtime-pane-store.js +0 -164
- 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-protocol.d.ts +0 -177
- package/dist/runtime-protocol.js +0 -49
- package/dist/runtime-protocol.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-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-journal.d.ts +0 -44
- package/dist/runtime-update-journal.js +0 -121
- 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 -217
- 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-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/tmux-binary.d.ts +0 -59
- package/dist/tmux-binary.js +0 -200
- package/dist/tmux-binary.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/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 -21
- package/dist/transcript-records.js +0 -141
- package/dist/transcript-records.js.map +0 -1
- package/dist/ui/account-identity.js +0 -27
- package/dist/ui/accounts-view.js +0 -214
- package/dist/ui/agent-proposals.js +0 -90
- package/dist/ui/agent-runtime-settings.js +0 -68
- 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 -71
- package/dist/ui/hub-agent-copy.js +0 -23
- package/dist/ui/hub-button-actions.js +0 -65
- package/dist/ui/hub-chat-store.js +0 -158
- package/dist/ui/hub-chat-strings.js +0 -77
- package/dist/ui/hub-client.js +0 -329
- package/dist/ui/hub-owner-strings.js +0 -51
- package/dist/ui/hub-provider-guidance.js +0 -31
- package/dist/ui/hub-quota.js +0 -85
- package/dist/ui/hub-strings.js +0 -162
- package/dist/ui/hub-switcher.js +0 -27
- 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 -619
- package/dist/ui/panel-runtimes.js +0 -425
- package/dist/ui/panel-windows-agent.js +0 -86
- 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-commands.d.ts +0 -4
- package/dist/ui/runtime-commands.js +0 -59
- 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 -253
- package/dist/ui/settings-hub-browser-certificate.js +0 -74
- package/dist/ui/settings-hub-membership.js +0 -72
- package/dist/ui/settings-hub-retention.js +0 -52
- package/dist/ui/settings-hub.js +0 -196
- package/dist/ui/settings-layout.js +0 -242
- package/dist/ui/settings-outside.js +0 -242
- 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.css +0 -15
- 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 -85
- package/dist/ui/shared/hub-owner.css +0 -33
- package/dist/ui/shared/hub-quota.css +0 -8
- package/dist/ui/shared/hub.css +0 -71
- package/dist/ui/shared/machine-name.js +0 -13
- package/dist/ui/shared/page-head.js +0 -8
- 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 -26
- 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/vendor/qrcode-generator.LICENSE +0 -27
- 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-panel.js +0 -189
- 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 -152
- package/dist/web-remote-access.js +0 -368
- package/dist/web-remote-access.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 -34
- package/dist/windows-cli-api.js +0 -185
- 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 -83
- package/dist/windows-cli-worker.js +0 -570
- 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/launcher/launchd-session-type.cjs +0 -14
- package/launcher/tmux-bundle.cjs +0 -247
- 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 -270
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import { AgentRuntimeChanges } from "./agent-runtime-change.js";
|
|
2
1
|
import { type HumanOrigin } from "./human-delivery-receipts.js";
|
|
3
|
-
import { type SettingsPendingView } from "./settings-confirmation.js";
|
|
4
|
-
import { type GeneralSwitchInput } from "./general-binding.js";
|
|
5
2
|
import { SettingsExecution } from "./settings-transaction.js";
|
|
6
3
|
import { AppIconStore } from "./web-app-icon.js";
|
|
7
4
|
import { type NamedTestResult } from "./tunnel/named-link-test.js";
|
|
8
5
|
import { OfficeShareService } from "./office-share-service.js";
|
|
9
|
-
import { OfficeTalk } from "./office-talk.js";
|
|
10
6
|
import { type OfficeShare } from "./office-share.js";
|
|
11
7
|
import type { PageShare } from "./page-share.js";
|
|
12
8
|
import type { LoginCodeOwner } from "./web-login.js";
|
|
13
9
|
import { type ProfileTicket } from "./runtime-cpu-profile.js";
|
|
14
10
|
import type { CpuProfile } from "./cpu-profile.js";
|
|
15
|
-
import { type IncomingMessage } from "node:http";
|
|
16
11
|
import { type FleetMemory } from "./process-memory.js";
|
|
17
12
|
import { MemoryPressure, type MemoryPressureSnapshot } from "./memory-pressure.js";
|
|
18
13
|
import { ReplyDeduper } from "./reply-dedup.js";
|
|
@@ -24,7 +19,7 @@ import { type TopicDeleteOutcome } from "./instance-topic-delete.js";
|
|
|
24
19
|
import { BackendAvailabilityStore, type AvailabilityProbes, type BackendAvailability } from "./backend-availability.js";
|
|
25
20
|
import { AdapterWorld } from "./adapter-world.js";
|
|
26
21
|
import { CostGuard } from "./cost-guard.js";
|
|
27
|
-
import {
|
|
22
|
+
import { IpcClient } from "./channel/ipc-bridge.js";
|
|
28
23
|
import type { AdapterHealthSnapshot, ChannelAdapter, InboundMessage, InboundReaction } from "./channel/types.js";
|
|
29
24
|
import { type BackendCliVersionSnapshot } from "./backend/types.js";
|
|
30
25
|
import { type Logger } from "./logger.js";
|
|
@@ -72,10 +67,6 @@ export declare function applyTaskListCap<T extends {
|
|
|
72
67
|
hint: string;
|
|
73
68
|
} | T[];
|
|
74
69
|
import { type PublicPreviewForUi } from "./web-api.js";
|
|
75
|
-
import { RuntimeInstallService } from "./runtime-install.js";
|
|
76
|
-
import { RuntimeCoordinator } from "./runtime-coordinator.js";
|
|
77
|
-
import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
|
|
78
|
-
import { NativeMcpSessions } from "./native-mcp.js";
|
|
79
70
|
import { type LogAnswer, type LogQuery } from "./log-service.js";
|
|
80
71
|
import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
|
|
81
72
|
import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
|
|
@@ -118,9 +109,8 @@ import { type OrgChart } from "./web-org.js";
|
|
|
118
109
|
import { type MemoryHog } from "./memory-hogs.js";
|
|
119
110
|
import { type CacheReport } from "./cache-service.js";
|
|
120
111
|
import { type WebCommandResult } from "./web-commands.js";
|
|
121
|
-
import { type SessionRecord
|
|
112
|
+
import { type SessionRecord } from "./web-session.js";
|
|
122
113
|
import { WebNotices } from "./web-notices.js";
|
|
123
|
-
import { WebRemoteAccess } from "./web-remote-access.js";
|
|
124
114
|
import { VERIFIED_SESSION_HOURS, type HumanAuthority, type WebAuthorityRefusal, type WebAuthorityResult, type WebPeer } from "./authority/web-authority.js";
|
|
125
115
|
import { type AuthorityState } from "./authority/authority-state.js";
|
|
126
116
|
import { type SessionAuthorization } from "./authority/session-authorizations.js";
|
|
@@ -131,7 +121,6 @@ import { type ConnectionMetadata, type ConnectionBinding, type BindingProbe, typ
|
|
|
131
121
|
import { type ProviderSecretStatus } from "./provider-secret-registry.js";
|
|
132
122
|
import { ApplyJobStore, type ApplyJob, type ApplyTargetKind, type SelfRestartResult } from "./apply-job.js";
|
|
133
123
|
import { type CarryResult } from "./backend/claude-carry.js";
|
|
134
|
-
import { type AccountsView } from "./accounts-view.js";
|
|
135
124
|
import { StormWindow } from "./storm-window.js";
|
|
136
125
|
import { SpawnGate } from "./spawn-gate.js";
|
|
137
126
|
import { BackendOutageTracker } from "./backend-outage.js";
|
|
@@ -219,18 +208,8 @@ export interface ModelCatalog {
|
|
|
219
208
|
note?: string;
|
|
220
209
|
}
|
|
221
210
|
export interface DeliveryOptions {
|
|
222
|
-
/**
|
|
223
|
-
* A Windows instance only: the sender's authority after the handoff (see NativeRuntimeDeliveryOptions.authorityCurrent).
|
|
224
|
-
* stillCurrent fences the handoff itself; this one is rechecked before the Windows process starts.
|
|
225
|
-
*/
|
|
226
|
-
authorityCurrent?: () => boolean;
|
|
227
211
|
/** Explicitly identify agent-to-agent delivery when metadata is unavailable. */
|
|
228
212
|
isCrossInstance?: boolean;
|
|
229
|
-
/**
|
|
230
|
-
* The Hub representative's last step (docs/design/hub-representative-agent.md): run after any wake, the idle wait and
|
|
231
|
-
* the storm recheck, immediately before the IPC hand-off. False drops the delivery unsent. Not for Windows agents.
|
|
232
|
-
*/
|
|
233
|
-
beforeInput?: () => Promise<boolean>;
|
|
234
213
|
/** Force or bypass the idle gate. Schedules set this explicitly. */
|
|
235
214
|
waitForIdle?: boolean;
|
|
236
215
|
/** Test/operational override; normal deliveries use the 60 second backstop. */
|
|
@@ -352,213 +331,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
352
331
|
/** Live view of lifecycle.daemons — used throughout; not deprecated. */
|
|
353
332
|
get daemons(): Map<string, Daemon>;
|
|
354
333
|
fleetConfig: FleetConfig | null;
|
|
355
|
-
private fleetWindowsRuntime;
|
|
356
|
-
private nativeMcpStore;
|
|
357
|
-
private paneManager;
|
|
358
|
-
private localPaneRelay;
|
|
359
|
-
private openingLocalPane;
|
|
360
|
-
private runtimeHub;
|
|
361
|
-
private runtimeInstall;
|
|
362
|
-
/** One service for the public installer routes and the administrator API: the hash the dashboard shows is the hash of what is sent. */
|
|
363
|
-
runtimeInstaller(): RuntimeInstallService;
|
|
364
|
-
private runtimeExecutor;
|
|
365
|
-
private runtimeStatusScheduled;
|
|
366
|
-
private readonly reconciledRemoteResults;
|
|
367
|
-
/** Machine credentials are separate from dashboard sessions and per-turn agent capabilities. */
|
|
368
|
-
runtimeCoordinator(): RuntimeCoordinator;
|
|
369
|
-
private runtimeWindowsExecutor;
|
|
370
|
-
/** Per-turn capabilities for native MCP, separate from browser and Linux-agent credentials. */
|
|
371
|
-
nativeMcpSessions(): NativeMcpSessions;
|
|
372
|
-
/** Retire only existing native capabilities; ordinary lifecycle changes do not instantiate the Windows path. */
|
|
373
|
-
invalidateNativeMcp(name: string): void;
|
|
374
|
-
/** The same instance registry and delivery entry point, with a native Windows execution adapter. */
|
|
375
|
-
nativeInstanceRuntime(): FleetWindowsRuntime;
|
|
376
|
-
private agentRuntimeChangeService?;
|
|
377
|
-
agentRuntimeChanges(): AgentRuntimeChanges;
|
|
378
|
-
/** Explicit dashboard opt-in, with the same General confirmation and ordinary topic/Daemon routing. */
|
|
379
|
-
createNativePaneInstance(profile: Record<string, unknown>, channelId: string | undefined, authorized: () => boolean, execution: SettingsExecution): Promise<{
|
|
380
|
-
name: string;
|
|
381
|
-
runtime: "windows";
|
|
382
|
-
agent: import("./windows-agents.js").WindowsAgent;
|
|
383
|
-
}>;
|
|
384
|
-
/** Admin-only settings path: validate first, then close the exact old launch before changing cold fields. */
|
|
385
|
-
updateNativePaneConfig(name: string, patch: Partial<NativeRuntimePatch>, authorized: () => boolean, transaction?: Pick<SettingsExecution, "mutate" | "complete">): Promise<ReturnType<FleetWindowsRuntime["update"]>>;
|
|
386
|
-
/** The local machine's inventory as last used to open its pane relay (status only; never a launch decision). */
|
|
387
|
-
private localPaneInventory;
|
|
388
|
-
private nativeCliStatus;
|
|
389
|
-
private localNativePaneEndpoint;
|
|
390
|
-
/** Persistent ownership is independent of the exec worker's per-turn capabilities. */
|
|
391
|
-
private nativePanes;
|
|
392
|
-
/** Prepare only bundled role files; this neither switches General nor starts a provider process. */
|
|
393
|
-
prepareWindowsGeneralWorkspace(name: string, machineId: string, cli: "codex" | "claude-code", bindingId: string, authorized: () => boolean): Promise<import("./runtime-general-protocol.js").GeneralWorkspaceReceipt>;
|
|
394
|
-
/** S3c (S-55): the member's exposure API, attached by S5's member composition (null: no Hub member here). */
|
|
395
|
-
private hubMemberExposureApi;
|
|
396
|
-
hubMemberExposures(): import("./hub/member/exposure-api.js").HubMemberExposureApi | null;
|
|
397
|
-
attachHubMemberExposures(api: import("./hub/member/exposure-api.js").HubMemberExposureApi | null): void;
|
|
398
|
-
/** S3c PR B: the member's pairing API, attached by S5's member composition (null: no Hub member here). */
|
|
399
|
-
private hubMemberPairingApi;
|
|
400
|
-
hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
|
|
401
|
-
attachHubMemberPairing(api: ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null): void;
|
|
402
|
-
private readonly generalLocationFlights;
|
|
403
|
-
private readonly generalAttentionEpisodes;
|
|
404
|
-
private generalBindings;
|
|
405
|
-
generalLocations(): unknown;
|
|
406
|
-
/** Pure preflight for the confirmation diff and stale-tab refusal; never prepares files or starts a CLI. */
|
|
407
|
-
previewGeneralLocation(raw: unknown): {
|
|
408
|
-
input: GeneralSwitchInput;
|
|
409
|
-
summary: string[];
|
|
410
|
-
connections: string[];
|
|
411
|
-
};
|
|
412
|
-
/** All entry points, including automatic native recovery, must respect an interrupted binding switch. */
|
|
413
|
-
assertGeneralBindingStart(name: string, config: InstanceConfig): void;
|
|
414
|
-
/** Only the Settings replay's confirmed admin can enter; the whole switch owns one lifecycle transition. */
|
|
415
|
-
switchGeneralLocation(raw: unknown, authorized: () => boolean, execution: SettingsExecution): Promise<{
|
|
416
|
-
started: boolean;
|
|
417
|
-
message: string;
|
|
418
|
-
}>;
|
|
419
|
-
/** An offline PC or a confirmed binding boundary holds old waiting input; it never becomes another conversation's queue. */
|
|
420
|
-
private holdGeneralOldDeliveries;
|
|
421
|
-
generalLocationDeliveryHold(name: string): string | null;
|
|
422
|
-
private generalLocationAttention;
|
|
423
|
-
nativePaneFor(name: string, config: InstanceConfig, assertCurrent: () => void): Promise<import("./native-pane-lifecycle.js").NativePaneLifecycle>;
|
|
424
|
-
recoverNativePane(name: string, launchId: string, authorized: () => boolean): Promise<void>;
|
|
425
|
-
holdNativePaneRecovery(name: string, error: unknown): boolean;
|
|
426
|
-
startFreshNativePane(name: string, launchId: string, sessionId: string | null, authorized: () => boolean): Promise<void>;
|
|
427
|
-
nativePanePinnedSession(name: string): string | null;
|
|
428
|
-
onNativePaneRecoverySettled(name: string): void;
|
|
429
|
-
setNativePanePaused(name: string, paused: boolean): void;
|
|
430
|
-
closeRetainedNativePane(name: string): Promise<void>;
|
|
431
|
-
reconcileNativePaneBeforeStart(name: string, daemon: Daemon): Promise<boolean>;
|
|
432
|
-
/** M-2255: the Windows runtimes' switches the fleet's own state reflects (null until the start-up has applied them). */
|
|
433
|
-
private runtimeEffects;
|
|
434
|
-
private runtimeEffectsScheduled;
|
|
435
|
-
private localPaneDrain;
|
|
436
|
-
private remotePaneDrain;
|
|
437
|
-
/** Revoke admissions synchronously; keep the captured transport only long enough for exact owned closes. */
|
|
438
|
-
private drainNativeRuntime;
|
|
439
|
-
/**
|
|
440
|
-
* M-2255: Settings → Runtime's switches (fleet.yaml `runtimes`, or their environment override) in force — set each time
|
|
441
|
-
* the configuration in force changes (a load, a save, a reload's rollback), next to the web authority's. Every gate reads
|
|
442
|
-
* them at once; what the fleet itself holds (paired computers' connections, this PC's Windows process, agents' tool
|
|
443
|
-
* sessions) follows just after, outside the save that changed them (applyRuntimeSwitches): no restart is needed.
|
|
444
|
-
*/
|
|
445
|
-
/** S-51: the Hub switches follow the configuration in force (load, save, reload rollback), like the runtime ones. */
|
|
446
|
-
private observeHubSwitches;
|
|
447
|
-
/** Reads the raw configuration at run time (the newest wins); off and never started: returns before any import. */
|
|
448
|
-
private applyHubSwitches;
|
|
449
|
-
/** Single flight: one import, one runtime, assigned once; every caller (and Stop) gets that same runtime. */
|
|
450
|
-
private hubRuntimeCreated;
|
|
451
|
-
/**
|
|
452
|
-
* S-51 PR 2b: while the member switch is on, the local owner's "Connect to a Hub" backend (S3c's pairing API) is
|
|
453
|
-
* attached, paired or not; switched off, it is detached. A binding change re-composes the member side.
|
|
454
|
-
*/
|
|
455
|
-
private observeHubMemberPairing;
|
|
456
|
-
/**
|
|
457
|
-
* Disconnect: every published exposure is withdrawn and saved before the disconnect reports success. Through the
|
|
458
|
-
* running member's API, or — held or not composed — directly in the member's own store; a failure here makes the
|
|
459
|
-
* disconnect report "unsaved" (S3c), so consent never outlives the disconnect.
|
|
460
|
-
*/
|
|
461
|
-
private hubMemberWithdrawAll;
|
|
462
|
-
/**
|
|
463
|
-
* The Hub exposure picker's agents (docs/design/hub-representative-agent.md): every configured instance normal
|
|
464
|
-
* delivery addresses, General included, shown by its display name. The dedicated Hub daemon is not a fleet instance.
|
|
465
|
-
*/
|
|
466
|
-
private hubMemberAgents;
|
|
467
|
-
/** Same cached usage source as the owner's rail, scoped to the representative's CLI and credential profile. */
|
|
468
|
-
private hubAgentQuota;
|
|
469
|
-
/**
|
|
470
|
-
* A published representative's lifecycle token (#3145, #3147 review): a DURABLE incarnation id per agent name, rotated
|
|
471
|
-
* whenever its backend, folder or runtime changes and dropped when the instance is removed. A replacement (remove and
|
|
472
|
-
* re-add, even with the same name and config, across restarts) or any retarget — including A→B→A — gets a new id, so
|
|
473
|
-
* earlier consent never matches again without an explicit republish. Stopping or pausing changes nothing.
|
|
474
|
-
*/
|
|
475
|
-
private hubAgentToken;
|
|
476
|
-
private hubIncarnationsPath;
|
|
477
|
-
/**
|
|
478
|
-
* M-2451 (#3147 residual): written beside hub-member/, in the data directory itself, when an invalidation could not be
|
|
479
|
-
* made durable in hub-member/. A later process that finds it invalidates every incarnation before handing out any
|
|
480
|
-
* token, so a restart never revives consent the earlier process had to withdraw (A→B→A, or a removal, while hub-member/
|
|
481
|
-
* was unwritable).
|
|
482
|
-
*/
|
|
483
|
-
private hubIncarnationsMarkerPath;
|
|
484
|
-
/** Whether this process has settled the incarnations on disk (the marker handled, the file proven writable). */
|
|
485
|
-
private hubIncarnationsSettled;
|
|
486
|
-
/**
|
|
487
|
-
* Once per process, before the first token: an invalidation an earlier process could not persist (the marker) clears
|
|
488
|
-
* every incarnation; and an existing file must be rewritable here, else this process is broken (no token at all) —
|
|
489
|
-
* an incarnation this process could not rotate must never be handed out. Fails closed: any doubt marks it broken.
|
|
490
|
-
*/
|
|
491
|
-
private settleHubIncarnations; /**
|
|
492
|
-
* #3147 r2: set when an invalidation could not be made durable in any way (neither the atomic write nor removing the
|
|
493
|
-
* file worked). From then on this process hands out no representative token at all, and the transitions the fleet
|
|
494
|
-
* controls (a config save, a removal) are refused instead of applied.
|
|
495
|
-
*/
|
|
496
|
-
private hubIncarnationsBroken;
|
|
497
|
-
private readHubIncarnations;
|
|
498
|
-
/**
|
|
499
|
-
* Persist the incarnation map: "written", or — when the atomic write fails — "cleared": the whole file is removed, which
|
|
500
|
-
* durably invalidates EVERY earlier incarnation (all consent then needs a republish; never a revival). Throws (and
|
|
501
|
-
* marks the process broken) only when neither is possible.
|
|
502
|
-
*/
|
|
503
|
-
private writeHubIncarnations;
|
|
504
|
-
/** The agent's durable incarnation id (create: make one if none; else null). A changed fingerprint rotates it. */
|
|
505
|
-
private hubAgentIncarnation;
|
|
506
|
-
/**
|
|
507
|
-
* Every configuration in force: rotate a recorded agent's incarnation when its backend/folder/runtime changed; drop
|
|
508
|
-
* removed ones. strict (a config save the fleet is about to write): a failure to make that durable throws, so the save
|
|
509
|
-
* is refused instead of applied. Otherwise (a load or reload of a hand-edited file) a failure is logged — the
|
|
510
|
-
* invalidation then is the cleared file, or, if nothing could be written, this process hands out no token at all.
|
|
511
|
-
*/
|
|
512
|
-
private observeHubAgentIncarnations;
|
|
513
|
-
/** A removed instance's incarnation goes with it (a later instance of the same name is a new one). strict: throw if not durable. */
|
|
514
|
-
private forgetHubAgentIncarnation;
|
|
515
|
-
/**
|
|
516
|
-
* A Hub question to its representative agent: ordinary cross-instance delivery (idle gate, wake, retries), from the
|
|
517
|
-
* reserved Hub sender with the Hub-issued correlation id. beforeInput runs immediately before the IPC hand-off.
|
|
518
|
-
*/
|
|
519
|
-
private deliverHubQuestion;
|
|
520
|
-
/** S-51: why the Hub (or this fleet's Hub membership) is not running, if it is held. Empty while off or running. */
|
|
521
|
-
getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
|
|
522
|
-
hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
|
|
523
|
-
hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
|
|
524
|
-
private observeRuntimeSwitches;
|
|
525
|
-
/**
|
|
526
|
-
* Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
|
|
527
|
-
* Windows process (a turn in progress is cancelled, as when the fleet stops), and those agents' tool sessions.
|
|
528
|
-
* Turned on: the Windows agents are registered and their chat history read, as at start-up.
|
|
529
|
-
*/
|
|
530
|
-
private applyRuntimeSwitches;
|
|
531
|
-
/** An unavailable opt-in runtime must not prevent the Linux fleet from starting or restoring its own history. */
|
|
532
|
-
private initializeNativeInstances;
|
|
533
|
-
/** Native CLIs are headless: the manager owns the durable delivery generation instead of a tmux daemon. */
|
|
534
|
-
private deliveryBootId;
|
|
535
334
|
private rawFleetConfig;
|
|
536
|
-
/**
|
|
537
|
-
* S-51 (#3095, experimental, off by default): the Hub runtime. src/hub/runtime.js is imported only once a Hub switch
|
|
538
|
-
* (hub.enabled / hub_member.enabled) is on; while both are off nothing Hub-related loads, opens or listens.
|
|
539
|
-
*/
|
|
540
|
-
private hubRuntime;
|
|
541
|
-
/** S3c's currentBinding reader, loaded with the pairing API (only while the member switch is on). */
|
|
542
|
-
private hubMemberBinding;
|
|
543
|
-
/** The member link as the "Connect to a Hub" view shows it (S5's client lifecycle). */
|
|
544
|
-
private hubMemberLink;
|
|
545
|
-
/** OutboundContext: the Hub representative's answer hook (null: no member service running, or not a Hub answer). */
|
|
546
|
-
hubReport(input: {
|
|
547
|
-
correlationId: string;
|
|
548
|
-
caller: string;
|
|
549
|
-
text: string;
|
|
550
|
-
callerCurrent(): boolean;
|
|
551
|
-
extras?: import("./hub-report-target.js").HubReportExtras;
|
|
552
|
-
}): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
|
|
553
|
-
/** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
|
|
554
|
-
private hubDeliveryFailed;
|
|
555
|
-
/** The member side's report_result hook for HUB_REPORT_TARGET while a representative service runs (else null). */
|
|
556
|
-
private hubReports;
|
|
557
|
-
/** The one in-flight creation (single flight): overlapping first observations share it, Stop waits for it. */
|
|
558
|
-
private hubRuntimeInit;
|
|
559
|
-
private hubEffectsReady;
|
|
560
|
-
private hubEffectsScheduled;
|
|
561
|
-
private hubHolds;
|
|
562
335
|
private rawFleetDocument;
|
|
563
336
|
/** #2208: the paths a saveFleetConfig() wrote, for its check that nothing else changed. */
|
|
564
337
|
private fleetDocumentWrites;
|
|
@@ -574,7 +347,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
574
347
|
get primaryWorld(): AdapterWorld | undefined;
|
|
575
348
|
readonly routing: RoutingEngine;
|
|
576
349
|
get routingTable(): Map<string, RouteTarget>;
|
|
577
|
-
instanceIpcClients: Map<string,
|
|
350
|
+
instanceIpcClients: Map<string, IpcClient>;
|
|
578
351
|
scheduler: Scheduler | null;
|
|
579
352
|
private configPath;
|
|
580
353
|
/** SIGHUPs received before startAll finishes are replayed once startup is safe. */
|
|
@@ -712,7 +485,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
712
485
|
private kiroMigrationRuns;
|
|
713
486
|
/** #1386 "Needs you": the list, its live chat messages and Acknowledge. Started with the fleet (finishStartup). */
|
|
714
487
|
private needsYou;
|
|
715
|
-
private hubExecutionAttention;
|
|
716
488
|
private missedOfflineStore;
|
|
717
489
|
private configHistory;
|
|
718
490
|
private configHistoryTimer;
|
|
@@ -941,8 +713,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
941
713
|
/** #2855: a trusted guest's searches, per account. */
|
|
942
714
|
readonly guestSearches: OfficeWriteLimiter;
|
|
943
715
|
private officeSharesInstance?;
|
|
944
|
-
/** #2861: when each instance was last talked to and answered (no words), for share links' dialogue box. */
|
|
945
|
-
readonly officeTalk: OfficeTalk;
|
|
946
716
|
/**
|
|
947
717
|
* #2636: Office share links — the live Office view for people outside the fleet, read-only, on a quick tunnel of
|
|
948
718
|
* their own (a manager and lease of its own: never the fleet's one tunnel lane nor the public link's preview tunnel).
|
|
@@ -1021,8 +791,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1021
791
|
* authorizing revoked links and cookies until the fleet restarted.
|
|
1022
792
|
*/
|
|
1023
793
|
private settingsGeneration;
|
|
1024
|
-
/** #2942: the settings baseline the agent-requested Windows changes are checked against (set with the gate). */
|
|
1025
|
-
private settingsBaselineReader;
|
|
1026
794
|
private settingsRuntimeRevision;
|
|
1027
795
|
private settingsConfirmation;
|
|
1028
796
|
private settingsControl;
|
|
@@ -1047,107 +815,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1047
815
|
* still hears it: a notice, not a step.
|
|
1048
816
|
*/
|
|
1049
817
|
private settingsSelfConfirmation;
|
|
1050
|
-
/**
|
|
1051
|
-
* alpha.2 (M-2300; #2973's agent requests, junsion's §6): on a fleet with no chat connection there is no General to
|
|
1052
|
-
* post an agent's Windows request in — it waited for `agend settings confirm` on the host. Its owner (decision
|
|
1053
|
-
* 28c2d3a3: the `agend web --code` session on this computer, web-verified) now sees and decides it from the web's
|
|
1054
|
-
* Needs you. The authority is asked from the request each time, and again at execution by the store (`current`):
|
|
1055
|
-
* still that owner now (this computer, not revoked, signed out or run out), still a fleet with no chat connection,
|
|
1056
|
-
* never over the public link. Anyone else — a guest, a LAN or public-link session, a chat-connected fleet's admin —
|
|
1057
|
-
* gets nothing (a chat fleet keeps General's card as its way).
|
|
1058
|
-
*/
|
|
1059
|
-
/**
|
|
1060
|
-
* #2997 review (Prism P2): how many times an agent's request came or was decided — in a web-only fleet's status frame,
|
|
1061
|
-
* so a page that never hears the stream's ping (one polling /ui/poll, one reconnecting, a tab from before the upgrade)
|
|
1062
|
-
* reads the list again when it moves. A count, nothing more.
|
|
1063
|
-
*/
|
|
1064
|
-
private agentProposalsRev;
|
|
1065
|
-
private agentProposalOwner;
|
|
1066
|
-
/**
|
|
1067
|
-
* Refs #3061 (P2a): the new-device approval's one authority — the same one that decides an agent's request: this web-only
|
|
1068
|
-
* fleet's owner, asked of the LIVE session each time (a sign-out, an expiry, a revocation, the authority switch or
|
|
1069
|
-
* "Only this computer can authorize" turning a session into a non-owner is seen at once). A LAN session that signed in
|
|
1070
|
-
* with a one-time code, a session a device approval made, a guest, a chat fleet's admin and the CLI's header token are
|
|
1071
|
-
* none of them this: they are told so, and learn nothing about any request.
|
|
1072
|
-
*/
|
|
1073
|
-
private deviceApprovalOwner;
|
|
1074
|
-
/**
|
|
1075
|
-
* Refs #3061 (auth-api): device-code sign-in is offered — a web-only fleet with web authorization on. With
|
|
1076
|
-
* `web.verified_authority.enabled: false` no one is an owner (liveOwner → null), so no one could approve: the three
|
|
1077
|
-
* `/auth/device-login*` routes answer 404 and the sign-in page shows no button. "Only this computer can authorize"
|
|
1078
|
-
* does not close it: this computer's own session can still approve.
|
|
1079
|
-
*/
|
|
1080
|
-
deviceLoginAvailable(): boolean;
|
|
1081
|
-
/** Refs #3061 (P2b): `web.login_qr` (default off), read per page served — the sign-in page then draws the approve link's QR code. */
|
|
1082
|
-
loginQrEnabled(): boolean;
|
|
1083
|
-
/**
|
|
1084
|
-
* GET /ui/devices: is this a web-only fleet, may THIS session approve a new device and end another (is it the verified
|
|
1085
|
-
* owner), and — to an admin session, never to a guest or the CLI's header token — the signed-in devices (Refs #3061, P2b).
|
|
1086
|
-
* `authority`: web authorization is on. With it off nobody is an owner (liveOwner → null), so nobody may add a device or
|
|
1087
|
-
* sign another out; the page says why and points to `agend web-token rotate` on this computer instead of "use the AgEnD
|
|
1088
|
-
* computer", which would not help.
|
|
1089
|
-
*/
|
|
1090
|
-
webDevicesStatus(req: IncomingMessage): {
|
|
1091
|
-
webOnly: boolean;
|
|
1092
|
-
owner: boolean;
|
|
1093
|
-
authority: boolean;
|
|
1094
|
-
devices: WebDeviceRow[];
|
|
1095
|
-
};
|
|
1096
|
-
/**
|
|
1097
|
-
* Refs #3061 (P2b): the device list — this fleet's admin sessions, newest activity first (a guest's sessions are the
|
|
1098
|
-
* Guests page's, and a read-only tier has none): how each was approved, whether it carries owner authority, and which
|
|
1099
|
-
* one is the reader's own. The same people may read this as may read `GET /auth/sessions` (any admin session).
|
|
1100
|
-
*
|
|
1101
|
-
* `ownerVerified` is the §3 verdict for the session as it would be used from where it signs in (a host session from
|
|
1102
|
-
* this computer, a session from outside over the link): one that signed in with a one-time code or a device approval is
|
|
1103
|
-
* not an owner until the authenticator vouches for it. Display only — the checks that act on it run again at each use.
|
|
1104
|
-
*/
|
|
1105
|
-
private webDeviceRows;
|
|
1106
|
-
/**
|
|
1107
|
-
* Refs #3061 (P2b): may this request's session end ANOTHER session — one signed in elsewhere, or all of them (auth-api
|
|
1108
|
-
* `DELETE /auth/sessions…`, which an admin session could always do). On a web-only fleet that is the verified owner's:
|
|
1109
|
-
* a session a code or a device approval made is signed in but not an owner, and could otherwise sign out the owner's
|
|
1110
|
-
* own. A fleet with a chat connection is as it was (its admins are the chat's). Ending one's OWN session is never this.
|
|
1111
|
-
*/
|
|
1112
|
-
mayEndOtherSessions(req: IncomingMessage): boolean;
|
|
1113
|
-
/**
|
|
1114
|
-
* Refs #3061 (P2b): POST /ui/devices/signout {handle} — the owner ends another signed-in device (the settings list's
|
|
1115
|
-
* button). Only the verified owner, asked of the LIVE session each time (a non-owner learns nothing about any handle:
|
|
1116
|
-
* 403 before anything is looked up); only an admin session of this fleet (a guest's is the Guests page's; an unknown
|
|
1117
|
-
* handle and a guest's are the same 404); never the owner's own session here (Sign out is /auth/logout). The device's
|
|
1118
|
-
* authorization goes with it, so a copy of its cookie is nobody's.
|
|
1119
|
-
*/
|
|
1120
|
-
webDeviceSignOut(req: IncomingMessage, handle: string): {
|
|
1121
|
-
status: number;
|
|
1122
|
-
body: Record<string, unknown>;
|
|
1123
|
-
};
|
|
1124
|
-
/**
|
|
1125
|
-
* Refs #3061 (P2a): look a new device's code up (for the confirm screen), approve it, or deny it — the verified owner's,
|
|
1126
|
-
* on a web-only fleet. The answer is the request as it now stands. Approving only marks the request approved: the new
|
|
1127
|
-
* browser makes its own session when it next asks (auth-api POST /auth/device-login/poll), so no credential passes from
|
|
1128
|
-
* here to there — not in the answer, not through the fleet. A wrong code counts against one fleet-wide breaker; while
|
|
1129
|
-
* it is open every code (a right one too) waits.
|
|
1130
|
-
*/
|
|
1131
|
-
webDeviceLoginAct(req: IncomingMessage, op: "lookup" | "approve" | "deny", code: string): {
|
|
1132
|
-
status: number;
|
|
1133
|
-
body: Record<string, unknown>;
|
|
1134
|
-
};
|
|
1135
|
-
/** alpha.2: the agents' requests waiting for this web-only fleet's owner, or null when the reader is not that owner. */
|
|
1136
|
-
webAgentProposals(req: IncomingMessage): SettingsPendingView[] | null;
|
|
1137
|
-
/**
|
|
1138
|
-
* alpha.2: the owner's Approve or Reject of an agent's request. The store claims it before its first await (a second
|
|
1139
|
-
* click, from here or the host, finds it no longer pending) and asks the owner, the request (its fleet generation and
|
|
1140
|
-
* Windows switch) and the target machine again before and while it runs the same creation code the web uses. The
|
|
1141
|
-
* answer is always the request as it now stands: applied (with the new agent's name), rejected, expired, stale or
|
|
1142
|
-
* failed (with its reason), or already decided.
|
|
1143
|
-
*/
|
|
1144
|
-
webDecideAgentProposal(req: IncomingMessage, id: string, decision: "confirm" | "reject"): Promise<{
|
|
1145
|
-
status: number;
|
|
1146
|
-
body: Record<string, unknown>;
|
|
1147
|
-
}>;
|
|
1148
|
-
/** A confirmation belongs to the server route/lifetime, not the availability of General's model. */
|
|
1149
|
-
private settingsGeneralRoute;
|
|
1150
|
-
/** Connected, same-platform, unaffected server routes can post cards even while the model is offline. */
|
|
818
|
+
/** #2170: the Generals a chat card could be posted in (promptSettingsChange's rule): connected, on the platform, unaffected. */
|
|
1151
819
|
private settingsNoticeGenerals;
|
|
1152
820
|
/**
|
|
1153
821
|
* #2170: General's notice of a change confirmed from the web — the first General a chat card could have been posted
|
|
@@ -1156,17 +824,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1156
824
|
private settingsWebConfirmedNotice;
|
|
1157
825
|
/** Exact configured effect owners; this does not depend on prompt location. */
|
|
1158
826
|
private settingsChatAuthority;
|
|
1159
|
-
/**
|
|
1160
|
-
* #2942: a Windows create or settings change an AGENT asked for. Nothing is created or written here: it becomes a
|
|
1161
|
-
* pending settings change whose General card a fleet admin must confirm (promptSettingsChange — the same admin rule
|
|
1162
|
-
* as every card). Its apply runs the same creation/patch code the web uses, inside the store's SettingsExecution, with
|
|
1163
|
-
* the confirming admin, the Windows switch and the target machine asked again at that moment.
|
|
1164
|
-
*/
|
|
1165
|
-
private proposeAgentWindowsChange;
|
|
1166
|
-
/** #2942: create_instance with runtime "windows" from an agent: validated like the web, then held for General. */
|
|
1167
|
-
requestWindowsCreate(requester: string, rawArgs: Record<string, unknown>): Promise<SettingsPendingView>;
|
|
1168
|
-
/** #2942: update_instance_config on a Windows agent: only the fields the web editor allows, held for General. */
|
|
1169
|
-
requestWindowsConfig(requester: string, name: string, patch: Record<string, unknown>): Promise<SettingsPendingView>;
|
|
1170
827
|
private promptSettingsChange;
|
|
1171
828
|
private kiroMigrateDeps;
|
|
1172
829
|
/**
|
|
@@ -1202,8 +859,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1202
859
|
sseHeartbeatMs: number;
|
|
1203
860
|
/** The dashboard's login codes. Memory only: a code that outlives the process is a code nobody can prove was not copied. */
|
|
1204
861
|
private webLoginCodes;
|
|
1205
|
-
/** Refs #3061 (P2a): device-code sign-in requests (in memory; web-device-login.ts). Read by auth-api as `webDeviceLogins`. */
|
|
1206
|
-
private webDeviceLogins;
|
|
1207
862
|
/**
|
|
1208
863
|
* #1920 step 4: guests' codes, apart from the admins' — one per account, so no guest's `/web` withdraws another's or
|
|
1209
864
|
* an admin's code (#2093 review), at most 32 at once. Local sign-in only for now (audience "local").
|
|
@@ -1343,11 +998,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1343
998
|
private reconcileQueueWorkers;
|
|
1344
999
|
private createQueueWorker;
|
|
1345
1000
|
private dispatchDurableDelivery;
|
|
1346
|
-
/** The ordinary durable lane, with provider completion proof instead of terminal/IPC submission proof. */
|
|
1347
|
-
private dispatchNativeDurableDelivery;
|
|
1348
|
-
/** A runtime's persisted completion can outlive this manager. Resolve its original delivery fence, never send
|
|
1349
|
-
* the prompt again, and reconstruct a missing peer report using the same durable operation ID. */
|
|
1350
|
-
private reconcileRemoteDelivery;
|
|
1351
1001
|
private waitForDurableLaneRelease;
|
|
1352
1002
|
private spawnConcurrency;
|
|
1353
1003
|
/** #1685: "elevated" or "critical" while host memory pressure slows or holds new agents; otherwise null (an
|
|
@@ -1468,7 +1118,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1468
1118
|
private tightenInstanceDirectories;
|
|
1469
1119
|
/** AgEnD package version (for the Settings "current version" / What's New). */
|
|
1470
1120
|
get currentVersion(): string;
|
|
1471
|
-
get currentBuild(): import("./build-provenance.js").InstalledBuild;
|
|
1472
1121
|
/**
|
|
1473
1122
|
* Resolve a slash-command target in a channel. Classic channels are looked up
|
|
1474
1123
|
* per-bot (same-channel multi-bot); a fleet-topic instance is found via the
|
|
@@ -1646,12 +1295,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1646
1295
|
* retry brings it up, however long the backoff, and fails only once the retries give up.
|
|
1647
1296
|
*/
|
|
1648
1297
|
private sendWhenConnected;
|
|
1649
|
-
/**
|
|
1650
|
-
* The Hub representative's hand-off (#3145): only once a connected client exists, after every reconnect/order wait,
|
|
1651
|
-
* the begin lease + input intent (beforeInput), then the fence and the LIVE client are checked again and the payload
|
|
1652
|
-
* goes in one attempt. After the intent is spent nothing here retries: false is the caller's uncertain outcome.
|
|
1653
|
-
*/
|
|
1654
|
-
private handOffAfterBeforeInput;
|
|
1655
1298
|
/** Poll for the instance's IPC to come back, then send. Throws if it does not. */
|
|
1656
1299
|
private sendAfterIpcReturns;
|
|
1657
1300
|
/**
|
|
@@ -2086,8 +1729,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2086
1729
|
/** #1742: `/start web` from a fleet admin: the /web menu right here in the DM, for the General this bot serves. */
|
|
2087
1730
|
private startWebInDm;
|
|
2088
1731
|
private getPublicWebLink;
|
|
2089
|
-
/** The public link's wiring to this fleet (a test builds one with the tunnel itself stubbed: `ensure`, `provider`). */
|
|
2090
|
-
private publicWebLinkDeps;
|
|
2091
1732
|
private publicLinkAutoOpen;
|
|
2092
1733
|
/**
|
|
2093
1734
|
* #named-link-ttl: the admin who last opened a named-tunnel link from /web, with the live binding — only while they
|
|
@@ -2431,6 +2072,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2431
2072
|
* Discord bot and while some account has a running agent, read every 30 min — the same cached read (its 5-minute TTL
|
|
2432
2073
|
* still bounds the vendor calls), recorded like any other.
|
|
2433
2074
|
*/
|
|
2075
|
+
private quotaNotices;
|
|
2076
|
+
private stopQuotaObserver;
|
|
2077
|
+
private quotaNoticePolicy;
|
|
2434
2078
|
private startQuotaBackgroundReads;
|
|
2435
2079
|
/** #3066 §1: the latest estimates, by `provider\0metric` (what usage-api's lookup reads, synchronously). */
|
|
2436
2080
|
private capacityEstimates;
|
|
@@ -2508,8 +2152,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2508
2152
|
* that should be running is running
|
|
2509
2153
|
* - `degraded` — reachable, but something the operator should look at (an
|
|
2510
2154
|
* adapter retrying, an instance crashed or stopped)
|
|
2511
|
-
* - `down` — no
|
|
2512
|
-
*
|
|
2155
|
+
* - `down` — the fleet cannot do its job: no adapter is connected, so no
|
|
2156
|
+
* message can arrive or be answered
|
|
2513
2157
|
*
|
|
2514
2158
|
* Deliberately does NOT gate the systemd watchdog — see the comment at the
|
|
2515
2159
|
* WATCHDOG timer for why.
|
|
@@ -2540,11 +2184,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2540
2184
|
topProcessesAt?: string;
|
|
2541
2185
|
};
|
|
2542
2186
|
problems: string[];
|
|
2543
|
-
warnings: string[];
|
|
2544
|
-
/** Local server mount availability; absent when the Hub server switch is off. */
|
|
2545
|
-
hub?: {
|
|
2546
|
-
server: import("./hub/runtime.js").HubServerHealth;
|
|
2547
|
-
};
|
|
2548
2187
|
};
|
|
2549
2188
|
/** Start the primary adapter (backward-compatible, sets this.adapter) */
|
|
2550
2189
|
private startSingleAdapter;
|
|
@@ -2897,13 +2536,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2897
2536
|
* channel, are seen to share it; and every connection's own General is protected, with or without a General agent.
|
|
2898
2537
|
*/
|
|
2899
2538
|
private topicOwnership;
|
|
2900
|
-
/**
|
|
2901
|
-
* The bot an agent's configured topic is on (#3105 review, Prism P1): a fleet.yaml agent's `channel_id` (else the
|
|
2902
|
-
* primary connection) whatever its runtime — a per-turn Windows agent has no execution adapter
|
|
2903
|
-
* (getInstanceAdapterId), yet its topic is still on that bot, and must be counted as an owner and deleted through it.
|
|
2904
|
-
* Topic planning and ownership only; execution routing is getInstanceAdapterId's and unchanged.
|
|
2905
|
-
*/
|
|
2906
|
-
private topicAdapterIdOf;
|
|
2907
2539
|
/** What deleting `name`'s topic would act on: its own bot only — a bot that is not there is never substituted. */
|
|
2908
2540
|
private planInstanceTopicDelete;
|
|
2909
2541
|
getForumTopicDeleter(adapterId?: string): ((topicId: number | string) => Promise<void>) | null;
|
|
@@ -2990,8 +2622,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2990
2622
|
private writingFleetDocument;
|
|
2991
2623
|
getSettingsConfigPath(): string;
|
|
2992
2624
|
removeInstance(name: string, authorization: ExplicitInstanceRemoval, execution?: SettingsExecution): Promise<void>;
|
|
2993
|
-
/** Shared instance metadata goes with a native identity; its Windows workspace and provider sessions stay intact. */
|
|
2994
|
-
private nativeInstanceRemoved;
|
|
2995
2625
|
private removeInstanceOwned;
|
|
2996
2626
|
startStatuslineWatcher(name: string): void;
|
|
2997
2627
|
stopStatuslineWatcher(name: string): void;
|
|
@@ -3439,8 +3069,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3439
3069
|
onAttentionChanged(name: string): void;
|
|
3440
3070
|
/** The list for the web: every world's items, and those of instances with no world (#1386 §5.0). */
|
|
3441
3071
|
needsYouItems(): WebNeedsItem[];
|
|
3442
|
-
/** Enabled member composition supplies only a local attention reader, never an approval/execution callback. */
|
|
3443
|
-
attachHubExecutionAttention(read: (() => import("./needs-you.js").HubExecutionAttentionInput[]) | null): void;
|
|
3444
3072
|
/**
|
|
3445
3073
|
* #1389: the org chart's structure for the web — the instances the dashboard lists (getUiStatus's names), General,
|
|
3446
3074
|
* fleet.yaml's teams, each instance's description and thread link. Read on demand; the live state rides the stream.
|
|
@@ -3657,89 +3285,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3657
3285
|
* again. A fleet with a chat connection, another session, or another peer: nothing (§3 as before).
|
|
3658
3286
|
*/
|
|
3659
3287
|
authorizeHostSession(session: SessionRecord, peer: WebPeer): void;
|
|
3660
|
-
private webRemoteAccessState;
|
|
3661
|
-
/** The authenticator, the outside switch and the wrong-code limiter (web-remote-access.json), read on first use. */
|
|
3662
|
-
webRemoteAccess(): WebRemoteAccess | null;
|
|
3663
|
-
/** "Allow connections from outside" is on (an app set up) and this is a web-only fleet. */
|
|
3664
|
-
private outsideOn;
|
|
3665
|
-
/** The link connections from outside opened, while it is open and still theirs: its exposure. Else null. */
|
|
3666
|
-
private outsideLink;
|
|
3667
|
-
/**
|
|
3668
|
-
* The request's live session, asked again each time `current()` is called (its own cookie authenticated anew, the same
|
|
3669
|
-
* handle): this web-only fleet's owner — this computer's admin, on this computer (`hostOnly`), or also signed in from
|
|
3670
|
-
* outside — and web-verified now. Null when it is not (a guest, a LAN session, a chat fleet's admin, nobody).
|
|
3671
|
-
*/
|
|
3672
|
-
private liveOwner;
|
|
3673
|
-
/** Every session signed in from outside ends (and the authorizations kept for them). */
|
|
3674
|
-
private endOutsideSessions;
|
|
3675
|
-
/**
|
|
3676
|
-
* #1939 §10 / #3008: a stored receipt's authority as it reads now — the web authority state, and for this computer's
|
|
3677
|
-
* admin from outside the switch and the last revocation of remote authority (Prism P2 2).
|
|
3678
|
-
*/
|
|
3679
|
-
receiptAuthorityNow(stored: HumanAuthority, state?: AuthorityState): HumanAuthority;
|
|
3680
|
-
/** #3008 (the sign-in page): this exposure is the outside link, open now. */
|
|
3681
|
-
isOutsideLink(exposureId: string): boolean;
|
|
3682
|
-
/** What Settings shows: set up or not, the switch, a wait in force, the link — its address only to this computer. */
|
|
3683
|
-
webOutsideStatus(req: IncomingMessage): {
|
|
3684
|
-
webOnly: boolean;
|
|
3685
|
-
here: boolean;
|
|
3686
|
-
enrolled: boolean;
|
|
3687
|
-
enrolledAt: number | null;
|
|
3688
|
-
outside: boolean;
|
|
3689
|
-
pausedForMs: number;
|
|
3690
|
-
link: {
|
|
3691
|
-
state: string;
|
|
3692
|
-
url?: string;
|
|
3693
|
-
expiresAt?: number;
|
|
3694
|
-
noExpiry?: true;
|
|
3695
|
-
quick: boolean;
|
|
3696
|
-
} | null;
|
|
3697
|
-
};
|
|
3698
|
-
/** Set up (or set up again): a new secret, shown once to this computer's admin. Null: not them. */
|
|
3699
|
-
webOutsideBeginEnrollment(req: IncomingMessage): {
|
|
3700
|
-
secret: string;
|
|
3701
|
-
uri: string;
|
|
3702
|
-
expiresInMs: number;
|
|
3703
|
-
} | null;
|
|
3704
|
-
/** The new app's first code: on "ok" it replaces the old one, whose sessions from outside end. */
|
|
3705
|
-
webOutsideConfirmEnrollment(req: IncomingMessage, code: string): "ok" | "wrong" | "expired" | "unsaved" | "not_here";
|
|
3706
|
-
/** Forget the app: the switch goes off, the link closes, every session from outside ends. */
|
|
3707
|
-
webOutsideRemove(req: IncomingMessage): "ok" | "unsaved" | "not_here";
|
|
3708
|
-
/** The switch. On: needs an app set up; the link opens. Off: it closes and every session from outside ends. */
|
|
3709
|
-
webOutsideSwitch(req: IncomingMessage, on: boolean): "ok" | "not_enrolled" | "not_here" | "not_allowed" | "unsaved";
|
|
3710
|
-
private outsideAttempt;
|
|
3711
|
-
private outsideOpening;
|
|
3712
|
-
/**
|
|
3713
|
-
* Open the outside link: an attempt after each delay in turn until one opens (#3008 B: twice more at most — the quick
|
|
3714
|
-
* link's address service limits how often it may be asked). Every attempt asks again: the switch still on, the fleet
|
|
3715
|
-
* running. A final failure: one Notice; the switch stays on, so the next start tries again.
|
|
3716
|
-
*/
|
|
3717
|
-
private openOutsideLink;
|
|
3718
|
-
private closeOutsideLink;
|
|
3719
|
-
/** PublicWebLink.onClose for the outside link: what closed it decides what happens next (#3008 B). */
|
|
3720
|
-
private outsideLinkClosed;
|
|
3721
|
-
/**
|
|
3722
|
-
* #3008 (auth-api POST /auth/totp): a sign-in through the outside link with the authenticator's code. "ok": the caller
|
|
3723
|
-
* makes the session (SessionRecord.remote) and then calls authorizeOutsideSession. Each wrong code counts; a wait that
|
|
3724
|
-
* starts is a Notice; a code that matches a step just outside the window logs how far this clock seems to be off.
|
|
3725
|
-
*/
|
|
3726
|
-
outsideSignIn(exposureId: string | undefined, code: string): {
|
|
3727
|
-
kind: "ok";
|
|
3728
|
-
} | {
|
|
3729
|
-
kind: "wrong";
|
|
3730
|
-
} | {
|
|
3731
|
-
kind: "paused";
|
|
3732
|
-
retryAfterMs: number;
|
|
3733
|
-
} | {
|
|
3734
|
-
kind: "closed";
|
|
3735
|
-
} | {
|
|
3736
|
-
kind: "unavailable";
|
|
3737
|
-
};
|
|
3738
|
-
/**
|
|
3739
|
-
* #3008: a session just made by outsideSignIn's "ok" is this computer's admin for its authorization's life. False: it
|
|
3740
|
-
* could not be admitted (its handle not saved, #3015 review r3) — the caller ends it.
|
|
3741
|
-
*/
|
|
3742
|
-
authorizeOutsideSession(session: SessionRecord, peer: WebPeer, label: string): boolean;
|
|
3743
3288
|
private authorityStateStore;
|
|
3744
3289
|
/**
|
|
3745
3290
|
* #1939 §10: the switch, "Only this computer can authorize" and the revocation epoch in force for the configuration as
|
|
@@ -3773,8 +3318,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3773
3318
|
}>;
|
|
3774
3319
|
/** #2453 (§0.2): the admin's named-tunnel hostname, while one is configured (the named-link row shows only then). */
|
|
3775
3320
|
namedHost: string | null;
|
|
3776
|
-
/** A fleet with no chat connection: the page words the card for the authenticator, not for Discord / Telegram. */
|
|
3777
|
-
webOnly: boolean;
|
|
3778
3321
|
};
|
|
3779
3322
|
private authorizationRequests;
|
|
3780
3323
|
/**
|
|
@@ -4115,34 +3658,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4115
3658
|
* #2233: Settings → Agents' sign-in list — every backend's default login as the availability snapshot has it, then
|
|
4116
3659
|
* each credential profile an agent uses (its own login state, read offline).
|
|
4117
3660
|
*/
|
|
4118
|
-
/** Which account each sign-in is, as the host's own `claude auth status` said (masked; see checkAuthIdentity). Keys are `backend\0profile` in a Map: a name is data, never a property. */
|
|
4119
|
-
private readonly signInIdentities;
|
|
4120
|
-
/** Reads in flight, by the same key: a second request for a sign-in that is already being read joins it instead of starting another process. */
|
|
4121
|
-
private readonly signInIdentityReads;
|
|
4122
|
-
/** Raised each time the accounts are forgotten: a read that began before is never allowed to write what it found. */
|
|
4123
|
-
private signInIdentityGeneration;
|
|
4124
|
-
private signInIdentitySlots;
|
|
4125
|
-
private readonly signInIdentityWaiters;
|
|
4126
|
-
private signInIdentity;
|
|
4127
|
-
/** A sign-in finished (or changed): forget what was read and let no read that was already running put its answer back. */
|
|
4128
|
-
private forgetSignInIdentities;
|
|
4129
|
-
/** At most three `claude auth status` at once across the whole host, however many requests ask. */
|
|
4130
|
-
private withSignInIdentitySlot;
|
|
4131
|
-
/** One `claude auth status` for a sign-in (the default one, or a credential profile's folder). */
|
|
4132
|
-
private readSignInIdentity;
|
|
4133
|
-
/**
|
|
4134
|
-
* Start reading, in the background, the account of each Claude Code sign-in that is signed in (the default and every profile an agent uses) and
|
|
4135
|
-
* not read in the last five minutes. It never waits and never blocks a request: the list shows what is already known, and the pages are told to
|
|
4136
|
-
* read it again when something new was learned. A sign-in already being read is not read twice, and a read that began before the accounts were
|
|
4137
|
-
* forgotten (a sign-in finished meanwhile) is dropped. No login, no network request of ours, nothing logged.
|
|
4138
|
-
*/
|
|
4139
|
-
refreshSignInIdentities(): void;
|
|
4140
|
-
/**
|
|
4141
|
-
* #3212 PR 1: the Accounts view (accounts-view.ts) — every CLI's default sign-in and named profiles (used or only on
|
|
4142
|
-
* disk), who uses each and its weekly usage. Host rows only; a paired computer's rows come with #3190 Part 3c. Its
|
|
4143
|
-
* usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
|
|
4144
|
-
*/
|
|
4145
|
-
accountsView(usageWaitMs?: number): Promise<AccountsView>;
|
|
4146
3661
|
backendSignInTargets(): SignInTarget[];
|
|
4147
3662
|
/** #2233: the session with this handle is live, admin, local and of the current dashboard token. */
|
|
4148
3663
|
private isLocalAdminSession;
|
|
@@ -4668,8 +4183,6 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4668
4183
|
* profile's, when it is named and has one), claude's account catalog included. Read only: never a probe.
|
|
4669
4184
|
*/
|
|
4670
4185
|
modelCatalogFor(backend: string, instance: string | null): import("./backend/types.js").ModelOption[];
|
|
4671
|
-
/** Host-default fallback only: Grok has no modeled profile home. Never construct a backend or start a probe. */
|
|
4672
|
-
cliModelCatalogFor(backend: string, instance: string | null): Promise<import("./backend/types.js").ModelOption[]>;
|
|
4673
4186
|
/**
|
|
4674
4187
|
* #2072 (#2078 review): the snapshot as THIS instance would see it. Its sign-in on a backend is its own credential
|
|
4675
4188
|
* profile's when it has one there — the host's default login says nothing about it. A profile's login is a file check
|
|
@@ -5140,5 +4653,3 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
5140
4653
|
getUiStatus(): unknown;
|
|
5141
4654
|
private getUiStatusSync;
|
|
5142
4655
|
}
|
|
5143
|
-
/** alpha.2 (M-2300): the agent an applied Windows request created (its name, for the page's "Open chat"), or null. */
|
|
5144
|
-
export declare function agentNameOf(view: SettingsPendingView): string | null;
|