@ai-development-environment/server 0.0.64 → 0.0.66
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 +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +7 -7
- package/standalone/.next/routes-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/actions/page.js +9 -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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +10 -9
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -9
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +9 -8
- 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 +10 -9
- 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 +9 -8
- 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/page.js +5 -6
- package/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +2 -3
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -3
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -2
- 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/page.js +6 -6
- package/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +2 -2
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- 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/icon.svg/route/app-paths-manifest.json +3 -0
- package/standalone/.next/server/app/icon.svg/route.js +7 -0
- package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.nft.json +1 -1
- package/standalone/.next/server/app/icon.svg.body +7 -0
- package/standalone/.next/server/app/icon.svg.meta +1 -0
- package/standalone/.next/server/app-paths-manifest.json +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0yx69ig._.js → [root-of-the-server]__0-84fg8._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__05k_3_s._.js → [root-of-the-server]__009x0z2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0efv9_l._.js → [root-of-the-server]__00z8p9y._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__05rm8ki._.js → [root-of-the-server]__00zjx8v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06dz512._.js → [root-of-the-server]__0108ovu._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-b1prw._.js → [root-of-the-server]__026fuz3._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03ov9dn._.js → [root-of-the-server]__02rtolt._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0cqe8td._.js → [root-of-the-server]__03jsvik._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0g-h70v._.js → [root-of-the-server]__03qoaib._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__04dzkv1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-irvqy._.js → [root-of-the-server]__04qz0t4._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_1h4vu._.js → [root-of-the-server]__0525unf._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_ftuni._.js → [root-of-the-server]__05rg4l-._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__082w26v._.js → [root-of-the-server]__06hj05o._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__04x0a1c._.js → [root-of-the-server]__06ky77b._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__07dl76m._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__07lj58j._.js → [root-of-the-server]__080yx90._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__092univ._.js → [root-of-the-server]__09ahnvy._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0_15xc-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ag7r5h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0auu4ur._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__06h8dq4._.js → [root-of-the-server]__0b6u3hm._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0c7d4-l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0e29qi2._.js → [root-of-the-server]__0clxa1e._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0ct8jx4._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0njzyae._.js → [root-of-the-server]__0f5i_w7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0f5nrrj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0g6p_vk._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0geo53e._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0gm326z._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__17v3iu3._.js → [root-of-the-server]__0h3ebj4._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ikzng1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0t_1g6x._.js → [root-of-the-server]__0j_nyf2._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0kdlmtc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kee07e._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0l1u1gn._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ml6lm4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ml_vg1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1amrm18._.js → [root-of-the-server]__0n_fyd7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ni1vsm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0op0ksd._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1r3djqb._.js → [root-of-the-server]__0or_-9-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0qevkot._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qw7nbl._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r1_ixf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r9tzc-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0rblf36._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0t8w8s1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0tq7irh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0w92g7m._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1n2pfid._.js → [root-of-the-server]__0x-levx._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0rwzlp5._.js → [root-of-the-server]__0x-op-8._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0xgvhjp._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gedsnc._.js → [root-of-the-server]__0xh2c4w._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0y0slxx._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__05nr3-b._.js → [root-of-the-server]__1-6j7m7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__10idyu-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__10s4sox._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11_o01g._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11kac51._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11kloxg._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__11l4ah2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__144civ6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0xl63a7._.js → [root-of-the-server]__15vk324._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__004x00m._.js → [root-of-the-server]__1612_6b._.js} +3 -3
- package/standalone/.next/server/chunks/{[root-of-the-server]__1w_r8ug._.js → [root-of-the-server]__16ctc_x._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__16i9fgq._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eplbf8._.js → [root-of-the-server]__16za65_._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0su5xbh._.js → [root-of-the-server]__17uvvtp._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ca92tw._.js → [root-of-the-server]__181u-50._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__19w7v-1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_03ry9._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_0sxkf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1bz-ove._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1d544vz._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1eakyie._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ec06ra._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1f4ll78._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fciim1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fzguue._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1g_pm2h._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1hehuys._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1hkesat._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1igabyc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1j3p81t._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1fnlj9e._.js → [root-of-the-server]__1jiqzv7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1khif08._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1l7na8t._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1lqk_1l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1f0zhzz._.js → [root-of-the-server]__1ntp_8b._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1o735xr._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pbz-_z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pc1fof._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1pdsbcp._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1rwxvwo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1scazi_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1tercjh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1tufkj3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1em0xu9._.js → [root-of-the-server]__1tzp9l_._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1tzvm2c._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__098thvo._.js → [root-of-the-server]__1u02b33._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1uktrb_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1uuljo2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1uzbfnh._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1vo611v._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__11_l9kh._.js → [root-of-the-server]__1vvbh64._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1w7xrap._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1wf8j4j._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1yh9ong._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20kepfu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20zeh4u._.js +3 -0
- package/standalone/.next/server/chunks/_0_3-lke._.js +1 -0
- package/standalone/.next/server/chunks/_0d87yp6._.js +9 -9
- package/standalone/.next/server/chunks/_0rjgtla._.js +9 -9
- package/standalone/.next/server/chunks/_1_sa5xl._.js +9 -9
- package/standalone/.next/server/chunks/_1hmzed-._.js +10 -9
- package/standalone/.next/server/chunks/_1pc6dt_._.js +9 -9
- package/standalone/.next/server/chunks/_1xuucni._.js +9 -9
- package/standalone/.next/server/chunks/_1ya6q3e._.js +9 -9
- package/standalone/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-nmpo4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__035ah95._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03htoos._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07g-dcf._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07o9wxs._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07yba-3._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0_h6gcn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a2k3wl._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e2zd6a._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ev3co8._.js +15 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g97wq6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0hffslr._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08m_tud._.js → [root-of-the-server]__0hjxkdi._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0k4ez8d._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ku4-gt._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0m-hniz._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz4xqn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nrhlo1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nwri5e._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pm0lfb._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz8uku._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0teoe9r._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tqu_-g._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trbjua._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trd400._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0uitlw_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vf1nl9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w7sf8p._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0y7poop._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z44pow._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z8pyri._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-ekcm6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-kuj-x._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-l86k4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-stxfp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-y0-y1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-zjws7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11_ura1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11e_ush._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__064h18r._.js → [root-of-the-server]__13beyr1._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__144o_m2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14716hz._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__15afg_k._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1widz3b._.js → [root-of-the-server]__15i7cjm._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18hn0ba._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18xaup0._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_kd0zp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1kzbjl5._.js → [root-of-the-server]__1ajyyyc._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1bqsv1x._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js +33 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e6s0dp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1eeinxy._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gicvs6._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ig0mvn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jul617._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1kmmedb._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1lcx3wl._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mkv95v._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mqo265._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n-_juh._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n2bb8k._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1okxdoj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1oyf93w._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sibh0c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1u6u95-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ugkys4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wt2qk7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1xkz789._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1zee4_f._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__200o9rg._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_025obfj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_02p3_1f._.js → _06847sj._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_0158tm3._.js → _06qt0zv._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_07efxez._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_09zgs6p._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_0b1cffx._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0dk3o3t._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_1unm3n-._.js → _0e-0l2x._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0g0tkbz._.js +25 -0
- package/standalone/.next/server/chunks/ssr/_0ic39-0._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0tdpr8l._.js +24 -0
- package/standalone/.next/server/chunks/ssr/{_154hqy7._.js → _0ts4sjm._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_1-hzwuw._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_1gn-87l._.js → _1-nj75c._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_13xt_zi._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_147mao_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0sbsue7._.js → _1a1rayj._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1chb2gj._.js +15 -0
- package/standalone/.next/server/chunks/ssr/{_1ez5-ch._.js → _1dlzyoe._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1egb8wy._.js +24 -0
- package/standalone/.next/server/chunks/ssr/{_1nbvse5._.js → _1hbqlql._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1i3r6hw._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1m3dqvf._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_1x300f_._.js → _1mq_tjd._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1r0si5-._.js +12 -0
- package/standalone/.next/server/chunks/ssr/_1snpyu-._.js +37 -0
- package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_1zcjc_c._.js +3 -0
- 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_1s0gh8q._.js → node_modules_0bu774t._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/node_modules_1wi_9si._.js +5 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0tgylba.js → node_modules_next_dist_esm_build_templates_app-page_0-672k_.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1o590o6.js → node_modules_next_dist_esm_build_templates_app-page_008b3o9.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0zcmig1.js → node_modules_next_dist_esm_build_templates_app-page_01_4ytp.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1jkj0iw.js → node_modules_next_dist_esm_build_templates_app-page_02pbsix.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1zm3rvo.js → node_modules_next_dist_esm_build_templates_app-page_038kb-1.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1hrd-wc.js → node_modules_next_dist_esm_build_templates_app-page_03leii_.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1yuldl0.js → node_modules_next_dist_esm_build_templates_app-page_03pxgnn.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_085xqtq.js → node_modules_next_dist_esm_build_templates_app-page_03wc4xw.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0b6vak2.js → node_modules_next_dist_esm_build_templates_app-page_03zcfgn.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1_y22iu.js → node_modules_next_dist_esm_build_templates_app-page_05q45c-.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f7l_36.js → node_modules_next_dist_esm_build_templates_app-page_090wz9v.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1uzalot.js → node_modules_next_dist_esm_build_templates_app-page_09ftrsh.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1by1zl2.js → node_modules_next_dist_esm_build_templates_app-page_0_bmqt9.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14hxy06.js → node_modules_next_dist_esm_build_templates_app-page_0_f2zhb.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02yxr3j.js → node_modules_next_dist_esm_build_templates_app-page_0aqsfh3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1pb-1cn.js → node_modules_next_dist_esm_build_templates_app-page_0e1ok_t.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0fwjf6f.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0h5b-v-.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1mbarvg.js → node_modules_next_dist_esm_build_templates_app-page_0lw_a7e.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0bdeexv.js → node_modules_next_dist_esm_build_templates_app-page_0ot1zwk.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0eoo_7a.js → node_modules_next_dist_esm_build_templates_app-page_0r8c-fl.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_077f8c6.js → node_modules_next_dist_esm_build_templates_app-page_0t4zreu.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_112wr3q.js → node_modules_next_dist_esm_build_templates_app-page_0uo3ucb.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1y93n5x.js → node_modules_next_dist_esm_build_templates_app-page_0vvyt46.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1tba1z3.js → node_modules_next_dist_esm_build_templates_app-page_0wq6t0o.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1eiqiym.js → node_modules_next_dist_esm_build_templates_app-page_0yg1q4k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yi50ls.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0z83u9u.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0g6u3lp.js → node_modules_next_dist_esm_build_templates_app-page_1-l0_ay.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-mj6vh.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14579sb.js → node_modules_next_dist_esm_build_templates_app-page_10kqj-k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1202lax.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_20q4xrk.js → node_modules_next_dist_esm_build_templates_app-page_134gin2.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1iih5li.js → node_modules_next_dist_esm_build_templates_app-page_137fy-f.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13fikjq.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_16t_8tn.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17hery2.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17mj1uf.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1xurbbr.js → node_modules_next_dist_esm_build_templates_app-page_18gxi2v.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0smv41j.js → node_modules_next_dist_esm_build_templates_app-page_18wj4pk.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0wtrya9.js → node_modules_next_dist_esm_build_templates_app-page_1akkj3k.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1ydi2cy.js → node_modules_next_dist_esm_build_templates_app-page_1ay9jji.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_04__ja9.js → node_modules_next_dist_esm_build_templates_app-page_1bv5aj3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1czk_n8.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hzxyia.js → node_modules_next_dist_esm_build_templates_app-page_1gn9yzd.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_06zp_1r.js → node_modules_next_dist_esm_build_templates_app-page_1h-bpa4.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dcfsab.js → node_modules_next_dist_esm_build_templates_app-page_1h3cvzp.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hn67of.js +4 -0
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1ho8mq2.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hdr4hv.js → node_modules_next_dist_esm_build_templates_app-page_1j761x5.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1nmk-3a.js → node_modules_next_dist_esm_build_templates_app-page_1k1-c4m.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0ff_50d.js → node_modules_next_dist_esm_build_templates_app-page_1l5_y50.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dbvyom.js → node_modules_next_dist_esm_build_templates_app-page_1mxz5lj.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02wqjcn.js → node_modules_next_dist_esm_build_templates_app-page_1otau14.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1pqky12.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1se5x-k.js → node_modules_next_dist_esm_build_templates_app-page_1r14hz3.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0kifgf3.js → node_modules_next_dist_esm_build_templates_app-page_1slttwv.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0skd7bt.js → node_modules_next_dist_esm_build_templates_app-page_1xb7_k7.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xn5cst.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f1uh0v.js → node_modules_next_dist_esm_build_templates_app-page_1z_gt73.js} +3 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zkfifw.js +4 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_05_mrcu.js → node_modules_next_dist_esm_build_templates_app-page_20s0f-i.js} +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +18 -18
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_builds_coverage-report-page_tsx_1nhwba1._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_commands_command-editor_tsx_1xv-unm._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +7 -7
- 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_skills_skill-sync-page_tsx_15sidhb._.js +12 -12
- package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-detail-page_tsx_11_poqr._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-editor_tsx_1eo69h2._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-run-page_tsx_03cgynn._.js +4 -4
- package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +1 -1
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- 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/01q2vyen_ce8a.js +1 -0
- package/standalone/.next/static/chunks/{2k5n-lawvi3o1.js → 04jsbc3dt_7ts.js} +3 -3
- package/standalone/.next/static/chunks/06tyjb620cbtm.js +39 -0
- package/standalone/.next/static/chunks/{1kas2cg1m9t70.js → 07qig47782u92.js} +6 -6
- package/standalone/.next/static/chunks/{1popvhaprqxtf.js → 0__52m82mb813.js} +1 -1
- package/standalone/.next/static/chunks/0amptqqp7g_4p.js +70 -0
- package/standalone/.next/static/chunks/0dvxk1d0c5efv.js +7 -0
- package/standalone/.next/static/chunks/{127vn4wn5xo9p.js → 0fn-0e786o11o.js} +3 -3
- package/standalone/.next/static/chunks/0hnb8r3udr7oj.js +25 -0
- package/standalone/.next/static/chunks/{2aacfhrhmknxw.js → 0hvalyqqhd-4o.js} +2 -2
- package/standalone/.next/static/chunks/{2lfmdc3eqlsl4.js → 0l0h3yubj1bdg.js} +16 -16
- package/standalone/.next/static/chunks/0mjbaieh2cw9c.js +57 -0
- package/standalone/.next/static/chunks/0rpvchqvbm098.js +23 -0
- package/standalone/.next/static/chunks/0y62m0sntgzlm.js +53 -0
- package/standalone/.next/static/chunks/{0p13j9urobwc7.js → 1-ndkr7vsh2gq.js} +7 -7
- package/standalone/.next/static/chunks/11vbtbe3bdmib.js +3 -0
- package/standalone/.next/static/chunks/18_207ca9ukri.js +1 -0
- package/standalone/.next/static/chunks/{1z4uktkhpz4vk.js → 1_-2dp_akd95c.js} +1 -1
- package/standalone/.next/static/chunks/1c-_4oyuwq6p3.js +44 -0
- package/standalone/.next/static/chunks/{0wrm-zqne-dc8.js → 1hc0heoo_7i6w.js} +2 -2
- package/standalone/.next/static/chunks/{1-byqle1eur_a.js → 1vju42dbb-gss.js} +3 -3
- package/standalone/.next/static/chunks/1wsg5uvoyqzsp.css +1 -0
- package/standalone/.next/static/chunks/{3ye3zhdcg2lbq.js → 1z6o-8xmt_zvj.js} +1 -1
- package/standalone/.next/static/chunks/20z0cvtyjnn0k.js +43 -0
- package/standalone/.next/static/chunks/21bdd18tijh33.js +13 -0
- package/standalone/.next/static/chunks/2g1ief1a6roxm.js +1 -0
- package/standalone/.next/static/chunks/{2wsr9efe8r8ng.js → 2k0lm6xr9n_ig.js} +3 -3
- package/standalone/.next/static/chunks/2laye-cbzd0tg.js +1 -0
- package/standalone/.next/static/chunks/2nw1o_yz_umap.js +55 -0
- package/standalone/.next/static/chunks/{3uhr-ha19zo61.js → 2y09df4g71_oa.js} +2 -2
- package/standalone/.next/static/chunks/34g6qbzum3s6q.js +1 -0
- package/standalone/.next/static/chunks/374hkjjfwde07.js +32 -0
- package/standalone/.next/static/chunks/{21xk5pyunaike.js → 377pgxfs8c9y-.js} +3 -3
- package/standalone/.next/static/chunks/3fellkr6r7h3t.js +51 -0
- package/standalone/.next/static/chunks/3ky4kw_4ew238.js +1 -0
- package/standalone/.next/static/chunks/3n_vmfpc6xzx9.js +1 -0
- package/standalone/.next/static/chunks/3q1klrvg32u6u.js +30 -0
- package/standalone/.next/static/chunks/{34wlxu_g_2g1y.js → 3stdfz7pphow6.js} +2 -2
- package/standalone/.next/static/media/icon.2eq-kzgm9x62k.svg +7 -0
- package/standalone/package.json +10 -0
- package/standalone/public/icon-192.png +0 -0
- package/standalone/public/icon-512.png +0 -0
- package/standalone/.next/server/app/favicon.ico/route/app-paths-manifest.json +0 -3
- package/standalone/.next/server/app/favicon.ico/route.js +0 -8
- package/standalone/.next/server/app/favicon.ico.body +0 -0
- package/standalone/.next/server/app/favicon.ico.meta +0 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +0 -3
- package/standalone/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjls.js +0 -3
- package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_12f2k_b.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__00uq46v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__02elc4g._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04c97bb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04xf3ag._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07ll4k6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07n9grt._.js +0 -33
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07tjxzu._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__08ejrsg._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bma97u._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0eit075._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fna0ss._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fr4t3a._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +0 -15
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kpe44c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0luabbk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0lx9l_f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz8y_c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0n_5fva._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nk-dzm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz06z_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0sb9d8p._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0thf6sn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v12ijp._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v1983v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vcitsv._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w5ulwk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0xkr833._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0yzhwyk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zec7p7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-90lov._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-_p_qq._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11awuie._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__12ku6cw._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14-uizx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14chm3s._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__16x-dmx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__17wdy3b._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19_10zh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19ax-rn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_2wurn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_9pu1p._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1anikxb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1apyr4v._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1b7x-gi._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1d2v_4j._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1drn6gh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e24bk6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1elw11q._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1etaslh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ffhy4j._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1fvxa1t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gx_mk6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1iccye4._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1j9gekm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jn7aum._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ls11kh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mo8hpx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1nqgwrd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1o0ywwj._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rq6nd_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1t-qpvq._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1w5imbd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1x1khxx._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yedlq7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yqj3eh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1z8_be-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0-20-v5._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_022u7lb._.js +0 -15
- package/standalone/.next/server/chunks/ssr/_0aif1-g._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0q5nll1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ro_o-3._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1-etco5._.js +0 -12
- package/standalone/.next/server/chunks/ssr/_1boywnc._.js +0 -9
- package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +0 -25
- package/standalone/.next/server/chunks/ssr/_1nzjoqj._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1slu_v-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1ws3tm8._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1ylzm6_._.js +0 -37
- package/standalone/.next/server/chunks/ssr/node_modules_0obs0k7._.js +0 -5
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_038at4x.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09bttv_.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_5tfxq.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nkrcoy.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ogmjlq.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0s--as4.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tagqyx.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0umjl9n.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1fpliw9.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1j8f218.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qpzaji.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1tdf2_q.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1u5u2q0.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1vejq7c.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1wdd1jv.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yri3x5.js +0 -4
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yvxa-k.js +0 -4
- package/standalone/.next/static/chunks/04tejuwcye2k_.js +0 -30
- package/standalone/.next/static/chunks/0_wr9h6ckp7r5.js +0 -1
- package/standalone/.next/static/chunks/0d3rasr6tb96l.js +0 -23
- package/standalone/.next/static/chunks/0mcuo36rz9j57.js +0 -55
- package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +0 -53
- package/standalone/.next/static/chunks/0sjb80e36gqfr.js +0 -32
- package/standalone/.next/static/chunks/0tm0ig453t45q.js +0 -25
- package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +0 -43
- package/standalone/.next/static/chunks/1rcjbru7lya3t.js +0 -7
- package/standalone/.next/static/chunks/2-m873nllx-qf.js +0 -1
- package/standalone/.next/static/chunks/26ae644jaqnvj.js +0 -70
- package/standalone/.next/static/chunks/26nqjwc9aov2w.js +0 -1
- package/standalone/.next/static/chunks/28wabrg9wpe9k.js +0 -1
- package/standalone/.next/static/chunks/28xkjksksnsd_.css +0 -1
- package/standalone/.next/static/chunks/2aehz_h31je08.js +0 -1
- package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +0 -13
- package/standalone/.next/static/chunks/2i5bog52_4l9l.js +0 -57
- package/standalone/.next/static/chunks/2m8956anouml3.js +0 -51
- package/standalone/.next/static/chunks/2svylmgfm08d9.js +0 -44
- package/standalone/.next/static/chunks/3nme8562ujl6t.js +0 -1
- package/standalone/.next/static/chunks/3vcuwpsqnytof.js +0 -3
- package/standalone/.next/static/chunks/41s0n0dd89v1t.js +0 -39
- package/standalone/.next/static/media/favicon.2vob68tjqpejf.ico +0 -0
- /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route/build-manifest.json +0 -0
- /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.map +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → ceEq0H86em_AtOEUk-8ni}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...i}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...i})},"TableCell",0,function({className:e,...i}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...i})},"TableFooter",0,function({className:e,...i}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...i})},"TableHead",0,function({className:e,...i}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...i})},"TableHeader",0,function({className:e,...i}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...i})},"TableRow",0,function({className:e,...i}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...i})}])},755838,(e,t,r)=>{"use strict";var i=e.r(271645),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useState,a=i.useEffect,l=i.useLayoutEffect,o=i.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),i=s({inst:{value:r,getSnapshot:t}}),n=i[0].inst,u=i[1];return l(function(){n.value=r,n.getSnapshot=t,d(n)&&u({inst:n})},[e,r,t]),a(function(){return d(n)&&u({inst:n}),e(function(){d(n)&&u({inst:n})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},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),n=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:a=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(n.DropdownMenu,{children:[(0,t.jsx)(n.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(n.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,t.jsx)(n.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),s.map(e=>(0,t.jsx)(n.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,i.cloneElement)(e,{onClick:()=>l(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 n=e.kind.trim().toUpperCase(),s=e.resourceId.trim();if(!s)return null;let a="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===n?`/builds/${t(s)}`:"CODEBASE"===n?`/codebases/${t(s)}`:"JIRA_TICKET"===n?`/jira/tickets/${t(s)}`:"WORKTREE"===n?`/worktrees/${t(s)}`:"AGENT_RUN"===n&&"PLAN"===a?`/plans/${t(s)}`:"AGENT_RUN"===n&&"SESSION"===a?`/sessions/${t(s)}`:"PULL_REQUEST"===n?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let i=e.slice(0,r),n=i.indexOf("/");if(n<1||n===i.length-1)return null;let s=Number(e.slice(r+1));return!Number.isInteger(s)||s<1?null:`/pull-requests/${t(i.slice(0,n))}/${t(i.slice(n+1))}/${s}`}(s):"AGENT_JOB"===n?`/jobs/${t(s)}`:"COMMAND_RUN"===n?`/commands/runs/${t(s)}`:"WORKFLOW_RUN"===n?`/workflows/runs/${t(s)}`:"SKILL_SYNC"===n?`/skills/sync/${t(s)}`:"SKILL"===n?`/skills/${t(s)}`:"IOS_DEVICE"===n?`/devices/${t(s)}`:"SIGNING_PROFILE"===n?`/provisioning-profiles/${t(s)}`:"PUSH_NOTIFICATION_BATCH"===n?"/push-notifications":"BUILD_DATA_COLLECTION"===n?"/build-data":"AGENT"===n?`/agents/${t(s)}`:"CODEBASE_REPOSITORY"===n?`/codebases/repositories/${t(s)}`: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 i(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function n(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 s(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(),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(),n=t?.trim(),s=r.trim();if(!i||!n&&!s)throw Error("GitHub pipeline repository and provider ID are required");return`${i}:${n?"run":"check"}:${n||s}`},"preferredWorkflowResourceDestination",0,n,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let i=new Set,n=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let n of e.attempts)n.resourceLinks.some(e=>l(e,t,r))&&i.add(n.nodeId);for(let s of e.resourceLinks){if(!l(s,t,r))continue;let a=s.attemptId?n.get(s.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=s(e.output),i=s(r.value),n={...s(i.sessionPatch),...s(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=a(i.key)??a(s(i.ticket).key)??a(s(n.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(s(n.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=a(s(n.codebase).id)??a(i.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=a(s(n.build).id)??a(i.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),i=n(e?[...r.resourceLinks,e]:r.resourceLinks);i&&t.set(r.nodeId,i)}let r=n(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),i=e.i(482022),n=e.i(948148),s=e.i(271645),a=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),u=e.i(906197),c=e.i(520133),m=e.i(637611),p=e.i(880181),f=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 j({run:e,onAnswered:r}){let i=(0,n.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,u]=(0,s.useState)({}),[p,f]=(0,s.useState)(!1),[h,x]=(0,s.useState)(null),b=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=w(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=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 i.length?[{id:r,kind:e.kind,questions:i}]:[]})),[e]);if(0===b.length)return null;let k=(e,t)=>`${e}:${t}`,v=async(e,t)=>{f(!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]??[]}]))}),u(t=>{let r={...t};for(let t of e.questions)delete r[k(e.id,t.id)];return r}),x(null),await r()}catch(e){x(e instanceof Error?e.message:String(e))}finally{f(!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 n=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[k(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:l.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let i=d[k(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((s,a)=>(0,t.jsx)(o.Button,{"aria-pressed":n?void 0:i.includes(s.label),disabled:p,onClick:()=>{n?v(r,{[e.id]:[s.label]}):u(t=>{let i=new Set(t[k(r.id,e.id)]??[]);return e.multiSelect?i.has(s.label)?i.delete(s.label):i.add(s.label):(i.clear(),i.add(s.label)),{...t,[k(r.id,e.id)]:[...i]}})},size:"sm",title:s.description??void 0,variant:i.includes(s.label)||n&&0===a?"default":"outline",children:s.label},s.id))})]},e.id)}),!n&&(0,t.jsx)(o.Button,{disabled:p||!s,onClick:()=>void v(r,Object.fromEntries(r.questions.map(e=>[e.id,d[k(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)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:`/workflows/runs/${e.id}`,children:i("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:k}){let v=(0,n.useTranslations)("workflows"),N=(0,g.useWorkflowLabels)(),I=(0,h.useOpenWorkflowDestination)(),[y,C]=(0,s.useState)([]),[T,S]=(0,s.useState)([]),[A,R]=(0,s.useState)(null),[D,E]=(0,s.useState)(null),$=(0,s.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});C(t.workflowRunsForResource),S(t.workflowsAcceptingResource),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}},[w,e]);(0,s.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 P=async(t,r)=>{R(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:k,resourceKind:e,resourceId:w,subjectKey:`${e}:${w}`,choice:r}}),await $()}catch(e){E(e instanceof Error?e.message:String(e))}finally{R(null)}},O=y[0],L=(0,s.useMemo)(()=>O?(0,p.currentPageWorkflowNodeIds)(O,e,w):new Set,[O,w,e]),W=(0,s.useMemo)(()=>O?(0,p.workflowRunNodeDestinations)(O):new Map,[O]);return y.length||T.length||D?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:v("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:v("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:"/workflows",children:v("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[D&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:D})}),T.length>0&&(0,t.jsx)(u.ItemGroup,{className:"gap-2",children:T.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)(f.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==A,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",v("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void P(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)(c.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:N.status(O.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(c.Link,{href:`/workflows/runs/${O.id}`,children:[(0,t.jsx)(i.ExternalLink,{})," ",v("fullRun")]})})]}),(0,t.jsx)(j,{onAnswered:$,run:O}),(0,t.jsx)(x.WorkflowGraph,{attempts:O.attempts,compact:!0,currentPageNodeIds:L,definition:O.version.definition,destinations:W,generation:O.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&I(t)}}),y.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:y.slice(1,6).map(e=>(0,t.jsx)(o.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)(l.Badge,{variant:(0,x.workflowStatusVariant)(e.status),children:N.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},312159,e=>{"use strict";var t=e.i(843476),r=e.i(986206),i=e.i(948148),n=e.i(271645),s=e.i(929592),a=e.i(487486),l=e.i(515288),o=e.i(816484),d=e.i(987968),u=e.i(784774),c=e.i(520133),m=e.i(637611);function p({label:e,value:r,mono:i=!1,className:n}){return(0,t.jsxs)("div",{className:n,children:[(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:e}),(0,t.jsx)("p",{className:i?"break-all font-mono text-xs":"mt-1",children:r})]})}e.s(["ProvisioningProfileDetailPage",0,function({id:e}){let f=(0,i.useTranslations)("provisioningProfiles"),[h,x]=(0,n.useState)(null),[g,w]=(0,n.useState)(!0),[j,b]=(0,n.useState)(null),k=(0,n.useCallback)(async()=>{w(!0);try{let t=await (0,m.controlPlaneRequest)(`query ProvisioningProfileDetail($id: ID!) {
|
|
24
|
+
signingProfile(id: $id) {
|
|
25
|
+
id uuid contentHash name profileType bundleId teamId teamName
|
|
26
|
+
platforms deviceCount deviceUdids certificateSha1s createdAt expiresAt
|
|
27
|
+
expired xcodeManaged installedAgents { id name }
|
|
28
|
+
provisionedDevices {
|
|
29
|
+
udid deviceId displayName product osVersion status
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}`,{id:e});x(t.signingProfile),b(null)}catch(e){b(e instanceof Error?e.message:String(e))}finally{w(!1)}},[e]);if((0,n.useEffect)(()=>{let e=window.setTimeout(()=>void k(),0);return()=>window.clearTimeout(e)},[k]),g)return(0,t.jsxs)("p",{className:"flex items-center gap-2 p-6 text-sm text-muted-foreground",children:[(0,t.jsx)(d.Spinner,{})," ",f("loadingProfile")]});if(j)return(0,t.jsx)("section",{className:"mx-auto w-full max-w-[1500px] space-y-4",children:(0,t.jsx)(s.Alert,{variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:j})})});if(!h)return(0,t.jsx)("section",{className:"mx-auto w-full max-w-[1500px] space-y-4",children:(0,t.jsx)(l.Card,{children:(0,t.jsx)(l.CardContent,{className:"p-8 text-center text-muted-foreground",children:f("profileNotFound")})})});let v=new Set,N=h.provisionedDevices.filter(e=>{let t=e.udid.toUpperCase();return!v.has(t)&&(v.add(t),!0)});return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:h.name}),(0,t.jsx)(a.Badge,{variant:"outline",children:h.profileType}),h.expired&&(0,t.jsx)(a.Badge,{variant:"destructive",children:f("expired")}),h.xcodeManaged&&(0,t.jsx)(a.Badge,{variant:"secondary",children:"Xcode"})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:h.uuid})]}),(0,t.jsxs)(l.Card,{children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(l.CardTitle,{children:f("profileDetails")}),(0,t.jsx)(l.CardDescription,{children:h.bundleId})]}),(0,t.jsxs)(l.CardContent,{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(p,{label:f("team"),value:h.teamName??h.teamId??"—"}),(0,t.jsx)(p,{label:f("platforms"),value:h.platforms.join(", ")||"—"}),(0,t.jsx)(p,{label:f("created"),value:(0,t.jsx)(o.DateTime,{showTime:!1,value:h.createdAt})}),(0,t.jsx)(p,{label:f("expires"),value:(0,t.jsx)(o.DateTime,{showTime:!1,value:h.expiresAt})}),(0,t.jsx)(p,{label:f("installedAgents"),value:h.installedAgents.map(e=>e.name).join(", ")||"—"}),(0,t.jsx)(p,{className:"sm:col-span-2 lg:col-span-3",label:f("acceptedCertificates"),value:h.certificateSha1s.join(", ")||"—",mono:!0})]})]}),(0,t.jsxs)(l.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsxs)(l.CardTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(r.Smartphone,{})," ",f("provisionedDevices")]}),(0,t.jsx)(l.CardDescription,{children:f("provisionedDevicesDescription",{count:N.length})})]}),0===h.deviceUdids.length?(0,t.jsx)("p",{className:"p-8 text-center text-sm text-muted-foreground",children:h.deviceCount>0?f("deviceListPendingRefresh"):f("noProvisionedDevices")}):(0,t.jsxs)(u.Table,{children:[(0,t.jsx)(u.TableHeader,{children:(0,t.jsxs)(u.TableRow,{children:[(0,t.jsx)(u.TableHead,{children:f("device")}),(0,t.jsx)(u.TableHead,{children:f("udid")}),(0,t.jsx)(u.TableHead,{children:f("status")})]})}),(0,t.jsx)(u.TableBody,{children:N.map((e,r)=>(0,t.jsxs)(u.TableRow,{children:[(0,t.jsxs)(u.TableCell,{children:[e.deviceId&&e.displayName?(0,t.jsx)(c.Link,{className:"font-medium hover:underline",href:`/devices/${e.deviceId}`,children:e.displayName}):(0,t.jsx)("span",{className:"text-muted-foreground",children:f("unknownDevice")}),(e.product||e.osVersion)&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[e.product,e.osVersion].filter(Boolean).join(" · ")})]}),(0,t.jsx)(u.TableCell,{className:"font-mono text-xs",children:e.udid}),(0,t.jsx)(u.TableCell,{children:e.status?(0,t.jsx)(a.Badge,{variant:"secondary",children:e.status}):"—"})]},`${e.udid}:${r}`))})]})]})]})}])}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
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),a=e.i(30030),i=e.i(820783),s=e.i(326999),n=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,u]=(0,a.createContextScope)("AlertDialog",[s.createDialogScope]),c=(0,s.createDialogScope)(),p=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=c(r);return(0,t.jsx)(s.Root,{...i,...a,modal:!0})},"AlertDialog"),m=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Trigger,{...n,...i,ref:r})},"AlertDialogTrigger")),h=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=c(r);return(0,t.jsx)(s.Portal,{...i,...a})},"AlertDialogPortal"),g=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Overlay,{...n,...i,ref:r})},"AlertDialogOverlay")),[f,x]=d("AlertDialogContent"),b=r.forwardRef(o(function(e,a){let{__scopeAlertDialog:l,children:o,...d}=e,u=c(l),p=r.useRef(null),m=(0,i.useComposedRefs)(a,p),h=r.useRef(null);return(0,t.jsx)(f,{scope:l,cancelRef:h,children:(0,t.jsx)(s.Content,{role:"alertdialog",...u,...d,ref:m,onOpenAutoFocus:(0,n.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),h.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),v=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Title,{...n,...i,ref:r})},"AlertDialogTitle")),j=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Description,{...n,...i,ref:r})},"AlertDialogDescription")),y=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Close,{...n,...i,ref:r})},"AlertDialogAction")),k=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=x("AlertDialogCancel",a),o=c(a),d=(0,i.useComposedRefs)(r,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})},"AlertDialogCancel"));e.s(["Action",0,y,"AlertDialog",0,p,"AlertDialogAction",0,y,"AlertDialogCancel",0,k,"AlertDialogContent",0,b,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,h,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,m,"Cancel",0,k,"Content",0,b,"Description",0,j,"Overlay",0,g,"Portal",0,h,"Root",0,p,"Title",0,v,"Trigger",0,m,"createAlertDialogScope",0,u],691162);var w=e.i(691162),w=w,I=e.i(975157),C=e.i(519455);function A({...e}){return(0,t.jsx)(w.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(w.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(w.Portal,{"data-slot":"alert-dialog-portal",...e})}function R({className:e,...r}){return(0,t.jsx)(w.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,I.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 E({className:e,size:r="default",...a}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(R,{}),(0,t.jsx)(w.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,I.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),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,I.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 D({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,I.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 P({className:e,...r}){return(0,t.jsx)(w.Title,{"data-slot":"alert-dialog-title",className:(0,I.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 M({className:e,...r}){return(0,t.jsx)(w.Description,{"data-slot":"alert-dialog-description",className:(0,I.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function O({className:e,variant:r="default",size:a="default",...i}){return(0,t.jsx)(C.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(w.Action,{"data-slot":"alert-dialog-action",className:(0,I.cn)(e),...i})})}function L({className:e,variant:r="outline",size:a="default",...i}){return(0,t.jsx)(C.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(w.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,I.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:i,onOpenChange:s,open:n,title:l,trigger:o}){return(0,t.jsxs)(A,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(N,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(P,{children:l}),(0,t.jsx)(M,{children:a})]}),(0,t.jsxs)(D,{children:[(0,t.jsx)(L,{children:r}),(0,t.jsx)(O,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},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),a=e.i(975157);let i=(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,a.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,a.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,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(i({variant:r,className:e})),...s})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.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)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},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 r=e.i(636162),a=e.i(456420);let i=(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 n=(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"}]]),l=(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 u=(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,u],671028);var c=e.i(93384);let p=(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"}]]),m=(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 h=e.i(21357);let g=(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 f=e.i(584026),x=e.i(986206),b=e.i(328623),v=e.i(604139);let j=(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 y=e.i(747925);let k={apple:r.Apple,"app-window":i,archive:s.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:u,hammer:c.Hammer,layers:p,package:m,play:h.Play,rocket:g,shield:f.ShieldCheck,smartphone:x.Smartphone,sparkles:b.Sparkles,terminal:v.Terminal,"test-tube":j,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let r=k[e];return r?(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4"}):null}],687862)},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),a=e.i(271645),i=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:n=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(i.DropdownMenu,{children:[(0,t.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(i.DropdownMenuContent,{align:"start",className:"max-w-64",children:[n&&(0,t.jsx)(i.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),s.map(e=>(0,t.jsx)(i.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,a.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let a=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(a)return{href:a,external:!1};let i=e.kind.trim().toUpperCase(),s=e.resourceId.trim();if(!s)return null;let n="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===i?`/builds/${t(s)}`:"CODEBASE"===i?`/codebases/${t(s)}`:"JIRA_TICKET"===i?`/jira/tickets/${t(s)}`:"WORKTREE"===i?`/worktrees/${t(s)}`:"AGENT_RUN"===i&&"PLAN"===n?`/plans/${t(s)}`:"AGENT_RUN"===i&&"SESSION"===n?`/sessions/${t(s)}`:"PULL_REQUEST"===i?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let a=e.slice(0,r),i=a.indexOf("/");if(i<1||i===a.length-1)return null;let s=Number(e.slice(r+1));return!Number.isInteger(s)||s<1?null:`/pull-requests/${t(a.slice(0,i))}/${t(a.slice(i+1))}/${s}`}(s):"AGENT_JOB"===i?`/jobs/${t(s)}`:"COMMAND_RUN"===i?`/commands/runs/${t(s)}`:"WORKFLOW_RUN"===i?`/workflows/runs/${t(s)}`:"SKILL_SYNC"===i?`/skills/sync/${t(s)}`:"SKILL"===i?`/skills/${t(s)}`:"IOS_DEVICE"===i?`/devices/${t(s)}`:"SIGNING_PROFILE"===i?`/provisioning-profiles/${t(s)}`:"PUSH_NOTIFICATION_BATCH"===i?"/push-notifications":"BUILD_DATA_COLLECTION"===i?"/build-data":"AGENT"===i?`/agents/${t(s)}`:"CODEBASE_REPOSITORY"===i?`/codebases/repositories/${t(s)}`: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 a(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function i(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)=>a(e.link)-a(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function n(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(),a=t.trim();if(!r||!a)throw Error("GitHub job repository and job ID are required");return`${r}:job:${a}`},"githubPipelineResourceId",0,function(e,t,r){let a=e.trim(),i=t?.trim(),s=r.trim();if(!a||!i&&!s)throw Error("GitHub pipeline repository and provider ID are required");return`${a}:${i?"run":"check"}:${i||s}`},"preferredWorkflowResourceDestination",0,i,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let a=new Set,i=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let i of e.attempts)i.resourceLinks.some(e=>l(e,t,r))&&a.add(i.nodeId);for(let s of e.resourceLinks){if(!l(s,t,r))continue;let n=s.attemptId?i.get(s.attemptId):e.trigger?.nodeId;n&&a.add(n)}return a},"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=s(e.output),a=s(r.value),i={...s(a.sessionPatch),...s(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=n(a.key)??n(s(a.ticket).key)??n(s(i.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=n(a.id),t=n(a.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=n(s(i.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=n(s(i.codebase).id)??n(a.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=n(s(i.build).id)??n(a.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),a=i(e?[...r.resourceLinks,e]:r.resourceLinks);a&&t.set(r.nodeId,a)}let r=i(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),a=e.i(482022),i=e.i(948148),s=e.i(271645),n=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),u=e.i(906197),c=e.i(520133),p=e.i(637611),m=e.i(880181),h=e.i(997778),g=e.i(505624),f=e.i(349049),x=e.i(399668);function b(e){return"string"==typeof e&&e.length>0?e:null}function v({run:e,onAnswered:r}){let a=(0,i.useTranslations)("workflows"),l=(0,x.useWorkflowLabels)(),[d,u]=(0,s.useState)({}),[m,h]=(0,s.useState)(!1),[g,f]=(0,s.useState)(null),j=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=b(t.id);if(!r||"PENDING"!==t.status)return[];let a=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=b(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:b(e.header),prompt:b(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=b(e.label);return t?[{id:b(e.id)??t,label:t,description:b(e.description)}]:[]})}})(e)??[]);return a.length?[{id:r,kind:e.kind,questions:a}]:[]})),[e]);if(0===j.length)return null;let y=(e,t)=>`${e}:${t}`,k=async(e,t)=>{h(!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[y(e.id,t.id)];return r}),f(null),await r()}catch(e){f(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[g&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:g})}),j.map(r=>{let i=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[y(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:a("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 a=d[y(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((s,n)=>(0,t.jsx)(o.Button,{"aria-pressed":i?void 0:a.includes(s.label),disabled:m,onClick:()=>{i?k(r,{[e.id]:[s.label]}):u(t=>{let a=new Set(t[y(r.id,e.id)]??[]);return e.multiSelect?a.has(s.label)?a.delete(s.label):a.add(s.label):(a.clear(),a.add(s.label)),{...t,[y(r.id,e.id)]:[...a]}})},size:"sm",title:s.description??void 0,variant:a.includes(s.label)||i&&0===n?"default":"outline",children:s.label},s.id))})]},e.id)}),!i&&(0,t.jsx)(o.Button,{disabled:m||!s,onClick:()=>void k(r,Object.fromEntries(r.questions.map(e=>[e.id,d[y(r.id,e.id)]??[]]))),size:"sm",children:a("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)(c.Link,{href:`/workflows/runs/${e.id}`,children:a("answerOnRunPage")})})]})]},r.id)})]})}let j=`
|
|
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),a=e.i(30030),i=e.i(820783),s=e.i(326999),n=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,u]=(0,a.createContextScope)("AlertDialog",[s.createDialogScope]),c=(0,s.createDialogScope)(),p=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=c(r);return(0,t.jsx)(s.Root,{...i,...a,modal:!0})},"AlertDialog"),m=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Trigger,{...n,...i,ref:r})},"AlertDialogTrigger")),h=o(e=>{let{__scopeAlertDialog:r,...a}=e,i=c(r);return(0,t.jsx)(s.Portal,{...i,...a})},"AlertDialogPortal"),g=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Overlay,{...n,...i,ref:r})},"AlertDialogOverlay")),[f,x]=d("AlertDialogContent"),b=r.forwardRef(o(function(e,a){let{__scopeAlertDialog:l,children:o,...d}=e,u=c(l),p=r.useRef(null),m=(0,i.useComposedRefs)(a,p),h=r.useRef(null);return(0,t.jsx)(f,{scope:l,cancelRef:h,children:(0,t.jsx)(s.Content,{role:"alertdialog",...u,...d,ref:m,onOpenAutoFocus:(0,n.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),h.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),v=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Title,{...n,...i,ref:r})},"AlertDialogTitle")),j=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Description,{...n,...i,ref:r})},"AlertDialogDescription")),y=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...i}=e,n=c(a);return(0,t.jsx)(s.Close,{...n,...i,ref:r})},"AlertDialogAction")),k=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:a,...n}=e,{cancelRef:l}=x("AlertDialogCancel",a),o=c(a),d=(0,i.useComposedRefs)(r,l);return(0,t.jsx)(s.Close,{...o,...n,ref:d})},"AlertDialogCancel"));e.s(["Action",0,y,"AlertDialog",0,p,"AlertDialogAction",0,y,"AlertDialogCancel",0,k,"AlertDialogContent",0,b,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,h,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,m,"Cancel",0,k,"Content",0,b,"Description",0,j,"Overlay",0,g,"Portal",0,h,"Root",0,p,"Title",0,v,"Trigger",0,m,"createAlertDialogScope",0,u],691162);var w=e.i(691162),w=w,I=e.i(975157),C=e.i(519455);function A({...e}){return(0,t.jsx)(w.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(w.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(w.Portal,{"data-slot":"alert-dialog-portal",...e})}function R({className:e,...r}){return(0,t.jsx)(w.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,I.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 E({className:e,size:r="default",...a}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(R,{}),(0,t.jsx)(w.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,I.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),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,I.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 D({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,I.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 P({className:e,...r}){return(0,t.jsx)(w.Title,{"data-slot":"alert-dialog-title",className:(0,I.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 M({className:e,...r}){return(0,t.jsx)(w.Description,{"data-slot":"alert-dialog-description",className:(0,I.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function O({className:e,variant:r="default",size:a="default",...i}){return(0,t.jsx)(C.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(w.Action,{"data-slot":"alert-dialog-action",className:(0,I.cn)(e),...i})})}function L({className:e,variant:r="outline",size:a="default",...i}){return(0,t.jsx)(C.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(w.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,I.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:a,onConfirm:i,onOpenChange:s,open:n,title:l,trigger:o}){return(0,t.jsxs)(A,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(N,{asChild:!0,children:o}),(0,t.jsxs)(E,{children:[(0,t.jsxs)(T,{children:[(0,t.jsx)(P,{children:l}),(0,t.jsx)(M,{children:a})]}),(0,t.jsxs)(D,{children:[(0,t.jsx)(L,{children:r}),(0,t.jsx)(O,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},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),a=e.i(975157);let i=(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,a.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,a.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,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(i({variant:r,className:e})),...s})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},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)},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)},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)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var r=e.i(636162),a=e.i(456420);let i=(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 n=(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"}]]),l=(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 u=(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,u],671028);var c=e.i(93384);let p=(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"}]]),m=(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 h=e.i(21357);let g=(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 f=e.i(584026),x=e.i(986206),b=e.i(328623),v=e.i(604139);let j=(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 y=e.i(747925);let k={apple:r.Apple,"app-window":i,archive:s.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:u,hammer:c.Hammer,layers:p,package:m,play:h.Play,rocket:g,shield:f.ShieldCheck,smartphone:x.Smartphone,sparkles:b.Sparkles,terminal:v.Terminal,"test-tube":j,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let r=k[e];return r?(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4"}):null}],687862)},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),a=e.i(271645),i=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:n=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(i.DropdownMenu,{children:[(0,t.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(i.DropdownMenuContent,{align:"start",className:"max-w-64",children:[n&&(0,t.jsx)(i.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),s.map(e=>(0,t.jsx)(i.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,a.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let a=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(a)return{href:a,external:!1};let i=e.kind.trim().toUpperCase(),s=e.resourceId.trim();if(!s)return null;let n="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===i?`/builds/${t(s)}`:"CODEBASE"===i?`/codebases/${t(s)}`:"JIRA_TICKET"===i?`/jira/tickets/${t(s)}`:"WORKTREE"===i?`/worktrees/${t(s)}`:"AGENT_RUN"===i&&"PLAN"===n?`/plans/${t(s)}`:"AGENT_RUN"===i&&"SESSION"===n?`/sessions/${t(s)}`:"PULL_REQUEST"===i?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let a=e.slice(0,r),i=a.indexOf("/");if(i<1||i===a.length-1)return null;let s=Number(e.slice(r+1));return!Number.isInteger(s)||s<1?null:`/pull-requests/${t(a.slice(0,i))}/${t(a.slice(i+1))}/${s}`}(s):"AGENT_JOB"===i?`/jobs/${t(s)}`:"COMMAND_RUN"===i?`/commands/runs/${t(s)}`:"WORKFLOW_RUN"===i?`/workflows/runs/${t(s)}`:"SKILL_SYNC"===i?`/skills/sync/${t(s)}`:"SKILL"===i?`/skills/${t(s)}`:"IOS_DEVICE"===i?`/devices/${t(s)}`:"SIGNING_PROFILE"===i?`/provisioning-profiles/${t(s)}`:"PUSH_NOTIFICATION_BATCH"===i?"/push-notifications":"BUILD_DATA_COLLECTION"===i?"/build-data":"AGENT"===i?`/agents/${t(s)}`:"CODEBASE_REPOSITORY"===i?`/codebases/repositories/${t(s)}`: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 a(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function i(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)=>a(e.link)-a(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function n(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(),a=t.trim();if(!r||!a)throw Error("GitHub job repository and job ID are required");return`${r}:job:${a}`},"githubPipelineResourceId",0,function(e,t,r){let a=e.trim(),i=t?.trim(),s=r.trim();if(!a||!i&&!s)throw Error("GitHub pipeline repository and provider ID are required");return`${a}:${i?"run":"check"}:${i||s}`},"preferredWorkflowResourceDestination",0,i,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let a=new Set,i=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let i of e.attempts)i.resourceLinks.some(e=>l(e,t,r))&&a.add(i.nodeId);for(let s of e.resourceLinks){if(!l(s,t,r))continue;let n=s.attemptId?i.get(s.attemptId):e.trigger?.nodeId;n&&a.add(n)}return a},"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=s(e.output),a=s(r.value),i={...s(a.sessionPatch),...s(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=n(a.key)??n(s(a.ticket).key)??n(s(i.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=n(a.id),t=n(a.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=n(s(i.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=n(s(i.codebase).id)??n(a.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=n(s(i.build).id)??n(a.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),a=i(e?[...r.resourceLinks,e]:r.resourceLinks);a&&t.set(r.nodeId,a)}let r=i(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),a=e.i(482022),i=e.i(948148),s=e.i(271645),n=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),u=e.i(906197),c=e.i(520133),p=e.i(637611),m=e.i(880181),h=e.i(997778),g=e.i(505624),f=e.i(349049),x=e.i(399668);function b(e){return"string"==typeof e&&e.length>0?e:null}function v({run:e,onAnswered:r}){let a=(0,i.useTranslations)("workflows"),l=(0,x.useWorkflowLabels)(),[d,u]=(0,s.useState)({}),[m,h]=(0,s.useState)(!1),[g,f]=(0,s.useState)(null),j=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=b(t.id);if(!r||"PENDING"!==t.status)return[];let a=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=b(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:b(e.header),prompt:b(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=b(e.label);return t?[{id:b(e.id)??t,label:t,description:b(e.description)}]:[]})}})(e)??[]);return a.length?[{id:r,kind:e.kind,questions:a}]:[]})),[e]);if(0===j.length)return null;let y=(e,t)=>`${e}:${t}`,k=async(e,t)=>{h(!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[y(e.id,t.id)];return r}),f(null),await r()}catch(e){f(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[g&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:g})}),j.map(r=>{let i=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[y(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:a("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 a=d[y(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((s,n)=>(0,t.jsx)(o.Button,{"aria-pressed":i?void 0:a.includes(s.label),disabled:m,onClick:()=>{i?k(r,{[e.id]:[s.label]}):u(t=>{let a=new Set(t[y(r.id,e.id)]??[]);return e.multiSelect?a.has(s.label)?a.delete(s.label):a.add(s.label):(a.clear(),a.add(s.label)),{...t,[y(r.id,e.id)]:[...a]}})},size:"sm",title:s.description??void 0,variant:a.includes(s.label)||i&&0===n?"default":"outline",children:s.label},s.id))})]},e.id)}),!i&&(0,t.jsx)(o.Button,{disabled:m||!s,onClick:()=>void k(r,Object.fromEntries(r.questions.map(e=>[e.id,d[y(r.id,e.id)]??[]]))),size:"sm",children:a("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)(c.Link,{href:`/workflows/runs/${e.id}`,children:a("answerOnRunPage")})})]})]},r.id)})]})}let j=`
|
|
2
2
|
id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
|
|
3
3
|
sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
|
|
4
4
|
workflow { id name }
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
hasPlainTrigger(resourceKind: $kind)
|
|
21
21
|
triggerChoices(resourceKind: $kind) { key label description }
|
|
22
22
|
}
|
|
23
|
-
}`,{kind:e,resourceId:b});A(t.workflowRunsForResource),S(t.workflowsAcceptingResource),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}},[b,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void P(),0),t=(0,p.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void P(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[P]);let M=async(t,r)=>{E(t);try{await (0,p.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:y,resourceKind:e,resourceId:b,subjectKey:`${e}:${b}`,choice:r}}),await P()}catch(e){D(e instanceof Error?e.message:String(e))}finally{E(null)}},O=C[0],L=(0,s.useMemo)(()=>O?(0,m.currentPageWorkflowNodeIds)(O,e,b):new Set,[O,b,e]),$=(0,s.useMemo)(()=>O?(0,m.workflowRunNodeDestinations)(O):new Map,[O]);return C.length||N.length||T?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:k("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:k("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:"/workflows",children:k("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[T&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:T})}),N.length>0&&(0,t.jsx)(u.ItemGroup,{className:"gap-2",children:N.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)(h.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==R,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",k("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void M(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)(c.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${O.id}`,children:[O.workflow.name," #",O.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)(O.status),children:w.status(O.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(c.Link,{href:`/workflows/runs/${O.id}`,children:[(0,t.jsx)(a.ExternalLink,{})," ",k("fullRun")]})})]}),(0,t.jsx)(v,{onAnswered:P,run:O}),(0,t.jsx)(f.WorkflowGraph,{attempts:O.attempts,compact:!0,currentPageNodeIds:L,definition:O.version.definition,destinations:$,generation:O.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&I(t)}}),C.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:C.slice(1,6).map(e=>(0,t.jsx)(o.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)(l.Badge,{variant:(0,f.workflowStatusVariant)(e.status),children:w.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},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)},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},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)},635416,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);e.s(["ArrowDown",0,t],635416)},96892,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,t],96892)},506184,e=>{"use strict";let t=(0,e.i(456420).default)("paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);e.s(["Paintbrush",0,t],506184)},225780,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(716327),i=e.i(434322),s=e.i(487486),n=e.i(975157);function l({patch:e,truncated:r=!1,truncatedLabel:a,className:i}){return(0,t.jsxs)("div",{className:(0,n.cn)("overflow-auto rounded-md border bg-neutral-950 font-mono text-xs text-neutral-100",i),children:[e.split("\n").map((e,r)=>(0,t.jsx)("div",{className:(0,n.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&&a&&(0,t.jsx)("p",{className:"border-t p-2 text-amber-300",children:a})]})}e.s(["ExpandablePatchView",0,function({patch:e,className:o}){let d=(0,r.useMemo)(()=>(function(e){let t=e.split("\n"),r=[],a=[];for(let e of t)e.startsWith("diff --git ")&&a.length&&(r.push(a),a=[]),a.push(e);return a.some(Boolean)&&r.push(a),r.map((e,t)=>{let r=e.find(e=>e.startsWith("diff --git ")),a=r?.match(/^diff --git a\/(.+) b\/(.+)$/),i=a?.[1],s=a?.[2],n=e.some(e=>e.startsWith("new file mode")),l=e.some(e=>e.startsWith("deleted file mode")),o=e.some(e=>e.startsWith("rename from ")),d=s??e.find(e=>e.startsWith("+++ "))?.replace(/^\+\+\+ (?:b\/)?/,"")??i??`Patch ${t+1}`;return{key:`${i??""}:${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:n?"A":l?"D":o?"R":"M"}})})(e),[e]),[u,c]=(0,r.useState)(new Set);return(0,t.jsx)("div",{className:(0,n.cn)("divide-y overflow-hidden rounded-md border",o),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)(a.ChevronDown,{className:(0,n.cn)("size-3.5 shrink-0 transition-transform",r&&"rotate-180")}),(0,t.jsx)(i.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)(s.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)(l,{patch:e.patch})})]},e.key)})})},"PatchView",0,l])},90969,771777,e=>{"use strict";e.s(["buildDuration",0,function(e,t=Date.now()){let r=e.durationMs??(e.startedAt&&null!==t&&["QUEUED","PREPARING","RUNNING"].includes(e.status)?t-Date.parse(e.startedAt):null);if(null===r||!Number.isFinite(r))return"—";let a=Math.max(0,Math.floor(r/1e3)),i=Math.floor(a/3600),s=Math.floor(a%3600/60),n=a%60;return i>0?`${i}h${s>0?` ${s}m`:""}`:s>0?`${s}m${n>0?` ${n}s`:""}`:`${n}s`},"buildSnapshotName",0,function(e){let t=e.snapshot.repository,r=e.snapshot.worktree;return{repository:t?.name??"—",worktree:r?.branch??r?.folder??"—"}},"buildStatusVariant",0,function(e){return"FAILED"===e?"destructive":"SUCCEEDED"===e?"success":"secondary"}],90969);var t=e.i(843476),r=e.i(395925),a=e.i(948148),i=e.i(271645),s=e.i(519455),n=e.i(987968),l=e.i(462777),o=e.i(637611);e.s(["RebuildButton",0,function({buildId:e,onCompleted:d,onError:u,size:c="default"}){let p=(0,a.useTranslations)("builds"),[m,h]=(0,i.useState)(!1),g=async()=>{h(!0),u(null);try{let t=await (0,o.controlPlaneRequest)(`mutation RebuildBuild($id: ID!, $requestId: ID!) {
|
|
23
|
+
}`,{kind:e,resourceId:b});A(t.workflowRunsForResource),S(t.workflowsAcceptingResource),D(null)}catch(e){D(e instanceof Error?e.message:String(e))}},[b,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void P(),0),t=(0,p.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void P(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[P]);let M=async(t,r)=>{E(t);try{await (0,p.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:y,resourceKind:e,resourceId:b,subjectKey:`${e}:${b}`,choice:r}}),await P()}catch(e){D(e instanceof Error?e.message:String(e))}finally{E(null)}},O=C[0],L=(0,s.useMemo)(()=>O?(0,m.currentPageWorkflowNodeIds)(O,e,b):new Set,[O,b,e]),$=(0,s.useMemo)(()=>O?(0,m.workflowRunNodeDestinations)(O):new Map,[O]);return C.length||N.length||T?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:k("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:k("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(c.Link,{href:"/workflows",children:k("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[T&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:T})}),N.length>0&&(0,t.jsx)(u.ItemGroup,{className:"gap-2",children:N.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)(h.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==R,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",k("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void M(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)(c.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${O.id}`,children:[O.workflow.name," #",O.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)(O.status),children:w.status(O.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(c.Link,{href:`/workflows/runs/${O.id}`,children:[(0,t.jsx)(a.ExternalLink,{})," ",k("fullRun")]})})]}),(0,t.jsx)(v,{onAnswered:P,run:O}),(0,t.jsx)(f.WorkflowGraph,{attempts:O.attempts,compact:!0,currentPageNodeIds:L,definition:O.version.definition,destinations:$,generation:O.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&I(t)}}),C.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:C.slice(1,6).map(e=>(0,t.jsx)(o.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)(l.Badge,{variant:(0,f.workflowStatusVariant)(e.status),children:w.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},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)},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},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)},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)},635416,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);e.s(["ArrowDown",0,t],635416)},96892,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,t],96892)},506184,e=>{"use strict";let t=(0,e.i(456420).default)("paintbrush",[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]);e.s(["Paintbrush",0,t],506184)},225780,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(716327),i=e.i(434322),s=e.i(487486),n=e.i(975157);function l({patch:e,truncated:r=!1,truncatedLabel:a,className:i}){return(0,t.jsxs)("div",{className:(0,n.cn)("overflow-auto rounded-md border bg-neutral-950 font-mono text-xs text-neutral-100",i),children:[e.split("\n").map((e,r)=>(0,t.jsx)("div",{className:(0,n.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&&a&&(0,t.jsx)("p",{className:"border-t p-2 text-amber-300",children:a})]})}e.s(["ExpandablePatchView",0,function({patch:e,className:o}){let d=(0,r.useMemo)(()=>(function(e){let t=e.split("\n"),r=[],a=[];for(let e of t)e.startsWith("diff --git ")&&a.length&&(r.push(a),a=[]),a.push(e);return a.some(Boolean)&&r.push(a),r.map((e,t)=>{let r=e.find(e=>e.startsWith("diff --git ")),a=r?.match(/^diff --git a\/(.+) b\/(.+)$/),i=a?.[1],s=a?.[2],n=e.some(e=>e.startsWith("new file mode")),l=e.some(e=>e.startsWith("deleted file mode")),o=e.some(e=>e.startsWith("rename from ")),d=s??e.find(e=>e.startsWith("+++ "))?.replace(/^\+\+\+ (?:b\/)?/,"")??i??`Patch ${t+1}`;return{key:`${i??""}:${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:n?"A":l?"D":o?"R":"M"}})})(e),[e]),[u,c]=(0,r.useState)(new Set);return(0,t.jsx)("div",{className:(0,n.cn)("divide-y overflow-hidden rounded-md border",o),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)(a.ChevronDown,{className:(0,n.cn)("size-3.5 shrink-0 transition-transform",r&&"rotate-180")}),(0,t.jsx)(i.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)(s.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)(l,{patch:e.patch})})]},e.key)})})},"PatchView",0,l])},90969,771777,e=>{"use strict";e.s(["buildDuration",0,function(e,t=Date.now()){let r=e.durationMs??(e.startedAt&&null!==t&&["QUEUED","PREPARING","RUNNING"].includes(e.status)?t-Date.parse(e.startedAt):null);if(null===r||!Number.isFinite(r))return"—";let a=Math.max(0,Math.floor(r/1e3)),i=Math.floor(a/3600),s=Math.floor(a%3600/60),n=a%60;return i>0?`${i}h${s>0?` ${s}m`:""}`:s>0?`${s}m${n>0?` ${n}s`:""}`:`${n}s`},"buildSnapshotName",0,function(e){let t=e.snapshot.repository,r=e.snapshot.worktree;return{repository:t?.name??"—",worktree:r?.branch??r?.folder??"—"}},"buildStatusVariant",0,function(e){return"FAILED"===e?"destructive":"SUCCEEDED"===e?"success":"secondary"}],90969);var t=e.i(843476),r=e.i(395925),a=e.i(948148),i=e.i(271645),s=e.i(519455),n=e.i(987968),l=e.i(462777),o=e.i(637611);e.s(["RebuildButton",0,function({buildId:e,onCompleted:d,onError:u,size:c="default"}){let p=(0,a.useTranslations)("builds"),[m,h]=(0,i.useState)(!1),g=async()=>{h(!0),u(null);try{let t=await (0,o.controlPlaneRequest)(`mutation RebuildBuild($id: ID!, $requestId: ID!) {
|
|
24
24
|
rebuildBuild(id: $id, requestId: $requestId) { id status }
|
|
25
25
|
}`,{id:e,requestId:(0,l.createClientId)()});await d?.(t.rebuildBuild)}catch(e){u(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)(s.Button,{disabled:m,onClick:e=>{e.stopPropagation(),g()},onKeyDown:e=>e.stopPropagation(),size:c,type:"button",variant:"outline",children:[m?(0,t.jsx)(n.Spinner,{}):(0,t.jsx)(r.RotateCcw,{})," ",p("rebuild")]})}],771777)},183691,e=>{"use strict";let t=`
|
|
26
26
|
id name description script targetKind targetAgentId targetRepositoryId
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
artifacts { id kind relativePath sizeBytes checksum metadata createdAt }
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
}`;function Q({builds:e,coverageReports:i,buildsLoadingMore:n,buildsNextCursor:d,entry:u,overview:c,pipelines:p,pipelinesError:m,loadError:h,onLoadMoreBuilds:g,onPipelineCancelled:f,onPipelineRetried:x,onReload:b,onUpdate:v}){let j=(0,l.useTranslations)("worktreeDetail"),y=(0,l.useTranslations)("worktrees"),A=(0,N.useRouter)(),[R,E]=(0,o.useState)(()=>new URLSearchParams(window.location.search).get("issue")),[T,W]=(0,o.useState)(null),[G,J]=(0,o.useState)(!1),[X,ee]=(0,o.useState)(!1),[et,er]=(0,o.useState)(!1),[ea,ei]=(0,o.useState)(null),es=(0,o.useRef)(0),{worktree:en,applyActivity:el,setUnstagedChanges:eo}=(0,F.useLiveWorktree)(u.worktree),ed=c.activeMoves.some(e=>e.sourceCodebaseId===u.group.codebase.id||e.targetCodebaseId===u.group.codebase.id),eu="ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes(r.WORKTREE_INSPECT_JOB_KIND)&&"AVAILABLE"===en.availability&&!en.activeJob&&!ed,ec="ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes(r.WORKTREE_WATCH_JOB_KIND),ep=(0,o.useCallback)(async()=>{if(!eu)return;let e=++es.current;ee(!0);try{let t=await (0,F.inspectWorktree)(en.id);if(e!==es.current)return;W(t),eo(t.changes.some(e=>e.unstaged||e.untracked||e.conflicted)),ei(null)}catch(t){e===es.current&&ei(t instanceof Error?t.message:String(t))}finally{e===es.current&&ee(!1)}},[eu,eo,en.id]),em=(0,F.useQueuedWorktreeInspection)(ep);(0,o.useEffect)(()=>{if(!eu)return;let e=window.setTimeout(()=>void em(),0);return()=>window.clearTimeout(e)},[eu,em]);let eh=(0,o.useCallback)(e=>{el(e),eu&&em()},[el,eu,em]);(0,F.useWorktreeActivitySubscription)(en.id,ec&&"AVAILABLE"===en.availability,eh),(0,o.useEffect)(()=>{let e=()=>E(new URLSearchParams(window.location.search).get("issue"));return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let eg=e=>{let t,r;t=new URLSearchParams(window.location.search),e?t.set("issue",e):t.delete("issue"),r=t.toString(),window.history.pushState(null,"",`${window.location.pathname}${r?`?${r}`:""}`),E(e)},ef=(0,o.useCallback)(async()=>{await b(),eu&&await em()},[eu,b,em]),ex=async()=>{er(!0);try{await (0,S.controlPlaneRequest)("mutation RefreshWorktrees { refreshWorktrees }"),await ef(),ei(null)}catch(e){ei(e instanceof Error?e.message:String(e))}finally{er(!1)}},eb={worktree:en,group:u.group,allTags:c.tags,baseRepoDirectory:u.agentGroup.agent.baseRepoDirectory,branchManagementEnabled:"ONLINE"===u.agentGroup.agent.connectionStatus&&u.agentGroup.agent.capabilities.includes("worktree.branch"),editorVariant:c.settings.editorVariant,inspectionRefreshToken:0,liveUpdatesEnabled:ec,onReload:ef,onUpdate:v,onError:ei,onManageTags:()=>J(!0),onOpenTicket:e=>eg(e),onDeleted:()=>A.push("/worktrees"),onMoved:e=>{e.targetWorktreeId&&A.push((0,K.worktreeDetailHref)(e.targetWorktreeId))},overview:c},ev=eu?null:"OFFLINE"===u.agentGroup.agent.connectionStatus?j("inspectionOffline"):"AVAILABLE"!==en.availability?en.statusError||j("inspectionUnavailable"):j(en.activeJob||ed?"inspectionBusy":"inspectionUnsupported");return(0,t.jsxs)("section",{className:"flex w-full flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(I.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(N.Link,{href:"/worktrees",children:[(0,t.jsx)(a.ArrowLeft,{})," ",j("back")]})})}),(0,t.jsxs)("div",{className:(0,q.cn)("flex flex-wrap items-start justify-between gap-4",en.highlightColor&&"rounded-lg border-l-4 px-4 py-3",en.highlightColor&&U.worktreeHighlightBackgroundClasses[en.highlightColor],en.highlightColor&&U.worktreeHighlightAccentClasses[en.highlightColor]),"data-testid":"worktree-summary",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[u.group.repository.name," · ",u.agentGroup.agent.name]}),(0,t.jsx)("h1",{className:"mt-1 truncate font-mono text-2xl font-semibold tracking-tight",children:en.branch??en.headSha?.slice(0,10)??y("detached")}),(0,t.jsx)("p",{className:"mt-1 truncate font-mono text-xs text-muted-foreground",title:en.folder,children:(0,V.displayedWorktreePath)(en.folder,u.agentGroup.agent.baseRepoDirectory)}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,t.jsx)(w.Badge,{variant:"secondary",children:en.primary?y("primary"):j("linked")}),(0,t.jsx)(V.OriginStatusBadges,{worktree:en}),en.hasStagedChanges||en.hasUnstagedChanges?(0,t.jsx)(w.Badge,{variant:"destructive",children:y("dirty")}):null,"AVAILABLE"!==en.availability&&(0,t.jsx)(w.Badge,{variant:"destructive",children:en.availability})]}),(en.ticketKey||en.ticketTitle)&&(0,t.jsx)(V.WorktreeTicketLink,{...eb})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(I.Button,{disabled:et,onClick:()=>void ex(),variant:"outline",children:[(0,t.jsx)(s.RefreshCw,{className:et?"animate-spin":void 0}),j("refresh")]}),(0,t.jsx)(V.WorktreeMenus,{...eb})]})]}),(h||ea||en.statusError)&&(0,t.jsx)(k.Alert,{variant:"destructive",children:(0,t.jsx)(k.AlertDescription,{children:ea||h||en.statusError})}),ev&&(0,t.jsx)(k.Alert,{children:(0,t.jsx)(k.AlertDescription,{children:ev})}),(0,t.jsx)(H.WorktreeRebaseConflictItem,{group:u.group,onCompleted:ef,onError:ei,worktree:en}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:j("actions")})}),(0,t.jsxs)(C.CardContent,{className:"space-y-3",children:[(0,t.jsx)(V.ActionRow,{...eb,onCompleted:ef}),(0,t.jsx)(P.WorkflowQuickActions,{sessionData:{worktree:{id:en.id,path:en.folder,branch:en.branch,baseBranch:en.baseBranch,headSha:en.headSha},codebase:{id:u.group.codebase.id,folder:u.group.codebase.folder},repo:{id:u.group.repository.id,name:u.group.repository.name,url:u.group.repository.displayOrigin,displayOrigin:u.group.repository.displayOrigin}},worktreeId:en.id,workflows:u.group.quickActions??[]}),(0,t.jsx)(M.CommandQuickActions,{agentCapabilities:u.agentGroup.agent.capabilities,worktreeId:en.id})]})]}),(0,t.jsx)(O.CommandResourcePanel,{agentCapabilities:u.agentGroup.agent.capabilities,worktreeId:en.id}),(0,t.jsx)(D,{branch:en.branch,error:m,onCancelled:f,onError:ei,onRetried:x,runs:p,worktreeId:en.id}),(0,t.jsxs)("div",{className:"grid gap-5 lg:grid-cols-2",children:[(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:j("overview")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsxs)(B.DetailList,{className:"sm:grid-cols-2",children:[(0,t.jsx)(B.DetailItem,{label:j("repository"),children:(0,t.jsx)(N.Link,{className:"text-primary hover:underline",href:`/codebases/${u.group.codebase.id}`,children:u.group.repository.name})}),(0,t.jsx)(B.DetailItem,{label:j("origin"),mono:!0,children:u.group.repository.displayOrigin}),(0,t.jsxs)(B.DetailItem,{label:j("agent"),children:[u.agentGroup.agent.name," ·"," ",u.agentGroup.agent.hostname]}),(0,t.jsx)(B.DetailItem,{label:j("folder"),mono:!0,children:en.folder}),(0,t.jsx)(B.DetailItem,{label:j("head"),mono:!0,children:en.headSha??"—"}),(0,t.jsx)(B.DetailItem,{label:j("upstream"),mono:!0,children:en.upstream??"—"}),(0,t.jsx)(B.DetailItem,{label:j("originStatus"),children:(0,t.jsx)(V.OriginStatusBadges,{worktree:en})}),(0,t.jsx)(B.DetailItem,{label:j("baseStatus"),children:(0,t.jsx)(V.BaseFreshnessBadge,{worktree:en})}),(0,t.jsx)(B.DetailItem,{label:j("lastChecked"),children:(0,t.jsx)($.DateTime,{value:en.lastCheckedAt})}),(0,t.jsx)(B.DetailItem,{label:j("lastFetched"),children:(0,t.jsx)($.DateTime,{value:u.group.codebase.lastFetchedAt})})]})})]}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:j("management")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsx)(V.WorktreeMetadata,{...eb})})]})]}),u.group.iosBuildConfigured&&(0,t.jsx)(Y,{codebaseId:u.group.codebase.id,disabled:!eu,onReload:b,reports:i,worktreeId:en.id}),(0,t.jsx)(Z,{builds:e,loadingMore:n,nextCursor:d,onError:ei,onLoadMore:g,onReload:b}),(0,t.jsxs)(C.Card,{className:"min-w-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:j("workingTree")})}),(0,t.jsx)(C.CardContent,{children:X&&!T?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(_.Spinner,{})," ",y("loadingDetails")]}):T?(0,t.jsx)(z.WorktreeDetailPanel,{detail:T,worktreeId:en.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:eu?j("inspectionFailed"):"—"})})]}),(0,t.jsxs)(C.Card,{className:"min-w-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:j("branchChanges")})}),(0,t.jsx)(C.CardContent,{children:T?(0,t.jsx)(z.BranchChangesPanel,{files:T.branchChanges??[],truncated:!0===T.branchChangesTruncated,worktreeId:en.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"—"})})]}),(0,t.jsx)(L.JiraTicketDrawer,{issueKey:R,onClose:()=>eg(null)}),(0,t.jsx)(V.TagManagerDialog,{onChanged:b,onOpenChange:J,open:G,tags:c.tags})]})}function Y({codebaseId:e,worktreeId:r,reports:a,disabled:i,onReload:s}){let o=(0,l.useTranslations)("worktreeDetail"),d=(0,n.useLocale)(),u=e=>"number"==typeof e?new Intl.NumberFormat(d,{style:"percent",maximumFractionDigits:1}).format(e):"—";return(0,t.jsxs)(C.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)(C.CardTitle,{children:o("codeCoverage")}),(0,t.jsx)("div",{className:"sm:ml-auto",children:(0,t.jsx)(h.WorktreeCoverageButton,{codebaseId:e,disabled:i,onStarted:()=>void s(),worktreeId:r})})]})}),a.length?(0,t.jsxs)(A.Table,{children:[(0,t.jsx)(A.TableHeader,{children:(0,t.jsxs)(A.TableRow,{children:[(0,t.jsx)(A.TableHead,{children:o("coverageBuild")}),(0,t.jsx)(A.TableHead,{children:o("coverageStatus")}),(0,t.jsx)(A.TableHead,{children:o("overallCoverage")}),(0,t.jsx)(A.TableHead,{children:o("changedCoverage")}),(0,t.jsx)(A.TableHead,{children:o("generated")}),(0,t.jsx)(A.TableHead,{className:"text-right",children:o("viewReport")})]})}),(0,t.jsx)(A.TableBody,{children:a.map(e=>{let r=e.build.snapshot.configuration;return(0,t.jsxs)(A.TableRow,{children:[(0,t.jsxs)(A.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:r?.name??e.build.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.build.id.slice(0,8)})]}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:o(`coverageStatuses.${e.status}`)})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(X,{percent:u,value:e.summary.lineCoverage})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(X,{percent:u,value:e.summary.changedLineCoverage})}),(0,t.jsx)(A.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)($.DateTime,{value:e.finishedAt??e.createdAt})}),(0,t.jsx)(A.TableCell,{className:"text-right",children:"READY"===e.status&&(0,t.jsx)(I.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(N.Link,{href:`/builds/${e.build.id}/coverage`,children:o("viewReport")})})})]},e.id)})})]}):(0,t.jsx)(C.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noCoverageReports")})]})}function X({percent:e,value:r}){if("number"!=typeof r)return(0,t.jsx)(t.Fragment,{children:"—"});let a=Math.max(0,Math.min(1,r));return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 tabular-nums",children:[e(r),(0,t.jsx)("span",{"aria-hidden":"true",className:`size-3.5 shrink-0 rounded-full ring-1 ring-foreground/10 ${a>=.8?"text-emerald-500":a>=.5?"text-amber-500":"text-red-500"}`,"data-coverage-indicator":!0,style:{background:`conic-gradient(currentColor ${360*a}deg, var(--muted) 0deg)`}})]})}function Z({builds:e,loadingMore:r,nextCursor:a,onError:i,onLoadMore:s,onReload:n}){let o=(0,l.useTranslations)("builds"),d=(0,N.useRouter)(),c=(0,g.useBuildTimeTicker)();return(0,t.jsxs)(C.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:o("title")})}),e.length?(0,t.jsxs)(A.Table,{children:[(0,t.jsx)(A.TableHeader,{children:(0,t.jsxs)(A.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(A.TableHead,{children:o("build")}),(0,t.jsx)(A.TableHead,{children:o("status")}),(0,t.jsx)(A.TableHead,{children:o("action")}),(0,t.jsx)(A.TableHead,{children:o("destination")}),(0,t.jsx)(A.TableHead,{children:o("startedAt")}),(0,t.jsx)(A.TableHead,{className:"text-right",children:o("actionsLabel")})]})}),(0,t.jsx)(A.TableBody,{children:e.map(e=>{let r=e.snapshot.configuration,a=e.startedAt??e.createdAt,s="SUCCEEDED"===e.status&&e.artifacts.some(e=>"RUNNABLE_APP"===e.kind);return(0,t.jsxs)(A.TableRow,{"aria-label":o("viewBuild"),className:"cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",onClick:()=>d.push(`/builds/${e.id}`),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),d.push(`/builds/${e.id}`))},role:"link",tabIndex:0,children:[(0,t.jsxs)(A.TableCell,{className:"min-w-52 whitespace-normal",children:[(0,t.jsx)(N.Link,{className:"font-medium hover:underline",href:`/builds/${e.id}`,onClick:e=>e.stopPropagation(),children:r?.name??e.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.id})]}),(0,t.jsx)(A.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)(w.Badge,{variant:(0,u.buildStatusVariant)(e.status),children:o(`statuses.${e.status}`)}),e.outOfDate&&(0,t.jsx)(w.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:o("outOfDate")})]})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"outline",children:o(`actions.${e.action}`)})}),(0,t.jsx)(A.TableCell,{children:e.destination.name}),(0,t.jsx)(A.TableCell,{className:"text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)($.DateTime,{kind:"relative",value:a}),(0,t.jsx)("span",{className:"text-xs",children:o("durationValue",{duration:(0,u.buildDuration)(e,c)})})]})}),(0,t.jsx)(A.TableCell,{className:"text-right",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,t.jsx)(p.RebuildButton,{buildId:e.id,onCompleted:()=>n(),onError:i,size:"sm"}),s&&(0,t.jsx)(m.RunBuildControls,{buildId:e.id,destinationType:e.destinationType,onCompleted:n,onError:i,preferredDestination:e.destination,size:"sm"})]})})]},e.id)})})]}):(0,t.jsx)(C.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("emptyTitle")}),a&&(0,t.jsx)("div",{className:"flex justify-center border-t p-3",children:(0,t.jsxs)(I.Button,{disabled:r,onClick:()=>void s(),variant:"outline",children:[r&&(0,t.jsx)(_.Spinner,{})," ",o("loadMore")]})})]})}e.s(["WorktreeDetailPage",0,function({worktreeId:e}){let r=(0,l.useTranslations)("worktreeDetail"),[s,n]=(0,o.useState)(null),[d,u]=(0,o.useState)([]),[p,m]=(0,o.useState)(null),[h,g]=(0,o.useState)(!1),[f,x]=(0,o.useState)([]),[b,v]=(0,o.useState)(!0),[j,y]=(0,o.useState)(null),[w,C]=(0,o.useState)([]),[A,R]=(0,o.useState)(null),E=(0,o.useRef)(0),T=(0,o.useRef)(0),D=(0,o.useRef)(null),P=(0,o.useCallback)(async()=>{let t=++E.current;try{let r=await (0,S.controlPlaneRequest)(J,{worktreeId:e});if(t!==E.current)return;D.current=(0,K.findWorktreeOverviewEntry)(r.worktreeOverview,e)?.group.codebase.id??null,n(r.worktreeOverview),u(r.builds?.items??[]),m(r.builds?.nextCursor??null),x(r.worktreeCoverageReports??[]),y(null)}catch(e){t===E.current&&y(e instanceof Error?e.message:String(e))}finally{t===E.current&&v(!1)}},[e]),M=(0,o.useCallback)(async()=>{let t=++T.current;try{let r=await (0,S.controlPlaneRequest)(`query GitHubWorktreeWorkflowRuns($worktreeId: ID!) {
|
|
109
|
+
}`;function Q({builds:e,coverageReports:a,buildsLoadingMore:i,buildsNextCursor:n,entry:d,overview:u,pipelines:c,pipelinesError:p,loadError:m,onLoadMoreBuilds:h,onPipelineCancelled:g,onPipelineRetried:f,onReload:x,onUpdate:b}){let v=(0,l.useTranslations)("worktreeDetail"),j=(0,l.useTranslations)("worktrees"),y=(0,N.useRouter)(),[A,R]=(0,o.useState)(()=>new URLSearchParams(window.location.search).get("issue")),[E,T]=(0,o.useState)(null),[W,G]=(0,o.useState)(!1),[J,X]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),[er,ea]=(0,o.useState)(null),ei=(0,o.useRef)(0),{worktree:es,applyActivity:en,setUnstagedChanges:el}=(0,F.useLiveWorktree)(d.worktree),eo=u.activeMoves.some(e=>e.sourceCodebaseId===d.group.codebase.id||e.targetCodebaseId===d.group.codebase.id),ed="ONLINE"===d.agentGroup.agent.connectionStatus&&d.agentGroup.agent.capabilities.includes(r.WORKTREE_INSPECT_JOB_KIND)&&"AVAILABLE"===es.availability&&!es.activeJob&&!eo,eu="ONLINE"===d.agentGroup.agent.connectionStatus&&d.agentGroup.agent.capabilities.includes(r.WORKTREE_WATCH_JOB_KIND),ec=(0,o.useCallback)(async()=>{if(!ed)return;let e=++ei.current;X(!0);try{let t=await (0,F.inspectWorktree)(es.id);if(e!==ei.current)return;T(t),el(t.changes.some(e=>e.unstaged||e.untracked||e.conflicted)),ea(null)}catch(t){e===ei.current&&ea(t instanceof Error?t.message:String(t))}finally{e===ei.current&&X(!1)}},[ed,el,es.id]),ep=(0,F.useQueuedWorktreeInspection)(ec);(0,o.useEffect)(()=>{if(!ed)return;let e=window.setTimeout(()=>void ep(),0);return()=>window.clearTimeout(e)},[ed,ep]);let em=(0,o.useCallback)(e=>{en(e),ed&&ep()},[en,ed,ep]);(0,F.useWorktreeActivitySubscription)(es.id,eu&&"AVAILABLE"===es.availability,em),(0,o.useEffect)(()=>{let e=()=>R(new URLSearchParams(window.location.search).get("issue"));return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]);let eh=e=>{let t,r;t=new URLSearchParams(window.location.search),e?t.set("issue",e):t.delete("issue"),r=t.toString(),window.history.pushState(null,"",`${window.location.pathname}${r?`?${r}`:""}`),R(e)},eg=(0,o.useCallback)(async()=>{await x(),ed&&await ep()},[ed,x,ep]),ef=async()=>{et(!0);try{await (0,S.controlPlaneRequest)("mutation RefreshWorktrees { refreshWorktrees }"),await eg(),ea(null)}catch(e){ea(e instanceof Error?e.message:String(e))}finally{et(!1)}},ex={worktree:es,group:d.group,allTags:u.tags,baseRepoDirectory:d.agentGroup.agent.baseRepoDirectory,branchManagementEnabled:"ONLINE"===d.agentGroup.agent.connectionStatus&&d.agentGroup.agent.capabilities.includes("worktree.branch"),editorVariant:u.settings.editorVariant,inspectionRefreshToken:0,liveUpdatesEnabled:eu,onReload:eg,onUpdate:b,onError:ea,onManageTags:()=>G(!0),onOpenTicket:e=>eh(e),onDeleted:()=>y.push("/worktrees"),onMoved:e=>{e.targetWorktreeId&&y.push((0,K.worktreeDetailHref)(e.targetWorktreeId))},overview:u},eb=ed?null:"OFFLINE"===d.agentGroup.agent.connectionStatus?v("inspectionOffline"):"AVAILABLE"!==es.availability?es.statusError||v("inspectionUnavailable"):v(es.activeJob||eo?"inspectionBusy":"inspectionUnsupported");return(0,t.jsxs)("section",{className:"flex w-full flex-col gap-5",children:[(0,t.jsxs)("div",{className:(0,q.cn)("flex flex-wrap items-start justify-between gap-4",es.highlightColor&&"rounded-lg border-l-4 px-4 py-3",es.highlightColor&&U.worktreeHighlightBackgroundClasses[es.highlightColor],es.highlightColor&&U.worktreeHighlightAccentClasses[es.highlightColor]),"data-testid":"worktree-summary",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[d.group.repository.name," · ",d.agentGroup.agent.name]}),(0,t.jsx)("h1",{className:"mt-1 truncate font-mono text-2xl font-semibold tracking-tight",children:es.branch??es.headSha?.slice(0,10)??j("detached")}),(0,t.jsx)("p",{className:"mt-1 truncate font-mono text-xs text-muted-foreground",title:es.folder,children:(0,V.displayedWorktreePath)(es.folder,d.agentGroup.agent.baseRepoDirectory)}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,t.jsx)(w.Badge,{variant:"secondary",children:es.primary?j("primary"):v("linked")}),(0,t.jsx)(V.OriginStatusBadges,{worktree:es}),es.hasStagedChanges||es.hasUnstagedChanges?(0,t.jsx)(w.Badge,{variant:"destructive",children:j("dirty")}):null,"AVAILABLE"!==es.availability&&(0,t.jsx)(w.Badge,{variant:"destructive",children:es.availability})]}),(es.ticketKey||es.ticketTitle)&&(0,t.jsx)(V.WorktreeTicketLink,{...ex})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(I.Button,{disabled:ee,onClick:()=>void ef(),variant:"outline",children:[(0,t.jsx)(s.RefreshCw,{className:ee?"animate-spin":void 0}),v("refresh")]}),(0,t.jsx)(V.WorktreeMenus,{...ex})]})]}),(m||er||es.statusError)&&(0,t.jsx)(k.Alert,{variant:"destructive",children:(0,t.jsx)(k.AlertDescription,{children:er||m||es.statusError})}),eb&&(0,t.jsx)(k.Alert,{children:(0,t.jsx)(k.AlertDescription,{children:eb})}),(0,t.jsx)(H.WorktreeRebaseConflictItem,{group:d.group,onCompleted:eg,onError:ea,worktree:es}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:v("actions")})}),(0,t.jsxs)(C.CardContent,{className:"space-y-3",children:[(0,t.jsx)(V.ActionRow,{...ex,onCompleted:eg}),(0,t.jsx)(P.WorkflowQuickActions,{sessionData:{worktree:{id:es.id,path:es.folder,branch:es.branch,baseBranch:es.baseBranch,headSha:es.headSha},codebase:{id:d.group.codebase.id,folder:d.group.codebase.folder},repo:{id:d.group.repository.id,name:d.group.repository.name,url:d.group.repository.displayOrigin,displayOrigin:d.group.repository.displayOrigin}},worktreeId:es.id,workflows:d.group.quickActions??[]}),(0,t.jsx)(M.CommandQuickActions,{agentCapabilities:d.agentGroup.agent.capabilities,worktreeId:es.id})]})]}),(0,t.jsx)(O.CommandResourcePanel,{agentCapabilities:d.agentGroup.agent.capabilities,worktreeId:es.id}),(0,t.jsx)(D,{branch:es.branch,error:p,onCancelled:g,onError:ea,onRetried:f,runs:c,worktreeId:es.id}),(0,t.jsxs)("div",{className:"grid gap-5 lg:grid-cols-2",children:[(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:v("overview")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsxs)(B.DetailList,{className:"sm:grid-cols-2",children:[(0,t.jsx)(B.DetailItem,{label:v("repository"),children:(0,t.jsx)(N.Link,{className:"text-primary hover:underline",href:`/codebases/${d.group.codebase.id}`,children:d.group.repository.name})}),(0,t.jsx)(B.DetailItem,{label:v("origin"),mono:!0,children:d.group.repository.displayOrigin}),(0,t.jsxs)(B.DetailItem,{label:v("agent"),children:[d.agentGroup.agent.name," ·"," ",d.agentGroup.agent.hostname]}),(0,t.jsx)(B.DetailItem,{label:v("folder"),mono:!0,children:es.folder}),(0,t.jsx)(B.DetailItem,{label:v("head"),mono:!0,children:es.headSha??"—"}),(0,t.jsx)(B.DetailItem,{label:v("upstream"),mono:!0,children:es.upstream??"—"}),(0,t.jsx)(B.DetailItem,{label:v("originStatus"),children:(0,t.jsx)(V.OriginStatusBadges,{worktree:es})}),(0,t.jsx)(B.DetailItem,{label:v("baseStatus"),children:(0,t.jsx)(V.BaseFreshnessBadge,{worktree:es})}),(0,t.jsx)(B.DetailItem,{label:v("lastChecked"),children:(0,t.jsx)($.DateTime,{value:es.lastCheckedAt})}),(0,t.jsx)(B.DetailItem,{label:v("lastFetched"),children:(0,t.jsx)($.DateTime,{value:d.group.codebase.lastFetchedAt})})]})})]}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:v("management")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsx)(V.WorktreeMetadata,{...ex})})]})]}),d.group.iosBuildConfigured&&(0,t.jsx)(Y,{codebaseId:d.group.codebase.id,disabled:!ed,onReload:x,reports:a,worktreeId:es.id}),(0,t.jsx)(Z,{builds:e,loadingMore:i,nextCursor:n,onError:ea,onLoadMore:h,onReload:x}),(0,t.jsxs)(C.Card,{className:"min-w-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:v("workingTree")})}),(0,t.jsx)(C.CardContent,{children:J&&!E?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(_.Spinner,{})," ",j("loadingDetails")]}):E?(0,t.jsx)(z.WorktreeDetailPanel,{detail:E,worktreeId:es.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:ed?v("inspectionFailed"):"—"})})]}),(0,t.jsxs)(C.Card,{className:"min-w-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:v("branchChanges")})}),(0,t.jsx)(C.CardContent,{children:E?(0,t.jsx)(z.BranchChangesPanel,{files:E.branchChanges??[],truncated:!0===E.branchChangesTruncated,worktreeId:es.id}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"—"})})]}),(0,t.jsx)(L.JiraTicketDrawer,{issueKey:A,onClose:()=>eh(null)}),(0,t.jsx)(V.TagManagerDialog,{onChanged:x,onOpenChange:G,open:W,tags:u.tags})]})}function Y({codebaseId:e,worktreeId:r,reports:a,disabled:i,onReload:s}){let o=(0,l.useTranslations)("worktreeDetail"),d=(0,n.useLocale)(),u=e=>"number"==typeof e?new Intl.NumberFormat(d,{style:"percent",maximumFractionDigits:1}).format(e):"—";return(0,t.jsxs)(C.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)(C.CardTitle,{children:o("codeCoverage")}),(0,t.jsx)("div",{className:"sm:ml-auto",children:(0,t.jsx)(h.WorktreeCoverageButton,{codebaseId:e,disabled:i,onStarted:()=>void s(),worktreeId:r})})]})}),a.length?(0,t.jsxs)(A.Table,{children:[(0,t.jsx)(A.TableHeader,{children:(0,t.jsxs)(A.TableRow,{children:[(0,t.jsx)(A.TableHead,{children:o("coverageBuild")}),(0,t.jsx)(A.TableHead,{children:o("coverageStatus")}),(0,t.jsx)(A.TableHead,{children:o("overallCoverage")}),(0,t.jsx)(A.TableHead,{children:o("changedCoverage")}),(0,t.jsx)(A.TableHead,{children:o("generated")}),(0,t.jsx)(A.TableHead,{className:"text-right",children:o("viewReport")})]})}),(0,t.jsx)(A.TableBody,{children:a.map(e=>{let r=e.build.snapshot.configuration;return(0,t.jsxs)(A.TableRow,{children:[(0,t.jsxs)(A.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:r?.name??e.build.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.build.id.slice(0,8)})]}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:o(`coverageStatuses.${e.status}`)})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(X,{percent:u,value:e.summary.lineCoverage})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(X,{percent:u,value:e.summary.changedLineCoverage})}),(0,t.jsx)(A.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)($.DateTime,{value:e.finishedAt??e.createdAt})}),(0,t.jsx)(A.TableCell,{className:"text-right",children:"READY"===e.status&&(0,t.jsx)(I.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(N.Link,{href:`/builds/${e.build.id}/coverage`,children:o("viewReport")})})})]},e.id)})})]}):(0,t.jsx)(C.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noCoverageReports")})]})}function X({percent:e,value:r}){if("number"!=typeof r)return(0,t.jsx)(t.Fragment,{children:"—"});let a=Math.max(0,Math.min(1,r));return(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 tabular-nums",children:[e(r),(0,t.jsx)("span",{"aria-hidden":"true",className:`size-3.5 shrink-0 rounded-full ring-1 ring-foreground/10 ${a>=.8?"text-emerald-500":a>=.5?"text-amber-500":"text-red-500"}`,"data-coverage-indicator":!0,style:{background:`conic-gradient(currentColor ${360*a}deg, var(--muted) 0deg)`}})]})}function Z({builds:e,loadingMore:r,nextCursor:a,onError:i,onLoadMore:s,onReload:n}){let o=(0,l.useTranslations)("builds"),d=(0,N.useRouter)(),c=(0,g.useBuildTimeTicker)();return(0,t.jsxs)(C.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:o("title")})}),e.length?(0,t.jsxs)(A.Table,{children:[(0,t.jsx)(A.TableHeader,{children:(0,t.jsxs)(A.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(A.TableHead,{children:o("build")}),(0,t.jsx)(A.TableHead,{children:o("status")}),(0,t.jsx)(A.TableHead,{children:o("action")}),(0,t.jsx)(A.TableHead,{children:o("destination")}),(0,t.jsx)(A.TableHead,{children:o("startedAt")}),(0,t.jsx)(A.TableHead,{className:"text-right",children:o("actionsLabel")})]})}),(0,t.jsx)(A.TableBody,{children:e.map(e=>{let r=e.snapshot.configuration,a=e.startedAt??e.createdAt,s="SUCCEEDED"===e.status&&e.artifacts.some(e=>"RUNNABLE_APP"===e.kind);return(0,t.jsxs)(A.TableRow,{"aria-label":o("viewBuild"),className:"cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",onClick:()=>d.push(`/builds/${e.id}`),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),d.push(`/builds/${e.id}`))},role:"link",tabIndex:0,children:[(0,t.jsxs)(A.TableCell,{className:"min-w-52 whitespace-normal",children:[(0,t.jsx)(N.Link,{className:"font-medium hover:underline",href:`/builds/${e.id}`,onClick:e=>e.stopPropagation(),children:r?.name??e.id}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.id})]}),(0,t.jsx)(A.TableCell,{children:(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,t.jsx)(w.Badge,{variant:(0,u.buildStatusVariant)(e.status),children:o(`statuses.${e.status}`)}),e.outOfDate&&(0,t.jsx)(w.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:o("outOfDate")})]})}),(0,t.jsx)(A.TableCell,{children:(0,t.jsx)(w.Badge,{variant:"outline",children:o(`actions.${e.action}`)})}),(0,t.jsx)(A.TableCell,{children:e.destination.name}),(0,t.jsx)(A.TableCell,{className:"text-muted-foreground",children:(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)($.DateTime,{kind:"relative",value:a}),(0,t.jsx)("span",{className:"text-xs",children:o("durationValue",{duration:(0,u.buildDuration)(e,c)})})]})}),(0,t.jsx)(A.TableCell,{className:"text-right",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,t.jsx)(p.RebuildButton,{buildId:e.id,onCompleted:()=>n(),onError:i,size:"sm"}),s&&(0,t.jsx)(m.RunBuildControls,{buildId:e.id,destinationType:e.destinationType,onCompleted:n,onError:i,preferredDestination:e.destination,size:"sm"})]})})]},e.id)})})]}):(0,t.jsx)(C.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("emptyTitle")}),a&&(0,t.jsx)("div",{className:"flex justify-center border-t p-3",children:(0,t.jsxs)(I.Button,{disabled:r,onClick:()=>void s(),variant:"outline",children:[r&&(0,t.jsx)(_.Spinner,{})," ",o("loadMore")]})})]})}e.s(["WorktreeDetailPage",0,function({worktreeId:e}){let r=(0,l.useTranslations)("worktreeDetail"),[s,n]=(0,o.useState)(null),[d,u]=(0,o.useState)([]),[p,m]=(0,o.useState)(null),[h,g]=(0,o.useState)(!1),[f,x]=(0,o.useState)([]),[b,v]=(0,o.useState)(!0),[j,y]=(0,o.useState)(null),[w,C]=(0,o.useState)([]),[A,R]=(0,o.useState)(null),E=(0,o.useRef)(0),T=(0,o.useRef)(0),D=(0,o.useRef)(null),P=(0,o.useCallback)(async()=>{let t=++E.current;try{let r=await (0,S.controlPlaneRequest)(J,{worktreeId:e});if(t!==E.current)return;D.current=(0,K.findWorktreeOverviewEntry)(r.worktreeOverview,e)?.group.codebase.id??null,n(r.worktreeOverview),u(r.builds?.items??[]),m(r.builds?.nextCursor??null),x(r.worktreeCoverageReports??[]),y(null)}catch(e){t===E.current&&y(e instanceof Error?e.message:String(e))}finally{t===E.current&&v(!1)}},[e]),M=(0,o.useCallback)(async()=>{let t=++T.current;try{let r=await (0,S.controlPlaneRequest)(`query GitHubWorktreeWorkflowRuns($worktreeId: ID!) {
|
|
110
110
|
githubWorktreeWorkflowRuns(worktreeId: $worktreeId) {
|
|
111
111
|
id workflowId repositoryGithubId codebaseRepositoryId repositoryNameWithOwner repositoryUrl
|
|
112
112
|
name displayTitle runNumber runAttempt event status url headBranch headSha checkSuiteId
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),i=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,i.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,i.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,i.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...a}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,i.cn)(s({variant:r,className:e})),...a})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,i.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(30030),s=e.i(820783),a=e.i(326999),n=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,i.createContextScope)("AlertDialog",[a.createDialogScope]),u=(0,a.createDialogScope)(),m=o(e=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(a.Root,{...s,...i,modal:!0})},"AlertDialog"),f=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...s}=e,n=u(i);return(0,t.jsx)(a.Trigger,{...n,...s,ref:r})},"AlertDialogTrigger")),x=o(e=>{let{__scopeAlertDialog:r,...i}=e,s=u(r);return(0,t.jsx)(a.Portal,{...s,...i})},"AlertDialogPortal"),p=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...s}=e,n=u(i);return(0,t.jsx)(a.Overlay,{...n,...s,ref:r})},"AlertDialogOverlay")),[h,g]=d("AlertDialogContent"),j=r.forwardRef(o(function(e,i){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),m=r.useRef(null),f=(0,s.useComposedRefs)(i,m),x=r.useRef(null);return(0,t.jsx)(h,{scope:l,cancelRef:x,children:(0,t.jsx)(a.Content,{role:"alertdialog",...c,...d,ref:f,onOpenAutoFocus:(0,n.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),x.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),b=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...s}=e,n=u(i);return(0,t.jsx)(a.Title,{...n,...s,ref:r})},"AlertDialogTitle")),v=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...s}=e,n=u(i);return(0,t.jsx)(a.Description,{...n,...s,ref:r})},"AlertDialogDescription")),w=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...s}=e,n=u(i);return(0,t.jsx)(a.Close,{...n,...s,ref:r})},"AlertDialogAction")),y=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,{cancelRef:l}=g("AlertDialogCancel",i),o=u(i),d=(0,s.useComposedRefs)(r,l);return(0,t.jsx)(a.Close,{...o,...n,ref:d})},"AlertDialogCancel"));e.s(["Action",0,w,"AlertDialog",0,m,"AlertDialogAction",0,w,"AlertDialogCancel",0,y,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,p,"AlertDialogPortal",0,x,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,f,"Cancel",0,y,"Content",0,j,"Description",0,v,"Overlay",0,p,"Portal",0,x,"Root",0,m,"Title",0,b,"Trigger",0,f,"createAlertDialogScope",0,c],691162);var C=e.i(691162),C=C,N=e.i(975157),I=e.i(519455);function D({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function k({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function T({className:e,...r}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.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 A({className:e,size:r="default",...i}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(T,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,N.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 E({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.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 R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.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)(C.Title,{"data-slot":"alert-dialog-title",className:(0,N.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 O({className:e,...r}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function L({className:e,variant:r="default",size:i="default",...s}){return(0,t.jsx)(I.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...s})})}function _({className:e,variant:r="outline",size:i="default",...s}){return(0,t.jsx)(I.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...s})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:i,onConfirm:s,onOpenChange:a,open:n,title:l,trigger:o}){return(0,t.jsxs)(D,{onOpenChange:a,open:n,children:[o&&(0,t.jsx)(k,{asChild:!0,children:o}),(0,t.jsxs)(A,{children:[(0,t.jsxs)(E,{children:[(0,t.jsx)($,{children:l}),(0,t.jsx)(O,{children:i})]}),(0,t.jsxs)(R,{children:[(0,t.jsx)(_,{children:r}),(0,t.jsx)(L,{onClick:()=>void s(),variant:"destructive",children:e})]})]})]})}],340953)},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)},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)},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...i}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",e),...i})},"TableCell",0,function({className:e,...i}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...i})},"TableFooter",0,function({className:e,...i}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...i})},"TableHead",0,function({className:e,...i}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...i})},"TableHeader",0,function({className:e,...i}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",e),...i})},"TableRow",0,function({className:e,...i}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...i})}])},755838,(e,t,r)=>{"use strict";var i=e.r(271645),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useState,n=i.useEffect,l=i.useLayoutEffect,o=i.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!s(e,r)}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 r=t(),i=a({inst:{value:r,getSnapshot:t}}),s=i[0].inst,c=i[1];return l(function(){s.value=r,s.getSnapshot=t,d(s)&&c({inst:s})},[e,r,t]),n(function(){return d(s)&&c({inst:s}),e(function(){d(s)&&c({inst:s})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},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:a,hasPlainTrigger:n=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return a.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:[n&&(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),a.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,i.cloneElement)(e,{onClick:()=>l(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(),a=e.resourceId.trim();if(!a)return null;let n="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===s?`/builds/${t(a)}`:"CODEBASE"===s?`/codebases/${t(a)}`:"JIRA_TICKET"===s?`/jira/tickets/${t(a)}`:"WORKTREE"===s?`/worktrees/${t(a)}`:"AGENT_RUN"===s&&"PLAN"===n?`/plans/${t(a)}`:"AGENT_RUN"===s&&"SESSION"===n?`/sessions/${t(a)}`:"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 a=Number(e.slice(r+1));return!Number.isInteger(a)||a<1?null:`/pull-requests/${t(i.slice(0,s))}/${t(i.slice(s+1))}/${a}`}(a):"AGENT_JOB"===s?`/jobs/${t(a)}`:"COMMAND_RUN"===s?`/commands/runs/${t(a)}`:"WORKFLOW_RUN"===s?`/workflows/runs/${t(a)}`:"SKILL_SYNC"===s?`/skills/sync/${t(a)}`:"SKILL"===s?`/skills/${t(a)}`:"IOS_DEVICE"===s?`/devices/${t(a)}`:"SIGNING_PROFILE"===s?`/provisioning-profiles/${t(a)}`:"PUSH_NOTIFICATION_BATCH"===s?"/push-notifications":"BUILD_DATA_COLLECTION"===s?"/build-data":"AGENT"===s?`/agents/${t(a)}`:"CODEBASE_REPOSITORY"===s?`/codebases/repositories/${t(a)}`: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 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 a(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function n(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(),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(),a=r.trim();if(!i||!s&&!a)throw Error("GitHub pipeline repository and provider ID are required");return`${i}:${s?"run":"check"}:${s||a}`},"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=>l(e,t,r))&&i.add(s.nodeId);for(let a of e.resourceLinks){if(!l(a,t,r))continue;let n=a.attemptId?s.get(a.attemptId):e.trigger?.nodeId;n&&i.add(n)}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=a(e.output),i=a(r.value),s={...a(i.sessionPatch),...a(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=n(i.key)??n(a(i.ticket).key)??n(a(s.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=n(i.id),t=n(i.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=n(a(s.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=n(a(s.codebase).id)??n(i.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=n(a(s.build).id)??n(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 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),i=e.i(482022),s=e.i(948148),a=e.i(271645),n=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),x=e.i(997778),p=e.i(505624),h=e.i(349049),g=e.i(399668);function j(e){return"string"==typeof e&&e.length>0?e:null}function b({run:e,onAnswered:r}){let i=(0,s.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,a.useState)({}),[f,x]=(0,a.useState)(!1),[p,h]=(0,a.useState)(null),v=(0,a.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=j(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=j(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:j(e.header),prompt:j(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=j(e.label);return t?[{id:j(e.id)??t,label:t,description:j(e.description)}]:[]})}})(e)??[]);return i.length?[{id:r,kind:e.kind,questions:i}]:[]})),[e]);if(0===v.length)return null;let w=(e,t)=>`${e}:${t}`,y=async(e,t)=>{x(!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[w(e.id,t.id)];return r}),h(null),await r()}catch(e){h(e instanceof Error?e.message:String(e))}finally{x(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[p&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:p})}),v.map(r=>{let s=1===r.questions.length&&!r.questions[0].multiSelect,a=r.questions.every(e=>(d[w(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:l.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let i=d[w(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((a,n)=>(0,t.jsx)(o.Button,{"aria-pressed":s?void 0:i.includes(a.label),disabled:f,onClick:()=>{s?y(r,{[e.id]:[a.label]}):c(t=>{let i=new Set(t[w(r.id,e.id)]??[]);return e.multiSelect?i.has(a.label)?i.delete(a.label):i.add(a.label):(i.clear(),i.add(a.label)),{...t,[w(r.id,e.id)]:[...i]}})},size:"sm",title:a.description??void 0,variant:i.includes(a.label)||s&&0===n?"default":"outline",children:a.label},a.id))})]},e.id)}),!s&&(0,t.jsx)(o.Button,{disabled:f||!a,onClick:()=>void y(r,Object.fromEntries(r.questions.map(e=>[e.id,d[w(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)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:i("answerOnRunPage")})})]})]},r.id)})]})}let v=`
|
|
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:j,sessionData:w}){let y=(0,s.useTranslations)("workflows"),C=(0,g.useWorkflowLabels)(),N=(0,p.useOpenWorkflowDestination)(),[I,D]=(0,a.useState)([]),[k,S]=(0,a.useState)([]),[T,A]=(0,a.useState)(null),[E,R]=(0,a.useState)(null),$=(0,a.useCallback)(async()=>{try{let t=await (0,m.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
|
|
17
|
+
workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${v} }
|
|
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:j});D(t.workflowRunsForResource),S(t.workflowsAcceptingResource),R(null)}catch(e){R(e instanceof Error?e.message:String(e))}},[j,e]);(0,a.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 O=async(t,r)=>{A(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:w,resourceKind:e,resourceId:j,subjectKey:`${e}:${j}`,choice:r}}),await $()}catch(e){R(e instanceof Error?e.message:String(e))}finally{A(null)}},L=I[0],_=(0,a.useMemo)(()=>L?(0,f.currentPageWorkflowNodeIds)(L,e,j):new Set,[L,j,e]),B=(0,a.useMemo)(()=>L?(0,f.workflowRunNodeDestinations)(L):new Map,[L]);return I.length||k.length||E?(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:[E&&(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:E})}),k.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:k.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)(x.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==T,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",y("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void O(e.id,t)})})]},e.id))}),L&&(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/${L.id}`,children:[L.workflow.name," #",L.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,h.workflowStatusVariant)(L.status),children:C.status(L.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${L.id}`,children:[(0,t.jsx)(i.ExternalLink,{})," ",y("fullRun")]})})]}),(0,t.jsx)(b,{onAnswered:$,run:L}),(0,t.jsx)(h.WorkflowGraph,{attempts:L.attempts,compact:!0,currentPageNodeIds:_,definition:L.version.definition,destinations:B,generation:L.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&N(t)}}),I.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:I.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,h.workflowStatusVariant)(e.status),children:C.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},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)},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)},580860,e=>{"use strict";let t=(0,e.i(456420).default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",0,t],580860)},938882,e=>{"use strict";let t=`
|
|
24
|
+
id maskedUdid displayName product osVersion platform status appleStatus
|
|
25
|
+
registeredAt lastSeenAt lastIpAddress createdAt updatedAt
|
|
26
|
+
`,r=`
|
|
27
|
+
id udid maskedUdid displayName product osVersion platform status
|
|
28
|
+
appleDeviceId appleStatus registrationError registeredAt lastSeenAt
|
|
29
|
+
lastIpAddress createdAt updatedAt
|
|
30
|
+
enrollments {
|
|
31
|
+
id status displayName expiresAt downloadedAt consumedAt failureCode createdAt updatedAt
|
|
32
|
+
}
|
|
33
|
+
ipObservations { id ipAddress source headerSource observedAt }
|
|
34
|
+
`,i=`
|
|
35
|
+
name identifier
|
|
36
|
+
firmwares { version buildId fileSize url releaseDate signed }
|
|
37
|
+
`,s=`
|
|
38
|
+
organizationName profileIdentifier signerConfigured signerFingerprint
|
|
39
|
+
signerCreatedAt signerExpiresAt appStoreConnectConfigured
|
|
40
|
+
appStoreConnectIssuerId appStoreConnectKeyId
|
|
41
|
+
appStoreConnectPrivateKeyConfigured appStoreConnectPrivateKeyFingerprint
|
|
42
|
+
appStoreConnectVerifiedAt appStoreConnectLastTestedAt
|
|
43
|
+
appStoreConnectVerificationError updatedAt
|
|
44
|
+
`;e.s(["IOS_DEVICE_FIELDS",0,r,"IOS_DEVICE_FIRMWARE_FIELDS",0,i,"IOS_DEVICE_LIST_FIELDS",0,t,"IOS_DEVICE_SETTINGS_FIELDS",0,s])},265373,e=>{"use strict";var t=e.i(843476),r=e.i(487486);e.s(["IosDeviceStatusBadge",0,function({label:e,status:i}){return(0,t.jsx)(r.Badge,{className:{PENDING:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",REGISTERING:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",REGISTERED:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",REGISTRATION_FAILED:"border-destructive/30 bg-destructive/10 text-destructive",REJECTED:"border-muted-foreground/30 bg-muted text-muted-foreground"}[i],children:e})}])},835441,e=>{"use strict";var t=e.i(843476),r=e.i(636162),i=e.i(711241),s=e.i(689664),a=e.i(508734),n=e.i(762368),l=e.i(772382),o=e.i(580860),d=e.i(856522),c=e.i(166794),u=e.i(573474);let m=(0,e.i(456420).default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var f=e.i(861745),x=e.i(948148),p=e.i(271645),h=e.i(340953),g=e.i(929592),j=e.i(487486),b=e.i(519455),v=e.i(515288),w=e.i(816484),y=e.i(793479),C=e.i(110204),N=e.i(82612),I=e.i(987968),D=e.i(784774),k=e.i(520133),S=e.i(462777),T=e.i(637611),A=e.i(265373),E=e.i(938882);e.s(["DeviceDetailPage",0,function({id:e}){let R=(0,x.useTranslations)("devices"),$=(0,x.useTranslations)("common"),O=(0,f.useLocale)(),L=(0,k.useRouter)(),[_,B]=(0,p.useState)(null),[P,M]=(0,p.useState)(null),[H,z]=(0,p.useState)(null),[F,W]=(0,p.useState)(!1),[U,q]=(0,p.useState)(null),[G,V]=(0,p.useState)(""),[K,J]=(0,p.useState)(!1),[Q,Y]=(0,p.useState)(!1),[X,Z]=(0,p.useState)(null),[ee,et]=(0,p.useState)(!0),[er,ei]=(0,p.useState)(!1),[es,ea]=(0,p.useState)(null),[en,el]=(0,p.useState)(!1),[eo,ed]=(0,p.useState)(!1),[ec,eu]=(0,p.useState)(!1),em=(0,p.useCallback)(async()=>{try{let t=await (0,T.controlPlaneRequest)(`query IosDeviceDetail($id: ID!) {
|
|
45
|
+
iosDevice(id: $id) { ${E.IOS_DEVICE_FIELDS} }
|
|
46
|
+
iosDeviceSettings { ${E.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
47
|
+
}`,{id:e});B(t.iosDevice),M(t.iosDeviceSettings),V(t.iosDevice?.displayName??""),ea(null)}catch(e){ea(e instanceof Error?e.message:String(e))}finally{et(!1)}},[e]);(0,p.useEffect)(()=>{let e=window.setTimeout(()=>void em(),0);return()=>window.clearTimeout(e)},[em]),(0,p.useEffect)(()=>(0,T.controlPlaneSubscriptions)().subscribe({query:"subscription IosDeviceChanged { iosDevicesChanged { id } }"},{next:({data:t})=>{t?.iosDevicesChanged.id&&t.iosDevicesChanged.id!==e||em()},error:()=>void 0,complete:()=>void 0}),[e,em]);let ef=_?.id??null,ex=_?.product??null;(0,p.useEffect)(()=>{let e=!1,t=window.setTimeout(()=>{if(!ef||!ex){z(null),q(null),W(!1);return}z(null),q(null),W(!0),(0,T.controlPlaneRequest)(`query IosDeviceFirmware($id: ID!) {
|
|
48
|
+
iosDeviceFirmware(id: $id) { ${E.IOS_DEVICE_FIRMWARE_FIELDS} }
|
|
49
|
+
}`,{id:ef}).then(t=>{e||z(t.iosDeviceFirmware)}).catch(t=>{e||q(t instanceof Error?t.message:String(t))}).finally(()=>{e||W(!1)})},0);return()=>{e=!0,window.clearTimeout(t)}},[ef,ex]);let ep=async t=>{t.preventDefault(),ei(!0);try{await (0,T.controlPlaneRequest)(`mutation RenameIosDevice($id: ID!, $displayName: String!) {
|
|
50
|
+
renameIosDevice(id: $id, displayName: $displayName) { id }
|
|
51
|
+
}`,{id:e,displayName:G}),await em()}catch(e){ea(e instanceof Error?e.message:String(e))}finally{ei(!1)}},eh=async()=>{ei(!0);try{await (0,T.controlPlaneRequest)("mutation RegisterIosDevice($id: ID!) { registerIosDevice(id: $id) { id } }",{id:e}),el(!1),await em()}catch(e){ea(e instanceof Error?e.message:String(e)),el(!1),await em()}finally{ei(!1)}},eg=async()=>{ei(!0);try{await (0,T.controlPlaneRequest)("mutation RejectIosDevice($id: ID!) { rejectIosDevice(id: $id) { id } }",{id:e}),ed(!1),await em()}catch(e){ea(e instanceof Error?e.message:String(e))}finally{ei(!1)}},ej=async()=>{ei(!0);try{await (0,T.controlPlaneRequest)("mutation DeleteIosDevice($id: ID!) { deleteIosDevice(id: $id) }",{id:e}),L.push("/devices")}catch(e){ea(e instanceof Error?e.message:String(e)),ei(!1)}},eb=async()=>{_&&(await (0,S.copyText)(_.udid),Y(!0),window.setTimeout(()=>Y(!1),2e3))},ev=async e=>{await (0,S.copyText)(e),Z(e),window.setTimeout(()=>Z(null),2e3)};if(ee)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(I.Spinner,{})," ",R("loading")]});if(!_)return(0,t.jsxs)(N.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(N.EmptyHeader,{children:[(0,t.jsx)(N.EmptyTitle,{children:R("notFound")}),es&&(0,t.jsx)(N.EmptyDescription,{children:es})]}),(0,t.jsx)(b.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(k.Link,{href:"/devices",children:[(0,t.jsx)(i.ArrowLeft,{})," ",R("back")]})})]});let ew=P?.appStoreConnectConfigured&&["PENDING","REGISTRATION_FAILED"].includes(_.status),ey=_.osVersion?H?.firmwares.filter(e=>e.version===_.osVersion||e.buildId.toUpperCase()===_.osVersion?.toUpperCase()):null,eC=ey?.find(e=>e.signed)??ey?.[0]??null,eN=_.osVersion?eC?`${eC.version} (${eC.buildId})`:_.osVersion:R("unavailable");return(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[es&&(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:es})}),_.registrationError&&(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:_.registrationError})}),"REGISTERED"===_.status&&(0,t.jsxs)(g.Alert,{children:[(0,t.jsx)(s.Check,{}),(0,t.jsxs)(g.AlertDescription,{children:[R("rebuildWarning")," ",(0,t.jsx)(k.Link,{className:"text-primary hover:underline",href:"/builds",children:R("openBuilds")})]})]}),!P?.appStoreConnectConfigured&&(0,t.jsxs)(g.Alert,{children:[(0,t.jsx)(c.Settings,{}),(0,t.jsxs)(g.AlertDescription,{children:[R("configureAppleFirst")," ",(0,t.jsx)(k.Link,{className:"text-primary hover:underline",href:"/settings",children:R("openSettings")})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:_.displayName}),(0,t.jsx)(A.IosDeviceStatusBadge,{label:R(`status.${_.status}`),status:_.status})]}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:H?.name??_.product??R("unavailable")}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:_.maskedUdid})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(b.Button,{disabled:!ew||er,onClick:()=>el(!0),children:[er&&"REGISTERING"===_.status?(0,t.jsx)(I.Spinner,{}):(0,t.jsx)(r.Apple,{})," ","REGISTRATION_FAILED"===_.status?R("retryRegistration"):R("registerWithApple")]}),(0,t.jsxs)(b.Button,{disabled:er||!["PENDING","REGISTRATION_FAILED"].includes(_.status),onClick:()=>ed(!0),variant:"outline",children:[(0,t.jsx)(m,{})," ",R("reject")]}),(0,t.jsxs)(b.Button,{disabled:er||"REGISTERING"===_.status,onClick:()=>eu(!0),variant:"destructive",children:[(0,t.jsx)(u.Trash2,{})," ",R("delete")]})]})]}),(0,t.jsxs)(v.Card,{children:[(0,t.jsx)(v.CardHeader,{children:(0,t.jsx)(v.CardTitle,{children:R("generalInformation")})}),(0,t.jsxs)(v.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("form",{className:"flex flex-col gap-2 sm:flex-row sm:items-end",onSubmit:ep,children:[(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"device-display-name",children:R("deviceLabel")}),(0,t.jsx)(y.Input,{id:"device-display-name",maxLength:100,onChange:e=>V(e.target.value),required:!0,value:G})]}),(0,t.jsxs)(b.Button,{disabled:er||G.trim()===_.displayName,type:"submit",variant:"outline",children:[er?(0,t.jsx)(I.Spinner,{}):(0,t.jsx)(d.Save,{})," ",R("saveName")]})]}),(0,t.jsxs)("dl",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("udid")}),(0,t.jsxs)("dd",{className:"mt-1 flex items-center gap-2 font-mono text-sm",children:[(0,t.jsx)("span",{className:"break-all",children:K?_.udid:_.maskedUdid}),(0,t.jsx)(b.Button,{"aria-label":K?R("hideUdid"):R("revealUdid"),onClick:()=>J(e=>!e),size:"icon-sm",variant:"ghost",children:K?(0,t.jsx)(o.EyeOff,{}):(0,t.jsx)(l.Eye,{})}),(0,t.jsx)(b.Button,{"aria-label":R("copyUdid"),onClick:()=>void eb(),size:"icon-sm",variant:"ghost",children:Q?(0,t.jsx)(s.Check,{}):(0,t.jsx)(a.Copy,{})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("deviceModel")}),(0,t.jsxs)("dd",{className:"mt-1",children:[H?.name??_.product??R("unavailable"),H&&(0,t.jsx)("span",{className:"ml-2 font-mono text-xs text-muted-foreground",children:H.identifier})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("osVersion")}),(0,t.jsx)("dd",{className:"mt-1",children:eN})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("lastIp")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:_.lastIpAddress??R("unavailable")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("lastSeen")}),(0,t.jsx)("dd",{className:"mt-1",children:(0,t.jsx)(w.DateTime,{value:_.lastSeenAt})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:R("appleDeviceId")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:_.appleDeviceId??R("unavailable")})]})]})]})]}),(0,t.jsxs)(v.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(v.CardHeader,{children:(0,t.jsx)(v.CardTitle,{children:R("ipHistory")})}),_.ipObservations.length?(0,t.jsxs)(D.Table,{children:[(0,t.jsx)(D.TableHeader,{children:(0,t.jsxs)(D.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(D.TableHead,{children:R("ipAddress")}),(0,t.jsx)(D.TableHead,{children:R("source")}),(0,t.jsx)(D.TableHead,{children:R("forwardedBy")}),(0,t.jsx)(D.TableHead,{children:R("observed")})]})}),(0,t.jsx)(D.TableBody,{children:_.ipObservations.map(e=>(0,t.jsxs)(D.TableRow,{children:[(0,t.jsx)(D.TableCell,{className:"font-mono text-xs",children:e.ipAddress}),(0,t.jsx)(D.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:R(`ipSource.${e.source}`)})}),(0,t.jsx)(D.TableCell,{children:R(`ipHeaderSource.${e.headerSource}`)}),(0,t.jsx)(D.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.observedAt})})]},e.id))})]}):(0,t.jsx)(v.CardContent,{className:"py-6 text-sm text-muted-foreground",children:R("noIpHistory")})]}),(0,t.jsxs)(v.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(v.CardHeader,{children:(0,t.jsx)(v.CardTitle,{children:R("enrollmentHistory")})}),_.enrollments.length?(0,t.jsxs)(D.Table,{children:[(0,t.jsx)(D.TableHeader,{children:(0,t.jsxs)(D.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(D.TableHead,{children:R("statusLabel")}),(0,t.jsx)(D.TableHead,{children:R("created")}),(0,t.jsx)(D.TableHead,{children:R("completed")}),(0,t.jsx)(D.TableHead,{children:R("failure")})]})}),(0,t.jsx)(D.TableBody,{children:_.enrollments.map(e=>(0,t.jsxs)(D.TableRow,{children:[(0,t.jsx)(D.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:R(`enrollmentStatus.${e.status}`)})}),(0,t.jsx)(D.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.createdAt})}),(0,t.jsx)(D.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.consumedAt})}),(0,t.jsx)(D.TableCell,{children:e.failureCode??R("unavailable")})]},e.id))})]}):(0,t.jsx)(v.CardContent,{className:"py-6 text-sm text-muted-foreground",children:R("noEnrollmentHistory")})]}),(0,t.jsxs)(v.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(v.CardHeader,{children:[(0,t.jsx)(v.CardTitle,{children:R("firmwareTitle")}),(0,t.jsx)(v.CardDescription,{children:R("firmwareDescription")})]}),F?(0,t.jsxs)(v.CardContent,{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(I.Spinner,{})," ",R("firmwareLoading")]}):U?(0,t.jsx)(v.CardContent,{className:"py-4",children:(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:R("firmwareLoadFailed",{error:U})})})}):H?.firmwares.length?(0,t.jsxs)(D.Table,{className:"min-w-[52rem]",children:[(0,t.jsx)(D.TableHeader,{children:(0,t.jsxs)(D.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(D.TableHead,{children:R("signingStatus")}),(0,t.jsx)(D.TableHead,{children:R("firmwareVersion")}),(0,t.jsx)(D.TableHead,{children:R("releaseDate")}),(0,t.jsx)(D.TableHead,{children:R("fileSize")}),(0,t.jsx)(D.TableHead,{className:"text-right",children:R("firmwareDownload")})]})}),(0,t.jsx)(D.TableBody,{children:H.firmwares.map(e=>{var r;let i,l,o=`${e.version} (${e.buildId})`;return(0,t.jsxs)(D.TableRow,{children:[(0,t.jsx)(D.TableCell,{children:(0,t.jsx)(j.Badge,{variant:e.signed?"success":"destructive",children:R(e.signed?"signed":"unsigned")})}),(0,t.jsx)(D.TableCell,{className:"font-medium",children:o}),(0,t.jsx)(D.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{showTime:!1,value:e.releaseDate})}),(0,t.jsx)(D.TableCell,{className:"text-muted-foreground tabular-nums",children:(r=e.fileSize,l=Math.min(Math.floor(Math.log(Math.max(r,1))/Math.log(1024)),(i=["B","KiB","MiB","GiB","TiB"]).length-1),`${new Intl.NumberFormat(O,{maximumFractionDigits:1}).format(r/1024**l)} ${i[l]}`)}),(0,t.jsx)(D.TableCell,{children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,t.jsx)(b.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.Download,{})," ",R("downloadFirmware")]})}),(0,t.jsx)(b.Button,{"aria-label":R("copyFirmwareUrl",{version:o}),onClick:()=>void ev(e.url),size:"icon-sm",title:R("copyFirmwareUrl",{version:o}),variant:"ghost",children:X===e.url?(0,t.jsx)(s.Check,{}):(0,t.jsx)(a.Copy,{})})]})})]},`${e.buildId}:${e.url}`)})})]}):(0,t.jsx)(v.CardContent,{className:"py-6 text-sm text-muted-foreground",children:R("noFirmware")})]}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:R("confirmRegister"),cancelLabel:$("cancel"),description:R("registerDescription"),onConfirm:eh,onOpenChange:el,open:en,title:R("registerTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:R("confirmReject"),cancelLabel:$("cancel"),description:R("rejectDescription"),onConfirm:eg,onOpenChange:ed,open:eo,title:R("rejectTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:R("confirmDelete"),cancelLabel:$("cancel"),description:R("deleteDescription"),onConfirm:ej,onOpenChange:eu,open:ec,title:R("deleteTitle")})]})}],835441)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{"data-slot":"table-footer",className:(0,a.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},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),a=e.i(225913),r=e.i(975157);let l=(0,a.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,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.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),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(l({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),l=e.i(820783),s=e.i(326999),n=e.i(981140),i=Object.defineProperty,o=(e,t)=>i(e,"name",{value:t,configurable:!0}),[d,c]=(0,r.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),m=o(e=>{let{__scopeAlertDialog:a,...r}=e,l=u(a);return(0,t.jsx)(s.Root,{...l,...r,modal:!0})},"AlertDialog"),x=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,n=u(r);return(0,t.jsx)(s.Trigger,{...n,...l,ref:a})},"AlertDialogTrigger")),f=o(e=>{let{__scopeAlertDialog:a,...r}=e,l=u(a);return(0,t.jsx)(s.Portal,{...l,...r})},"AlertDialogPortal"),g=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,n=u(r);return(0,t.jsx)(s.Overlay,{...n,...l,ref:a})},"AlertDialogOverlay")),[h,p]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,children:o,...d}=e,c=u(i),m=a.useRef(null),x=(0,l.useComposedRefs)(r,m),f=a.useRef(null);return(0,t.jsx)(h,{scope:i,cancelRef:f,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:x,onOpenAutoFocus:(0,n.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),f.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,n=u(r);return(0,t.jsx)(s.Title,{...n,...l,ref:a})},"AlertDialogTitle")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,n=u(r);return(0,t.jsx)(s.Description,{...n,...l,ref:a})},"AlertDialogDescription")),y=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,n=u(r);return(0,t.jsx)(s.Close,{...n,...l,ref:a})},"AlertDialogAction")),D=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,{cancelRef:i}=p("AlertDialogCancel",r),o=u(r),d=(0,l.useComposedRefs)(a,i);return(0,t.jsx)(s.Close,{...o,...n,ref:d})},"AlertDialogCancel"));e.s(["Action",0,y,"AlertDialog",0,m,"AlertDialogAction",0,y,"AlertDialogCancel",0,D,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,f,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,x,"Cancel",0,D,"Content",0,j,"Description",0,v,"Overlay",0,g,"Portal",0,f,"Root",0,m,"Title",0,b,"Trigger",0,x,"createAlertDialogScope",0,c],691162);var C=e.i(691162),C=C,T=e.i(975157),w=e.i(519455);function A({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function N({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function k({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function R({className:e,...a}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,T.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),...a})}function z({className:e,size:a="default",...r}){return(0,t.jsxs)(k,{children:[(0,t.jsx)(R,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,T.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),...r})]})}function E({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,T.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),...a})}function S({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,T.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),...a})}function O({className:e,...a}){return(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,T.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),...a})}function F({className:e,...a}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,T.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function K({className:e,variant:a="default",size:r="default",...l}){return(0,t.jsx)(w.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,T.cn)(e),...l})})}function P({className:e,variant:a="outline",size:r="default",...l}){return(0,t.jsx)(w.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,T.cn)(e),...l})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:l,onOpenChange:s,open:n,title:i,trigger:o}){return(0,t.jsxs)(A,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(N,{asChild:!0,children:o}),(0,t.jsxs)(z,{children:[(0,t.jsxs)(E,{children:[(0,t.jsx)(O,{children:i}),(0,t.jsx)(F,{children:r})]}),(0,t.jsxs)(S,{children:[(0,t.jsx)(P,{children:a}),(0,t.jsx)(K,{onClick:()=>void l(),variant:"destructive",children:e})]})]})]})}],340953)},845363,e=>{"use strict";var t=e.i(843476),a=e.i(741120),r=e.i(573474),l=e.i(948148),s=e.i(271645),n=e.i(340953),i=e.i(929592),o=e.i(487486),d=e.i(519455),c=e.i(515288),u=e.i(816484),m=e.i(82612),x=e.i(987968),f=e.i(784774),g=e.i(520133),h=e.i(637611);function p({label:e,value:a}){return(0,t.jsx)(c.Card,{children:(0,t.jsxs)(c.CardContent,{children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm font-medium",children:a})]})})}function j({title:e,value:a}){let r=(0,l.useTranslations)("jiraCacheDetail");return(0,t.jsxs)(c.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(c.CardHeader,{children:(0,t.jsx)(c.CardTitle,{children:e})}),null===a?(0,t.jsx)("p",{className:"p-6 text-sm text-muted-foreground",children:r("notFetched")}):(0,t.jsx)("pre",{className:"max-h-[36rem] overflow-auto p-4 text-xs leading-5",children:JSON.stringify(a,null,2)})]})}e.s(["JiraCacheTicketDetailPage",0,function({issueKey:e}){let b=(0,l.useTranslations)("jiraCacheDetail"),v=(0,l.useTranslations)("common"),y=(0,g.useRouter)(),[D,C]=(0,s.useState)(null),[T,w]=(0,s.useState)(!0),[A,N]=(0,s.useState)(!1),[k,R]=(0,s.useState)(null),z=(0,s.useCallback)(async()=>{w(!0);try{let t=await (0,h.controlPlaneRequest)("query CachedJiraTicket($issueKey: ID!) { jiraCachedTicket(issueKey: $issueKey) { issueKey projectKey summary status coverage stale summaryFetchedAt detailFetchedAt commentsFetchedAt updatedAt summaryData detailData commentsData cacheEntries { id operation fetchedAt } } }",{issueKey:e});C(t.jiraCachedTicket),R(null)}catch(e){R(e instanceof Error?e.message:String(e))}finally{w(!1)}},[e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void z(),0);return()=>window.clearTimeout(e)},[z]);let E=async()=>{N(!0);try{await (0,h.controlPlaneRequest)("mutation RefreshCachedTicket($issueKey: ID!) { refreshJiraCachedTicket(issueKey: $issueKey) { key } }",{issueKey:e}),await z()}catch(e){R(e instanceof Error?e.message:String(e))}finally{N(!1)}},S=async()=>{N(!0);try{await (0,h.controlPlaneRequest)("mutation DeleteCachedTicket($issueKey: ID!) { deleteJiraCachedTicket(issueKey: $issueKey) }",{issueKey:e}),y.replace("/jira-cache")}catch(e){R(e instanceof Error?e.message:String(e)),N(!1)}};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:e}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:D?.summary??b("description")})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(d.Button,{disabled:A||!D,onClick:()=>void E(),variant:"outline",children:[(0,t.jsx)(a.RefreshCw,{className:A?"animate-spin":void 0}),b("refresh")]}),(0,t.jsx)(n.ConfirmationDialog,{actionLabel:b("delete"),cancelLabel:v("cancel"),description:v("cannotBeUndone"),onConfirm:S,title:b("confirmDelete",{issueKey:e}),trigger:(0,t.jsxs)(d.Button,{disabled:A||!D,variant:"destructive",children:[(0,t.jsx)(r.Trash2,{}),b("delete")]})})]})]}),k&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:k})}),T?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(x.Spinner,{}),b("loading")]}):D?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(p,{label:b("coverage"),value:(0,t.jsx)(o.Badge,{children:D.coverage})}),(0,t.jsx)(p,{label:b("freshness"),value:(0,t.jsx)(o.Badge,{className:D.stale?"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300":"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:b(D.stale?"stale":"fresh")})}),(0,t.jsx)(p,{label:b("detailFetched"),value:(0,t.jsx)(u.DateTime,{value:D.detailFetchedAt})}),(0,t.jsx)(p,{label:b("commentsFetched"),value:(0,t.jsx)(u.DateTime,{value:D.commentsFetchedAt})})]}),(0,t.jsx)(j,{title:b("summaryData"),value:D.summaryData}),(0,t.jsx)(j,{title:b("detailData"),value:D.detailData}),(0,t.jsx)(j,{title:b("commentsData"),value:D.commentsData}),(0,t.jsxs)(c.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(c.CardHeader,{children:(0,t.jsx)(c.CardTitle,{children:b("relatedEntries")})}),0===D.cacheEntries.length?(0,t.jsx)("p",{className:"p-6 text-sm text-muted-foreground",children:b("noEntries")}):(0,t.jsxs)(f.Table,{children:[(0,t.jsx)(f.TableHeader,{children:(0,t.jsxs)(f.TableRow,{children:[(0,t.jsx)(f.TableHead,{children:b("operation")}),(0,t.jsx)(f.TableHead,{children:b("fetchedAt")}),(0,t.jsx)(f.TableHead,{children:b("entryId")})]})}),(0,t.jsx)(f.TableBody,{children:D.cacheEntries.map(e=>(0,t.jsxs)(f.TableRow,{children:[(0,t.jsx)(f.TableCell,{className:"font-medium",children:e.operation}),(0,t.jsx)(f.TableCell,{children:(0,t.jsx)(u.DateTime,{value:e.fetchedAt})}),(0,t.jsx)(f.TableCell,{className:"font-mono text-xs",children:e.id})]},e.id))})]})]})]}):(0,t.jsx)(m.Empty,{className:"border py-10",children:(0,t.jsx)(m.EmptyHeader,{children:(0,t.jsx)(m.EmptyDescription,{children:b("notFound")})})})]})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),l=e.i(820783),n=e.i(326999),i=e.i(981140),s=Object.defineProperty,o=(e,t)=>s(e,"name",{value:t,configurable:!0}),[d,c]=(0,r.createContextScope)("AlertDialog",[n.createDialogScope]),u=(0,n.createDialogScope)(),f=o(e=>{let{__scopeAlertDialog:a,...r}=e,l=u(a);return(0,t.jsx)(n.Root,{...l,...r,modal:!0})},"AlertDialog"),x=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,i=u(r);return(0,t.jsx)(n.Trigger,{...i,...l,ref:a})},"AlertDialogTrigger")),g=o(e=>{let{__scopeAlertDialog:a,...r}=e,l=u(a);return(0,t.jsx)(n.Portal,{...l,...r})},"AlertDialogPortal"),m=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,i=u(r);return(0,t.jsx)(n.Overlay,{...i,...l,ref:a})},"AlertDialogOverlay")),[p,h]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,r){let{__scopeAlertDialog:s,children:o,...d}=e,c=u(s),f=a.useRef(null),x=(0,l.useComposedRefs)(r,f),g=a.useRef(null);return(0,t.jsx)(p,{scope:s,cancelRef:g,children:(0,t.jsx)(n.Content,{role:"alertdialog",...c,...d,ref:x,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,i=u(r);return(0,t.jsx)(n.Title,{...i,...l,ref:a})},"AlertDialogTitle")),y=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,i=u(r);return(0,t.jsx)(n.Description,{...i,...l,ref:a})},"AlertDialogDescription")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...l}=e,i=u(r);return(0,t.jsx)(n.Close,{...i,...l,ref:a})},"AlertDialogAction")),C=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...i}=e,{cancelRef:s}=h("AlertDialogCancel",r),o=u(r),d=(0,l.useComposedRefs)(a,s);return(0,t.jsx)(n.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,b,"AlertDialog",0,f,"AlertDialogAction",0,b,"AlertDialogCancel",0,C,"AlertDialogContent",0,j,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,m,"AlertDialogPortal",0,g,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,x,"Cancel",0,C,"Content",0,j,"Description",0,y,"Overlay",0,m,"Portal",0,g,"Root",0,f,"Title",0,v,"Trigger",0,x,"createAlertDialogScope",0,c],691162);var D=e.i(691162),D=D,w=e.i(975157),A=e.i(519455);function N({...e}){return(0,t.jsx)(D.Root,{"data-slot":"alert-dialog",...e})}function R({...e}){return(0,t.jsx)(D.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function T({...e}){return(0,t.jsx)(D.Portal,{"data-slot":"alert-dialog-portal",...e})}function E({className:e,...a}){return(0,t.jsx)(D.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,w.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),...a})}function z({className:e,size:a="default",...r}){return(0,t.jsxs)(T,{children:[(0,t.jsx)(E,{}),(0,t.jsx)(D.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,w.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),...r})]})}function k({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,w.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),...a})}function S({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,w.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),...a})}function O({className:e,...a}){return(0,t.jsx)(D.Title,{"data-slot":"alert-dialog-title",className:(0,w.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),...a})}function P({className:e,...a}){return(0,t.jsx)(D.Description,{"data-slot":"alert-dialog-description",className:(0,w.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function H({className:e,variant:a="default",size:r="default",...l}){return(0,t.jsx)(A.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Action,{"data-slot":"alert-dialog-action",className:(0,w.cn)(e),...l})})}function q({className:e,variant:a="outline",size:r="default",...l}){return(0,t.jsx)(A.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,w.cn)(e),...l})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:l,onOpenChange:n,open:i,title:s,trigger:o}){return(0,t.jsxs)(N,{onOpenChange:n,open:i,children:[o&&(0,t.jsx)(R,{asChild:!0,children:o}),(0,t.jsxs)(z,{children:[(0,t.jsxs)(k,{children:[(0,t.jsx)(O,{children:s}),(0,t.jsx)(P,{children:r})]}),(0,t.jsxs)(S,{children:[(0,t.jsx)(q,{children:a}),(0,t.jsx)(H,{onClick:()=>void l(),variant:"destructive",children:e})]})]})]})}],340953)},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),a=e.i(225913),r=e.i(975157);let l=(0,a.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,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.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),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(l({variant:a,className:e})),...n})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},401377,e=>{"use strict";var t=e.i(843476),a=e.i(741120),r=e.i(573474),l=e.i(948148),n=e.i(271645),i=e.i(816484),s=e.i(340953),o=e.i(929592),d=e.i(487486),c=e.i(519455),u=e.i(515288),f=e.i(82612),x=e.i(987968),g=e.i(520133),m=e.i(637611);function p({label:e,value:a}){return(0,t.jsx)(u.Card,{children:(0,t.jsxs)(u.CardContent,{children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm font-medium",children:a})]})})}function h({title:e,value:a}){return(0,t.jsxs)(u.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(u.CardHeader,{children:(0,t.jsx)(u.CardTitle,{children:e})}),(0,t.jsx)("pre",{className:"max-h-[36rem] overflow-auto whitespace-pre-wrap p-4 text-xs leading-5",children:a})]})}function j({title:e,value:a}){return(0,t.jsxs)(u.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(u.CardHeader,{children:(0,t.jsx)(u.CardTitle,{children:e})}),(0,t.jsx)("pre",{className:"max-h-[36rem] overflow-auto p-4 text-xs leading-5",children:JSON.stringify(a,null,2)})]})}e.s(["GitHubCacheEntryDetailPage",0,function({id:e}){let u=(0,l.useTranslations)("githubCacheDetail"),v=(0,l.useTranslations)("common"),y=(0,g.useRouter)(),[b,C]=(0,n.useState)(null),[D,w]=(0,n.useState)(!0),[A,N]=(0,n.useState)(!1),[R,T]=(0,n.useState)(null),E=(0,n.useCallback)(async()=>{w(!0);try{let t=await (0,m.controlPlaneRequest)("query GitHubCachedEntry($id: ID!) { githubCachedEntry(id: $id) { id authentication operation endpoint fetchedAt pointCost stale query variables response } }",{id:e});C(t.githubCachedEntry),T(null)}catch(e){T(e instanceof Error?e.message:String(e))}finally{w(!1)}},[e]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void E(),0);return()=>window.clearTimeout(e)},[E]);let z=async()=>{N(!0);try{await (0,m.controlPlaneRequest)("mutation RefreshGitHubCachedEntry($id: ID!) { refreshGitHubCachedEntry(id: $id) { id } }",{id:e}),await E()}catch(e){T(e instanceof Error?e.message:String(e))}finally{N(!1)}},k=async()=>{N(!0);try{await (0,m.controlPlaneRequest)("mutation DeleteGitHubCachedEntry($id: ID!) { deleteGitHubCachedEntry(id: $id) }",{id:e}),y.replace("/github-cache")}catch(e){T(e instanceof Error?e.message:String(e)),N(!1)}};return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:b?.operation??u("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:b?.endpoint??u("description")})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(c.Button,{disabled:A||!b,onClick:()=>void z(),variant:"outline",children:[(0,t.jsx)(a.RefreshCw,{className:A?"animate-spin":void 0}),u("refresh")]}),(0,t.jsx)(s.ConfirmationDialog,{actionLabel:u("delete"),cancelLabel:v("cancel"),description:v("cannotBeUndone"),onConfirm:k,title:u("confirmDelete"),trigger:(0,t.jsxs)(c.Button,{disabled:A||!b,variant:"destructive",children:[(0,t.jsx)(r.Trash2,{}),u("delete")]})})]})]}),R&&(0,t.jsx)(o.Alert,{variant:"destructive",children:(0,t.jsx)(o.AlertDescription,{children:R})}),D?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(x.Spinner,{}),u("loading")]}):b?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(p,{label:u("authentication"),value:b.authentication}),(0,t.jsx)(p,{label:u("freshness"),value:(0,t.jsx)(d.Badge,{className:b.stale?"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300":"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",children:u(b.stale?"stale":"fresh")})}),(0,t.jsx)(p,{label:u("lastCost"),value:b.pointCost??"—"}),(0,t.jsx)(p,{label:u("fetchedAt"),value:(0,t.jsx)(i.DateTime,{value:b.fetchedAt})})]}),(0,t.jsx)(h,{title:u("query"),value:b.query}),(0,t.jsx)(j,{title:u("variables"),value:b.variables}),(0,t.jsx)(j,{title:u("response"),value:b.response})]}):(0,t.jsx)(f.Empty,{className:"border py-10",children:(0,t.jsx)(f.EmptyHeader,{children:(0,t.jsx)(f.EmptyDescription,{children:u("notFound")})})})]})}])}]);
|