@ai-development-environment/server 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/app-path-routes-manifest.json +0 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/routes-manifest.json +0 -8
- package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/costs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/costs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/drafts/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/github-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js +2 -3
- package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/plans/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/plans/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/polling/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/polling/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/runs/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/sessions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/webhooks/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/new/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js +1 -1
- package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
- package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js +1 -1
- package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js +1 -1
- package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/app-paths-manifest.json +0 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06u4xcm._.js → [root-of-the-server]__0-b1prw._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__09am6v3._.js → [root-of-the-server]__0-irvqy._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0191hj1._.js → [root-of-the-server]__004x00m._.js} +3 -3
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-tmw39._.js → [root-of-the-server]__03ov9dn._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eyltex._.js → [root-of-the-server]__04x0a1c._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0595xpp._.js → [root-of-the-server]__05k_3_s._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0by5o61._.js → [root-of-the-server]__05nr3-b._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09cczk9._.js → [root-of-the-server]__05rm8ki._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__05yutuh._.js → [root-of-the-server]__06dz512._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0-upwch._.js → [root-of-the-server]__06h8dq4._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__21815pw._.js → [root-of-the-server]__07lj58j._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__01s4hkv._.js → [root-of-the-server]__082w26v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__06dvajv._.js → [root-of-the-server]__092univ._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03arvyv._.js → [root-of-the-server]__098thvo._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09ormhu._.js → [root-of-the-server]__0_1h4vu._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0l4juv1._.js → [root-of-the-server]__0_ftuni._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__02chrc6._.js → [root-of-the-server]__0cqe8td._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__02z6ofq._.js → [root-of-the-server]__0e29qi2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0bcw4i1._.js → [root-of-the-server]__0efv9_l._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0dsr079._.js → [root-of-the-server]__0eplbf8._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0e1uxby._.js → [root-of-the-server]__0g-h70v._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0fzwzem._.js → [root-of-the-server]__0gedsnc._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0deutn6._.js → [root-of-the-server]__0njzyae._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1sgz5xe._.js → [root-of-the-server]__0rwzlp5._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0n9n0wa._.js → [root-of-the-server]__0su5xbh._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1g5ehjo._.js → [root-of-the-server]__0t_1g6x._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__119lu0l._.js → [root-of-the-server]__0xl63a7._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0m09s1f._.js → [root-of-the-server]__0yx69ig._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__03lh83x._.js → [root-of-the-server]__11_l9kh._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1inrvz6._.js → [root-of-the-server]__17v3iu3._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1v9pr22._.js → [root-of-the-server]__1amrm18._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ghtk-u._.js → [root-of-the-server]__1ca92tw._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0jin988._.js → [root-of-the-server]__1em0xu9._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1yt6tih._.js → [root-of-the-server]__1f0zhzz._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__046c9w0._.js → [root-of-the-server]__1fnlj9e._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0w9qwef._.js → [root-of-the-server]__1n2pfid._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1l0i6bt._.js → [root-of-the-server]__1r3djqb._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__04z6da6._.js → [root-of-the-server]__1w_r8ug._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +3 -0
- package/standalone/.next/server/chunks/_0_3-lke._.js +70 -9
- package/standalone/.next/server/chunks/_0d87yp6._.js +2 -2
- package/standalone/.next/server/chunks/_0rjgtla._.js +2 -2
- package/standalone/.next/server/chunks/_1_sa5xl._.js +2 -2
- package/standalone/.next/server/chunks/_1hmzed-._.js +63 -2
- package/standalone/.next/server/chunks/_1pc6dt_._.js +2 -2
- package/standalone/.next/server/chunks/_1xuucni._.js +2 -2
- package/standalone/.next/server/chunks/_1ya6q3e._.js +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-guq-9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__064h18r._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0js6wx9._.js → [root-of-the-server]__07ll4k6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ljh3ky._.js → [root-of-the-server]__08m_tud._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0qvg807._.js → [root-of-the-server]__0iulojy._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +15 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1vww3f6._.js → [root-of-the-server]__0mpg4qq._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__10rfw-t._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08vwbx7._.js → [root-of-the-server]__1gemlo_._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1bd2arr._.js → [root-of-the-server]__1kzbjl5._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{_14leuy3._.js → _0-o8qp9._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0158tm3._.js +22 -0
- package/standalone/.next/server/chunks/ssr/_01qjv4h._.js +10 -0
- package/standalone/.next/server/chunks/ssr/_022u7lb._.js +15 -0
- package/standalone/.next/server/chunks/ssr/_08p6s05._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0_6-vje._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_16kl8gr._.js → _0ecoxf6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_08g6bix._.js → _0ibt6d5._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/{_18xrhsg._.js → _0ixrbdr._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0k-c9_2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0kp37lj._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0mwg_m-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0qi2sb7._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0rewrau._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_09bcjtq._.js → _0ro_o-3._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_0n86f1m._.js → _0sbsue7._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0u04ikp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0wc8st5._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0wdqa08._.js +24 -0
- package/standalone/.next/server/chunks/ssr/_13c2e2e._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_16lbtbj._.js → _154hqy7._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_184gcf9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_15l7ork._.js → _18ql1ra._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/{_1oc_qeb._.js → _18y675s._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_19uhr89._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1at-ti0._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_1b-tglm._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1boywnc._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_0u_x0oc._.js → _1btl6f6._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1cbynbc._.js +21 -0
- package/standalone/.next/server/chunks/ssr/_1hjrtvv._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +5 -0
- package/standalone/.next/server/chunks/ssr/_1j9bac7._.js +57 -0
- package/standalone/.next/server/chunks/ssr/{_13boc9b._.js → _1m3dqvf._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1nbvse5._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +25 -0
- package/standalone/.next/server/chunks/ssr/_1q_8hby._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1t1ka5b._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1unm3n-._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0s-_f4k._.js → _1ws3tm8._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/_1xoejuo._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +26 -0
- package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +24 -17
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1up2wai._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-menu_dist_index_mjs_0r8d9ly._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_runs_run-detail-page_tsx_0eje87-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/src_components_ui_195oosa._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_ui_198y4_o._.js +3 -0
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/next-font-manifest.js +1 -1
- package/standalone/.next/server/next-font-manifest.json +0 -4
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/{1_2kx7s8a2159.js → 06vdflmowpip6.js} +6 -6
- package/standalone/.next/static/chunks/07vuhvr-qtb7x.js +28 -0
- package/standalone/.next/static/chunks/{3z1isz179y8rv.js → 0_uexv6neli5u.js} +7 -7
- package/standalone/.next/static/chunks/0eo18i30uko5v.js +15 -0
- package/standalone/.next/static/chunks/0kmg7qlu8ytwf.js +59 -0
- package/standalone/.next/static/chunks/0knpwbhdkzti0.js +1 -0
- package/standalone/.next/static/chunks/{1jn5l9964tm_t.js → 0m5tuf_eivume.js} +5 -5
- package/standalone/.next/static/chunks/0mcuo36rz9j57.js +55 -0
- package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +53 -0
- package/standalone/.next/static/chunks/0n0dnronw8ezg.js +85 -0
- package/standalone/.next/static/chunks/0pn4p6w3w-j20.js +1 -0
- package/standalone/.next/static/chunks/{2yg_hcy-xlokr.js → 0pv0lqmzjn6ar.js} +11 -11
- package/standalone/.next/static/chunks/0wrm-zqne-dc8.js +9 -0
- package/standalone/.next/static/chunks/0xe08f4_etyy8.js +3 -0
- package/standalone/.next/static/chunks/1-byqle1eur_a.js +75 -0
- package/standalone/.next/static/chunks/127vn4wn5xo9p.js +49 -0
- package/standalone/.next/static/chunks/12te8dyw3x2bn.js +1 -0
- package/standalone/.next/static/chunks/17bq0x-xdn9o4.js +88 -0
- package/standalone/.next/static/chunks/19dkpj43f8v40.js +42 -0
- package/standalone/.next/static/chunks/1c42xu-oct3-l.js +1 -0
- package/standalone/.next/static/chunks/1g2nga-bvjlja.js +88 -0
- package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +43 -0
- package/standalone/.next/static/chunks/1k-_4gvcm-pyb.js +1 -0
- package/standalone/.next/static/chunks/1kjs_7sxvaxng.js +27 -0
- package/standalone/.next/static/chunks/1p730oe_-y1hj.js +1 -0
- package/standalone/.next/static/chunks/1pcc30ztgbtfp.js +34 -0
- package/standalone/.next/static/chunks/{0__52m82mb813.js → 1popvhaprqxtf.js} +1 -1
- package/standalone/.next/static/chunks/1rcjbru7lya3t.js +7 -0
- package/standalone/.next/static/chunks/1vgurgb3_kw0d.js +33 -0
- package/standalone/.next/static/chunks/{0s60he_e08soe.js → 1vhe4q0cd7aqp.js} +2 -2
- package/standalone/.next/static/chunks/1z4uktkhpz4vk.js +3 -0
- package/standalone/.next/static/chunks/21xk5pyunaike.js +120 -0
- package/standalone/.next/static/chunks/26nqjwc9aov2w.js +1 -0
- package/standalone/.next/static/chunks/28xkjksksnsd_.css +1 -0
- package/standalone/.next/static/chunks/299mqzsp8p9u8.js +1 -0
- package/standalone/.next/static/chunks/2aacfhrhmknxw.js +90 -0
- package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +13 -0
- package/standalone/.next/static/chunks/2k5n-lawvi3o1.js +29 -0
- package/standalone/.next/static/chunks/{104wb_0lixxfp.js → 2lfmdc3eqlsl4.js} +17 -17
- package/standalone/.next/static/chunks/2m0zo09ce60t-.js +1 -0
- package/standalone/.next/static/chunks/2ouwnzrx0591e.js +54 -0
- package/standalone/.next/static/chunks/{24alljtl2n1j_.js → 2svylmgfm08d9.js} +6 -6
- package/standalone/.next/static/chunks/2ucnry1pj6sw1.js +64 -0
- package/standalone/.next/static/chunks/{0o8_x0u4fxie7.js → 2wgg-jr0osw4i.js} +2 -2
- package/standalone/.next/static/chunks/{3018mq1s5v8kz.js → 2wsr9efe8r8ng.js} +4 -4
- package/standalone/.next/static/chunks/2z1q99_-1kg93.js +3 -0
- package/standalone/.next/static/chunks/31809uzps9w9e.js +64 -0
- package/standalone/.next/static/chunks/31is47ulkcw19.js +37 -0
- package/standalone/.next/static/chunks/34_yps6ppoo5k.js +1 -0
- package/standalone/.next/static/chunks/34wlxu_g_2g1y.js +26 -0
- package/standalone/.next/static/chunks/3gsir-iueghp2.js +23 -0
- package/standalone/.next/static/chunks/3jkg8wqh5nnam.js +29 -0
- package/standalone/.next/static/chunks/3kly0o0iaeig-.js +24 -0
- package/standalone/.next/static/chunks/3nme8562ujl6t.js +1 -0
- package/standalone/.next/static/chunks/3sgrm30gdqnhj.js +1 -0
- package/standalone/.next/static/chunks/3txqwzevvzjhy.js +42 -0
- package/standalone/.next/static/chunks/3uhr-ha19zo61.js +23 -0
- package/standalone/.next/static/chunks/{1pjy8b30-wkw9.js → 3umkd0xpssc3q.js} +3 -3
- package/standalone/.next/static/chunks/43wopct538msd.js +1 -0
- package/standalone/.next/server/app/[locale]/action-center/page/app-paths-manifest.json +0 -3
- package/standalone/.next/server/app/[locale]/action-center/page/build-manifest.json +0 -16
- package/standalone/.next/server/app/[locale]/action-center/page/next-font-manifest.json +0 -11
- package/standalone/.next/server/app/[locale]/action-center/page/react-loadable-manifest.json +0 -1
- package/standalone/.next/server/app/[locale]/action-center/page/server-reference-manifest.json +0 -4
- package/standalone/.next/server/app/[locale]/action-center/page.js +0 -17
- package/standalone/.next/server/app/[locale]/action-center/page.js.map +0 -5
- package/standalone/.next/server/app/[locale]/action-center/page.js.nft.json +0 -1
- package/standalone/.next/server/app/[locale]/action-center/page_client-reference-manifest.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0d21gjd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0gq25kr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h05dmh._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0h1j7no._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0kprqh4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0m0ckek._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0m8pxlb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0nu8ev9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p-zaud._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p0u8fq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p6gqiv._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0p7s2k3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0rq8991._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sogo1p._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0to2fqa._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0uhlj3h._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0v6d64m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0vs241l._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0wzgw0m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0x5d6lo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xazzjb._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0xqm3n9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0zorfix._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1-ljnib._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11-o845._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13_u_ro._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__13qagj_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__14yfzp0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__15h5kmz._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__18eaxef._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__18fpgua._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_e5221._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1_pozkw._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1amawad._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1b2duzg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1b5470b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1cvxm3-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dhuc2g._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dx2vmk._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ekrk8d._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1el0rwx._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ex9wz4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ez1qjo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1flzhuq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1hgzt9m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1i48xcq._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1im_7cr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1jypemo._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l9m5vm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1lc23sg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1m14-al._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1m2x6-i._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1mlmrbg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1mttyay._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1obl6rm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1oh_afd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ph5-o-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qcqxk2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qnaf-5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s8pdh3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1sav-w6._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1sb1p64._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1trf87b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v0kdi4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1vgd_cg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w9gjd5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1wey7bg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xcsuq_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zo0vbv._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zshyzr._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1zv9v9b._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__201fjv-._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-_5urd._.js +0 -57
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cej3c3._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rxp26l._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-mk318._.js +0 -15
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ct2_y9._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_02hx02h._.js +0 -25
- package/standalone/.next/server/chunks/ssr/_08_kyiv._.js +0 -15
- package/standalone/.next/server/chunks/ssr/_0cz9xwo._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ec1szn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ix0h2m._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0j-5kz6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0le21ue._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0uuh5ne._.js +0 -9
- package/standalone/.next/server/chunks/ssr/_0wo43jn._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0wt_-w_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0y-bz5b._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0yk3h5c._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0zfjp5l._.js +0 -26
- package/standalone/.next/server/chunks/ssr/_1-3pbk9._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1-s8jib._.js +0 -10
- package/standalone/.next/server/chunks/ssr/_11-g9w5._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_12ekas6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_16zlatv._.js +0 -21
- package/standalone/.next/server/chunks/ssr/_1a-x7w1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1bgz3gf._.js +0 -29
- package/standalone/.next/server/chunks/ssr/_1c5bgm_._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1dwtoxe._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1fy4o1o._.js +0 -22
- package/standalone/.next/server/chunks/ssr/_1jqp1me._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1lcmi6f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1lxr3mb._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1opkxfb._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1xbulhi._.js +0 -5
- package/standalone/.next/server/chunks/ssr/_1yctl8w._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_210pgrk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_next-internal_server_app_[locale]_action-center_page_actions_13rr4o6.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0k28hjd._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_0zzd3o1._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1gjv--k.js +0 -4
- package/standalone/.next/server/chunks/ssr/src_app_[locale]_page_tsx_00h-a9t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/src_components_ui_0wr97kq._.js +0 -3
- package/standalone/.next/static/chunks/01oxnu86_we4m.js +0 -27
- package/standalone/.next/static/chunks/04bs8b3m4jjfr.js +0 -1
- package/standalone/.next/static/chunks/0556n0z5a2tir.js +0 -75
- package/standalone/.next/static/chunks/05r79mew_ttoh.js +0 -3
- package/standalone/.next/static/chunks/09jeps1e4upyd.js +0 -27
- package/standalone/.next/static/chunks/0f01o_texfoo2.js +0 -3
- package/standalone/.next/static/chunks/0g6kioy8mgt7g.js +0 -1
- package/standalone/.next/static/chunks/0mv6tgkxvot06.css +0 -1
- package/standalone/.next/static/chunks/0o6ubiw38_cix.js +0 -1
- package/standalone/.next/static/chunks/0qj_41gt1wo57.js +0 -1
- package/standalone/.next/static/chunks/0qq_ney086s74.js +0 -26
- package/standalone/.next/static/chunks/0tpuj0br2ze72.js +0 -1
- package/standalone/.next/static/chunks/0vetr9kzsvj8y.js +0 -27
- package/standalone/.next/static/chunks/0wegc5r-um7u_.js +0 -49
- package/standalone/.next/static/chunks/0xcxze4dn_g4k.js +0 -1
- package/standalone/.next/static/chunks/0z9rkj63eff65.js +0 -98
- package/standalone/.next/static/chunks/1-c5wiq8svvl6.js +0 -1
- package/standalone/.next/static/chunks/16vhqh6nwwd7k.js +0 -92
- package/standalone/.next/static/chunks/17sqvm2t_n5w8.js +0 -71
- package/standalone/.next/static/chunks/1fgowguozghfx.js +0 -7
- package/standalone/.next/static/chunks/1fkbsex7h55uj.js +0 -26
- package/standalone/.next/static/chunks/1qd5oxoewa3-m.js +0 -23
- package/standalone/.next/static/chunks/1sd9kcg_rkzsu.js +0 -1
- package/standalone/.next/static/chunks/1vnglbvh2-2hk.js +0 -1
- package/standalone/.next/static/chunks/1zejpj9ig77ly.js +0 -3
- package/standalone/.next/static/chunks/26gi3xhwq--4r.js +0 -59
- package/standalone/.next/static/chunks/29xjwnfybrwxv.js +0 -1
- package/standalone/.next/static/chunks/2gepmmzvedd5t.js +0 -79
- package/standalone/.next/static/chunks/2ib66g1yoqcp0.js +0 -80
- package/standalone/.next/static/chunks/2kc9nohdlg9t0.js +0 -1
- package/standalone/.next/static/chunks/2pbe_7ml0_4a_.js +0 -24
- package/standalone/.next/static/chunks/2ratgipwpyy-4.js +0 -54
- package/standalone/.next/static/chunks/2vwr8tr2n27dp.js +0 -28
- package/standalone/.next/static/chunks/2w3pt99tr43fi.js +0 -1
- package/standalone/.next/static/chunks/2yf79r7q699-j.js +0 -29
- package/standalone/.next/static/chunks/2zx_h2f_a9r1j.js +0 -1
- package/standalone/.next/static/chunks/2zy-2tckw0276.js +0 -23
- package/standalone/.next/static/chunks/3-f9ycmnsbdq8.js +0 -55
- package/standalone/.next/static/chunks/34vrejlxl0pra.js +0 -59
- package/standalone/.next/static/chunks/3_6xtrl0kow9e.js +0 -1
- package/standalone/.next/static/chunks/3bn48ltoik3ze.js +0 -27
- package/standalone/.next/static/chunks/3c5mb2oebs86p.js +0 -53
- package/standalone/.next/static/chunks/3d7uu4x6cmams.js +0 -15
- package/standalone/.next/static/chunks/3g2-dbo8jvfd9.js +0 -1
- package/standalone/.next/static/chunks/3n4fg78e0htw8.js +0 -13
- package/standalone/.next/static/chunks/3r79mip8vpj0u.js +0 -88
- package/standalone/.next/static/chunks/3t347msjxauue.js +0 -42
- package/standalone/.next/static/chunks/3xme7jwjj_ntj.js +0 -157
- package/standalone/.next/static/chunks/44xkvdnq-prf1.js +0 -9
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{oamIXqlqBEvesdGgUx6UB → d77QrJpn4kUxmG3bXgnZw}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,175696,e=>{"use strict";var t=e.i(861745),a=e.i(843476);e.s(["default",0,function({locale:e,...s}){if(!e)throw Error(void 0);return(0,a.jsx)(t.IntlProvider,{locale:e,...s})}])},763141,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(42693),i=e.i(456420);let n=(0,i.default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),r=(0,i.default)("panel-right",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);var l=e.i(263676),o=e.i(948148),c=e.i(116261);let d=(0,i.default)("circle-dollar-sign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);var u=e.i(55677),h=e.i(93384),m=e.i(936269),f=e.i(462446),b=e.i(604139),p=e.i(932333),x=e.i(861745),g=e.i(487486),y=e.i(519455),v=e.i(337822),k=e.i(987968),w=e.i(520133),j=e.i(637611),N=e.i(539494),S=e.i(261751);let C={CRITICAL:8,ERROR:7,DELETING:6,CLEANUP_REQUIRED:5,PRESSURE:4,STALE:3,DISABLED:2,IDLE:1},T="border-amber-500/30 bg-amber-500/10 text-amber-700 hover:bg-amber-500/20 hover:text-amber-700 dark:border-amber-500/30 dark:bg-amber-500/10 dark:text-amber-300 dark:hover:bg-amber-500/20 dark:hover:text-amber-300";function E(){let e=(0,o.useTranslations)("diskSpace"),s=(0,o.useTranslations)("shell"),i=(0,x.useLocale)(),n=(0,c.useOptionalActionCenter)(),[r,l]=(0,a.useState)(null),[E,L]=(0,a.useState)([]),[M,D]=(0,a.useState)(null),A=(0,a.useCallback)(async()=>{try{let e=await (0,j.controlPlaneRequest)(`query SidebarStatus {
|
|
2
|
+
sidebarStatus {
|
|
3
|
+
usageToday { totalCost collectedAt }
|
|
4
|
+
activity { plans sessions builds workflows commands }
|
|
5
|
+
diskSpace { ${N.DISK_SPACE_FIELDS} }
|
|
6
|
+
}
|
|
7
|
+
derivedDataDeletionHistory(first: 5) {
|
|
8
|
+
items { id agentName folderName source deletedAt }
|
|
9
|
+
}
|
|
10
|
+
}`);l(e.sidebarStatus),L(e.derivedDataDeletionHistory.items)}catch{}},[]);(0,a.useEffect)(()=>{let e=window.setTimeout(()=>void A(),0),t=(0,j.controlPlaneSubscriptions)().subscribe({query:"subscription SidebarStatusChanged { sidebarStatusChanged }"},{next:()=>void A(),error:()=>void 0,complete:()=>void 0}),a=window.setInterval(()=>void A(),6e4);return()=>{window.clearTimeout(e),t(),window.clearInterval(a)}},[A]);let R=(0,a.useMemo)(()=>r?.diskSpace.agents.filter(e=>e.enabled)??[],[r]),I=(0,a.useMemo)(()=>[...r?.diskSpace.agents??[]].sort((e,t)=>C[t.status]-C[e.status])[0]?.status??"STALE",[r]),P=async(e,t)=>{D(e);try{await (0,j.controlPlaneRequest)(`mutation SidebarPressureMode($agentId: ID!, $enabled: Boolean!) {
|
|
11
|
+
setAgentDiskSpacePressureMode(agentId: $agentId, enabled: $enabled) { manualPressureMode }
|
|
12
|
+
}`,{agentId:e,enabled:t}),await A()}finally{D(null)}},$=[{key:"actions",href:"/",icon:m.ListTodo,count:n?.totalCount??0},{key:"workflows",href:"/workflows",icon:p.Waypoints,count:r?.activity.workflows??0},{key:"plans",href:"/plans",icon:u.ClipboardList,count:r?.activity.plans??0},{key:"sessions",href:"/sessions",icon:f.MessagesSquare,count:r?.activity.sessions??0},{key:"builds",href:"/builds",icon:h.Hammer,count:r?.activity.builds??0},{key:"commands",href:"/commands",icon:b.Terminal,count:r?.activity.commands??0}];return(0,t.jsxs)("div",{className:"space-y-2 border-t border-sidebar-border p-2",children:[(0,t.jsxs)(w.Link,{className:"flex items-center justify-between rounded-md px-2 py-1.5 text-xs hover:bg-sidebar-accent",href:"/usage",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(d,{className:"size-3.5"}),e("usageToday")]}),(0,t.jsx)("span",{className:"font-medium tabular-nums",children:r?.usageToday.totalCost==null?"—":new Intl.NumberFormat(i,{style:"currency",currency:"USD"}).format(r.usageToday.totalCost)})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-1",children:$.map(({key:e,href:a,icon:i,count:n})=>(0,t.jsxs)(w.Link,{className:"flex items-center justify-between rounded-md px-2 py-1 text-xs hover:bg-sidebar-accent",href:a,children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(i,{className:"size-3.5"}),s(e)]}),(0,t.jsx)("span",{className:"tabular-nums",children:n})]},e))}),(0,t.jsxs)(v.Popover,{children:[(0,t.jsx)(v.PopoverTrigger,{asChild:!0,children:(0,t.jsx)(y.Button,{className:"h-auto w-full justify-start px-2 py-2",variant:"ghost",children:(0,t.jsxs)("div",{className:"min-w-0 flex-1 text-left",children:[(0,t.jsx)("p",{className:"text-xs font-medium",children:e("freeDiskSpace")}),1===R.length&&(0,N.monitoredVolume)(R[0])?(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)(S.VolumeBar,{compact:!0,hideLabel:!0,volume:(0,N.monitoredVolume)(R[0])})}):R.length>1?(0,t.jsx)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:R.map(a=>{var s;let n=(0,N.monitoredVolume)(a);if(!n)return null;let r=100-(n.totalBytes>0?Math.max(0,Math.min(100,(n.totalBytes-n.freeBytes)/n.totalBytes*100)):0);return(0,t.jsx)("span",{"aria-label":`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}: ${(0,S.formatDiskBytes)(n.freeBytes,i)} ${e("free")}`,className:"grid size-5 place-items-center rounded-full",style:{background:`conic-gradient(var(--muted) 0% ${r}%, ${"CRITICAL"===(s=a.status)||"ERROR"===s?"var(--destructive)":["DELETING","CLEANUP_REQUIRED","PRESSURE"].includes(s)?"#f59e0b":"STALE"===s||"DISABLED"===s?"var(--muted-foreground)":"#10b981"} ${r}% 100%)`},title:`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}`,children:(0,t.jsx)("span",{className:"size-3 rounded-full bg-sidebar"})},a.agent.id)})}):(0,t.jsx)("p",{className:"text-[11px] text-muted-foreground",children:e("noEnabledAgents")})]})})}),(0,t.jsxs)(v.PopoverContent,{align:"start",className:"max-h-[min(70vh,42rem)] w-[min(26rem,calc(100vw-1rem))] overflow-y-auto",side:"top",children:[(0,t.jsxs)(v.PopoverHeader,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(v.PopoverTitle,{children:(0,t.jsx)(w.Link,{className:"hover:underline",href:"/build-data",children:e("freeDiskSpace")})}),(0,t.jsx)(g.Badge,{className:"PRESSURE"===I?T:(0,S.diskStatusColor)(I),variant:"PRESSURE"===I?"outline":"secondary",children:e(`status.${I}`)})]}),r&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("thresholdSummary",{normal:r.diskSpace.settings.normalThresholdGiB,pressure:r.diskSpace.settings.pressureThresholdGiB})})]}),r?r.diskSpace.agents.map(a=>(0,t.jsxs)("div",{className:"space-y-2 rounded-md border p-2.5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(w.Link,{className:"font-medium hover:underline",href:`/agents/${a.agent.id}`,children:a.agent.name}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsxs)(y.Button,{"aria-pressed":a.manualPressureMode,className:a.manualPressureMode?T:void 0,disabled:!a.enabled||null!==M,onClick:()=>void P(a.agent.id,!a.manualPressureMode),size:"xs",type:"button",variant:"outline",children:[e("pressureModeControl"),M===a.agent.id&&(0,t.jsx)(k.Spinner,{})]}),(0,t.jsx)(g.Badge,{className:"PRESSURE"===a.status?T:void 0,variant:"outline",children:e(`status.${a.status}`)})]})]}),a.volumes.map(e=>(0,t.jsx)(S.VolumeBar,{compact:!0,volume:e},e.id)),(a.lastError||a.warnings.length>0)&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:[a.lastError,...a.warnings].filter(Boolean).join(" · ")})]},a.agent.id)):(0,t.jsx)(k.Spinner,{}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)("p",{className:"text-xs font-medium",children:e("recentDeletions")}),0===E.length?(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e("noRecentDeletions")}):E.map(e=>(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto] gap-2 text-xs",children:[(0,t.jsxs)("span",{className:"min-w-0 truncate",children:[e.folderName," · ",e.agentName]}),(0,t.jsx)("span",{className:"text-muted-foreground",children:new Date(e.deletedAt).toLocaleDateString(i)})]},e.id))]})]})]})]})}var L=e.i(961112),M=e.i(271567);let D=(0,i.default)("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]),A=(0,i.default)("briefcase-business",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);var R=e.i(867927),I=e.i(559092),P=e.i(397142),$=e.i(434322),K=e.i(269846),B=e.i(634398),O=e.i(994004),z=e.i(566595),_=e.i(584026),q=e.i(986206),G=e.i(328623),U=e.i(443537),V=e.i(317056);let H=(0,i.default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);var F=e.i(97194);let W=(0,i.default)("chart-no-axes-combined",[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14.639V21",key:"1s85h0"}],["path",{d:"M20 10.656V21",key:"q45596"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18.463V21",key:"1otddq"}],["path",{d:"M8 14.656V21",key:"1t2idw"}]]),J=(0,i.default)("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]);var Q=e.i(809584),X=e.i(567745),Z=e.i(259911),Y=e.i(835079),ee=e.i(150285),et=e.i(758925),ea=e.i(927735),es=e.i(549676),ei=e.i(966473),en=e.i(77071),er=e.i(166794);let el=(0,i.default)("timer-reset",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]]),eo=(0,i.default)("user-plus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]),ec=(0,i.default)("webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]);var ed=e.i(747925);let eu=["dashboard","ai","debugging","github","jira","system"],eh=[{key:"action-center",href:"/",labelKey:"actionCenter",aliases:["attention","tasks","home"],icon:m.ListTodo,section:"dashboard",sidebar:!0,common:!0,exact:!0},{key:"notifications",href:"/notifications",labelKey:"notifications",aliases:["alerts"],icon:H,section:"dashboard",sidebar:!0},{key:"agents",href:"/agents",labelKey:"agents",aliases:["workers","jobs"],icon:P.Cpu,section:"dashboard",sidebar:!0,common:!0,activePrefixes:["/agents","/jobs"]},{key:"workflows",href:"/workflows",labelKey:"workflows",aliases:["automations","workflow runs"],icon:p.Waypoints,section:"dashboard",sidebar:!0,common:!0},{key:"commands",href:"/commands",labelKey:"commands",aliases:["scripts","command runs"],icon:b.Terminal,section:"dashboard",sidebar:!0,common:!0},{key:"codebases",href:"/codebases",labelKey:"codebases",aliases:["repositories","repos"],icon:Y.FolderGit2,section:"dashboard",sidebar:!0,common:!0},{key:"worktrees",href:"/worktrees",labelKey:"worktrees",aliases:["branches","checkouts"],icon:K.GitBranch,section:"dashboard",sidebar:!0,common:!0},{key:"builds",href:"/builds",labelKey:"builds",aliases:["recent builds","xcode"],icon:h.Hammer,section:"dashboard",sidebar:!0,common:!0},{key:"plans",href:"/plans",labelKey:"plans",aliases:["ai plans"],icon:u.ClipboardList,section:"ai",sidebar:!0},{key:"sessions",href:"/sessions",labelKey:"sessions",aliases:["ai sessions","chats"],icon:f.MessagesSquare,section:"ai",sidebar:!0},{key:"drafts",href:"/drafts",labelKey:"drafts",aliases:["new run"],icon:Z.FilePenLine,section:"ai",sidebar:!0,activePrefixes:["/drafts","/runs/new"]},{key:"usage",href:"/usage",labelKey:"usage",aliases:["tokens"],icon:W,section:"ai",sidebar:!0},{key:"costs",href:"/costs",labelKey:"costs",aliases:["spend","pricing"],icon:d,section:"ai",sidebar:!0},{key:"skills",href:"/skills",labelKey:"skills",aliases:["capabilities"],icon:G.Sparkles,section:"ai",sidebar:!0},{key:"push-notifications",href:"/push-notifications",labelKey:"pushNotifications",aliases:["apns"],icon:F.BellRing,section:"debugging",sidebar:!0},{key:"console-logs",href:"/console-logs",labelKey:"consoleLogs",aliases:["logs"],icon:b.Terminal,section:"debugging",sidebar:!0},{key:"analytics-events",href:"/analytics-events",labelKey:"analyticsEvents",aliases:["analytics"],icon:es.MousePointerClick,section:"debugging",sidebar:!0},{key:"unified-events",href:"/unified-events",labelKey:"unifiedEvents",aliases:["events"],icon:J,section:"debugging",sidebar:!0},{key:"pull-requests",href:"/pull-requests",labelKey:"pullRequests",aliases:["prs","github prs"],icon:B.GitPullRequest,section:"github",sidebar:!0},{key:"actions",href:"/actions",labelKey:"actions",aliases:["github actions","ci","pipelines"],icon:ei.PlayCircle,section:"github",sidebar:!0},{key:"webhooks",href:"/webhooks",labelKey:"webhooks",aliases:["github webhooks"],icon:ec,section:"github",sidebar:!0,feature:"webhooks"},{key:"comments",href:"/comments",labelKey:"comments",aliases:["reviews","review threads"],icon:ea.MessageSquareText,section:"github",sidebar:!0},{key:"github-cache",href:"/github-cache",labelKey:"cache",aliases:["github cache"],icon:Q.Database,section:"github",sidebar:!0},{key:"actions-cache",href:"/actions-cache",labelKey:"actionsCache",aliases:["github actions cache"],icon:X.DatabaseZap,section:"github",sidebar:!0,feature:"actionsCache"},{key:"jira-tickets",href:"/jira/tickets",labelKey:"tickets",aliases:["jira tickets","issues"],icon:U.TicketCheck,section:"jira",sidebar:!0,common:!0},{key:"jira-cache",href:"/jira-cache",labelKey:"cache",aliases:["jira cache"],icon:Q.Database,section:"jira",sidebar:!0},{key:"polling",href:"/polling",labelKey:"polling",aliases:["pollers"],icon:el,section:"system",sidebar:!0},{key:"build-data",href:"/build-data",labelKey:"buildData",aliases:["derived data","storage"],icon:ee.HardDrive,section:"system",sidebar:!0},{key:"provisioning-profiles",href:"/provisioning-profiles",labelKey:"provisioningProfiles",aliases:["profiles","signing"],icon:_.ShieldCheck,section:"system",sidebar:!0},{key:"devices",href:"/devices",labelKey:"devices",aliases:["ios devices"],icon:q.Smartphone,section:"system",sidebar:!0},{key:"tools",href:"/tools",labelKey:"tools",aliases:["mcp tools"],icon:ed.Wrench,section:"system",sidebar:!0},{key:"credentials",href:"/credentials",labelKey:"credentials",aliases:["secrets","tokens"],icon:et.KeyRound,section:"system",sidebar:!0},{key:"settings",href:"/settings",labelKey:"settings",aliases:["configuration"],icon:er.Settings,section:"system",sidebar:!0},{key:"new-workflow",href:"/workflows/new",labelKey:"newWorkflow",aliases:["create workflow","automation"],icon:en.Plus,section:"dashboard",sidebar:!1},{key:"new-command",href:"/commands/new",labelKey:"newCommand",aliases:["create command","script"],icon:en.Plus,section:"dashboard",sidebar:!1},{key:"new-run",href:"/runs/new",labelKey:"newRun",aliases:["start run","draft"],icon:ei.PlayCircle,section:"ai",sidebar:!1},{key:"enroll-device",href:"/devices/enroll",labelKey:"enrollDevice",aliases:["add device","register device"],icon:eo,section:"system",sidebar:!1},{key:"skill-groups",href:"/skills/groups",labelKey:"skillGroups",aliases:["groups"],icon:G.Sparkles,section:"ai",sidebar:!1}];function em(e,t){return!e.feature||t[e.feature]}var ef=e.i(975157);let eb="aide:global-search:recent:v1",ep=["PAGES","WORKTREES","TICKETS","PULL_REQUESTS","REPOSITORIES","CODEBASES","WORKFLOWS","GITHUB_ACTIONS","BUILDS","AGENTS_JOBS","PLANS_SESSIONS","COMMANDS_RUNS","SKILLS","DEVICES_PROFILES"],ex={PAGE:$.FileCode2,WORKTREE:K.GitBranch,JIRA_TICKET:U.TicketCheck,GITHUB_PULL_REQUEST:B.GitPullRequest,REPOSITORY:A,CODEBASE:D,WORKFLOW:p.Waypoints,WORKFLOW_RUN:I.CircleDot,GITHUB_ACTIONS_RUN:I.CircleDot,BUILD:h.Hammer,AGENT:P.Cpu,AGENT_JOB:M.Bot,PLAN:$.FileCode2,SESSION:M.Bot,COMMAND:b.Terminal,COMMAND_RUN:b.Terminal,SKILL:G.Sparkles,SKILL_GROUP:D,DEVICE:q.Smartphone,PROVISIONING_PROFILE:_.ShieldCheck};function eg(){try{let e=JSON.parse(localStorage.getItem(eb)??"[]");if(!Array.isArray(e))return[];return e.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.key&&"string"==typeof e.kind&&"string"==typeof e.title&&"string"==typeof e.href&&e.href.startsWith("/")&&!e.href.startsWith("//")&&(null===e.subtitle||"string"==typeof e.subtitle)).slice(0,8)}catch{return[]}}function ey({item:e,nested:a=!1,onSelect:s}){let i=ex[e.kind]??$.FileCode2;return(0,t.jsxs)(V.CommandItem,{className:(0,ef.cn)("min-h-11 py-2",a&&"ml-5 border-l pl-3"),onSelect:()=>s(e),value:e.key,children:[a?(0,t.jsx)(R.ChevronRight,{className:"size-3 text-muted-foreground"}):(0,t.jsx)(i,{className:"size-4 text-muted-foreground"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block truncate font-medium",children:e.title}),e.subtitle&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:e.subtitle})]}),e.status&&(0,t.jsx)(g.Badge,{className:"max-w-28 truncate text-[10px]",variant:"outline",children:e.status.replaceAll("_"," ")})]})}function ev({features:e}){let s=(0,o.useTranslations)("globalSearch"),i=(0,o.useTranslations)("shell"),n=(0,w.useRouter)(),[r,l]=(0,a.useState)(!1),[c,d]=(0,a.useState)(""),[u,h]=(0,a.useState)([]),[m,f]=(0,a.useState)([]),[b,p]=(0,a.useState)(!1),[x,g]=(0,a.useState)(null),[v,k]=(0,a.useState)("⌘K"),N=(0,a.useRef)(0),S=(0,a.useRef)(!1),C=(0,a.useCallback)(e=>{N.current+=1,d(e),h([]),g(null),p(!!e.trim())},[]),T=(0,a.useCallback)(e=>{S.current=e,e&&f(eg()),l(e),e||C("")},[C]);(0,a.useEffect)(()=>{let e=window.setTimeout(()=>k("u"<typeof navigator||/Mac|iPhone|iPad|iPod/i.test(`${navigator.platform??""} ${navigator.userAgent??""}`)?"⌘K":"Ctrl K"),0),t=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLocaleLowerCase()&&(e.preventDefault(),T(!S.current))};return window.addEventListener("keydown",t),()=>{window.clearTimeout(e),window.removeEventListener("keydown",t)}},[T]),(0,a.useEffect)(()=>{let e=c.trim(),t=N.current;if(!r||!e)return;let a=window.setTimeout(()=>{(0,j.controlPlaneRequest)(`query GlobalSearch($query: String!) {
|
|
13
|
+
globalSearch(query: $query) {
|
|
14
|
+
items {
|
|
15
|
+
key kind group title subtitle href status updatedAt
|
|
16
|
+
children { key kind group title subtitle href status updatedAt children { key } }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}`,{query:e}).then(e=>{t===N.current&&(h(e.globalSearch.items),g(null))}).catch(e=>{t===N.current&&(h([]),g(e instanceof Error?e.message:String(e)))}).finally(()=>{t===N.current&&p(!1)})},150);return()=>window.clearTimeout(a)},[r,c]);let E=(0,a.useMemo)(()=>eh.filter(t=>em(t,e)).filter(e=>!!c.trim()||e.common).filter(e=>!!c.trim()||!m.some(t=>t.href===e.href)).filter(e=>(function(e,t){let a=e.trim().toLocaleLowerCase().split(/\s+/).filter(Boolean);if(!a.length)return!0;let s=t.join(" ").toLocaleLowerCase();return a.every(e=>s.includes(e))})(c,[i(e.labelKey),e.href,e.section,...e.aliases])).map(e=>({key:`page:${e.key}`,kind:"PAGE",group:"PAGES",title:i(e.labelKey),subtitle:e.href,href:e.href,status:null,updatedAt:null,children:[]})),[e,c,m,i]),L=(0,a.useMemo)(()=>{let e=new Map;for(let t of[...E,...u]){let a=e.get(t.group)??[];a.push(t),e.set(t.group,a)}return ep.flatMap(t=>{let a=e.get(t);return a?.length?[{group:t,items:a}]:[]})},[u,E]),M=(0,a.useMemo)(()=>m.map(e=>({...e,group:"PAGES",status:null,updatedAt:null,children:[]})),[m]),D=e=>{f(function(e){let t=eg(),a=[{key:e.key,kind:e.kind,title:e.title,subtitle:e.subtitle,href:e.href},...t.filter(t=>t.href!==e.href)].slice(0,8);try{localStorage.setItem(eb,JSON.stringify(a))}catch{}return a}(e)),T(!1),n.push(e.href)},A=L.length>0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(y.Button,{"aria-label":s("open"),className:"h-10 w-10 justify-center gap-2 px-0 @xl:w-48 @xl:justify-start @xl:px-3 @3xl:w-64",onClick:()=>T(!0),title:`${s("open")} (${v})`,type:"button",variant:"outline",children:[(0,t.jsx)(z.Search,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"hidden min-w-0 flex-1 truncate text-left text-muted-foreground @xl:inline",children:s("button")}),(0,t.jsx)("kbd",{className:"hidden rounded border bg-muted px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground @3xl:inline",children:v})]}),(0,t.jsx)(V.CommandDialog,{className:"sm:max-w-2xl",description:s("description"),onOpenChange:T,open:r,title:s("title"),children:(0,t.jsxs)(V.Command,{shouldFilter:!1,children:[(0,t.jsx)(V.CommandInput,{autoFocus:!0,onValueChange:C,placeholder:s("placeholder"),value:c}),(0,t.jsxs)(V.CommandList,{className:"max-h-[min(60vh,32rem)]",children:[b&&(0,t.jsx)("div",{"aria-live":"polite",className:"px-3 py-2 text-xs text-muted-foreground",children:s("loading")}),x&&(0,t.jsx)("div",{className:"mx-2 mt-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive",children:s("error")}),!c.trim()&&M.length>0&&(0,t.jsx)(V.CommandGroup,{heading:s("groups.recent"),children:M.map(e=>(0,t.jsx)(ey,{item:e,onSelect:D},e.key))}),!b&&!x&&!A&&(0,t.jsx)(V.CommandEmpty,{children:s("empty")}),L.map(({group:e,items:a})=>(0,t.jsx)(V.CommandGroup,{heading:s(`groups.${e}`),children:a.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)(ey,{item:e,onSelect:D}),e.children.length>0&&(0,t.jsx)("div",{children:e.children.map((a,i)=>{let n=e.children[i-1],r=0===i||n?.kind!==a.kind;return(0,t.jsxs)("div",{children:[r&&(0,t.jsx)("div",{className:"ml-10 px-2 pt-1 text-[10px] font-medium tracking-wide text-muted-foreground uppercase",children:"BUILD"===a.kind?s("recentBuilds"):s("recentWorkflowRuns")}),(0,t.jsx)(ey,{item:a,nested:!0,onSelect:D})]},a.key)})})]},e.key))},e)),!c.trim()&&0===M.length&&(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground",children:[(0,t.jsx)(O.History,{className:"size-3.5"}),s("noRecents")]})]})]})})]})}let ek=(0,i.default)("list-x",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"m15.5 9.5 5 5",key:"ytk86i"}],["path",{d:"m20.5 9.5-5 5",key:"17o44f"}]]),ew=(0,i.default)("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]),ej=(0,i.default)("volume-x",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);var eN=e.i(755146),eS=e.i(225913),eC=e.i(586011);let eT="(max-width: 767px)";function eE(e){let t=window.matchMedia(eT);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function eL(){return window.matchMedia(eT).matches}function eM(){return!1}e.i(793479),e.i(772436);var eD=e.i(980376);e.i(302747);var eA=e.i(746798);let eR=a.createContext(null);function eI(){let e=a.useContext(eR);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function eP({defaultOpen:e=!0,open:s,onOpenChange:i,cookieName:n="sidebar_state",keyboardShortcut:r="b",className:l,style:o,children:c,...d}){let u=a.useSyncExternalStore(eE,eL,eM),[h,m]=a.useState(!1),[f,b]=a.useState(e),p=s??f,x=a.useCallback(e=>{let t="function"==typeof e?e(p):e;i?i(t):b(t),document.cookie=`${n}=${t}; path=/; max-age=604800`},[n,i,p]),g=a.useCallback(()=>u?m(e=>!e):x(e=>!e),[u,x,m]);a.useEffect(()=>{if(null===r)return;let e=e=>{e.key.toLowerCase()===r.toLowerCase()&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[r,g]);let y=p?"expanded":"collapsed",v=a.useMemo(()=>({state:y,open:p,setOpen:x,isMobile:u,openMobile:h,setOpenMobile:m,toggleSidebar:g}),[y,p,x,u,h,m,g]);return(0,t.jsx)(eR.Provider,{value:v,children:(0,t.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:(0,ef.cn)("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",l),...d,children:c})})}function e$({side:e="left",variant:a="sidebar",collapsible:s="offcanvas",mobileTitle:i="Sidebar",mobileDescription:n="Displays the mobile sidebar.",className:r,children:l,dir:o,...c}){let{isMobile:d,state:u,openMobile:h,setOpenMobile:m}=eI();return"none"===s?(0,t.jsx)("div",{"data-slot":"sidebar",className:(0,ef.cn)("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",r),...c,children:l}):d?(0,t.jsx)(eD.Sheet,{open:h,onOpenChange:m,...c,children:(0,t.jsxs)(eD.SheetContent,{dir:o,"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:e,children:[(0,t.jsxs)(eD.SheetHeader,{className:"sr-only",children:[(0,t.jsx)(eD.SheetTitle,{children:i}),(0,t.jsx)(eD.SheetDescription,{children:n})]}),(0,t.jsx)("div",{className:"flex h-full w-full flex-col",children:l})]})}):(0,t.jsxs)("div",{className:"group peer hidden text-sidebar-foreground md:block","data-state":u,"data-collapsible":"collapsed"===u?s:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[(0,t.jsx)("div",{"data-slot":"sidebar-gap",className:(0,ef.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===a||"inset"===a?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,t.jsx)("div",{"data-slot":"sidebar-container","data-side":e,className:(0,ef.cn)("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex","floating"===a||"inset"===a?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",r),...c,children:(0,t.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",children:l})})]})}function eK({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,ef.cn)("flex flex-col gap-2 p-2",e),...a})}function eB({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,ef.cn)("flex flex-col gap-2 p-2",e),...a})}function eO({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,ef.cn)("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...a})}function ez({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,ef.cn)("relative flex w-full min-w-0 flex-col p-2",e),...a})}function e_({className:e,asChild:a=!1,...s}){let i=a?eC.Slot.Root:"div";return(0,t.jsx)(i,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,ef.cn)("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",e),...s})}function eq({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,ef.cn)("w-full text-sm",e),...a})}function eG({className:e,...a}){return(0,t.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,ef.cn)("flex w-full min-w-0 flex-col gap-0",e),...a})}function eU({className:e,...a}){return(0,t.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,ef.cn)("group/menu-item relative",e),...a})}let eV=(0,eS.cva)("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function eH({asChild:e=!1,isActive:a=!1,variant:s="default",size:i="default",tooltip:n,className:r,...l}){let o=e?eC.Slot.Root:"button",{isMobile:c,state:d}=eI(),u=(0,t.jsx)(o,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":i,"data-active":a,className:(0,ef.cn)(eV({variant:s,size:i}),r),...l});return n?("string"==typeof n&&(n={children:n}),(0,t.jsxs)(eA.Tooltip,{children:[(0,t.jsx)(eA.TooltipTrigger,{asChild:!0,children:u}),(0,t.jsx)(eA.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==d||c,...n})]})):u}var eF=e.i(689664),eW=e.i(482022),eJ=e.i(573474),eQ=e.i(940276),eX=e.i(487812),eZ=e.i(816484),eY=e.i(360583),e0=e.i(171502);function e1({notification:e,arriving:s=!1,onDelete:i,onDismiss:n}){let r=(0,o.useTranslations)("notifications"),c=(0,x.useLocale)(),d=e.highlightColor,[u,h]=(0,a.useState)(!1),m=(0,a.useRef)(null),f=(0,eY.formatDateValue)(e.createdAt,"long",{locale:c});return(0,a.useEffect)(()=>()=>{m.current&&window.clearTimeout(m.current)},[]),(0,t.jsxs)(eX.ContextMenu,{onOpenChange:e=>{e||h(!1)},children:[(0,t.jsx)(eX.ContextMenuTrigger,{asChild:!0,children:(0,t.jsxs)("article",{className:(0,ef.cn)("group relative w-full overflow-hidden rounded-none border border-x-0 border-t-0 border-l-4 bg-sidebar-accent/30 transition-all duration-[1400ms] hover:bg-sidebar-accent/60",d&&e0.worktreeHighlightBackgroundClasses[d],d&&e0.worktreeHighlightAccentClasses[d],s&&"motion-safe:animate-in motion-safe:slide-in-from-top-2 bg-primary/20 ring-1 ring-primary/30",s&&d&&e0.worktreeHighlightArrivalClasses[d]),children:[(0,t.jsxs)(w.Link,{className:"block min-w-0 px-3 py-2.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",href:e.href,children:[(0,t.jsx)("p",{className:"truncate pr-8 text-sm font-medium",children:e.title}),(0,t.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted-foreground",children:e.body}),(0,t.jsx)(eZ.DateTime,{className:"mt-1.5 block text-[11px] text-muted-foreground",hover:!1,kind:"relative",value:e.createdAt})]}),n&&(0,t.jsx)(y.Button,{"aria-label":r("dismissOne",{title:e.title}),className:"absolute top-1 right-1.5 size-7 opacity-100 transition-opacity md:opacity-0 md:group-hover:opacity-100 md:group-focus-within:opacity-100",onClick:()=>n(e.id),size:"icon-sm",title:r("dismiss"),type:"button",variant:"ghost",children:(0,t.jsx)(l.X,{className:"size-3.5"})})]})}),(0,t.jsxs)(eX.ContextMenuContent,{className:"w-64",children:[(0,t.jsx)(eX.ContextMenuLabel,{className:"font-normal whitespace-normal",children:f}),(0,t.jsx)(eX.ContextMenuSeparator,{}),"BUILD"===e.resourceKind&&(0,t.jsx)(eX.ContextMenuItem,{asChild:!0,children:(0,t.jsxs)(w.Link,{href:e.href,children:[(0,t.jsx)(eW.ExternalLink,{})," ",r("openBuild")]})}),e.worktreeId&&(0,t.jsx)(eX.ContextMenuItem,{asChild:!0,children:(0,t.jsxs)(w.Link,{href:(0,eQ.worktreeDetailHref)(e.worktreeId),children:[(0,t.jsx)(K.GitBranch,{})," ",r("openWorktree")]})}),(0,t.jsx)(eX.ContextMenuSeparator,{}),(0,t.jsxs)(eX.ContextMenuItem,{disabled:!n,onSelect:()=>n?.(e.id),children:[(0,t.jsx)(l.X,{})," ",r("dismiss")]}),(0,t.jsxs)(eX.ContextMenuItem,{disabled:!i,onSelect:t=>{if(!u){t.preventDefault(),h(!0),m.current&&window.clearTimeout(m.current),m.current=window.setTimeout(()=>{m.current=null,h(!1)},5e3);return}m.current&&window.clearTimeout(m.current),m.current=null,h(!1),i?.(e.id)},variant:u?"destructive":"default",children:[u?(0,t.jsx)(eF.Check,{}):(0,t.jsx)(eJ.Trash2,{}),r(u?"confirmDelete":"delete")]})]})]})}var e2=e.i(929592),e5=e.i(731485);function e4(){let e=(0,o.useTranslations)("actionCenter"),a=(0,c.useOptionalActionCenter)();if(!a)return null;let{items:s,totalCount:i,loading:n,loadingMore:r,error:l,hasMore:d,loadMore:u}=a;return(0,t.jsxs)("section",{"aria-label":e("miniLabel"),className:"flex h-full min-h-0 flex-col bg-sidebar",children:[(0,t.jsxs)("div",{className:"flex min-h-9 shrink-0 items-center gap-2 border-b border-sidebar-border px-2.5",children:[(0,t.jsx)(m.ListTodo,{className:"size-4"}),(0,t.jsx)(w.Link,{className:"min-w-0 flex-1 truncate text-xs font-semibold hover:underline",href:"/",children:e("title")}),(0,t.jsx)(g.Badge,{className:"h-5 min-w-5 px-1.5 text-[10px]",variant:"secondary",children:i})]}),(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain",children:[l&&(0,t.jsx)(e2.Alert,{className:"m-2 w-auto py-2",variant:"destructive",children:(0,t.jsx)(e2.AlertDescription,{className:"break-words text-xs",children:l})}),n&&0===s.length?(0,t.jsx)("div",{className:"flex justify-center p-5",children:(0,t.jsx)(k.Spinner,{})}):0!==s.length||l?s.map(e=>(0,t.jsx)(e5.ActionCenterItem,{compact:!0,item:e},e.key)):(0,t.jsx)("p",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:e("miniEmpty")}),d&&(0,t.jsx)("div",{className:"p-2",children:(0,t.jsxs)(y.Button,{className:"w-full",disabled:r,onClick:()=>void u(),size:"xs",variant:"ghost",children:[r&&(0,t.jsx)(k.Spinner,{})," ",e("loadMore")]})})]})]})}var e3=e.i(302493);let e6="notification-sound-enabled";function e7(){try{let e=window.AudioContext??window.webkitAudioContext;if(!e)return;let t=new e,a=t.createGain(),s=t.createOscillator();s.type="sine",s.frequency.setValueAtTime(660,t.currentTime),s.frequency.exponentialRampToValueAtTime(880,t.currentTime+.12),a.gain.setValueAtTime(1e-4,t.currentTime),a.gain.exponentialRampToValueAtTime(.12,t.currentTime+.015),a.gain.exponentialRampToValueAtTime(1e-4,t.currentTime+.24),s.connect(a),a.connect(t.destination),s.start(),s.stop(t.currentTime+.25),s.addEventListener("ended",()=>void t.close())}catch{}}function e8(){let{setOpenMobile:e}=eI(),a=(0,o.useTranslations)("shell");return(0,t.jsx)(y.Button,{"aria-label":a("closeNotifications"),className:"size-9 touch-manipulation md:hidden",onClick:()=>e(!1),size:"icon",type:"button",variant:"ghost",children:(0,t.jsx)(l.X,{})})}function e9(){let e=(0,o.useTranslations)("notifications"),s=(0,o.useTranslations)("shell"),[i,n]=(0,a.useState)([]),[r,l]=(0,a.useState)(new Set),[c,d]=(0,a.useState)(!1),[u,h]=(0,a.useState)(!1),m=(0,a.useRef)(!1),f=(0,a.useRef)(new Map),b=(0,a.useCallback)(async()=>{try{let e=await (0,j.controlPlaneRequest)(`query SidebarNotifications {
|
|
20
|
+
sidebarNotifications(limit: 50) { ${e3.APP_NOTIFICATION_FIELDS} }
|
|
21
|
+
}`);n(e.sidebarNotifications)}catch{}finally{h(!0)}},[]);(0,a.useEffect)(()=>{let e=f.current,t=window.setTimeout(()=>{let e="true"===window.localStorage.getItem(e6);d(e),m.current=e},0),a=window.setTimeout(()=>void b(),0),s=(0,j.controlPlaneSubscriptions)().subscribe({query:`subscription NotificationsSidebarChanged {
|
|
22
|
+
notificationsChanged {
|
|
23
|
+
kind notificationId
|
|
24
|
+
notification { ${e3.APP_NOTIFICATION_FIELDS} }
|
|
25
|
+
}
|
|
26
|
+
}`},{next:e=>{let t=e.data?.notificationsChanged;if(!t)return;let a=t.notification;if("CREATED"===t.kind&&a){if(a.browserRequested&&function(e){if("Notification"in window&&"granted"===window.Notification.permission)try{let t=new window.Notification(e.title,{body:e.body,icon:"/icon-192.png",tag:`browser:${e.id}`});t.onclick=()=>{window.focus(),window.location.assign(e.href),t.close()}}catch{}}(a),a.sidebarRequested){n(e=>[a,...e.filter(e=>e.id!==a.id)].slice(0,50)),l(e=>new Set(e).add(a.id));let e=window.setTimeout(()=>{f.current.delete(a.id),l(e=>{let t=new Set(e);return t.delete(a.id),t})},1400);f.current.set(a.id,e),m.current&&e7()}return}b()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(a),window.clearTimeout(t),s(),e.forEach(e=>window.clearTimeout(e)),e.clear()}},[b]);let p=async e=>{n(t=>t.filter(t=>t.id!==e));try{await (0,j.controlPlaneRequest)("mutation DismissNotification($id: ID!) { dismissNotification(id: $id) }",{id:e})}catch{await b()}},x=async e=>{n(t=>t.filter(t=>t.id!==e));try{await (0,j.controlPlaneRequest)(`mutation DeleteSidebarNotification($selection: NotificationSelectionInput!) {
|
|
27
|
+
deleteNotifications(selection: $selection)
|
|
28
|
+
}`,{selection:{ids:[e]}})}catch{await b()}},g=async()=>{try{await (0,j.controlPlaneRequest)(`mutation DismissAllSidebarNotifications {
|
|
29
|
+
dismissAllSidebarNotifications
|
|
30
|
+
}`),n([])}catch{await b()}};return(0,t.jsxs)(e$,{collapsible:"offcanvas",mobileDescription:s("notificationsDescription"),mobileTitle:s("notifications"),side:"right",children:[(0,t.jsx)(eK,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,t.jsxs)("div",{className:"flex min-h-10 items-center gap-1 px-2",children:[(0,t.jsx)(w.Link,{className:"mr-auto text-sm font-semibold hover:underline",href:"/notifications",children:s("notifications")}),(0,t.jsx)(y.Button,{"aria-label":e(c?"mute":"unmute"),onClick:()=>{let e=!c;d(e),m.current=e,window.localStorage.setItem(e6,String(e)),e&&e7()},size:"icon-sm",title:e(c?"mute":"unmute"),type:"button",variant:"ghost",children:c?(0,t.jsx)(ew,{}):(0,t.jsx)(ej,{})}),(0,t.jsxs)(eN.DropdownMenu,{children:[(0,t.jsx)(eN.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(y.Button,{"aria-label":e("clearAll"),disabled:!i.length,size:"icon-sm",title:e("clearAll"),type:"button",variant:"ghost",children:(0,t.jsx)(ek,{})})}),(0,t.jsxs)(eN.DropdownMenuContent,{align:"end",className:"w-64",children:[(0,t.jsx)(eN.DropdownMenuLabel,{className:"font-normal whitespace-normal leading-snug",children:e("clearSidebarDescription")}),(0,t.jsx)(eN.DropdownMenuSeparator,{}),(0,t.jsxs)(eN.DropdownMenuItem,{onSelect:()=>void g(),variant:"destructive",children:[(0,t.jsx)(ek,{})," ",e("clearSidebar")]})]})]}),(0,t.jsx)(e8,{})]})}),(0,t.jsx)(eO,{className:"min-h-0 overflow-hidden p-0",children:(0,t.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,t.jsx)("div",{className:"min-h-0 flex-[2_1_0%] overflow-y-auto overscroll-contain","data-slot":"notifications-feed",children:(0,t.jsxs)("div",{className:"flex flex-col gap-0","aria-live":"polite",children:[i.map(e=>(0,t.jsx)(e1,{arriving:r.has(e.id),notification:e,onDelete:e=>void x(e),onDismiss:e=>void p(e)},e.id)),u&&0===i.length&&(0,t.jsx)("p",{className:"px-3 py-8 text-center text-sm text-muted-foreground",children:e("sidebarEmpty")})]})}),(0,t.jsx)("div",{className:"min-h-0 flex-[1_1_0%] overflow-hidden border-t border-sidebar-border","data-slot":"mini-action-center",children:(0,t.jsx)(e4,{})})]})})]})}var te=e.i(746336),tt=e.i(560972),tt=tt;function ta({className:e,...a}){return(0,t.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,ef.cn)(e),...a})}function ts({className:e,...a}){return(0,t.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,ef.cn)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",e),...a})}function ti({className:e,...a}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,ef.cn)("inline-flex items-center gap-1",e),...a})}function tn({asChild:e,className:a,...s}){let i=e?eC.Slot.Root:"a";return(0,t.jsx)(i,{"data-slot":"breadcrumb-link",className:(0,ef.cn)("transition-colors hover:text-foreground",a),...s})}function tr({className:e,...a}){return(0,t.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,ef.cn)("font-normal text-foreground",e),...a})}function tl({children:e,className:a,...s}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,ef.cn)("[&>svg]:size-3.5",a),...s,children:e??(0,t.jsx)(te.ChevronRightIcon,{})})}function to({className:e,...a}){return(0,t.jsxs)("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:(0,ef.cn)("flex size-5 items-center justify-center [&>svg]:size-4",e),...a,children:[(0,t.jsx)(tt.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"More"})]})}let tc={actions:"actions","actions-cache":"actionsCache",agents:"agents","analytics-events":"analyticsEvents","build-data":"buildData",builds:"builds",cache:"cache",codebases:"codebases",comments:"comments",commands:"commands","console-logs":"consoleLogs",costs:"costs",coverage:"coverage",credentials:"credentials",devices:"devices",drafts:"drafts",edit:"edit",enroll:"enroll",entries:"entries",groups:"groups",github:"github","github-cache":"cache",jira:"jira","jira-cache":"cache",new:"new",notifications:"notifications",plans:"plans",polling:"polling","provisioning-profiles":"provisioningProfiles","pull-requests":"pullRequests","push-notifications":"pushNotifications",repositories:"repositories",runs:"runs",sessions:"sessions",settings:"settings",skills:"skills",sync:"sync",tickets:"tickets",tools:"tools","unified-events":"unifiedEvents",usage:"usage",webhooks:"webhooks",workflows:"workflows",worktrees:"worktrees"},td={jobs:{href:"/agents",labelKey:"agents"},runs:{href:"/drafts",labelKey:"drafts"}},tu=new Set(["/codebases/repositories","/commands/new","/commands/runs","/devices/enroll","/github-cache/entries","/jira-cache/tickets","/jira/tickets","/runs/new","/skills/groups","/skills/sync","/workflows/new","/workflows/runs"]),th=[/^\/builds\/[^/]+\/coverage$/,/^\/commands\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/,/^\/workflows\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/],tm=new Set(["/actions","/actions-cache","/agents","/analytics-events","/build-data","/builds","/codebases","/commands","/commands/new","/comments","/console-logs","/costs","/credentials","/devices","/devices/enroll","/drafts","/github-cache","/jira-cache","/jira/tickets","/notifications","/plans","/polling","/provisioning-profiles","/pull-requests","/push-notifications","/sessions","/settings","/skills","/skills/groups","/tools","/unified-events","/usage","/webhooks","/workflows","/workflows/new","/worktrees"]),tf=[/^\/agents\/[^/]+$/,/^\/builds\/[^/]+$/,/^\/codebases\/(?!repositories(?:\/|$))[^/]+$/,/^\/devices\/(?!enroll$)[^/]+$/,/^\/github-cache\/entries\/[^/]+$/,/^\/jira-cache\/tickets\/[^/]+$/,/^\/jira\/tickets\/[^/]+$/,/^\/plans\/[^/]+$/,/^\/provisioning-profiles\/[^/]+$/,/^\/sessions\/[^/]+$/,/^\/skills\/(?!groups(?:\/|$)|sync(?:\/|$))[^/]+$/,/^\/skills\/groups\/[^/]+$/,/^\/workflows\/(?!new$|runs(?:\/|$))[^/]+$/,/^\/worktrees\/[^/]+$/];function tb({children:e,leftDefaultOpen:s,rightDefaultOpen:i}){let n=function(){let e=(0,w.usePathname)(),[t,s]=(0,a.useState)({actionsCache:!1,webhooks:!1});return(0,a.useEffect)(()=>{let e=!1;return(0,j.controlPlaneRequest)(`query NavigationFeatures {
|
|
31
|
+
cacheServerSettings { configured }
|
|
32
|
+
githubWebhooksEnabled
|
|
33
|
+
}`).then(t=>{e||s({actionsCache:t.cacheServerSettings.configured,webhooks:t.githubWebhooksEnabled})}).catch(()=>{e||s({actionsCache:!1,webhooks:!1})}),()=>{e=!0}},[e]),t}();return(0,t.jsxs)(eP,{className:"h-dvh min-h-0 overflow-hidden",cookieName:"ade_sidebar_left",defaultOpen:s,children:[(0,t.jsx)(tj,{features:n}),(0,t.jsx)(tp,{features:n,rightDefaultOpen:i,children:e})]})}function tp({children:e,features:a,rightDefaultOpen:s}){let i=eI();return(0,t.jsx)(eP,{className:"h-full min-h-0 min-w-0 flex-1 overflow-hidden",cookieName:"ade_sidebar_right",defaultOpen:s,keyboardShortcut:null,children:(0,t.jsx)(tx,{features:a,leftSidebar:i,children:e})})}function tx({children:e,features:a,leftSidebar:s}){let i=eI();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative flex h-full min-h-0 min-w-0 w-full flex-1 flex-col bg-background","data-slot":"sidebar-inset",children:[(0,t.jsx)(tg,{features:a,leftSidebar:s,rightSidebar:i}),(0,t.jsx)("main",{className:"min-h-0 w-full flex-1 overflow-y-auto overscroll-contain [-webkit-overflow-scrolling:touch]",children:(0,t.jsx)("div",{className:"w-full p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] sm:p-6 sm:pb-[calc(1.5rem+env(safe-area-inset-bottom))] [&>*]:!mx-0 [&>*]:!w-full [&>*]:!max-w-none","data-slot":"page-content",children:e})})]}),(0,t.jsx)(e9,{})]})}function tg({features:e,leftSidebar:a,rightSidebar:s}){let i=(0,o.useTranslations)("shell"),n=a.isMobile?a.openMobile:a.open,r=s.isMobile?s.openMobile:s.open;return(0,t.jsxs)("header",{className:"sticky top-0 z-30 shrink-0 border-b bg-background/90 backdrop-blur-xl backdrop-saturate-150 supports-backdrop-filter:bg-background/70",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"h-[env(safe-area-inset-top)]"}),(0,t.jsxs)("div",{className:"@container flex h-14 items-center gap-2 pr-[max(0.75rem,env(safe-area-inset-right))] pl-[max(0.75rem,env(safe-area-inset-left))] sm:pr-[max(1rem,env(safe-area-inset-right))] sm:pl-[max(1rem,env(safe-area-inset-left))]",children:[(0,t.jsx)(tk,{expanded:n,hideLabel:i("hideNavigation"),onClick:a.toggleSidebar,showLabel:i("showNavigation"),side:"left"}),(0,t.jsx)(tv,{}),(0,t.jsx)(ev,{features:e}),(0,t.jsx)(tk,{expanded:r,hideLabel:i("hideNotifications"),onClick:s.toggleSidebar,showLabel:i("showNotifications"),side:"right"})]})]})}function ty({breadcrumb:e,className:a}){let s=e.isCurrent?"block min-w-0 truncate":"block max-w-48 truncate lg:max-w-64";return(0,t.jsx)(ti,{className:`min-w-0 ${a??""}`,children:e.isCurrent?(0,t.jsx)(tr,{className:s,children:e.label}):e.href?(0,t.jsx)(tn,{asChild:!0,className:s,children:(0,t.jsx)(w.Link,{href:e.href,children:e.label})}):(0,t.jsx)("span",{className:`${s} text-muted-foreground`,children:e.label})})}function tv(){var e;let s,i=(0,w.usePathname)(),n=(0,o.useTranslations)("shell"),r=(e=e=>n(e),0===(s=(i.split(/[?#]/,1)[0]||"/").split("/").filter(Boolean)).length?[{isCurrent:!0,label:e("actionCenter")}]:s.map((t,a)=>{let i=a===s.length-1,n=0===a?td[t]:void 0,r=`/${s.slice(0,a+1).join("/")}`,l=n?.labelKey??function(e,t,a){let s=tc[e];if(s)return 0===t||tu.has(a)||th.some(e=>e.test(a))?s:void 0}(t,a,r);return{href:i?void 0:n?.href??(tm.has(r)||tf.some(e=>e.test(r))?r:void 0),isCurrent:i,label:l?e(l):function(e){try{return decodeURIComponent(e)}catch{return e}}(t)}})),l=r.length-1;return(0,t.jsx)(ta,{"aria-label":n("breadcrumbLabel"),className:"min-w-0 flex-1 overflow-hidden pl-1",children:(0,t.jsx)(ts,{className:"flex-nowrap overflow-hidden",children:r.length<=2?r.map((e,s)=>(0,t.jsxs)(a.Fragment,{children:[s>0&&(0,t.jsx)(tl,{}),(0,t.jsx)(ty,{breadcrumb:e,className:s===l?"flex-1":"shrink-0"})]},`${e.label}:${s}`)):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ty,{breadcrumb:r[0],className:"shrink-0"}),(0,t.jsx)(tl,{className:"sm:hidden"}),(0,t.jsx)(ti,{className:"sm:hidden",children:(0,t.jsx)(to,{})}),(0,t.jsx)(tl,{className:"sm:hidden"}),r.slice(1,l).map((e,s)=>(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)(tl,{className:"hidden sm:inline-flex"}),(0,t.jsx)(ty,{breadcrumb:e,className:"hidden shrink-0 sm:inline-flex"})]},`${e.label}:${s+1}`)),(0,t.jsx)(tl,{className:"hidden sm:inline-flex"}),(0,t.jsx)(ty,{breadcrumb:r[l],className:"flex-1"})]})})})}function tk({expanded:e,hideLabel:a,onClick:s,showLabel:i,side:l}){let o=e?a:i;return(0,t.jsx)(y.Button,{"aria-expanded":e,"aria-label":o,className:"size-10 touch-manipulation",onClick:s,size:"icon-lg",title:o,type:"button",variant:"ghost",children:(0,t.jsx)("left"===l?n:r,{})})}function tw({label:e}){let{setOpenMobile:a}=eI();return(0,t.jsx)(y.Button,{"aria-label":e,className:"ml-auto size-10 touch-manipulation md:hidden",onClick:()=>a(!1),size:"icon-lg",title:e,type:"button",variant:"ghost",children:(0,t.jsx)(l.X,{})})}function tj({features:e}){let a=(0,o.useTranslations)("shell"),{isMobile:i,setOpenMobile:n}=eI(),r=(0,w.usePathname)();return(0,t.jsxs)(e$,{collapsible:"offcanvas",mobileDescription:a("navigationDescription"),mobileTitle:a("navigation"),side:"left",children:[(0,t.jsx)(eK,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,t.jsxs)("div",{className:"flex min-h-10 items-center gap-2 px-2",children:[(0,t.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground",children:(0,t.jsx)(s.Blocks,{className:"size-4"})}),(0,t.jsx)("span",{className:"text-sm leading-tight font-semibold",children:a("productName")}),(0,t.jsx)(tw,{label:a("closeNavigation")})]})}),(0,t.jsx)(eO,{children:eu.map(s=>{let l=eh.filter(t=>t.sidebar&&t.section===s&&em(t,e));return l.length?(0,t.jsxs)(ez,{children:[(0,t.jsx)(e_,{children:a(s)}),(0,t.jsx)(eq,{children:(0,t.jsx)(eG,{children:l.map(e=>{let s=e.icon;return(0,t.jsx)(eU,{children:(0,t.jsx)(eH,{asChild:!0,isActive:e.exact?r===e.href:(e.activePrefixes??[e.href]).some(e=>r===e||r.startsWith(`${e}/`)),children:(0,t.jsxs)(w.Link,{href:e.href,onClick:()=>{i&&n(!1)},children:[(0,t.jsx)(s,{}),(0,t.jsx)("span",{children:a(e.labelKey)})]})})},e.key)})})})]},s):null})}),(0,t.jsx)(eB,{className:"p-0",children:(0,t.jsx)(E,{})})]})}e.s(["AppShell",0,function({children:e,leftDefaultOpen:a,rightDefaultOpen:s}){return(0,t.jsx)(L.GitHubPipelineStatusProvider,{children:(0,t.jsx)(c.ActionCenterProvider,{children:(0,t.jsx)(tb,{leftDefaultOpen:a,rightDefaultOpen:s,children:e})})})}],763141)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),s=e.i(975157);let i=(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,s.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,s.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,s.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(i({variant:a,className:e})),...r})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,s.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},688194,e=>{"use strict";e.s(["BUILD_ACTIONS",0,["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"],"BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),s=e.i(975157);let i=(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,s.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,s.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,s.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(i({variant:a,className:e})),...r})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,s.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},688194,e=>{"use strict";e.s(["BUILD_ACTIONS",0,["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"],"BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},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 a=e.i(636162),s=e.i(456420);let i=(0,s.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 r=e.i(876561);let n=(0,s.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,s.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"}]]),d=(0,s.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 c=e.i(452330);let o=(0,s.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,o],671028);var u=e.i(93384);let m=(0,s.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"}]]),h=(0,s.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 p=e.i(21357);let x=(0,s.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 g=e.i(584026),f=e.i(986206),y=e.i(328623),v=e.i(604139);let j=(0,s.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 N=e.i(747925);let k={apple:a.Apple,"app-window":i,archive:r.Archive,beaker:n,box:l,bug:d,code:c.Code2,gauge:o,hammer:u.Hammer,layers:m,package:h,play:p.Play,rocket:x,shield:g.ShieldCheck,smartphone:f.Smartphone,sparkles:y.Sparkles,terminal:v.Terminal,"test-tube":j,wrench:N.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=k[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},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"])},183691,e=>{"use strict";let t=`
|
|
2
2
|
id name description script targetKind targetAgentId targetRepositoryId
|
|
3
3
|
restartPolicy restartLimit quickActionEnabled quickActionIconKey quickActionButtonVariant
|
|
4
4
|
notificationsEnabled
|
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
agent { id name hostname connectionStatus capabilities }
|
|
17
17
|
worktree { id folder branch highlightColor }
|
|
18
18
|
attempts { id attempt status exitCode signal error startedAt finishedAt }
|
|
19
|
-
`;e.s(["COMMAND_DEFINITION_FIELDS",0,t,"COMMAND_RUN_FIELDS",0,a,"activeCommandRun",0,e=>["QUEUED","RUNNING","RESTARTING","CANCELLING"].includes(e),"commandOriginKey",0,e=>{switch(e){case"QUICK_ACTION":return"originQuickAction";case"WORKFLOW":return"originWorkflow";case"RERUN":return"originRerun";default:return"originManual"}},"commandRestartKey",0,e=>{switch(e){case"ON_FAILURE":return"onFailure";case"ALWAYS":return"always";default:return"never"}},"commandStatusKey",0,e=>{switch(e){case"QUEUED":return"statusQueued";case"RUNNING":return"statusRunning";case"RESTARTING":return"statusRestarting";case"CANCELLING":return"statusCancelling";case"SUCCEEDED":return"statusSucceeded";case"FAILED":return"statusFailed";case"CANCELLED":return"statusCancelled";case"TIMED_OUT":return"statusTimedOut";default:return"status"}},"commandTargetKey",0,e=>{switch(e){case"ANY_AGENT_HOME":return"anyAgentHome";case"SPECIFIC_AGENT_HOME":return"specificAgentHome";case"REPOSITORY_WORKTREE":return"repositoryWorktree";default:return"anyWorktree"}}])},653269,e=>{"use strict";var t=e.i(843476),a=e.i(948148),s=e.i(271645),i=e.i(687862),r=e.i(929592),n=e.i(519455),l=e.i(515288),d=e.i(987968),c=e.i(520133),o=e.i(637611),u=e.i(183691);e.s(["CommandQuickActions",0,function({agentId:e,worktreeId:m,agentCapabilities:h,title:p,description:x}){let g=(0,a.useTranslations)("commands"),[f,y]=(0,s.useState)([]),[v,j]=(0,s.useState)(null),[N,k]=(0,s.useState)({}),[A,E]=(0,s.useState)(null),C=h.includes("command.run");(0,s.useEffect)(()=>{let t=e?`query AgentCommandQuickActions($id: ID!) { eligibleCommandsForAgent(agentId: $id) { ${u.COMMAND_DEFINITION_FIELDS} } }`:`query WorktreeCommandQuickActions($id: ID!) { eligibleCommandsForWorktree(worktreeId: $id) { ${u.COMMAND_DEFINITION_FIELDS} } }`;Promise.resolve((0,o.controlPlaneRequest)(t,{id:e??m})).then(e=>{e&&y((e.eligibleCommandsForAgent??e.eligibleCommandsForWorktree??[]).filter(e=>e.quickActionEnabled))}).catch(e=>E(e instanceof Error?e.message:String(e)))},[e,m]);let I=async t=>{j(t.id);try{let a=await (0,o.controlPlaneRequest)("mutation RunCommandQuickAction($input: StartCommandRunInput!) { startCommandRun(input: $input) { id } }",{input:{commandId:t.id,origin:"QUICK_ACTION",...e?{agentId:e}:{worktreeId:m}}});k(e=>({...e,[t.id]:a.startCommandRun.id})),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}finally{j(null)}};if(!f.length&&!A)return null;let b=(0,t.jsxs)("div",{className:"w-full space-y-2",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[f.map(e=>{let a=N[e.id];return(0,t.jsxs)("div",{className:"flex",children:[a&&(0,t.jsx)(n.Button,{asChild:!0,className:"rounded-r-none",size:"sm",variant:"outline",children:(0,t.jsxs)(c.Link,{href:`/commands/runs/${a}`,children:[(0,t.jsx)(d.Spinner,{}),g("view")]})}),(0,t.jsxs)(n.Button,{className:a?"-ml-px rounded-l-none":void 0,disabled:!C||null!==v,onClick:t=>{t.preventDefault(),t.stopPropagation(),I(e)},size:"sm",title:C?e.description||e.name:g("upgradeAgentTitle"),variant:["default","outline","secondary","destructive"].includes(e.quickActionButtonVariant)?e.quickActionButtonVariant:"default",children:[v===e.id?(0,t.jsx)(d.Spinner,{}):(0,t.jsx)(i.ConfigurationIcon,{iconKey:e.quickActionIconKey})," ",e.name]})]},e.id)}),!C&&f.length>0&&(0,t.jsx)("span",{className:"self-center text-xs text-muted-foreground",children:g("upgradeAgent")})]}),A&&(0,t.jsx)(r.Alert,{variant:"destructive",children:(0,t.jsx)(r.AlertDescription,{children:A})})]});return p?(0,t.jsxs)(l.Card,{children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(l.CardTitle,{children:p}),x&&(0,t.jsx)(l.CardDescription,{children:x})]}),(0,t.jsx)(l.CardContent,{children:b})]}):b}])},26158,e=>{"use strict";let t=(0,e.i(456420).default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["Laptop",0,t],26158)},675926,e=>{"use strict";var t=e.i(843476),a=e.i(948148),s=e.i(487486),i=e.i(975157);e.s(["StatusBadge",0,function({status:e}){let r=(0,a.useTranslations)("status"),n="ONLINE"===e||"RUNNING"===e||"SUCCEEDED"===e,l="FAILED"===e||"TIMED_OUT"===e;return(0,t.jsx)(s.Badge,{className:(0,i.cn)(n&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",l&&"border-destructive/30 bg-destructive/10 text-destructive"),variant:n||l?"outline":"secondary",children:r(e.toLowerCase())})}])},362806,e=>{"use strict";var t=e.i(843476);function a(e,t){let a=["B","KiB","MiB","GiB","TiB"],s=Math.min(Math.floor(Math.log(Math.max(e,1))/Math.log(1024)),a.length-1);return`${new Intl.NumberFormat(t,{maximumFractionDigits:1}).format(e/1024**s)} ${a[s]}`}e.s(["ResourceUsage",0,function({label:e,total:s,free:i,locale:r,unavailable:n,usedLabel:l,freeLabel:d,compact:c=!1}){if(null==s||null==i||s<=0)return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:n})]});let o=Math.max(0,Math.min(i,s)),u=s-o,m=u/s*100;return(0,t.jsxs)("div",{className:`rounded-lg border ${c?"p-3":"p-4"}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:c?"text-sm font-medium":"font-medium",children:e}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[Math.round(m),"%"]})]}),(0,t.jsx)("div",{className:"mt-2 h-2 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{"aria-label":`${e}: ${Math.round(m)}%`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":Math.round(m),className:"h-full rounded-full bg-primary transition-[width]",role:"progressbar",style:{width:`${m}%`}})}),(0,t.jsxs)("dl",{className:"mt-2 grid grid-cols-2 gap-3 text-xs",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:l}),(0,t.jsx)("dd",{children:a(u,r)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:d}),(0,t.jsx)("dd",{children:a(o,r)})]})]})]})}])},697270,e=>{"use strict";var t=e.i(843476),a=e.i(508734),s=e.i(26158),i=e.i(77071),r=e.i(741120),n=e.i(573474),l=e.i(861745),d=e.i(948148),c=e.i(271645),o=e.i(929592),u=e.i(519455),m=e.i(515288),h=e.i(82612),p=e.i(987968),x=e.i(793479),g=e.i(967489),f=e.i(520133),y=e.i(462777),v=e.i(637611),j=e.i(360583),N=e.i(675926),k=e.i(362806),A=e.i(653269),E=e.i(778434);let C=`query Agents { agents { ${E.AGENT_FIELDS} } }`,I="__custom__";function b(e){return`'${e.replaceAll("'","'\"'\"'")}'`}e.s(["AgentsList",0,function({localServerOrigins:e=[]}){let S=(0,d.useTranslations)("agents"),T=(0,d.useTranslations)("agentDetail"),M=(0,l.useLocale)(),[w,D]=(0,c.useState)([]),[R,_]=(0,c.useState)(!0),[L,O]=(0,c.useState)(null),[B,P]=(0,c.useState)(null),[F,U]=(0,c.useState)(null),[q,G]=(0,c.useState)(""),[$,V]=(0,c.useState)([]),z=(0,c.useCallback)(async()=>{try{let e=await (0,v.controlPlaneRequest)(C);D(e.agents),O(null)}catch(e){O(e instanceof Error?e.message:String(e))}finally{_(!1)}},[]);(0,c.useEffect)(()=>{let e=window.setTimeout(()=>void z(),0),t=(0,v.controlPlaneSubscriptions)().subscribe({query:`subscription { agentChanged { ${E.AGENT_FIELDS} } }`},{next:e=>{let t=e.data?.agentChanged;t&&D(e=>{let a=e.findIndex(e=>e.id===t.id);return -1===a?[t,...e]:e.map((e,s)=>s===a?t:e)})},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[z]);let H=async()=>{try{let e=await (0,v.controlPlaneRequest)("mutation { createAgentEnrollmentToken { token expiresAt } }");P(e.createAgentEnrollmentToken)}catch(e){O(e instanceof Error?e.message:String(e))}},K=async()=>{try{await (0,y.copyText)(Y)}catch{O(S("copyFailed"))}},W=window.location.origin,Q=F===I?q.trim():F??W??"http://127.0.0.1:3090",Y=B?["control-agent enroll",`--server ${b(Q)}`,`--enrollment-token ${B.token}`,...$.filter(e=>e.name.trim()&&e.value).map(e=>`--header ${b(`${e.name.trim()}: ${e.value}`)}`)].join(" "):"",J=[...new Set([W,...e].filter(e=>!!e))];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:S("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:S("description")})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(u.Button,{onClick:()=>void z(),variant:"outline",children:[(0,t.jsx)(r.RefreshCw,{}),S("refresh")]}),(0,t.jsxs)(u.Button,{onClick:()=>void H(),children:[(0,t.jsx)(i.Plus,{}),S("enroll")]})]})]}),B&&(0,t.jsx)(m.Card,{children:(0,t.jsxs)(m.CardContent,{children:[(0,t.jsx)("h2",{className:"font-medium",children:S("enrollmentTitle")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:S("enrollmentDescription")}),(0,t.jsxs)(g.Select,{onValueChange:U,value:F??W??void 0,children:[(0,t.jsx)(g.SelectTrigger,{"aria-label":S("serverAddress"),className:"mt-3 w-full sm:w-auto sm:min-w-72",children:(0,t.jsx)(g.SelectValue,{placeholder:S("serverAddress")})}),(0,t.jsxs)(g.SelectContent,{align:"start",children:[J.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:e},e)),(0,t.jsx)(g.SelectItem,{value:I,children:S("customServerAddress")})]})]}),F===I&&(0,t.jsx)(x.Input,{"aria-label":S("customServerAddress"),className:"mt-2 w-full sm:max-w-md",onChange:e=>G(e.target.value),placeholder:S("customServerAddress"),type:"url",value:q}),(0,t.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:S("headers")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:S("headersDescription")})]}),(0,t.jsxs)(u.Button,{onClick:()=>V(e=>[...e,{id:crypto.randomUUID(),name:"",value:""}]),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(i.Plus,{})," ",S("addHeader")]})]}),$.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(x.Input,{"aria-label":S("headerName"),onChange:t=>V(a=>a.map(a=>a.id===e.id?{...a,name:t.target.value}:a)),placeholder:S("headerName"),value:e.name}),(0,t.jsx)(x.Input,{"aria-label":S("headerValue"),onChange:t=>V(a=>a.map(a=>a.id===e.id?{...a,value:t.target.value}:a)),placeholder:S("headerValue"),value:e.value}),(0,t.jsx)(u.Button,{"aria-label":S("removeHeader",{name:e.name||S("header")}),onClick:()=>V(t=>t.filter(t=>t.id!==e.id)),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(n.Trash2,{})})]},e.id))]}),(0,t.jsxs)("div",{className:"mt-3 flex items-start gap-2 rounded-lg bg-muted p-3",children:[(0,t.jsx)("code",{className:"min-w-0 flex-1 break-all text-xs",children:Y}),(0,t.jsx)(u.Button,{"aria-label":S("copy"),disabled:!Q,onClick:()=>void K(),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(a.Copy,{})})]}),(0,t.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:S("expires",{date:(0,j.formatDateValue)(B.expiresAt,"short",{locale:M})})})]})}),L&&(0,t.jsx)(o.Alert,{variant:"destructive",children:(0,t.jsx)(o.AlertDescription,{children:L})}),R?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(p.Spinner,{}),S("loading")]}):0===w.length?(0,t.jsx)(h.Empty,{className:"border py-10",children:(0,t.jsxs)(h.EmptyHeader,{children:[(0,t.jsx)(h.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.Laptop,{})}),(0,t.jsx)(h.EmptyTitle,{children:S("emptyTitle")}),(0,t.jsx)(h.EmptyDescription,{children:S("emptyDescription")})]})}):(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:w.map(e=>(0,t.jsx)(m.Card,{className:"relative h-full transition-colors hover:bg-muted/20 focus-within:ring-2 focus-within:ring-ring/50",children:(0,t.jsxs)(m.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)(f.Link,{className:"truncate font-medium outline-none after:absolute after:inset-0 after:rounded-[inherit]",href:`/agents/${e.id}`,children:(0,t.jsx)("h2",{children:e.name})}),(0,t.jsx)("p",{className:"truncate text-sm text-muted-foreground",children:e.hostname})]}),(0,t.jsx)(N.StatusBadge,{status:e.connectionStatus})]}),(0,t.jsxs)("dl",{className:"grid grid-cols-2 gap-2 text-xs text-muted-foreground",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{children:S("version")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.version})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{children:S("platform")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.cpuModel??e.architecture})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)("dt",{children:S("lastSeen")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.lastSeenAt?(0,j.formatDateValue)(e.lastSeenAt,"short",{locale:M}):S("never")})]})]}),(0,t.jsx)(k.ResourceUsage,{compact:!0,free:e.diskFreeBytes,label:T("disk"),locale:M,total:e.diskTotalBytes,unavailable:T("unavailable"),usedLabel:T("used"),freeLabel:T("free")}),(0,t.jsx)("div",{className:"relative z-10 empty:hidden",children:(0,t.jsx)(A.CommandQuickActions,{agentCapabilities:e.capabilities,agentId:e.id})})]})},e.id))})]})},"shellQuote",0,b])}]);
|
|
19
|
+
`;e.s(["COMMAND_DEFINITION_FIELDS",0,t,"COMMAND_RUN_FIELDS",0,a,"activeCommandRun",0,e=>["QUEUED","RUNNING","RESTARTING","CANCELLING"].includes(e),"commandOriginKey",0,e=>{switch(e){case"QUICK_ACTION":return"originQuickAction";case"WORKFLOW":return"originWorkflow";case"RERUN":return"originRerun";default:return"originManual"}},"commandRestartKey",0,e=>{switch(e){case"ON_FAILURE":return"onFailure";case"ALWAYS":return"always";default:return"never"}},"commandStatusKey",0,e=>{switch(e){case"QUEUED":return"statusQueued";case"RUNNING":return"statusRunning";case"RESTARTING":return"statusRestarting";case"CANCELLING":return"statusCancelling";case"SUCCEEDED":return"statusSucceeded";case"FAILED":return"statusFailed";case"CANCELLED":return"statusCancelled";case"TIMED_OUT":return"statusTimedOut";default:return"status"}},"commandTargetKey",0,e=>{switch(e){case"ANY_AGENT_HOME":return"anyAgentHome";case"SPECIFIC_AGENT_HOME":return"specificAgentHome";case"REPOSITORY_WORKTREE":return"repositoryWorktree";default:return"anyWorktree"}}])},653269,e=>{"use strict";var t=e.i(843476),a=e.i(948148),s=e.i(271645),i=e.i(687862),r=e.i(929592),n=e.i(519455),l=e.i(515288),d=e.i(987968),c=e.i(520133),o=e.i(637611),u=e.i(183691);e.s(["CommandQuickActions",0,function({agentId:e,worktreeId:m,agentCapabilities:h,title:p,description:x}){let g=(0,a.useTranslations)("commands"),[f,y]=(0,s.useState)([]),[v,j]=(0,s.useState)(null),[N,k]=(0,s.useState)({}),[A,E]=(0,s.useState)(null),C=h.includes("command.run");(0,s.useEffect)(()=>{let t=e?`query AgentCommandQuickActions($id: ID!) { eligibleCommandsForAgent(agentId: $id) { ${u.COMMAND_DEFINITION_FIELDS} } }`:`query WorktreeCommandQuickActions($id: ID!) { eligibleCommandsForWorktree(worktreeId: $id) { ${u.COMMAND_DEFINITION_FIELDS} } }`;Promise.resolve((0,o.controlPlaneRequest)(t,{id:e??m})).then(e=>{e&&y((e.eligibleCommandsForAgent??e.eligibleCommandsForWorktree??[]).filter(e=>e.quickActionEnabled))}).catch(e=>E(e instanceof Error?e.message:String(e)))},[e,m]);let I=async t=>{j(t.id);try{let a=await (0,o.controlPlaneRequest)("mutation RunCommandQuickAction($input: StartCommandRunInput!) { startCommandRun(input: $input) { id } }",{input:{commandId:t.id,origin:"QUICK_ACTION",...e?{agentId:e}:{worktreeId:m}}});k(e=>({...e,[t.id]:a.startCommandRun.id})),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}finally{j(null)}};if(!f.length&&!A)return null;let b=(0,t.jsxs)("div",{className:"w-full space-y-2",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[f.map(e=>{let a=N[e.id];return(0,t.jsxs)("div",{className:"flex",children:[a&&(0,t.jsx)(n.Button,{asChild:!0,className:"rounded-r-none",size:"sm",variant:"outline",children:(0,t.jsxs)(c.Link,{href:`/commands/runs/${a}`,children:[(0,t.jsx)(d.Spinner,{}),g("view")]})}),(0,t.jsxs)(n.Button,{className:a?"-ml-px rounded-l-none":void 0,disabled:!C||null!==v,onClick:t=>{t.preventDefault(),t.stopPropagation(),I(e)},size:"sm",title:C?e.description||e.name:g("upgradeAgentTitle"),variant:["default","outline","secondary","destructive"].includes(e.quickActionButtonVariant)?e.quickActionButtonVariant:"default",children:[v===e.id?(0,t.jsx)(d.Spinner,{}):(0,t.jsx)(i.ConfigurationIcon,{iconKey:e.quickActionIconKey})," ",e.name]})]},e.id)}),!C&&f.length>0&&(0,t.jsx)("span",{className:"self-center text-xs text-muted-foreground",children:g("upgradeAgent")})]}),A&&(0,t.jsx)(r.Alert,{variant:"destructive",children:(0,t.jsx)(r.AlertDescription,{children:A})})]});return p?(0,t.jsxs)(l.Card,{children:[(0,t.jsxs)(l.CardHeader,{children:[(0,t.jsx)(l.CardTitle,{children:p}),x&&(0,t.jsx)(l.CardDescription,{children:x})]}),(0,t.jsx)(l.CardContent,{children:b})]}):b}])},26158,e=>{"use strict";let t=(0,e.i(456420).default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["Laptop",0,t],26158)},675926,e=>{"use strict";var t=e.i(843476),a=e.i(948148),s=e.i(487486),i=e.i(975157);e.s(["StatusBadge",0,function({status:e}){let r=(0,a.useTranslations)("status"),n="ONLINE"===e||"RUNNING"===e||"SUCCEEDED"===e,l="FAILED"===e||"TIMED_OUT"===e;return(0,t.jsx)(s.Badge,{className:(0,i.cn)(n&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",l&&"border-destructive/30 bg-destructive/10 text-destructive"),variant:n||l?"outline":"secondary",children:r(e.toLowerCase())})}])},362806,e=>{"use strict";var t=e.i(843476);function a(e,t){let a=["B","KiB","MiB","GiB","TiB"],s=Math.min(Math.floor(Math.log(Math.max(e,1))/Math.log(1024)),a.length-1);return`${new Intl.NumberFormat(t,{maximumFractionDigits:1}).format(e/1024**s)} ${a[s]}`}e.s(["ResourceUsage",0,function({label:e,total:s,free:i,locale:r,unavailable:n,usedLabel:l,freeLabel:d,compact:c=!1}){if(null==s||null==i||s<=0)return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:n})]});let o=Math.max(0,Math.min(i,s)),u=s-o,m=u/s*100;return(0,t.jsxs)("div",{className:`rounded-lg border ${c?"p-3":"p-4"}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:c?"text-sm font-medium":"font-medium",children:e}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[Math.round(m),"%"]})]}),(0,t.jsx)("div",{className:"mt-2 h-2 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{"aria-label":`${e}: ${Math.round(m)}%`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":Math.round(m),className:"h-full rounded-full bg-primary transition-[width]",role:"progressbar",style:{width:`${m}%`}})}),(0,t.jsxs)("dl",{className:"mt-2 grid grid-cols-2 gap-3 text-xs",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:l}),(0,t.jsx)("dd",{children:a(u,r)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:d}),(0,t.jsx)("dd",{children:a(o,r)})]})]})]})}])},697270,e=>{"use strict";var t=e.i(843476),a=e.i(508734),s=e.i(26158),i=e.i(77071),r=e.i(741120),n=e.i(573474),l=e.i(861745),d=e.i(948148),c=e.i(271645),o=e.i(929592),u=e.i(519455),m=e.i(515288),h=e.i(82612),p=e.i(987968),x=e.i(793479),g=e.i(967489),f=e.i(520133),y=e.i(462777),v=e.i(637611),j=e.i(360583),N=e.i(675926),k=e.i(362806),A=e.i(653269),E=e.i(778434);let C=`query Agents { agents { ${E.AGENT_FIELDS} } }`,I="__custom__";function b(e){return`'${e.replaceAll("'","'\"'\"'")}'`}e.s(["AgentsList",0,function({localServerOrigins:e=[]}){let S=(0,d.useTranslations)("agents"),T=(0,d.useTranslations)("agentDetail"),M=(0,l.useLocale)(),[w,D]=(0,c.useState)([]),[R,_]=(0,c.useState)(!0),[L,O]=(0,c.useState)(null),[B,P]=(0,c.useState)(null),[F,U]=(0,c.useState)(null),[q,G]=(0,c.useState)(""),[$,z]=(0,c.useState)([]),V=(0,c.useCallback)(async()=>{try{let e=await (0,v.controlPlaneRequest)(C);D(e.agents),O(null)}catch(e){O(e instanceof Error?e.message:String(e))}finally{_(!1)}},[]);(0,c.useEffect)(()=>{let e=window.setTimeout(()=>void V(),0),t=(0,v.controlPlaneSubscriptions)().subscribe({query:`subscription { agentChanged { ${E.AGENT_FIELDS} } }`},{next:e=>{let t=e.data?.agentChanged;t&&D(e=>{let a=e.findIndex(e=>e.id===t.id);return -1===a?[t,...e]:e.map((e,s)=>s===a?t:e)})},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[V]);let H=async()=>{try{let e=await (0,v.controlPlaneRequest)("mutation { createAgentEnrollmentToken { token expiresAt } }");P(e.createAgentEnrollmentToken)}catch(e){O(e instanceof Error?e.message:String(e))}},K=async()=>{try{await (0,y.copyText)(Y)}catch{O(S("copyFailed"))}},W=window.location.origin,Q=F===I?q.trim():F??W??"http://127.0.0.1:3090",Y=B?["control-agent enroll",`--server ${b(Q)}`,`--enrollment-token ${B.token}`,...$.filter(e=>e.name.trim()&&e.value).map(e=>`--header ${b(`${e.name.trim()}: ${e.value}`)}`)].join(" "):"",J=[...new Set([W,...e].filter(e=>!!e))];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:S("title")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:S("description")})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(u.Button,{onClick:()=>void V(),variant:"outline",children:[(0,t.jsx)(r.RefreshCw,{}),S("refresh")]}),(0,t.jsxs)(u.Button,{onClick:()=>void H(),children:[(0,t.jsx)(i.Plus,{}),S("enroll")]})]})]}),B&&(0,t.jsx)(m.Card,{children:(0,t.jsxs)(m.CardContent,{children:[(0,t.jsx)("h2",{className:"font-medium",children:S("enrollmentTitle")}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:S("enrollmentDescription")}),(0,t.jsxs)(g.Select,{onValueChange:U,value:F??W??void 0,children:[(0,t.jsx)(g.SelectTrigger,{"aria-label":S("serverAddress"),className:"mt-3 w-full sm:w-auto sm:min-w-72",children:(0,t.jsx)(g.SelectValue,{placeholder:S("serverAddress")})}),(0,t.jsxs)(g.SelectContent,{align:"start",children:[J.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:e},e)),(0,t.jsx)(g.SelectItem,{value:I,children:S("customServerAddress")})]})]}),F===I&&(0,t.jsx)(x.Input,{"aria-label":S("customServerAddress"),className:"mt-2 w-full sm:max-w-md",onChange:e=>G(e.target.value),placeholder:S("customServerAddress"),type:"url",value:q}),(0,t.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:S("headers")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:S("headersDescription")})]}),(0,t.jsxs)(u.Button,{onClick:()=>z(e=>[...e,{id:crypto.randomUUID(),name:"",value:""}]),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(i.Plus,{})," ",S("addHeader")]})]}),$.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(x.Input,{"aria-label":S("headerName"),onChange:t=>z(a=>a.map(a=>a.id===e.id?{...a,name:t.target.value}:a)),placeholder:S("headerName"),value:e.name}),(0,t.jsx)(x.Input,{"aria-label":S("headerValue"),onChange:t=>z(a=>a.map(a=>a.id===e.id?{...a,value:t.target.value}:a)),placeholder:S("headerValue"),value:e.value}),(0,t.jsx)(u.Button,{"aria-label":S("removeHeader",{name:e.name||S("header")}),onClick:()=>z(t=>t.filter(t=>t.id!==e.id)),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(n.Trash2,{})})]},e.id))]}),(0,t.jsxs)("div",{className:"mt-3 flex items-start gap-2 rounded-lg bg-muted p-3",children:[(0,t.jsx)("code",{className:"min-w-0 flex-1 break-all text-xs",children:Y}),(0,t.jsx)(u.Button,{"aria-label":S("copy"),disabled:!Q,onClick:()=>void K(),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(a.Copy,{})})]}),(0,t.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:S("expires",{date:(0,j.formatDateValue)(B.expiresAt,"short",{locale:M})})})]})}),L&&(0,t.jsx)(o.Alert,{variant:"destructive",children:(0,t.jsx)(o.AlertDescription,{children:L})}),R?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(p.Spinner,{}),S("loading")]}):0===w.length?(0,t.jsx)(h.Empty,{className:"border py-10",children:(0,t.jsxs)(h.EmptyHeader,{children:[(0,t.jsx)(h.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.Laptop,{})}),(0,t.jsx)(h.EmptyTitle,{children:S("emptyTitle")}),(0,t.jsx)(h.EmptyDescription,{children:S("emptyDescription")})]})}):(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:w.map(e=>(0,t.jsx)(m.Card,{className:"relative h-full transition-colors hover:bg-muted/20 focus-within:ring-2 focus-within:ring-ring/50",children:(0,t.jsxs)(m.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)(f.Link,{className:"truncate font-medium outline-none after:absolute after:inset-0 after:rounded-[inherit]",href:`/agents/${e.id}`,children:(0,t.jsx)("h2",{children:e.name})}),(0,t.jsx)("p",{className:"truncate text-sm text-muted-foreground",children:e.hostname})]}),(0,t.jsx)(N.StatusBadge,{status:e.connectionStatus})]}),(0,t.jsxs)("dl",{className:"grid grid-cols-2 gap-2 text-xs text-muted-foreground",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{children:S("version")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.version})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{children:S("platform")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.cpuModel??e.architecture})]}),(0,t.jsxs)("div",{className:"col-span-2",children:[(0,t.jsx)("dt",{children:S("lastSeen")}),(0,t.jsx)("dd",{className:"text-foreground",children:e.lastSeenAt?(0,j.formatDateValue)(e.lastSeenAt,"short",{locale:M}):S("never")})]})]}),(0,t.jsx)(k.ResourceUsage,{compact:!0,free:e.diskFreeBytes,label:T("disk"),locale:M,total:e.diskTotalBytes,unavailable:T("unavailable"),usedLabel:T("used"),freeLabel:T("free")}),(0,t.jsx)("div",{className:"relative z-10 empty:hidden",children:(0,t.jsx)(A.CommandQuickActions,{agentCapabilities:e.capabilities,agentId:e.id})})]})},e.id))})]})},"shellQuote",0,b])}]);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)},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)},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)},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=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,n.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,n.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,n.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...a}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,n.cn)(i({variant:r,className:e})),...a})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,n.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},563707,e=>{"use strict";let t=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,t],563707)},983913,e=>{"use strict";var t=e.i(843476),r=e.i(563707),n=e.i(271645),i=e.i(519455),a=e.i(317056),o=e.i(906197),s=e.i(337822),l=e.i(975157);e.s(["SearchableSelect",0,function({value:e,onValueChange:d,options:c,placeholder:u,searchPlaceholder:p,emptyMessage:m,ariaLabel:h,disabled:f,className:g,showSelectedDetails:v=!1,allowCustomValue:b=!1}){let[x,y]=(0,n.useState)(!1),[w,j]=(0,n.useState)(""),k=(0,n.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),S=c.find(t=>t.value===e),C=S?.label??(e||u),P=w.trim(),T=b&&P.length>0&&!c.some(e=>e.value.toLowerCase()===P.toLowerCase()||e.label.toLowerCase()===P.toLowerCase());return(0,t.jsxs)(s.Popover,{onOpenChange:e=>{y(e),e||j("")},open:x,children:[(0,t.jsx)(s.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{"aria-expanded":x,"aria-label":h,className:(0,l.cn)("min-w-0 w-full justify-between font-normal",v&&S&&"h-auto min-h-8 py-2",g),disabled:f,role:"combobox",type:"button",variant:"outline",children:[v&&S?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:S.label}),S.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:S.description}),S.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:S.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:C}),(0,t.jsx)(r.ChevronsUpDown,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(s.PopoverContent,{ref:k,align:"start",className:"z-70 max-h-[min(24rem,var(--radix-popover-content-available-height))] w-(--radix-popover-trigger-width) overflow-hidden p-0",children:(0,t.jsxs)(a.Command,{className:"min-h-0",label:p,children:[(0,t.jsx)(a.CommandInput,{"aria-label":p,autoFocus:!0,onValueChange:j,placeholder:p,value:w}),(0,t.jsxs)(a.CommandList,{className:"min-h-0 flex-1 max-h-64 overscroll-contain [scrollbar-width:thin] [&::-webkit-scrollbar]:block [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border",children:[(0,t.jsx)(a.CommandEmpty,{children:m}),(0,t.jsxs)(a.CommandGroup,{children:[T&&(0,t.jsx)(a.CommandItem,{"aria-label":P,onSelect:()=>{d(P),j(""),y(!1)},value:P,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsx)(o.ItemContent,{className:"min-w-0",children:(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:P})})})}),c.map(r=>(0,t.jsx)(a.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{d(r.value),j(""),y(!1)},value:r.value,children:(0,t.jsx)(o.Item,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{className:"min-w-0",children:[(0,t.jsx)(o.ItemTitle,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(o.ItemDescription,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))]})]})]})})]})}])},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},808562,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(30030),i=e.i(248425),a=e.i(842727),o=e.i(981140),s=e.i(369340),l=Object.defineProperty,d=r.forwardRef(l(function(e,r){let{pressed:n,defaultPressed:a,onPressedChange:l,...d}=e,[c,u]=(0,s.useControllableState)({prop:n,onChange:l,defaultProp:a??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:r,onClick:(0,o.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0})),c=e.i(586318),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="ToggleGroup",[h,f]=(0,n.createContextScope)(m,[a.createRovingFocusGroupScope]),g=(0,a.createRovingFocusGroupScope)(),v=r.forwardRef(p(function(e,r){let{type:n,...i}=e;if("single"===n)return(0,t.jsx)(y,{role:"radiogroup",...i,ref:r});if("multiple"===n)return(0,t.jsx)(w,{role:"toolbar",...i,ref:r});throw Error(`Missing prop \`type\` expected on \`${m}\``)},"ToggleGroup")),[b,x]=h(m),y=r.forwardRef(p(function(e,n){let{value:i,defaultValue:a,onValueChange:o=p(()=>{},"onValueChange"),...l}=e,[d,c]=(0,s.useControllableState)({prop:i,defaultProp:a??"",onChange:o,caller:m});return(0,t.jsx)(b,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:r.useCallback(()=>c(""),[c]),children:(0,t.jsx)(S,{...l,ref:n})})},"ToggleGroupImplSingle")),w=r.forwardRef(p(function(e,n){let{value:i,defaultValue:a,onValueChange:o=p(()=>{},"onValueChange"),...l}=e,[d,c]=(0,s.useControllableState)({prop:i,defaultProp:a??[],onChange:o,caller:m}),u=r.useCallback(e=>c((t=[])=>[...t,e]),[c]),h=r.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(b,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:u,onItemDeactivate:h,children:(0,t.jsx)(S,{...l,ref:n})})},"ToggleGroupImplMultiple")),[j,k]=h(m),S=r.forwardRef(p(function(e,r){let{__scopeToggleGroup:n,disabled:o=!1,rovingFocus:s=!0,orientation:l,dir:d,loop:u=!0,...p}=e,m=g(n),h=(0,c.useDirection)(d),f={dir:h,...p};return(0,t.jsx)(j,{scope:n,rovingFocus:s,disabled:o,children:s?(0,t.jsx)(a.Root,{asChild:!0,...m,orientation:l,dir:h,loop:u,children:(0,t.jsx)(i.Primitive.div,{...f,ref:r})}):(0,t.jsx)(i.Primitive.div,{...f,ref:r})})},"ToggleGroupImpl")),C="ToggleGroupItem",P=r.forwardRef(p(function(e,n){let i=x(C,e.__scopeToggleGroup),o=k(C,e.__scopeToggleGroup),s=g(e.__scopeToggleGroup),l=i.value.includes(e.value),d=o.disabled||e.disabled,c={...e,pressed:l,disabled:d},u=r.useRef(null);return o.rovingFocus?(0,t.jsx)(a.Item,{asChild:!0,...s,focusable:!d,active:l,ref:u,children:(0,t.jsx)(T,{...c,ref:n})}):(0,t.jsx)(T,{...c,ref:n})},"ToggleGroupItem")),T=r.forwardRef(p(function(e,r){let{__scopeToggleGroup:n,value:i,...a}=e,o=x(C,n),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===o.type?s:void 0;return(0,t.jsx)(d,{...l,...a,ref:r,onPressedChange:e=>{e?o.onItemActivate(i):o.onItemDeactivate(i)}})},"ToggleGroupItemImpl"));e.s(["Item",0,P,"Root",0,v,"ToggleGroup",0,v,"ToggleGroupItem",0,P,"createToggleGroupScope",0,f],459881);var A=e.i(459881),A=A,N=e.i(975157),E=e.i(225913),R=Object.defineProperty,I=r.forwardRef(R(function(e,r){let{pressed:n,defaultPressed:a,onPressedChange:l,...d}=e,[c,u]=(0,s.useControllableState)({prop:n,onChange:l,defaultProp:a??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:r,onClick:(0,o.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0}));e.s(["Root",0,I,"Toggle",0,I],864225),e.i(864225);let M=(0,E.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),D=r.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:r,size:n,spacing:i=2,orientation:a="horizontal",children:o,...s}){return(0,t.jsx)(A.Root,{"data-slot":"toggle-group","data-variant":r,"data-size":n,"data-spacing":i,"data-orientation":a,style:{"--gap":i},className:(0,N.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...s,children:(0,t.jsx)(D.Provider,{value:{variant:r,size:n,spacing:i,orientation:a},children:o})})},"ToggleGroupItem",0,function({className:e,children:n,variant:i="default",size:a="default",...o}){let s=r.useContext(D);return(0,t.jsx)(A.Item,{"data-slot":"toggle-group-item","data-variant":s.variant||i,"data-size":s.size||a,"data-spacing":s.spacing,className:(0,N.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",M({variant:s.variant||i,size:s.size||a}),e),...o,children:n})}],808562)},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)},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),n=e.i(456420);let i=(0,n.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 a=e.i(876561);let o=(0,n.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"}]]),s=(0,n.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"}]]),l=(0,n.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,n.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,n.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,n.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 f=(0,n.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 g=e.i(584026),v=e.i(986206),b=e.i(328623),x=e.i(604139);let y=(0,n.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var w=e.i(747925);let j={apple:r.Apple,"app-window":i,archive:a.Archive,beaker:o,box:s,bug:l,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:m,play:h.Play,rocket:f,shield:g.ShieldCheck,smartphone:v.Smartphone,sparkles:b.Sparkles,terminal:x.Terminal,"test-tube":y,wrench:w.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let r=j[e];return r?(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4"}):null}],687862)},266136,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),i=e.i(687862),a=e.i(487486),o=e.i(257428),s=e.i(987968),l=e.i(637611),d=e.i(975157);let c="id name description iconKey enabledForPlans enabledForSessions toolNames createdAt updatedAt";async function u(e){return(await (0,l.controlPlaneRequest)(`query McpToolPresets($kind: RunKind) {
|
|
2
|
+
mcpToolPresets(kind: $kind) { ${c} }
|
|
3
|
+
}`,{kind:e??null})).mcpToolPresets??[]}e.s(["MCP_PRESET_FIELDS",0,c,"McpPresetPicker",0,function({kind:e,selectedIds:l,onChange:c,disabled:p=!1,showAvailability:m=null==e,className:h}){let f=(0,r.useTranslations)("mcpPresets"),[g,v]=(0,n.useState)([]),[b,x]=(0,n.useState)(!0),[y,w]=(0,n.useState)(null);if((0,n.useEffect)(()=>{let t=!1,r=window.setTimeout(()=>{x(!0),u(e).then(e=>{t||(v(e),w(null))}).catch(e=>{t||w(e instanceof Error?e.message:String(e))}).finally(()=>{t||x(!1)})},0);return()=>{t=!0,window.clearTimeout(r)}},[e]),b&&!g.length)return(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(s.Spinner,{})," ",f("loading")]});if(y)return(0,t.jsx)("p",{className:"text-sm text-destructive",children:y});if(!g.length)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:f("noneAvailable")});let j=new Set(l);return(0,t.jsx)("div",{className:(0,d.cn)("grid gap-2 md:grid-cols-2",h),children:g.map(e=>(0,t.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 rounded-lg border p-3 has-disabled:cursor-not-allowed has-aria-checked:border-primary/50",children:[(0,t.jsx)(o.Checkbox,{checked:j.has(e.id),disabled:p,onCheckedChange:t=>c(t?[...l,e.id]:l.filter(t=>t!==e.id))}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(i.ConfigurationIcon,{iconKey:e.iconKey}),(0,t.jsx)("span",{className:"truncate",children:e.name})]}),e.description&&(0,t.jsx)("span",{className:"mt-1 block text-xs text-muted-foreground",children:e.description}),m&&(0,t.jsxs)("span",{className:"mt-2 flex flex-wrap gap-1",children:[e.enabledForPlans&&(0,t.jsx)(a.Badge,{variant:"outline",children:f("plans")}),e.enabledForSessions&&(0,t.jsx)(a.Badge,{variant:"outline",children:f("sessions")}),!e.enabledForPlans&&!e.enabledForSessions&&(0,t.jsx)(a.Badge,{variant:"secondary",children:f("directOnly")})]})]})]},e.id))})},"loadMcpToolPresets",0,u])},633785,555291,e=>{"use strict";var t,r,n,i=e.i(843476),a=e.i(397142),o=e.i(975157);let s=["low","medium","high","xhigh","max","ultra"],l=["#38bdf8","#818cf8","#a78bfa","#e879f9","#fb7185","#fb923c"];e.s(["EffortIcon",0,function({className:e,effort:t,efforts:r}){let n=t?.toLowerCase()??"auto",d=(r??s).map(e=>e.toLowerCase()).filter(e=>"auto"!==e),c=d.indexOf(n)+1;if(!c)return(0,i.jsx)(a.Cpu,{"aria-hidden":"true",className:(0,o.cn)("h-4 w-5 shrink-0",e)});let u=d.length-1,p=Math.min(5,(17-u)/d.length),m=(20-(d.length*p+ +u))/2,h=Math.max(2.5,12.5/(d.length+1));return(0,i.jsx)("svg",{"aria-hidden":"true",className:(0,o.cn)("h-4 w-5 shrink-0",e),viewBox:"0 0 20 16",xmlns:"http://www.w3.org/2000/svg",children:d.map((e,t)=>{let r=u?h+(12.5-h)*t/u:12.5,a=t<c;return(0,i.jsx)("rect",{fill:a&&"ultra"===n?l[Math.round(t/(u||1)*(l.length-1))]:"currentColor",height:r,opacity:a?1:.25,rx:.6,width:p,x:m+t*(p+1),y:14-r},e)})})}],633785);var d=e.i(271645);function c(){return(c=Object.assign.bind()).apply(null,arguments)}function u(){return(u=Object.assign.bind()).apply(null,arguments)}function p(){return(p=Object.assign.bind()).apply(null,arguments)}let m={CODEX:function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),r||(r=d.createElement("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.8.8 0 0 0-.856 0zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.43.43 0 0 1 .476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142a.45.45 0 0 1-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.48 4.48 0 0 1 4.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.43.43 0 0 1-.476 0m-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71a.79.79 0 0 0 .856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523m5.899 2.83a5.95 5.95 0 0 0 5.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947a5.7 5.7 0 0 0-1.88.31A5.96 5.96 0 0 0 10.205 0a5.95 5.95 0 0 0-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 0 0 4.162 1.713z"})))},CLAUDE:function(e){return d.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),t||(t=d.createElement("path",{d:"M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0v-3.1h3V5h17.998zM6 10.949h1.488V8.102H6zm10.51 0H18V8.102h-1.49z",clipRule:"evenodd"})))},OPENCODE:function(e){return d.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24"},e),n||(n=d.createElement("path",{d:"M16 6H8v12h8zm4 16H4V2h16z"})))}};e.s(["ProviderIcon",0,function({className:e,provider:t}){let r=m[t];return r?(0,i.jsx)(r,{"aria-hidden":"true",className:(0,o.cn)("size-4 shrink-0",e)}):null}],555291)},814760,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(563707),i=e.i(456420);let a=(0,i.default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]),o=(0,i.default)("pin-off",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);var s=e.i(948148),l=e.i(519455),d=e.i(317056),c=e.i(337822),u=e.i(746798),p=e.i(767648),m=e.i(975157),h=e.i(633785);let f="aide.model-presets.v1",g="aide:model-presets";function v({provider:e,model:t,effort:r}){return`${e}\u0000${t}\u0000${r}`}function b(e,t){return v(e)===v(t)}function x(){try{let e=window.localStorage.getItem(f)??"",t=window.localStorage.getItem("aide.favorite-models.v1")??"";return`${e}\u0000${t}`}catch{return"\0"}}function y(e){return window.addEventListener("storage",e),window.addEventListener(g,e),()=>{window.removeEventListener("storage",e),window.removeEventListener(g,e)}}function w(e){try{return e?JSON.parse(e):null}catch{return null}}function j(e){return Array.isArray(e)?e.flatMap(e=>{if(!e||"object"!=typeof e)return[];let{provider:t,model:r,effort:n}=e;return"string"!=typeof t||"string"!=typeof r?[]:[{provider:t,model:r,effort:"string"==typeof n?n:"auto"}]}):[]}function k(e){try{window.localStorage.setItem(f,JSON.stringify(e)),window.dispatchEvent(new Event(g))}catch{}}var S=e.i(555291);let C=["CODEX","CLAUDE","OPENCODE"];function P({label:e}){let{name:r,qualifier:n}=(0,p.splitModelLabel)(e);return(0,t.jsxs)(t.Fragment,{children:[r,n&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:n})]})]})}let T="data-[checked=true]:ring-1 data-[checked=true]:ring-inset data-[checked=true]:ring-primary/40";e.s(["ModelEffortPicker",0,function({catalog:e,provider:i,model:p,effort:f,onProviderChange:g,onModelChange:A,onEffortChange:N,isProviderDisabled:E,fullWidth:R}){let I,M,D,z=(0,s.useTranslations)("runs"),{rail:L,pinned:H,recent:O,isPinned:W,togglePin:B,remember:G}=(I=function(e){var t;let[r="",n=""]=e.split("\0"),i=w(r);if(i&&"object"==typeof i){let{pinned:e,recent:t}=i;return{pinned:j(e),recent:j(t)}}return{pinned:!(t=w(n))||"object"!=typeof t||Array.isArray(t)?[]:Object.entries(t).flatMap(([e,t])=>Array.isArray(t)?t.filter(e=>"string"==typeof e).map(t=>({provider:e,model:t,effort:"auto"})):[]),recent:[]}}((0,r.useSyncExternalStore)(y,x,()=>"\0")),M=e=>I.pinned.some(t=>b(t,e)),D=I.recent.filter(e=>!M(e)),{isPinned:M,pinned:I.pinned,recent:D,rail:[...I.pinned,...D],togglePin:e=>k({pinned:M(e)?I.pinned.filter(t=>!b(t,e)):[...I.pinned,e],recent:I.recent.filter(t=>!b(t,e))}),remember:e=>{M(e)||k({pinned:I.pinned,recent:[e,...I.recent.filter(t=>!b(t,e))].slice(0,6)})}}),[_,V]=(0,r.useState)(!1),q=[...e].sort((e,t)=>{let r=C.indexOf(e.key),n=C.indexOf(t.key);return(r<0?C.length:r)-(n<0?C.length:n)}),F=e=>!e.available||!!E?.(e),$=q.find(({key:e})=>e===i),U=$?.models.find(({id:e})=>e===p),J=U?{provider:i,model:p,effort:f}:null,K=U?.efforts.length?U.efforts:["auto"],X=e=>e.flatMap(e=>{let t=q.find(({key:t})=>t===e.provider),r=t?.models.find(({id:t})=>t===e.model);return!t||!r||F(t)?[]:[{preset:e,entry:t,model:r}]}),Y=X(L).filter(({preset:e})=>!J||!b(e,J)),Q=X(H),Z=X(O).slice(0,5),ee=e=>{e.provider!==i&&g(e.provider),A(e.model),N(e.effort),G(e)},et=e=>{ee(e),V(!1)},er=({preset:e,entry:r,model:n})=>(0,t.jsxs)(d.CommandItem,{className:T,"data-checked":!!(J&&b(e,J)),onSelect:()=>et(e),value:`${r.label} ${n.label} ${n.id} ${e.effort}`,children:[(0,t.jsx)(S.ProviderIcon,{provider:r.key}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:(0,t.jsx)(P,{label:n.label})}),(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-muted-foreground","data-slot":"command-shortcut",children:[(0,t.jsx)(h.EffortIcon,{effort:e.effort,efforts:n.efforts}),(0,t.jsx)("span",{className:"text-xs",children:e.effort})]})]},v(e)),en=Y.slice(0,6),{railRef:ei,visible:ea}=function(e){let t=(0,r.useRef)(null),[n,i]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=t.current;if(!e)return;let r=()=>{let[t,...r]=[...e.children];if(!t)return;let n=Number.parseFloat(getComputedStyle(e).columnGap)||0,a=t.offsetWidth,o=0;for(let t of r){let r=a+n+t.offsetWidth;if(r>e.clientWidth)break;a=r,o+=1}i(o)},n="u"<typeof ResizeObserver?null:new ResizeObserver(r);if(n?.observe(e),n)for(let t of e.children)n.observe(t);return window.addEventListener("resize",r),r(),()=>{n?.disconnect(),window.removeEventListener("resize",r)}},[e]),{railRef:t,visible:n}}([J&&v(J),...en.map(({preset:e})=>v(e))].join("|"));return(0,t.jsxs)("div",{className:(0,m.cn)("flex items-center gap-2 overflow-hidden",R&&"w-full"),ref:ei,children:[(0,t.jsxs)(c.Popover,{onOpenChange:V,open:_,children:[(0,t.jsx)(c.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(l.Button,{className:(0,m.cn)("h-8 min-w-0 font-normal",R?"w-full justify-between":"max-w-full shrink-0"),type:"button",variant:"outline",children:[(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-2",children:$&&U?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.ProviderIcon,{provider:$.key}),(0,t.jsx)("span",{className:"max-w-48 truncate",children:(0,t.jsx)(P,{label:U.label})}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,t.jsx)(h.EffortIcon,{effort:f,efforts:U.efforts}),(0,t.jsx)("span",{className:"text-muted-foreground",children:f})]}):(0,t.jsx)("span",{className:"text-muted-foreground",children:z("chooseModel")})}),(0,t.jsx)(n.ChevronsUpDown,{className:"text-muted-foreground"})]})}),(0,t.jsxs)(c.PopoverContent,{align:"start",className:"w-max max-w-[min(32rem,calc(100vw-2rem))] gap-0 p-0",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"h-0 overflow-hidden",children:q.flatMap(e=>e.models.map(r=>{var n;return(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 text-sm whitespace-nowrap",children:[(0,t.jsx)("span",{className:"size-4"}),(0,t.jsx)("span",{children:(0,t.jsx)(P,{label:r.label})}),(0,t.jsx)("span",{style:{width:24*(n=Math.max(r.efforts.length,1))+2*Math.max(n-1,0)}})]},`${e.key}/${r.id}`)}))}),(0,t.jsxs)(d.Command,{children:[(0,t.jsx)(d.CommandInput,{placeholder:z("search",{kind:z("model").toLowerCase()})}),(0,t.jsxs)(d.CommandList,{children:[(0,t.jsx)(d.CommandEmpty,{children:z("empty",{kind:z("model")})}),Q.length>0&&(0,t.jsx)(d.CommandGroup,{heading:z("presets"),children:Q.map(er)}),Z.length>0&&(0,t.jsx)(d.CommandGroup,{heading:z("recentModels"),children:Z.map(er)}),q.flatMap(e=>(function(e){let t=new Map;for(let r of e.models){let n=r.group||e.label;t.set(n,[...t.get(n)??[],r])}return[...t].map(([e,t])=>({heading:e,models:t}))})(e).map(({heading:r,models:n})=>(0,t.jsx)(d.CommandGroup,{heading:r,children:n.map(n=>{let a=e.key===i&&n.id===p,o=n.efforts.length?n.efforts:["auto"];return(0,t.jsxs)(d.CommandItem,{className:T,"data-checked":a,disabled:F(e),onSelect:()=>et({provider:e.key,model:n.id,effort:n.efforts.includes(f)?f:n.efforts.includes("auto")?"auto":n.efforts[0]??"auto"}),value:`${r} ${n.label} ${n.id}`,children:[(0,t.jsx)(S.ProviderIcon,{provider:e.key}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:(0,t.jsx)(P,{label:n.label})}),(0,t.jsx)("span",{"aria-hidden":"true",className:"invisible flex items-center gap-0.5 group-data-[selected=true]/command-item:visible pointer-coarse:visible","data-slot":"command-shortcut",children:o.map(r=>(0,t.jsx)("button",{className:(0,m.cn)("rounded p-0.5 text-muted-foreground hover:bg-background hover:text-foreground",a&&f===r&&"bg-background text-foreground"),onClick:t=>{t.preventDefault(),t.stopPropagation(),et({provider:e.key,model:n.id,effort:r})},onPointerDown:e=>e.stopPropagation(),tabIndex:-1,title:r,type:"button",children:(0,t.jsx)(h.EffortIcon,{effort:r,efforts:o})},r))})]},`${e.key}/${n.id}`)})},`${e.key}/${r}`)))]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 border-t p-2",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:z("effort")}),(0,t.jsxs)(u.TooltipProvider,{children:[(0,t.jsx)("div",{className:"flex items-center gap-0.5",children:K.map(e=>(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(l.Button,{"aria-label":`${z("effort")}: ${e}`,disabled:!U,onClick:()=>{N(e),J&&G({...J,effort:e})},size:"icon-xs",type:"button",variant:f===e?"secondary":"ghost",children:(0,t.jsx)(h.EffortIcon,{effort:e,efforts:K})})}),(0,t.jsx)(u.TooltipContent,{children:e})]},e))}),(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsx)(u.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(l.Button,{"aria-label":J&&W(J)?z("unpinPreset"):z("pinPreset"),className:"ml-auto",disabled:!J,onClick:()=>J&&B(J),size:"icon-xs",type:"button",variant:"ghost",children:J&&W(J)?(0,t.jsx)(o,{}):(0,t.jsx)(a,{})})}),(0,t.jsx)(u.TooltipContent,{children:J&&W(J)?z("unpinPreset"):z("pinPreset")})]})]})]})]})]}),!R&&en.map(({preset:e,entry:r,model:n},i)=>{let a=i<ea;return(0,t.jsxs)(l.Button,{"aria-hidden":!a,className:(0,m.cn)("h-8 shrink-0 font-normal",!a&&"invisible"),onClick:()=>ee(e),tabIndex:a?void 0:-1,type:"button",variant:"ghost",children:[(0,t.jsx)(S.ProviderIcon,{provider:r.key}),(0,t.jsx)("span",{className:"max-w-32 truncate",children:(0,t.jsx)(P,{label:n.label})}),(0,t.jsx)(h.EffortIcon,{className:"text-muted-foreground",effort:e.effort,efforts:n.efforts})]},v(e))})]})}],814760)},895065,e=>{"use strict";let t=(0,e.i(456420).default)("mouse-pointer-2",[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]);e.s(["MousePointer2",0,t],895065)},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)},18718,274757,681735,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),i=e.i(82612),a=e.i(542450),o=e.i(906197),s=e.i(980376),l=e.i(450220),d=e.i(672510);let c={workflow:[{name:"id",description:"Workflow definition id"},{name:"name",description:"Workflow name"},{name:"runId",description:"Current run id"},{name:"startedAt",description:"Run start timestamp"},{name:"trigger",description:"Trigger that started the run"}],repo:[{name:"id",description:"Repository id"},{name:"githubId",description:"GitHub repository id"},{name:"owner",description:"Repository owner / organization"},{name:"name",description:"Repository name"},{name:"url",description:"Repository URL"},{name:"canonicalOrigin",description:"Normalized repository origin"},{name:"displayOrigin",description:"Human-readable repository origin"},{name:"defaultBranch",description:"Repository default branch"}],codebase:[{name:"id",description:"Codebase id"},{name:"agentId",description:"Owning agent id"},{name:"folder",description:"Codebase filesystem path"},{name:"branch",description:"Current branch"},{name:"headSha",description:"HEAD commit SHA"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"remoteBranches",description:"Known remote branches"}],agent:[{name:"id",description:"Owning agent id"},{name:"name",description:"Agent display name"},{name:"hostname",description:"Agent hostname"},{name:"connected",description:"Whether the agent is connected"},{name:"diskTotalBytes",description:"Root disk capacity in bytes"},{name:"diskFreeBytes",description:"Available disk space in bytes"},{name:"memoryFreeBytes",description:"Available memory in bytes"}],disk:[{name:"enabled",description:"Whether disk monitoring is enabled"},{name:"status",description:"Current disk monitor status"},{name:"pressureMode",description:"Normal, manual, or automatic pressure mode"},{name:"manualPressureMode",description:"Whether manual pressure mode is enabled"},{name:"automaticPressureMode",description:"Whether automatic pressure mode is active"},{name:"lastReportedAt",description:"Timestamp of the latest accepted disk report"},{name:"lastError",description:"Latest monitor or cleanup error"},{name:"warnings",description:"Current disk report warnings"},{name:"monitoredVolumeId",description:"Least-free monitored Derived Data volume id"},{name:"freeBytes",description:"Monitored Derived Data free bytes"},{name:"totalBytes",description:"Monitored Derived Data total bytes"},{name:"freeGiB",description:"Monitored Derived Data free space in GiB"},{name:"freePercent",description:"Monitored Derived Data free percentage"},{name:"usedPercent",description:"Monitored Derived Data used percentage"},{name:"effectiveThresholdBytes",description:"Current cleanup threshold in bytes"},{name:"normalThresholdGiB",description:"Global normal threshold in GiB"},{name:"pressureThresholdGiB",description:"Global pressure threshold in GiB"},{name:"pollIntervalSeconds",description:"Agent disk report cadence"},{name:"staleAfterSeconds",description:"Age at which a report is stale"},{name:"changeReason",description:"Internal reason for the monitor event"},{name:"volumes",description:"All reported volumes and their monitor status"}],cleanup:[{name:"jobId",description:"Automatic cleanup agent job id"},{name:"status",description:"Automatic cleanup terminal status"},{name:"source",description:"Cleanup source"},{name:"error",description:"Cleanup error, if any"},{name:"targets",description:"Derived Data entries selected for cleanup"},{name:"deleted",description:"Derived Data entries reported deleted"}],command:[{name:"id",description:"Command run id"},{name:"commandId",description:"Saved command definition id"},{name:"name",description:"Command display name"},{name:"status",description:"Command run status"},{name:"exitCode",description:"Command process exit code"},{name:"signal",description:"Command termination signal"},{name:"error",description:"Command failure reason"},{name:"finishedAt",description:"Command completion timestamp"}],skill:[{name:"id",description:"Skill id"},{name:"groupId",description:"Skill group id"}],skillSync:[{name:"id",description:"Skill sync run id"},{name:"kind",description:"Skill sync kind"},{name:"status",description:"Skill sync status"},{name:"error",description:"Skill sync failure reason"},{name:"conflictCount",description:"Unresolved conflict count"},{name:"conflicts",description:"Unresolved skill conflicts"},{name:"updatedAt",description:"Skill sync update timestamp"},{name:"finishedAt",description:"Skill sync completion timestamp"}],buildData:[{name:"id",description:"Build-data collection id"},{name:"status",description:"Collection status"},{name:"finishedAt",description:"Collection completion timestamp"},{name:"totalBytes",description:"Total discovered bytes"},{name:"entryCount",description:"Discovered entry count"},{name:"successfulAgentCount",description:"Agents that completed collection successfully"}],signingProfile:[{name:"id",description:"Signing profile id"},{name:"uuid",description:"Provisioning profile UUID"},{name:"name",description:"Provisioning profile name"},{name:"expiresAt",description:"Provisioning profile expiry"},{name:"expired",description:"Whether the profile is expired"}],device:[{name:"id",description:"iOS device id"},{name:"udid",description:"Device UDID"},{name:"name",description:"Device display name"},{name:"product",description:"Device product identifier"},{name:"osVersion",description:"Device OS version"},{name:"status",description:"Device registration status"},{name:"error",description:"Device registration failure reason"},{name:"updatedAt",description:"Device update timestamp"}],pushBatch:[{name:"id",description:"Push-notification batch id"},{name:"status",description:"Push batch status"},{name:"targetMode",description:"Push batch target mode"},{name:"deliveryCount",description:"Push delivery count"},{name:"updatedAt",description:"Push batch update timestamp"}],ticket:[{name:"key",description:"Jira issue key (e.g. AIDE-42)"},{name:"projectKey",description:"Jira project key"},{name:"title",description:"Issue summary / title"},{name:"type",description:"Issue type (Bug, Story, …)"},{name:"status",description:"Workflow status name"},{name:"statusId",description:"Workflow status id"},{name:"statusCategory",description:"Status category (To Do, Done, …)"},{name:"assignee",description:"Assigned user"},{name:"assigneeAccountId",description:"Assigned Jira account id"},{name:"labels",description:"Issue labels"},{name:"sprintNames",description:"Sprints containing the issue"},{name:"url",description:"Jira issue URL"}],pr:[{name:"id",description:"Pull request id"},{name:"number",description:"Pull request number"},{name:"state",description:"Open / closed / merged state"},{name:"merged",description:"Whether the pull request was merged"},{name:"title",description:"Pull request title"},{name:"url",description:"Pull request URL"},{name:"labels",description:"Pull request labels"},{name:"isDraft",description:"Whether the pull request is a draft"},{name:"headBranch",description:"Pull request head branch"},{name:"headRefName",description:"Pull request head ref"},{name:"headSha",description:"Pull request head commit SHA"},{name:"baseBranch",description:"Pull request base branch"},{name:"reviewDecision",description:"Latest review decision"},{name:"pipelineStatus",description:"Combined pull request check status"},{name:"unresolvedReviewThreadCount",description:"Number of unresolved pull request review threads"},{name:"pipelines",description:"CI pipelines linked to the pull request"},{name:"reviewThreads",description:"Pull request review threads"},{name:"mergeable",description:"Pull request mergeability"},{name:"repositoryGithubId",description:"GitHub repository id"},{name:"repositoryNameWithOwner",description:"GitHub owner and repository name"},{name:"jiraKey",description:"Jira key linked to the pull request"},{name:"unresolvedThreads",description:"Unresolved review threads"}],worktree:[{name:"id",description:"Worktree id"},{name:"branch",description:"Worktree branch"},{name:"baseBranch",description:"Base branch the work targets"},{name:"path",description:"Filesystem path"},{name:"headSha",description:"Worktree HEAD commit SHA"},{name:"pushStatus",description:"Push readiness status"},{name:"upstream",description:"Tracked upstream branch"},{name:"syncState",description:"Relationship to the tracked branch"},{name:"ahead",description:"Commits ahead of upstream"},{name:"behind",description:"Commits behind upstream"},{name:"baseAhead",description:"Commits ahead of the base branch"},{name:"baseBehind",description:"Commits behind the base branch"},{name:"commits",description:"Commits on the branch"},{name:"changes",description:"Pending file changes"},{name:"branchChanges",description:"Files changed from the base branch"},{name:"commitsTruncated",description:"Whether commit results were truncated"},{name:"changesTruncated",description:"Whether pending changes were truncated"},{name:"branchChangesTruncated",description:"Whether branch change results were truncated"},{name:"dirty",description:"Whether the working tree has changes"},{name:"branches",description:"Local and remote Git branches"},{name:"branchesTruncated",description:"Whether branch results were truncated"},{name:"stashes",description:"Git stashes"},{name:"stashesTruncated",description:"Whether stash results were truncated"},{name:"rebaseInProgress",description:"Whether a rebase is in progress"},{name:"hasConflicts",description:"Whether Git reports conflicts"},{name:"conflicted",description:"Whether an inspection found conflicts"},{name:"conflicts",description:"Conflicting files"},{name:"missingAt",description:"When the worktree was found missing"},{name:"dirtySince",description:"When the worktree became dirty"},{name:"autoSync",description:"Persistent Auto Sync configuration and current state"},{name:"autoMerge",description:"Persistent Auto Merge configuration and current state"}],pipeline:[{name:"id",description:"CI pipeline id"},{name:"runId",description:"CI run id"},{name:"workflowId",description:"CI workflow id"},{name:"name",description:"CI workflow name"},{name:"displayTitle",description:"CI run display title"},{name:"status",description:"Run status"},{name:"conclusion",description:"Run conclusion"},{name:"headBranch",description:"Branch built by the CI run"},{name:"headSha",description:"Commit built by the CI run"},{name:"pullRequests",description:"Pull requests linked to the CI run"},{name:"url",description:"CI run URL"},{name:"failedJobs",description:"Failed jobs"},{name:"jobs",description:"Jobs in the CI run"},{name:"checkSuiteId",description:"GitHub check suite id"},{name:"runNumber",description:"GitHub Actions run number"},{name:"runAttempt",description:"GitHub Actions run attempt"},{name:"jiraKey",description:"Jira key inferred from the run"}],build:[{name:"id",description:"Build id"},{name:"status",description:"Build status"},{name:"action",description:"Build action"},{name:"error",description:"Build error, if any"},{name:"artifactDirectory",description:"Build artifact directory"},{name:"testSummary",description:"Test result summary"},{name:"tests",description:"Individual test results"},{name:"coverageSummary",description:"Coverage summary"},{name:"coverageFiles",description:"Per-file coverage results"},{name:"changedCoverageFiles",description:"Coverage for files changed on the branch"},{name:"artifacts",description:"Exported build artifacts"},{name:"exportId",description:"Build export id"}],run:[{name:"id",description:"Agent run id"},{name:"kind",description:"Run kind (PLAN / SESSION)"},{name:"status",description:"Run status"},{name:"phase",description:"Run phase"},{name:"origin",description:"Run origin"},{name:"provider",description:"AI provider"},{name:"model",description:"AI model"},{name:"branch",description:"Branch used by the run"},{name:"finalOutput",description:"Final output text"},{name:"error",description:"Run error, if any"},{name:"usage",description:"Token usage and cost"},{name:"questions",description:"Questions asked by the run"},{name:"events",description:"Run events"},{name:"links",description:"Resources linked to the run"}],steps:[{name:"status",description:"Step completion status"},{name:"output",description:"Step output payload"},{name:"answer",description:"Human answer for the step"},{name:"snapshotId",description:"Captured snapshot id"},{name:"items",description:"Items produced for iteration"},{name:"commandRunId",description:"Command run id"},{name:"displayNumber",description:"Resource display number"}],comment:[{name:"id",description:"Comment id"},{name:"body",description:"Comment body"},{name:"author",description:"Comment author"}],push:[{name:"ref",description:"Pushed Git ref"},{name:"before",description:"Commit before the push"},{name:"after",description:"Commit after the push"}],job:[{name:"id",description:"Job id"},{name:"name",description:"Job name"},{name:"status",description:"Job status"},{name:"url",description:"Job URL"},{name:"runAttempt",description:"Workflow run attempt"}]},u=new Map(Object.entries(c).flatMap(([e,t])=>t.map(t=>[`${e}.${t.name}`,t.description])));function p(e){return e.split(".")[0]??e}function m(e){let t=new Map,r=e=>{t.has(e.path)||t.set(e.path,e)};for(let t of e){let e=t.trim();if(e&&"*"!==e){if(e.endsWith(".*")){let t=e.slice(0,-2),n=c[p(t)];if(n)for(let e of n)r({path:`${t}.${e.name}`,description:e.description});else r({path:e});continue}r({path:e,description:function(e){let t=e.split(".");if(t.length<2)return;let r=t[t.length-1];return u.get(`${p(e)}.${r}`)}(e)})}}return[...t.values()].sort((e,t)=>e.path.localeCompare(t.path))}e.s(["expandSessionPaths",0,m],274757);var h=e.i(399668);function f(e){let t=new Map(e?.steps.map(e=>[e.kind,e])??[]),r=new Map(e?.triggers.map(e=>[e.kind,e])??[]);return{stepPaths:e=>{let r=t.get(e);return{requiredPaths:r?.requiredPaths??[],providedPaths:r?.providedPaths??[]}},triggerSeedPaths:e=>r.get(e)?.seedPaths??[]}}function g(e,t){let r=t.get(e)??[],n=r.filter(t=>t!==`steps.${e}.*`);return m(n.length?n:r)}function v({value:e,notSet:r}){let n;return n=null==e||""===e?r:"boolean"==typeof e?e?"Yes":"No":e&&"object"==typeof e&&!Array.isArray(e)&&"SESSION"===e.source?(0,t.jsx)("code",{children:String(e.path??r)}):Array.isArray(e)&&e.every(e=>"object"!=typeof e)?e.length?e.join(", "):r:"object"==typeof e?(0,t.jsx)("pre",{className:"overflow-x-auto whitespace-pre-wrap rounded-lg bg-muted p-2 font-mono text-[11px]",children:JSON.stringify(e,null,2)}):String(e),(0,t.jsx)(t.Fragment,{children:n})}function b({empty:e,paths:r}){return r.length?(0,t.jsx)(o.ItemGroup,{className:"gap-1 rounded-lg border bg-muted/30 p-2",children:r.map(({path:e,description:r})=>(0,t.jsx)(o.Item,{className:"px-1 py-0",size:"xs",children:(0,t.jsxs)(o.ItemContent,{children:[(0,t.jsx)(o.ItemTitle,{children:(0,t.jsx)("code",{className:"text-[11px]",children:e})}),r&&(0,t.jsx)(o.ItemDescription,{className:"text-[10px]",children:r})]})},e))}):(0,t.jsx)(i.Empty,{className:"py-5",children:(0,t.jsx)(i.EmptyHeader,{children:(0,t.jsx)(i.EmptyDescription,{children:e})})})}e.s(["buildPathLookup",0,f,"displayProvidedPaths",0,g,"providesByNodeMap",0,function(e){return new Map([...e.provides.keys()].map(t=>[t,g(t,e.provides).map(e=>e.path)]))}],681735),e.s(["WorkflowReadonlyInspector",0,function({catalog:e,definition:o,onOpenChange:c,selectedId:u}){let p=(0,r.useTranslations)("workflows"),x=(0,h.useWorkflowLabels)(),y=o.nodes.find(({id:e})=>e===u)??null,w=o.triggers.find(({id:e})=>e===u)??null,j=y??w,k=y?e?.steps.find(({kind:e})=>e===y.kind):e?.triggers.find(({kind:e})=>e===w?.kind),S=(0,n.useMemo)(()=>(0,d.computeWorkflowPathAvailability)(o,f(e)),[e,o]),C=(0,n.useMemo)(()=>y?g(y.id,S.provides):w?m([...e?.triggers.find(({kind:e})=>e===w.kind)?.seedPaths??[],...(0,d.resourceManualSeedPaths)(w.kind,w.config)]):[],[S,e,y,w]),P=(0,n.useMemo)(()=>y?m([...new Set([...e?.steps.find(({kind:e})=>e===y.kind)?.requiredPaths??[],...y.requiredPaths])]):[],[e,y]),T=j?function(e,t){let r=(0,l.getConfigDescriptor)(e.kind,t);if(!r)return Object.entries(e.config).map(([e,t])=>({key:e,label:e,value:t}));let n=new Set,i=[];for(let t of r.fields){if(t.visibleWhen&&e.config[t.visibleWhen.key]!==t.visibleWhen.equals)continue;if("model"===t.control&&t.modelKeys){let r=[t.modelKeys.provider,t.modelKeys.model,t.modelKeys.effort];r.forEach(e=>n.add(e)),i.push({key:t.key,label:t.label,value:Object.fromEntries(r.map(t=>[t,e.config[t]??null]))});continue}n.add(t.key);let r=e.config[t.key]??t.default,a=(t.options?.kind==="static"?t.options.options:[]).find(({value:e})=>e===r);i.push({key:t.key,label:t.label,value:a?.label??r})}for(let[t,r]of Object.entries(e.config))n.has(t)||i.push({key:t,label:t,value:r});return i}(j,y?"step":"trigger"):[];return(0,t.jsx)(s.Sheet,{onOpenChange:c,open:!!j,children:(0,t.jsx)(s.SheetContent,{className:"overflow-y-auto sm:max-w-lg",children:j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.SheetHeader,{children:[(0,t.jsx)(s.SheetTitle,{children:j.name??x.kind(j.kind)}),(0,t.jsx)(s.SheetDescription,{children:k?.description??x.kind(j.kind)})]}),(0,t.jsxs)(a.FieldGroup,{className:"gap-4 px-4 pb-4",children:[k?.details&&(0,t.jsx)("p",{className:"rounded-lg border bg-muted/30 p-3 text-xs leading-relaxed text-muted-foreground",children:k.details}),(0,t.jsxs)(a.Field,{children:[(0,t.jsx)(a.FieldTitle,{children:p("configuration")}),T.length?(0,t.jsx)("dl",{className:"space-y-3 rounded-lg border bg-muted/20 p-3",children:T.map(e=>(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("dt",{className:"text-xs font-medium",children:e.label}),(0,t.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:(0,t.jsx)(v,{value:e.value,notSet:p("notSet")})})]},e.key))}):(0,t.jsx)(i.Empty,{className:"py-5",children:(0,t.jsx)(i.EmptyHeader,{children:(0,t.jsx)(i.EmptyTitle,{children:p("noConfiguration")})})})]}),(0,t.jsxs)(a.Field,{children:[(0,t.jsx)(a.FieldTitle,{children:y?p("addsToSession"):p("seedsSession")}),(0,t.jsx)(b,{empty:p("addsToSessionEmpty"),paths:C})]}),y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.Field,{children:[(0,t.jsx)(a.FieldTitle,{children:p("requiredPaths")}),(0,t.jsx)(b,{empty:p("noRequiredPaths"),paths:P})]}),(0,t.jsxs)("dl",{className:"grid grid-cols-2 gap-3 rounded-lg border bg-muted/20 p-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs font-medium",children:p("maxAttempts")}),(0,t.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:y.retry.maxAttempts})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs font-medium",children:p("retryStrategy")}),(0,t.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`retryStrategies.${y.retry.strategy}`)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs font-medium",children:p("retryDelay")}),(0,t.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p("seconds",{count:y.retry.delaySeconds})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs font-medium",children:p("failurePolicy")}),(0,t.jsx)("dd",{className:"m-0 text-xs text-muted-foreground",children:p(`failure.${y.failurePolicy}`)})]})]})]})]})]}):null})})}],18718)},759684,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(248425),i=e.i(296626),a=e.i(30030),o=e.i(820783),s=e.i(30207),l=e.i(586318),d=e.i(934620),c=e.i(470152),u=e.i(981140),p=Object.defineProperty,m=(e,t)=>p(e,"name",{value:t,configurable:!0});function h(e,t){return r.useReducer((e,r)=>t[e][r]??e,e)}m(h,"useStateMachine");var f="ScrollArea",[g,v]=(0,a.createContextScope)(f),[b,x]=g(f),y=r.forwardRef(m(function(e,i){let{__scopeScrollArea:a,type:s="hover",dir:d,scrollHideDelay:c=600,...u}=e,[p,m]=r.useState(null),[h,f]=r.useState(null),[g,v]=r.useState(null),[x,y]=r.useState(null),[w,j]=r.useState(null),[k,S]=r.useState(0),[C,P]=r.useState(0),[T,A]=r.useState(!1),[N,E]=r.useState(!1),R=(0,o.useComposedRefs)(i,m),I=(0,l.useDirection)(d);return(0,t.jsx)(b,{scope:a,type:s,dir:I,scrollHideDelay:c,scrollArea:p,viewport:h,onViewportChange:f,content:g,onContentChange:v,scrollbarX:x,onScrollbarXChange:y,scrollbarXEnabled:T,onScrollbarXEnabledChange:A,scrollbarY:w,onScrollbarYChange:j,scrollbarYEnabled:N,onScrollbarYEnabledChange:E,onCornerWidthChange:S,onCornerHeightChange:P,children:(0,t.jsx)(n.Primitive.div,{dir:I,...u,ref:R,style:{position:"relative","--radix-scroll-area-corner-width":k+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})},"ScrollArea")),w=r.forwardRef(m(function(e,i){let{__scopeScrollArea:a,children:s,nonce:l,...d}=e,c=x("ScrollAreaViewport",a),u=r.useRef(null),p=(0,o.useComposedRefs)(i,u,c.onViewportChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j,{nonce:l}),(0,t.jsx)(n.Primitive.div,{"data-radix-scroll-area-viewport":"",...d,ref:p,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,t.jsx)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})},"ScrollAreaViewport")),j=r.memo(m(function({nonce:e}){return(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e})},"ScrollAreaViewportStyle"),(e,t)=>e.nonce===t.nonce),k="ScrollAreaScrollbar",S=r.forwardRef(m(function(e,n){let{forceMount:i,...a}=e,o=x(k,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:l}=o,d="horizontal"===e.orientation;return r.useEffect(()=>(d?s(!0):l(!0),()=>{d?s(!1):l(!1)}),[d,s,l]),"hover"===o.type?(0,t.jsx)(C,{...a,ref:n,forceMount:i}):"scroll"===o.type?(0,t.jsx)(P,{...a,ref:n,forceMount:i}):"auto"===o.type?(0,t.jsx)(T,{...a,ref:n,forceMount:i}):"always"===o.type?(0,t.jsx)(A,{...a,ref:n,"data-state":"visible"}):null},"ScrollAreaScrollbar")),C=r.forwardRef(m(function(e,n){let{forceMount:a,...o}=e,s=x(k,e.__scopeScrollArea),[l,d]=r.useState(!1);return r.useEffect(()=>{let e=s.scrollArea,t=0;if(e){let r=m(()=>{window.clearTimeout(t),d(!0)},"handlePointerEnter"),n=m(()=>{t=window.setTimeout(()=>d(!1),s.scrollHideDelay)},"handlePointerLeave");return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[s.scrollArea,s.scrollHideDelay]),(0,t.jsx)(i.Presence,{present:a||l,children:(0,t.jsx)(T,{"data-state":l?"visible":"hidden",...o,ref:n})})},"ScrollAreaScrollbarHover")),P=r.forwardRef(m(function(e,n){let{forceMount:a,...o}=e,s=x(k,e.__scopeScrollArea),l="horizontal"===e.orientation,d=J(()=>p("SCROLL_END"),100),[c,p]=h("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return r.useEffect(()=>{if("idle"===c){let e=window.setTimeout(()=>p("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,s.scrollHideDelay,p]),r.useEffect(()=>{let e=s.viewport,t=l?"scrollLeft":"scrollTop";if(e){let r=e[t],n=m(()=>{let n=e[t];r!==n&&(p("SCROLL"),d()),r=n},"handleScroll");return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[s.viewport,l,p,d]),(0,t.jsx)(i.Presence,{present:a||"hidden"!==c,children:(0,t.jsx)(A,{"data-state":"hidden"===c?"hidden":"visible",...o,ref:n,onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,()=>p("POINTER_ENTER")),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,()=>p("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),T=r.forwardRef(m(function(e,n){let a=x(k,e.__scopeScrollArea),{forceMount:o,...s}=e,[l,d]=r.useState(!1),c="horizontal"===e.orientation,u=J(()=>{if(a.viewport){let e=a.viewport.offsetWidth<a.viewport.scrollWidth,t=a.viewport.offsetHeight<a.viewport.scrollHeight;d(c?e:t)}},10);return K(a.viewport,u),K(a.content,u),(0,t.jsx)(i.Presence,{present:o||l,children:(0,t.jsx)(A,{"data-state":l?"visible":"hidden",...s,ref:n})})},"ScrollAreaScrollbarAuto")),A=r.forwardRef(m(function(e,n){let{orientation:i="vertical",...a}=e,o=x(k,e.__scopeScrollArea),s=r.useRef(null),l=r.useRef(0),[d,c]=r.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=G(d.viewport,d.content),p={...a,sizes:d,onSizesChange:c,hasThumb:!!(u>0&&u<1),onThumbChange:m(e=>s.current=e,"onThumbChange"),onThumbPointerUp:m(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:m(e=>l.current=e,"onThumbPointerDown")};function h(e,t){return V(e,l.current,d,t)}return(m(h,"getScrollPosition"),"horizontal"===i)?(0,t.jsx)(N,{...p,ref:n,onThumbPositionChange:()=>{if(o.viewport&&s.current){let e=q(o.viewport.scrollLeft,d,o.dir);s.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollLeft=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollLeft=h(e,o.dir))}}):"vertical"===i?(0,t.jsx)(E,{...p,ref:n,onThumbPositionChange:()=>{if(o.viewport&&s.current){let e=q(o.viewport.scrollTop,d);s.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{o.viewport&&(o.viewport.scrollTop=e)},onDragScroll:e=>{o.viewport&&(o.viewport.scrollTop=h(e))}}):null},"ScrollAreaScrollbarVisible")),N=r.forwardRef(m(function(e,n){let{sizes:i,onSizesChange:a,...s}=e,l=x(k,e.__scopeScrollArea),[d,c]=r.useState(),u=r.useRef(null),p=(0,o.useComposedRefs)(n,u,l.onScrollbarXChange);return r.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,t.jsx)(M,{"data-orientation":"horizontal",...s,ref:p,sizes:i,style:{bottom:0,left:"rtl"===l.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===l.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":_(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(l.viewport){let n=l.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),$(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&l.viewport&&d&&a({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:B(d.paddingLeft),paddingEnd:B(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),E=r.forwardRef(m(function(e,n){let{sizes:i,onSizesChange:a,...s}=e,l=x(k,e.__scopeScrollArea),[d,c]=r.useState(),u=r.useRef(null),p=(0,o.useComposedRefs)(n,u,l.onScrollbarYChange);return r.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,t.jsx)(M,{"data-orientation":"vertical",...s,ref:p,sizes:i,style:{top:0,right:"ltr"===l.dir?0:void 0,left:"rtl"===l.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":_(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(l.viewport){let n=l.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),$(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&l.viewport&&d&&a({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:B(d.paddingTop),paddingEnd:B(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[R,I]=g(k),M=r.forwardRef(m(function(e,i){let{__scopeScrollArea:a,sizes:l,hasThumb:d,onThumbChange:c,onThumbPointerUp:p,onThumbPointerDown:h,onThumbPositionChange:f,onDragScroll:g,onWheelScroll:v,onResize:b,...y}=e,w=x(k,a),[j,S]=r.useState(null),C=(0,o.useComposedRefs)(i,S),P=r.useRef(null),T=r.useRef(""),A=w.viewport,N=l.content-l.viewport,E=(0,s.useCallbackRef)(v),I=(0,s.useCallbackRef)(f),M=J(b,10);function D(e){P.current&&g({x:e.clientX-P.current.left,y:e.clientY-P.current.top})}return m(D,"handleDragScroll"),r.useEffect(()=>{let e=m(e=>{let t=e.target;j?.contains(t)&&E(e,N)},"handleWheel");return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[A,j,N,E]),r.useEffect(I,[l,I]),K(j,M),K(w.content,M),(0,t.jsx)(R,{scope:a,scrollbar:j,hasThumb:d,onThumbChange:(0,s.useCallbackRef)(c),onThumbPointerUp:(0,s.useCallbackRef)(p),onThumbPositionChange:I,onThumbPointerDown:(0,s.useCallbackRef)(h),children:(0,t.jsx)(n.Primitive.div,{...y,ref:C,style:{position:"absolute",...y.style},onPointerDown:(0,u.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),P.current=j.getBoundingClientRect(),T.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),D(e))}),onPointerMove:(0,u.composeEventHandlers)(e.onPointerMove,D),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=T.current,w.viewport&&(w.viewport.style.scrollBehavior=""),P.current=null})})})},"ScrollAreaScrollbarImpl")),D="ScrollAreaThumb",z=r.forwardRef(m(function(e,r){let{forceMount:n,...a}=e,o=I(D,e.__scopeScrollArea);return(0,t.jsx)(i.Presence,{present:n||o.hasThumb,children:(0,t.jsx)(L,{ref:r,...a})})},"ScrollAreaThumb")),L=r.forwardRef(m(function(e,i){let{__scopeScrollArea:a,style:s,...l}=e,d=x(D,a),c=I(D,a),{onThumbPositionChange:p}=c,h=(0,o.useComposedRefs)(i,c.onThumbChange),f=r.useRef(void 0),g=J(()=>{f.current&&(f.current(),f.current=void 0)},100);return r.useEffect(()=>{let e=d.viewport;if(e){let t=m(()=>{g(),f.current||(f.current=U(e,p),p())},"handleScroll");return p(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[d.viewport,g,p]),(0,t.jsx)(n.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...l,ref:h,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,u.composeEventHandlers)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;c.onThumbPointerDown({x:r,y:n})}),onPointerUp:(0,u.composeEventHandlers)(e.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),H="ScrollAreaCorner",O=r.forwardRef(m(function(e,r){let n=x(H,e.__scopeScrollArea),i=!!(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&i?(0,t.jsx)(W,{...e,ref:r}):null},"ScrollAreaCorner")),W=r.forwardRef(m(function(e,i){let{__scopeScrollArea:a,...o}=e,s=x(H,a),[l,d]=r.useState(0),[c,u]=r.useState(0),p=!!(l&&c),{onCornerWidthChange:m,onCornerHeightChange:h}=s;return K(s.scrollbarX,()=>{let e=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(e),u(e)}),K(s.scrollbarY,()=>{let e=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(e),d(e)}),r.useEffect(()=>()=>{m(0),h(0)},[m,h]),p?(0,t.jsx)(n.Primitive.div,{...o,ref:i,style:{width:l,height:c,position:"absolute",right:"ltr"===s.dir?0:void 0,left:"rtl"===s.dir?0:void 0,bottom:0,...e.style}}):null},"ScrollAreaCornerImpl"));function B(e){return e?parseInt(e,10):0}function G(e,t){let r=e/t;return isNaN(r)?0:r}function _(e){let t=G(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function V(e,t,r,n="ltr"){let i=_(r),a=t||i/2,o=r.scrollbar.paddingStart+a,s=r.scrollbar.size-r.scrollbar.paddingEnd-(i-a),l=r.content-r.viewport;return F([o,s],"ltr"===n?[0,l]:[-1*l,0])(e)}function q(e,t,r="ltr"){let n=_(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,o=t.content-t.viewport,s=(0,c.clamp)(e,"ltr"===r?[0,o]:[-1*o,0]);return F([0,o],[0,a-n])(s)}function F(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function $(e,t){return e>0&&e<t}m(B,"toInt"),m(G,"getThumbRatio"),m(_,"getThumbSize"),m(V,"getScrollPositionFromPointer"),m(q,"getThumbOffsetFromScroll"),m(F,"linearScale"),m($,"isScrollingWithinScrollbarBounds");var U=m((e,t=()=>{})=>(e.scrollLeft,e.scrollTop,()=>window.cancelAnimationFrame(0)),"addUnlinkedScrollListener");function J(e,t){let n=(0,s.useCallbackRef)(e),i=r.useRef(0);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),r.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(n,t)},[n,t])}function K(e,t){let r=(0,s.useCallbackRef)(t);(0,d.useLayoutEffect)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}m(J,"useDebounceCallback"),m(K,"useResizeObserver"),e.s(["Corner",0,O,"Root",0,y,"ScrollArea",0,y,"ScrollAreaCorner",0,O,"ScrollAreaScrollbar",0,S,"ScrollAreaThumb",0,z,"ScrollAreaViewport",0,w,"Scrollbar",0,S,"Thumb",0,z,"Viewport",0,w,"createScrollAreaScope",0,v],760805);var X=e.i(760805),X=X,Y=e.i(975157);function Q({className:e,orientation:r="vertical",...n}){return(0,t.jsx)(X.ScrollAreaScrollbar,{"data-slot":"scroll-area-scrollbar","data-orientation":r,orientation:r,className:(0,Y.cn)("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",e),...n,children:(0,t.jsx)(X.ScrollAreaThumb,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}e.s(["ScrollArea",0,function({className:e,children:r,...n}){return(0,t.jsxs)(X.Root,{"data-slot":"scroll-area",className:(0,Y.cn)("relative",e),...n,children:[(0,t.jsx)(X.Viewport,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:r}),(0,t.jsx)(Q,{}),(0,t.jsx)(X.Corner,{})]})}],759684)}]);
|