@songsid/agend 2.3.4-beta.9 → 2.3.5-alpha.10
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 +2 -0
- package/README.zh-TW.md +2 -0
- package/THIRD_PARTY_NOTICES.md +67 -0
- package/dist/accounts-profiles.d.ts +102 -0
- package/dist/accounts-profiles.js +194 -0
- package/dist/accounts-profiles.js.map +1 -0
- package/dist/accounts-signout.d.ts +59 -0
- package/dist/accounts-signout.js +181 -0
- package/dist/accounts-signout.js.map +1 -0
- package/dist/accounts-view.d.ts +168 -0
- package/dist/accounts-view.js +188 -0
- package/dist/accounts-view.js.map +1 -0
- package/dist/agent-cli-instructions.md +1 -1
- package/dist/agent-cli.js +5 -2
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.d.ts +5 -1
- package/dist/agent-endpoint.js +12 -2
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-file-read.js +1 -1
- package/dist/agent-file-read.js.map +1 -1
- package/dist/agent-runtime-api.d.ts +4 -0
- package/dist/agent-runtime-api.js +59 -0
- package/dist/agent-runtime-api.js.map +1 -0
- package/dist/agent-runtime-change.d.ts +76 -0
- package/dist/agent-runtime-change.js +114 -0
- package/dist/agent-runtime-change.js.map +1 -0
- package/dist/agent-whats-new.js +5 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/agent-workspace.d.ts +104 -0
- package/dist/agent-workspace.js +381 -0
- package/dist/agent-workspace.js.map +1 -0
- package/dist/apply-job.d.ts +5 -0
- package/dist/apply-job.js +10 -3
- package/dist/apply-job.js.map +1 -1
- package/dist/auth-api.d.ts +49 -1
- package/dist/auth-api.js +299 -10
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/company-join.d.ts +16 -0
- package/dist/authority/company-join.js +37 -0
- package/dist/authority/company-join.js.map +1 -0
- package/dist/authority/hub-initialization.d.ts +13 -0
- package/dist/authority/hub-initialization.js +30 -0
- package/dist/authority/hub-initialization.js.map +1 -0
- 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 +25 -2
- package/dist/authority/web-authority.js +37 -4
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/backend/claude-code.d.ts +16 -12
- package/dist/backend/claude-code.js +212 -142
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex-footer-hints.d.ts +3 -0
- package/dist/backend/codex-footer-hints.js +14 -0
- package/dist/backend/codex-footer-hints.js.map +1 -1
- package/dist/backend/codex-metadata.d.ts +14 -0
- package/dist/backend/codex-metadata.js +45 -0
- package/dist/backend/codex-metadata.js.map +1 -1
- package/dist/backend/codex-package.d.ts +5 -2
- package/dist/backend/codex-package.js +1 -5
- package/dist/backend/codex-package.js.map +1 -1
- package/dist/backend/codex-quota-history.d.ts +7 -0
- package/dist/backend/codex-quota-history.js +57 -0
- package/dist/backend/codex-quota-history.js.map +1 -0
- package/dist/backend/codex-session-lookup.d.ts +6 -0
- package/dist/backend/codex-session-lookup.js +1 -1
- package/dist/backend/codex-session-lookup.js.map +1 -1
- package/dist/backend/codex-speed.d.ts +14 -0
- package/dist/backend/codex-speed.js +35 -0
- package/dist/backend/codex-speed.js.map +1 -0
- package/dist/backend/codex.d.ts +143 -113
- package/dist/backend/codex.js +1352 -1233
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/credential-profile.js +2 -1
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/grok-model-cache.d.ts +7 -0
- package/dist/backend/grok-model-cache.js +65 -0
- package/dist/backend/grok-model-cache.js.map +1 -0
- package/dist/backend/grok-weekly-reset.d.ts +24 -0
- package/dist/backend/grok-weekly-reset.js +95 -0
- package/dist/backend/grok-weekly-reset.js.map +1 -0
- package/dist/backend/grok.d.ts +32 -1
- package/dist/backend/grok.js +323 -54
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro.js +12 -2
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/native-pane.d.ts +11 -0
- package/dist/backend/native-pane.js +59 -0
- package/dist/backend/native-pane.js.map +1 -0
- package/dist/backend/types.d.ts +20 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-signin-pending.d.ts +8 -2
- package/dist/backend-signin-pending.js +6 -2
- package/dist/backend-signin-pending.js.map +1 -1
- package/dist/browser-backend-signins.d.ts +2 -1
- package/dist/browser-backend-signins.js +1 -1
- package/dist/browser-backend-signins.js.map +1 -1
- package/dist/build-provenance-cli.d.ts +3 -0
- package/dist/build-provenance-cli.js +11 -0
- package/dist/build-provenance-cli.js.map +1 -0
- package/dist/build-provenance.d.ts +20 -0
- package/dist/build-provenance.js +67 -0
- package/dist/build-provenance.js.map +1 -0
- package/dist/build-provenance.json +1 -0
- package/dist/bundled-tmux-guard.d.ts +19 -0
- package/dist/bundled-tmux-guard.js +83 -0
- package/dist/bundled-tmux-guard.js.map +1 -0
- package/dist/cache-ledger.d.ts +10 -0
- package/dist/cache-ledger.js +49 -12
- package/dist/cache-ledger.js.map +1 -1
- package/dist/cache-service.d.ts +6 -0
- package/dist/cache-service.js +105 -0
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/access-manager.d.ts +1 -6
- package/dist/channel/access-manager.js +4 -94
- package/dist/channel/access-manager.js.map +1 -1
- package/dist/channel/adapters/discord.d.ts +0 -2
- package/dist/channel/adapters/discord.js +0 -8
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/channel/adapters/telegram.d.ts +51 -3
- package/dist/channel/adapters/telegram.js +232 -44
- package/dist/channel/adapters/telegram.js.map +1 -1
- package/dist/channel/ipc-bridge.d.ts +2 -0
- package/dist/channel/mcp-tools.js +7 -7
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/channel/types.d.ts +2 -2
- package/dist/classic-bindings.d.ts +13 -0
- package/dist/classic-bindings.js +28 -2
- package/dist/classic-bindings.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/claude-auth-status.d.ts +48 -0
- package/dist/claude-auth-status.js +149 -0
- package/dist/claude-auth-status.js.map +1 -0
- package/dist/claude-model-minimum.d.ts +7 -0
- package/dist/claude-model-minimum.js +16 -0
- package/dist/claude-model-minimum.js.map +1 -0
- package/dist/cli-capability.d.ts +186 -0
- package/dist/cli-capability.js +55 -0
- package/dist/cli-capability.js.map +1 -0
- package/dist/cli-caps-module.d.ts +29 -0
- package/dist/cli-caps-module.js +43 -0
- package/dist/cli-caps-module.js.map +1 -0
- package/dist/cli-registry-check.d.ts +28 -0
- package/dist/cli-registry-check.js +223 -0
- package/dist/cli-registry-check.js.map +1 -0
- package/dist/cli-registry.d.ts +526 -0
- package/dist/cli-registry.js +83 -0
- package/dist/cli-registry.js.map +1 -0
- package/dist/cli-spec-antigravity.d.ts +60 -0
- package/dist/cli-spec-antigravity.js +35 -0
- package/dist/cli-spec-antigravity.js.map +1 -0
- package/dist/cli-spec-claude-code.d.ts +84 -0
- package/dist/cli-spec-claude-code.js +35 -0
- package/dist/cli-spec-claude-code.js.map +1 -0
- package/dist/cli-spec-codex.d.ts +78 -0
- package/dist/cli-spec-codex.js +38 -0
- package/dist/cli-spec-codex.js.map +1 -0
- package/dist/cli-spec-grok.d.ts +59 -0
- package/dist/cli-spec-grok.js +35 -0
- package/dist/cli-spec-grok.js.map +1 -0
- package/dist/cli-spec-kiro-cli.d.ts +73 -0
- package/dist/cli-spec-kiro-cli.js +36 -0
- package/dist/cli-spec-kiro-cli.js.map +1 -0
- package/dist/cli-spec-muse.d.ts +52 -0
- package/dist/cli-spec-muse.js +38 -0
- package/dist/cli-spec-muse.js.map +1 -0
- package/dist/cli-spec-opencode.d.ts +50 -0
- package/dist/cli-spec-opencode.js +37 -0
- package/dist/cli-spec-opencode.js.map +1 -0
- package/dist/cli.js +258 -67
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.js +104 -2
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +19 -1
- package/dist/config.js.map +1 -1
- package/dist/daemon.d.ts +162 -7
- package/dist/daemon.js +1290 -305
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard-permissions.d.ts +8 -0
- package/dist/dashboard-permissions.js +16 -0
- package/dist/dashboard-permissions.js.map +1 -1
- package/dist/decision-list.d.ts +2 -0
- package/dist/decision-list.js +1 -1
- package/dist/decision-list.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +15 -3
- package/dist/delivery-consumed-watch.js +23 -1
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/delivery-outbox.d.ts +5 -0
- package/dist/delivery-outbox.js +32 -4
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-reconciliation.d.ts +2 -42
- package/dist/delivery-reconciliation.js +2 -164
- package/dist/delivery-reconciliation.js.map +1 -1
- package/dist/doctor.js +19 -9
- package/dist/doctor.js.map +1 -1
- package/dist/e2e-isolation.js +5 -2
- package/dist/e2e-isolation.js.map +1 -1
- package/dist/fleet-context.d.ts +2 -2
- package/dist/fleet-control-audit.d.ts +1 -1
- package/dist/fleet-level-config.d.ts +1 -1
- package/dist/fleet-level-config.js +2 -0
- package/dist/fleet-level-config.js.map +1 -1
- package/dist/fleet-manager.d.ts +831 -7
- package/dist/fleet-manager.js +4894 -433
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +98 -0
- package/dist/fleet-windows-runtime.js +467 -0
- package/dist/fleet-windows-runtime.js.map +1 -0
- package/dist/general-binding.d.ts +85 -0
- package/dist/general-binding.js +298 -0
- package/dist/general-binding.js.map +1 -0
- package/dist/general-host-owner.d.ts +8 -0
- package/dist/general-host-owner.js +26 -0
- package/dist/general-host-owner.js.map +1 -0
- package/dist/general-instance.d.ts +7 -0
- package/dist/general-instance.js +20 -3
- package/dist/general-instance.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +97 -39
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +15 -2
- package/dist/general-knowledge/skills/delegation-playbook/SKILL.md +4 -1
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +12 -0
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +3 -3
- package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +4 -0
- 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 +31 -15
- package/dist/general-knowledge/steering/core-rules.md +7 -5
- package/dist/general-role.d.ts +5 -0
- package/dist/general-role.js +27 -0
- package/dist/general-role.js.map +1 -0
- package/dist/hub/admission.d.ts +28 -0
- package/dist/hub/admission.js +62 -0
- package/dist/hub/admission.js.map +1 -0
- package/dist/hub/attachments/limits.d.ts +20 -0
- package/dist/hub/attachments/limits.js +48 -0
- package/dist/hub/attachments/limits.js.map +1 -0
- package/dist/hub/attachments/store.d.ts +116 -0
- package/dist/hub/attachments/store.js +246 -0
- package/dist/hub/attachments/store.js.map +1 -0
- package/dist/hub/audit/index.d.ts +62 -0
- package/dist/hub/audit/index.js +344 -0
- package/dist/hub/audit/index.js.map +1 -0
- package/dist/hub/browser-certificate.d.ts +38 -0
- package/dist/hub/browser-certificate.js +247 -0
- package/dist/hub/browser-certificate.js.map +1 -0
- package/dist/hub/buttons-model.d.ts +9 -0
- package/dist/hub/buttons-model.js +42 -0
- package/dist/hub/buttons-model.js.map +1 -0
- package/dist/hub/buttons.d.ts +54 -0
- package/dist/hub/buttons.js +348 -0
- package/dist/hub/buttons.js.map +1 -0
- package/dist/hub/catalog.d.ts +74 -0
- package/dist/hub/catalog.js +380 -0
- package/dist/hub/catalog.js.map +1 -0
- package/dist/hub/client.d.ts +69 -0
- package/dist/hub/client.js +304 -0
- package/dist/hub/client.js.map +1 -0
- package/dist/hub/compose/member.d.ts +145 -0
- package/dist/hub/compose/member.js +458 -0
- package/dist/hub/compose/member.js.map +1 -0
- package/dist/hub/compose/server.d.ts +167 -0
- package/dist/hub/compose/server.js +477 -0
- package/dist/hub/compose/server.js.map +1 -0
- package/dist/hub/compose/storage.d.ts +5 -0
- package/dist/hub/compose/storage.js +28 -0
- package/dist/hub/compose/storage.js.map +1 -0
- package/dist/hub/compose/views.d.ts +12 -0
- package/dist/hub/compose/views.js +4 -0
- package/dist/hub/compose/views.js.map +1 -0
- package/dist/hub/db.d.ts +58 -0
- package/dist/hub/db.js +215 -0
- package/dist/hub/db.js.map +1 -0
- package/dist/hub/directory/config.d.ts +39 -0
- package/dist/hub/directory/config.js +108 -0
- package/dist/hub/directory/config.js.map +1 -0
- package/dist/hub/directory/directory.d.ts +25 -0
- package/dist/hub/directory/directory.js +526 -0
- package/dist/hub/directory/directory.js.map +1 -0
- package/dist/hub/directory/groups.d.ts +41 -0
- package/dist/hub/directory/groups.js +30 -0
- package/dist/hub/directory/groups.js.map +1 -0
- package/dist/hub/directory/index.d.ts +8 -0
- package/dist/hub/directory/index.js +4 -0
- package/dist/hub/directory/index.js.map +1 -0
- package/dist/hub/directory/profiles.d.ts +41 -0
- package/dist/hub/directory/profiles.js +90 -0
- package/dist/hub/directory/profiles.js.map +1 -0
- package/dist/hub/directory/types.d.ts +83 -0
- package/dist/hub/directory/types.js +14 -0
- package/dist/hub/directory/types.js.map +1 -0
- package/dist/hub/directory-response-owner.d.ts +38 -0
- package/dist/hub/directory-response-owner.js +191 -0
- package/dist/hub/directory-response-owner.js.map +1 -0
- package/dist/hub/enrollment-budget.d.ts +6 -0
- package/dist/hub/enrollment-budget.js +24 -0
- package/dist/hub/enrollment-budget.js.map +1 -0
- package/dist/hub/execution/cli-provider.d.ts +23 -0
- package/dist/hub/execution/cli-provider.js +341 -0
- package/dist/hub/execution/cli-provider.js.map +1 -0
- package/dist/hub/execution/index.d.ts +13 -0
- package/dist/hub/execution/index.js +8 -0
- package/dist/hub/execution/index.js.map +1 -0
- package/dist/hub/execution/model-broker.d.ts +24 -0
- package/dist/hub/execution/model-broker.js +208 -0
- package/dist/hub/execution/model-broker.js.map +1 -0
- package/dist/hub/execution/provider-setup.d.ts +11 -0
- package/dist/hub/execution/provider-setup.js +21 -0
- package/dist/hub/execution/provider-setup.js.map +1 -0
- package/dist/hub/execution/sandbox-runner.d.ts +1 -0
- package/dist/hub/execution/sandbox-runner.js +221 -0
- package/dist/hub/execution/sandbox-runner.js.map +1 -0
- package/dist/hub/execution/service.d.ts +136 -0
- package/dist/hub/execution/service.js +459 -0
- package/dist/hub/execution/service.js.map +1 -0
- package/dist/hub/execution/store.d.ts +61 -0
- package/dist/hub/execution/store.js +182 -0
- package/dist/hub/execution/store.js.map +1 -0
- package/dist/hub/execution/views.d.ts +20 -0
- package/dist/hub/execution/views.js +48 -0
- package/dist/hub/execution/views.js.map +1 -0
- package/dist/hub/group-policy/admin-api.d.ts +30 -0
- package/dist/hub/group-policy/admin-api.js +83 -0
- package/dist/hub/group-policy/admin-api.js.map +1 -0
- package/dist/hub/group-policy/admin-context.d.ts +23 -0
- package/dist/hub/group-policy/admin-context.js +52 -0
- package/dist/hub/group-policy/admin-context.js.map +1 -0
- package/dist/hub/group-policy/admin-control.d.ts +34 -0
- package/dist/hub/group-policy/admin-control.js +258 -0
- package/dist/hub/group-policy/admin-control.js.map +1 -0
- package/dist/hub/group-policy/admin-dto.d.ts +249 -0
- package/dist/hub/group-policy/admin-dto.js +55 -0
- package/dist/hub/group-policy/admin-dto.js.map +1 -0
- package/dist/hub/group-policy/admin-facts.d.ts +17 -0
- package/dist/hub/group-policy/admin-facts.js +33 -0
- package/dist/hub/group-policy/admin-facts.js.map +1 -0
- package/dist/hub/group-policy/admin-impact.d.ts +51 -0
- package/dist/hub/group-policy/admin-impact.js +88 -0
- package/dist/hub/group-policy/admin-impact.js.map +1 -0
- package/dist/hub/group-policy/admin-inventory.d.ts +24 -0
- package/dist/hub/group-policy/admin-inventory.js +72 -0
- package/dist/hub/group-policy/admin-inventory.js.map +1 -0
- package/dist/hub/group-policy/admin-read.d.ts +21 -0
- package/dist/hub/group-policy/admin-read.js +95 -0
- package/dist/hub/group-policy/admin-read.js.map +1 -0
- package/dist/hub/group-policy/authorization.d.ts +65 -0
- package/dist/hub/group-policy/authorization.js +315 -0
- package/dist/hub/group-policy/authorization.js.map +1 -0
- package/dist/hub/group-policy/impact-inventory.d.ts +21 -0
- package/dist/hub/group-policy/impact-inventory.js +75 -0
- package/dist/hub/group-policy/impact-inventory.js.map +1 -0
- package/dist/hub/group-policy/model.d.ts +56 -0
- package/dist/hub/group-policy/model.js +46 -0
- package/dist/hub/group-policy/model.js.map +1 -0
- package/dist/hub/group-policy/resources.d.ts +72 -0
- package/dist/hub/group-policy/resources.js +260 -0
- package/dist/hub/group-policy/resources.js.map +1 -0
- package/dist/hub/group-policy/store.d.ts +69 -0
- package/dist/hub/group-policy/store.js +210 -0
- package/dist/hub/group-policy/store.js.map +1 -0
- package/dist/hub/group-policy/welcome.d.ts +36 -0
- package/dist/hub/group-policy/welcome.js +55 -0
- package/dist/hub/group-policy/welcome.js.map +1 -0
- package/dist/hub/http/compose.d.ts +24 -0
- package/dist/hub/http/compose.js +739 -0
- package/dist/hub/http/compose.js.map +1 -0
- package/dist/hub/http/core.d.ts +71 -0
- package/dist/hub/http/core.js +266 -0
- package/dist/hub/http/core.js.map +1 -0
- package/dist/hub/http/deps.d.ts +79 -0
- package/dist/hub/http/deps.js +2 -0
- package/dist/hub/http/deps.js.map +1 -0
- package/dist/hub/http/schema.d.ts +14 -0
- package/dist/hub/http/schema.js +84 -0
- package/dist/hub/http/schema.js.map +1 -0
- package/dist/hub/identity.d.ts +32 -0
- package/dist/hub/identity.js +80 -0
- package/dist/hub/identity.js.map +1 -0
- package/dist/hub/init/browser-certificate.d.ts +14 -0
- package/dist/hub/init/browser-certificate.js +99 -0
- package/dist/hub/init/browser-certificate.js.map +1 -0
- package/dist/hub/init/browser-tls.d.ts +18 -0
- package/dist/hub/init/browser-tls.js +62 -0
- package/dist/hub/init/browser-tls.js.map +1 -0
- package/dist/hub/init/cli.d.ts +3 -0
- package/dist/hub/init/cli.js +83 -0
- package/dist/hub/init/cli.js.map +1 -0
- package/dist/hub/init/directory-certificate.d.ts +24 -0
- package/dist/hub/init/directory-certificate.js +229 -0
- package/dist/hub/init/directory-certificate.js.map +1 -0
- package/dist/hub/init/existing-fleet.d.ts +6 -0
- package/dist/hub/init/existing-fleet.js +58 -0
- package/dist/hub/init/existing-fleet.js.map +1 -0
- package/dist/hub/init/handoff.d.ts +8 -0
- package/dist/hub/init/handoff.js +36 -0
- package/dist/hub/init/handoff.js.map +1 -0
- package/dist/hub/init/identity.d.ts +5 -0
- package/dist/hub/init/identity.js +24 -0
- package/dist/hub/init/identity.js.map +1 -0
- package/dist/hub/init/initializer.d.ts +34 -0
- package/dist/hub/init/initializer.js +504 -0
- package/dist/hub/init/initializer.js.map +1 -0
- package/dist/hub/init/inventory.d.ts +17 -0
- package/dist/hub/init/inventory.js +33 -0
- package/dist/hub/init/inventory.js.map +1 -0
- package/dist/hub/init/layout.d.ts +32 -0
- package/dist/hub/init/layout.js +53 -0
- package/dist/hub/init/layout.js.map +1 -0
- package/dist/hub/init/network.d.ts +18 -0
- package/dist/hub/init/network.js +104 -0
- package/dist/hub/init/network.js.map +1 -0
- package/dist/hub/init/plan-digest.d.ts +5 -0
- package/dist/hub/init/plan-digest.js +47 -0
- package/dist/hub/init/plan-digest.js.map +1 -0
- package/dist/hub/init/prompt.d.ts +26 -0
- package/dist/hub/init/prompt.js +110 -0
- package/dist/hub/init/prompt.js.map +1 -0
- package/dist/hub/init/secret-file.d.ts +1 -0
- package/dist/hub/init/secret-file.js +59 -0
- package/dist/hub/init/secret-file.js.map +1 -0
- package/dist/hub/init/text.d.ts +127 -0
- package/dist/hub/init/text.js +247 -0
- package/dist/hub/init/text.js.map +1 -0
- package/dist/hub/init/types.d.ts +142 -0
- package/dist/hub/init/types.js +9 -0
- package/dist/hub/init/types.js.map +1 -0
- package/dist/hub/init/web-audit-import.d.ts +12 -0
- package/dist/hub/init/web-audit-import.js +39 -0
- package/dist/hub/init/web-audit-import.js.map +1 -0
- package/dist/hub/init/web-audit.d.ts +30 -0
- package/dist/hub/init/web-audit.js +42 -0
- package/dist/hub/init/web-audit.js.map +1 -0
- package/dist/hub/init/web-error.d.ts +6 -0
- package/dist/hub/init/web-error.js +8 -0
- package/dist/hub/init/web-error.js.map +1 -0
- package/dist/hub/init/web-http.d.ts +9 -0
- package/dist/hub/init/web-http.js +103 -0
- package/dist/hub/init/web-http.js.map +1 -0
- package/dist/hub/init/web.d.ts +118 -0
- package/dist/hub/init/web.js +428 -0
- package/dist/hub/init/web.js.map +1 -0
- package/dist/hub/init/wizard.d.ts +34 -0
- package/dist/hub/init/wizard.js +552 -0
- package/dist/hub/init/wizard.js.map +1 -0
- package/dist/hub/initialization.d.ts +23 -0
- package/dist/hub/initialization.js +28 -0
- package/dist/hub/initialization.js.map +1 -0
- package/dist/hub/join/client.d.ts +35 -0
- package/dist/hub/join/client.js +112 -0
- package/dist/hub/join/client.js.map +1 -0
- package/dist/hub/join/descriptor.d.ts +45 -0
- package/dist/hub/join/descriptor.js +52 -0
- package/dist/hub/join/descriptor.js.map +1 -0
- package/dist/hub/join/fleet-authority.d.ts +2 -0
- package/dist/hub/join/fleet-authority.js +3 -0
- package/dist/hub/join/fleet-authority.js.map +1 -0
- package/dist/hub/join/http.d.ts +8 -0
- package/dist/hub/join/http.js +112 -0
- package/dist/hub/join/http.js.map +1 -0
- package/dist/hub/join/invitation.d.ts +28 -0
- package/dist/hub/join/invitation.js +28 -0
- package/dist/hub/join/invitation.js.map +1 -0
- package/dist/hub/join/local-journal.d.ts +84 -0
- package/dist/hub/join/local-journal.js +65 -0
- package/dist/hub/join/local-journal.js.map +1 -0
- package/dist/hub/join/local.d.ts +116 -0
- package/dist/hub/join/local.js +419 -0
- package/dist/hub/join/local.js.map +1 -0
- package/dist/hub/join/private.d.ts +3 -0
- package/dist/hub/join/private.js +46 -0
- package/dist/hub/join/private.js.map +1 -0
- package/dist/hub/join/protocol.d.ts +69 -0
- package/dist/hub/join/protocol.js +96 -0
- package/dist/hub/join/protocol.js.map +1 -0
- package/dist/hub/join/receipt.d.ts +42 -0
- package/dist/hub/join/receipt.js +75 -0
- package/dist/hub/join/receipt.js.map +1 -0
- package/dist/hub/join/service.d.ts +177 -0
- package/dist/hub/join/service.js +564 -0
- package/dist/hub/join/service.js.map +1 -0
- package/dist/hub/join/store.d.ts +97 -0
- package/dist/hub/join/store.js +87 -0
- package/dist/hub/join/store.js.map +1 -0
- package/dist/hub/join/trust.d.ts +13 -0
- package/dist/hub/join/trust.js +68 -0
- package/dist/hub/join/trust.js.map +1 -0
- package/dist/hub/member/agent-mode.d.ts +6 -0
- package/dist/hub/member/agent-mode.js +23 -0
- package/dist/hub/member/agent-mode.js.map +1 -0
- package/dist/hub/member/attachments.d.ts +29 -0
- package/dist/hub/member/attachments.js +107 -0
- package/dist/hub/member/attachments.js.map +1 -0
- package/dist/hub/member/exposure-api.d.ts +87 -0
- package/dist/hub/member/exposure-api.js +64 -0
- package/dist/hub/member/exposure-api.js.map +1 -0
- package/dist/hub/member/exposures.d.ts +123 -0
- package/dist/hub/member/exposures.js +282 -0
- package/dist/hub/member/exposures.js.map +1 -0
- package/dist/hub/member/pairing-api.d.ts +87 -0
- package/dist/hub/member/pairing-api.js +391 -0
- package/dist/hub/member/pairing-api.js.map +1 -0
- package/dist/hub/member/pairing-notices.d.ts +18 -0
- package/dist/hub/member/pairing-notices.js +60 -0
- package/dist/hub/member/pairing-notices.js.map +1 -0
- package/dist/hub/member/quota.d.ts +20 -0
- package/dist/hub/member/quota.js +98 -0
- package/dist/hub/member/quota.js.map +1 -0
- package/dist/hub/member-journal.d.ts +104 -0
- package/dist/hub/member-journal.js +336 -0
- package/dist/hub/member-journal.js.map +1 -0
- package/dist/hub/member-reconciliation.d.ts +14 -0
- package/dist/hub/member-reconciliation.js +97 -0
- package/dist/hub/member-reconciliation.js.map +1 -0
- package/dist/hub/mount.d.ts +48 -0
- package/dist/hub/mount.js +146 -0
- package/dist/hub/mount.js.map +1 -0
- package/dist/hub/pairing-client.d.ts +17 -0
- package/dist/hub/pairing-client.js +108 -0
- package/dist/hub/pairing-client.js.map +1 -0
- package/dist/hub/pairing-notices.d.ts +47 -0
- package/dist/hub/pairing-notices.js +246 -0
- package/dist/hub/pairing-notices.js.map +1 -0
- package/dist/hub/pairing.d.ts +105 -0
- package/dist/hub/pairing.js +514 -0
- package/dist/hub/pairing.js.map +1 -0
- package/dist/hub/policy.d.ts +65 -0
- package/dist/hub/policy.js +154 -0
- package/dist/hub/policy.js.map +1 -0
- package/dist/hub/preview.d.ts +32 -0
- package/dist/hub/preview.js +64 -0
- package/dist/hub/preview.js.map +1 -0
- package/dist/hub/private-files.d.ts +5 -0
- package/dist/hub/private-files.js +44 -0
- package/dist/hub/private-files.js.map +1 -0
- package/dist/hub/profile.d.ts +59 -0
- package/dist/hub/profile.js +73 -0
- package/dist/hub/profile.js.map +1 -0
- package/dist/hub/protocol.d.ts +840 -0
- package/dist/hub/protocol.js +100 -0
- package/dist/hub/protocol.js.map +1 -0
- package/dist/hub/quota.d.ts +24 -0
- package/dist/hub/quota.js +112 -0
- package/dist/hub/quota.js.map +1 -0
- package/dist/hub/representative.d.ts +141 -0
- package/dist/hub/representative.js +528 -0
- package/dist/hub/representative.js.map +1 -0
- package/dist/hub/retention.d.ts +17 -0
- package/dist/hub/retention.js +45 -0
- package/dist/hub/retention.js.map +1 -0
- package/dist/hub/room-read-pacer.d.ts +14 -0
- package/dist/hub/room-read-pacer.js +51 -0
- package/dist/hub/room-read-pacer.js.map +1 -0
- package/dist/hub/rooms.d.ts +127 -0
- package/dist/hub/rooms.js +597 -0
- package/dist/hub/rooms.js.map +1 -0
- package/dist/hub/runtime.d.ts +155 -0
- package/dist/hub/runtime.js +651 -0
- package/dist/hub/runtime.js.map +1 -0
- package/dist/hub/server.d.ts +61 -0
- package/dist/hub/server.js +235 -0
- package/dist/hub/server.js.map +1 -0
- package/dist/hub/service-start.d.ts +17 -0
- package/dist/hub/service-start.js +109 -0
- package/dist/hub/service-start.js.map +1 -0
- package/dist/hub/session-directory-transition.d.ts +48 -0
- package/dist/hub/session-directory-transition.js +118 -0
- package/dist/hub/session-directory-transition.js.map +1 -0
- package/dist/hub/session-epoch.d.ts +16 -0
- package/dist/hub/session-epoch.js +50 -0
- package/dist/hub/session-epoch.js.map +1 -0
- package/dist/hub/sessions.d.ts +66 -0
- package/dist/hub/sessions.js +217 -0
- package/dist/hub/sessions.js.map +1 -0
- package/dist/hub/settings-api.d.ts +50 -0
- package/dist/hub/settings-api.js +92 -0
- package/dist/hub/settings-api.js.map +1 -0
- package/dist/hub/settings-commit.d.ts +102 -0
- package/dist/hub/settings-commit.js +522 -0
- package/dist/hub/settings-commit.js.map +1 -0
- package/dist/hub/settings-directory-ca.d.ts +31 -0
- package/dist/hub/settings-directory-ca.js +115 -0
- package/dist/hub/settings-directory-ca.js.map +1 -0
- package/dist/hub/settings-directory-control.d.ts +58 -0
- package/dist/hub/settings-directory-control.js +117 -0
- package/dist/hub/settings-directory-control.js.map +1 -0
- package/dist/hub/settings-directory-decision.d.ts +465 -0
- package/dist/hub/settings-directory-decision.js +322 -0
- package/dist/hub/settings-directory-decision.js.map +1 -0
- package/dist/hub/settings-directory-host-http.d.ts +9 -0
- package/dist/hub/settings-directory-host-http.js +75 -0
- package/dist/hub/settings-directory-host-http.js.map +1 -0
- package/dist/hub/settings-directory-host-notice-http.d.ts +9 -0
- package/dist/hub/settings-directory-host-notice-http.js +78 -0
- package/dist/hub/settings-directory-host-notice-http.js.map +1 -0
- package/dist/hub/settings-directory-host-notices.d.ts +11 -0
- package/dist/hub/settings-directory-host-notices.js +39 -0
- package/dist/hub/settings-directory-host-notices.js.map +1 -0
- package/dist/hub/settings-directory-http.d.ts +33 -0
- package/dist/hub/settings-directory-http.js +109 -0
- package/dist/hub/settings-directory-http.js.map +1 -0
- package/dist/hub/settings-directory-mount.d.ts +24 -0
- package/dist/hub/settings-directory-mount.js +77 -0
- package/dist/hub/settings-directory-mount.js.map +1 -0
- package/dist/hub/settings-directory-notices.d.ts +61 -0
- package/dist/hub/settings-directory-notices.js +132 -0
- package/dist/hub/settings-directory-notices.js.map +1 -0
- package/dist/hub/settings-directory-proof.d.ts +77 -0
- package/dist/hub/settings-directory-proof.js +313 -0
- package/dist/hub/settings-directory-proof.js.map +1 -0
- package/dist/hub/settings-directory-recovery-intent.d.ts +13 -0
- package/dist/hub/settings-directory-recovery-intent.js +29 -0
- package/dist/hub/settings-directory-recovery-intent.js.map +1 -0
- package/dist/hub/settings-directory-recovery.d.ts +37 -0
- package/dist/hub/settings-directory-recovery.js +173 -0
- package/dist/hub/settings-directory-recovery.js.map +1 -0
- package/dist/hub/settings-directory-runtime.d.ts +17 -0
- package/dist/hub/settings-directory-runtime.js +2 -0
- package/dist/hub/settings-directory-runtime.js.map +1 -0
- package/dist/hub/settings-directory-save.d.ts +37 -0
- package/dist/hub/settings-directory-save.js +175 -0
- package/dist/hub/settings-directory-save.js.map +1 -0
- package/dist/hub/socket.d.ts +24 -0
- package/dist/hub/socket.js +79 -0
- package/dist/hub/socket.js.map +1 -0
- package/dist/hub/store.d.ts +87 -0
- package/dist/hub/store.js +92 -0
- package/dist/hub/store.js.map +1 -0
- package/dist/hub/tls.d.ts +31 -0
- package/dist/hub/tls.js +135 -0
- package/dist/hub/tls.js.map +1 -0
- package/dist/hub/types.d.ts +416 -0
- package/dist/hub/types.js +2 -0
- package/dist/hub/types.js.map +1 -0
- package/dist/hub/validation.d.ts +33 -0
- package/dist/hub/validation.js +136 -0
- package/dist/hub/validation.js.map +1 -0
- package/dist/hub/version-floor.d.ts +10 -0
- package/dist/hub/version-floor.js +45 -0
- package/dist/hub/version-floor.js.map +1 -0
- package/dist/hub-browser-certificate-policy.d.ts +31 -0
- package/dist/hub-browser-certificate-policy.js +25 -0
- package/dist/hub-browser-certificate-policy.js.map +1 -0
- package/dist/hub-host-settings.d.ts +48 -0
- package/dist/hub-host-settings.js +85 -0
- package/dist/hub-host-settings.js.map +1 -0
- package/dist/hub-membership-settings.d.ts +6 -0
- package/dist/hub-membership-settings.js +21 -0
- package/dist/hub-membership-settings.js.map +1 -0
- package/dist/hub-mode.d.ts +15 -0
- package/dist/hub-mode.js +17 -0
- package/dist/hub-mode.js.map +1 -0
- package/dist/hub-pairing-summary.d.ts +48 -0
- package/dist/hub-pairing-summary.js +36 -0
- package/dist/hub-pairing-summary.js.map +1 -0
- package/dist/hub-report-target.d.ts +32 -0
- package/dist/hub-report-target.js +33 -0
- package/dist/hub-report-target.js.map +1 -0
- package/dist/hub-retention-policy.d.ts +14 -0
- package/dist/hub-retention-policy.js +15 -0
- package/dist/hub-retention-policy.js.map +1 -0
- package/dist/instance-config-impact.js +11 -3
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +52 -5
- package/dist/instance-lifecycle.js +489 -198
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.d.ts +2 -0
- package/dist/instructions.js +6 -0
- package/dist/instructions.js.map +1 -1
- package/dist/kiro-history-scan.d.ts +26 -0
- package/dist/kiro-history-scan.js +141 -0
- package/dist/kiro-history-scan.js.map +1 -0
- package/dist/kiro-history-worker.d.ts +1 -0
- package/dist/kiro-history-worker.js +9 -0
- package/dist/kiro-history-worker.js.map +1 -0
- package/dist/kiro-history.d.ts +20 -0
- package/dist/kiro-history.js +96 -0
- package/dist/kiro-history.js.map +1 -0
- package/dist/kiro-usage-run.d.ts +2 -0
- package/dist/kiro-usage-run.js +4 -1
- package/dist/kiro-usage-run.js.map +1 -1
- package/dist/launchd-service-domain.d.ts +5 -0
- package/dist/launchd-service-domain.js +21 -0
- package/dist/launchd-service-domain.js.map +1 -0
- package/dist/local-pane-endpoint.d.ts +46 -0
- package/dist/local-pane-endpoint.js +189 -0
- package/dist/local-pane-endpoint.js.map +1 -0
- package/dist/local-pane-launcher.d.ts +2 -0
- package/dist/local-pane-launcher.js +38 -0
- package/dist/local-pane-launcher.js.map +1 -0
- package/dist/local-pane-stage.ps1 +101 -0
- package/dist/locale.js +246 -34
- package/dist/locale.js.map +1 -1
- package/dist/log-service.d.ts +28 -0
- package/dist/log-service.js +29 -0
- package/dist/log-service.js.map +1 -1
- package/dist/logger.d.ts +16 -2
- package/dist/logger.js +346 -66
- package/dist/logger.js.map +1 -1
- package/dist/login-controller.d.ts +14 -1
- package/dist/login-controller.js +31 -1
- package/dist/login-controller.js.map +1 -1
- package/dist/login-flows.d.ts +21 -8
- package/dist/login-flows.js +40 -18
- package/dist/login-flows.js.map +1 -1
- package/dist/login-manager.js +25 -4
- package/dist/login-manager.js.map +1 -1
- package/dist/login-window-lock.d.ts +2 -1
- package/dist/login-window-lock.js.map +1 -1
- package/dist/ls-rows.d.ts +1 -1
- package/dist/ls-rows.js +3 -4
- package/dist/ls-rows.js.map +1 -1
- package/dist/machine-accounts.d.ts +110 -0
- package/dist/machine-accounts.js +229 -0
- package/dist/machine-accounts.js.map +1 -0
- package/dist/machine-signins.d.ts +89 -0
- package/dist/machine-signins.js +182 -0
- package/dist/machine-signins.js.map +1 -0
- package/dist/missed-offline.d.ts +25 -0
- package/dist/missed-offline.js +79 -0
- package/dist/missed-offline.js.map +1 -0
- package/dist/model-catalog-defaults.d.ts +14 -0
- package/dist/model-catalog-defaults.js +20 -0
- package/dist/model-catalog-defaults.js.map +1 -0
- 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/native-agent-admission.d.ts +7 -0
- package/dist/native-agent-admission.js +26 -0
- package/dist/native-agent-admission.js.map +1 -0
- package/dist/native-daemon-client.d.ts +13 -0
- package/dist/native-daemon-client.js +28 -0
- package/dist/native-daemon-client.js.map +1 -0
- package/dist/native-instance-api.d.ts +13 -0
- package/dist/native-instance-api.js +217 -0
- package/dist/native-instance-api.js.map +1 -0
- package/dist/native-instance-input.d.ts +87 -0
- package/dist/native-instance-input.js +59 -0
- package/dist/native-instance-input.js.map +1 -0
- package/dist/native-instance-registry.d.ts +38 -0
- package/dist/native-instance-registry.js +129 -0
- package/dist/native-instance-registry.js.map +1 -0
- package/dist/native-mcp.d.ts +43 -0
- package/dist/native-mcp.js +291 -0
- package/dist/native-mcp.js.map +1 -0
- package/dist/native-model-catalog.d.ts +5 -0
- package/dist/native-model-catalog.js +76 -0
- package/dist/native-model-catalog.js.map +1 -0
- package/dist/native-pane-crash-budget.d.ts +20 -0
- package/dist/native-pane-crash-budget.js +60 -0
- package/dist/native-pane-crash-budget.js.map +1 -0
- package/dist/native-pane-create.d.ts +26 -0
- package/dist/native-pane-create.js +53 -0
- package/dist/native-pane-create.js.map +1 -0
- package/dist/native-pane-lifecycle.d.ts +73 -0
- package/dist/native-pane-lifecycle.js +239 -0
- package/dist/native-pane-lifecycle.js.map +1 -0
- package/dist/native-pane-manager.d.ts +59 -0
- package/dist/native-pane-manager.js +592 -0
- package/dist/native-pane-manager.js.map +1 -0
- package/dist/native-pane-output-log.d.ts +15 -0
- package/dist/native-pane-output-log.js +108 -0
- package/dist/native-pane-output-log.js.map +1 -0
- package/dist/native-pane-reconciliation.d.ts +4 -0
- package/dist/native-pane-reconciliation.js +40 -0
- package/dist/native-pane-reconciliation.js.map +1 -0
- package/dist/native-pane-recovery.d.ts +12 -0
- package/dist/native-pane-recovery.js +10 -0
- package/dist/native-pane-recovery.js.map +1 -0
- package/dist/native-pane-tools.d.ts +2 -0
- package/dist/native-pane-tools.js +14 -0
- package/dist/native-pane-tools.js.map +1 -0
- package/dist/needs-you-hub.d.ts +14 -1
- package/dist/needs-you-hub.js +57 -8
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +92 -2
- package/dist/needs-you.js +54 -3
- package/dist/needs-you.js.map +1 -1
- package/dist/office-levels.d.ts +4 -3
- package/dist/office-levels.js +3 -3
- package/dist/office-levels.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 +11 -0
- package/dist/office-share.js +14 -0
- package/dist/office-share.js.map +1 -1
- package/dist/office-talk.d.ts +26 -0
- package/dist/office-talk.js +50 -0
- package/dist/office-talk.js.map +1 -0
- package/dist/outbound-handlers.d.ts +30 -2
- package/dist/outbound-handlers.js +156 -18
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +94 -1
- package/dist/outbound-schemas.js +44 -16
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +118 -0
- package/dist/pane-port.js +2 -0
- package/dist/pane-port.js.map +1 -0
- package/dist/pane-quota-history.d.ts +9 -0
- package/dist/pane-quota-history.js +67 -0
- package/dist/pane-quota-history.js.map +1 -0
- 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/platform-general.d.ts +46 -0
- package/dist/platform-general.js +91 -0
- package/dist/platform-general.js.map +1 -0
- package/dist/profile-signins.d.ts +107 -0
- package/dist/profile-signins.js +249 -0
- package/dist/profile-signins.js.map +1 -0
- package/dist/public-web-gateway.js +16 -0
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.d.ts +11 -0
- package/dist/public-web-link.js +13 -0
- package/dist/public-web-link.js.map +1 -1
- package/dist/quickstart-api.js +11 -7
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.d.ts +14 -0
- package/dist/quickstart.js +72 -4
- package/dist/quickstart.js.map +1 -1
- package/dist/quiet-run.d.ts +31 -0
- package/dist/quiet-run.js +50 -0
- package/dist/quiet-run.js.map +1 -0
- 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/quota-notice.d.ts +7 -0
- package/dist/quota-notice.js +40 -0
- package/dist/quota-notice.js.map +1 -1
- package/dist/reply-buttons-controller.d.ts +5 -1
- package/dist/reply-buttons-controller.js +18 -10
- package/dist/reply-buttons-controller.js.map +1 -1
- package/dist/reply-buttons.d.ts +6 -2
- package/dist/reply-buttons.js +7 -3
- package/dist/reply-buttons.js.map +1 -1
- package/dist/reply-polls.d.ts +2 -2
- package/dist/reply-polls.js +3 -3
- package/dist/reply-polls.js.map +1 -1
- package/dist/runtime-api.d.ts +23 -0
- package/dist/runtime-api.js +321 -0
- package/dist/runtime-api.js.map +1 -0
- package/dist/runtime-assets/@xterm/addon-serialize/LICENSE +21 -0
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.js +2 -0
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.mjs +19 -0
- package/dist/runtime-assets/@xterm/addon-serialize/package.json +29 -0
- package/dist/runtime-assets/@xterm/headless/LICENSE +21 -0
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.js +2 -0
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
- package/dist/runtime-assets/@xterm/headless/package.json +29 -0
- package/dist/runtime-assets/node-pty/CONPTY-LICENSE +21 -0
- package/dist/runtime-assets/node-pty/CONPTY-NOTICE.md +503 -0
- package/dist/runtime-assets/node-pty/LICENSE +69 -0
- package/dist/runtime-assets/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/dist/runtime-assets/node-pty/lib/eventEmitter2.js +47 -0
- package/dist/runtime-assets/node-pty/lib/index.js +52 -0
- package/dist/runtime-assets/node-pty/lib/interfaces.js +7 -0
- package/dist/runtime-assets/node-pty/lib/shared/conout.js +11 -0
- package/dist/runtime-assets/node-pty/lib/terminal.js +190 -0
- package/dist/runtime-assets/node-pty/lib/types.js +7 -0
- package/dist/runtime-assets/node-pty/lib/unixTerminal.js +346 -0
- package/dist/runtime-assets/node-pty/lib/utils.js +39 -0
- package/dist/runtime-assets/node-pty/lib/windowsConoutConnection.js +125 -0
- package/dist/runtime-assets/node-pty/lib/windowsPtyAgent.js +320 -0
- package/dist/runtime-assets/node-pty/lib/windowsTerminal.js +199 -0
- package/dist/runtime-assets/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/dist/runtime-assets/node-pty/package.json +64 -0
- 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 +10 -0
- package/dist/runtime-build-info.js +64 -0
- package/dist/runtime-build-info.js.map +1 -0
- package/dist/runtime-bundle.d.ts +22 -0
- package/dist/runtime-bundle.js +158 -0
- package/dist/runtime-bundle.js.map +1 -0
- package/dist/runtime-cli-install.d.ts +155 -0
- package/dist/runtime-cli-install.js +675 -0
- package/dist/runtime-cli-install.js.map +1 -0
- package/dist/runtime-cli.d.ts +14 -0
- package/dist/runtime-cli.js +416 -0
- package/dist/runtime-cli.js.map +1 -0
- package/dist/runtime-client-store.d.ts +75 -0
- package/dist/runtime-client-store.js +372 -0
- package/dist/runtime-client-store.js.map +1 -0
- package/dist/runtime-client.d.ts +236 -0
- package/dist/runtime-client.js +1267 -0
- package/dist/runtime-client.js.map +1 -0
- package/dist/runtime-connection.d.ts +22 -0
- package/dist/runtime-connection.js +93 -0
- package/dist/runtime-connection.js.map +1 -0
- package/dist/runtime-coordinator.d.ts +107 -0
- package/dist/runtime-coordinator.js +1180 -0
- package/dist/runtime-coordinator.js.map +1 -0
- package/dist/runtime-credential-profiles.d.ts +89 -0
- package/dist/runtime-credential-profiles.js +304 -0
- package/dist/runtime-credential-profiles.js.map +1 -0
- package/dist/runtime-general-protocol.d.ts +22 -0
- package/dist/runtime-general-protocol.js +57 -0
- package/dist/runtime-general-protocol.js.map +1 -0
- package/dist/runtime-general-workspace.d.ts +17 -0
- package/dist/runtime-general-workspace.js +213 -0
- package/dist/runtime-general-workspace.js.map +1 -0
- package/dist/runtime-install.d.ts +50 -0
- package/dist/runtime-install.js +189 -0
- package/dist/runtime-install.js.map +1 -0
- package/dist/runtime-pane-assets.d.ts +17 -0
- package/dist/runtime-pane-assets.js +23 -0
- package/dist/runtime-pane-assets.js.map +1 -0
- package/dist/runtime-pane-boot.d.ts +9 -0
- package/dist/runtime-pane-boot.js +47 -0
- package/dist/runtime-pane-boot.js.map +1 -0
- package/dist/runtime-pane-codex-index.d.ts +10 -0
- package/dist/runtime-pane-codex-index.js +151 -0
- package/dist/runtime-pane-codex-index.js.map +1 -0
- package/dist/runtime-pane-config.d.ts +16 -0
- package/dist/runtime-pane-config.js +54 -0
- package/dist/runtime-pane-config.js.map +1 -0
- package/dist/runtime-pane-host.d.ts +63 -0
- package/dist/runtime-pane-host.js +467 -0
- package/dist/runtime-pane-host.js.map +1 -0
- package/dist/runtime-pane-job-owner.d.ts +1 -0
- package/dist/runtime-pane-job-owner.js +29 -0
- package/dist/runtime-pane-job-owner.js.map +1 -0
- package/dist/runtime-pane-job.ps1 +116 -0
- package/dist/runtime-pane-link.d.ts +47 -0
- package/dist/runtime-pane-link.js +338 -0
- package/dist/runtime-pane-link.js.map +1 -0
- package/dist/runtime-pane-mcp-protocol.d.ts +32 -0
- package/dist/runtime-pane-mcp-protocol.js +39 -0
- package/dist/runtime-pane-mcp-protocol.js.map +1 -0
- package/dist/runtime-pane-mcp-relay.d.ts +18 -0
- package/dist/runtime-pane-mcp-relay.js +80 -0
- package/dist/runtime-pane-mcp-relay.js.map +1 -0
- package/dist/runtime-pane-mcp.d.ts +55 -0
- package/dist/runtime-pane-mcp.js +153 -0
- package/dist/runtime-pane-mcp.js.map +1 -0
- package/dist/runtime-pane-native.d.ts +75 -0
- package/dist/runtime-pane-native.js +114 -0
- package/dist/runtime-pane-native.js.map +1 -0
- package/dist/runtime-pane-output.d.ts +19 -0
- package/dist/runtime-pane-output.js +53 -0
- package/dist/runtime-pane-output.js.map +1 -0
- package/dist/runtime-pane-port.d.ts +144 -0
- package/dist/runtime-pane-port.js +574 -0
- package/dist/runtime-pane-port.js.map +1 -0
- package/dist/runtime-pane-private.d.ts +14 -0
- package/dist/runtime-pane-private.js +51 -0
- package/dist/runtime-pane-private.js.map +1 -0
- package/dist/runtime-pane-private.ps1 +14 -0
- package/dist/runtime-pane-process.d.ts +4 -0
- package/dist/runtime-pane-process.js +117 -0
- package/dist/runtime-pane-process.js.map +1 -0
- package/dist/runtime-pane-protocol.d.ts +182 -0
- package/dist/runtime-pane-protocol.js +217 -0
- package/dist/runtime-pane-protocol.js.map +1 -0
- package/dist/runtime-pane-quota-history.d.ts +6 -0
- package/dist/runtime-pane-quota-history.js +44 -0
- package/dist/runtime-pane-quota-history.js.map +1 -0
- package/dist/runtime-pane-screen.d.ts +19 -0
- package/dist/runtime-pane-screen.js +76 -0
- package/dist/runtime-pane-screen.js.map +1 -0
- package/dist/runtime-pane-service.d.ts +16 -0
- package/dist/runtime-pane-service.js +256 -0
- package/dist/runtime-pane-service.js.map +1 -0
- package/dist/runtime-pane-stdio-protocol.d.ts +54 -0
- package/dist/runtime-pane-stdio-protocol.js +94 -0
- package/dist/runtime-pane-stdio-protocol.js.map +1 -0
- package/dist/runtime-pane-stdio.d.ts +3 -0
- package/dist/runtime-pane-stdio.js +123 -0
- package/dist/runtime-pane-stdio.js.map +1 -0
- package/dist/runtime-pane-store.d.ts +43 -0
- package/dist/runtime-pane-store.js +176 -0
- package/dist/runtime-pane-store.js.map +1 -0
- package/dist/runtime-pane-transcript-protocol.d.ts +43 -0
- package/dist/runtime-pane-transcript-protocol.js +58 -0
- package/dist/runtime-pane-transcript-protocol.js.map +1 -0
- package/dist/runtime-pane-transcript.d.ts +50 -0
- package/dist/runtime-pane-transcript.js +666 -0
- package/dist/runtime-pane-transcript.js.map +1 -0
- package/dist/runtime-pane-worker.d.ts +1 -0
- package/dist/runtime-pane-worker.js +167 -0
- package/dist/runtime-pane-worker.js.map +1 -0
- package/dist/runtime-profile-ownership.d.ts +66 -0
- package/dist/runtime-profile-ownership.js +391 -0
- package/dist/runtime-profile-ownership.js.map +1 -0
- package/dist/runtime-protocol.d.ts +263 -0
- package/dist/runtime-protocol.js +89 -0
- package/dist/runtime-protocol.js.map +1 -0
- package/dist/runtime-remote-accounts.d.ts +197 -0
- package/dist/runtime-remote-accounts.js +663 -0
- package/dist/runtime-remote-accounts.js.map +1 -0
- package/dist/runtime-remote-setup.d.ts +105 -0
- package/dist/runtime-remote-setup.js +529 -0
- package/dist/runtime-remote-setup.js.map +1 -0
- package/dist/runtime-signin-transport.d.ts +39 -0
- package/dist/runtime-signin-transport.js +111 -0
- package/dist/runtime-signin-transport.js.map +1 -0
- package/dist/runtime-signin.d.ts +132 -0
- package/dist/runtime-signin.js +290 -0
- package/dist/runtime-signin.js.map +1 -0
- package/dist/runtime-switches.d.ts +79 -0
- package/dist/runtime-switches.js +90 -0
- package/dist/runtime-switches.js.map +1 -0
- package/dist/runtime-transcript-delta-reader.d.ts +23 -0
- package/dist/runtime-transcript-delta-reader.js +74 -0
- package/dist/runtime-transcript-delta-reader.js.map +1 -0
- package/dist/runtime-transcript-source.d.ts +36 -0
- package/dist/runtime-transcript-source.js +189 -0
- package/dist/runtime-transcript-source.js.map +1 -0
- package/dist/runtime-update-activity.d.ts +21 -0
- package/dist/runtime-update-activity.js +51 -0
- package/dist/runtime-update-activity.js.map +1 -0
- package/dist/runtime-update-artifact.d.ts +31 -0
- package/dist/runtime-update-artifact.js +252 -0
- package/dist/runtime-update-artifact.js.map +1 -0
- package/dist/runtime-update-attention.d.ts +4 -0
- package/dist/runtime-update-attention.js +11 -0
- package/dist/runtime-update-attention.js.map +1 -0
- package/dist/runtime-update-controller.d.ts +75 -0
- package/dist/runtime-update-controller.js +691 -0
- package/dist/runtime-update-controller.js.map +1 -0
- package/dist/runtime-update-install.d.ts +31 -0
- package/dist/runtime-update-install.js +205 -0
- package/dist/runtime-update-install.js.map +1 -0
- package/dist/runtime-update-ipc.d.ts +42 -0
- package/dist/runtime-update-ipc.js +144 -0
- package/dist/runtime-update-ipc.js.map +1 -0
- package/dist/runtime-update-journal.d.ts +49 -0
- package/dist/runtime-update-journal.js +128 -0
- package/dist/runtime-update-journal.js.map +1 -0
- package/dist/runtime-update-lock.d.ts +48 -0
- package/dist/runtime-update-lock.js +232 -0
- package/dist/runtime-update-lock.js.map +1 -0
- package/dist/runtime-update-owners.d.ts +29 -0
- package/dist/runtime-update-owners.js +240 -0
- package/dist/runtime-update-owners.js.map +1 -0
- package/dist/runtime-update-protocol.d.ts +15 -0
- package/dist/runtime-update-protocol.js +13 -0
- package/dist/runtime-update-protocol.js.map +1 -0
- package/dist/runtime-update-status.d.ts +30 -0
- package/dist/runtime-update-status.js +31 -0
- package/dist/runtime-update-status.js.map +1 -0
- package/dist/runtime-windows-bridge.d.ts +42 -0
- package/dist/runtime-windows-bridge.js +167 -0
- package/dist/runtime-windows-bridge.js.map +1 -0
- package/dist/scheduler/db.d.ts +10 -0
- package/dist/scheduler/db.js +38 -11
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/task-board-text.js +1 -1
- package/dist/scheduler/task-board-text.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +13 -0
- package/dist/scheduler/task-board.js +28 -3
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/scheduler/types.d.ts +6 -1
- package/dist/service-drain.d.ts +19 -0
- package/dist/service-drain.js +64 -0
- package/dist/service-drain.js.map +1 -0
- package/dist/service-installer.d.ts +7 -2
- package/dist/service-installer.js +13 -10
- package/dist/service-installer.js.map +1 -1
- package/dist/settings-api.d.ts +23 -1
- package/dist/settings-api.js +705 -6
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +7 -0
- package/dist/settings-baseline.js +3 -1
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.d.ts +10 -0
- package/dist/settings-change.js +76 -1
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-confirmation.d.ts +42 -3
- package/dist/settings-confirmation.js +58 -12
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.d.ts +17 -0
- package/dist/settings-effect.js +226 -2
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +28 -0
- package/dist/settings-http-confirmation.js +123 -9
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-instance-patch.js +28 -1
- package/dist/settings-instance-patch.js.map +1 -1
- package/dist/settings-request-capability.d.ts +7 -0
- package/dist/settings-request-capability.js +10 -1
- package/dist/settings-request-capability.js.map +1 -1
- package/dist/settings-route-lifetime.d.ts +14 -0
- package/dist/settings-route-lifetime.js +48 -0
- package/dist/settings-route-lifetime.js.map +1 -0
- package/dist/settings-transaction.d.ts +4 -0
- package/dist/settings-transaction.js +9 -0
- package/dist/settings-transaction.js.map +1 -1
- package/dist/setup-form.js +6 -3
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-host.js +1 -1
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-i18n.js +3 -0
- package/dist/setup-i18n.js.map +1 -1
- package/dist/setup-wizard.js +4 -2
- package/dist/setup-wizard.js.map +1 -1
- package/dist/signin-keepalive.d.ts +207 -0
- package/dist/signin-keepalive.js +682 -0
- package/dist/signin-keepalive.js.map +1 -0
- package/dist/structured-signin-transport.d.ts +20 -2
- package/dist/structured-signin-transport.js +57 -2
- package/dist/structured-signin-transport.js.map +1 -1
- package/dist/structured-signin.d.ts +11 -2
- package/dist/structured-signin.js +8 -8
- package/dist/structured-signin.js.map +1 -1
- package/dist/task-board-tool.d.ts +13 -1
- package/dist/task-board-tool.js +104 -4
- package/dist/task-board-tool.js.map +1 -1
- package/dist/task-board-waker.d.ts +6 -0
- package/dist/task-board-waker.js +4 -0
- package/dist/task-board-waker.js.map +1 -1
- package/dist/team-membership.d.ts +7 -0
- package/dist/team-membership.js +10 -0
- package/dist/team-membership.js.map +1 -0
- package/dist/tips.js +4 -4
- package/dist/tips.js.map +1 -1
- package/dist/tmux-binary.d.ts +59 -0
- package/dist/tmux-binary.js +189 -0
- package/dist/tmux-binary.js.map +1 -0
- package/dist/tmux-control.d.ts +2 -1
- package/dist/tmux-control.js +4 -4
- package/dist/tmux-control.js.map +1 -1
- package/dist/tmux-exec-helper.js +32 -1
- package/dist/tmux-exec-helper.js.map +1 -1
- package/dist/tmux-legacy.d.ts +94 -0
- package/dist/tmux-legacy.js +309 -0
- package/dist/tmux-legacy.js.map +1 -0
- package/dist/tmux-manager.d.ts +10 -3
- package/dist/tmux-manager.js +60 -38
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tmux-pane-host.d.ts +26 -0
- package/dist/tmux-pane-host.js +25 -0
- package/dist/tmux-pane-host.js.map +1 -0
- package/dist/tmux-read.js +4 -3
- package/dist/tmux-read.js.map +1 -1
- package/dist/tmux-rollback.d.ts +31 -0
- package/dist/tmux-rollback.js +72 -0
- package/dist/tmux-rollback.js.map +1 -0
- package/dist/tmux-server.d.ts +102 -0
- package/dist/tmux-server.js +248 -0
- package/dist/tmux-server.js.map +1 -0
- package/dist/tool-permissions.d.ts +2 -3
- package/dist/tool-permissions.js +5 -4
- package/dist/tool-permissions.js.map +1 -1
- package/dist/topic-commands.js +10 -6
- 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 +23 -0
- package/dist/transcript-monitor.js +107 -49
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-needles.d.ts +42 -0
- package/dist/transcript-needles.js +166 -0
- package/dist/transcript-needles.js.map +1 -0
- package/dist/transcript-records.d.ts +22 -0
- package/dist/transcript-records.js +144 -0
- package/dist/transcript-records.js.map +1 -0
- package/dist/transcript-sources.d.ts +5 -0
- package/dist/transcript-sources.js +11 -79
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +34 -0
- package/dist/types.js.map +1 -1
- package/dist/ui/account-identity.js +27 -0
- package/dist/ui/accounts-keepalive.js +118 -0
- package/dist/ui/accounts-manage.js +256 -0
- package/dist/ui/accounts-view.js +418 -0
- package/dist/ui/agent-proposals.js +90 -0
- package/dist/ui/agent-runtime-settings.js +69 -0
- package/dist/ui/agent-runtime.js +124 -0
- package/dist/ui/app.html +8 -1
- package/dist/ui/backend-signin.js +108 -36
- package/dist/ui/chat-ambient.js +1 -1
- package/dist/ui/chat-commands.js +7 -0
- package/dist/ui/chat-md-strings.js +3 -0
- package/dist/ui/chat-render.js +3 -670
- package/dist/ui/chat-store.js +14 -3
- package/dist/ui/chat-strings.js +3 -285
- package/dist/ui/chat-thread.js +3 -919
- package/dist/ui/chat-time.js +3 -80
- package/dist/ui/chat-tour.js +1 -1
- package/dist/ui/cli-caps.js +15 -0
- package/dist/ui/cli-picker.js +42 -0
- package/dist/ui/credential-profile-select.js +54 -0
- package/dist/ui/fleet-cache.js +3 -3
- package/dist/ui/fleet-canvas.js +2 -2
- package/dist/ui/fleet-office-dialogue.d.ts +30 -0
- package/dist/ui/fleet-office-dialogue.js +382 -0
- package/dist/ui/fleet-office-editor.js +1 -1
- package/dist/ui/fleet-office-pack.d.ts +9 -0
- package/dist/ui/fleet-office-pack.js +76 -4
- package/dist/ui/fleet-office-skin.js +23 -5
- package/dist/ui/fleet-office-store.js +5 -0
- package/dist/ui/fleet-office.js +174 -7
- package/dist/ui/fleet-org.js +2 -2
- package/dist/ui/fleet-task-card.js +11 -7
- package/dist/ui/fleet-task-common.js +18 -8
- package/dist/ui/fleet-task-menu.js +188 -0
- package/dist/ui/fleet-task-stats.js +124 -0
- package/dist/ui/fleet-task-view.js +340 -0
- package/dist/ui/fleet-tasks.js +131 -43
- package/dist/ui/general-location.js +85 -0
- package/dist/ui/html-attachment.js +3 -40
- package/dist/ui/hub-agent-copy.js +23 -0
- package/dist/ui/hub-attachments.js +90 -0
- package/dist/ui/hub-button-actions.js +65 -0
- package/dist/ui/hub-chat-store.js +168 -0
- package/dist/ui/hub-chat-strings.js +79 -0
- package/dist/ui/hub-client.js +410 -0
- package/dist/ui/hub-company-join-strings.js +74 -0
- package/dist/ui/hub-company-join.js +119 -0
- package/dist/ui/hub-directory-editor-strings.js +56 -0
- package/dist/ui/hub-directory-editor.js +163 -0
- package/dist/ui/hub-directory-notice-strings.js +28 -0
- package/dist/ui/hub-directory-notices.js +66 -0
- package/dist/ui/hub-grant-strings.js +13 -0
- package/dist/ui/hub-group-policy.js +183 -0
- package/dist/ui/hub-group-strings.js +110 -0
- package/dist/ui/hub-host-security-notices.js +28 -0
- package/dist/ui/hub-owner-strings.js +55 -0
- package/dist/ui/hub-pairing-progress-strings.js +15 -0
- package/dist/ui/hub-preview.js +101 -0
- package/dist/ui/hub-provider-guidance.js +31 -0
- package/dist/ui/hub-quick-pairing.js +209 -0
- package/dist/ui/hub-quick-strings.js +43 -0
- package/dist/ui/hub-quota.js +85 -0
- package/dist/ui/hub-read-strings.js +7 -0
- package/dist/ui/hub-strings.js +164 -0
- package/dist/ui/hub-switcher.js +27 -0
- package/dist/ui/hub-this-hub.js +113 -0
- package/dist/ui/hub-welcome.js +102 -0
- package/dist/ui/machine-signin.js +56 -0
- package/dist/ui/native-instance-settings.js +44 -0
- package/dist/ui/native-pane-recovery.js +45 -0
- package/dist/ui/office-share-page.js +4 -2
- package/dist/ui/panel-chat.js +98 -77
- package/dist/ui/panel-details.js +3 -2
- package/dist/ui/panel-fleet.js +183 -32
- package/dist/ui/panel-hub.js +970 -0
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-needs.js +189 -15
- package/dist/ui/panel-notices.js +4 -3
- package/dist/ui/panel-runtimes.js +446 -0
- package/dist/ui/panel-settings.js +292 -201
- package/dist/ui/panel-windows-agent.js +87 -0
- package/dist/ui/panel-windows-cli.js +189 -0
- package/dist/ui/preview-pages.js +3 -41
- package/dist/ui/preview-panel-actions.js +3 -161
- package/dist/ui/preview-panel.js +11 -472
- package/dist/ui/preview-versions.js +3 -155
- package/dist/ui/preview.js +3 -476
- package/dist/ui/provider-marks.js +83 -0
- package/dist/ui/runtime-catalog.js +55 -0
- package/dist/ui/runtime-cli-install.js +135 -0
- package/dist/ui/runtime-commands.d.ts +4 -0
- package/dist/ui/runtime-commands.js +59 -0
- package/dist/ui/runtime-update-commands.d.ts +2 -0
- package/dist/ui/runtime-update-commands.js +11 -0
- package/dist/ui/runtime-update-status.js +53 -0
- package/dist/ui/search-dialog.js +5 -2
- package/dist/ui/settings-access-strings.js +42 -0
- package/dist/ui/settings-agent-filters.js +94 -0
- package/dist/ui/settings-appearance.js +122 -23
- package/dist/ui/settings-apply.js +12 -5
- package/dist/ui/settings-build-version.js +35 -0
- package/dist/ui/settings-catalog.js +39 -11
- package/dist/ui/settings-codex-copy.js +19 -0
- package/dist/ui/settings-confirm.js +108 -10
- package/dist/ui/settings-devices.js +249 -0
- package/dist/ui/settings-dialogs.js +78 -25
- package/dist/ui/settings-guests.js +28 -13
- package/dist/ui/settings-hub-browser-certificate.js +76 -0
- package/dist/ui/settings-hub-company-join.js +162 -0
- package/dist/ui/settings-hub-directory.js +29 -0
- package/dist/ui/settings-hub-membership.js +93 -0
- package/dist/ui/settings-hub-preview.js +74 -0
- package/dist/ui/settings-hub-retention.js +54 -0
- package/dist/ui/settings-hub-run.js +62 -0
- package/dist/ui/settings-hub-section.js +66 -0
- package/dist/ui/settings-hub-setup-strings.js +70 -0
- package/dist/ui/settings-hub-setup.js +195 -0
- package/dist/ui/settings-hub.js +261 -0
- package/dist/ui/settings-layout.js +246 -0
- package/dist/ui/settings-model.js +26 -3
- package/dist/ui/settings-named-test.js +2 -2
- package/dist/ui/settings-outside.js +242 -0
- package/dist/ui/settings-quota-notice.js +102 -0
- package/dist/ui/settings-registry.js +24 -5
- package/dist/ui/settings-restart-strings.js +17 -0
- package/dist/ui/settings-shared-strings.js +143 -0
- package/dist/ui/settings-shared.js +345 -0
- package/dist/ui/settings-shortcuts.js +65 -0
- package/dist/ui/settings-strings.js +127 -52
- package/dist/ui/settings-update.js +69 -0
- package/dist/ui/settings-web-authority.js +19 -12
- package/dist/ui/shared/accounts-keepalive.css +12 -0
- package/dist/ui/shared/accounts.css +78 -0
- package/dist/ui/shared/app-i18n.js +18 -9
- package/dist/ui/shared/app-route.js +12 -3
- package/dist/ui/shared/app-session.js +6 -2
- package/dist/ui/shared/app-shell.js +312 -40
- package/dist/ui/shared/app-store.js +3 -2
- package/dist/ui/shared/app-stream.js +3 -1
- package/dist/ui/shared/app-update.js +215 -0
- package/dist/ui/shared/app.css +1511 -6
- package/dist/ui/shared/app.js +18 -4
- package/dist/ui/shared/chat-composer.js +68 -0
- package/dist/ui/shared/chat-md-strings.js +9 -0
- package/dist/ui/shared/chat-render.js +682 -0
- package/dist/ui/shared/chat-strings.js +333 -0
- package/dist/ui/shared/chat-thread.js +969 -0
- package/dist/ui/shared/chat-time.js +80 -0
- package/dist/ui/shared/header-tools.js +9 -9
- package/dist/ui/shared/html-attachment.js +42 -0
- package/dist/ui/shared/hub-chat.css +98 -0
- package/dist/ui/shared/hub-groups.css +28 -0
- package/dist/ui/shared/hub-owner.css +51 -0
- package/dist/ui/shared/hub-quota.css +8 -0
- package/dist/ui/shared/hub-signin.css +24 -0
- package/dist/ui/shared/hub.css +78 -0
- package/dist/ui/shared/instance-nav.js +35 -8
- package/dist/ui/shared/instance-switch.js +4 -3
- package/dist/ui/shared/loading.css +37 -0
- package/dist/ui/shared/machine-name.js +13 -0
- package/dist/ui/shared/page-head.js +8 -0
- package/dist/ui/shared/panel-view.js +77 -4
- package/dist/ui/shared/preview-pages.js +41 -0
- package/dist/ui/shared/preview-panel-actions.js +168 -0
- package/dist/ui/shared/preview-panel.js +565 -0
- package/dist/ui/shared/preview-versions.js +155 -0
- package/dist/ui/shared/preview.js +476 -0
- package/dist/ui/shared/qrcode.module.js +2237 -0
- package/dist/ui/shared/runtime-install.css +30 -0
- package/dist/ui/shared/settings-width.js +31 -0
- package/dist/ui/shared/setup-host-text.js +4 -1
- package/dist/ui/shared/side-rail.js +15 -0
- package/dist/ui/shared/signin.js +280 -10
- package/dist/ui/shared/task-board.css +95 -0
- package/dist/ui/shared/tokens.css +1 -0
- package/dist/ui/shared/ui-dialog.js +2 -2
- package/dist/ui/shared/ui-menu.js +30 -10
- package/dist/ui/shared/ui-states.js +14 -3
- package/dist/ui/shared/usage-dialog.js +3 -72
- package/dist/ui/shared/usage-meter.js +84 -0
- package/dist/ui/shared/vendor/qrcode-generator.LICENSE +27 -0
- package/dist/ui/shared/vendor/vendor.json +19 -2
- package/dist/ui/shared/view-history.css +17 -0
- package/dist/ui/shared/view-history.js +438 -0
- package/dist/ui/shared/view-strings.js +23 -15
- package/dist/ui/shared/web-authorize.js +4 -4
- package/dist/ui/shared/workspace-follow.css +19 -0
- package/dist/ui/shared/workspace.css +20 -0
- package/dist/ui/signin.html +27 -2
- package/dist/ui/structured-signin.js +65 -15
- package/dist/ui/windows-agents-nav.js +2 -0
- package/dist/ui/windows-cli-catalog.js +108 -0
- package/dist/ui/workspace-follow-strings.js +28 -0
- package/dist/ui/workspace-panel.js +378 -0
- package/dist/ui/workspace-strings.js +35 -0
- package/dist/unattended-install.d.ts +11 -2
- package/dist/unattended-install.js +41 -6
- package/dist/unattended-install.js.map +1 -1
- package/dist/update-dispatch.d.ts +32 -4
- package/dist/update-dispatch.js +146 -16
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-install.d.ts +7 -0
- package/dist/update-install.js +23 -0
- package/dist/update-install.js.map +1 -1
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +2 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/update-marker.d.ts +4 -2
- package/dist/update-marker.js +4 -3
- package/dist/update-marker.js.map +1 -1
- package/dist/usage/providers.d.ts +8 -0
- package/dist/usage/providers.js +36 -26
- 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 +2 -1
- package/dist/usage/usage-api.js +19 -10
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/usage-rollup.d.ts +5 -0
- package/dist/usage-rollup.js +11 -6
- package/dist/usage-rollup.js.map +1 -1
- package/dist/view-api.d.ts +18 -8
- package/dist/view-api.js +108 -32
- package/dist/view-api.js.map +1 -1
- package/dist/view-history.d.ts +84 -0
- package/dist/view-history.js +116 -0
- package/dist/view-history.js.map +1 -0
- package/dist/web-api.d.ts +133 -2
- package/dist/web-api.js +1091 -26
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.js +2 -1
- package/dist/web-auth.js.map +1 -1
- package/dist/web-backend-login.d.ts +39 -3
- package/dist/web-backend-login.js +25 -17
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-chat-history.d.ts +19 -2
- package/dist/web-chat-history.js +72 -3
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-device-login.d.ts +153 -0
- package/dist/web-device-login.js +278 -0
- package/dist/web-device-login.js.map +1 -0
- package/dist/web-login.d.ts +35 -1
- package/dist/web-login.js +51 -5
- package/dist/web-login.js.map +1 -1
- package/dist/web-notices.d.ts +9 -0
- package/dist/web-notices.js +19 -0
- package/dist/web-notices.js.map +1 -1
- package/dist/web-office-skins.d.ts +9 -0
- package/dist/web-office-skins.js +16 -1
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-only-fleet.d.ts +20 -0
- package/dist/web-only-fleet.js +21 -0
- package/dist/web-only-fleet.js.map +1 -1
- package/dist/web-remote-access.d.ts +158 -0
- package/dist/web-remote-access.js +377 -0
- package/dist/web-remote-access.js.map +1 -0
- package/dist/web-session.d.ts +53 -0
- package/dist/web-session.js +47 -1
- package/dist/web-session.js.map +1 -1
- package/dist/web-settings-patch.d.ts +3 -1
- package/dist/web-settings-patch.js +4 -1
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/web-shell-routes.d.ts +10 -1
- package/dist/web-shell-routes.js +14 -2
- package/dist/web-shell-routes.js.map +1 -1
- package/dist/web-signin-link.d.ts +42 -0
- package/dist/web-signin-link.js +110 -0
- package/dist/web-signin-link.js.map +1 -0
- package/dist/web-terminal.d.ts +11 -30
- package/dist/web-terminal.js +23 -8
- package/dist/web-terminal.js.map +1 -1
- package/dist/web-update.d.ts +78 -0
- package/dist/web-update.js +104 -0
- package/dist/web-update.js.map +1 -0
- package/dist/windows-agents.d.ts +127 -0
- package/dist/windows-agents.js +491 -0
- package/dist/windows-agents.js.map +1 -0
- package/dist/windows-cli-api.d.ts +48 -0
- package/dist/windows-cli-api.js +206 -0
- package/dist/windows-cli-api.js.map +1 -0
- package/dist/windows-cli-providers.d.ts +109 -0
- package/dist/windows-cli-providers.js +396 -0
- package/dist/windows-cli-providers.js.map +1 -0
- package/dist/windows-cli-worker.d.ts +85 -0
- package/dist/windows-cli-worker.js +585 -0
- package/dist/windows-cli-worker.js.map +1 -0
- package/dist/windows-cli.d.ts +126 -0
- package/dist/windows-cli.js +416 -0
- package/dist/windows-cli.js.map +1 -0
- package/dist/windows-native-mcp.d.ts +19 -0
- package/dist/windows-native-mcp.js +143 -0
- package/dist/windows-native-mcp.js.map +1 -0
- package/dist/windows-pane-mcp.d.ts +26 -0
- package/dist/windows-pane-mcp.js +187 -0
- package/dist/windows-pane-mcp.js.map +1 -0
- package/dist/workspace-follow-parse.d.ts +36 -0
- package/dist/workspace-follow-parse.js +208 -0
- package/dist/workspace-follow-parse.js.map +1 -0
- package/dist/workspace-follow-records.d.ts +17 -0
- package/dist/workspace-follow-records.js +88 -0
- package/dist/workspace-follow-records.js.map +1 -0
- package/dist/workspace-follow.d.ts +41 -0
- package/dist/workspace-follow.js +143 -0
- package/dist/workspace-follow.js.map +1 -0
- package/dist/wsl-detect.d.ts +1 -0
- package/dist/wsl-detect.js +20 -0
- package/dist/wsl-detect.js.map +1 -0
- package/dist/yaml-shared-nodes.js +8 -3
- package/dist/yaml-shared-nodes.js.map +1 -1
- package/launcher/agend-install.cjs +8 -1
- package/launcher/launchd-session-type.cjs +14 -0
- package/launcher/postinstall.cjs +27 -2
- package/launcher/private-home.cjs +1 -1
- package/launcher/tmux-bundle.cjs +263 -0
- package/package.json +16 -4
- package/templates/launchd.plist.ejs +3 -1
- package/templates/runtime-assets/conpty-LICENSE +21 -0
- package/templates/runtime-assets/conpty-NOTICE.md +503 -0
- package/templates/runtime-assets/local-pane-stage.ps1 +101 -0
- package/templates/runtime-assets/runtime-pane-job.ps1 +116 -0
- package/templates/runtime-assets/runtime-pane-private.ps1 +14 -0
- package/templates/runtime-assets/xterm-LICENSE +21 -0
- package/templates/runtime-install/install.ps1 +411 -0
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
+
import { AgentRuntimeChanges } from "./agent-runtime-change.js";
|
|
1
2
|
import { type HumanOrigin } from "./human-delivery-receipts.js";
|
|
3
|
+
import { SettingsConfirmationStore, type SettingsPendingView } from "./settings-confirmation.js";
|
|
4
|
+
import { type GeneralSwitchInput } from "./general-binding.js";
|
|
2
5
|
import { SettingsExecution } from "./settings-transaction.js";
|
|
3
6
|
import { AppIconStore } from "./web-app-icon.js";
|
|
4
7
|
import { type NamedTestResult } from "./tunnel/named-link-test.js";
|
|
5
8
|
import { OfficeShareService } from "./office-share-service.js";
|
|
9
|
+
import { OfficeTalk } from "./office-talk.js";
|
|
6
10
|
import { type OfficeShare } from "./office-share.js";
|
|
7
11
|
import type { PageShare } from "./page-share.js";
|
|
8
12
|
import type { LoginCodeOwner } from "./web-login.js";
|
|
9
13
|
import { type ProfileTicket } from "./runtime-cpu-profile.js";
|
|
10
14
|
import type { CpuProfile } from "./cpu-profile.js";
|
|
15
|
+
import { type IncomingMessage } from "node:http";
|
|
11
16
|
import { type FleetMemory } from "./process-memory.js";
|
|
12
17
|
import { MemoryPressure, type MemoryPressureSnapshot } from "./memory-pressure.js";
|
|
13
18
|
import { ReplyDeduper } from "./reply-dedup.js";
|
|
@@ -19,11 +24,12 @@ import { type TopicDeleteOutcome } from "./instance-topic-delete.js";
|
|
|
19
24
|
import { BackendAvailabilityStore, type AvailabilityProbes, type BackendAvailability } from "./backend-availability.js";
|
|
20
25
|
import { AdapterWorld } from "./adapter-world.js";
|
|
21
26
|
import { CostGuard } from "./cost-guard.js";
|
|
22
|
-
import {
|
|
27
|
+
import { type InstanceClient } from "./channel/ipc-bridge.js";
|
|
23
28
|
import type { AdapterHealthSnapshot, ChannelAdapter, InboundMessage, InboundReaction } from "./channel/types.js";
|
|
24
29
|
import { type BackendCliVersionSnapshot } from "./backend/types.js";
|
|
25
30
|
import { type Logger } from "./logger.js";
|
|
26
31
|
import { Scheduler } from "./scheduler/index.js";
|
|
32
|
+
import type { Task } from "./scheduler/types.js";
|
|
27
33
|
import type { FleetContext } from "./fleet-context.js";
|
|
28
34
|
import { TmuxControlClient } from "./tmux-control.js";
|
|
29
35
|
import { RoutingEngine } from "./routing-engine.js";
|
|
@@ -52,6 +58,11 @@ export declare const LIVE_TASK_STATUSES: string[];
|
|
|
52
58
|
* " \t " and [" ", "\t"] both normalize to undefined (not treated as explicit
|
|
53
59
|
* filters). The same result drives the live-only default and the cap decision.
|
|
54
60
|
*/
|
|
61
|
+
/**
|
|
62
|
+
* #3195: the saved value of each plain-update field the call named (assignee, priority, result), read back from the
|
|
63
|
+
* task — so the answer shows what was persisted, not what was asked. Status is always in the ack already.
|
|
64
|
+
*/
|
|
65
|
+
export declare function savedFields(t: Task, named: Record<string, unknown>): Partial<Pick<Task, "assignee" | "priority" | "result">>;
|
|
55
66
|
export declare function normalizeStatusFilter(v: unknown): string | string[] | undefined;
|
|
56
67
|
export declare function applyTaskListCap<T extends {
|
|
57
68
|
updated_at: string;
|
|
@@ -61,7 +72,12 @@ export declare function applyTaskListCap<T extends {
|
|
|
61
72
|
hint: string;
|
|
62
73
|
} | T[];
|
|
63
74
|
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";
|
|
64
79
|
import { type LogAnswer, type LogQuery } from "./log-service.js";
|
|
80
|
+
import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
|
|
65
81
|
import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
|
|
66
82
|
import { type WebEchoCopy } from "./web-reactions.js";
|
|
67
83
|
import { SeenUsers, type MentionNames, type MentionQuery } from "./web-mentions.js";
|
|
@@ -77,6 +93,7 @@ import { type WebAccount } from "./web-profile.js";
|
|
|
77
93
|
import type { WebPerson as WebPersonView } from "./web-api.js";
|
|
78
94
|
import { ReplyButtonsController } from "./reply-buttons-controller.js";
|
|
79
95
|
import { WebFileLedger } from "./web-upload.js";
|
|
96
|
+
import type { ActiveDecisionRow } from "./daemon.js";
|
|
80
97
|
import { AppearanceTools } from "./web-appearance-tools.js";
|
|
81
98
|
import { ModStore } from "./web-mod-store.js";
|
|
82
99
|
import { type CachedImage } from "./web-images.js";
|
|
@@ -84,6 +101,7 @@ import { SearchIndex } from "./search/search-index.js";
|
|
|
84
101
|
import { type CrossInstanceRecord, type XmsgVisibility } from "./search/search-docs.js";
|
|
85
102
|
import { WebSettingsTools } from "./web-settings-tools.js";
|
|
86
103
|
import { type Delegation, type TrafficItem } from "./fleet-traffic.js";
|
|
104
|
+
import { type WebUpdateHost } from "./web-update.js";
|
|
87
105
|
import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
|
|
88
106
|
import { BrowserBackendSignIns } from "./browser-backend-signins.js";
|
|
89
107
|
import { type RawConfigPatch } from "./settings-api.js";
|
|
@@ -98,12 +116,14 @@ import { WakeCoordinator } from "./wake-coordinator.js";
|
|
|
98
116
|
import { TargetQueueWorker } from "./target-queue-worker.js";
|
|
99
117
|
import { resolveDeliveryWorkerMode } from "./types.js";
|
|
100
118
|
import { type WebNeedsItem } from "./needs-you-hub.js";
|
|
119
|
+
import { type SetResult as KeepAliveSetResult } from "./signin-keepalive.js";
|
|
101
120
|
import { type OrgChart } from "./web-org.js";
|
|
102
121
|
import { type MemoryHog } from "./memory-hogs.js";
|
|
103
122
|
import { type CacheReport } from "./cache-service.js";
|
|
104
123
|
import { type WebCommandResult } from "./web-commands.js";
|
|
105
|
-
import { type SessionRecord } from "./web-session.js";
|
|
124
|
+
import { type SessionRecord, type WebDeviceRow } from "./web-session.js";
|
|
106
125
|
import { WebNotices } from "./web-notices.js";
|
|
126
|
+
import { WebRemoteAccess } from "./web-remote-access.js";
|
|
107
127
|
import { VERIFIED_SESSION_HOURS, type HumanAuthority, type WebAuthorityRefusal, type WebAuthorityResult, type WebPeer } from "./authority/web-authority.js";
|
|
108
128
|
import { type AuthorityState } from "./authority/authority-state.js";
|
|
109
129
|
import { type SessionAuthorization } from "./authority/session-authorizations.js";
|
|
@@ -114,6 +134,12 @@ import { type ConnectionMetadata, type ConnectionBinding, type BindingProbe, typ
|
|
|
114
134
|
import { type ProviderSecretStatus } from "./provider-secret-registry.js";
|
|
115
135
|
import { ApplyJobStore, type ApplyJob, type ApplyTargetKind, type SelfRestartResult } from "./apply-job.js";
|
|
116
136
|
import { type CarryResult } from "./backend/claude-carry.js";
|
|
137
|
+
import { type AccountsView } from "./accounts-view.js";
|
|
138
|
+
import { type AddResult, type RemoveResult } from "./accounts-profiles.js";
|
|
139
|
+
import { type SignOutResult } from "./accounts-signout.js";
|
|
140
|
+
import { MachineAccounts, type MachineActor, type MachineAccountResult } from "./machine-accounts.js";
|
|
141
|
+
import { MachineSignIns } from "./machine-signins.js";
|
|
142
|
+
import { ProfileSignIns } from "./profile-signins.js";
|
|
117
143
|
import { StormWindow } from "./storm-window.js";
|
|
118
144
|
import { SpawnGate } from "./spawn-gate.js";
|
|
119
145
|
import { BackendOutageTracker } from "./backend-outage.js";
|
|
@@ -201,8 +227,18 @@ export interface ModelCatalog {
|
|
|
201
227
|
note?: string;
|
|
202
228
|
}
|
|
203
229
|
export interface DeliveryOptions {
|
|
230
|
+
/**
|
|
231
|
+
* A Windows instance only: the sender's authority after the handoff (see NativeRuntimeDeliveryOptions.authorityCurrent).
|
|
232
|
+
* stillCurrent fences the handoff itself; this one is rechecked before the Windows process starts.
|
|
233
|
+
*/
|
|
234
|
+
authorityCurrent?: () => boolean;
|
|
204
235
|
/** Explicitly identify agent-to-agent delivery when metadata is unavailable. */
|
|
205
236
|
isCrossInstance?: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* The Hub representative's last step (docs/design/hub-representative-agent.md): run after any wake, the idle wait and
|
|
239
|
+
* the storm recheck, immediately before the IPC hand-off. False drops the delivery unsent. Not for Windows agents.
|
|
240
|
+
*/
|
|
241
|
+
beforeInput?: () => Promise<boolean>;
|
|
206
242
|
/** Force or bypass the idle gate. Schedules set this explicitly. */
|
|
207
243
|
waitForIdle?: boolean;
|
|
208
244
|
/** Test/operational override; normal deliveries use the 60 second backstop. */
|
|
@@ -285,6 +321,7 @@ export declare class RestartSupersededError extends Error {
|
|
|
285
321
|
}
|
|
286
322
|
export declare class FleetManager implements FleetContext, LifecycleContext, ArchiverContext, StatuslineWatcherContext, OutboundContext, AgentEndpointContext {
|
|
287
323
|
dataDir: string;
|
|
324
|
+
private decisionSnapshot;
|
|
288
325
|
private static signalTarget;
|
|
289
326
|
private static sighupHandlerInstalled;
|
|
290
327
|
/** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
|
|
@@ -324,7 +361,243 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
324
361
|
/** Live view of lifecycle.daemons — used throughout; not deprecated. */
|
|
325
362
|
get daemons(): Map<string, Daemon>;
|
|
326
363
|
fleetConfig: FleetConfig | null;
|
|
364
|
+
private fleetWindowsRuntime;
|
|
365
|
+
private nativeMcpStore;
|
|
366
|
+
private paneManager;
|
|
367
|
+
private localPaneRelay;
|
|
368
|
+
private openingLocalPane;
|
|
369
|
+
private runtimeHub;
|
|
370
|
+
private runtimeInstall;
|
|
371
|
+
/** One service for the public installer routes and the administrator API: the hash the dashboard shows is the hash of what is sent. */
|
|
372
|
+
runtimeInstaller(): RuntimeInstallService;
|
|
373
|
+
private runtimeExecutor;
|
|
374
|
+
private runtimeStatusScheduled;
|
|
375
|
+
private readonly reconciledRemoteResults;
|
|
376
|
+
/** Machine credentials are separate from dashboard sessions and per-turn agent capabilities. */
|
|
377
|
+
runtimeCoordinator(): RuntimeCoordinator;
|
|
378
|
+
private runtimeWindowsExecutor;
|
|
379
|
+
/** Per-turn capabilities for native MCP, separate from browser and Linux-agent credentials. */
|
|
380
|
+
nativeMcpSessions(): NativeMcpSessions;
|
|
381
|
+
/** Retire only existing native capabilities; ordinary lifecycle changes do not instantiate the Windows path. */
|
|
382
|
+
invalidateNativeMcp(name: string): void;
|
|
383
|
+
/** The same instance registry and delivery entry point, with a native Windows execution adapter. */
|
|
384
|
+
nativeInstanceRuntime(): FleetWindowsRuntime;
|
|
385
|
+
private agentRuntimeChangeService?;
|
|
386
|
+
agentRuntimeChanges(): AgentRuntimeChanges;
|
|
387
|
+
/** Explicit dashboard opt-in, with the same General confirmation and ordinary topic/Daemon routing. */
|
|
388
|
+
createNativePaneInstance(profile: Record<string, unknown>, channelId: string | undefined, authorized: () => boolean, execution: SettingsExecution): Promise<{
|
|
389
|
+
name: string;
|
|
390
|
+
runtime: "windows";
|
|
391
|
+
agent: import("./windows-agents.js").WindowsAgent;
|
|
392
|
+
}>;
|
|
393
|
+
/** Admin-only settings path: validate first, then close the exact old launch before changing cold fields. */
|
|
394
|
+
updateNativePaneConfig(name: string, patch: Partial<NativeRuntimePatch>, authorized: () => boolean, transaction?: Pick<SettingsExecution, "mutate" | "complete">): Promise<ReturnType<FleetWindowsRuntime["update"]>>;
|
|
395
|
+
/** The local machine's inventory as last used to open its pane relay (status only; never a launch decision). */
|
|
396
|
+
private localPaneInventory;
|
|
397
|
+
private nativeCliStatus;
|
|
398
|
+
private localNativePaneEndpoint;
|
|
399
|
+
/** Persistent ownership is independent of the exec worker's per-turn capabilities. */
|
|
400
|
+
private nativePanes;
|
|
401
|
+
/** Prepare only bundled role files; this neither switches General nor starts a provider process. */
|
|
402
|
+
prepareWindowsGeneralWorkspace(name: string, machineId: string, cli: "codex" | "claude-code", bindingId: string, authorized: () => boolean): Promise<import("./runtime-general-protocol.js").GeneralWorkspaceReceipt>;
|
|
403
|
+
/** S3c (S-55): the member's exposure API, attached by S5's member composition (null: no Hub member here). */
|
|
404
|
+
private hubMemberExposureApi;
|
|
405
|
+
hubMemberExposures(): import("./hub/member/exposure-api.js").HubMemberExposureApi | null;
|
|
406
|
+
attachHubMemberExposures(api: import("./hub/member/exposure-api.js").HubMemberExposureApi | null): void;
|
|
407
|
+
/** M-2687: local host-session setup; controller creation stays lazy while the Hub is off. */
|
|
408
|
+
private hubSetupController;
|
|
409
|
+
private hubSetupInit;
|
|
410
|
+
private hubDirectoryControl;
|
|
411
|
+
private hubDirectoryInit;
|
|
412
|
+
private hubDirectoryCurrent;
|
|
413
|
+
/** Both private listeners share this controller and the already-created sealed writer; callers prove authority first. */
|
|
414
|
+
hubDirectorySettings(): Promise<import("./hub/settings-directory-control.js").HubDirectorySettingsControl>;
|
|
415
|
+
hubSetupSession(req: IncomingMessage): import("./hub/init/types.js").HubInitHostOwner | null;
|
|
416
|
+
hubSetup(): Promise<import("./hub/init/web.js").HubWebInitializer>;
|
|
417
|
+
/** Existing-state host notices also work while the Hub listener is held. No runtime/initializer is started here. */
|
|
418
|
+
hubDirectoryNotices(): Promise<import("./hub/settings-directory-host-notices.js").HubDirectoryHostNotices>;
|
|
419
|
+
/** The member's company sign-in controller; separate from host-owned Hub initialization. */
|
|
420
|
+
private companyJoinController;
|
|
421
|
+
private companyJoinInit;
|
|
422
|
+
private companyObservedMembership;
|
|
423
|
+
private companyMembershipWrite;
|
|
424
|
+
hubCompanySession(req: IncomingMessage): import("./hub/join/local-journal.js").JoinLocalSession | null;
|
|
425
|
+
hubCompanyJoin(): Promise<import("./hub/join/local.js").CompanyJoinController>;
|
|
426
|
+
invalidateHubCompanyJoin(): void;
|
|
427
|
+
private hubMemberPairingApi;
|
|
428
|
+
private hubPairingNotices;
|
|
429
|
+
hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
|
|
430
|
+
attachHubMemberPairing(api: ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null): void;
|
|
431
|
+
private readonly generalLocationFlights;
|
|
432
|
+
private readonly generalAttentionEpisodes;
|
|
433
|
+
private generalBindings;
|
|
434
|
+
generalLocations(): unknown;
|
|
435
|
+
/** Pure preflight for the confirmation diff and stale-tab refusal; never prepares files or starts a CLI. */
|
|
436
|
+
previewGeneralLocation(raw: unknown): {
|
|
437
|
+
input: GeneralSwitchInput;
|
|
438
|
+
summary: string[];
|
|
439
|
+
connections: string[];
|
|
440
|
+
};
|
|
441
|
+
/** All entry points, including automatic native recovery, must respect an interrupted binding switch. */
|
|
442
|
+
assertGeneralBindingStart(name: string, config: InstanceConfig): void;
|
|
443
|
+
/** Only the Settings replay's confirmed admin can enter; the whole switch owns one lifecycle transition. */
|
|
444
|
+
switchGeneralLocation(raw: unknown, authorized: () => boolean, execution: SettingsExecution): Promise<{
|
|
445
|
+
started: boolean;
|
|
446
|
+
message: string;
|
|
447
|
+
}>;
|
|
448
|
+
/** An offline PC or a confirmed binding boundary holds old waiting input; it never becomes another conversation's queue. */
|
|
449
|
+
private holdGeneralOldDeliveries;
|
|
450
|
+
generalLocationDeliveryHold(name: string): string | null;
|
|
451
|
+
private generalLocationAttention;
|
|
452
|
+
nativePaneFor(name: string, config: InstanceConfig, assertCurrent: () => void): Promise<import("./native-pane-lifecycle.js").NativePaneLifecycle>;
|
|
453
|
+
recoverNativePane(name: string, launchId: string, authorized: () => boolean): Promise<void>;
|
|
454
|
+
holdNativePaneRecovery(name: string, error: unknown): boolean;
|
|
455
|
+
startFreshNativePane(name: string, launchId: string, sessionId: string | null, authorized: () => boolean): Promise<void>;
|
|
456
|
+
nativePanePinnedSession(name: string): string | null;
|
|
457
|
+
onNativePaneRecoverySettled(name: string): void;
|
|
458
|
+
setNativePanePaused(name: string, paused: boolean): void;
|
|
459
|
+
closeRetainedNativePane(name: string): Promise<void>;
|
|
460
|
+
reconcileNativePaneBeforeStart(name: string, daemon: Daemon): Promise<boolean>;
|
|
461
|
+
/** M-2255: the Windows runtimes' switches the fleet's own state reflects (null until the start-up has applied them). */
|
|
462
|
+
private runtimeEffects;
|
|
463
|
+
private runtimeEffectsScheduled;
|
|
464
|
+
private localPaneDrain;
|
|
465
|
+
private remotePaneDrain;
|
|
466
|
+
/** Revoke admissions synchronously; keep the captured transport only long enough for exact owned closes. */
|
|
467
|
+
private drainNativeRuntime;
|
|
468
|
+
/**
|
|
469
|
+
* M-2255: Settings → Runtime's switches (fleet.yaml `runtimes`, or their environment override) in force — set each time
|
|
470
|
+
* the configuration in force changes (a load, a save, a reload's rollback), next to the web authority's. Every gate reads
|
|
471
|
+
* them at once; what the fleet itself holds (paired computers' connections, this PC's Windows process, agents' tool
|
|
472
|
+
* sessions) follows just after, outside the save that changed them (applyRuntimeSwitches): no restart is needed.
|
|
473
|
+
*/
|
|
474
|
+
/** S-51: the Hub switches follow the configuration in force (load, save, reload rollback), like the runtime ones. */
|
|
475
|
+
private observeHubSwitches;
|
|
476
|
+
/** Reads the raw configuration at run time (the newest wins); off and never started: returns before any import. */
|
|
477
|
+
private applyHubSwitches;
|
|
478
|
+
/** M-2682: the one writer for sealed Hub settings, created with the Hub runtime. */
|
|
479
|
+
private hubSettingsWriter;
|
|
480
|
+
/** Single flight: one import, one runtime, assigned once; every caller (and Stop) gets that same runtime. */
|
|
481
|
+
private hubRuntimeCreated;
|
|
482
|
+
/**
|
|
483
|
+
* S-51 PR 2b: while the member switch is on, the local owner's "Connect to a Hub" backend (S3c's pairing API) is
|
|
484
|
+
* attached, paired or not; switched off, it is detached. A binding change re-composes the member side.
|
|
485
|
+
*/
|
|
486
|
+
private observeHubMemberPairing;
|
|
487
|
+
/**
|
|
488
|
+
* Disconnect: every published exposure is withdrawn and saved before the disconnect reports success. Through the
|
|
489
|
+
* running member's API, or — held or not composed — directly in the member's own store; a failure here makes the
|
|
490
|
+
* disconnect report "unsaved" (S3c), so consent never outlives the disconnect.
|
|
491
|
+
*/
|
|
492
|
+
private hubMemberWithdrawAll;
|
|
493
|
+
/**
|
|
494
|
+
* The Hub exposure picker's agents (docs/design/hub-representative-agent.md): every configured instance normal
|
|
495
|
+
* delivery addresses, General included, shown by its display name. The dedicated Hub daemon is not a fleet instance.
|
|
496
|
+
*/
|
|
497
|
+
private hubMemberAgents;
|
|
498
|
+
/** Same cached usage source as the owner's rail, scoped to the representative's CLI and credential profile. */
|
|
499
|
+
private hubAgentQuota;
|
|
500
|
+
/**
|
|
501
|
+
* A published representative's lifecycle token (#3145, #3147 review): a DURABLE incarnation id per agent name, rotated
|
|
502
|
+
* whenever its backend, folder or runtime changes and dropped when the instance is removed. A replacement (remove and
|
|
503
|
+
* re-add, even with the same name and config, across restarts) or any retarget — including A→B→A — gets a new id, so
|
|
504
|
+
* earlier consent never matches again without an explicit republish. Stopping or pausing changes nothing.
|
|
505
|
+
*/
|
|
506
|
+
private hubAgentToken;
|
|
507
|
+
private hubIncarnationsPath;
|
|
508
|
+
/**
|
|
509
|
+
* M-2451 (#3147 residual): written beside hub-member/, in the data directory itself, when an invalidation could not be
|
|
510
|
+
* made durable in hub-member/. A later process that finds it invalidates every incarnation before handing out any
|
|
511
|
+
* token, so a restart never revives consent the earlier process had to withdraw (A→B→A, or a removal, while hub-member/
|
|
512
|
+
* was unwritable).
|
|
513
|
+
*/
|
|
514
|
+
private hubIncarnationsMarkerPath;
|
|
515
|
+
/** Whether this process has settled the incarnations on disk (the marker handled, the file proven writable). */
|
|
516
|
+
private hubIncarnationsSettled;
|
|
517
|
+
/**
|
|
518
|
+
* Once per process, before the first token: an invalidation an earlier process could not persist (the marker) clears
|
|
519
|
+
* every incarnation; and an existing file must be rewritable here, else this process is broken (no token at all) —
|
|
520
|
+
* an incarnation this process could not rotate must never be handed out. Fails closed: any doubt marks it broken.
|
|
521
|
+
*/
|
|
522
|
+
private settleHubIncarnations; /**
|
|
523
|
+
* #3147 r2: set when an invalidation could not be made durable in any way (neither the atomic write nor removing the
|
|
524
|
+
* file worked). From then on this process hands out no representative token at all, and the transitions the fleet
|
|
525
|
+
* controls (a config save, a removal) are refused instead of applied.
|
|
526
|
+
*/
|
|
527
|
+
private hubIncarnationsBroken;
|
|
528
|
+
private readHubIncarnations;
|
|
529
|
+
/**
|
|
530
|
+
* Persist the incarnation map: "written", or — when the atomic write fails — "cleared": the whole file is removed, which
|
|
531
|
+
* durably invalidates EVERY earlier incarnation (all consent then needs a republish; never a revival). Throws (and
|
|
532
|
+
* marks the process broken) only when neither is possible.
|
|
533
|
+
*/
|
|
534
|
+
private writeHubIncarnations;
|
|
535
|
+
/** The agent's durable incarnation id (create: make one if none; else null). A changed fingerprint rotates it. */
|
|
536
|
+
private hubAgentIncarnation;
|
|
537
|
+
/**
|
|
538
|
+
* Every configuration in force: rotate a recorded agent's incarnation when its backend/folder/runtime changed; drop
|
|
539
|
+
* removed ones. strict (a config save the fleet is about to write): a failure to make that durable throws, so the save
|
|
540
|
+
* is refused instead of applied. Otherwise (a load or reload of a hand-edited file) a failure is logged — the
|
|
541
|
+
* invalidation then is the cleared file, or, if nothing could be written, this process hands out no token at all.
|
|
542
|
+
*/
|
|
543
|
+
private observeHubAgentIncarnations;
|
|
544
|
+
/** A removed instance's incarnation goes with it (a later instance of the same name is a new one). strict: throw if not durable. */
|
|
545
|
+
private forgetHubAgentIncarnation;
|
|
546
|
+
/**
|
|
547
|
+
* A Hub question to its representative agent: ordinary cross-instance delivery (idle gate, wake, retries), from the
|
|
548
|
+
* reserved Hub sender with the Hub-issued correlation id. beforeInput runs immediately before the IPC hand-off.
|
|
549
|
+
*/
|
|
550
|
+
private deliverHubQuestion;
|
|
551
|
+
/** S-51: why the Hub (or this fleet's Hub membership) is not running, if it is held. Empty while off or running. */
|
|
552
|
+
getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
|
|
553
|
+
hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
|
|
554
|
+
hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
|
|
555
|
+
/** M-2682: an unfinished sealed-settings commit; Hub setting saves wait until recover() has run. */
|
|
556
|
+
hubSettingsBusy(): boolean;
|
|
557
|
+
/** #3298 S-89: this fleet's own Hub offers group permissions (the page mark that shows Settings → Hub's Group permissions row). */
|
|
558
|
+
hubGroupPermissions(): boolean;
|
|
559
|
+
private observeRuntimeSwitches;
|
|
560
|
+
/**
|
|
561
|
+
* Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
|
|
562
|
+
* Windows process (a turn in progress is cancelled, as when the fleet stops), and those agents' tool sessions.
|
|
563
|
+
* Turned on: the Windows agents are registered and their chat history read, as at start-up.
|
|
564
|
+
*/
|
|
565
|
+
private applyRuntimeSwitches;
|
|
566
|
+
/** An unavailable opt-in runtime must not prevent the Linux fleet from starting or restoring its own history. */
|
|
567
|
+
private initializeNativeInstances;
|
|
568
|
+
/** Native CLIs are headless: the manager owns the durable delivery generation instead of a tmux daemon. */
|
|
569
|
+
private deliveryBootId;
|
|
327
570
|
private rawFleetConfig;
|
|
571
|
+
/**
|
|
572
|
+
* S-51 (#3095, experimental, off by default): the Hub runtime. src/hub/runtime.js is imported only once a Hub switch
|
|
573
|
+
* (hub.enabled / hub_member.enabled) is on; while both are off nothing Hub-related loads, opens or listens.
|
|
574
|
+
*/
|
|
575
|
+
private hubRuntime;
|
|
576
|
+
/** S3c's currentBinding reader, loaded with the pairing API (only while the member switch is on). */
|
|
577
|
+
private hubMemberBinding;
|
|
578
|
+
/** The member link as the "Connect to a Hub" view shows it (S5's client lifecycle). */
|
|
579
|
+
private hubMemberLink;
|
|
580
|
+
/** OutboundContext: the Hub representative's answer hook (null: no member service running, or not a Hub answer). */
|
|
581
|
+
hubReport(input: {
|
|
582
|
+
correlationId: string;
|
|
583
|
+
caller: string;
|
|
584
|
+
text: string;
|
|
585
|
+
callerCurrent(): boolean;
|
|
586
|
+
extras?: import("./hub-report-target.js").HubReportExtras;
|
|
587
|
+
}): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
|
|
588
|
+
/** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
|
|
589
|
+
private hubDeliveryFailed;
|
|
590
|
+
/** The member side's report_result hook for HUB_REPORT_TARGET while a representative service runs (else null). */
|
|
591
|
+
private hubReports;
|
|
592
|
+
/** The one in-flight creation (single flight): overlapping first observations share it, Stop waits for it. */
|
|
593
|
+
private hubRuntimeInit;
|
|
594
|
+
private hubEffectsReady;
|
|
595
|
+
private hubEffectsScheduled;
|
|
596
|
+
private hubHolds;
|
|
597
|
+
/** M-2457 §6 rule 2: the fleet is held — an old tmux server is still on the socket and AgEnD can't prove it its own. */
|
|
598
|
+
private tmuxHold;
|
|
599
|
+
/** M-2457 §6 rule 3: instances held by an old 2.3 window AgEnD could not prove its own. */
|
|
600
|
+
private readonly legacyWindowHolds;
|
|
328
601
|
private rawFleetDocument;
|
|
329
602
|
/** #2208: the paths a saveFleetConfig() wrote, for its check that nothing else changed. */
|
|
330
603
|
private fleetDocumentWrites;
|
|
@@ -340,7 +613,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
340
613
|
get primaryWorld(): AdapterWorld | undefined;
|
|
341
614
|
readonly routing: RoutingEngine;
|
|
342
615
|
get routingTable(): Map<string, RouteTarget>;
|
|
343
|
-
instanceIpcClients: Map<string,
|
|
616
|
+
instanceIpcClients: Map<string, InstanceClient>;
|
|
344
617
|
scheduler: Scheduler | null;
|
|
345
618
|
private configPath;
|
|
346
619
|
/** SIGHUPs received before startAll finishes are replayed once startup is safe. */
|
|
@@ -478,6 +751,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
478
751
|
private kiroMigrationRuns;
|
|
479
752
|
/** #1386 "Needs you": the list, its live chat messages and Acknowledge. Started with the fleet (finishStartup). */
|
|
480
753
|
private needsYou;
|
|
754
|
+
/** #3292: "Keep sign-in alive" (signin-keepalive.ts); built at startup, stopped at shutdown. */
|
|
755
|
+
private signInKeepAlive;
|
|
756
|
+
private hubExecutionAttention;
|
|
757
|
+
private missedOfflineStore;
|
|
481
758
|
private configHistory;
|
|
482
759
|
private configHistoryTimer;
|
|
483
760
|
private loadedFleetSource;
|
|
@@ -516,6 +793,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
516
793
|
private startupDashboard;
|
|
517
794
|
private adapterState;
|
|
518
795
|
private adapterRetryInFlight;
|
|
796
|
+
/** #3365 review P2: connections whose adapter could not be confirmed stopped — none is admitted for them until a restart. */
|
|
797
|
+
private adapterTeardownUnknown;
|
|
519
798
|
/** Web Settings secret rotation is deliberately separate from reconnect
|
|
520
799
|
* recovery: a rotation must build a fresh provider client with the new token,
|
|
521
800
|
* and stale callbacks from the old client must not win. */
|
|
@@ -563,6 +842,18 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
563
842
|
private previewInputs;
|
|
564
843
|
private healthPortRetried;
|
|
565
844
|
private updateCheckTimer;
|
|
845
|
+
/** M-2738: the last update check's answer, for the web (null until the first check settles). */
|
|
846
|
+
private updateCheckState;
|
|
847
|
+
/** M-2738: a web "check now" in flight, and when the last one ran (one a minute at most). */
|
|
848
|
+
private updateCheckNow;
|
|
849
|
+
/** M-2738: a web start's Idempotency-Key → its answer (a retried request never starts a second update). */
|
|
850
|
+
private webUpdateStarts;
|
|
851
|
+
/**
|
|
852
|
+
* M-2738 (Prism #3505 P2-2): this fleet's own claim on a web-started update, from admission until its updater exits
|
|
853
|
+
* (or was never launched). The progress marker expires after 15 minutes so a crashed update cannot silence incident
|
|
854
|
+
* reports; that expiry never proves the update ended, so it never admits a second one while this is held.
|
|
855
|
+
*/
|
|
856
|
+
private webUpdateOwned;
|
|
566
857
|
private updateProgressTimer;
|
|
567
858
|
private updateProgressEditRunning;
|
|
568
859
|
private lastUpdateProgressText;
|
|
@@ -705,6 +996,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
705
996
|
/** #2855: a trusted guest's searches, per account. */
|
|
706
997
|
readonly guestSearches: OfficeWriteLimiter;
|
|
707
998
|
private officeSharesInstance?;
|
|
999
|
+
/** #2861: when each instance was last talked to and answered (no words), for share links' dialogue box. */
|
|
1000
|
+
readonly officeTalk: OfficeTalk;
|
|
708
1001
|
/**
|
|
709
1002
|
* #2636: Office share links — the live Office view for people outside the fleet, read-only, on a quick tunnel of
|
|
710
1003
|
* their own (a manager and lease of its own: never the fleet's one tunnel lane nor the public link's preview tunnel).
|
|
@@ -783,6 +1076,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
783
1076
|
* authorizing revoked links and cookies until the fleet restarted.
|
|
784
1077
|
*/
|
|
785
1078
|
private settingsGeneration;
|
|
1079
|
+
/** #2942: the settings baseline the agent-requested Windows changes are checked against (set with the gate). */
|
|
1080
|
+
private settingsBaselineReader;
|
|
786
1081
|
private settingsRuntimeRevision;
|
|
787
1082
|
private settingsConfirmation;
|
|
788
1083
|
private settingsControl;
|
|
@@ -807,7 +1102,127 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
807
1102
|
* still hears it: a notice, not a step.
|
|
808
1103
|
*/
|
|
809
1104
|
private settingsSelfConfirmation;
|
|
810
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* alpha.6 feedback #2c — the user's decision hmsg-468cc290 (option A; decisions 28c2d3a3/0471da59 keep the second factor): on a
|
|
1107
|
+
* web-only fleet, a pending change can be confirmed on THIS computer's own page with the owner's authenticator code, by a
|
|
1108
|
+
* local admin session that is not the host operator (who already has "Apply now"), on this computer or the LAN. Never over
|
|
1109
|
+
* a link (named or quick), never a guest; only a change that can be self-confirmed at all (a named-link opener cannot); the code is checked by
|
|
1110
|
+
* the same store as signing in from outside (#3008): each time step once, the fleet-wide wrong-code limit. Asked again at
|
|
1111
|
+
* execution (`current`): the same session, still an admin here (this computer or the LAN), the fleet still web-only, the
|
|
1112
|
+
* same app still set up (not replaced, nor removed and set up again). Audited by the store under its own label; a correct and a refused use are logged.
|
|
1113
|
+
*/
|
|
1114
|
+
private settingsTotpSession;
|
|
1115
|
+
settingsTotpState(store: SettingsConfirmationStore, req: IncomingMessage, id: string): "ready" | "not_set_up" | "on_host" | "host_browser" | null;
|
|
1116
|
+
settingsTotpConfirm(store: SettingsConfirmationStore, req: IncomingMessage, id: string, code: string, digest: string): {
|
|
1117
|
+
label: string;
|
|
1118
|
+
current(): boolean;
|
|
1119
|
+
audit?: Record<string, unknown>;
|
|
1120
|
+
done?(view: SettingsPendingView): void;
|
|
1121
|
+
} | {
|
|
1122
|
+
error: "wrong" | "paused" | "unavailable" | "not_here" | "changed";
|
|
1123
|
+
retryAfterMs?: number;
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* alpha.2 (M-2300; #2973's agent requests, junsion's §6): on a fleet with no chat connection there is no General to
|
|
1127
|
+
* post an agent's Windows request in — it waited for `agend settings confirm` on the host. Its owner (decision
|
|
1128
|
+
* 28c2d3a3: the `agend web --code` session on this computer, web-verified) now sees and decides it from the web's
|
|
1129
|
+
* Needs you. The authority is asked from the request each time, and again at execution by the store (`current`):
|
|
1130
|
+
* still that owner now (this computer, not revoked, signed out or run out), still a fleet with no chat connection,
|
|
1131
|
+
* never over the public link. Anyone else — a guest, a LAN or public-link session, a chat-connected fleet's admin —
|
|
1132
|
+
* gets nothing (a chat fleet keeps General's card as its way).
|
|
1133
|
+
*/
|
|
1134
|
+
/**
|
|
1135
|
+
* #2997 review (Prism P2): how many times an agent's request came or was decided — in a web-only fleet's status frame,
|
|
1136
|
+
* so a page that never hears the stream's ping (one polling /ui/poll, one reconnecting, a tab from before the upgrade)
|
|
1137
|
+
* reads the list again when it moves. A count, nothing more.
|
|
1138
|
+
*/
|
|
1139
|
+
private agentProposalsRev;
|
|
1140
|
+
private agentProposalOwner;
|
|
1141
|
+
/**
|
|
1142
|
+
* Refs #3061 (P2a): the new-device approval's one authority — the same one that decides an agent's request: this web-only
|
|
1143
|
+
* fleet's owner, asked of the LIVE session each time (a sign-out, an expiry, a revocation, the authority switch or
|
|
1144
|
+
* "Only this computer can authorize" turning a session into a non-owner is seen at once). A LAN session that signed in
|
|
1145
|
+
* 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
|
|
1146
|
+
* none of them this: they are told so, and learn nothing about any request.
|
|
1147
|
+
*/
|
|
1148
|
+
private deviceApprovalOwner;
|
|
1149
|
+
/**
|
|
1150
|
+
* Refs #3061 (auth-api): device-code sign-in is offered — a web-only fleet with web authorization on. With
|
|
1151
|
+
* `web.verified_authority.enabled: false` no one is an owner (liveOwner → null), so no one could approve: the three
|
|
1152
|
+
* `/auth/device-login*` routes answer 404 and the sign-in page shows no button. "Only this computer can authorize"
|
|
1153
|
+
* does not close it: this computer's own session can still approve.
|
|
1154
|
+
*/
|
|
1155
|
+
deviceLoginAvailable(): boolean;
|
|
1156
|
+
/** Refs #3061 (P2b): `web.login_qr` (default off), read per page served — the sign-in page then draws the approve link's QR code. */
|
|
1157
|
+
loginQrEnabled(): boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* GET /ui/devices: is this a web-only fleet, may THIS session approve a new device and end another (is it the verified
|
|
1160
|
+
* owner), and — to an admin session, never to a guest or the CLI's header token — the signed-in devices (Refs #3061, P2b).
|
|
1161
|
+
* `authority`: web authorization is on. With it off nobody is an owner (liveOwner → null), so nobody may add a device or
|
|
1162
|
+
* sign another out; the page says why and points to `agend web-token rotate` on this computer instead of "use the AgEnD
|
|
1163
|
+
* computer", which would not help.
|
|
1164
|
+
*/
|
|
1165
|
+
webDevicesStatus(req: IncomingMessage): {
|
|
1166
|
+
webOnly: boolean;
|
|
1167
|
+
owner: boolean;
|
|
1168
|
+
authority: boolean;
|
|
1169
|
+
devices: WebDeviceRow[];
|
|
1170
|
+
};
|
|
1171
|
+
/**
|
|
1172
|
+
* Refs #3061 (P2b): the device list — this fleet's admin sessions, newest activity first (a guest's sessions are the
|
|
1173
|
+
* Guests page's, and a read-only tier has none): how each was approved, whether it carries owner authority, and which
|
|
1174
|
+
* one is the reader's own. The same people may read this as may read `GET /auth/sessions` (any admin session).
|
|
1175
|
+
*
|
|
1176
|
+
* `ownerVerified` is the §3 verdict for the session as it would be used from where it signs in (a host session from
|
|
1177
|
+
* this computer, a session from outside over the link): one that signed in with a one-time code or a device approval is
|
|
1178
|
+
* not an owner until the authenticator vouches for it. Display only — the checks that act on it run again at each use.
|
|
1179
|
+
*/
|
|
1180
|
+
private webDeviceRows;
|
|
1181
|
+
/**
|
|
1182
|
+
* Refs #3061 (P2b): may this request's session end ANOTHER session — one signed in elsewhere, or all of them (auth-api
|
|
1183
|
+
* `DELETE /auth/sessions…`, which an admin session could always do). On a web-only fleet that is the verified owner's:
|
|
1184
|
+
* a session a code or a device approval made is signed in but not an owner, and could otherwise sign out the owner's
|
|
1185
|
+
* 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.
|
|
1186
|
+
*/
|
|
1187
|
+
mayEndOtherSessions(req: IncomingMessage): boolean;
|
|
1188
|
+
/**
|
|
1189
|
+
* Refs #3061 (P2b): POST /ui/devices/signout {handle} — the owner ends another signed-in device (the settings list's
|
|
1190
|
+
* button). Only the verified owner, asked of the LIVE session each time (a non-owner learns nothing about any handle:
|
|
1191
|
+
* 403 before anything is looked up); only an admin session of this fleet (a guest's is the Guests page's; an unknown
|
|
1192
|
+
* handle and a guest's are the same 404); never the owner's own session here (Sign out is /auth/logout). The device's
|
|
1193
|
+
* authorization goes with it, so a copy of its cookie is nobody's.
|
|
1194
|
+
*/
|
|
1195
|
+
webDeviceSignOut(req: IncomingMessage, handle: string): {
|
|
1196
|
+
status: number;
|
|
1197
|
+
body: Record<string, unknown>;
|
|
1198
|
+
};
|
|
1199
|
+
/**
|
|
1200
|
+
* Refs #3061 (P2a): look a new device's code up (for the confirm screen), approve it, or deny it — the verified owner's,
|
|
1201
|
+
* on a web-only fleet. The answer is the request as it now stands. Approving only marks the request approved: the new
|
|
1202
|
+
* browser makes its own session when it next asks (auth-api POST /auth/device-login/poll), so no credential passes from
|
|
1203
|
+
* here to there — not in the answer, not through the fleet. A wrong code counts against one fleet-wide breaker; while
|
|
1204
|
+
* it is open every code (a right one too) waits.
|
|
1205
|
+
*/
|
|
1206
|
+
webDeviceLoginAct(req: IncomingMessage, op: "lookup" | "approve" | "deny", code: string): {
|
|
1207
|
+
status: number;
|
|
1208
|
+
body: Record<string, unknown>;
|
|
1209
|
+
};
|
|
1210
|
+
/** alpha.2: the agents' requests waiting for this web-only fleet's owner, or null when the reader is not that owner. */
|
|
1211
|
+
webAgentProposals(req: IncomingMessage): SettingsPendingView[] | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* alpha.2: the owner's Approve or Reject of an agent's request. The store claims it before its first await (a second
|
|
1214
|
+
* click, from here or the host, finds it no longer pending) and asks the owner, the request (its fleet generation and
|
|
1215
|
+
* Windows switch) and the target machine again before and while it runs the same creation code the web uses. The
|
|
1216
|
+
* answer is always the request as it now stands: applied (with the new agent's name), rejected, expired, stale or
|
|
1217
|
+
* failed (with its reason), or already decided.
|
|
1218
|
+
*/
|
|
1219
|
+
webDecideAgentProposal(req: IncomingMessage, id: string, decision: "confirm" | "reject"): Promise<{
|
|
1220
|
+
status: number;
|
|
1221
|
+
body: Record<string, unknown>;
|
|
1222
|
+
}>;
|
|
1223
|
+
/** A confirmation belongs to the server route/lifetime, not the availability of General's model. */
|
|
1224
|
+
private settingsGeneralRoute;
|
|
1225
|
+
/** Connected, same-platform, unaffected server routes can post cards even while the model is offline. */
|
|
811
1226
|
private settingsNoticeGenerals;
|
|
812
1227
|
/**
|
|
813
1228
|
* #2170: General's notice of a change confirmed from the web — the first General a chat card could have been posted
|
|
@@ -816,7 +1231,29 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
816
1231
|
private settingsWebConfirmedNotice;
|
|
817
1232
|
/** Exact configured effect owners; this does not depend on prompt location. */
|
|
818
1233
|
private settingsChatAuthority;
|
|
1234
|
+
/**
|
|
1235
|
+
* #2942: a Windows create or settings change an AGENT asked for. Nothing is created or written here: it becomes a
|
|
1236
|
+
* pending settings change whose General card a fleet admin must confirm (promptSettingsChange — the same admin rule
|
|
1237
|
+
* as every card). Its apply runs the same creation/patch code the web uses, inside the store's SettingsExecution, with
|
|
1238
|
+
* the confirming admin, the Windows switch and the target machine asked again at that moment.
|
|
1239
|
+
*/
|
|
1240
|
+
private proposeAgentWindowsChange;
|
|
1241
|
+
/** #2942: create_instance with runtime "windows" from an agent: validated like the web, then held for General. */
|
|
1242
|
+
requestWindowsCreate(requester: string, rawArgs: Record<string, unknown>): Promise<SettingsPendingView>;
|
|
1243
|
+
/** #2942: update_instance_config on a Windows agent: only the fields the web editor allows, held for General. */
|
|
1244
|
+
requestWindowsConfig(requester: string, name: string, patch: Record<string, unknown>): Promise<SettingsPendingView>;
|
|
1245
|
+
/**
|
|
1246
|
+
* D3: whether a General could take this change's confirmation card now — the same authority and routes
|
|
1247
|
+
* promptSettingsChange posts by. False: it would wait for the host's command (confirmation kind host_cli).
|
|
1248
|
+
*/
|
|
1249
|
+
private settingsCardPossible;
|
|
819
1250
|
private promptSettingsChange;
|
|
1251
|
+
/**
|
|
1252
|
+
* alpha.6 feedback #2c: why no General could take a change's confirm card, so the page says what is missing in plain words
|
|
1253
|
+
* (the user's decision hmsg-77256f66: never "type a host command"). `platform` null: the authority is unknown or spans
|
|
1254
|
+
* platforms. `attempted`: a General route existed and posting to it failed.
|
|
1255
|
+
*/
|
|
1256
|
+
private settingsNoCardReason;
|
|
820
1257
|
private kiroMigrateDeps;
|
|
821
1258
|
/**
|
|
822
1259
|
* #2598 B2, migrate_kiro_instance: judge the move, then ask in General for a fleet admin's Confirm. Nothing changes
|
|
@@ -851,6 +1288,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
851
1288
|
sseHeartbeatMs: number;
|
|
852
1289
|
/** The dashboard's login codes. Memory only: a code that outlives the process is a code nobody can prove was not copied. */
|
|
853
1290
|
private webLoginCodes;
|
|
1291
|
+
/** Refs #3061 (P2a): device-code sign-in requests (in memory; web-device-login.ts). Read by auth-api as `webDeviceLogins`. */
|
|
1292
|
+
private webDeviceLogins;
|
|
854
1293
|
/**
|
|
855
1294
|
* #1920 step 4: guests' codes, apart from the admins' — one per account, so no guest's `/web` withdraws another's or
|
|
856
1295
|
* an admin's code (#2093 review), at most 32 at once. Local sign-in only for now (audience "local").
|
|
@@ -990,6 +1429,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
990
1429
|
private reconcileQueueWorkers;
|
|
991
1430
|
private createQueueWorker;
|
|
992
1431
|
private dispatchDurableDelivery;
|
|
1432
|
+
/** The ordinary durable lane, with provider completion proof instead of terminal/IPC submission proof. */
|
|
1433
|
+
private dispatchNativeDurableDelivery;
|
|
1434
|
+
/** A runtime's persisted completion can outlive this manager. Resolve its original delivery fence, never send
|
|
1435
|
+
* the prompt again, and reconstruct a missing peer report using the same durable operation ID. */
|
|
1436
|
+
private reconcileRemoteDelivery;
|
|
993
1437
|
private waitForDurableLaneRelease;
|
|
994
1438
|
private spawnConcurrency;
|
|
995
1439
|
/** #1685: "elevated" or "critical" while host memory pressure slows or holds new agents; otherwise null (an
|
|
@@ -1110,6 +1554,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1110
1554
|
private tightenInstanceDirectories;
|
|
1111
1555
|
/** AgEnD package version (for the Settings "current version" / What's New). */
|
|
1112
1556
|
get currentVersion(): string;
|
|
1557
|
+
get currentBuild(): import("./build-provenance.js").InstalledBuild;
|
|
1113
1558
|
/**
|
|
1114
1559
|
* Resolve a slash-command target in a channel. Classic channels are looked up
|
|
1115
1560
|
* per-bot (same-channel multi-bot); a fleet-topic instance is found via the
|
|
@@ -1129,6 +1574,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1129
1574
|
/** SIGUSR1: full process reload. Names who asked (#1120). */
|
|
1130
1575
|
private onFullRestartSignal;
|
|
1131
1576
|
private handleUpdateSlash;
|
|
1577
|
+
/**
|
|
1578
|
+
* The update itself, for slash `/update` and the web's Update (M-2738): the installed `agend`, verified, launched
|
|
1579
|
+
* independently with its log — or a failure in the progress marker. `stillAllowed` is asked again once the awaits
|
|
1580
|
+
* are done (the asker may have lost the right, or the fleet begun stopping, meanwhile).
|
|
1581
|
+
*/
|
|
1582
|
+
private launchInstalledUpdate;
|
|
1132
1583
|
private handleProfileSlash;
|
|
1133
1584
|
/** Typed /profile belongs only to Telegram's General dispatcher. */
|
|
1134
1585
|
runProfileCommand(msg: InboundMessage, seconds?: string): Promise<void>;
|
|
@@ -1221,6 +1672,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1221
1672
|
/** Board 003648ac: a web /compact followed to its end, from the transcript the Log reads (none: nothing to follow). */
|
|
1222
1673
|
private compactWatchService;
|
|
1223
1674
|
private get compactWatch();
|
|
1675
|
+
/**
|
|
1676
|
+
* Claude history in the View: an instance's earlier conversation for its View, from the transcript the Log reads —
|
|
1677
|
+
* the View's route applied its own access rules first (view-api.ts); the Log's switch plays no part.
|
|
1678
|
+
*/
|
|
1679
|
+
viewHistory(name: string, q: ViewHistoryQuery): Promise<ViewHistoryAnswer | null>;
|
|
1224
1680
|
/** #1218: GET /ui/steps — an instance's steps, read on demand (null: no such instance). */
|
|
1225
1681
|
logSteps(name: string, q: LogQuery): Promise<LogAnswer | null>;
|
|
1226
1682
|
/**
|
|
@@ -1282,6 +1738,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1282
1738
|
* retry brings it up, however long the backoff, and fails only once the retries give up.
|
|
1283
1739
|
*/
|
|
1284
1740
|
private sendWhenConnected;
|
|
1741
|
+
/**
|
|
1742
|
+
* The Hub representative's hand-off (#3145): only once a connected client exists, after every reconnect/order wait,
|
|
1743
|
+
* the begin lease + input intent (beforeInput), then the fence and the LIVE client are checked again and the payload
|
|
1744
|
+
* goes in one attempt. After the intent is spent nothing here retries: false is the caller's uncertain outcome.
|
|
1745
|
+
*/
|
|
1746
|
+
private handOffAfterBeforeInput;
|
|
1285
1747
|
/** Poll for the instance's IPC to come back, then send. Throws if it does not. */
|
|
1286
1748
|
private sendAfterIpcReturns;
|
|
1287
1749
|
/**
|
|
@@ -1571,6 +2033,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1571
2033
|
* Stopped/paused ClassicBot entries count too; their workspace is exactly
|
|
1572
2034
|
* the one startClassicInstance builds, not this FleetManager's dataDir.
|
|
1573
2035
|
*/
|
|
2036
|
+
/** Take the startup snapshot of every active decision (text cut to 200 characters); see activeDecisions. */
|
|
2037
|
+
snapshotActiveDecisions(): void;
|
|
2038
|
+
/** The startup snapshot of active decisions, for a daemon's Active Decisions (it selects and caps its own). */
|
|
2039
|
+
activeDecisions(): readonly ActiveDecisionRow[];
|
|
1574
2040
|
kiroPeerWorkingDirectories(name: string): string[];
|
|
1575
2041
|
/**
|
|
1576
2042
|
* Probe the same executable set exposed by the web backend catalog.
|
|
@@ -1716,6 +2182,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1716
2182
|
/** #1742: `/start web` from a fleet admin: the /web menu right here in the DM, for the General this bot serves. */
|
|
1717
2183
|
private startWebInDm;
|
|
1718
2184
|
private getPublicWebLink;
|
|
2185
|
+
/** The public link's wiring to this fleet (a test builds one with the tunnel itself stubbed: `ensure`, `provider`). */
|
|
2186
|
+
private publicWebLinkDeps;
|
|
1719
2187
|
private publicLinkAutoOpen;
|
|
1720
2188
|
/**
|
|
1721
2189
|
* #named-link-ttl: the admin who last opened a named-tunnel link from /web, with the live binding — only while they
|
|
@@ -2013,6 +2481,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2013
2481
|
beginUpdateProgress(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): void;
|
|
2014
2482
|
/** Persist the public response, wait for idle, then start the canonical service restart. */
|
|
2015
2483
|
requestFullRestart(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): Promise<boolean>;
|
|
2484
|
+
/**
|
|
2485
|
+
* S-92: the same tracked reload for a web-only fleet's Settings restart — no chat message to carry its progress: the
|
|
2486
|
+
* marker names the web (WEB_RESTART_TARGET), a refusal is a fleet Notice, and the next fleet says it is back as one.
|
|
2487
|
+
*/
|
|
2488
|
+
private requestWebFullRestart;
|
|
2489
|
+
/**
|
|
2490
|
+
* S-92: a fleet (with no chat connection) that comes up from a web-only Settings restart says it is back as a fleet
|
|
2491
|
+
* Notice — the restart was announced as one. Anything else (a chat restart, an update, a plain boot): nothing here.
|
|
2492
|
+
*/
|
|
2493
|
+
private announceWebRestartDone;
|
|
2494
|
+
private launchTrackedFullRestart;
|
|
2016
2495
|
private isOwnedFullRestartMarker;
|
|
2017
2496
|
/** Give current work the same bounded idle grace used by graceful reload. */
|
|
2018
2497
|
private waitForFullRestartIdleGrace;
|
|
@@ -2059,6 +2538,9 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2059
2538
|
* Discord bot and while some account has a running agent, read every 30 min — the same cached read (its 5-minute TTL
|
|
2060
2539
|
* still bounds the vendor calls), recorded like any other.
|
|
2061
2540
|
*/
|
|
2541
|
+
private quotaNotices;
|
|
2542
|
+
private stopQuotaObserver;
|
|
2543
|
+
private quotaNoticePolicy;
|
|
2062
2544
|
private startQuotaBackgroundReads;
|
|
2063
2545
|
/** #3066 §1: the latest estimates, by `provider\0metric` (what usage-api's lookup reads, synchronously). */
|
|
2064
2546
|
private capacityEstimates;
|
|
@@ -2136,8 +2618,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2136
2618
|
* that should be running is running
|
|
2137
2619
|
* - `degraded` — reachable, but something the operator should look at (an
|
|
2138
2620
|
* adapter retrying, an instance crashed or stopped)
|
|
2139
|
-
* - `down` —
|
|
2140
|
-
*
|
|
2621
|
+
* - `down` — no configured adapter is connected, or a dedicated Hub's
|
|
2622
|
+
* server mount is unavailable
|
|
2141
2623
|
*
|
|
2142
2624
|
* Deliberately does NOT gate the systemd watchdog — see the comment at the
|
|
2143
2625
|
* WATCHDOG timer for why.
|
|
@@ -2168,6 +2650,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2168
2650
|
topProcessesAt?: string;
|
|
2169
2651
|
};
|
|
2170
2652
|
problems: string[];
|
|
2653
|
+
warnings: string[];
|
|
2654
|
+
/** Local server mount availability; absent when the Hub server switch is off. */
|
|
2655
|
+
hub?: {
|
|
2656
|
+
server: import("./hub/runtime.js").HubServerHealth;
|
|
2657
|
+
};
|
|
2171
2658
|
};
|
|
2172
2659
|
/** Start the primary adapter (backward-compatible, sets this.adapter) */
|
|
2173
2660
|
private startSingleAdapter;
|
|
@@ -2307,6 +2794,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2307
2794
|
* copies retain their permissive handling when that identity is unknown.
|
|
2308
2795
|
*/
|
|
2309
2796
|
private isOwnerCommandCopy;
|
|
2797
|
+
/** File a Telegram update that was too old to inject; Needs you lists it until Acknowledge. */
|
|
2798
|
+
private recordMissedOffline;
|
|
2310
2799
|
/**
|
|
2311
2800
|
* #1085: coincident topic numbers must not route across Telegram groups.
|
|
2312
2801
|
*/
|
|
@@ -2470,6 +2959,33 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2470
2959
|
* create paths. An empty or absent value supersedes nothing and needs nothing; anything else must be an id.
|
|
2471
2960
|
*/
|
|
2472
2961
|
private decisionSupersedes;
|
|
2962
|
+
/**
|
|
2963
|
+
* The scope (and team) a new decision gets. Team membership is read from fleet.yaml now. Omitted scope: the poster's
|
|
2964
|
+
* team when they are in exactly one, project (this exact directory) when they are in none; in several, they choose.
|
|
2965
|
+
* A team decision goes only to a team the poster is in.
|
|
2966
|
+
*/
|
|
2967
|
+
decisionScopeFor(instance: string, scope: unknown, team: unknown): {
|
|
2968
|
+
scope: "project" | "team" | "fleet";
|
|
2969
|
+
team?: string;
|
|
2970
|
+
teams: string[];
|
|
2971
|
+
} | {
|
|
2972
|
+
error: string;
|
|
2973
|
+
};
|
|
2974
|
+
/**
|
|
2975
|
+
* #3421 review: a team decision is only for its team's current members — reading it back through an update (even an
|
|
2976
|
+
* empty one) or archiving it is refused to anyone else, exactly as list/get and supersede are. The refusal names it
|
|
2977
|
+
* "not found", as for an id that does not exist, and changes nothing. Project and fleet decisions: as before.
|
|
2978
|
+
*/
|
|
2979
|
+
decisionHiddenFrom(instance: string, id: unknown): string | null;
|
|
2980
|
+
/** A ClassicBot agent's own folder — where startClassicInstance launches it, and its project for decisions (#3454). */
|
|
2981
|
+
classicWorkspaceDir(instanceName: string): string;
|
|
2982
|
+
/**
|
|
2983
|
+
* #3454: the project root of an agent calling the agent endpoint (CLI mode), as the MCP path has it from the daemon's
|
|
2984
|
+
* own working directory. A fleet instance: its fleet.yaml working_directory, as before. A ClassicBot agent (not in
|
|
2985
|
+
* fleet.yaml): its own workspace — it used to fall back to "", one project shared by every CLI-mode ClassicBot room.
|
|
2986
|
+
* Anything else: null, and the caller refuses rather than guess.
|
|
2987
|
+
*/
|
|
2988
|
+
decisionProjectRootFor(instance: string): string | null;
|
|
2473
2989
|
handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
|
|
2474
2990
|
handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
2475
2991
|
handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
|
|
@@ -2518,6 +3034,13 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2518
3034
|
* channel, are seen to share it; and every connection's own General is protected, with or without a General agent.
|
|
2519
3035
|
*/
|
|
2520
3036
|
private topicOwnership;
|
|
3037
|
+
/**
|
|
3038
|
+
* The bot an agent's configured topic is on (#3105 review, Prism P1): a fleet.yaml agent's `channel_id` (else the
|
|
3039
|
+
* primary connection) whatever its runtime — a per-turn Windows agent has no execution adapter
|
|
3040
|
+
* (getInstanceAdapterId), yet its topic is still on that bot, and must be counted as an owner and deleted through it.
|
|
3041
|
+
* Topic planning and ownership only; execution routing is getInstanceAdapterId's and unchanged.
|
|
3042
|
+
*/
|
|
3043
|
+
private topicAdapterIdOf;
|
|
2521
3044
|
/** What deleting `name`'s topic would act on: its own bot only — a bot that is not there is never substituted. */
|
|
2522
3045
|
private planInstanceTopicDelete;
|
|
2523
3046
|
getForumTopicDeleter(adapterId?: string): ((topicId: number | string) => Promise<void>) | null;
|
|
@@ -2604,6 +3127,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2604
3127
|
private writingFleetDocument;
|
|
2605
3128
|
getSettingsConfigPath(): string;
|
|
2606
3129
|
removeInstance(name: string, authorization: ExplicitInstanceRemoval, execution?: SettingsExecution): Promise<void>;
|
|
3130
|
+
/** Shared instance metadata goes with a native identity; its Windows workspace and provider sessions stay intact. */
|
|
3131
|
+
private nativeInstanceRemoved;
|
|
2607
3132
|
private removeInstanceOwned;
|
|
2608
3133
|
startStatuslineWatcher(name: string): void;
|
|
2609
3134
|
stopStatuslineWatcher(name: string): void;
|
|
@@ -2941,6 +3466,32 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2941
3466
|
* should say so rather than send into a guaranteed failure.
|
|
2942
3467
|
*/
|
|
2943
3468
|
private fleetNoticeTarget;
|
|
3469
|
+
/**
|
|
3470
|
+
* M-2457 §5: one fleet notice, the first time an upgraded home's fleet runs on AgEnD's own tmux. Marked done only once it
|
|
3471
|
+
* was dispatched (General, the channel's notice target, or a web-only fleet's Notices), so a start with nowhere to
|
|
3472
|
+
* post it tries again next start.
|
|
3473
|
+
*/
|
|
3474
|
+
/** Set at fleet start (before any agent starts): this home ran agents on an earlier AgEnD's system tmux. */
|
|
3475
|
+
ownTmuxUpgradedHome: boolean;
|
|
3476
|
+
/** An upgraded home: agent state from an earlier start, and no AgEnD tmux server ever recorded (`previous`). */
|
|
3477
|
+
static ownTmuxUpgraded(agendHome: string, previous: unknown): boolean;
|
|
3478
|
+
/** Whether any instance directory holds state from an earlier start (its output log or a session id). */
|
|
3479
|
+
static priorAgentState(instancesDir: string): boolean;
|
|
3480
|
+
/** Where an upgraded home's not-yet-dispatched own-tmux notice is kept across restarts; only a dispatch clears it. */
|
|
3481
|
+
static ownTmuxPendingPath(agendHome: string): string;
|
|
3482
|
+
/**
|
|
3483
|
+
* Fleet start's decision, made before this start records server.json: an upgraded home is persisted as owing the
|
|
3484
|
+
* notice. A restart before the notice is dispatched (a slow first start; alpha.6 leg M on the real Mac) would otherwise
|
|
3485
|
+
* read the just-recorded server as "not an upgrade" and drop it.
|
|
3486
|
+
*/
|
|
3487
|
+
static ownTmuxStartDecision(agendHome: string, previous: unknown, logger?: {
|
|
3488
|
+
warn: (o: object, m: string) => void;
|
|
3489
|
+
}): boolean;
|
|
3490
|
+
/** Record that this home owes the own-tmux notice (unless it was already posted). */
|
|
3491
|
+
static persistOwnTmuxPending(agendHome: string, logger?: {
|
|
3492
|
+
warn: (o: object, m: string) => void;
|
|
3493
|
+
}): void;
|
|
3494
|
+
announceOwnTmux(): void;
|
|
2944
3495
|
/**
|
|
2945
3496
|
* Post the daily summary where fleet-wide notices go.
|
|
2946
3497
|
*
|
|
@@ -2968,6 +3519,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2968
3519
|
* told as a Notice, and push it to the dashboard. False on any other fleet (its chat says it; nothing is kept).
|
|
2969
3520
|
*/
|
|
2970
3521
|
private recordWebNotice;
|
|
3522
|
+
/** #3373 review P2: recordWebNotice for a notice that must be on disk first — true only once it was written. */
|
|
3523
|
+
private recordWebNoticeDurable;
|
|
2971
3524
|
private static readonly FLEET_ERROR_THROTTLE_MS;
|
|
2972
3525
|
private fleetErrorNotices;
|
|
2973
3526
|
/**
|
|
@@ -3051,6 +3604,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3051
3604
|
onAttentionChanged(name: string): void;
|
|
3052
3605
|
/** The list for the web: every world's items, and those of instances with no world (#1386 §5.0). */
|
|
3053
3606
|
needsYouItems(): WebNeedsItem[];
|
|
3607
|
+
/** Enabled member composition supplies only a local attention reader, never an approval/execution callback. */
|
|
3608
|
+
attachHubExecutionAttention(read: (() => import("./needs-you.js").HubExecutionAttentionInput[]) | null): void;
|
|
3054
3609
|
/**
|
|
3055
3610
|
* #1389: the org chart's structure for the web — the instances the dashboard lists (getUiStatus's names), General,
|
|
3056
3611
|
* fleet.yaml's teams, each instance's description and thread link. Read on demand; the live state rides the stream.
|
|
@@ -3267,6 +3822,89 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3267
3822
|
* again. A fleet with a chat connection, another session, or another peer: nothing (§3 as before).
|
|
3268
3823
|
*/
|
|
3269
3824
|
authorizeHostSession(session: SessionRecord, peer: WebPeer): void;
|
|
3825
|
+
private webRemoteAccessState;
|
|
3826
|
+
/** The authenticator, the outside switch and the wrong-code limiter (web-remote-access.json), read on first use. */
|
|
3827
|
+
webRemoteAccess(): WebRemoteAccess | null;
|
|
3828
|
+
/** "Allow connections from outside" is on (an app set up) and this is a web-only fleet. */
|
|
3829
|
+
private outsideOn;
|
|
3830
|
+
/** The link connections from outside opened, while it is open and still theirs: its exposure. Else null. */
|
|
3831
|
+
private outsideLink;
|
|
3832
|
+
/**
|
|
3833
|
+
* The request's live session, asked again each time `current()` is called (its own cookie authenticated anew, the same
|
|
3834
|
+
* handle): this web-only fleet's owner — this computer's admin, on this computer (`hostOnly`), or also signed in from
|
|
3835
|
+
* outside — and web-verified now. Null when it is not (a guest, a LAN session, a chat fleet's admin, nobody).
|
|
3836
|
+
*/
|
|
3837
|
+
private liveOwner;
|
|
3838
|
+
/** Every session signed in from outside ends (and the authorizations kept for them). */
|
|
3839
|
+
private endOutsideSessions;
|
|
3840
|
+
/**
|
|
3841
|
+
* #1939 §10 / #3008: a stored receipt's authority as it reads now — the web authority state, and for this computer's
|
|
3842
|
+
* admin from outside the switch and the last revocation of remote authority (Prism P2 2).
|
|
3843
|
+
*/
|
|
3844
|
+
receiptAuthorityNow(stored: HumanAuthority, state?: AuthorityState): HumanAuthority;
|
|
3845
|
+
/** #3008 (the sign-in page): this exposure is the outside link, open now. */
|
|
3846
|
+
isOutsideLink(exposureId: string): boolean;
|
|
3847
|
+
/** What Settings shows: set up or not, the switch, a wait in force, the link — its address only to this computer. */
|
|
3848
|
+
webOutsideStatus(req: IncomingMessage): {
|
|
3849
|
+
webOnly: boolean;
|
|
3850
|
+
here: boolean;
|
|
3851
|
+
enrolled: boolean;
|
|
3852
|
+
enrolledAt: number | null;
|
|
3853
|
+
outside: boolean;
|
|
3854
|
+
pausedForMs: number;
|
|
3855
|
+
link: {
|
|
3856
|
+
state: string;
|
|
3857
|
+
url?: string;
|
|
3858
|
+
expiresAt?: number;
|
|
3859
|
+
noExpiry?: true;
|
|
3860
|
+
quick: boolean;
|
|
3861
|
+
} | null;
|
|
3862
|
+
};
|
|
3863
|
+
/** Set up (or set up again): a new secret, shown once to this computer's admin. Null: not them. */
|
|
3864
|
+
webOutsideBeginEnrollment(req: IncomingMessage): {
|
|
3865
|
+
secret: string;
|
|
3866
|
+
uri: string;
|
|
3867
|
+
expiresInMs: number;
|
|
3868
|
+
} | null;
|
|
3869
|
+
/** The new app's first code: on "ok" it replaces the old one, whose sessions from outside end. */
|
|
3870
|
+
webOutsideConfirmEnrollment(req: IncomingMessage, code: string): "ok" | "wrong" | "expired" | "unsaved" | "not_here";
|
|
3871
|
+
/** Forget the app: the switch goes off, the link closes, every session from outside ends. */
|
|
3872
|
+
webOutsideRemove(req: IncomingMessage): "ok" | "unsaved" | "not_here";
|
|
3873
|
+
/** The switch. On: needs an app set up; the link opens. Off: it closes and every session from outside ends. */
|
|
3874
|
+
webOutsideSwitch(req: IncomingMessage, on: boolean): "ok" | "not_enrolled" | "not_here" | "not_allowed" | "unsaved";
|
|
3875
|
+
private outsideAttempt;
|
|
3876
|
+
private outsideOpening;
|
|
3877
|
+
/**
|
|
3878
|
+
* Open the outside link: an attempt after each delay in turn until one opens (#3008 B: twice more at most — the quick
|
|
3879
|
+
* link's address service limits how often it may be asked). Every attempt asks again: the switch still on, the fleet
|
|
3880
|
+
* running. A final failure: one Notice; the switch stays on, so the next start tries again.
|
|
3881
|
+
*/
|
|
3882
|
+
private openOutsideLink;
|
|
3883
|
+
private closeOutsideLink;
|
|
3884
|
+
/** PublicWebLink.onClose for the outside link: what closed it decides what happens next (#3008 B). */
|
|
3885
|
+
private outsideLinkClosed;
|
|
3886
|
+
/**
|
|
3887
|
+
* #3008 (auth-api POST /auth/totp): a sign-in through the outside link with the authenticator's code. "ok": the caller
|
|
3888
|
+
* makes the session (SessionRecord.remote) and then calls authorizeOutsideSession. Each wrong code counts; a wait that
|
|
3889
|
+
* starts is a Notice; a code that matches a step just outside the window logs how far this clock seems to be off.
|
|
3890
|
+
*/
|
|
3891
|
+
outsideSignIn(exposureId: string | undefined, code: string): {
|
|
3892
|
+
kind: "ok";
|
|
3893
|
+
} | {
|
|
3894
|
+
kind: "wrong";
|
|
3895
|
+
} | {
|
|
3896
|
+
kind: "paused";
|
|
3897
|
+
retryAfterMs: number;
|
|
3898
|
+
} | {
|
|
3899
|
+
kind: "closed";
|
|
3900
|
+
} | {
|
|
3901
|
+
kind: "unavailable";
|
|
3902
|
+
};
|
|
3903
|
+
/**
|
|
3904
|
+
* #3008: a session just made by outsideSignIn's "ok" is this computer's admin for its authorization's life. False: it
|
|
3905
|
+
* could not be admitted (its handle not saved, #3015 review r3) — the caller ends it.
|
|
3906
|
+
*/
|
|
3907
|
+
authorizeOutsideSession(session: SessionRecord, peer: WebPeer, label: string): boolean;
|
|
3270
3908
|
private authorityStateStore;
|
|
3271
3909
|
/**
|
|
3272
3910
|
* #1939 §10: the switch, "Only this computer can authorize" and the revocation epoch in force for the configuration as
|
|
@@ -3300,6 +3938,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3300
3938
|
}>;
|
|
3301
3939
|
/** #2453 (§0.2): the admin's named-tunnel hostname, while one is configured (the named-link row shows only then). */
|
|
3302
3940
|
namedHost: string | null;
|
|
3941
|
+
/** A fleet with no chat connection: the page words the card for the authenticator, not for Discord / Telegram. */
|
|
3942
|
+
webOnly: boolean;
|
|
3303
3943
|
};
|
|
3304
3944
|
private authorizationRequests;
|
|
3305
3945
|
/**
|
|
@@ -3549,6 +4189,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3549
4189
|
*/
|
|
3550
4190
|
/** Configured threshold before elapsed time appears, in ms. */
|
|
3551
4191
|
progressMinElapsedMs(): number;
|
|
4192
|
+
/** M-2391: when the instance's live (not retiring) bubble started — the current turn's start — or undefined. */
|
|
4193
|
+
private liveButtonStart;
|
|
3552
4194
|
private startProgressTicker;
|
|
3553
4195
|
/**
|
|
3554
4196
|
* After a reply: give the instance REPLY_RETIRE_GRACE_MS to resume working; if
|
|
@@ -3622,12 +4264,27 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3622
4264
|
*/
|
|
3623
4265
|
private readonly loginWindow;
|
|
3624
4266
|
private get webLogin();
|
|
4267
|
+
/**
|
|
4268
|
+
* #3190 Part 3c: dashboard sign-ins on a paired computer (machine-signins.ts): #3212's StructuredSignIn over a RuntimeSignInTransport, one computer and one
|
|
4269
|
+
* credential profile at a time. Its own coordinator, not the host's: it never touches the host's sign-in checklist or login window.
|
|
4270
|
+
*/
|
|
4271
|
+
private machineSignInsInstance;
|
|
4272
|
+
get machineSignIns(): MachineSignIns;
|
|
4273
|
+
private machineAccountsInstance;
|
|
4274
|
+
/** #3190 Part 3c: a paired computer's accounts in Settings → Accounts (machine-accounts.ts). */
|
|
4275
|
+
get machineAccounts(): MachineAccounts;
|
|
3625
4276
|
private browserBackendSignInsInstance;
|
|
3626
4277
|
private structuredLoginCleanupFailed;
|
|
3627
4278
|
private readonly pendingBackendSince;
|
|
3628
4279
|
private browserSignInOwnerCurrent;
|
|
3629
4280
|
/** #2599: default-account controls share the exact writer reservation with chat/profile/install. */
|
|
3630
4281
|
get browserBackendSignIns(): BrowserBackendSignIns;
|
|
4282
|
+
private profileSignInsInstance;
|
|
4283
|
+
/**
|
|
4284
|
+
* #3212: a NAMED account's sign-in on this host from Settings → Accounts — #2599's StructuredSignIn (press Sign in, open the page, paste the code), pointed at
|
|
4285
|
+
* that profile's own folder (`CLAUDE_CONFIG_DIR`), under the host's login window like every other credential writer. Not the default account's checklist.
|
|
4286
|
+
*/
|
|
4287
|
+
get profileSignIns(): ProfileSignIns;
|
|
3631
4288
|
private needsYouBackendSignIns;
|
|
3632
4289
|
/** #2233: sign-ins started from the web dashboard (local admin sessions), on the same controller as chat's. */
|
|
3633
4290
|
private webBackendLoginsInstance;
|
|
@@ -3638,6 +4295,131 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3638
4295
|
* #2233: Settings → Agents' sign-in list — every backend's default login as the availability snapshot has it, then
|
|
3639
4296
|
* each credential profile an agent uses (its own login state, read offline).
|
|
3640
4297
|
*/
|
|
4298
|
+
/** 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. */
|
|
4299
|
+
private readonly signInIdentities;
|
|
4300
|
+
/** 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. */
|
|
4301
|
+
private readonly signInIdentityReads;
|
|
4302
|
+
/** Raised each time the accounts are forgotten: a read that began before is never allowed to write what it found. */
|
|
4303
|
+
private signInIdentityGeneration;
|
|
4304
|
+
private signInIdentitySlots;
|
|
4305
|
+
private readonly signInIdentityWaiters;
|
|
4306
|
+
private signInIdentity;
|
|
4307
|
+
/** A sign-in finished (or changed): forget what was read and let no read that was already running put its answer back. */
|
|
4308
|
+
private forgetSignInIdentities;
|
|
4309
|
+
/** At most three `claude auth status` at once across the whole host, however many requests ask. */
|
|
4310
|
+
private withSignInIdentitySlot;
|
|
4311
|
+
/** One `claude auth status` for a sign-in (the default one, or a credential profile's folder). */
|
|
4312
|
+
private readSignInIdentity;
|
|
4313
|
+
/**
|
|
4314
|
+
* 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
|
|
4315
|
+
* 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
|
|
4316
|
+
* 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
|
|
4317
|
+
* forgotten (a sign-in finished meanwhile) is dropped. No login, no network request of ours, nothing logged.
|
|
4318
|
+
*/
|
|
4319
|
+
refreshSignInIdentities(): void;
|
|
4320
|
+
/**
|
|
4321
|
+
* #3212 PR 1: the Accounts view (accounts-view.ts) — every CLI's default sign-in and named profiles (used or only on
|
|
4322
|
+
* disk), who uses each and its weekly usage. Host rows only; a paired computer's rows come with #3190 Part 3c. Its
|
|
4323
|
+
* usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
|
|
4324
|
+
*/
|
|
4325
|
+
accountsView(usageWaitMs?: number): Promise<AccountsView>;
|
|
4326
|
+
/**
|
|
4327
|
+
* A sign-in just finished for this account: look at its Keep sign-in alive setting once now (when it is on), so what the Accounts row says about
|
|
4328
|
+
* "the last check" is not the one from before the sign-in. Never awaited, and never allowed to fail the sign-in's own follow-up.
|
|
4329
|
+
*/
|
|
4330
|
+
private keepAliveAfterSignIn;
|
|
4331
|
+
/** #3292: the keep-alive service (built on first use, so the Accounts view can read settings before startup finishes). */
|
|
4332
|
+
private keepAliveService;
|
|
4333
|
+
private startSignInKeepAlive;
|
|
4334
|
+
/**
|
|
4335
|
+
* #3292 review: which sign-in each host agent is starting or running on, recorded at its start (InstanceLifecycle
|
|
4336
|
+
* admitCredentialUse) from the configuration it launched with — never re-resolved against today's defaults. An entry
|
|
4337
|
+
* whose start ended without a daemon, or whose daemon is gone, is dropped when next read.
|
|
4338
|
+
*/
|
|
4339
|
+
private readonly credentialLeases;
|
|
4340
|
+
/** #3292 review: Keep sign-in alive runs in flight, by sign-in: a start on that sign-in waits for its end. */
|
|
4341
|
+
private readonly keepAliveRenewing;
|
|
4342
|
+
private credentialKey;
|
|
4343
|
+
/**
|
|
4344
|
+
* The sign-in a start launches on, from the instance's own (defaults-expanded at load) options — exactly what the
|
|
4345
|
+
* Daemon's clone of that config hands its CLI. Never today's defaults: an older config object keeps its own.
|
|
4346
|
+
*/
|
|
4347
|
+
private launchCredentialKey;
|
|
4348
|
+
/**
|
|
4349
|
+
* #3313 review r2: failed starts whose CLI was not proven gone keep holding their sign-in (across a retry of the same
|
|
4350
|
+
* agent too) until a check finds it ended.
|
|
4351
|
+
*/
|
|
4352
|
+
private readonly credentialOrphans;
|
|
4353
|
+
private orphanCheck;
|
|
4354
|
+
private recheckCredentialOrphans;
|
|
4355
|
+
/**
|
|
4356
|
+
* LifecycleContext: hold the sign-in a start will launch on (waits while Keep sign-in alive renews it). The key is
|
|
4357
|
+
* read again after every wait; `current(config)` lets the start check, with no await before it builds its Daemon,
|
|
4358
|
+
* that the config still names that sign-in (a save may have changed it meanwhile: then it asks again).
|
|
4359
|
+
*/
|
|
4360
|
+
admitCredentialUse(name: string, config: InstanceConfig, backend: string, assertCurrent: () => void): Promise<{
|
|
4361
|
+
published(): void;
|
|
4362
|
+
release(): void;
|
|
4363
|
+
current(config: InstanceConfig): boolean;
|
|
4364
|
+
unknownEnd(ended: () => Promise<boolean>): void;
|
|
4365
|
+
} | null>;
|
|
4366
|
+
/**
|
|
4367
|
+
* #3292: a sign-in is in use when a host agent is starting or running on it (as launched), a ClassicBot room is bound
|
|
4368
|
+
* to it (or the rooms cannot be read — none when there is no classicBot.yaml), or a sign-in for it is running. Codex
|
|
4369
|
+
* refresh tokens are single-use: a refresh beside a live user could spend the one it holds; and use keeps it alive.
|
|
4370
|
+
*/
|
|
4371
|
+
private keepAliveInUse;
|
|
4372
|
+
/**
|
|
4373
|
+
* #3292 review: one keep-alive run's admission, decided synchronously: not in use, the shared login window taken, and the
|
|
4374
|
+
* sign-in marked as renewing (a start on it waits). The run's life is an account writer: a stop waits for it, and
|
|
4375
|
+
* sign-in admission reopens after a restart only once it has ended. `release()` only after its CLI has exited.
|
|
4376
|
+
*/
|
|
4377
|
+
private acquireKeepAliveRun;
|
|
4378
|
+
/** #3292: Needs you's lines for kept sign-ins, in the fleet's language (posted in General's world, like config issues). */
|
|
4379
|
+
private keepAliveAttention;
|
|
4380
|
+
/** #3292: Settings → Accounts → Keep sign-in alive (POST /ui/accounts/keep-alive). `by`: the session's label, for the fleet log. */
|
|
4381
|
+
setAccountKeepAlive(backend: unknown, profile: unknown, enabled: unknown, fallback: unknown, by: string): KeepAliveSetResult;
|
|
4382
|
+
/**
|
|
4383
|
+
* Who uses which account: host agents (an agent on a paired Windows computer runs on that computer's accounts — its
|
|
4384
|
+
* own scope), ClassicBot rooms and the fleet default per CLI, each with its effective profile (null: the default sign-in).
|
|
4385
|
+
*/
|
|
4386
|
+
private accountUses;
|
|
4387
|
+
/** #3212 PR 2: Settings → Accounts → + Add account (accounts-profiles.ts). `by`: the session's label, for the fleet log. */
|
|
4388
|
+
addAccountProfile(backend: string, name: unknown, by: string, machine?: MachineActor): AddResult | Promise<MachineAccountResult>;
|
|
4389
|
+
/** The profile names the configuration refers to for this backend — an agent, a ClassicBot room, the fleet default — whether or not their folders exist yet. */
|
|
4390
|
+
private configuredProfileNames;
|
|
4391
|
+
/**
|
|
4392
|
+
* #3212 PR 2: Settings → Accounts → Remove. Refused while anything uses it or a sign-in for it runs (the login controller,
|
|
4393
|
+
* or the login window held for this backend by a sign-in whose profile is not known yet); see accounts-profiles.ts.
|
|
4394
|
+
* The fleet log records who removed which backend's profile — never what was in it.
|
|
4395
|
+
*/
|
|
4396
|
+
removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor, opts?: {
|
|
4397
|
+
cancelSignIn?: true;
|
|
4398
|
+
}): Promise<RemoveResult | MachineAccountResult>;
|
|
4399
|
+
/**
|
|
4400
|
+
* Remove's whole safety proof, read now (#3291 review): who uses the account — configured agents and live daemons, the
|
|
4401
|
+
* fleet default, ClassicBot rooms read strictly — and whether a sign-in for it runs. `ownClaim`: the login window this
|
|
4402
|
+
* removal holds itself, which is not someone else's sign-in.
|
|
4403
|
+
*/
|
|
4404
|
+
private removalRequest;
|
|
4405
|
+
/**
|
|
4406
|
+
* #3212 PR 3: Settings → Accounts → Sign out (accounts-signout.ts): the CLI's own logout for the default sign-in
|
|
4407
|
+
* (`profile` null) or a named account. Refused while a sign-in for it runs (case-insensitive, as Remove). The fleet
|
|
4408
|
+
* log records who signed out which backend's account; then every page reads the sign-ins again.
|
|
4409
|
+
*/
|
|
4410
|
+
/** How a CLI's logout is run and the Keychain asked (a test's stand-in; the platform with it). */
|
|
4411
|
+
accountSignOutDeps: Pick<import("./accounts-signout.js").SignOutDeps, "keychainHas" | "platform" | "run">;
|
|
4412
|
+
/** #3305 review: every account logout's whole life — its CLI children until positively gone (shutdown drains them). */
|
|
4413
|
+
private readonly accountWriters;
|
|
4414
|
+
/**
|
|
4415
|
+
* #3305 review P2-3/P2-5: run `work` as the owner of the credential writer (`claim`). Its CLIs run through a runner
|
|
4416
|
+
* that records each child's positive end; the work is told whether it still owns the writer (`stillOwner`) before it
|
|
4417
|
+
* cleans anything; and the claim is released only once every child it started is positively gone — a child whose end
|
|
4418
|
+
* is unknown keeps sign-in admission closed (logged). Shutdown waits for these (shutdownLoginWindows), and a restart
|
|
4419
|
+
* reopens admission only after they are gone.
|
|
4420
|
+
*/
|
|
4421
|
+
private withAccountWriter;
|
|
4422
|
+
signOutAccount(backend: string, profile: unknown, confirm: unknown, by: string, machine?: MachineActor): Promise<SignOutResult | MachineAccountResult>;
|
|
3641
4423
|
backendSignInTargets(): SignInTarget[];
|
|
3642
4424
|
/** #2233: the session with this handle is live, admin, local and of the current dashboard token. */
|
|
3643
4425
|
private isLocalAdminSession;
|
|
@@ -3711,6 +4493,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3711
4493
|
/** The sign-in itself, in the web terminal, for a CLI that is installed. */
|
|
3712
4494
|
private launchSignIn;
|
|
3713
4495
|
/** Fleet shutdown: end any web login or install window and wait for its confirmed teardown. */
|
|
4496
|
+
/**
|
|
4497
|
+
* #3305 review P2-3: reopen sign-in admission after a restart — only once no account logout's CLI from before is still
|
|
4498
|
+
* alive (a fresh sign-in must never overlap it). Each reopen supersedes a deferred one.
|
|
4499
|
+
*/
|
|
4500
|
+
private loginReopenGen;
|
|
4501
|
+
private reopenLoginWindow;
|
|
3714
4502
|
private shutdownLoginWindows;
|
|
3715
4503
|
/** `/login cancel` — abort the active session and remove its window. */
|
|
3716
4504
|
cancelLoginSession(): Promise<string>;
|
|
@@ -4163,6 +4951,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4163
4951
|
* profile's, when it is named and has one), claude's account catalog included. Read only: never a probe.
|
|
4164
4952
|
*/
|
|
4165
4953
|
modelCatalogFor(backend: string, instance: string | null): import("./backend/types.js").ModelOption[];
|
|
4954
|
+
/** Host-default fallback only: Grok has no modeled profile home. Never construct a backend or start a probe. */
|
|
4955
|
+
cliModelCatalogFor(backend: string, instance: string | null): Promise<import("./backend/types.js").ModelOption[]>;
|
|
4166
4956
|
/**
|
|
4167
4957
|
* #2072 (#2078 review): the snapshot as THIS instance would see it. Its sign-in on a backend is its own credential
|
|
4168
4958
|
* profile's when it has one there — the host's default login says nothing about it. A profile's login is a file check
|
|
@@ -4350,7 +5140,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4350
5140
|
* audit notice — and only once all of that holds is the attempt written to
|
|
4351
5141
|
* disk and fsynced, before anything spawns.
|
|
4352
5142
|
*/
|
|
4353
|
-
requestSettingsSelfRestart(
|
|
5143
|
+
requestSettingsSelfRestart(requestedJobId: string | null, key: string): Promise<SelfRestartResult>;
|
|
4354
5144
|
/** The audit notice, and the message the restart progress will edit. */
|
|
4355
5145
|
private postSelfRestartNotice;
|
|
4356
5146
|
/** Jobs outlive this process on purpose; see apply-job.ts. */
|
|
@@ -4487,6 +5277,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4487
5277
|
};
|
|
4488
5278
|
getConnectionSecretApply(jobId: string, sessionBinding: string): SecretApplyJob | null;
|
|
4489
5279
|
private runConnectionSecretApply;
|
|
5280
|
+
/**
|
|
5281
|
+
* S-91: how a connection stands against what this process set up at start. "same": its adapter start ran (and failed, or
|
|
5282
|
+
* found no token), so starting it now is what the background retry does. "changed": its binding waits for the restart —
|
|
5283
|
+
* never started live, whatever its role (#3365 review P2). "added": #1519 P6's rule.
|
|
5284
|
+
*/
|
|
5285
|
+
private startedWithConnection;
|
|
5286
|
+
/**
|
|
5287
|
+
* S-91: a token's live start for a connection that was not running did not come up. Whatever adapter it left is taken
|
|
5288
|
+
* down (handlers off, stopped, unregistered), and the connection goes back to the background retry with the error.
|
|
5289
|
+
*/
|
|
5290
|
+
private dropAdapterAfterFailedStart;
|
|
4490
5291
|
/** Stop the old provider client and construct a new one from process.env. */
|
|
4491
5292
|
private rebuildAdapterForSecret;
|
|
4492
5293
|
/**
|
|
@@ -4530,7 +5331,28 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4530
5331
|
};
|
|
4531
5332
|
private runSettingsApply;
|
|
4532
5333
|
restartInstances(): Promise<void>;
|
|
5334
|
+
/** The running package's version (package.json next to this code). */
|
|
5335
|
+
private runningAgendVersion;
|
|
5336
|
+
/**
|
|
5337
|
+
* What the install's own channel offers: the target version and whether it came from that channel's dist-tag. Throws
|
|
5338
|
+
* when npm cannot be asked (the callers decide what a failed look means).
|
|
5339
|
+
*/
|
|
5340
|
+
private lookUpUpdateTarget;
|
|
5341
|
+
/** M-2738: record a look's answer for the web — the same offer the notice below would make. */
|
|
5342
|
+
private recordUpdateCheck;
|
|
4533
5343
|
private checkForUpdates;
|
|
5344
|
+
/** The web's update routes (web-api.ts handleWebUpdate) read and start through this. */
|
|
5345
|
+
get webUpdate(): WebUpdateHost;
|
|
5346
|
+
/** "Check for updates": look now, no chat notice. One a minute; a second ask while one runs waits for it. */
|
|
5347
|
+
private checkUpdateNow;
|
|
5348
|
+
/**
|
|
5349
|
+
* M-2738: Update from the web — a fleet admin's session, after its own confirmation (the leader's D1). Only what the
|
|
5350
|
+
* last check offers as installable; the update itself is chat `/update`'s (launchInstalledUpdate). Its progress marker
|
|
5351
|
+
* targets no chat message (WEB_UPDATE_ADAPTER); the page reads the stages the updater writes into it.
|
|
5352
|
+
*/
|
|
5353
|
+
private startWebUpdate;
|
|
5354
|
+
/** M-2738: a web start's answer for its key, the same on a retry (at most 32 kept). */
|
|
5355
|
+
private startWebUpdateOnce;
|
|
4534
5356
|
/**
|
|
4535
5357
|
* Semver "a > b". Compares major.minor.patch numerically; a version without a
|
|
4536
5358
|
* prerelease outranks the same core with one (2.0.8 > 2.0.8-beta.16); two
|
|
@@ -4633,3 +5455,5 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4633
5455
|
getUiStatus(): unknown;
|
|
4634
5456
|
private getUiStatusSync;
|
|
4635
5457
|
}
|
|
5458
|
+
/** alpha.2 (M-2300): the agent an applied Windows request created (its name, for the page's "Open chat"), or null. */
|
|
5459
|
+
export declare function agentNameOf(view: SettingsPendingView): string | null;
|