commandmate 0.31.2 → 0.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +161 -161
- package/.next/app-path-routes-manifest.json +33 -33
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +15 -15
- package/.next/required-server-files.json +1 -1
- 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/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/update-check/route.js +1 -1
- package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/conversation/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/conversation/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/current-output/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/current-output/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/messages/route.js +1 -1
- package/.next/server/app/api/assistant/messages/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/messages/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/session/route.js +1 -1
- package/.next/server/app/api/assistant/session/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/start/route.js +2 -2
- package/.next/server/app/api/assistant/start/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/start/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/terminal/route.js +2 -2
- package/.next/server/app/api/assistant/terminal/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/terminal/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/assistant/tools/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 +1 -1
- 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.js +2 -2
- package/.next/server/app/api/push/escalation/route.js.nft.json +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.js +2 -2
- package/.next/server/app/api/push/vapid/route.js.nft.json +1 -1
- package/.next/server/app/api/push/vapid/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/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/todos/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.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_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/todos/route_client-reference-manifest.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_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.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_client-reference-manifest.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_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]/env/route_client-reference-manifest.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_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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.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.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 +1 -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_client-reference-manifest.js +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_client-reference-manifest.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_client-reference-manifest.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_client-reference-manifest.js +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_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]/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_client-reference-manifest.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_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 +1 -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.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_client-reference-manifest.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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route.js +1 -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_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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.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_client-reference-manifest.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/chat/page_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_client-reference-manifest.js +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_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 +33 -33
- package/.next/server/chunks/1058.js +1 -1
- package/.next/server/chunks/1068.js +1 -1
- package/.next/server/chunks/1191.js +1 -1
- package/.next/server/chunks/1886.js +1 -1
- package/.next/server/chunks/2119.js +1 -1
- package/.next/server/chunks/2445.js +1 -1
- package/.next/server/chunks/261.js +1 -1
- package/.next/server/chunks/2739.js +1 -1
- package/.next/server/chunks/3241.js +1 -1
- package/.next/server/chunks/3484.js +1 -0
- package/.next/server/chunks/358.js +1 -0
- package/.next/server/chunks/4325.js +1 -1
- package/.next/server/chunks/4393.js +1 -1
- package/.next/server/chunks/4443.js +1 -1
- package/.next/server/chunks/5017.js +1 -1
- package/.next/server/chunks/5120.js +1 -1
- package/.next/server/chunks/5164.js +1 -1
- package/.next/server/chunks/552.js +2 -2
- package/.next/server/chunks/595.js +8 -0
- package/.next/server/chunks/6130.js +1 -1
- package/.next/server/chunks/8800.js +1 -1
- package/.next/server/chunks/8918.js +3 -3
- package/.next/server/chunks/9123.js +1 -1
- package/.next/server/chunks/9130.js +2 -2
- package/.next/server/chunks/9627.js +3 -3
- package/.next/server/chunks/9696.js +2 -2
- package/.next/server/chunks/9798.js +2 -2
- 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/{1783-11c9b4d8a52ebd91.js → 2813-de885de8a4b11910.js} +1 -1
- package/.next/static/chunks/4718-07ec4e10186928db.js +1 -0
- package/.next/static/chunks/app/worktrees/[id]/page-91b639c90795baa9.js +1 -0
- package/.next/static/css/acc4b9c3feb04287.css +1 -0
- package/.next/trace +13 -13
- package/dist/lib/detection/tools/verified-against.d.ts +24 -24
- package/dist/lib/detection/tools/verified-against.js +24 -24
- package/dist/server/locales/en/worktree.json +1402 -0
- package/dist/server/locales/ja/worktree.json +1402 -0
- package/dist/server/src/lib/db/chat-db.js +44 -1
- package/dist/server/src/lib/detection/cli-patterns.js +157 -23
- package/dist/server/src/lib/detection/model-info-extractor.js +185 -4
- package/dist/server/src/lib/detection/tools/antigravity/detect.js +105 -25
- package/dist/server/src/lib/detection/tools/antigravity/dialog.js +233 -0
- package/dist/server/src/lib/detection/tools/verified-against.js +24 -24
- package/dist/server/src/lib/hooks/hook-settings-generator.js +16 -0
- package/dist/server/src/lib/hooks/sources/claude/model-switch.js +169 -0
- package/dist/server/src/lib/hooks/sources/claude/source.js +14 -1
- package/dist/server/src/lib/polling/response-checker.js +17 -1
- package/dist/server/src/lib/push/index.js +13 -1
- package/dist/server/src/lib/push/model-change-push-notifier.js +174 -0
- package/dist/server/src/lib/push/push-sender.js +48 -20
- package/dist/server/src/lib/realtime/model-change-broadcast.js +171 -0
- package/dist/server/src/lib/realtime/types.js +19 -1
- package/dist/server/src/lib/realtime/waiting-broadcast.js +13 -0
- package/dist/server/src/lib/session/agent-event-state.js +344 -12
- package/package.json +1 -1
- package/.next/server/chunks/6894.js +0 -8
- package/.next/server/chunks/7187.js +0 -1
- package/.next/server/chunks/7472.js +0 -1
- package/.next/static/chunks/4718-0d4d93c4c75f336e.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/page-7a0915e32a2af4d3.js +0 -1
- package/.next/static/css/5c13ea243dfdcb66.css +0 -1
- /package/.next/static/{GiOqe8rfQGQ0NvzB5qr3q → 0hTIackGXw6v7diXJS6yN}/_buildManifest.js +0 -0
- /package/.next/static/{GiOqe8rfQGQ0NvzB5qr3q → 0hTIackGXw6v7diXJS6yN}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/assistant/session/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"18606","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","4974","static/chunks/4974-35592ec312322124.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-f8e73c1fb5f6f0d3.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","6170","static/chunks/6170-951b9f5fe6b4b3b5.js","8974","static/chunks/app/page-c2bf871d953a1d6f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71534,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":30036,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/5c13ea243dfdcb66.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/session/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/assistant/session/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"76557","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","4974","static/chunks/4974-35592ec312322124.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-f8e73c1fb5f6f0d3.js","4718","static/chunks/4718-07ec4e10186928db.js","6170","static/chunks/6170-951b9f5fe6b4b3b5.js","8974","static/chunks/app/page-c2bf871d953a1d6f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":30036,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71534,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/acc4b9c3feb04287.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/session/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=219,a.ids=[219],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3421:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12462:(a,b,c)=>{c.d(b,{T8:()=>j,o4:()=>k});var d=c(31990),e=c(56791),f=c(79129),g=c(82450),h=c(15194);let i=(0,c(72626).h)("assistant-response-saver");function j(a,b){switch(b){case"claude":return(0,g.NN)(a);case"gemini":return(0,g.IS)(a);case"opencode":return(0,g.aW)(a);case"copilot":return(0,g.LH)(a);default:return a.trim()}}async function k(a,b,c,g,k){let l=k??c;try{let m;if((0,h.VA)(c))return null;let n=(0,e.getSessionState)(a,b,l),o=n?.lastCapturedLine||0;try{m=await (0,d.Wh)(b,c,1e4,k)}catch{return i.info("failed-to-capture"),null}if(!m)return null;let p=m.split("\n"),q=p.length;for(;q>0&&""===p[q-1].trim();)q--;let r=q,{bufferReset:s,reason:t}=r>0&&o>25&&r+25<o?{bufferReset:!0,reason:"shrink"}:r>0&&o>50&&r<50?{bufferReset:!0,reason:"restart"}:{bufferReset:!1,reason:null};s&&i.info("buffer:reset-detected",{reason:t,currentLineCount:r,lastCapturedLine:o});let u=s?0:o;if(!s&&r<=o)return r<o&&((0,e.updateSessionState)(a,b,c,r,k),i.info("position:corrected-stale",{from:o,to:r})),null;let v=p.slice(u).join("\n"),w=j(v,c);if(!w||""===w.trim())return(0,e.updateSessionState)(a,b,c,r,k),i.debug("response:empty-after-clean",{currentLineCount:r}),null;let x=new Date(g.getTime()-1),y=(0,e.createMessage)(a,{worktreeId:b,role:"assistant",content:w,messageType:"normal",timestamp:x,cliToolId:c,instanceId:l});return(0,e.updateSessionState)(a,b,c,r,k),(0,f.broadcastMessage)("message",{worktreeId:b,message:y}),i.info("response:saved",{fromLine:o,toLine:r}),y}catch(a){return i.error("error:",{error:a instanceof Error?a.message:String(a)}),null}}},16700:(a,b,c)=>{c.d(b,{A:()=>e,Y:()=>f});let d=new Set(["claude","codex","antigravity"]);function e(a){return d.has(a)?"non_interactive":"interactive"}function f(a){return"non_interactive"===e(a)}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},23197:(a,b,c)=>{c.d(b,{$M:()=>e,H1:()=>d,q5:()=>f});let d="__global__",e=2e3,f=900},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46961:(a,b,c)=>{c.d(b,{e:()=>f});var d=c(56791),e=c(82149);function f(a,b){if(!(0,d.getAssistantConversationById)(a,b))return;let c=(0,d.getRunningAssistantExecutionByConversation)(a,b),f=(0,e.kx)(b);c&&!f&&((0,d.updateAssistantExecution)(a,c.id,{status:"failed",finishedAt:new Date,stderrText:[c.stderrText??"","[Execution reconciled after process registry loss]"].filter(Boolean).join("\n")}),(0,d.updateAssistantConversation)(a,b,{status:"ready"}))}},49070:(a,b,c)=>{c.d(b,{A:()=>l});var d=c(31990),e=c(3523),f=c(12462),g=c(56791),h=c(57821),i=c(72626),j=c(85164);let k=(0,i.h)("assistant/conversation-response-saver");async function l(a,b,c,i=new Date){try{let k=(0,g.getAssistantSessionState)(a,b),l=k?.lastCapturedLine??0,m=(0,h.G)(b),n=await (0,d.Wh)(m,c,1e4),o="codex"===c?function(a,b){let c=a.split("\n"),d=c.length;for(;d>0&&""===c[d-1].trim();)d--;let e=c.slice(0,d),f=[];for(let a=Math.max(0,b);a<e.length;a++){let b=(0,j.aJ)(e[a]).trimEnd();/^›(?:\s+.*)?$/.test(b)&&f.push(a)}if(f.length<2)return null;let g=f[f.length-2],h=f[f.length-1],i=(0,j.aJ)(e.slice(g+1,h).join("\n")).trim();return i?!function(a){let b=a.trim();return/^•\s+Working\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Thinking\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Running/i.test(b)}(i)?{response:i,lineCount:h}:null:{response:"",lineCount:h}}(n,l):null,p=o?{response:o.response,isComplete:!0,lineCount:o.lineCount,bufferReset:!1}:(0,e.z$)(n,l,c);if(!p||!p.isComplete||!p.bufferReset&&p.lineCount<=l)return null;let q=(0,f.T8)(p.response,c);if(!q||""===q.trim()||"[No content]"===q)return(0,g.updateAssistantSessionState)(a,b,p.lineCount),null;let r=(0,g.createAssistantMessage)(a,{conversationId:b,role:"assistant",content:q,messageType:"normal",timestamp:i});return(0,g.updateAssistantSessionState)(a,b,p.lineCount),r}catch(a){return k.debug("save:skipped",{conversationId:b,cliToolId:c,error:a instanceof Error?a.message:String(a)}),null}}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},56782:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>S,patchFetch:()=>R,routeModule:()=>N,serverHooks:()=>Q,workAsyncStorage:()=>O,workUnitAsyncStorage:()=>P});var d={};c.r(d),c.d(d,{POST:()=>M});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(15194),w=c(88807),x=c(10406),y=c(56791),z=c(43234),A=c(79892),B=c(67502),C=c(57821),D=c(98939),E=c(96287),F=c(2669),G=c(70021),H=c(72626),I=c(31990),J=c(16700),K=c(46961);let L=(0,H.h)("api/assistant/start");async function M(a){try{let{cliToolId:b,repositoryId:c}=await a.json();if(!b||"string"!=typeof b||!(0,v.hR)(b))return u.NextResponse.json({error:"Invalid cliToolId parameter"},{status:400});if(!(0,J.Y)(b))return u.NextResponse.json({error:`Assistant Chat supports only claude and codex (got '${b}')`},{status:400});if(!c||"string"!=typeof c)return u.NextResponse.json({error:"Invalid repositoryId parameter"},{status:400});let d=(0,w.getDbInstance)(),e=(0,x.r)(d,c);if(!e)return u.NextResponse.json({error:"Repository not found"},{status:404});let f=z.CLIToolManager.getInstance().getTool(b);await (0,E.$k)(f,(0,D.u)(e));let g=(0,y.getAssistantConversationByRepositoryAndCliTool)(d,c,b);if(g||(g=(0,y.createAssistantConversation)(d,{repositoryId:c,cliToolId:b,workingDirectory:e.path,executionMode:(0,J.A)(b),status:"stopped"})),(0,J.Y)(b)){if((0,K.e)(d,g.id),g=(0,y.getAssistantConversationByRepositoryAndCliTool)(d,c,b)??g,(0,y.getRunningAssistantExecutionByConversation)(d,g.id))return u.NextResponse.json({error:"Conversation already has a running execution"},{status:409});let a=new Date,f=(0,B._$)(b,d,a);return g=(0,y.updateAssistantConversation)(d,g.id,{executionMode:"non_interactive",workingDirectory:e.path,status:"ready",contextSentAt:a,contextSnapshot:f})??g,L.info("conversation:ready",{conversationId:g.id,cliToolId:b,repositoryId:c}),u.NextResponse.json({success:!0,conversation:g,executionMode:"non_interactive",resumeAvailable:!!g.resumeSessionId})}let{worktreeId:h,sessionName:i}=(0,C.O)(b,g.id),j=await (0,A.N)(i);if(await f.startSession(h,e.path),!j)try{let a=(await (0,I.Wh)(h,b,1e4)).split("\n"),c=a.length;for(;c>0&&""===a[c-1].trim();)c--;(0,y.updateAssistantSessionState)(d,g.id,c)}catch{}let k=new Date,l=g.contextSentAt??null;if(!j){let a=(0,B.JD)(b,d);await f.sendMessage(h,a),l=k,(0,y.deleteAssistantSessionState)(d,g.id),(0,y.createAssistantMessage)(d,{conversationId:g.id,role:"system",content:"New assistant session started",messageType:"session_boundary",timestamp:k})}return g=(0,y.updateAssistantConversation)(d,g.id,{executionMode:"interactive",workingDirectory:e.path,sessionName:i,status:"running",lastStartedAt:k,contextSentAt:l})??g,(0,G.jo)(g.id,b),L.info("session:started",{conversationId:g.id,cliToolId:b,sessionName:i,repositoryId:c}),u.NextResponse.json({success:!0,conversation:g,executionMode:"interactive",resumeAvailable:!1})}catch(a){if((0,F.JI)(a))return L.info("start:unavailable",{error:a.message}),u.NextResponse.json({error:a.message,code:F.Zf},{status:503});return L.error("start-api-error",{error:a instanceof Error?a.message:String(a)}),u.NextResponse.json({error:"Failed to start assistant session"},{status:500})}}let N=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/assistant/start/route",pathname:"/api/assistant/start",filename:"route",bundlePath:"app/api/assistant/start/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/start/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:O,workUnitAsyncStorage:P,serverHooks:Q}=N;function R(){return(0,g.patchFetch)({workAsyncStorage:O,workUnitAsyncStorage:P})}async function S(a,b,c){var d;let e="/api/assistant/start/route";"/index"===e&&(e="/");let g=await N.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||N.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===N.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),K=J.getActiveScopeSpan(),L={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>N.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},M=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(b));try{let d=async c=>N.handle(P,L).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=L.renderOpts.collectedTags;if(!E)return await (0,o.I)(M,O,e,L.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,d=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:L.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await N.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(M,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};K?await g(K):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(M,O,new Response(null,{status:500})),null}}},57821:(a,b,c)=>{c.d(b,{G:()=>e,O:()=>f});var d=c(43234);function e(a){return`assistant-${a}`}function f(a,b){let c=d.CLIToolManager.getInstance().getTool(a),f=e(b),g=c.getSessionName(f);return{cliTool:c,worktreeId:f,sessionName:g}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67502:(a,b,c)=>{c.d(b,{JD:()=>i,_$:()=>h});var d=c(15194),e=c(10406),f=c(73753),g=c(74300);function h(a,b,c=new Date){var i;let j=(0,d.oo)(a);return[`You are an assistant using ${j}, running inside CommandMate.`,"",(i=(0,g.S8)(),`## CommandMate CLI Reference
|
|
1
|
+
"use strict";(()=>{var a={};a.id=219,a.ids=[219],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3421:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12462:(a,b,c)=>{c.d(b,{T8:()=>j,o4:()=>k});var d=c(31990),e=c(56791),f=c(49640),g=c(82450),h=c(15194);let i=(0,c(72626).h)("assistant-response-saver");function j(a,b){switch(b){case"claude":return(0,g.NN)(a);case"gemini":return(0,g.IS)(a);case"opencode":return(0,g.aW)(a);case"copilot":return(0,g.LH)(a);default:return a.trim()}}async function k(a,b,c,g,k){let l=k??c;try{let m;if((0,h.VA)(c))return null;let n=(0,e.getSessionState)(a,b,l),o=n?.lastCapturedLine||0;try{m=await (0,d.Wh)(b,c,1e4,k)}catch{return i.info("failed-to-capture"),null}if(!m)return null;let p=m.split("\n"),q=p.length;for(;q>0&&""===p[q-1].trim();)q--;let r=q,{bufferReset:s,reason:t}=r>0&&o>25&&r+25<o?{bufferReset:!0,reason:"shrink"}:r>0&&o>50&&r<50?{bufferReset:!0,reason:"restart"}:{bufferReset:!1,reason:null};s&&i.info("buffer:reset-detected",{reason:t,currentLineCount:r,lastCapturedLine:o});let u=s?0:o;if(!s&&r<=o)return r<o&&((0,e.updateSessionState)(a,b,c,r,k),i.info("position:corrected-stale",{from:o,to:r})),null;let v=p.slice(u).join("\n"),w=j(v,c);if(!w||""===w.trim())return(0,e.updateSessionState)(a,b,c,r,k),i.debug("response:empty-after-clean",{currentLineCount:r}),null;let x=new Date(g.getTime()-1),y=(0,e.createMessage)(a,{worktreeId:b,role:"assistant",content:w,messageType:"normal",timestamp:x,cliToolId:c,instanceId:l});return(0,e.updateSessionState)(a,b,c,r,k),(0,f.broadcastMessage)("message",{worktreeId:b,message:y}),i.info("response:saved",{fromLine:o,toLine:r}),y}catch(a){return i.error("error:",{error:a instanceof Error?a.message:String(a)}),null}}},16700:(a,b,c)=>{c.d(b,{A:()=>e,Y:()=>f});let d=new Set(["claude","codex","antigravity"]);function e(a){return d.has(a)?"non_interactive":"interactive"}function f(a){return"non_interactive"===e(a)}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},23197:(a,b,c)=>{c.d(b,{$M:()=>e,H1:()=>d,q5:()=>f});let d="__global__",e=2e3,f=900},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46961:(a,b,c)=>{c.d(b,{e:()=>f});var d=c(56791),e=c(82149);function f(a,b){if(!(0,d.getAssistantConversationById)(a,b))return;let c=(0,d.getRunningAssistantExecutionByConversation)(a,b),f=(0,e.kx)(b);c&&!f&&((0,d.updateAssistantExecution)(a,c.id,{status:"failed",finishedAt:new Date,stderrText:[c.stderrText??"","[Execution reconciled after process registry loss]"].filter(Boolean).join("\n")}),(0,d.updateAssistantConversation)(a,b,{status:"ready"}))}},49070:(a,b,c)=>{c.d(b,{A:()=>l});var d=c(31990),e=c(3523),f=c(12462),g=c(56791),h=c(57821),i=c(72626),j=c(85164);let k=(0,i.h)("assistant/conversation-response-saver");async function l(a,b,c,i=new Date){try{let k=(0,g.getAssistantSessionState)(a,b),l=k?.lastCapturedLine??0,m=(0,h.G)(b),n=await (0,d.Wh)(m,c,1e4),o="codex"===c?function(a,b){let c=a.split("\n"),d=c.length;for(;d>0&&""===c[d-1].trim();)d--;let e=c.slice(0,d),f=[];for(let a=Math.max(0,b);a<e.length;a++){let b=(0,j.aJ)(e[a]).trimEnd();/^›(?:\s+.*)?$/.test(b)&&f.push(a)}if(f.length<2)return null;let g=f[f.length-2],h=f[f.length-1],i=(0,j.aJ)(e.slice(g+1,h).join("\n")).trim();return i?!function(a){let b=a.trim();return/^•\s+Working\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Thinking\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Running/i.test(b)}(i)?{response:i,lineCount:h}:null:{response:"",lineCount:h}}(n,l):null,p=o?{response:o.response,isComplete:!0,lineCount:o.lineCount,bufferReset:!1}:(0,e.z$)(n,l,c);if(!p||!p.isComplete||!p.bufferReset&&p.lineCount<=l)return null;let q=(0,f.T8)(p.response,c);if(!q||""===q.trim()||"[No content]"===q)return(0,g.updateAssistantSessionState)(a,b,p.lineCount),null;let r=(0,g.createAssistantMessage)(a,{conversationId:b,role:"assistant",content:q,messageType:"normal",timestamp:i});return(0,g.updateAssistantSessionState)(a,b,p.lineCount),r}catch(a){return k.debug("save:skipped",{conversationId:b,cliToolId:c,error:a instanceof Error?a.message:String(a)}),null}}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},56782:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>S,patchFetch:()=>R,routeModule:()=>N,serverHooks:()=>Q,workAsyncStorage:()=>O,workUnitAsyncStorage:()=>P});var d={};c.r(d),c.d(d,{POST:()=>M});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(15194),w=c(88807),x=c(10406),y=c(56791),z=c(43234),A=c(79892),B=c(67502),C=c(57821),D=c(98939),E=c(96287),F=c(2669),G=c(70021),H=c(72626),I=c(31990),J=c(16700),K=c(46961);let L=(0,H.h)("api/assistant/start");async function M(a){try{let{cliToolId:b,repositoryId:c}=await a.json();if(!b||"string"!=typeof b||!(0,v.hR)(b))return u.NextResponse.json({error:"Invalid cliToolId parameter"},{status:400});if(!(0,J.Y)(b))return u.NextResponse.json({error:`Assistant Chat supports only claude and codex (got '${b}')`},{status:400});if(!c||"string"!=typeof c)return u.NextResponse.json({error:"Invalid repositoryId parameter"},{status:400});let d=(0,w.getDbInstance)(),e=(0,x.r)(d,c);if(!e)return u.NextResponse.json({error:"Repository not found"},{status:404});let f=z.CLIToolManager.getInstance().getTool(b);await (0,E.$k)(f,(0,D.u)(e));let g=(0,y.getAssistantConversationByRepositoryAndCliTool)(d,c,b);if(g||(g=(0,y.createAssistantConversation)(d,{repositoryId:c,cliToolId:b,workingDirectory:e.path,executionMode:(0,J.A)(b),status:"stopped"})),(0,J.Y)(b)){if((0,K.e)(d,g.id),g=(0,y.getAssistantConversationByRepositoryAndCliTool)(d,c,b)??g,(0,y.getRunningAssistantExecutionByConversation)(d,g.id))return u.NextResponse.json({error:"Conversation already has a running execution"},{status:409});let a=new Date,f=(0,B._$)(b,d,a);return g=(0,y.updateAssistantConversation)(d,g.id,{executionMode:"non_interactive",workingDirectory:e.path,status:"ready",contextSentAt:a,contextSnapshot:f})??g,L.info("conversation:ready",{conversationId:g.id,cliToolId:b,repositoryId:c}),u.NextResponse.json({success:!0,conversation:g,executionMode:"non_interactive",resumeAvailable:!!g.resumeSessionId})}let{worktreeId:h,sessionName:i}=(0,C.O)(b,g.id),j=await (0,A.N)(i);if(await f.startSession(h,e.path),!j)try{let a=(await (0,I.Wh)(h,b,1e4)).split("\n"),c=a.length;for(;c>0&&""===a[c-1].trim();)c--;(0,y.updateAssistantSessionState)(d,g.id,c)}catch{}let k=new Date,l=g.contextSentAt??null;if(!j){let a=(0,B.JD)(b,d);await f.sendMessage(h,a),l=k,(0,y.deleteAssistantSessionState)(d,g.id),(0,y.createAssistantMessage)(d,{conversationId:g.id,role:"system",content:"New assistant session started",messageType:"session_boundary",timestamp:k})}return g=(0,y.updateAssistantConversation)(d,g.id,{executionMode:"interactive",workingDirectory:e.path,sessionName:i,status:"running",lastStartedAt:k,contextSentAt:l})??g,(0,G.jo)(g.id,b),L.info("session:started",{conversationId:g.id,cliToolId:b,sessionName:i,repositoryId:c}),u.NextResponse.json({success:!0,conversation:g,executionMode:"interactive",resumeAvailable:!1})}catch(a){if((0,F.JI)(a))return L.info("start:unavailable",{error:a.message}),u.NextResponse.json({error:a.message,code:F.Zf},{status:503});return L.error("start-api-error",{error:a instanceof Error?a.message:String(a)}),u.NextResponse.json({error:"Failed to start assistant session"},{status:500})}}let N=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/assistant/start/route",pathname:"/api/assistant/start",filename:"route",bundlePath:"app/api/assistant/start/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/start/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:O,workUnitAsyncStorage:P,serverHooks:Q}=N;function R(){return(0,g.patchFetch)({workAsyncStorage:O,workUnitAsyncStorage:P})}async function S(a,b,c){var d;let e="/api/assistant/start/route";"/index"===e&&(e="/");let g=await N.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||N.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===N.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),K=J.getActiveScopeSpan(),L={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>N.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},M=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(b));try{let d=async c=>N.handle(P,L).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=L.renderOpts.collectedTags;if(!E)return await (0,o.I)(M,O,e,L.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,d=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:L.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await N.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await N.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(M,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};K?await g(K):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await N.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(M,O,new Response(null,{status:500})),null}}},57821:(a,b,c)=>{c.d(b,{G:()=>e,O:()=>f});var d=c(43234);function e(a){return`assistant-${a}`}function f(a,b){let c=d.CLIToolManager.getInstance().getTool(a),f=e(b),g=c.getSessionName(f);return{cliTool:c,worktreeId:f,sessionName:g}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67502:(a,b,c)=>{c.d(b,{JD:()=>i,_$:()=>h});var d=c(15194),e=c(10406),f=c(73753),g=c(74300);function h(a,b,c=new Date){var i;let j=(0,d.oo)(a);return[`You are an assistant using ${j}, running inside CommandMate.`,"",(i=(0,g.S8)(),`## CommandMate CLI Reference
|
|
2
2
|
|
|
3
3
|
The user runs a CommandMate server locally. These are the CLI commands available from their terminal:
|
|
4
4
|
|
|
@@ -29,4 +29,4 @@ Other notes:
|
|
|
29
29
|
|
|
30
30
|
- \`--duration\` accepts values like \`1h\`, \`3h\`, \`8h\`.
|
|
31
31
|
- \`send --contract <path>\` records an execution contract (a YAML file under the worktree, e.g. \`.commandmate/tasks/my-task.yaml\`) and sends its preamble plus goal. \`wait --verify\` then adjudicates with the verification gates: exit 20 when a gate fails, 21 when there is nothing to verify.
|
|
32
|
-
`),function(a){let b=(0,e.Yg)(a);if(0===b.length)return"## Registered Repositories\n\nNo repositories are currently registered.";let c=["## Registered Repositories",""];for(let d of(c.push("| Alias | Name | Path | Worktrees | Enabled |"),c.push("|-------|------|------|-----------|---------|"),b)){let b=d.displayName&&d.displayName!==d.name?d.displayName:"-",e=(0,f.vi)(a,d.path).length,g=d.enabled?"yes":"no";c.push(`| ${b} | ${d.name} | ${d.path} | ${e} | ${g} |`)}return c.join("\n")}(b),"",function(a,b){let c=(0,f.vi)(a).filter(a=>a.status&&"done"!==a.status).slice(0,30),e=["## Active Worktree Session Snapshot",`Snapshot taken at: ${b.toISOString()} (not refreshed per message)`,""];if(0===c.length)return e.push("_No worktree sessions had an active status at snapshot time._"),e.join("\n");for(let a of(e.push("| Repository | Branch | CLI | Status | Path |"),e.push("|------------|--------|-----|--------|------|"),c)){var g;let b=a.repositoryDisplayName||a.repositoryName||"-",c=a.name,f=(g=a.cliToolId)?d.ef[g]??g:"-",h=a.status??"-";e.push(`| ${b} | ${c} | ${f} | ${h} | ${a.path} |`)}return e.join("\n")}(b,c)].join("\n")}function i(a,b){return h(a,b)}},70021:(a,b,c)=>{c.d(b,{N$:()=>p,jo:()=>o});var d=c(88807),e=c(56791),f=c(23197),g=c(79892),h=c(72626),i=c(57821),j=c(49070);let k=(0,h.h)("assistant-conversation-poller"),l=new Map,m=new Map;function n(a,b){return`${a}:${b}`}function o(a,b){p(a,b);let c=n(a,b);m.set(c,0),function a(b,c){let h=n(b,c),o=setTimeout(async()=>{let n=m.get(h)??0;if(n>=f.q5)return void p(b,c);m.set(h,n+1);try{let a=(0,d.getDbInstance)(),f=(0,e.getAssistantConversationById)(a,b);if(!f||f.cliToolId!==c||"running"!==f.status)return void p(b,c);let{sessionName:h}=(0,i.O)(c,b);if(!await (0,g.N)(h)){(0,e.updateAssistantConversation)(a,b,{status:"stopped",lastStoppedAt:new Date}),(0,e.deleteAssistantSessionState)(a,b),p(b,c);return}await (0,j.A)(a,b,c)}catch(a){k.error("poll:error",{conversationId:b,cliToolId:c,error:a instanceof Error?a.message:String(a)})}l.has(h)&&a(b,c)},f.$M);l.set(h,o)}(a,b)}function p(a,b){let c=n(a,b),d=l.get(c);d&&(clearTimeout(d),l.delete(c),m.delete(c))}},74075:a=>{a.exports=require("zlib")},74300:(a,b,c)=>{c.d(b,{S8:()=>e,ah:()=>d});let d=3e3;function e(a=process.env){return"commandmate-cli"===a.CM_LAUNCHED_BY?"commandmate":"commandmatedev"}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},82149:(a,b,c)=>{c.d(b,{AR:()=>i,Qi:()=>j,XO:()=>f,kx:()=>h,uT:()=>g});let d=new Map,e=new Map;function f(a,b,c){d.set(a,{executionId:a,conversationId:b,process:c,cancellationRequested:!1}),e.set(b,a)}function g(a){let b=d.get(a);b&&(e.delete(b.conversationId),d.delete(a))}function h(a){let b=e.get(a);return b?d.get(b)??null:null}function i(a){return d.get(a)?.cancellationRequested??!1}function j(a){let b=h(a);return!!b&&(b.cancellationRequested=!0,!b.process.killed&&b.process.kill("SIGTERM"))}},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},95736:(a,b,c)=>{a.exports=c(44870)},98939:(a,b,c)=>{c.d(b,{u:()=>d});function d(a){return{worktreeId:`assistant-repo-${a.id}`,subject:{name:a.displayName||a.name,url:"/chat"}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,1356,1503,1634,4390,9627,8807,406,5164,9798,9130,4443,4299,8800,7905,1886,1719,
|
|
32
|
+
`),function(a){let b=(0,e.Yg)(a);if(0===b.length)return"## Registered Repositories\n\nNo repositories are currently registered.";let c=["## Registered Repositories",""];for(let d of(c.push("| Alias | Name | Path | Worktrees | Enabled |"),c.push("|-------|------|------|-----------|---------|"),b)){let b=d.displayName&&d.displayName!==d.name?d.displayName:"-",e=(0,f.vi)(a,d.path).length,g=d.enabled?"yes":"no";c.push(`| ${b} | ${d.name} | ${d.path} | ${e} | ${g} |`)}return c.join("\n")}(b),"",function(a,b){let c=(0,f.vi)(a).filter(a=>a.status&&"done"!==a.status).slice(0,30),e=["## Active Worktree Session Snapshot",`Snapshot taken at: ${b.toISOString()} (not refreshed per message)`,""];if(0===c.length)return e.push("_No worktree sessions had an active status at snapshot time._"),e.join("\n");for(let a of(e.push("| Repository | Branch | CLI | Status | Path |"),e.push("|------------|--------|-----|--------|------|"),c)){var g;let b=a.repositoryDisplayName||a.repositoryName||"-",c=a.name,f=(g=a.cliToolId)?d.ef[g]??g:"-",h=a.status??"-";e.push(`| ${b} | ${c} | ${f} | ${h} | ${a.path} |`)}return e.join("\n")}(b,c)].join("\n")}function i(a,b){return h(a,b)}},70021:(a,b,c)=>{c.d(b,{N$:()=>p,jo:()=>o});var d=c(88807),e=c(56791),f=c(23197),g=c(79892),h=c(72626),i=c(57821),j=c(49070);let k=(0,h.h)("assistant-conversation-poller"),l=new Map,m=new Map;function n(a,b){return`${a}:${b}`}function o(a,b){p(a,b);let c=n(a,b);m.set(c,0),function a(b,c){let h=n(b,c),o=setTimeout(async()=>{let n=m.get(h)??0;if(n>=f.q5)return void p(b,c);m.set(h,n+1);try{let a=(0,d.getDbInstance)(),f=(0,e.getAssistantConversationById)(a,b);if(!f||f.cliToolId!==c||"running"!==f.status)return void p(b,c);let{sessionName:h}=(0,i.O)(c,b);if(!await (0,g.N)(h)){(0,e.updateAssistantConversation)(a,b,{status:"stopped",lastStoppedAt:new Date}),(0,e.deleteAssistantSessionState)(a,b),p(b,c);return}await (0,j.A)(a,b,c)}catch(a){k.error("poll:error",{conversationId:b,cliToolId:c,error:a instanceof Error?a.message:String(a)})}l.has(h)&&a(b,c)},f.$M);l.set(h,o)}(a,b)}function p(a,b){let c=n(a,b),d=l.get(c);d&&(clearTimeout(d),l.delete(c),m.delete(c))}},74075:a=>{a.exports=require("zlib")},74300:(a,b,c)=>{c.d(b,{S8:()=>e,ah:()=>d});let d=3e3;function e(a=process.env){return"commandmate-cli"===a.CM_LAUNCHED_BY?"commandmate":"commandmatedev"}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},82149:(a,b,c)=>{c.d(b,{AR:()=>i,Qi:()=>j,XO:()=>f,kx:()=>h,uT:()=>g});let d=new Map,e=new Map;function f(a,b,c){d.set(a,{executionId:a,conversationId:b,process:c,cancellationRequested:!1}),e.set(b,a)}function g(a){let b=d.get(a);b&&(e.delete(b.conversationId),d.delete(a))}function h(a){let b=e.get(a);return b?d.get(b)??null:null}function i(a){return d.get(a)?.cancellationRequested??!1}function j(a){let b=h(a);return!!b&&(b.cancellationRequested=!0,!b.process.killed&&b.process.kill("SIGTERM"))}},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},95736:(a,b,c)=>{a.exports=c(44870)},98939:(a,b,c)=>{c.d(b,{u:()=>d});function d(a){return{worktreeId:`assistant-repo-${a.id}`,subject:{name:a.displayName||a.name,url:"/chat"}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,1356,1503,1634,4390,9627,8807,406,5164,9798,1191,9130,4443,4299,8800,7905,1886,1719,2119,2445,595,6337,1990,3484,5017,1058,9696,8918,552],()=>b(b.s=56782));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../data/cm.db","../../../../../../locales/en/notifications.json","../../../../../../locales/ja/notifications.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../package.json","../../../../chunks/1058.js","../../../../chunks/1191.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/1990.js","../../../../chunks/261.js","../../../../chunks/2739.js","../../../../chunks/2839.js","../../../../chunks/3241.js","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../data/cm.db","../../../../../../locales/en/notifications.json","../../../../../../locales/en/worktree.json","../../../../../../locales/ja/notifications.json","../../../../../../locales/ja/worktree.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../package.json","../../../../chunks/1058.js","../../../../chunks/1191.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/1990.js","../../../../chunks/2119.js","../../../../chunks/2445.js","../../../../chunks/261.js","../../../../chunks/2739.js","../../../../chunks/2839.js","../../../../chunks/3241.js","../../../../chunks/3484.js","../../../../chunks/358.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5017.js","../../../../chunks/5043.js","../../../../chunks/5120.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/552.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6337.js","../../../../chunks/641.js","../../../../chunks/7366.js","../../../../chunks/7836.js","../../../../chunks/7905.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../chunks/9696.js","../../../../chunks/9798.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/assistant/start/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"18606","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","4974","static/chunks/4974-35592ec312322124.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-f8e73c1fb5f6f0d3.js","4718","static/chunks/4718-0d4d93c4c75f336e.js","6170","static/chunks/6170-951b9f5fe6b4b3b5.js","8974","static/chunks/app/page-c2bf871d953a1d6f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71534,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":30036,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/5c13ea243dfdcb66.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/start/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/assistant/start/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"76557","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-07ec4e10186928db.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","4974","static/chunks/4974-35592ec312322124.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-f8e73c1fb5f6f0d3.js","4718","static/chunks/4718-07ec4e10186928db.js","6170","static/chunks/6170-951b9f5fe6b4b3b5.js","8974","static/chunks/app/page-c2bf871d953a1d6f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":30036,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71534,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/acc4b9c3feb04287.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/start/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71534":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=2149,a.ids=[2149],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3421:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12462:(a,b,c)=>{c.d(b,{T8:()=>j,o4:()=>k});var d=c(31990),e=c(56791),f=c(
|
|
1
|
+
"use strict";(()=>{var a={};a.id=2149,a.ids=[2149],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3421:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12462:(a,b,c)=>{c.d(b,{T8:()=>j,o4:()=>k});var d=c(31990),e=c(56791),f=c(49640),g=c(82450),h=c(15194);let i=(0,c(72626).h)("assistant-response-saver");function j(a,b){switch(b){case"claude":return(0,g.NN)(a);case"gemini":return(0,g.IS)(a);case"opencode":return(0,g.aW)(a);case"copilot":return(0,g.LH)(a);default:return a.trim()}}async function k(a,b,c,g,k){let l=k??c;try{let m;if((0,h.VA)(c))return null;let n=(0,e.getSessionState)(a,b,l),o=n?.lastCapturedLine||0;try{m=await (0,d.Wh)(b,c,1e4,k)}catch{return i.info("failed-to-capture"),null}if(!m)return null;let p=m.split("\n"),q=p.length;for(;q>0&&""===p[q-1].trim();)q--;let r=q,{bufferReset:s,reason:t}=r>0&&o>25&&r+25<o?{bufferReset:!0,reason:"shrink"}:r>0&&o>50&&r<50?{bufferReset:!0,reason:"restart"}:{bufferReset:!1,reason:null};s&&i.info("buffer:reset-detected",{reason:t,currentLineCount:r,lastCapturedLine:o});let u=s?0:o;if(!s&&r<=o)return r<o&&((0,e.updateSessionState)(a,b,c,r,k),i.info("position:corrected-stale",{from:o,to:r})),null;let v=p.slice(u).join("\n"),w=j(v,c);if(!w||""===w.trim())return(0,e.updateSessionState)(a,b,c,r,k),i.debug("response:empty-after-clean",{currentLineCount:r}),null;let x=new Date(g.getTime()-1),y=(0,e.createMessage)(a,{worktreeId:b,role:"assistant",content:w,messageType:"normal",timestamp:x,cliToolId:c,instanceId:l});return(0,e.updateSessionState)(a,b,c,r,k),(0,f.broadcastMessage)("message",{worktreeId:b,message:y}),i.info("response:saved",{fromLine:o,toLine:r}),y}catch(a){return i.error("error:",{error:a instanceof Error?a.message:String(a)}),null}}},14492:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>W,patchFetch:()=>V,routeModule:()=>R,serverHooks:()=>U,workAsyncStorage:()=>S,workUnitAsyncStorage:()=>T});var d={};c.r(d),c.d(d,{POST:()=>Q});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(15194),w=c(88807),x=c(56791),y=c(10406),z=c(79892),A=c(57821),B=c(49070),C=c(72626),D=c(16700),E=c(46961),F=c(79646),G=c(73434),H=c(96287),I=c(98939),J=c(67502),K=c(82149),L=c(85164);function M(a){if(!a||"object"!=typeof a)return null;let b=Object.entries(a);for(let[a,c]of b)if("string"==typeof c&&["session_id","sessionId","conversation_id","conversationId","thread_id","threadId"].includes(a))return c;for(let[,a]of b){let b=M(a);if(b)return b}return null}let N=(0,C.h)("assistant/non-interactive-runner");async function O(a){let{db:b,conversationId:c,cliToolId:d,repository:e,userMessageId:f,userMessage:g}=a,h=(0,x.getAssistantConversationById)(b,c);if(!h)throw Error("Conversation not found");let i=(0,x.getAssistantMessages)(b,c,{limit:50}).sort((a,b)=>a.timestamp.getTime()-b.timestamp.getTime()),j=function(a){let{db:b,cliToolId:c,repository:d,messages:e,userMessage:f,conversation:g}=a;return[g?.contextSnapshot??(0,J._$)(c,b),"\n## Active Repository",`${d.displayName||d.name}: ${d.path}`,"\n## Conversation History",function(a){let b=a.slice(-12);return 0===b.length?"No prior conversation history.":b.filter(a=>"normal"===a.messageType).map(a=>`${a.role.toUpperCase()}: ${a.content}`).join("\n\n")}(e),"\n## New User Message",f].join("\n")}({db:b,cliToolId:d,repository:e,messages:i,userMessage:g,conversation:h}),k=function(a,b){switch(a){case"claude":{let a=["-p","--output-format","stream-json","--verbose","--permission-mode","bypassPermissions"];return b?[...a,"--resume",b]:a}case"codex":{let a=["--full-auto"];return b?["exec","resume",b,"--json",...a]:["exec","--json",...a]}case"antigravity":return["-p","--dangerously-skip-permissions"];default:return[]}}(d,h.resumeSessionId),l="antigravity"===d?"agy":d,m=`${l} ${k.join(" ")}`.trim(),n=new Date,o=(0,x.createAssistantExecution)(b,{conversationId:c,cliToolId:d,status:"queued",commandLine:m,promptText:j,resumeSessionIdBefore:h.resumeSessionId,startedAt:n}),p=(0,F.spawn)(l,k,{cwd:e.path,env:(0,G.hh)(),stdio:"pipe"});(0,K.XO)(o.id,c,p);let q="",r="",s=!1,t=(a,b)=>{try{b()}catch(b){N.error(a,{executionId:o.id,conversationId:c,error:b instanceof Error?b.message:String(b)})}},u=(a,d)=>{s=!0,(0,K.uT)(o.id);let e=d instanceof Error?d.message:String(d);N.error(a,{executionId:o.id,conversationId:c,error:e}),t("finalize-execution-failed",()=>{(0,x.updateAssistantExecution)(b,o.id,{status:"failed",stderrText:`${r}
|
|
2
2
|
${e}`.trim(),finishedAt:new Date})}),t("finalize-message-failed",()=>{(0,x.updateAssistantMessageStatus)(b,f,"failed")}),t("finalize-conversation-ready",()=>{(0,x.updateAssistantConversation)(b,c,{status:"ready"})})};try{(0,x.updateAssistantExecution)(b,o.id,{status:"running",pid:p.pid??null,startedAt:n}),(0,x.updateAssistantConversation)(b,c,{status:"running",lastStartedAt:n,lastExecutionId:o.id}),(0,x.updateAssistantMessageStatus)(b,f,"sent"),p.stdout.on("data",a=>{q+=a.toString(),(0,x.updateAssistantExecution)(b,o.id,{stdoutText:q})}),p.stderr.on("data",a=>{r+=a.toString(),(0,x.updateAssistantExecution)(b,o.id,{stderrText:r})}),p.on("error",a=>{if(!s){s=!0,(0,K.uT)(o.id),t("missing-binary-report-failed",()=>{"ENOENT"===a.code&&(0,H.VI)(d,(0,I.u)(e))});try{(0,x.updateAssistantExecution)(b,o.id,{status:"failed",stderrText:`${r}
|
|
3
3
|
${a.message}`.trim(),finishedAt:new Date}),(0,x.updateAssistantMessageStatus)(b,f,"failed"),(0,x.updateAssistantConversation)(b,c,{status:"ready"})}catch(a){u("error-handler-failed",a)}}}),p.on("close",a=>{if(s)return;s=!0;let e=(0,K.AR)(o.id),g=new Date;(0,K.uT)(o.id);try{if(e){let d=(0,x.getAssistantConversationById)(b,c);(0,x.updateAssistantExecution)(b,o.id,{status:"cancelled",stdoutText:q,stderrText:r,exitCode:a,finishedAt:g}),d?.status!=="stopped"&&(0,x.updateAssistantConversation)(b,c,{status:"ready",resumeSessionId:null});return}let i=function(a,b){switch(a){case"claude":return function(a){let b=a.split("\n").map(a=>a.trim()).filter(a=>a.length>0),c=null,d=null;for(let a of b)try{let b=JSON.parse(a),e=function(a){let b=[a.final_message,a.finalMessage,a.text,a.content,a.message,a.output,a.result],c=[];for(let a of b)!function a(b,c){if("string"==typeof b&&""!==b.trim())return void c.push(b);if(Array.isArray(b)){for(let d of b)a(d,c);return}if(b&&"object"==typeof b)for(let d of Object.values(b))a(d,c)}(a,c);return c.join("\n").trim()||null}(b);e&&(c=e);let f=M(b);f&&(d=f)}catch{}return{finalMessage:c?(0,L.aJ)(c).trim():null,resumeSessionId:d}}(b);case"antigravity":let c=(0,L.aJ)(b).trim();return{finalMessage:c.length>0?c:null,resumeSessionId:null};default:return function(a){let b=a.split("\n").map(a=>a.trim()).filter(a=>a.length>0),c=null,d=null;for(let a of b)try{let b=JSON.parse(a),e=function(a){if("item.completed"!==a.type)return null;let b=a.item;if(!b||"object"!=typeof b||"agent_message"!==b.type)return null;let c=b.text;return"string"==typeof c&&""!==c.trim()?c:null}(b);e&&(c=e);let f=M(b);f&&(d=f)}catch{}return{finalMessage:c?(0,L.aJ)(c).trim():null,resumeSessionId:d}}(b)}}(d,q),j=0===a&&i.finalMessage;if((0,x.updateAssistantExecution)(b,o.id,{status:j?"completed":"failed",stdoutText:q,stderrText:r,finalMessageText:i.finalMessage,exitCode:a,resumeSessionIdAfter:i.resumeSessionId,finishedAt:g}),!j){(0,x.updateAssistantMessageStatus)(b,f,"failed"),(0,x.updateAssistantConversation)(b,c,{status:"ready",resumeSessionId:null});return}(0,x.createAssistantMessage)(b,{conversationId:c,role:"assistant",content:i.finalMessage,messageType:"normal",timestamp:g}),(0,x.updateAssistantConversation)(b,c,{status:"ready",resumeSessionId:i.resumeSessionId??h.resumeSessionId??null,lastExecutionId:o.id})}catch(a){u("close-handler-failed",a)}}),p.stdin.write(j),p.stdin.end()}catch(a){throw u("execution-start-failed",a),t("start-failure-detach-failed",()=>{p.on("error",()=>{}),p.stdin.on("error",()=>{})}),t("start-failure-kill-failed",()=>{p.killed||p.kill("SIGTERM")}),a}let v=setTimeout(()=>{(0,K.Qi)(c)},9e5);return p.on("close",()=>{clearTimeout(v)}),{executionId:o.id}}let P=(0,C.h)("api/assistant/terminal");async function Q(a){try{let{cliToolId:b,conversationId:c,command:d}=await a.json();if(!b||"string"!=typeof b||!(0,v.hR)(b))return u.NextResponse.json({error:"Invalid cliToolId parameter"},{status:400});if(!(0,D.Y)(b))return u.NextResponse.json({error:`Assistant Chat supports only claude and codex (got '${b}')`},{status:400});if(!c||"string"!=typeof c)return u.NextResponse.json({error:"Invalid conversationId parameter"},{status:400});if(!d||"string"!=typeof d||d.length>1e4)return u.NextResponse.json({error:"Invalid command parameter"},{status:400});let e=(0,w.getDbInstance)(),f=(0,x.getAssistantConversationById)(e,c);if(!f||f.cliToolId!==b)return u.NextResponse.json({error:"Conversation not found"},{status:404});let g=(0,y.r)(e,f.repositoryId);if(!g)return u.NextResponse.json({error:"Conversation repository not found"},{status:404});if((0,D.Y)(b)){(0,E.e)(e,c);let a=(0,x.getAssistantConversationById)(e,c);if(!a||a.cliToolId!==b)return u.NextResponse.json({error:"Conversation not found"},{status:404});if("ready"!==a.status)return u.NextResponse.json({error:"Conversation must be started before sending a message"},{status:409});if((0,x.getRunningAssistantExecutionByConversation)(e,c))return u.NextResponse.json({error:"Conversation already has a running execution"},{status:409});let f=new Date,h=(0,x.createAssistantMessage)(e,{conversationId:c,role:"user",content:d,messageType:"normal",deliveryStatus:"pending",timestamp:f});try{let{executionId:a}=await O({db:e,conversationId:c,cliToolId:b,repository:g,userMessageId:h.id,userMessage:d});return u.NextResponse.json({success:!0,messageId:h.id,executionId:a})}catch(a){throw(0,x.updateAssistantMessageStatus)(e,h.id,"failed"),a}}if("running"!==f.status)return u.NextResponse.json({error:"Conversation session is not running"},{status:409});let{cliTool:h,worktreeId:i,sessionName:j}=(0,A.O)(b,c);if(!await (0,z.N)(j))return u.NextResponse.json({error:"Session not found. Start the session first."},{status:404});await (0,B.A)(e,c,b);let k=new Date,l=(0,x.createAssistantMessage)(e,{conversationId:c,role:"user",content:d,messageType:"normal",deliveryStatus:"pending",timestamp:k});try{return await h.sendMessage(i,d),(0,x.updateAssistantMessageStatus)(e,l.id,"sent"),u.NextResponse.json({success:!0,messageId:l.id})}catch(a){throw(0,x.updateAssistantMessageStatus)(e,l.id,"failed"),a}}catch(a){return P.error("terminal-api-error",{error:a instanceof Error?a.message:String(a)}),u.NextResponse.json({error:"Failed to send command to terminal"},{status:500})}}let R=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/assistant/terminal/route",pathname:"/api/assistant/terminal",filename:"route",bundlePath:"app/api/assistant/terminal/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/assistant/terminal/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:S,workUnitAsyncStorage:T,serverHooks:U}=R;function V(){return(0,g.patchFetch)({workAsyncStorage:S,workUnitAsyncStorage:T})}async function W(a,b,c){var d;let e="/api/assistant/terminal/route";"/index"===e&&(e="/");let g=await R.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||R.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===R.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),K=J.getActiveScopeSpan(),L={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>R.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},M=new k.NodeNextRequest(a),N=new k.NodeNextResponse(b),O=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(b));try{let d=async c=>R.handle(O,L).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=L.renderOpts.collectedTags;if(!E)return await (0,o.I)(M,N,e,L.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,d=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:L.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await R.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await R.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(M,N,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};K?await g(K):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await R.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(M,N,new Response(null,{status:500})),null}}},16700:(a,b,c)=>{c.d(b,{A:()=>e,Y:()=>f});let d=new Set(["claude","codex","antigravity"]);function e(a){return d.has(a)?"non_interactive":"interactive"}function f(a){return"non_interactive"===e(a)}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46961:(a,b,c)=>{c.d(b,{e:()=>f});var d=c(56791),e=c(82149);function f(a,b){if(!(0,d.getAssistantConversationById)(a,b))return;let c=(0,d.getRunningAssistantExecutionByConversation)(a,b),f=(0,e.kx)(b);c&&!f&&((0,d.updateAssistantExecution)(a,c.id,{status:"failed",finishedAt:new Date,stderrText:[c.stderrText??"","[Execution reconciled after process registry loss]"].filter(Boolean).join("\n")}),(0,d.updateAssistantConversation)(a,b,{status:"ready"}))}},49070:(a,b,c)=>{c.d(b,{A:()=>l});var d=c(31990),e=c(3523),f=c(12462),g=c(56791),h=c(57821),i=c(72626),j=c(85164);let k=(0,i.h)("assistant/conversation-response-saver");async function l(a,b,c,i=new Date){try{let k=(0,g.getAssistantSessionState)(a,b),l=k?.lastCapturedLine??0,m=(0,h.G)(b),n=await (0,d.Wh)(m,c,1e4),o="codex"===c?function(a,b){let c=a.split("\n"),d=c.length;for(;d>0&&""===c[d-1].trim();)d--;let e=c.slice(0,d),f=[];for(let a=Math.max(0,b);a<e.length;a++){let b=(0,j.aJ)(e[a]).trimEnd();/^›(?:\s+.*)?$/.test(b)&&f.push(a)}if(f.length<2)return null;let g=f[f.length-2],h=f[f.length-1],i=(0,j.aJ)(e.slice(g+1,h).join("\n")).trim();return i?!function(a){let b=a.trim();return/^•\s+Working\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Thinking\s+\(\d+s\s+•\s+esc to interrupt\)$/i.test(b)||/^•\s+Running/i.test(b)}(i)?{response:i,lineCount:h}:null:{response:"",lineCount:h}}(n,l):null,p=o?{response:o.response,isComplete:!0,lineCount:o.lineCount,bufferReset:!1}:(0,e.z$)(n,l,c);if(!p||!p.isComplete||!p.bufferReset&&p.lineCount<=l)return null;let q=(0,f.T8)(p.response,c);if(!q||""===q.trim()||"[No content]"===q)return(0,g.updateAssistantSessionState)(a,b,p.lineCount),null;let r=(0,g.createAssistantMessage)(a,{conversationId:b,role:"assistant",content:q,messageType:"normal",timestamp:i});return(0,g.updateAssistantSessionState)(a,b,p.lineCount),r}catch(a){return k.debug("save:skipped",{conversationId:b,cliToolId:c,error:a instanceof Error?a.message:String(a)}),null}}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57821:(a,b,c)=>{c.d(b,{G:()=>e,O:()=>f});var d=c(43234);function e(a){return`assistant-${a}`}function f(a,b){let c=d.CLIToolManager.getInstance().getTool(a),f=e(b),g=c.getSessionName(f);return{cliTool:c,worktreeId:f,sessionName:g}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67502:(a,b,c)=>{c.d(b,{JD:()=>i,_$:()=>h});var d=c(15194),e=c(10406),f=c(73753),g=c(74300);function h(a,b,c=new Date){var i;let j=(0,d.oo)(a);return[`You are an assistant using ${j}, running inside CommandMate.`,"",(i=(0,g.S8)(),`## CommandMate CLI Reference
|
|
4
4
|
|
|
@@ -31,4 +31,4 @@ Other notes:
|
|
|
31
31
|
|
|
32
32
|
- \`--duration\` accepts values like \`1h\`, \`3h\`, \`8h\`.
|
|
33
33
|
- \`send --contract <path>\` records an execution contract (a YAML file under the worktree, e.g. \`.commandmate/tasks/my-task.yaml\`) and sends its preamble plus goal. \`wait --verify\` then adjudicates with the verification gates: exit 20 when a gate fails, 21 when there is nothing to verify.
|
|
34
|
-
`),function(a){let b=(0,e.Yg)(a);if(0===b.length)return"## Registered Repositories\n\nNo repositories are currently registered.";let c=["## Registered Repositories",""];for(let d of(c.push("| Alias | Name | Path | Worktrees | Enabled |"),c.push("|-------|------|------|-----------|---------|"),b)){let b=d.displayName&&d.displayName!==d.name?d.displayName:"-",e=(0,f.vi)(a,d.path).length,g=d.enabled?"yes":"no";c.push(`| ${b} | ${d.name} | ${d.path} | ${e} | ${g} |`)}return c.join("\n")}(b),"",function(a,b){let c=(0,f.vi)(a).filter(a=>a.status&&"done"!==a.status).slice(0,30),e=["## Active Worktree Session Snapshot",`Snapshot taken at: ${b.toISOString()} (not refreshed per message)`,""];if(0===c.length)return e.push("_No worktree sessions had an active status at snapshot time._"),e.join("\n");for(let a of(e.push("| Repository | Branch | CLI | Status | Path |"),e.push("|------------|--------|-----|--------|------|"),c)){var g;let b=a.repositoryDisplayName||a.repositoryName||"-",c=a.name,f=(g=a.cliToolId)?d.ef[g]??g:"-",h=a.status??"-";e.push(`| ${b} | ${c} | ${f} | ${h} | ${a.path} |`)}return e.join("\n")}(b,c)].join("\n")}function i(a,b){return h(a,b)}},74075:a=>{a.exports=require("zlib")},74300:(a,b,c)=>{c.d(b,{S8:()=>e,ah:()=>d});let d=3e3;function e(a=process.env){return"commandmate-cli"===a.CM_LAUNCHED_BY?"commandmate":"commandmatedev"}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},82149:(a,b,c)=>{c.d(b,{AR:()=>i,Qi:()=>j,XO:()=>f,kx:()=>h,uT:()=>g});let d=new Map,e=new Map;function f(a,b,c){d.set(a,{executionId:a,conversationId:b,process:c,cancellationRequested:!1}),e.set(b,a)}function g(a){let b=d.get(a);b&&(e.delete(b.conversationId),d.delete(a))}function h(a){let b=e.get(a);return b?d.get(b)??null:null}function i(a){return d.get(a)?.cancellationRequested??!1}function j(a){let b=h(a);return!!b&&(b.cancellationRequested=!0,!b.process.killed&&b.process.kill("SIGTERM"))}},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},95736:(a,b,c)=>{a.exports=c(44870)},98939:(a,b,c)=>{c.d(b,{u:()=>d});function d(a){return{worktreeId:`assistant-repo-${a.id}`,subject:{name:a.displayName||a.name,url:"/chat"}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,1356,1503,1634,4390,9627,8807,406,5164,9798,9130,4443,4299,8800,7905,1886,1719,
|
|
34
|
+
`),function(a){let b=(0,e.Yg)(a);if(0===b.length)return"## Registered Repositories\n\nNo repositories are currently registered.";let c=["## Registered Repositories",""];for(let d of(c.push("| Alias | Name | Path | Worktrees | Enabled |"),c.push("|-------|------|------|-----------|---------|"),b)){let b=d.displayName&&d.displayName!==d.name?d.displayName:"-",e=(0,f.vi)(a,d.path).length,g=d.enabled?"yes":"no";c.push(`| ${b} | ${d.name} | ${d.path} | ${e} | ${g} |`)}return c.join("\n")}(b),"",function(a,b){let c=(0,f.vi)(a).filter(a=>a.status&&"done"!==a.status).slice(0,30),e=["## Active Worktree Session Snapshot",`Snapshot taken at: ${b.toISOString()} (not refreshed per message)`,""];if(0===c.length)return e.push("_No worktree sessions had an active status at snapshot time._"),e.join("\n");for(let a of(e.push("| Repository | Branch | CLI | Status | Path |"),e.push("|------------|--------|-----|--------|------|"),c)){var g;let b=a.repositoryDisplayName||a.repositoryName||"-",c=a.name,f=(g=a.cliToolId)?d.ef[g]??g:"-",h=a.status??"-";e.push(`| ${b} | ${c} | ${f} | ${h} | ${a.path} |`)}return e.join("\n")}(b,c)].join("\n")}function i(a,b){return h(a,b)}},74075:a=>{a.exports=require("zlib")},74300:(a,b,c)=>{c.d(b,{S8:()=>e,ah:()=>d});let d=3e3;function e(a=process.env){return"commandmate-cli"===a.CM_LAUNCHED_BY?"commandmate":"commandmatedev"}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},82149:(a,b,c)=>{c.d(b,{AR:()=>i,Qi:()=>j,XO:()=>f,kx:()=>h,uT:()=>g});let d=new Map,e=new Map;function f(a,b,c){d.set(a,{executionId:a,conversationId:b,process:c,cancellationRequested:!1}),e.set(b,a)}function g(a){let b=d.get(a);b&&(e.delete(b.conversationId),d.delete(a))}function h(a){let b=e.get(a);return b?d.get(b)??null:null}function i(a){return d.get(a)?.cancellationRequested??!1}function j(a){let b=h(a);return!!b&&(b.cancellationRequested=!0,!b.process.killed&&b.process.kill("SIGTERM"))}},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},95736:(a,b,c)=>{a.exports=c(44870)},98939:(a,b,c)=>{c.d(b,{u:()=>d});function d(a){return{worktreeId:`assistant-repo-${a.id}`,subject:{name:a.displayName||a.name,url:"/chat"}}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,1356,1503,1634,4390,9627,8807,406,5164,9798,1191,9130,4443,4299,8800,7905,1886,1719,2119,2445,595,6337,1990,3484,5017,1058,9696,8918,552],()=>b(b.s=14492));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../data/cm.db","../../../../../../locales/en/notifications.json","../../../../../../locales/ja/notifications.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../package.json","../../../../chunks/1058.js","../../../../chunks/1191.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/1990.js","../../../../chunks/261.js","../../../../chunks/2739.js","../../../../chunks/2839.js","../../../../chunks/3241.js","../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../data/cm.db","../../../../../../locales/en/notifications.json","../../../../../../locales/en/worktree.json","../../../../../../locales/ja/notifications.json","../../../../../../locales/ja/worktree.json","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../package.json","../../../../chunks/1058.js","../../../../chunks/1191.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/1990.js","../../../../chunks/2119.js","../../../../chunks/2445.js","../../../../chunks/261.js","../../../../chunks/2739.js","../../../../chunks/2839.js","../../../../chunks/3241.js","../../../../chunks/3484.js","../../../../chunks/358.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5017.js","../../../../chunks/5043.js","../../../../chunks/5120.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/552.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6337.js","../../../../chunks/641.js","../../../../chunks/7366.js","../../../../chunks/7836.js","../../../../chunks/7905.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../chunks/9696.js","../../../../chunks/9798.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|