commandmate 0.21.5 → 0.22.1
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 +181 -174
- package/.next/app-path-routes-manifest.json +19 -18
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- 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/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 +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 +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 +1 -1
- 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 +1 -1
- 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 +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/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.js +2 -2
- package/.next/server/app/api/fs/browse/route.js.nft.json +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 +1 -1
- 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 -0
- package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -0
- package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -0
- 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/subscriptions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/vapid/route.js +1 -1
- 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/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.js +1 -1
- package/.next/server/app/api/repositories/validate-path/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/validate-path/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 +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]/cli-tool/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js.nft.json +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]/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]/interrupt/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route.js +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]/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]/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.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route.js.nft.json +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 +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.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route_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]/start-polling/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/start-polling/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/start-polling/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tasks/route.js +2 -6
- package/.next/server/app/api/worktrees/[id]/tasks/route.js.nft.json +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/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/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/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 +9 -9
- 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 +19 -18
- package/.next/server/chunks/1068.js +1 -1
- package/.next/server/chunks/1356.js +4 -0
- package/.next/server/chunks/1841.js +1 -0
- package/.next/server/chunks/2404.js +1 -1
- package/.next/server/chunks/2515.js +1 -1
- package/.next/server/chunks/2816.js +1 -1
- package/.next/server/chunks/3022.js +1 -0
- package/.next/server/chunks/3736.js +1 -1
- package/.next/server/chunks/5959.js +5 -4
- package/.next/server/chunks/6130.js +1 -1
- package/.next/server/chunks/6274.js +8 -12
- package/.next/server/chunks/6919.js +1 -0
- package/.next/server/chunks/7685.js +1 -1
- package/.next/server/chunks/8856.js +1 -1
- package/.next/server/chunks/9067.js +1 -1
- package/.next/server/chunks/9373.js +8 -0
- package/.next/server/chunks/9687.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/server/src/middleware.js.map +1 -1
- package/.next/static/chunks/{6488-572dbfd9986e8a92.js → 6488-63dacfbab082ca8d.js} +1 -1
- package/.next/static/chunks/app/api/app/update/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/app/update-check/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/conversation/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/current-output/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/messages/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/session/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/start/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/terminal/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/assistant/tools/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/auth/login/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/auth/status/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/daily-summary/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/daily-summary/status/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/external-apps/[id]/health/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/external-apps/[id]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/external-apps/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/fs/browse/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/fs/recent-paths/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/hooks/agent-event/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/hooks/claude-done/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/hooks/permission-request/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/metrics/vibe/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/ollama/models/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/push/subscriptions/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/push/vapid/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/[id]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/[id]/todos/[todoId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/[id]/todos/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/clone/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/excluded/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/restore/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/scan/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/sync/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/repositories/validate-path/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/sidebar/group-order/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/skills/[id]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/skills/installations/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/skills/operations/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/skills/reindex/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/skills/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/slash-commands/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/tasks/[taskId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/templates/[id]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/templates/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/todos/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/verification/runs/[runId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/verification/runs/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/capture/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/logs/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/memos/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/messages/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/respond/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/search/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/send/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/skills/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/start-polling/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/timers/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/todos/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/tree/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/proxy/[...path]/route-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/worktrees/[id]/layout-973ec48531555712.js +1 -0
- package/.next/static/chunks/app/worktrees/[id]/page-c1be93f2595d0803.js +1 -0
- package/.next/static/d4vh4O18WEhXs4WbdShIs/_buildManifest.js +1 -0
- package/.next/trace +12 -12
- package/.next/types/app/api/hooks/permission-request/route.ts +347 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/dist/cli/commands/capture.d.ts.map +1 -1
- package/dist/cli/commands/capture.js +27 -1
- package/dist/cli/commands/respond.d.ts.map +1 -1
- package/dist/cli/commands/respond.js +9 -3
- package/dist/cli/commands/send.d.ts.map +1 -1
- package/dist/cli/commands/send.js +35 -0
- package/dist/cli/commands/wait.d.ts +4 -1
- package/dist/cli/commands/wait.d.ts.map +1 -1
- package/dist/cli/commands/wait.js +109 -2
- package/dist/cli/docs/agent-operations.d.ts +1 -1
- package/dist/cli/docs/agent-operations.d.ts.map +1 -1
- package/dist/cli/docs/agent-operations.js +39 -0
- package/dist/cli/types/api-responses.d.ts +69 -4
- package/dist/cli/types/api-responses.d.ts.map +1 -1
- package/dist/cli/types/index.d.ts +6 -0
- package/dist/cli/types/index.d.ts.map +1 -1
- package/dist/server/src/lib/detection/prompt-detect-multiple-choice.js +105 -1
- package/dist/server/src/lib/detection/unclassified-frame-tracker.js +96 -0
- package/dist/server/src/lib/env.js +27 -1
- package/dist/server/src/lib/hooks/agent-event-types.js +131 -0
- package/dist/server/src/lib/hooks/ask-user-question-payload.js +156 -0
- package/dist/server/src/lib/hooks/hook-settings-generator.js +411 -0
- package/dist/server/src/lib/hooks/permission-request-payload.js +144 -0
- package/dist/server/src/lib/polling/auto-yes-resolver.js +25 -10
- package/dist/server/src/lib/polling/auto-yes-suppression-state.js +2 -1
- package/dist/server/src/lib/session/agent-event-state.js +612 -11
- package/dist/server/src/lib/session/ask-user-question-prompt.js +295 -0
- package/dist/server/src/lib/session/claude-session.js +41 -2
- package/dist/server/src/lib/session/current-output-builder.js +375 -8
- package/dist/server/src/lib/session/prompt-waiting-composition.js +178 -0
- package/dist/server/src/lib/session/prompt-waiting-guard.js +147 -0
- package/dist/server/src/lib/session/send-user-message.js +35 -0
- package/dist/server/src/lib/session/status-mapping.js +121 -0
- package/dist/server/src/lib/session/structured-prompt.js +109 -0
- package/dist/server/src/types/models.js +30 -0
- package/package.json +3 -2
- package/scripts/hooks/cmate-agent-event.sh +44 -3
- package/.next/server/chunks/1355.js +0 -1
- package/.next/server/chunks/1598.js +0 -4
- package/.next/server/chunks/2366.js +0 -1
- package/.next/static/-A6IRK1c_KvFlxiDrsyVc/_buildManifest.js +0 -1
- package/.next/static/chunks/app/api/app/update/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/app/update-check/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/conversation/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/current-output/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/messages/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/session/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/start/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/terminal/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/assistant/tools/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/auth/login/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/auth/status/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/daily-summary/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/daily-summary/status/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/external-apps/[id]/health/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/external-apps/[id]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/external-apps/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/fs/browse/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/fs/recent-paths/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/hooks/agent-event/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/hooks/claude-done/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/metrics/vibe/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/ollama/models/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/push/subscriptions/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/push/vapid/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/[id]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/[id]/todos/[todoId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/[id]/todos/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/clone/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/excluded/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/restore/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/scan/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/sync/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/repositories/validate-path/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/sidebar/group-order/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/skills/[id]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/skills/installations/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/skills/operations/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/skills/reindex/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/skills/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/slash-commands/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/tasks/[taskId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/templates/[id]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/templates/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/todos/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/verification/runs/[runId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/verification/runs/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/capture/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/logs/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/memos/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/messages/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/respond/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/search/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/send/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/skills/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/start-polling/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/timers/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/todos/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/tree/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/proxy/[...path]/route-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/layout-be21650964d61b1d.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/page-de42fed52de80834.js +0 -1
- /package/.next/static/{-A6IRK1c_KvFlxiDrsyVc → d4vh4O18WEhXs4WbdShIs}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";exports.id=2404,exports.ids=[2404],exports.modules={10176:(a,b,c)=>{c.d(b,{C8:()=>h,MN:()=>i,TN:()=>g,lg:()=>f});var d=c(50446);let e=["planning","development","review","documentation","workflow","skill","standard-session","standard-config","standard-monitor","standard-git","standard-util"];function f(a){if(0===a.length)return[];let b=new Map;for(let c of a){let a=b.get(c.category)||[];a.push(c),b.set(c.category,a)}let c=[];for(let a of e){let e=b.get(a);e&&e.length>0&&c.push({category:a,label:d.B[a],commands:e})}for(let[a,f]of b)!e.includes(a)&&f.length>0&&c.push({category:a,label:d.B[a]||a,commands:f});return c}function g(a){let b=a.cliTools&&a.cliTools.length>0?[...a.cliTools].sort().join(","):"claude";return`${a.name}::${b}`}function h(a,b){let c=new Map;for(let b of a)for(let a of b.commands)c.set(g(a),{...a,source:a.source||"standard"});for(let a of b)for(let b of a.commands)c.set(g(b),{...b,source:b.source||"worktree"});return f(Array.from(c.values()))}function i(a,b){return a.map(a=>({...a,commands:a.commands.filter(a=>a.cliTools?a.cliTools.includes(b):"claude"===b)})).filter(a=>a.commands.length>0)}},25449:(a,b,c)=>{c.d(b,{HR:()=>f,ro:()=>h});var d=c(10176);let e=JSON.parse('{"verifiedAgainst":{"claude":"2.1.218","codex":"0.146.0","antigravity":"1.1.3"},"frequentlyUsed":{"claude":["clear","compact","status","help","review"],"codex":["new","diff","plan","status","review"],"opencode":["models","new","compact","help","exit"],"antigravity":["clear","help","usage","diff","model"]},"commands":[{"name":"clear","descriptionKey":"slashCommands.descriptions.clear","category":"standard-session","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"compact","descriptionKey":"slashCommands.descriptions.compact","category":"standard-session","cliTools":["claude","codex","opencode"],"isStandard":true,"source":"standard"},{"name":"resume","descriptionKey":"slashCommands.descriptions.resume","category":"standard-session","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"rewind","descriptionKey":"slashCommands.descriptions.rewind","category":"standard-session","isStandard":true,"source":"standard"},{"name":"config","descriptionKey":"slashCommands.descriptions.config","category":"standard-config","isStandard":true,"source":"standard"},{"name":"model","descriptionKey":"slashCommands.descriptions.model","category":"standard-config","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"permissions","descriptionKey":"slashCommands.descriptions.permissions","category":"standard-config","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"status","descriptionKey":"slashCommands.descriptions.status","category":"standard-monitor","cliTools":["claude","codex"],"isStandard":true,"source":"standard"},{"name":"context","descriptionKey":"slashCommands.descriptions.context","category":"standard-monitor","isStandard":true,"source":"standard"},{"name":"review","descriptionKey":"slashCommands.descriptions.review","category":"standard-git","cliTools":["claude","codex"],"isStandard":true,"source":"standard"},{"name":"help","descriptionKey":"slashCommands.descriptions.help","category":"standard-util","cliTools":["claude","opencode"],"isStandard":true,"source":"standard"},{"name":"doctor","descriptionKey":"slashCommands.descriptions.doctor","category":"standard-util","isStandard":true,"source":"standard"},{"name":"export","descriptionKey":"slashCommands.descriptions.export","category":"standard-util","isStandard":true,"source":"standard"},{"name":"focus","descriptionKey":"slashCommands.descriptions.focus","category":"standard-session","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"effort","descriptionKey":"slashCommands.descriptions.effort","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fast","descriptionKey":"slashCommands.descriptions.fast","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"loop","descriptionKey":"slashCommands.descriptions.loop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"add-dir","descriptionKey":"slashCommands.descriptions.add-dir","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-monitor","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"memory","descriptionKey":"slashCommands.descriptions.memory","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"statusline","descriptionKey":"slashCommands.descriptions.statusline","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"terminal-setup","descriptionKey":"slashCommands.descriptions.terminal-setup","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"new","descriptionKey":"slashCommands.descriptions.new","category":"standard-session","cliTools":["codex","opencode"],"isStandard":true,"source":"standard"},{"name":"logout","descriptionKey":"slashCommands.descriptions.logout","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"quit","descriptionKey":"slashCommands.descriptions.quit","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-git","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"mention","descriptionKey":"slashCommands.descriptions.mention","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"init","descriptionKey":"slashCommands.descriptions.init","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"feedback","descriptionKey":"slashCommands.descriptions.feedback","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"goal","descriptionKey":"slashCommands.descriptions.goal","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"agent","descriptionKey":"slashCommands.descriptions.agent","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"subagents","descriptionKey":"slashCommands.descriptions.subagents","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"memories","descriptionKey":"slashCommands.descriptions.memories","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"skills","descriptionKey":"slashCommands.descriptions.skills","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"sessions","descriptionKey":"slashCommands.descriptions.sessions","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"connect","descriptionKey":"slashCommands.descriptions.connect","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"models","descriptionKey":"slashCommands.descriptions.models","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"agents","descriptionKey":"slashCommands.descriptions.agents","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"themes","descriptionKey":"slashCommands.descriptions.themes","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"editor","descriptionKey":"slashCommands.descriptions.editor","category":"standard-util","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"help","descriptionKey":"slashCommands.descriptions.help","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-monitor","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-git","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"rewind","descriptionKey":"slashCommands.descriptions.rewind","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"tasks","descriptionKey":"slashCommands.descriptions.tasks","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"advisor","descriptionKey":"slashCommands.descriptions.advisor","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"autocompact","descriptionKey":"slashCommands.descriptions.autocompact","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"autofix-pr","descriptionKey":"slashCommands.descriptions.autofix-pr","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"background","descriptionKey":"slashCommands.descriptions.background","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"batch","descriptionKey":"slashCommands.descriptions.batch","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"branch","descriptionKey":"slashCommands.descriptions.branch","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"btw","descriptionKey":"slashCommands.descriptions.btw","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"bug","descriptionKey":"slashCommands.descriptions.bug","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"cd","descriptionKey":"slashCommands.descriptions.cd","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"chrome","descriptionKey":"slashCommands.descriptions.chrome","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"claude-api","descriptionKey":"slashCommands.descriptions.claude-api","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"code-review","descriptionKey":"slashCommands.descriptions.code-review","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"color","descriptionKey":"slashCommands.descriptions.color","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"copy","descriptionKey":"slashCommands.descriptions.copy","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"dataviz","descriptionKey":"slashCommands.descriptions.dataviz","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"debug","descriptionKey":"slashCommands.descriptions.debug","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"deep-research","descriptionKey":"slashCommands.descriptions.deep-research","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"design-login","descriptionKey":"slashCommands.descriptions.design-login","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"design-sync","descriptionKey":"slashCommands.descriptions.design-sync","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"desktop","descriptionKey":"slashCommands.descriptions.desktop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"feedback","descriptionKey":"slashCommands.descriptions.feedback","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fewer-permission-prompts","descriptionKey":"slashCommands.descriptions.fewer-permission-prompts","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"goal","descriptionKey":"slashCommands.descriptions.goal","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"heapdump","descriptionKey":"slashCommands.descriptions.heapdump","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ide","descriptionKey":"slashCommands.descriptions.ide","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"init","descriptionKey":"slashCommands.descriptions.init","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"insights","descriptionKey":"slashCommands.descriptions.insights","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"install-github-app","descriptionKey":"slashCommands.descriptions.install-github-app","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"install-slack-app","descriptionKey":"slashCommands.descriptions.install-slack-app","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"keybindings","descriptionKey":"slashCommands.descriptions.keybindings","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"login","descriptionKey":"slashCommands.descriptions.login","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"logout","descriptionKey":"slashCommands.descriptions.logout","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"mobile","descriptionKey":"slashCommands.descriptions.mobile","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"passes","descriptionKey":"slashCommands.descriptions.passes","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"plugin","descriptionKey":"slashCommands.descriptions.plugin","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"powerup","descriptionKey":"slashCommands.descriptions.powerup","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"privacy-settings","descriptionKey":"slashCommands.descriptions.privacy-settings","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"radio","descriptionKey":"slashCommands.descriptions.radio","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"recap","descriptionKey":"slashCommands.descriptions.recap","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"release-notes","descriptionKey":"slashCommands.descriptions.release-notes","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"reload-plugins","descriptionKey":"slashCommands.descriptions.reload-plugins","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"reload-skills","descriptionKey":"slashCommands.descriptions.reload-skills","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"remote-control","descriptionKey":"slashCommands.descriptions.remote-control","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"remote-env","descriptionKey":"slashCommands.descriptions.remote-env","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"rename","descriptionKey":"slashCommands.descriptions.rename","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"run","descriptionKey":"slashCommands.descriptions.run","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"run-skill-generator","descriptionKey":"slashCommands.descriptions.run-skill-generator","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"sandbox","descriptionKey":"slashCommands.descriptions.sandbox","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"scroll-speed","descriptionKey":"slashCommands.descriptions.scroll-speed","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"security-review","descriptionKey":"slashCommands.descriptions.security-review","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"setup-bedrock","descriptionKey":"slashCommands.descriptions.setup-bedrock","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"setup-vertex","descriptionKey":"slashCommands.descriptions.setup-vertex","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"simplify","descriptionKey":"slashCommands.descriptions.simplify","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"skills","descriptionKey":"slashCommands.descriptions.skills","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"stickers","descriptionKey":"slashCommands.descriptions.stickers","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"stop","descriptionKey":"slashCommands.descriptions.stop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"subtask","descriptionKey":"slashCommands.descriptions.subtask","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"tasks","descriptionKey":"slashCommands.descriptions.tasks","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"team-onboarding","descriptionKey":"slashCommands.descriptions.team-onboarding","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"teleport","descriptionKey":"slashCommands.descriptions.teleport","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"theme","descriptionKey":"slashCommands.descriptions.theme","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"tui","descriptionKey":"slashCommands.descriptions.tui","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ultrareview","descriptionKey":"slashCommands.descriptions.ultrareview","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"upgrade","descriptionKey":"slashCommands.descriptions.upgrade","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"usage-credits","descriptionKey":"slashCommands.descriptions.usage-credits","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"verify","descriptionKey":"slashCommands.descriptions.verify","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"voice","descriptionKey":"slashCommands.descriptions.voice","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"web-setup","descriptionKey":"slashCommands.descriptions.web-setup","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"workflows","descriptionKey":"slashCommands.descriptions.workflows","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ide","descriptionKey":"slashCommands.descriptions.ide","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"keymap","descriptionKey":"slashCommands.descriptions.keymap","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"vim","descriptionKey":"slashCommands.descriptions.vim","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"setup-default-sandbox","descriptionKey":"slashCommands.descriptions.setup-default-sandbox","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"sandbox-add-read-dir","descriptionKey":"slashCommands.descriptions.sandbox-add-read-dir","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"experimental","descriptionKey":"slashCommands.descriptions.experimental","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"approve","descriptionKey":"slashCommands.descriptions.approve","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"import","descriptionKey":"slashCommands.descriptions.import","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"rename","descriptionKey":"slashCommands.descriptions.rename","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"archive","descriptionKey":"slashCommands.descriptions.archive","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"delete","descriptionKey":"slashCommands.descriptions.delete","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"app","descriptionKey":"slashCommands.descriptions.app","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"side","descriptionKey":"slashCommands.descriptions.side","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"btw","descriptionKey":"slashCommands.descriptions.btw","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"copy","descriptionKey":"slashCommands.descriptions.copy","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"raw","descriptionKey":"slashCommands.descriptions.raw","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"debug-config","descriptionKey":"slashCommands.descriptions.debug-config","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"title","descriptionKey":"slashCommands.descriptions.title","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"statusline","descriptionKey":"slashCommands.descriptions.statusline","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"theme","descriptionKey":"slashCommands.descriptions.theme","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"pets","descriptionKey":"slashCommands.descriptions.pets","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"apps","descriptionKey":"slashCommands.descriptions.apps","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"plugins","descriptionKey":"slashCommands.descriptions.plugins","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"rollout","descriptionKey":"slashCommands.descriptions.rollout","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"ps","descriptionKey":"slashCommands.descriptions.ps","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"stop","descriptionKey":"slashCommands.descriptions.stop","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"personality","descriptionKey":"slashCommands.descriptions.personality","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"test-approval","descriptionKey":"slashCommands.descriptions.test-approval","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"}]}'),f=e.verifiedAgainst,g=e.commands.map(function(a){let b={name:a.name,descriptionKey:a.descriptionKey,category:a.category,isStandard:a.isStandard,source:a.source,filePath:""};return a.cliTools&&(b.cliTools=a.cliTools),b});function h(){return(0,d.lg)(g)}e.frequentlyUsed},32404:(a,b,c)=>{c.d(b,{$B:()=>A,DP:()=>C,SN:()=>w,XN:()=>x,YJ:()=>y,eH:()=>z,l1:()=>v});var d=c(29021),e=c(21820),f=c(33873),g=c(4018),h=c.n(g),i=c(50446),j=c(10176),k=c(15194),l=c(70673);c(84915);let m=(0,c(72626).h)("slash-commands"),n=null,o=null,p=f.join(".codex","skills"),q=f.join(".agents","skills");function r(a){return h()(a,{engines:{js:{parse:()=>{throw Error("JavaScript engine is disabled for security")},stringify:()=>{throw Error("JavaScript engine is disabled for security")}},javascript:{parse:()=>{throw Error("JavaScript engine is disabled for security")},stringify:()=>{throw Error("JavaScript engine is disabled for security")}}}})}function s(a){if("string"==typeof a)return(0,k.hR)(a)?[a]:void 0;if(!Array.isArray(a))return;let b=a.filter(a=>"string"==typeof a&&(0,k.hR)(a));if(0!==b.length)return Array.from(new Set(b))}async function t(a){let b=function(a){let b=a||process.cwd();return f.join(b,".claude","commands")}(a);if(!d.existsSync(b))return m.warn("commands-directory-not-found:commandsdir"),[];let c=d.readdirSync(b).filter(a=>a.endsWith(".md")),e=[];for(let a of c){let c=function(a){try{let b=d.readFileSync(a,"utf-8"),{data:c}=r(b),e=f.basename(a,".md"),g=i.N[e]||"workflow";return{name:e,description:c.description||"",category:g,model:c.model,cliTools:s(c.cliTools),filePath:f.relative(process.cwd(),a)}}catch(a){return m.error("error-parsing-command-file-filepath:",{error:a instanceof Error?a.message:String(a)}),null}}(f.join(b,a));c&&e.push(c)}return e.sort((a,b)=>a.name.localeCompare(b.name)),n=e,e}function u(a,b,c,e=!1){if(!d.existsSync(a))return[];let g=d.readdirSync(a,{withFileTypes:!0}),h=[];for(let b of g)if(b.isDirectory()&&!b.name.includes(".."))if(e&&".system"===b.name)try{let b=f.join(a,".system");for(let a of d.readdirSync(b,{withFileTypes:!0}))a.isDirectory()&&(a.name.includes("..")||h.push({dir:b,name:a.name}))}catch{}else h.push({dir:a,name:b.name});let i=f.resolve(a)+f.sep,j=[];for(let{dir:a,name:e}of h){if(j.length>=100){m.warn(c);break}let g=f.resolve(a,e);if(!g.startsWith(i))continue;let h=function(a,b){let c=f.join(a,"SKILL.md");try{let a;if(d.statSync(c).size>65536)return m.warn("skipping-oversized-skill-file-statsize-b"),null;let e=d.readFileSync(c,"utf-8"),g=b,h="";try{let{data:c}=r(e);g=c.name||b,h=c.description||"",a=s(c.cliTools)}catch{let a=function(a){let b=a.match(/^---\r?\n([\s\S]*?)\r?\n---/);if(!b)return{name:"",description:""};let c=b[1],d=c.match(/^name:\s*(.+)$/m),e=c.match(/^description:\s*(.+)$/m);return{name:d?d[1].trim():"",description:e?e[1].trim():""}}(e);g=a.name||b,h=a.description||""}return{name:(0,l.W5)(g,100),description:(0,l.W5)(h,500),category:"skill",source:"skill",cliTools:a,filePath:f.relative(process.cwd(),c)}}catch(a){return m.error("error-parsing-skill-file-skillpath:",{error:a instanceof Error?a.message:String(a)}),null}}(g,e);h&&j.push({...h,...b})}return j.sort((a,b)=>a.name.localeCompare(b.name)),j}async function v(a){return u(function(a){let b=a||process.cwd();return f.join(b,".claude","skills")}(a),{},"skills-count-limit")}async function w(a){let b=a??e.homedir();return u(f.join(b,p),{source:"codex-skill",cliTools:["codex"]},"codex-skills-count-limit",!0)}async function x(a){let b=a??e.homedir();return u(f.join(b,q),{source:"codex-skill",cliTools:["codex","antigravity"]},"agents-skills-count-limit",!0)}function y(a,b){let c=new Set(b.map(a=>a.name));return[...a.filter(a=>!c.has(a.name)),...b]}function z(){return[{name:"model",description:"Select AI model to use",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"delegate",description:"Send session to GitHub to create a PR",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"fleet",description:"Enable fleet mode for parallel subagent execution",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"tasks",description:"View and manage background tasks",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"init",description:"Initialize Copilot instructions for repository",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"agent",description:"Browse and select from available agents",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"skills",description:"Manage skills for enhanced capabilities",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"mcp",description:"Manage MCP server configuration",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"plugin",description:"Manage plugins and plugin marketplaces",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"ide",description:"Connect to an IDE workspace",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"diff",description:"Review changes in current directory",category:"standard-git",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"pr",description:"Operate on pull requests for current branch",category:"standard-git",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"review",description:"Run code review agent to analyze changes",category:"review",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"lsp",description:"Manage language server configuration",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"terminal-setup",description:"Configure terminal for multiline input",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"allow-all",description:"Enable all permissions",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"add-dir",description:"Add directory to allowed list",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"list-dirs",description:"Display all allowed directories",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"cwd",description:"Change or show working directory",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"reset-allowed-tools",description:"Reset the list of allowed tools",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"resume",description:"Switch to a different session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"rename",description:"Rename the current session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"context",description:"Show context window token usage",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"usage",description:"Display session usage metrics",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"session",description:"View and manage sessions",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"compact",description:"Summarize conversation to reduce context",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"share",description:"Share session to markdown or GitHub gist",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"copy",description:"Copy last response to clipboard",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"rewind",description:"Rewind last turn and revert file changes",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"help",description:"Show help for interactive commands",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"changelog",description:"Display changelog for CLI versions",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"feedback",description:"Provide feedback about the CLI",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"theme",description:"View or set color mode",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"update",description:"Update the CLI to the latest version",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"version",description:"Display version information",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"experimental",description:"Show or toggle experimental features",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"clear",description:"Abandon session and start fresh",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"instructions",description:"View and toggle custom instruction files",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"streamer-mode",description:"Toggle streamer mode",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"exit",description:"Exit the CLI",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"login",description:"Log in to Copilot",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"logout",description:"Log out of Copilot",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"new",description:"Start a new conversation",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"plan",description:"Create an implementation plan before coding",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"research",description:"Run deep research investigation",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"restart",description:"Restart the CLI preserving session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"undo",description:"Rewind last turn and revert changes",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"user",description:"Manage GitHub user list",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"}]}function A(){return[{name:"clear",description:"Clear the screen and conversation history",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"compact",description:"Compress the context by replacing it with a summary",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"rewind",description:"Rewind to a previous conversation state",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"quit",description:"Exit the CLI",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"model",description:"Manage model configuration",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"theme",description:"Change the theme",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"agents reload",description:"Reload the agent registry",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"commands reload",description:"Reload custom slash commands",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"memory reload",description:"Reload context files (e.g. GEMINI.md)",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"mcp reload",description:"Restart and reload MCP servers",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"skills reload",description:"Reload discovered agent skills from disk",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"extensions reload",description:"Reload all active extensions",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"help",description:"Show help for interactive commands",category:"standard-util",cliTools:["gemini"],filePath:"",source:"builtin"}]}function B(a,b){let c=new Map;for(let b of a)c.set((0,j.TN)(b),b);for(let a of b)c.set((0,j.TN)(a),a);return Array.from(c.values())}async function C(a){if(a){let b=await t(a),c=await v(a),d=B([...c,...y(await w(a),await x(a))],b);return(0,j.lg)(d)}null===n&&(n=await t()),null===o&&(o=await v().catch(()=>[]));let b=B([...o],n);return(0,j.lg)(b)}},50446:(a,b,c)=>{c.d(b,{B:()=>d,N:()=>e});let d={planning:"Planning",development:"Development",review:"Review",documentation:"Documentation",workflow:"Workflow",skill:"Skills","standard-session":"Standard (Session)","standard-config":"Standard (Config)","standard-monitor":"Standard (Monitor)","standard-git":"Standard (Git)","standard-util":"Standard (Utility)"},e={"work-plan":"planning","issue-create":"planning","issue-split":"planning","design-policy":"planning","tdd-impl":"development","bug-fix":"development",refactoring:"development","architecture-review":"review","acceptance-test":"review","progress-report":"documentation","create-pr":"workflow","pm-auto-dev":"workflow"}},70673:(a,b,c)=>{function d(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function e(a,b=30){return a.length<=b?a:`${a.substring(0,b-3)}...`}c.d(b,{Nt:()=>d,W5:()=>e,wj:()=>g});class f extends Error{constructor(a){super(a),this.name="TimeoutError"}}function g(a,b,c){return new Promise((d,e)=>{let g=setTimeout(()=>{void 0!==c?d(c):e(new f(`Operation timed out after ${b}ms`))},b);a.then(a=>{clearTimeout(g),d(a)},a=>{clearTimeout(g),e(a)})})}},84915:(a,b,c)=>{c.d(b,{BP:()=>r,j2:()=>s,wR:()=>w});var d=c(79646),e=c(29021),f=c(33873),g=c(50446),h=c(15194),i=c(48870),j=c(25449),k=c(10176),l=c(70673);let m=(0,c(72626).h)("slash-command-catalog"),n=new Set(Object.keys(g.B)),o=/(\d+)\.(\d+)\.(\d+)/,p={claude:{command:"claude",args:["--version"]},codex:{command:"codex",args:["--version"]},antigravity:{command:"agy",args:["--version"]}},q=null;function r(){return null===q&&(q=function(){let a,b=function(){try{return f.join((0,i.WI)(),"slash-commands")}catch{return null}}();if(!b)return[];try{a=e.readdirSync(b,{withFileTypes:!0})}catch{return[]}let c=f.resolve(b)+f.sep,d=[];for(let g of a.filter(a=>a.isFile()&&a.name.endsWith(".json")&&!a.name.includes("..")).sort((a,b)=>a.name.localeCompare(b.name))){let a=f.resolve(b,g.name);a.startsWith(c)&&d.push(...function(a){let b,c;try{b=e.statSync(a)}catch{return[]}if(!b.isFile())return[];if(b.size>65536)return m.warn("user-catalog-file-too-large",{size:b.size}),[];try{c=JSON.parse(e.readFileSync(a,"utf8"))}catch{return m.warn("user-catalog-file-parse-failed"),[]}if(!c||"object"!=typeof c||!Array.isArray(c.commands))return m.warn("user-catalog-file-invalid-shape"),[];c.commands.length>200&&m.warn("user-catalog-file-entry-limit",{count:c.commands.length});let d=c.commands.slice(0,200),f=[];for(let a of d){let b=function(a){var b;if(!a||"object"!=typeof a||"string"!=typeof a.name||0===a.name.trim().length)return null;let c=function(a){if(void 0===a)return{ok:!0};if(!Array.isArray(a)||0===a.length)return{ok:!1};let b=[];for(let c of a){if("string"!=typeof c||!(0,h.hR)(c))return{ok:!1};b.push(c)}return{ok:!0,tools:b}}(a.cliTools);if(!c.ok)return null;let d="string"==typeof a.description?a.description:"",e={name:(0,l.W5)(a.name.trim(),100),description:(0,l.W5)(d,500),category:"string"==typeof(b=a.category)&&n.has(b)?b:"standard-util",source:"user-catalog",isStandard:!1,filePath:""};return c.tools&&(e.cliTools=c.tools),e}(a);b?f.push(b):m.warn("user-catalog-entry-skipped")}return f}(a))}return d}()),q}function s(a,b){return 0===b.length?a:(0,k.C8)(a,(0,k.lg)(b))}let t=null,u=null;async function v(){let a={};return await Promise.all(Object.keys(p).map(async b=>{var c,e;let f=j.HR[b];if(!f)return;let g=p[b],h=await (c=g.command,e=g.args,new Promise(a=>{(0,d.execFile)(c,e,{timeout:5e3},(b,c,d)=>{if(b)return void a(null);a(function(a){let b=o.exec(a);return b?`${b[1]}.${b[2]}.${b[3]}`:null}(`${c??""}
|
|
1
|
+
"use strict";exports.id=2404,exports.ids=[2404],exports.modules={10176:(a,b,c)=>{c.d(b,{C8:()=>h,MN:()=>i,TN:()=>g,lg:()=>f});var d=c(50446);let e=["planning","development","review","documentation","workflow","skill","standard-session","standard-config","standard-monitor","standard-git","standard-util"];function f(a){if(0===a.length)return[];let b=new Map;for(let c of a){let a=b.get(c.category)||[];a.push(c),b.set(c.category,a)}let c=[];for(let a of e){let e=b.get(a);e&&e.length>0&&c.push({category:a,label:d.B[a],commands:e})}for(let[a,f]of b)!e.includes(a)&&f.length>0&&c.push({category:a,label:d.B[a]||a,commands:f});return c}function g(a){let b=a.cliTools&&a.cliTools.length>0?[...a.cliTools].sort().join(","):"claude";return`${a.name}::${b}`}function h(a,b){let c=new Map;for(let b of a)for(let a of b.commands)c.set(g(a),{...a,source:a.source||"standard"});for(let a of b)for(let b of a.commands)c.set(g(b),{...b,source:b.source||"worktree"});return f(Array.from(c.values()))}function i(a,b){return a.map(a=>({...a,commands:a.commands.filter(a=>a.cliTools?a.cliTools.includes(b):"claude"===b)})).filter(a=>a.commands.length>0)}},25449:(a,b,c)=>{c.d(b,{HR:()=>f,ro:()=>h});var d=c(10176);let e=JSON.parse('{"verifiedAgainst":{"claude":"2.1.218","codex":"0.147.0","antigravity":"1.1.3"},"frequentlyUsed":{"claude":["clear","compact","status","help","review"],"codex":["new","diff","plan","status","review"],"opencode":["models","new","compact","help","exit"],"antigravity":["clear","help","usage","diff","model"]},"commands":[{"name":"clear","descriptionKey":"slashCommands.descriptions.clear","category":"standard-session","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"compact","descriptionKey":"slashCommands.descriptions.compact","category":"standard-session","cliTools":["claude","codex","opencode"],"isStandard":true,"source":"standard"},{"name":"resume","descriptionKey":"slashCommands.descriptions.resume","category":"standard-session","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"rewind","descriptionKey":"slashCommands.descriptions.rewind","category":"standard-session","isStandard":true,"source":"standard"},{"name":"config","descriptionKey":"slashCommands.descriptions.config","category":"standard-config","isStandard":true,"source":"standard"},{"name":"model","descriptionKey":"slashCommands.descriptions.model","category":"standard-config","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"permissions","descriptionKey":"slashCommands.descriptions.permissions","category":"standard-config","cliTools":["claude","codex","antigravity"],"isStandard":true,"source":"standard"},{"name":"status","descriptionKey":"slashCommands.descriptions.status","category":"standard-monitor","cliTools":["claude","codex"],"isStandard":true,"source":"standard"},{"name":"context","descriptionKey":"slashCommands.descriptions.context","category":"standard-monitor","isStandard":true,"source":"standard"},{"name":"review","descriptionKey":"slashCommands.descriptions.review","category":"standard-git","cliTools":["claude","codex"],"isStandard":true,"source":"standard"},{"name":"help","descriptionKey":"slashCommands.descriptions.help","category":"standard-util","cliTools":["claude","opencode"],"isStandard":true,"source":"standard"},{"name":"doctor","descriptionKey":"slashCommands.descriptions.doctor","category":"standard-util","isStandard":true,"source":"standard"},{"name":"export","descriptionKey":"slashCommands.descriptions.export","category":"standard-util","isStandard":true,"source":"standard"},{"name":"focus","descriptionKey":"slashCommands.descriptions.focus","category":"standard-session","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"effort","descriptionKey":"slashCommands.descriptions.effort","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fast","descriptionKey":"slashCommands.descriptions.fast","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"loop","descriptionKey":"slashCommands.descriptions.loop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"add-dir","descriptionKey":"slashCommands.descriptions.add-dir","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-monitor","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"memory","descriptionKey":"slashCommands.descriptions.memory","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"statusline","descriptionKey":"slashCommands.descriptions.statusline","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"terminal-setup","descriptionKey":"slashCommands.descriptions.terminal-setup","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"new","descriptionKey":"slashCommands.descriptions.new","category":"standard-session","cliTools":["codex","opencode"],"isStandard":true,"source":"standard"},{"name":"logout","descriptionKey":"slashCommands.descriptions.logout","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"quit","descriptionKey":"slashCommands.descriptions.quit","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-git","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"mention","descriptionKey":"slashCommands.descriptions.mention","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"init","descriptionKey":"slashCommands.descriptions.init","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"feedback","descriptionKey":"slashCommands.descriptions.feedback","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"goal","descriptionKey":"slashCommands.descriptions.goal","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"agent","descriptionKey":"slashCommands.descriptions.agent","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"subagents","descriptionKey":"slashCommands.descriptions.subagents","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-session","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"memories","descriptionKey":"slashCommands.descriptions.memories","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"skills","descriptionKey":"slashCommands.descriptions.skills","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"sessions","descriptionKey":"slashCommands.descriptions.sessions","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"connect","descriptionKey":"slashCommands.descriptions.connect","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-session","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"models","descriptionKey":"slashCommands.descriptions.models","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"agents","descriptionKey":"slashCommands.descriptions.agents","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"themes","descriptionKey":"slashCommands.descriptions.themes","category":"standard-config","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"editor","descriptionKey":"slashCommands.descriptions.editor","category":"standard-util","cliTools":["opencode"],"isStandard":true,"source":"standard"},{"name":"help","descriptionKey":"slashCommands.descriptions.help","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-monitor","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"mcp","descriptionKey":"slashCommands.descriptions.mcp","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"hooks","descriptionKey":"slashCommands.descriptions.hooks","category":"standard-config","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-git","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"rewind","descriptionKey":"slashCommands.descriptions.rewind","category":"standard-session","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"tasks","descriptionKey":"slashCommands.descriptions.tasks","category":"standard-util","cliTools":["antigravity"],"isStandard":true,"source":"standard"},{"name":"advisor","descriptionKey":"slashCommands.descriptions.advisor","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"autocompact","descriptionKey":"slashCommands.descriptions.autocompact","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"autofix-pr","descriptionKey":"slashCommands.descriptions.autofix-pr","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"background","descriptionKey":"slashCommands.descriptions.background","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"batch","descriptionKey":"slashCommands.descriptions.batch","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"branch","descriptionKey":"slashCommands.descriptions.branch","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"btw","descriptionKey":"slashCommands.descriptions.btw","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"bug","descriptionKey":"slashCommands.descriptions.bug","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"cd","descriptionKey":"slashCommands.descriptions.cd","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"chrome","descriptionKey":"slashCommands.descriptions.chrome","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"claude-api","descriptionKey":"slashCommands.descriptions.claude-api","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"code-review","descriptionKey":"slashCommands.descriptions.code-review","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"color","descriptionKey":"slashCommands.descriptions.color","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"copy","descriptionKey":"slashCommands.descriptions.copy","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"dataviz","descriptionKey":"slashCommands.descriptions.dataviz","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"debug","descriptionKey":"slashCommands.descriptions.debug","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"deep-research","descriptionKey":"slashCommands.descriptions.deep-research","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"design-login","descriptionKey":"slashCommands.descriptions.design-login","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"design-sync","descriptionKey":"slashCommands.descriptions.design-sync","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"desktop","descriptionKey":"slashCommands.descriptions.desktop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"diff","descriptionKey":"slashCommands.descriptions.diff","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"feedback","descriptionKey":"slashCommands.descriptions.feedback","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fewer-permission-prompts","descriptionKey":"slashCommands.descriptions.fewer-permission-prompts","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"fork","descriptionKey":"slashCommands.descriptions.fork","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"goal","descriptionKey":"slashCommands.descriptions.goal","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"heapdump","descriptionKey":"slashCommands.descriptions.heapdump","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ide","descriptionKey":"slashCommands.descriptions.ide","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"init","descriptionKey":"slashCommands.descriptions.init","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"insights","descriptionKey":"slashCommands.descriptions.insights","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"install-github-app","descriptionKey":"slashCommands.descriptions.install-github-app","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"install-slack-app","descriptionKey":"slashCommands.descriptions.install-slack-app","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"keybindings","descriptionKey":"slashCommands.descriptions.keybindings","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"login","descriptionKey":"slashCommands.descriptions.login","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"logout","descriptionKey":"slashCommands.descriptions.logout","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"mobile","descriptionKey":"slashCommands.descriptions.mobile","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"passes","descriptionKey":"slashCommands.descriptions.passes","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"plan","descriptionKey":"slashCommands.descriptions.plan","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"plugin","descriptionKey":"slashCommands.descriptions.plugin","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"powerup","descriptionKey":"slashCommands.descriptions.powerup","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"privacy-settings","descriptionKey":"slashCommands.descriptions.privacy-settings","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"radio","descriptionKey":"slashCommands.descriptions.radio","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"recap","descriptionKey":"slashCommands.descriptions.recap","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"release-notes","descriptionKey":"slashCommands.descriptions.release-notes","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"reload-plugins","descriptionKey":"slashCommands.descriptions.reload-plugins","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"reload-skills","descriptionKey":"slashCommands.descriptions.reload-skills","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"remote-control","descriptionKey":"slashCommands.descriptions.remote-control","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"remote-env","descriptionKey":"slashCommands.descriptions.remote-env","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"rename","descriptionKey":"slashCommands.descriptions.rename","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"run","descriptionKey":"slashCommands.descriptions.run","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"run-skill-generator","descriptionKey":"slashCommands.descriptions.run-skill-generator","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"sandbox","descriptionKey":"slashCommands.descriptions.sandbox","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"scroll-speed","descriptionKey":"slashCommands.descriptions.scroll-speed","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"security-review","descriptionKey":"slashCommands.descriptions.security-review","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"setup-bedrock","descriptionKey":"slashCommands.descriptions.setup-bedrock","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"setup-vertex","descriptionKey":"slashCommands.descriptions.setup-vertex","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"simplify","descriptionKey":"slashCommands.descriptions.simplify","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"skills","descriptionKey":"slashCommands.descriptions.skills","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"stickers","descriptionKey":"slashCommands.descriptions.stickers","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"stop","descriptionKey":"slashCommands.descriptions.stop","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"subtask","descriptionKey":"slashCommands.descriptions.subtask","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"tasks","descriptionKey":"slashCommands.descriptions.tasks","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"team-onboarding","descriptionKey":"slashCommands.descriptions.team-onboarding","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"teleport","descriptionKey":"slashCommands.descriptions.teleport","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"theme","descriptionKey":"slashCommands.descriptions.theme","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"tui","descriptionKey":"slashCommands.descriptions.tui","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ultrareview","descriptionKey":"slashCommands.descriptions.ultrareview","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"upgrade","descriptionKey":"slashCommands.descriptions.upgrade","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"usage-credits","descriptionKey":"slashCommands.descriptions.usage-credits","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"verify","descriptionKey":"slashCommands.descriptions.verify","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"voice","descriptionKey":"slashCommands.descriptions.voice","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"web-setup","descriptionKey":"slashCommands.descriptions.web-setup","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"workflows","descriptionKey":"slashCommands.descriptions.workflows","category":"standard-util","cliTools":["claude"],"isStandard":true,"source":"standard"},{"name":"ide","descriptionKey":"slashCommands.descriptions.ide","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"keymap","descriptionKey":"slashCommands.descriptions.keymap","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"vim","descriptionKey":"slashCommands.descriptions.vim","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"setup-default-sandbox","descriptionKey":"slashCommands.descriptions.setup-default-sandbox","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"sandbox-add-read-dir","descriptionKey":"slashCommands.descriptions.sandbox-add-read-dir","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"experimental","descriptionKey":"slashCommands.descriptions.experimental","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"approve","descriptionKey":"slashCommands.descriptions.approve","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"import","descriptionKey":"slashCommands.descriptions.import","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"rename","descriptionKey":"slashCommands.descriptions.rename","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"archive","descriptionKey":"slashCommands.descriptions.archive","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"delete","descriptionKey":"slashCommands.descriptions.delete","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"app","descriptionKey":"slashCommands.descriptions.app","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"side","descriptionKey":"slashCommands.descriptions.side","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"btw","descriptionKey":"slashCommands.descriptions.btw","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"copy","descriptionKey":"slashCommands.descriptions.copy","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"raw","descriptionKey":"slashCommands.descriptions.raw","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"usage","descriptionKey":"slashCommands.descriptions.usage","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"debug-config","descriptionKey":"slashCommands.descriptions.debug-config","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"title","descriptionKey":"slashCommands.descriptions.title","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"statusline","descriptionKey":"slashCommands.descriptions.statusline","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"theme","descriptionKey":"slashCommands.descriptions.theme","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"pets","descriptionKey":"slashCommands.descriptions.pets","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"apps","descriptionKey":"slashCommands.descriptions.apps","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"plugins","descriptionKey":"slashCommands.descriptions.plugins","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"exit","descriptionKey":"slashCommands.descriptions.exit","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"rollout","descriptionKey":"slashCommands.descriptions.rollout","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"ps","descriptionKey":"slashCommands.descriptions.ps","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"stop","descriptionKey":"slashCommands.descriptions.stop","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"personality","descriptionKey":"slashCommands.descriptions.personality","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"},{"name":"test-approval","descriptionKey":"slashCommands.descriptions.test-approval","category":"standard-util","cliTools":["codex"],"isStandard":true,"source":"standard"}]}'),f=e.verifiedAgainst,g=e.commands.map(function(a){let b={name:a.name,descriptionKey:a.descriptionKey,category:a.category,isStandard:a.isStandard,source:a.source,filePath:""};return a.cliTools&&(b.cliTools=a.cliTools),b});function h(){return(0,d.lg)(g)}e.frequentlyUsed},32404:(a,b,c)=>{c.d(b,{$B:()=>A,DP:()=>C,SN:()=>w,XN:()=>x,YJ:()=>y,eH:()=>z,l1:()=>v});var d=c(29021),e=c(21820),f=c(33873),g=c(4018),h=c.n(g),i=c(50446),j=c(10176),k=c(15194),l=c(70673);c(84915);let m=(0,c(72626).h)("slash-commands"),n=null,o=null,p=f.join(".codex","skills"),q=f.join(".agents","skills");function r(a){return h()(a,{engines:{js:{parse:()=>{throw Error("JavaScript engine is disabled for security")},stringify:()=>{throw Error("JavaScript engine is disabled for security")}},javascript:{parse:()=>{throw Error("JavaScript engine is disabled for security")},stringify:()=>{throw Error("JavaScript engine is disabled for security")}}}})}function s(a){if("string"==typeof a)return(0,k.hR)(a)?[a]:void 0;if(!Array.isArray(a))return;let b=a.filter(a=>"string"==typeof a&&(0,k.hR)(a));if(0!==b.length)return Array.from(new Set(b))}async function t(a){let b=function(a){let b=a||process.cwd();return f.join(b,".claude","commands")}(a);if(!d.existsSync(b))return m.warn("commands-directory-not-found:commandsdir"),[];let c=d.readdirSync(b).filter(a=>a.endsWith(".md")),e=[];for(let a of c){let c=function(a){try{let b=d.readFileSync(a,"utf-8"),{data:c}=r(b),e=f.basename(a,".md"),g=i.N[e]||"workflow";return{name:e,description:c.description||"",category:g,model:c.model,cliTools:s(c.cliTools),filePath:f.relative(process.cwd(),a)}}catch(a){return m.error("error-parsing-command-file-filepath:",{error:a instanceof Error?a.message:String(a)}),null}}(f.join(b,a));c&&e.push(c)}return e.sort((a,b)=>a.name.localeCompare(b.name)),n=e,e}function u(a,b,c,e=!1){if(!d.existsSync(a))return[];let g=d.readdirSync(a,{withFileTypes:!0}),h=[];for(let b of g)if(b.isDirectory()&&!b.name.includes(".."))if(e&&".system"===b.name)try{let b=f.join(a,".system");for(let a of d.readdirSync(b,{withFileTypes:!0}))a.isDirectory()&&(a.name.includes("..")||h.push({dir:b,name:a.name}))}catch{}else h.push({dir:a,name:b.name});let i=f.resolve(a)+f.sep,j=[];for(let{dir:a,name:e}of h){if(j.length>=100){m.warn(c);break}let g=f.resolve(a,e);if(!g.startsWith(i))continue;let h=function(a,b){let c=f.join(a,"SKILL.md");try{let a;if(d.statSync(c).size>65536)return m.warn("skipping-oversized-skill-file-statsize-b"),null;let e=d.readFileSync(c,"utf-8"),g=b,h="";try{let{data:c}=r(e);g=c.name||b,h=c.description||"",a=s(c.cliTools)}catch{let a=function(a){let b=a.match(/^---\r?\n([\s\S]*?)\r?\n---/);if(!b)return{name:"",description:""};let c=b[1],d=c.match(/^name:\s*(.+)$/m),e=c.match(/^description:\s*(.+)$/m);return{name:d?d[1].trim():"",description:e?e[1].trim():""}}(e);g=a.name||b,h=a.description||""}return{name:(0,l.W5)(g,100),description:(0,l.W5)(h,500),category:"skill",source:"skill",cliTools:a,filePath:f.relative(process.cwd(),c)}}catch(a){return m.error("error-parsing-skill-file-skillpath:",{error:a instanceof Error?a.message:String(a)}),null}}(g,e);h&&j.push({...h,...b})}return j.sort((a,b)=>a.name.localeCompare(b.name)),j}async function v(a){return u(function(a){let b=a||process.cwd();return f.join(b,".claude","skills")}(a),{},"skills-count-limit")}async function w(a){let b=a??e.homedir();return u(f.join(b,p),{source:"codex-skill",cliTools:["codex"]},"codex-skills-count-limit",!0)}async function x(a){let b=a??e.homedir();return u(f.join(b,q),{source:"codex-skill",cliTools:["codex","antigravity"]},"agents-skills-count-limit",!0)}function y(a,b){let c=new Set(b.map(a=>a.name));return[...a.filter(a=>!c.has(a.name)),...b]}function z(){return[{name:"model",description:"Select AI model to use",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"delegate",description:"Send session to GitHub to create a PR",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"fleet",description:"Enable fleet mode for parallel subagent execution",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"tasks",description:"View and manage background tasks",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"init",description:"Initialize Copilot instructions for repository",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"agent",description:"Browse and select from available agents",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"skills",description:"Manage skills for enhanced capabilities",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"mcp",description:"Manage MCP server configuration",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"plugin",description:"Manage plugins and plugin marketplaces",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"ide",description:"Connect to an IDE workspace",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"diff",description:"Review changes in current directory",category:"standard-git",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"pr",description:"Operate on pull requests for current branch",category:"standard-git",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"review",description:"Run code review agent to analyze changes",category:"review",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"lsp",description:"Manage language server configuration",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"terminal-setup",description:"Configure terminal for multiline input",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"allow-all",description:"Enable all permissions",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"add-dir",description:"Add directory to allowed list",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"list-dirs",description:"Display all allowed directories",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"cwd",description:"Change or show working directory",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"reset-allowed-tools",description:"Reset the list of allowed tools",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"resume",description:"Switch to a different session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"rename",description:"Rename the current session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"context",description:"Show context window token usage",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"usage",description:"Display session usage metrics",category:"standard-monitor",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"session",description:"View and manage sessions",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"compact",description:"Summarize conversation to reduce context",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"share",description:"Share session to markdown or GitHub gist",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"copy",description:"Copy last response to clipboard",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"rewind",description:"Rewind last turn and revert file changes",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"help",description:"Show help for interactive commands",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"changelog",description:"Display changelog for CLI versions",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"feedback",description:"Provide feedback about the CLI",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"theme",description:"View or set color mode",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"update",description:"Update the CLI to the latest version",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"version",description:"Display version information",category:"standard-util",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"experimental",description:"Show or toggle experimental features",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"clear",description:"Abandon session and start fresh",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"instructions",description:"View and toggle custom instruction files",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"streamer-mode",description:"Toggle streamer mode",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"exit",description:"Exit the CLI",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"login",description:"Log in to Copilot",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"logout",description:"Log out of Copilot",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"new",description:"Start a new conversation",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"plan",description:"Create an implementation plan before coding",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"research",description:"Run deep research investigation",category:"workflow",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"restart",description:"Restart the CLI preserving session",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"undo",description:"Rewind last turn and revert changes",category:"standard-session",cliTools:["copilot"],filePath:"",source:"builtin"},{name:"user",description:"Manage GitHub user list",category:"standard-config",cliTools:["copilot"],filePath:"",source:"builtin"}]}function A(){return[{name:"clear",description:"Clear the screen and conversation history",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"compact",description:"Compress the context by replacing it with a summary",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"rewind",description:"Rewind to a previous conversation state",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"quit",description:"Exit the CLI",category:"standard-session",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"model",description:"Manage model configuration",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"theme",description:"Change the theme",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"agents reload",description:"Reload the agent registry",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"commands reload",description:"Reload custom slash commands",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"memory reload",description:"Reload context files (e.g. GEMINI.md)",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"mcp reload",description:"Restart and reload MCP servers",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"skills reload",description:"Reload discovered agent skills from disk",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"extensions reload",description:"Reload all active extensions",category:"standard-config",cliTools:["gemini"],filePath:"",source:"builtin"},{name:"help",description:"Show help for interactive commands",category:"standard-util",cliTools:["gemini"],filePath:"",source:"builtin"}]}function B(a,b){let c=new Map;for(let b of a)c.set((0,j.TN)(b),b);for(let a of b)c.set((0,j.TN)(a),a);return Array.from(c.values())}async function C(a){if(a){let b=await t(a),c=await v(a),d=B([...c,...y(await w(a),await x(a))],b);return(0,j.lg)(d)}null===n&&(n=await t()),null===o&&(o=await v().catch(()=>[]));let b=B([...o],n);return(0,j.lg)(b)}},50446:(a,b,c)=>{c.d(b,{B:()=>d,N:()=>e});let d={planning:"Planning",development:"Development",review:"Review",documentation:"Documentation",workflow:"Workflow",skill:"Skills","standard-session":"Standard (Session)","standard-config":"Standard (Config)","standard-monitor":"Standard (Monitor)","standard-git":"Standard (Git)","standard-util":"Standard (Utility)"},e={"work-plan":"planning","issue-create":"planning","issue-split":"planning","design-policy":"planning","tdd-impl":"development","bug-fix":"development",refactoring:"development","architecture-review":"review","acceptance-test":"review","progress-report":"documentation","create-pr":"workflow","pm-auto-dev":"workflow"}},70673:(a,b,c)=>{function d(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function e(a,b=30){return a.length<=b?a:`${a.substring(0,b-3)}...`}c.d(b,{Nt:()=>d,W5:()=>e,wj:()=>g});class f extends Error{constructor(a){super(a),this.name="TimeoutError"}}function g(a,b,c){return new Promise((d,e)=>{let g=setTimeout(()=>{void 0!==c?d(c):e(new f(`Operation timed out after ${b}ms`))},b);a.then(a=>{clearTimeout(g),d(a)},a=>{clearTimeout(g),e(a)})})}},84915:(a,b,c)=>{c.d(b,{BP:()=>r,j2:()=>s,wR:()=>w});var d=c(79646),e=c(29021),f=c(33873),g=c(50446),h=c(15194),i=c(48870),j=c(25449),k=c(10176),l=c(70673);let m=(0,c(72626).h)("slash-command-catalog"),n=new Set(Object.keys(g.B)),o=/(\d+)\.(\d+)\.(\d+)/,p={claude:{command:"claude",args:["--version"]},codex:{command:"codex",args:["--version"]},antigravity:{command:"agy",args:["--version"]}},q=null;function r(){return null===q&&(q=function(){let a,b=function(){try{return f.join((0,i.WI)(),"slash-commands")}catch{return null}}();if(!b)return[];try{a=e.readdirSync(b,{withFileTypes:!0})}catch{return[]}let c=f.resolve(b)+f.sep,d=[];for(let g of a.filter(a=>a.isFile()&&a.name.endsWith(".json")&&!a.name.includes("..")).sort((a,b)=>a.name.localeCompare(b.name))){let a=f.resolve(b,g.name);a.startsWith(c)&&d.push(...function(a){let b,c;try{b=e.statSync(a)}catch{return[]}if(!b.isFile())return[];if(b.size>65536)return m.warn("user-catalog-file-too-large",{size:b.size}),[];try{c=JSON.parse(e.readFileSync(a,"utf8"))}catch{return m.warn("user-catalog-file-parse-failed"),[]}if(!c||"object"!=typeof c||!Array.isArray(c.commands))return m.warn("user-catalog-file-invalid-shape"),[];c.commands.length>200&&m.warn("user-catalog-file-entry-limit",{count:c.commands.length});let d=c.commands.slice(0,200),f=[];for(let a of d){let b=function(a){var b;if(!a||"object"!=typeof a||"string"!=typeof a.name||0===a.name.trim().length)return null;let c=function(a){if(void 0===a)return{ok:!0};if(!Array.isArray(a)||0===a.length)return{ok:!1};let b=[];for(let c of a){if("string"!=typeof c||!(0,h.hR)(c))return{ok:!1};b.push(c)}return{ok:!0,tools:b}}(a.cliTools);if(!c.ok)return null;let d="string"==typeof a.description?a.description:"",e={name:(0,l.W5)(a.name.trim(),100),description:(0,l.W5)(d,500),category:"string"==typeof(b=a.category)&&n.has(b)?b:"standard-util",source:"user-catalog",isStandard:!1,filePath:""};return c.tools&&(e.cliTools=c.tools),e}(a);b?f.push(b):m.warn("user-catalog-entry-skipped")}return f}(a))}return d}()),q}function s(a,b){return 0===b.length?a:(0,k.C8)(a,(0,k.lg)(b))}let t=null,u=null;async function v(){let a={};return await Promise.all(Object.keys(p).map(async b=>{var c,e;let f=j.HR[b];if(!f)return;let g=p[b],h=await (c=g.command,e=g.args,new Promise(a=>{(0,d.execFile)(c,e,{timeout:5e3},(b,c,d)=>{if(b)return void a(null);a(function(a){let b=o.exec(a);return b?`${b[1]}.${b[2]}.${b[3]}`:null}(`${c??""}
|
|
2
2
|
${d??""}`))})}));h&&(a[b]={current:h,verifiedAgainst:f,stale:function(a,b){let c=a.split(".").map(a=>Number(a)||0),d=b.split(".").map(a=>Number(a)||0);for(let a=0;a<3;a++){let b=(c[a]??0)-(d[a]??0);if(0!==b)return b>0?1:-1}return 0}(h,f)>0})})),Object.values(a).some(a=>a.stale)&&m.warn("builtin-catalog-stale",{staleness:a}),a}async function w(){if(null!==t)return t;if(u)return u;u=v();try{return t=await u}finally{u=null}}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
operation_id = excluded.operation_id,
|
|
21
21
|
updated_at = excluded.updated_at`).run((0,d.randomUUID)(),b.worktreeId,c.skill_id,c.version,c.install_root,JSON.stringify(e),b.receiptSha256,c.source.repository,c.source.ref,c.source.commit,c.artifact.sha256,c.effective_risk,b.operationId,b.installedAt,b.installedAt);let f=h(a,b.worktreeId,c.skill_id);if(null===f)throw Error("Skill installation row disappeared immediately after being written");return f}function h(a,b,c){let d=a.prepare(`SELECT ${e} FROM skill_installations
|
|
22
22
|
WHERE worktree_id = ? AND skill_id = ?`).get(b,c);return d?f(d):null}function i(a,b){return a.prepare(`SELECT ${e} FROM skill_installations
|
|
23
|
-
WHERE worktree_id = ? ORDER BY skill_id ASC`).all(b).map(f)}function j(a,b,c){return a.prepare("DELETE FROM skill_installations WHERE worktree_id = ? AND skill_id = ?").run(b,c).changes>0}},77306:(a,b,c)=>{c.d(b,{PY:()=>s,a_:()=>r});var d=c(29021),e=c(33873),f=c.n(e),g=c(73753),h=c(96210),i=c(55317),j=c(33095),k=c(1185),l=c(36931);function m(a,b,c){let d,e={root:(0,j.QL)(b,c),rootPrefix:b,present:!1,receiptSha256:null,version:null,modifiedFiles:0,missingFiles:0,unmanagedFiles:0,irregularPaths:0,truncated:!1};try{d=(0,j.yj)(a,b,c)}catch{return e}let f=(0,k.II)(d,c,{rootPrefix:b});return{...e,present:f.present,receiptSha256:f.receiptDigest,version:f.receipt?.version??null,modifiedFiles:f.stats.modified,missingFiles:f.stats.missing,unmanagedFiles:f.stats.unknown,irregularPaths:f.stats.irregular,truncated:f.blockers.some(a=>a.code===k.sJ.TREE_SCAN_TRUNCATED)}}function n(a){return a.modifiedFiles>0||a.missingFiles>0||a.unmanagedFiles>0||a.irregularPaths>0}async function o(a,b){let c=(0,g.vi)(a),e=c.slice(0,200),j=e.length<c.length,k=[],o=[];for(let c of e){if(await new Promise(a=>{setImmediate(a)}),!(0,d.existsSync)(c.path)){o.push(c.id);continue}let e=(0,i.Bv)(a,c.id),g=new Set(e.map(a=>a.skillId)),p=new Map;for(let a of h.y2){let b=function(a,b){try{return(0,d.readdirSync)(f().join(a,b),{withFileTypes:!0}).filter(a=>{var b;return a.isDirectory()&&(b=a.name).length<=h.cj&&h.X0.test(b)}).map(a=>a.name)}catch{return null}}(c.path,a);if(null!==b)for(let c of b)g.has(c)||p.set(c,[...p.get(c)??[],a])}let q=100;for(let a of e){if(0===q){j=!0;break}q-=1,k.push(function(a,b,c){let d=b.installRoots.map(c=>m(a.path,f().dirname(c),b.skillId)),e=c?.get(b.skillId)??null;return{worktreeId:a.id,worktreeName:a.name,repositoryName:a.repositoryName,skillId:b.skillId,version:b.version,status:function(a,b,c){if(a.some(a=>!a.present))return"missing";if(a.some(n))return"modified";if(null!==b&&null!==c){let a=(0,l.Cg)(c,b);if(null!==a&&a>0)return"update_available"}return"installed"}(d,b.version,e),latestVersion:e,installRoots:d,effectiveRisk:b.effectiveRisk,source:{repository:b.sourceRepository,ref:b.sourceRef,commit:b.sourceCommit},artifactSha256:b.artifactSha256,installedAt:b.installedAt,updatedAt:b.updatedAt}}(c,a,b.latestVersions))}for(let[a,d]of[...p].sort(([a],[b])=>a<b?-1:1)){if(0===q){j=!0;break}q-=1,k.push(function(a,b,c,d){let e=c.map(c=>m(a.path,c,b)),f=e.find(a=>null!==a.version)?.version??null;return{worktreeId:a.id,worktreeName:a.name,repositoryName:a.repositoryName,skillId:b,version:f,status:"unmanaged",latestVersion:d?.get(b)??null,installRoots:e,effectiveRisk:null,source:null,artifactSha256:null,installedAt:null,updatedAt:null}}(c,a,d,b.latestVersions))}}return{scannedAt:b.now??Date.now(),worktreeCount:e.length,entries:k,unreadableWorktreeIds:o,truncated:j}}let p=null,q=null;function r(){p=null}async function s(a,b={}){let c=b.now??Date.now();return!b.refresh&&null!==p&&p.expiresAt>c?p.result:null!==q?q:q=o(a,b).then(a=>(p={result:a,expiresAt:(b.now??Date.now())+5e3},a)).finally(()=>{q=null})}},98384:(a,b,c)=>{c.d(b,{UE:()=>p,mP:()=>o});var d=c(29021),e=c(33873),f=c.n(e),g=c(73753),h=c(96210),i=c(52710),j=c(93356),k=c(55317),l=c(33095);let m={RECEIPT_MISSING:"SKILL_REINDEX_RECEIPT_MISSING",RECEIPT_UNREADABLE:"SKILL_REINDEX_RECEIPT_UNREADABLE",RECEIPT_FOREIGN:"SKILL_REINDEX_RECEIPT_FOREIGN"};function n(a,b,c,e){let g=(0,k.Bv)(a,b.id).map(a=>a.skillId
|
|
23
|
+
WHERE worktree_id = ? ORDER BY skill_id ASC`).all(b).map(f)}function j(a,b,c){return a.prepare("DELETE FROM skill_installations WHERE worktree_id = ? AND skill_id = ?").run(b,c).changes>0}},77306:(a,b,c)=>{c.d(b,{PY:()=>s,a_:()=>r});var d=c(29021),e=c(33873),f=c.n(e),g=c(73753),h=c(96210),i=c(55317),j=c(33095),k=c(1185),l=c(36931);function m(a,b,c){let d,e={root:(0,j.QL)(b,c),rootPrefix:b,present:!1,receiptSha256:null,version:null,modifiedFiles:0,missingFiles:0,unmanagedFiles:0,irregularPaths:0,truncated:!1};try{d=(0,j.yj)(a,b,c)}catch{return e}let f=(0,k.II)(d,c,{rootPrefix:b});return{...e,present:f.present,receiptSha256:f.receiptDigest,version:f.receipt?.version??null,modifiedFiles:f.stats.modified,missingFiles:f.stats.missing,unmanagedFiles:f.stats.unknown,irregularPaths:f.stats.irregular,truncated:f.blockers.some(a=>a.code===k.sJ.TREE_SCAN_TRUNCATED)}}function n(a){return a.modifiedFiles>0||a.missingFiles>0||a.unmanagedFiles>0||a.irregularPaths>0}async function o(a,b){let c=(0,g.vi)(a),e=c.slice(0,200),j=e.length<c.length,k=[],o=[];for(let c of e){if(await new Promise(a=>{setImmediate(a)}),!(0,d.existsSync)(c.path)){o.push(c.id);continue}let e=(0,i.Bv)(a,c.id),g=new Set(e.map(a=>a.skillId)),p=new Map;for(let a of h.y2){let b=function(a,b){try{return(0,d.readdirSync)(f().join(a,b),{withFileTypes:!0}).filter(a=>{var b;return a.isDirectory()&&(b=a.name).length<=h.cj&&h.X0.test(b)}).map(a=>a.name)}catch{return null}}(c.path,a);if(null!==b)for(let c of b)g.has(c)||p.set(c,[...p.get(c)??[],a])}let q=100;for(let a of e){if(0===q){j=!0;break}q-=1,k.push(function(a,b,c){let d=b.installRoots.map(c=>m(a.path,f().dirname(c),b.skillId)),e=c?.get(b.skillId)??null;return{worktreeId:a.id,worktreeName:a.name,repositoryName:a.repositoryName,skillId:b.skillId,version:b.version,status:function(a,b,c){if(a.some(a=>!a.present))return"missing";if(a.some(n))return"modified";if(null!==b&&null!==c){let a=(0,l.Cg)(c,b);if(null!==a&&a>0)return"update_available"}return"installed"}(d,b.version,e),latestVersion:e,installRoots:d,effectiveRisk:b.effectiveRisk,source:{repository:b.sourceRepository,ref:b.sourceRef,commit:b.sourceCommit},artifactSha256:b.artifactSha256,installedAt:b.installedAt,updatedAt:b.updatedAt}}(c,a,b.latestVersions))}for(let[a,d]of[...p].sort(([a],[b])=>a<b?-1:1)){if(0===q){j=!0;break}q-=1,k.push(function(a,b,c,d){let e=c.map(c=>m(a.path,c,b)),f=e.find(a=>null!==a.version)?.version??null;return{worktreeId:a.id,worktreeName:a.name,repositoryName:a.repositoryName,skillId:b,version:f,status:"unmanaged",latestVersion:d?.get(b)??null,installRoots:e,effectiveRisk:null,source:null,artifactSha256:null,installedAt:null,updatedAt:null}}(c,a,d,b.latestVersions))}}return{scannedAt:b.now??Date.now(),worktreeCount:e.length,entries:k,unreadableWorktreeIds:o,truncated:j}}let p=null,q=null;function r(){p=null}async function s(a,b={}){let c=b.now??Date.now();return!b.refresh&&null!==p&&p.expiresAt>c?p.result:null!==q?q:q=o(a,b).then(a=>(p={result:a,expiresAt:(b.now??Date.now())+5e3},a)).finally(()=>{q=null})}},98384:(a,b,c)=>{c.d(b,{UE:()=>p,mP:()=>o});var d=c(29021),e=c(33873),f=c.n(e),g=c(73753),h=c(96210),i=c(52710),j=c(93356),k=c(55317),l=c(33095);let m={RECEIPT_MISSING:"SKILL_REINDEX_RECEIPT_MISSING",RECEIPT_UNREADABLE:"SKILL_REINDEX_RECEIPT_UNREADABLE",RECEIPT_FOREIGN:"SKILL_REINDEX_RECEIPT_FOREIGN"};function n(a,b,c,e){let g=(0,k.Bv)(a,b.id),n=new Map(g.map(a=>[a.skillId,a])),{found:o,current:p,skips:q}=function(a,b){let c=new Map,e=new Set,g=new Map;for(let k of h.y2)for(let n of function(a,b){try{return(0,d.readdirSync)(f().join(a,b),{withFileTypes:!0}).filter(a=>{var b;return a.isDirectory()&&(b=a.name).length<=h.cj&&h.X0.test(b)}).map(a=>a.name)}catch{return[]}}(a,k)){if(c.has(n)||e.has(n))continue;let h=function(a,b,c,e){let g,h,k=`${b}/${c}`;try{g=(0,l.yj)(a,b,c)}catch{return null}try{h=(0,d.readFileSync)(f().join(g,i.zi))}catch{return{kind:"skipped",reason:m.RECEIPT_MISSING,root:k}}let n=(0,j.Q_)(h);if(null!==e&&e===n)return{kind:"current"};let o=(0,i.q$)(h);return null===o?{kind:"skipped",reason:m.RECEIPT_UNREADABLE,root:k}:o.skill_id!==c?{kind:"skipped",reason:m.RECEIPT_FOREIGN,root:k}:{kind:"found",found:{skillId:c,root:k,receipt:o,receiptSha256:n}}}(a,k,n,b?.get(n)??null);if(null!==h){if("found"===h.kind){c.set(n,h.found),g.delete(n);continue}if("current"===h.kind){e.add(n),g.delete(n);continue}g.has(n)||g.set(n,{worktreeId:"",skillId:n,root:h.root,reason:h.reason})}}return{found:[...c.values()].sort((a,b)=>a.skillId<b.skillId?-1:1),current:[...e].sort(),skips:[...g.values()].sort((a,b)=>a.skillId<b.skillId?-1:1)}}(b.path,"drift-only"===e.converge?new Map(g.map(a=>[a.skillId,a.receiptSha256])):null),r=0;for(let d of o){let e=n.get(d.skillId),f=void 0!==e&&e.receiptSha256!==d.receiptSha256;f&&(r+=1),(0,k.Tk)(a,{worktreeId:b.id,receipt:d.receipt,receiptSha256:d.receiptSha256,operationId:e&&!f?e.operationId:"reindex",installedAt:c})}let s=0;if(e.prune){let c=new Set([...o.map(a=>a.skillId),...p]);for(let d of g)!c.has(d.skillId)&&(0,k.fk)(a,b.id,d.skillId)&&(s+=1)}return{indexed:o.length,converged:r,removed:s,skipped:q.map(a=>({...a,worktreeId:b.id}))}}function o(a,b={}){let c=b.now??Date.now(),e=(0,g.vi)(a),f={scannedWorktrees:0,indexed:0,removed:0,skipped:[],unreadableWorktreeIds:[]};for(let b of e){if(!(0,d.existsSync)(b.path)){f.unreadableWorktreeIds.push(b.id);continue}f.scannedWorktrees+=1;let e=n(a,b,c,{converge:"every-row",prune:!0});f.indexed+=e.indexed,f.removed+=e.removed,f.skipped.push(...e.skipped)}return f}function p(a,b,c={}){if(!(0,d.existsSync)(b.path))return{indexed:0,converged:0,skipped:[]};let e=n(a,b,c.now??Date.now(),{converge:"drift-only",prune:!1});return{indexed:e.indexed,converged:e.converged,skipped:e.skipped}}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=2816,exports.ids=[2816],exports.modules={72816:a=>{a.exports=JSON.parse('{"confirmationFromClaude":"Confirmation from Claude","confirmationFrom":"Confirmation from {toolName}","sending":"Sending...","failedToRespond":"Failed to send response. Please try again.","default":"Default","answered":"Answered","awaitingSelection":"Awaiting selection","yes":"Yes","no":"No","enterCustomMessage":"Enter custom message","enterMessageHere":"Enter message here...","enterValuePlaceholder":"Enter a value...","submit":"Submit","yesNoGroupLabel":"Yes or No options","selectAnOption":"Select an option","customValueInput":"Custom value input"}')}};
|
|
1
|
+
"use strict";exports.id=2816,exports.ids=[2816],exports.modules={72816:a=>{a.exports=JSON.parse('{"confirmationFromClaude":"Confirmation from Claude","confirmationFrom":"Confirmation from {toolName}","sending":"Sending...","failedToRespond":"Failed to send response. Please try again.","default":"Default","answered":"Answered","awaitingSelection":"Awaiting selection","yes":"Yes","no":"No","enterCustomMessage":"Enter custom message","enterMessageHere":"Enter message here...","enterValuePlaceholder":"Enter a value...","submit":"Submit","yesNoGroupLabel":"Yes or No options","selectAnOption":"Select an option","customValueInput":"Custom value input","unclassifiedTitle":"A dialog is open, and CommandMate could not read its options.","unclassifiedInstruction":"Answer it in the terminal, or reply with the option NUMBER using {command}. Words like \\"yes\\"/\\"no\\" are not resolved on a numbered dialog.","unclassifiedRespondCommand":"commandmate respond [worktree-id] [number]","askUserQuestionProgress":"Question {index} of {total} asked by the agent","askUserQuestionSource":"Options reported by the agent"}')}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=3022,exports.ids=[3022],exports.modules={3453:(a,b,c)=>{c.d(b,{Rh:()=>r,T1:()=>o,Z2:()=>m,c$:()=>n,nu:()=>q});var d=c(72626),e=c(80438);let f=(0,d.h)("ip-restriction"),g="::ffff:",h=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\/(\d{1,2})$/,j=process.env.CM_ALLOWED_IPS?.trim()||"",k=process.env.CM_TRUST_PROXY?.trim()||"";""!==k&&"true"!==k&&"false"!==k&&(0,e.h)(f,"trust-proxy-unexpected",{value:k});let l="true"===k;function m(a){return a?a.toLowerCase().startsWith(g)?a.substring(g.length):a:""}function n(a,b){if(0===b.length)return!1;let c=function(a){let b=a.match(h);if(!b)return null;let c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),parseInt(b[4],10)];for(let a of c)if(a<0||a>255)return null;return(c[0]<<24|c[1]<<16|c[2]<<8|c[3])>>>0}(m(a));if(null===c)return!1;for(let a of b)if((c&a.mask)>>>0===a.network)return!0;return!1}function o(a){if(l){let b=a.get("x-forwarded-for");if(b){let a=b.split(",")[0].trim();if(a)return a}}return a.get("x-real-ip")||null}let p=j.length>0?function(a){let b=a.trim();if(0===b.length)return[];let c=b.split(",").map(a=>a.trim()).filter(a=>a.length>0);if(c.length>256)throw Error(`CM_ALLOWED_IPS: too many entries (${c.length}). Maximum is 256.`);let d=[];for(let a of c){if(a.length>18)throw Error(`CM_ALLOWED_IPS: entry "${a}" exceeds maximum length of 18 characters.`);let b=a.match(i);if(b){let c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),parseInt(b[4],10)],e=parseInt(b[5],10);for(let b of c)if(b<0||b>255)throw Error(`CM_ALLOWED_IPS: invalid octet in "${a}". Octets must be 0-255.`);if(e<0||e>32)throw Error(`CM_ALLOWED_IPS: invalid prefix length in "${a}". Must be 0-32.`);let f=(c[0]<<24|c[1]<<16|c[2]<<8|c[3])>>>0,g=0===e?0:0xffffffff<<32-e>>>0;d.push({network:(f&g)>>>0,mask:g});continue}let c=a.match(h);if(c){let b=[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10),parseInt(c[4],10)];for(let c of b)if(c<0||c>255)throw Error(`CM_ALLOWED_IPS: invalid octet in "${a}". Octets must be 0-255.`);let e=(b[0]<<24|b[1]<<16|b[2]<<8|b[3])>>>0;d.push({network:e,mask:0xffffffff});continue}throw Error(`CM_ALLOWED_IPS: invalid entry "${a}". Expected IPv4 address or CIDR notation.`)}return d}(j):[];function q(){return p}function r(){return j.length>0}},93390:(a,b,c)=>{c.d(b,{aq:()=>f,sO:()=>j,r0:()=>q,x:()=>r,zr:()=>p,y2:()=>o,JT:()=>n,nr:()=>m});var d=c(55511),e=c.n(d);let f="cm_auth_token",g=/^[0-9a-f]{64}$/,h=2592e6,i={maxAttempts:5,lockoutDuration:9e5,cleanupInterval:36e5},j=86400,k=(()=>{let a=process.env.CM_AUTH_TOKEN_HASH||void 0;return a?!function(a){return!!a&&g.test(a)}(a)?void console.error("[auth] CM_AUTH_TOKEN_HASH is not a valid SHA-256 hash"):a:void 0})(),l=function(){let a=process.env.CM_AUTH_EXPIRE,b=Date.now();if(a)try{return b+function(a){let b=a.match(/^(\d+)([hdm])$/);if(!b)throw Error(`Invalid duration format: "${a}". Use Nh, Nd, or Nm (e.g., "24h", "7d", "90m")`);let c=parseInt(b[1],10),d=b[2],e={h:36e5,d:864e5,m:6e4}[d];if(void 0===e)throw Error(`Invalid duration unit: "${d}"`);let f=c*e;if(f<36e5)throw Error(`Duration too short: minimum is 1h (60m). Got: "${a}"`);if(f>h)throw Error(`Duration too long: maximum is 30d (720h). Got: "${a}"`);return f}(a)}catch{return b+864e5}return process.env.CM_AUTH_TOKEN_HASH?b+864e5:null}();function m(a){if(!k||!a||"string"!=typeof a||null!==l&&Date.now()>l)return!1;let b=e().createHash("sha256").update(a).digest("hex"),c=Buffer.from(b,"hex"),d=Buffer.from(k,"hex");return c.length===d.length&&e().timingSafeEqual(c,d)}function n(a){let b={};if(!a)return b;for(let c of a.split(";")){let a=c.indexOf("=");if(-1===a)continue;let d=c.substring(0,a).trim(),e=c.substring(a+1).trim();d&&(b[d]=e)}return b}function o(){return!!k}function p(){if(null===l)return 0;let a=l-Date.now();return a<=0?0:Math.floor(a/1e3)}function q(a){return{httpOnly:!0,sameSite:"strict",secure:!!process.env.CM_HTTPS_CERT,maxAge:a,path:"/"}}function r(){let a=new Map,b=setInterval(()=>{let b=Date.now();for(let[c,d]of a){let e=null===d.lockedUntil||b>d.lockedUntil,f=b-d.lastAttempt>i.lockoutDuration;e&&f&&a.delete(c)}},i.cleanupInterval);return b.unref&&b.unref(),{checkLimit(b){let c=a.get(b);if(!c)return{allowed:!0};if(null!==c.lockedUntil){let a=Date.now();if(a<c.lockedUntil)return{allowed:!1,retryAfter:Math.ceil((c.lockedUntil-a)/1e3)};c.attempts=0,c.lockedUntil=null}return{allowed:!0}},recordFailure(b){let c=Date.now(),d=a.get(b)||{attempts:0,lockedUntil:null,lastAttempt:c};d.attempts++,d.lastAttempt=c,d.attempts>=i.maxAttempts&&(d.lockedUntil=c+i.lockoutDuration),a.set(b,d)},recordSuccess(b){a.delete(b)},destroy(){clearInterval(b),a.clear()}}}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=3736,exports.ids=[3736],exports.modules={3453:(a,b,c)=>{c.d(b,{Rh:()=>r,T1:()=>o,Z2:()=>m,c$:()=>n,nu:()=>q});var d=c(72626),e=c(80438);let f=(0,d.h)("ip-restriction"),g="::ffff:",h=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\/(\d{1,2})$/,j=process.env.CM_ALLOWED_IPS?.trim()||"",k=process.env.CM_TRUST_PROXY?.trim()||"";""!==k&&"true"!==k&&"false"!==k&&(0,e.h)(f,"trust-proxy-unexpected",{value:k});let l="true"===k;function m(a){return a?a.toLowerCase().startsWith(g)?a.substring(g.length):a:""}function n(a,b){if(0===b.length)return!1;let c=function(a){let b=a.match(h);if(!b)return null;let c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),parseInt(b[4],10)];for(let a of c)if(a<0||a>255)return null;return(c[0]<<24|c[1]<<16|c[2]<<8|c[3])>>>0}(m(a));if(null===c)return!1;for(let a of b)if((c&a.mask)>>>0===a.network)return!0;return!1}function o(a){if(l){let b=a.get("x-forwarded-for");if(b){let a=b.split(",")[0].trim();if(a)return a}}return a.get("x-real-ip")||null}let p=j.length>0?function(a){let b=a.trim();if(0===b.length)return[];let c=b.split(",").map(a=>a.trim()).filter(a=>a.length>0);if(c.length>256)throw Error(`CM_ALLOWED_IPS: too many entries (${c.length}). Maximum is 256.`);let d=[];for(let a of c){if(a.length>18)throw Error(`CM_ALLOWED_IPS: entry "${a}" exceeds maximum length of 18 characters.`);let b=a.match(i);if(b){let c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),parseInt(b[4],10)],e=parseInt(b[5],10);for(let b of c)if(b<0||b>255)throw Error(`CM_ALLOWED_IPS: invalid octet in "${a}". Octets must be 0-255.`);if(e<0||e>32)throw Error(`CM_ALLOWED_IPS: invalid prefix length in "${a}". Must be 0-32.`);let f=(c[0]<<24|c[1]<<16|c[2]<<8|c[3])>>>0,g=0===e?0:0xffffffff<<32-e>>>0;d.push({network:(f&g)>>>0,mask:g});continue}let c=a.match(h);if(c){let b=[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10),parseInt(c[4],10)];for(let c of b)if(c<0||c>255)throw Error(`CM_ALLOWED_IPS: invalid octet in "${a}". Octets must be 0-255.`);let e=(b[0]<<24|b[1]<<16|b[2]<<8|b[3])>>>0;d.push({network:e,mask:0xffffffff});continue}throw Error(`CM_ALLOWED_IPS: invalid entry "${a}". Expected IPv4 address or CIDR notation.`)}return d}(j):[];function q(){return p}function r(){return j.length>0}},66007:(a,b,c)=>{c.d(b,{B9:()=>m,Px:()=>o,Uc:()=>l,b$:()=>n,h6:()=>k});var d=c(33873),e=c.n(d),f=c(29021),g=c(72626),h=c(80438);let i=(0,g.h)("path-validator"),j=/^[a-zA-Z0-9_-]+$/;function k(a){return!!a&&0!==a.length&&j.test(a)}function l(a,b){return a===b||a.startsWith(b+e().sep)}function m(a,b){if(!a||""===a.trim()||a.includes("\0"))return!1;let c=a;try{c=decodeURIComponent(a)}catch{c=a}if(c.includes("\0"))return!1;let d=e().resolve(b),f=e().resolve(b,c),g=e().relative(d,f);return!(g.startsWith("..")||e().isAbsolute(g))}function n(a,b){if(!a||""===a.trim())throw Error("Invalid path: Path cannot be empty");if(a.includes("\0"))throw Error("Invalid path: Null bytes not allowed");if(!m(a,b))throw Error(`Path is outside allowed directory: ${a} (allowed root: ${b})`);let c=a;try{c=decodeURIComponent(a)}catch{c=a}return e().resolve(b,c)}function o(a,b){let c;try{c=(0,f.realpathSync)(b)}catch{return!1}let d=e().resolve(b,a);if((0,f.existsSync)(d))try{let b=(0,f.realpathSync)(d),e=l(b,c);return e||(0,h.h)(i,"symlink-rejected",{targetPath:a,resolvedTarget:b}),e}catch{return!1}try{if((0,f.lstatSync)(d).isSymbolicLink())try{let b=(0,f.readlinkSync)(d),g=e().resolve(e().dirname(d),b),j=l(g,c);return j||(0,h.h)(i,"dangling-symlink-rejected",{targetPath:a,resolvedLinkTarget:g}),j}catch{return!1}}catch{}let g=e().dirname(d);for(;g!==e().dirname(g);){if((0,f.existsSync)(g))try{let a=(0,f.realpathSync)(g),b=l(a,c);return b||(0,h.h)(i,"symlink-ancestor-rejected",{currentPath:g,resolvedAncestor:a}),b}catch{break}g=e().dirname(g)}return!1}},80438:(a,b,c)=>{c.d(b,{h:()=>d});function d(a,b,c){a.warn(`security:${b}`,c)}},93390:(a,b,c)=>{c.d(b,{aq:()=>f,sO:()=>j,r0:()=>q,x:()=>r,zr:()=>p,y2:()=>o,JT:()=>n,nr:()=>m});var d=c(55511),e=c.n(d);let f="cm_auth_token",g=/^[0-9a-f]{64}$/,h=2592e6,i={maxAttempts:5,lockoutDuration:9e5,cleanupInterval:36e5},j=86400,k=(()=>{let a=process.env.CM_AUTH_TOKEN_HASH||void 0;return a?!function(a){return!!a&&g.test(a)}(a)?void console.error("[auth] CM_AUTH_TOKEN_HASH is not a valid SHA-256 hash"):a:void 0})(),l=function(){let a=process.env.CM_AUTH_EXPIRE,b=Date.now();if(a)try{return b+function(a){let b=a.match(/^(\d+)([hdm])$/);if(!b)throw Error(`Invalid duration format: "${a}". Use Nh, Nd, or Nm (e.g., "24h", "7d", "90m")`);let c=parseInt(b[1],10),d=b[2],e={h:36e5,d:864e5,m:6e4}[d];if(void 0===e)throw Error(`Invalid duration unit: "${d}"`);let f=c*e;if(f<36e5)throw Error(`Duration too short: minimum is 1h (60m). Got: "${a}"`);if(f>h)throw Error(`Duration too long: maximum is 30d (720h). Got: "${a}"`);return f}(a)}catch{return b+864e5}return process.env.CM_AUTH_TOKEN_HASH?b+864e5:null}();function m(a){if(!k||!a||"string"!=typeof a||null!==l&&Date.now()>l)return!1;let b=e().createHash("sha256").update(a).digest("hex"),c=Buffer.from(b,"hex"),d=Buffer.from(k,"hex");return c.length===d.length&&e().timingSafeEqual(c,d)}function n(a){let b={};if(!a)return b;for(let c of a.split(";")){let a=c.indexOf("=");if(-1===a)continue;let d=c.substring(0,a).trim(),e=c.substring(a+1).trim();d&&(b[d]=e)}return b}function o(){return!!k}function p(){if(null===l)return 0;let a=l-Date.now();return a<=0?0:Math.floor(a/1e3)}function q(a){return{httpOnly:!0,sameSite:"strict",secure:!!process.env.CM_HTTPS_CERT,maxAge:a,path:"/"}}function r(){let a=new Map,b=setInterval(()=>{let b=Date.now();for(let[c,d]of a){let e=null===d.lockedUntil||b>d.lockedUntil,f=b-d.lastAttempt>i.lockoutDuration;e&&f&&a.delete(c)}},i.cleanupInterval);return b.unref&&b.unref(),{checkLimit(b){let c=a.get(b);if(!c)return{allowed:!0};if(null!==c.lockedUntil){let a=Date.now();if(a<c.lockedUntil)return{allowed:!1,retryAfter:Math.ceil((c.lockedUntil-a)/1e3)};c.attempts=0,c.lockedUntil=null}return{allowed:!0}},recordFailure(b){let c=Date.now(),d=a.get(b)||{attempts:0,lockedUntil:null,lastAttempt:c};d.attempts++,d.lastAttempt=c,d.attempts>=i.maxAttempts&&(d.lockedUntil=c+i.lockoutDuration),a.set(b,d)},recordSuccess(b){a.delete(b)},destroy(){clearInterval(b),a.clear()}}}}};
|
|
1
|
+
"use strict";exports.id=3736,exports.ids=[3736],exports.modules={73736:(a,b,c)=>{function d(a){return Date.UTC(a.y,a.m-1,a.d,a.h,a.i,a.s)}function e(a,b){return a.y===b.y&&a.m===b.m&&a.d===b.d&&a.h===b.h&&a.i===b.i&&a.s===b.s}function f(a,b,c){return g(function(a,b){let c=new Date(Date.parse(a));if(isNaN(c))throw Error("Invalid ISO8601 passed to timezone parser.");let d=a.substring(9);return d.includes("Z")||d.includes("+")||d.includes("-")?i(c.getUTCFullYear(),c.getUTCMonth()+1,c.getUTCDate(),c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),"Etc/UTC"):i(c.getFullYear(),c.getMonth()+1,c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),b)}(a,b),c)}function g(a,b){let c=new Date(d(a)),f=h(c,a.tz),g=d(a),i=d(f),j=new Date(c.getTime()+(g-i)),k=h(j,a.tz);if(e(k,a)){let b=new Date(j.getTime()-36e5);return e(h(b,a.tz),a)?b:j}let l=new Date(j.getTime()+d(a)-d(k));if(e(h(l,a.tz),a))return l;if(b)throw Error("Invalid date passed to fromTZ()");return j.getTime()>l.getTime()?j:l}function h(a,b){let c;try{c=new Intl.DateTimeFormat("en-US",{timeZone:b,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}).formatToParts(a)}catch(c){let a=c instanceof Error?c.message:String(c);throw RangeError(`toTZ: Invalid timezone '${b}' or date. Please provide a valid IANA timezone (e.g., 'America/New_York', 'Europe/Stockholm'). Original error: ${a}`)}let d={year:0,month:0,day:0,hour:0,minute:0,second:0};for(let a of c)("year"===a.type||"month"===a.type||"day"===a.type||"hour"===a.type||"minute"===a.type||"second"===a.type)&&(d[a.type]=parseInt(a.value,10));if(isNaN(d.year)||isNaN(d.month)||isNaN(d.day)||isNaN(d.hour)||isNaN(d.minute)||isNaN(d.second))throw Error(`toTZ: Failed to parse all date components from timezone '${b}'. This may indicate an invalid date or timezone configuration. Parsed components: ${JSON.stringify(d)}`);return 24===d.hour&&(d.hour=0),{y:d.year,m:d.month,d:d.day,h:d.hour,i:d.minute,s:d.second,tz:b}}function i(a,b,c,d,e,f,g){return{y:a,m:b,d:c,h:d,i:e,s:f,tz:g}}c.d(b,{l4:()=>q});var j=[1,2,4,8,16],k=class{pattern;timezone;mode;alternativeWeekdays;sloppyRanges;second;minute;hour;day;month;dayOfWeek;year;lastDayOfMonth;lastWeekday;nearestWeekdays;starDOM;starDOW;starYear;useAndLogic;constructor(a,b,c){this.pattern=a,this.timezone=b,this.mode=c?.mode??"auto",this.alternativeWeekdays=c?.alternativeWeekdays??!1,this.sloppyRanges=c?.sloppyRanges??!1,this.second=Array(60).fill(0),this.minute=Array(60).fill(0),this.hour=Array(24).fill(0),this.day=Array(31).fill(0),this.month=Array(12).fill(0),this.dayOfWeek=Array(7).fill(0),this.year=Array(1e4).fill(0),this.lastDayOfMonth=!1,this.lastWeekday=!1,this.nearestWeekdays=Array(31).fill(0),this.starDOM=!1,this.starDOW=!1,this.starYear=!1,this.useAndLogic=!1,this.parse()}parse(){if(!("string"==typeof this.pattern||this.pattern instanceof String))throw TypeError("CronPattern: Pattern has to be of type string.");this.pattern.indexOf("@")>=0&&(this.pattern=this.handleNicknames(this.pattern).trim());let a=this.pattern.match(/\S+/g)||[""],b=a.length;if(a.length<5||a.length>7)throw TypeError("CronPattern: invalid configuration format ('"+this.pattern+"'), exactly five, six, or seven space separated parts are required.");if("auto"!==this.mode){let a;switch(this.mode){case"5-part":a=5;break;case"6-part":a=6;break;case"7-part":a=7;break;case"5-or-6-parts":a=[5,6];break;case"6-or-7-parts":a=[6,7];break;default:a=0}if(!(Array.isArray(a)?a.includes(b):b===a)){let c=Array.isArray(a)?a.join(" or "):a.toString();throw TypeError(`CronPattern: mode '${this.mode}' requires exactly ${c} parts, but pattern '${this.pattern}' has ${b} parts.`)}}if(5===a.length&&a.unshift("0"),6===a.length&&a.push("*"),"LW"===a[3].toUpperCase()?(this.lastWeekday=!0,a[3]=""):a[3].toUpperCase().indexOf("L")>=0&&(a[3]=a[3].replace(/L/gi,""),this.lastDayOfMonth=!0),"*"==a[3]&&(this.starDOM=!0),"*"==a[6]&&(this.starYear=!0),a[4].length>=3&&(a[4]=this.replaceAlphaMonths(a[4])),a[5].length>=3&&(a[5]=this.alternativeWeekdays?this.replaceAlphaDaysQuartz(a[5]):this.replaceAlphaDays(a[5])),a[5].startsWith("+")&&(this.useAndLogic=!0,a[5]=a[5].substring(1),""===a[5]))throw TypeError("CronPattern: Day-of-week field cannot be empty after '+' modifier.");switch("*"==a[5]&&(this.starDOW=!0),this.pattern.indexOf("?")>=0&&(a[0]=a[0].replace(/\?/g,"*"),a[1]=a[1].replace(/\?/g,"*"),a[2]=a[2].replace(/\?/g,"*"),a[3]=a[3].replace(/\?/g,"*"),a[4]=a[4].replace(/\?/g,"*"),a[5]=a[5].replace(/\?/g,"*"),a[6]&&(a[6]=a[6].replace(/\?/g,"*"))),this.mode){case"5-part":a[0]="0",a[6]="*";break;case"6-part":case"5-or-6-parts":a[6]="*"}this.throwAtIllegalCharacters(a),this.partToArray("second",a[0],0,1),this.partToArray("minute",a[1],0,1),this.partToArray("hour",a[2],0,1),this.partToArray("day",a[3],-1,1),this.partToArray("month",a[4],-1,1);let c=this.alternativeWeekdays?-1:0;this.partToArray("dayOfWeek",a[5],c,63),this.partToArray("year",a[6],0,1),!this.alternativeWeekdays&&this.dayOfWeek[7]&&(this.dayOfWeek[0]=this.dayOfWeek[7])}partToArray(a,b,c,d){let e=this[a],f="day"===a&&this.lastDayOfMonth,g="day"===a&&this.lastWeekday;if(""===b&&!f&&!g)throw TypeError("CronPattern: configuration entry "+a+" ("+b+") is empty, check for trailing spaces.");if("*"===b)return e.fill(d);let h=b.split(",");if(h.length>1)for(let b=0;b<h.length;b++)this.partToArray(a,h[b],c,d);else -1!==b.indexOf("-")&&-1!==b.indexOf("/")?this.handleRangeWithStepping(b,a,c,d):-1!==b.indexOf("-")?this.handleRange(b,a,c,d):-1!==b.indexOf("/")?this.handleStepping(b,a,c,d):""!==b&&this.handleNumber(b,a,c,d)}throwAtIllegalCharacters(a){for(let b=0;b<a.length;b++)if((3===b?/[^/*0-9,\-WwLl]+/:5===b?/[^/*0-9,\-#Ll]+/:/[^/*0-9,\-]+/).test(a[b]))throw TypeError("CronPattern: configuration entry "+b+" ("+a[b]+") contains illegal characters.")}handleNumber(a,b,c,d){let e=this.extractNth(a,b),f=a.toUpperCase().includes("W");if("day"!==b&&f)throw TypeError("CronPattern: Nearest weekday modifier (W) only allowed in day-of-month.");f&&(b="nearestWeekdays");let g=parseInt(e[0],10)+c;if(isNaN(g))throw TypeError("CronPattern: "+b+" is not a number: '"+a+"'");this.setPart(b,g,e[1]||d)}setPart(a,b,c){if(!Object.prototype.hasOwnProperty.call(this,a))throw TypeError("CronPattern: Invalid part specified: "+a);if("dayOfWeek"===a){if(7===b&&(b=0),b<0||b>6)throw RangeError("CronPattern: Invalid value for dayOfWeek: "+b);this.setNthWeekdayOfMonth(b,c);return}if("second"===a||"minute"===a){if(b<0||b>=60)throw RangeError("CronPattern: Invalid value for "+a+": "+b)}else if("hour"===a){if(b<0||b>=24)throw RangeError("CronPattern: Invalid value for "+a+": "+b)}else if("day"===a||"nearestWeekdays"===a){if(b<0||b>=31)throw RangeError("CronPattern: Invalid value for "+a+": "+b)}else if("month"===a){if(b<0||b>=12)throw RangeError("CronPattern: Invalid value for "+a+": "+b)}else if("year"===a&&(b<1||b>=1e4))throw RangeError("CronPattern: Invalid value for "+a+": "+b+" (supported range: 1-9999)");this[a][b]=c}validateNotNaN(a,b){if(isNaN(a))throw TypeError(b)}validateRange(a,b,c,d,e){if(a>b)throw TypeError("CronPattern: From value is larger than to value: '"+e+"'");if(void 0!==c){if(0===c)throw TypeError("CronPattern: Syntax error, illegal stepping: 0");if(c>this[d].length)throw TypeError("CronPattern: Syntax error, steps cannot be greater than maximum value of part ("+this[d].length+")")}}handleRangeWithStepping(a,b,c,d){if(a.toUpperCase().includes("W"))throw TypeError("CronPattern: Syntax error, W is not allowed in ranges with stepping.");let e=this.extractNth(a,b),f=e[0].match(/^(\d+)-(\d+)\/(\d+)$/);if(null===f)throw TypeError("CronPattern: Syntax error, illegal range with stepping: '"+a+"'");let[,g,h,i]=f,j=parseInt(g,10)+c,k=parseInt(h,10)+c,l=parseInt(i,10);this.validateNotNaN(j,"CronPattern: Syntax error, illegal lower range (NaN)"),this.validateNotNaN(k,"CronPattern: Syntax error, illegal upper range (NaN)"),this.validateNotNaN(l,"CronPattern: Syntax error, illegal stepping: (NaN)"),this.validateRange(j,k,l,b,a);for(let a=j;a<=k;a+=l)this.setPart(b,a,e[1]||d)}extractNth(a,b){let c=a,d;if(c.includes("#")){if("dayOfWeek"!==b)throw Error("CronPattern: nth (#) only allowed in day-of-week field");d=c.split("#")[1],c=c.split("#")[0]}else if(c.toUpperCase().endsWith("L")){if("dayOfWeek"!==b)throw Error("CronPattern: L modifier only allowed in day-of-week field (use L alone for day-of-month)");d="L",c=c.slice(0,-1)}return[c,d]}handleRange(a,b,c,d){if(a.toUpperCase().includes("W"))throw TypeError("CronPattern: Syntax error, W is not allowed in a range.");let e=this.extractNth(a,b),f=e[0].split("-");if(2!==f.length)throw TypeError("CronPattern: Syntax error, illegal range: '"+a+"'");let g=parseInt(f[0],10)+c,h=parseInt(f[1],10)+c;this.validateNotNaN(g,"CronPattern: Syntax error, illegal lower range (NaN)"),this.validateNotNaN(h,"CronPattern: Syntax error, illegal upper range (NaN)"),this.validateRange(g,h,void 0,b,a);for(let a=g;a<=h;a++)this.setPart(b,a,e[1]||d)}handleStepping(a,b,c,d){if(a.toUpperCase().includes("W"))throw TypeError("CronPattern: Syntax error, W is not allowed in parts with stepping.");let e=this.extractNth(a,b),f=e[0].split("/");if(2!==f.length)throw TypeError("CronPattern: Syntax error, illegal stepping: '"+a+"'");if(this.sloppyRanges)""===f[0]&&(f[0]="*");else{if(""===f[0])throw TypeError("CronPattern: Syntax error, stepping with missing prefix ('"+a+"') is not allowed. Use wildcard (*/step) or range (min-max/step) instead.");if("*"!==f[0])throw TypeError("CronPattern: Syntax error, stepping with numeric prefix ('"+a+"') is not allowed. Use wildcard (*/step) or range (min-max/step) instead.")}let g=0;"*"!==f[0]&&(g=parseInt(f[0],10)+c);let h=parseInt(f[1],10);this.validateNotNaN(h,"CronPattern: Syntax error, illegal stepping: (NaN)"),this.validateRange(0,this[b].length-1,h,b,a);for(let a=g;a<this[b].length;a+=h)this.setPart(b,a,e[1]||d)}replaceAlphaDays(a){return a.replace(/-sun/gi,"-7").replace(/sun/gi,"0").replace(/mon/gi,"1").replace(/tue/gi,"2").replace(/wed/gi,"3").replace(/thu/gi,"4").replace(/fri/gi,"5").replace(/sat/gi,"6")}replaceAlphaDaysQuartz(a){return a.replace(/sun/gi,"1").replace(/mon/gi,"2").replace(/tue/gi,"3").replace(/wed/gi,"4").replace(/thu/gi,"5").replace(/fri/gi,"6").replace(/sat/gi,"7")}replaceAlphaMonths(a){return a.replace(/jan/gi,"1").replace(/feb/gi,"2").replace(/mar/gi,"3").replace(/apr/gi,"4").replace(/may/gi,"5").replace(/jun/gi,"6").replace(/jul/gi,"7").replace(/aug/gi,"8").replace(/sep/gi,"9").replace(/oct/gi,"10").replace(/nov/gi,"11").replace(/dec/gi,"12")}handleNicknames(a){let b=a.trim().toLowerCase();if("@yearly"===b||"@annually"===b)return"0 0 1 1 *";if("@monthly"===b)return"0 0 1 * *";if("@weekly"===b)return"0 0 * * 0";if("@daily"===b||"@midnight"===b)return"0 0 * * *";if("@hourly"===b)return"0 * * * *";if("@reboot"===b)throw TypeError("CronPattern: @reboot is not supported in this environment. This is an event-based trigger that requires system startup detection.");return a}setNthWeekdayOfMonth(a,b){if("number"!=typeof b&&"L"===b.toUpperCase())this.dayOfWeek[a]=32|this.dayOfWeek[a];else if(63===b)this.dayOfWeek[a]=63;else if(b<6&&b>0)this.dayOfWeek[a]=this.dayOfWeek[a]|j[b-1];else throw TypeError(`CronPattern: nth weekday out of range, should be 1-5 or L. Value: ${b}, Type: ${typeof b}`)}},l=[31,28,31,30,31,30,31,31,30,31,30,31],m=[["month","year",0],["day","month",-1],["hour","day",0],["minute","hour",0],["second","minute",0]],n=class a{tz;ms;second;minute;hour;day;month;year;constructor(b,c){if(this.tz=c,b&&b instanceof Date)if(isNaN(b))throw TypeError("CronDate: Invalid date passed to CronDate constructor");else this.fromDate(b);else if(null==b)this.fromDate(new Date);else if(b&&"string"==typeof b)this.fromString(b);else if(b instanceof a)this.fromCronDate(b);else throw TypeError("CronDate: Invalid type ("+typeof b+") passed to CronDate constructor")}getLastDayOfMonth(a,b){return 1!==b?l[b]:new Date(Date.UTC(a,b+1,0)).getUTCDate()}getLastWeekday(a,b){let c=this.getLastDayOfMonth(a,b),d=new Date(Date.UTC(a,b,c)).getUTCDay();return 0===d?c-2:6===d?c-1:c}getNearestWeekday(a,b,c){let d=this.getLastDayOfMonth(a,b);if(c>d)return -1;let e=new Date(Date.UTC(a,b,c)).getUTCDay();return 0===e?c===d?c-2:c+1:6===e?1===c?c+2:c-1:c}isNthWeekdayOfMonth(a,b,c,d){let e=new Date(Date.UTC(a,b,c)).getUTCDay(),f=0;for(let d=1;d<=c;d++)new Date(Date.UTC(a,b,d)).getUTCDay()===e&&f++;if(63&d&&j[f-1]&d)return!0;if(32&d){let d=this.getLastDayOfMonth(a,b);for(let f=c+1;f<=d;f++)if(new Date(Date.UTC(a,b,f)).getUTCDay()===e)return!1;return!0}return!1}fromDate(a){if(void 0!==this.tz)if("number"==typeof this.tz)this.ms=a.getUTCMilliseconds(),this.second=a.getUTCSeconds(),this.minute=a.getUTCMinutes()+this.tz,this.hour=a.getUTCHours(),this.day=a.getUTCDate(),this.month=a.getUTCMonth(),this.year=a.getUTCFullYear(),this.apply();else try{let b=h(a,this.tz);this.ms=a.getMilliseconds(),this.second=b.s,this.minute=b.i,this.hour=b.h,this.day=b.d,this.month=b.m-1,this.year=b.y}catch(b){let a=b instanceof Error?b.message:String(b);throw TypeError(`CronDate: Failed to convert date to timezone '${this.tz}'. This may happen with invalid timezone names or dates. Original error: ${a}`)}else this.ms=a.getMilliseconds(),this.second=a.getSeconds(),this.minute=a.getMinutes(),this.hour=a.getHours(),this.day=a.getDate(),this.month=a.getMonth(),this.year=a.getFullYear()}fromCronDate(a){this.tz=a.tz,this.year=a.year,this.month=a.month,this.day=a.day,this.hour=a.hour,this.minute=a.minute,this.second=a.second,this.ms=a.ms}apply(){if(!(this.month>11)&&!(this.month<0)&&!(this.day>l[this.month])&&!(this.day<1)&&!(this.hour>59)&&!(this.minute>59)&&!(this.second>59)&&!(this.hour<0)&&!(this.minute<0)&&!(this.second<0))return!1;{let a=new Date(Date.UTC(this.year,this.month,this.day,this.hour,this.minute,this.second,this.ms));return this.ms=a.getUTCMilliseconds(),this.second=a.getUTCSeconds(),this.minute=a.getUTCMinutes(),this.hour=a.getUTCHours(),this.day=a.getUTCDate(),this.month=a.getUTCMonth(),this.year=a.getUTCFullYear(),!0}}fromString(a){if("number"!=typeof this.tz)return this.fromDate(f(a,this.tz));{let b=f(a);this.ms=b.getUTCMilliseconds(),this.second=b.getUTCSeconds(),this.minute=b.getUTCMinutes(),this.hour=b.getUTCHours(),this.day=b.getUTCDate(),this.month=b.getUTCMonth(),this.year=b.getUTCFullYear(),this.apply()}}findNext(a,b,c,d){return this._findMatch(a,b,c,d,1)}_findMatch(a,b,c,d,e){let f=this[b],g;c.lastDayOfMonth&&(g=this.getLastDayOfMonth(this.year,this.month));let h=c.starDOW||"day"!=b?void 0:new Date(Date.UTC(this.year,this.month,1,0,0,0,0)).getUTCDay(),i=this[b]+d,j=1===e?a=>a<c[b].length:a=>a>=0;for(let k=i;j(k);k+=e){let e=c[b][k];if("day"===b&&!e){for(let a=0;a<c.nearestWeekdays.length;a++)if(c.nearestWeekdays[a]){let b=this.getNearestWeekday(this.year,this.month,a-d);if(-1===b)continue;if(b===k-d){e=1;break}}}if("day"===b&&c.lastWeekday&&k-d===this.getLastWeekday(this.year,this.month)&&(e=1),"day"===b&&c.lastDayOfMonth&&k-d==g&&(e=1),"day"===b&&!c.starDOW){let b=c.dayOfWeek[(h+(k-d-1))%7];if(b&&63&b)b=+!!this.isNthWeekdayOfMonth(this.year,this.month,k-d,b);else if(b)throw Error(`CronDate: Invalid value for dayOfWeek encountered. ${b}`);e=c.useAndLogic||a.domAndDow||c.starDOM?e&&b:e||b}if(e)return this[b]=k-d,f!==this[b]?2:1}return 3}recurse(a,b,c){if(0===c&&!a.starYear){if(this.year>=0&&this.year<a.year.length&&0===a.year[this.year]){let b=-1;for(let c=this.year+1;c<a.year.length&&c<1e4;c++)if(1===a.year[c]){b=c;break}if(-1===b)return null;this.year=b,this.month=0,this.day=1,this.hour=0,this.minute=0,this.second=0,this.ms=0}if(this.year>=1e4)return null}let d=this.findNext(b,m[c][0],a,m[c][2]);if(d>1){let e=c+1;for(;e<m.length;)this[m[e][0]]=-m[e][2],e++;if(3===d){if(this[m[c][1]]++,this[m[c][0]]=-m[c][2],this.apply(),0===c&&!a.starYear){for(;this.year>=0&&this.year<a.year.length&&0===a.year[this.year]&&this.year<1e4;)this.year++;if(this.year>=1e4||this.year>=a.year.length)return null}return this.recurse(a,b,0)}if(this.apply())return this.recurse(a,b,c-1)}return(c+=1)>=m.length?this:(a.starYear?this.year>=3e3:this.year>=1e4)?null:this.recurse(a,b,c)}increment(a,b,c){return this.second+=void 0!==b.interval&&b.interval>1&&c?b.interval:1,this.ms=0,this.apply(),this.recurse(a,b,0)}decrement(a,b){return this.second-=void 0!==b.interval&&b.interval>1?b.interval:1,this.ms=0,this.apply(),this.recurseBackward(a,b,0,0)}recurseBackward(a,b,c,d=0){if(d>1e4)return null;if(0===c&&!a.starYear){if(this.year>=0&&this.year<a.year.length&&0===a.year[this.year]){let b=-1;for(let c=this.year-1;c>=0;c--)if(1===a.year[c]){b=c;break}if(-1===b)return null;this.year=b,this.month=11,this.day=31,this.hour=23,this.minute=59,this.second=59,this.ms=0}if(this.year<0)return null}let e=this.findPrevious(b,m[c][0],a,m[c][2]);if(e>1){let f=c+1;for(;f<m.length;){let b=m[f][0],c=m[f][2],d=this.getMaxPatternValue(b,a,c);this[b]=d,f++}if(3===e){if(this[m[c][1]]--,0===c){let a=this.getLastDayOfMonth(this.year,this.month);this.day>a&&(this.day=a)}if(1===c)if(this.day<=0)this.day=1;else{let a=this.year,b=this.month;for(;b<0;)b+=12,a--;for(;b>11;)b-=12,a++;let c=1!==b?l[b]:new Date(Date.UTC(a,b+1,0)).getUTCDate();this.day>c&&(this.day=c)}this.apply();let e=m[c][0],f=m[c][2],g=this.getMaxPatternValue(e,a,f);if("day"===e){let a=this.getLastDayOfMonth(this.year,this.month);this[e]=Math.min(g,a)}else this[e]=g;if(this.apply(),0===c){let b=m[1][2],c=Math.min(this.getMaxPatternValue("day",a,b),this.getLastDayOfMonth(this.year,this.month));c!==this.day&&(this.day=c,this.hour=this.getMaxPatternValue("hour",a,m[2][2]),this.minute=this.getMaxPatternValue("minute",a,m[3][2]),this.second=this.getMaxPatternValue("second",a,m[4][2]))}if(0===c&&!a.starYear){for(;this.year>=0&&this.year<a.year.length&&0===a.year[this.year];)this.year--;if(this.year<0)return null}return this.recurseBackward(a,b,0,d+1)}if(this.apply())return this.recurseBackward(a,b,c-1,d+1)}return(c+=1)>=m.length?this:this.year<0?null:this.recurseBackward(a,b,c,d+1)}getMaxPatternValue(a,b,c){if("day"===a&&b.lastDayOfMonth||"day"===a&&!b.starDOW)return this.getLastDayOfMonth(this.year,this.month);for(let d=b[a].length-1;d>=0;d--)if(b[a][d])return d-c;return b[a].length-1-c}findPrevious(a,b,c,d){return this._findMatch(a,b,c,d,-1)}getDate(a){return a||void 0===this.tz?new Date(this.year,this.month,this.day,this.hour,this.minute,this.second,this.ms):"number"==typeof this.tz?new Date(Date.UTC(this.year,this.month,this.day,this.hour,this.minute-this.tz,this.second,this.ms)):g(i(this.year,this.month+1,this.day,this.hour,this.minute,this.second,this.tz),!1)}getTime(){return this.getDate(!1).getTime()}match(a,b){if(!a.starYear&&(this.year<0||this.year>=a.year.length||0===a.year[this.year]))return!1;for(let c=0;c<m.length;c++){let d=m[c][0],e=m[c][2],f=this[d];if(f+e<0||f+e>=a[d].length)return!1;let g=a[d][f+e];if("day"===d){if(!g){for(let b=0;b<a.nearestWeekdays.length;b++)if(a.nearestWeekdays[b]){let a=this.getNearestWeekday(this.year,this.month,b-e);if(-1!==a&&a===f){g=1;break}}}if(a.lastWeekday&&f===this.getLastWeekday(this.year,this.month)&&(g=1),a.lastDayOfMonth&&f===this.getLastDayOfMonth(this.year,this.month)&&(g=1),!a.starDOW){let c=new Date(Date.UTC(this.year,this.month,1,0,0,0,0)).getUTCDay(),d=a.dayOfWeek[(c+(f-1))%7];d&&63&d&&(d=+!!this.isNthWeekdayOfMonth(this.year,this.month,f,d)),g=a.useAndLogic||b.domAndDow||a.starDOM?g&&d:g||d}}if(!g)return!1}return!0}};function o(a){return"[object Function]"===Object.prototype.toString.call(a)||"function"==typeof a||a instanceof Function}var p=[],q=class{name;options;_states;fn;getTz(){return this.options.timezone||this.options.utcOffset}applyDayOffset(a){if(void 0!==this.options.dayOffset&&0!==this.options.dayOffset){let b=24*this.options.dayOffset*36e5;return new Date(a.getTime()+b)}return a}constructor(a,b,c){let d,e;if(o(b))e=b;else if("object"==typeof b)d=b;else if(void 0!==b)throw Error("Cron: Invalid argument passed for optionsIn. Should be one of function, or object (options).");if(o(c))e=c;else if("object"==typeof c)d=c;else if(void 0!==c)throw Error("Cron: Invalid argument passed for funcIn. Should be one of function, or object (options).");if(this.name=d?.name,this.options=function(a){if(void 0===a&&(a={}),delete a.name,void 0!==a.legacyMode&&void 0===a.domAndDow?a.domAndDow=!a.legacyMode:void 0===a.domAndDow&&(a.domAndDow=!1),a.legacyMode=!a.domAndDow,a.paused=void 0!==a.paused&&a.paused,a.maxRuns=void 0===a.maxRuns?1/0:a.maxRuns,a.catch=void 0!==a.catch&&a.catch,a.interval=void 0===a.interval?0:parseInt(a.interval.toString(),10),a.utcOffset=void 0===a.utcOffset?void 0:parseInt(a.utcOffset.toString(),10),a.dayOffset=void 0===a.dayOffset?0:parseInt(a.dayOffset.toString(),10),a.unref=void 0!==a.unref&&a.unref,a.mode=void 0===a.mode?"auto":a.mode,a.alternativeWeekdays=void 0!==a.alternativeWeekdays&&a.alternativeWeekdays,a.sloppyRanges=void 0!==a.sloppyRanges&&a.sloppyRanges,!["auto","5-part","6-part","7-part","5-or-6-parts","6-or-7-parts"].includes(a.mode))throw Error("CronOptions: mode must be one of 'auto', '5-part', '6-part', '7-part', '5-or-6-parts', or '6-or-7-parts'.");if(a.startAt&&(a.startAt=new n(a.startAt,a.timezone)),a.stopAt&&(a.stopAt=new n(a.stopAt,a.timezone)),null!==a.interval){if(isNaN(a.interval))throw Error("CronOptions: Supplied value for interval is not a number");if(a.interval<0)throw Error("CronOptions: Supplied value for interval can not be negative")}if(void 0!==a.utcOffset){if(isNaN(a.utcOffset))throw Error("CronOptions: Invalid value passed for utcOffset, should be number representing minutes offset from UTC.");if(a.utcOffset<-870||a.utcOffset>870)throw Error("CronOptions: utcOffset out of bounds.");if(void 0!==a.utcOffset&&a.timezone)throw Error("CronOptions: Combining 'utcOffset' with 'timezone' is not allowed.")}if(!0!==a.unref&&!1!==a.unref)throw Error("CronOptions: Unref should be either true, false or undefined(false).");if(void 0!==a.dayOffset&&0!==a.dayOffset&&isNaN(a.dayOffset))throw Error("CronOptions: Invalid value passed for dayOffset, should be a number representing days to offset.");return a}(d),this._states={kill:!1,blocking:!1,previousRun:void 0,currentRun:void 0,once:void 0,currentTimeout:void 0,maxRuns:d?d.maxRuns:void 0,paused:!!d&&d.paused,pattern:new k("* * * * *",void 0,{mode:"auto"})},a&&(a instanceof Date||"string"==typeof a&&a.indexOf(":")>0)?this._states.once=new n(a,this.getTz()):this._states.pattern=new k(a,this.options.timezone,{mode:this.options.mode,alternativeWeekdays:this.options.alternativeWeekdays,sloppyRanges:this.options.sloppyRanges}),this.name){if(p.find(a=>a.name===this.name))throw Error("Cron: Tried to initialize new named job '"+this.name+"', but name already taken.");p.push(this)}return void 0!==e&&o(e)&&(this.fn=e,this.schedule()),this}nextRun(a){let b=this._next(a);return b?this.applyDayOffset(b.getDate(!1)):null}nextRuns(a,b){void 0!==this._states.maxRuns&&a>this._states.maxRuns&&(a=this._states.maxRuns);let c=b||this._states.currentRun||void 0;return this._enumerateRuns(a,c,"next")}previousRuns(a,b){return this._enumerateRuns(a,b||void 0,"previous")}_enumerateRuns(a,b,c){let d=[],e=b?new n(b,this.getTz()):null,f="next"===c?this._next:this._previous;for(;a--;){let a=f.call(this,e);if(!a)break;let b=a.getDate(!1);d.push(this.applyDayOffset(b)),e=a}return d}match(a){if(this._states.once){let b=new n(a,this.getTz());b.ms=0;let c=new n(this._states.once,this.getTz());return c.ms=0,b.getTime()===c.getTime()}let b=new n(a,this.getTz());return b.ms=0,b.match(this._states.pattern,this.options)}getPattern(){if(!this._states.once)return this._states.pattern?this._states.pattern.pattern:void 0}getOnce(){return this._states.once?this._states.once.getDate():null}isRunning(){let a=this.nextRun(this._states.currentRun),b=!this._states.paused,c=void 0!==this.fn,d=!this._states.kill;return b&&c&&d&&null!==a}isStopped(){return this._states.kill}isBusy(){return this._states.blocking}currentRun(){return this._states.currentRun?this._states.currentRun.getDate():null}previousRun(){return this._states.previousRun?this._states.previousRun.getDate():null}msToNext(a){let b=this._next(a);return b?a instanceof n||a instanceof Date?b.getTime()-a.getTime():b.getTime()-new n(a).getTime():null}stop(){this._states.kill=!0,this._states.currentTimeout&&clearTimeout(this._states.currentTimeout);let a=p.indexOf(this);a>=0&&p.splice(a,1)}pause(){return this._states.paused=!0,!this._states.kill}resume(){return this._states.paused=!1,!this._states.kill}schedule(a){var b;if(a&&this.fn)throw Error("Cron: It is not allowed to schedule two functions using the same Croner instance.");a&&(this.fn=a);let c=this.msToNext(),d=this.nextRun(this._states.currentRun);return null==c||isNaN(c)||null===d||(c>3e4&&(c=3e4),this._states.currentTimeout=setTimeout(()=>this._checkTrigger(d),c),this._states.currentTimeout&&this.options.unref&&(b=this._states.currentTimeout,"u">typeof Deno&&"u">typeof Deno.unrefTimer?Deno.unrefTimer(b):b&&"u">typeof b.unref&&b.unref())),this}async _trigger(a){this._states.blocking=!0,this._states.currentRun=new n(void 0,this.getTz());try{if(this.options.catch)try{void 0!==this.fn&&await this.fn(this,this.options.context)}catch(a){if(o(this.options.catch))try{this.options.catch(a,this)}catch{}}else void 0!==this.fn&&await this.fn(this,this.options.context)}finally{this._states.previousRun=new n(a,this.getTz()),this._states.blocking=!1}}async trigger(){await this._trigger()}runsLeft(){return this._states.maxRuns}_checkTrigger(a){let b=new Date,c=!this._states.paused&&b.getTime()>=a.getTime(),d=this._states.blocking&&this.options.protect;c&&!d?(void 0!==this._states.maxRuns&&this._states.maxRuns--,this._trigger()):c&&d&&o(this.options.protect)&&setTimeout(()=>this.options.protect(this),0),this.schedule()}_next(a){let b=!!(a||this._states.currentRun),c=!1;!a&&this.options.startAt&&this.options.interval&&([a,b]=this._calculatePreviousRun(a,b),c=!a),a=new n(a,this.getTz()),this.options.startAt&&a&&a.getTime()<this.options.startAt.getTime()&&(a=this.options.startAt);let d=this._states.once||new n(a,this.getTz());return c||d===this._states.once||(d=d.increment(this._states.pattern,this.options,b)),this._states.once&&this._states.once.getTime()<=a.getTime()||null===d||void 0!==this._states.maxRuns&&this._states.maxRuns<=0||this._states.kill||this.options.stopAt&&d.getTime()>=this.options.stopAt.getTime()?null:d}_previous(a){let b=new n(a,this.getTz());this.options.stopAt&&b.getTime()>this.options.stopAt.getTime()&&(b=this.options.stopAt);let c=new n(b,this.getTz());return this._states.once?this._states.once.getTime()<b.getTime()?this._states.once:null:null===(c=c.decrement(this._states.pattern,this.options))||this.options.startAt&&c.getTime()<this.options.startAt.getTime()?null:c}_calculatePreviousRun(a,b){let c=new n(void 0,this.getTz()),d=a;if(this.options.startAt.getTime()<=c.getTime()){let a=(d=this.options.startAt).getTime()+1e3*this.options.interval;for(;a<=c.getTime();)a=(d=new n(d,this.getTz()).increment(this._states.pattern,this.options,!0)).getTime()+1e3*this.options.interval;b=!0}return null===d&&(d=void 0),[d,b]}}}};
|