madarx 2.16.0 → 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 +406 -399
- package/.next/standalone/.next/app-path-routes-manifest.json +80 -79
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +9 -9
- 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 +3 -3
- 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_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_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 +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +2 -2
- 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 +38 -11
- 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_client-reference-manifest.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 +5 -5
- 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_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 +4 -4
- package/.next/standalone/.next/server/app/settings/organization/page.js +1 -1
- 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_client-reference-manifest.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_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 +4 -4
- 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 +1 -1
- 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 +80 -79
- package/.next/standalone/.next/server/chunks/1699.js +30 -3
- package/.next/standalone/.next/server/chunks/3066.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 +41 -40
- 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/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/loading-ac9aed5c6e27d434.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/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/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/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 +12 -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/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/loading-ac9aed5c6e27d434.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/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/loading-ac9aed5c6e27d434.js +1 -0
- package/.next/static/chunks/app/settings/page-ac9aed5c6e27d434.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 +12 -0
- package/app/api/brand/share/route.js +147 -0
- 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 +75 -13
- package/app/login/login-client.jsx +198 -85
- package/app/login/page.js +1 -0
- package/lib/artifact-format.js +22 -4
- package/lib/schema.js +26 -0
- package/lib/shared-cloud.js +250 -0
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/7500.js +0 -1
- package/.next/standalone/.next/static/JGJBLnQfb05RAKCcECbJt/_buildManifest.js +0 -1
- package/.next/standalone/.next/static/chunks/566-cec91060c32a22d6.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/loading-c619e04ba7b0ad20.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/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-e1cfb0b17418e719.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/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/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/9fbf057b7ce95c36.css +0 -1
- package/.next/static/JGJBLnQfb05RAKCcECbJt/_buildManifest.js +0 -1
- package/.next/static/chunks/566-cec91060c32a22d6.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/loading-c619e04ba7b0ad20.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/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-e1cfb0b17418e719.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/loading-c619e04ba7b0ad20.js +0 -1
- package/.next/static/chunks/app/settings/page-c619e04ba7b0ad20.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/9fbf057b7ce95c36.css +0 -1
- /package/.next/standalone/.next/static/{JGJBLnQfb05RAKCcECbJt → rhk5TnKsJ_4Rj__U8e3JH}/_ssgManifest.js +0 -0
- /package/.next/static/{JGJBLnQfb05RAKCcECbJt → rhk5TnKsJ_4Rj__U8e3JH}/_ssgManifest.js +0 -0
|
@@ -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))]})})}}};
|