commandmate 0.49.0 → 0.49.2
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/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +251 -248
- package/.next/app-path-routes-manifest.json +22 -21
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +9 -9
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +8 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agents/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agents/versions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/release-notes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/capabilities/route.js +1 -1
- package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/agent-event/route.js +2 -2
- package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/claude-done/route.js +2 -2
- package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/permission-request/route.js +1 -1
- package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/subscriptions/route.js +1 -1
- package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route.js +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/relays/[relayId]/route.js +1 -0
- package/.next/server/app/api/relays/[relayId]/route.js.nft.json +1 -0
- package/.next/server/app/api/relays/[relayId]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/relays/route.js +1 -1
- package/.next/server/app/api/relays/route.js.nft.json +1 -1
- package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/clone/route.js +1 -1
- package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/restore/route.js +1 -1
- package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/route.js +1 -1
- package/.next/server/app/api/repositories/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/scan/route.js +1 -1
- package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/sync/route.js +1 -1
- package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/settings/default-agents/route.js +1 -1
- package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/route.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/verification/runs/[runId]/route.js +1 -1
- package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/verification/runs/route.js +1 -1
- package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-reference/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-tool/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/env/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/create/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/delete/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branches/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/checkout/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/commit/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/fetch/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/log/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/pull/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/push/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/reset/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/revert/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stage/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/staged/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/apply/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/pop/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/push/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/status/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/unstage/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/working-diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/notes/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route.js +2 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/logs/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/marp-render/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/resolve-target/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/send/route.js +144 -1
- package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tasks/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route.js +103 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/history/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/config/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next/server/app/more/page_client-reference-manifest.js +1 -1
- package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
- package/.next/server/app/review/page.js +1 -1
- package/.next/server/app/review/page_client-reference-manifest.js +1 -1
- package/.next/server/app/sessions/page.js +1 -1
- package/.next/server/app/sessions/page.js.nft.json +1 -1
- package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/page.js +11 -11
- package/.next/server/app/worktrees/[id]/page.js.nft.json +1 -1
- package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +22 -21
- package/.next/server/chunks/1062.js +1 -0
- package/.next/server/chunks/{936.js → 110.js} +1 -1
- package/.next/server/chunks/1501.js +5 -4
- package/.next/server/chunks/1656.js +2 -2
- package/.next/server/chunks/1957.js +2 -0
- package/.next/server/chunks/2119.js +1 -1
- package/.next/server/chunks/2404.js +1 -1
- package/.next/server/chunks/2445.js +1 -1
- package/.next/server/chunks/2897.js +1 -0
- package/.next/server/chunks/3417.js +1 -0
- package/.next/server/chunks/3505.js +1 -1
- package/.next/server/chunks/{4280.js → 3756.js} +1 -1
- package/.next/server/chunks/3801.js +31 -0
- package/.next/server/chunks/4911.js +1 -0
- package/.next/server/chunks/4936.js +1 -0
- package/.next/server/chunks/5209.js +2 -1
- package/.next/server/chunks/5354.js +1 -1
- package/.next/server/chunks/{9130.js → 5630.js} +1 -1
- package/.next/server/chunks/610.js +1 -0
- package/.next/server/chunks/6119.js +1 -1
- package/.next/server/chunks/6130.js +1 -1
- package/.next/server/chunks/6401.js +1 -1
- package/.next/server/chunks/6486.js +1 -1
- package/.next/server/chunks/6781.js +1 -1
- package/.next/server/chunks/6808.js +4 -0
- package/.next/server/chunks/7023.js +14 -0
- package/.next/server/chunks/7905.js +1 -1
- package/.next/server/chunks/8581.js +8 -8
- package/.next/server/chunks/8728.js +2 -2
- package/.next/server/chunks/8782.js +1 -1
- package/.next/server/chunks/8807.js +63 -53
- package/.next/server/chunks/8918.js +103 -1
- package/.next/server/chunks/9198.js +144 -0
- package/.next/server/chunks/9390.js +1 -1
- package/.next/server/chunks/9584.js +1 -1
- package/.next/server/chunks/9627.js +1 -1
- package/.next/server/chunks/9731.js +3 -3
- package/.next/server/middleware-manifest.json +5 -5
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{2407-ab92ae9837c39dce.js → 2407-07a237575e1ceb9e.js} +1 -1
- package/.next/static/chunks/3931-61ad1a4fc0208d0e.js +1 -0
- package/.next/static/chunks/5794-7975b8e51e731b19.js +1 -0
- package/.next/static/chunks/6966-d8dc6032410ffaba.js +1 -0
- package/.next/static/chunks/7197-ed3b3d99ac3bd450.js +1 -0
- package/.next/static/chunks/7636-a48cf0f7110250c5.js +1 -0
- package/.next/static/chunks/app/api/agents/update/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/agents/versions/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/app/release-notes/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/app/update/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/app/update-check/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/auth/login/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/auth/status/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/capabilities/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/daily-summary/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/daily-summary/status/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/external-apps/[id]/health/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/external-apps/[id]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/external-apps/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/fs/browse/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/fs/recent-paths/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/hooks/agent-event/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/hooks/claude-done/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/hooks/permission-request/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/metrics/vibe/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/ollama/models/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/push/escalation/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/push/subscriptions/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/push/vapid/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/relays/[relayId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/relays/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/remote/pair/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/[id]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/clone/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/excluded/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/restore/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/scan/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/sync/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/repositories/validate-path/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/settings/default-agents/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/settings/default-surface-mode/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/sidebar/group-order/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/skills/[id]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/skills/installations/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/skills/operations/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/skills/reindex/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/skills/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/slash-commands/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/tasks/[taskId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/templates/[id]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/templates/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/verification/runs/[runId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/verification/runs/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/capture/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/env/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/logs/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/memos/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/messages/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/respond/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/search/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/send/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/timers/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/todos/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tree/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/layout-4f64316957b0a8e5.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/more/page-ff5af5ca48774c89.js +1 -0
- package/.next/static/chunks/app/page-b4863bfe0452e09d.js +1 -0
- package/.next/static/chunks/app/proxy/[...path]/route-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/review/page-ff3efb96fdf9bb4b.js +1 -0
- package/.next/static/chunks/app/sessions/page-c6eb7c02db2f4c80.js +1 -0
- package/.next/static/chunks/app/worktrees/[id]/layout-a4f129c451de7859.js +1 -0
- package/.next/static/chunks/app/worktrees/[id]/page-33afc6aa96289fb0.js +1 -0
- package/.next/static/css/c1e307d05daf93b6.css +1 -0
- package/.next/trace +13 -13
- package/.next/types/app/api/relays/[relayId]/route.ts +347 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/dist/cli/commands/ask.d.ts.map +1 -1
- package/dist/cli/commands/ask.js +233 -17
- package/dist/cli/commands/attach.d.ts +4 -1
- package/dist/cli/commands/attach.d.ts.map +1 -1
- package/dist/cli/commands/attach.js +19 -7
- package/dist/cli/commands/command-target.d.ts +7 -0
- package/dist/cli/commands/command-target.d.ts.map +1 -1
- package/dist/cli/commands/command-target.js +10 -0
- package/dist/cli/commands/instances.d.ts.map +1 -1
- package/dist/cli/commands/instances.js +38 -2
- package/dist/cli/commands/message-dispatch.d.ts +39 -5
- package/dist/cli/commands/message-dispatch.d.ts.map +1 -1
- package/dist/cli/commands/message-dispatch.js +100 -8
- package/dist/cli/commands/relays.d.ts +26 -2
- package/dist/cli/commands/relays.d.ts.map +1 -1
- package/dist/cli/commands/relays.js +70 -5
- package/dist/cli/commands/respond-strict.d.ts.map +1 -1
- package/dist/cli/commands/respond-strict.js +22 -5
- package/dist/cli/commands/respond.d.ts +12 -0
- package/dist/cli/commands/respond.d.ts.map +1 -1
- package/dist/cli/commands/respond.js +83 -18
- package/dist/cli/commands/send.d.ts.map +1 -1
- package/dist/cli/commands/send.js +14 -8
- package/dist/cli/commands/wait-hook-stop-settle.d.ts +66 -0
- package/dist/cli/commands/wait-hook-stop-settle.d.ts.map +1 -0
- package/dist/cli/commands/wait-hook-stop-settle.js +150 -0
- package/dist/cli/commands/wait-instance.d.ts +29 -0
- package/dist/cli/commands/wait-instance.d.ts.map +1 -0
- package/dist/cli/commands/wait-instance.js +56 -0
- package/dist/cli/commands/wait-notices.d.ts +87 -0
- package/dist/cli/commands/wait-notices.d.ts.map +1 -0
- package/dist/cli/commands/wait-notices.js +301 -0
- package/dist/cli/commands/wait-poll-bookkeeping.d.ts +15 -0
- package/dist/cli/commands/wait-poll-bookkeeping.d.ts.map +1 -0
- package/dist/cli/commands/wait-poll-bookkeeping.js +57 -0
- package/dist/cli/commands/wait-poll-state.d.ts +136 -0
- package/dist/cli/commands/wait-poll-state.d.ts.map +1 -0
- package/dist/cli/commands/wait-poll-state.js +6 -0
- package/dist/cli/commands/wait-timing.d.ts +46 -0
- package/dist/cli/commands/wait-timing.d.ts.map +1 -0
- package/dist/cli/commands/wait-timing.js +99 -0
- package/dist/cli/commands/wait-turn-boundary.d.ts +284 -0
- package/dist/cli/commands/wait-turn-boundary.d.ts.map +1 -0
- package/dist/cli/commands/wait-turn-boundary.js +427 -0
- package/dist/cli/commands/wait-verify.d.ts +51 -0
- package/dist/cli/commands/wait-verify.d.ts.map +1 -0
- package/dist/cli/commands/wait-verify.js +128 -0
- package/dist/cli/commands/wait.d.ts +6 -105
- package/dist/cli/commands/wait.d.ts.map +1 -1
- package/dist/cli/commands/wait.js +240 -968
- package/dist/cli/commands/whoami.d.ts.map +1 -1
- package/dist/cli/commands/whoami.js +3 -1
- package/dist/cli/docs/agent-operations.d.ts +2 -2
- package/dist/cli/docs/agent-operations.d.ts.map +1 -1
- package/dist/cli/docs/agent-operations.js +24 -1
- package/dist/cli/types/api-responses.d.ts +49 -3
- package/dist/cli/types/api-responses.d.ts.map +1 -1
- package/dist/cli/utils/api-client.d.ts +69 -1
- package/dist/cli/utils/api-client.d.ts.map +1 -1
- package/dist/cli/utils/api-client.js +226 -18
- package/dist/cli/utils/follow-up-command.d.ts +38 -0
- package/dist/cli/utils/follow-up-command.d.ts.map +1 -0
- package/dist/cli/utils/follow-up-command.js +57 -0
- package/dist/cli/utils/reply-ledger.d.ts +80 -1
- package/dist/cli/utils/reply-ledger.d.ts.map +1 -1
- package/dist/cli/utils/reply-ledger.js +147 -2
- package/dist/cli/utils/server-capabilities.d.ts +18 -0
- package/dist/cli/utils/server-capabilities.d.ts.map +1 -1
- package/dist/cli/utils/server-capabilities.js +36 -3
- package/dist/cli/utils/session-target.d.ts +1 -1
- package/dist/cli/utils/session-target.d.ts.map +1 -1
- package/dist/cli/utils/session-target.js +3 -0
- package/dist/cli/utils/verify-runner.d.ts +7 -0
- package/dist/cli/utils/verify-runner.d.ts.map +1 -1
- package/dist/cli/utils/verify-runner.js +51 -15
- package/dist/lib/cli-tools/session-name.d.ts.map +1 -1
- package/dist/lib/cli-tools/session-name.js +11 -3
- package/dist/lib/session/send-attempt-types.d.ts +48 -1
- package/dist/lib/session/send-attempt-types.d.ts.map +1 -1
- package/dist/lib/session/send-attempt-types.js +18 -1
- package/dist/lib/verification/session-kill-ledger.d.ts +110 -0
- package/dist/lib/verification/session-kill-ledger.d.ts.map +1 -0
- package/dist/lib/verification/session-kill-ledger.js +174 -0
- package/dist/server/locales/en/worktree.json +20 -3
- package/dist/server/locales/ja/worktree.json +20 -3
- package/dist/server/src/config/cli-tool-timing-config.js +1 -7
- package/dist/server/src/lib/auto-yes-poller.js +54 -11
- package/dist/server/src/lib/cli-tools/antigravity.js +45 -9
- package/dist/server/src/lib/cli-tools/base.js +39 -0
- package/dist/server/src/lib/cli-tools/codex.js +67 -15
- package/dist/server/src/lib/cli-tools/command-code-plan-review.js +24 -2
- package/dist/server/src/lib/cli-tools/command-code.js +7 -3
- package/dist/server/src/lib/cli-tools/copilot.js +125 -33
- package/dist/server/src/lib/cli-tools/gemini.js +37 -10
- package/dist/server/src/lib/cli-tools/launch-keys.js +39 -0
- package/dist/server/src/lib/cli-tools/opencode-v2.js +6 -2
- package/dist/server/src/lib/cli-tools/opencode.js +60 -15
- package/dist/server/src/lib/cli-tools/session-name.js +11 -3
- package/dist/server/src/lib/cli-tools/submit-composer-read.js +590 -0
- package/dist/server/src/lib/cli-tools/submit-verified-sender.js +512 -620
- package/dist/server/src/lib/cli-tools/vibe-local.js +4 -2
- package/dist/server/src/lib/db/db-migration-path.js +63 -2
- package/dist/server/src/lib/db/migrations/index.js +2 -0
- package/dist/server/src/lib/db/migrations/pre-migration-backup.js +266 -0
- package/dist/server/src/lib/db/migrations/runner.js +37 -4
- package/dist/server/src/lib/db/migrations/v62-session-relays-bind.js +102 -0
- package/dist/server/src/lib/db/relay-bind-db.js +437 -0
- package/dist/server/src/lib/db/relay-db.js +59 -96
- package/dist/server/src/lib/detection/prompt-detect-multiple-choice.js +5 -4
- package/dist/server/src/lib/detection/upstream-faults.js +40 -6
- package/dist/server/src/lib/hooks/sources/copilot/hook-settings.js +2 -3
- package/dist/server/src/lib/hooks/sources/opencode/client.js +12 -6
- package/dist/server/src/lib/polling/response-checker.js +7 -5
- package/dist/server/src/lib/prompt-answer-errors.js +362 -0
- package/dist/server/src/lib/prompt-answer-sender.js +264 -288
- package/dist/server/src/lib/push/failure-episode-state.js +4 -1
- package/dist/server/src/lib/realtime/terminal-broadcast.js +1 -4
- package/dist/server/src/lib/realtime-snippet.js +54 -0
- package/dist/server/src/lib/relay/relay-bind.js +294 -0
- package/dist/server/src/lib/relay/relay-boot.js +51 -0
- package/dist/server/src/lib/relay/relay-bound-reply.js +519 -0
- package/dist/server/src/lib/relay/relay-delivery.js +134 -220
- package/dist/server/src/lib/relay/relay-messages.js +39 -4
- package/dist/server/src/lib/relay/relay-overlap.js +92 -0
- package/dist/server/src/lib/relay/relay-system-line.js +3 -2
- package/dist/server/src/lib/relay/types.js +12 -1
- package/dist/server/src/lib/session/agent-event-state.js +4 -0
- package/dist/server/src/lib/session/agent-session-lifecycle.js +23 -0
- package/dist/server/src/lib/session/claude-session.js +59 -8
- package/dist/server/src/lib/session/composer-clear.js +54 -1
- package/dist/server/src/lib/session/current-output-builder.js +26 -8
- package/dist/server/src/lib/session/current-output-history-writers.js +1 -1
- package/dist/server/src/lib/session/instance-input-lock.js +664 -0
- package/dist/server/src/lib/session/prompt-submit-receipt.js +155 -0
- package/dist/server/src/lib/session/prompt-waiting-guard.js +10 -3
- package/dist/server/src/lib/session/send-attempt-state.js +65 -0
- package/dist/server/src/lib/session/send-attempt-types.js +18 -1
- package/dist/server/src/lib/session/send-user-message.js +84 -14
- package/dist/server/src/lib/session/session-launch-flight.js +243 -0
- package/dist/server/src/lib/session/session-starting-state.js +40 -4
- package/dist/server/src/lib/session/structured-prompt.js +12 -9
- package/dist/server/src/lib/session/waiting-episode-binding.js +4 -2
- package/dist/server/src/lib/session-cleanup.js +32 -0
- package/dist/server/src/lib/session-key-sender.js +0 -27
- package/dist/server/src/lib/verification/env-clean-gate.js +129 -0
- package/dist/server/src/lib/verification/env-snapshot.js +11 -2
- package/dist/server/src/lib/verification/session-kill-ledger.js +174 -0
- package/package.json +5 -1
- package/release-notes/0.49.1.json +66 -0
- package/release-notes/0.49.2.json +49 -0
- package/.next/server/chunks/1210.js +0 -1
- package/.next/server/chunks/1945.js +0 -14
- package/.next/server/chunks/1990.js +0 -103
- package/.next/server/chunks/4194.js +0 -67
- package/.next/server/chunks/5845.js +0 -1
- package/.next/server/chunks/720.js +0 -103
- package/.next/server/chunks/7604.js +0 -2
- package/.next/server/chunks/9540.js +0 -1
- package/.next/static/chunks/4768-ad6f82f034f21eae.js +0 -1
- package/.next/static/chunks/5794-80ac3f06f098ea29.js +0 -1
- package/.next/static/chunks/6654-f3534f35f16644bc.js +0 -1
- package/.next/static/chunks/7665-e9ef6e0a85b9fa49.js +0 -1
- package/.next/static/chunks/8606-cf6bdbff44a764cf.js +0 -1
- package/.next/static/chunks/9079-987939d231704218.js +0 -1
- package/.next/static/chunks/app/api/agents/update/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/agents/versions/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/app/release-notes/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/app/update/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/app/update-check/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/auth/login/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/auth/status/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/capabilities/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/daily-summary/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/daily-summary/status/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/external-apps/[id]/health/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/external-apps/[id]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/external-apps/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/fs/browse/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/fs/recent-paths/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/hooks/agent-event/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/hooks/claude-done/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/hooks/permission-request/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/metrics/vibe/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/ollama/models/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/push/escalation/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/push/subscriptions/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/push/vapid/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/relays/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/remote/pair/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/[id]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/clone/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/excluded/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/restore/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/scan/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/sync/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/repositories/validate-path/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/settings/default-agents/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/settings/default-surface-mode/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/sidebar/group-order/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/skills/[id]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/skills/installations/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/skills/operations/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/skills/reindex/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/skills/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/slash-commands/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/tasks/[taskId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/templates/[id]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/templates/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/verification/runs/[runId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/verification/runs/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/capture/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/env/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/logs/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/memos/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/messages/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/respond/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/search/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/send/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/timers/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/todos/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tree/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/layout-aa8e66164a4367af.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/more/page-87c84987b2765213.js +0 -1
- package/.next/static/chunks/app/page-1b820c421db48c2c.js +0 -1
- package/.next/static/chunks/app/proxy/[...path]/route-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/review/page-e2fd4a590646a2d8.js +0 -1
- package/.next/static/chunks/app/sessions/page-cfd645305e25fd33.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/layout-c81284a9d8b35304.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/page-a8d7886703ffc7b4.js +0 -1
- package/.next/static/css/db8959555c3d9c96.css +0 -1
- /package/.next/static/{3_JtAZaKMJEDFIIfkHv4n → yGatWDsS532awSs51kXyd}/_buildManifest.js +0 -0
- /package/.next/static/{3_JtAZaKMJEDFIIfkHv4n → yGatWDsS532awSs51kXyd}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Reading a captured pane's composer for the submit-verified sender
|
|
4
|
+
* (Issue #3963: split out of `submit-verified-sender.ts`, which re-exports the
|
|
5
|
+
* public names). Pure functions of the captured text: no tmux, no waiting.
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.VERIFY_WINDOW_LINES = void 0;
|
|
9
|
+
exports.withoutTrailingBlankRows = withoutTrailingBlankRows;
|
|
10
|
+
exports.findPasteTokens = findPasteTokens;
|
|
11
|
+
exports.readSubmitComposer = readSubmitComposer;
|
|
12
|
+
exports.classifySubmit = classifySubmit;
|
|
13
|
+
exports.classifySubmitWithRule = classifySubmitWithRule;
|
|
14
|
+
exports.isSubmitted = isSubmitted;
|
|
15
|
+
exports.classifyPasteLanded = classifyPasteLanded;
|
|
16
|
+
exports.compactText = compactText;
|
|
17
|
+
const composer_spec_1 = require("./composer-spec");
|
|
18
|
+
const cli_patterns_1 = require("../detection/cli-patterns");
|
|
19
|
+
const composer_text_1 = require("../../lib/detection/composer-text");
|
|
20
|
+
/**
|
|
21
|
+
* Version-resilient pasted-text placeholder.
|
|
22
|
+
*
|
|
23
|
+
* Broader than PASTED_TEXT_PATTERN (`/\[Pasted text #\d+/`) so it still matches
|
|
24
|
+
* when a CLI version drops the `#N` and renders `[Pasted text +46 lines]`
|
|
25
|
+
* (Issue #1469 condition 2). Used ONLY as a positive "still in the input box"
|
|
26
|
+
* signal — never as the sole submit gate — so applying it to every tool is safe:
|
|
27
|
+
* a tool that never renders it simply never matches.
|
|
28
|
+
*/
|
|
29
|
+
const PASTE_PLACEHOLDER_PATTERN = /\[Pasted text[\s#]/;
|
|
30
|
+
/**
|
|
31
|
+
* A slash-command sitting on the input line (Issue #1501).
|
|
32
|
+
*
|
|
33
|
+
* TUI completion popups replace a typed slash command with a highlighted menu
|
|
34
|
+
* item (`/status` -> `/statusline`, `/review` -> `/teamwork-preview`); the
|
|
35
|
+
* result is always another slash command. Scoping the "replaced" verdict to
|
|
36
|
+
* `/…` text keeps idle-prompt placeholders that some TUIs paint on an empty
|
|
37
|
+
* composer (gemini's "Type your message or @path", claude's hints, "? for
|
|
38
|
+
* shortcuts") — none of which start with `/` — from being mistaken for a
|
|
39
|
+
* substitution, so a genuinely-submitted message never fails spuriously.
|
|
40
|
+
*/
|
|
41
|
+
const REPLACEMENT_COMMAND_PATTERN = /^\/[A-Za-z]/;
|
|
42
|
+
/**
|
|
43
|
+
* Prompt input-line markers across the marker-drawing TUIs.
|
|
44
|
+
* claude/gemini/copilot: `>` or `❯`; codex: `›`; antigravity: `>`;
|
|
45
|
+
* vibe-local: `ctx:N% ❯`. Leading whitespace is tolerated (tmux padding).
|
|
46
|
+
*
|
|
47
|
+
* Issue #1906 scopes this to the tools whose {@link ComposerSpec.reader} is
|
|
48
|
+
* `input-line-marker`. opencode draws no marker at all, so applying it there was
|
|
49
|
+
* wrong in both directions — see {@link readComposer}.
|
|
50
|
+
*/
|
|
51
|
+
const INPUT_LINE_MARKER = /^\s*(?:ctx:\d+%\s*)?[>❯›]/;
|
|
52
|
+
/**
|
|
53
|
+
* Lines of pane tail to inspect for the "is the tool generating?" signal.
|
|
54
|
+
*
|
|
55
|
+
* Distinct from `ComposerSpec.verifyCaptureLines`, which sizes the tmux
|
|
56
|
+
* capture: the busy marker of every tool lives in a status bar pinned to the
|
|
57
|
+
* bottom of the pane, so it is read from a short tail even when the capture
|
|
58
|
+
* itself is opencode's whole 200-row frame. Widening it to that frame would
|
|
59
|
+
* match `esc interrupt` printed inside a reply.
|
|
60
|
+
*
|
|
61
|
+
* "The bottom" is the last row that holds anything (Issue #2464). codex,
|
|
62
|
+
* Command Code and agy draw inline from the TOP of the 1000-row pane, so the
|
|
63
|
+
* last twelve rows of the capture are blank padding — measured at rows 306,
|
|
64
|
+
* 297 and 286 of 1,002 — and reading them found no composer on any send to
|
|
65
|
+
* those three tools. See {@link withoutTrailingBlankRows}.
|
|
66
|
+
*/
|
|
67
|
+
exports.VERIFY_WINDOW_LINES = 12;
|
|
68
|
+
/**
|
|
69
|
+
* Read the composer out of a captured frame.
|
|
70
|
+
*
|
|
71
|
+
* Two readers, because the two families of TUI say "this is the input line" in
|
|
72
|
+
* incompatible ways:
|
|
73
|
+
*
|
|
74
|
+
* - **marker tools** (`reader: 'input-line-marker'`) draw a `>` / `❯` / `›` at
|
|
75
|
+
* the start of the row. Scanned bottom-up over the tail window so a status bar
|
|
76
|
+
* below the box does not hide it.
|
|
77
|
+
* - **opencode** draws a box with a gutter and no marker anywhere. Its buffer
|
|
78
|
+
* rows are located structurally by {@link findOpenCodeComposerRows} (#1911's
|
|
79
|
+
* chrome walk), and `Ask anything...` inside that box is opencode's own way of
|
|
80
|
+
* saying the buffer is empty (#1883) rather than a row of text.
|
|
81
|
+
*
|
|
82
|
+
* Before this split, opencode went through the marker reader, which is wrong
|
|
83
|
+
* both ways round. It never matched opencode's composer, so EVERY opencode send
|
|
84
|
+
* was classified `submitted` without evidence — #1471's "the Enter was
|
|
85
|
+
* swallowed" recovery has never once run on opencode. And when a `>` did land in
|
|
86
|
+
* the window from somewhere else (a Markdown quote in a reply), the reader
|
|
87
|
+
* treated that row as the input line and answered from it.
|
|
88
|
+
*
|
|
89
|
+
* Issue #1933 turned "which reader" from a `cliToolId === 'opencode'` test plus
|
|
90
|
+
* a set membership test into {@link ComposerSpec.reader}, so the answer is one
|
|
91
|
+
* declaration the tool owns rather than two tables a new tool has to be added
|
|
92
|
+
* to. `unreadable` is the third arm, and it is the one #1906 found opencode
|
|
93
|
+
* silently occupying: it means every send is classified `submitted` without
|
|
94
|
+
* evidence, so it is a state to declare knowingly, never to fall into.
|
|
95
|
+
*/
|
|
96
|
+
function readComposer(reader, lines, windowLines) {
|
|
97
|
+
if (reader === 'opencode-box') {
|
|
98
|
+
const rows = (0, cli_patterns_1.findOpenCodeComposerRows)(lines);
|
|
99
|
+
if (rows === null)
|
|
100
|
+
return { kind: 'absent' };
|
|
101
|
+
// The placeholder is painted only while the buffer is empty, and only
|
|
102
|
+
// inside the box — hence matched on the raw, still-guttered row (#1883).
|
|
103
|
+
if (rows.some((row) => cli_patterns_1.OPENCODE_IDLE_COMPOSER_PATTERN.test(row)))
|
|
104
|
+
return { kind: 'empty' };
|
|
105
|
+
const first = rows.map(cli_patterns_1.stripOpenCodeGutter).find((row) => row.length > 0);
|
|
106
|
+
if (first === undefined)
|
|
107
|
+
return { kind: 'empty' };
|
|
108
|
+
return { kind: 'text', text: first, rows };
|
|
109
|
+
}
|
|
110
|
+
if (reader !== 'input-line-marker')
|
|
111
|
+
return { kind: 'absent' };
|
|
112
|
+
const inputLine = findInputLine(windowLines);
|
|
113
|
+
if (inputLine === null)
|
|
114
|
+
return { kind: 'absent' };
|
|
115
|
+
const stripped = stripInputMarker(inputLine);
|
|
116
|
+
if (stripped.length === 0)
|
|
117
|
+
return { kind: 'empty' };
|
|
118
|
+
return { kind: 'text', text: stripped, rows: [inputLine] };
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The captured rows without the blank rows under the last drawn one
|
|
122
|
+
* (Issue #2464).
|
|
123
|
+
*
|
|
124
|
+
* `capture-pane` returns every row of the pane, and a TUI that renders inline
|
|
125
|
+
* from the top (codex, Command Code, agy) fills only the first few hundred of
|
|
126
|
+
* the 1000 rows the session is created with. The composer is the last thing
|
|
127
|
+
* such a TUI draws, so "the tail of the pane" has to mean "the tail of what is
|
|
128
|
+
* drawn" — otherwise the tail window is all padding, no composer is ever found,
|
|
129
|
+
* and every send to those tools classifies as `submitted` whatever the
|
|
130
|
+
* composer actually holds. A bottom-anchored TUI (claude) has no trailing blank
|
|
131
|
+
* rows, so for it this is the identity.
|
|
132
|
+
*/
|
|
133
|
+
function withoutTrailingBlankRows(lines) {
|
|
134
|
+
let end = lines.length;
|
|
135
|
+
while (end > 0 && lines[end - 1].trim() === '')
|
|
136
|
+
end--;
|
|
137
|
+
return lines.slice(0, end);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* First non-blank line of the message, trimmed. This is what a TUI shows on the
|
|
141
|
+
* prompt line before the body folds into a paste placeholder. NOT truncated:
|
|
142
|
+
* the replacement check (inputMatchesBody) needs the full first line so that a
|
|
143
|
+
* completion suffix (`/status` -> `/statusline`) is not mistaken for the body.
|
|
144
|
+
*/
|
|
145
|
+
function firstNonBlankLine(message) {
|
|
146
|
+
const line = message
|
|
147
|
+
.split('\n')
|
|
148
|
+
.map((l) => l.trim())
|
|
149
|
+
.find((l) => l.length > 0);
|
|
150
|
+
return line ?? '';
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Locate the active input line within the pane tail: the last line that begins
|
|
154
|
+
* with a prompt marker. Scanned bottom-up so a status-bar/footer line rendered
|
|
155
|
+
* BELOW the input box (antigravity's "? for shortcuts", vibe-local's status bar)
|
|
156
|
+
* does not hide the real input line above it.
|
|
157
|
+
*/
|
|
158
|
+
function findInputLine(windowLines) {
|
|
159
|
+
for (let i = windowLines.length - 1; i >= 0; i--) {
|
|
160
|
+
if (INPUT_LINE_MARKER.test(windowLines[i])) {
|
|
161
|
+
return windowLines[i];
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return null;
|
|
165
|
+
}
|
|
166
|
+
/** Input line text with the prompt marker stripped and surrounding space trimmed. */
|
|
167
|
+
function stripInputMarker(inputLine) {
|
|
168
|
+
return inputLine.replace(INPUT_LINE_MARKER, '').trim();
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Whether the (marker-stripped, non-empty) input-line text is still our
|
|
172
|
+
* unsent body rather than a TUI-substituted command.
|
|
173
|
+
*
|
|
174
|
+
* The still-unsent body appears verbatim on the input line. Line wrapping can
|
|
175
|
+
* visually truncate it to a PREFIX of the first line, but a completion popup
|
|
176
|
+
* always produces a DIFFERENT string — the body plus a completion suffix
|
|
177
|
+
* (`/status` -> `/statusline`) or an unrelated command (`/review` ->
|
|
178
|
+
* `/teamwork-preview`) — which is never a prefix of the body. So the body is
|
|
179
|
+
* "still there" iff the input text is a prefix of (or equals) the body's first
|
|
180
|
+
* line. This deliberately rejects `/statusline` for a `/status` body: the safe
|
|
181
|
+
* rule is "input text that is not the body (or a prefix of it) is NOT resent".
|
|
182
|
+
*/
|
|
183
|
+
function inputMatchesBody(strippedInput, message) {
|
|
184
|
+
const bodyFirstLine = firstNonBlankLine(message);
|
|
185
|
+
if (bodyFirstLine.length === 0)
|
|
186
|
+
return false;
|
|
187
|
+
return bodyFirstLine.startsWith(strippedInput);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Collapsed-paste placeholders, as measured at the production 200x1000
|
|
191
|
+
* geometry (Issue #2464, `tests/fixtures/long-body-2464/`):
|
|
192
|
+
*
|
|
193
|
+
* claude 2.1.268 `[Pasted text #86 +59 lines]` for 60 lines, `[Pasted text #87]` for one
|
|
194
|
+
* agy 1.2.0 `[Pasted text #5 +60 lines]` for 60 lines, `[Pasted text #6 12288 chars]` for one
|
|
195
|
+
* codex 0.154.0 `[Pasted Content 12288 chars]`
|
|
196
|
+
* Command Code 1.53.0 `[PROBE P12k… +60L]` — the first ten characters, then the line count
|
|
197
|
+
*
|
|
198
|
+
* The `#N` stays optional for #1469's version drift (`[Pasted text +46 lines]`).
|
|
199
|
+
*/
|
|
200
|
+
const PASTE_TOKEN_PATTERNS = [
|
|
201
|
+
{
|
|
202
|
+
pattern: /\[Pasted text(?: #\d+)?(?: \+(\d+) lines?| (\d+) chars?)?\]/g,
|
|
203
|
+
read: (m) => m[1] !== undefined ? { lines: Number(m[1]) } : m[2] !== undefined ? { chars: Number(m[2]) } : {},
|
|
204
|
+
},
|
|
205
|
+
{ pattern: /\[Pasted Content (\d+) chars?\]/g, read: (m) => ({ chars: Number(m[1]) }) },
|
|
206
|
+
{ pattern: /\[([^\]\n]*?)… \+(\d+)L\]/g, read: (m) => ({ head: m[1], lineTotal: Number(m[2]) }) },
|
|
207
|
+
];
|
|
208
|
+
/** Every paste placeholder on a composer row, and the text left around them. */
|
|
209
|
+
function findPasteTokens(text) {
|
|
210
|
+
const tokens = [];
|
|
211
|
+
let rest = text;
|
|
212
|
+
for (const { pattern, read } of PASTE_TOKEN_PATTERNS) {
|
|
213
|
+
for (const match of text.matchAll(pattern)) {
|
|
214
|
+
tokens.push(read(match));
|
|
215
|
+
rest = rest.replace(match[0], '');
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return { tokens, rest: rest.trim() };
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Does one placeholder account for the whole body?
|
|
222
|
+
*
|
|
223
|
+
* Counts below the body's mean the paste is still arriving; counts above it mean
|
|
224
|
+
* the composer holds more than the body. The two units that differ between
|
|
225
|
+
* tools for the same `+M lines` wording (claude: 59 for a 60-line body, agy: 60)
|
|
226
|
+
* are both accepted — a bracketed paste arrives as one unit, so the failure this
|
|
227
|
+
* guards against is a count that is wildly short (the 24-byte tail of #2464),
|
|
228
|
+
* not one that is off by one line.
|
|
229
|
+
*/
|
|
230
|
+
function comparePasteToken(token, message) {
|
|
231
|
+
const newlines = (message.match(/\n/g) ?? []).length;
|
|
232
|
+
if (token.head !== undefined) {
|
|
233
|
+
const normalizedHead = token.head.replace(/\s+/g, ' ').trim();
|
|
234
|
+
if (!message.replace(/\s+/g, ' ').startsWith(normalizedHead))
|
|
235
|
+
return 'mismatch';
|
|
236
|
+
}
|
|
237
|
+
let observed;
|
|
238
|
+
let accepted;
|
|
239
|
+
if (token.chars !== undefined) {
|
|
240
|
+
observed = token.chars;
|
|
241
|
+
accepted = [[...message].length, message.length];
|
|
242
|
+
}
|
|
243
|
+
else if (token.lineTotal !== undefined) {
|
|
244
|
+
observed = token.lineTotal;
|
|
245
|
+
accepted = [newlines + 1];
|
|
246
|
+
}
|
|
247
|
+
else if (token.lines !== undefined) {
|
|
248
|
+
observed = token.lines;
|
|
249
|
+
accepted = [newlines, newlines + 1];
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
// claude's bare `[Pasted text #N]` is what it draws for a single line.
|
|
253
|
+
return newlines === 0 ? 'landed' : 'pasting';
|
|
254
|
+
}
|
|
255
|
+
if (accepted.includes(observed))
|
|
256
|
+
return 'landed';
|
|
257
|
+
return observed < Math.min(...accepted) ? 'pasting' : 'mismatch';
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* The composer as {@link classifySubmit} reads it (Issue #3205).
|
|
261
|
+
*
|
|
262
|
+
* {@link readComposer}'s marker reader takes the bottom-most `›` row of the
|
|
263
|
+
* tail as the input line. A codex composer holding several lines draws its
|
|
264
|
+
* continuation rows under the `›` row, and when one of them itself begins with
|
|
265
|
+
* `›` — a body quoting a dialog's `› 1. Yes, proceed (y)` — that continuation
|
|
266
|
+
* row was read as the input line: its text is not the body's first line, so a
|
|
267
|
+
* body still sitting in the composer was classified `submitted` (F). Measured:
|
|
268
|
+
* `tests/fixtures/codex-multiline-composer-3205/tc104-raw-pane.txt`.
|
|
269
|
+
*
|
|
270
|
+
* So for codex a composer of two or more rows is read with
|
|
271
|
+
* `extractComposerText` — the #1890 reader `awaitTypedBody` already uses —
|
|
272
|
+
* and its first line is the input line. Every other frame (a one-row
|
|
273
|
+
* composer, an empty or ghost one, none at all, another tool) is read exactly
|
|
274
|
+
* as before.
|
|
275
|
+
*
|
|
276
|
+
* Issue #3880 (H-2): this is also the reader before Enter
|
|
277
|
+
* ({@link classifyPasteLanded}) and in the error text ({@link describeComposer}).
|
|
278
|
+
* The paste check used to read the twelve-row tail with {@link readComposer}
|
|
279
|
+
* alone, so a codex composer taller than that window (a 20-line paste, or 600
|
|
280
|
+
* bytes wrapped in a narrow pane) put its `›` row above the window — `unseen`,
|
|
281
|
+
* and the body that was in the composer was withdrawn and reported as not
|
|
282
|
+
* landed — and a continuation row starting with `>` (a Markdown quote) was taken
|
|
283
|
+
* for the input line — `mismatch`. The same frame read after Enter was
|
|
284
|
+
* `pending`. One reader on both sides of Enter keeps the two verdicts about the
|
|
285
|
+
* same composer.
|
|
286
|
+
*/
|
|
287
|
+
/**
|
|
288
|
+
* Everything a codex composer holds, for deciding that a pasted body arrived in
|
|
289
|
+
* full (Issue #3880).
|
|
290
|
+
*
|
|
291
|
+
* `extractComposerText` answers for the UI: its text stops at 2,000 characters,
|
|
292
|
+
* at 40 rows and at the composer's first blank row, so a composer that matches
|
|
293
|
+
* it may still be missing the rest of the body — or hold something after it.
|
|
294
|
+
* This reads the raw rows instead, from the `›` row down to the last block of
|
|
295
|
+
* the frame (codex's model / cwd footer), so a body with blank lines, more than
|
|
296
|
+
* 40 rows or more than 2,000 characters is compared whole, and anything typed
|
|
297
|
+
* after the body is part of what is compared.
|
|
298
|
+
*/
|
|
299
|
+
function codexComposerRegion(output) {
|
|
300
|
+
const raw = output.split('\n');
|
|
301
|
+
const box = (0, composer_text_1.findCodexInputBox)(raw);
|
|
302
|
+
if (box === null)
|
|
303
|
+
return null;
|
|
304
|
+
return codexRegionFrom(raw, box.firstRow, box.lastRow);
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* {@link codexComposerRegion} from a known `›` row (Issue #3906): the rows from
|
|
308
|
+
* `firstRow` down to the frame's last block (the footer), ANSI and glyph
|
|
309
|
+
* stripped. `lastRow` is the end of the `›` row's own block, so a composer that
|
|
310
|
+
* is itself the frame's last block is read to the end.
|
|
311
|
+
*/
|
|
312
|
+
function codexRegionFrom(raw, firstRow, lastRow) {
|
|
313
|
+
const isBlank = (row) => (0, cli_patterns_1.stripAnsi)(row).trim() === '';
|
|
314
|
+
let end = raw.length - 1;
|
|
315
|
+
while (end >= 0 && isBlank(raw[end]))
|
|
316
|
+
end--;
|
|
317
|
+
let lastBlockStart = end;
|
|
318
|
+
while (lastBlockStart > 0 && !isBlank(raw[lastBlockStart - 1]))
|
|
319
|
+
lastBlockStart--;
|
|
320
|
+
const stop = lastBlockStart > lastRow ? lastBlockStart - 1 : end;
|
|
321
|
+
const rows = raw.slice(firstRow, stop + 1).map((row) => (0, cli_patterns_1.stripAnsi)(row));
|
|
322
|
+
rows[0] = rows[0].replace(/^\s*\u203A ?/, '');
|
|
323
|
+
return rows.join('\n');
|
|
324
|
+
}
|
|
325
|
+
/** End (inclusive) of the blank-row-delimited block that starts at `row`. */
|
|
326
|
+
function blockEndFrom(raw, row) {
|
|
327
|
+
let end = row;
|
|
328
|
+
while (end + 1 < raw.length && (0, cli_patterns_1.stripAnsi)(raw[end + 1]).trim() !== '')
|
|
329
|
+
end++;
|
|
330
|
+
return end;
|
|
331
|
+
}
|
|
332
|
+
/** The bottom-most row of `windowLines` the marker reader takes as the input line, as a frame index. */
|
|
333
|
+
function markerRowIndex(windowLines, windowStart) {
|
|
334
|
+
for (let i = windowLines.length - 1; i >= 0; i--) {
|
|
335
|
+
if (INPUT_LINE_MARKER.test(windowLines[i]))
|
|
336
|
+
return windowStart + i;
|
|
337
|
+
}
|
|
338
|
+
return -1;
|
|
339
|
+
}
|
|
340
|
+
function readSubmitComposer(output, cliToolId, reader, lines, windowLines, message) {
|
|
341
|
+
if (cliToolId === 'codex' && reader === 'input-line-marker') {
|
|
342
|
+
const raw = output.split('\n');
|
|
343
|
+
const windowStart = lines.length - windowLines.length;
|
|
344
|
+
const read = (0, composer_text_1.extractComposerText)(output, cliToolId);
|
|
345
|
+
if (read.state === 'content') {
|
|
346
|
+
const box = (0, composer_text_1.findCodexInputBox)(raw);
|
|
347
|
+
// Issue #3906: a dialog option drawn below the composer the extractor
|
|
348
|
+
// located means the dialog is what the pane shows now, on every branch
|
|
349
|
+
// below — that composer is one left from before, not this send's.
|
|
350
|
+
if (box !== null && (0, composer_text_1.codexDialogBelow)(raw, box.firstRow))
|
|
351
|
+
return { kind: 'absent' };
|
|
352
|
+
const outsideWindow = box !== null && box.firstRow < windowStart;
|
|
353
|
+
const region = codexComposerRegion(output) ?? read.text;
|
|
354
|
+
if (read.text.includes('\n')) {
|
|
355
|
+
// Issue #3906: a composer of many rows with no blank line (20 lines) has
|
|
356
|
+
// its `›` row above the window too, and is marked so like the others.
|
|
357
|
+
return {
|
|
358
|
+
kind: 'text',
|
|
359
|
+
text: firstNonBlankLine(read.text),
|
|
360
|
+
rows: read.text.split('\n'),
|
|
361
|
+
region,
|
|
362
|
+
...(outsideWindow ? { outsideWindow } : {}),
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
// Issue #3906 (1): the `›` row sits above the twelve-row window (a one-line
|
|
366
|
+
// paragraph, a blank line, then a tall one). The marker reader would see no
|
|
367
|
+
// input line there — `unseen` before Enter, `submitted` after it — so the
|
|
368
|
+
// composer `extractComposerText` located is read instead, whole.
|
|
369
|
+
if (outsideWindow && (0, composer_text_1.findCodexLiveComposerRow)(raw) === box.firstRow) {
|
|
370
|
+
return { kind: 'text', text: read.text.trim(), rows: [raw[box.firstRow]], region, outsideWindow: true };
|
|
371
|
+
}
|
|
372
|
+
// Issue #3880 (N1): a one-row excerpt is read as before for its verdict
|
|
373
|
+
// after Enter, but still carries the whole region — `head` with the rest of
|
|
374
|
+
// the body under a blank row is one excerpt row and must not pass for the
|
|
375
|
+
// whole body before Enter.
|
|
376
|
+
const single = readComposer(reader, lines, windowLines);
|
|
377
|
+
return single.kind === 'text' ? { ...single, region } : single;
|
|
378
|
+
}
|
|
379
|
+
if (read.state === 'no_composer') {
|
|
380
|
+
// Issue #3906 (2): more paragraphs than the four blocks the extractor
|
|
381
|
+
// searches. Whatever the marker reader takes must carry the whole region,
|
|
382
|
+
// so the composer's first line alone never passes for the body. The row is
|
|
383
|
+
// the live composer only when no dialog option is drawn below it
|
|
384
|
+
// ({@link findCodexLiveComposerRow}, the order `findCodexBottomGlyphRow`
|
|
385
|
+
// reads a frame in): a composer row left above an approval dialog is
|
|
386
|
+
// never this send's composer, however its text reads.
|
|
387
|
+
const composerRow = (0, composer_text_1.findCodexLiveComposerRow)(raw);
|
|
388
|
+
if (composerRow >= 0) {
|
|
389
|
+
const region = codexRegionFrom(raw, composerRow, blockEndFrom(raw, composerRow));
|
|
390
|
+
const text = stripInputMarker((0, cli_patterns_1.stripAnsi)(raw[composerRow]));
|
|
391
|
+
if (composerRow >= windowStart) {
|
|
392
|
+
const single = readComposer(reader, lines, windowLines);
|
|
393
|
+
if (single.kind === 'text' && markerRowIndex(windowLines, windowStart) === composerRow) {
|
|
394
|
+
return { ...single, region };
|
|
395
|
+
}
|
|
396
|
+
return single;
|
|
397
|
+
}
|
|
398
|
+
// Above the window as well, with no dialog below it.
|
|
399
|
+
if (message !== undefined && text.length > 0 && inputMatchesBody(text, message)) {
|
|
400
|
+
return { kind: 'text', text, rows: [raw[composerRow]], region, outsideWindow: true };
|
|
401
|
+
}
|
|
402
|
+
// Not the body's first line. A composer whose own block is empty or
|
|
403
|
+
// placeholder-only is empty; real text is read too — a `/…` command
|
|
404
|
+
// there is `replaced` as it is inside the window, and anything else is
|
|
405
|
+
// not proof that the message left ({@link classifySubmit}: `indeterminate`).
|
|
406
|
+
const held = (0, composer_text_1.readCodexComposerFrom)(raw.slice(0, blockEndFrom(raw, composerRow) + 1), composerRow);
|
|
407
|
+
if (held.state !== 'content')
|
|
408
|
+
return { kind: 'empty' };
|
|
409
|
+
return {
|
|
410
|
+
kind: 'text',
|
|
411
|
+
text: firstNonBlankLine(held.text),
|
|
412
|
+
rows: [raw[composerRow]],
|
|
413
|
+
region,
|
|
414
|
+
outsideWindow: true,
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return readComposer(reader, lines, windowLines);
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Classify a captured pane into submitted / pending / replaced (Issue #1501).
|
|
423
|
+
*
|
|
424
|
+
* Version-independent by design — does NOT require the paste placeholder:
|
|
425
|
+
* A. The tool is generating a response -> submitted.
|
|
426
|
+
* B. No composer, or the composer is empty -> submitted.
|
|
427
|
+
* C. A paste placeholder is folded in the composer -> pending (Enter eaten).
|
|
428
|
+
* D. The body is still verbatim in the composer -> pending (resend Enter).
|
|
429
|
+
* E. A DIFFERENT slash command is in the composer -> replaced (TUI popup
|
|
430
|
+
* autocompleted the command; clear the line and throw, never resend Enter).
|
|
431
|
+
* F. Any other non-empty text (idle placeholder/hint) -> submitted (unchanged
|
|
432
|
+
* pre-#1501 permissive default, so normal sends never spuriously fail) —
|
|
433
|
+
* except in a codex composer above the read window -> indeterminate
|
|
434
|
+
* (Issue #3906).
|
|
435
|
+
*
|
|
436
|
+
* C–F are scoped to the composer only, so the user-message echo that a TUI
|
|
437
|
+
* prints into its history above the prompt never causes a false verdict.
|
|
438
|
+
*
|
|
439
|
+
* Issue #1906: "the composer" is read per tool by {@link readComposer} rather
|
|
440
|
+
* than by looking for a `>` in the last twelve rows. For opencode — which draws
|
|
441
|
+
* no marker — that read was unreachable, so every send reached F (in fact B) and
|
|
442
|
+
* this function has never returned anything but `submitted` for it.
|
|
443
|
+
*
|
|
444
|
+
* Issue #2464: the tail window starts at the last drawn row, not at the last row
|
|
445
|
+
* of the pane ({@link withoutTrailingBlankRows}), and C recognises every tool's
|
|
446
|
+
* paste placeholder ({@link findPasteTokens}), not only claude's.
|
|
447
|
+
*
|
|
448
|
+
* @param output - Captured pane, ANSI intact. For opencode this must be the
|
|
449
|
+
* whole pane; {@link ComposerSpec.verifyCaptureLines} is what asks tmux for it.
|
|
450
|
+
* @param cliToolId - CLI tool id, for the "generating" detector
|
|
451
|
+
* @param message - The body that was typed
|
|
452
|
+
* @param composer - The tool's composer description (Issue #1933). Defaults to
|
|
453
|
+
* the tool's own, so every existing three-argument caller is unchanged.
|
|
454
|
+
*/
|
|
455
|
+
function classifySubmit(output, cliToolId, message, composerSpec = (0, composer_spec_1.resolveComposerSpec)(cliToolId)) {
|
|
456
|
+
return classifySubmitWithRule(output, cliToolId, message, composerSpec).state;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* {@link classifySubmit} with the rule that decided the frame (Issue #4035).
|
|
460
|
+
* The sender logs the rule with every verdict, and treats a `submitted` from B
|
|
461
|
+
* or F — the screen saying only "the body is not in the composer" — as weaker
|
|
462
|
+
* evidence than A on a tool whose own hook reports the prompt.
|
|
463
|
+
*/
|
|
464
|
+
function classifySubmitWithRule(output, cliToolId, message, composerSpec = (0, composer_spec_1.resolveComposerSpec)(cliToolId)) {
|
|
465
|
+
const clean = (0, cli_patterns_1.stripAnsi)(output);
|
|
466
|
+
const lines = withoutTrailingBlankRows(clean.split('\n'));
|
|
467
|
+
const windowLines = lines.slice(-exports.VERIFY_WINDOW_LINES);
|
|
468
|
+
const windowStr = windowLines.join('\n');
|
|
469
|
+
// A. Actively generating a response => the message was accepted. Read from the
|
|
470
|
+
// tail window for every tool: each one's busy marker lives in a status bar
|
|
471
|
+
// pinned to the bottom of the pane, and widening it to opencode's whole
|
|
472
|
+
// frame would match `esc interrupt` printed inside a reply.
|
|
473
|
+
if ((0, cli_patterns_1.detectThinking)(cliToolId, windowStr)) {
|
|
474
|
+
return { state: 'submitted', rule: 'A' };
|
|
475
|
+
}
|
|
476
|
+
const composer = readSubmitComposer(output, cliToolId, composerSpec.reader, lines, windowLines, message);
|
|
477
|
+
// B. No composer visible (scrolled off / dialog / still starting), or the
|
|
478
|
+
// composer is empty => the message left the box => submitted.
|
|
479
|
+
if (composer.kind !== 'text') {
|
|
480
|
+
return { state: 'submitted', rule: composer.kind === 'absent' ? 'B-absent' : 'B-empty' };
|
|
481
|
+
}
|
|
482
|
+
// C. A paste placeholder is still folded into the composer => body is there.
|
|
483
|
+
if (composer.rows.some((row) => PASTE_PLACEHOLDER_PATTERN.test(row) || findPasteTokens(row).tokens.length > 0)) {
|
|
484
|
+
return { state: 'pending', rule: 'C' };
|
|
485
|
+
}
|
|
486
|
+
// D. The typed body is still sitting in the composer => resend Enter.
|
|
487
|
+
if (inputMatchesBody(composer.text, message)) {
|
|
488
|
+
return { state: 'pending', rule: 'D' };
|
|
489
|
+
}
|
|
490
|
+
// E. A different slash command is in the composer => a completion popup
|
|
491
|
+
// replaced what we typed. (Scoped to `/…` so idle-prompt placeholders that
|
|
492
|
+
// some TUIs paint on an empty composer are never mistaken for this.)
|
|
493
|
+
if (REPLACEMENT_COMMAND_PATTERN.test(composer.text)) {
|
|
494
|
+
return { state: 'replaced', rule: 'E' };
|
|
495
|
+
}
|
|
496
|
+
// F. Non-empty, non-command steady-state text (idle placeholder / hint) =>
|
|
497
|
+
// submitted, preserving the pre-#1501 permissive default. Not for a codex
|
|
498
|
+
// composer above the window (Issue #3906): before #3906 that frame was
|
|
499
|
+
// read as no composer at all; text there that is not the body says
|
|
500
|
+
// neither that the message left nor that Enter would send it.
|
|
501
|
+
return composer.outsideWindow ? { state: 'indeterminate', rule: 'F-outside' } : { state: 'submitted', rule: 'F' };
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Backward-compatible boolean view of {@link classifySubmit}: submitted vs not.
|
|
505
|
+
* A `replaced` verdict is NOT "submitted", so this returns false for it too.
|
|
506
|
+
*/
|
|
507
|
+
function isSubmitted(output, cliToolId, message, composerSpec = (0, composer_spec_1.resolveComposerSpec)(cliToolId)) {
|
|
508
|
+
return classifySubmit(output, cliToolId, message, composerSpec) === 'submitted';
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* How much of a pasted body the composer shows, read BEFORE Enter (Issue #2464).
|
|
512
|
+
*
|
|
513
|
+
* The question #2464 needs answered is not "did Enter work" but "is what Enter
|
|
514
|
+
* would submit the message we sent". Claude kept the last 24 bytes of a 12 KB
|
|
515
|
+
* brief as ordinary composer text; every check that runs after Enter saw an
|
|
516
|
+
* empty box and a generating model, i.e. a perfect send. So the composer is
|
|
517
|
+
* judged here, while pressing Enter can still be withheld:
|
|
518
|
+
*
|
|
519
|
+
* 1. A collapsed placeholder is compared by the count the TUI prints — lines
|
|
520
|
+
* for claude, agy and Command Code, characters for codex and agy's
|
|
521
|
+
* single-line form ({@link comparePasteToken}).
|
|
522
|
+
* 2. Plain text is the body only if it is the body's BEGINNING. Text that
|
|
523
|
+
* occurs in the body but not at its start is exactly the #2464 tail, and is
|
|
524
|
+
* a mismatch rather than "not drawn yet".
|
|
525
|
+
* 3. Anything else — the idle placeholder, a ghost suggestion, no composer —
|
|
526
|
+
* shows nothing of the body. `unseen`, which the caller decides about.
|
|
527
|
+
*
|
|
528
|
+
* Reads the composer the way {@link classifySubmit} does
|
|
529
|
+
* ({@link readSubmitComposer}), so a history echo of an earlier message above the
|
|
530
|
+
* composer is never mistaken for this one, and a frame both functions see holds
|
|
531
|
+
* the same composer for both (Issue #3880). A multi-row codex composer is
|
|
532
|
+
* compared as a whole ({@link codexComposerRegion}), whitespace removed
|
|
533
|
+
* (wrapping and continuation indent proof): only the WHOLE body is `landed`;
|
|
534
|
+
* the body's beginning alone is `pasting` (never enough to press Enter on), the
|
|
535
|
+
* body plus anything else or text from inside it is `mismatch`. The whole body
|
|
536
|
+
* is checked before placeholders, so a body that itself quotes
|
|
537
|
+
* `[Pasted Content 600 chars]` is its own text, not codex's placeholder; a real
|
|
538
|
+
* placeholder is only ever the composer's first row.
|
|
539
|
+
*
|
|
540
|
+
* Issue #3906: a codex composer outside the twelve-row window, or split into
|
|
541
|
+
* more blocks than `extractComposerText` searches, is still read with its whole
|
|
542
|
+
* region ({@link readSubmitComposer}), so neither `unseen` for a body that is
|
|
543
|
+
* there nor `landed` on its first line alone.
|
|
544
|
+
*/
|
|
545
|
+
function classifyPasteLanded(output, cliToolId, message, composerSpec = (0, composer_spec_1.resolveComposerSpec)(cliToolId)) {
|
|
546
|
+
const lines = withoutTrailingBlankRows((0, cli_patterns_1.stripAnsi)(output).split('\n'));
|
|
547
|
+
const composer = readSubmitComposer(output, cliToolId, composerSpec.reader, lines, lines.slice(-exports.VERIFY_WINDOW_LINES), message);
|
|
548
|
+
if (composer.kind !== 'text')
|
|
549
|
+
return 'unseen';
|
|
550
|
+
if (composer.region !== undefined) {
|
|
551
|
+
const shown = compactText(composer.region);
|
|
552
|
+
const body = compactText(message);
|
|
553
|
+
if (shown === body)
|
|
554
|
+
return 'landed';
|
|
555
|
+
const placeholder = findPasteTokens(composer.text);
|
|
556
|
+
if (placeholder.tokens.length > 0) {
|
|
557
|
+
// A placeholder plus anything else — on its row or under it — is not the body as sent.
|
|
558
|
+
const below = compactText(composer.region.split('\n').slice(1).join('\n'));
|
|
559
|
+
if (placeholder.tokens.length > 1 || placeholder.rest !== '' || below !== '')
|
|
560
|
+
return 'mismatch';
|
|
561
|
+
return comparePasteToken(placeholder.tokens[0], message);
|
|
562
|
+
}
|
|
563
|
+
if (body.startsWith(shown))
|
|
564
|
+
return 'pasting';
|
|
565
|
+
// The body's beginning followed by something else, the body plus more, or a
|
|
566
|
+
// piece from inside it: the composer holds something other than the body.
|
|
567
|
+
if (inputMatchesBody(composer.text, message) || shown.startsWith(body) || body.includes(shown)) {
|
|
568
|
+
return 'mismatch';
|
|
569
|
+
}
|
|
570
|
+
return 'unseen';
|
|
571
|
+
}
|
|
572
|
+
// The whole body on one row is the body, even when it quotes a placeholder.
|
|
573
|
+
if (compactText(composer.text) === compactText(message))
|
|
574
|
+
return 'landed';
|
|
575
|
+
const { tokens, rest } = findPasteTokens(composer.text);
|
|
576
|
+
if (tokens.length === 0) {
|
|
577
|
+
if (inputMatchesBody(composer.text, message))
|
|
578
|
+
return 'landed';
|
|
579
|
+
if (message.includes(composer.text))
|
|
580
|
+
return 'mismatch';
|
|
581
|
+
return 'unseen';
|
|
582
|
+
}
|
|
583
|
+
if (tokens.length > 1 || rest !== '')
|
|
584
|
+
return 'mismatch';
|
|
585
|
+
return comparePasteToken(tokens[0], message);
|
|
586
|
+
}
|
|
587
|
+
/** The text with every whitespace character removed — wrapping and indent proof. */
|
|
588
|
+
function compactText(text) {
|
|
589
|
+
return text.replace(/\s+/g, '');
|
|
590
|
+
}
|