@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
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { HubStateError, type HubHoldCode, type HubStateSet } from "../db.js";
|
|
2
|
-
import type { HubMountedService } from "../mount.js";
|
|
3
|
-
import { HubMemberAdmissionAdapter } from "../admission.js";
|
|
4
|
-
import { type HubMemberLink } from "../client.js";
|
|
5
|
-
import { HubMemberJournal } from "../member-journal.js";
|
|
6
|
-
import { type HubMemberProfile } from "../profile.js";
|
|
7
|
-
import type { HubServerFrame } from "../types.js";
|
|
8
|
-
import { type HubViewSource } from "./views.js";
|
|
9
|
-
import { type HubReportOutcome, type HubRepresentativeDelivery } from "../representative.js";
|
|
10
|
-
import { type HubProviderSetupReason } from "../execution/provider-setup.js";
|
|
11
|
-
export declare function memberSet(hubId: string): HubStateSet;
|
|
12
|
-
type Execution = typeof import("../execution/index.js");
|
|
13
|
-
type Exposures = typeof import("../member/exposures.js");
|
|
14
|
-
type ExposureApi = typeof import("../member/exposure-api.js");
|
|
15
|
-
/** The slices the member side needs, imported lazily inside the factory. Missing: hub-incomplete, before any I/O. */
|
|
16
|
-
export interface HubMemberComponents {
|
|
17
|
-
execution?: () => Promise<Execution>;
|
|
18
|
-
exposures?: () => Promise<{
|
|
19
|
-
store: Exposures;
|
|
20
|
-
api: ExposureApi;
|
|
21
|
-
}>;
|
|
22
|
-
/** S4b: only consulted when the owner configured hub_member.execution.provider. */
|
|
23
|
-
provider?: () => Promise<{
|
|
24
|
-
createHubCliProvider: typeof import("../execution/cli-provider.js").createHubCliProvider;
|
|
25
|
-
createHubModelBroker: typeof import("../execution/model-broker.js").createHubModelBroker;
|
|
26
|
-
}>;
|
|
27
|
-
}
|
|
28
|
-
export interface HubMemberFactoryOptions {
|
|
29
|
-
home: string;
|
|
30
|
-
components: HubMemberComponents;
|
|
31
|
-
/** S3c's current binding (its pairing state): the Hub id, or null when unpaired or disconnected. */
|
|
32
|
-
boundHub(): string | null;
|
|
33
|
-
/** The owner's local agents, each with the S4 provider it would run under (null: none). */
|
|
34
|
-
agents(): import("../member/exposure-api.js").HubMemberAgent[];
|
|
35
|
-
views?: HubViewSource;
|
|
36
|
-
/** P1's representative mode: the fleet's ordinary delivery, the agent lifecycle token and the report_result hook. */
|
|
37
|
-
representative: HubRepresentativeHost;
|
|
38
|
-
attachExposures(api: import("../member/exposure-api.js").HubMemberExposureApi | null): void;
|
|
39
|
-
attachAttention(read: (() => import("../../needs-you.js").HubExecutionAttentionInput[]) | null): void;
|
|
40
|
-
pokeAttention(): void;
|
|
41
|
-
/** The member link as S3c's pairing view shows it: online after a completed handshake, revoked when the Hub said so. */
|
|
42
|
-
linkState?(state: "online" | "offline" | "revoked"): void;
|
|
43
|
-
report(code: HubHoldCode, detail: string): void;
|
|
44
|
-
/**
|
|
45
|
-
* A non-fatal hold while the member keeps running (the provider could not be set up: every exposure stays
|
|
46
|
-
* unavailable). `reason` is a bounded setup reason (PROVIDER_SETUP_REASONS) for localized guidance.
|
|
47
|
-
*/
|
|
48
|
-
notice?(code: HubHoldCode, reason: ProviderSetupReason, detail: string): void;
|
|
49
|
-
log(level: "info" | "warn", message: string, meta?: Record<string, unknown>): void;
|
|
50
|
-
now?: () => number;
|
|
51
|
-
}
|
|
52
|
-
export interface HubRepresentativeHost {
|
|
53
|
-
/** Derive only a coarse band from this agent's local CLI/profile. Never hands exact usage to the Hub layer. */
|
|
54
|
-
quota?(agent: string): Promise<import("../types.js").HubQuota>;
|
|
55
|
-
/** Ordinary cross-instance delivery to the published agent, with beforeInput run immediately before the IPC hand-off. */
|
|
56
|
-
deliver(input: HubRepresentativeDelivery): Promise<boolean>;
|
|
57
|
-
/** The agent's current lifecycle token (null: not a deliverable agent now). */
|
|
58
|
-
agentToken(agent: string): string | null;
|
|
59
|
-
/** attachments-v1: the agent's inbox for a question's files and its own paths for an answer's (absent: no files). */
|
|
60
|
-
files?: import("../member/attachments.js").HubMemberFilesOptions;
|
|
61
|
-
/** The report_result hook for HUB_REPORT_TARGET and the pane-failure hook for its correlation ids (null: detached). */
|
|
62
|
-
attachReports(handler: ((input: {
|
|
63
|
-
correlationId: string;
|
|
64
|
-
caller: string;
|
|
65
|
-
text: string;
|
|
66
|
-
callerCurrent(): boolean;
|
|
67
|
-
extras?: import("../../hub-report-target.js").HubReportExtras;
|
|
68
|
-
}) => Promise<HubReportOutcome> | null) | null, failed: ((correlationId: string, agent: string) => void) | null): void;
|
|
69
|
-
}
|
|
70
|
-
/** Bounded provider-setup reasons: S4's own list (src/hub/execution/provider-setup.ts); S4 owns the guidance text. */
|
|
71
|
-
export declare const PROVIDER_SETUP_REASONS: readonly ["engine-unavailable", "engine-unsupported", "image-unconfigured", "image-mismatch", "credential-unconfigured", "unavailable"];
|
|
72
|
-
export type ProviderSetupReason = HubProviderSetupReason;
|
|
73
|
-
export declare class HubProviderSetupError extends HubStateError {
|
|
74
|
-
readonly reason: ProviderSetupReason;
|
|
75
|
-
constructor(reason: ProviderSetupReason, message: string);
|
|
76
|
-
}
|
|
77
|
-
/** The bounded reason of any provider-setup failure: S4b's typed `.reason` when it is one of ours, else "unavailable". */
|
|
78
|
-
export declare function providerSetupReason(err: unknown): ProviderSetupReason;
|
|
79
|
-
interface ProviderConfig {
|
|
80
|
-
backend: "claude" | "codex";
|
|
81
|
-
imageId: string;
|
|
82
|
-
model: string;
|
|
83
|
-
credentialRef: string;
|
|
84
|
-
dockerSocket?: string;
|
|
85
|
-
}
|
|
86
|
-
/** hub_member.execution.provider, strictly (agreed with S4b, hub-s54-provider-composition). Absent: null. */
|
|
87
|
-
export declare function providerConfig(cfg: Record<string, unknown>, hubId: string): ProviderConfig | null;
|
|
88
|
-
/**
|
|
89
|
-
* The member's captured binding for S4 (and S1 admission): the pairing's identity plus the link it was captured on.
|
|
90
|
-
* relink() starts a new generation for every (re)connect; a binding captured earlier then reads current() === false,
|
|
91
|
-
* as it does after fence(). S4 keeps binding objects across awaits, so this is what fences its in-flight work.
|
|
92
|
-
*/
|
|
93
|
-
export declare function createMemberBinding(deps: {
|
|
94
|
-
hubId: string;
|
|
95
|
-
profile: Pick<HubMemberProfile, "issuerKeyId" | "fleetId" | "owner" | "hub">;
|
|
96
|
-
live(): boolean;
|
|
97
|
-
revocationFloor(): number;
|
|
98
|
-
}): {
|
|
99
|
-
relink(l: HubMemberLink): void;
|
|
100
|
-
fence(): void;
|
|
101
|
-
link: () => HubMemberLink | null;
|
|
102
|
-
binding(): Readonly<{
|
|
103
|
-
hubId: string;
|
|
104
|
-
issuerKeyId: string;
|
|
105
|
-
issuerPublicKey: import("node:crypto").KeyObject;
|
|
106
|
-
fleetId: string;
|
|
107
|
-
owner: {
|
|
108
|
-
realm: string;
|
|
109
|
-
objectId: string;
|
|
110
|
-
};
|
|
111
|
-
revocationVersion: number;
|
|
112
|
-
generation: number;
|
|
113
|
-
linkEpoch: number;
|
|
114
|
-
current: () => boolean;
|
|
115
|
-
}>;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* S5's receive routing for the member link (agreed with S1, hub-s51-compose): question → admit → the receipt on the
|
|
119
|
-
* same link, answering the question's own requestId; revoke → fence; receipt (the Hub's ACK) → journal.acknowledge;
|
|
120
|
-
* anything else is refused. Never ordinary fleet delivery.
|
|
121
|
-
*/
|
|
122
|
-
export declare function createMemberReceive(deps: {
|
|
123
|
-
admission: Pick<HubMemberAdmissionAdapter, "admit" | "fence">;
|
|
124
|
-
journal: Pick<HubMemberJournal, "acknowledge">;
|
|
125
|
-
live(): boolean;
|
|
126
|
-
log(level: "info" | "warn", message: string, meta?: Record<string, unknown>): void;
|
|
127
|
-
}): (frame: Exclude<HubServerFrame, {
|
|
128
|
-
type: "welcome";
|
|
129
|
-
}>, l: HubMemberLink) => Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Disconnect while the member side is not running (held, or never composed): withdraw every published exposure in the
|
|
132
|
-
* member's own store, so consent never outlives the disconnect (a later re-pair to the same Hub republishes nothing).
|
|
133
|
-
* Never composed (no member state): nothing was published. A partial set throws (the disconnect reports "unsaved").
|
|
134
|
-
*/
|
|
135
|
-
export declare function withdrawMemberExposuresOffline(home: string, hubId: string, now?: () => number): Promise<number>;
|
|
136
|
-
export declare function createHubMemberFactory(options: HubMemberFactoryOptions): ((cfg: Record<string, unknown>, current: () => boolean) => Promise<HubMountedService>) & {
|
|
137
|
-
drain: () => Promise<void>;
|
|
138
|
-
};
|
|
139
|
-
export {};
|
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* S5b member factory (S-51 PR 2b; docs/design/hub-composition.md §5 "Member"). Called by S1's HubMount for an enabled
|
|
3
|
-
* hub_member, and only for a current, non-disconnected binding (S3c's pairing state). Builds, in order:
|
|
4
|
-
* member DB + every migration → floors and keys (first creation only) → member-local audit → S1 journal (its
|
|
5
|
-
* restricted outbox forwards to S4 once S4 exists) → S3c exposure store → S4 restricted execution (+ the optional
|
|
6
|
-
* S4b provider, only when the owner configured one) → recover() → S1 admission + client with #3116's handshake and
|
|
7
|
-
* S5's receive routing → the exposure API and Needs-you attention attached to the fleet.
|
|
8
|
-
* Either the whole service comes back or nothing stays open; unconfirmed cleanup stays owned (drain()).
|
|
9
|
-
* The data-view registry comes from a HubViewSource: EMPTY until the owner-approval flow exists (§7 Q2), so nothing
|
|
10
|
-
* is publishable or askable — fail closed.
|
|
11
|
-
*/
|
|
12
|
-
import { createPublicKey, randomBytes } from "node:crypto";
|
|
13
|
-
import { closeSync, openSync, writeSync } from "node:fs";
|
|
14
|
-
import { createHubAudit, HUB_AUDIT_MIGRATION } from "../audit/index.js";
|
|
15
|
-
import { applyHubMigrations, bindHubInstance, HUB_INSTANCE_MIGRATION, HubStateError, inspectStateSet, openHubDatabase, } from "../db.js";
|
|
16
|
-
import { ensurePrivateDirectory, readPrivateFile } from "../private-files.js";
|
|
17
|
-
import { HubMemberAdmissionAdapter } from "../admission.js";
|
|
18
|
-
import { HubMemberClient } from "../client.js";
|
|
19
|
-
import { HUB_MEMBER_JOURNAL_MIGRATION, HubMemberJournal } from "../member-journal.js";
|
|
20
|
-
import { createHubMemberHandshake } from "../member-reconciliation.js";
|
|
21
|
-
import { HubMemberProfileStore } from "../profile.js";
|
|
22
|
-
import { createQuotaPublisher } from "../member/quota.js";
|
|
23
|
-
import { HubFileVersionFloor } from "../version-floor.js";
|
|
24
|
-
import { EMPTY_VIEW_SOURCE } from "./views.js";
|
|
25
|
-
import { HUB_REPRESENTATIVE_MIGRATION, HubRepresentativeExecution } from "../representative.js";
|
|
26
|
-
import { HUB_PROVIDER_SETUP_REASONS, hubProviderSetupReason } from "../execution/provider-setup.js";
|
|
27
|
-
import { HubMemberFiles } from "../member/attachments.js";
|
|
28
|
-
export function memberSet(hubId) {
|
|
29
|
-
const base = `hub-member/${hubId}`;
|
|
30
|
-
return Object.freeze({
|
|
31
|
-
database: `${base}/member.sqlite`,
|
|
32
|
-
floors: Object.freeze([`${base}/floors/journal`, `${base}/floors/execution`, `${base}/floors/s3c-exposures`]),
|
|
33
|
-
keys: Object.freeze([`${base}/keys/journal.key`, `${base}/keys/content.key`]),
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
/** Ordered cleanup that stops at the first unconfirmed step (same rules as the server factory). */
|
|
37
|
-
class Teardown {
|
|
38
|
-
steps = [];
|
|
39
|
-
add(name, run) {
|
|
40
|
-
this.steps.push({ name, run, done: false });
|
|
41
|
-
}
|
|
42
|
-
async run() {
|
|
43
|
-
for (let i = this.steps.length - 1; i >= 0; i -= 1) {
|
|
44
|
-
const step = this.steps[i];
|
|
45
|
-
if (step.done)
|
|
46
|
-
continue;
|
|
47
|
-
try {
|
|
48
|
-
await step.run();
|
|
49
|
-
step.done = true;
|
|
50
|
-
}
|
|
51
|
-
catch (err) {
|
|
52
|
-
throw new HubStateError("service-unavailable", `Hub member cleanup of ${step.name} is unconfirmed: ${err.message}`);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
function createKeyFile(home, rel) {
|
|
58
|
-
ensurePrivateDirectory(home, rel.slice(0, rel.lastIndexOf("/")));
|
|
59
|
-
const fd = openSync(`${home}/${rel}`, "wx", 0o600);
|
|
60
|
-
try {
|
|
61
|
-
writeSync(fd, randomBytes(32).toString("base64"));
|
|
62
|
-
}
|
|
63
|
-
finally {
|
|
64
|
-
closeSync(fd);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
function readKey(home, rel) {
|
|
68
|
-
const key = Buffer.from(readPrivateFile(home, rel, 256).trim(), "base64");
|
|
69
|
-
if (key.length !== 32)
|
|
70
|
-
throw new HubStateError("hub-storage", `${rel} is not a 32-byte key`);
|
|
71
|
-
return key;
|
|
72
|
-
}
|
|
73
|
-
/** Bounded provider-setup reasons: S4's own list (src/hub/execution/provider-setup.ts); S4 owns the guidance text. */
|
|
74
|
-
export const PROVIDER_SETUP_REASONS = HUB_PROVIDER_SETUP_REASONS;
|
|
75
|
-
export class HubProviderSetupError extends HubStateError {
|
|
76
|
-
reason;
|
|
77
|
-
constructor(reason, message) {
|
|
78
|
-
super("hub-provider-unavailable", message);
|
|
79
|
-
this.reason = reason;
|
|
80
|
-
this.name = "HubProviderSetupError";
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
/** The bounded reason of any provider-setup failure: S4b's typed `.reason` when it is one of ours, else "unavailable". */
|
|
84
|
-
export function providerSetupReason(err) {
|
|
85
|
-
if (err instanceof HubProviderSetupError)
|
|
86
|
-
return err.reason;
|
|
87
|
-
return hubProviderSetupReason(err) ?? "unavailable";
|
|
88
|
-
}
|
|
89
|
-
const PROVIDER_KEYS = new Set(["backend", "imageId", "model", "credentialRef", "dockerSocket"]);
|
|
90
|
-
/** hub_member.execution.provider, strictly (agreed with S4b, hub-s54-provider-composition). Absent: null. */
|
|
91
|
-
export function providerConfig(cfg, hubId) {
|
|
92
|
-
const execution = cfg.execution;
|
|
93
|
-
if (execution === undefined)
|
|
94
|
-
return null;
|
|
95
|
-
const provider = execution && typeof execution === "object" ? execution.provider : undefined;
|
|
96
|
-
if (provider === undefined)
|
|
97
|
-
return null;
|
|
98
|
-
const p = provider;
|
|
99
|
-
const bad = (why, reason = "unavailable") => {
|
|
100
|
-
throw new HubProviderSetupError(reason, `hub_member.execution.provider: ${why}`);
|
|
101
|
-
};
|
|
102
|
-
if (!p || typeof p !== "object" || Array.isArray(p))
|
|
103
|
-
bad("must be an object");
|
|
104
|
-
for (const k of Object.keys(p))
|
|
105
|
-
if (!PROVIDER_KEYS.has(k))
|
|
106
|
-
bad(`unknown setting "${k}"`);
|
|
107
|
-
if (p.backend !== "claude" && p.backend !== "codex")
|
|
108
|
-
bad('backend must be "claude" or "codex"');
|
|
109
|
-
if (typeof p.imageId !== "string" || !/^sha256:[0-9a-f]{64}$/.test(p.imageId))
|
|
110
|
-
bad("imageId must be sha256:<64 hex>", "image-unconfigured");
|
|
111
|
-
if (typeof p.model !== "string" || !/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}$/.test(p.model))
|
|
112
|
-
bad("model is not a model id");
|
|
113
|
-
if (p.credentialRef !== `file:hub-member/${hubId}/secrets/model-api`)
|
|
114
|
-
bad(`credentialRef must be file:hub-member/${hubId}/secrets/model-api`, "credential-unconfigured");
|
|
115
|
-
if (p.dockerSocket !== undefined && (typeof p.dockerSocket !== "string" || !/^\/(var\/)?run\/[A-Za-z0-9._/-]+\.sock$/.test(p.dockerSocket))) {
|
|
116
|
-
bad("dockerSocket must be a local unix socket under /var/run or /run");
|
|
117
|
-
}
|
|
118
|
-
return p;
|
|
119
|
-
}
|
|
120
|
-
const execAction = (kind) => `execution.${kind.toLowerCase().replace(/[^a-z0-9.-]/g, "-")}`.slice(0, 128);
|
|
121
|
-
/**
|
|
122
|
-
* The member's captured binding for S4 (and S1 admission): the pairing's identity plus the link it was captured on.
|
|
123
|
-
* relink() starts a new generation for every (re)connect; a binding captured earlier then reads current() === false,
|
|
124
|
-
* as it does after fence(). S4 keeps binding objects across awaits, so this is what fences its in-flight work.
|
|
125
|
-
*/
|
|
126
|
-
export function createMemberBinding(deps) {
|
|
127
|
-
let generation = 0;
|
|
128
|
-
let link = null;
|
|
129
|
-
const issuerPublicKey = createPublicKey(deps.profile.hub.issuerPublicKey);
|
|
130
|
-
return {
|
|
131
|
-
relink(l) {
|
|
132
|
-
link = l;
|
|
133
|
-
generation += 1;
|
|
134
|
-
},
|
|
135
|
-
fence() {
|
|
136
|
-
generation += 1;
|
|
137
|
-
},
|
|
138
|
-
link: () => link,
|
|
139
|
-
binding() {
|
|
140
|
-
const gen = generation;
|
|
141
|
-
const captured = link;
|
|
142
|
-
return Object.freeze({
|
|
143
|
-
hubId: deps.hubId,
|
|
144
|
-
issuerKeyId: deps.profile.issuerKeyId,
|
|
145
|
-
issuerPublicKey,
|
|
146
|
-
fleetId: deps.profile.fleetId,
|
|
147
|
-
owner: deps.profile.owner,
|
|
148
|
-
revocationVersion: captured?.revocationVersion ?? deps.revocationFloor(),
|
|
149
|
-
generation: gen,
|
|
150
|
-
linkEpoch: captured?.linkEpoch ?? 0,
|
|
151
|
-
current: () => deps.live() && generation === gen && (captured === null || (link === captured && captured.current())),
|
|
152
|
-
});
|
|
153
|
-
},
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* S5's receive routing for the member link (agreed with S1, hub-s51-compose): question → admit → the receipt on the
|
|
158
|
-
* same link, answering the question's own requestId; revoke → fence; receipt (the Hub's ACK) → journal.acknowledge;
|
|
159
|
-
* anything else is refused. Never ordinary fleet delivery.
|
|
160
|
-
*/
|
|
161
|
-
export function createMemberReceive(deps) {
|
|
162
|
-
return async (frame, l) => {
|
|
163
|
-
if (!deps.live() || !l.current())
|
|
164
|
-
return;
|
|
165
|
-
if (frame.type === "question") {
|
|
166
|
-
const receipt = await deps.admission.admit(frame.payload);
|
|
167
|
-
if (!l.current())
|
|
168
|
-
return;
|
|
169
|
-
await l.send({ v: 1, type: "receipt", requestId: frame.requestId, linkEpoch: l.linkEpoch, payload: receipt });
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
if (frame.type === "revoke")
|
|
173
|
-
return deps.admission.fence(frame.payload);
|
|
174
|
-
if (frame.type === "receipt")
|
|
175
|
-
return deps.journal.acknowledge(frame.payload);
|
|
176
|
-
deps.log("warn", "Hub frame not expected on the member", { type: frame.type });
|
|
177
|
-
throw new HubStateError("service-unavailable", `unexpected ${frame.type} frame`);
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Disconnect while the member side is not running (held, or never composed): withdraw every published exposure in the
|
|
182
|
-
* member's own store, so consent never outlives the disconnect (a later re-pair to the same Hub republishes nothing).
|
|
183
|
-
* Never composed (no member state): nothing was published. A partial set throws (the disconnect reports "unsaved").
|
|
184
|
-
*/
|
|
185
|
-
export async function withdrawMemberExposuresOffline(home, hubId, now = Date.now) {
|
|
186
|
-
const set = memberSet(hubId);
|
|
187
|
-
if (inspectStateSet(home, set) === "new")
|
|
188
|
-
return 0;
|
|
189
|
-
const mod = await import("../member/exposures.js");
|
|
190
|
-
const db = openHubDatabase(home, set.database, { create: false });
|
|
191
|
-
try {
|
|
192
|
-
const audit = createHubAudit({ db, contentKey: readKey(home, set.keys[1]), now });
|
|
193
|
-
const store = new mod.HubExposureStore(db, { floor: new HubFileVersionFloor(home, set.floors[2]), audit, binding: () => null, views: new Map(), now });
|
|
194
|
-
let withdrawn = 0;
|
|
195
|
-
for (const row of store.list()) {
|
|
196
|
-
const committed = row.committed;
|
|
197
|
-
if (committed && committed.exposure.state === "published") {
|
|
198
|
-
store.withdraw(committed.exposure.id, committed.exposure.revision);
|
|
199
|
-
withdrawn += 1;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
return withdrawn;
|
|
203
|
-
}
|
|
204
|
-
finally {
|
|
205
|
-
db.close();
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
export function createHubMemberFactory(options) {
|
|
209
|
-
const now = options.now ?? Date.now;
|
|
210
|
-
const views = options.views ?? EMPTY_VIEW_SOURCE;
|
|
211
|
-
let unconfirmed = null;
|
|
212
|
-
const createMember = async function createMember(cfg, current) {
|
|
213
|
-
if (unconfirmed) {
|
|
214
|
-
try {
|
|
215
|
-
await unconfirmed.run();
|
|
216
|
-
unconfirmed = null;
|
|
217
|
-
}
|
|
218
|
-
catch (err) {
|
|
219
|
-
options.report("service-unavailable", err.message);
|
|
220
|
-
throw err;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
const teardown = new Teardown();
|
|
224
|
-
const fail = async (err) => {
|
|
225
|
-
try {
|
|
226
|
-
await teardown.run();
|
|
227
|
-
}
|
|
228
|
-
catch (cleanupErr) {
|
|
229
|
-
unconfirmed = teardown;
|
|
230
|
-
options.report("service-unavailable", cleanupErr.message);
|
|
231
|
-
throw cleanupErr;
|
|
232
|
-
}
|
|
233
|
-
options.report(err instanceof HubStateError ? err.code : "service-unavailable", err.message);
|
|
234
|
-
throw err;
|
|
235
|
-
};
|
|
236
|
-
try {
|
|
237
|
-
// 0. Every slice present and a current binding, before any I/O.
|
|
238
|
-
if (!options.components.execution || !options.components.exposures) {
|
|
239
|
-
throw new HubStateError("hub-incomplete", "the Hub member side (S4 / S3c) is not in this build");
|
|
240
|
-
}
|
|
241
|
-
const hubId = options.boundHub();
|
|
242
|
-
if (!hubId)
|
|
243
|
-
throw new HubStateError("hub-member-pairing", "this fleet is not paired with a Hub (or was disconnected)");
|
|
244
|
-
let profile;
|
|
245
|
-
try {
|
|
246
|
-
profile = new HubMemberProfileStore(options.home, hubId).readProfile();
|
|
247
|
-
}
|
|
248
|
-
catch (err) {
|
|
249
|
-
throw new HubStateError("hub-member-pairing", `the Hub pairing is missing or invalid: ${err.message}`);
|
|
250
|
-
}
|
|
251
|
-
const [execution, exposureMods] = await Promise.all([options.components.execution(), options.components.exposures()]);
|
|
252
|
-
// 1. The member state set: new (create all) or complete (open); partial is refused.
|
|
253
|
-
const set = memberSet(hubId);
|
|
254
|
-
const state = inspectStateSet(options.home, set);
|
|
255
|
-
const db = openHubDatabase(options.home, set.database, { create: state === "new" });
|
|
256
|
-
teardown.add("the member database", () => db.close());
|
|
257
|
-
const [journalFloor, executionFloor, exposureFloor] = set.floors.map((f) => new HubFileVersionFloor(options.home, f));
|
|
258
|
-
if (state === "new") {
|
|
259
|
-
for (const floor of [journalFloor, executionFloor, exposureFloor])
|
|
260
|
-
floor.initialize();
|
|
261
|
-
for (const key of set.keys)
|
|
262
|
-
createKeyFile(options.home, key);
|
|
263
|
-
}
|
|
264
|
-
applyHubMigrations(db, [
|
|
265
|
-
HUB_INSTANCE_MIGRATION,
|
|
266
|
-
HUB_AUDIT_MIGRATION,
|
|
267
|
-
HUB_MEMBER_JOURNAL_MIGRATION,
|
|
268
|
-
{ component: "s4-execution", version: 1, up: execution.migrateHubExecution },
|
|
269
|
-
exposureMods.store.HUB_EXPOSURE_MIGRATION,
|
|
270
|
-
HUB_REPRESENTATIVE_MIGRATION,
|
|
271
|
-
]);
|
|
272
|
-
bindHubInstance(db, hubId, state, now());
|
|
273
|
-
// 2. Member-local audit; S1, S4 and S3c append inside their own transactions on this DB.
|
|
274
|
-
const audit = createHubAudit({ db, contentKey: readKey(options.home, set.keys[1]), now });
|
|
275
|
-
// 3. S1 journal: its restricted outbox forwards to S4's, callable only once S4 exists and has recovered.
|
|
276
|
-
let outbox = null;
|
|
277
|
-
const forwarding = {
|
|
278
|
-
insert: (...args) => {
|
|
279
|
-
if (!outbox)
|
|
280
|
-
throw new HubStateError("service-unavailable", "the restricted outbox is not ready");
|
|
281
|
-
return outbox.insert(...args);
|
|
282
|
-
},
|
|
283
|
-
lookup: (...args) => {
|
|
284
|
-
if (!outbox)
|
|
285
|
-
throw new HubStateError("service-unavailable", "the restricted outbox is not ready");
|
|
286
|
-
return outbox.lookup(...args);
|
|
287
|
-
},
|
|
288
|
-
};
|
|
289
|
-
const journal = new HubMemberJournal(db, { hubId, encryptionKey: readKey(options.home, set.keys[0]), floor: journalFloor, outbox: forwarding, now });
|
|
290
|
-
// 4. S3c exposure store over the approved views (empty until §7 Q2: nothing is publishable).
|
|
291
|
-
const registry = views.load();
|
|
292
|
-
const exposures = new exposureMods.store.HubExposureStore(db, {
|
|
293
|
-
floor: exposureFloor,
|
|
294
|
-
audit,
|
|
295
|
-
binding: () => (profile ? { owner: profile.owner, fleetId: profile.fleetId } : null),
|
|
296
|
-
views: registry,
|
|
297
|
-
now,
|
|
298
|
-
});
|
|
299
|
-
// 5. P1's only execution path: the representative adapter (docs/design/hub-representative-agent.md). No S4 service
|
|
300
|
-
// or S4b provider is constructed; an old hub_member.execution.provider block is ignored (one info line, no hold).
|
|
301
|
-
if (state === "new") {
|
|
302
|
-
journal.initialize();
|
|
303
|
-
exposures.initialize();
|
|
304
|
-
}
|
|
305
|
-
if (cfg.execution?.provider !== undefined) {
|
|
306
|
-
options.log("info", "hub_member.execution.provider is ignored: P1 Hub answers come from the published agent (representative mode)");
|
|
307
|
-
}
|
|
308
|
-
let fenced = false;
|
|
309
|
-
const live = () => !fenced && current();
|
|
310
|
-
const links = createMemberBinding({
|
|
311
|
-
hubId,
|
|
312
|
-
profile,
|
|
313
|
-
live,
|
|
314
|
-
revocationFloor: () => journal.revocationVersion(),
|
|
315
|
-
});
|
|
316
|
-
const binding = links.binding;
|
|
317
|
-
let client = null;
|
|
318
|
-
let online = null;
|
|
319
|
-
const service = new HubRepresentativeExecution({
|
|
320
|
-
db,
|
|
321
|
-
journal,
|
|
322
|
-
binding,
|
|
323
|
-
localExposure: (id) => exposures.localExposure(id),
|
|
324
|
-
agentToken: (agent) => options.representative.agentToken(agent),
|
|
325
|
-
authorize: (request) => (client ? client.authorize(request) : Promise.reject(new HubStateError("service-unavailable", "not connected"))),
|
|
326
|
-
link: () => (online && online.current() && links.link() === online ? online : null),
|
|
327
|
-
deliver: (input) => options.representative.deliver(input),
|
|
328
|
-
...(options.representative.files ? { files: new HubMemberFiles(options.representative.files) } : {}),
|
|
329
|
-
audit: (event, database) => audit.appendInTransaction({
|
|
330
|
-
id: randomBytes(16).toString("hex"),
|
|
331
|
-
sequence: 0,
|
|
332
|
-
at: now(),
|
|
333
|
-
requestId: event.messageId ?? "s5-representative",
|
|
334
|
-
actor: { kind: "local-host" },
|
|
335
|
-
action: event.action,
|
|
336
|
-
result: event.result,
|
|
337
|
-
policyVersion: 0,
|
|
338
|
-
...(event.messageId ? { messageId: event.messageId } : {}),
|
|
339
|
-
...(event.exposureId ? { exposureId: event.exposureId } : {}),
|
|
340
|
-
...(event.reasonCode ? { reasonCode: event.reasonCode.slice(0, 64) } : {}),
|
|
341
|
-
}, database),
|
|
342
|
-
attentionChanged: () => options.pokeAttention(),
|
|
343
|
-
log: options.log,
|
|
344
|
-
now,
|
|
345
|
-
});
|
|
346
|
-
teardown.add("the representative adapter", () => service.close());
|
|
347
|
-
service.recover();
|
|
348
|
-
outbox = service.restrictedOutbox();
|
|
349
|
-
// 6. S1 admission + client: #3116's handshake on (re)connect, S5's receive routing.
|
|
350
|
-
const sender = exposureMods.store.exposureSnapshotSender(exposures);
|
|
351
|
-
const quota = createQuotaPublisher({
|
|
352
|
-
exposures: () => exposures.list().flatMap(row => row.committed?.exposure.state === "published"
|
|
353
|
-
? [{ exposureId: row.committed.exposure.id, agent: row.agent }] : []),
|
|
354
|
-
read: agent => options.representative.quota?.(agent) ?? Promise.resolve({ band: "unknown" }),
|
|
355
|
-
now,
|
|
356
|
-
});
|
|
357
|
-
teardown.add("quota updates", () => quota.stop());
|
|
358
|
-
const handshake = createHubMemberHandshake({ journal, publishSnapshot: (l) => sender.publishSnapshot(l) });
|
|
359
|
-
const admission = new HubMemberAdmissionAdapter({
|
|
360
|
-
journal,
|
|
361
|
-
transport: { start: async () => { }, send: (f) => client.send(f), authorize: (r) => client.authorize(r), close: async () => { } },
|
|
362
|
-
binding: () => {
|
|
363
|
-
const captured = links.link();
|
|
364
|
-
return { profile, linkEpoch: captured?.linkEpoch ?? 0, revocationVersion: captured?.revocationVersion ?? journal.revocationVersion(), current: () => live() && !!captured && links.link() === captured && captured.current() };
|
|
365
|
-
},
|
|
366
|
-
exposure: (id) => exposures.exposure(id),
|
|
367
|
-
fenceLocal: (messageId) => service.fence(messageId),
|
|
368
|
-
hold: (messageId, reason) => options.log("warn", "Hub question held", { messageId, reason }),
|
|
369
|
-
now,
|
|
370
|
-
});
|
|
371
|
-
const receive = createMemberReceive({ admission, journal, live, log: options.log });
|
|
372
|
-
client = new HubMemberClient({
|
|
373
|
-
home: options.home,
|
|
374
|
-
hubId,
|
|
375
|
-
memberOrigin: profile.hub.memberOrigin,
|
|
376
|
-
current: live,
|
|
377
|
-
reconcile: async (l) => {
|
|
378
|
-
links.relink(l);
|
|
379
|
-
online = null;
|
|
380
|
-
await handshake(l);
|
|
381
|
-
if (l.current() && live()) {
|
|
382
|
-
online = l;
|
|
383
|
-
quota.start(l);
|
|
384
|
-
options.linkState?.("online");
|
|
385
|
-
// Questions admitted while offline (or before a restart, with no input yet) go out on this link.
|
|
386
|
-
service.pump();
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
receive,
|
|
390
|
-
hold: (code) => {
|
|
391
|
-
quota.stop();
|
|
392
|
-
options.linkState?.(code === "revoked" ? "revoked" : "offline");
|
|
393
|
-
options.log("warn", "Hub link held", { code });
|
|
394
|
-
},
|
|
395
|
-
now,
|
|
396
|
-
});
|
|
397
|
-
teardown.add("the Hub connection", () => client?.close());
|
|
398
|
-
const api = exposureMods.api.createHubMemberExposureApi({
|
|
399
|
-
store: exposures,
|
|
400
|
-
// P1 representative agent (docs/design/hub-representative-agent.md): the owner shares a configured agent.
|
|
401
|
-
agents: options.agents,
|
|
402
|
-
afterCommit: () => sender.afterCommit(),
|
|
403
|
-
// S5's readiness: the agent's lifecycle token, recorded against the consent inside S3c's atomic publish.
|
|
404
|
-
readinessCandidate: (candidate) => service.readinessCandidate(candidate),
|
|
405
|
-
});
|
|
406
|
-
return {
|
|
407
|
-
async start() {
|
|
408
|
-
if (!live())
|
|
409
|
-
throw new HubStateError("service-unavailable", "the Hub member was switched off while starting");
|
|
410
|
-
options.attachAttention(() => service.attentionItems());
|
|
411
|
-
options.attachExposures(api);
|
|
412
|
-
options.representative.attachReports((input) => service.report(input), (cid, agent) => service.deliveryFailed(cid, agent));
|
|
413
|
-
teardown.add("the fleet attachments", () => {
|
|
414
|
-
options.representative.attachReports(null, null);
|
|
415
|
-
options.attachExposures(null);
|
|
416
|
-
options.attachAttention(null);
|
|
417
|
-
});
|
|
418
|
-
await client.start();
|
|
419
|
-
},
|
|
420
|
-
fence() {
|
|
421
|
-
fenced = true;
|
|
422
|
-
quota.stop();
|
|
423
|
-
links.fence();
|
|
424
|
-
client?.fence();
|
|
425
|
-
options.representative.attachReports(null, null);
|
|
426
|
-
options.attachExposures(null);
|
|
427
|
-
options.linkState?.("offline");
|
|
428
|
-
},
|
|
429
|
-
async close() {
|
|
430
|
-
fenced = true;
|
|
431
|
-
await teardown.run();
|
|
432
|
-
},
|
|
433
|
-
/** Diagnostics seams (not part of HubMountedService). */
|
|
434
|
-
binding,
|
|
435
|
-
representative: service,
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
catch (err) {
|
|
439
|
-
return fail(err);
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
const drain = async () => {
|
|
443
|
-
if (!unconfirmed)
|
|
444
|
-
return;
|
|
445
|
-
await unconfirmed.run();
|
|
446
|
-
unconfirmed = null;
|
|
447
|
-
};
|
|
448
|
-
return Object.assign(createMember, { drain });
|
|
449
|
-
}
|
|
450
|
-
//# sourceMappingURL=member.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../../src/hub/compose/member.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAsB,MAAM,mBAAmB,CAAC;AAC5F,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,eAAe,GAGhB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAsB,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,4BAA4B,EAAE,gBAAgB,EAA4B,MAAM,sBAAsB,CAAC;AAChH,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAyB,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAsB,MAAM,YAAY,CAAC;AACnE,OAAO,EAA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