@songsid/agend 2.4.0-alpha.1 → 2.4.0-alpha.3
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 +1 -1
- package/README.zh-TW.md +1 -1
- package/dist/account-isolation.d.ts +6 -0
- package/dist/account-isolation.js +40 -0
- package/dist/account-isolation.js.map +1 -0
- package/dist/accounts-signout.d.ts +15 -2
- package/dist/accounts-signout.js +52 -4
- package/dist/accounts-signout.js.map +1 -1
- package/dist/accounts-view.d.ts +114 -27
- package/dist/accounts-view.js +123 -60
- package/dist/accounts-view.js.map +1 -1
- package/dist/agent-cli-instructions.md +9 -7
- package/dist/agent-cli.js +47 -20
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.js +23 -8
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-list-output.d.ts +23 -0
- package/dist/agent-list-output.js +53 -0
- package/dist/agent-list-output.js.map +1 -0
- package/dist/agent-runtime-change.js +4 -4
- package/dist/agent-runtime-change.js.map +1 -1
- package/dist/agent-whats-new.js +4 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/antigravity-first-run.d.ts +4 -0
- package/dist/antigravity-first-run.js +57 -0
- package/dist/antigravity-first-run.js.map +1 -0
- package/dist/antigravity-identity.d.ts +6 -0
- package/dist/antigravity-identity.js +27 -0
- package/dist/antigravity-identity.js.map +1 -0
- package/dist/antigravity-store.d.ts +22 -0
- package/dist/antigravity-store.js +79 -0
- package/dist/antigravity-store.js.map +1 -0
- package/dist/auth-api.js +7 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/agy-onboarding.d.ts +14 -0
- package/dist/backend/agy-onboarding.js +114 -0
- package/dist/backend/agy-onboarding.js.map +1 -0
- package/dist/backend/antigravity.d.ts +15 -0
- package/dist/backend/antigravity.js +44 -4
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/claude-code.js +4 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/credential-profile.d.ts +22 -3
- package/dist/backend/credential-profile.js +61 -9
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/types.d.ts +6 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-availability.d.ts +7 -1
- package/dist/backend-availability.js +39 -1
- package/dist/backend-availability.js.map +1 -1
- package/dist/browser-backend-signins.d.ts +16 -2
- package/dist/browser-backend-signins.js +17 -9
- package/dist/browser-backend-signins.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-tools.js +10 -10
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/claude-auth-status.d.ts +1 -0
- package/dist/claude-auth-status.js +25 -0
- package/dist/claude-auth-status.js.map +1 -1
- package/dist/cli-capability.d.ts +104 -19
- package/dist/cli-capability.js +3 -1
- package/dist/cli-capability.js.map +1 -1
- package/dist/cli-caps-module.d.ts +14 -0
- package/dist/cli-caps-module.js +8 -1
- package/dist/cli-caps-module.js.map +1 -1
- package/dist/cli-registry-check.js +114 -18
- package/dist/cli-registry-check.js.map +1 -1
- package/dist/cli-registry.d.ts +116 -12
- package/dist/cli-registry.js +16 -1
- package/dist/cli-registry.js.map +1 -1
- package/dist/cli-spec-antigravity.d.ts +53 -11
- package/dist/cli-spec-antigravity.js +44 -13
- package/dist/cli-spec-antigravity.js.map +1 -1
- package/dist/cli-spec-claude-code.d.ts +14 -1
- package/dist/cli-spec-claude-code.js +5 -4
- package/dist/cli-spec-claude-code.js.map +1 -1
- package/dist/cli-spec-codex.d.ts +8 -0
- package/dist/cli-spec-codex.js +4 -3
- package/dist/cli-spec-codex.js.map +1 -1
- package/dist/cli-spec-grok.d.ts +4 -0
- package/dist/cli-spec-grok.js +2 -1
- package/dist/cli-spec-grok.js.map +1 -1
- package/dist/cli-spec-kiro-cli.d.ts +7 -0
- package/dist/cli-spec-kiro-cli.js +3 -2
- package/dist/cli-spec-kiro-cli.js.map +1 -1
- package/dist/cli-spec-muse.d.ts +4 -0
- package/dist/cli-spec-muse.js +2 -1
- package/dist/cli-spec-muse.js.map +1 -1
- package/dist/cli-spec-opencode.d.ts +1 -0
- package/dist/cli-spec-opencode.js +1 -0
- package/dist/cli-spec-opencode.js.map +1 -1
- package/dist/config-validator.js +47 -7
- package/dist/config-validator.js.map +1 -1
- package/dist/credential-store-proof.d.ts +6 -0
- package/dist/credential-store-proof.js +30 -0
- package/dist/credential-store-proof.js.map +1 -0
- package/dist/daemon.d.ts +3 -0
- package/dist/daemon.js +6 -2
- package/dist/daemon.js.map +1 -1
- package/dist/decision-list.d.ts +5 -4
- package/dist/decision-list.js +22 -8
- package/dist/decision-list.js.map +1 -1
- package/dist/fleet-manager.d.ts +53 -5
- package/dist/fleet-manager.js +301 -115
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.js +6 -6
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +32 -4
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +42 -6
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +14 -6
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +16 -0
- package/dist/general-knowledge/skills/hub/SKILL.md +361 -0
- package/dist/general-knowledge/skills/scheduling/SKILL.md +1 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +184 -36
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +5 -1
- package/dist/general-role.d.ts +1 -1
- package/dist/general-role.js +1 -0
- package/dist/general-role.js.map +1 -1
- package/dist/hub/audit/index.js +12 -5
- package/dist/hub/audit/index.js.map +1 -1
- package/dist/hub/buttons.d.ts +3 -0
- package/dist/hub/buttons.js +11 -11
- package/dist/hub/buttons.js.map +1 -1
- package/dist/hub/catalog.d.ts +18 -5
- package/dist/hub/catalog.js +119 -36
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.d.ts +6 -0
- package/dist/hub/client.js +6 -1
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +2 -0
- package/dist/hub/compose/member.js +26 -2
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +6 -0
- package/dist/hub/compose/server.js +11 -4
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/directory/directory.d.ts +1 -1
- package/dist/hub/directory/directory.js +51 -0
- package/dist/hub/directory/directory.js.map +1 -1
- package/dist/hub/directory/types.d.ts +14 -0
- package/dist/hub/directory/types.js.map +1 -1
- package/dist/hub/enrolment-code.d.ts +126 -0
- package/dist/hub/enrolment-code.js +266 -0
- package/dist/hub/enrolment-code.js.map +1 -0
- package/dist/hub/grant-access.d.ts +11 -0
- package/dist/hub/grant-access.js +113 -0
- package/dist/hub/grant-access.js.map +1 -0
- package/dist/hub/grant-search.d.ts +9 -0
- package/dist/hub/grant-search.js +92 -0
- package/dist/hub/grant-search.js.map +1 -0
- package/dist/hub/group-policy/admin-impact.d.ts +2 -0
- package/dist/hub/group-policy/admin-impact.js +14 -4
- package/dist/hub/group-policy/admin-impact.js.map +1 -1
- package/dist/hub/group-policy/admin-inventory.js +7 -7
- package/dist/hub/group-policy/admin-inventory.js.map +1 -1
- package/dist/hub/group-policy/authorization.d.ts +20 -3
- package/dist/hub/group-policy/authorization.js +132 -27
- package/dist/hub/group-policy/authorization.js.map +1 -1
- package/dist/hub/group-policy/impact-inventory.js +23 -7
- package/dist/hub/group-policy/impact-inventory.js.map +1 -1
- package/dist/hub/group-policy/resources.d.ts +44 -6
- package/dist/hub/group-policy/resources.js +75 -30
- package/dist/hub/group-policy/resources.js.map +1 -1
- package/dist/hub/group-policy/store.d.ts +24 -3
- package/dist/hub/group-policy/store.js +136 -77
- package/dist/hub/group-policy/store.js.map +1 -1
- package/dist/hub/group-policy/welcome.js.map +1 -1
- package/dist/hub/http/compose.js +68 -16
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.d.ts +18 -0
- package/dist/hub/http/core.js +108 -7
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +8 -0
- package/dist/hub/http/schema.js +11 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/init/text.js +2 -2
- package/dist/hub/init/text.js.map +1 -1
- package/dist/hub/init/web.d.ts +7 -0
- package/dist/hub/init/web.js +6 -1
- package/dist/hub/init/web.js.map +1 -1
- package/dist/hub/join/local.d.ts +32 -0
- package/dist/hub/join/local.js +98 -10
- package/dist/hub/join/local.js.map +1 -1
- package/dist/hub/join/receipt.d.ts +1 -0
- package/dist/hub/join/receipt.js +1 -1
- package/dist/hub/join/receipt.js.map +1 -1
- package/dist/hub/join/service.d.ts +94 -6
- package/dist/hub/join/service.js +214 -44
- package/dist/hub/join/service.js.map +1 -1
- package/dist/hub/join/store.d.ts +2 -1
- package/dist/hub/join/store.js +7 -7
- package/dist/hub/join/store.js.map +1 -1
- package/dist/hub/member/exposure-api.d.ts +2 -0
- package/dist/hub/member/exposure-api.js +3 -2
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/exposures.d.ts +4 -0
- package/dist/hub/member/exposures.js +12 -2
- package/dist/hub/member/exposures.js.map +1 -1
- package/dist/hub/member/pairing-api.js +4 -1
- package/dist/hub/member/pairing-api.js.map +1 -1
- package/dist/hub/member/pairing-notices.js +8 -6
- package/dist/hub/member/pairing-notices.js.map +1 -1
- package/dist/hub/pairing-notices.d.ts +5 -2
- package/dist/hub/pairing-notices.js +38 -13
- package/dist/hub/pairing-notices.js.map +1 -1
- package/dist/hub/pairing.d.ts +10 -2
- package/dist/hub/pairing.js +37 -16
- package/dist/hub/pairing.js.map +1 -1
- package/dist/hub/policy.d.ts +1 -1
- package/dist/hub/policy.js +19 -6
- package/dist/hub/policy.js.map +1 -1
- package/dist/hub/protocol.d.ts +60 -0
- package/dist/hub/protocol.js +9 -2
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/quota.d.ts +2 -1
- package/dist/hub/quota.js +2 -2
- package/dist/hub/quota.js.map +1 -1
- package/dist/hub/roles/authority.d.ts +45 -0
- package/dist/hub/roles/authority.js +199 -0
- package/dist/hub/roles/authority.js.map +1 -0
- package/dist/hub/roles/change.d.ts +18 -0
- package/dist/hub/roles/change.js +76 -0
- package/dist/hub/roles/change.js.map +1 -0
- package/dist/hub/roles/convert.d.ts +11 -0
- package/dist/hub/roles/convert.js +27 -0
- package/dist/hub/roles/convert.js.map +1 -0
- package/dist/hub/roles/cutover-inventory.d.ts +14 -0
- package/dist/hub/roles/cutover-inventory.js +42 -0
- package/dist/hub/roles/cutover-inventory.js.map +1 -0
- package/dist/hub/roles/cutover.d.ts +32 -0
- package/dist/hub/roles/cutover.js +184 -0
- package/dist/hub/roles/cutover.js.map +1 -0
- package/dist/hub/roles/delegation.d.ts +24 -0
- package/dist/hub/roles/delegation.js +111 -0
- package/dist/hub/roles/delegation.js.map +1 -0
- package/dist/hub/roles/evaluate.d.ts +50 -0
- package/dist/hub/roles/evaluate.js +96 -0
- package/dist/hub/roles/evaluate.js.map +1 -0
- package/dist/hub/roles/expiry.d.ts +46 -0
- package/dist/hub/roles/expiry.js +180 -0
- package/dist/hub/roles/expiry.js.map +1 -0
- package/dist/hub/roles/mode-effects.d.ts +5 -0
- package/dist/hub/roles/mode-effects.js +21 -0
- package/dist/hub/roles/mode-effects.js.map +1 -0
- package/dist/hub/roles/model.d.ts +171 -0
- package/dist/hub/roles/model.js +79 -0
- package/dist/hub/roles/model.js.map +1 -0
- package/dist/hub/roles/read.d.ts +29 -0
- package/dist/hub/roles/read.js +47 -0
- package/dist/hub/roles/read.js.map +1 -0
- package/dist/hub/roles/writer.d.ts +80 -0
- package/dist/hub/roles/writer.js +427 -0
- package/dist/hub/roles/writer.js.map +1 -0
- package/dist/hub/rooms.d.ts +8 -0
- package/dist/hub/rooms.js +47 -27
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/server.d.ts +3 -0
- package/dist/hub/server.js +18 -2
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/sessions.js +5 -1
- package/dist/hub/sessions.js.map +1 -1
- package/dist/hub/settings-directory-decision.d.ts +2 -2
- package/dist/hub/settings-directory-decision.js +7 -5
- package/dist/hub/settings-directory-decision.js.map +1 -1
- package/dist/hub/settings-directory-proof.js +3 -1
- package/dist/hub/settings-directory-proof.js.map +1 -1
- package/dist/hub/settings-directory-recovery.js +3 -3
- package/dist/hub/settings-directory-recovery.js.map +1 -1
- package/dist/hub/sharing.d.ts +10 -0
- package/dist/hub/sharing.js +74 -0
- package/dist/hub/sharing.js.map +1 -0
- package/dist/hub/store.js +6 -2
- package/dist/hub/store.js.map +1 -1
- package/dist/hub/types.d.ts +29 -5
- package/dist/hub/web-origin.d.ts +80 -0
- package/dist/hub/web-origin.js +163 -0
- package/dist/hub/web-origin.js.map +1 -0
- package/dist/hub-pairing-summary.js +1 -1
- package/dist/hub-pairing-summary.js.map +1 -1
- package/dist/human-delivery-receipts.js +2 -2
- package/dist/human-delivery-receipts.js.map +1 -1
- package/dist/instance-config-impact.js +4 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +13 -1
- package/dist/instance-lifecycle.js +36 -10
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.d.ts +8 -2
- package/dist/instructions.js +28 -6
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +12 -8
- package/dist/locale.js.map +1 -1
- package/dist/log-service.d.ts +62 -6
- package/dist/log-service.js +135 -28
- package/dist/log-service.js.map +1 -1
- package/dist/log-steps-agy-grok.d.ts +74 -0
- package/dist/log-steps-agy-grok.js +440 -0
- package/dist/log-steps-agy-grok.js.map +1 -0
- package/dist/log-steps.d.ts +62 -3
- package/dist/log-steps.js +188 -22
- package/dist/log-steps.js.map +1 -1
- package/dist/log-transcript-paths.d.ts +29 -0
- package/dist/log-transcript-paths.js +109 -0
- package/dist/log-transcript-paths.js.map +1 -0
- package/dist/login-controller.d.ts +17 -3
- package/dist/login-controller.js +57 -5
- package/dist/login-controller.js.map +1 -1
- package/dist/login-flows.d.ts +24 -2
- package/dist/login-flows.js +53 -22
- package/dist/login-flows.js.map +1 -1
- package/dist/login-url.js +3 -0
- package/dist/login-url.js.map +1 -1
- package/dist/login-window-lock.d.ts +20 -8
- package/dist/login-window-lock.js +35 -16
- package/dist/login-window-lock.js.map +1 -1
- package/dist/machine-accounts.d.ts +42 -12
- package/dist/machine-accounts.js +144 -46
- package/dist/machine-accounts.js.map +1 -1
- package/dist/machine-signins.d.ts +35 -13
- package/dist/machine-signins.js +57 -27
- package/dist/machine-signins.js.map +1 -1
- package/dist/native-instance-input.js +4 -4
- package/dist/native-instance-input.js.map +1 -1
- package/dist/native-instance-registry.d.ts +3 -3
- package/dist/native-instance-registry.js +11 -10
- package/dist/native-instance-registry.js.map +1 -1
- package/dist/outbound-handlers.d.ts +14 -0
- package/dist/outbound-handlers.js +68 -20
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +18 -0
- package/dist/outbound-schemas.js +22 -4
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/profile-signins.d.ts +7 -0
- package/dist/profile-signins.js +2 -1
- package/dist/profile-signins.js.map +1 -1
- package/dist/runtime-build-info.js +6 -2
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli.js +33 -11
- package/dist/runtime-cli.js.map +1 -1
- package/dist/runtime-client.d.ts +18 -2
- package/dist/runtime-client.js +84 -21
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-credential-profiles.d.ts +36 -4
- package/dist/runtime-credential-profiles.js +82 -16
- package/dist/runtime-credential-profiles.js.map +1 -1
- package/dist/runtime-profile-ownership.d.ts +2 -2
- package/dist/runtime-profile-ownership.js +3 -3
- package/dist/runtime-profile-ownership.js.map +1 -1
- package/dist/runtime-protocol.d.ts +5 -3
- package/dist/runtime-protocol.js +4 -0
- package/dist/runtime-protocol.js.map +1 -1
- package/dist/runtime-remote-accounts.d.ts +72 -5
- package/dist/runtime-remote-accounts.js +293 -52
- package/dist/runtime-remote-accounts.js.map +1 -1
- package/dist/runtime-remote-setup.d.ts +2 -2
- package/dist/runtime-remote-setup.js +2 -2
- package/dist/runtime-remote-setup.js.map +1 -1
- package/dist/runtime-signin-transport.d.ts +22 -4
- package/dist/runtime-signin-transport.js +50 -12
- package/dist/runtime-signin-transport.js.map +1 -1
- package/dist/runtime-signin.d.ts +42 -0
- package/dist/runtime-signin.js +105 -9
- package/dist/runtime-signin.js.map +1 -1
- package/dist/runtime-windows-bridge.js +6 -1
- package/dist/runtime-windows-bridge.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +1 -0
- package/dist/scheduler/task-board.js +10 -1
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/settings-api.d.ts +34 -0
- package/dist/settings-api.js +184 -6
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +38 -1
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +14 -0
- package/dist/settings-effect.js.map +1 -1
- package/dist/signin-keepalive.d.ts +31 -2
- package/dist/signin-keepalive.js +123 -12
- package/dist/signin-keepalive.js.map +1 -1
- package/dist/structured-signin-transport.d.ts +2 -2
- package/dist/structured-signin-transport.js +27 -6
- package/dist/structured-signin-transport.js.map +1 -1
- package/dist/structured-signin.d.ts +16 -2
- package/dist/structured-signin.js +59 -4
- package/dist/structured-signin.js.map +1 -1
- package/dist/task-board-tool.d.ts +0 -13
- package/dist/task-board-tool.js +42 -6
- package/dist/task-board-tool.js.map +1 -1
- package/dist/tool-progress.d.ts +7 -0
- package/dist/tool-progress.js +21 -9
- package/dist/tool-progress.js.map +1 -1
- package/dist/tool-receipt-output.d.ts +151 -0
- package/dist/tool-receipt-output.js +50 -0
- package/dist/tool-receipt-output.js.map +1 -0
- package/dist/types.d.ts +13 -0
- package/dist/ui/accounts-keepalive.js +15 -6
- package/dist/ui/accounts-manage.js +25 -5
- package/dist/ui/accounts-view.js +40 -26
- package/dist/ui/agent-details-settings.js +2 -2
- package/dist/ui/agent-page-strings.js +2 -2
- package/dist/ui/agent-proposals.js +22 -2
- package/dist/ui/agent-runtime-settings.js +3 -3
- package/dist/ui/backend-signin.js +49 -16
- package/dist/ui/chat-activity-groups.js +225 -0
- package/dist/ui/chat-activity.js +355 -0
- package/dist/ui/chat-popout-header.js +35 -0
- package/dist/ui/chat-popout-transport.js +80 -0
- package/dist/ui/chat-popout.js +63 -0
- package/dist/ui/chat-quote.js +3 -1
- package/dist/ui/chat-store.js +45 -4
- package/dist/ui/chat-workspace-gestures.js +177 -0
- package/dist/ui/chat-workspace-navigation.js +34 -10
- package/dist/ui/chat-workspace.js +96 -32
- package/dist/ui/cli-caps.js +7 -7
- package/dist/ui/credential-profile-select.js +32 -19
- package/dist/ui/host-install.js +2 -2
- package/dist/ui/hub-agent-copy.js +7 -7
- package/dist/ui/hub-chat-store.js +8 -4
- package/dist/ui/hub-chat-strings.js +3 -3
- package/dist/ui/hub-client.js +113 -18
- package/dist/ui/hub-company-join-strings.js +12 -10
- package/dist/ui/hub-company-join.js +52 -39
- package/dist/ui/hub-confirm-place.js +44 -0
- package/dist/ui/hub-directory-editor-strings.js +3 -3
- package/dist/ui/hub-directory-notice-strings.js +1 -1
- package/dist/ui/hub-enrolment-code-strings.js +44 -0
- package/dist/ui/hub-enrolment-code.js +159 -0
- package/dist/ui/hub-grant-picker.js +100 -0
- package/dist/ui/hub-group-search.js +82 -0
- package/dist/ui/hub-group-strings.js +8 -8
- package/dist/ui/hub-join-approval.js +31 -0
- package/dist/ui/hub-join-code-input.js +66 -0
- package/dist/ui/hub-join-one-strings.js +2 -2
- package/dist/ui/hub-join-queue.js +62 -0
- package/dist/ui/hub-join-steps.js +234 -0
- package/dist/ui/hub-joincode-flow-strings.js +22 -0
- package/dist/ui/hub-owner-strings.js +9 -9
- package/dist/ui/hub-pairing-progress-strings.js +1 -1
- package/dist/ui/hub-quick-pairing.js +8 -4
- package/dist/ui/hub-quick-strings.js +11 -11
- package/dist/ui/hub-share-refused.js +17 -0
- package/dist/ui/hub-strings.js +61 -61
- package/dist/ui/hub-this-hub.js +2 -2
- package/dist/ui/hub-welcome.js +26 -5
- package/dist/ui/image-annotate.js +283 -0
- package/dist/ui/image-lightbox.js +26 -6
- package/dist/ui/log-row.js +327 -0
- package/dist/ui/machine-signin.js +47 -14
- package/dist/ui/panel-chat.js +151 -12
- package/dist/ui/panel-details.js +14 -6
- package/dist/ui/panel-fleet.js +2 -2
- package/dist/ui/panel-hub.js +94 -21
- package/dist/ui/panel-log.js +9 -154
- package/dist/ui/panel-settings.js +50 -13
- package/dist/ui/search-dialog.js +1 -0
- package/dist/ui/settings-access-overview.js +1 -1
- package/dist/ui/settings-hub-browser-certificate.js +3 -3
- package/dist/ui/settings-hub-company-join.js +42 -30
- package/dist/ui/settings-hub-connection.js +8 -5
- package/dist/ui/settings-hub-membership.js +3 -3
- package/dist/ui/settings-hub-section.js +3 -1
- package/dist/ui/settings-hub-setup-strings.js +6 -6
- package/dist/ui/settings-hub-setup.js +44 -6
- package/dist/ui/settings-hub-web-address.js +233 -0
- package/dist/ui/settings-hub.js +41 -10
- package/dist/ui/settings-layout.js +6 -4
- package/dist/ui/settings-public-session-strings.js +37 -0
- package/dist/ui/settings-registry.js +4 -0
- package/dist/ui/settings-strings.js +2 -2
- package/dist/ui/shared/accounts-keepalive.css +8 -0
- package/dist/ui/shared/accounts-usage-pool.css +10 -0
- package/dist/ui/shared/accounts.css +9 -0
- package/dist/ui/shared/app-shell.js +16 -10
- package/dist/ui/shared/app.css +233 -35
- package/dist/ui/shared/app.js +8 -1
- package/dist/ui/shared/chat-render.js +11 -2
- package/dist/ui/shared/chat-thread.js +20 -3
- package/dist/ui/shared/chat-work-bar.css +7 -0
- package/dist/ui/shared/chat-workspace-model.js +39 -9
- package/dist/ui/shared/hub-grant-picker.css +4 -0
- package/dist/ui/shared/hub-owner.css +8 -0
- package/dist/ui/shared/hub-sharing.css +4 -0
- package/dist/ui/shared/identity-color.js +9 -3
- package/dist/ui/shared/image-annotate.css +45 -0
- package/dist/ui/shared/instance-nav.js +59 -22
- package/dist/ui/shared/pane-geometry.js +29 -0
- package/dist/ui/shared/signin.js +2 -2
- package/dist/ui/shared/tokens.css +14 -0
- package/dist/ui/shared/ui-menu.js +22 -7
- package/dist/ui/shared/view-strings.js +2 -2
- package/dist/ui/signin.html +1 -1
- package/dist/ui/structured-signin.js +29 -9
- package/dist/ui/usage-pool.js +76 -0
- package/dist/usage/agent-output.d.ts +144 -0
- package/dist/usage/agent-output.js +75 -0
- package/dist/usage/agent-output.js.map +1 -0
- package/dist/usage/provider-alerts.d.ts +6 -0
- package/dist/usage/provider-alerts.js +6 -0
- package/dist/usage/provider-alerts.js.map +1 -1
- package/dist/usage/providers.d.ts +2 -2
- package/dist/usage/providers.js +60 -18
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/usage-api.d.ts +12 -0
- package/dist/usage/usage-api.js +39 -0
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/web-api.d.ts +3 -0
- package/dist/web-api.js +61 -16
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +13 -4
- package/dist/web-backend-login.js +7 -4
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-chat-history.d.ts +11 -0
- package/dist/web-chat-history.js +9 -1
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-guest-access.js +2 -2
- package/dist/web-guest-access.js.map +1 -1
- package/dist/web-session.d.ts +31 -3
- package/dist/web-session.js +25 -4
- package/dist/web-session.js.map +1 -1
- package/dist/web-settings-patch.d.ts +8 -2
- package/dist/web-settings-patch.js +22 -10
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/windows-cli-providers.js +5 -1
- package/dist/windows-cli-providers.js.map +1 -1
- package/dist/windows-cli-worker.d.ts +33 -1
- package/dist/windows-cli-worker.js +150 -10
- package/dist/windows-cli-worker.js.map +1 -1
- package/dist/windows-cli.d.ts +7 -1
- package/dist/windows-cli.js +19 -2
- package/dist/windows-cli.js.map +1 -1
- package/dist/workflow-templates/default.md +2 -2
- package/package.json +1 -1
package/dist/settings-api.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DEFAULT_REPLY_TRIGGERS } from "./reply-triggers.js";
|
|
|
9
9
|
import { PUBLIC_TUNNEL_SECRET_ID, PUBLIC_TUNNEL_TOKEN_HINT } from "./public-tunnel-config.js";
|
|
10
10
|
import { withSpawnHoldReply } from "./spawn-hold-reply.js";
|
|
11
11
|
import { normalizeSettingsInstancePatch, removesInstanceOverride } from "./settings-instance-patch.js";
|
|
12
|
-
import { instanceCredentialProfile, signedOutCredentialProfile } from "./backend/credential-profile.js";
|
|
12
|
+
import { credentialHomeSpec, credentialProfileHome, instanceCredentialProfile, signedOutCredentialProfile } from "./backend/credential-profile.js";
|
|
13
13
|
import { isSettingsReplay, settingsRequestExecution, settingsRequestLocalAdmin, settingsRequestLocalAdminCurrent, settingsRequestJoinAuthority, settingsWrite } from "./settings-request-capability.js";
|
|
14
14
|
import { noteSettingsWrite, settingsUndo, undoSettingsPaths } from "./settings-transaction.js";
|
|
15
15
|
import { readBoundedWebBody } from "./web-body.js";
|
|
@@ -222,6 +222,143 @@ function spliceChangedLines(original, base, edited) {
|
|
|
222
222
|
}
|
|
223
223
|
return out.join("\n");
|
|
224
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* #3715 (Prism on #3719): after a failed restart, put the room's account back and bring the room up on it — and say
|
|
227
|
+
* what actually happened. The file goes back through the same leaf writer only where nothing changed it since (a newer
|
|
228
|
+
* edit wins, and nothing is restarted for it); the room is restarted only by this operation's own receipt, never over
|
|
229
|
+
* a runtime someone else has stopped or started meanwhile.
|
|
230
|
+
*/
|
|
231
|
+
async function rollBackClassicProfile(ctx, key, instanceName, paths, undo, op, cause) {
|
|
232
|
+
const failed = `The room's restart failed (${cause})`;
|
|
233
|
+
try {
|
|
234
|
+
const retained = undoSettingsPaths(classicPath(ctx), readClassic(ctx), undo);
|
|
235
|
+
if (retained.conflicts) {
|
|
236
|
+
ctx.logger.warn({ key, instanceName }, "update_instance_config: classicBot.yaml changed meanwhile; the newer account is kept");
|
|
237
|
+
return `${failed}. Its account was not put back: classicBot.yaml was changed again meanwhile, and that newer change is kept. Check the room.`;
|
|
238
|
+
}
|
|
239
|
+
writeClassicLeaves(ctx, retained.value, paths);
|
|
240
|
+
}
|
|
241
|
+
catch (rollbackErr) {
|
|
242
|
+
ctx.logger.error({ err: rollbackErr, key }, "update_instance_config: failed to roll back classicBot.yaml");
|
|
243
|
+
return `${failed}, and classicBot.yaml could not be put back (${rollbackErr.message}). The room's backend_options may still name the new account. Check the room.`;
|
|
244
|
+
}
|
|
245
|
+
let recovery;
|
|
246
|
+
try {
|
|
247
|
+
recovery = await op.restore();
|
|
248
|
+
}
|
|
249
|
+
catch (recoveryErr) {
|
|
250
|
+
ctx.logger.error({ err: recoveryErr, instanceName }, "update_instance_config: failed to restore the classic room after rollback");
|
|
251
|
+
return `${failed}. Its account was put back in classicBot.yaml, but starting the room on it failed too (${recoveryErr.message}). Check the room.`;
|
|
252
|
+
}
|
|
253
|
+
return recovery === "restarted" ? `${failed}, so its account was put back and the room was started on it again.`
|
|
254
|
+
: recovery === "not-running" ? `${failed}. Its account was put back in classicBot.yaml; the room was not running.`
|
|
255
|
+
: `${failed}. Its account was put back in classicBot.yaml. The room was not restarted: it was stopped or started by something else meanwhile.`;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* #3715 (M-2961): `update_instance_config` on a ClassicBot room may change its AI account and nothing else —
|
|
259
|
+
* `backend_options.<cli>.credential_profile` (a name, or null / "" for the fleet default). The same write as the room's
|
|
260
|
+
* Settings save (#3691, M-2909): only that room's backend_options lines change, comments and other rooms stay as they
|
|
261
|
+
* are; then the room restarts through restartClassicInstanceFromSettings (the #1753 handoff: Claude's conversation is
|
|
262
|
+
* carried, Kiro starts fresh), and the file is put back if that restart fails. Refused, with nothing written: a room this
|
|
263
|
+
* fleet doesn't have, any other key, a backend without accounts, a profile that doesn't exist on this host or isn't
|
|
264
|
+
* signed in (the web's 409, with the login command).
|
|
265
|
+
*/
|
|
266
|
+
export async function switchClassicRoomProfile(ctx, instanceName, patch) {
|
|
267
|
+
const record = (v) => !!v && typeof v === "object" && !Array.isArray(v);
|
|
268
|
+
if (!record(patch) || !Object.keys(patch).length)
|
|
269
|
+
return { ok: false, error: "backend_options must map a backend to { credential_profile }" };
|
|
270
|
+
for (const [backend, options] of Object.entries(patch)) {
|
|
271
|
+
if (!KNOWN_BACKENDS.includes(backend) || !credentialHomeSpec(backend))
|
|
272
|
+
return { ok: false, error: `${backend} has no named accounts` };
|
|
273
|
+
if (!record(options) || Object.keys(options).length !== 1 || !Object.hasOwn(options, "credential_profile")) {
|
|
274
|
+
return { ok: false, error: `On a ClassicBot room only backend_options.${backend}.credential_profile can be changed` };
|
|
275
|
+
}
|
|
276
|
+
const value = options.credential_profile;
|
|
277
|
+
if (value === null || value === "")
|
|
278
|
+
continue;
|
|
279
|
+
const { problems } = normalizeBackendOptions({ [backend]: { credential_profile: value } });
|
|
280
|
+
if (typeof value !== "string" || problems.length)
|
|
281
|
+
return { ok: false, error: `backend_options.${backend}.credential_profile: ${problems[0]?.message ?? "must be a profile name"}` };
|
|
282
|
+
if (!existsSync(credentialProfileHome(ctx.dataDir, backend, value)))
|
|
283
|
+
return { ok: false, error: `No ${backend} account named "${value}" on this host` };
|
|
284
|
+
const login = signedOutCredentialProfile(ctx.dataDir, backend, value);
|
|
285
|
+
if (login)
|
|
286
|
+
return { ok: false, error: `The ${backend} account "${value}" is not signed in. Sign it in first`, loginCommand: login.loginCommand };
|
|
287
|
+
}
|
|
288
|
+
let classic;
|
|
289
|
+
try {
|
|
290
|
+
classic = readClassic(ctx);
|
|
291
|
+
}
|
|
292
|
+
catch (err) {
|
|
293
|
+
return { ok: false, error: err.message };
|
|
294
|
+
}
|
|
295
|
+
const channels = record(classic.channels) ? classic.channels : {};
|
|
296
|
+
const key = Object.keys(channels).find(k => record(channels[k]) && channels[k].instanceName === instanceName);
|
|
297
|
+
if (key === undefined)
|
|
298
|
+
return { ok: false, error: `No ClassicBot room runs as '${instanceName}' in classicBot.yaml` };
|
|
299
|
+
const room = channels[key];
|
|
300
|
+
const previous = structuredClone(classic);
|
|
301
|
+
// Per backend, as for an agent: setting one CLI's account keeps the others; null / "" goes back to the default.
|
|
302
|
+
const options = structuredClone(record(room.backend_options) ? room.backend_options : {});
|
|
303
|
+
for (const [backend, o] of Object.entries(patch)) {
|
|
304
|
+
const namespace = { ...(record(options[backend]) ? options[backend] : {}) };
|
|
305
|
+
if (o.credential_profile === null || o.credential_profile === "")
|
|
306
|
+
delete namespace.credential_profile;
|
|
307
|
+
else
|
|
308
|
+
namespace.credential_profile = o.credential_profile;
|
|
309
|
+
if (Object.keys(namespace).length)
|
|
310
|
+
options[backend] = namespace;
|
|
311
|
+
else
|
|
312
|
+
delete options[backend];
|
|
313
|
+
}
|
|
314
|
+
const merged = { ...room };
|
|
315
|
+
if (Object.keys(options).length)
|
|
316
|
+
merged.backend_options = options;
|
|
317
|
+
else
|
|
318
|
+
delete merged.backend_options;
|
|
319
|
+
const cd = record(classic.defaults) ? classic.defaults : {};
|
|
320
|
+
const backend = String(room.backend ?? cd.backend ?? ctx.fleetConfig?.defaults?.backend ?? "claude-code");
|
|
321
|
+
const fleetOptions = ctx.fleetConfig?.defaults?.backend_options;
|
|
322
|
+
const after = classicProfile(normalizeBackendOptions(merged.backend_options).options, fleetOptions, backend);
|
|
323
|
+
// The room lands on the fleet default's account when its own is cleared: that one must be signed in too (web: 409).
|
|
324
|
+
if (after.state === "profile") {
|
|
325
|
+
const login = signedOutCredentialProfile(ctx.dataDir, backend, after.name);
|
|
326
|
+
if (login)
|
|
327
|
+
return { ok: false, error: `The ${backend} account "${after.name}" is not signed in. Sign it in first`, loginCommand: login.loginCommand };
|
|
328
|
+
}
|
|
329
|
+
const profile = after.state === "profile" ? after.name : null;
|
|
330
|
+
if (isDeepStrictEqual(merged.backend_options, room.backend_options))
|
|
331
|
+
return { ok: true, channel: key, backend, profile, changed: false };
|
|
332
|
+
channels[key] = merged;
|
|
333
|
+
const invalidBefore = new Set(validateClassicBotConfig(previous).errors.map(issueKey));
|
|
334
|
+
const introduced = validateClassicBotConfig(classic).errors.filter(e => !invalidBefore.has(issueKey(e)));
|
|
335
|
+
if (introduced.length)
|
|
336
|
+
return { ok: false, error: `Rejected: ${introduced.map(e => `${e.path}: ${e.message}`).join("; ")}` };
|
|
337
|
+
if (!ctx.beginClassicProfileSwitch)
|
|
338
|
+
return { ok: false, error: "This fleet cannot restart a ClassicBot room here" };
|
|
339
|
+
const paths = [["channels", key, "backend_options"]];
|
|
340
|
+
// Owned before the write: the runtime this operation may stop, restart and — if that fails — bring back.
|
|
341
|
+
const op = ctx.beginClassicProfileSwitch(instanceName, ["backend_options"]);
|
|
342
|
+
try {
|
|
343
|
+
writeClassicLeaves(ctx, classic, paths);
|
|
344
|
+
}
|
|
345
|
+
catch (err) {
|
|
346
|
+
op.close();
|
|
347
|
+
ctx.logger.warn({ err, key }, "update_instance_config: failed to write classicBot.yaml");
|
|
348
|
+
return { ok: false, error: "failed to write classicBot.yaml" };
|
|
349
|
+
}
|
|
350
|
+
const undo = settingsUndo(classicPath(ctx), previous, classic, paths);
|
|
351
|
+
try {
|
|
352
|
+
await op.restart();
|
|
353
|
+
}
|
|
354
|
+
catch (err) {
|
|
355
|
+
op.close();
|
|
356
|
+
return { ok: false, error: await rollBackClassicProfile(ctx, key, instanceName, paths, undo, op, err.message) };
|
|
357
|
+
}
|
|
358
|
+
op.close();
|
|
359
|
+
ctx.logger.info({ key, instanceName, backend, profile }, "update_instance_config: switched a ClassicBot room's account");
|
|
360
|
+
return { ok: true, channel: key, backend, profile, changed: true };
|
|
361
|
+
}
|
|
225
362
|
const issueKey = (i) => i.path + "\u0000" + i.message;
|
|
226
363
|
/**
|
|
227
364
|
* #1490 (Fable's 2.2 audit): the connection fields Settings writes. A PUT carries whole connections back, so a field
|
|
@@ -1313,7 +1450,10 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
1313
1450
|
json(res, 403, { error: "admin_required" });
|
|
1314
1451
|
return true;
|
|
1315
1452
|
}
|
|
1316
|
-
|
|
1453
|
+
// Keep v=2 on the wire for an older host; only a current code-aware renderer asks for the additive v3 notice DTO.
|
|
1454
|
+
const version = url.searchParams.get("v") === "3" || url.searchParams.get("v") === "2" && url.searchParams.get("notices") === "3" ? 3 : url.searchParams.get("v") === "2" ? 2 : 1;
|
|
1455
|
+
const notices = (api.notices?.() ?? []).filter(n => n.source === "group" || n.source === "manual" && version >= 2 || n.source === "code" && version >= 3);
|
|
1456
|
+
json(res, 200, { ok: true, pairing: api.view(), notices });
|
|
1317
1457
|
return true;
|
|
1318
1458
|
}
|
|
1319
1459
|
if (step === "cancel" && method === "POST") {
|
|
@@ -1742,6 +1882,10 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
1742
1882
|
web.log_tab = parsed.logTab;
|
|
1743
1883
|
changes.push({ path: ["web", "log_tab"], value: parsed.logTab });
|
|
1744
1884
|
}
|
|
1885
|
+
if (parsed.logThinking !== undefined) {
|
|
1886
|
+
web.log_thinking = parsed.logThinking;
|
|
1887
|
+
changes.push({ path: ["web", "log_thinking"], value: parsed.logThinking });
|
|
1888
|
+
}
|
|
1745
1889
|
if (parsed.usageOnPublicLink !== undefined) {
|
|
1746
1890
|
web.usage_report_on_public_link = parsed.usageOnPublicLink;
|
|
1747
1891
|
changes.push({ path: ["web", "usage_report_on_public_link"], value: parsed.usageOnPublicLink });
|
|
@@ -1778,6 +1922,21 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
1778
1922
|
}
|
|
1779
1923
|
web.session = { ...web.session, local };
|
|
1780
1924
|
}
|
|
1925
|
+
if (parsed.publicLinkSession) {
|
|
1926
|
+
const pl = { ...web.session?.public_link };
|
|
1927
|
+
for (const [key, value] of Object.entries(parsed.publicLinkSession)) {
|
|
1928
|
+
if (value === null) {
|
|
1929
|
+
delete pl[key];
|
|
1930
|
+
changes.push({ path: ["web", "session", "public_link", key], value: undefined, remove: true });
|
|
1931
|
+
}
|
|
1932
|
+
else {
|
|
1933
|
+
pl[key] = value;
|
|
1934
|
+
changes.push({ path: ["web", "session", "public_link", key], value });
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
const { public_link: _old, ...rest } = web.session ?? {};
|
|
1938
|
+
web.session = Object.keys(pl).length ? { ...rest, public_link: pl } : rest;
|
|
1939
|
+
}
|
|
1781
1940
|
if (terminalPatch) {
|
|
1782
1941
|
const wt = { ...cfg.web_terminal };
|
|
1783
1942
|
for (const [key, value] of Object.entries(terminalPatch)) {
|
|
@@ -2326,10 +2485,15 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
2326
2485
|
const undo = settingsUndo(classicPath(ctx), previous, classic, Object.keys(body).map(field => ["channels", key, field]));
|
|
2327
2486
|
const execution = settingsRequestExecution(req);
|
|
2328
2487
|
const instanceName = typeof merged.instanceName === "string" ? merged.instanceName : undefined;
|
|
2329
|
-
|
|
2488
|
+
// M-2966: the restart and its compensation are one owned operation (as #3719's tool switch): a plain Save's restart is
|
|
2489
|
+
// owned too, so after a failed start the compensation still owns the room and brings it back on what it had.
|
|
2490
|
+
const op = instanceName ? ctx.beginClassicSettingsRestart?.(instanceName, Object.keys(body), execution) : undefined;
|
|
2491
|
+
const restore = !op && instanceName ? ctx.captureClassicSettingsRestoration?.(instanceName, Object.keys(body), execution) : undefined;
|
|
2330
2492
|
try {
|
|
2331
2493
|
if (instanceName && ctx.restartClassicInstanceFromSettings) {
|
|
2332
|
-
if (
|
|
2494
|
+
if (op)
|
|
2495
|
+
await op.restart();
|
|
2496
|
+
else if (execution)
|
|
2333
2497
|
await ctx.restartClassicInstanceFromSettings(instanceName, Object.keys(body), execution);
|
|
2334
2498
|
else
|
|
2335
2499
|
await ctx.restartClassicInstanceFromSettings(instanceName, Object.keys(body));
|
|
@@ -2338,18 +2502,30 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
2338
2502
|
}
|
|
2339
2503
|
catch (err) {
|
|
2340
2504
|
// Keep disk and runtime consistent if the requested restart fails.
|
|
2505
|
+
let rolledBack = false;
|
|
2341
2506
|
try {
|
|
2342
2507
|
const retained = undoSettingsPaths(classicPath(ctx), readClassic(ctx), undo);
|
|
2343
2508
|
writeClassicAtomic(ctx, retained.value);
|
|
2344
2509
|
if (retained.conflicts)
|
|
2345
2510
|
throw new Error("concurrent Classic edit retained");
|
|
2511
|
+
rolledBack = true;
|
|
2346
2512
|
}
|
|
2347
2513
|
catch (rollbackErr) {
|
|
2348
2514
|
ctx.logger.error({ err: rollbackErr, key }, "settings: failed to roll back classic channel update");
|
|
2349
2515
|
}
|
|
2350
|
-
|
|
2516
|
+
// M-2966 (Prism on #3721): the owned compensation may start a stopped room, so it runs only on a conflict-free
|
|
2517
|
+
// rollback — never onto a newer edit that undo kept, nor onto a file it couldn't put back (as #3719's tool path).
|
|
2518
|
+
if (op && !rolledBack)
|
|
2519
|
+
ctx.logger.warn({ key, instanceName }, "settings: classic rollback incomplete; the room is not restarted");
|
|
2520
|
+
else if (instanceName && ctx.restartClassicInstanceFromSettings) {
|
|
2351
2521
|
try {
|
|
2352
|
-
if (
|
|
2522
|
+
if (op) {
|
|
2523
|
+
// Never over a runtime someone else stopped or started meanwhile ("superseded"): that one stays as it is.
|
|
2524
|
+
const outcome = await op.restore();
|
|
2525
|
+
if (outcome === "superseded")
|
|
2526
|
+
ctx.logger.warn({ key, instanceName }, "settings: classic room changed meanwhile; not restarted after rollback");
|
|
2527
|
+
}
|
|
2528
|
+
else if (restore)
|
|
2353
2529
|
await restore();
|
|
2354
2530
|
else
|
|
2355
2531
|
await ctx.restartClassicInstanceFromSettings(instanceName, Object.keys(body));
|
|
@@ -2358,9 +2534,11 @@ export function handleSettingsRequest(req, res, url, ctx) {
|
|
|
2358
2534
|
ctx.logger.error({ err: recoveryErr, key, instanceName }, "settings: failed to restore classic instance after rollback");
|
|
2359
2535
|
}
|
|
2360
2536
|
}
|
|
2537
|
+
op?.close();
|
|
2361
2538
|
ctx.logger.warn({ err, key, instanceName }, "settings: classic channel restart failed; config rolled back");
|
|
2362
2539
|
return json(res, 409, { error: `classic instance restart failed: ${err.message}` });
|
|
2363
2540
|
}
|
|
2541
|
+
op?.close();
|
|
2364
2542
|
execution?.complete();
|
|
2365
2543
|
ctx.logger.info({ key, instanceName }, "settings: updated classic channel");
|
|
2366
2544
|
const hotOnly = Object.keys(body).length > 0
|