@songsid/agend 2.4.0-beta.17 → 2.4.0-beta.19
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/dist/agent-cli-instructions.md +13 -7
- package/dist/agent-cli.js +149 -49
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-export.d.ts +3 -1
- package/dist/agent-export.js +18 -1
- package/dist/agent-export.js.map +1 -1
- package/dist/agent-whats-new.js +9 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/apply-job.d.ts +2 -2
- package/dist/auth-api.js +1 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/claude-code.d.ts +0 -6
- package/dist/backend/claude-code.js +29 -5
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/claude-transcript-errors.d.ts +4 -0
- package/dist/backend/claude-transcript-errors.js +5 -1
- package/dist/backend/claude-transcript-errors.js.map +1 -1
- package/dist/backend/codex-precaution.js +3 -2
- package/dist/backend/codex-precaution.js.map +1 -1
- package/dist/backend/codex.js +1 -1
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/types.d.ts +6 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-server.js +8 -2
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/channel/mcp-tools.d.ts +27 -1
- package/dist/channel/mcp-tools.js +77 -7
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/chat-task-refs.d.ts +61 -0
- package/dist/chat-task-refs.js +112 -0
- package/dist/chat-task-refs.js.map +1 -0
- package/dist/classic-channel-manager.d.ts +1 -1
- package/dist/classic-channel-manager.js +6 -2
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/claude-credential-launch.d.ts +6 -0
- package/dist/claude-credential-launch.js +16 -3
- package/dist/claude-credential-launch.js.map +1 -1
- package/dist/claude-credential-runner.js +3 -1
- package/dist/claude-credential-runner.js.map +1 -1
- package/dist/claude-setup-token-transport.js +25 -3
- package/dist/claude-setup-token-transport.js.map +1 -1
- package/dist/cli-audited.js +9 -8
- package/dist/cli-audited.js.map +1 -1
- package/dist/composite-tools.d.ts +11 -0
- package/dist/composite-tools.js +29 -0
- package/dist/composite-tools.js.map +1 -0
- package/dist/config-validator.js +22 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +11 -0
- package/dist/config.js.map +1 -1
- package/dist/contact-auth-policy.d.ts +1 -0
- package/dist/contact-auth-policy.js +2 -1
- package/dist/contact-auth-policy.js.map +1 -1
- package/dist/contact-auth-service.js +2 -0
- package/dist/contact-auth-service.js.map +1 -1
- package/dist/contact-auth-store.js +21 -6
- package/dist/contact-auth-store.js.map +1 -1
- package/dist/contact-auth-types.d.ts +2 -0
- package/dist/contact-auth-types.js.map +1 -1
- package/dist/daemon.d.ts +8 -0
- package/dist/daemon.js +66 -13
- package/dist/daemon.js.map +1 -1
- package/dist/darwin-memory.js +2 -1
- package/dist/darwin-memory.js.map +1 -1
- package/dist/dashboard-permissions.d.ts +1 -8
- package/dist/dashboard-permissions.js +8 -9
- package/dist/dashboard-permissions.js.map +1 -1
- package/dist/delivery-outbox.d.ts +0 -6
- package/dist/delivery-outbox.js +0 -25
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-outbox.test.js +132 -96
- package/dist/delivery-outbox.test.js.map +1 -1
- package/dist/fleet-context.d.ts +1 -0
- package/dist/fleet-manager.d.ts +60 -8
- package/dist/fleet-manager.js +404 -107
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +2 -2
- package/dist/fleet-windows-runtime.js +9 -2
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/fleet-yaml-stringify.d.ts +3 -0
- package/dist/fleet-yaml-stringify.js +132 -0
- package/dist/fleet-yaml-stringify.js.map +1 -0
- package/dist/general-knowledge/skills/concepts/SKILL.md +53 -4
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +4 -0
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +21 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +2 -0
- package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +5 -1
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +3 -2
- package/dist/general-knowledge/skills/persona-emoji/SKILL.md +3 -0
- package/dist/general-knowledge/skills/task-board/SKILL.md +63 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +25 -2
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +48 -11
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +4 -0
- package/dist/general-knowledge/steering/core-rules.md +15 -78
- package/dist/general-role-block.d.ts +19 -0
- package/dist/general-role-block.js +56 -0
- package/dist/general-role-block.js.map +1 -0
- 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/host-memory.d.ts +3 -0
- package/dist/host-memory.js.map +1 -1
- package/dist/host-monitoring/darwin/collector.d.ts +18 -0
- package/dist/host-monitoring/darwin/collector.js +65 -0
- package/dist/host-monitoring/darwin/collector.js.map +1 -0
- package/dist/host-monitoring/darwin/defaults.d.ts +2 -0
- package/dist/host-monitoring/darwin/defaults.js +9 -0
- package/dist/host-monitoring/darwin/defaults.js.map +1 -0
- package/dist/host-monitoring/darwin/interpretation.d.ts +20 -0
- package/dist/host-monitoring/darwin/interpretation.js +73 -0
- package/dist/host-monitoring/darwin/interpretation.js.map +1 -0
- package/dist/host-monitoring/linux/collector.d.ts +17 -0
- package/dist/host-monitoring/linux/collector.js +55 -0
- package/dist/host-monitoring/linux/collector.js.map +1 -0
- package/dist/host-monitoring/linux/defaults.d.ts +2 -0
- package/dist/host-monitoring/linux/defaults.js +9 -0
- package/dist/host-monitoring/linux/defaults.js.map +1 -0
- package/dist/host-monitoring/linux/interpretation.d.ts +22 -0
- package/dist/host-monitoring/linux/interpretation.js +76 -0
- package/dist/host-monitoring/linux/interpretation.js.map +1 -0
- package/dist/host-monitoring/transport.d.ts +42 -0
- package/dist/host-monitoring/transport.js +101 -0
- package/dist/host-monitoring/transport.js.map +1 -0
- package/dist/host-monitoring/wsl/collector.d.ts +19 -0
- package/dist/host-monitoring/wsl/collector.js +72 -0
- package/dist/host-monitoring/wsl/collector.js.map +1 -0
- package/dist/host-monitoring/wsl/defaults.d.ts +2 -0
- package/dist/host-monitoring/wsl/defaults.js +9 -0
- package/dist/host-monitoring/wsl/defaults.js.map +1 -0
- package/dist/host-monitoring/wsl/interpretation.d.ts +22 -0
- package/dist/host-monitoring/wsl/interpretation.js +77 -0
- package/dist/host-monitoring/wsl/interpretation.js.map +1 -0
- package/dist/host-monitoring-alert-policy.d.ts +73 -0
- package/dist/host-monitoring-alert-policy.js +152 -0
- package/dist/host-monitoring-alert-policy.js.map +1 -0
- package/dist/host-monitoring-alert-resources.d.ts +11 -0
- package/dist/host-monitoring-alert-resources.js +16 -0
- package/dist/host-monitoring-alert-resources.js.map +1 -0
- package/dist/host-monitoring-alert-settings.d.ts +16 -0
- package/dist/host-monitoring-alert-settings.js +68 -0
- package/dist/host-monitoring-alert-settings.js.map +1 -0
- package/dist/host-monitoring-alert-store.d.ts +49 -0
- package/dist/host-monitoring-alert-store.js +228 -0
- package/dist/host-monitoring-alert-store.js.map +1 -0
- package/dist/host-monitoring-alert-text.d.ts +7 -0
- package/dist/host-monitoring-alert-text.js +10 -0
- package/dist/host-monitoring-alert-text.js.map +1 -0
- package/dist/host-monitoring-alerts.d.ts +79 -0
- package/dist/host-monitoring-alerts.js +276 -0
- package/dist/host-monitoring-alerts.js.map +1 -0
- package/dist/host-monitoring-defaults.d.ts +19 -0
- package/dist/host-monitoring-defaults.js +10 -0
- package/dist/host-monitoring-defaults.js.map +1 -0
- package/dist/host-monitoring-footprint-policy.d.ts +45 -0
- package/dist/host-monitoring-footprint-policy.js +150 -0
- package/dist/host-monitoring-footprint-policy.js.map +1 -0
- package/dist/host-monitoring-footprint.d.ts +42 -0
- package/dist/host-monitoring-footprint.js +169 -0
- package/dist/host-monitoring-footprint.js.map +1 -0
- package/dist/host-monitoring-history-policy.d.ts +2 -0
- package/dist/host-monitoring-history-policy.js +16 -2
- package/dist/host-monitoring-history-policy.js.map +1 -1
- package/dist/host-monitoring-history-store.js +8 -6
- package/dist/host-monitoring-history-store.js.map +1 -1
- package/dist/host-monitoring-history-worker.js +19 -3
- package/dist/host-monitoring-history-worker.js.map +1 -1
- package/dist/host-monitoring-history.d.ts +9 -0
- package/dist/host-monitoring-history.js +45 -9
- package/dist/host-monitoring-history.js.map +1 -1
- package/dist/host-monitoring-platform.d.ts +18 -70
- package/dist/host-monitoring-platform.js +14 -269
- package/dist/host-monitoring-platform.js.map +1 -1
- package/dist/host-monitoring-process-identity.d.ts +8 -0
- package/dist/host-monitoring-process-identity.js +81 -0
- package/dist/host-monitoring-process-identity.js.map +1 -0
- package/dist/host-monitoring-runtime.d.ts +8 -0
- package/dist/host-monitoring-runtime.js +18 -3
- package/dist/host-monitoring-runtime.js.map +1 -1
- package/dist/host-monitoring.d.ts +15 -0
- package/dist/host-monitoring.js.map +1 -1
- package/dist/hub/agent-catalog-model.d.ts +21 -0
- package/dist/hub/agent-catalog-model.js +9 -1
- package/dist/hub/agent-catalog-model.js.map +1 -1
- package/dist/hub/agent-catalog.d.ts +4 -1
- package/dist/hub/agent-catalog.js +11 -0
- package/dist/hub/agent-catalog.js.map +1 -1
- package/dist/hub/catalog.js +12 -0
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.js +4 -1
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +5 -0
- package/dist/hub/compose/member.js +25 -5
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +2 -0
- package/dist/hub/compose/server.js +4 -2
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/http/compose.d.ts +5 -0
- package/dist/hub/http/compose.js +25 -2
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/deps.d.ts +2 -0
- package/dist/hub/http/schema.js +4 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/lapse-carry.d.ts +45 -0
- package/dist/hub/lapse-carry.js +62 -0
- package/dist/hub/lapse-carry.js.map +1 -0
- package/dist/hub/member/agent-catalog.d.ts +4 -1
- package/dist/hub/member/agent-catalog.js +15 -4
- package/dist/hub/member/agent-catalog.js.map +1 -1
- package/dist/hub/member/agent-intro.d.ts +4 -3
- package/dist/hub/member/agent-intro.js +7 -0
- package/dist/hub/member/agent-intro.js.map +1 -1
- package/dist/hub/member/exposure-api.d.ts +2 -0
- package/dist/hub/member/exposure-api.js +8 -1
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/room-post.d.ts +34 -6
- package/dist/hub/member/room-post.js +30 -0
- package/dist/hub/member/room-post.js.map +1 -1
- package/dist/hub/member/sharing.d.ts +2 -0
- package/dist/hub/member/sharing.js +9 -2
- package/dist/hub/member/sharing.js.map +1 -1
- package/dist/hub/protocol.d.ts +2 -0
- package/dist/hub/room-brief-model.js +2 -1
- package/dist/hub/room-brief-model.js.map +1 -1
- package/dist/hub/rooms/agents.d.ts +2 -0
- package/dist/hub/rooms/agents.js +16 -2
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/office.d.ts +82 -0
- package/dist/hub/rooms/office.js +46 -0
- package/dist/hub/rooms/office.js.map +1 -0
- package/dist/hub/rooms/service.d.ts +66 -1
- package/dist/hub/rooms/service.js +67 -11
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +4 -0
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/server.js +9 -2
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/sharing-requests.d.ts +5 -2
- package/dist/hub/sharing-requests.js +19 -4
- package/dist/hub/sharing-requests.js.map +1 -1
- package/dist/instance-config-impact.js +1 -1
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.js +8 -9
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instruction-file-sizes.d.ts +46 -0
- package/dist/instruction-file-sizes.js +115 -0
- package/dist/instruction-file-sizes.js.map +1 -0
- package/dist/instructions.d.ts +35 -1
- package/dist/instructions.js +59 -33
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +16 -4
- package/dist/locale.js.map +1 -1
- package/dist/log-steps.d.ts +5 -0
- package/dist/log-steps.js +6 -2
- package/dist/log-steps.js.map +1 -1
- package/dist/memory-guidance.d.ts +5 -0
- package/dist/memory-guidance.js +14 -0
- package/dist/memory-guidance.js.map +1 -0
- package/dist/model-defaults.d.ts +5 -0
- package/dist/model-defaults.js +6 -0
- package/dist/model-defaults.js.map +1 -0
- package/dist/native-mcp.d.ts +2 -0
- package/dist/native-mcp.js +16 -6
- package/dist/native-mcp.js.map +1 -1
- package/dist/needs-you-hub.d.ts +3 -0
- package/dist/needs-you-hub.js +7 -1
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +15 -2
- package/dist/needs-you.js +6 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/outbound-handlers.d.ts +3 -3
- package/dist/outbound-schemas.d.ts +3 -0
- package/dist/outbound-schemas.js +27 -26
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/public-web-gateway.js +7 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/quickstart.d.ts +1 -1
- package/dist/quickstart.js +2 -3
- package/dist/quickstart.js.map +1 -1
- package/dist/remote-card-prompt.d.ts +1 -0
- package/dist/remote-card-prompt.js +1 -1
- package/dist/remote-card-prompt.js.map +1 -1
- package/dist/runtime-build-info.js +1 -1
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli-install.js +9 -9
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/runtime-pane-mcp.js +7 -3
- package/dist/runtime-pane-mcp.js.map +1 -1
- package/dist/runtime-pane-native.js +2 -1
- package/dist/runtime-pane-native.js.map +1 -1
- package/dist/scheduler/db.js +2 -0
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/task-board-mentions.d.ts +32 -0
- package/dist/scheduler/task-board-mentions.js +97 -0
- package/dist/scheduler/task-board-mentions.js.map +1 -0
- package/dist/scheduler/task-board-text.js +3 -0
- package/dist/scheduler/task-board-text.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +199 -3
- package/dist/scheduler/task-board.js +492 -7
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/settings-api.d.ts +5 -1
- package/dist/settings-api.js +77 -2
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.js +5 -4
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.js +4 -2
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.d.ts +2 -0
- package/dist/settings-effect.js +20 -1
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-instance-patch.js +3 -1
- package/dist/settings-instance-patch.js.map +1 -1
- package/dist/setup-host.d.ts +2 -3
- package/dist/setup-host.js +3 -5
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-wizard.js +0 -2
- package/dist/setup-wizard.js.map +1 -1
- package/dist/shared-default-adoption.d.ts +24 -0
- package/dist/shared-default-adoption.js +73 -0
- package/dist/shared-default-adoption.js.map +1 -0
- package/dist/subagent-records.d.ts +2 -0
- package/dist/subagent-records.js +11 -1
- package/dist/subagent-records.js.map +1 -1
- package/dist/subagent-service.d.ts +3 -0
- package/dist/subagent-service.js +24 -4
- package/dist/subagent-service.js.map +1 -1
- package/dist/task-board-tool.d.ts +31 -0
- package/dist/task-board-tool.js +31 -0
- package/dist/task-board-tool.js.map +1 -1
- package/dist/task-board-waker.d.ts +23 -30
- package/dist/task-board-waker.js +136 -97
- package/dist/task-board-waker.js.map +1 -1
- package/dist/topic-commands.js +4 -0
- package/dist/topic-commands.js.map +1 -1
- package/dist/types.d.ts +23 -0
- package/dist/ui/agent-details-settings.js +2 -2
- package/dist/ui/agent-export-dialog.js +4 -3
- package/dist/ui/agent-export-strings.js +4 -4
- package/dist/ui/agent-page-strings.js +18 -0
- package/dist/ui/chat-activity-groups.js +1 -1
- package/dist/ui/chat-activity.js +17 -0
- package/dist/ui/chat-store.js +34 -8
- package/dist/ui/chat-task-ref-strings.js +24 -0
- package/dist/ui/chat-task-refs.js +129 -0
- package/dist/ui/claude-setup-token.js +3 -3
- package/dist/ui/contact-auth-strings.js +33 -3
- package/dist/ui/contact-authorizations.js +17 -24
- package/dist/ui/contact-grant-editor.js +50 -0
- package/dist/ui/contact-permissions.js +21 -8
- package/dist/ui/fleet-office-card.js +18 -14
- package/dist/ui/fleet-office.js +29 -17
- package/dist/ui/fleet-task-activity.js +362 -0
- package/dist/ui/fleet-task-card.js +317 -314
- package/dist/ui/fleet-task-common.js +99 -9
- package/dist/ui/fleet-task-create.js +67 -0
- package/dist/ui/fleet-task-edit.js +204 -0
- package/dist/ui/fleet-task-follow.js +123 -0
- package/dist/ui/fleet-task-menu.js +1 -1
- package/dist/ui/fleet-task-owner.js +252 -0
- package/dist/ui/fleet-task-run.js +257 -0
- package/dist/ui/fleet-task-view.js +178 -39
- package/dist/ui/fleet-task-work.js +2 -2
- package/dist/ui/fleet-tasks.js +258 -130
- package/dist/ui/host-alerts.js +23 -0
- package/dist/ui/host-footprint.js +17 -0
- package/dist/ui/host-health.js +24 -16
- package/dist/ui/host-monitoring-darwin.js +6 -0
- package/dist/ui/host-monitoring-help.js +7 -0
- package/dist/ui/host-monitoring-linux.js +6 -0
- package/dist/ui/host-monitoring-wsl.js +6 -0
- package/dist/ui/host-time.js +5 -0
- package/dist/ui/hub-agent-copy.js +2 -0
- package/dist/ui/hub-client.js +4 -0
- package/dist/ui/hub-my-agents-strings.js +2 -0
- package/dist/ui/hub-my-agents.js +17 -1
- package/dist/ui/hub-room-composer.js +108 -5
- package/dist/ui/hub-room-members-strings.js +9 -2
- package/dist/ui/hub-room-members.js +72 -15
- package/dist/ui/hub-room-office.js +191 -0
- package/dist/ui/hub-room-purpose.js +18 -2
- package/dist/ui/hub-room-settings.js +8 -1
- package/dist/ui/hub-room-strings.js +15 -0
- package/dist/ui/hub-room-thread.js +51 -15
- package/dist/ui/hub-strings.js +1 -1
- package/dist/ui/log-row.js +7 -5
- package/dist/ui/native-instance-settings.js +4 -2
- package/dist/ui/panel-chat.js +98 -17
- package/dist/ui/panel-details.js +17 -0
- package/dist/ui/panel-fleet.js +1 -1
- package/dist/ui/panel-hub.js +4 -1
- package/dist/ui/panel-needs.js +38 -18
- package/dist/ui/panel-settings.js +58 -13
- package/dist/ui/settings-apply.js +8 -3
- package/dist/ui/settings-default-model-scope.js +40 -0
- package/dist/ui/settings-default-model-strings.js +43 -0
- package/dist/ui/settings-dialogs.js +9 -5
- package/dist/ui/settings-host-alerts.js +23 -0
- package/dist/ui/settings-host-monitoring.js +10 -8
- package/dist/ui/settings-hub.js +1 -1
- package/dist/ui/settings-layout.js +7 -2
- package/dist/ui/settings-model.js +9 -5
- package/dist/ui/settings-quota-notice.js +3 -3
- package/dist/ui/settings-registry.js +3 -0
- package/dist/ui/settings-shared-strings.js +22 -0
- package/dist/ui/settings-shared.js +59 -12
- package/dist/ui/settings-strings.js +2 -4
- package/dist/ui/shared/app-i18n.js +2 -2
- package/dist/ui/shared/app.css +169 -50
- package/dist/ui/shared/chat-composer.js +7 -6
- package/dist/ui/shared/chat-render.js +63 -10
- package/dist/ui/shared/chat-strings.js +2 -2
- package/dist/ui/shared/chat-thread.js +10 -3
- package/dist/ui/shared/composer-focus.js +21 -0
- package/dist/ui/shared/hub-chat.css +30 -2
- package/dist/ui/shared/hub-rooms-u2.css +17 -0
- package/dist/ui/shared/task-board.css +406 -8
- package/dist/ui/trigger-complete.js +71 -0
- package/dist/web-api.d.ts +11 -1
- package/dist/web-api.js +324 -18
- package/dist/web-api.js.map +1 -1
- package/dist/web-chat-history.d.ts +40 -1
- package/dist/web-chat-history.js +131 -9
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-guest-access.js +4 -4
- package/dist/web-guest-access.js.map +1 -1
- package/dist/web-upload.d.ts +1 -1
- package/dist/web-upload.js.map +1 -1
- package/dist/windows-native-mcp.js +5 -2
- package/dist/windows-native-mcp.js.map +1 -1
- package/dist/workflow-templates/default.md +4 -6
- package/package.json +1 -1
package/dist/daemon.d.ts
CHANGED
|
@@ -1592,6 +1592,14 @@ export declare class Daemon extends EventEmitter {
|
|
|
1592
1592
|
getHangDetector(): HangDetector | null;
|
|
1593
1593
|
getInstanceState(): InstanceState | "paused";
|
|
1594
1594
|
getInstanceStateSnapshot(): InstanceStateSnapshot;
|
|
1595
|
+
private footprintEnabled;
|
|
1596
|
+
private footprintPane;
|
|
1597
|
+
setHostFootprintEnabled(enabled: boolean): void;
|
|
1598
|
+
hostFootprintRoot(): {
|
|
1599
|
+
pid: number;
|
|
1600
|
+
owner: string;
|
|
1601
|
+
observedAt: number;
|
|
1602
|
+
} | null;
|
|
1595
1603
|
private interactionOwner;
|
|
1596
1604
|
/** Cached, pure observation read; it never captures, constructs a backend or writes stdin. */
|
|
1597
1605
|
getInteractionSnapshot(): InteractionSnapshot;
|
package/dist/daemon.js
CHANGED
|
@@ -679,7 +679,7 @@ const INPUT_TRANSIENT_STALL_MS = 30_000;
|
|
|
679
679
|
*/
|
|
680
680
|
const INPUT_TRANSIENT_WAIT_MS = 10 * 60_000;
|
|
681
681
|
const INPUT_TRANSIENT_POLL_MS = 250;
|
|
682
|
-
/** Max
|
|
682
|
+
/** Max actual stranded-text recovery Enters per delivery; a busy observation spends none. */
|
|
683
683
|
const STRANDED_INPUT_MAX_ROUNDS = 3;
|
|
684
684
|
/** The Claude phrasing every backend was judged by before #1217; still the default for a backend that names none. */
|
|
685
685
|
const LEGACY_NO_CONVERSATION = /no conversation found|no conversation to (continue|resume)|no previous (session|conversation)/i;
|
|
@@ -3965,9 +3965,12 @@ export class Daemon extends EventEmitter {
|
|
|
3965
3965
|
return;
|
|
3966
3966
|
}
|
|
3967
3967
|
const native = this.nativePaneLifecycle, pane = this.tmux;
|
|
3968
|
+
const footprintObservedAt = this.footprintEnabled ? Date.now() : 0, footprintOwner = this.footprintEnabled ? JSON.stringify(this.interactionOwner()) : null;
|
|
3968
3969
|
const status = await pane?.getPaneStatus();
|
|
3969
3970
|
if (this.runtimeMonitorsFrozen || native !== this.nativePaneLifecycle || pane !== this.tmux)
|
|
3970
3971
|
return;
|
|
3972
|
+
if (this.footprintEnabled && status?.alive && status.pid && footprintOwner === JSON.stringify(this.interactionOwner()))
|
|
3973
|
+
this.footprintPane = { pid: status.pid, owner: footprintOwner, observedAt: footprintObservedAt, pane };
|
|
3971
3974
|
const snapshot = native.snapshot?.();
|
|
3972
3975
|
if (status?.alive === false && snapshot?.state === "exited") {
|
|
3973
3976
|
this.healthCheckPaused = true;
|
|
@@ -4008,12 +4011,15 @@ export class Daemon extends EventEmitter {
|
|
|
4008
4011
|
scheduleNext();
|
|
4009
4012
|
return true;
|
|
4010
4013
|
};
|
|
4014
|
+
const footprintObservedAt = this.footprintEnabled ? Date.now() : 0;
|
|
4011
4015
|
let paneStatus = await healthTmux.getPaneStatus();
|
|
4012
4016
|
// Auto-pause intentionally exits the pane process. A health tick that
|
|
4013
4017
|
// began just before pause must not classify that exit as a crash.
|
|
4014
4018
|
if (discardStaleHealth())
|
|
4015
4019
|
return;
|
|
4016
4020
|
if (paneStatus?.alive) {
|
|
4021
|
+
if (this.footprintEnabled && footprintObservedAt > 0 && paneStatus.pid)
|
|
4022
|
+
this.footprintPane = { pid: paneStatus.pid, owner: JSON.stringify(healthOwner), observedAt: footprintObservedAt, pane: healthTmux };
|
|
4017
4023
|
// A CLI shutdown also closes its MCP children. Revive tools only for
|
|
4018
4024
|
// a positively live pane, never while its exit is being classified.
|
|
4019
4025
|
measureSyncWork("daemon.healthCheck", () => this.checkMcpServerAlive());
|
|
@@ -6051,6 +6057,16 @@ export class Daemon extends EventEmitter {
|
|
|
6051
6057
|
}
|
|
6052
6058
|
return { ...snapshot, interaction: this.getInteractionSnapshot() };
|
|
6053
6059
|
}
|
|
6060
|
+
footprintEnabled = false;
|
|
6061
|
+
footprintPane = null;
|
|
6062
|
+
setHostFootprintEnabled(enabled) { this.footprintEnabled = enabled; if (!enabled)
|
|
6063
|
+
this.footprintPane = null; }
|
|
6064
|
+
hostFootprintRoot() {
|
|
6065
|
+
const cached = this.footprintPane;
|
|
6066
|
+
if (!this.footprintEnabled || !cached || cached.pane !== this.tmux || cached.owner !== JSON.stringify(this.interactionOwner()) || this.isPaused || this.spawning || this.healthCheckPaused || this.runtimeMonitorsFrozen || Date.now() - cached.observedAt > 120000)
|
|
6067
|
+
return null;
|
|
6068
|
+
return { pid: cached.pid, owner: cached.owner, observedAt: cached.observedAt };
|
|
6069
|
+
}
|
|
6054
6070
|
interactionOwner() {
|
|
6055
6071
|
return { bootId: this.bootId, spawnGeneration: this.spawnGeneration,
|
|
6056
6072
|
launchAttempt: this.launchAttempt, launchFenceEpoch: this.launchFenceEpoch };
|
|
@@ -8719,7 +8735,7 @@ export class Daemon extends EventEmitter {
|
|
|
8719
8735
|
// terminal state is announced by the outbox only after its retry/TTL policy
|
|
8720
8736
|
// is exhausted; emitting ❌ here would expose a transient gate timeout.
|
|
8721
8737
|
if (status && !verdict.durableAttempt)
|
|
8722
|
-
this.emit("message_failed", status); // ❌
|
|
8738
|
+
this.emit("message_failed", { ...status, phase, proof }); // ❌
|
|
8723
8739
|
return false;
|
|
8724
8740
|
}
|
|
8725
8741
|
/** Tell the fleet when an already-accepted cross-instance pane write failed. */
|
|
@@ -9222,29 +9238,50 @@ export class Daemon extends EventEmitter {
|
|
|
9222
9238
|
// must come back AND the check runs again — the stranded text may still
|
|
9223
9239
|
// be there. "failed" (the Enter could not be sent) fails the delivery:
|
|
9224
9240
|
// pasting now would submit both messages as one.
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
return
|
|
9241
|
+
const inputDeadline = Date.now() + 30 * 60_000;
|
|
9242
|
+
let submissions = 0;
|
|
9243
|
+
let unavailableProbes = 0;
|
|
9244
|
+
for (;;) {
|
|
9245
|
+
if (cancelled())
|
|
9246
|
+
return false;
|
|
9247
|
+
if (Date.now() >= inputDeadline) {
|
|
9248
|
+
this.logger.error("Input row stayed unavailable until the delivery deadline");
|
|
9249
|
+
return this.failDelivery(verdict, status, "stranded-input", "input-not-clear-timeout");
|
|
9231
9250
|
}
|
|
9232
|
-
|
|
9251
|
+
// Only actual recovery Enters spend the submission budget. A live pane's
|
|
9252
|
+
// unreadable/changing composer may need time, not three synchronous probes.
|
|
9253
|
+
const stranded = await this.submitStrandedInputIfAny(windowId, submissions < STRANDED_INPUT_MAX_ROUNDS);
|
|
9233
9254
|
if (cancelled())
|
|
9234
9255
|
return false;
|
|
9235
9256
|
if (stranded === "idle")
|
|
9236
9257
|
break;
|
|
9258
|
+
if (stranded === "exhausted") {
|
|
9259
|
+
this.logger.error({ submissions }, "Input row still not clear after the stranded-text recovery budget — reporting delivery failure");
|
|
9260
|
+
return this.failDelivery(verdict, status, "stranded-input", "retry-budget-exhausted");
|
|
9261
|
+
}
|
|
9237
9262
|
if (stranded === "failed") {
|
|
9238
|
-
this.logger.error({
|
|
9263
|
+
this.logger.error({ submissions }, "Could not submit the stranded text — reporting delivery failure");
|
|
9239
9264
|
return this.failDelivery(verdict, status, "stranded-input", "enter-failed");
|
|
9240
9265
|
}
|
|
9241
|
-
|
|
9266
|
+
if (stranded === "submitted")
|
|
9267
|
+
submissions++;
|
|
9268
|
+
// Only the proven empty unknown-footer candidate needs the timed
|
|
9269
|
+
// fallback. Preserve the existing bounded refusal for other unsafe
|
|
9270
|
+
// input (including a stranded draft whose footer cannot be proved).
|
|
9271
|
+
if (stranded === "busy" && this.footerFallbackPaneKey === null && ++unavailableProbes >= STRANDED_INPUT_MAX_ROUNDS) {
|
|
9272
|
+
return this.failDelivery(verdict, status, "stranded-input", "input-not-clear");
|
|
9273
|
+
}
|
|
9274
|
+
const readyAgain = await this.waitForPaneReadyForDelivery(windowId, inputDeadline - Date.now());
|
|
9242
9275
|
if (cancelled())
|
|
9243
9276
|
return false;
|
|
9244
9277
|
if (!readyAgain) {
|
|
9245
|
-
this.logger.error("Pane never returned to its prompt after
|
|
9278
|
+
this.logger.error("Pane never returned to its prompt after checking stranded input — reporting delivery failure");
|
|
9246
9279
|
return this.failDelivery(verdict, status, "stranded-input", "prompt-timeout");
|
|
9247
9280
|
}
|
|
9281
|
+
// After startup, the general idle gate can pass while the stricter input
|
|
9282
|
+
// proof is still collecting a stable composer. Yield before re-reading it.
|
|
9283
|
+
if (stranded === "busy")
|
|
9284
|
+
await new Promise(resolve => setTimeout(resolve, BOTTOM_READY_POLL_MS));
|
|
9248
9285
|
}
|
|
9249
9286
|
}
|
|
9250
9287
|
// Everything above is *waiting*; everything below owns the write lock.
|
|
@@ -10809,7 +10846,7 @@ export class Daemon extends EventEmitter {
|
|
|
10809
10846
|
this.logger.error({ rows: rows.length }, "The input box did not empty — not writing this delivery onto it");
|
|
10810
10847
|
return "not-cleared";
|
|
10811
10848
|
}
|
|
10812
|
-
async submitStrandedInputIfAny(windowId) {
|
|
10849
|
+
async submitStrandedInputIfAny(windowId, allowSubmit = true) {
|
|
10813
10850
|
if (!this.tmux || !this.backend)
|
|
10814
10851
|
return "idle";
|
|
10815
10852
|
const prompt = this.backend.getBottomReadyPattern?.();
|
|
@@ -10840,6 +10877,8 @@ export class Daemon extends EventEmitter {
|
|
|
10840
10877
|
return "idle";
|
|
10841
10878
|
if (state !== "stranded")
|
|
10842
10879
|
return "busy"; // busy, or unreadable: no evidence the prompt is free
|
|
10880
|
+
if (!allowSubmit)
|
|
10881
|
+
return "exhausted"; // a final clear check is allowed, a fourth recovery Enter is not
|
|
10843
10882
|
const sent = await this.sendDeliveryEnter("stranded-input-submit");
|
|
10844
10883
|
return sent ? "submitted" : "failed";
|
|
10845
10884
|
});
|
|
@@ -10862,6 +10901,16 @@ export class Daemon extends EventEmitter {
|
|
|
10862
10901
|
return "busy";
|
|
10863
10902
|
if (this.backend?.getBusyPattern?.()?.test(pane))
|
|
10864
10903
|
return "busy";
|
|
10904
|
+
// The timed footer fallback is valid only in a live raw TUI, even
|
|
10905
|
+
// after the startup guard has retired. Historical shell scrollback is not
|
|
10906
|
+
// evidence that a composer still owns the terminal.
|
|
10907
|
+
const known = this.backend?.isDeliveryInputReadyPane?.(pane);
|
|
10908
|
+
if (known === false && this.backend?.isStableUnknownLayoutIdlePane?.(pane)) {
|
|
10909
|
+
if (this.nativePaneLifecycle || await this.tmux?.getPaneInputMode?.() !== "raw") {
|
|
10910
|
+
this.resetFooterFallback();
|
|
10911
|
+
return "busy";
|
|
10912
|
+
}
|
|
10913
|
+
}
|
|
10865
10914
|
if (!this.deliveryInputReadyPane(pane))
|
|
10866
10915
|
return "busy";
|
|
10867
10916
|
if (strandedAgendMessageInInput(pane, prompt)) {
|
|
@@ -13546,9 +13595,11 @@ export class Daemon extends EventEmitter {
|
|
|
13546
13595
|
taskBoard: !dashboardOff.includes("task_board"),
|
|
13547
13596
|
workingDirectory: this.config.working_directory,
|
|
13548
13597
|
runtimeIdentity: this.runtimeIdentity,
|
|
13598
|
+
restrictedClassic: !!this.classicRestriction,
|
|
13549
13599
|
displayName: this.config.display_name,
|
|
13550
13600
|
description: this.config.description,
|
|
13551
13601
|
customPrompt: resolvedCustomPrompt,
|
|
13602
|
+
operations: this.config.operations,
|
|
13552
13603
|
workflow: resolvedWorkflow,
|
|
13553
13604
|
decisions,
|
|
13554
13605
|
statusEmojis,
|
|
@@ -13561,9 +13612,11 @@ export class Daemon extends EventEmitter {
|
|
|
13561
13612
|
taskBoard: !dashboardOff.includes("task_board"),
|
|
13562
13613
|
workingDirectory: this.config.working_directory,
|
|
13563
13614
|
runtimeIdentity: this.runtimeIdentity,
|
|
13615
|
+
restrictedClassic: !!this.classicRestriction,
|
|
13564
13616
|
displayName: this.config.display_name,
|
|
13565
13617
|
description: this.config.description,
|
|
13566
13618
|
customPrompt: resolvedCustomPrompt,
|
|
13619
|
+
operations: this.config.operations,
|
|
13567
13620
|
workflow: resolvedWorkflow,
|
|
13568
13621
|
decisions,
|
|
13569
13622
|
statusEmojis,
|