madarx 2.15.1 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +415 -407
- package/.next/standalone/.next/app-path-routes-manifest.json +77 -76
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +4 -4
- package/.next/standalone/.next/server/app/activity/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/admin/page.js +2 -2
- package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/agents/[id]/page.js +6 -6
- package/.next/standalone/.next/server/app/agents/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/agents/page.js +1 -1
- package/.next/standalone/.next/server/app/agents/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/activity/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/audit-export/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/admin/share-links/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-memory/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-runs/[id]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-runs/[id]/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-runs/[id]/log/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-runs/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-runs/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[id]/chain/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[id]/memory/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[id]/reports/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[id]/run/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/[id]/skills/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/create/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/ops/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/approvals/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/approvals/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/acl/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/protect/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/raw/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/share-link/[linkId]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/[id]/share-link/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/artifacts/upload/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/audit/list/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/audit/search/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/config/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/join-bootstrap/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/brand/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/brand/share/route.js +1 -0
- package/.next/standalone/.next/server/app/api/brand/share/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/brand/share/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/chat/sessions/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/chat/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/config/env/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/config/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/connections/[service]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/connections/[service]/verify/route.js +2 -2
- package/.next/standalone/.next/server/app/api/connections/[service]/verify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/connections/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/cron/tick/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/move/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/share-link/[linkId]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/[id]/share-link/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/import/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/dashboard/spaces/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/disk/files/[id]/blob/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/disk/files/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/disk/files/[id]/transcribe/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/disk/files/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/disk/folders/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/since/[cursor]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/events/stream/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/fs/create-folder/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/fs/pick-folder/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/blueprint/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/diagnostic/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/governance/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/interview/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/pilot/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/quarterly/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/[id]/setup-package/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/engagements/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/interviews/[id]/responses/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/interviews/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/setup-packages/[id]/apply/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hail/setup-packages/validate/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/heartbeat/tick/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/heartbeat/worker/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/help/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hermes/jobs/[id]/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hermes/jobs/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/hermes/jobs/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/integrations/google/callback/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/integrations/google/oauth/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/marketplace/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/marketplace/open-design/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/marketplace/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/import-roots/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/portfolio/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/projects/[id]/chunks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/projects/[id]/diligence/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/projects/[id]/import/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/projects/[id]/publish/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/mines/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/missions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/onboarding/blueprint/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/onboarding/launch/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orchestrator/command/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orchestrator/stream/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orchestrator/upload/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/org/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/invites/[inviteId]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/invites/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/members/[userId]/role/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/members/[userId]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/members/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/invites/pending/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/join/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/join-complete/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/orgs/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/printing-press/clis/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/printing-press/install/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/printing-press/security-mode/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/privacy/config/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/privacy/verify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/[id]/share-link/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/override/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/retry/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/[id]/stages/[stageId]/submit/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/definitions/[slug]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/definitions/[slug]/settings/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/definitions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/definitions/validate/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/processes/start-and-route/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[slug]/library/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/[slug]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/runs/approve-claude-run/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/runs/claude-code-dry-run/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/runs/competitor-report/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/runs/engine-ping/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/runs/marketing-plan/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/schedules/upsert/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/secrets/[name]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/secrets/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/settings/trust-mode/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/otp/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/verify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/space/[token]/otp/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/space/[token]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/share/space/[token]/verify/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/shared/spaces/[id]/acl/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/shared/spaces/publish/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/shared/spaces/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/shared/spaces/status/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/shared/spaces/unpublish/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/state/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/system/update/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/active-run/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/attachments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/checklist/[itemId]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/checklist/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/checkout/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/children/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/comments/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/events/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/live-runs/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/release/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tasks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tool-allowlists/[id]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tool-allowlists/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tool-egress/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/[name]/approve/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/[name]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/transcripts/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/providers/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/realtime/context/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/realtime/session/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/realtime/tool-result/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/realtime/tools/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/voice/tts/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/allowlist/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/disconnect/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/messages/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/qr/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/send/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/whatsapp/status/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/approvals/page.js +1 -1
- package/.next/standalone/.next/server/app/approvals/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/architecture/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/architecture.html +2 -2
- package/.next/standalone/.next/server/app/architecture.rsc +4 -4
- package/.next/standalone/.next/server/app/audit/live/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/brand/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/brand.html +1 -1
- package/.next/standalone/.next/server/app/brand.rsc +5 -5
- package/.next/standalone/.next/server/app/disk/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/federated-ai/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/federated-ai.html +2 -2
- package/.next/standalone/.next/server/app/federated-ai.rsc +4 -4
- package/.next/standalone/.next/server/app/hail/[id]/governance/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/interview/page.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/interview/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/page.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/setup/page.js +1 -1
- package/.next/standalone/.next/server/app/hail/[id]/setup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/hail/page.js +2 -2
- package/.next/standalone/.next/server/app/hail/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/help/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/help/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +2 -2
- package/.next/standalone/.next/server/app/index.rsc +5 -5
- package/.next/standalone/.next/server/app/join/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/join.html +1 -1
- package/.next/standalone/.next/server/app/join.rsc +4 -4
- package/.next/standalone/.next/server/app/login/page.js +1 -1
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/marketplace/page.js +4 -3
- package/.next/standalone/.next/server/app/marketplace/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/marketplace/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/mines/[projectId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/mines/[projectId]/results/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/mines/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/missions/page.js +2 -2
- package/.next/standalone/.next/server/app/missions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding/org/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/onboarding.html +2 -2
- package/.next/standalone/.next/server/app/onboarding.rsc +4 -4
- package/.next/standalone/.next/server/app/org/page.js +1 -1
- package/.next/standalone/.next/server/app/org/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/org/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/page.js +2 -2
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/[slug]/log/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/new/page.js +3 -2
- package/.next/standalone/.next/server/app/projects/new/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/projects/new/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/new.html +1 -1
- package/.next/standalone/.next/server/app/projects/new.rsc +5 -5
- package/.next/standalone/.next/server/app/projects/page.js +62 -18
- package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/reports/[file]/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/reports/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/runtime/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/schedules/page.js +2 -2
- package/.next/standalone/.next/server/app/schedules/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/account/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/advanced/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/appearance/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/appearance/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/brand/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/brand/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/brand.html +2 -2
- package/.next/standalone/.next/server/app/settings/brand.rsc +6 -6
- package/.next/standalone/.next/server/app/settings/connectors/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/engines/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/onboarding/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/onboarding/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/onboarding.html +2 -2
- package/.next/standalone/.next/server/app/settings/onboarding.rsc +5 -5
- package/.next/standalone/.next/server/app/settings/organization/page.js +2 -2
- package/.next/standalone/.next/server/app/settings/organization/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/settings/organization/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/runtime/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/runtime/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/team/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/team/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/tools/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +2 -2
- package/.next/standalone/.next/server/app/settings.rsc +5 -5
- package/.next/standalone/.next/server/app/share/[token]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/share/space/[token]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/tasks/[id]/page.js +2 -2
- package/.next/standalone/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/tasks/page.js +2 -2
- package/.next/standalone/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/team/[agentId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/team/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/whatsapp/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/whatsapp.html +2 -1
- package/.next/standalone/.next/server/app/whatsapp.rsc +4 -4
- package/.next/standalone/.next/server/app/workflows/[caseId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/workflows/new/[caseId]/page.js +2 -2
- package/.next/standalone/.next/server/app/workflows/new/[caseId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/workflows/new/definition/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/workflows/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/workflows/share/[caseId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +77 -76
- package/.next/standalone/.next/server/chunks/1648.js +1 -1
- package/.next/standalone/.next/server/chunks/1699.js +69 -25
- package/.next/standalone/.next/server/chunks/3066.js +1 -0
- package/.next/standalone/.next/server/chunks/3230.js +2 -2
- package/.next/standalone/.next/server/chunks/5093.js +1 -0
- package/.next/standalone/.next/server/chunks/5864.js +1 -0
- package/.next/standalone/.next/server/chunks/6059.js +1 -1
- package/.next/standalone/.next/server/chunks/6700.js +16 -3
- package/.next/standalone/.next/server/chunks/8003.js +1 -1
- package/.next/standalone/.next/server/functions-config-manifest.json +38 -37
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/566-570a4f3feb2e9539.js +1 -0
- package/.next/standalone/.next/static/chunks/7695-04c7f1a5233de027.js +1 -0
- package/.next/standalone/.next/static/chunks/app/activity/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/agents/[id]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/agents/[id]/page-474f640e84f7b4b5.js +1 -0
- package/.next/standalone/.next/static/chunks/app/agents/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/agents/page-b79b611acd56712b.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/activity/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/audit-export/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/admin/share-links/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-memory/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/log/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/chain/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/memory/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/reports/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/skills/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/create/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agents/ops/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/approvals/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/approvals/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/acl/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/protect/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/raw/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/artifacts/upload/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/audit/list/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/audit/search/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/join-bootstrap/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/auth/session/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/brand/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/brand/share/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/chat/sessions/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/chat/sessions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/config/env/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/connections/[service]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/connections/[service]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/connections/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/cron/tick/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/import/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/blob/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/disk/files/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/disk/folders/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/events/since/[cursor]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/events/stream/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/fs/create-folder/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/fs/pick-folder/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/validate/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/heartbeat/tick/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/heartbeat/worker/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/help/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/integrations/google/callback/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/integrations/google/oauth/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/marketplace/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/marketplace/open-design/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/marketplace/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/import-roots/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/portfolio/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/import/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/publish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/missions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/models/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/onboarding/blueprint/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/onboarding/launch/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/command/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/stream/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/upload/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/org/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/invites/pending/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/join/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/join-complete/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/orgs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/printing-press/clis/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/printing-press/install/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/printing-press/security-mode/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/privacy/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/privacy/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/validate/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/processes/start-and-route/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/library/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/projects/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/runs/approve-claude-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/runs/claude-code-dry-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/runs/competitor-report/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/runs/engine-ping/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/runs/marketing-plan/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/schedules/upsert/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/secrets/[name]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/secrets/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/settings/trust-mode/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/otp/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/otp/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/publish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/status/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/unpublish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/state/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/system/update/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/active-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/attachments/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checkout/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/children/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/comments/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/live-runs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/release/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tasks/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tool-egress/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/[name]/approve/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/[name]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/transcripts/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/providers/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/context/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/session/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tool-result/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tools/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/voice/tts/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/allowlist/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/disconnect/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/messages/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/qr/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/send/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/status/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/approvals/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/architecture/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/audit/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/brand/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/disk/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/federated-ai/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/help/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/layout-eaed78b7751b2b5b.js +1 -0
- package/.next/standalone/.next/static/chunks/app/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/login/page-a2344c0b1ef6d31a.js +1 -0
- package/.next/standalone/.next/static/chunks/app/marketplace/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/marketplace/page-0b7d3a6309302de3.js +1 -0
- package/.next/standalone/.next/static/chunks/app/missions/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/onboarding/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/org/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/page-a716d81055cfaa16.js +1 -0
- package/.next/standalone/.next/static/chunks/app/projects/[slug]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/projects/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/projects/page-8c8e47863c240ec7.js +1 -0
- package/.next/standalone/.next/static/chunks/app/reports/[file]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/reports/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/runtime/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/schedules/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/settings/layout-08f6b30132b26dd1.js +1 -0
- package/.next/standalone/.next/static/chunks/app/settings/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/settings/page-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/settings/team/page-9a2e675124de6aac.js +1 -0
- package/.next/standalone/.next/static/chunks/app/tasks/[id]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/tasks/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/tools/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/tools/page-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/whatsapp/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/chunks/app/workflows/share/[caseId]/page-ac9aed5c6e27d434.js +1 -0
- package/.next/standalone/.next/static/css/3d77d4b95ab1c602.css +1 -0
- package/.next/standalone/.next/static/rhk5TnKsJ_4Rj__U8e3JH/_buildManifest.js +1 -0
- package/.next/standalone/CHANGELOG.md +26 -0
- package/.next/standalone/data/.artifacts-migrated-v1 +1 -1
- package/.next/standalone/data/.default-project-seeded +1 -1
- package/.next/standalone/data/madarx.sqlite +0 -0
- package/.next/standalone/data/madarx.sqlite-shm +0 -0
- package/.next/standalone/data/madarx.sqlite-wal +0 -0
- package/.next/standalone/package.json +1 -1
- package/.next/static/chunks/566-570a4f3feb2e9539.js +1 -0
- package/.next/static/chunks/7695-04c7f1a5233de027.js +1 -0
- package/.next/static/chunks/app/activity/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/agents/[id]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/agents/[id]/page-474f640e84f7b4b5.js +1 -0
- package/.next/static/chunks/app/agents/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/agents/page-b79b611acd56712b.js +1 -0
- package/.next/static/chunks/app/api/activity/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/admin/audit-export/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/admin/share-links/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-memory/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-runs/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-runs/[id]/log/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-runs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agent-runs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/chain/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/memory/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/reports/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/[id]/skills/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/create/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/agents/ops/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/approvals/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/approvals/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/acl/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/protect/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/raw/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/artifacts/upload/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/audit/list/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/audit/search/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/auth/callback/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/auth/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/auth/join-bootstrap/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/auth/session/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/brand/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/brand/share/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/chat/sessions/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/chat/sessions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/config/env/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/connections/[service]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/connections/[service]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/connections/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/cron/tick/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/import/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/dashboard/spaces/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/disk/files/[id]/blob/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/disk/files/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/disk/files/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/disk/folders/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/events/since/[cursor]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/events/stream/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/fs/create-folder/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/fs/pick-folder/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/engagements/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/interviews/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hail/setup-packages/validate/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/heartbeat/tick/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/heartbeat/worker/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/help/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hermes/jobs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/hermes/jobs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/integrations/google/callback/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/integrations/google/oauth/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/marketplace/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/marketplace/open-design/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/marketplace/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/import-roots/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/portfolio/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/projects/[id]/import/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/projects/[id]/publish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/mines/projects/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/missions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/models/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/onboarding/blueprint/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/onboarding/launch/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orchestrator/command/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orchestrator/stream/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orchestrator/upload/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/org/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/invites/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/members/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/invites/pending/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/join/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/join-complete/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/orgs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/printing-press/clis/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/printing-press/install/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/printing-press/security-mode/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/privacy/config/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/privacy/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/[id]/share-link/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/definitions/[slug]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/definitions/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/definitions/validate/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/processes/start-and-route/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/projects/[slug]/library/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/projects/[slug]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/projects/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/runs/approve-claude-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/runs/claude-code-dry-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/runs/competitor-report/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/runs/engine-ping/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/runs/marketing-plan/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/schedules/upsert/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/secrets/[name]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/secrets/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/settings/trust-mode/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/[token]/otp/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/[token]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/[token]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/space/[token]/otp/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/space/[token]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/share/space/[token]/verify/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/shared/spaces/publish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/shared/spaces/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/shared/spaces/status/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/shared/spaces/unpublish/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/state/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/system/update/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/active-run/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/attachments/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/checklist/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/checkout/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/children/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/comments/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/events/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/live-runs/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/release/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tasks/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tool-allowlists/[id]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tool-allowlists/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tool-egress/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tools/[name]/approve/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tools/[name]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/tools/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/transcripts/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/providers/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/realtime/context/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/realtime/session/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/realtime/tool-result/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/realtime/tools/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/voice/tts/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/allowlist/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/disconnect/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/messages/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/qr/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/send/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/api/whatsapp/status/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/approvals/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/architecture/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/audit/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/brand/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/disk/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/federated-ai/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/help/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/layout-eaed78b7751b2b5b.js +1 -0
- package/.next/static/chunks/app/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/login/page-a2344c0b1ef6d31a.js +1 -0
- package/.next/static/chunks/app/marketplace/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/marketplace/page-0b7d3a6309302de3.js +1 -0
- package/.next/static/chunks/app/missions/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/onboarding/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/org/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/page-a716d81055cfaa16.js +1 -0
- package/.next/static/chunks/app/projects/[slug]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/projects/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/projects/page-8c8e47863c240ec7.js +1 -0
- package/.next/static/chunks/app/reports/[file]/route-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/reports/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/runtime/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/schedules/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/settings/layout-08f6b30132b26dd1.js +1 -0
- package/.next/static/chunks/app/settings/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/settings/page-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/settings/team/page-9a2e675124de6aac.js +1 -0
- package/.next/static/chunks/app/tasks/[id]/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/tasks/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/tools/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/tools/page-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/whatsapp/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/workflows/share/[caseId]/page-ac9aed5c6e27d434.js +1 -0
- package/.next/static/css/3d77d4b95ab1c602.css +1 -0
- package/.next/static/rhk5TnKsJ_4Rj__U8e3JH/_buildManifest.js +1 -0
- package/CHANGELOG.md +26 -0
- package/app/agents/[id]/agent-activity-feed.tsx +96 -0
- package/app/agents/[id]/agent-detail-simple.tsx +71 -83
- package/app/agents/[id]/agent-quick-controls.tsx +497 -0
- package/app/agents/[id]/page.js +90 -2
- package/app/api/brand/share/route.js +147 -0
- package/app/api/connections/[service]/verify/route.js +17 -2
- package/app/brand/page.js +131 -0
- package/app/components/dashboard/chat-panel.jsx +121 -28
- package/app/components/ui/button.tsx +56 -0
- package/app/components/ui/prompt-input.tsx +1 -0
- package/app/components/ui/sidebar-avatar.jsx +78 -0
- package/app/components/ui/sidebar-with-submenu.jsx +5 -12
- package/app/components/ui/textarea.tsx +24 -0
- package/app/components/ui/tooltip.tsx +1 -0
- package/app/globals.css +422 -45
- package/app/login/login-client.jsx +198 -85
- package/app/login/page.js +1 -0
- package/lib/agent-templates.js +12 -0
- package/lib/artifact-format.js +22 -4
- package/lib/connection-grant.js +106 -0
- package/lib/connection-seeds.js +126 -0
- package/lib/connections/health-check-verify.js +114 -0
- package/lib/connections/manifest-validator.js +161 -0
- package/lib/marketplace-modules.js +45 -0
- package/lib/marketplace-seeds.js +105 -0
- package/lib/marketplace.js +1 -0
- package/lib/oauth/flow.js +204 -0
- package/lib/oauth/provider-registry.js +102 -0
- package/lib/runtime.js +74 -1
- package/lib/schema.js +43 -0
- package/lib/shared-cloud.js +250 -0
- package/lib/tools/adapters/http-api-call.js +92 -28
- package/lib/tools/connectors/connector-validator.js +27 -1
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/1887.js +0 -2
- package/.next/standalone/.next/server/chunks/3711.js +0 -1
- package/.next/standalone/.next/server/chunks/6098.js +0 -1
- package/.next/standalone/.next/server/chunks/9801.js +0 -1
- package/.next/standalone/.next/static/JcJc6PlL89SQvtZvP-LnU/_buildManifest.js +0 -1
- package/.next/standalone/.next/static/chunks/566-cec91060c32a22d6.js +0 -1
- package/.next/standalone/.next/static/chunks/9077-f54ea987eb597e43.js +0 -1
- package/.next/standalone/.next/static/chunks/app/activity/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/agents/[id]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/agents/[id]/page-66477263de089865.js +0 -1
- package/.next/standalone/.next/static/chunks/app/agents/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/agents/page-64d6bdc6ba3ad4d7.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/activity/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/audit-export/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/admin/share-links/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-memory/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/log/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent-runs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/chain/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/memory/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/reports/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/[id]/skills/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/create/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agents/ops/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/approvals/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/approvals/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/acl/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/protect/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/raw/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/artifacts/upload/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/audit/list/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/audit/search/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/callback/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/join-bootstrap/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/auth/session/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/brand/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/chat/sessions/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/chat/sessions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/config/env/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/connections/[service]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/connections/[service]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/connections/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/cron/tick/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/import/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/dashboard/spaces/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/blob/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/disk/files/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/disk/folders/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/events/since/[cursor]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/events/stream/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/fs/create-folder/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/fs/pick-folder/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/engagements/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/interviews/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hail/setup-packages/validate/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/heartbeat/tick/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/heartbeat/worker/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/help/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/hermes/jobs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/integrations/google/callback/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/integrations/google/oauth/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/marketplace/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/marketplace/open-design/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/marketplace/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/import-roots/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/portfolio/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/import/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/[id]/publish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/mines/projects/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/missions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/models/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/onboarding/blueprint/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/onboarding/launch/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/command/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/stream/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orchestrator/upload/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/org/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/invites/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/members/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/invites/pending/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/join/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/join-complete/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/orgs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/printing-press/clis/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/printing-press/install/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/printing-press/security-mode/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/privacy/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/privacy/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/definitions/validate/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/processes/start-and-route/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/library/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/[slug]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/projects/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/runs/approve-claude-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/runs/claude-code-dry-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/runs/competitor-report/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/runs/engine-ping/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/runs/marketing-plan/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/schedules/upsert/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/secrets/[name]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/secrets/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/settings/trust-mode/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/otp/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/[token]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/otp/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/share/space/[token]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/publish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/status/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/shared/spaces/unpublish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/state/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/system/update/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/active-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/attachments/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checklist/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/checkout/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/children/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/comments/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/live-runs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/release/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tasks/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tool-allowlists/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tool-egress/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/[name]/approve/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/[name]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/transcripts/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/providers/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/context/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/session/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tool-result/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/realtime/tools/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/voice/tts/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/allowlist/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/disconnect/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/messages/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/qr/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/send/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/whatsapp/status/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/approvals/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/architecture/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/audit/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/brand/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/disk/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/federated-ai/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/help/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/layout-1c06759f770a8768.js +0 -1
- package/.next/standalone/.next/static/chunks/app/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/login/page-40932c4c23cafee8.js +0 -1
- package/.next/standalone/.next/static/chunks/app/marketplace/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/marketplace/page-45c6d49f8eddad67.js +0 -1
- package/.next/standalone/.next/static/chunks/app/missions/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/onboarding/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/org/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/page-5c57989fbbcbbf3d.js +0 -1
- package/.next/standalone/.next/static/chunks/app/projects/[slug]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/projects/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/projects/page-15a7a85fa216b575.js +0 -1
- package/.next/standalone/.next/static/chunks/app/reports/[file]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/reports/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/runtime/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/schedules/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/settings/layout-2c1e6807acb6fdad.js +0 -1
- package/.next/standalone/.next/static/chunks/app/settings/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/settings/page-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/settings/team/page-0aee40dfa9e7a430.js +0 -1
- package/.next/standalone/.next/static/chunks/app/tasks/[id]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/tasks/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/tools/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/tools/page-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/whatsapp/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/chunks/app/workflows/share/[caseId]/page-c619e04ba7b0ad20.js +0 -1
- package/.next/standalone/.next/static/css/65c472079b6fd086.css +0 -1
- package/.next/static/JcJc6PlL89SQvtZvP-LnU/_buildManifest.js +0 -1
- package/.next/static/chunks/566-cec91060c32a22d6.js +0 -1
- package/.next/static/chunks/9077-f54ea987eb597e43.js +0 -1
- package/.next/static/chunks/app/activity/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/agents/[id]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/agents/[id]/page-66477263de089865.js +0 -1
- package/.next/static/chunks/app/agents/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/agents/page-64d6bdc6ba3ad4d7.js +0 -1
- package/.next/static/chunks/app/api/activity/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/admin/audit-export/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/admin/share-links/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-memory/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-runs/[id]/cancel/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-runs/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-runs/[id]/log/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-runs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agent-runs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/[id]/chain/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/[id]/memory/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/[id]/reports/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/[id]/run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/[id]/skills/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/create/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/agents/ops/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/approvals/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/approvals/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/acl/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/protect/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/raw/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/share-link/[linkId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/artifacts/upload/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/audit/list/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/audit/search/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/auth/callback/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/auth/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/auth/join-bootstrap/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/auth/session/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/brand/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/chat/sessions/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/chat/sessions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/config/env/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/connections/[service]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/connections/[service]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/connections/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/cron/tick/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/move/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/[linkId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/import/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/dashboard/spaces/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/disk/files/[id]/blob/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/disk/files/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/disk/files/[id]/transcribe/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/disk/files/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/disk/folders/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/events/since/[cursor]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/events/stream/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/fs/create-folder/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/fs/pick-folder/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/blueprint/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/diagnostic/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/governance/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/interview/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/pilot/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/quarterly/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/[id]/setup-package/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/engagements/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/interviews/[id]/responses/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/interviews/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/setup-packages/[id]/apply/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hail/setup-packages/validate/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/heartbeat/tick/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/heartbeat/worker/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/help/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hermes/jobs/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hermes/jobs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/hermes/jobs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/integrations/google/callback/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/integrations/google/oauth/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/marketplace/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/marketplace/open-design/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/marketplace/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/import-roots/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/portfolio/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/projects/[id]/chunks/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/projects/[id]/diligence/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/projects/[id]/import/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/projects/[id]/publish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/mines/projects/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/missions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/models/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/onboarding/blueprint/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/onboarding/launch/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orchestrator/command/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orchestrator/stream/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orchestrator/upload/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/org/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/invites/[inviteId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/invites/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/role/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/members/[userId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/members/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/invites/pending/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/join/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/join-complete/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/orgs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/printing-press/clis/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/printing-press/install/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/printing-press/security-mode/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/privacy/config/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/privacy/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/[id]/share-link/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/override/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/retry/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/[id]/stages/[stageId]/submit/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/definitions/[slug]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/definitions/[slug]/settings/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/definitions/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/definitions/validate/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/processes/start-and-route/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/projects/[slug]/library/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/projects/[slug]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/projects/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/runs/approve-claude-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/runs/claude-code-dry-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/runs/competitor-report/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/runs/engine-ping/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/runs/marketing-plan/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/schedules/upsert/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/secrets/[name]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/secrets/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/settings/trust-mode/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/[token]/otp/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/[token]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/[token]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/space/[token]/otp/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/space/[token]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/share/space/[token]/verify/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/shared/spaces/[id]/acl/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/shared/spaces/publish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/shared/spaces/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/shared/spaces/status/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/shared/spaces/unpublish/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/state/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/system/update/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/active-run/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/attachments/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/checklist/[itemId]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/checklist/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/checkout/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/children/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/comments/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/events/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/live-runs/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/release/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tasks/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tool-allowlists/[id]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tool-allowlists/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tool-egress/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tools/[name]/approve/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tools/[name]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/tools/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/transcripts/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/providers/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/realtime/context/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/realtime/session/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/realtime/tool-result/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/realtime/tools/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/voice/tts/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/allowlist/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/disconnect/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/messages/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/qr/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/send/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/api/whatsapp/status/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/approvals/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/architecture/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/audit/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/brand/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/disk/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/federated-ai/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/help/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/layout-1c06759f770a8768.js +0 -1
- package/.next/static/chunks/app/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/login/page-40932c4c23cafee8.js +0 -1
- package/.next/static/chunks/app/marketplace/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/marketplace/page-45c6d49f8eddad67.js +0 -1
- package/.next/static/chunks/app/missions/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/onboarding/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/org/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/page-5c57989fbbcbbf3d.js +0 -1
- package/.next/static/chunks/app/projects/[slug]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/projects/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/projects/page-15a7a85fa216b575.js +0 -1
- package/.next/static/chunks/app/reports/[file]/route-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/reports/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/runtime/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/schedules/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/settings/layout-2c1e6807acb6fdad.js +0 -1
- package/.next/static/chunks/app/settings/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/settings/page-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/settings/team/page-0aee40dfa9e7a430.js +0 -1
- package/.next/static/chunks/app/tasks/[id]/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/tasks/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/tools/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/tools/page-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/whatsapp/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/workflows/share/[caseId]/page-c619e04ba7b0ad20.js +0 -1
- package/.next/static/css/65c472079b6fd086.css +0 -1
- /package/.next/standalone/.next/static/{JcJc6PlL89SQvtZvP-LnU → rhk5TnKsJ_4Rj__U8e3JH}/_ssgManifest.js +0 -0
- /package/.next/static/{JcJc6PlL89SQvtZvP-LnU → rhk5TnKsJ_4Rj__U8e3JH}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=3066,exports.ids=[3066],exports.modules={6974:(a,b,c)=>{Promise.resolve().then(c.bind(c,35271))},35271:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx","default")},62100:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{"40de292e36176f54a7d30fffebe1a9ce50c0da4028":()=>e.$$RSC_SERVER_ACTION_0});var e=c(91845),f=a([e]);e=(f.then?(await f)():f)[0],d()}catch(a){d(a)}})},86893:(a,b,c)=>{"use strict";c.d(b,{hI:()=>g,iN:()=>f,pp:()=>i,qs:()=>h});var d=c(75338),e=c(35271);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({label:a,value:b,tone:c}){return(0,d.jsxs)("div",{className:`admin-stat ${c||""}`,children:[(0,d.jsx)("b",{children:b}),(0,d.jsx)("span",{children:a})]})}function h({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}function i({title:a,children:b}){return(0,d.jsxs)("div",{className:"admin-empty",children:[(0,d.jsx)("b",{children:a}),(0,d.jsx)("p",{children:b})]})}},89670:(a,b,c)=>{Promise.resolve().then(c.bind(c,94657))},91845:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{$$RSC_SERVER_ACTION_0:()=>u,default:()=>p,dynamic:()=>q,runtime:()=>r});var e=c(75338),f=c(75879);c(68633);var g=c(16780),h=c(82161),i=c(86893),j=c(83963),k=c(60105),l=a([j,k]);[j,k]=l.then?(await l)():l;let q="force-dynamic",r="nodejs",s={executive:"Executive",manager:"Manager",team_lead:"Team Lead",individual_contributor:"Contributor"},t={executive:"mars",manager:"ready",team_lead:"warn",individual_contributor:"neutral"};function m(a=""){return a.split(/\s+/).map(a=>a[0]).filter(Boolean).slice(0,2).join("").toUpperCase()||"\xb7"}let u=async function(a){let b=String(a.get("agent_id")||"").trim();if(!b)return;let c=String(a.get("reports_to")||"").trim(),d={reports_to:""===c?null:c},e=String(a.get("role")||"").trim();e&&(d.role=e);let f=String(a.get("title")||"").trim();(f||a.has("title"))&&(d.title=f||null);try{(0,j.jN)(b,d)}catch(a){console.warn("updateAgentOrg failed",a?.message)}(0,g.revalidatePath)("/org"),(0,g.revalidatePath)("/agents"),(0,h.redirect)("/org")};function n({node:a,workloadById:b}){let c=function(a){if(a.role&&s[a.role])return a.role;let b=a.reports?.length||0;return b>=4?"executive":b>=2?"manager":1===b?"team_lead":"individual_contributor"}(a),d=s[c],f=t[c],g=a.reports?.length||0,h=b.get(a.id),j=Number(h?.active_tasks||0),k=Number(h?.blocked_tasks||0),l=Number(h?.completed_tasks||0),n=a.status||"created";return(0,e.jsxs)("article",{className:`org-card org-card--${c}`,"data-reports":g>0?"has":"none",children:[(0,e.jsxs)("div",{className:"org-card-head",children:[(0,e.jsx)("div",{className:"org-card-avatar","aria-hidden":"true",children:m(a.name)}),(0,e.jsxs)("div",{className:"org-card-identity",children:[(0,e.jsx)("div",{className:"org-card-name",children:a.name}),(0,e.jsx)("div",{className:"org-card-title",children:a.title||a.mission?.slice(0,64)||"No title set"})]})]}),(0,e.jsxs)("div",{className:"org-card-meta",children:[(0,e.jsx)(i.qs,{tone:f,children:d}),(0,e.jsx)(i.qs,{tone:"heartbeat ok"===n?"ready":"terminated"===n?"danger":"neutral",children:n}),g>0?(0,e.jsxs)(i.qs,{tone:"neutral",children:[g," report",1===g?"":"s"]}):null]}),(0,e.jsxs)("dl",{className:"org-card-stats",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Active"}),(0,e.jsx)("dd",{children:j})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Blocked"}),(0,e.jsx)("dd",{className:k?"is-warn":"",children:k})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("dt",{children:"Done"}),(0,e.jsx)("dd",{children:l})]})]})]})}function o({node:a,workloadById:b}){let c=(a.reports||[]).length>0;return(0,e.jsxs)("li",{className:"org-branch",children:[(0,e.jsx)(n,{node:a,workloadById:b}),c?(0,e.jsx)("ul",{className:"org-children",children:a.reports.map(a=>(0,e.jsx)(o,{node:a,workloadById:b},a.id))}):null]})}function p(){let a=(0,j.zP)(),b=(0,j.hC)(),c=(0,k.vc)(),d=new Map((b.workload||[]).map(a=>[a.agent_id,a])),f=c.filter(a=>c.some(b=>b.reports_to===a.id)).length,g=c.filter(a=>!a.reports_to&&a.id).length;return(0,e.jsxs)(i.iN,{title:"Agent chart",description:"Company-style structure for your agent workforce. Set managers, define roles, and see workload at a glance.",children:[(0,e.jsxs)("section",{className:"admin-stats",children:[(0,e.jsx)(i.hI,{label:"Headcount",value:b.totals.active_agents}),(0,e.jsx)(i.hI,{label:"Leaders",value:f}),(0,e.jsx)(i.hI,{label:"Root nodes",value:g}),(0,e.jsx)(i.hI,{label:"Active tasks",value:b.totals.active_tasks})]}),(0,e.jsxs)("section",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Agent chart"}),(0,e.jsx)("small",{children:"Top-down hierarchy. Each card shows role, status, and current workload."})]}),a.length?(0,e.jsx)("div",{className:"org-chart-scroll",children:(0,e.jsx)("ul",{className:"org-chart",children:a.map(a=>(0,e.jsx)(o,{node:a,workloadById:d},a.id))})}):(0,e.jsx)(i.pp,{title:"No agents yet",children:"Create an agent on the Agents page, then come back here to assign managers."})]}),(0,e.jsxs)("section",{className:"admin-grid reports-layout",children:[(0,e.jsxs)("div",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Reporting lines"}),(0,e.jsx)("small",{children:"Re-parent any agent. Cycles are blocked automatically."})]}),c.length?(0,e.jsx)("div",{className:"admin-card-list compact",children:c.map(a=>{let b=a.reports_to?c.find(b=>b.id===a.reports_to):null,d=c.filter(b=>b.id!==a.id),f=a.role&&s[a.role]?a.role:"individual_contributor";return(0,e.jsxs)("form",{action:u,className:"org-reporting-row",children:[(0,e.jsx)("input",{type:"hidden",name:"agent_id",value:a.id}),(0,e.jsxs)("div",{className:"org-reporting-identity",children:[(0,e.jsx)("div",{className:"org-card-avatar small","aria-hidden":"true",children:m(a.name)}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"org-reporting-name",children:a.name}),(0,e.jsx)("div",{className:"org-reporting-sub",children:b?`Reports to ${b.name}`:"Top of chain"})]})]}),(0,e.jsxs)("div",{className:"org-reporting-fields",children:[(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Title"}),(0,e.jsx)("input",{type:"text",name:"title",defaultValue:a.title||"",placeholder:"e.g. Marketing Manager"})]}),(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Role"}),(0,e.jsx)("select",{name:"role",defaultValue:f,children:Object.entries(s).map(([a,b])=>(0,e.jsx)("option",{value:a,children:b},a))})]}),(0,e.jsxs)("label",{className:"org-reporting-field",children:[(0,e.jsx)("span",{children:"Manager"}),(0,e.jsxs)("select",{name:"reports_to",defaultValue:a.reports_to||"",children:[(0,e.jsx)("option",{value:"",children:"— None (top of chain)"}),d.map(a=>(0,e.jsx)("option",{value:a.id,children:a.name},a.id))]})]}),(0,e.jsx)("button",{className:"admin-button",type:"submit",children:"Save"})]})]},a.id)})}):(0,e.jsx)(i.pp,{title:"No agents yet",children:"Create agents to start building your org."})]}),(0,e.jsxs)("div",{className:"admin-panel",children:[(0,e.jsxs)("div",{className:"admin-panel-head",children:[(0,e.jsx)("span",{children:"Workload by agent"}),(0,e.jsx)("small",{children:"Derived from active tasks."})]}),b.workload.length?(0,e.jsx)("div",{className:"admin-card-list compact",children:b.workload.map(a=>(0,e.jsxs)("div",{className:"admin-record compact",children:[(0,e.jsxs)("div",{className:"admin-record-top",children:[(0,e.jsx)("b",{children:a.agent_name||a.agent_id}),(0,e.jsxs)(i.qs,{tone:a.blocked_tasks?"danger":a.active_tasks?"ready":"neutral",children:[a.active_tasks," active"]})]}),(0,e.jsxs)("p",{children:[a.total_tasks," total \xb7 ",a.blocked_tasks," blocked \xb7 ",a.completed_tasks," complete"]})]},a.agent_id))}):(0,e.jsx)(i.pp,{title:"No workload data",children:"Assign tasks to see workload distribution."})]})]})]})}(0,f.A)(u,"40de292e36176f54a7d30fffebe1a9ce50c0da4028",null),d()}catch(a){d(a)}})},94657:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}}};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";exports.id=3230,exports.ids=[3230],exports.modules={17298:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{E:()=>
|
|
1
|
+
"use strict";exports.id=3230,exports.ids=[3230],exports.modules={17298:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{E:()=>k,v:()=>l});var e=c(34255),f=c(4160),g=c(54488),h=c(93154),i=a([e,f,g,h]);[e,f,g,h]=i.then?(await i)():i;let m="personal-org",n="system";function j(a,b,c,d){a.prepare("SELECT item_id FROM marketplace_installations WHERE item_id=?").get(b)?a.prepare(`
|
|
2
2
|
UPDATE marketplace_installations
|
|
3
3
|
SET installed=?, installed_at=?
|
|
4
4
|
WHERE item_id=?
|
|
5
5
|
`).run(+!!c,c?d:null,b):a.prepare(`
|
|
6
6
|
INSERT INTO marketplace_installations (item_id, installed, installed_at)
|
|
7
7
|
VALUES (?, ?, ?)
|
|
8
|
-
`).run(b,+!!c,c?d:null)}function
|
|
8
|
+
`).run(b,+!!c,c?d:null)}function k(a,b){let c=(0,e.getDb)(),d=(0,e.nowIso)(),i=a?.module?.module_id||a?.slug;"mines"===i?(0,g.g)():function(a){let b=Array.isArray(a?.module?.agents)?a.module.agents:[];for(let a of b)try{(0,h.pz)(a,"personal")}catch{}}(a),j(c,a.id,!0,d);try{(0,f.appendComplianceAudit)({user_id:n,org_id:m,action:"marketplace.module.installed",status:"success",summary:`Installed module ${a.title||a.slug||a.id}`,action_target_id:a.id,action_target_type:"marketplace_module",meta:{module_id:i,slug:a.slug}})}catch{}return b(a.id)}function l(a,b){let c=(0,e.getDb)(),d=(0,e.nowIso)(),i=a?.module?.module_id||a?.slug,k=0,l=0;c.exec("BEGIN");try{"mines"===i?(k=function(a){try{let b=a.prepare("SELECT COUNT(*) AS n FROM mines_projects").get(),c=Number(b?.n)||0;return c>0&&a.prepare("DELETE FROM mines_projects").run(),c}catch{return 0}}(c),l=(0,g.L)()):l=function(a,b){let c=Array.isArray(b?.module?.agents)?b.module.agents:[],d=0;for(let b of c)try{let c=a.prepare("SELECT agent_id FROM agent_template_installations WHERE template_slug = ? AND project_id = 'personal'").get(b);c?.agent_id&&((0,h.I2)(c.agent_id),d+=1)}catch{}return d}(c,a),j(c,a.id,!1,d),c.exec("COMMIT")}catch(a){throw c.exec("ROLLBACK"),a}try{(0,f.appendComplianceAudit)({user_id:n,org_id:m,action:"marketplace.module.uninstalled",status:"success",summary:`Uninstalled module ${a.title||a.slug||a.id} (removed ${l} agent(s), ${k} project(s))`,action_target_id:a.id,action_target_type:"marketplace_module",meta:{module_id:i,slug:a.slug,removed_agents:l,removed_projects:k}})}catch{}return b(a.id)}d()}catch(a){d(a)}})},23230:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Gq:()=>u,N4:()=>y,O2:()=>x,QH:()=>t,Uk:()=>v,iN:()=>z});var e=c(73024),f=c(76760),g=c(34255),h=c(9381),i=c(26531),j=c(40718),k=c(93154),l=c(9013),m=c(17298),n=a([g,j,k,l,m]);[g,j,k,l,m]=n.then?(await n)():n;let A=new Set(["tool","skill","bundle","agent","connection","workflow","module"]);function o(a,b){if(!a)return b;try{let c=JSON.parse(a);return null==c?b:c}catch{return b}}function p(a){let b=!!a.enabled,c=!!a.available;return{id:`tool:${a.name}`,kind:"tool",slug:a.name,title:a.title||a.name,description:a.description||"",category:a.category,author:"madarx",source:{kind:"builtin",url:null},version:null,installed:b,available:c,risk_summary:null,tags:[a.category,a.risk_level].filter(Boolean),tool:{risk_level:a.risk_level,approval_mode:a.approval_mode,required_env:a.required_env||[],missing_env:a.missing_env||[],available:c,connector:a.connector||null},skill:null,bundle:null,agent:null}}function q(a,b){let c=o(a.manifest_json,{}),d=o(a.tags,[]),e=o(b?.settings_json,{})||{},f={id:a.id,kind:a.kind,slug:a.slug,title:a.title,description:a.description||"",category:a.category,author:a.author,source:{kind:a.source_kind,url:a.source_url||null},version:a.version||null,installed:!!b?.installed,available:!0,risk_summary:a.risk_summary||null,tags:Array.isArray(d)?d:[],tool:null,skill:null,bundle:null,agent:null,connection:null,workflow:null,module:null};if("skill"===a.kind)f.skill={invocation:c.invocation||`/${a.slug}`,file_paths:Array.isArray(c.file_paths)?c.file_paths:[],trigger_examples:Array.isArray(c.trigger_examples)?c.trigger_examples:[]};else if("connection"===a.kind)f.connection={service_key:c.service_key||a.slug,setup_kind:c.setup_kind||"api_key",benefit:c.benefit||a.description||"",credentials:Array.isArray(c.credentials)?c.credentials:[],verify_endpoint:c.verify_endpoint||null,verify_supported:!!c.verify_supported,deep_link:c.deep_link||null,unlocks_tool_slugs:Array.isArray(c.unlocks_tool_slugs)?c.unlocks_tool_slugs:[],engines:Array.isArray(c.engines)?c.engines:[],logo_glyph:c.logo_glyph||a.slug,requires_daemon:c.requires_daemon||null,last_verified_at:e.last_verified_at||null,account_label:e.account_label||null,last_4:e.last_4||null,summary:e.summary||null};else if("agent"===a.kind){f.agent=c.agent||c||{};try{let b=(0,g.getDb)().prepare("SELECT agent_id, project_id FROM agent_template_installations WHERE template_slug = ? AND status = 'active'").all(a.slug);f.installed=b.length>0,f.install_count=b.length,f.agent.installed_instances=b.map(a=>({agent_id:a.agent_id,project_id:a.project_id}))}catch{}}else if("bundle"===a.kind)f.bundle={item_refs:Array.isArray(c.item_refs)?c.item_refs:[],published_count:Number.isFinite(c.published_count)?c.published_count:Array.isArray(c.item_refs)?c.item_refs.length:0,license:c.license||null,note:c.note||null};else if("workflow"===a.kind){let d=c.source_spec_json&&"object"==typeof c.source_spec_json?c.source_spec_json:null,g=d&&Array.isArray(d.stages)?d.stages.length:0,h=d&&Array.isArray(d.stages)?d.stages.map(a=>a&&a.kind).filter(Boolean):[];f.workflow={definition_slug:d?.slug||a.slug,schema_version:d?.schema_version||1,stage_count:g,stage_kinds:h,summary:c.summary||a.description||"",source_spec_json:d};try{let c=e.workflow_definition_slug,d=e.installed_by_marketplace_item_id;if(b?.installed&&d===a.id&&c){let a=(0,l.Ao)(c);f.installed=!!(a&&"archived"!==a.status)}}catch{}}else"module"===a.kind&&(f.module={module_id:c.module_id||a.slug,agents:Array.isArray(c.agents)?c.agents:[],tools:Array.isArray(c.tools)?c.tools:[],skill_packs:Array.isArray(c.skill_packs)?c.skill_packs:[],connections:Array.isArray(c.connections)?c.connections:[],workflow_templates:Array.isArray(c.workflow_templates)?c.workflow_templates:[],nav:Array.isArray(c.nav)?c.nav:[]});return f}function r(){return(0,j.n4)().map(p)}function s(a){let b=(0,g.getDb)(),c=[],d=`
|
|
9
9
|
SELECT i.*, m.installed, m.settings_json
|
|
10
10
|
FROM marketplace_items i
|
|
11
11
|
LEFT JOIN marketplace_installations m ON m.item_id = i.id
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=5093,exports.ids=[5093],exports.modules={9866:(a,b,c)=>{"use strict";c.d(b,{N:()=>f});let d=null,e=new Set;function f(a){return e.add(a),()=>{if(e.delete(a),0===e.size&&d){try{d.close()}catch{}d=null}}}},23062:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(65751).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},35271:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/admin/project-switcher.jsx","default")},65169:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/home/runner/work/madarx-os/madarx-os/node_modules/next/dist/client/app-dir/link.js")},84177:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f({engines:a,initialEngine:b="claude-code",initialModel:c=""}){let[f,g]=(0,e.useState)(b),h=a.find(a=>a.id===f),i=h?.models||[],j=i.some(a=>a.name===c),k=j?c:h?.default_model||"";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("select",{name:"engine",value:f,onChange:a=>g(a.target.value),"aria-label":"Engine",children:a.map(a=>(0,d.jsxs)("option",{value:a.id,children:[a.label,a.available?"":" — unavailable"]},a.id))}),i.length>0?(0,d.jsx)("select",{name:"model",defaultValue:k,"aria-label":"Model",children:i.map(a=>(0,d.jsx)("option",{value:a.name,children:a.name},a.name))},f):(0,d.jsx)("input",{name:"model",defaultValue:j?c:"",placeholder:"model id (optional)","aria-label":"Model"},f)]})}},86893:(a,b,c)=>{"use strict";c.d(b,{hI:()=>g,iN:()=>f,pp:()=>i,qs:()=>h});var d=c(75338),e=c(35271);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({label:a,value:b,tone:c}){return(0,d.jsxs)("div",{className:`admin-stat ${c||""}`,children:[(0,d.jsx)("b",{children:b}),(0,d.jsx)("span",{children:a})]})}function h({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}function i({title:a,children:b}){return(0,d.jsxs)("div",{className:"admin-empty",children:[(0,d.jsx)("b",{children:a}),(0,d.jsx)("p",{children:b})]})}},87866:(a,b,c)=>{"use strict";c.d(b,{IU:()=>l,S8:()=>h,si:()=>j,y2:()=>i});var d=c(21124);c(38301);let e=a=>({width:a,height:a,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0}),f={github:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.92.57.1.78-.25.78-.55v-1.93c-3.2.69-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.26.73-1.55-2.55-.29-5.24-1.28-5.24-5.7 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.47.11-3.06 0 0 .97-.31 3.19 1.18.92-.26 1.91-.39 2.9-.39s1.98.13 2.9.39c2.21-1.49 3.18-1.18 3.18-1.18.63 1.59.23 2.77.11 3.06.74.81 1.19 1.84 1.19 3.1 0 4.43-2.69 5.41-5.26 5.69.41.36.77 1.06.77 2.13v3.16c0 .31.21.66.79.55C20.21 21.38 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5Z"})})},label:"GitHub",tint:"#181717"},supabase:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,children:[(0,d.jsx)("defs",{children:(0,d.jsxs)("linearGradient",{id:"sb-a",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,d.jsx)("stop",{offset:"0",stopColor:"#3ECF8E"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#249361"})]})}),(0,d.jsx)("path",{fill:"url(#sb-a)",d:"M13.4 22.6c-.6.8-1.9.3-1.9-.7v-7.4H5.8c-1 0-1.5-1.1-.9-1.9L10.6 1.4c.6-.8 1.9-.3 1.9.7v7.4h5.7c1 0 1.5 1.1.9 1.9L13.4 22.6Z"})]})},label:"Supabase",tint:"#3ECF8E"},vercel:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12 2 22 20H2L12 2Z"})})},label:"Vercel",tint:"#111318"},email:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M3 3h7.5c2.9 0 5 1.9 5 4.7 0 1.9-1 3.4-2.7 4.1l3.7 5.5c.4.6 0 1.5-.8 1.5h-2c-.4 0-.8-.2-1-.5l-3.3-5.1H7v4.6c0 .5-.4 1-1 1H4c-.6 0-1-.5-1-1V3Zm4 6.2h3.3c1.3 0 2.1-.7 2.1-1.8s-.8-1.7-2.1-1.7H7v3.5Z"})})},label:"Resend",tint:"#111318"},gmail:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,children:[(0,d.jsx)("path",{fill:"#4285F4",d:"M2 6.5C2 5.7 2.7 5 3.5 5h.7L12 11l7.8-6h.7c.8 0 1.5.7 1.5 1.5V18c0 .8-.7 1.5-1.5 1.5h-2V10l-6.5 5L5 10v9.5H3.5C2.7 19.5 2 18.8 2 18V6.5Z"}),(0,d.jsx)("path",{fill:"#34A853",d:"M5 10v9.5H3.5C2.7 19.5 2 18.8 2 18V6.5L5 10Z"}),(0,d.jsx)("path",{fill:"#FBBC04",d:"M22 6.5V18c0 .8-.7 1.5-1.5 1.5H19V10l3-3.5Z"}),(0,d.jsx)("path",{fill:"#EA4335",d:"M2 6.5C2 5.7 2.7 5 3.5 5h.7L12 11 4.2 5h-.7C2.7 5 2 5.7 2 6.5Z"})]})},label:"Gmail",tint:"#EA4335"},web:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,d.jsx)("path",{d:"M3 12h18M12 3a13 13 0 010 18M12 3a13 13 0 000 18"})]})},label:"Web",tint:"#5A7099"},local_machine:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"2.5",y:"4.5",width:"19",height:"15",rx:"2.5"}),(0,d.jsx)("path",{d:"m7 10 3 2-3 2M13 14h4"})]})},label:"Local",tint:"#1f242c"},travel:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V18l-2 1.5V21l3.5-1L15 21v-1.5L13 18v-4.5l8 2.5Z"})})},label:"Travel",tint:"#2563EB"},calendar:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3.5",y:"5",width:"17",height:"15",rx:"2"}),(0,d.jsx)("path",{d:"M3.5 10h17M8 3v4M16 3v4"})]})},label:"Calendar",tint:"#1f6c9f"},core:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"}),(0,d.jsx)("rect",{x:"9.5",y:"9.5",width:"5",height:"5"}),(0,d.jsx)("path",{d:"M9 3v3M15 3v3M9 18v3M15 18v3M3 9h3M3 15h3M18 9h3M18 15h3"})]})},label:"Core",tint:"#3a3f47"}},g={"claude-code":{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"#D97757",d:"M5.9 16.6 9.4 8.6h.7l3.5 8h-1.6l-.9-2.2h-3l-.9 2.2H5.9Zm3-3.5h2.2l-1.1-2.7-1.1 2.7Zm5.8 3.5v-8h2.6c1.6 0 2.7 1 2.7 2.5 0 1.6-1.1 2.5-2.7 2.5h-1v3h-1.6Zm1.6-4.4h.9c.8 0 1.3-.4 1.3-1.1 0-.7-.5-1.1-1.3-1.1h-.9v2.2Z"})})},label:"Claude Code",tint:"#D97757"},anthropic:{Icon:function({size:a=16,...b}){return(0,d.jsx)("svg",{...e(a),...b,children:(0,d.jsx)("path",{fill:"currentColor",d:"M6 19 11 5h2l5 14h-2.3l-1.1-3.2H9.4L8.3 19H6Zm4-5h4l-2-5.9-2 5.9Z"})})},label:"Anthropic",tint:"#1f1a12"},ollama:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M12 3c4 0 7 3.5 7 8v4a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-4c0-4.5 3-8 7-8Z"}),(0,d.jsx)("circle",{cx:"9.5",cy:"11.5",r:"1",fill:"currentColor"}),(0,d.jsx)("circle",{cx:"14.5",cy:"11.5",r:"1",fill:"currentColor"})]})},label:"Ollama",tint:"#1f242c"}};function h(a){return a&&f[a]||null}function i(a){return a&&g[a]||null}function j({category:a,size:b=14,className:c}){let e=h(a);if(!e)return null;let{Icon:f,tint:g}=e;return(0,d.jsx)(f,{size:b,className:c,style:{color:g}})}let k={skill:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M4 5.5A1.5 1.5 0 0 1 5.5 4H11v15H5.5A1.5 1.5 0 0 1 4 17.5v-12Z"}),(0,d.jsx)("path",{d:"M20 5.5A1.5 1.5 0 0 0 18.5 4H13v15h5.5a1.5 1.5 0 0 0 1.5-1.5v-12Z"}),(0,d.jsx)("path",{d:"M7 8h1.5M7 11h1.5M15.5 8H17M15.5 11H17"})]})},label:"Skill"},bundle:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3.5",y:"3.5",width:"9",height:"9",rx:"2"}),(0,d.jsx)("rect",{x:"11.5",y:"11.5",width:"9",height:"9",rx:"2"}),(0,d.jsx)("rect",{x:"7.5",y:"7.5",width:"9",height:"9",rx:"2"})]})},label:"Bundle"},agent:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"8",r:"3.5"}),(0,d.jsx)("path",{d:"M4.5 20c.7-3.8 3.8-6 7.5-6s6.8 2.2 7.5 6"})]})},label:"Agent"},workflow:{Icon:function({size:a=16,...b}){return(0,d.jsxs)("svg",{...e(a),...b,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("rect",{x:"3",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("rect",{x:"9.5",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("rect",{x:"16",y:"9",width:"5",height:"6",rx:"1.4"}),(0,d.jsx)("path",{d:"M8 12h1.5M14.5 12H16"})]})},label:"Workflow"}};function l({kind:a,size:b=18,className:c}){let e=k[a];if(!e)return null;let{Icon:f}=e;return(0,d.jsx)(f,{size:b,className:c})}},91136:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{label:"Agents"})}},94657:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}},95374:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f({agentId:a}){let[b,c]=(0,e.useState)(!1),[f,g]=(0,e.useState)(!1);async function h(){if(!b&&!f){g(!0),c(!0);try{(await fetch(`/api/agents/${encodeURIComponent(a)}/run`,{method:"POST"})).ok||c(!1)}catch{c(!1)}finally{g(!1)}}}let i=b||f;return(0,d.jsx)("button",{type:"button",className:"admin-button",title:i?"Agent is running":"Run now",onClick:h,disabled:i,"aria-busy":i||void 0,children:i?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"agent-run-spinner","aria-hidden":"true"}),"Running…"]}):"Run"})}c(9866)}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=5864,exports.ids=[5115,5864,7496],exports.modules={25799:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(82831),e=c(43740),f=c(29305),g=c(61981),h=c(26906),i=c(69168);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},29088:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(98541).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},47614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(91203),e=c(92781),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},64404:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(98541).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},64712:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(25799).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},67837:(a,b,c)=>{function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(98541).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},68633:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{decryptActionBoundArgs:function(){return s},encryptActionBoundArgs:function(){return r}}),c(77925);let d=c(97954),e=c(27825),f=c(47686),g=c(77533),h=c(63033),i=c(26906),j=function(a){return a&&a.__esModule?a:{default:a}}(c(74515)),k=new TextEncoder,l=new TextDecoder,m=void 0,n=void 0;async function o(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=atob(b),e=d.slice(0,16),f=d.slice(16),h=l.decode(await (0,g.decrypt)(c,(0,g.stringToUint8Array)(e),(0,g.stringToUint8Array)(f)));if(!h.startsWith(a))throw Object.defineProperty(Error("Invalid Server Action payload: failed to decrypt."),"__NEXT_ERROR_CODE",{value:"E191",enumerable:!1,configurable:!0});return h.slice(a.length)}async function p(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=new Uint8Array(16);h.workUnitAsyncStorage.exit(()=>crypto.getRandomValues(d));let e=(0,g.arrayBufferToString)(d.buffer),f=await (0,g.encrypt)(c,d,k.encode(a+b));return btoa(e+(0,g.arrayBufferToString)(f))}var q=function(a){return a[a.Ready=0]="Ready",a[a.Pending=1]="Pending",a[a.Complete=2]="Complete",a}(q||{});let r=j.default.cache(async function a(b,...c){let e=h.workUnitAsyncStorage.getStore(),j=e?(0,h.getCacheSignal)(e):void 0,{clientModules:k}=(0,g.getClientReferenceManifestForRsc)(),l=Error();Error.captureStackTrace(l,a);let n=!1,o=e?(0,i.createHangingInputAbortSignal)(e):void 0,q=0;function r(){0===q&&(q=1,null==j||j.beginRead())}function s(){1===q&&(null==j||j.endRead()),q=2}o&&j&&o.addEventListener("abort",r,{once:!0});let t=await (0,f.streamToString)((0,d.renderToReadableStream)(c,k,{filterStackFrame:m,signal:o,onError(a){(null==o||!o.aborted)&&(n||(n=!0,l.message=a instanceof Error?a.message:String(a)))}}),o);if(n)throw s(),l;if(!e)return p(b,t);r();let u=(0,h.getPrerenderResumeDataCache)(e),v=(0,h.getRenderResumeDataCache)(e),w=b+t,x=(null==u?void 0:u.encryptedBoundArgs.get(w))??(null==v?void 0:v.encryptedBoundArgs.get(w));if(x)return x;let y=await p(b,t);return s(),null==u||u.encryptedBoundArgs.set(w,y),y});async function s(a,b){let c,d=await b,f=h.workUnitAsyncStorage.getStore();if(f){let b=(0,h.getCacheSignal)(f),e=(0,h.getPrerenderResumeDataCache)(f),g=(0,h.getRenderResumeDataCache)(f);(c=(null==e?void 0:e.decryptedBoundArgs.get(d))??(null==g?void 0:g.decryptedBoundArgs.get(d)))||(null==b||b.beginRead(),c=await o(a,d),null==b||b.endRead(),null==e||e.decryptedBoundArgs.set(d,c))}else c=await o(a,d);let{edgeRscModuleMapping:i,rscModuleMapping:j}=(0,g.getClientReferenceManifestForRsc)();return await (0,e.createFromReadableStream)(new ReadableStream({start(a){switch(a.enqueue(k.encode(c)),null==f?void 0:f.type){case"prerender":case"prerender-runtime":f.renderSignal.aborted?a.close():f.renderSignal.addEventListener("abort",()=>a.close(),{once:!0});break;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case void 0:return a.close()}}}),{findSourceMapURL:n,serverConsumerManifest:{moduleLoading:null,moduleMap:j,serverModuleMap:(0,g.getServerModuleMap)()}})}},75879:(a,b,c)=>{Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(97954)},82161:(a,b,c)=>{var d=c(93045);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}}),c.o(d,"redirect")&&c.d(b,{redirect:function(){return d.redirect}})},90386:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(65751).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},93045:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return k},RedirectType:function(){return e.RedirectType},forbidden:function(){return g.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return i.unstable_rethrow}});let d=c(47614),e=c(92781),f=c(64404),g=c(67837),h=c(29088),i=c(64712);class j extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class k extends URLSearchParams{append(){throw new j}delete(){throw new j}set(){throw new j}sort(){throw new j}}function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=6059,exports.ids=[6059],exports.modules={2041:(a,b,c)=>{Promise.resolve().then(c.bind(c,49773)),Promise.resolve().then(c.bind(c,36697))},2987:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(97523);let e=async a=>[{type:"image/png",sizes:"64x64",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?4138ae2e9ba66d8a"}]},30724:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx","default")},36697:(a,b,c)=>{"use strict";c.d(b,{default:()=>H});var d=c(21124),e=c(38301),f=c(3991),g=c.n(f),h=c(42378),i=c(30242),j=c(11941),k=c(63881),l=c(23007),m=c(99802),n=c(93673),o=c(74905),p=c(39153),q=c(26890),r=c(77703),s=c(59153),t=c(30079),u=c(75571),v=c(13044),w=c(45423),x=c(79401),y=c(36248),z=c(81868),A=c(80207);let B=[{group:"work",name:"Overview",href:"/",icon:k.A},{group:"work",name:"Projects",href:"/projects",icon:l.A},{group:"work",name:"Agents",href:"/agents",icon:m.A},{group:"work",name:"Tasks",href:"/tasks",icon:n.A},{group:"work",name:"Workflows",href:"/workflows",icon:o.A},{group:"work",name:"Approvals",href:"/approvals",icon:p.A},{group:"library",name:"Marketplace",href:"/marketplace",icon:q.A}],C={Pickaxe:r.A,Boxes:s.A,Gem:t.A,FlaskConical:u.A,Factory:v.A,Building2:w.A,Package:q.A,FolderOpen:l.A,Workflow:o.A},D=[{name:"Settings",icon:x.A,href:"/settings"}];function E(a,b){return!!a&&("/"===b?"/"===a:a===b||a.startsWith(`${b}/`))}function F(a){a.currentTarget?.blur?.()}function G({item:a,active:b}){let c=a.icon;return(0,d.jsxs)(g(),{href:a.href,prefetch:!0,"aria-label":a.name,"aria-current":b?"page":void 0,"data-active":b?"true":void 0,onClick:F,className:`relative flex items-center justify-center p-2 rounded-lg transition-colors duration-150 group ${b?"text-[#C2452A]":"text-[#69707a] hover:text-[#111318] hover:bg-[rgba(17,19,24,0.08)] active:bg-[rgba(17,19,24,0.12)]"}`,children:[(0,d.jsx)(c,{className:"w-5 h-5",strokeWidth:1.75,"aria-hidden":"true"}),(0,d.jsx)("span",{className:"absolute left-12 px-2 py-1 rounded-md whitespace-nowrap text-xs text-white bg-[#111318] hidden group-hover:inline-block group-focus-visible:inline-block z-50 shadow-lg pointer-events-none",children:a.name})]})}function H({moduleNav:a=[]}){let b=(0,h.usePathname)(),{session:c,signOut:f}=function(){let[a,b]=(0,e.useState)(null),c=(0,h.useRouter)();return{session:a,signOut:async function(){await fetch("/api/auth/session",{method:"DELETE"}).catch(()=>null),c.replace("/login"),c.refresh()}}}(),[k,l]=(0,e.useState)(null),m=(Array.isArray(a)?a:[]).map(a=>({group:"module",name:a.label,href:a.href,icon:C[a.icon]||s.A})),n=[...B.filter(a=>"work"===a.group),...m,...B.filter(a=>"library"===a.group)],o=c?.email||"Local owner",p="local"===(c?.auth_mode||"local"),q=(c?.email||c?.display_name||"AK").slice(0,2).toUpperCase();return(0,d.jsxs)("aside",{className:"relative z-30 h-full w-full rounded-[18px] border border-white/75 bg-[var(--glass)] backdrop-blur-[22px] backdrop-saturate-150 shadow-[0_18px_54px_rgba(37,36,34,0.16)] flex flex-col","aria-label":"Primary navigation",children:[(0,d.jsx)("div",{className:"h-20 flex items-center justify-center px-3 shrink-0",children:(0,d.jsx)(g(),{href:"/",prefetch:!0,className:"flex-none","aria-label":"madarX home",onClick:F,children:(0,d.jsx)("img",{src:"/madarx-mark.svg",alt:"madarX",width:32,height:32,className:"block text-[#111318]"})})}),(0,d.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 text-sm font-medium flex-1 space-y-1",children:n.map((a,c)=>{let e=n[c-1],f=e&&e.group!==a.group,g=E(b,a.href);return(0,d.jsxs)("li",{children:[f?(0,d.jsx)("div",{"aria-hidden":"true",className:"mx-2 my-2 h-px bg-[rgba(20,22,26,0.09)]"}):null,(0,d.jsx)(G,{item:a,active:g})]},a.name)})}),(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 pb-3 pt-2 text-sm font-medium space-y-1",children:D.map(a=>{let c=E(b,a.href);return(0,d.jsx)("li",{children:(0,d.jsx)(G,{item:a,active:c})},a.name)})}),(0,d.jsx)("div",{className:"relative py-4 px-3 border-t border-[rgba(20,22,26,0.09)] flex justify-center",children:(0,d.jsxs)(i.bL,{children:[(0,d.jsx)(i.l9,{className:"outline-none rounded-full border-0 bg-transparent p-0 appearance-none cursor-pointer focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50","aria-label":"Account menu",children:(0,d.jsxs)(j.bL,{className:"w-10 h-10 rounded-full overflow-hidden cursor-pointer block",children:[(0,d.jsx)(j._V,{className:"w-full h-full object-cover",src:"/madarx-mark.svg",alt:"AK"}),(0,d.jsx)(j.H4,{className:"flex w-full h-full items-center justify-center text-white text-xs font-bold tracking-wider bg-gradient-to-br from-[#111318] to-[#565d6b]",delayMs:150,children:q})]})}),(0,d.jsx)(i.ZL,{children:(0,d.jsxs)(i.UC,{side:"right",align:"end",sideOffset:12,className:"w-64 rounded-xl bg-white shadow-[0_22px_60px_rgba(17,19,24,0.20)] border border-[rgba(20,22,26,0.09)] text-sm text-[#59606b] p-2 z-[100]",children:[(0,d.jsx)("div",{className:"px-2 py-1.5 text-[11px] uppercase tracking-[0.14em] text-[var(--accent-600)] font-bold",children:p?"Local operator":"Signed in"}),(0,d.jsx)("span",{className:"block text-[#68707b] px-2 pb-2 truncate",children:o}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Dashboard"})}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/settings",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Settings"})}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),k?.behind&&k?.latest?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/",className:"flex items-center justify-between gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsxs)("span",{className:"flex items-center gap-x-2",children:[(0,d.jsx)(y.A,{className:"w-4 h-4 text-[var(--accent-600)]",strokeWidth:1.75}),"Update available"]}),(0,d.jsxs)("span",{className:"text-[11px] font-semibold text-[var(--accent-600)]",children:["v",k.latest]})]})}):(0,d.jsxs)("div",{className:"flex items-center justify-between px-2 py-2 text-[12px] text-[#9aa1ab]",children:[(0,d.jsx)("span",{children:"Version"}),(0,d.jsx)("span",{className:"font-medium text-[#68707b]",children:k?.current?`v${k.current}`:"—"})]}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),p?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/settings/account",className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsx)(z.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign in with an account"]})}):(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)("button",{type:"button",onClick:f,className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer text-[#313740]",children:[(0,d.jsx)(A.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign out"]})})]})})]})})]})]})}},49773:(a,b,c)=>{"use strict";c.d(b,{default:()=>p});var d=c(21124),e=c(38301),f=c(42378);let g=[{id:"set-anthropic-key",title:"Set Anthropic API key",category:"Credentials",keywords:["anthropic","api key","claude","apikey","llm","token","cloud engine"],kind:"secret",secretName:"ANTHROPIC_API_KEY",field:{label:"ANTHROPIC_API_KEY",type:"password",placeholder:"sk-ant-…",help:"Used by the Anthropic cloud engine. Stored encrypted in the secrets vault."},settingsHref:"/settings/tools",docSlug:"set-anthropic-key"},{id:"set-resend-key",title:"Set Resend API key (email)",category:"Credentials",keywords:["resend","email","api key","smtp","send mail"],kind:"secret",secretName:"RESEND_API_KEY",field:{label:"RESEND_API_KEY",type:"password",placeholder:"re_…",help:"Enables the email tool. Encrypted at rest."},settingsHref:"/settings/connectors",docSlug:"set-resend-key"},{id:"set-github-token",title:"Set GitHub token",category:"Credentials",keywords:["github","token","pat","api key","git","repo"],kind:"secret",secretName:"GITHUB_TOKEN",field:{label:"GITHUB_TOKEN",type:"password",placeholder:"ghp_… / github_pat_…",help:"Personal access token for the GitHub tool adapter."},settingsHref:"/settings/connectors",docSlug:"set-github-token"},{id:"set-supabase-url",title:"Set Supabase URL",category:"Credentials",keywords:["supabase","url","database","project url","connect"],kind:"secret",secretName:"SUPABASE_URL",field:{label:"SUPABASE_URL",type:"text",placeholder:"https://xxxx.supabase.co",help:"Project URL for Supabase writes + shared cloud layer."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-supabase-service-key",title:"Set Supabase service-role key",category:"Credentials",keywords:["supabase","service role","key","api key","secret","database"],kind:"secret",secretName:"SUPABASE_SERVICE_ROLE_KEY",field:{label:"SUPABASE_SERVICE_ROLE_KEY",type:"password",placeholder:"eyJ…",help:"Server-side service-role key. Never exposed to the browser."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-default-model",title:"Set default model",category:"Agent runtime",keywords:["model","default model","llm","opus","sonnet","haiku","picker"],kind:"config",configKey:"model",field:{label:"Default model",type:"select",help:"Model the main agent uses by default.",options:[{value:"claude-opus-4-7",label:"Opus 4.7"},{value:"claude-sonnet-4-6",label:"Sonnet 4.6"},{value:"claude-haiku-4-5-20251001",label:"Haiku 4.5"}]},settingsHref:"/settings/engines",docSlug:"choose-agent-engine"},{id:"set-design-style",title:"Set artifact design style",category:"Agent runtime",keywords:["design","style","aesthetic","minimal","bold","soft","balanced","artifact"],kind:"config",configKey:"designStyle",field:{label:"Design style",type:"select",help:"Visual style agents use when producing artifacts.",options:[{value:"balanced",label:"Balanced"},{value:"minimal",label:"Minimal"},{value:"bold",label:"Bold"},{value:"soft",label:"Soft"}]},settingsHref:"/settings/brand",docSlug:null},{id:"set-trust-mode",title:"Set main-agent trust mode",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","permission","gate"],kind:"trust-mode",field:{label:"Trust mode",type:"select",help:"Warning: auto lets the main agent run high-and-below risk tool calls WITHOUT asking you first (irreversible_external is always gated). Saving auto confirms this. approval_required is the safe default.",options:[{value:"approval_required",label:"Approval required (safe default)"},{value:"auto",label:"Auto (skip gate for ≤ high risk)"}]},settingsHref:"/settings/advanced",docSlug:"set-trust-mode"}],h=[{id:"start-whatsapp-bridge",slug:"start-whatsapp-bridge",title:"Start the WhatsApp bridge",summary:"Pair a dedicated WhatsApp number and run the gateway daemon so agents can send and receive messages.",category:"Channels",keywords:["whatsapp","bridge","gateway","baileys","pair","daemon","messages"],related:["secrets-vault-overview"]},{id:"set-api-key",slug:"set-api-key",title:"Set an API key",summary:"How API keys and secrets are stored, and the fastest way to add one from anywhere with Cmd+K.",category:"Credentials",keywords:["api key","secret","credential","token","vault","set key"],related:["set-anthropic-key","connect-supabase","secrets-vault-overview"]},{id:"set-anthropic-key",slug:"set-anthropic-key",title:"Set the Anthropic API key",summary:"Add the Anthropic key that powers the cloud engine.",category:"Credentials",keywords:["anthropic","api key","claude","cloud engine","llm"],related:["choose-agent-engine","set-api-key"]},{id:"set-resend-key",slug:"set-resend-key",title:"Set the Resend API key (email)",summary:"Enable the email tool by adding a Resend key.",category:"Credentials",keywords:["resend","email","api key","send mail"],related:["set-api-key"]},{id:"set-github-token",slug:"set-github-token",title:"Set a GitHub token",summary:"Add a personal access token to unlock the GitHub tool adapter.",category:"Credentials",keywords:["github","token","pat","repo","api key"],related:["set-api-key"]},{id:"connect-supabase",slug:"connect-supabase",title:"Connect Supabase",summary:"Wire up Supabase URL and keys for database writes and the shared cloud layer.",category:"Credentials",keywords:["supabase","database","connect","url","service role","shared cloud"],related:["set-api-key","secrets-vault-overview"]},{id:"choose-agent-engine",slug:"choose-agent-engine",title:"Choose an agent engine",summary:"Pick between claude-code, anthropic, ollama, codex, and hermes — and what each needs.",category:"Agent runtime",keywords:["engine","model","claude-code","ollama","codex","hermes","anthropic","local"],related:["set-anthropic-key"]},{id:"set-trust-mode",slug:"set-trust-mode",title:"Set trust mode",summary:"Control whether the main agent gates risky tool calls or runs them automatically.",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","risk","gate"],related:["create-agent"]},{id:"create-agent",slug:"create-agent",title:"Create an agent",summary:"Spin up a worker, set its schedule, scope its tools, and run it.",category:"Getting started",keywords:["agent","create","worker","new agent","caretaker","roster"],related:["schedules-and-cron","set-trust-mode"]},{id:"schedules-and-cron",slug:"schedules-and-cron",title:"Schedules and cron",summary:"How schedules queue durable heartbeat work, backfill missed windows, and run automatically.",category:"Getting started",keywords:["schedule","cron","daily","heartbeat","backfill","recurring"],related:["create-agent"]},{id:"secrets-vault-overview",slug:"secrets-vault-overview",title:"Secrets vault overview",summary:"Where credentials live, how they are encrypted, and why values are never shown back.",category:"Credentials",keywords:["secrets","vault","encryption","aes","master key","security"],related:["set-api-key"]},{id:"keyboard-shortcuts",slug:"keyboard-shortcuts",title:"Keyboard shortcuts",summary:"Every shortcut, including Cmd+K smart search and the composer keys.",category:"Getting started",keywords:["keyboard","shortcut","cmd k","command","hotkey","search"],related:[]}];function i({action:a,current:b,onClose:c,onSaved:g}){(0,f.useRouter)();let h=(0,e.useRef)(null),i=a.field,[j,k]=(0,e.useState)("select"===i.type&&(b?.value||i.options?.[0]?.value)||""),[l,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(!1);async function r(b){if(b.preventDefault(),l)return;let d=String(j).trim();if(!d)return void o("Enter a value.");m(!0),o("");try{let{endpoint:b,method:e,body:f}=function(a,b){switch(a.kind){case"secret":return{endpoint:"/api/secrets",method:"POST",body:{name:a.secretName,value:b,scope:"global",source:"help-modal"}};case"config":return{endpoint:"/api/config",method:"PUT",body:{[a.configKey]:b}};case"trust-mode":return{endpoint:"/api/settings/trust-mode",method:"PATCH",body:"auto"===b?{mode:b,confirm:!0}:{mode:b}};default:throw Error(`unknown action kind: ${a.kind}`)}}(a,d),h=await fetch(b,{method:e,headers:{"content-type":"application/json"},body:JSON.stringify(f)});if(!h.ok){if(403===h.status)o("You need admin or owner access to change this.");else if(401===h.status)o("Sign in to change this setting.");else{let a=await h.text().catch(()=>""),b=a;try{b=JSON.parse(a)?.error||a}catch{}o(b||`Failed (${h.status}).`)}m(!1);return}q(!0),m(!1),g?.(a),window.setTimeout(()=>c(),700)}catch(a){o(a?.message||"Network error."),m(!1)}}let s=function(a,b){if(!b)return null;if("secret"===a.kind)return"set"===b.status?"Currently set":"Not set";if(null!=b.value){let c=a.field.options?.find(a=>a.value===b.value);return`Currently: ${c?c.label:b.value}`}return null}(a,b);return(0,d.jsx)("div",{className:"help-value-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&c()},children:(0,d.jsxs)("form",{className:"help-value-modal",role:"dialog","aria-modal":"true","aria-label":a.title,onSubmit:r,children:[(0,d.jsxs)("header",{className:"help-value-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("small",{children:a.category}),(0,d.jsx)("h2",{children:a.title})]}),(0,d.jsx)("button",{type:"button",className:"help-value-close",onClick:c,"aria-label":"Close",children:"esc"})]}),(0,d.jsxs)("div",{className:"help-value-body",children:[(0,d.jsxs)("label",{className:"help-value-field",children:[(0,d.jsxs)("span",{className:"help-value-label",children:[i.label,s?(0,d.jsx)("em",{className:"help-value-status",children:s}):null]}),"select"===i.type?(0,d.jsx)("select",{ref:h,value:j,onChange:a=>k(a.target.value),disabled:l||p,children:i.options.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}):(0,d.jsx)("input",{ref:h,type:"password"===i.type?"password":"text",value:j,placeholder:i.placeholder||"",onChange:a=>k(a.target.value),disabled:l||p,autoComplete:"off",spellCheck:!1})]}),i.help?(0,d.jsx)("p",{className:"help-value-help",children:i.help}):null,n?(0,d.jsx)("p",{className:"help-value-error",role:"alert",children:n}):null,p?(0,d.jsx)("p",{className:"help-value-ok",role:"status",children:"Saved."}):null]}),(0,d.jsxs)("footer",{className:"help-value-foot",children:[(0,d.jsxs)("div",{className:"help-value-links",children:[(0,d.jsx)("a",{href:a.settingsHref,onClick:c,children:"Open full settings"}),a.docSlug?(0,d.jsx)("a",{href:`/help/${a.docSlug}`,onClick:c,children:"Read the guide"}):null]}),(0,d.jsxs)("div",{className:"help-value-actions",children:[(0,d.jsx)("button",{type:"button",className:"help-value-btn ghost",onClick:c,disabled:l,children:"Cancel"}),(0,d.jsx)("button",{type:"submit",className:"help-value-btn primary",disabled:l||p,children:l?"Saving…":"Save"})]})]})]})})}let j=[{title:"Overview",href:"/",section:"Navigate",keys:["dashboard","home","canvas","main"]},{title:"Agents",href:"/agents",section:"Navigate",keys:["agent","worker","roster","team"]},{title:"Tasks",href:"/tasks",section:"Navigate",keys:["task","work","todo","kanban"]},{title:"Approvals",href:"/approvals",section:"Navigate",keys:["approve","permission","review"]},{title:"Tools",href:"/tools",section:"Navigate",keys:["tool","connector","capability"]},{title:"Schedules",href:"/schedules",section:"Navigate",keys:["cron","schedule","calendar"]},{title:"Reports",href:"/reports",section:"Navigate",keys:["report","artifact","brief"]},{title:"Activity",href:"/activity",section:"Navigate",keys:["activity","runs","history"]},{title:"Runtime",href:"/runtime",section:"Navigate",keys:["runtime","diagnostics","heartbeat","process"]},{title:"Brand",href:"/brand",section:"Navigate",keys:["brand","identity","design"]},{title:"Settings",href:"/settings",section:"Navigate",keys:["settings","config","preferences"]},{title:"Help",href:"/help",section:"Navigate",keys:["help","guide","docs","documentation","shortcuts"]}],k=[{id:"focus-main-agent",title:"Focus main agent composer",detail:"Jump to the prompt box without leaving the keyboard.",section:"Action",shortcut:"⌘J",keys:["chat","composer","prompt","ask","agent"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:focus-composer")),180)):window.dispatchEvent(new Event("madarx:focus-composer"))}},{id:"new-chat",title:"New main-agent chat",detail:"Fresh conversation without using ⌘N, which belongs to the browser.",section:"Action",shortcut:"⌘⇧J",keys:["new","session","chat","fresh"],run:({router:a,pathname:b})=>{"/"!==b&&a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:new-chat")),180*("/"!==b))}},{id:"settings-modal",title:"Open agent configuration",detail:"Close to the right thumb, but avoids browser-level ⌘, preferences.",section:"Action",shortcut:"⌘;",keys:["settings","preferences","config","model"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:open-config")),180)):window.dispatchEvent(new Event("madarx:open-config"))}},{id:"shortcut-help",title:"Show keyboard shortcuts",detail:"Open this palette and filter to shortcut help.",section:"Action",shortcut:"⌘/",keys:["keyboard","shortcut","help","command"],run:({openWithQuery:a})=>a("shortcuts")}],l=[{title:"Open smart search",detail:"⌘Space or ⌘K. Thumb + home-row fallback; Ctrl Space also works when macOS owns Spotlight.",section:"Shortcuts",keys:["shortcut","search","spotlight","command space"]},{title:"Focus main agent",detail:"⌘J. Right thumb + index on home row; avoids browser shortcuts.",section:"Shortcuts",keys:["shortcut","composer","prompt"]},{title:"New chat",detail:"⌘⇧J. Same hand position as focus, with Shift; avoids ⌘N.",section:"Shortcuts",keys:["shortcut","new chat","session"]},{title:"Agents / Tasks / Runtime",detail:"⌘⇧A, ⌘⇧T, ⌘⇧D. Left-hand clusters for common operating surfaces.",section:"Shortcuts",keys:["shortcut","navigation","agents","tasks","runtime"]},{title:"Agent settings",detail:"⌘; sits under the right hand and avoids browser Preferences on ⌘,.",section:"Shortcuts",keys:["shortcut","settings","preferences"]}];function m(a){return String(a||"").toLowerCase().trim()}function n(){let a=(0,f.useRouter)(),b=(0,f.usePathname)(),c=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(0),[t,u]=(0,e.useState)({}),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(null),z=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/help",{cache:"no-store"});if(!a.ok)return;let b=await a.json(),c={};for(let a of b.actions||[])c[a.id]=a.current;u(c),w(!0)}catch{}},[]),A=(0,e.useMemo)(()=>{let a=j.map(a=>({...a,id:`nav:${a.href}`,kind:"nav",detail:"/"===a.href?"Return to the main command center.":`Open ${a.href}`,run:({router:b})=>b.push(a.href)}));return[...k,...g.map(a=>({id:`set:${a.id}`,kind:"setting",action:a,title:a.title,detail:a.field?.help||"Set this value.",section:"Set",keys:a.keywords})),...h.map(a=>({id:`doc:${a.slug}`,kind:"doc",title:a.title,detail:a.summary,section:"Doc",href:`/help/${a.slug}`,keys:a.keywords})),...a,...l]},[]),B=(0,e.useMemo)(()=>{let a=m(p);if(!a)return A.slice(0,10);let b=a.split(/\s+/).filter(Boolean);return A.map(c=>{let d=[c.title,c.detail,c.section,c.href,...c.keys||[]].filter(Boolean).join(" ").toLowerCase(),e=b.reduce((a,b)=>a+ +!!d.includes(b),0),f=3*!!m(c.title).startsWith(a);return{item:c,score:e+f}}).filter(({score:a})=>a>0).sort((a,b)=>b.score-a.score||a.item.title.localeCompare(b.item.title)).map(({item:a})=>a).slice(0,12)},[A,p]),C=a=>{q(a||""),o(!0),s(0)},D=()=>{o(!1),q(""),s(0)};(0,e.useCallback)(a=>{let b=g.find(b=>b.id===a);b&&y(b)},[]);let E=(0,e.useCallback)(()=>y(null),[]),F=x?(0,d.jsx)(i,{action:x,current:t[x.id],onClose:E,onSaved:z}):null;return n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"smart-search-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&D()},children:(0,d.jsxs)("section",{className:"smart-search-panel",role:"dialog","aria-modal":"true","aria-label":"Smart search",children:[(0,d.jsxs)("div",{className:"smart-search-head",children:[(0,d.jsx)("span",{className:"smart-search-orb","aria-hidden":"true"}),(0,d.jsx)("input",{ref:c,value:p,onChange:a=>q(a.target.value),placeholder:"Search docs, settings, pages…","aria-label":"Search madarX OS"}),(0,d.jsx)("kbd",{children:"esc"})]}),(0,d.jsx)("div",{className:"smart-search-results",role:"listbox","aria-label":"Smart search results",children:B.length?B.map((c,e)=>{let f="setting"===c.kind?t[c.action.id]:null,g=f&&"secret"===c.action.kind&&"set"===f.status?"Set":null;return(0,d.jsxs)("button",{type:"button",className:"smart-search-row"+(e===r?" is-active":""),onMouseEnter:()=>s(e),onClick:()=>(c=>{if(c){if("setting"===c.kind){y(c.action),D();return}if("doc"===c.kind){a.push(c.href),D();return}c.run&&(c.run({router:a,pathname:b,openWithQuery:C}),"Shortcuts"!==c.section&&D())}})(c),role:"option","aria-selected":e===r,children:[(0,d.jsxs)("span",{className:"smart-search-row-main",children:[(0,d.jsxs)("small",{children:[(0,d.jsx)("span",{className:`smart-search-kind kind-${c.kind||"nav"}`,children:c.section}),g?(0,d.jsx)("span",{className:"smart-search-pill",children:g}):null]}),(0,d.jsx)("b",{children:c.title}),(0,d.jsx)("em",{children:c.detail})]}),c.shortcut?(0,d.jsx)("kbd",{children:c.shortcut}):c.href?(0,d.jsx)("kbd",{children:c.href}):null]},c.id||c.title)}):(0,d.jsx)("div",{className:"smart-search-empty",children:"No matches. Try “api key”, “whatsapp”, “agent”, or “shortcut”."})}),(0,d.jsxs)("footer",{className:"smart-search-foot",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"↑"}),(0,d.jsx)("kbd",{children:"↓"})," select"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"return"})," open"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"⌘J"})," composer"]})]})]})}),F]}):F}let o=["/login","/share"];function p({children:a,sidebar:b}){let c=(0,f.usePathname)();return(0,e.useMemo)(()=>o.some(a=>c===a||c?.startsWith(`${a}/`)),[c])?(0,d.jsx)("div",{className:"chromeless-page",children:a}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"app-shell",children:[(0,d.jsx)("div",{className:"app-rail",children:b??null}),(0,d.jsx)("div",{className:"app-content",children:a})]}),(0,d.jsx)(n,{})]})}},50872:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(75338);function e({label:a}={}){return(0,d.jsx)("main",{className:"admin-shell","aria-busy":"true","aria-live":"polite",children:(0,d.jsxs)("div",{className:"nav-skeleton",role:"status",children:[(0,d.jsx)("span",{className:"sr-only",children:a?`Loading ${a}…`:"Loading…"}),(0,d.jsx)("div",{className:"nav-skeleton__header"}),(0,d.jsxs)("div",{className:"nav-skeleton__strip",children:[(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"})]}),(0,d.jsxs)("div",{className:"nav-skeleton__rows",children:[(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"})]})]})})}},65593:(a,b,c)=>{Promise.resolve().then(c.bind(c,74138)),Promise.resolve().then(c.bind(c,30724))},67237:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},70715:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>k,metadata:()=>l});var e=c(75338),f=c(46609),g=c(30724),h=c(74138),i=c(23230);c(82704);var j=a([i]);i=(j.then?(await j)():j)[0];let l={title:"madarX OS",description:"Local-first agent command center for Client Workspace"};function k({children:a}){let b=[];try{b=(0,i.O2)()}catch{b=[]}return(0,e.jsx)("html",{lang:"en",className:f.variable,children:(0,e.jsx)("body",{children:(0,e.jsx)(h.default,{sidebar:(0,e.jsx)(g.default,{moduleNav:b}),children:a})})})}d()}catch(a){d(a)}})},74138:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx","default")},80389:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},82704:()=>{},90391:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{})}}};
|
|
1
|
+
exports.id=6059,exports.ids=[6059],exports.modules={2041:(a,b,c)=>{Promise.resolve().then(c.bind(c,49773)),Promise.resolve().then(c.bind(c,62592))},2987:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(97523);let e=async a=>[{type:"image/png",sizes:"64x64",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?4138ae2e9ba66d8a"}]},30724:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/ui/sidebar-with-submenu.jsx","default")},49773:(a,b,c)=>{"use strict";c.d(b,{default:()=>p});var d=c(21124),e=c(38301),f=c(42378);let g=[{id:"set-anthropic-key",title:"Set Anthropic API key",category:"Credentials",keywords:["anthropic","api key","claude","apikey","llm","token","cloud engine"],kind:"secret",secretName:"ANTHROPIC_API_KEY",field:{label:"ANTHROPIC_API_KEY",type:"password",placeholder:"sk-ant-…",help:"Used by the Anthropic cloud engine. Stored encrypted in the secrets vault."},settingsHref:"/settings/tools",docSlug:"set-anthropic-key"},{id:"set-resend-key",title:"Set Resend API key (email)",category:"Credentials",keywords:["resend","email","api key","smtp","send mail"],kind:"secret",secretName:"RESEND_API_KEY",field:{label:"RESEND_API_KEY",type:"password",placeholder:"re_…",help:"Enables the email tool. Encrypted at rest."},settingsHref:"/settings/connectors",docSlug:"set-resend-key"},{id:"set-github-token",title:"Set GitHub token",category:"Credentials",keywords:["github","token","pat","api key","git","repo"],kind:"secret",secretName:"GITHUB_TOKEN",field:{label:"GITHUB_TOKEN",type:"password",placeholder:"ghp_… / github_pat_…",help:"Personal access token for the GitHub tool adapter."},settingsHref:"/settings/connectors",docSlug:"set-github-token"},{id:"set-supabase-url",title:"Set Supabase URL",category:"Credentials",keywords:["supabase","url","database","project url","connect"],kind:"secret",secretName:"SUPABASE_URL",field:{label:"SUPABASE_URL",type:"text",placeholder:"https://xxxx.supabase.co",help:"Project URL for Supabase writes + shared cloud layer."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-supabase-service-key",title:"Set Supabase service-role key",category:"Credentials",keywords:["supabase","service role","key","api key","secret","database"],kind:"secret",secretName:"SUPABASE_SERVICE_ROLE_KEY",field:{label:"SUPABASE_SERVICE_ROLE_KEY",type:"password",placeholder:"eyJ…",help:"Server-side service-role key. Never exposed to the browser."},settingsHref:"/settings/connectors",docSlug:"connect-supabase"},{id:"set-default-model",title:"Set default model",category:"Agent runtime",keywords:["model","default model","llm","opus","sonnet","haiku","picker"],kind:"config",configKey:"model",field:{label:"Default model",type:"select",help:"Model the main agent uses by default.",options:[{value:"claude-opus-4-7",label:"Opus 4.7"},{value:"claude-sonnet-4-6",label:"Sonnet 4.6"},{value:"claude-haiku-4-5-20251001",label:"Haiku 4.5"}]},settingsHref:"/settings/engines",docSlug:"choose-agent-engine"},{id:"set-design-style",title:"Set artifact design style",category:"Agent runtime",keywords:["design","style","aesthetic","minimal","bold","soft","balanced","artifact"],kind:"config",configKey:"designStyle",field:{label:"Design style",type:"select",help:"Visual style agents use when producing artifacts.",options:[{value:"balanced",label:"Balanced"},{value:"minimal",label:"Minimal"},{value:"bold",label:"Bold"},{value:"soft",label:"Soft"}]},settingsHref:"/settings/brand",docSlug:null},{id:"set-trust-mode",title:"Set main-agent trust mode",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","permission","gate"],kind:"trust-mode",field:{label:"Trust mode",type:"select",help:"Warning: auto lets the main agent run high-and-below risk tool calls WITHOUT asking you first (irreversible_external is always gated). Saving auto confirms this. approval_required is the safe default.",options:[{value:"approval_required",label:"Approval required (safe default)"},{value:"auto",label:"Auto (skip gate for ≤ high risk)"}]},settingsHref:"/settings/advanced",docSlug:"set-trust-mode"}],h=[{id:"start-whatsapp-bridge",slug:"start-whatsapp-bridge",title:"Start the WhatsApp bridge",summary:"Pair a dedicated WhatsApp number and run the gateway daemon so agents can send and receive messages.",category:"Channels",keywords:["whatsapp","bridge","gateway","baileys","pair","daemon","messages"],related:["secrets-vault-overview"]},{id:"set-api-key",slug:"set-api-key",title:"Set an API key",summary:"How API keys and secrets are stored, and the fastest way to add one from anywhere with Cmd+K.",category:"Credentials",keywords:["api key","secret","credential","token","vault","set key"],related:["set-anthropic-key","connect-supabase","secrets-vault-overview"]},{id:"set-anthropic-key",slug:"set-anthropic-key",title:"Set the Anthropic API key",summary:"Add the Anthropic key that powers the cloud engine.",category:"Credentials",keywords:["anthropic","api key","claude","cloud engine","llm"],related:["choose-agent-engine","set-api-key"]},{id:"set-resend-key",slug:"set-resend-key",title:"Set the Resend API key (email)",summary:"Enable the email tool by adding a Resend key.",category:"Credentials",keywords:["resend","email","api key","send mail"],related:["set-api-key"]},{id:"set-github-token",slug:"set-github-token",title:"Set a GitHub token",summary:"Add a personal access token to unlock the GitHub tool adapter.",category:"Credentials",keywords:["github","token","pat","repo","api key"],related:["set-api-key"]},{id:"connect-supabase",slug:"connect-supabase",title:"Connect Supabase",summary:"Wire up Supabase URL and keys for database writes and the shared cloud layer.",category:"Credentials",keywords:["supabase","database","connect","url","service role","shared cloud"],related:["set-api-key","secrets-vault-overview"]},{id:"choose-agent-engine",slug:"choose-agent-engine",title:"Choose an agent engine",summary:"Pick between claude-code, anthropic, ollama, codex, and hermes — and what each needs.",category:"Agent runtime",keywords:["engine","model","claude-code","ollama","codex","hermes","anthropic","local"],related:["set-anthropic-key"]},{id:"set-trust-mode",slug:"set-trust-mode",title:"Set trust mode",summary:"Control whether the main agent gates risky tool calls or runs them automatically.",category:"Agent runtime",keywords:["trust","trust mode","auto","approval","safety","risk","gate"],related:["create-agent"]},{id:"create-agent",slug:"create-agent",title:"Create an agent",summary:"Spin up a worker, set its schedule, scope its tools, and run it.",category:"Getting started",keywords:["agent","create","worker","new agent","caretaker","roster"],related:["schedules-and-cron","set-trust-mode"]},{id:"schedules-and-cron",slug:"schedules-and-cron",title:"Schedules and cron",summary:"How schedules queue durable heartbeat work, backfill missed windows, and run automatically.",category:"Getting started",keywords:["schedule","cron","daily","heartbeat","backfill","recurring"],related:["create-agent"]},{id:"secrets-vault-overview",slug:"secrets-vault-overview",title:"Secrets vault overview",summary:"Where credentials live, how they are encrypted, and why values are never shown back.",category:"Credentials",keywords:["secrets","vault","encryption","aes","master key","security"],related:["set-api-key"]},{id:"keyboard-shortcuts",slug:"keyboard-shortcuts",title:"Keyboard shortcuts",summary:"Every shortcut, including Cmd+K smart search and the composer keys.",category:"Getting started",keywords:["keyboard","shortcut","cmd k","command","hotkey","search"],related:[]}];function i({action:a,current:b,onClose:c,onSaved:g}){(0,f.useRouter)();let h=(0,e.useRef)(null),i=a.field,[j,k]=(0,e.useState)("select"===i.type&&(b?.value||i.options?.[0]?.value)||""),[l,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(!1);async function r(b){if(b.preventDefault(),l)return;let d=String(j).trim();if(!d)return void o("Enter a value.");m(!0),o("");try{let{endpoint:b,method:e,body:f}=function(a,b){switch(a.kind){case"secret":return{endpoint:"/api/secrets",method:"POST",body:{name:a.secretName,value:b,scope:"global",source:"help-modal"}};case"config":return{endpoint:"/api/config",method:"PUT",body:{[a.configKey]:b}};case"trust-mode":return{endpoint:"/api/settings/trust-mode",method:"PATCH",body:"auto"===b?{mode:b,confirm:!0}:{mode:b}};default:throw Error(`unknown action kind: ${a.kind}`)}}(a,d),h=await fetch(b,{method:e,headers:{"content-type":"application/json"},body:JSON.stringify(f)});if(!h.ok){if(403===h.status)o("You need admin or owner access to change this.");else if(401===h.status)o("Sign in to change this setting.");else{let a=await h.text().catch(()=>""),b=a;try{b=JSON.parse(a)?.error||a}catch{}o(b||`Failed (${h.status}).`)}m(!1);return}q(!0),m(!1),g?.(a),window.setTimeout(()=>c(),700)}catch(a){o(a?.message||"Network error."),m(!1)}}let s=function(a,b){if(!b)return null;if("secret"===a.kind)return"set"===b.status?"Currently set":"Not set";if(null!=b.value){let c=a.field.options?.find(a=>a.value===b.value);return`Currently: ${c?c.label:b.value}`}return null}(a,b);return(0,d.jsx)("div",{className:"help-value-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&c()},children:(0,d.jsxs)("form",{className:"help-value-modal",role:"dialog","aria-modal":"true","aria-label":a.title,onSubmit:r,children:[(0,d.jsxs)("header",{className:"help-value-head",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("small",{children:a.category}),(0,d.jsx)("h2",{children:a.title})]}),(0,d.jsx)("button",{type:"button",className:"help-value-close",onClick:c,"aria-label":"Close",children:"esc"})]}),(0,d.jsxs)("div",{className:"help-value-body",children:[(0,d.jsxs)("label",{className:"help-value-field",children:[(0,d.jsxs)("span",{className:"help-value-label",children:[i.label,s?(0,d.jsx)("em",{className:"help-value-status",children:s}):null]}),"select"===i.type?(0,d.jsx)("select",{ref:h,value:j,onChange:a=>k(a.target.value),disabled:l||p,children:i.options.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))}):(0,d.jsx)("input",{ref:h,type:"password"===i.type?"password":"text",value:j,placeholder:i.placeholder||"",onChange:a=>k(a.target.value),disabled:l||p,autoComplete:"off",spellCheck:!1})]}),i.help?(0,d.jsx)("p",{className:"help-value-help",children:i.help}):null,n?(0,d.jsx)("p",{className:"help-value-error",role:"alert",children:n}):null,p?(0,d.jsx)("p",{className:"help-value-ok",role:"status",children:"Saved."}):null]}),(0,d.jsxs)("footer",{className:"help-value-foot",children:[(0,d.jsxs)("div",{className:"help-value-links",children:[(0,d.jsx)("a",{href:a.settingsHref,onClick:c,children:"Open full settings"}),a.docSlug?(0,d.jsx)("a",{href:`/help/${a.docSlug}`,onClick:c,children:"Read the guide"}):null]}),(0,d.jsxs)("div",{className:"help-value-actions",children:[(0,d.jsx)("button",{type:"button",className:"help-value-btn ghost",onClick:c,disabled:l,children:"Cancel"}),(0,d.jsx)("button",{type:"submit",className:"help-value-btn primary",disabled:l||p,children:l?"Saving…":"Save"})]})]})]})})}let j=[{title:"Overview",href:"/",section:"Navigate",keys:["dashboard","home","canvas","main"]},{title:"Agents",href:"/agents",section:"Navigate",keys:["agent","worker","roster","team"]},{title:"Tasks",href:"/tasks",section:"Navigate",keys:["task","work","todo","kanban"]},{title:"Approvals",href:"/approvals",section:"Navigate",keys:["approve","permission","review"]},{title:"Tools",href:"/tools",section:"Navigate",keys:["tool","connector","capability"]},{title:"Schedules",href:"/schedules",section:"Navigate",keys:["cron","schedule","calendar"]},{title:"Reports",href:"/reports",section:"Navigate",keys:["report","artifact","brief"]},{title:"Activity",href:"/activity",section:"Navigate",keys:["activity","runs","history"]},{title:"Runtime",href:"/runtime",section:"Navigate",keys:["runtime","diagnostics","heartbeat","process"]},{title:"Brand",href:"/brand",section:"Navigate",keys:["brand","identity","design"]},{title:"Settings",href:"/settings",section:"Navigate",keys:["settings","config","preferences"]},{title:"Help",href:"/help",section:"Navigate",keys:["help","guide","docs","documentation","shortcuts"]}],k=[{id:"focus-main-agent",title:"Focus main agent composer",detail:"Jump to the prompt box without leaving the keyboard.",section:"Action",shortcut:"⌘J",keys:["chat","composer","prompt","ask","agent"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:focus-composer")),180)):window.dispatchEvent(new Event("madarx:focus-composer"))}},{id:"new-chat",title:"New main-agent chat",detail:"Fresh conversation without using ⌘N, which belongs to the browser.",section:"Action",shortcut:"⌘⇧J",keys:["new","session","chat","fresh"],run:({router:a,pathname:b})=>{"/"!==b&&a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:new-chat")),180*("/"!==b))}},{id:"settings-modal",title:"Open agent configuration",detail:"Close to the right thumb, but avoids browser-level ⌘, preferences.",section:"Action",shortcut:"⌘;",keys:["settings","preferences","config","model"],run:({router:a,pathname:b})=>{"/"!==b?(a.push("/"),window.setTimeout(()=>window.dispatchEvent(new Event("madarx:open-config")),180)):window.dispatchEvent(new Event("madarx:open-config"))}},{id:"shortcut-help",title:"Show keyboard shortcuts",detail:"Open this palette and filter to shortcut help.",section:"Action",shortcut:"⌘/",keys:["keyboard","shortcut","help","command"],run:({openWithQuery:a})=>a("shortcuts")}],l=[{title:"Open smart search",detail:"⌘Space or ⌘K. Thumb + home-row fallback; Ctrl Space also works when macOS owns Spotlight.",section:"Shortcuts",keys:["shortcut","search","spotlight","command space"]},{title:"Focus main agent",detail:"⌘J. Right thumb + index on home row; avoids browser shortcuts.",section:"Shortcuts",keys:["shortcut","composer","prompt"]},{title:"New chat",detail:"⌘⇧J. Same hand position as focus, with Shift; avoids ⌘N.",section:"Shortcuts",keys:["shortcut","new chat","session"]},{title:"Agents / Tasks / Runtime",detail:"⌘⇧A, ⌘⇧T, ⌘⇧D. Left-hand clusters for common operating surfaces.",section:"Shortcuts",keys:["shortcut","navigation","agents","tasks","runtime"]},{title:"Agent settings",detail:"⌘; sits under the right hand and avoids browser Preferences on ⌘,.",section:"Shortcuts",keys:["shortcut","settings","preferences"]}];function m(a){return String(a||"").toLowerCase().trim()}function n(){let a=(0,f.useRouter)(),b=(0,f.usePathname)(),c=(0,e.useRef)(null),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(0),[t,u]=(0,e.useState)({}),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(null),z=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/help",{cache:"no-store"});if(!a.ok)return;let b=await a.json(),c={};for(let a of b.actions||[])c[a.id]=a.current;u(c),w(!0)}catch{}},[]),A=(0,e.useMemo)(()=>{let a=j.map(a=>({...a,id:`nav:${a.href}`,kind:"nav",detail:"/"===a.href?"Return to the main command center.":`Open ${a.href}`,run:({router:b})=>b.push(a.href)}));return[...k,...g.map(a=>({id:`set:${a.id}`,kind:"setting",action:a,title:a.title,detail:a.field?.help||"Set this value.",section:"Set",keys:a.keywords})),...h.map(a=>({id:`doc:${a.slug}`,kind:"doc",title:a.title,detail:a.summary,section:"Doc",href:`/help/${a.slug}`,keys:a.keywords})),...a,...l]},[]),B=(0,e.useMemo)(()=>{let a=m(p);if(!a)return A.slice(0,10);let b=a.split(/\s+/).filter(Boolean);return A.map(c=>{let d=[c.title,c.detail,c.section,c.href,...c.keys||[]].filter(Boolean).join(" ").toLowerCase(),e=b.reduce((a,b)=>a+ +!!d.includes(b),0),f=3*!!m(c.title).startsWith(a);return{item:c,score:e+f}}).filter(({score:a})=>a>0).sort((a,b)=>b.score-a.score||a.item.title.localeCompare(b.item.title)).map(({item:a})=>a).slice(0,12)},[A,p]),C=a=>{q(a||""),o(!0),s(0)},D=()=>{o(!1),q(""),s(0)};(0,e.useCallback)(a=>{let b=g.find(b=>b.id===a);b&&y(b)},[]);let E=(0,e.useCallback)(()=>y(null),[]),F=x?(0,d.jsx)(i,{action:x,current:t[x.id],onClose:E,onSaved:z}):null;return n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"smart-search-overlay",role:"presentation",onMouseDown:a=>{a.target===a.currentTarget&&D()},children:(0,d.jsxs)("section",{className:"smart-search-panel",role:"dialog","aria-modal":"true","aria-label":"Smart search",children:[(0,d.jsxs)("div",{className:"smart-search-head",children:[(0,d.jsx)("span",{className:"smart-search-orb","aria-hidden":"true"}),(0,d.jsx)("input",{ref:c,value:p,onChange:a=>q(a.target.value),placeholder:"Search docs, settings, pages…","aria-label":"Search madarX OS"}),(0,d.jsx)("kbd",{children:"esc"})]}),(0,d.jsx)("div",{className:"smart-search-results",role:"listbox","aria-label":"Smart search results",children:B.length?B.map((c,e)=>{let f="setting"===c.kind?t[c.action.id]:null,g=f&&"secret"===c.action.kind&&"set"===f.status?"Set":null;return(0,d.jsxs)("button",{type:"button",className:"smart-search-row"+(e===r?" is-active":""),onMouseEnter:()=>s(e),onClick:()=>(c=>{if(c){if("setting"===c.kind){y(c.action),D();return}if("doc"===c.kind){a.push(c.href),D();return}c.run&&(c.run({router:a,pathname:b,openWithQuery:C}),"Shortcuts"!==c.section&&D())}})(c),role:"option","aria-selected":e===r,children:[(0,d.jsxs)("span",{className:"smart-search-row-main",children:[(0,d.jsxs)("small",{children:[(0,d.jsx)("span",{className:`smart-search-kind kind-${c.kind||"nav"}`,children:c.section}),g?(0,d.jsx)("span",{className:"smart-search-pill",children:g}):null]}),(0,d.jsx)("b",{children:c.title}),(0,d.jsx)("em",{children:c.detail})]}),c.shortcut?(0,d.jsx)("kbd",{children:c.shortcut}):c.href?(0,d.jsx)("kbd",{children:c.href}):null]},c.id||c.title)}):(0,d.jsx)("div",{className:"smart-search-empty",children:"No matches. Try “api key”, “whatsapp”, “agent”, or “shortcut”."})}),(0,d.jsxs)("footer",{className:"smart-search-foot",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"↑"}),(0,d.jsx)("kbd",{children:"↓"})," select"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"return"})," open"]}),(0,d.jsxs)("span",{children:[(0,d.jsx)("kbd",{children:"⌘J"})," composer"]})]})]})}),F]}):F}let o=["/login","/share"];function p({children:a,sidebar:b}){let c=(0,f.usePathname)();return(0,e.useMemo)(()=>o.some(a=>c===a||c?.startsWith(`${a}/`)),[c])?(0,d.jsx)("div",{className:"chromeless-page",children:a}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"app-shell",children:[(0,d.jsx)("div",{className:"app-rail",children:b??null}),(0,d.jsx)("div",{className:"app-content",children:a})]}),(0,d.jsx)(n,{})]})}},50872:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(75338);function e({label:a}={}){return(0,d.jsx)("main",{className:"admin-shell","aria-busy":"true","aria-live":"polite",children:(0,d.jsxs)("div",{className:"nav-skeleton",role:"status",children:[(0,d.jsx)("span",{className:"sr-only",children:a?`Loading ${a}…`:"Loading…"}),(0,d.jsx)("div",{className:"nav-skeleton__header"}),(0,d.jsxs)("div",{className:"nav-skeleton__strip",children:[(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"}),(0,d.jsx)("div",{className:"nav-skeleton__pill"})]}),(0,d.jsxs)("div",{className:"nav-skeleton__rows",children:[(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"}),(0,d.jsx)("div",{className:"nav-skeleton__row"})]})]})})}},62592:(a,b,c)=>{"use strict";c.d(b,{default:()=>J});var d=c(21124),e=c(38301),f=c(3991),g=c.n(f),h=c(42378),i=c(30242),j=c(11941),k=c(63881),l=c(23007),m=c(99802),n=c(93673),o=c(74905),p=c(39153),q=c(26890),r=c(77703),s=c(59153),t=c(30079),u=c(75571),v=c(13044),w=c(45423),x=c(79401),y=c(36248),z=c(81868),A=c(80207);let B="madarx:sidebarAvatar";function C(){let[a,b]=(0,e.useState)(null),c=(0,e.useRef)(null);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>c.current?.click(),"aria-label":a?"Change avatar":"Upload an avatar",title:a?"Change avatar":"Upload an avatar",className:"group relative w-9 h-9 rounded-full overflow-hidden flex items-center justify-center cursor-pointer border border-[rgba(20,22,26,0.16)] bg-[rgba(17,19,24,0.035)] transition-colors hover:border-[rgba(20,22,26,0.32)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50",children:[a?(0,d.jsx)("img",{src:a,alt:"Avatar",className:"w-full h-full object-cover"}):(0,d.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#9aa1ab",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M12 16V8M8 12h8"})}),(0,d.jsx)("span",{className:"absolute inset-0 hidden group-hover:flex items-center justify-center bg-black/35 text-white",children:(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M12 16V6M12 6 7.5 10.5M12 6l4.5 4.5"}),(0,d.jsx)("path",{d:"M5 18v1.5A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V18"})]})}),a?(0,d.jsx)("span",{role:"button",tabIndex:-1,onClick:function(a){a.stopPropagation(),b(null);try{localStorage.removeItem(B)}catch{}},"aria-label":"Remove avatar",className:"absolute -top-0.5 -right-0.5 hidden group-hover:flex w-4 h-4 items-center justify-center rounded-full bg-[#111318] text-white text-[9px] leading-none",children:"\xd7"}):null]}),(0,d.jsx)("input",{ref:c,type:"file",accept:"image/*",hidden:!0,onChange:function(a){let c=a.target.files?.[0];if(a.target.value="",!c||!c.type.startsWith("image/")||c.size>2097152)return;let d=new FileReader;d.onload=()=>{let a=String(d.result||"");if(a){b(a);try{localStorage.setItem(B,a)}catch{}}},d.readAsDataURL(c)}})]})}let D=[{group:"work",name:"Spaces",href:"/",icon:k.A},{group:"work",name:"Projects",href:"/projects",icon:l.A},{group:"work",name:"Agents",href:"/agents",icon:m.A},{group:"work",name:"Tasks",href:"/tasks",icon:n.A},{group:"work",name:"Workflows",href:"/workflows",icon:o.A},{group:"work",name:"Approvals",href:"/approvals",icon:p.A},{group:"library",name:"Marketplace",href:"/marketplace",icon:q.A}],E={Pickaxe:r.A,Boxes:s.A,Gem:t.A,FlaskConical:u.A,Factory:v.A,Building2:w.A,Package:q.A,FolderOpen:l.A,Workflow:o.A},F=[{name:"Settings",icon:x.A,href:"/settings"}];function G(a,b){return!!a&&("/"===b?"/"===a:a===b||a.startsWith(`${b}/`))}function H(a){a.currentTarget?.blur?.()}function I({item:a,active:b}){let c=a.icon;return(0,d.jsxs)(g(),{href:a.href,prefetch:!0,"aria-label":a.name,"aria-current":b?"page":void 0,"data-active":b?"true":void 0,onClick:H,className:`relative flex items-center justify-center p-2 rounded-lg transition-colors duration-150 group ${b?"text-[#C2452A]":"text-[#69707a] hover:text-[#111318] hover:bg-[rgba(17,19,24,0.08)] active:bg-[rgba(17,19,24,0.12)]"}`,children:[(0,d.jsx)(c,{className:"w-5 h-5",strokeWidth:1.75,"aria-hidden":"true"}),(0,d.jsx)("span",{className:"absolute left-12 px-2 py-1 rounded-md whitespace-nowrap text-xs text-white bg-[#111318] hidden group-hover:inline-block group-focus-visible:inline-block z-50 shadow-lg pointer-events-none",children:a.name})]})}function J({moduleNav:a=[]}){let b=(0,h.usePathname)(),{session:c,signOut:f}=function(){let[a,b]=(0,e.useState)(null),c=(0,h.useRouter)();return{session:a,signOut:async function(){await fetch("/api/auth/session",{method:"DELETE"}).catch(()=>null),c.replace("/login"),c.refresh()}}}(),[k,l]=(0,e.useState)(null),m=(Array.isArray(a)?a:[]).map(a=>({group:"module",name:a.label,href:a.href,icon:E[a.icon]||s.A})),n=[...D.filter(a=>"work"===a.group),...m,...D.filter(a=>"library"===a.group)],o=c?.email||"Local owner",p="local"===(c?.auth_mode||"local"),q=(c?.email||c?.display_name||"AK").slice(0,2).toUpperCase();return(0,d.jsxs)("aside",{className:"relative z-30 h-full w-full rounded-[18px] border border-white/75 bg-[var(--glass)] backdrop-blur-[22px] backdrop-saturate-150 flex flex-col","aria-label":"Primary navigation",children:[(0,d.jsx)("div",{className:"h-20 flex items-center justify-center px-3 shrink-0",children:(0,d.jsx)(C,{})}),(0,d.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 text-sm font-medium flex-1 space-y-1",children:n.map((a,c)=>{let e=n[c-1],f=e&&e.group!==a.group,g=G(b,a.href);return(0,d.jsxs)("li",{children:[f?(0,d.jsx)("div",{"aria-hidden":"true",className:"mx-2 my-2 h-px bg-[rgba(20,22,26,0.09)]"}):null,(0,d.jsx)(I,{item:a,active:g})]},a.name)})}),(0,d.jsx)("ul",{className:"list-none m-0 p-0 px-3 pb-3 pt-2 text-sm font-medium space-y-1",children:F.map(a=>{let c=G(b,a.href);return(0,d.jsx)("li",{children:(0,d.jsx)(I,{item:a,active:c})},a.name)})}),(0,d.jsx)("div",{className:"relative py-4 px-3 border-t border-[rgba(20,22,26,0.09)] flex justify-center",children:(0,d.jsxs)(i.bL,{children:[(0,d.jsx)(i.l9,{className:"outline-none rounded-full border-0 bg-transparent p-0 appearance-none cursor-pointer focus-visible:ring-2 focus-visible:ring-[#111318] focus-visible:ring-offset-2 focus-visible:ring-offset-white/50","aria-label":"Account menu",children:(0,d.jsxs)(j.bL,{className:"w-10 h-10 rounded-full overflow-hidden cursor-pointer block",children:[(0,d.jsx)(j._V,{className:"w-full h-full object-cover",src:"/madarx-mark.svg",alt:"AK"}),(0,d.jsx)(j.H4,{className:"flex w-full h-full items-center justify-center text-white text-xs font-bold tracking-wider bg-gradient-to-br from-[#111318] to-[#565d6b]",delayMs:150,children:q})]})}),(0,d.jsx)(i.ZL,{children:(0,d.jsxs)(i.UC,{side:"right",align:"end",sideOffset:12,className:"w-64 rounded-xl bg-white shadow-[0_22px_60px_rgba(17,19,24,0.20)] border border-[rgba(20,22,26,0.09)] text-sm text-[#59606b] p-2 z-[100]",children:[(0,d.jsx)("div",{className:"px-2 py-1.5 text-[11px] uppercase tracking-[0.14em] text-[var(--accent-600)] font-bold",children:p?"Local operator":"Signed in"}),(0,d.jsx)("span",{className:"block text-[#68707b] px-2 pb-2 truncate",children:o}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Spaces"})}),(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsx)(g(),{href:"/settings",className:"block w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:"Settings"})}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),k?.behind&&k?.latest?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/",className:"flex items-center justify-between gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsxs)("span",{className:"flex items-center gap-x-2",children:[(0,d.jsx)(y.A,{className:"w-4 h-4 text-[var(--accent-600)]",strokeWidth:1.75}),"Update available"]}),(0,d.jsxs)("span",{className:"text-[11px] font-semibold text-[var(--accent-600)]",children:["v",k.latest]})]})}):(0,d.jsxs)("div",{className:"flex items-center justify-between px-2 py-2 text-[12px] text-[#9aa1ab]",children:[(0,d.jsx)("span",{children:"Version"}),(0,d.jsx)("span",{className:"font-medium text-[#68707b]",children:k?.current?`v${k.current}`:"—"})]}),(0,d.jsx)(i.wv,{className:"my-1 h-px bg-[rgba(20,22,26,0.09)]"}),p?(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)(g(),{href:"/settings/account",className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer no-underline text-[#313740]",children:[(0,d.jsx)(z.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign in with an account"]})}):(0,d.jsx)(i.q7,{asChild:!0,className:"outline-none",children:(0,d.jsxs)("button",{type:"button",onClick:f,className:"flex items-center gap-x-2 w-full p-2 text-left rounded-md hover:bg-[rgba(17,19,24,0.05)] active:bg-[rgba(17,19,24,0.1)] duration-150 cursor-pointer text-[#313740]",children:[(0,d.jsx)(A.A,{className:"w-4 h-4",strokeWidth:1.75}),"Sign out"]})})]})})]})})]})]})}},65593:(a,b,c)=>{Promise.resolve().then(c.bind(c,74138)),Promise.resolve().then(c.bind(c,30724))},67237:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},70715:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{default:()=>k,metadata:()=>l});var e=c(75338),f=c(46609),g=c(30724),h=c(74138),i=c(23230);c(82704);var j=a([i]);i=(j.then?(await j)():j)[0];let l={title:"madarX OS",description:"Local-first agent command center for Client Workspace"};function k({children:a}){let b=[];try{b=(0,i.O2)()}catch{b=[]}return(0,e.jsx)("html",{lang:"en",className:f.variable,children:(0,e.jsx)("body",{children:(0,e.jsx)(h.default,{sidebar:(0,e.jsx)(g.default,{moduleNav:b}),children:a})})})}d()}catch(a){d(a)}})},74138:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/components/app-chrome.jsx","default")},80389:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},82704:()=>{},90391:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(50872);function f(){return(0,d.jsx)(e.D,{})}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=6700,exports.ids=[6700],exports.modules={66700:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Bd:()=>
|
|
1
|
+
"use strict";exports.id=6700,exports.ids=[6700],exports.modules={66700:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{AX:()=>L,B6:()=>K,Bd:()=>B,DJ:()=>E,LC:()=>W,O7:()=>J,Zb:()=>U,bP:()=>V,claimEmailInvitesViaCloud:()=>O,ensureCloudOrg:()=>v,fv:()=>F,getSharedCloudAdmin:()=>r,gx:()=>X,i9:()=>D,isSharedCloudReady:()=>n,mirrorCloudMembershipsForUser:()=>Q,p5:()=>M,p7:()=>A,redeemInviteViaCloud:()=>P,to:()=>I,zF:()=>q});var e=c(77598),f=c(34255),g=c(24516),h=c(58282),i=c(4160),j=c(61423),k=a([f,g,h,i,j]);function l(){}function m(a,b={}){try{let c=(0,g.getSecret)(a,{agent_id:b.agent_id,project_id:b.project_id});if(c)return c}catch{}return process.env[a]||null}function n(a={}){let b=m("SUPABASE_URL",a),c=m("SUPABASE_SERVICE_ROLE_KEY",a);return!!(b&&c)}function o(a,b={}){for(let[c,d]of Object.entries(b)){if(!/^[A-Za-z_][A-Za-z0-9_]*$/.test(c))throw Error(`Invalid filter column: ${c}`);a.searchParams.set(c,String(d).includes(".")?String(d):`eq.${d}`)}}function p({baseUrl:a,apikey:b,bearer:c,agentId:d=null}){let e=`${a.replace(/\/+$/g,"")}/rest/v1`;function f(a={}){return{Authorization:`Bearer ${c}`,apikey:b,Accept:"application/json",...a}}async function g(a){let b={};try{b=await a.json()}catch{}return b.message||b.error||a.statusText||`HTTP ${a.status}`}return{async select(a,{filters:b={},select:c="*",limit:i=100}={}){let j=new URL(`${e}/${a}`);j.searchParams.set("select",c),j.searchParams.set("limit",String(Math.min(Math.max(Number(i)||1,1),1e3))),o(j,b);let k=await (0,h.N)("shared_cloud_select",d)(j,{headers:f()});if(!k.ok)throw Error(`shared_cloud select(${a}) failed: ${await g(k)}`);return k.json()},async upsert(a,b,{onConflict:c}={}){let i=Array.isArray(b)?b:[b],j=new URL(`${e}/${a}`);c&&j.searchParams.set("on_conflict",String(c));let k=await (0,h.N)("shared_cloud_upsert",d)(j,{method:"POST",headers:f({"Content-Type":"application/json",Prefer:"resolution=merge-duplicates,return=representation"}),body:JSON.stringify(i)});if(!k.ok)throw Error(`shared_cloud upsert(${a}) failed: ${await g(k)}`);return k.json()},async delete(a,{filters:b}={}){if(!b||!Object.keys(b).length)throw Error("shared_cloud delete requires filters; bulk delete is blocked.");let c=new URL(`${e}/${a}`);o(c,b);let i=await (0,h.N)("shared_cloud_delete",d)(c,{method:"DELETE",headers:f({Prefer:"return=representation"})});if(!i.ok)throw Error(`shared_cloud delete(${a}) failed: ${await g(i)}`);return i.json()},async rpc(a,b={}){if(!/^[A-Za-z_][A-Za-z0-9_]*$/.test(a))throw Error(`Invalid rpc function name: ${a}`);let c=new URL(`${e}/rpc/${a}`),i=await (0,h.N)("shared_cloud_rpc",d)(c,{method:"POST",headers:f({"Content-Type":"application/json"}),body:JSON.stringify(b??{})});if(!i.ok)throw Error(`shared_cloud rpc(${a}) failed: ${await g(i)}`);return i.json()}}}function q(a={}){let b=m("SUPABASE_URL",a),c=m("SUPABASE_ANON_KEY",a);return!!(b&&c)}function r(a={}){let b=m("SUPABASE_URL",a),c=m("SUPABASE_SERVICE_ROLE_KEY",a);if(!b||!c)throw Error("Shared cloud not configured: set SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY.");return p({baseUrl:b,apikey:c,bearer:c,agentId:a.agent_id??null})}function s(a,b={}){if(l(),!a)throw Error("getSharedCloudUserClient: an access token (user JWT) is required");let c=m("SUPABASE_URL",b),d=m("SUPABASE_ANON_KEY",b);if(!c||!d)throw Error("Shared cloud (user) not configured: set SUPABASE_URL and SUPABASE_ANON_KEY.");return p({baseUrl:c,apikey:d,bearer:a,agentId:b.agent_id??null})}function t({serviceReady:a,userReady:b,accessToken:c}){return a?"admin":b&&c?"user":null}function u(a,b){let c=a?.session?.supabase_access_token||a?.accessToken||null,d=t({serviceReady:n(b),userReady:q(b),accessToken:c});return"admin"===d?{client:r(b),kind:d}:"user"===d?{client:s(c,b),kind:d}:{client:null,kind:null}}async function v(a,b={}){if(l(),!a?.id||!a?.slug||!a?.name)throw Error("ensureCloudOrg: id, slug, and name are required");if(!n(b))return!1;let c={id:a.id,slug:a.slug,name:a.name,plan:a.plan||"free"};return await r(b).upsert("organizations",c,{onConflict:"id"}),!0}[f,g,h,i,j]=k.then?(await k)():k,Object.freeze(["private","team","org","link"]);let Y=Object.freeze(["org","team","private"]),Z=Object.freeze(["dashboard_space","project"]),$=Object.freeze(["folder","file","artifact"]);function w(a,b){if(!Y.includes(a))throw Error(`${b}: invalid visibility "${a}" (expected one of ${Y.join("|")})`)}function x(a,b){if(!Z.includes(a))throw Error(`${b}: invalid space_type "${a}" (expected one of ${Z.join("|")})`)}function y(a,b){return(0,f.getDb)().prepare("SELECT * FROM shared_space_publications WHERE local_space_id = ? AND space_type = ?").get(a,b)||null}function z(a){let b=(0,f.getDb)(),c=b.prepare("SELECT id FROM shared_space_publications WHERE local_space_id = ? AND space_type = ?").get(a.local_space_id,a.space_type),d=c?.id||(0,f.newId)("spub");return b.prepare(`INSERT INTO shared_space_publications
|
|
2
2
|
(id, local_space_id, space_type, org_id, cloud_space_id, slug, name,
|
|
3
3
|
visibility, include_resource_metadata, resource_count, status, last_error,
|
|
4
4
|
published_by, published_at, last_synced_at, unpublished_at)
|
|
@@ -15,5 +15,18 @@
|
|
|
15
15
|
last_error = excluded.last_error,
|
|
16
16
|
published_by = excluded.published_by,
|
|
17
17
|
last_synced_at = excluded.last_synced_at,
|
|
18
|
-
unpublished_at = excluded.unpublished_at`).run(d,a.local_space_id,a.space_type,a.org_id,a.cloud_space_id??null,a.slug??null,a.name??null,a.visibility,+!!a.include_resource_metadata,Number(a.resource_count)||0,a.status,a.last_error??null,a.published_by??null,a.published_at??(0,
|
|
19
|
-
|
|
18
|
+
unpublished_at = excluded.unpublished_at`).run(d,a.local_space_id,a.space_type,a.org_id,a.cloud_space_id??null,a.slug??null,a.name??null,a.visibility,+!!a.include_resource_metadata,Number(a.resource_count)||0,a.status,a.last_error??null,a.published_by??null,a.published_at??(0,f.nowIso)(),a.last_synced_at??null,a.unpublished_at??null),d}function A(a,b="dashboard_space"){x(b,"getSharedSpaceStatus");let c=y(a,b);return c?{shared:"published"===c.status,status:c.status,space_type:c.space_type,local_space_id:c.local_space_id,cloud_space_id:c.cloud_space_id||null,slug:c.slug||null,name:c.name||null,visibility:c.visibility||null,include_resource_metadata:1===c.include_resource_metadata,resource_count:Number(c.resource_count)||0,last_error:c.last_error||null,published_by:c.published_by||null,published_at:c.published_at||null,last_synced_at:c.last_synced_at||null}:{shared:!1,status:"local",space_type:b,local_space_id:a,cloud_space_id:null,visibility:null,resource_count:0,last_synced_at:null}}function B({status:a,space_type:b}={}){let c=(0,f.getDb)(),d=[],e=[];a&&(d.push("status = ?"),e.push(a)),b&&(d.push("space_type = ?"),e.push(b));let g=`SELECT * FROM shared_space_publications ${d.length?`WHERE ${d.join(" AND ")}`:""} ORDER BY published_at DESC`;return c.prepare(g).all(...e)}async function C(a,{session:b,options:c,resources:d=null,include_resource_metadata:e=!1,excludedLocalOnly:g=0,target_type:h,target_id:j}){var k=a;if(!k||"object"!=typeof k)throw Error("shared space metadata must be an object");for(let a of["org_id","space_type","local_space_id","slug","name","visibility"])if(null==k[a]||""===k[a])throw Error(`shared space metadata missing required field: ${a}`);x(k.space_type,"validateSharedSpaceMetadata"),w(k.visibility,"validateSharedSpaceMetadata");let{org_id:l,space_type:m,local_space_id:o}=a;if(!n(c))throw Error(`publish ${m}: shared cloud is not configured. Set SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY (vault or env) before sharing.`);let p=r(c),q=null;try{let b=await p.upsert("shared_spaces",a,{onConflict:"org_id,space_type,local_space_id"});q=Array.isArray(b)?b[0]:b}catch(c){throw z({local_space_id:o,space_type:m,org_id:l,slug:a.slug,name:a.name,visibility:a.visibility,include_resource_metadata:e,status:"error",last_error:c.message,published_by:b?.user_id}),(0,i.appendComplianceAudit)({user_id:b?.user_id,org_id:l,action:`${m}.shared.publish.error`,action_target_id:j,action_target_type:h,status:"error",summary:`Failed to share ${m} ${o} to shared cloud`,meta:{visibility:a.visibility,error:c.message}}),c}let s=q?.id??null,t=0;if(e&&Array.isArray(d)&&s&&(await p.delete("shared_space_resources",{filters:{org_id:l,shared_space_id:s}}),d.length)){let a=d.map(a=>(function(a,b={}){if(!a||!a.local_resource_id)throw Error("mapProjectResourceMetadata: resource with local_resource_id is required");if(!b.org_id)throw Error("mapProjectResourceMetadata: org_id is required");if(!b.cloud_space_id)throw Error("mapProjectResourceMetadata: cloud_space_id is required");if(!$.includes(a.resource_type))throw Error(`mapProjectResourceMetadata: invalid resource_type "${a.resource_type}"`);return{org_id:b.org_id,shared_space_id:b.cloud_space_id,local_resource_id:String(a.local_resource_id),resource_type:a.resource_type,name:a.name||a.local_resource_id,path:a.path??null,mime_type:a.mime_type??null,kind:a.kind??null,size_bytes:"number"==typeof a.size_bytes?a.size_bytes:null,sha256:a.sha256??null,local_only:!!a.local_only,metadata:a.metadata??null}})(a,{org_id:l,cloud_space_id:s}));await p.upsert("shared_space_resources",a,{onConflict:"shared_space_id,resource_type,local_resource_id"}),t=a.length}return z({local_space_id:o,space_type:m,org_id:l,cloud_space_id:s,slug:a.slug,name:a.name,visibility:a.visibility,include_resource_metadata:e,resource_count:t,status:"published",published_by:b?.user_id,published_at:(0,f.nowIso)(),last_synced_at:(0,f.nowIso)()}),(0,i.appendComplianceAudit)({user_id:b?.user_id,org_id:l,action:`${m}.shared.published`,action_target_id:j,action_target_type:h,status:"success",summary:`Shared ${m} ${o} to shared cloud (visibility: ${a.visibility})`,meta:{visibility:a.visibility,cloud_space_id:s,resource_count:t,excluded_local_only:g}}),A(o,m)}async function D(a={},b={}){var c;let{space_id:d,session:e,visibility:g="org"}=a;if(!d)throw Error("publishDashboardSpace: space_id is required");let h=a.org_id||e?.org_id;if(!h)throw Error("publishDashboardSpace: org_id (or session.org_id) is required");w(g,"publishDashboardSpace");let i=(0,f.getDb)().prepare("SELECT * FROM dashboard_spaces WHERE id = ?").get(String(d));if(!i)throw Error(`publishDashboardSpace: dashboard space ${d} not found locally`);let j=function(a,b={}){if(!a||!a.id)throw Error("mapDashboardSpaceToSharedSpaceMetadata: space with id is required");if(!b.org_id)throw Error("mapDashboardSpaceToSharedSpaceMetadata: org_id is required");let c=b.visibility||"org";w(c,"mapDashboardSpaceToSharedSpaceMetadata");let d=a.slug||String(a.id);return{org_id:b.org_id,space_type:"dashboard_space",local_space_id:String(a.id),local_project_id:null,slug:d,name:a.name||d,description:a.description??null,visibility:c,created_by:b.created_by??null}}(i,{org_id:h,visibility:g,created_by:a.published_by??null}),k=(c=String(d),(0,f.getDb)().prepare("SELECT id, title, kind FROM artifacts WHERE space_id = ? ORDER BY created_at DESC").all(String(c)).map(a=>({local_resource_id:a.id,resource_type:"artifact",name:a.title||a.id,kind:a.kind??null})));return C(j,{session:e,options:b,resources:k,include_resource_metadata:!0,target_type:"dashboard_space",target_id:String(d)})}async function E(a={},b={}){let{session:c,visibility:d="org",includeResourceMetadata:e=!0}=a,g=a.project_id||a.slug;if(!g)throw Error("publishProjectFolder: project_id or slug is required");let h=a.org_id||c?.org_id;if(!h)throw Error("publishProjectFolder: org_id (or session.org_id) is required");w(d,"publishProjectFolder");let i=(0,j.U1)(g);if(!i)throw Error(`publishProjectFolder: project ${g} not found locally`);let k=function(a,b={}){if(!a||!a.id)throw Error("mapProjectToSharedSpaceMetadata: project with id is required");if(!b.org_id)throw Error("mapProjectToSharedSpaceMetadata: org_id is required");let c=b.visibility||"org";return w(c,"mapProjectToSharedSpaceMetadata"),{org_id:b.org_id,space_type:"project",local_space_id:String(a.id),local_project_id:String(a.id),slug:a.slug||String(a.id),name:a.name||a.slug||String(a.id),description:a.description??null,visibility:c,created_by:b.created_by??null}}(i,{org_id:h,visibility:d,created_by:a.published_by??null}),l=null,m=0;if(e){let b=function(a,{includeLocalOnly:b=!1,allowLocalOnlyOverride:c=!1}={}){if(b&&!c)throw Error("publishProjectFolder: refusing to share local_only resources. local_only is a hard content boundary; pass allowLocalOnlyOverride:true to force metadata-only sharing of local_only files (bodies are never uploaded).");let d=(0,f.getDb)(),e=[];for(let b of d.prepare("SELECT * FROM disk_folders WHERE project_id = ? ORDER BY path ASC").all(a))e.push({local_resource_id:b.id,resource_type:"folder",name:b.name,path:b.path});let g=0;for(let c of d.prepare("SELECT * FROM disk_files WHERE project_id = ? ORDER BY updated_at DESC").all(a)){let a=1===c.local_only;if(a&&!b){g+=1;continue}e.push({local_resource_id:c.id,resource_type:"file",name:c.name,path:c.path??null,mime_type:c.mime_type??null,kind:c.kind??null,size_bytes:"number"==typeof c.size_bytes?c.size_bytes:null,sha256:c.sha256??null,local_only:a})}for(let b of d.prepare("SELECT id, title, kind FROM artifacts WHERE project_id = ? ORDER BY created_at DESC").all(a))e.push({local_resource_id:b.id,resource_type:"artifact",name:b.title||b.id,kind:b.kind??null});return{resources:e,excludedLocalOnly:g}}(i.id,{includeLocalOnly:!0===a.includeLocalOnly,allowLocalOnlyOverride:!0===a.allowLocalOnlyOverride});l=b.resources,m=b.excludedLocalOnly}return C(k,{session:c,options:b,resources:l,include_resource_metadata:e,excludedLocalOnly:m,target_type:"project",target_id:i.id})}async function F(a={},b={}){let{local_space_id:c,session:d,space_type:e="dashboard_space"}=a;if(!c)throw Error("unpublishSpace: local_space_id is required");let g=a.org_id||d?.org_id;if(!g)throw Error("unpublishSpace: org_id (or session.org_id) is required");if(x(e,"unpublishSpace"),!n(b))throw Error("unpublishSpace: shared cloud is not configured.");let h=r(b),j=y(c,e);return j?.cloud_space_id&&await h.delete("shared_space_resources",{filters:{org_id:g,shared_space_id:j.cloud_space_id}}),await h.delete("shared_spaces",{filters:{org_id:g,space_type:e,local_space_id:c}}),z({local_space_id:c,space_type:e,org_id:g,visibility:j?.visibility||"private",status:"unpublished",resource_count:0,published_by:d?.user_id,unpublished_at:(0,f.nowIso)(),last_synced_at:(0,f.nowIso)()}),(0,i.appendComplianceAudit)({user_id:d?.user_id,org_id:g,action:`${e}.shared.unpublished`,action_target_id:c,action_target_type:e,status:"success",summary:`Unshared ${e} ${c} from shared cloud`}),A(c,e)}function G(a){return(0,f.getDb)().prepare("SELECT * FROM brand_publications WHERE org_id = ?").get(a)||null}function H(a){let b=(0,f.getDb)(),c=G(a.org_id),d=c?.id||(0,f.newId)("bpub");return b.prepare(`INSERT INTO brand_publications
|
|
19
|
+
(id, org_id, source, content_hash, status, last_error,
|
|
20
|
+
published_by, published_at, adopted_at, last_synced_at, unpublished_at)
|
|
21
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
22
|
+
ON CONFLICT(org_id) DO UPDATE SET
|
|
23
|
+
source = excluded.source,
|
|
24
|
+
content_hash = excluded.content_hash,
|
|
25
|
+
status = excluded.status,
|
|
26
|
+
last_error = excluded.last_error,
|
|
27
|
+
published_by = excluded.published_by,
|
|
28
|
+
published_at = COALESCE(excluded.published_at, brand_publications.published_at),
|
|
29
|
+
adopted_at = COALESCE(excluded.adopted_at, brand_publications.adopted_at),
|
|
30
|
+
last_synced_at = excluded.last_synced_at,
|
|
31
|
+
unpublished_at = excluded.unpublished_at`).run(d,a.org_id,a.source||"local",a.content_hash??null,a.status,a.last_error??null,a.published_by??null,a.published_at??null,a.adopted_at??null,a.last_synced_at??null,a.unpublished_at??null),d}function I(a){let b=G(a);return b?{published:"published"===b.status,status:b.status,source:b.source||"local",content_hash:b.content_hash||null,published_by:b.published_by||null,published_at:b.published_at||null,adopted_at:b.adopted_at||null,last_synced_at:b.last_synced_at||null,last_error:b.last_error||null}:{published:!1,status:"local",source:"local",content_hash:null,last_synced_at:null}}async function J(a={},b={}){let{session:c,profile:d}=a,g=a.org_id||c?.org_id;if(!g)throw Error("publishBrandProfile: org_id (or session.org_id) is required");if(!d||"object"!=typeof d)throw Error("publishBrandProfile: a profile is required");let{client:h}=u(a,b);if(!h)throw Error("publishBrandProfile: shared cloud is not configured. Owner instances need SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY; member instances need SUPABASE_URL + SUPABASE_ANON_KEY and a signed-in session.");let j=function(a,b={}){var c;if(!a||"object"!=typeof a)throw Error("mapBrandToCloud: a profile object is required");if(!b.org_id)throw Error("mapBrandToCloud: org_id is required");return{org_id:b.org_id,company_name:String(a.company_name||"Brand").slice(0,200),profile_json:a,logo_data_url:a.logo_data_url??null,content_hash:(c=JSON.stringify(a),(0,e.createHash)("sha256").update(String(c??""),"utf8").digest("hex")),published_by:b.published_by??null,updated_at:(0,f.nowIso)()}}(d,{org_id:g,published_by:a.published_by});var k=j;if(!k||"object"!=typeof k)throw Error("shared brand metadata must be an object");for(let a of["org_id","company_name","profile_json","content_hash"])if(null==k[a]||""===k[a])throw Error(`shared brand metadata missing required field: ${a}`);if("object"!=typeof k.profile_json)throw Error("shared brand metadata profile_json must be an object");if(!/^[0-9a-f]{64}$/.test(k.content_hash))throw Error("shared brand metadata content_hash must be a sha256 hex digest");try{await h.upsert("shared_brand_profiles",j,{onConflict:"org_id"})}catch(a){throw H({org_id:g,source:"local",content_hash:j.content_hash,status:"error",last_error:a.message,published_by:c?.user_id}),(0,i.appendComplianceAudit)({user_id:c?.user_id,org_id:g,action:"brand.shared.publish.error",action_target_id:g,action_target_type:"brand",status:"error",summary:"Failed to publish org brand to shared cloud",meta:{error:a.message}}),a}return H({org_id:g,source:"local",content_hash:j.content_hash,status:"published",published_by:c?.user_id,published_at:(0,f.nowIso)(),last_synced_at:(0,f.nowIso)()}),(0,i.appendComplianceAudit)({user_id:c?.user_id,org_id:g,action:"brand.shared.published",action_target_id:g,action_target_type:"brand",status:"success",summary:`Published org brand "${j.company_name}" to shared cloud`}),I(g)}async function K(a={},b={}){let{session:c}=a,d=a.org_id||c?.org_id;if(!d)throw Error("fetchOrgBrandProfile: org_id (or session.org_id) is required");let{client:e}=u(a,b);if(!e)throw Error("fetchOrgBrandProfile: shared cloud is not configured.");let f=await e.select("shared_brand_profiles",{filters:{org_id:d},limit:1}),g=Array.isArray(f)?f[0]:f;return g?{org_id:d,company_name:g.company_name||"Brand",profile:g.profile_json||null,logo_data_url:g.logo_data_url||null,content_hash:g.content_hash||null,updated_at:g.updated_at||null,published_by:g.published_by||null}:null}function L(a,{content_hash:b,user_id:c}={}){if(!a)throw Error("markBrandAdopted: orgId is required");return H({org_id:a,source:"org",content_hash:b??null,status:"adopted",published_by:c??null,adopted_at:(0,f.nowIso)(),last_synced_at:(0,f.nowIso)()}),(0,i.appendComplianceAudit)({user_id:c,org_id:a,action:"brand.shared.adopted",action_target_id:a,action_target_type:"brand",status:"success",summary:"Adopted org brand from shared cloud"}),I(a)}async function M(a={},b={}){let{session:c}=a,d=a.org_id||c?.org_id;if(!d)throw Error("unpublishBrandProfile: org_id (or session.org_id) is required");let{client:e}=u(a,b);if(!e)throw Error("unpublishBrandProfile: shared cloud is not configured.");return await e.delete("shared_brand_profiles",{filters:{org_id:d}}),H({org_id:d,source:"local",status:"unpublished",published_by:c?.user_id,unpublished_at:(0,f.nowIso)(),last_synced_at:(0,f.nowIso)()}),(0,i.appendComplianceAudit)({user_id:c?.user_id,org_id:d,action:"brand.shared.unpublished",action_target_id:d,action_target_type:"brand",status:"success",summary:"Stopped sharing org brand from shared cloud"}),I(d)}function N(a,b,c,d){let e=(0,f.getDb)();if(!e.prepare("SELECT id FROM organizations WHERE id = ?").get(a)){let b=(0,f.nowIso)();e.prepare(`INSERT INTO organizations (id, slug, name, plan, created_at, updated_at)
|
|
32
|
+
VALUES (?, ?, ?, 'free', ?, ?) ON CONFLICT(id) DO NOTHING`).run(a,`org-${String(a).slice(-8)}`,d||String(a),b,b)}e.prepare("SELECT id FROM org_memberships WHERE org_id = ? AND user_id = ?").get(a,b)||e.prepare("INSERT INTO org_memberships (id, org_id, user_id, role, accepted_at) VALUES (?, ?, ?, ?, ?)").run((0,f.newId)("mem"),a,b,c,(0,f.nowIso)())}async function O(a,b={}){let c,d=a?.supabase_access_token;if(!d||!q(b))return[];try{c=await s(d,b).rpc("claim_email_invites")}catch{return[]}let e=Array.isArray(c)?c:[],f=[];for(let b of e){let c=b.granted_role||b.role;b.org_id&&(N(b.org_id,a.user_id,c),f.push({org_id:b.org_id,role:c}))}return f}async function P(a,b,c={}){let d=b?.supabase_access_token;if(!d)throw Error("redeemInviteViaCloud: no session access token");if(!q(c))throw Error("redeemInviteViaCloud: shared cloud (user) not configured");let e=await s(d,c).rpc("redeem_invite_token",{p_token:a}),f=Array.isArray(e)?e[0]:e;if(!f||!f.org_id)throw Object.assign(Error("invite is no longer valid (expired, revoked, or fully used)"),{code:"invite_invalid"});let g=f.granted_role||f.role;return N(f.org_id,b.user_id,g),{org_id:f.org_id,role:g}}async function Q(a,b={}){let c,d,e=a?.user_id;if(!e)return[];let f=a?.supabase_access_token||null,g=t({serviceReady:n(b),userReady:q(b),accessToken:f});if(!g)return[];try{c="admin"===g?r(b):s(f,b)}catch{return[]}try{d=await c.select("org_memberships",{filters:{user_id:e},select:"org_id,role",limit:100})}catch{return[]}if(!Array.isArray(d)||0===d.length)return[];let h=[...new Set(d.map(a=>a.org_id).filter(Boolean))],i=new Map;try{if(h.length){let a=await c.select("organizations",{filters:{id:`in.(${h.join(",")})`},select:"id,name",limit:1e3});for(let b of Array.isArray(a)?a:[])b.id&&i.set(b.id,b.name)}}catch{}let j=[];for(let a of d)a.org_id&&(N(a.org_id,e,a.role,i.get(a.org_id)),j.push({org_id:a.org_id,role:a.role}));return j}let _=Object.freeze(["user","team","org"]),aa=Object.freeze(["user","org"]),ab=Object.freeze(["read","write","admin"]),ac=Object.freeze({read:1,write:2,admin:3});function R(a,b,{writableOnly:c=!1}={}){let d=c?aa:_;if(!d.includes(a))throw Error(`${b}: invalid principal_type "${a}" (expected one of ${d.join("|")})`)}function S(a,b,c,d){if("org"===a)return b||c;if(!b)throw Error(`${d}: principal_id is required for principal_type "${a}"`);return b}function T(a,b,c){let d=y(a,b);if(!d||"published"!==d.status||!d.cloud_space_id)throw Error(`${c}: ${b} ${a} is not published to the shared cloud`);return d.cloud_space_id}async function U(a={},b={}){let c,{local_space_id:d,session:e,principal_type:g,permission:h="read",space_type:j="project"}=a;if(!d)throw Error("grantSpaceAccess: local_space_id is required");let k=a.org_id||e?.org_id;if(!k)throw Error("grantSpaceAccess: org_id (or session.org_id) is required");x(j,"grantSpaceAccess"),R(g,"grantSpaceAccess",{writableOnly:!0});if(!ab.includes(h))throw Error(`grantSpaceAccess: invalid permission "${h}" (expected one of ${ab.join("|")})`);let l=S(g,a.principal_id,k,"grantSpaceAccess");if(!n(b))throw Error("grantSpaceAccess: shared cloud is not configured.");let m=T(d,j,"grantSpaceAccess"),o=r(b);try{let a=await o.upsert("shared_space_acl",{shared_space_id:m,org_id:k,principal_type:g,principal_id:l,permission:h,created_by:e?.user_id??null,updated_at:(0,f.nowIso)()},{onConflict:"shared_space_id,principal_type,principal_id"});c=Array.isArray(a)?a[0]:a}catch(a){throw(0,i.appendComplianceAudit)({user_id:e?.user_id,org_id:k,action:`${j}.shared.acl.grant.error`,action_target_id:d,action_target_type:j,status:"error",summary:`Failed to grant ${h} on ${j} ${d} to ${g}:${l}`,meta:{principal_type:g,principal_id:l,permission:h,error:a.message}}),a}return(0,i.appendComplianceAudit)({user_id:e?.user_id,org_id:k,action:`${j}.shared.acl.granted`,action_target_id:d,action_target_type:j,status:"success",summary:`Granted ${h} on ${j} ${d} to ${g}:${l}`,meta:{principal_type:g,principal_id:l,permission:h,cloud_space_id:m}}),c}async function V(a={},b={}){let{local_space_id:c,session:d,principal_type:e,space_type:f="project"}=a;if(!c)throw Error("revokeSpaceAccess: local_space_id is required");let g=a.org_id||d?.org_id;if(!g)throw Error("revokeSpaceAccess: org_id (or session.org_id) is required");x(f,"revokeSpaceAccess"),R(e,"revokeSpaceAccess",{writableOnly:!0});let h=S(e,a.principal_id,g,"revokeSpaceAccess");if(!n(b))throw Error("revokeSpaceAccess: shared cloud is not configured.");let j=T(c,f,"revokeSpaceAccess"),k=r(b),l=await k.delete("shared_space_acl",{filters:{shared_space_id:j,principal_type:e,principal_id:h}});return(0,i.appendComplianceAudit)({user_id:d?.user_id,org_id:g,action:`${f}.shared.acl.revoked`,action_target_id:c,action_target_type:f,status:"success",summary:`Revoked ${f} ${c} grant from ${e}:${h}`,meta:{principal_type:e,principal_id:h,cloud_space_id:j}}),{revoked:Array.isArray(l)?l.length:0,principal_type:e,principal_id:h}}async function W(a={},b={}){let{local_space_id:c,session:d,space_type:e="project"}=a;if(!c)throw Error("listSpaceAccess: local_space_id is required");if(!(a.org_id||d?.org_id))throw Error("listSpaceAccess: org_id (or session.org_id) is required");x(e,"listSpaceAccess");let f=y(c,e);if(!f||"published"!==f.status||!f.cloud_space_id)return[];if(!n(b))throw Error("listSpaceAccess: shared cloud is not configured.");return r(b).select("shared_space_acl",{filters:{shared_space_id:f.cloud_space_id},select:"*",limit:1e3})}async function X(a={},b={}){let{local_space_id:c,user_id:d,space_type:e="project",session:f}=a;if(!c)throw Error("resolveSpacePermission: local_space_id is required");x(e,"resolveSpacePermission");let g=a.org_id||f?.org_id,h=y(c,e);if(!h||"published"!==h.status)return null;let i=await W({local_space_id:c,space_type:e,org_id:g},b);return function({visibility:a,grants:b=[],userId:c,orgId:d}={}){let e=null,f=a=>{a&&ac[a]&&(!e||ac[a]>ac[e])&&(e=a)};for(let e of("org"===a&&f("read"),b))e&&("user"===e.principal_type&&c&&e.principal_id===c?f(e.permission):"org"===e.principal_type&&(null==e.principal_id||e.principal_id===d)&&f(e.permission));return e}({visibility:h.visibility,grants:i,userId:d,orgId:g})}d()}catch(a){d(a)}})}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=8003,exports.ids=[8003],exports.modules={31575:(a,b,c)=>{c.d(b,{iN:()=>f,qs:()=>g});var d=c(21124),e=c(94657);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}},37998:(a,b,c)=>{c.r(b),c.d(b,{default:()=>j});var d=c(21124),e=c(38301),f=c(31575);async function g(a,b){let c=await fetch(a,b);if(!c.ok)throw Error(await c.text());return c.json()}function h(a){return(a||[]).join("\n")}function i(a){return(a||[]).map(a=>`${a.name||"Color"}: ${a.value}`).join("\n")}function j(){let[a,b]=(0,e.useState)(null),[c,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!1),[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(null),q=(0,e.useMemo)(()=>c?.colors?.find(a=>a.value)?.value||"#C2452A",[c]);function r(a,b){j(c=>({...c,[a]:b}))}async function s(){l(!0),p(null);try{let a={active:c.active,company_name:c.company_name,tagline:c.tagline,presentation_style:c.presentation_style,colors:c.colors_text,fonts:c.fonts_text,voice:c.voice_text,document_types:c.document_types_text},d=await g("/api/brand",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(a)});b(d.brand),j({...d.brand,colors_text:i(d.brand.colors),fonts_text:h(d.brand.fonts),voice_text:h(d.brand.voice),document_types_text:h(d.brand.document_types)});let e=new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});p({type:"success",text:`Brand defaults saved at ${e}. Future artifacts will use this profile.`})}catch(a){p({type:"error",text:a.message})}finally{l(!1)}}async function t(a,c){if(c){n(a),p(null);try{let d=new FormData;d.set("kind",a),d.set("file",c);let e=await g("/api/brand",{method:"POST",body:d});b(e.brand),j({...e.brand,colors_text:i(e.brand.colors),fonts_text:h(e.brand.fonts),voice_text:h(e.brand.voice),document_types_text:h(e.brand.document_types)}),p({type:"success",text:"logo"===a?"Logo updated. Future branded artifacts will use it.":"Guidelines imported and extracted. Brand defaults are active."})}catch(a){p({type:"error",text:a.message})}finally{n(null)}}}if(!c)return(0,d.jsx)(f.iN,{kicker:"Brand Templates",title:"Default identity for artifacts.",description:"Loading brand profile…",children:(0,d.jsx)("div",{className:"mkt-page","data-page":"brand",children:(0,d.jsx)("div",{className:"brand-loading",children:"Loading brand profile..."})})});let u=(0,d.jsxs)("label",{className:"brand-toggle",children:[(0,d.jsx)("input",{type:"checkbox",checked:!!c.active,onChange:a=>r("active",a.target.checked)}),(0,d.jsx)("span",{children:"Use brand by default"})]});return(0,d.jsx)(f.iN,{kicker:"Brand Templates",title:"Default identity for artifacts.",description:"Upload guidelines and logos once. madarX applies the extracted system when agents create documents, presentations, and HTML artifacts.",actions:u,children:(0,d.jsxs)("div",{className:"mkt-page","data-page":"brand",children:[o&&(0,d.jsxs)("div",{className:`brand-toast ${o.type}`,role:"status","aria-live":"polite",children:[(0,d.jsx)("span",{children:"success"===o.type?"Saved":"Needs attention"}),(0,d.jsx)("p",{children:o.text}),(0,d.jsx)("button",{type:"button",onClick:()=>p(null),"aria-label":"Dismiss notification",children:"\xd7"})]}),(0,d.jsxs)("div",{className:"brand-grid",children:[(0,d.jsxs)("section",{className:"brand-panel brand-upload-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Source Files"}),(0,d.jsx)("small",{children:a?.source_name||"No guidelines uploaded"})]}),(0,d.jsx)("div",{className:"brand-upload-row",children:(0,d.jsxs)("label",{className:"brand-file-picker",children:[(0,d.jsx)("input",{type:"file",accept:".html,.htm,.md,.txt,.css,.svg,.pdf",onChange:a=>t("guidelines",a.target.files?.[0])}),(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Brand guidelines"}),(0,d.jsx)("small",{children:"guidelines"===m?"Extracting file...":a?.source_name||"HTML, Markdown, text, CSS, SVG, or PDF"})]}),(0,d.jsx)("em",{children:"guidelines"===m?"Working":"Choose File"})]})}),(0,d.jsx)("div",{className:"brand-upload-row",children:(0,d.jsxs)("label",{className:"brand-file-picker",children:[(0,d.jsx)("input",{type:"file",accept:".svg,.png,.jpg,.jpeg,.webp",onChange:a=>t("logo",a.target.files?.[0])}),(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Primary logo"}),(0,d.jsx)("small",{children:"logo"===m?"Saving file...":a?.logo_path||"SVG, PNG, JPG, JPEG, or WebP"})]}),(0,d.jsx)("em",{children:"logo"===m?"Working":"Choose File"})]})}),(0,d.jsxs)("div",{className:"brand-paths",children:[(0,d.jsxs)("span",{children:["Guidelines: ",a?.guidelines_path||"default brand-assets/brand-guidelines.html"]}),(0,d.jsxs)("span",{children:["Logo: ",a?.logo_path||"default brand-assets/madarx-logo-primary.svg"]})]})]}),(0,d.jsx)("section",{className:"brand-panel brand-preview-panel",style:{"--brand-accent":q},children:(0,d.jsxs)("div",{className:"brand-preview-card",children:[c.logo_data_url&&(0,d.jsx)("img",{src:c.logo_data_url,alt:""}),(0,d.jsx)("span",{children:c.company_name||"Brand"}),(0,d.jsx)("h2",{children:c.tagline||"Presentation-ready brand system"}),(0,d.jsx)("p",{children:c.presentation_style}),(0,d.jsx)("div",{className:"brand-swatches",children:(a?.colors||[]).slice(0,6).map(a=>(0,d.jsx)("i",{title:`${a.name}: ${a.value}`,style:{background:a.value}},`${a.name}-${a.value}`))})]})}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Identity"}),(0,d.jsx)("small",{children:"Used in document headers and agent instructions"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Company name"}),(0,d.jsx)("input",{value:c.company_name||"",onChange:a=>r("company_name",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Tagline or description"}),(0,d.jsx)("textarea",{rows:3,value:c.tagline||"",onChange:a=>r("tagline",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Presentation style"}),(0,d.jsx)("textarea",{rows:5,value:c.presentation_style||"",onChange:a=>r("presentation_style",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Extracted Tokens"}),(0,d.jsx)("small",{children:"Edit anything the extractor missed"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Colors, one per line"}),(0,d.jsx)("textarea",{rows:7,value:c.colors_text||"",onChange:a=>r("colors_text",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Fonts, one per line"}),(0,d.jsx)("textarea",{rows:4,value:c.fonts_text||"",onChange:a=>r("fonts_text",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Usage Defaults"}),(0,d.jsx)("small",{children:"What agents should create with this brand"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Document and presentation types"}),(0,d.jsx)("textarea",{rows:5,value:c.document_types_text||"",onChange:a=>r("document_types_text",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Voice attributes"}),(0,d.jsx)("textarea",{rows:5,value:c.voice_text||"",onChange:a=>r("voice_text",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-actions",children:[(0,d.jsx)("div",{className:`brand-save-status ${o?.type||""}`,"aria-live":"polite",children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("b",{children:"success"===o.type?"Saved":"Error"}),(0,d.jsx)("span",{children:o.text})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("b",{children:"Ready"}),(0,d.jsx)("span",{children:"Save changes to make this the default brand system for agent artifacts."})]})}),(0,d.jsx)("button",{type:"button",className:"admin-button mars",onClick:s,disabled:k,children:k?"Saving...":"Save Brand Defaults"})]})]})]})})}},91084:(a,b,c)=>{c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/brand/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/brand/page.js","default")},94657:(a,b,c)=>{c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}}};
|
|
1
|
+
"use strict";exports.id=8003,exports.ids=[8003],exports.modules={31575:(a,b,c)=>{c.d(b,{iN:()=>f,qs:()=>g});var d=c(21124),e=c(94657);function f({kicker:a="madarX OS v1.0",title:b,description:c,actions:f,hideProjectSwitcher:g,children:h}){return(0,d.jsxs)("main",{className:"admin-shell",children:[(0,d.jsxs)("header",{className:"admin-header",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"admin-kicker",children:a}),(0,d.jsx)("h1",{children:b}),c?(0,d.jsx)("p",{children:c}):null]}),(0,d.jsxs)("div",{className:"admin-header-actions",children:[g?null:(0,d.jsx)(e.default,{}),f]})]}),h]})}function g({children:a,tone:b="neutral"}){return(0,d.jsx)("span",{className:`admin-pill ${b}`,children:a})}},37998:(a,b,c)=>{c.r(b),c.d(b,{default:()=>l});var d=c(21124),e=c(38301),f=c(31575);async function g(a,b){let c=await fetch(a,b);if(!c.ok)throw Error(await c.text());return c.json()}function h(a){return(a||[]).join("\n")}function i(a){return(a||[]).map(a=>`${a.name||"Color"}: ${a.value}`).join("\n")}function j(a){if(!a)return"";let b=new Date(a);return Number.isNaN(b.getTime())?"":b.toLocaleString([],{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}function k({share:a,sharing:b,onShare:c}){let e=a?.shared_cloud_ready,f=a?.status||{},g=!!a?.can_manage,h=a?.org_brand||null,i=!!b,k=e?"org"===f.source||"adopted"===f.status?"Using team brand":f.published?"Shared with team":"Saved locally":"Local only";return(0,d.jsxs)("section",{className:"brand-panel brand-share-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Team Sharing"}),(0,d.jsx)("small",{children:e?"Save locally, or share one brand across your org":"Supabase not configured"})]}),(0,d.jsxs)("div",{className:"brand-share-state",children:[(0,d.jsx)("span",{className:`brand-share-chip ${f.published?"on":"org"===f.source?"org":""}`,children:k}),e&&f.published&&f.last_synced_at&&(0,d.jsxs)("small",{children:["Synced ",j(f.last_synced_at)]}),e&&"org"===f.source&&f.adopted_at&&(0,d.jsxs)("small",{children:["Adopted ",j(f.adopted_at)]})]}),e?(0,d.jsxs)(d.Fragment,{children:[a?.needs_org&&(0,d.jsx)("p",{className:"brand-share-hint",children:"Join or create an organization to share your brand with a team."}),h&&!h.is_current&&(0,d.jsxs)("div",{className:"brand-share-row",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("b",{children:"Team brand available"}),(0,d.jsxs)("small",{children:[h.company_name,h.updated_at?` \xb7 updated ${j(h.updated_at)}`:""]})]}),(0,d.jsx)("button",{type:"button",className:"admin-button",disabled:i,onClick:()=>c("adopt"),children:"adopt"===b?"Adopting…":"Adopt team brand"})]}),h&&h.is_current&&(0,d.jsx)("p",{className:"brand-share-hint",children:"This workspace matches the team brand."}),g?(0,d.jsxs)("div",{className:"brand-share-actions",children:[(0,d.jsx)("button",{type:"button",className:"admin-button mars",disabled:i,onClick:()=>c("publish"),children:"publish"===b?"Sharing…":f.published?"Update shared brand":"Share with team"}),f.published&&(0,d.jsx)("button",{type:"button",className:"admin-button",disabled:i,onClick:()=>c("unpublish"),children:"unpublish"===b?"Stopping…":"Stop sharing"})]}):(0,d.jsx)("p",{className:"brand-share-hint",children:"Only org owners and admins can publish the team brand."})]}):(0,d.jsx)("p",{className:"brand-share-hint",children:"Your brand is stored locally on this machine. To share one brand across your team, configure Supabase (SUPABASE_URL + service-role key) and create an organization."})]})}function l(){let[a,b]=(0,e.useState)(null),[c,j]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),[n,o]=(0,e.useState)(null),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(null);async function v(){try{let a=await g("/api/brand/share");s(a)}catch{s({ok:!1,shared_cloud_ready:!1})}}let w=(0,e.useMemo)(()=>c?.colors?.find(a=>a.value)?.value||"#C2452A",[c]);function x(a,b){j(c=>({...c,[a]:b}))}async function y(){m(!0),q(null);try{let a={active:c.active,company_name:c.company_name,tagline:c.tagline,presentation_style:c.presentation_style,colors:c.colors_text,fonts:c.fonts_text,voice:c.voice_text,document_types:c.document_types_text},d=await g("/api/brand",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(a)});b(d.brand),j({...d.brand,colors_text:i(d.brand.colors),fonts_text:h(d.brand.fonts),voice_text:h(d.brand.voice),document_types_text:h(d.brand.document_types)});let e=new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});q({type:"success",text:`Brand defaults saved at ${e}. Future artifacts will use this profile.`})}catch(a){q({type:"error",text:a.message})}finally{m(!1)}}async function z(a,c){if(c){o(a),q(null);try{let d=new FormData;d.set("kind",a),d.set("file",c);let e=await g("/api/brand",{method:"POST",body:d});b(e.brand),j({...e.brand,colors_text:i(e.brand.colors),fonts_text:h(e.brand.fonts),voice_text:h(e.brand.voice),document_types_text:h(e.brand.document_types)}),q({type:"success",text:"logo"===a?"Logo updated. Future branded artifacts will use it.":"Guidelines imported and extracted. Brand defaults are active."})}catch(a){q({type:"error",text:a.message})}finally{o(null)}}}async function A(a){u(a),q(null);try{let c=await g("/api/brand/share",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({action:a})});"adopt"===a&&c.brand&&(b(c.brand),j({...c.brand,colors_text:i(c.brand.colors),fonts_text:h(c.brand.fonts),voice_text:h(c.brand.voice),document_types_text:h(c.brand.document_types)})),await v(),q({type:"success",text:"publish"===a?"Brand shared with your team. Members can now adopt it.":"unpublish"===a?"Stopped sharing. Your brand stays saved locally.":"Adopted your team brand. It is now this workspace’s default."})}catch(a){q({type:"error",text:a.message})}finally{u(null)}}if(!c)return(0,d.jsx)(f.iN,{kicker:"Brand Templates",title:"Default identity for artifacts.",description:"Loading brand profile…",children:(0,d.jsx)("div",{className:"mkt-page","data-page":"brand",children:(0,d.jsx)("div",{className:"brand-loading",children:"Loading brand profile..."})})});let B=(0,d.jsxs)("label",{className:"brand-toggle",children:[(0,d.jsx)("input",{type:"checkbox",checked:!!c.active,onChange:a=>x("active",a.target.checked)}),(0,d.jsx)("span",{children:"Use brand by default"})]});return(0,d.jsx)(f.iN,{kicker:"Brand Templates",title:"Default identity for artifacts.",description:"Upload guidelines and logos once. madarX applies the extracted system when agents create documents, presentations, and HTML artifacts.",actions:B,children:(0,d.jsxs)("div",{className:"mkt-page","data-page":"brand",children:[p&&(0,d.jsxs)("div",{className:`brand-toast ${p.type}`,role:"status","aria-live":"polite",children:[(0,d.jsx)("span",{children:"success"===p.type?"Saved":"Needs attention"}),(0,d.jsx)("p",{children:p.text}),(0,d.jsx)("button",{type:"button",onClick:()=>q(null),"aria-label":"Dismiss notification",children:"\xd7"})]}),(0,d.jsxs)("div",{className:"brand-grid",children:[(0,d.jsxs)("section",{className:"brand-panel brand-upload-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Source Files"}),(0,d.jsx)("small",{children:a?.source_name||"No guidelines uploaded"})]}),(0,d.jsx)("div",{className:"brand-upload-row",children:(0,d.jsxs)("label",{className:"brand-file-picker",children:[(0,d.jsx)("input",{type:"file",accept:".html,.htm,.md,.txt,.css,.svg,.pdf",onChange:a=>z("guidelines",a.target.files?.[0])}),(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Brand guidelines"}),(0,d.jsx)("small",{children:"guidelines"===n?"Extracting file...":a?.source_name||"HTML, Markdown, text, CSS, SVG, or PDF"})]}),(0,d.jsx)("em",{children:"guidelines"===n?"Working":"Choose File"})]})}),(0,d.jsx)("div",{className:"brand-upload-row",children:(0,d.jsxs)("label",{className:"brand-file-picker",children:[(0,d.jsx)("input",{type:"file",accept:".svg,.png,.jpg,.jpeg,.webp",onChange:a=>z("logo",a.target.files?.[0])}),(0,d.jsxs)("span",{children:[(0,d.jsx)("b",{children:"Primary logo"}),(0,d.jsx)("small",{children:"logo"===n?"Saving file...":a?.logo_path||"SVG, PNG, JPG, JPEG, or WebP"})]}),(0,d.jsx)("em",{children:"logo"===n?"Working":"Choose File"})]})}),(0,d.jsxs)("div",{className:"brand-paths",children:[(0,d.jsxs)("span",{children:["Guidelines: ",a?.guidelines_path||"default brand-assets/brand-guidelines.html"]}),(0,d.jsxs)("span",{children:["Logo: ",a?.logo_path||"default brand-assets/madarx-logo-primary.svg"]})]})]}),(0,d.jsx)("section",{className:"brand-panel brand-preview-panel",style:{"--brand-accent":w},children:(0,d.jsxs)("div",{className:"brand-preview-card",children:[c.logo_data_url&&(0,d.jsx)("img",{src:c.logo_data_url,alt:""}),(0,d.jsx)("span",{children:c.company_name||"Brand"}),(0,d.jsx)("h2",{children:c.tagline||"Presentation-ready brand system"}),(0,d.jsx)("p",{children:c.presentation_style}),(0,d.jsx)("div",{className:"brand-swatches",children:(a?.colors||[]).slice(0,6).map(a=>(0,d.jsx)("i",{title:`${a.name}: ${a.value}`,style:{background:a.value}},`${a.name}-${a.value}`))})]})}),(0,d.jsx)(k,{share:r,sharing:t,onShare:A}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Identity"}),(0,d.jsx)("small",{children:"Used in document headers and agent instructions"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Company name"}),(0,d.jsx)("input",{value:c.company_name||"",onChange:a=>x("company_name",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Tagline or description"}),(0,d.jsx)("textarea",{rows:3,value:c.tagline||"",onChange:a=>x("tagline",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Presentation style"}),(0,d.jsx)("textarea",{rows:5,value:c.presentation_style||"",onChange:a=>x("presentation_style",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Extracted Tokens"}),(0,d.jsx)("small",{children:"Edit anything the extractor missed"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Colors, one per line"}),(0,d.jsx)("textarea",{rows:7,value:c.colors_text||"",onChange:a=>x("colors_text",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Fonts, one per line"}),(0,d.jsx)("textarea",{rows:4,value:c.fonts_text||"",onChange:a=>x("fonts_text",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-panel",children:[(0,d.jsxs)("div",{className:"brand-panel-head",children:[(0,d.jsx)("span",{children:"Usage Defaults"}),(0,d.jsx)("small",{children:"What agents should create with this brand"})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Document and presentation types"}),(0,d.jsx)("textarea",{rows:5,value:c.document_types_text||"",onChange:a=>x("document_types_text",a.target.value)})]}),(0,d.jsxs)("label",{className:"brand-field",children:[(0,d.jsx)("span",{children:"Voice attributes"}),(0,d.jsx)("textarea",{rows:5,value:c.voice_text||"",onChange:a=>x("voice_text",a.target.value)})]})]}),(0,d.jsxs)("section",{className:"brand-actions",children:[(0,d.jsx)("div",{className:`brand-save-status ${p?.type||""}`,"aria-live":"polite",children:p?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("b",{children:"success"===p.type?"Saved":"Error"}),(0,d.jsx)("span",{children:p.text})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("b",{children:"Ready"}),(0,d.jsx)("span",{children:"Save changes to make this the default brand system for agent artifacts."})]})}),(0,d.jsx)("button",{type:"button",className:"admin-button mars",onClick:y,disabled:l,children:l?"Saving...":"Save Brand Defaults"})]})]})]})})}},91084:(a,b,c)=>{c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/madarx-os/madarx-os/app/brand/page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/madarx-os/madarx-os/app/brand/page.js","default")},94657:(a,b,c)=>{c.d(b,{default:()=>f});var d=c(21124),e=c(38301);function f(){let[a,b]=(0,e.useState)([]),[c,f]=(0,e.useState)("");return(0,d.jsx)("div",{className:"project-switcher","data-project-switcher":!0,children:(0,d.jsxs)("select",{value:c,onChange:a=>{var b;f(b=a.target.value),b?localStorage.setItem("madarx.activeProjectId",b):localStorage.removeItem("madarx.activeProjectId"),window.dispatchEvent(new CustomEvent("madarx:project-change",{detail:{project_id:b||null}}))},"aria-label":"Active project",children:[(0,d.jsx)("option",{value:"",children:"All projects"}),a.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name},a.id))]})})}}};
|