@songsid/agend 2.4.0-beta.24 → 2.4.0-beta.26
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/agend-home.js +5 -5
- package/dist/agend-home.js.map +1 -1
- package/dist/agent-endpoint.js +10 -0
- 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-workspace.d.ts +18 -2
- package/dist/agent-workspace.js +15 -4
- package/dist/agent-workspace.js.map +1 -1
- package/dist/auth-api.js +3 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/antigravity.js +8 -6
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/claude-code.js +17 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/claude-usage-credits.d.ts +8 -0
- package/dist/backend/claude-usage-credits.js +121 -0
- package/dist/backend/claude-usage-credits.js.map +1 -0
- package/dist/backend/types.d.ts +30 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/adapters/discord.js +7 -1
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/channel/mcp-tools.js +1 -1
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/channel/tool-router.js +1 -0
- package/dist/channel/tool-router.js.map +1 -1
- package/dist/cli-audited.js +9 -4
- package/dist/cli-audited.js.map +1 -1
- package/dist/cli.js +184 -21
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.js +11 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +2 -0
- package/dist/config.js.map +1 -1
- package/dist/contact-auth-store.d.ts +18 -0
- package/dist/contact-auth-store.js +55 -8
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-auth-types.d.ts +3 -0
- package/dist/contact-auth-types.js.map +1 -1
- package/dist/contact-change-proposals.d.ts +34 -0
- package/dist/contact-change-proposals.js +1 -1
- package/dist/contact-change-proposals.js.map +1 -1
- package/dist/cross-instance-notice.d.ts +1 -0
- package/dist/cross-instance-notice.js +9 -8
- package/dist/cross-instance-notice.js.map +1 -1
- package/dist/daemon.d.ts +35 -0
- package/dist/daemon.js +234 -19
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-outbox.d.ts +42 -1
- package/dist/delivery-outbox.js +198 -21
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/fleet-context.d.ts +8 -0
- package/dist/fleet-lock.d.ts +83 -2
- package/dist/fleet-lock.js +276 -2
- package/dist/fleet-lock.js.map +1 -1
- package/dist/fleet-manager.d.ts +183 -7
- package/dist/fleet-manager.js +1279 -78
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +20 -1
- package/dist/fleet-windows-runtime.js +98 -18
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +13 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +12 -1
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +3 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +21 -4
- package/dist/home-update-lock.d.ts +35 -0
- package/dist/home-update-lock.js +81 -0
- package/dist/home-update-lock.js.map +1 -0
- package/dist/hub/client.js +7 -0
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +5 -1
- package/dist/hub/compose/member.js +15 -6
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +1 -0
- package/dist/hub/compose/server.js +3 -2
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/http/compose.js +3 -2
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/deps.d.ts +1 -0
- package/dist/hub/member/room-ask.d.ts +12 -8
- package/dist/hub/member/room-ask.js +95 -29
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-mention-feedback.d.ts +2 -0
- package/dist/hub/member/room-mention-feedback.js +1 -1
- package/dist/hub/member/room-mention-feedback.js.map +1 -1
- package/dist/hub/member/room-post-answers.d.ts +2 -0
- package/dist/hub/member/room-post-answers.js +1 -1
- package/dist/hub/member/room-post-answers.js.map +1 -1
- package/dist/hub/member/room-post.d.ts +5 -0
- package/dist/hub/member/room-post.js +4 -1
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/member/room-reaction-acks.d.ts +12 -0
- package/dist/hub/member/room-reaction-acks.js +44 -0
- package/dist/hub/member/room-reaction-acks.js.map +1 -0
- package/dist/hub/member/updates.d.ts +7 -1
- package/dist/hub/member/updates.js +7 -1
- package/dist/hub/member/updates.js.map +1 -1
- package/dist/hub/protocol.d.ts +4 -0
- package/dist/hub/protocol.js +2 -2
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/representative.d.ts +7 -0
- package/dist/hub/representative.js +38 -5
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/roles/audit-details.d.ts +2 -0
- package/dist/hub/roles/audit-details.js +1 -1
- package/dist/hub/roles/audit-details.js.map +1 -1
- package/dist/hub/roles/authority.d.ts +8 -3
- package/dist/hub/roles/authority.js +144 -102
- package/dist/hub/roles/authority.js.map +1 -1
- package/dist/hub/roles/delegation.js +2 -2
- package/dist/hub/roles/delegation.js.map +1 -1
- package/dist/hub/roles/model.d.ts +5 -2
- package/dist/hub/roles/model.js +5 -4
- package/dist/hub/roles/model.js.map +1 -1
- package/dist/hub/roles/review.js +2 -2
- package/dist/hub/roles/review.js.map +1 -1
- package/dist/hub/room-react-ack-model.d.ts +2 -0
- package/dist/hub/room-react-ack-model.js +3 -0
- package/dist/hub/room-react-ack-model.js.map +1 -0
- package/dist/hub/rooms/admin.d.ts +6 -0
- package/dist/hub/rooms/admin.js +33 -0
- package/dist/hub/rooms/admin.js.map +1 -1
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +44 -3
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +5 -1
- package/dist/hub/rooms/service.js +76 -24
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +2 -0
- package/dist/hub/server.js +6 -1
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/types.d.ts +2 -0
- package/dist/install-lock.d.ts +15 -1
- package/dist/install-lock.js +16 -8
- package/dist/install-lock.js.map +1 -1
- package/dist/install-ownership.d.ts +165 -0
- package/dist/install-ownership.js +404 -0
- package/dist/install-ownership.js.map +1 -0
- package/dist/instance-config-impact.js +2 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instructions.d.ts +4 -0
- package/dist/instructions.js +4 -0
- package/dist/instructions.js.map +1 -1
- package/dist/local-pane-endpoint.d.ts +4 -1
- package/dist/local-pane-endpoint.js +12 -2
- package/dist/local-pane-endpoint.js.map +1 -1
- package/dist/locale.js +162 -6
- package/dist/locale.js.map +1 -1
- package/dist/native-agent-admission.d.ts +7 -0
- package/dist/native-agent-admission.js +46 -3
- package/dist/native-agent-admission.js.map +1 -1
- package/dist/native-mcp.d.ts +16 -1
- package/dist/native-mcp.js +38 -5
- package/dist/native-mcp.js.map +1 -1
- package/dist/native-pane-lifecycle.d.ts +9 -0
- package/dist/native-pane-lifecycle.js +23 -0
- package/dist/native-pane-lifecycle.js.map +1 -1
- package/dist/native-pane-manager.d.ts +19 -6
- package/dist/native-pane-manager.js +79 -4
- package/dist/native-pane-manager.js.map +1 -1
- package/dist/needs-you.d.ts +8 -0
- package/dist/needs-you.js +1 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +12 -0
- package/dist/outbound-handlers.js +30 -2
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/package-preimage.js +4 -0
- package/dist/package-preimage.js.map +1 -1
- package/dist/pane-port.d.ts +1 -0
- package/dist/plist-args.d.ts +9 -0
- package/dist/plist-args.js +22 -0
- package/dist/plist-args.js.map +1 -0
- package/dist/public-preview.d.ts +4 -6
- package/dist/public-preview.js +5 -2
- package/dist/public-preview.js.map +1 -1
- package/dist/public-web-gateway.js +10 -3
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.d.ts +13 -1
- package/dist/public-web-link.js +28 -1
- package/dist/public-web-link.js.map +1 -1
- package/dist/recover.cjs +2638 -0
- package/dist/remote-card-prompt.d.ts +6 -2
- package/dist/remote-card-prompt.js +12 -3
- package/dist/remote-card-prompt.js.map +1 -1
- package/dist/reply-draft.d.ts +12 -0
- package/dist/reply-draft.js +81 -0
- package/dist/reply-draft.js.map +1 -0
- package/dist/request-contact-api.d.ts +15 -0
- package/dist/request-contact-api.js +120 -0
- package/dist/request-contact-api.js.map +1 -0
- package/dist/request-contact-card.d.ts +36 -0
- package/dist/request-contact-card.js +206 -0
- package/dist/request-contact-card.js.map +1 -0
- package/dist/request-contact-gate.d.ts +79 -0
- package/dist/request-contact-gate.js +262 -0
- package/dist/request-contact-gate.js.map +1 -0
- package/dist/request-contact-native.d.ts +52 -0
- package/dist/request-contact-native.js +87 -0
- package/dist/request-contact-native.js.map +1 -0
- package/dist/request-contact-types.d.ts +86 -0
- package/dist/request-contact-types.js +7 -0
- package/dist/request-contact-types.js.map +1 -0
- package/dist/request-context-call-protocol.d.ts +12 -0
- package/dist/request-context-call-protocol.js +14 -0
- package/dist/request-context-call-protocol.js.map +1 -0
- package/dist/request-context-call.d.ts +22 -0
- package/dist/request-context-call.js +35 -0
- package/dist/request-context-call.js.map +1 -0
- package/dist/request-context-drain.d.ts +39 -0
- package/dist/request-context-drain.js +159 -0
- package/dist/request-context-drain.js.map +1 -0
- package/dist/request-context-fence.d.ts +28 -0
- package/dist/request-context-fence.js +58 -0
- package/dist/request-context-fence.js.map +1 -0
- package/dist/request-context-migration.d.ts +64 -0
- package/dist/request-context-migration.js +158 -0
- package/dist/request-context-migration.js.map +1 -0
- package/dist/request-context-pane.d.ts +25 -0
- package/dist/request-context-pane.js +48 -0
- package/dist/request-context-pane.js.map +1 -0
- package/dist/request-context-policy.d.ts +74 -0
- package/dist/request-context-policy.js +116 -0
- package/dist/request-context-policy.js.map +1 -0
- package/dist/request-context-recovery.d.ts +14 -0
- package/dist/request-context-recovery.js +56 -0
- package/dist/request-context-recovery.js.map +1 -0
- package/dist/request-context-relay.d.ts +19 -0
- package/dist/request-context-relay.js +63 -0
- package/dist/request-context-relay.js.map +1 -0
- package/dist/request-context-returns.d.ts +67 -0
- package/dist/request-context-returns.js +211 -0
- package/dist/request-context-returns.js.map +1 -0
- package/dist/request-context-store.d.ts +2 -1
- package/dist/request-context-store.js +8 -1
- package/dist/request-context-store.js.map +1 -1
- package/dist/request-context-turns.d.ts +99 -0
- package/dist/request-context-turns.js +215 -0
- package/dist/request-context-turns.js.map +1 -0
- package/dist/request-context-view.d.ts +33 -0
- package/dist/request-context-view.js +36 -0
- package/dist/request-context-view.js.map +1 -0
- package/dist/request-hub-context.d.ts +130 -0
- package/dist/request-hub-context.js +89 -0
- package/dist/request-hub-context.js.map +1 -0
- package/dist/request-hub-output.d.ts +11 -0
- package/dist/request-hub-output.js +21 -0
- package/dist/request-hub-output.js.map +1 -0
- package/dist/runtime-cli-install.js +13 -11
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/runtime-client.d.ts +2 -0
- package/dist/runtime-client.js +17 -4
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-coordinator.d.ts +4 -1
- package/dist/runtime-coordinator.js +10 -3
- package/dist/runtime-coordinator.js.map +1 -1
- package/dist/runtime-pane-assets.d.ts +1 -1
- package/dist/runtime-pane-assets.js +1 -1
- package/dist/runtime-pane-assets.js.map +1 -1
- package/dist/runtime-pane-host.d.ts +3 -0
- package/dist/runtime-pane-host.js +39 -21
- package/dist/runtime-pane-host.js.map +1 -1
- package/dist/runtime-pane-link.d.ts +6 -2
- package/dist/runtime-pane-link.js +17 -4
- package/dist/runtime-pane-link.js.map +1 -1
- package/dist/runtime-pane-mcp-relay.d.ts +11 -1
- package/dist/runtime-pane-mcp-relay.js +69 -3
- package/dist/runtime-pane-mcp-relay.js.map +1 -1
- package/dist/runtime-pane-mcp.d.ts +28 -1
- package/dist/runtime-pane-mcp.js +92 -15
- package/dist/runtime-pane-mcp.js.map +1 -1
- package/dist/runtime-pane-port.d.ts +6 -0
- package/dist/runtime-pane-port.js +23 -4
- package/dist/runtime-pane-port.js.map +1 -1
- package/dist/runtime-pane-protocol.d.ts +4 -0
- package/dist/runtime-pane-protocol.js +11 -4
- package/dist/runtime-pane-protocol.js.map +1 -1
- package/dist/runtime-pane-service.d.ts +1 -0
- package/dist/runtime-pane-service.js +25 -9
- package/dist/runtime-pane-service.js.map +1 -1
- package/dist/runtime-pane-stdio-protocol.d.ts +4 -0
- package/dist/runtime-pane-stdio-protocol.js +12 -5
- package/dist/runtime-pane-stdio-protocol.js.map +1 -1
- package/dist/runtime-pane-stdio.js +5 -5
- package/dist/runtime-pane-stdio.js.map +1 -1
- package/dist/runtime-protocol.d.ts +3 -0
- package/dist/runtime-protocol.js.map +1 -1
- package/dist/scheduler/scheduler.d.ts +15 -0
- package/dist/scheduler/scheduler.js +45 -1
- package/dist/scheduler/scheduler.js.map +1 -1
- package/dist/scheduler/scheduler.test.js +17 -0
- package/dist/scheduler/scheduler.test.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +4 -0
- package/dist/scheduler/task-board.js +6 -0
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/service-activation.js +3 -13
- package/dist/service-activation.js.map +1 -1
- package/dist/service-lock.d.ts +28 -0
- package/dist/service-lock.js +85 -0
- package/dist/service-lock.js.map +1 -0
- package/dist/settings-api.d.ts +6 -0
- package/dist/settings-api.js +107 -0
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +14 -1
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +11 -1
- package/dist/settings-effect.js.map +1 -1
- package/dist/state-lease.d.ts +24 -0
- package/dist/state-lease.js +103 -0
- package/dist/state-lease.js.map +1 -0
- package/dist/tmux-binary.js +1 -1
- package/dist/tmux-binary.js.map +1 -1
- package/dist/tool-receipt-output.d.ts +2 -0
- package/dist/topic-commands.js +21 -1
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-monitor.js +3 -0
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/tunnel/named-link-test.d.ts +27 -0
- package/dist/tunnel/named-link-test.js +41 -0
- package/dist/tunnel/named-link-test.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/ui/chat-store.js +5 -4
- package/dist/ui/contact-auth-strings.js +7 -2
- package/dist/ui/contact-permissions.js +10 -2
- package/dist/ui/fleet-office-card.js +15 -2
- package/dist/ui/fleet-office-pack.d.ts +2 -2
- package/dist/ui/fleet-office-pack.js +25 -8
- package/dist/ui/fleet-office-skin.js +33 -9
- package/dist/ui/fleet-office-vehicles.js +28 -11
- package/dist/ui/fleet-office-zones.js +10 -5
- package/dist/ui/fleet-office.js +158 -20
- package/dist/ui/fleet-task-files.js +1 -1
- package/dist/ui/hub-admin-rooms-strings.js +6 -2
- package/dist/ui/hub-admin-rooms.js +3 -1
- package/dist/ui/hub-group-search.js +2 -2
- package/dist/ui/hub-notify-keep.js +49 -0
- package/dist/ui/hub-role-view.js +1 -1
- package/dist/ui/hub-roles-strings.js +14 -10
- package/dist/ui/hub-roles.js +1 -1
- package/dist/ui/hub-room-notify.js +2 -1
- package/dist/ui/hub-room-strings.js +3 -3
- package/dist/ui/hub-room-thread.js +9 -4
- package/dist/ui/panel-chat.js +15 -2
- package/dist/ui/panel-hub.js +3 -2
- package/dist/ui/panel-needs.js +35 -7
- package/dist/ui/panel-settings.js +22 -8
- package/dist/ui/settings-preview-address.js +156 -0
- package/dist/ui/settings-registry.js +2 -0
- package/dist/ui/settings-strings.js +6 -6
- package/dist/ui/settings-update.js +13 -0
- package/dist/ui/shared/app-install.js +123 -0
- package/dist/ui/shared/app-shell.js +4 -2
- package/dist/ui/shared/app-update.js +16 -2
- package/dist/ui/shared/app.css +119 -2
- package/dist/ui/shared/app.js +3 -0
- package/dist/ui/shared/chat-strings.js +6 -2
- package/dist/ui/shared/chat-thread.js +7 -1
- package/dist/ui/shared/hub-chat.css +6 -0
- package/dist/ui/shared/preview-panel.js +1 -1
- package/dist/ui/shared/preview.js +11 -2
- package/dist/ui/shared/tokens.css +18 -3
- package/dist/ui/shared/ui-confirm.js +7 -5
- package/dist/ui/shared/ui-icons.js +2 -0
- package/dist/ui/shared/update-card-ui.js +419 -0
- package/dist/ui/shared/workspace.css +7 -0
- package/dist/ui/usage-credits-card.js +84 -0
- package/dist/ui/workspace-ignored-strings.js +16 -0
- package/dist/ui/workspace-panel.js +15 -6
- package/dist/update-abandon.d.ts +26 -0
- package/dist/update-abandon.js +111 -0
- package/dist/update-abandon.js.map +1 -0
- package/dist/update-card.d.ts +193 -0
- package/dist/update-card.js +620 -0
- package/dist/update-card.js.map +1 -0
- package/dist/update-dispatch.d.ts +16 -1
- package/dist/update-dispatch.js +12 -4
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-forward.d.ts +59 -0
- package/dist/update-forward.js +227 -0
- package/dist/update-forward.js.map +1 -0
- package/dist/update-goback.d.ts +90 -0
- package/dist/update-goback.js +260 -0
- package/dist/update-goback.js.map +1 -0
- package/dist/update-idle.d.ts +1 -0
- package/dist/update-idle.js +12 -3
- package/dist/update-idle.js.map +1 -1
- package/dist/update-install.d.ts +2 -1
- package/dist/update-install.js +18 -10
- package/dist/update-install.js.map +1 -1
- package/dist/update-journal.d.ts +359 -0
- package/dist/update-journal.js +723 -0
- package/dist/update-journal.js.map +1 -0
- package/dist/update-launch.js +1 -1
- package/dist/update-launch.js.map +1 -1
- package/dist/update-npm-env.d.ts +45 -12
- package/dist/update-npm-env.js +48 -0
- package/dist/update-npm-env.js.map +1 -1
- package/dist/update-package-restore.d.ts +84 -0
- package/dist/update-package-restore.js +329 -0
- package/dist/update-package-restore.js.map +1 -0
- package/dist/update-quiescence.d.ts +221 -0
- package/dist/update-quiescence.js +370 -0
- package/dist/update-quiescence.js.map +1 -0
- package/dist/update-readiness-host.d.ts +61 -0
- package/dist/update-readiness-host.js +297 -0
- package/dist/update-readiness-host.js.map +1 -0
- package/dist/update-readiness.d.ts +83 -0
- package/dist/update-readiness.js +459 -0
- package/dist/update-readiness.js.map +1 -0
- package/dist/update-recovery/kit.d.ts +35 -0
- package/dist/update-recovery/kit.js +99 -0
- package/dist/update-recovery/kit.js.map +1 -0
- package/dist/update-recovery/pre-start.d.ts +34 -0
- package/dist/update-recovery/pre-start.js +103 -0
- package/dist/update-recovery/pre-start.js.map +1 -0
- package/dist/update-recovery/recover-main.d.ts +1 -0
- package/dist/update-recovery/recover-main.js +4 -0
- package/dist/update-recovery/recover-main.js.map +1 -0
- package/dist/update-recovery/recover.d.ts +22 -0
- package/dist/update-recovery/recover.js +134 -0
- package/dist/update-recovery/recover.js.map +1 -0
- package/dist/update-recovery/route.d.ts +53 -0
- package/dist/update-recovery/route.js +262 -0
- package/dist/update-recovery/route.js.map +1 -0
- package/dist/update-recovery/runner.d.ts +62 -0
- package/dist/update-recovery/runner.js +229 -0
- package/dist/update-recovery/runner.js.map +1 -0
- package/dist/update-recovery/service-manager.d.ts +39 -0
- package/dist/update-recovery/service-manager.js +57 -0
- package/dist/update-recovery/service-manager.js.map +1 -0
- package/dist/update-restore.d.ts +50 -0
- package/dist/update-restore.js +360 -0
- package/dist/update-restore.js.map +1 -0
- package/dist/update-retained.d.ts +65 -0
- package/dist/update-retained.js +116 -0
- package/dist/update-retained.js.map +1 -0
- package/dist/update-rollback.d.ts +74 -0
- package/dist/update-rollback.js +221 -0
- package/dist/update-rollback.js.map +1 -0
- package/dist/update-settings.d.ts +63 -0
- package/dist/update-settings.js +162 -0
- package/dist/update-settings.js.map +1 -0
- package/dist/update-snapshot-manifest.d.ts +32 -0
- package/dist/update-snapshot-manifest.js +65 -0
- package/dist/update-snapshot-manifest.js.map +1 -0
- package/dist/update-snapshot-scope.d.ts +67 -0
- package/dist/update-snapshot-scope.js +173 -0
- package/dist/update-snapshot-scope.js.map +1 -0
- package/dist/update-snapshot.d.ts +34 -0
- package/dist/update-snapshot.js +246 -0
- package/dist/update-snapshot.js.map +1 -0
- package/dist/update-writers.d.ts +71 -0
- package/dist/update-writers.js +235 -0
- package/dist/update-writers.js.map +1 -0
- package/dist/web-api.d.ts +3 -0
- package/dist/web-api.js +43 -8
- package/dist/web-api.js.map +1 -1
- package/dist/web-chat-history.d.ts +7 -0
- package/dist/web-chat-history.js +15 -0
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-icons.d.ts +11 -0
- package/dist/web-icons.js +14 -2
- package/dist/web-icons.js.map +1 -1
- package/dist/web-mentions.d.ts +27 -8
- package/dist/web-mentions.js +108 -1
- package/dist/web-mentions.js.map +1 -1
- package/dist/web-office-acts.js +3 -0
- package/dist/web-office-acts.js.map +1 -1
- package/dist/web-preview.d.ts +5 -0
- package/dist/web-preview.js +1 -1
- package/dist/web-preview.js.map +1 -1
- package/dist/web-update.d.ts +6 -0
- package/dist/windows-agents.d.ts +12 -0
- package/dist/windows-agents.js +5 -0
- package/dist/windows-agents.js.map +1 -1
- package/launcher/agend +4 -1
- package/launcher/agend-agent +4 -1
- package/launcher/agend-install.cjs +16 -8
- package/launcher/install-admission.d.cts +8 -0
- package/launcher/npm-allow-scripts.cjs +72 -0
- package/launcher/npm-global-prefix.cjs +81 -0
- package/launcher/postinstall.cjs +9 -8
- package/launcher/runtime-select.cjs +8 -2
- package/package.json +4 -3
- package/scripts/preinstall-guard.cjs +1 -1
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { type RequestContextPolicyPort } from "./request-context-policy.js";
|
|
2
|
+
import type { RequestContactApiHost } from "./request-contact-api.js";
|
|
3
|
+
import type { RequestContactPrincipal } from "./request-contact-types.js";
|
|
4
|
+
import type { RequestContactCards } from "./request-contact-card.js";
|
|
5
|
+
import { type RequestContextRegistrationGate } from "./request-context-fence.js";
|
|
1
6
|
type HubHeldCloseOutcome = import("./hub/question-close-model.js").HubHeldCloseOutcome;
|
|
2
7
|
import { type HostAlertSettings } from './host-monitoring-alert-settings.js';
|
|
3
8
|
import { type SetupTokenOwner, type SetupTokenRequest } from "./claude-setup-token.js";
|
|
@@ -12,7 +17,7 @@ import { SettingsConfirmationStore, type SettingsPendingView } from "./settings-
|
|
|
12
17
|
import { type GeneralSwitchInput } from "./general-binding.js";
|
|
13
18
|
import { SettingsExecution } from "./settings-transaction.js";
|
|
14
19
|
import { AppIconStore } from "./web-app-icon.js";
|
|
15
|
-
import { type NamedTestResult } from "./tunnel/named-link-test.js";
|
|
20
|
+
import { type NamedTestResult, type PreviewRouteResult } from "./tunnel/named-link-test.js";
|
|
16
21
|
import { OfficeShareService } from "./office-share-service.js";
|
|
17
22
|
import { OfficeTalk } from "./office-talk.js";
|
|
18
23
|
import { type OfficeShare } from "./office-share.js";
|
|
@@ -84,6 +89,7 @@ import { RuntimeInstallService } from "./runtime-install.js";
|
|
|
84
89
|
import { RuntimeCoordinator } from "./runtime-coordinator.js";
|
|
85
90
|
import { FleetWindowsRuntime, type NativeRuntimePatch } from "./fleet-windows-runtime.js";
|
|
86
91
|
import { NativeMcpSessions } from "./native-mcp.js";
|
|
92
|
+
import type { RequestContextLocalCall } from "./request-context-call.js";
|
|
87
93
|
import { type LogAnswer, type LogQuery } from "./log-service.js";
|
|
88
94
|
import { type ViewHistoryAnswer, type ViewHistoryQuery } from "./view-history.js";
|
|
89
95
|
import { WebChatHistory, type WebChatPost } from "./web-chat-history.js";
|
|
@@ -110,6 +116,8 @@ import { SearchIndex } from "./search/search-index.js";
|
|
|
110
116
|
import { type CrossInstanceRecord, type XmsgVisibility } from "./search/search-docs.js";
|
|
111
117
|
import { WebSettingsTools } from "./web-settings-tools.js";
|
|
112
118
|
import { type Delegation, type TrafficItem } from "./fleet-traffic.js";
|
|
119
|
+
import { type QuiescenceGate } from "./update-quiescence.js";
|
|
120
|
+
import { type UpdateCardView } from "./update-card.js";
|
|
113
121
|
import { type WebUpdateHost } from "./web-update.js";
|
|
114
122
|
import { WebBackendLogins, type SignInTarget } from "./web-backend-login.js";
|
|
115
123
|
import { type ClaudeInstall } from "./claude-install-kind.js";
|
|
@@ -343,6 +351,21 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
343
351
|
private static sighupHandlerInstalled;
|
|
344
352
|
/** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
|
|
345
353
|
fsyncForTest: ((fd: number) => void) | undefined;
|
|
354
|
+
/** S-244: the quiescence barrier. Unset, every pane write and admission proceeds as today. */
|
|
355
|
+
private quiescence;
|
|
356
|
+
attachQuiescence(gate: QuiescenceGate | null): void;
|
|
357
|
+
private updateHandbackTimer;
|
|
358
|
+
/**
|
|
359
|
+
* M-3770 §2.3/§2.6 (rev 15): this fleet was restarted by an abandon as the attempt's `old` generation (its handoff
|
|
360
|
+
* nonce): it takes the held inbox and deferred jobs back. The first walk runs during the start, before the web chat,
|
|
361
|
+
* the adapters and the agents open any ingress, so a held copy keeps its place ahead of anything newer (Fable #4536
|
|
362
|
+
* design 3b): it waits, bounded, for the abandon driver to journal `restart-old`. Later walks every 10 s pick up
|
|
363
|
+
* stragglers until `hand-back` is journaled or the attempt closes.
|
|
364
|
+
*/
|
|
365
|
+
private startUpdateHandback;
|
|
366
|
+
private walkUpdateHandback;
|
|
367
|
+
/** §2.6 ports, rev 15 (Fable #4536 design): the pump owns a handed-back row again; copies go in as their own kind. */
|
|
368
|
+
private updateHandbackPorts;
|
|
346
369
|
private children;
|
|
347
370
|
readonly lifecycle: InstanceLifecycle;
|
|
348
371
|
readonly stormWindow: StormWindow;
|
|
@@ -403,6 +426,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
403
426
|
fleetConfig: FleetConfig | null;
|
|
404
427
|
private fleetWindowsRuntime;
|
|
405
428
|
private nativeMcpStore;
|
|
429
|
+
private readonly requestContextIpcCalls;
|
|
430
|
+
private readonly requestContextFleetCalls;
|
|
431
|
+
setRequestContextDrainRegistration(registration: RequestContextRegistrationGate): void;
|
|
432
|
+
get requestContextFleetDrainRevision(): string;
|
|
433
|
+
requestContextFleetDrainView(rootId: string): import("./request-context-fence.js").RequestContextDrainView;
|
|
434
|
+
private finishRequestContextIpcCall;
|
|
435
|
+
private purgeRequestContextIpcCalls;
|
|
436
|
+
private observeRequestContextResponses;
|
|
437
|
+
/** Captured at IPC arrival, not a later lookup of this instance's current turn. */
|
|
438
|
+
requestContextCallOf(message: object): RequestContextLocalCall | null;
|
|
439
|
+
private captureRequestContextIpcCall;
|
|
406
440
|
private paneManager;
|
|
407
441
|
private localPaneRelay;
|
|
408
442
|
private openingLocalPane;
|
|
@@ -514,14 +548,53 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
514
548
|
* independently, its progress on the message), pinned to the advice the notice named, re-read now and at the launch.
|
|
515
549
|
*/
|
|
516
550
|
private handleHubUpdateCallback;
|
|
551
|
+
private updateChatCardBusy;
|
|
552
|
+
/** #4485 review 2: a sync asked for while one ran; the running one runs again. */
|
|
553
|
+
private updateChatCardAgain;
|
|
554
|
+
/** #4485 review 2: each posted card's delivery address and the version it shows, by nonce (independent of the pending map). */
|
|
555
|
+
private updateChatCardSent;
|
|
556
|
+
/** #4485 r2: the version each card's buttons answer for, bound when its delivery starts (before the platform answers). */
|
|
557
|
+
private updateChatCardVersion;
|
|
558
|
+
/** #4485 review 2: an answer that came while its card was still being posted (the post records it when it returns). */
|
|
559
|
+
private updateChatCardAnswered;
|
|
560
|
+
private updateChatCardTimer;
|
|
561
|
+
private readUpdateChatCard;
|
|
562
|
+
private writeUpdateChatCard;
|
|
563
|
+
/** The card's words for a state (the offer: two sentences, the second only where true — §3.1, Phase 1). */
|
|
564
|
+
private updateChatCardText;
|
|
565
|
+
/** General's chat place for the card, or null (no General, no chat: a web-only fleet's banner says it). */
|
|
566
|
+
private updateChatCardPlace;
|
|
567
|
+
/**
|
|
568
|
+
* M-3770 1.5: keep General's one update card in step with the fleet's card (S-234's UpdateOfferCard). An offer that
|
|
569
|
+
* newly qualifies (a new version, or back after Not now) is posted with its buttons; every later state edits that same
|
|
570
|
+
* message (its buttons retired: the adapters cannot swap them). Never throws; one at a time.
|
|
571
|
+
*/
|
|
572
|
+
syncUpdateChatCard(): Promise<void>;
|
|
573
|
+
/** Edit the posted card: retire its buttons if they are still live (with `text`), else edit its text without buttons. */
|
|
574
|
+
private editUpdateChatCard;
|
|
575
|
+
/**
|
|
576
|
+
* M-3770 1.5: a press on the chat card — a fleet admin's only (anyone else is told privately, the buttons stay: the
|
|
577
|
+
* same gate as the Hub's Update now). The answer is the web's (the one card); the message is edited to its new state.
|
|
578
|
+
*/
|
|
579
|
+
private handleUpdateCardCallback;
|
|
517
580
|
private hubUpdates;
|
|
518
581
|
private hubUpdateOwned;
|
|
519
582
|
private hubUpdateBootProgress;
|
|
583
|
+
/** This process's local idle launch. Its own claim must not look like some other update holding the machine. */
|
|
584
|
+
private localIdleOwned;
|
|
585
|
+
private localIdleBootProgress;
|
|
520
586
|
private pendingHubFleetUpdates;
|
|
521
587
|
hubFleetUpdates(): import("./hub/member/updates.js").HubMemberUpdates | null;
|
|
588
|
+
/** `ownClaim` is this caller's launch, so that launch does not look busy to itself. The Hub queue passes its claim; the local card passes its own. */
|
|
522
589
|
private hubUpdateIdle;
|
|
523
590
|
private hubUpdateCanInstall;
|
|
524
591
|
private launchHubUpdate;
|
|
592
|
+
/**
|
|
593
|
+
* One idle installer, Hub or local. Claims the machine and writes a marker before any await, then settles the row
|
|
594
|
+
* when the child is gone and the marker is no longer in progress.
|
|
595
|
+
*/
|
|
596
|
+
private launchClaimedUpdate;
|
|
597
|
+
private claimedIdleOutcome;
|
|
525
598
|
private hubUpdateOutcome;
|
|
526
599
|
private recordHubUpdateNotice;
|
|
527
600
|
private postHubUpdateChat;
|
|
@@ -773,6 +846,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
773
846
|
caller: string;
|
|
774
847
|
text: string;
|
|
775
848
|
callerCurrent(): boolean;
|
|
849
|
+
requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
|
|
776
850
|
extras?: import("./hub-report-target.js").HubReportExtras;
|
|
777
851
|
}): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
|
|
778
852
|
/** M-3127 OutboundContext: an agent's `react` on a Hub room question (its correlation id as message_id); null: not one. */
|
|
@@ -781,6 +855,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
781
855
|
caller: string;
|
|
782
856
|
emoji: string;
|
|
783
857
|
callerCurrent(): boolean;
|
|
858
|
+
requestScope?: import("./request-hub-output.js").RequestHubOutputScope;
|
|
784
859
|
}): Promise<import("./hub-report-target.js").HubReportOutcome> | null;
|
|
785
860
|
private hubReacts;
|
|
786
861
|
/** The member side's pane-failure hook for a Hub-issued correlation id (else null). */
|
|
@@ -1109,8 +1184,13 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1109
1184
|
private updateCheckTimer;
|
|
1110
1185
|
/** M-2738: the last update check's answer, for the web (null until the first check settles). */
|
|
1111
1186
|
private updateCheckState;
|
|
1187
|
+
/** S-234: the one durable update offer. Opened on the first check or answer. */
|
|
1188
|
+
private updateCard?;
|
|
1112
1189
|
/** M-2738: a web "check now" in flight, and when the last one ran (one a minute at most). */
|
|
1113
1190
|
private updateCheckNow;
|
|
1191
|
+
/** M-3770 (#4480 §4): the last pre-flight — a diagnostic for the page; every launch proves its local checks again. */
|
|
1192
|
+
private updatePreflight;
|
|
1193
|
+
private updatePreflightRunning;
|
|
1114
1194
|
/** M-2738: a web start's Idempotency-Key → its answer (a retried request never starts a second update). */
|
|
1115
1195
|
private webUpdateStarts;
|
|
1116
1196
|
/**
|
|
@@ -1210,7 +1290,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1210
1290
|
private webChatRemovalPending;
|
|
1211
1291
|
/** #1770: an instance's web-files byte cap (a field, so a test can make it small). */
|
|
1212
1292
|
private webReplyMaxBytes;
|
|
1213
|
-
/** #1682: the people seen on inbound messages (id → name), for the web chat's mention pills; bounded
|
|
1293
|
+
/** #1682: the people seen on inbound messages (id → name), for the web chat's mention pills; bounded; on disk since M-3827. */
|
|
1214
1294
|
readonly seenUsers: SeenUsers;
|
|
1215
1295
|
private webPrefsStore?;
|
|
1216
1296
|
/** #1665: the web preferences kept on the host (<home>/web-prefs.json), read on first use. */
|
|
@@ -1760,6 +1840,22 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1760
1840
|
private contactService;
|
|
1761
1841
|
private contactDeliveryCurrent;
|
|
1762
1842
|
contactPermissions(name: string, actor: ContactPerson): ContactPermissions;
|
|
1843
|
+
/** Identity-only read. This does not install/enable the same-card host. */
|
|
1844
|
+
requestContextPolicy?: RequestContextPolicyPort;
|
|
1845
|
+
requestContextRelay?: import("./request-context-relay.js").RequestContextRelayPort;
|
|
1846
|
+
/** L installs this explicitly; H defines no production switch. */
|
|
1847
|
+
makeRequestContextPolicy(): RequestContextPolicyPort;
|
|
1848
|
+
requestContactPrincipal(req: import("node:http").IncomingMessage, url: URL): RequestContactPrincipal | null;
|
|
1849
|
+
/**
|
|
1850
|
+
* S-229: the same-card service the native cards use. Null — today's M-3680 card and General proposals, unchanged —
|
|
1851
|
+
* until L installs it at the cutover; synthetic rigs install it directly. Installing it grants no actor: every
|
|
1852
|
+
* decision still comes from a platform callback's person through cards.decide.
|
|
1853
|
+
*/
|
|
1854
|
+
private requestContactCardsPort;
|
|
1855
|
+
installRequestContactCards(cards: RequestContactCards | null): void;
|
|
1856
|
+
/** Dormant assembly for L and synthetic rigs; merely defining this method installs no service or route authority. */
|
|
1857
|
+
makeRequestContactCards(): RequestContactCards;
|
|
1858
|
+
makeRequestContactApi(): RequestContactApiHost;
|
|
1763
1859
|
contactActor(req: import("node:http").IncomingMessage, url: URL): ContactPerson | null;
|
|
1764
1860
|
writeContactPermissions(name: string, raw: ContactPermissionsWrite, actor: ContactPerson): ContactPermissions;
|
|
1765
1861
|
clearContactOrigin(name: string, raw: ContactOriginClear, actor: ContactPerson): ContactPermissions;
|
|
@@ -1848,8 +1944,35 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1848
1944
|
/** Requests whose card was posted or tried: forgotten when the request is decided, and at most HELD_CARDS_KEPT. */
|
|
1849
1945
|
private heldTicketCards?;
|
|
1850
1946
|
private syncHeldTicketCard;
|
|
1947
|
+
/** The one General on the target's Discord/Telegram connection that may carry its contact cards. */
|
|
1948
|
+
private contactCardRoute;
|
|
1949
|
+
/**
|
|
1950
|
+
* S-229: post slice I's same card. prepareForNativePost checks this exact General route as the posting owner before
|
|
1951
|
+
* and after reading (authority none, canDecide false); the entry keeps the card's CAS snapshot, so a click decides
|
|
1952
|
+
* exactly the image people saw, through cards.decide.
|
|
1953
|
+
*/
|
|
1954
|
+
private postSameContactCard;
|
|
1955
|
+
/**
|
|
1956
|
+
* S-229: General proposes a decision on the same card — its one suggested choice plus Not now. General never decides:
|
|
1957
|
+
* the platform callback's person does, through cards.decide. Always allow needs people, expiry and a confirmation, so
|
|
1958
|
+
* a grant proposal is sent to the web.
|
|
1959
|
+
*/
|
|
1960
|
+
private proposeSameContactCard;
|
|
1961
|
+
/**
|
|
1962
|
+
* M-3820 (the user, 11-26: General filled with cards edited to "approved elsewhere"): a contact card whose request was
|
|
1963
|
+
* decided or expired somewhere else — the web, another card, a General proposal — is deleted; the card a person pressed
|
|
1964
|
+
* keeps its outcome, and the decision stays in the agent's Permissions history. One try: a delete the platform refuses
|
|
1965
|
+
* (no permission, a Telegram message over 48 h old, a gateway not ready) falls back to the edit it had before.
|
|
1966
|
+
*/
|
|
1967
|
+
private removeDecidedContactCard;
|
|
1851
1968
|
private postHeldTicketCard;
|
|
1852
1969
|
private handleContactTicketCallback;
|
|
1970
|
+
/**
|
|
1971
|
+
* S-229: one click on the same card. The decision is the clicker's, on the posted snapshot, through cards.decide —
|
|
1972
|
+
* the web's writer — so a duplicate, another card or the web racing it yields one committed outcome. A lost race
|
|
1973
|
+
* re-reads and shows that outcome; a changed request closes this card and posts one fresh card.
|
|
1974
|
+
*/
|
|
1975
|
+
private decideSameContactCard;
|
|
1853
1976
|
contactAuthorization(id: string, actor: ContactPerson): ContactTicket;
|
|
1854
1977
|
contactAuthorizations(actor: ContactPerson, filter: {
|
|
1855
1978
|
agent?: string;
|
|
@@ -1902,6 +2025,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1902
2025
|
duplicate: boolean;
|
|
1903
2026
|
kind: string;
|
|
1904
2027
|
};
|
|
2028
|
+
requestDeliveryView(deliveryId: string): {
|
|
2029
|
+
view: import("./request-context-view.js").RequestProvenanceView;
|
|
2030
|
+
body: string;
|
|
2031
|
+
} | null;
|
|
1905
2032
|
queryDurableDeliveryStatus(callerInstance: string, selector: DeliveryStatusSelector): DeliveryStatusPage;
|
|
1906
2033
|
/** A terminal OOM stop is not an auto-wakeable pause, including after a fleet restart. */
|
|
1907
2034
|
private sessionOomStopped;
|
|
@@ -2259,6 +2386,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2259
2386
|
private refreshInstanceExecutionState;
|
|
2260
2387
|
private deliverWithIdleGate;
|
|
2261
2388
|
private holdDeliveryForStorm;
|
|
2389
|
+
/**
|
|
2390
|
+
* Last synchronous commit of a pane write (S-244). True: the barrier journaled an adapter or web turn, so it is
|
|
2391
|
+
* not sent. There is no await between this and `ipc.send`. Unarmed, or not an agent turn: false, and the send proceeds.
|
|
2392
|
+
* A Hub or room payload is not a copy: `refuseHubPane` refuses it before this, and the producer leaves the row queued.
|
|
2393
|
+
*/
|
|
2394
|
+
private holdPaneSend;
|
|
2395
|
+
/** The fence is up and this payload belongs to a durable Hub or room row. Do not send it and do not copy it. */
|
|
2396
|
+
private refuseHubPane;
|
|
2262
2397
|
/**
|
|
2263
2398
|
* Hand a payload to an instance's IPC, waiting out a *transient* disconnect.
|
|
2264
2399
|
*
|
|
@@ -2766,6 +2901,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2766
2901
|
}): Promise<NamedTestResult | {
|
|
2767
2902
|
busy: true;
|
|
2768
2903
|
}>;
|
|
2904
|
+
private previewRouteTestRunning;
|
|
2905
|
+
/**
|
|
2906
|
+
* M-3814: Settings → Access → the fixed preview address's Check — the saved `web.public_link.preview_hostname`,
|
|
2907
|
+
* through the open fixed link's tunnel, to this preview listener (its boot id is the proof). One at a time; starts
|
|
2908
|
+
* nothing. An admin session only, over the public link too (M-3278; settings-api.ts).
|
|
2909
|
+
*/
|
|
2910
|
+
testPreviewRoute(input?: {
|
|
2911
|
+
hostname?: unknown;
|
|
2912
|
+
}): Promise<PreviewRouteResult | {
|
|
2913
|
+
busy: true;
|
|
2914
|
+
}>;
|
|
2769
2915
|
private getTunnelLane;
|
|
2770
2916
|
private publicOwnerCurrent;
|
|
2771
2917
|
/**
|
|
@@ -3604,7 +3750,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3604
3750
|
private setInstanceDescription;
|
|
3605
3751
|
private handleSetDisplayName;
|
|
3606
3752
|
private handleSetDescription;
|
|
3607
|
-
handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown
|
|
3753
|
+
handleScheduleCrudHttp(instance: string, op: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
|
|
3608
3754
|
/**
|
|
3609
3755
|
* The only place an agent's request creates, changes or removes a schedule
|
|
3610
3756
|
* (#895). The IPC handler (MCP calls, direct channel.sock writes) and the
|
|
@@ -3652,14 +3798,14 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3652
3798
|
*/
|
|
3653
3799
|
decisionProjectRootFor(instance: string): string | null;
|
|
3654
3800
|
handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
|
|
3655
|
-
handleTaskCrudHttp(instance: string, args: Record<string, unknown
|
|
3801
|
+
handleTaskCrudHttp(instance: string, args: Record<string, unknown>, _snapshot?: unknown, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
|
|
3656
3802
|
handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
|
|
3657
3803
|
handleListEmojisHttp(instance: string, refresh: boolean, args?: Record<string, unknown>): Promise<unknown>;
|
|
3658
3804
|
handleListStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
3659
3805
|
handlePreviewStickersHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
3660
3806
|
handleSetPersonaEmojiHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
3661
3807
|
/** #1629: `agend-agent theme …` — the same service as the tools; `instance` is the token's. */
|
|
3662
|
-
handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown
|
|
3808
|
+
handleWebThemeHttp(instance: string, tool: string, args: Record<string, unknown>, requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): Promise<unknown>;
|
|
3663
3809
|
handlePreviewEmojisHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
3664
3810
|
handleSetDescriptionHttp(instance: string, description: string): Promise<unknown>;
|
|
3665
3811
|
private summarizeToolCall;
|
|
@@ -3768,7 +3914,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3768
3914
|
* document. Unknown keys and comments remain untouched; redundant
|
|
3769
3915
|
* non-identity instance leaves are canonicalized to inheritance afterward.
|
|
3770
3916
|
*/
|
|
3771
|
-
saveFleetConfig(explicitPatches?: RawConfigPatch[]): void;
|
|
3917
|
+
saveFleetConfig(explicitPatches?: RawConfigPatch[], requestContextAdmission?: import("./request-context-call.js").RequestContextCallAdmission): void;
|
|
3772
3918
|
private sharedIdentitySource;
|
|
3773
3919
|
private sharedDefaultsView;
|
|
3774
3920
|
private pendingRuntimeIdentity;
|
|
@@ -4424,8 +4570,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4424
4570
|
actions: Array<{
|
|
4425
4571
|
id: string;
|
|
4426
4572
|
label: string;
|
|
4573
|
+
hint?: string;
|
|
4574
|
+
role?: import("./backend/types.js").RemoteCardRole;
|
|
4427
4575
|
confirmation?: import("./backend/types.js").RemoteCardOption["confirmation"];
|
|
4428
4576
|
}>;
|
|
4577
|
+
view?: import("./backend/types.js").RemoteCardView;
|
|
4429
4578
|
expiresAt: number;
|
|
4430
4579
|
links?: import("./topic-link.js").TextLink[];
|
|
4431
4580
|
}>;
|
|
@@ -6425,7 +6574,34 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
6425
6574
|
/** Tests only: where lookUpUpdateTarget looks for npm (M-2858); unset in production (the running install, process.env). */
|
|
6426
6575
|
private updateNpmProbe?;
|
|
6427
6576
|
private lookUpUpdateTarget;
|
|
6428
|
-
/** M-
|
|
6577
|
+
/** M-3770: the pre-flight probes (runUpdatePreflight; tests stub that module, so no real npm or systemctl runs). */
|
|
6578
|
+
protected probeUpdatePreflight(opts: {
|
|
6579
|
+
target?: string | null;
|
|
6580
|
+
localOnly?: boolean;
|
|
6581
|
+
}): Promise<import("./update-readiness.js").UpdatePreflight>;
|
|
6582
|
+
/**
|
|
6583
|
+
* M-3770: refresh the cached pre-flight for the offered version. One at a time; never throws. A run is bound to the
|
|
6584
|
+
* version it judged: if the offer moved meanwhile its result is not published (Prism #4483 3) and the run starts again
|
|
6585
|
+
* for the new one. What it finds is merged by check (mergePreflight): a launch's fresher local rows are kept.
|
|
6586
|
+
*/
|
|
6587
|
+
refreshUpdatePreflight(): Promise<void>;
|
|
6588
|
+
/**
|
|
6589
|
+
* M-3770 (#4480 §4.2): identity is proven at the moment of change. The local checks run again now, whatever the cached
|
|
6590
|
+
* result says, and decide; the network ones (P7, P10) are `agend update`'s own. The cache takes the fresh rows and
|
|
6591
|
+
* keeps a cached P7/P10 only while it still applies, with its own age (mergePreflight).
|
|
6592
|
+
* Returns the refusal in words, or null to go ahead.
|
|
6593
|
+
*/
|
|
6594
|
+
updatePreflightGate(origin: "press" | "unattended"): Promise<string | null>;
|
|
6595
|
+
private ensureUpdateCard;
|
|
6596
|
+
/** Display names of agents still working. Pause is not an agent. */
|
|
6597
|
+
private updateBusyNames;
|
|
6598
|
+
private refreshUpdateCard;
|
|
6599
|
+
/** The card, for a test or a chat reply. Null when nothing is offered, including a pin. */
|
|
6600
|
+
updateOfferView(): UpdateCardView | null;
|
|
6601
|
+
describeUpdateOffer(): string;
|
|
6602
|
+
refuseImmediateUpdate(): string | null;
|
|
6603
|
+
beginUpdateRun(): void;
|
|
6604
|
+
/** M-2738: record a look's answer for the web — the same offer the card keeps. */
|
|
6429
6605
|
private recordUpdateCheck;
|
|
6430
6606
|
private checkForUpdates;
|
|
6431
6607
|
/** The web's update routes (web-api.ts handleWebUpdate) read and start through this. */
|