orionfold-relay 0.0.1 → 0.15.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/LICENSE +191 -0
- package/README.md +194 -12
- package/components.json +21 -0
- package/dist/cli.js +25985 -0
- package/drizzle.config.ts +14 -0
- package/next.config.mjs +24 -0
- package/package.json +127 -16
- package/postcss.config.mjs +8 -0
- package/public/apple-icon-180.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/icon-16.png +0 -0
- package/public/icon-192.png +0 -0
- package/public/icon-32.png +0 -0
- package/public/icon-48.png +0 -0
- package/public/icon-512-maskable.png +0 -0
- package/public/icon-512.png +0 -0
- package/src/app/analytics/page.tsx +40 -0
- package/src/app/api/apps/[id]/route.ts +47 -0
- package/src/app/api/apps/route.ts +12 -0
- package/src/app/api/blueprints/[id]/instantiate/route.ts +27 -0
- package/src/app/api/blueprints/[id]/route.ts +39 -0
- package/src/app/api/blueprints/import/route.ts +68 -0
- package/src/app/api/blueprints/route.ts +29 -0
- package/src/app/api/channels/[id]/route.ts +104 -0
- package/src/app/api/channels/[id]/test/route.ts +52 -0
- package/src/app/api/channels/inbound/slack/route.ts +116 -0
- package/src/app/api/channels/inbound/telegram/poll/route.ts +140 -0
- package/src/app/api/channels/inbound/telegram/route.ts +87 -0
- package/src/app/api/channels/route.ts +72 -0
- package/src/app/api/chat/branching/flag/route.ts +11 -0
- package/src/app/api/chat/conversations/[id]/branches/route.ts +33 -0
- package/src/app/api/chat/conversations/[id]/messages/route.ts +130 -0
- package/src/app/api/chat/conversations/[id]/redo/route.ts +34 -0
- package/src/app/api/chat/conversations/[id]/respond/route.ts +79 -0
- package/src/app/api/chat/conversations/[id]/rewind/route.ts +40 -0
- package/src/app/api/chat/conversations/[id]/route.ts +93 -0
- package/src/app/api/chat/conversations/[id]/skills/activate/route.ts +74 -0
- package/src/app/api/chat/conversations/[id]/skills/deactivate/route.ts +33 -0
- package/src/app/api/chat/conversations/route.ts +128 -0
- package/src/app/api/chat/entities/search/route.ts +121 -0
- package/src/app/api/chat/export/route.ts +52 -0
- package/src/app/api/chat/files/search/route.ts +50 -0
- package/src/app/api/chat/models/route.ts +12 -0
- package/src/app/api/chat/suggested-prompts/route.ts +11 -0
- package/src/app/api/command-palette/recent/route.ts +32 -0
- package/src/app/api/context/batch/route.ts +44 -0
- package/src/app/api/customers/[id]/link-project/route.ts +44 -0
- package/src/app/api/customers/[id]/route.ts +61 -0
- package/src/app/api/customers/route.ts +53 -0
- package/src/app/api/data/clear/route.ts +19 -0
- package/src/app/api/data/seed/route.ts +20 -0
- package/src/app/api/diagnostics/chat-streams/route.ts +65 -0
- package/src/app/api/documents/[id]/file/route.ts +47 -0
- package/src/app/api/documents/[id]/route.ts +159 -0
- package/src/app/api/documents/[id]/versions/route.ts +53 -0
- package/src/app/api/documents/route.ts +203 -0
- package/src/app/api/environment/artifacts/[id]/route.ts +17 -0
- package/src/app/api/environment/artifacts/route.ts +33 -0
- package/src/app/api/environment/checkpoints/[id]/route.ts +86 -0
- package/src/app/api/environment/checkpoints/route.ts +80 -0
- package/src/app/api/environment/profiles/create/route.ts +28 -0
- package/src/app/api/environment/profiles/suggest/route.ts +41 -0
- package/src/app/api/environment/rescan-if-stale/route.ts +23 -0
- package/src/app/api/environment/scan/route.ts +70 -0
- package/src/app/api/environment/skills/route.ts +13 -0
- package/src/app/api/environment/sync/history/route.ts +20 -0
- package/src/app/api/environment/sync/preview/route.ts +27 -0
- package/src/app/api/environment/sync/route.ts +43 -0
- package/src/app/api/environment/templates/[id]/route.ts +34 -0
- package/src/app/api/environment/templates/route.ts +27 -0
- package/src/app/api/handoffs/[id]/route.ts +76 -0
- package/src/app/api/handoffs/route.ts +89 -0
- package/src/app/api/instance/config/route.ts +60 -0
- package/src/app/api/instance/init/route.ts +34 -0
- package/src/app/api/instance/upgrade/check/route.ts +26 -0
- package/src/app/api/instance/upgrade/route.ts +97 -0
- package/src/app/api/instance/upgrade/status/route.ts +35 -0
- package/src/app/api/logs/stream/route.ts +101 -0
- package/src/app/api/memory/route.ts +181 -0
- package/src/app/api/notifications/[id]/route.ts +36 -0
- package/src/app/api/notifications/mark-all-read/route.ts +13 -0
- package/src/app/api/notifications/pending-approvals/route.ts +10 -0
- package/src/app/api/notifications/pending-approvals/stream/route.ts +101 -0
- package/src/app/api/notifications/route.ts +36 -0
- package/src/app/api/onboarding/progress/route.ts +60 -0
- package/src/app/api/permissions/presets/route.ts +80 -0
- package/src/app/api/permissions/route.ts +46 -0
- package/src/app/api/plugins/reload/route.ts +18 -0
- package/src/app/api/plugins/route.ts +9 -0
- package/src/app/api/plugins/scaffold/route.ts +78 -0
- package/src/app/api/profiles/[id]/context/route.ts +109 -0
- package/src/app/api/profiles/[id]/route.ts +94 -0
- package/src/app/api/profiles/[id]/test/route.ts +46 -0
- package/src/app/api/profiles/[id]/test-results/route.ts +22 -0
- package/src/app/api/profiles/[id]/test-single/route.ts +64 -0
- package/src/app/api/profiles/assist/route.ts +35 -0
- package/src/app/api/profiles/import/route.ts +108 -0
- package/src/app/api/profiles/import-repo/apply-updates/route.ts +123 -0
- package/src/app/api/profiles/import-repo/check-updates/route.ts +163 -0
- package/src/app/api/profiles/import-repo/confirm/route.ts +118 -0
- package/src/app/api/profiles/import-repo/preview/route.ts +107 -0
- package/src/app/api/profiles/import-repo/route.ts +29 -0
- package/src/app/api/profiles/import-repo/scan/route.ts +25 -0
- package/src/app/api/profiles/route.ts +103 -0
- package/src/app/api/projects/[id]/documents/route.ts +124 -0
- package/src/app/api/projects/[id]/route.ts +101 -0
- package/src/app/api/projects/route.ts +68 -0
- package/src/app/api/runtimes/ollama/route.ts +86 -0
- package/src/app/api/runtimes/suggest/route.ts +29 -0
- package/src/app/api/schedules/[id]/execute/route.ts +111 -0
- package/src/app/api/schedules/[id]/heartbeat-history/route.ts +77 -0
- package/src/app/api/schedules/[id]/route.ts +231 -0
- package/src/app/api/schedules/parse/route.ts +66 -0
- package/src/app/api/schedules/route.ts +224 -0
- package/src/app/api/settings/author-default/route.ts +7 -0
- package/src/app/api/settings/browser-tools/route.ts +68 -0
- package/src/app/api/settings/budgets/route.ts +24 -0
- package/src/app/api/settings/chat/pins/route.ts +94 -0
- package/src/app/api/settings/chat/route.ts +107 -0
- package/src/app/api/settings/chat/saved-searches/route.ts +79 -0
- package/src/app/api/settings/environment/route.ts +26 -0
- package/src/app/api/settings/learning/route.ts +41 -0
- package/src/app/api/settings/ollama/route.ts +34 -0
- package/src/app/api/settings/openai/login/route.ts +22 -0
- package/src/app/api/settings/openai/logout/route.ts +7 -0
- package/src/app/api/settings/openai/route.ts +44 -0
- package/src/app/api/settings/pricing/route.ts +15 -0
- package/src/app/api/settings/providers/route.ts +133 -0
- package/src/app/api/settings/route.ts +21 -0
- package/src/app/api/settings/routing/route.ts +24 -0
- package/src/app/api/settings/runtime/route.ts +46 -0
- package/src/app/api/settings/test/route.ts +26 -0
- package/src/app/api/settings/web-search/route.ts +28 -0
- package/src/app/api/snapshots/[id]/restore/route.ts +62 -0
- package/src/app/api/snapshots/[id]/route.ts +44 -0
- package/src/app/api/snapshots/route.ts +54 -0
- package/src/app/api/snapshots/settings/route.ts +67 -0
- package/src/app/api/tables/[id]/charts/[chartId]/route.ts +89 -0
- package/src/app/api/tables/[id]/charts/route.ts +72 -0
- package/src/app/api/tables/[id]/columns/route.ts +70 -0
- package/src/app/api/tables/[id]/enrich/plan/route.ts +98 -0
- package/src/app/api/tables/[id]/enrich/route.ts +147 -0
- package/src/app/api/tables/[id]/enrich/runs/route.ts +25 -0
- package/src/app/api/tables/[id]/export/route.ts +94 -0
- package/src/app/api/tables/[id]/history/route.ts +15 -0
- package/src/app/api/tables/[id]/import/route.ts +111 -0
- package/src/app/api/tables/[id]/route.ts +86 -0
- package/src/app/api/tables/[id]/rows/[rowId]/history/route.ts +32 -0
- package/src/app/api/tables/[id]/rows/[rowId]/route.ts +51 -0
- package/src/app/api/tables/[id]/rows/route.ts +104 -0
- package/src/app/api/tables/[id]/triggers/[triggerId]/route.ts +65 -0
- package/src/app/api/tables/[id]/triggers/route.ts +122 -0
- package/src/app/api/tables/route.ts +65 -0
- package/src/app/api/tables/templates/route.ts +92 -0
- package/src/app/api/tasks/[id]/cancel/route.ts +21 -0
- package/src/app/api/tasks/[id]/execute/route.ts +142 -0
- package/src/app/api/tasks/[id]/logs/route.ts +95 -0
- package/src/app/api/tasks/[id]/output/route.ts +47 -0
- package/src/app/api/tasks/[id]/provenance/route.ts +16 -0
- package/src/app/api/tasks/[id]/respond/route.ts +102 -0
- package/src/app/api/tasks/[id]/resume/route.ts +97 -0
- package/src/app/api/tasks/[id]/route.ts +163 -0
- package/src/app/api/tasks/[id]/siblings/route.ts +48 -0
- package/src/app/api/tasks/assist/route.ts +35 -0
- package/src/app/api/tasks/route.ts +94 -0
- package/src/app/api/telemetry/route.ts +231 -0
- package/src/app/api/uploads/[id]/route.ts +81 -0
- package/src/app/api/uploads/cleanup/route.ts +7 -0
- package/src/app/api/uploads/route.ts +80 -0
- package/src/app/api/views/[id]/route.ts +66 -0
- package/src/app/api/views/route.ts +67 -0
- package/src/app/api/workflows/[id]/debug/route.ts +18 -0
- package/src/app/api/workflows/[id]/documents/route.ts +209 -0
- package/src/app/api/workflows/[id]/execute/route.ts +117 -0
- package/src/app/api/workflows/[id]/resume/route.ts +59 -0
- package/src/app/api/workflows/[id]/route.ts +185 -0
- package/src/app/api/workflows/[id]/status/route.ts +152 -0
- package/src/app/api/workflows/[id]/steps/[stepId]/retry/route.ts +22 -0
- package/src/app/api/workflows/from-assist/route.ts +117 -0
- package/src/app/api/workflows/optimize/route.ts +30 -0
- package/src/app/api/workflows/route.ts +72 -0
- package/src/app/api/workspace/context/route.ts +11 -0
- package/src/app/api/workspace/discover/route.ts +61 -0
- package/src/app/api/workspace/fix-data-dir/route.ts +81 -0
- package/src/app/api/workspace/import/route.ts +107 -0
- package/src/app/apps/[id]/page.tsx +51 -0
- package/src/app/apps/page.tsx +141 -0
- package/src/app/chat/page.tsx +41 -0
- package/src/app/costs/page.tsx +270 -0
- package/src/app/customers/[id]/page.tsx +139 -0
- package/src/app/customers/page.tsx +47 -0
- package/src/app/documents/[id]/page.tsx +38 -0
- package/src/app/documents/page.tsx +56 -0
- package/src/app/environment/compare/page.tsx +20 -0
- package/src/app/environment/loading.tsx +56 -0
- package/src/app/environment/page.tsx +61 -0
- package/src/app/environment/skills/page.tsx +20 -0
- package/src/app/error.tsx +26 -0
- package/src/app/global-error.tsx +23 -0
- package/src/app/globals.css +626 -0
- package/src/app/inbox/loading.tsx +15 -0
- package/src/app/inbox/page.tsx +82 -0
- package/src/app/layout.tsx +136 -0
- package/src/app/manifest.ts +35 -0
- package/src/app/monitor/page.tsx +41 -0
- package/src/app/page.tsx +205 -0
- package/src/app/profiles/[id]/edit/page.tsx +32 -0
- package/src/app/profiles/[id]/page.tsx +23 -0
- package/src/app/profiles/new/page.tsx +12 -0
- package/src/app/profiles/page.tsx +24 -0
- package/src/app/projects/[id]/page.tsx +223 -0
- package/src/app/projects/loading.tsx +17 -0
- package/src/app/projects/page.tsx +35 -0
- package/src/app/schedules/[id]/page.tsx +10 -0
- package/src/app/schedules/page.tsx +24 -0
- package/src/app/settings/loading.tsx +24 -0
- package/src/app/settings/page.tsx +43 -0
- package/src/app/tables/[id]/page.tsx +67 -0
- package/src/app/tables/page.tsx +21 -0
- package/src/app/tables/templates/page.tsx +19 -0
- package/src/app/tasks/[id]/page.tsx +57 -0
- package/src/app/tasks/new/page.tsx +27 -0
- package/src/app/tasks/page.tsx +111 -0
- package/src/app/workflows/[id]/edit/page.tsx +61 -0
- package/src/app/workflows/[id]/page.tsx +55 -0
- package/src/app/workflows/blueprints/[id]/page.tsx +32 -0
- package/src/app/workflows/blueprints/new/page.tsx +12 -0
- package/src/app/workflows/blueprints/page.tsx +12 -0
- package/src/app/workflows/from-assist/page.tsx +25 -0
- package/src/app/workflows/new/page.tsx +28 -0
- package/src/app/workflows/page.tsx +20 -0
- package/src/components/analytics/analytics-dashboard.tsx +200 -0
- package/src/components/apps/app-card-delete-button.tsx +96 -0
- package/src/components/apps/app-detail-actions.tsx +107 -0
- package/src/components/apps/inbox-split-view.tsx +112 -0
- package/src/components/apps/kit-view/kit-view.tsx +34 -0
- package/src/components/apps/kit-view/manifest-pane-body.tsx +135 -0
- package/src/components/apps/kit-view/slots/activity.tsx +18 -0
- package/src/components/apps/kit-view/slots/footer.tsx +18 -0
- package/src/components/apps/kit-view/slots/header.tsx +59 -0
- package/src/components/apps/kit-view/slots/hero.tsx +14 -0
- package/src/components/apps/kit-view/slots/kpis.tsx +15 -0
- package/src/components/apps/kit-view/slots/manifest-sheet.tsx +57 -0
- package/src/components/apps/kit-view/slots/secondary.tsx +37 -0
- package/src/components/apps/kpi-strip.tsx +37 -0
- package/src/components/apps/last-run-card.tsx +209 -0
- package/src/components/apps/ledger-hero-panel.tsx +67 -0
- package/src/components/apps/monthly-close-summary.tsx +43 -0
- package/src/components/apps/period-selector-chip.tsx +40 -0
- package/src/components/apps/research-split-view.tsx +145 -0
- package/src/components/apps/run-history-strip.tsx +35 -0
- package/src/components/apps/run-history-timeline.tsx +98 -0
- package/src/components/apps/run-now-button.tsx +89 -0
- package/src/components/apps/run-now-sheet.tsx +124 -0
- package/src/components/apps/schedule-cadence-chip.tsx +39 -0
- package/src/components/apps/starter-template-card.tsx +134 -0
- package/src/components/apps/throughput-strip.tsx +110 -0
- package/src/components/apps/transactions-table.tsx +53 -0
- package/src/components/apps/trigger-source-chip.tsx +34 -0
- package/src/components/charts/donut-ring.tsx +64 -0
- package/src/components/charts/mini-bar.tsx +75 -0
- package/src/components/charts/run-cadence-heatmap.tsx +74 -0
- package/src/components/charts/sparkline.tsx +107 -0
- package/src/components/charts/time-series-chart.tsx +69 -0
- package/src/components/chat/app-composer-hero.tsx +85 -0
- package/src/components/chat/app-materialized-card.tsx +146 -0
- package/src/components/chat/app-view-editor-card.tsx +203 -0
- package/src/components/chat/branch-action-button.tsx +103 -0
- package/src/components/chat/branches-tree-dialog.tsx +147 -0
- package/src/components/chat/capability-banner.tsx +68 -0
- package/src/components/chat/chat-activity-indicator.tsx +92 -0
- package/src/components/chat/chat-command-popover.tsx +901 -0
- package/src/components/chat/chat-empty-state.tsx +187 -0
- package/src/components/chat/chat-input.tsx +388 -0
- package/src/components/chat/chat-message-list.tsx +87 -0
- package/src/components/chat/chat-message-markdown.tsx +205 -0
- package/src/components/chat/chat-message.tsx +293 -0
- package/src/components/chat/chat-model-selector.tsx +165 -0
- package/src/components/chat/chat-permission-request.tsx +121 -0
- package/src/components/chat/chat-question.tsx +175 -0
- package/src/components/chat/chat-quick-access.tsx +56 -0
- package/src/components/chat/chat-session-provider.tsx +958 -0
- package/src/components/chat/chat-shell.tsx +362 -0
- package/src/components/chat/chat-table-result.tsx +139 -0
- package/src/components/chat/command-tab-bar.tsx +68 -0
- package/src/components/chat/conversation-list.tsx +209 -0
- package/src/components/chat/conversation-template-picker.tsx +421 -0
- package/src/components/chat/extension-fallback-card.tsx +241 -0
- package/src/components/chat/help-dialog.tsx +39 -0
- package/src/components/chat/screenshot-gallery.tsx +96 -0
- package/src/components/chat/skill-composition-conflict-dialog.tsx +96 -0
- package/src/components/chat/skill-row.tsx +147 -0
- package/src/components/costs/cost-dashboard.tsx +769 -0
- package/src/components/costs/cost-filters.tsx +179 -0
- package/src/components/customers/customer-detail-actions.tsx +28 -0
- package/src/components/customers/customer-form-sheet.tsx +203 -0
- package/src/components/customers/customer-list.tsx +134 -0
- package/src/components/dashboard/activity-feed.tsx +99 -0
- package/src/components/dashboard/greeting.tsx +32 -0
- package/src/components/dashboard/priority-queue.tsx +128 -0
- package/src/components/dashboard/quick-actions.tsx +39 -0
- package/src/components/dashboard/recent-projects.tsx +79 -0
- package/src/components/dashboard/welcome-landing.tsx +109 -0
- package/src/components/data-table/data-table-column-header.tsx +48 -0
- package/src/components/data-table/data-table-pagination.tsx +99 -0
- package/src/components/data-table/data-table-toolbar.tsx +73 -0
- package/src/components/data-table/data-table.tsx +203 -0
- package/src/components/data-table/index.ts +4 -0
- package/src/components/detail-pane/detail-pane-header.tsx +56 -0
- package/src/components/detail-pane/detail-pane-provider.tsx +102 -0
- package/src/components/detail-pane/detail-pane-tabs.tsx +78 -0
- package/src/components/detail-pane/index.ts +11 -0
- package/src/components/documents/document-browser.tsx +266 -0
- package/src/components/documents/document-chip-bar.tsx +199 -0
- package/src/components/documents/document-content-renderer.tsx +146 -0
- package/src/components/documents/document-detail-sheet.tsx +290 -0
- package/src/components/documents/document-detail-view.tsx +195 -0
- package/src/components/documents/document-grid.tsx +83 -0
- package/src/components/documents/document-table.tsx +123 -0
- package/src/components/documents/document-upload-dialog.tsx +153 -0
- package/src/components/documents/image-zoom-view.tsx +60 -0
- package/src/components/documents/smart-extracted-text.tsx +47 -0
- package/src/components/documents/types.ts +9 -0
- package/src/components/documents/utils.ts +127 -0
- package/src/components/environment/adoption-prompt.tsx +76 -0
- package/src/components/environment/artifact-card.tsx +93 -0
- package/src/components/environment/artifact-detail-sheet.tsx +136 -0
- package/src/components/environment/artifact-presence-cell.tsx +44 -0
- package/src/components/environment/category-filter-bar.tsx +132 -0
- package/src/components/environment/checkpoint-list.tsx +169 -0
- package/src/components/environment/comparison-matrix.tsx +132 -0
- package/src/components/environment/environment-dashboard.tsx +248 -0
- package/src/components/environment/environment-summary-card.tsx +153 -0
- package/src/components/environment/health-score-card.tsx +86 -0
- package/src/components/environment/persona-indicator.tsx +43 -0
- package/src/components/environment/profile-create-dialog.tsx +178 -0
- package/src/components/environment/project-diff-view.tsx +59 -0
- package/src/components/environment/project-scan-badge.tsx +36 -0
- package/src/components/environment/rollback-confirm-dialog.tsx +105 -0
- package/src/components/environment/scan-status-bar.tsx +48 -0
- package/src/components/environment/skill-catalog.tsx +117 -0
- package/src/components/environment/skill-detail-sheet.tsx +106 -0
- package/src/components/environment/skill-drift-indicator.tsx +42 -0
- package/src/components/environment/suggested-profiles.tsx +162 -0
- package/src/components/environment/summary-cards-row.tsx +91 -0
- package/src/components/environment/sync-action-buttons.tsx +63 -0
- package/src/components/environment/sync-preview-dialog.tsx +205 -0
- package/src/components/environment/template-list.tsx +149 -0
- package/src/components/environment/tool-comparison-view.tsx +75 -0
- package/src/components/handoffs/handoff-approval-card.tsx +159 -0
- package/src/components/instance/instance-section.tsx +406 -0
- package/src/components/instance/upgrade-badge.tsx +219 -0
- package/src/components/memory/memory-browser.tsx +315 -0
- package/src/components/monitoring/connection-indicator.tsx +14 -0
- package/src/components/monitoring/log-entry.tsx +113 -0
- package/src/components/monitoring/log-filters.tsx +57 -0
- package/src/components/monitoring/log-stream.tsx +144 -0
- package/src/components/monitoring/monitor-overview-wrapper.tsx +64 -0
- package/src/components/monitoring/monitor-overview.tsx +119 -0
- package/src/components/notifications/batch-proposal-review.tsx +165 -0
- package/src/components/notifications/failure-action.tsx +38 -0
- package/src/components/notifications/governance-stats.tsx +62 -0
- package/src/components/notifications/inbox-list.tsx +173 -0
- package/src/components/notifications/message-response.tsx +196 -0
- package/src/components/notifications/notification-item.tsx +374 -0
- package/src/components/notifications/pending-approval-host.tsx +576 -0
- package/src/components/notifications/permission-action.tsx +37 -0
- package/src/components/notifications/permission-response-actions.tsx +280 -0
- package/src/components/notifications/unread-badge.tsx +35 -0
- package/src/components/onboarding/activation-checklist.tsx +64 -0
- package/src/components/onboarding/donut-ring.tsx +52 -0
- package/src/components/onboarding/runtime-preference-bootstrapper.tsx +51 -0
- package/src/components/onboarding/runtime-preference-modal.tsx +296 -0
- package/src/components/profiles/context-proposal-review.tsx +150 -0
- package/src/components/profiles/learned-context-panel.tsx +396 -0
- package/src/components/profiles/profile-assist-panel.tsx +512 -0
- package/src/components/profiles/profile-browser.tsx +211 -0
- package/src/components/profiles/profile-card.tsx +114 -0
- package/src/components/profiles/profile-detail-view.tsx +735 -0
- package/src/components/profiles/profile-form-view.tsx +596 -0
- package/src/components/profiles/profile-import-dialog.tsx +113 -0
- package/src/components/profiles/repo-import-wizard.tsx +648 -0
- package/src/components/profiles/smoke-test-editor.tsx +106 -0
- package/src/components/projects/project-card.tsx +79 -0
- package/src/components/projects/project-create-dialog.tsx +140 -0
- package/src/components/projects/project-detail.tsx +201 -0
- package/src/components/projects/project-edit-dialog.tsx +219 -0
- package/src/components/projects/project-form-sheet.tsx +386 -0
- package/src/components/projects/project-list.tsx +130 -0
- package/src/components/schedules/schedule-create-dialog.tsx +403 -0
- package/src/components/schedules/schedule-create-sheet.tsx +122 -0
- package/src/components/schedules/schedule-detail-sheet.tsx +309 -0
- package/src/components/schedules/schedule-detail-view.tsx +274 -0
- package/src/components/schedules/schedule-edit-sheet.tsx +178 -0
- package/src/components/schedules/schedule-form.tsx +870 -0
- package/src/components/schedules/schedule-list.tsx +294 -0
- package/src/components/schedules/schedule-status-badge.tsx +16 -0
- package/src/components/settings/api-key-form.tsx +103 -0
- package/src/components/settings/auth-config-section.tsx +145 -0
- package/src/components/settings/auth-method-selector.tsx +88 -0
- package/src/components/settings/auth-status-badge.tsx +73 -0
- package/src/components/settings/auth-status-dot.tsx +59 -0
- package/src/components/settings/browser-tools-section.tsx +247 -0
- package/src/components/settings/budget-guardrails-section.tsx +688 -0
- package/src/components/settings/channels-section.tsx +526 -0
- package/src/components/settings/chat-settings-section.tsx +214 -0
- package/src/components/settings/connection-test-control.tsx +63 -0
- package/src/components/settings/data-management-section.tsx +153 -0
- package/src/components/settings/database-snapshots-section.tsx +469 -0
- package/src/components/settings/environment-section.tsx +102 -0
- package/src/components/settings/learning-context-section.tsx +124 -0
- package/src/components/settings/ollama-section.tsx +270 -0
- package/src/components/settings/openai-chatgpt-auth-control.tsx +278 -0
- package/src/components/settings/openai-runtime-section.tsx +110 -0
- package/src/components/settings/permissions-section.tsx +101 -0
- package/src/components/settings/permissions-sections.tsx +24 -0
- package/src/components/settings/presets-section.tsx +159 -0
- package/src/components/settings/pricing-registry-panel.tsx +164 -0
- package/src/components/settings/providers-runtimes-section.tsx +1029 -0
- package/src/components/settings/runtime-timeout-section.tsx +170 -0
- package/src/components/settings/web-search-section.tsx +101 -0
- package/src/components/shared/ainative-logo.tsx +20 -0
- package/src/components/shared/ainative-wordmark.tsx +26 -0
- package/src/components/shared/card-skeleton.tsx +42 -0
- package/src/components/shared/command-palette.tsx +497 -0
- package/src/components/shared/confirm-dialog.tsx +52 -0
- package/src/components/shared/detail-pane.tsx +136 -0
- package/src/components/shared/document-picker-sheet.tsx +486 -0
- package/src/components/shared/empty-state.tsx +24 -0
- package/src/components/shared/error-boundary.tsx +24 -0
- package/src/components/shared/error-state.tsx +32 -0
- package/src/components/shared/filter-bar.tsx +62 -0
- package/src/components/shared/filter-hint.tsx +70 -0
- package/src/components/shared/filter-input.tsx +59 -0
- package/src/components/shared/form-section-card.tsx +33 -0
- package/src/components/shared/global-shortcuts.tsx +108 -0
- package/src/components/shared/light-markdown.tsx +134 -0
- package/src/components/shared/of-mark.tsx +35 -0
- package/src/components/shared/page-header.tsx +74 -0
- package/src/components/shared/page-shell.tsx +111 -0
- package/src/components/shared/saved-searches-manager.tsx +199 -0
- package/src/components/shared/screenshot-lightbox.tsx +151 -0
- package/src/components/shared/section-heading.tsx +20 -0
- package/src/components/shared/shortcut-hint.tsx +27 -0
- package/src/components/shared/status-chip.tsx +78 -0
- package/src/components/shared/tag-input.tsx +156 -0
- package/src/components/shared/theme-toggle.tsx +28 -0
- package/src/components/shared/trust-tier-badge.tsx +189 -0
- package/src/components/shared/view-switcher.tsx +266 -0
- package/src/components/shared/workspace-indicator.tsx +119 -0
- package/src/components/shell/app-bar.tsx +213 -0
- package/src/components/shell/app-shell.tsx +22 -0
- package/src/components/shell/nav-items.ts +108 -0
- package/src/components/shell/rail-cell.tsx +95 -0
- package/src/components/shell/telemetry-rail.tsx +166 -0
- package/src/components/shell/telemetry-types.ts +49 -0
- package/src/components/shell/use-telemetry.ts +76 -0
- package/src/components/tables/table-browser.tsx +234 -0
- package/src/components/tables/table-cell-editor.tsx +226 -0
- package/src/components/tables/table-chart-builder.tsx +288 -0
- package/src/components/tables/table-chart-view.tsx +146 -0
- package/src/components/tables/table-column-header.tsx +103 -0
- package/src/components/tables/table-column-sheet.tsx +331 -0
- package/src/components/tables/table-create-sheet.tsx +244 -0
- package/src/components/tables/table-detail-sheet.tsx +144 -0
- package/src/components/tables/table-detail-tabs.tsx +278 -0
- package/src/components/tables/table-enrichment-runs.tsx +103 -0
- package/src/components/tables/table-enrichment-sheet.tsx +538 -0
- package/src/components/tables/table-grid.tsx +61 -0
- package/src/components/tables/table-history-tab.tsx +148 -0
- package/src/components/tables/table-import-wizard.tsx +542 -0
- package/src/components/tables/table-list-table.tsx +95 -0
- package/src/components/tables/table-relation-combobox.tsx +217 -0
- package/src/components/tables/table-row-sheet.tsx +271 -0
- package/src/components/tables/table-spreadsheet.tsx +418 -0
- package/src/components/tables/table-template-gallery.tsx +162 -0
- package/src/components/tables/table-template-preview.tsx +219 -0
- package/src/components/tables/table-toolbar.tsx +88 -0
- package/src/components/tables/table-triggers-tab.tsx +446 -0
- package/src/components/tables/types.ts +6 -0
- package/src/components/tables/use-spreadsheet-keys.ts +171 -0
- package/src/components/tables/utils.ts +29 -0
- package/src/components/tasks/ai-assist-panel.tsx +320 -0
- package/src/components/tasks/behavior-explainer.tsx +169 -0
- package/src/components/tasks/content-preview.tsx +90 -0
- package/src/components/tasks/density-toggle.tsx +47 -0
- package/src/components/tasks/empty-board.tsx +12 -0
- package/src/components/tasks/kanban-board.tsx +472 -0
- package/src/components/tasks/kanban-column.tsx +278 -0
- package/src/components/tasks/skeleton-board.tsx +21 -0
- package/src/components/tasks/task-attachments.tsx +114 -0
- package/src/components/tasks/task-bento-cell.tsx +50 -0
- package/src/components/tasks/task-bento-grid.tsx +184 -0
- package/src/components/tasks/task-card.tsx +290 -0
- package/src/components/tasks/task-chip-bar.tsx +265 -0
- package/src/components/tasks/task-create-panel.tsx +547 -0
- package/src/components/tasks/task-detail-sheet.tsx +188 -0
- package/src/components/tasks/task-detail-view.tsx +185 -0
- package/src/components/tasks/task-edit-dialog.tsx +378 -0
- package/src/components/tasks/task-result-renderer.tsx +33 -0
- package/src/components/tasks/task-surface.tsx +154 -0
- package/src/components/tasks/task-table-view.tsx +395 -0
- package/src/components/tasks/task-view-toggle.tsx +77 -0
- package/src/components/ui/alert-dialog.tsx +196 -0
- package/src/components/ui/badge.tsx +50 -0
- package/src/components/ui/button.tsx +71 -0
- package/src/components/ui/card.tsx +92 -0
- package/src/components/ui/checkbox.tsx +32 -0
- package/src/components/ui/command.tsx +184 -0
- package/src/components/ui/dialog.tsx +158 -0
- package/src/components/ui/dropdown-menu.tsx +257 -0
- package/src/components/ui/form.tsx +167 -0
- package/src/components/ui/input.tsx +21 -0
- package/src/components/ui/label.tsx +24 -0
- package/src/components/ui/popover.tsx +89 -0
- package/src/components/ui/progress.tsx +31 -0
- package/src/components/ui/radio-group.tsx +45 -0
- package/src/components/ui/scroll-area.tsx +58 -0
- package/src/components/ui/select.tsx +190 -0
- package/src/components/ui/separator.tsx +28 -0
- package/src/components/ui/sheet.tsx +143 -0
- package/src/components/ui/sidebar.tsx +726 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/slider.tsx +63 -0
- package/src/components/ui/sonner.tsx +36 -0
- package/src/components/ui/switch.tsx +35 -0
- package/src/components/ui/table.tsx +116 -0
- package/src/components/ui/tabs.tsx +91 -0
- package/src/components/ui/textarea.tsx +18 -0
- package/src/components/ui/tooltip.tsx +57 -0
- package/src/components/workflows/blueprint-editor.tsx +109 -0
- package/src/components/workflows/blueprint-gallery.tsx +162 -0
- package/src/components/workflows/blueprint-preview.tsx +172 -0
- package/src/components/workflows/delay-step-body.tsx +109 -0
- package/src/components/workflows/error-timeline.tsx +83 -0
- package/src/components/workflows/hooks/use-workflow-status.ts +50 -0
- package/src/components/workflows/loop-status-view.tsx +270 -0
- package/src/components/workflows/shared/step-result.tsx +78 -0
- package/src/components/workflows/shared/workflow-header.tsx +141 -0
- package/src/components/workflows/shared/workflow-loading-skeleton.tsx +36 -0
- package/src/components/workflows/step-live-metrics.tsx +182 -0
- package/src/components/workflows/step-progress-bar.tsx +77 -0
- package/src/components/workflows/swarm-dashboard.tsx +171 -0
- package/src/components/workflows/variable-input.tsx +90 -0
- package/src/components/workflows/views/loop-pattern-view.tsx +137 -0
- package/src/components/workflows/views/sequence-pattern-view.tsx +511 -0
- package/src/components/workflows/workflow-confirmation-view.tsx +442 -0
- package/src/components/workflows/workflow-debug-panel.tsx +192 -0
- package/src/components/workflows/workflow-form-view.tsx +1728 -0
- package/src/components/workflows/workflow-full-output.tsx +80 -0
- package/src/components/workflows/workflow-kanban-card.tsx +130 -0
- package/src/components/workflows/workflow-list.tsx +302 -0
- package/src/components/workflows/workflow-optimizer-panel.tsx +227 -0
- package/src/components/workflows/workflow-page-actions.tsx +22 -0
- package/src/components/workflows/workflow-status-view.tsx +64 -0
- package/src/components/workspace/discover-workspace-dialog.tsx +469 -0
- package/src/components/workspace/discovery-project-row.tsx +141 -0
- package/src/components/workspace/import-progress-list.tsx +92 -0
- package/src/hooks/use-active-skills.ts +110 -0
- package/src/hooks/use-caret-position.ts +104 -0
- package/src/hooks/use-chat-autocomplete.ts +401 -0
- package/src/hooks/use-enriched-skills.ts +19 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/hooks/use-persisted-state.ts +40 -0
- package/src/hooks/use-pinned-entries.ts +104 -0
- package/src/hooks/use-project-skills.ts +66 -0
- package/src/hooks/use-recent-user-messages.ts +19 -0
- package/src/hooks/use-reduced-motion.ts +25 -0
- package/src/hooks/use-saved-searches.ts +142 -0
- package/src/hooks/use-shortcuts.ts +50 -0
- package/src/hooks/use-snoozed-banners.ts +73 -0
- package/src/hooks/use-tag-suggestions.ts +31 -0
- package/src/hooks/use-task-detail.ts +261 -0
- package/src/instrumentation-node.ts +129 -0
- package/src/instrumentation.ts +7 -0
- package/src/lib/agents/agentic-loop.ts +242 -0
- package/src/lib/agents/browser-mcp.ts +174 -0
- package/src/lib/agents/claude-agent.ts +922 -0
- package/src/lib/agents/execution-manager.ts +27 -0
- package/src/lib/agents/handoff/bus.ts +164 -0
- package/src/lib/agents/handoff/governance.ts +47 -0
- package/src/lib/agents/handoff/types.ts +16 -0
- package/src/lib/agents/learned-context.ts +347 -0
- package/src/lib/agents/learning-session.ts +367 -0
- package/src/lib/agents/memory/decay.ts +61 -0
- package/src/lib/agents/memory/extractor.ts +181 -0
- package/src/lib/agents/memory/retrieval.ts +96 -0
- package/src/lib/agents/memory/types.ts +6 -0
- package/src/lib/agents/pattern-extractor.ts +120 -0
- package/src/lib/agents/profiles/app-manifest-source.ts +85 -0
- package/src/lib/agents/profiles/assignment-validation.ts +75 -0
- package/src/lib/agents/profiles/builtins/code-reviewer/SKILL.md +21 -0
- package/src/lib/agents/profiles/builtins/code-reviewer/profile.yaml +27 -0
- package/src/lib/agents/profiles/builtins/content-creator/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/content-creator/profile.yaml +27 -0
- package/src/lib/agents/profiles/builtins/customer-support-agent/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/customer-support-agent/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/data-analyst/SKILL.md +25 -0
- package/src/lib/agents/profiles/builtins/data-analyst/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/devops-engineer/SKILL.md +34 -0
- package/src/lib/agents/profiles/builtins/devops-engineer/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/document-writer/SKILL.md +38 -0
- package/src/lib/agents/profiles/builtins/document-writer/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/financial-analyst/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/financial-analyst/profile.yaml +24 -0
- package/src/lib/agents/profiles/builtins/general/SKILL.md +13 -0
- package/src/lib/agents/profiles/builtins/general/profile.yaml +17 -0
- package/src/lib/agents/profiles/builtins/health-fitness-coach/SKILL.md +34 -0
- package/src/lib/agents/profiles/builtins/health-fitness-coach/profile.yaml +25 -0
- package/src/lib/agents/profiles/builtins/learning-coach/SKILL.md +35 -0
- package/src/lib/agents/profiles/builtins/learning-coach/profile.yaml +25 -0
- package/src/lib/agents/profiles/builtins/marketing-strategist/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/marketing-strategist/profile.yaml +27 -0
- package/src/lib/agents/profiles/builtins/operations-coordinator/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/operations-coordinator/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/project-manager/SKILL.md +26 -0
- package/src/lib/agents/profiles/builtins/project-manager/profile.yaml +25 -0
- package/src/lib/agents/profiles/builtins/researcher/SKILL.md +17 -0
- package/src/lib/agents/profiles/builtins/researcher/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/sales-researcher/SKILL.md +19 -0
- package/src/lib/agents/profiles/builtins/sales-researcher/profile.yaml +26 -0
- package/src/lib/agents/profiles/builtins/shopping-assistant/SKILL.md +35 -0
- package/src/lib/agents/profiles/builtins/shopping-assistant/profile.yaml +25 -0
- package/src/lib/agents/profiles/builtins/sweep/SKILL.md +47 -0
- package/src/lib/agents/profiles/builtins/sweep/profile.yaml +11 -0
- package/src/lib/agents/profiles/builtins/technical-writer/SKILL.md +41 -0
- package/src/lib/agents/profiles/builtins/technical-writer/profile.yaml +28 -0
- package/src/lib/agents/profiles/builtins/travel-planner/SKILL.md +25 -0
- package/src/lib/agents/profiles/builtins/travel-planner/profile.yaml +25 -0
- package/src/lib/agents/profiles/builtins/upgrade-assistant/SKILL.md +97 -0
- package/src/lib/agents/profiles/builtins/upgrade-assistant/profile.yaml +36 -0
- package/src/lib/agents/profiles/builtins/wealth-manager/SKILL.md +26 -0
- package/src/lib/agents/profiles/builtins/wealth-manager/profile.yaml +25 -0
- package/src/lib/agents/profiles/compatibility.ts +109 -0
- package/src/lib/agents/profiles/list-fused-profiles.ts +104 -0
- package/src/lib/agents/profiles/project-profiles.ts +193 -0
- package/src/lib/agents/profiles/registry.ts +606 -0
- package/src/lib/agents/profiles/sort.ts +7 -0
- package/src/lib/agents/profiles/suggest.ts +36 -0
- package/src/lib/agents/profiles/test-runner.ts +18 -0
- package/src/lib/agents/profiles/test-types.ts +20 -0
- package/src/lib/agents/profiles/types.ts +76 -0
- package/src/lib/agents/provenance.ts +111 -0
- package/src/lib/agents/router.ts +225 -0
- package/src/lib/agents/runtime/anthropic-direct.ts +750 -0
- package/src/lib/agents/runtime/catalog.ts +333 -0
- package/src/lib/agents/runtime/claude-sdk.ts +58 -0
- package/src/lib/agents/runtime/claude.ts +734 -0
- package/src/lib/agents/runtime/codex-app-server-client.ts +319 -0
- package/src/lib/agents/runtime/execution-target.ts +516 -0
- package/src/lib/agents/runtime/index.ts +193 -0
- package/src/lib/agents/runtime/launch-failure.ts +101 -0
- package/src/lib/agents/runtime/ollama-adapter.ts +409 -0
- package/src/lib/agents/runtime/openai-codex-auth.ts +389 -0
- package/src/lib/agents/runtime/openai-codex.ts +1107 -0
- package/src/lib/agents/runtime/openai-direct.ts +646 -0
- package/src/lib/agents/runtime/profile-assist-types.ts +30 -0
- package/src/lib/agents/runtime/task-assist-types.ts +18 -0
- package/src/lib/agents/runtime/types.ts +40 -0
- package/src/lib/agents/sweep.ts +65 -0
- package/src/lib/agents/task-dispatch.ts +220 -0
- package/src/lib/agents/tool-permissions.ts +254 -0
- package/src/lib/analytics/queries.ts +207 -0
- package/src/lib/apps/compose-integration.ts +145 -0
- package/src/lib/apps/composition-detector.ts +123 -0
- package/src/lib/apps/manifest-trigger-dispatch.ts +195 -0
- package/src/lib/apps/registry.ts +575 -0
- package/src/lib/apps/starters.ts +64 -0
- package/src/lib/apps/use-apps.ts +51 -0
- package/src/lib/apps/view-kits/data.ts +819 -0
- package/src/lib/apps/view-kits/default-kpis.ts +128 -0
- package/src/lib/apps/view-kits/detect-trigger-source.ts +60 -0
- package/src/lib/apps/view-kits/evaluate-kpi.ts +94 -0
- package/src/lib/apps/view-kits/format-kpi.ts +60 -0
- package/src/lib/apps/view-kits/index.ts +120 -0
- package/src/lib/apps/view-kits/inference.ts +211 -0
- package/src/lib/apps/view-kits/kits/coach.ts +104 -0
- package/src/lib/apps/view-kits/kits/inbox.ts +135 -0
- package/src/lib/apps/view-kits/kits/ledger.ts +158 -0
- package/src/lib/apps/view-kits/kits/placeholder.ts +58 -0
- package/src/lib/apps/view-kits/kits/research.ts +129 -0
- package/src/lib/apps/view-kits/kits/tracker.ts +124 -0
- package/src/lib/apps/view-kits/kits/workflow-hub.ts +108 -0
- package/src/lib/apps/view-kits/kpi-context.ts +174 -0
- package/src/lib/apps/view-kits/resolve.ts +28 -0
- package/src/lib/apps/view-kits/types.ts +236 -0
- package/src/lib/channels/gateway.ts +321 -0
- package/src/lib/channels/poller.ts +268 -0
- package/src/lib/channels/registry.ts +90 -0
- package/src/lib/channels/slack-adapter.ts +188 -0
- package/src/lib/channels/telegram-adapter.ts +218 -0
- package/src/lib/channels/types.ts +75 -0
- package/src/lib/channels/webhook-adapter.ts +74 -0
- package/src/lib/chat/active-skills.ts +31 -0
- package/src/lib/chat/active-streams.ts +27 -0
- package/src/lib/chat/ainative-tools.ts +133 -0
- package/src/lib/chat/branching/flag.ts +22 -0
- package/src/lib/chat/clean-filter-input.ts +30 -0
- package/src/lib/chat/codex-engine.ts +559 -0
- package/src/lib/chat/command-data.ts +48 -0
- package/src/lib/chat/command-tabs.ts +61 -0
- package/src/lib/chat/context-builder.ts +478 -0
- package/src/lib/chat/dismissals.ts +73 -0
- package/src/lib/chat/engine.ts +1009 -0
- package/src/lib/chat/entity-detector.ts +244 -0
- package/src/lib/chat/files/expand-mention.ts +76 -0
- package/src/lib/chat/files/search.ts +99 -0
- package/src/lib/chat/model-discovery.ts +105 -0
- package/src/lib/chat/ollama-engine.ts +198 -0
- package/src/lib/chat/permission-bridge.ts +185 -0
- package/src/lib/chat/planner/classifier.ts +195 -0
- package/src/lib/chat/planner/composition-hint.ts +101 -0
- package/src/lib/chat/planner/primitive-map.ts +96 -0
- package/src/lib/chat/planner/trigger-phrases.ts +26 -0
- package/src/lib/chat/planner/types.ts +34 -0
- package/src/lib/chat/planner/view-editing-hint.ts +167 -0
- package/src/lib/chat/reconcile.ts +117 -0
- package/src/lib/chat/skill-composition.ts +210 -0
- package/src/lib/chat/skill-conflict.ts +105 -0
- package/src/lib/chat/slash-commands.ts +191 -0
- package/src/lib/chat/stream-telemetry.ts +137 -0
- package/src/lib/chat/suggested-prompts.ts +313 -0
- package/src/lib/chat/system-prompt.ts +139 -0
- package/src/lib/chat/tool-catalog.ts +275 -0
- package/src/lib/chat/tool-registry.ts +91 -0
- package/src/lib/chat/tools/app-view-tools.ts +207 -0
- package/src/lib/chat/tools/blueprint-tools.ts +241 -0
- package/src/lib/chat/tools/chat-history-tools.ts +177 -0
- package/src/lib/chat/tools/document-tools.ts +357 -0
- package/src/lib/chat/tools/handoff-tools.ts +70 -0
- package/src/lib/chat/tools/helpers.ts +65 -0
- package/src/lib/chat/tools/notification-tools.ts +149 -0
- package/src/lib/chat/tools/plugin-spec-tools.ts +574 -0
- package/src/lib/chat/tools/plugin-tools.ts +357 -0
- package/src/lib/chat/tools/profile-tools.ts +163 -0
- package/src/lib/chat/tools/project-tools.ts +122 -0
- package/src/lib/chat/tools/runtime-tools.ts +28 -0
- package/src/lib/chat/tools/schedule-spec-tools.ts +86 -0
- package/src/lib/chat/tools/schedule-tools.ts +384 -0
- package/src/lib/chat/tools/settings-tools.ts +212 -0
- package/src/lib/chat/tools/skill-tools.ts +183 -0
- package/src/lib/chat/tools/table-tools.ts +1071 -0
- package/src/lib/chat/tools/task-tools.ts +390 -0
- package/src/lib/chat/tools/usage-tools.ts +41 -0
- package/src/lib/chat/tools/workflow-tools.ts +841 -0
- package/src/lib/chat/types.ts +145 -0
- package/src/lib/config/env.ts +97 -0
- package/src/lib/constants/card-icons.tsx +202 -0
- package/src/lib/constants/known-tools.ts +19 -0
- package/src/lib/constants/prose-styles.ts +7 -0
- package/src/lib/constants/settings.ts +39 -0
- package/src/lib/constants/status-colors.ts +44 -0
- package/src/lib/constants/status-families.ts +238 -0
- package/src/lib/constants/table-status.ts +68 -0
- package/src/lib/constants/task-status.ts +58 -0
- package/src/lib/customers/index.ts +81 -0
- package/src/lib/data/channel-bindings.ts +85 -0
- package/src/lib/data/chat.ts +631 -0
- package/src/lib/data/clear.ts +215 -0
- package/src/lib/data/delete-project.ts +171 -0
- package/src/lib/data/profile-test-results.ts +48 -0
- package/src/lib/data/row-hash.ts +41 -0
- package/src/lib/data/seed-data/agent-memory.ts +320 -0
- package/src/lib/data/seed-data/agent-messages.ts +266 -0
- package/src/lib/data/seed-data/channels.ts +178 -0
- package/src/lib/data/seed-data/conversations.ts +504 -0
- package/src/lib/data/seed-data/document-pools.ts +192 -0
- package/src/lib/data/seed-data/documents.ts +679 -0
- package/src/lib/data/seed-data/environment.ts +507 -0
- package/src/lib/data/seed-data/learned-context.ts +178 -0
- package/src/lib/data/seed-data/logs.ts +195 -0
- package/src/lib/data/seed-data/notifications.ts +468 -0
- package/src/lib/data/seed-data/profile-test-results.ts +177 -0
- package/src/lib/data/seed-data/profiles.ts +270 -0
- package/src/lib/data/seed-data/projects.ts +93 -0
- package/src/lib/data/seed-data/repo-imports.ts +66 -0
- package/src/lib/data/seed-data/schedules.ts +275 -0
- package/src/lib/data/seed-data/table-extras.ts +226 -0
- package/src/lib/data/seed-data/table-templates.ts +314 -0
- package/src/lib/data/seed-data/tasks.ts +839 -0
- package/src/lib/data/seed-data/usage-ledger.ts +209 -0
- package/src/lib/data/seed-data/user-tables.ts +203 -0
- package/src/lib/data/seed-data/views.ts +105 -0
- package/src/lib/data/seed-data/workflow-stats.ts +202 -0
- package/src/lib/data/seed-data/workflows.ts +360 -0
- package/src/lib/data/seed.ts +418 -0
- package/src/lib/data/tables.ts +569 -0
- package/src/lib/db/bootstrap.ts +1043 -0
- package/src/lib/db/index.ts +31 -0
- package/src/lib/db/migrations/0000_aromatic_gargoyle.sql +59 -0
- package/src/lib/db/migrations/0001_first_iron_patriot.sql +6 -0
- package/src/lib/db/migrations/0002_add_resume_count.sql +1 -0
- package/src/lib/db/migrations/0003_add_settings.sql +5 -0
- package/src/lib/db/migrations/0004_add_documents.sql +21 -0
- package/src/lib/db/migrations/0005_add_document_preprocessing.sql +6 -0
- package/src/lib/db/migrations/0006_add_agent_profile.sql +3 -0
- package/src/lib/db/migrations/0007_add_usage_metering_ledger.sql +37 -0
- package/src/lib/db/migrations/0008_add_document_version.sql +1 -0
- package/src/lib/db/migrations/0009_add_app_instances.sql +25 -0
- package/src/lib/db/migrations/0009_add_views.sql +16 -0
- package/src/lib/db/migrations/0010_add_environment_tables.sql +74 -0
- package/src/lib/db/migrations/0011_add_environment_templates.sql +12 -0
- package/src/lib/db/migrations/0012_add_screenshot_columns.sql +5 -0
- package/src/lib/db/migrations/0013_add_repo_imports.sql +15 -0
- package/src/lib/db/migrations/0014_add_linked_profile_id.sql +3 -0
- package/src/lib/db/migrations/0015_add_channel_bindings.sql +23 -0
- package/src/lib/db/migrations/0016_add_workflow_document_inputs.sql +13 -0
- package/src/lib/db/migrations/0017_add_document_picker_tables.sql +25 -0
- package/src/lib/db/migrations/0018_add_workflow_run_number.sql +2 -0
- package/src/lib/db/migrations/0019_add_tables_feature.sql +160 -0
- package/src/lib/db/migrations/0020_add_table_triggers.sql +19 -0
- package/src/lib/db/migrations/0021_add_row_history.sql +15 -0
- package/src/lib/db/migrations/0022_workflow_intelligence_phase1.sql +5 -0
- package/src/lib/db/migrations/0023_add_execution_stats.sql +15 -0
- package/src/lib/db/migrations/0024_add_workflow_resume_at.sql +10 -0
- package/src/lib/db/migrations/0025_drop_app_instances.sql +3 -0
- package/src/lib/db/migrations/0026_drop_license.sql +3 -0
- package/src/lib/db/migrations/0027_add_tasks_context_row_id.sql +5 -0
- package/src/lib/db/migrations/0028_add_customer_dimension.sql +30 -0
- package/src/lib/db/migrations/XXXX_add_user_table_rows_data_hash.sql +15 -0
- package/src/lib/db/migrations/meta/0000_snapshot.json +416 -0
- package/src/lib/db/migrations/meta/0001_snapshot.json +461 -0
- package/src/lib/db/migrations/meta/0002_snapshot.json +469 -0
- package/src/lib/db/migrations/meta/_journal.json +90 -0
- package/src/lib/db/schema.ts +1331 -0
- package/src/lib/desktop/sidecar-launch.ts +85 -0
- package/src/lib/documents/cleanup.ts +51 -0
- package/src/lib/documents/context-builder.ts +189 -0
- package/src/lib/documents/document-resolver.ts +119 -0
- package/src/lib/documents/output-scanner.ts +164 -0
- package/src/lib/documents/processor.ts +120 -0
- package/src/lib/documents/processors/image.ts +21 -0
- package/src/lib/documents/processors/office.ts +36 -0
- package/src/lib/documents/processors/pdf.ts +12 -0
- package/src/lib/documents/processors/spreadsheet.ts +23 -0
- package/src/lib/documents/processors/text.ts +8 -0
- package/src/lib/documents/registry.ts +25 -0
- package/src/lib/environment/auto-scan.ts +48 -0
- package/src/lib/environment/backup-manager.ts +165 -0
- package/src/lib/environment/comparison.ts +170 -0
- package/src/lib/environment/data.ts +329 -0
- package/src/lib/environment/diff.ts +127 -0
- package/src/lib/environment/discovery.ts +270 -0
- package/src/lib/environment/git-manager.ts +160 -0
- package/src/lib/environment/health-scoring.ts +162 -0
- package/src/lib/environment/list-skills.ts +176 -0
- package/src/lib/environment/parsers/instructions.ts +68 -0
- package/src/lib/environment/parsers/mcp-config.ts +103 -0
- package/src/lib/environment/parsers/settings.ts +188 -0
- package/src/lib/environment/parsers/skill.ts +87 -0
- package/src/lib/environment/parsers/toml.ts +13 -0
- package/src/lib/environment/parsers/utils.ts +54 -0
- package/src/lib/environment/profile-generator.ts +185 -0
- package/src/lib/environment/profile-linker.ts +143 -0
- package/src/lib/environment/profile-rules.ts +297 -0
- package/src/lib/environment/scanner.ts +120 -0
- package/src/lib/environment/scanners/claude-code.ts +206 -0
- package/src/lib/environment/scanners/codex.ts +165 -0
- package/src/lib/environment/skill-enrichment.ts +106 -0
- package/src/lib/environment/skill-portfolio.ts +97 -0
- package/src/lib/environment/skill-recommendations.ts +66 -0
- package/src/lib/environment/sync/hook-sync.ts +39 -0
- package/src/lib/environment/sync/instruction-sync.ts +57 -0
- package/src/lib/environment/sync/mcp-sync.ts +259 -0
- package/src/lib/environment/sync/permission-sync.ts +44 -0
- package/src/lib/environment/sync/skill-sync.ts +95 -0
- package/src/lib/environment/sync-engine.ts +210 -0
- package/src/lib/environment/templates.ts +120 -0
- package/src/lib/environment/types.ts +51 -0
- package/src/lib/environment/workspace-context.ts +64 -0
- package/src/lib/filters/parse.ts +86 -0
- package/src/lib/import/dedup.ts +99 -0
- package/src/lib/import/format-adapter.ts +631 -0
- package/src/lib/import/github-api.ts +219 -0
- package/src/lib/import/repo-scanner.ts +251 -0
- package/src/lib/instance/bootstrap.ts +351 -0
- package/src/lib/instance/detect.ts +46 -0
- package/src/lib/instance/fingerprint.ts +76 -0
- package/src/lib/instance/git-ops.ts +97 -0
- package/src/lib/instance/settings.ts +61 -0
- package/src/lib/instance/types.ts +83 -0
- package/src/lib/instance/upgrade-poller.ts +205 -0
- package/src/lib/keyboard/shortcut-registry.ts +176 -0
- package/src/lib/licensing/canonicalize.ts +49 -0
- package/src/lib/licensing/gate.ts +82 -0
- package/src/lib/licensing/load.ts +90 -0
- package/src/lib/licensing/verify.ts +219 -0
- package/src/lib/notifications/actionable.ts +139 -0
- package/src/lib/notifications/permissions.ts +175 -0
- package/src/lib/notifications/visibility.ts +33 -0
- package/src/lib/packs/cli.ts +198 -0
- package/src/lib/packs/format.ts +204 -0
- package/src/lib/packs/install.ts +421 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--bookkeeping.yaml +55 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--client-onboarding.yaml +64 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--cre-listing.yaml +57 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--governance-billing.yaml +50 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--grant-cycle.yaml +53 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--impact-reporting.yaml +56 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--intake-summary.yaml +46 -0
- package/src/lib/packs/templates/relay-agency/base/blueprints/relay-agency--lease-abstraction.yaml +60 -0
- package/src/lib/packs/templates/relay-agency/base/manifest.yaml +83 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--bookkeeper/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--bookkeeper/profile.yaml +18 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--cre-analyst/SKILL.md +21 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--cre-analyst/profile.yaml +19 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--cre-listing-writer/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--cre-listing-writer/profile.yaml +19 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--governance-officer/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--governance-officer/profile.yaml +17 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--grant-researcher/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--grant-researcher/profile.yaml +19 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--impact-writer/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--impact-writer/profile.yaml +19 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--onboarding-runner/SKILL.md +20 -0
- package/src/lib/packs/templates/relay-agency/base/profiles/relay-agency--onboarding-runner/profile.yaml +17 -0
- package/src/lib/packs/templates/relay-agency/base/seed/customers.yaml +56 -0
- package/src/lib/packs/templates/relay-agency/base/seed/tables/clients.json +8 -0
- package/src/lib/packs/templates/relay-agency/pack.yaml +15 -0
- package/src/lib/plugins/capability-check.ts +889 -0
- package/src/lib/plugins/classify-trust.ts +116 -0
- package/src/lib/plugins/confinement/profiles/apparmor-child_process.profile +28 -0
- package/src/lib/plugins/confinement/profiles/apparmor-env.profile +30 -0
- package/src/lib/plugins/confinement/profiles/apparmor-fs.profile +25 -0
- package/src/lib/plugins/confinement/profiles/apparmor-net.profile +27 -0
- package/src/lib/plugins/confinement/profiles/seatbelt-child_process.sb +9 -0
- package/src/lib/plugins/confinement/profiles/seatbelt-env.sb +8 -0
- package/src/lib/plugins/confinement/profiles/seatbelt-fs.sb +10 -0
- package/src/lib/plugins/confinement/profiles/seatbelt-net.sb +9 -0
- package/src/lib/plugins/confinement/wrap.ts +565 -0
- package/src/lib/plugins/examples/echo-server/.mcp.json +8 -0
- package/src/lib/plugins/examples/echo-server/README.md +42 -0
- package/src/lib/plugins/examples/echo-server/plugin.yaml +15 -0
- package/src/lib/plugins/examples/echo-server/server.py +128 -0
- package/src/lib/plugins/examples/finance-pack/README.md +15 -0
- package/src/lib/plugins/examples/finance-pack/blueprints/monthly-close.yaml +38 -0
- package/src/lib/plugins/examples/finance-pack/plugin.yaml +13 -0
- package/src/lib/plugins/examples/finance-pack/profiles/personal-cfo/SKILL.md +21 -0
- package/src/lib/plugins/examples/finance-pack/profiles/personal-cfo/profile.yaml +17 -0
- package/src/lib/plugins/examples/finance-pack/schedules/monthly-close.yaml +14 -0
- package/src/lib/plugins/examples/finance-pack/tables/transactions.yaml +57 -0
- package/src/lib/plugins/examples/reading-radar/README.md +30 -0
- package/src/lib/plugins/examples/reading-radar/blueprints/weekly-synthesis.yaml +42 -0
- package/src/lib/plugins/examples/reading-radar/plugin.yaml +14 -0
- package/src/lib/plugins/examples/reading-radar/profiles/reader-coach/SKILL.md +19 -0
- package/src/lib/plugins/examples/reading-radar/profiles/reader-coach/profile.yaml +17 -0
- package/src/lib/plugins/examples/reading-radar/schedules/sunday-synth.yaml +15 -0
- package/src/lib/plugins/examples/reading-radar/tables/readings.yaml +49 -0
- package/src/lib/plugins/mcp-loader.ts +871 -0
- package/src/lib/plugins/registry.ts +667 -0
- package/src/lib/plugins/sdk/types.ts +87 -0
- package/src/lib/plugins/seed.ts +28 -0
- package/src/lib/plugins/transport-dispatch.ts +483 -0
- package/src/lib/queries/chart-data.ts +223 -0
- package/src/lib/schedules/active-hours.ts +120 -0
- package/src/lib/schedules/collision-check.ts +105 -0
- package/src/lib/schedules/config.ts +53 -0
- package/src/lib/schedules/heartbeat-parser.ts +224 -0
- package/src/lib/schedules/heartbeat-prompt.ts +153 -0
- package/src/lib/schedules/installer.ts +195 -0
- package/src/lib/schedules/interval-parser.ts +297 -0
- package/src/lib/schedules/nlp-parser.ts +357 -0
- package/src/lib/schedules/prompt-analyzer.ts +87 -0
- package/src/lib/schedules/registry.ts +238 -0
- package/src/lib/schedules/scheduler.ts +868 -0
- package/src/lib/schedules/slot-claim.ts +105 -0
- package/src/lib/screenshots/persist.ts +114 -0
- package/src/lib/settings/auth.ts +107 -0
- package/src/lib/settings/budget-guardrails.ts +718 -0
- package/src/lib/settings/helpers.ts +139 -0
- package/src/lib/settings/openai-auth.ts +182 -0
- package/src/lib/settings/openai-login-manager.ts +260 -0
- package/src/lib/settings/permission-presets.ts +150 -0
- package/src/lib/settings/permissions.ts +102 -0
- package/src/lib/settings/routing-recommendation.ts +111 -0
- package/src/lib/settings/routing.ts +24 -0
- package/src/lib/settings/runtime-setup.ts +108 -0
- package/src/lib/snapshots/auto-backup.ts +132 -0
- package/src/lib/snapshots/retention.ts +64 -0
- package/src/lib/snapshots/snapshot-manager.ts +429 -0
- package/src/lib/tables/computed.ts +61 -0
- package/src/lib/tables/context-builder.ts +139 -0
- package/src/lib/tables/enrichment-planner.ts +459 -0
- package/src/lib/tables/enrichment.ts +328 -0
- package/src/lib/tables/formula-engine.ts +415 -0
- package/src/lib/tables/history.ts +115 -0
- package/src/lib/tables/import.ts +345 -0
- package/src/lib/tables/query-builder.ts +155 -0
- package/src/lib/tables/trigger-evaluator.ts +217 -0
- package/src/lib/tables/types.ts +141 -0
- package/src/lib/tables/validation.ts +119 -0
- package/src/lib/theme.ts +71 -0
- package/src/lib/usage/ledger.ts +592 -0
- package/src/lib/usage/pricing-registry.ts +570 -0
- package/src/lib/usage/pricing.ts +42 -0
- package/src/lib/util/similarity.ts +77 -0
- package/src/lib/utils/ainative-paths.ts +94 -0
- package/src/lib/utils/app-root.ts +24 -0
- package/src/lib/utils/crypto.ts +87 -0
- package/src/lib/utils/format-timestamp.ts +70 -0
- package/src/lib/utils/keychain-migrate.ts +56 -0
- package/src/lib/utils/learned-context-history.ts +150 -0
- package/src/lib/utils/migrate-to-ainative.ts +186 -0
- package/src/lib/utils/session-cleanup.ts +26 -0
- package/src/lib/utils.ts +6 -0
- package/src/lib/validators/blueprint.ts +104 -0
- package/src/lib/validators/customer.ts +29 -0
- package/src/lib/validators/profile.ts +104 -0
- package/src/lib/validators/project.ts +17 -0
- package/src/lib/validators/schedule-spec.ts +89 -0
- package/src/lib/validators/settings.ts +55 -0
- package/src/lib/validators/task.ts +36 -0
- package/src/lib/validators/workspace.ts +27 -0
- package/src/lib/workflows/assist-builder.ts +248 -0
- package/src/lib/workflows/assist-session.ts +78 -0
- package/src/lib/workflows/blueprints/builtins/business-daily-briefing.yaml +102 -0
- package/src/lib/workflows/blueprints/builtins/code-review-pipeline.yaml +72 -0
- package/src/lib/workflows/blueprints/builtins/content-marketing-pipeline.yaml +90 -0
- package/src/lib/workflows/blueprints/builtins/customer-follow-up-drafter--draft-followup.yaml +55 -0
- package/src/lib/workflows/blueprints/builtins/customer-support-triage.yaml +107 -0
- package/src/lib/workflows/blueprints/builtins/documentation-generation.yaml +62 -0
- package/src/lib/workflows/blueprints/builtins/financial-reporting.yaml +104 -0
- package/src/lib/workflows/blueprints/builtins/investment-research.yaml +81 -0
- package/src/lib/workflows/blueprints/builtins/lead-research-pipeline.yaml +82 -0
- package/src/lib/workflows/blueprints/builtins/meal-planning.yaml +73 -0
- package/src/lib/workflows/blueprints/builtins/product-research.yaml +72 -0
- package/src/lib/workflows/blueprints/builtins/research-digest--weekly-digest.yaml +35 -0
- package/src/lib/workflows/blueprints/builtins/research-report.yaml +77 -0
- package/src/lib/workflows/blueprints/builtins/sprint-planning.yaml +77 -0
- package/src/lib/workflows/blueprints/builtins/travel-planning.yaml +80 -0
- package/src/lib/workflows/blueprints/instantiator.ts +156 -0
- package/src/lib/workflows/blueprints/registry.ts +215 -0
- package/src/lib/workflows/blueprints/render-prompt.ts +71 -0
- package/src/lib/workflows/blueprints/template.ts +58 -0
- package/src/lib/workflows/blueprints/types.ts +52 -0
- package/src/lib/workflows/blueprints/validate-variables.ts +30 -0
- package/src/lib/workflows/cost-estimator.ts +141 -0
- package/src/lib/workflows/definition-validation.ts +121 -0
- package/src/lib/workflows/delay.ts +106 -0
- package/src/lib/workflows/engine.ts +1620 -0
- package/src/lib/workflows/error-analysis.ts +249 -0
- package/src/lib/workflows/execution-stats.ts +252 -0
- package/src/lib/workflows/loop-executor.ts +595 -0
- package/src/lib/workflows/optimizer.ts +193 -0
- package/src/lib/workflows/parallel.ts +55 -0
- package/src/lib/workflows/post-action.ts +91 -0
- package/src/lib/workflows/swarm.ts +97 -0
- package/src/lib/workflows/types.ts +299 -0
- package/tsconfig.json +45 -0
- package/bin/cli.js +0 -13
package/LICENSE
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2025 Manav Sehgal
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,19 +1,201 @@
|
|
|
1
1
|
# Orionfold Relay
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Run a forward-deployed AI agency on one cockpit. Every client a workspace, every vertical a profile, every service a workflow, every model a switch — on one governed, cost-controlled board you own.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
human-in-the-loop governance built in.
|
|
5
|
+
```bash
|
|
6
|
+
npx orionfold-relay
|
|
7
|
+
```
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
> Until then, `npx orionfold-relay` prints a short notice.
|
|
9
|
+
Open [localhost:3000](http://localhost:3000). Zero config, local SQLite, your data stays on your machine.
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
(which build wins?), and **Relay** (now make the trusted AI do the work).
|
|
11
|
+
[](https://www.npmjs.com/package/orionfold-relay) [](https://nextjs.org/) [](https://react.dev/) [](https://www.typescriptlang.org/) [](https://docs.anthropic.com/) [](https://developers.openai.com/codex/app-server) [](LICENSE)
|
|
15
12
|
|
|
16
|
-
-
|
|
17
|
-
- License: Apache-2.0
|
|
13
|
+
Orionfold Relay is the **operations layer** for AI builders, consultants, and forward-deployed services teams — the missing layer between "run one agent" and "run a managed service for a roomful of clients." You point it at your client work, run multi-step workflows across local and cloud models, route every client-facing deliverable through human approval, and watch per-client cost roll up automatically. It's local-first, open source (Apache-2.0), and ships as one command.
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
Relay is the **third** product in the Orionfold line — **Proof** answers *"which AI can I trust?"*, **Arena** answers *"which build wins?"*, and **Relay** answers *"now make the trusted AI do the actual work."* It's the only one whose value compounds *after* evaluation stops.
|
|
16
|
+
|
|
17
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/home-list.png" alt="The Relay home workspace: active work, pending review, project signals, and a live agent activity stream on one board" width="1200" />
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Describe an app — Relay builds it
|
|
22
|
+
|
|
23
|
+
The proof is in what Relay composes, not what it benchmarks. You describe a client module in plain language, and Relay assembles it from its primitives — an agent profile, a workflow blueprint, a schedule, and a table or two — into one running app. No new code, no deploy.
|
|
24
|
+
|
|
25
|
+
A "receipt photo → bookkeeping" module for a property-management client is one prompt away; the next client who needs the same thing reuses it in minutes. The composed app runs as a first-class instance with its own KPIs, and every agent run under it meters real cost back to that customer — the hardcoded billing line is gone, replaced by live per-client attribution from the usage ledger.
|
|
26
|
+
|
|
27
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/apps-starter-to-chat.png" alt="Describe an app in plain language and Relay composes it from a profile, blueprint, schedule, and tables — no code, no deploy" width="1200" />
|
|
28
|
+
|
|
29
|
+
| Compose an app | Apps gallery | Inside a composed app |
|
|
30
|
+
|:-:|:-:|:-:|
|
|
31
|
+
| Plain-language prompt → a profile + blueprint + schedule + tables, wired into one running module | Composed apps run as first-class instances alongside ready-made starters | Live KPI tiles plus every service workflow as a one-click run — a whole vertical, composed not coded |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## The five gaps every AI agency hits
|
|
36
|
+
|
|
37
|
+
AI agents can already abstract a lease, research a grant, or categorize a receipt. The gap is everything *around* that — and for an agency, every gap multiplies by the number of clients you serve.
|
|
38
|
+
|
|
39
|
+
1. **Orchestration** — Real client work is multi-step: ingest, abstract, verify, deliver. Relay runs sequences, checkpoints, and planner→executor pipelines without glue code you'd maintain.
|
|
40
|
+
2. **Strategy → execution** — You think in clients, services, and deliverables; agent tools think in prompts and tokens. Projects, profiles, and blueprints give you a shared language between the engagement and the execution.
|
|
41
|
+
3. **Lifecycle** — A deliverable needs scheduling, retries, resume-from-checkpoint, cost tracking, and an audit trail. Relay carries the whole operational lifecycle; recurring statements and deadline watches run themselves.
|
|
42
|
+
4. **Trust & governance** — Agents that read client files and draft client-facing output need guardrails. Relay routes every deliverable through human approval and keeps the audit trail funders and stakeholders ask for.
|
|
43
|
+
5. **Distribution** — Standing up an agent workspace shouldn't mean cloning a repo and wiring a database. Relay is `npx orionfold-relay` — one command, zero config, your data stays local.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Built for an agency
|
|
48
|
+
|
|
49
|
+
| Your operating model | Relay primitive |
|
|
50
|
+
|---|---|
|
|
51
|
+
| **Clients** → one workspace per client, with scoped reference docs the agents consult automatically | **Projects** |
|
|
52
|
+
| **Verticals** → CRE underwriting, listing analysis, grant research, impact reporting — each a tuned agent | **Profiles** (21 built-ins) |
|
|
53
|
+
| **Services** → a repeatable, packaged service you instantiate per client with their variables | **Blueprints** (15 templates) |
|
|
54
|
+
| **Deliverables** → weekly digests, monthly statements, deadline watches running on a cadence | **Schedules** |
|
|
55
|
+
| **Billing** → per-client spend allocation that maps to the retainer, with a real margin you can see | **Cost & Usage** |
|
|
56
|
+
| **Governance** → every client-facing deliverable through human approval with a full audit trail | **Inbox** |
|
|
57
|
+
|
|
58
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/tasks-list.png" alt="One Kanban board: multi-step, multi-client work across every status, each card carrying its client, workflow pattern, and assigned agent profile" width="1200" />
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## The three pillars
|
|
63
|
+
|
|
64
|
+
### 1 · One cockpit, your whole client book
|
|
65
|
+
Every client is a project with its own scoped documents, tasks, and working directory. One Kanban board replaces a wall of browser tabs and a "who's doing what" spreadsheet: lease abstraction, an offering memo, a grant narrative, receipt intake — across clients, every status, on one screen. Drag-and-drop columns or a sortable table.
|
|
66
|
+
|
|
67
|
+
### 2 · Multi-vendor, no lock-in
|
|
68
|
+
Different work wants different models, and the best model changes every few months. A shared runtime registry lets you switch providers **per task, per schedule, or per workflow step** without redefining how your agents behave. Run reasoning on **Claude**, code generation on **Codex**, document work on **Gemini**, and route low-stakes or sensitive work to a local **Ollama** model at $0 compute. The cost dashboard shows the blended mix so you can prove the savings.
|
|
69
|
+
|
|
70
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/costs-list.png" alt="Cost & Usage: spend pacing, active provider mix, and per-project allocation that maps straight to a client retainer" width="1200" />
|
|
71
|
+
|
|
72
|
+
### 3 · Zero-code apps
|
|
73
|
+
Profiles, blueprints, schedules, and tables are the Lego bricks. Describe what you want and Relay composes a running app from them — the fastest way an agency ships a new client module. Package a whole vertical (profiles + workflows + a table + KPIs) as one pure-config bundle and install it in one click.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Customers — now first-class
|
|
78
|
+
|
|
79
|
+
The customer dimension is **shipped**. Each account you run ops for is a first-class customer record — not a naming convention on a project. Link a customer's projects, and every agent run under them attributes its spend back automatically, so per-client cost is a real rollup from the usage ledger rather than a number you reconcile by hand. That foundation is the seam every pack seeds customers through, and the base for retainer-vs-cost margin.
|
|
80
|
+
|
|
81
|
+
| The customer book | A customer detail view |
|
|
82
|
+
|:-:|:-:|
|
|
83
|
+
| <img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/customers-list.png" alt="The customer book: each account labeled by vertical, with linked projects and a 30-day cost rollup per customer" width="580" /> | <img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/customers-detail.png" alt="A customer detail view: linked projects and AI spend rolled up from real agent runs — live per-client attribution, not a hardcoded billing line" width="580" /> |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Orchestration — simple to governed
|
|
88
|
+
|
|
89
|
+
A workflow is how a repeatable service runs itself. The same screen runs **six patterns**:
|
|
90
|
+
|
|
91
|
+
- **Sequence** — a clean chain of steps an agent works top to bottom
|
|
92
|
+
- **Planner→Executor** — one agent plans, another executes each step
|
|
93
|
+
- **Human-in-the-Loop Checkpoint** — pauses at approval gates so nothing client-facing ships without sign-off
|
|
94
|
+
- **Parallel** — 2–5 concurrent branches followed by one synthesis step
|
|
95
|
+
- **Loop** — iterative execution with configurable stop conditions
|
|
96
|
+
- **Swarm** — mayor → worker pool → refinery orchestration
|
|
97
|
+
|
|
98
|
+
The governance is *in* the workflow, not bolted on. A blueprint is a fixed step shape plus a Configure form — fill in a client's variables and it becomes a ready-to-run workflow, the same service instantiated for the next client in minutes.
|
|
99
|
+
|
|
100
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/workflows-blueprints.png" alt="Workflow blueprints: a fixed step shape with per-step agent profile and approval gates, plus a Configure form to instantiate per client" width="1200" />
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Why it stays trustworthy
|
|
105
|
+
|
|
106
|
+
- **Local-first** — SQLite database, no cloud dependency, `npx orionfold-relay` and go
|
|
107
|
+
- **Your rules, enforced** — tool permissions, inbox approvals, and audit trails for every agent action
|
|
108
|
+
- **Your AI team** — 21 specialist profiles ready to deploy, each with instructions, tool policies, and runtime tuning
|
|
109
|
+
- **Know what you spend** — usage metering, budgets, and per-provider/per-model spend visibility on governed runs
|
|
110
|
+
- **Open source** — Apache-2.0, read the engine and run it yourself
|
|
111
|
+
|
|
112
|
+
<img src="https://raw.githubusercontent.com/orionfold/relay/main/public/readme/inbox-list.png" alt="The governance command center: tool-permission approvals, agent questions, and a permission queue — nothing reaches a client without sign-off" width="1200" />
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Runtime bridge
|
|
117
|
+
|
|
118
|
+
Run the same business process on different AI providers without changing a line of configuration. Relay's shared runtime registry routes tasks, schedules, and workflow steps through **Claude Code** (Anthropic Claude Agent SDK) and **OpenAI Codex App Server**, landing everything in the same inbox, monitoring, and cost surfaces. Switching providers is a settings change, not a rewrite.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Tech stack (boring on purpose)
|
|
123
|
+
|
|
124
|
+
| Layer | Technology | Why |
|
|
125
|
+
|-------|-----------|-----|
|
|
126
|
+
| Framework | Next.js 16 + React 19 | Server Components for zero-API reads, Turbopack for fast dev |
|
|
127
|
+
| Language | TypeScript (strict) | End-to-end type safety from DB schema to UI |
|
|
128
|
+
| Styling | Tailwind CSS v4 + shadcn/ui | Utility-first CSS with accessible component primitives |
|
|
129
|
+
| Database | SQLite (WAL) + Drizzle ORM | Zero-config embedded DB, type-safe queries, concurrent reads |
|
|
130
|
+
| AI Runtime | `@anthropic-ai/claude-agent-sdk` + `codex app-server` | Governed Claude and OpenAI execution behind a shared runtime layer |
|
|
131
|
+
| CLI | Commander + tsup | Familiar CLI framework, fast ESM bundling |
|
|
132
|
+
| Testing | Vitest + Testing Library | Fast test runner with React component testing |
|
|
133
|
+
| Validation | Zod v4 | Runtime type validation at system boundaries |
|
|
134
|
+
|
|
135
|
+
npm distribution name: `orionfold-relay` (CLI commands `relay` / `orionfold-relay`).
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Development
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
git clone https://github.com/orionfold/relay.git && cd relay && npm install
|
|
143
|
+
|
|
144
|
+
# Set up one or both runtime credentials
|
|
145
|
+
cat > .env.local <<'EOF'
|
|
146
|
+
ANTHROPIC_API_KEY=your-anthropic-key
|
|
147
|
+
OPENAI_API_KEY=your-openai-key
|
|
148
|
+
EOF
|
|
149
|
+
|
|
150
|
+
npm run dev # Next.js dev server (Turbopack)
|
|
151
|
+
npm run build:cli # Build CLI → dist/cli.js
|
|
152
|
+
npm test # Run Vitest
|
|
153
|
+
npm run test:coverage # Coverage report
|
|
154
|
+
npm run test:e2e # E2E integration tests (requires runtime credentials)
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Pull requests
|
|
158
|
+
|
|
159
|
+
1. Fork the repository
|
|
160
|
+
2. Create a feature branch (`git checkout -b feature/your-feature`)
|
|
161
|
+
3. Make your changes and add tests
|
|
162
|
+
4. Run `npm test` and `npx tsc --noEmit`
|
|
163
|
+
5. Submit a pull request
|
|
164
|
+
|
|
165
|
+
See `AGENTS.md` for architecture details and development conventions, and `CHANGELOG.md` for release history.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
<details>
|
|
170
|
+
<summary><b>Full feature inventory</b> — 211 features shipped across the platform</summary>
|
|
171
|
+
|
|
172
|
+
All 14 MVP features shipped (CLI bootstrap, database schema, app shell, project management, task board, agent integration, inbox notifications, monitoring, homepage dashboard, workflow engine, AI task assist, content handling, session management). 197 more shipped post-MVP:
|
|
173
|
+
|
|
174
|
+
| Category | Highlights |
|
|
175
|
+
|----------|-----------|
|
|
176
|
+
| **Documents** (5) | File attachments, preprocessing (5 formats), agent context injection, document browser, output generation |
|
|
177
|
+
| **Agent Intelligence** (6) | Multi-agent routing, autonomous loops, multi-agent swarm, AI assist→workflows, agent self-improvement, workflow context batching |
|
|
178
|
+
| **Agent Profiles** (2) | Agent profile catalog (21 profiles), workflow blueprints (15 templates) |
|
|
179
|
+
| **UI Enhancement** (13) | Ambient approvals, learned-context UX, micro-visualizations, command palette, accessibility, kanban operations, board persistence, playbook docs, workflow UX overhaul |
|
|
180
|
+
| **Platform** (8) | Scheduled prompt loops, tool permissions, provider runtimes, OpenAI Codex runtime, cross-provider profiles, parallel fork/join, tool permission presets, npm publish |
|
|
181
|
+
| **Runtime Quality** (2) | SDK runtime hardening, E2E test automation |
|
|
182
|
+
| **Governance** (3) | Usage metering ledger, spend budget guardrails, cost & usage dashboard |
|
|
183
|
+
| **Chat** (12) | 5-tier context engine + CRUD tools, SSE streaming, tool catalog, skill composition, `#key:value` filters, saved searches, conversation branching/rewind (`⌘Z`/`⌘⇧Z`), chat-driven app builder |
|
|
184
|
+
| **Composed Apps** (10) | `/apps` surface, starters showcase, 6 layout kits (Tracker, Coach, Ledger, Inbox, Research, Workflow Hub), manifest authoring tools, atomic writes, KPI ratio composition |
|
|
185
|
+
| **Onboarding** (2) | First-launch runtime preference modal (Best quality / Balanced / Lowest cost / Best privacy), instance bootstrap with dev-mode gate |
|
|
186
|
+
| **Customers** (first-class) | Hard `customers` table, write-time cost attribution, per-customer rollup, `/customers` list + detail |
|
|
187
|
+
| **Plugin Platform** (5) | Chat-tools plugin kind, MCP plugin spec, plugin tools registry, plugin spec tools, schedule spec tools |
|
|
188
|
+
| **Platform Hardening** (2) | Runtime validation hardening, upgrade detection (hourly upstream poll + guided merge sessions) |
|
|
189
|
+
| **Environment** (11) | Scanner, cache, dashboard, git checkpoint manager, sync engine, project onboarding, templates, cross-project comparison, skill portfolio, health scoring, profile-from-environment |
|
|
190
|
+
|
|
191
|
+
See `features/roadmap.md` for the full inventory and `features/stats/snapshot.json` for canonical counts.
|
|
192
|
+
|
|
193
|
+
</details>
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## License
|
|
198
|
+
|
|
199
|
+
Licensed under the [Apache License 2.0](LICENSE).
|
|
200
|
+
|
|
201
|
+
Copyright 2025–2026 [Manav Sehgal](https://github.com/manavsehgal)
|
package/components.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
+
"style": "new-york",
|
|
4
|
+
"rsc": true,
|
|
5
|
+
"tsx": true,
|
|
6
|
+
"tailwind": {
|
|
7
|
+
"config": "",
|
|
8
|
+
"css": "src/app/globals.css",
|
|
9
|
+
"baseColor": "zinc",
|
|
10
|
+
"cssVariables": true,
|
|
11
|
+
"prefix": ""
|
|
12
|
+
},
|
|
13
|
+
"aliases": {
|
|
14
|
+
"components": "@/components",
|
|
15
|
+
"utils": "@/lib/utils",
|
|
16
|
+
"ui": "@/components/ui",
|
|
17
|
+
"lib": "@/lib",
|
|
18
|
+
"hooks": "@/hooks"
|
|
19
|
+
},
|
|
20
|
+
"iconLibrary": "lucide"
|
|
21
|
+
}
|