@ai-development-environment/server 0.0.63 → 0.0.64
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/app-path-routes-manifest.json +0 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/routes-manifest.json +0 -8
- package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/costs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/costs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js +2 -3
- package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/polling/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/polling/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/app-paths-manifest.json +0 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06u4xcm._.js → [root-of-the-server]__0-b1prw._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__09am6v3._.js → [root-of-the-server]__0-irvqy._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0191hj1._.js → [root-of-the-server]__004x00m._.js} +3 -3
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-tmw39._.js → [root-of-the-server]__03ov9dn._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eyltex._.js → [root-of-the-server]__04x0a1c._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0595xpp._.js → [root-of-the-server]__05k_3_s._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0by5o61._.js → [root-of-the-server]__05nr3-b._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09cczk9._.js → [root-of-the-server]__05rm8ki._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__05yutuh._.js → [root-of-the-server]__06dz512._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-upwch._.js → [root-of-the-server]__06h8dq4._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__21815pw._.js → [root-of-the-server]__07lj58j._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__01s4hkv._.js → [root-of-the-server]__082w26v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06dvajv._.js → [root-of-the-server]__092univ._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03arvyv._.js → [root-of-the-server]__098thvo._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09ormhu._.js → [root-of-the-server]__0_1h4vu._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0l4juv1._.js → [root-of-the-server]__0_ftuni._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__02chrc6._.js → [root-of-the-server]__0cqe8td._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__02z6ofq._.js → [root-of-the-server]__0e29qi2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0bcw4i1._.js → [root-of-the-server]__0efv9_l._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0dsr079._.js → [root-of-the-server]__0eplbf8._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0e1uxby._.js → [root-of-the-server]__0g-h70v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0fzwzem._.js → [root-of-the-server]__0gedsnc._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0deutn6._.js → [root-of-the-server]__0njzyae._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1sgz5xe._.js → [root-of-the-server]__0rwzlp5._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0n9n0wa._.js → [root-of-the-server]__0su5xbh._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1g5ehjo._.js → [root-of-the-server]__0t_1g6x._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__119lu0l._.js → [root-of-the-server]__0xl63a7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0m09s1f._.js → [root-of-the-server]__0yx69ig._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__03lh83x._.js → [root-of-the-server]__11_l9kh._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1inrvz6._.js → [root-of-the-server]__17v3iu3._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1v9pr22._.js → [root-of-the-server]__1amrm18._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ghtk-u._.js → [root-of-the-server]__1ca92tw._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0jin988._.js → [root-of-the-server]__1em0xu9._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1yt6tih._.js → [root-of-the-server]__1f0zhzz._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__046c9w0._.js → [root-of-the-server]__1fnlj9e._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0w9qwef._.js → [root-of-the-server]__1n2pfid._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1l0i6bt._.js → [root-of-the-server]__1r3djqb._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__04z6da6._.js → [root-of-the-server]__1w_r8ug._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +3 -0
- package/standalone/.next/server/chunks/_0_3-lke._.js +70 -9
- package/standalone/.next/server/chunks/_0d87yp6._.js +2 -2
- package/standalone/.next/server/chunks/_0rjgtla._.js +2 -2
- package/standalone/.next/server/chunks/_1_sa5xl._.js +2 -2
- package/standalone/.next/server/chunks/_1hmzed-._.js +63 -2
- package/standalone/.next/server/chunks/_1pc6dt_._.js +2 -2
- package/standalone/.next/server/chunks/_1xuucni._.js +2 -2
- package/standalone/.next/server/chunks/_1ya6q3e._.js +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-guq-9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__064h18r._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0js6wx9._.js → [root-of-the-server]__07ll4k6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ljh3ky._.js → [root-of-the-server]__08m_tud._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0qvg807._.js → [root-of-the-server]__0iulojy._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +15 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1vww3f6._.js → [root-of-the-server]__0mpg4qq._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10rfw-t._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08vwbx7._.js → [root-of-the-server]__1gemlo_._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1bd2arr._.js → [root-of-the-server]__1kzbjl5._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{_14leuy3._.js → _0-o8qp9._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0158tm3._.js +22 -0
- package/standalone/.next/server/chunks/ssr/_01qjv4h._.js +10 -0
- package/standalone/.next/server/chunks/ssr/_022u7lb._.js +15 -0
- package/standalone/.next/server/chunks/ssr/_08p6s05._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0_6-vje._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_16kl8gr._.js → _0ecoxf6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_08g6bix._.js → _0ibt6d5._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{_18xrhsg._.js → _0ixrbdr._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0k-c9_2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0kp37lj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0mwg_m-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0qi2sb7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0rewrau._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_09bcjtq._.js → _0ro_o-3._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_0n86f1m._.js → _0sbsue7._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0u04ikp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0wc8st5._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0wdqa08._.js +24 -0
- package/standalone/.next/server/chunks/ssr/_13c2e2e._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_16lbtbj._.js → _154hqy7._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_184gcf9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_15l7ork._.js → _18ql1ra._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_1oc_qeb._.js → _18y675s._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_19uhr89._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1at-ti0._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_1b-tglm._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1boywnc._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_0u_x0oc._.js → _1btl6f6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1cbynbc._.js +21 -0
- package/standalone/.next/server/chunks/ssr/_1hjrtvv._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_1j9bac7._.js +57 -0
- package/standalone/.next/server/chunks/ssr/{_13boc9b._.js → _1m3dqvf._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1nbvse5._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +25 -0
- package/standalone/.next/server/chunks/ssr/_1q_8hby._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1t1ka5b._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1unm3n-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0s-_f4k._.js → _1ws3tm8._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_1xoejuo._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +26 -0
- package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +24 -17
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1up2wai._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-menu_dist_index_mjs_0r8d9ly._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_runs_run-detail-page_tsx_0eje87-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_ui_195oosa._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_ui_198y4_o._.js +3 -0
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/next-font-manifest.js +1 -1
- package/standalone/.next/server/next-font-manifest.json +0 -4
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{1_2kx7s8a2159.js → 06vdflmowpip6.js} +6 -6
- package/standalone/.next/static/chunks/07vuhvr-qtb7x.js +28 -0
- package/standalone/.next/static/chunks/{3z1isz179y8rv.js → 0_uexv6neli5u.js} +7 -7
- package/standalone/.next/static/chunks/0eo18i30uko5v.js +15 -0
- package/standalone/.next/static/chunks/0kmg7qlu8ytwf.js +59 -0
- package/standalone/.next/static/chunks/0knpwbhdkzti0.js +1 -0
- package/standalone/.next/static/chunks/{1jn5l9964tm_t.js → 0m5tuf_eivume.js} +5 -5
- package/standalone/.next/static/chunks/0mcuo36rz9j57.js +55 -0
- package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +53 -0
- package/standalone/.next/static/chunks/0n0dnronw8ezg.js +85 -0
- package/standalone/.next/static/chunks/0pn4p6w3w-j20.js +1 -0
- package/standalone/.next/static/chunks/{2yg_hcy-xlokr.js → 0pv0lqmzjn6ar.js} +11 -11
- package/standalone/.next/static/chunks/0wrm-zqne-dc8.js +9 -0
- package/standalone/.next/static/chunks/0xe08f4_etyy8.js +3 -0
- package/standalone/.next/static/chunks/1-byqle1eur_a.js +75 -0
- package/standalone/.next/static/chunks/127vn4wn5xo9p.js +49 -0
- package/standalone/.next/static/chunks/12te8dyw3x2bn.js +1 -0
- package/standalone/.next/static/chunks/17bq0x-xdn9o4.js +88 -0
- package/standalone/.next/static/chunks/19dkpj43f8v40.js +42 -0
- package/standalone/.next/static/chunks/1c42xu-oct3-l.js +1 -0
- package/standalone/.next/static/chunks/1g2nga-bvjlja.js +88 -0
- package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +43 -0
- package/standalone/.next/static/chunks/1k-_4gvcm-pyb.js +1 -0
- package/standalone/.next/static/chunks/1kjs_7sxvaxng.js +27 -0
- package/standalone/.next/static/chunks/1p730oe_-y1hj.js +1 -0
- package/standalone/.next/static/chunks/1pcc30ztgbtfp.js +34 -0
- package/standalone/.next/static/chunks/{0__52m82mb813.js → 1popvhaprqxtf.js} +1 -1
- package/standalone/.next/static/chunks/1rcjbru7lya3t.js +7 -0
- package/standalone/.next/static/chunks/1vgurgb3_kw0d.js +33 -0
- package/standalone/.next/static/chunks/{0s60he_e08soe.js → 1vhe4q0cd7aqp.js} +2 -2
- package/standalone/.next/static/chunks/1z4uktkhpz4vk.js +3 -0
- package/standalone/.next/static/chunks/21xk5pyunaike.js +120 -0
- package/standalone/.next/static/chunks/26nqjwc9aov2w.js +1 -0
- package/standalone/.next/static/chunks/28xkjksksnsd_.css +1 -0
- package/standalone/.next/static/chunks/299mqzsp8p9u8.js +1 -0
- package/standalone/.next/static/chunks/2aacfhrhmknxw.js +90 -0
- package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +13 -0
- package/standalone/.next/static/chunks/2k5n-lawvi3o1.js +29 -0
- package/standalone/.next/static/chunks/{104wb_0lixxfp.js → 2lfmdc3eqlsl4.js} +17 -17
- package/standalone/.next/static/chunks/2m0zo09ce60t-.js +1 -0
- package/standalone/.next/static/chunks/2ouwnzrx0591e.js +54 -0
- package/standalone/.next/static/chunks/{24alljtl2n1j_.js → 2svylmgfm08d9.js} +6 -6
- package/standalone/.next/static/chunks/2ucnry1pj6sw1.js +64 -0
- package/standalone/.next/static/chunks/{0o8_x0u4fxie7.js → 2wgg-jr0osw4i.js} +2 -2
- package/standalone/.next/static/chunks/{3018mq1s5v8kz.js → 2wsr9efe8r8ng.js} +4 -4
- package/standalone/.next/static/chunks/2z1q99_-1kg93.js +3 -0
- package/standalone/.next/static/chunks/31809uzps9w9e.js +64 -0
- package/standalone/.next/static/chunks/31is47ulkcw19.js +37 -0
- package/standalone/.next/static/chunks/34_yps6ppoo5k.js +1 -0
- package/standalone/.next/static/chunks/34wlxu_g_2g1y.js +26 -0
- package/standalone/.next/static/chunks/3gsir-iueghp2.js +23 -0
- package/standalone/.next/static/chunks/3jkg8wqh5nnam.js +29 -0
- package/standalone/.next/static/chunks/3kly0o0iaeig-.js +24 -0
- package/standalone/.next/static/chunks/3nme8562ujl6t.js +1 -0
- package/standalone/.next/static/chunks/3sgrm30gdqnhj.js +1 -0
- package/standalone/.next/static/chunks/3txqwzevvzjhy.js +42 -0
- package/standalone/.next/static/chunks/3uhr-ha19zo61.js +23 -0
- package/standalone/.next/static/chunks/{1pjy8b30-wkw9.js → 3umkd0xpssc3q.js} +3 -3
- package/standalone/.next/static/chunks/43wopct538msd.js +1 -0
- package/standalone/.next/server/app/[locale]/action-center/page/app-paths-manifest.json +0 -3
- package/standalone/.next/server/app/[locale]/action-center/page/build-manifest.json +0 -16
- package/standalone/.next/server/app/[locale]/action-center/page/next-font-manifest.json +0 -11
- package/standalone/.next/server/app/[locale]/action-center/page/react-loadable-manifest.json +0 -1
- package/standalone/.next/server/app/[locale]/action-center/page/server-reference-manifest.json +0 -4
- package/standalone/.next/server/app/[locale]/action-center/page.js +0 -17
- package/standalone/.next/server/app/[locale]/action-center/page.js.map +0 -5
- package/standalone/.next/server/app/[locale]/action-center/page.js.nft.json +0 -1
- package/standalone/.next/server/app/[locale]/action-center/page_client-reference-manifest.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0d21gjd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0gq25kr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h05dmh._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h1j7no._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0kprqh4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0m0ckek._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0m8pxlb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0nu8ev9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p-zaud._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p0u8fq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p6gqiv._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p7s2k3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0rq8991._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sogo1p._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0to2fqa._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0uhlj3h._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0v6d64m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0vs241l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0wzgw0m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0x5d6lo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xazzjb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xqm3n9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zorfix._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1-ljnib._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11-o845._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13_u_ro._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13qagj_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__14yfzp0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15h5kmz._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__18eaxef._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__18fpgua._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_e5221._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_pozkw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1amawad._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1b2duzg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1b5470b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1cvxm3-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dhuc2g._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dx2vmk._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ekrk8d._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1el0rwx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ex9wz4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ez1qjo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1flzhuq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1hgzt9m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1i48xcq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1im_7cr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1jypemo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l9m5vm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1lc23sg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1m14-al._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1m2x6-i._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1mlmrbg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1mttyay._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1obl6rm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1oh_afd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ph5-o-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qcqxk2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qnaf-5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s8pdh3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1sav-w6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1sb1p64._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1trf87b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v0kdi4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1vgd_cg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w9gjd5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1wey7bg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xcsuq_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zo0vbv._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zshyzr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zv9v9b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__201fjv-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-_5urd._.js +0 -57
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cej3c3._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rxp26l._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-mk318._.js +0 -15
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ct2_y9._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_02hx02h._.js +0 -25
- package/standalone/.next/server/chunks/ssr/_08_kyiv._.js +0 -15
- package/standalone/.next/server/chunks/ssr/_0cz9xwo._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ec1szn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ix0h2m._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0j-5kz6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0le21ue._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0uuh5ne._.js +0 -9
- package/standalone/.next/server/chunks/ssr/_0wo43jn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0wt_-w_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0y-bz5b._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0yk3h5c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0zfjp5l._.js +0 -26
- package/standalone/.next/server/chunks/ssr/_1-3pbk9._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1-s8jib._.js +0 -10
- package/standalone/.next/server/chunks/ssr/_11-g9w5._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_12ekas6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_16zlatv._.js +0 -21
- package/standalone/.next/server/chunks/ssr/_1a-x7w1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1bgz3gf._.js +0 -29
- package/standalone/.next/server/chunks/ssr/_1c5bgm_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1dwtoxe._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1fy4o1o._.js +0 -22
- package/standalone/.next/server/chunks/ssr/_1jqp1me._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1lcmi6f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1lxr3mb._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1opkxfb._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1xbulhi._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1yctl8w._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_210pgrk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_next-internal_server_app_[locale]_action-center_page_actions_13rr4o6.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0k28hjd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_0zzd3o1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1gjv--k.js +0 -4
- package/standalone/.next/server/chunks/ssr/src_app_[locale]_page_tsx_00h-a9t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/src_components_ui_0wr97kq._.js +0 -3
- package/standalone/.next/static/chunks/01oxnu86_we4m.js +0 -27
- package/standalone/.next/static/chunks/04bs8b3m4jjfr.js +0 -1
- package/standalone/.next/static/chunks/0556n0z5a2tir.js +0 -75
- package/standalone/.next/static/chunks/05r79mew_ttoh.js +0 -3
- package/standalone/.next/static/chunks/09jeps1e4upyd.js +0 -27
- package/standalone/.next/static/chunks/0f01o_texfoo2.js +0 -3
- package/standalone/.next/static/chunks/0g6kioy8mgt7g.js +0 -1
- package/standalone/.next/static/chunks/0mv6tgkxvot06.css +0 -1
- package/standalone/.next/static/chunks/0o6ubiw38_cix.js +0 -1
- package/standalone/.next/static/chunks/0qj_41gt1wo57.js +0 -1
- package/standalone/.next/static/chunks/0qq_ney086s74.js +0 -26
- package/standalone/.next/static/chunks/0tpuj0br2ze72.js +0 -1
- package/standalone/.next/static/chunks/0vetr9kzsvj8y.js +0 -27
- package/standalone/.next/static/chunks/0wegc5r-um7u_.js +0 -49
- package/standalone/.next/static/chunks/0xcxze4dn_g4k.js +0 -1
- package/standalone/.next/static/chunks/0z9rkj63eff65.js +0 -98
- package/standalone/.next/static/chunks/1-c5wiq8svvl6.js +0 -1
- package/standalone/.next/static/chunks/16vhqh6nwwd7k.js +0 -92
- package/standalone/.next/static/chunks/17sqvm2t_n5w8.js +0 -71
- package/standalone/.next/static/chunks/1fgowguozghfx.js +0 -7
- package/standalone/.next/static/chunks/1fkbsex7h55uj.js +0 -26
- package/standalone/.next/static/chunks/1qd5oxoewa3-m.js +0 -23
- package/standalone/.next/static/chunks/1sd9kcg_rkzsu.js +0 -1
- package/standalone/.next/static/chunks/1vnglbvh2-2hk.js +0 -1
- package/standalone/.next/static/chunks/1zejpj9ig77ly.js +0 -3
- package/standalone/.next/static/chunks/26gi3xhwq--4r.js +0 -59
- package/standalone/.next/static/chunks/29xjwnfybrwxv.js +0 -1
- package/standalone/.next/static/chunks/2gepmmzvedd5t.js +0 -79
- package/standalone/.next/static/chunks/2ib66g1yoqcp0.js +0 -80
- package/standalone/.next/static/chunks/2kc9nohdlg9t0.js +0 -1
- package/standalone/.next/static/chunks/2pbe_7ml0_4a_.js +0 -24
- package/standalone/.next/static/chunks/2ratgipwpyy-4.js +0 -54
- package/standalone/.next/static/chunks/2vwr8tr2n27dp.js +0 -28
- package/standalone/.next/static/chunks/2w3pt99tr43fi.js +0 -1
- package/standalone/.next/static/chunks/2yf79r7q699-j.js +0 -29
- package/standalone/.next/static/chunks/2zx_h2f_a9r1j.js +0 -1
- package/standalone/.next/static/chunks/2zy-2tckw0276.js +0 -23
- package/standalone/.next/static/chunks/3-f9ycmnsbdq8.js +0 -55
- package/standalone/.next/static/chunks/34vrejlxl0pra.js +0 -59
- package/standalone/.next/static/chunks/3_6xtrl0kow9e.js +0 -1
- package/standalone/.next/static/chunks/3bn48ltoik3ze.js +0 -27
- package/standalone/.next/static/chunks/3c5mb2oebs86p.js +0 -53
- package/standalone/.next/static/chunks/3d7uu4x6cmams.js +0 -15
- package/standalone/.next/static/chunks/3g2-dbo8jvfd9.js +0 -1
- package/standalone/.next/static/chunks/3n4fg78e0htw8.js +0 -13
- package/standalone/.next/static/chunks/3r79mip8vpj0u.js +0 -88
- package/standalone/.next/static/chunks/3t347msjxauue.js +0 -42
- package/standalone/.next/static/chunks/3xme7jwjj_ntj.js +0 -157
- package/standalone/.next/static/chunks/44xkvdnq-prf1.js +0 -9
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,725981,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,t],725981)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},755838,(e,t,n)=>{"use strict";var a=e.r(271645),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=a.useState,l=a.useEffect,i=a.useLayoutEffect,o=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),a=s({inst:{value:n,getSnapshot:t}}),r=a[0].inst,c=a[1];return i(function(){r.value=n,r.getSnapshot=t,d(r)&&c({inst:r})},[e,n,t]),l(function(){return d(r)&&c({inst:r}),e(function(){d(r)&&c({inst:r})})},[e]),o(n),n};n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},802239,(e,t,n)=>{"use strict";t.exports=e.r(755838)},688194,e=>{"use strict";e.s(["BUILD_ACTIONS",0,["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"],"BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var n=e.i(636162),a=e.i(456420);let r=(0,a.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var s=e.i(876561);let l=(0,a.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),i=(0,a.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,a.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,a.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let h=(0,a.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),p=(0,a.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var f=e.i(21357);let m=(0,a.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var x=e.i(584026),v=e.i(986206),g=e.i(328623),y=e.i(604139);let k=(0,a.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var w=e.i(747925);let j={apple:n.Apple,"app-window":r,archive:s.Archive,beaker:l,box:i,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:h,package:p,play:f.Play,rocket:m,shield:x.ShieldCheck,smartphone:v.Smartphone,sparkles:g.Sparkles,terminal:y.Terminal,"test-tube":k,wrench:w.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let n=j[e];return n?(0,t.jsx)(n,{"aria-hidden":!0,className:"size-4"}):null}],687862)},266136,e=>{"use strict";var t=e.i(843476),n=e.i(948148),a=e.i(271645),r=e.i(687862),s=e.i(487486),l=e.i(257428),i=e.i(987968),o=e.i(637611),d=e.i(975157);let c="id name description iconKey enabledForPlans enabledForSessions toolNames createdAt updatedAt";async function u(e){return(await (0,o.controlPlaneRequest)(`query McpToolPresets($kind: RunKind) {
|
|
2
|
+
mcpToolPresets(kind: $kind) { ${c} }
|
|
3
|
+
}`,{kind:e??null})).mcpToolPresets??[]}e.s(["MCP_PRESET_FIELDS",0,c,"McpPresetPicker",0,function({kind:e,selectedIds:o,onChange:c,disabled:h=!1,showAvailability:p=null==e,className:f}){let m=(0,n.useTranslations)("mcpPresets"),[x,v]=(0,a.useState)([]),[g,y]=(0,a.useState)(!0),[k,w]=(0,a.useState)(null);if((0,a.useEffect)(()=>{let t=!1,n=window.setTimeout(()=>{y(!0),u(e).then(e=>{t||(v(e),w(null))}).catch(e=>{t||w(e instanceof Error?e.message:String(e))}).finally(()=>{t||y(!1)})},0);return()=>{t=!0,window.clearTimeout(n)}},[e]),g&&!x.length)return(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(i.Spinner,{})," ",m("loading")]});if(k)return(0,t.jsx)("p",{className:"text-sm text-destructive",children:k});if(!x.length)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:m("noneAvailable")});let j=new Set(o);return(0,t.jsx)("div",{className:(0,d.cn)("grid gap-2 md:grid-cols-2",f),children:x.map(e=>(0,t.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-lg border p-3 has-disabled:cursor-not-allowed has-aria-checked:border-primary/50",children:[(0,t.jsx)(l.Checkbox,{checked:j.has(e.id),disabled:h,onCheckedChange:t=>c(t?[...o,e.id]:o.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(r.ConfigurationIcon,{iconKey:e.iconKey}),(0,t.jsx)("span",{className:"truncate",children:e.name})]}),e.description&&(0,t.jsx)("span",{className:"mt-1 block text-xs text-muted-foreground",children:e.description}),p&&(0,t.jsxs)("span",{className:"mt-2 flex flex-wrap gap-1",children:[e.enabledForPlans&&(0,t.jsx)(s.Badge,{variant:"outline",children:m("plans")}),e.enabledForSessions&&(0,t.jsx)(s.Badge,{variant:"outline",children:m("sessions")}),!e.enabledForPlans&&!e.enabledForSessions&&(0,t.jsx)(s.Badge,{variant:"secondary",children:m("directOnly")})]})]})]},e.id))})},"loadMcpToolPresets",0,u])},633785,555291,e=>{"use strict";var t,n,a,r=e.i(843476),s=e.i(397142),l=e.i(975157);let i=["low","medium","high","xhigh","max","ultra"],o=["#38bdf8","#818cf8","#a78bfa","#e879f9","#fb7185","#fb923c"];e.s(["EffortIcon",0,function({className:e,effort:t,efforts:n}){let a=t?.toLowerCase()??"auto",d=(n??i).map(e=>e.toLowerCase()).filter(e=>"auto"!==e),c=d.indexOf(a)+1;if(!c)return(0,r.jsx)(s.Cpu,{"aria-hidden":"true",className:(0,l.cn)("h-4 w-5 shrink-0",e)});let u=d.length-1,h=Math.min(5,(17-u)/d.length),p=(20-(d.length*h+ +u))/2,f=Math.max(2.5,12.5/(d.length+1));return(0,r.jsx)("svg",{"aria-hidden":"true",className:(0,l.cn)("h-4 w-5 shrink-0",e),viewBox:"0 0 20 16",xmlns:"http://www.w3.org/2000/svg",children:d.map((e,t)=>{let n=u?f+(12.5-f)*t/u:12.5,s=t<c;return(0,r.jsx)("rect",{fill:s&&"ultra"===a?o[Math.round(t/(u||1)*(o.length-1))]:"currentColor",height:n,opacity:s?1:.25,rx:.6,width:h,x:p+t*(h+1),y:14-n},e)})})}],633785);var d=e.i(271645);function c(){return(c=Object.assign.bind()).apply(null,arguments)}function u(){return(u=Object.assign.bind()).apply(null,arguments)}function h(){return(h=Object.assign.bind()).apply(null,arguments)}let p={CODEX:function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),n||(n=d.createElement("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.8.8 0 0 0-.856 0zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.43.43 0 0 1 .476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142a.45.45 0 0 1-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.48 4.48 0 0 1 4.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.43.43 0 0 1-.476 0m-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71a.79.79 0 0 0 .856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523m5.899 2.83a5.95 5.95 0 0 0 5.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947a5.7 5.7 0 0 0-1.88.31A5.96 5.96 0 0 0 10.205 0a5.95 5.95 0 0 0-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 0 0 4.162 1.713z"})))},CLAUDE:function(e){return d.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),t||(t=d.createElement("path",{d:"M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0v-3.1h3V5h17.998zM6 10.949h1.488V8.102H6zm10.51 0H18V8.102h-1.49z",clipRule:"evenodd"})))},OPENCODE:function(e){return d.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),a||(a=d.createElement("path",{d:"M16 6H8v12h8zm4 16H4V2h16z"})))}};e.s(["ProviderIcon",0,function({className:e,provider:t}){let n=p[t];return n?(0,r.jsx)(n,{"aria-hidden":"true",className:(0,l.cn)("size-4 shrink-0",e)}):null}],555291)},814760,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(563707),r=e.i(456420);let s=(0,r.default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]),l=(0,r.default)("pin-off",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);var i=e.i(948148),o=e.i(519455),d=e.i(317056),c=e.i(337822),u=e.i(746798),h=e.i(767648),p=e.i(975157),f=e.i(633785);let m="aide.model-presets.v1",x="aide:model-presets";function v({provider:e,model:t,effort:n}){return`${e}\u0000${t}\u0000${n}`}function g(e,t){return v(e)===v(t)}function y(){try{let e=window.localStorage.getItem(m)??"",t=window.localStorage.getItem("aide.favorite-models.v1")??"";return`${e}\u0000${t}`}catch{return"\0"}}function k(e){return window.addEventListener("storage",e),window.addEventListener(x,e),()=>{window.removeEventListener("storage",e),window.removeEventListener(x,e)}}function w(e){try{return e?JSON.parse(e):null}catch{return null}}function j(e){return Array.isArray(e)?e.flatMap(e=>{if(!e||"object"!=typeof e)return[];let{provider:t,model:n,effort:a}=e;return"string"!=typeof t||"string"!=typeof n?[]:[{provider:t,model:n,effort:"string"==typeof a?a:"auto"}]}):[]}function b(e){try{window.localStorage.setItem(m,JSON.stringify(e)),window.dispatchEvent(new Event(x))}catch{}}var E=e.i(555291);let M=["CODEX","CLAUDE","OPENCODE"];function N({label:e}){let{name:n,qualifier:a}=(0,h.splitModelLabel)(e);return(0,t.jsxs)(t.Fragment,{children:[n,a&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:a})]})]})}let C="data-[checked=true]:ring-1 data-[checked=true]:ring-inset data-[checked=true]:ring-primary/40";e.s(["ModelEffortPicker",0,function({catalog:e,provider:r,model:h,effort:m,onProviderChange:x,onModelChange:S,onEffortChange:T,isProviderDisabled:P,fullWidth:I}){let A,O,z,R=(0,i.useTranslations)("runs"),{rail:L,pinned:H,recent:V,isPinned:D,togglePin:$,remember:_}=(A=function(e){var t;let[n="",a=""]=e.split("\0"),r=w(n);if(r&&"object"==typeof r){let{pinned:e,recent:t}=r;return{pinned:j(e),recent:j(t)}}return{pinned:!(t=w(a))||"object"!=typeof t||Array.isArray(t)?[]:Object.entries(t).flatMap(([e,t])=>Array.isArray(t)?t.filter(e=>"string"==typeof e).map(t=>({provider:e,model:t,effort:"auto"})):[]),recent:[]}}((0,n.useSyncExternalStore)(k,y,()=>"\0")),O=e=>A.pinned.some(t=>g(t,e)),z=A.recent.filter(e=>!O(e)),{isPinned:O,pinned:A.pinned,recent:z,rail:[...A.pinned,...z],togglePin:e=>b({pinned:O(e)?A.pinned.filter(t=>!g(t,e)):[...A.pinned,e],recent:A.recent.filter(t=>!g(t,e))}),remember:e=>{O(e)||b({pinned:A.pinned,recent:[e,...A.recent.filter(t=>!g(t,e))].slice(0,6)})}}),[B,U]=(0,n.useState)(!1),G=[...e].sort((e,t)=>{let n=M.indexOf(e.key),a=M.indexOf(t.key);return(n<0?M.length:n)-(a<0?M.length:a)}),q=e=>!e.available||!!P?.(e),F=G.find(({key:e})=>e===r),K=F?.models.find(({id:e})=>e===h),W=K?{provider:r,model:h,effort:m}:null,X=K?.efforts.length?K.efforts:["auto"],Y=e=>e.flatMap(e=>{let t=G.find(({key:t})=>t===e.provider),n=t?.models.find(({id:t})=>t===e.model);return!t||!n||q(t)?[]:[{preset:e,entry:t,model:n}]}),J=Y(L).filter(({preset:e})=>!W||!g(e,W)),Z=Y(H),Q=Y(V).slice(0,5),ee=e=>{e.provider!==r&&x(e.provider),S(e.model),T(e.effort),_(e)},et=e=>{ee(e),U(!1)},en=({preset:e,entry:n,model:a})=>(0,t.jsxs)(d.CommandItem,{className:C,"data-checked":!!(W&&g(e,W)),onSelect:()=>et(e),value:`${n.label} ${a.label} ${a.id} ${e.effort}`,children:[(0,t.jsx)(E.ProviderIcon,{provider:n.key}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:(0,t.jsx)(N,{label:a.label})}),(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-muted-foreground","data-slot":"command-shortcut",children:[(0,t.jsx)(f.EffortIcon,{effort:e.effort,efforts:a.efforts}),(0,t.jsx)("span",{className:"text-xs",children:e.effort})]})]},v(e)),ea=J.slice(0,6),{railRef:er,visible:es}=function(e){let t=(0,n.useRef)(null),[a,r]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=t.current;if(!e)return;let n=()=>{let[t,...n]=[...e.children];if(!t)return;let a=Number.parseFloat(getComputedStyle(e).columnGap)||0,s=t.offsetWidth,l=0;for(let t of n){let n=s+a+t.offsetWidth;if(n>e.clientWidth)break;s=n,l+=1}r(l)},a="u"<typeof ResizeObserver?null:new ResizeObserver(n);if(a?.observe(e),a)for(let t of e.children)a.observe(t);return window.addEventListener("resize",n),n(),()=>{a?.disconnect(),window.removeEventListener("resize",n)}},[e]),{railRef:t,visible:a}}([W&&v(W),...ea.map(({preset:e})=>v(e))].join("|"));return(0,t.jsxs)("div",{className:(0,p.cn)("flex items-center gap-2 overflow-hidden",I&&"w-full"),ref:er,children:[(0,t.jsxs)(c.Popover,{onOpenChange:U,open:B,children:[(0,t.jsx)(c.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(o.Button,{className:(0,p.cn)("h-8 min-w-0 font-normal",I?"w-full justify-between":"max-w-full shrink-0"),type:"button",variant:"outline",children:[(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-2",children:F&&K?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E.ProviderIcon,{provider:F.key}),(0,t.jsx)("span",{className:"max-w-48 truncate",children:(0,t.jsx)(N,{label:K.label})}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(f.EffortIcon,{effort:m,efforts:K.efforts}),(0,t.jsx)("span",{className:"text-muted-foreground",children:m})]}):(0,t.jsx)("span",{className:"text-muted-foreground",children:R("chooseModel")})}),(0,t.jsx)(a.ChevronsUpDown,{className:"text-muted-foreground"})]})}),(0,t.jsxs)(c.PopoverContent,{align:"start",className:"w-max max-w-[min(32rem,calc(100vw-2rem))] gap-0 p-0",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"h-0 overflow-hidden",children:G.flatMap(e=>e.models.map(n=>{var a;return(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 text-sm whitespace-nowrap",children:[(0,t.jsx)("span",{className:"size-4"}),(0,t.jsx)("span",{children:(0,t.jsx)(N,{label:n.label})}),(0,t.jsx)("span",{style:{width:24*(a=Math.max(n.efforts.length,1))+2*Math.max(a-1,0)}})]},`${e.key}/${n.id}`)}))}),(0,t.jsxs)(d.Command,{children:[(0,t.jsx)(d.CommandInput,{placeholder:R("search",{kind:R("model").toLowerCase()})}),(0,t.jsxs)(d.CommandList,{children:[(0,t.jsx)(d.CommandEmpty,{children:R("empty",{kind:R("model")})}),Z.length>0&&(0,t.jsx)(d.CommandGroup,{heading:R("presets"),children:Z.map(en)}),Q.length>0&&(0,t.jsx)(d.CommandGroup,{heading:R("recentModels"),children:Q.map(en)}),G.flatMap(e=>(function(e){let t=new Map;for(let n of e.models){let a=n.group||e.label;t.set(a,[...t.get(a)??[],n])}return[...t].map(([e,t])=>({heading:e,models:t}))})(e).map(({heading:n,models:a})=>(0,t.jsx)(d.CommandGroup,{heading:n,children:a.map(a=>{let s=e.key===r&&a.id===h,l=a.efforts.length?a.efforts:["auto"];return(0,t.jsxs)(d.CommandItem,{className:C,"data-checked":s,disabled:q(e),onSelect:()=>et({provider:e.key,model:a.id,effort:a.efforts.includes(m)?m:a.efforts.includes("auto")?"auto":a.efforts[0]??"auto"}),value:`${n} ${a.label} ${a.id}`,children:[(0,t.jsx)(E.ProviderIcon,{provider:e.key}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:(0,t.jsx)(N,{label:a.label})}),(0,t.jsx)("span",{"aria-hidden":"true",className:"invisible flex items-center gap-0.5 group-data-[selected=true]/command-item:visible pointer-coarse:visible","data-slot":"command-shortcut",children:l.map(n=>(0,t.jsx)("button",{className:(0,p.cn)("rounded p-0.5 text-muted-foreground hover:bg-background hover:text-foreground",s&&m===n&&"bg-background text-foreground"),onClick:t=>{t.preventDefault(),t.stopPropagation(),et({provider:e.key,model:a.id,effort:n})},onPointerDown:e=>e.stopPropagation(),tabIndex:-1,title:n,type:"button",children:(0,t.jsx)(f.EffortIcon,{effort:n,efforts:l})},n))})]},`${e.key}/${a.id}`)})},`${e.key}/${n}`)))]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 border-t p-2",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:R("effort")}),(0,t.jsxs)(u.TooltipProvider,{children:[(0,t.jsx)("div",{className:"flex items-center gap-0.5",children:X.map(e=>(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(o.Button,{"aria-label":`${R("effort")}: ${e}`,disabled:!K,onClick:()=>{T(e),W&&_({...W,effort:e})},size:"icon-xs",type:"button",variant:m===e?"secondary":"ghost",children:(0,t.jsx)(f.EffortIcon,{effort:e,efforts:X})})}),(0,t.jsx)(u.TooltipContent,{children:e})]},e))}),(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(o.Button,{"aria-label":W&&D(W)?R("unpinPreset"):R("pinPreset"),className:"ml-auto",disabled:!W,onClick:()=>W&&$(W),size:"icon-xs",type:"button",variant:"ghost",children:W&&D(W)?(0,t.jsx)(l,{}):(0,t.jsx)(s,{})})}),(0,t.jsx)(u.TooltipContent,{children:W&&D(W)?R("unpinPreset"):R("pinPreset")})]})]})]})]})]}),!I&&ea.map(({preset:e,entry:n,model:a},r)=>{let s=r<es;return(0,t.jsxs)(o.Button,{"aria-hidden":!s,className:(0,p.cn)("h-8 shrink-0 font-normal",!s&&"invisible"),onClick:()=>ee(e),tabIndex:s?void 0:-1,type:"button",variant:"ghost",children:[(0,t.jsx)(E.ProviderIcon,{provider:n.key}),(0,t.jsx)("span",{className:"max-w-32 truncate",children:(0,t.jsx)(N,{label:a.label})}),(0,t.jsx)(f.EffortIcon,{className:"text-muted-foreground",effort:e.effort,efforts:a.efforts})]},v(e))})]})}],814760)}]);
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(30030),s=e.i(820783),n=e.i(326999),a=e.i(981140),o=Object.defineProperty,l=(e,t)=>o(e,"name",{value:t,configurable:!0}),[d,u]=(0,i.createContextScope)("AlertDialog",[n.createDialogScope]),c=(0,n.createDialogScope)(),p=l(e=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Root,{...s,...i,modal:!0})},"AlertDialog"),f=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...s}=e,a=c(i);return(0,t.jsx)(n.Trigger,{...a,...s,ref:r})},"AlertDialogTrigger")),m=l(e=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Portal,{...s,...i})},"AlertDialogPortal"),h=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...s}=e,a=c(i);return(0,t.jsx)(n.Overlay,{...a,...s,ref:r})},"AlertDialogOverlay")),[g,x]=d("AlertDialogContent"),k=r.forwardRef(l(function(e,i){let{__scopeAlertDialog:o,children:l,...d}=e,u=c(o),p=r.useRef(null),f=(0,s.useComposedRefs)(i,p),m=r.useRef(null);return(0,t.jsx)(g,{scope:o,cancelRef:m,children:(0,t.jsx)(n.Content,{role:"alertdialog",...u,...d,ref:f,onOpenAutoFocus:(0,a.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})},"AlertDialogContent")),w=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...s}=e,a=c(i);return(0,t.jsx)(n.Title,{...a,...s,ref:r})},"AlertDialogTitle")),y=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...s}=e,a=c(i);return(0,t.jsx)(n.Description,{...a,...s,ref:r})},"AlertDialogDescription")),b=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...s}=e,a=c(i);return(0,t.jsx)(n.Close,{...a,...s,ref:r})},"AlertDialogAction")),j=r.forwardRef(l(function(e,r){let{__scopeAlertDialog:i,...a}=e,{cancelRef:o}=x("AlertDialogCancel",i),l=c(i),d=(0,s.useComposedRefs)(r,o);return(0,t.jsx)(n.Close,{...l,...a,ref:d})},"AlertDialogCancel"));e.s(["Action",0,b,"AlertDialog",0,p,"AlertDialogAction",0,b,"AlertDialogCancel",0,j,"AlertDialogContent",0,k,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,m,"AlertDialogTitle",0,w,"AlertDialogTrigger",0,f,"Cancel",0,j,"Content",0,k,"Description",0,y,"Overlay",0,h,"Portal",0,m,"Root",0,p,"Title",0,w,"Trigger",0,f,"createAlertDialogScope",0,u],691162);var A=e.i(691162),A=A,v=e.i(975157),N=e.i(519455);function C({...e}){return(0,t.jsx)(A.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(A.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function R({...e}){return(0,t.jsx)(A.Portal,{"data-slot":"alert-dialog-portal",...e})}function D({className:e,...r}){return(0,t.jsx)(A.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,v.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function S({className:e,size:r="default",...i}){return(0,t.jsxs)(R,{children:[(0,t.jsx)(D,{}),(0,t.jsx)(A.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,v.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,v.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function E({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,v.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function $({className:e,...r}){return(0,t.jsx)(A.Title,{"data-slot":"alert-dialog-title",className:(0,v.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function W({className:e,...r}){return(0,t.jsx)(A.Description,{"data-slot":"alert-dialog-description",className:(0,v.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function P({className:e,variant:r="default",size:i="default",...s}){return(0,t.jsx)(N.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(A.Action,{"data-slot":"alert-dialog-action",className:(0,v.cn)(e),...s})})}function L({className:e,variant:r="outline",size:i="default",...s}){return(0,t.jsx)(N.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(A.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,v.cn)(e),...s})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:i,onConfirm:s,onOpenChange:n,open:a,title:o,trigger:l}){return(0,t.jsxs)(C,{onOpenChange:n,open:a,children:[l&&(0,t.jsx)(I,{asChild:!0,children:l}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)($,{children:o}),(0,t.jsx)(W,{children:i})]}),(0,t.jsxs)(E,{children:[(0,t.jsx)(L,{children:r}),(0,t.jsx)(P,{onClick:()=>void s(),variant:"destructive",children:e})]})]})]})}],340953)},762368,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],762368)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),i=e.i(271645),s=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:n,hasPlainTrigger:a=!1,onRun:o}){let l=(0,r.useTranslations)("workflows");return n.length?(0,t.jsxs)(s.DropdownMenu,{children:[(0,t.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(s.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>o(null),children:l("fullRun")}),n.map(e=>(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>o(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,i.cloneElement)(e,{onClick:()=>o(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let i=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(i)return{href:i,external:!1};let s=e.kind.trim().toUpperCase(),n=e.resourceId.trim();if(!n)return null;let a="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,o="BUILD"===s?`/builds/${t(n)}`:"CODEBASE"===s?`/codebases/${t(n)}`:"JIRA_TICKET"===s?`/jira/tickets/${t(n)}`:"WORKTREE"===s?`/worktrees/${t(n)}`:"AGENT_RUN"===s&&"PLAN"===a?`/plans/${t(n)}`:"AGENT_RUN"===s&&"SESSION"===a?`/sessions/${t(n)}`:"PULL_REQUEST"===s?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let i=e.slice(0,r),s=i.indexOf("/");if(s<1||s===i.length-1)return null;let n=Number(e.slice(r+1));return!Number.isInteger(n)||n<1?null:`/pull-requests/${t(i.slice(0,s))}/${t(i.slice(s+1))}/${n}`}(n):"AGENT_JOB"===s?`/jobs/${t(n)}`:"COMMAND_RUN"===s?`/commands/runs/${t(n)}`:"WORKFLOW_RUN"===s?`/workflows/runs/${t(n)}`:"SKILL_SYNC"===s?`/skills/sync/${t(n)}`:"SKILL"===s?`/skills/${t(n)}`:"IOS_DEVICE"===s?`/devices/${t(n)}`:"SIGNING_PROFILE"===s?`/provisioning-profiles/${t(n)}`:"PUSH_NOTIFICATION_BATCH"===s?"/push-notifications":"BUILD_DATA_COLLECTION"===s?"/build-data":"AGENT"===s?`/agents/${t(n)}`:"CODEBASE_REPOSITORY"===s?`/codebases/repositories/${t(n)}`:null;if(o)return{href:o,external:!1};let l=function(e){if(!e)return null;try{let t=new URL(e);return new Set(["http:","https:"]).has(t.protocol)?t.href:null}catch{return null}}(e.url);return l?{href:l,external:!0}:null}function i(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function s(e){return e.map((e,t)=>({destination:r(e),index:t,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,t)=>i(e.link)-i(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function n(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function a(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function o(e,t,r){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===r.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let r=e.trim(),i=t.trim();if(!r||!i)throw Error("GitHub job repository and job ID are required");return`${r}:job:${i}`},"githubPipelineResourceId",0,function(e,t,r){let i=e.trim(),s=t?.trim(),n=r.trim();if(!i||!s&&!n)throw Error("GitHub pipeline repository and provider ID are required");return`${i}:${s?"run":"check"}:${s||n}`},"preferredWorkflowResourceDestination",0,s,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let i=new Set,s=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let s of e.attempts)s.resourceLinks.some(e=>o(e,t,r))&&i.add(s.nodeId);for(let n of e.resourceLinks){if(!o(n,t,r))continue;let a=n.attemptId?s.get(n.attemptId):e.trigger?.nodeId;a&&i.add(a)}return i},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let r of[...e.attempts].sort((t,r)=>Number(r.generation===e.generation)-Number(t.generation===e.generation)||r.generation-t.generation||r.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!r.iterationKey))){if(t.has(r.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",r=n(e.output),i=n(r.value),s={...n(i.sessionPatch),...n(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=a(i.key)??a(n(i.ticket).key)??a(n(s.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=a(i.id),t=a(i.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=a(n(s.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=a(n(s.codebase).id)??a(i.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=a(n(s.build).id)??a(i.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),i=s(e?[...r.resourceLinks,e]:r.resourceLinks);i&&t.set(r.nodeId,i)}let r=s(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&r&&t.set(e.trigger.nodeId,r),t}],880181);var l=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,l.useCallback)(t=>{if(t){if(t.external)return void window.open(t.href,"_blank","noopener,noreferrer");e.push(t.href)}},[e])}],505624)},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),i=e.i(482022),s=e.i(948148),n=e.i(271645),a=e.i(929592),o=e.i(487486),l=e.i(519455),d=e.i(515288),u=e.i(906197),c=e.i(520133),p=e.i(637611),f=e.i(880181),m=e.i(997778),h=e.i(505624),g=e.i(349049),x=e.i(399668);function k(e){return"string"==typeof e&&e.length>0?e:null}function w({run:e,onAnswered:r}){let i=(0,s.useTranslations)("workflows"),o=(0,x.useWorkflowLabels)(),[d,u]=(0,n.useState)({}),[f,m]=(0,n.useState)(!1),[h,g]=(0,n.useState)(null),y=(0,n.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=k(t.id);if(!r||"PENDING"!==t.status)return[];let i=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=k(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:k(e.header),prompt:k(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=k(e.label);return t?[{id:k(e.id)??t,label:t,description:k(e.description)}]:[]})}})(e)??[]);return i.length?[{id:r,kind:e.kind,questions:i}]:[]})),[e]);if(0===y.length)return null;let b=(e,t)=>`${e}:${t}`,j=async(e,t)=>{m(!0);try{await (0,p.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),u(t=>{let r={...t};for(let t of e.questions)delete r[b(e.id,t.id)];return r}),g(null),await r()}catch(e){g(e instanceof Error?e.message:String(e))}finally{m(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[h&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:h})}),y.map(r=>{let s=1===r.questions.length&&!r.questions[0].multiSelect,n=r.questions.every(e=>(d[b(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("questionFrom",{step:o.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let i=d[b(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((n,a)=>(0,t.jsx)(l.Button,{"aria-pressed":s?void 0:i.includes(n.label),disabled:f,onClick:()=>{s?j(r,{[e.id]:[n.label]}):u(t=>{let i=new Set(t[b(r.id,e.id)]??[]);return e.multiSelect?i.has(n.label)?i.delete(n.label):i.add(n.label):(i.clear(),i.add(n.label)),{...t,[b(r.id,e.id)]:[...i]}})},size:"sm",title:n.description??void 0,variant:i.includes(n.label)||s&&0===a?"default":"outline",children:n.label},n.id))})]},e.id)}),!s&&(0,t.jsx)(l.Button,{disabled:f||!n,onClick:()=>void j(r,Object.fromEntries(r.questions.map(e=>[e.id,d[b(r.id,e.id)]??[]]))),size:"sm",children:i("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:`/workflows/runs/${e.id}`,children:i("answerOnRunPage")})})]})]},r.id)})]})}let y=`
|
|
2
|
+
id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
|
|
3
|
+
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
|
|
4
|
+
workflow { id name }
|
|
5
|
+
trigger { nodeId }
|
|
6
|
+
version { id workflowId version name description schemaVersion definition contentHash publishedAt }
|
|
7
|
+
attempts {
|
|
8
|
+
id nodeId kind generation iterationKey attempt status phase input output error startedAt finishedAt supersededAt
|
|
9
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
10
|
+
questionBatches {
|
|
11
|
+
id status
|
|
12
|
+
questions { id header prompt multiSelect options { id label description } }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
16
|
+
`;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:k,sessionData:b}){let j=(0,s.useTranslations)("workflows"),A=(0,x.useWorkflowLabels)(),v=(0,h.useOpenWorkflowDestination)(),[N,C]=(0,n.useState)([]),[I,R]=(0,n.useState)([]),[D,S]=(0,n.useState)(null),[T,E]=(0,n.useState)(null),$=(0,n.useCallback)(async()=>{try{let t=await (0,p.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
|
|
17
|
+
workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${y} }
|
|
18
|
+
workflowsAcceptingResource(kind: $kind) {
|
|
19
|
+
id name description enabled
|
|
20
|
+
hasPlainTrigger(resourceKind: $kind)
|
|
21
|
+
triggerChoices(resourceKind: $kind) { key label description }
|
|
22
|
+
}
|
|
23
|
+
}`,{kind:e,resourceId:k});C(t.workflowRunsForResource),R(t.workflowsAcceptingResource),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}},[k,e]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void $(),0),t=(0,p.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void $(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[$]);let W=async(t,r)=>{S(t);try{await (0,p.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:b,resourceKind:e,resourceId:k,subjectKey:`${e}:${k}`,choice:r}}),await $()}catch(e){E(e instanceof Error?e.message:String(e))}finally{S(null)}},P=N[0],L=(0,n.useMemo)(()=>P?(0,f.currentPageWorkflowNodeIds)(P,e,k):new Set,[P,k,e]),O=(0,n.useMemo)(()=>P?(0,f.workflowRunNodeDestinations)(P):new Map,[P]);return N.length||I.length||T?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:j("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:j("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:"/workflows",children:j("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[T&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:T})}),I.length>0&&(0,t.jsx)(u.ItemGroup,{className:"gap-2",children:I.map(e=>(0,t.jsxs)(u.Item,{size:"sm",variant:"outline",children:[(0,t.jsxs)(u.ItemContent,{children:[(0,t.jsx)(u.ItemTitle,{children:e.name}),e.description&&(0,t.jsx)(u.ItemDescription,{children:e.description})]}),(0,t.jsx)(u.ItemActions,{children:(0,t.jsx)(m.WorkflowChoiceMenu,{button:(0,t.jsxs)(l.Button,{disabled:!e.enabled||null!==D,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",j("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void W(e.id,t)})})]},e.id))}),P&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(c.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${P.id}`,children:[P.workflow.name," #",P.displayNumber]}),(0,t.jsx)(o.Badge,{variant:(0,g.workflowStatusVariant)(P.status),children:A.status(P.status)})]}),(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(c.Link,{href:`/workflows/runs/${P.id}`,children:[(0,t.jsx)(i.ExternalLink,{})," ",j("fullRun")]})})]}),(0,t.jsx)(w,{onAnswered:$,run:P}),(0,t.jsx)(g.WorkflowGraph,{attempts:P.attempts,compact:!0,currentPageNodeIds:L,definition:P.version.definition,destinations:O,generation:P.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&v(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.slice(1,6).map(e=>(0,t.jsx)(l.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(c.Link,{className:"gap-2",href:`/workflows/runs/${e.id}`,children:[(0,t.jsxs)("span",{children:["#",e.displayNumber," · ",e.workflow.name]}),(0,t.jsx)(o.Badge,{variant:(0,g.workflowStatusVariant)(e.status),children:A.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},250832,e=>{"use strict";let t=(0,e.i(456420).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",0,t],250832)},275043,e=>{"use strict";let t=(0,e.i(456420).default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},235056,e=>{"use strict";var t=e.i(275043);e.s(["CircleHelp",()=>t.default])},569936,e=>{"use strict";let t=(0,e.i(456420).default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);e.s(["Clipboard",0,t],569936)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},853138,e=>{"use strict";var t=e.i(755566);e.s(["AlertTriangle",()=>t.default])},328523,e=>{"use strict";let t=(0,e.i(456420).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",0,t],328523)},225780,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(716327),s=e.i(434322),n=e.i(487486),a=e.i(975157);function o({patch:e,truncated:r=!1,truncatedLabel:i,className:s}){return(0,t.jsxs)("div",{className:(0,a.cn)("overflow-auto rounded-md border bg-neutral-950 font-mono text-xs text-neutral-100",s),children:[e.split("\n").map((e,r)=>(0,t.jsx)("div",{className:(0,a.cn)("min-w-max px-3 whitespace-pre",e.startsWith("+")&&!e.startsWith("+++")&&"bg-emerald-950/70 text-emerald-200",e.startsWith("-")&&!e.startsWith("---")&&"bg-red-950/70 text-red-200",e.startsWith("@@")&&"bg-blue-950/60 text-blue-200"),children:e||" "},`${r}:${e}`)),r&&i&&(0,t.jsx)("p",{className:"border-t p-2 text-amber-300",children:i})]})}e.s(["ExpandablePatchView",0,function({patch:e,className:l}){let d=(0,r.useMemo)(()=>(function(e){let t=e.split("\n"),r=[],i=[];for(let e of t)e.startsWith("diff --git ")&&i.length&&(r.push(i),i=[]),i.push(e);return i.some(Boolean)&&r.push(i),r.map((e,t)=>{let r=e.find(e=>e.startsWith("diff --git ")),i=r?.match(/^diff --git a\/(.+) b\/(.+)$/),s=i?.[1],n=i?.[2],a=e.some(e=>e.startsWith("new file mode")),o=e.some(e=>e.startsWith("deleted file mode")),l=e.some(e=>e.startsWith("rename from ")),d=n??e.find(e=>e.startsWith("+++ "))?.replace(/^\+\+\+ (?:b\/)?/,"")??s??`Patch ${t+1}`;return{key:`${s??""}:${d}:${t}`,path:d,patch:e.join("\n"),additions:e.filter(e=>e.startsWith("+")&&!e.startsWith("+++")).length,deletions:e.filter(e=>e.startsWith("-")&&!e.startsWith("---")).length,status:a?"A":o?"D":l?"R":"M"}})})(e),[e]),[u,c]=(0,r.useState)(new Set);return(0,t.jsx)("div",{className:(0,a.cn)("divide-y overflow-hidden rounded-md border",l),children:d.map(e=>{let r=u.has(e.key);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{"aria-expanded":r,className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>c(t=>{let r=new Set(t);return r.has(e.key)?r.delete(e.key):r.add(e.key),r}),type:"button",children:[(0,t.jsx)(i.ChevronDown,{className:(0,a.cn)("size-3.5 shrink-0 transition-transform",r&&"rotate-180")}),(0,t.jsx)(s.FileCode2,{className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:e.path}),(0,t.jsx)(n.Badge,{className:"h-5 px-1.5",variant:"outline",children:e.status}),(0,t.jsxs)("span",{className:"text-xs text-emerald-600 tabular-nums",children:["+",e.additions]}),(0,t.jsxs)("span",{className:"text-xs text-red-600 tabular-nums",children:["−",e.deletions]})]}),r&&(0,t.jsx)("div",{className:"border-t bg-muted/10 p-3",children:(0,t.jsx)(o,{patch:e.patch})})]},e.key)})})},"PatchView",0,o])},42629,e=>{"use strict";let t=`
|
|
24
|
+
id kind displayNumber status provider followUpMode
|
|
25
|
+
`,r=`
|
|
26
|
+
id kind displayNumber status phase origin provider providerVersion
|
|
27
|
+
worktreeId agentId worktree { id folder branch highlightColor }
|
|
28
|
+
jiraIssueKey repositoryName branch model effort webSearchEnabled mcpPresetIds mcpToolNames
|
|
29
|
+
initialPrompt finalOutput estimatedCost pricingSource sourcePlanId sourcePlanNumber
|
|
30
|
+
playedAt playedSessionNumber
|
|
31
|
+
sourcePlan { ${t} }
|
|
32
|
+
playedSession { ${t} }
|
|
33
|
+
archivedAt nativeArchivedAt startedAt finishedAt createdAt updatedAt
|
|
34
|
+
`,i=`
|
|
35
|
+
${r}
|
|
36
|
+
finalOutput error pricingUpdatedAt catalogCost inputTokens outputTokens reasoningTokens
|
|
37
|
+
cacheReadTokens cacheWriteTokens toolCallCount parentRunId parentRunNumber
|
|
38
|
+
parentRun { ${t} }
|
|
39
|
+
followUps { ${t} }
|
|
40
|
+
attempts { id generation nativeId status resumeStrategy startedAt finishedAt supersededAt }
|
|
41
|
+
inputs {
|
|
42
|
+
id sequence kind prompt createdAt
|
|
43
|
+
attachments { id filename contentType size sha256 downloadPath createdAt }
|
|
44
|
+
}
|
|
45
|
+
modelUsage {
|
|
46
|
+
id model inputTokens outputTokens reasoningTokens cacheReadTokens
|
|
47
|
+
cacheWriteTokens estimatedCost catalogCost superseded
|
|
48
|
+
}
|
|
49
|
+
toolCalls {
|
|
50
|
+
id sequence name status input output error startedAt finishedAt supersededAt
|
|
51
|
+
}
|
|
52
|
+
questionBatches {
|
|
53
|
+
id nativeRequestId status createdAt answeredAt supersededAt
|
|
54
|
+
revisionPreparedAt rollbackPatch pushedCommitWarning
|
|
55
|
+
questions {
|
|
56
|
+
id position header prompt multiSelect allowCustom
|
|
57
|
+
options { id position label description }
|
|
58
|
+
}
|
|
59
|
+
answerRevisions {
|
|
60
|
+
id revision answers createdAt supersededAt replacementAttemptId
|
|
61
|
+
}
|
|
62
|
+
checkpoint { id kind headSha branch upstreamSha indexTree worktreeTree refName diffSummary diffPatch stashRef createdAt }
|
|
63
|
+
}
|
|
64
|
+
checkpoints {
|
|
65
|
+
id kind headSha branch upstreamSha indexTree worktreeTree refName
|
|
66
|
+
diffSummary diffPatch stashRef createdAt
|
|
67
|
+
}
|
|
68
|
+
`,s=`
|
|
69
|
+
id runId attemptId sequence type summary detailMarkdown raw createdAt supersededAt
|
|
70
|
+
`,n=`
|
|
71
|
+
id kind worktreeId agentId worktree { id folder branch highlightColor }
|
|
72
|
+
jiraIssueKey provider model effort webSearchEnabled mcpPresetIds prompt
|
|
73
|
+
attachments { id filename contentType size sha256 downloadPath createdAt }
|
|
74
|
+
archivedAt createdAt updatedAt
|
|
75
|
+
`;e.s(["RUN_DETAIL_FIELDS",0,i,"RUN_DRAFT_FIELDS",0,n,"RUN_EVENT_FIELDS",0,s,"RUN_LIST_FIELDS",0,r])},11037,e=>{"use strict";var t=e.i(948148),r=e.i(767648);e.s(["useRunLabels",0,function(){let e=(0,t.useTranslations)("runs"),i=(t,r)=>{let i=`${t}.${r}`;return e.has(i)?e(i):null};return{status:e=>i("statuses",e)??(0,r.formatEnumLabel)(e),phase:e=>i("phases",e)??(0,r.formatEnumLabel)(e),checkpointKind:e=>i("checkpointKinds",e)??(0,r.formatEnumLabel)(e),followUpMode:e=>i("followUpModes",e)??(0,r.formatEnumLabel)(e),toolCallStatus:e=>i("toolCallStatuses",e)??(0,r.formatEnumLabel)(e),eventType:e=>i("eventTypes",e)??(0,r.formatEnumLabel)(e)}}])},24071,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],24071)},841220,e=>{"use strict";let t=(0,e.i(456420).default)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);e.s(["Server",0,t],841220)},551757,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,t],551757)},594831,e=>{"use strict";let t=(0,e.i(456420).default)("unplug",[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]);e.s(["Unplug",0,t],594831)}]);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(975157);let s=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,n.cn)(s({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),s=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:i,hasPlainTrigger:a=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return i.length?(0,t.jsxs)(s.DropdownMenu,{children:[(0,t.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(s.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),i.map(e=>(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>l(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,n.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let n=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(n)return{href:n,external:!1};let s=e.kind.trim().toUpperCase(),i=e.resourceId.trim();if(!i)return null;let a="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===s?`/builds/${t(i)}`:"CODEBASE"===s?`/codebases/${t(i)}`:"JIRA_TICKET"===s?`/jira/tickets/${t(i)}`:"WORKTREE"===s?`/worktrees/${t(i)}`:"AGENT_RUN"===s&&"PLAN"===a?`/plans/${t(i)}`:"AGENT_RUN"===s&&"SESSION"===a?`/sessions/${t(i)}`:"PULL_REQUEST"===s?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let n=e.slice(0,r),s=n.indexOf("/");if(s<1||s===n.length-1)return null;let i=Number(e.slice(r+1));return!Number.isInteger(i)||i<1?null:`/pull-requests/${t(n.slice(0,s))}/${t(n.slice(s+1))}/${i}`}(i):"AGENT_JOB"===s?`/jobs/${t(i)}`:"COMMAND_RUN"===s?`/commands/runs/${t(i)}`:"WORKFLOW_RUN"===s?`/workflows/runs/${t(i)}`:"SKILL_SYNC"===s?`/skills/sync/${t(i)}`:"SKILL"===s?`/skills/${t(i)}`:"IOS_DEVICE"===s?`/devices/${t(i)}`:"SIGNING_PROFILE"===s?`/provisioning-profiles/${t(i)}`:"PUSH_NOTIFICATION_BATCH"===s?"/push-notifications":"BUILD_DATA_COLLECTION"===s?"/build-data":"AGENT"===s?`/agents/${t(i)}`:"CODEBASE_REPOSITORY"===s?`/codebases/repositories/${t(i)}`:null;if(l)return{href:l,external:!1};let o=function(e){if(!e)return null;try{let t=new URL(e);return new Set(["http:","https:"]).has(t.protocol)?t.href:null}catch{return null}}(e.url);return o?{href:o,external:!0}:null}function n(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function s(e){return e.map((e,t)=>({destination:r(e),index:t,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,t)=>n(e.link)-n(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function i(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function a(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,r){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===r.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let r=e.trim(),n=t.trim();if(!r||!n)throw Error("GitHub job repository and job ID are required");return`${r}:job:${n}`},"githubPipelineResourceId",0,function(e,t,r){let n=e.trim(),s=t?.trim(),i=r.trim();if(!n||!s&&!i)throw Error("GitHub pipeline repository and provider ID are required");return`${n}:${s?"run":"check"}:${s||i}`},"preferredWorkflowResourceDestination",0,s,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let n=new Set,s=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let s of e.attempts)s.resourceLinks.some(e=>l(e,t,r))&&n.add(s.nodeId);for(let i of e.resourceLinks){if(!l(i,t,r))continue;let a=i.attemptId?s.get(i.attemptId):e.trigger?.nodeId;a&&n.add(a)}return n},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let r of[...e.attempts].sort((t,r)=>Number(r.generation===e.generation)-Number(t.generation===e.generation)||r.generation-t.generation||r.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!r.iterationKey))){if(t.has(r.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",r=i(e.output),n=i(r.value),s={...i(n.sessionPatch),...i(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=a(n.key)??a(i(n.ticket).key)??a(i(s.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=a(n.id),t=a(n.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=a(i(s.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=a(i(s.codebase).id)??a(n.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=a(i(s.build).id)??a(n.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),n=s(e?[...r.resourceLinks,e]:r.resourceLinks);n&&t.set(r.nodeId,n)}let r=s(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&r&&t.set(e.trigger.nodeId,r),t}],880181);var o=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,o.useCallback)(t=>{if(t){if(t.external)return void window.open(t.href,"_blank","noopener,noreferrer");e.push(t.href)}},[e])}],505624)},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),n=e.i(482022),s=e.i(948148),i=e.i(271645),a=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),m=e.i(637611),f=e.i(880181),p=e.i(997778),h=e.i(505624),x=e.i(349049),g=e.i(399668);function w(e){return"string"==typeof e&&e.length>0?e:null}function k({run:e,onAnswered:r}){let n=(0,s.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,i.useState)({}),[f,p]=(0,i.useState)(!1),[h,x]=(0,i.useState)(null),b=(0,i.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=w(t.id);if(!r||"PENDING"!==t.status)return[];let n=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=w(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:w(e.header),prompt:w(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=w(e.label);return t?[{id:w(e.id)??t,label:t,description:w(e.description)}]:[]})}})(e)??[]);return n.length?[{id:r,kind:e.kind,questions:n}]:[]})),[e]);if(0===b.length)return null;let v=(e,t)=>`${e}:${t}`,y=async(e,t)=>{p(!0);try{await (0,m.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),c(t=>{let r={...t};for(let t of e.questions)delete r[v(e.id,t.id)];return r}),x(null),await r()}catch(e){x(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[h&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:h})}),b.map(r=>{let s=1===r.questions.length&&!r.questions[0].multiSelect,i=r.questions.every(e=>(d[v(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("questionFrom",{step:l.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let n=d[v(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((i,a)=>(0,t.jsx)(o.Button,{"aria-pressed":s?void 0:n.includes(i.label),disabled:f,onClick:()=>{s?y(r,{[e.id]:[i.label]}):c(t=>{let n=new Set(t[v(r.id,e.id)]??[]);return e.multiSelect?n.has(i.label)?n.delete(i.label):n.add(i.label):(n.clear(),n.add(i.label)),{...t,[v(r.id,e.id)]:[...n]}})},size:"sm",title:i.description??void 0,variant:n.includes(i.label)||s&&0===a?"default":"outline",children:i.label},i.id))})]},e.id)}),!s&&(0,t.jsx)(o.Button,{disabled:f||!i,onClick:()=>void y(r,Object.fromEntries(r.questions.map(e=>[e.id,d[v(r.id,e.id)]??[]]))),size:"sm",children:n("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:n("answerOnRunPage")})})]})]},r.id)})]})}let b=`
|
|
2
|
+
id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
|
|
3
|
+
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
|
|
4
|
+
workflow { id name }
|
|
5
|
+
trigger { nodeId }
|
|
6
|
+
version { id workflowId version name description schemaVersion definition contentHash publishedAt }
|
|
7
|
+
attempts {
|
|
8
|
+
id nodeId kind generation iterationKey attempt status phase input output error startedAt finishedAt supersededAt
|
|
9
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
10
|
+
questionBatches {
|
|
11
|
+
id status
|
|
12
|
+
questions { id header prompt multiSelect options { id label description } }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
resourceLinks { id attemptId kind resourceId label url metadata createdAt }
|
|
16
|
+
`;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:w,sessionData:v}){let y=(0,s.useTranslations)("workflows"),j=(0,g.useWorkflowLabels)(),I=(0,h.useOpenWorkflowDestination)(),[N,A]=(0,i.useState)([]),[C,E]=(0,i.useState)([]),[S,R]=(0,i.useState)(null),[L,T]=(0,i.useState)(null),$=(0,i.useCallback)(async()=>{try{let t=await (0,m.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
|
|
17
|
+
workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${b} }
|
|
18
|
+
workflowsAcceptingResource(kind: $kind) {
|
|
19
|
+
id name description enabled
|
|
20
|
+
hasPlainTrigger(resourceKind: $kind)
|
|
21
|
+
triggerChoices(resourceKind: $kind) { key label description }
|
|
22
|
+
}
|
|
23
|
+
}`,{kind:e,resourceId:w});A(t.workflowRunsForResource),E(t.workflowsAcceptingResource),T(null)}catch(e){T(e instanceof Error?e.message:String(e))}},[w,e]);(0,i.useEffect)(()=>{let e=window.setTimeout(()=>void $(),0),t=(0,m.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void $(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[$]);let D=async(t,r)=>{R(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:v,resourceKind:e,resourceId:w,subjectKey:`${e}:${w}`,choice:r}}),await $()}catch(e){T(e instanceof Error?e.message:String(e))}finally{R(null)}},O=N[0],_=(0,i.useMemo)(()=>O?(0,f.currentPageWorkflowNodeIds)(O,e,w):new Set,[O,w,e]),P=(0,i.useMemo)(()=>O?(0,f.workflowRunNodeDestinations)(O):new Map,[O]);return N.length||C.length||L?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:y("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:y("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:"/workflows",children:y("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[L&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:L})}),C.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:C.map(e=>(0,t.jsxs)(c.Item,{size:"sm",variant:"outline",children:[(0,t.jsxs)(c.ItemContent,{children:[(0,t.jsx)(c.ItemTitle,{children:e.name}),e.description&&(0,t.jsx)(c.ItemDescription,{children:e.description})]}),(0,t.jsx)(c.ItemActions,{children:(0,t.jsx)(p.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==S,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",y("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void D(e.id,t)})})]},e.id))}),O&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(u.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${O.id}`,children:[O.workflow.name," #",O.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,x.workflowStatusVariant)(O.status),children:j.status(O.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${O.id}`,children:[(0,t.jsx)(n.ExternalLink,{})," ",y("fullRun")]})})]}),(0,t.jsx)(k,{onAnswered:$,run:O}),(0,t.jsx)(x.WorkflowGraph,{attempts:O.attempts,compact:!0,currentPageNodeIds:_,definition:O.version.definition,destinations:P,generation:O.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&I(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.slice(1,6).map(e=>(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{className:"gap-2",href:`/workflows/runs/${e.id}`,children:[(0,t.jsxs)("span",{children:["#",e.displayNumber," · ",e.workflow.name]}),(0,t.jsx)(l.Badge,{variant:(0,x.workflowStatusVariant)(e.status),children:j.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},467511,e=>{"use strict";let t="format raw rawText markdown wikiMarkup",r="accountId displayName avatarUrl",n="source stale fetchedAt",s="relationship key summary status",i="id key summary statusId status statusCategory issueType priority assignee assigneeAccountId assigneeAvatarUrl projectKey updatedAt",a=`${i}
|
|
24
|
+
jiraUrl description
|
|
25
|
+
descriptionContent { ${t} }
|
|
26
|
+
reporter { ${r} }
|
|
27
|
+
creator { ${r} }
|
|
28
|
+
labels components { id name } fixVersions { id name }
|
|
29
|
+
affectedVersions { id name } sprintNames
|
|
30
|
+
parent { ${s} }
|
|
31
|
+
subtasks { ${s} }
|
|
32
|
+
issueLinks { ${s} }
|
|
33
|
+
attachments {
|
|
34
|
+
id filename contentUrl mimeType size
|
|
35
|
+
author { ${r} }
|
|
36
|
+
createdAt
|
|
37
|
+
}
|
|
38
|
+
comments {
|
|
39
|
+
id author { ${r} } body
|
|
40
|
+
content { ${t} }
|
|
41
|
+
createdAt updatedAt
|
|
42
|
+
}
|
|
43
|
+
createdAt dueAt resolvedAt timeTracking
|
|
44
|
+
allFields {
|
|
45
|
+
id name schemaType custom value
|
|
46
|
+
content { ${t} }
|
|
47
|
+
}
|
|
48
|
+
cache { ${n} }
|
|
49
|
+
commentsCache { ${n} }`;e.s(["JIRA_CACHE_FIELDS",0,n,"JIRA_PERSON_FIELDS",0,r,"JIRA_RICH_TEXT_FIELDS",0,t,"JIRA_SUMMARY_FIELDS",0,i,"JIRA_TICKET_DETAIL_FIELDS",0,a])},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),n=e.i(271645),s=e.i(519455),i=e.i(317056),a=e.i(906197),l=e.i(337822),o=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:m,emptyMessage:f,ariaLabel:p,disabled:h,className:x,showSelectedDetails:g=!1,allowCustomValue:w=!1}){let[k,b]=(0,n.useState)(!1),[v,y]=(0,n.useState)(""),j=(0,n.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),I=c.find(t=>t.value===e),N=I?.label??(e||u),A=v.trim(),C=w&&A.length>0&&!c.some(e=>e.value.toLowerCase()===A.toLowerCase()||e.label.toLowerCase()===A.toLowerCase());return(0,t.jsxs)(l.Popover,{onOpenChange:e=>{b(e),e||y("")},open:k,children:[(0,t.jsx)(l.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(s.Button,{"aria-expanded":k,"aria-label":p,className:(0,o.cn)("min-w-0 w-full justify-between font-normal",g&&I&&"h-auto min-h-8 py-2",x),disabled:h,role:"combobox",type:"button",variant:"outline",children:[g&&I?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:I.label}),I.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.description}),I.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:I.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:N}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(l.PopoverContent,{ref:j,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(i.Command,{className:"min-h-0",label:m,children:[(0,t.jsx)(i.CommandInput,{"aria-label":m,autoFocus:!0,onValueChange:y,placeholder:m,value:v}),(0,t.jsxs)(i.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(i.CommandEmpty,{children:f}),(0,t.jsxs)(i.CommandGroup,{children:[C&&(0,t.jsx)(i.CommandItem,{"aria-label":A,onSelect:()=>{d(A),y(""),b(!1)},value:A,children:(0,t.jsx)(a.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(a.ItemContent,{className:"min-w-0",children:(0,t.jsx)(a.ItemTitle,{className:"block truncate",children:A})})})}),c.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{d(r.value),y(""),b(!1)},value:r.value,children:(0,t.jsx)(a.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(a.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(a.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(a.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(a.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},799676,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(705844),s=e.i(30030),i=e.i(30207),a=e.i(934620),l=e.i(248425),o=Object.defineProperty,d=(e,t)=>o(e,"name",{value:t,configurable:!0}),c="Avatar",[u,m]=(0,s.createContextScope)(c),f=[0,()=>void 0],[p,h]=u(c),x=r.forwardRef(d(function(e,n){let{__scopeAvatar:s,...i}=e,[a,o]=r.useState("idle"),[d,c]=v();return(0,t.jsx)(p,{scope:s,imageLoadingStatus:a,setImageLoadingStatus:o,imageCount:d,setImageCount:c,children:(0,t.jsx)(l.Primitive.span,{...i,ref:n})})},"Avatar")),g=r.forwardRef(d(function(e,n){let{__scopeAvatar:s,src:o,onLoadingStatusChange:d,...c}=e,u=h("AvatarImage",s);y(u.setImageCount);let m=k(o,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:u.imageLoadingStatus,setLoadingStatus:u.setImageLoadingStatus}),f=(0,i.useCallbackRef)(e=>{d?.(e)}),p=r.useRef(m);return(0,a.useLayoutEffect)(()=>{let e=p.current;p.current=m,m!==e&&f(m)},[m,f]),"loaded"===m?(0,t.jsx)(l.Primitive.img,{...c,ref:n,src:o}):null},"AvatarImage")),w=r.forwardRef(d(function(e,n){let{__scopeAvatar:s,delayMs:i,...a}=e,o=h("AvatarFallback",s),[d,c]=r.useState(void 0===i);return r.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>c(!0),i);return()=>window.clearTimeout(e)}},[i]),d&&"loaded"!==o.imageLoadingStatus?(0,t.jsx)(l.Primitive.span,{...a,ref:n}):null},"AvatarFallback"));function k(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:n,crossOrigin:s}){return(0,a.useLayoutEffect)(()=>{if(!e)return void r("error");let t=new window.Image,i=d(e=>{r(b(e.currentTarget))},"handleLoad"),a=d(()=>r("error"),"handleError");return t.addEventListener("load",i),t.addEventListener("error",a),n&&(t.referrerPolicy=n),t.crossOrigin=s??null,t.src=e,r(b(t)),()=>{t.removeEventListener("load",i),t.removeEventListener("error",a),r("idle")}},[e,s,n,r]),t}function b(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function v(){let e=f;if(n.IS_DEVELOPMENT){let[t]=e=r.useState(0),n=r.useRef(!1);r.useEffect(()=>{t>1&&!n.current&&(n.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function y(e){n.IS_DEVELOPMENT&&r.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}d(k,"useImageLoadingStatus"),d(b,"getImageLoadingStatus"),d(v,"useImageCount"),d(y,"useUpdateImageCount"),e.s(["Avatar",0,x,"AvatarFallback",0,w,"AvatarImage",0,g,"Fallback",0,w,"Image",0,g,"Root",0,x,"createAvatarScope",0,m],97456);var j=e.i(97456),j=j,I=e.i(975157);e.s(["Avatar",0,function({className:e,size:r="default",...n}){return(0,t.jsx)(j.Root,{className:(0,I.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":r,"data-slot":"avatar",...n})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(j.Fallback,{className:(0,I.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(j.Image,{className:(0,I.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...r})}],799676)},24071,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],24071)},170428,e=>{"use strict";let t=(0,e.i(456420).default)("git-compare-arrows",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]]);e.s(["GitCompareArrows",0,t],170428)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,144716,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},967489,470152,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);function o(e,[t,r]){return Math.min(r,Math.max(t,e))}e.s(["clamp",0,o],470152);var l=e.i(981140),i=e.i(75830),a=e.i(820783),s=e.i(30030),c=e.i(586318),u=e.i(726330),d=e.i(303536),p=e.i(765491),f=e.i(610772),v=e.i(853660),h=e.i(774606),m=e.i(296626),g=e.i(248425),x=e.i(991918),w=e.i(30207),S=e.i(369340),b=e.i(934620),y=e.i(959411),C=e.i(186312),j=e.i(985369),I=Object.defineProperty,P=(e,t)=>I(e,"name",{value:t,configurable:!0}),E=[" ","Enter","ArrowUp","ArrowDown"],R=[" ","Enter"],T="Select",[k,L,D]=(0,i.createCollection)(T),[H,M]=(0,s.createContextScope)(T,[D,v.createPopperScope]),_=(0,v.createPopperScope)(),[B,A]=H(T),[z,V]=H(T);function N(e){let{__scopeSelect:n,children:o,open:l,defaultOpen:i,onOpenChange:a,value:s,defaultValue:u,onValueChange:d,dir:p,name:h,autoComplete:m,disabled:g,required:x,form:w,internal_do_not_use_render:b}=e,y=_(n),[C,j]=r.useState(null),[I,E]=r.useState(null),[R,L]=r.useState(!1),D=(0,c.useDirection)(p),[H,M]=(0,S.useControllableState)({prop:l,defaultProp:i??!1,onChange:a,caller:T}),[A,V]=(0,S.useControllableState)({prop:s,defaultProp:u,onChange:d,caller:T}),N=r.useRef(null),F=r.useRef(A);r.useEffect(()=>{let e=w?C?.ownerDocument.getElementById(w):C?.form;if(e instanceof HTMLFormElement){let t=P(()=>V(F.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,C,V]);let O=!C||!!w||!!C.closest("form"),[U,K]=r.useState(new Set),W=(0,f.useId)(),G=Array.from(U).map(e=>e.props.value).join(";"),Y=r.useCallback(e=>{K(t=>new Set(t).add(e))},[]),q=r.useCallback(e=>{K(t=>{let r=new Set(t);return r.delete(e),r})},[]),X={required:x,trigger:C,onTriggerChange:j,valueNode:I,onValueNodeChange:E,valueNodeHasChildren:R,onValueNodeHasChildrenChange:L,contentId:W,value:A,onValueChange:V,open:H,onOpenChange:M,dir:D,triggerPointerDownPosRef:N,disabled:g,name:h,autoComplete:m,form:w,nativeOptions:U,nativeSelectKey:G,isFormControl:O};return(0,t.jsx)(v.Root,{...y,children:(0,t.jsx)(B,{scope:n,...X,children:(0,t.jsx)(k.Provider,{scope:n,children:(0,t.jsx)(z,{scope:n,onNativeOptionAdd:Y,onNativeOptionRemove:q,children:eP(b)?b(X):o})})})})}P(N,"SelectProvider");var F=P(e=>{let{__scopeSelect:r,children:n,...o}=e;return(0,t.jsx)(N,{__scopeSelect:r,...o,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[n,e?(0,t.jsx)(eI,{__scopeSelect:r}):null]})})},"Select"),O=r.forwardRef(P(function(e,n){let{__scopeSelect:o,disabled:i=!1,...s}=e,c=_(o),u=A("SelectTrigger",o),d=u.disabled||i,p=(0,a.useComposedRefs)(n,u.onTriggerChange),f=L(o),h=r.useRef("touch"),[m,x,w]=eR(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===u.value),n=eT(t,e,r);void 0!==n&&u.onValueChange(n.value)}),S=P(e=>{d||(u.onOpenChange(!0),w()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},"handleOpen");return(0,t.jsx)(v.Anchor,{asChild:!0,...c,children:(0,t.jsx)(g.Primitive.button,{type:"button",role:"combobox","aria-controls":u.open?u.contentId:void 0,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":eE(u.value)?"":void 0,...s,ref:p,onClick:(0,l.composeEventHandlers)(s.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&S(e)}),onPointerDown:(0,l.composeEventHandlers)(s.onPointerDown,e=>{h.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(S(e),e.preventDefault())}),onKeyDown:(0,l.composeEventHandlers)(s.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||x(e.key),(!t||" "!==e.key)&&E.includes(e.key)&&(S(),e.preventDefault())})})})},"SelectTrigger")),U=r.forwardRef(P(function(e,n){let{__scopeSelect:o,className:l,style:i,children:s,placeholder:c="",...u}=e,d=A("SelectValue",o),{onValueNodeHasChildrenChange:p}=d,f=void 0!==s,v=(0,a.useComposedRefs)(n,d.onValueNodeChange);(0,b.useLayoutEffect)(()=>{p(f)},[p,f]);let h=eE(d.value);return(0,t.jsx)(g.Primitive.span,{...u,asChild:!h&&u.asChild,ref:v,style:{pointerEvents:"none"},children:(0,t.jsx)(r.Fragment,{children:h?c:s},h?"placeholder":"value")})},"SelectValue")),K=r.forwardRef(P(function(e,r){let{__scopeSelect:n,children:o,...l}=e;return(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...l,ref:r,children:o||"▼"})},"SelectIcon")),[W,G]=H("SelectPortal",{forceMount:void 0}),Y=P(e=>{let{__scopeSelect:r,forceMount:n,...o}=e;return(0,t.jsx)(W,{scope:e.__scopeSelect,forceMount:n,children:(0,t.jsx)(h.Portal,{asChild:!0,...o})})},"SelectPortal"),q="SelectContent",X=r.forwardRef(P(function(e,n){let o=G(q,e.__scopeSelect),{forceMount:l=o.forceMount,...i}=e,a=A(q,e.__scopeSelect),[s,c]=r.useState();return(0,b.useLayoutEffect)(()=>{c(new DocumentFragment)},[]),(0,t.jsx)(m.Presence,{present:l||a.open,children:({present:e})=>e?(0,t.jsx)(ee,{...i,ref:n}):(0,t.jsx)(Z,{...i,fragment:s})})},"SelectContent")),Z=r.forwardRef(P(function(e,r){let{__scopeSelect:o,children:l,fragment:i}=e;return i?n.createPortal((0,t.jsx)(J,{scope:o,children:(0,t.jsx)(k.Slot,{scope:o,children:(0,t.jsx)("div",{ref:r,children:l})})}),i):null},"SelectContentFragment")),[J,Q]=H(q),$=(0,x.createSlot)("SelectContent.RemoveScroll"),ee=r.forwardRef(P(function(e,n){let{__scopeSelect:o}=e,{position:i="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:c,onPointerDownOutside:f,side:v,sideOffset:h,align:m,alignOffset:g,arrowPadding:x,collisionBoundary:w,collisionPadding:S,sticky:b,hideWhenDetached:y,avoidCollisions:I,...E}=e,R=A(q,o),[T,k]=r.useState(null),[D,H]=r.useState(null),M=(0,a.useComposedRefs)(n,k),[_,B]=r.useState(null),[z,V]=r.useState(null),N=L(o),[F,O]=r.useState(!1),U=r.useRef(!1);r.useEffect(()=>{if(T)return(0,C.hideOthers)(T)},[T]),(0,d.useFocusGuards)();let K=r.useCallback(e=>{let[t,...r]=N().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(r?.scrollIntoView({block:"nearest"}),r===t&&D&&(D.scrollTop=0),r===n&&D&&(D.scrollTop=D.scrollHeight),r?.focus(),document.activeElement!==o))return},[N,D]),W=r.useCallback(()=>K([_,T]),[K,_,T]);r.useEffect(()=>{F&&W()},[F,W]);let{onOpenChange:G,triggerPointerDownPosRef:Y}=R;r.useEffect(()=>{if(T){let e={x:0,y:0},t=P(t=>{e={x:Math.abs(Math.round(t.pageX)-(Y.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(Y.current?.y??0))}},"handlePointerMove"),r=P(r=>{e.x<=10&&e.y<=10?r.preventDefault():r.composedPath().includes(T)||G(!1),document.removeEventListener("pointermove",t),Y.current=null},"handlePointerUp");return null!==Y.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[T,G,Y]),r.useEffect(()=>{let e=P(()=>G(!1),"close");return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[G]);let[X,Z]=eR(e=>{let t=N().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eT(t,e,r);n&&setTimeout(()=>n.ref.current?.focus())}),Q=r.useCallback((e,t,r)=>{let n=!U.current&&!r;(void 0!==R.value&&R.value===t||n)&&(B(e),n&&(U.current=!0))},[R.value]),ee=r.useCallback(()=>T?.focus(),[T]),en=r.useCallback((e,t,r)=>{let n=!U.current&&!r;(void 0!==R.value&&R.value===t||n)&&V(e)},[R.value]),eo="popper"===i?er:et;return(0,t.jsx)(J,{scope:o,content:T,viewport:D,onViewportChange:H,itemRefCallback:Q,selectedItem:_,onItemLeave:ee,itemTextRefCallback:en,focusSelectedItem:W,selectedItemText:z,position:i,isPositioned:F,searchRef:X,children:(0,t.jsx)(j.RemoveScroll,{as:$,allowPinchZoom:!0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.composeEventHandlers)(s,e=>{R.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,t.jsx)(eo,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...E,...eo===er?{side:v,sideOffset:h,align:m,alignOffset:g,arrowPadding:x,collisionBoundary:w,collisionPadding:S,sticky:b,hideWhenDetached:y,avoidCollisions:I}:{},onPlaced:()=>O(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:(0,l.composeEventHandlers)(E.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>K(t)),e.preventDefault()}})})})})})})},"SelectContentImpl")),et=r.forwardRef(P(function(e,n){let{__scopeSelect:l,onPlaced:i,...s}=e,c=A(q,l),u=Q(q,l),[d,p]=r.useState(null),[f,v]=r.useState(null),h=(0,a.useComposedRefs)(n,v),m=L(l),x=r.useRef(!1),w=r.useRef(!0),{viewport:S,selectedItem:y,selectedItemText:C,focusSelectedItem:j}=u,I=r.useCallback(()=>{if(c.trigger&&c.valueNode&&d&&f&&S&&y&&C){let e=c.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),r=c.valueNode.getBoundingClientRect(),n=C.getBoundingClientRect();if("rtl"!==c.dir){let l=n.left-t.left,i=r.left-l,a=e.left-i,s=e.width+a,c=Math.max(s,t.width),u=o(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.left=u+"px"}else{let l=t.right-n.right,i=window.innerWidth-r.right-l,a=window.innerWidth-e.right-i,s=e.width+a,c=Math.max(s,t.width),u=o(i,[10,Math.max(10,window.innerWidth-10-c)]);d.style.minWidth=s+"px",d.style.right=u+"px"}let l=m(),a=window.innerHeight-20,s=S.scrollHeight,u=window.getComputedStyle(f),p=parseInt(u.borderTopWidth,10),v=parseInt(u.paddingTop,10),h=parseInt(u.borderBottomWidth,10),g=p+v+s+parseInt(u.paddingBottom,10)+h,w=Math.min(5*y.offsetHeight,g),b=window.getComputedStyle(S),j=parseInt(b.paddingTop,10),I=parseInt(b.paddingBottom,10),P=e.top+e.height/2-10,E=y.offsetHeight/2,R=p+v+(y.offsetTop+E);if(R<=P){let e=l.length>0&&y===l[l.length-1].ref.current;d.style.bottom="0px";let t=Math.max(a-P,E+(e?I:0)+(f.clientHeight-S.offsetTop-S.offsetHeight)+h);d.style.height=R+t+"px"}else{let e=l.length>0&&y===l[0].ref.current;d.style.top="0px";let t=Math.max(P,p+S.offsetTop+(e?j:0)+E);d.style.height=t+(g-R)+"px",S.scrollTop=R-P+S.offsetTop}d.style.margin="10px 0",d.style.minHeight=w+"px",d.style.maxHeight=a+"px",i?.(),requestAnimationFrame(()=>x.current=!0)}},[m,c.trigger,c.valueNode,d,f,S,y,C,c.dir,i]);(0,b.useLayoutEffect)(()=>I(),[I]);let[P,E]=r.useState();(0,b.useLayoutEffect)(()=>{f&&E(window.getComputedStyle(f).zIndex)},[f]);let R=r.useCallback(e=>{e&&!0===w.current&&(I(),j?.(),w.current=!1)},[I,j]);return(0,t.jsx)(en,{scope:l,contentWrapper:d,shouldExpandOnScrollRef:x,onScrollButtonChange:R,children:(0,t.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:(0,t.jsx)(g.Primitive.div,{...s,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),er=r.forwardRef(P(function(e,r){let{__scopeSelect:n,align:o="start",collisionPadding:l=10,...i}=e,a=_(n);return(0,t.jsx)(v.Content,{...a,...i,ref:r,align:o,collisionPadding:l,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[en,eo]=H(q,{}),el="SelectViewport",ei=r.forwardRef(P(function(e,n){let{__scopeSelect:o,nonce:i,...s}=e,c=Q(el,o),u=eo(el,o),d=(0,a.useComposedRefs)(n,c.onViewportChange),p=r.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,t.jsx)(k.Slot,{scope:o,children:(0,t.jsx)(g.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:(0,l.composeEventHandlers)(s.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=u;if(n?.current&&r){let e=Math.abs(p.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let l=o+e,i=Math.min(n,l),a=l-i;r.style.height=i+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})},"SelectViewport")),[ea,es]=H("SelectGroup"),ec=r.forwardRef(P(function(e,r){let{__scopeSelect:n,...o}=e,l=(0,f.useId)();return(0,t.jsx)(ea,{scope:n,id:l,children:(0,t.jsx)(g.Primitive.div,{role:"group","aria-labelledby":l,...o,ref:r})})},"SelectGroup")),eu=r.forwardRef(P(function(e,r){let{__scopeSelect:n,...o}=e,l=es("SelectLabel",n);return(0,t.jsx)(g.Primitive.div,{id:l.id,...o,ref:r})},"SelectLabel")),ed="SelectItem",[ep,ef]=H(ed),ev=r.forwardRef(P(function(e,n){let{__scopeSelect:o,value:i,disabled:s=!1,textValue:c,...u}=e,d=A(ed,o),p=Q(ed,o),v=d.value===i,[h,m]=r.useState(c??""),[x,S]=r.useState(!1),b=(0,w.useCallbackRef)(e=>p.itemRefCallback?.(e,i,s)),y=(0,a.useComposedRefs)(n,b),C=(0,f.useId)(),j=r.useRef("touch"),I=P(()=>{s||(d.onValueChange(i),d.onOpenChange(!1))},"handleSelect");return(0,t.jsx)(ep,{scope:o,value:i,disabled:s,textId:C,isSelected:v,onItemTextChange:r.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(k.ItemSlot,{scope:o,value:i,disabled:s,textValue:h,children:(0,t.jsx)(g.Primitive.div,{role:"option","aria-labelledby":C,"data-highlighted":x?"":void 0,"aria-selected":v&&x,"data-state":v?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...u,ref:y,onFocus:(0,l.composeEventHandlers)(u.onFocus,()=>S(!0)),onBlur:(0,l.composeEventHandlers)(u.onBlur,()=>S(!1)),onClick:(0,l.composeEventHandlers)(u.onClick,()=>{"mouse"!==j.current&&I()}),onPointerUp:(0,l.composeEventHandlers)(u.onPointerUp,()=>{"mouse"===j.current&&I()}),onPointerDown:(0,l.composeEventHandlers)(u.onPointerDown,e=>{j.current=e.pointerType}),onPointerMove:(0,l.composeEventHandlers)(u.onPointerMove,e=>{j.current=e.pointerType,s?p.onItemLeave?.():"mouse"===j.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.composeEventHandlers)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,l.composeEventHandlers)(u.onKeyDown,e=>{s||e.target!==e.currentTarget||(p.searchRef?.current===""||" "!==e.key)&&(R.includes(e.key)&&I()," "===e.key&&e.preventDefault())})})})})},"SelectItem")),eh="SelectItemText",em=r.forwardRef(P(function(e,o){let{__scopeSelect:l,className:i,style:s,...c}=e,u=A(eh,l),d=Q(eh,l),p=ef(eh,l),f=V(eh,l),[v,h]=r.useState(null),m=(0,w.useCallbackRef)(e=>d.itemTextRefCallback?.(e,p.value,p.disabled)),x=(0,a.useComposedRefs)(o,h,p.onItemTextChange,m),S=v?.textContent,y=r.useMemo(()=>(0,t.jsx)("option",{value:p.value,disabled:p.disabled,children:S},p.value),[p.disabled,p.value,S]),{onNativeOptionAdd:C,onNativeOptionRemove:j}=f;return(0,b.useLayoutEffect)(()=>(C(y),()=>j(y)),[C,j,y]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Primitive.span,{id:p.textId,...c,ref:x}),p.isSelected&&u.valueNode&&!u.valueNodeHasChildren&&!eE(u.value)?n.createPortal(c.children,u.valueNode):null]})},"SelectItemText")),eg=r.forwardRef(P(function(e,r){let{__scopeSelect:n,...o}=e;return ef("SelectItemIndicator",n).isSelected?(0,t.jsx)(g.Primitive.span,{"aria-hidden":!0,...o,ref:r}):null},"SelectItemIndicator")),ex="SelectScrollUpButton",ew=r.forwardRef(P(function(e,n){let o=Q(ex,e.__scopeSelect),l=eo(ex,e.__scopeSelect),[i,s]=r.useState(!1),c=(0,a.useComposedRefs)(n,l.onScrollButtonChange);return(0,b.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){s(t.scrollTop>0)};P(e,"handleScroll");let t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),i?(0,t.jsx)(ey,{...e,ref:c,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null},"SelectScrollUpButton")),eS="SelectScrollDownButton",eb=r.forwardRef(P(function(e,n){let o=Q(eS,e.__scopeSelect),l=eo(eS,e.__scopeSelect),[i,s]=r.useState(!1),c=(0,a.useComposedRefs)(n,l.onScrollButtonChange);return(0,b.useLayoutEffect)(()=>{if(o.viewport&&o.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)};P(e,"handleScroll");let t=o.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[o.viewport,o.isPositioned]),i?(0,t.jsx)(ey,{...e,ref:c,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=o;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null},"SelectScrollDownButton")),ey=r.forwardRef(P(function(e,n){let{__scopeSelect:o,onAutoScroll:i,...a}=e,s=Q("SelectScrollButton",o),c=r.useRef(null),u=L(o),d=r.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),(0,b.useLayoutEffect)(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...a,ref:n,style:{flexShrink:0,...a.style},onPointerDown:(0,l.composeEventHandlers)(a.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(i,50))}),onPointerMove:(0,l.composeEventHandlers)(a.onPointerMove,()=>{s.onItemLeave?.(),null===c.current&&(c.current=window.setInterval(i,50))}),onPointerLeave:(0,l.composeEventHandlers)(a.onPointerLeave,()=>{d()})})},"SelectScrollButtonImpl")),eC=r.forwardRef(P(function(e,r){let{__scopeSelect:n,...o}=e;return(0,t.jsx)(g.Primitive.div,{"aria-hidden":!0,...o,ref:r})},"SelectSeparator")),ej=r.forwardRef(P(function(e,r){let{__scopeSelect:n,...o}=e,l=_(n);return"popper"===Q("SelectArrow",n).position?(0,t.jsx)(v.Arrow,{...l,...o,ref:r}):null},"SelectArrow")),eI=r.forwardRef(P(function({__scopeSelect:e,...n},o){let l,i=A("SelectBubbleInput",e),{value:s,onValueChange:c,required:u,disabled:d,name:p,autoComplete:f,form:v}=i,{nativeOptions:h,nativeSelectKey:m}=i,x=r.useRef(null),w=(0,a.useComposedRefs)(o,x),S=s??"",b=(l=r.useRef({value:S,previous:S}),r.useMemo(()=>(l.current.value!==S&&(l.current.previous=l.current.value,l.current.value=S),l.current.previous),[S])),C=Array.from(h).some(e=>(e.props.value??"")==="");return r.useEffect(()=>{let e=x.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(b!==S&&t){let r=new Event("change",{bubbles:!0});t.call(e,S),e.dispatchEvent(r)}},[b,S]),(0,t.jsxs)(g.Primitive.select,{"aria-hidden":!0,required:u,tabIndex:-1,name:p,autoComplete:f,disabled:d,form:v,onChange:e=>c(e.target.value),...n,style:{...y.VISUALLY_HIDDEN_STYLES,...n.style},ref:w,defaultValue:S,children:[eE(s)&&!C?(0,t.jsx)("option",{value:""}):null,Array.from(h)]},m)},"SelectBubbleInput"));function eP(e){return"function"==typeof e}function eE(e){return""===e||void 0===e}function eR(e){let t=(0,w.useCallbackRef)(e),n=r.useRef(""),o=r.useRef(0),l=r.useCallback(e=>{t(n.current+e)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,l,i]}function eT(e,t,r){let n=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1,l=ek(e,Math.max(o,0));1===n.length&&(l=l.filter(e=>e!==r));let i=l.find(e=>e.textValue.toLowerCase().startsWith(n.toLowerCase()));return i!==r?i:void 0}function ek(e,t){return e.map((r,n)=>e[(t+n)%e.length])}P(eP,"isFunction"),P(eE,"shouldShowPlaceholder"),P(eR,"useTypeaheadSearch"),P(eT,"findNextItem"),P(ek,"wrapArray"),e.s(["Arrow",0,ej,"Content",0,X,"Group",0,ec,"Icon",0,K,"Item",0,ev,"ItemIndicator",0,eg,"ItemText",0,em,"Label",0,eu,"Portal",0,Y,"Root",0,F,"ScrollDownButton",0,eb,"ScrollUpButton",0,ew,"Select",0,F,"SelectArrow",0,ej,"SelectContent",0,X,"SelectGroup",0,ec,"SelectIcon",0,K,"SelectItem",0,ev,"SelectItemIndicator",0,eg,"SelectItemText",0,em,"SelectLabel",0,eu,"SelectPortal",0,Y,"SelectScrollDownButton",0,eb,"SelectScrollUpButton",0,ew,"SelectSeparator",0,eC,"SelectTrigger",0,O,"SelectValue",0,U,"SelectViewport",0,ei,"Separator",0,eC,"Trigger",0,O,"Value",0,U,"Viewport",0,ei,"createSelectScope",0,M,"unstable_BubbleInput",0,eI,"unstable_Provider",0,N,"unstable_SelectBubbleInput",0,eI,"unstable_SelectProvider",0,N],129402);var eL=e.i(129402),eL=eL,eD=e.i(975157),eH=e.i(26495),eH=eH,eM=e.i(593698),e_=e.i(144716),e_=e_;function eB({className:e,...r}){return(0,t.jsx)(eL.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,eD.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...r,children:(0,t.jsx)(e_.default,{})})}function eA({className:e,...r}){return(0,t.jsx)(eL.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,eD.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...r,children:(0,t.jsx)(eH.default,{})})}e.s(["Select",0,function({...e}){return(0,t.jsx)(eL.Root,{"data-slot":"select",...e})},"SelectContent",0,function({className:e,children:r,position:n="item-aligned",align:o="center",...l}){return(0,t.jsx)(eL.Portal,{children:(0,t.jsxs)(eL.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===n,className:(0,eD.cn)("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,align:o,...l,children:[(0,t.jsx)(eB,{}),(0,t.jsx)(eL.Viewport,{"data-position":n,className:(0,eD.cn)("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===n&&""),children:r}),(0,t.jsx)(eA,{})]})})},"SelectItem",0,function({className:e,children:r,...n}){return(0,t.jsxs)(eL.Item,{"data-slot":"select-item",className:(0,eD.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[(0,t.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,t.jsx)(eL.ItemIndicator,{children:(0,t.jsx)(eM.CheckIcon,{className:"pointer-events-none"})})}),(0,t.jsx)(eL.ItemText,{children:r})]})},"SelectTrigger",0,function({className:e,size:r="default",children:n,...o}){return(0,t.jsxs)(eL.Trigger,{"data-slot":"select-trigger","data-size":r,className:(0,eD.cn)("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[n,(0,t.jsx)(eL.Icon,{asChild:!0,children:(0,t.jsx)(eH.default,{className:"pointer-events-none size-4 text-muted-foreground"})})]})},"SelectValue",0,function({...e}){return(0,t.jsx)(eL.Value,{"data-slot":"select-value",...e})}],967489)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)}]);
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,328523,e=>{"use strict";let t=(0,e.i(456420).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",0,t],328523)},9197,e=>{"use strict";var t=e.i(843476),r=e.i(328523),s=e.i(515281),n=e.i(21357),i=e.i(395925),l=e.i(856522),o=e.i(573474),a=e.i(948148),u=e.i(271645),c=e.i(929592),d=e.i(487486),p=e.i(519455),m=e.i(257428),h=e.i(776639),x=e.i(793479),w=e.i(110204),f=e.i(967489),g=e.i(987968),b=e.i(808562),j=e.i(637611);let y=`
|
|
2
|
+
id scope codebaseRepositoryId repositoryGithubId worktreeId branch pullRequestNumber
|
|
3
|
+
allWorkflows mode retryLimit failureStrategy status enabled lastError createdAt updatedAt
|
|
4
|
+
targets { id workflowId workflowRunId jobName }
|
|
5
|
+
executions { id workflowRunId workflowId targetKey status observedAttempt automaticRetries lastStatus lastError updatedAt }
|
|
6
|
+
`;e.s(["AutoRetryDialog",0,function({codebaseRepositoryId:e,repositoryGithubId:I,currentRuns:R=[],allowFuture:k=!1,worktreeId:S,branch:v,pullRequestNumber:D,repositoryMode:N=!1,requestSource:$,trigger:C}){let A=(0,a.useTranslations)("githubAutomation"),[E,T]=(0,u.useState)(!1),[P,W]=(0,u.useState)(!0),[q,L]=(0,u.useState)(!1),[M,G]=(0,u.useState)(null),[U,H]=(0,u.useState)([]),[B,O]=(0,u.useState)(null),[K,F]=(0,u.useState)(!1),[_,J]=(0,u.useState)([]),[z,V]=(0,u.useState)(R),[Q,Y]=(0,u.useState)(N),[X,Z]=(0,u.useState)(N),[ee,et]=(0,u.useState)(new Set),[er,es]=(0,u.useState)("FAILURE"),[en,ei]=(0,u.useState)("3"),[el,eo]=(0,u.useState)(!1),[ea,eu]=(0,u.useState)("FAILED_JOBS"),ec=(0,u.useRef)(R),ed=(0,u.useRef)(!1);(0,u.useEffect)(()=>{ec.current=R},[R]);let ep=(0,u.useCallback)(async()=>{let t=await (0,j.controlPlaneRequest)(`query GitHubAutoRetryRules($codebaseRepositoryId: ID) {
|
|
7
|
+
githubSettings { tokenConfigured }
|
|
8
|
+
githubAppSettings { configured actionsPermission }
|
|
9
|
+
githubAutoRetryRules(codebaseRepositoryId: $codebaseRepositoryId) { ${y} }
|
|
10
|
+
}`,{codebaseRepositoryId:e});H(t.githubAutoRetryRules),F(t.githubSettings.tokenConfigured&&t.githubAppSettings.configured&&"write"===t.githubAppSettings.actionsPermission)},[e]),em=(0,u.useCallback)(async()=>{J((await (0,j.controlPlaneRequest)(`query GitHubRepositoryWorkflows($codebaseRepositoryId: ID!, $source: GitHubRequestSource!) {
|
|
11
|
+
githubRepositoryWorkflows(source: $source, codebaseRepositoryId: $codebaseRepositoryId) {
|
|
12
|
+
id name path state url jobNames
|
|
13
|
+
}
|
|
14
|
+
}`,{codebaseRepositoryId:e,source:$})).githubRepositoryWorkflows)},[e,$]),eh=(0,u.useCallback)(async()=>{ed.current||W(!0),G(null);try{await ep(),N&&await em();let t=await Promise.all(ec.current.map(async t=>{if(t.jobs?.length)return t;try{let r=await (0,j.controlPlaneRequest)(`query AutoRetryWorkflowJobs($repositoryId: ID!, $workflowRunId: ID!, $source: GitHubRequestSource!) {
|
|
15
|
+
githubActionsWorkflowJobs(
|
|
16
|
+
source: $source
|
|
17
|
+
codebaseRepositoryId: $repositoryId
|
|
18
|
+
workflowRunId: $workflowRunId
|
|
19
|
+
) { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }
|
|
20
|
+
}`,{repositoryId:e,workflowRunId:t.id,source:$});return{...t,jobs:r.githubActionsWorkflowJobs}}catch{return t}}));V(t),N||et(e=>e.size?e:new Set(t.map(e=>`workflow:${e.id}`)))}catch(e){G(e instanceof Error?e.message:String(e))}finally{ed.current=!0,W(!1)}},[e,em,ep,N,$]);(0,u.useEffect)(()=>{if(!E)return;let e=window.setTimeout(()=>void eh(),0),t=window.setInterval(()=>void ep().catch(()=>void 0),1e4);return()=>{window.clearTimeout(e),window.clearInterval(t)}},[eh,E,ep]);let ex=(0,u.useMemo)(()=>Q?_.map(e=>({id:e.id,workflowId:e.id,name:e.name,jobNames:e.jobNames})):z.map(e=>({id:e.id,workflowId:e.workflowId,name:e.name,jobNames:e.jobs?.map(e=>e.name)??[]})),[Q,z,_]),ew=(0,u.useMemo)(()=>{let e=new Set(z.map(e=>e.id));return U.filter(t=>"WORKFLOW_RUN"===t.scope?t.targets.some(t=>t.workflowRunId&&e.has(t.workflowRunId)):N?"REPOSITORY"===t.scope:D?"PULL_REQUEST"===t.scope&&t.pullRequestNumber===D:"WORKTREE_BRANCH"===t.scope&&t.worktreeId===S)},[z,D,N,U,S]),ef=async()=>{let t=el&&"FAILURE"===er?null:Number(en);if(null!==t&&(!Number.isInteger(t)||t<1||t>100))return void G(A("limitError"));let r=[];for(let e of ex){let t=`workflow:${e.id}`;if(ee.has(t)){r.push({workflowId:e.workflowId,workflowRunId:Q?null:e.id,jobName:null});continue}for(let t of e.jobNames)ee.has(`job:${e.id}:${t}`)&&r.push({workflowId:e.workflowId,workflowRunId:Q?null:e.id,jobName:t})}if(!X&&0===r.length)return void G(A("targetRequired"));let s=N?"REPOSITORY":Q&&D?"PULL_REQUEST":Q?"WORKTREE_BRANCH":"WORKFLOW_RUN";L(!0);try{await (0,j.controlPlaneRequest)(`mutation SaveGitHubAutoRetryRule($input: SaveGitHubAutoRetryRuleInput!) {
|
|
21
|
+
saveGitHubAutoRetryRule(input: $input) { ${y} }
|
|
22
|
+
}`,{input:{id:B,scope:s,codebaseRepositoryId:e,repositoryGithubId:I??null,worktreeId:Q?S??null:null,branch:Q?v??null:null,pullRequestNumber:Q?D??null:null,allWorkflows:Q&&X,mode:er,retryLimit:t,failureStrategy:ea,targets:r}}),G(null),O(null),await ep()}catch(e){G(e instanceof Error?e.message:String(e))}finally{L(!1)}},eg=async e=>{try{await (0,j.controlPlaneRequest)(`mutation SetGitHubAutoRetryRuleEnabled($id: ID!, $enabled: Boolean!) {
|
|
23
|
+
setGitHubAutoRetryRuleEnabled(id: $id, enabled: $enabled) { id enabled status }
|
|
24
|
+
}`,{id:e.id,enabled:!e.enabled}),await ep()}catch(e){G(e instanceof Error?e.message:String(e))}},eb=async e=>{try{await (0,j.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await ep()}catch(e){G(e instanceof Error?e.message:String(e))}},ej=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===_.length){W(!0),G(null);try{await em()}catch(e){G(e instanceof Error?e.message:String(e));return}finally{W(!1)}}O(e.id),Y(t),Z(e.allWorkflows),es(e.mode),ei(String(e.retryLimit??3)),eo("FAILURE"===e.mode&&null===e.retryLimit),eu(e.failureStrategy),et(new Set(e.targets.map(e=>{let r=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${r}:${e.jobName}`:`workflow:${r}`})))};return(0,t.jsxs)(h.Dialog,{onOpenChange:T,open:E,children:[(0,t.jsx)(h.DialogTrigger,{asChild:!0,children:C??(0,t.jsxs)(p.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(i.RotateCcw,{})," ",A("autoRetry")]})}),(0,t.jsxs)(h.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(h.DialogHeader,{children:[(0,t.jsx)(h.DialogTitle,{children:A("title")}),(0,t.jsx)(h.DialogDescription,{children:A("description")})]}),M?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:M})}):null,P?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(g.Spinner,{})," ",A("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[K?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:A("credentialsRequired")})}),k&&!N?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:A("scope")}),(0,t.jsxs)(b.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;Y(t),Z(t),t&&0===_.length&&em().catch(e=>G(e instanceof Error?e.message:String(e))),et(t?new Set:new Set(z.map(e=>`workflow:${e.id}`)))},type:"single",value:Q?"future":"current",variant:"outline",children:[(0,t.jsx)(b.ToggleGroupItem,{value:"current",children:A("currentRuns")}),(0,t.jsx)(b.ToggleGroupItem,{value:"future",children:A("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:A("targets")}),Q?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(m.Checkbox,{checked:X,onCheckedChange:e=>Z(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:A("allWorkflows")})]}):null,X?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[ex.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(m.Checkbox,{checked:ee.has(`workflow:${e.id}`),onCheckedChange:t=>{var r,s;return r=e.id,s=!0===t,void et(e=>{let t=new Set(e),n=`workflow:${r}`;if(s)for(let e of(t.add(n),t))e.startsWith(`job:${r}:`)&&t.delete(e);else t.delete(n);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(r=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(m.Checkbox,{checked:ee.has(`job:${e.id}:${r}`),onCheckedChange:t=>{var s,n;return s=e.id,n=!0===t,void et(e=>{let t=new Set(e);t.delete(`workflow:${s}`);let i=`job:${s}:${r}`;return n?t.add(i):t.delete(i),t})}}),r]},r))}):null]},e.id)),ex.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:A("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:A("mode")}),(0,t.jsxs)(f.Select,{value:er,onValueChange:e=>es(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILURE",children:A("failureMode")}),(0,t.jsx)(f.SelectItem,{value:"COUNT",children:A("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"auto-retry-limit",children:A("retryLimit")}),(0,t.jsx)(x.Input,{disabled:"FAILURE"===er&&el,id:"auto-retry-limit",max:100,min:1,onChange:e=>ei(e.target.value),type:"number",value:en}),"FAILURE"===er?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(m.Checkbox,{checked:el,onCheckedChange:e=>eo(!0===e)}),A("unlimited")]}):null]})]}),"FAILURE"===er?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:A("failureStrategy")}),(0,t.jsxs)(f.Select,{value:ea,onValueChange:e=>eu(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILED_JOBS",children:A("failedJobs")}),(0,t.jsx)(f.SelectItem,{value:"ALL_JOBS",children:A("allJobs")})]})]})]}):null,ew.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(w.Label,{children:A("savedRules")}),ew.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(d.Badge,{variant:e.enabled?"default":"secondary",children:A(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:A(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:A("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(p.Button,{"aria-label":A("edit"),onClick:()=>void ej(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Pencil,{})}),(0,t.jsx)(p.Button,{"aria-label":e.enabled?A("pause"):A("resume"),onClick:()=>void eg(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(r.Pause,{}):(0,t.jsx)(n.Play,{})}),(0,t.jsx)(p.Button,{"aria-label":A("delete"),onClick:()=>void eb(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(o.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(h.DialogFooter,{children:[(0,t.jsx)(p.Button,{onClick:()=>T(!1),variant:"outline",children:A("close")}),(0,t.jsxs)(p.Button,{disabled:P||q||!K,onClick:()=>void ef(),children:[q?(0,t.jsx)(g.Spinner,{}):(0,t.jsx)(l.Save,{})," ",A("save")]})]})]})]})}])},321194,e=>{"use strict";var t=e.i(843476),r=e.i(861745),s=e.i(948148),n=e.i(271645),i=e.i(647776),l=e.i(799676),o=e.i(487486),a=e.i(987968),u=e.i(967489),c=e.i(637611),d=e.i(360583);e.s(["WorkflowAttemptSelect",0,function({repositoryId:e,workflowRunId:p,latestAttempt:m,requestSource:h,onAttemptChange:x}){let w=(0,s.useTranslations)("githubAutomation"),f=(0,s.useTranslations)("pullRequests"),g=(0,r.useLocale)(),[b,j]=(0,n.useState)("latest"),[y,I]=(0,n.useState)(!1),[R,k]=(0,n.useState)(!1),[S,v]=(0,n.useState)(null),[D,N]=(0,n.useState)({}),$=(0,n.useRef)({}),C=(0,n.useRef)({}),A=(0,n.useRef)({}),E=(0,n.useRef)({});if(m<=1)return null;let T=(t,r)=>{let s=r?C:$,n=r?E:A,i=s.current[t];if(i)return Promise.resolve(i);let l=n.current[t];if(l)return l;let o=(0,c.controlPlaneRequest)(`query GitHubActionsWorkflowRunAttempt(
|
|
25
|
+
$repositoryId: ID!
|
|
26
|
+
$workflowRunId: ID!
|
|
27
|
+
$attempt: Int!
|
|
28
|
+
$source: GitHubRequestSource!
|
|
29
|
+
) {
|
|
30
|
+
githubActionsWorkflowRunAttempt(
|
|
31
|
+
source: $source
|
|
32
|
+
repositoryId: $repositoryId
|
|
33
|
+
workflowRunId: $workflowRunId
|
|
34
|
+
attempt: $attempt
|
|
35
|
+
) {
|
|
36
|
+
workflowRunId runAttempt status url triggeringActor { login avatarUrl url } startedAt createdAt updatedAt
|
|
37
|
+
${r?"jobs { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }":""}
|
|
38
|
+
}
|
|
39
|
+
}`,{repositoryId:e,workflowRunId:p,attempt:t,source:h}).then(e=>{let n=e.githubActionsWorkflowRunAttempt;return s.current[t]=n,$.current[t]=n,r&&(C.current[t]=n),N(e=>({...e,[t]:n})),n});return n.current[t]=o,o.then(()=>delete n.current[t],()=>delete n.current[t]),o},P=async()=>{if(Array.from({length:m},(e,t)=>t+1).every(e=>$.current[e]))return;k(!0),v(null);let e=(await Promise.allSettled(Array.from({length:m},(e,t)=>T(m-t,!1)))).find(e=>"rejected"===e.status);e&&v(e.reason instanceof Error?e.reason.message:String(e.reason)),k(!1)},W=async e=>{if(j(e),v(null),"latest"===e)return void x(null);let t=Number(e);I(!0);try{x(await T(t,!0))}catch(e){v(e instanceof Error?e.message:String(e)),j("latest"),x(null)}finally{I(!1)}};return(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)(u.Select,{disabled:y,onOpenChange:e=>{e&&P()},onValueChange:e=>void W(e),value:b,children:[(0,t.jsxs)(u.SelectTrigger,{"aria-label":w("attemptSelector"),className:"h-8 w-48",children:[y?(0,t.jsx)(a.Spinner,{}):null,(0,t.jsx)(u.SelectValue,{children:"latest"===b?w("latestAttempt",{attempt:m}):w("attempt",{attempt:Number(b)})})]}),(0,t.jsx)(u.SelectContent,{align:"start",className:"w-80",position:"popper",children:Array.from({length:m},(e,t)=>m-t).map(e=>{var r;let s,n=D[e],c=n?.triggeringActor;return(0,t.jsx)(u.SelectItem,{className:"py-2",textValue:w("attempt",{attempt:e}),value:e===m?"latest":String(e),children:(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col items-start gap-1",children:[(0,t.jsxs)("span",{className:"flex w-full items-center gap-2",children:[(0,t.jsx)("span",{className:"font-medium",children:e===m?w("latestAttempt",{attempt:e}):w("attempt",{attempt:e})}),n?(0,t.jsx)(o.Badge,{className:(0,i.pipelineStateClass)(n.status),children:f(`pipelineStates.${n.status}`)}):R?(0,t.jsx)(a.Spinner,{className:"ml-auto"}):null]}),n?(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:(r=n.startedAt,Number.isFinite((s=new Date(r)).getTime())?(0,d.formatDateValue)(s,"short",{locale:g}):r)}):null,c?(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground",children:[(0,t.jsxs)(l.Avatar,{className:"size-4",children:[(0,t.jsx)(l.AvatarImage,{alt:"",src:c.avatarUrl}),(0,t.jsx)(l.AvatarFallback,{children:c.login.slice(0,1).toUpperCase()})]}),(0,t.jsx)("span",{className:"min-w-0 truncate",children:w("attemptStartedBy",{actor:c.login})})]}):null]})},e)})})]}),S?(0,t.jsx)("p",{className:"text-xs text-destructive",children:S}):null]})}])},606740,e=>{"use strict";var t=e.i(843476),r=e.i(832297);let s=(0,e.i(456420).default)("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);var n=e.i(271645),i=e.i(948148),l=e.i(687862),o=e.i(776639),a=e.i(755146),u=e.i(987968),c=e.i(637611),d=e.i(586592);let p=new Map,m=new Set,h=!1;e.s(["WorkflowResourceDialog",0,function({resource:e,open:r,onOpenChange:s}){let n=(0,i.useTranslations)("workflows");return(0,t.jsx)(o.Dialog,{onOpenChange:s,open:r,children:(0,t.jsxs)(o.DialogContent,{className:"max-h-[85vh] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(o.DialogHeader,{children:[(0,t.jsx)(o.DialogTitle,{children:n("resourceWorkflows")}),(0,t.jsx)(o.DialogDescription,{children:n("resourceWorkflowsDescription")})]}),(0,t.jsx)(d.WorkflowResourcePanel,{resourceId:e.id,resourceKind:e.kind,sessionData:e.sessionData})]})})},"WorkflowResourceMenuItems",0,function({resource:e,onError:o,onOpenLinked:d}){let x=(0,i.useTranslations)("workflows"),w=function(e){let[t,r]=(0,n.useState)([]),[s,i]=(0,n.useState)(0);return(0,n.useEffect)(()=>{h||(h=!0,(0,c.controlPlaneSubscriptions)().subscribe({query:"subscription QuickActionChanges { workflowsChanged { id } }"},{next:()=>{for(let e of(p.clear(),m))e()},error:()=>{h=!1},complete:()=>{h=!1}}));let e=()=>i(e=>e+1);return m.add(e),()=>{m.delete(e)}},[]),(0,n.useEffect)(()=>{let t=!1;return(function(e,t){let r=`${t??"all"}:${e}`,s=p.get(r);if(s)return s;let n=(0,c.controlPlaneRequest)(`query GitHubWorkflowQuickActions(
|
|
40
|
+
$resourceKind: String!
|
|
41
|
+
$repositoryId: ID
|
|
42
|
+
) {
|
|
43
|
+
workflowQuickActions(
|
|
44
|
+
kind: GITHUB_ACTIONS
|
|
45
|
+
resourceKind: $resourceKind
|
|
46
|
+
repositoryId: $repositoryId
|
|
47
|
+
) {
|
|
48
|
+
id name description quickActionIconKey
|
|
49
|
+
hasPlainTrigger(resourceKind: $resourceKind)
|
|
50
|
+
triggerChoices(resourceKind: $resourceKind) { key label description }
|
|
51
|
+
}
|
|
52
|
+
}`,{resourceKind:e,repositoryId:t}).then(({workflowQuickActions:e})=>e);return p.set(r,n),n.catch(()=>{p.get(r)===n&&p.delete(r)}),n})(e.kind,e.repositoryId).then(e=>{t||r(e)}).catch(()=>{t||r([])}),()=>{t=!0}},[e.kind,e.repositoryId,s]),t}(e),[f,g]=(0,n.useState)(null),b=(0,n.useCallback)(async(t,r)=>{g(t);try{await (0,c.controlPlaneRequest)(`mutation TriggerGitHubResourceWorkflow($input: TriggerWorkflowInput!) {
|
|
53
|
+
triggerWorkflow(input: $input) { id }
|
|
54
|
+
}`,{input:{workflowId:t,sessionData:e.sessionData,resourceKind:e.kind,resourceId:e.id,subjectKey:`${e.kind}:${e.id}`,choice:r}}),o(null)}catch(e){o(e instanceof Error?e.message:String(e))}finally{g(null)}},[o,e]);return(0,t.jsxs)(t.Fragment,{children:[w.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.DropdownMenuSeparator,{}),(0,t.jsx)(a.DropdownMenuLabel,{children:x("quickActions")}),w.map(e=>{let s=e.triggerChoices??[];return s.length?(0,t.jsxs)(a.DropdownMenuSub,{children:[(0,t.jsxs)(a.DropdownMenuSubTrigger,{disabled:null!==f,children:[f===e.id?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(l.ConfigurationIcon,{iconKey:e.quickActionIconKey}),e.name]}),(0,t.jsxs)(a.DropdownMenuSubContent,{children:[e.hasPlainTrigger?(0,t.jsxs)(a.DropdownMenuItem,{onSelect:()=>void b(e.id,null),children:[(0,t.jsx)(r.CirclePlay,{})," ",x("run")]}):null,s.map(s=>(0,t.jsxs)(a.DropdownMenuItem,{onSelect:()=>void b(e.id,s.key),title:s.description||void 0,children:[(0,t.jsx)(r.CirclePlay,{})," ",s.label]},s.key))]})]},e.id):(0,t.jsxs)(a.DropdownMenuItem,{disabled:null!==f||!e.hasPlainTrigger,onSelect:()=>void b(e.id,null),title:e.description||void 0,children:[f===e.id?(0,t.jsx)(u.Spinner,{}):(0,t.jsx)(l.ConfigurationIcon,{iconKey:e.quickActionIconKey}),e.name]},e.id)})]}):null,(0,t.jsx)(a.DropdownMenuSeparator,{}),(0,t.jsxs)(a.DropdownMenuItem,{onSelect:d,children:[(0,t.jsx)(s,{})," ",x("resourceWorkflows")]})]})}],606740)},975856,57119,e=>{"use strict";var t=e.i(843476),r=e.i(716327),s=e.i(867927),n=e.i(482022),i=e.i(648119),l=e.i(395925),o=e.i(948148),a=e.i(271645),u=e.i(647776),c=e.i(487486),d=e.i(519455),p=e.i(987968),m=e.i(755146),h=e.i(637611),x=e.i(606740);function w({job:e,repositoryId:r,checkSuiteId:s,requestSource:u,onRetried:c,onError:f,workflowResource:g}){let b=(0,o.useTranslations)("pullRequestDetail"),j=(0,o.useTranslations)("pullRequests"),[y,I]=(0,a.useState)(!1),[R,k]=(0,a.useState)(!1),S=async()=>{if(e.canRetry&&s){I(!0);try{await (0,h.controlPlaneRequest)(`mutation RetryGitHubWorkflowJob(
|
|
55
|
+
$repositoryId: ID!
|
|
56
|
+
$checkSuiteId: ID!
|
|
57
|
+
$jobId: ID!
|
|
58
|
+
$source: GitHubRequestSource!
|
|
59
|
+
) {
|
|
60
|
+
retryGitHubWorkflowJob(
|
|
61
|
+
repositoryId: $repositoryId
|
|
62
|
+
checkSuiteId: $checkSuiteId
|
|
63
|
+
jobId: $jobId
|
|
64
|
+
source: $source
|
|
65
|
+
)
|
|
66
|
+
}`,{repositoryId:r,checkSuiteId:s,jobId:e.id,source:u}),c?.(),f(null)}catch(e){f(e instanceof Error?e.message:String(e))}finally{I(!1)}}},v=e.retryUnavailableReason?j(`retryUnavailable.${e.retryUnavailableReason}`):void 0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(m.DropdownMenu,{children:[(0,t.jsx)(m.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(d.Button,{"aria-label":b("jobActions",{job:e.name}),size:"icon-sm",variant:"outline",children:(0,t.jsx)(i.MoreHorizontal,{})})}),(0,t.jsxs)(m.DropdownMenuContent,{align:"end",className:"w-48",children:[e.url?(0,t.jsx)(m.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.ExternalLink,{})," ",b("viewPipeline")]})}):(0,t.jsxs)(m.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(n.ExternalLink,{})," ",b("viewPipeline")]}),(0,t.jsx)(m.DropdownMenuSeparator,{}),(0,t.jsxs)(m.DropdownMenuItem,{disabled:y||!e.canRetry||!s,onSelect:()=>void S(),title:v,children:[y?(0,t.jsx)(p.Spinner,{}):(0,t.jsx)(l.RotateCcw,{}),j(y?"retrying":"retry")]}),g?(0,t.jsx)(x.WorkflowResourceMenuItems,{onError:f,onOpenLinked:()=>k(!0),resource:g}):null]})]}),g?(0,t.jsx)(x.WorkflowResourceDialog,{onOpenChange:k,open:R,resource:g}):null]})}e.s(["WorkflowJob",0,function({job:e,repositoryId:n,checkSuiteId:i,requestSource:l,onRetried:d,onError:p,workflowResource:m}){let h=(0,o.useTranslations)("pullRequestDetail"),x=(0,o.useTranslations)("pullRequests"),[f,g]=(0,a.useState)(!1);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1.5",children:[(0,t.jsxs)("button",{"aria-expanded":f,"aria-label":h(f?"hideJobSteps":"showJobSteps",{job:e.name}),className:"flex min-w-0 flex-1 items-center gap-2 rounded-md px-2 py-2 text-left hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:()=>g(e=>!e),type:"button",children:[f?(0,t.jsx)(r.ChevronDown,{className:"size-4 shrink-0"}):(0,t.jsx)(s.ChevronRight,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-sm font-medium",children:e.name}),(0,t.jsx)(c.Badge,{className:(0,u.pipelineStateClass)(e.status),children:x(`pipelineStates.${e.status}`)})]}),(0,t.jsx)(w,{checkSuiteId:i,job:e,onError:p,onRetried:d,repositoryId:n,requestSource:l,workflowResource:m})]}),f&&(0,t.jsxs)("div",{className:"mb-3 w-full rounded-md border bg-background p-3",children:[(0,t.jsx)("p",{className:"mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:h("steps")}),0===e.steps.length?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:h("noSteps")}):(0,t.jsx)("ol",{className:"space-y-2",children:e.steps.map(e=>(0,t.jsxs)("li",{className:"flex items-center gap-3 text-sm",children:[(0,t.jsx)("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] text-muted-foreground",children:e.number}),(0,t.jsx)("span",{className:"min-w-0 flex-1",children:e.name}),(0,t.jsx)(c.Badge,{className:(0,u.pipelineStateClass)(e.status),children:x(`pipelineStates.${e.status}`)})]},e.number))})]})]})}],975856);var f=e.i(596930);e.s(["githubJobWorkflowResource",0,function(e,t,r,s){let n=r??`github-${s}`;return{kind:"GITHUB_JOB",id:(0,f.githubJobResourceId)(n,t.id),repositoryId:r,sessionData:{...e.sessionData,job:{id:t.id,name:t.name,status:t.status,url:t.url,runAttempt:t.runAttempt}}}},"githubPipelineWorkflowResource",0,function(e,t={}){let r=e.codebaseRepositoryId??`github-${e.repositoryGithubId}`,s=e.pullRequests??[],n=t.worktree??(e.worktreeId?{id:e.worktreeId}:null),i=t.pullRequest??(!n&&s[0]?{number:s[0].number,url:s[0].url}:null),l=t.ticketKey??i?.jiraKey??e.jiraKey??null;return{kind:"GITHUB_PIPELINE",id:(0,f.githubPipelineResourceId)(r,e.workflowRunId,e.id),repositoryId:e.codebaseRepositoryId,sessionData:{repo:{id:e.codebaseRepositoryId,githubId:e.repositoryGithubId,displayOrigin:e.repositoryNameWithOwner,url:e.repositoryUrl},pipeline:{id:e.id,runId:e.workflowRunId??e.id,workflowId:e.workflowId,name:e.name,displayTitle:e.displayTitle,status:e.status,url:e.url,checkSuiteId:e.checkSuiteId,runNumber:e.runNumber,runAttempt:e.runAttempt,headBranch:e.headBranch,headSha:e.headSha,pullRequests:s,jiraKey:e.jiraKey},...i?{pr:i}:{},...n?{worktree:n}:{},...l?{ticket:{key:l}}:{}}}}],57119)},847211,e=>{"use strict";let t=(0,e.i(456420).default)("ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]);e.s(["Ban",0,t],847211)},567153,e=>{"use strict";var t=e.i(843476),r=e.i(847211),s=e.i(489002),n=e.i(482022),i=e.i(269846),l=e.i(882505),o=e.i(648119),a=e.i(395925),u=e.i(948148),c=e.i(271645),d=e.i(340953),p=e.i(9197),m=e.i(519455),h=e.i(755146),x=e.i(987968),w=e.i(520133),f=e.i(637611),g=e.i(940276),b=e.i(606740);let j=new Set(["ACTION_REQUIRED","EXPECTED","IN_PROGRESS","PENDING","QUEUED"]);e.s(["WorkflowRunActionsMenu",0,function({run:e,requestSource:y,jobs:I=[],includeAutoRetry:R=!1,includeWorktree:k=!1,onCancelled:S,onRetried:v,onError:D,viewAllHref:N,workflowResource:$,autoRetryContext:C}){let A=(0,u.useTranslations)("actionsPage"),E=(0,u.useTranslations)("pullRequestDetail"),T=(0,u.useTranslations)("pullRequests"),[P,W]=(0,c.useState)(!1),[q,L]=(0,c.useState)(null),[M,G]=(0,c.useState)(!1),[U,H]=(0,c.useState)(!1),B=async()=>{if(e.canRetry&&e.checkSuiteId){W(!0);try{await (0,f.controlPlaneRequest)(`mutation RetryGitHubPipeline(
|
|
67
|
+
$repositoryId: ID!
|
|
68
|
+
$checkSuiteId: ID!
|
|
69
|
+
$source: GitHubRequestSource!
|
|
70
|
+
) {
|
|
71
|
+
retryGitHubPipeline(
|
|
72
|
+
repositoryId: $repositoryId
|
|
73
|
+
checkSuiteId: $checkSuiteId
|
|
74
|
+
source: $source
|
|
75
|
+
) { id }
|
|
76
|
+
}`,{repositoryId:e.repositoryGithubId,checkSuiteId:e.checkSuiteId,source:y}),v?.(),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{W(!1)}}},O=async t=>{if(e.codebaseRepositoryId&&j.has(e.status)&&!q){L(t?"force":"cancel");try{await (0,f.controlPlaneRequest)(`mutation CancelGitHubActionsWorkflowRun(
|
|
77
|
+
$codebaseRepositoryId: ID!
|
|
78
|
+
$workflowRunId: ID!
|
|
79
|
+
$force: Boolean!
|
|
80
|
+
$source: GitHubRequestSource!
|
|
81
|
+
) {
|
|
82
|
+
cancelGitHubActionsWorkflowRun(
|
|
83
|
+
codebaseRepositoryId: $codebaseRepositoryId
|
|
84
|
+
workflowRunId: $workflowRunId
|
|
85
|
+
force: $force
|
|
86
|
+
source: $source
|
|
87
|
+
)
|
|
88
|
+
}`,{codebaseRepositoryId:e.codebaseRepositoryId,workflowRunId:e.id,force:t,source:y}),S?.(),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}finally{L(null)}}},K=e.retryUnavailableReason?T(`retryUnavailable.${e.retryUnavailableReason}`):void 0,F=!!e.codebaseRepositoryId&&j.has(e.status);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.DropdownMenu,{children:[(0,t.jsx)(h.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(m.Button,{"aria-label":`${A("actions")}: ${e.displayTitle}`,size:"icon-sm",variant:"outline",children:(0,t.jsx)(o.MoreHorizontal,{})})}),(0,t.jsxs)(h.DropdownMenuContent,{align:"end",className:"w-44",children:[e.url?(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.ExternalLink,{}),A("view")]})}):(0,t.jsxs)(h.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(n.ExternalLink,{}),A("view")]}),N?(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(w.Link,{href:N,children:[(0,t.jsx)(l.List,{}),E("viewAll")]})}):null,k?e.worktreeId?(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(w.Link,{href:(0,g.worktreeDetailHref)(e.worktreeId),children:[(0,t.jsx)(i.GitBranch,{}),A("worktree")]})}):(0,t.jsxs)(h.DropdownMenuItem,{disabled:!0,children:[(0,t.jsx)(i.GitBranch,{}),A("worktree")]}):null,(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsxs)(h.DropdownMenuItem,{disabled:!!q||!F,onSelect:()=>void O(!1),children:["cancel"===q?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(s.CircleStop,{}),A("cancel"===q?"cancelling":"cancel")]}),(0,t.jsxs)(h.DropdownMenuItem,{disabled:!!q||!F,onSelect:()=>G(!0),variant:"destructive",children:["force"===q?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(r.Ban,{}),A("force"===q?"forceCancelling":"forceCancel")]}),(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsxs)(h.DropdownMenuItem,{disabled:P||!e.canRetry||!e.checkSuiteId,onSelect:()=>void B(),title:K,children:[P?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(a.RotateCcw,{}),T(P?"retrying":"retry")]}),R&&e.codebaseRepositoryId?(0,t.jsx)(p.AutoRetryDialog,{allowFuture:C?.allowFuture,branch:C?.branch,codebaseRepositoryId:e.codebaseRepositoryId,currentRuns:C?.currentRuns??[{id:e.id,workflowId:e.workflowId,name:e.name,jobs:I}],pullRequestNumber:C?.pullRequestNumber,repositoryGithubId:e.repositoryGithubId,requestSource:y,worktreeId:C?.worktreeId,trigger:(0,t.jsxs)(h.DropdownMenuItem,{onSelect:e=>e.preventDefault(),children:[(0,t.jsx)(a.RotateCcw,{}),A("autoRetry")]})}):null,$?(0,t.jsx)(b.WorkflowResourceMenuItems,{onError:D,onOpenLinked:()=>H(!0),resource:$}):null]})]}),(0,t.jsx)(d.ConfirmationDialog,{actionLabel:A("forceCancel"),cancelLabel:A("keepRunning"),description:A("forceCancelDescription"),onConfirm:()=>O(!0),onOpenChange:G,open:M,title:A("forceCancelTitle")}),$?(0,t.jsx)(b.WorkflowResourceDialog,{onOpenChange:H,open:U,resource:$}):null]})},"actionsForBranchHref",0,function(e,t,r){let s=new URLSearchParams({repository:e,branch:t});return r&&s.set("pipeline",r),`/actions?${s.toString()}`}])}]);
|