@growthub/cli 0.3.13 → 0.3.15
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/dist/index.js +190 -186
- package/dist/index.js.map +1 -1
- package/dist/runtime/server/dist/adapters/codex-models.d.ts +4 -0
- package/dist/runtime/server/dist/adapters/codex-models.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/codex-models.js +98 -0
- package/dist/runtime/server/dist/adapters/codex-models.js.map +1 -0
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts +13 -0
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/cursor-models.js +148 -0
- package/dist/runtime/server/dist/adapters/cursor-models.js.map +1 -0
- package/dist/runtime/server/dist/adapters/http/execute.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/http/execute.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/http/execute.js +39 -0
- package/dist/runtime/server/dist/adapters/http/execute.js.map +1 -0
- package/dist/runtime/server/dist/adapters/http/index.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/http/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/http/index.js +20 -0
- package/dist/runtime/server/dist/adapters/http/index.js.map +1 -0
- package/dist/runtime/server/dist/adapters/http/test.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/http/test.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/http/test.js +106 -0
- package/dist/runtime/server/dist/adapters/http/test.js.map +1 -0
- package/dist/runtime/server/dist/adapters/index.d.ts +4 -0
- package/dist/runtime/server/dist/adapters/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/index.js +3 -0
- package/dist/runtime/server/dist/adapters/index.js.map +1 -0
- package/dist/runtime/server/dist/adapters/process/execute.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/process/execute.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/process/execute.js +63 -0
- package/dist/runtime/server/dist/adapters/process/execute.js.map +1 -0
- package/dist/runtime/server/dist/adapters/process/index.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/process/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/process/index.js +23 -0
- package/dist/runtime/server/dist/adapters/process/index.js.map +1 -0
- package/dist/runtime/server/dist/adapters/process/test.d.ts +3 -0
- package/dist/runtime/server/dist/adapters/process/test.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/process/test.js +77 -0
- package/dist/runtime/server/dist/adapters/process/test.js.map +1 -0
- package/dist/runtime/server/dist/adapters/registry.d.ts +9 -0
- package/dist/runtime/server/dist/adapters/registry.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/registry.js +142 -0
- package/dist/runtime/server/dist/adapters/registry.js.map +1 -0
- package/dist/runtime/server/dist/adapters/types.d.ts +2 -0
- package/dist/runtime/server/dist/adapters/types.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/types.js +2 -0
- package/dist/runtime/server/dist/adapters/types.js.map +1 -0
- package/dist/runtime/server/dist/adapters/utils.d.ts +10 -0
- package/dist/runtime/server/dist/adapters/utils.d.ts.map +1 -0
- package/dist/runtime/server/dist/adapters/utils.js +14 -0
- package/dist/runtime/server/dist/adapters/utils.js.map +1 -0
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts +14 -0
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts.map +1 -0
- package/dist/runtime/server/dist/agent-auth-jwt.js +117 -0
- package/dist/runtime/server/dist/agent-auth-jwt.js.map +1 -0
- package/dist/runtime/server/dist/app.d.ts +26 -0
- package/dist/runtime/server/dist/app.d.ts.map +1 -0
- package/dist/runtime/server/dist/app.js +371 -0
- package/dist/runtime/server/dist/app.js.map +1 -0
- package/dist/runtime/server/dist/attachment-types.d.ts +33 -0
- package/dist/runtime/server/dist/attachment-types.d.ts.map +1 -0
- package/dist/runtime/server/dist/attachment-types.js +67 -0
- package/dist/runtime/server/dist/attachment-types.js.map +1 -0
- package/dist/runtime/server/dist/auth/better-auth.d.ts +24 -0
- package/dist/runtime/server/dist/auth/better-auth.d.ts.map +1 -0
- package/dist/runtime/server/dist/auth/better-auth.js +108 -0
- package/dist/runtime/server/dist/auth/better-auth.js.map +1 -0
- package/dist/runtime/server/dist/board-claim.d.ts +23 -0
- package/dist/runtime/server/dist/board-claim.d.ts.map +1 -0
- package/dist/runtime/server/dist/board-claim.js +115 -0
- package/dist/runtime/server/dist/board-claim.js.map +1 -0
- package/dist/runtime/server/dist/config-file.d.ts +4 -0
- package/dist/runtime/server/dist/config-file.d.ts.map +1 -0
- package/dist/runtime/server/dist/config-file.js +25 -0
- package/dist/runtime/server/dist/config-file.js.map +1 -0
- package/dist/runtime/server/dist/config.d.ts +39 -0
- package/dist/runtime/server/dist/config.d.ts.map +1 -0
- package/dist/runtime/server/dist/config.js +164 -0
- package/dist/runtime/server/dist/config.js.map +1 -0
- package/dist/runtime/server/dist/errors.d.ts +12 -0
- package/dist/runtime/server/dist/errors.d.ts.map +1 -0
- package/dist/runtime/server/dist/errors.js +28 -0
- package/dist/runtime/server/dist/errors.js.map +1 -0
- package/dist/runtime/server/dist/home-paths.d.ts +17 -0
- package/dist/runtime/server/dist/home-paths.d.ts.map +1 -0
- package/dist/runtime/server/dist/home-paths.js +75 -0
- package/dist/runtime/server/dist/home-paths.js.map +1 -0
- package/dist/runtime/server/dist/index.d.ts +10 -0
- package/dist/runtime/server/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/index.js +567 -0
- package/dist/runtime/server/dist/index.js.map +1 -0
- package/dist/runtime/server/dist/log-redaction.d.ts +10 -0
- package/dist/runtime/server/dist/log-redaction.d.ts.map +1 -0
- package/dist/runtime/server/dist/log-redaction.js +110 -0
- package/dist/runtime/server/dist/log-redaction.js.map +1 -0
- package/dist/runtime/server/dist/middleware/auth.d.ts +12 -0
- package/dist/runtime/server/dist/middleware/auth.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/auth.js +124 -0
- package/dist/runtime/server/dist/middleware/auth.js.map +1 -0
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts +3 -0
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js +60 -0
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js.map +1 -0
- package/dist/runtime/server/dist/middleware/error-handler.d.ts +17 -0
- package/dist/runtime/server/dist/middleware/error-handler.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/error-handler.js +37 -0
- package/dist/runtime/server/dist/middleware/error-handler.js.map +1 -0
- package/dist/runtime/server/dist/middleware/index.d.ts +4 -0
- package/dist/runtime/server/dist/middleware/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/index.js +4 -0
- package/dist/runtime/server/dist/middleware/index.js.map +1 -0
- package/dist/runtime/server/dist/middleware/logger.d.ts +4 -0
- package/dist/runtime/server/dist/middleware/logger.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/logger.js +87 -0
- package/dist/runtime/server/dist/middleware/logger.js.map +1 -0
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts +11 -0
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js +78 -0
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js.map +1 -0
- package/dist/runtime/server/dist/middleware/validate.d.ts +4 -0
- package/dist/runtime/server/dist/middleware/validate.d.ts.map +1 -0
- package/dist/runtime/server/dist/middleware/validate.js +7 -0
- package/dist/runtime/server/dist/middleware/validate.js.map +1 -0
- package/dist/runtime/server/dist/paths.d.ts +3 -0
- package/dist/runtime/server/dist/paths.d.ts.map +1 -0
- package/dist/runtime/server/dist/paths.js +31 -0
- package/dist/runtime/server/dist/paths.js.map +1 -0
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts +28 -0
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts.map +1 -0
- package/dist/runtime/server/dist/realtime/live-events-ws.js +187 -0
- package/dist/runtime/server/dist/realtime/live-events-ws.js.map +1 -0
- package/dist/runtime/server/dist/redaction.d.ts +4 -0
- package/dist/runtime/server/dist/redaction.d.ts.map +1 -0
- package/dist/runtime/server/dist/redaction.js +63 -0
- package/dist/runtime/server/dist/redaction.js.map +1 -0
- package/dist/runtime/server/dist/routes/access.d.ts +56 -0
- package/dist/runtime/server/dist/routes/access.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/access.js +2125 -0
- package/dist/runtime/server/dist/routes/access.js.map +1 -0
- package/dist/runtime/server/dist/routes/activity.d.ts +3 -0
- package/dist/runtime/server/dist/routes/activity.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/activity.js +78 -0
- package/dist/runtime/server/dist/routes/activity.js.map +1 -0
- package/dist/runtime/server/dist/routes/agents.d.ts +3 -0
- package/dist/runtime/server/dist/routes/agents.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/agents.js +1485 -0
- package/dist/runtime/server/dist/routes/agents.js.map +1 -0
- package/dist/runtime/server/dist/routes/approvals.d.ts +3 -0
- package/dist/runtime/server/dist/routes/approvals.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/approvals.js +275 -0
- package/dist/runtime/server/dist/routes/approvals.js.map +1 -0
- package/dist/runtime/server/dist/routes/assets.d.ts +4 -0
- package/dist/runtime/server/dist/routes/assets.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/assets.js +309 -0
- package/dist/runtime/server/dist/routes/assets.js.map +1 -0
- package/dist/runtime/server/dist/routes/authz.d.ts +15 -0
- package/dist/runtime/server/dist/routes/authz.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/authz.js +40 -0
- package/dist/runtime/server/dist/routes/authz.js.map +1 -0
- package/dist/runtime/server/dist/routes/companies.d.ts +3 -0
- package/dist/runtime/server/dist/routes/companies.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/companies.js +196 -0
- package/dist/runtime/server/dist/routes/companies.js.map +1 -0
- package/dist/runtime/server/dist/routes/costs.d.ts +3 -0
- package/dist/runtime/server/dist/routes/costs.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/costs.js +268 -0
- package/dist/runtime/server/dist/routes/costs.js.map +1 -0
- package/dist/runtime/server/dist/routes/dashboard.d.ts +3 -0
- package/dist/runtime/server/dist/routes/dashboard.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/dashboard.js +15 -0
- package/dist/runtime/server/dist/routes/dashboard.js.map +1 -0
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts +3 -0
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/execution-workspaces.js +165 -0
- package/dist/runtime/server/dist/routes/execution-workspaces.js.map +1 -0
- package/dist/runtime/server/dist/routes/goals.d.ts +3 -0
- package/dist/runtime/server/dist/routes/goals.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/goals.js +95 -0
- package/dist/runtime/server/dist/routes/goals.js.map +1 -0
- package/dist/runtime/server/dist/routes/gtm.d.ts +3 -0
- package/dist/runtime/server/dist/routes/gtm.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/gtm.js +555 -0
- package/dist/runtime/server/dist/routes/gtm.js.map +1 -0
- package/dist/runtime/server/dist/routes/health.d.ts +10 -0
- package/dist/runtime/server/dist/routes/health.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/health.js +53 -0
- package/dist/runtime/server/dist/routes/health.js.map +1 -0
- package/dist/runtime/server/dist/routes/index.d.ts +16 -0
- package/dist/runtime/server/dist/routes/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/index.js +16 -0
- package/dist/runtime/server/dist/routes/index.js.map +1 -0
- package/dist/runtime/server/dist/routes/instance-settings.d.ts +3 -0
- package/dist/runtime/server/dist/routes/instance-settings.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/instance-settings.js +46 -0
- package/dist/runtime/server/dist/routes/instance-settings.js.map +1 -0
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts +9 -0
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js +12 -0
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js.map +1 -0
- package/dist/runtime/server/dist/routes/issues.d.ts +4 -0
- package/dist/runtime/server/dist/routes/issues.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/issues.js +1454 -0
- package/dist/runtime/server/dist/routes/issues.js.map +1 -0
- package/dist/runtime/server/dist/routes/llms.d.ts +3 -0
- package/dist/runtime/server/dist/routes/llms.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/llms.js +78 -0
- package/dist/runtime/server/dist/routes/llms.js.map +1 -0
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts +69 -0
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/plugin-ui-static.js +411 -0
- package/dist/runtime/server/dist/routes/plugin-ui-static.js.map +1 -0
- package/dist/runtime/server/dist/routes/plugins.d.ts +120 -0
- package/dist/runtime/server/dist/routes/plugins.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/plugins.js +1784 -0
- package/dist/runtime/server/dist/routes/plugins.js.map +1 -0
- package/dist/runtime/server/dist/routes/projects.d.ts +3 -0
- package/dist/runtime/server/dist/routes/projects.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/projects.js +257 -0
- package/dist/runtime/server/dist/routes/projects.js.map +1 -0
- package/dist/runtime/server/dist/routes/secrets.d.ts +3 -0
- package/dist/runtime/server/dist/routes/secrets.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/secrets.js +128 -0
- package/dist/runtime/server/dist/routes/secrets.js.map +1 -0
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts +3 -0
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/sidebar-badges.js +45 -0
- package/dist/runtime/server/dist/routes/sidebar-badges.js.map +1 -0
- package/dist/runtime/server/dist/routes/tickets.d.ts +3 -0
- package/dist/runtime/server/dist/routes/tickets.d.ts.map +1 -0
- package/dist/runtime/server/dist/routes/tickets.js +112 -0
- package/dist/runtime/server/dist/routes/tickets.js.map +1 -0
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts +5 -0
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts.map +1 -0
- package/dist/runtime/server/dist/secrets/external-stub-providers.js +21 -0
- package/dist/runtime/server/dist/secrets/external-stub-providers.js.map +1 -0
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts +3 -0
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts.map +1 -0
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js +116 -0
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js.map +1 -0
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts +5 -0
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts.map +1 -0
- package/dist/runtime/server/dist/secrets/provider-registry.js +20 -0
- package/dist/runtime/server/dist/secrets/provider-registry.js.map +1 -0
- package/dist/runtime/server/dist/secrets/types.d.ts +21 -0
- package/dist/runtime/server/dist/secrets/types.d.ts.map +1 -0
- package/dist/runtime/server/dist/secrets/types.js +2 -0
- package/dist/runtime/server/dist/secrets/types.js.map +1 -0
- package/dist/runtime/server/dist/services/access.d.ts +93 -0
- package/dist/runtime/server/dist/services/access.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/access.js +231 -0
- package/dist/runtime/server/dist/services/access.js.map +1 -0
- package/dist/runtime/server/dist/services/activity-log.d.ts +17 -0
- package/dist/runtime/server/dist/services/activity-log.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/activity-log.js +68 -0
- package/dist/runtime/server/dist/services/activity-log.js.map +1 -0
- package/dist/runtime/server/dist/services/activity.d.ts +764 -0
- package/dist/runtime/server/dist/services/activity.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/activity.js +105 -0
- package/dist/runtime/server/dist/services/activity.js.map +1 -0
- package/dist/runtime/server/dist/services/agent-permissions.d.ts +6 -0
- package/dist/runtime/server/dist/services/agent-permissions.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/agent-permissions.js +18 -0
- package/dist/runtime/server/dist/services/agent-permissions.js.map +1 -0
- package/dist/runtime/server/dist/services/agents.d.ts +1670 -0
- package/dist/runtime/server/dist/services/agents.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/agents.js +572 -0
- package/dist/runtime/server/dist/services/agents.js.map +1 -0
- package/dist/runtime/server/dist/services/approvals.d.ts +546 -0
- package/dist/runtime/server/dist/services/approvals.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/approvals.js +206 -0
- package/dist/runtime/server/dist/services/approvals.js.map +1 -0
- package/dist/runtime/server/dist/services/assets.d.ts +33 -0
- package/dist/runtime/server/dist/services/assets.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/assets.js +17 -0
- package/dist/runtime/server/dist/services/assets.js.map +1 -0
- package/dist/runtime/server/dist/services/budgets.d.ts +38 -0
- package/dist/runtime/server/dist/services/budgets.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/budgets.js +784 -0
- package/dist/runtime/server/dist/services/budgets.js.map +1 -0
- package/dist/runtime/server/dist/services/companies.d.ts +124 -0
- package/dist/runtime/server/dist/services/companies.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/companies.js +256 -0
- package/dist/runtime/server/dist/services/companies.js.map +1 -0
- package/dist/runtime/server/dist/services/company-portability.d.ts +8 -0
- package/dist/runtime/server/dist/services/company-portability.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/company-portability.js +869 -0
- package/dist/runtime/server/dist/services/company-portability.js.map +1 -0
- package/dist/runtime/server/dist/services/costs.d.ts +114 -0
- package/dist/runtime/server/dist/services/costs.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/costs.js +294 -0
- package/dist/runtime/server/dist/services/costs.js.map +1 -0
- package/dist/runtime/server/dist/services/cron.d.ts +80 -0
- package/dist/runtime/server/dist/services/cron.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/cron.js +300 -0
- package/dist/runtime/server/dist/services/cron.js.map +1 -0
- package/dist/runtime/server/dist/services/dashboard.d.ts +26 -0
- package/dist/runtime/server/dist/services/dashboard.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/dashboard.js +98 -0
- package/dist/runtime/server/dist/services/dashboard.js.map +1 -0
- package/dist/runtime/server/dist/services/documents.d.ts +164 -0
- package/dist/runtime/server/dist/services/documents.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/documents.js +382 -0
- package/dist/runtime/server/dist/services/documents.js.map +1 -0
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts +20 -0
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/execution-workspace-policy.js +165 -0
- package/dist/runtime/server/dist/services/execution-workspace-policy.js.map +1 -0
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts +19 -0
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/execution-workspaces.js +87 -0
- package/dist/runtime/server/dist/services/execution-workspaces.js.map +1 -0
- package/dist/runtime/server/dist/services/finance.d.ts +93 -0
- package/dist/runtime/server/dist/services/finance.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/finance.js +120 -0
- package/dist/runtime/server/dist/services/finance.js.map +1 -0
- package/dist/runtime/server/dist/services/goals.d.ts +433 -0
- package/dist/runtime/server/dist/services/goals.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/goals.js +54 -0
- package/dist/runtime/server/dist/services/goals.js.map +1 -0
- package/dist/runtime/server/dist/services/gtm-state.d.ts +6 -0
- package/dist/runtime/server/dist/services/gtm-state.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/gtm-state.js +88 -0
- package/dist/runtime/server/dist/services/gtm-state.js.map +1 -0
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts +2 -0
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js +30 -0
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js.map +1 -0
- package/dist/runtime/server/dist/services/heartbeat.d.ts +796 -0
- package/dist/runtime/server/dist/services/heartbeat.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/heartbeat.js +3046 -0
- package/dist/runtime/server/dist/services/heartbeat.js.map +1 -0
- package/dist/runtime/server/dist/services/hire-hook.d.ts +14 -0
- package/dist/runtime/server/dist/services/hire-hook.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/hire-hook.js +85 -0
- package/dist/runtime/server/dist/services/hire-hook.js.map +1 -0
- package/dist/runtime/server/dist/services/index.d.ts +30 -0
- package/dist/runtime/server/dist/services/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/index.js +30 -0
- package/dist/runtime/server/dist/services/index.js.map +1 -0
- package/dist/runtime/server/dist/services/instance-settings.d.ts +9 -0
- package/dist/runtime/server/dist/services/instance-settings.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/instance-settings.js +80 -0
- package/dist/runtime/server/dist/services/instance-settings.js.map +1 -0
- package/dist/runtime/server/dist/services/issue-approvals.d.ts +56 -0
- package/dist/runtime/server/dist/services/issue-approvals.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/issue-approvals.js +153 -0
- package/dist/runtime/server/dist/services/issue-approvals.js.map +1 -0
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts +15 -0
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/issue-goal-fallback.js +15 -0
- package/dist/runtime/server/dist/services/issue-goal-fallback.js.map +1 -0
- package/dist/runtime/server/dist/services/issues.d.ts +536 -0
- package/dist/runtime/server/dist/services/issues.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/issues.js +1321 -0
- package/dist/runtime/server/dist/services/issues.js.map +1 -0
- package/dist/runtime/server/dist/services/live-events.d.ts +17 -0
- package/dist/runtime/server/dist/services/live-events.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/live-events.js +33 -0
- package/dist/runtime/server/dist/services/live-events.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts +108 -0
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-capability-validator.js +268 -0
- package/dist/runtime/server/dist/services/plugin-capability-validator.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts +26 -0
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-config-validator.js +41 -0
- package/dist/runtime/server/dist/services/plugin-config-validator.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts +30 -0
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js +241 -0
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts +149 -0
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-event-bus.js +258 -0
- package/dist/runtime/server/dist/services/plugin-event-bus.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts +14 -0
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js +37 -0
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts +13 -0
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-host-services.js +969 -0
- package/dist/runtime/server/dist/services/plugin-host-services.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts +81 -0
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js +172 -0
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts +163 -0
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js +454 -0
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts +208 -0
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-job-store.js +350 -0
- package/dist/runtime/server/dist/services/plugin-job-store.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts +203 -0
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-lifecycle.js +476 -0
- package/dist/runtime/server/dist/services/plugin-lifecycle.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-loader.d.ts +441 -0
- package/dist/runtime/server/dist/services/plugin-loader.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-loader.js +1192 -0
- package/dist/runtime/server/dist/services/plugin-loader.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts +20 -0
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-log-retention.js +63 -0
- package/dist/runtime/server/dist/services/plugin-log-retention.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts +79 -0
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js +84 -0
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-registry.d.ts +2542 -0
- package/dist/runtime/server/dist/services/plugin-registry.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-registry.js +539 -0
- package/dist/runtime/server/dist/services/plugin-registry.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts +40 -0
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js +154 -0
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts +81 -0
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js +275 -0
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts +92 -0
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-state-store.js +190 -0
- package/dist/runtime/server/dist/services/plugin-state-store.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts +29 -0
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-stream-bus.js +48 -0
- package/dist/runtime/server/dist/services/plugin-stream-bus.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts +180 -0
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js +224 -0
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts +192 -0
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-tool-registry.js +224 -0
- package/dist/runtime/server/dist/services/plugin-tool-registry.js.map +1 -0
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts +260 -0
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/plugin-worker-manager.js +835 -0
- package/dist/runtime/server/dist/services/plugin-worker-manager.js.map +1 -0
- package/dist/runtime/server/dist/services/projects.d.ts +87 -0
- package/dist/runtime/server/dist/services/projects.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/projects.js +656 -0
- package/dist/runtime/server/dist/services/projects.js.map +1 -0
- package/dist/runtime/server/dist/services/quota-windows.d.ts +9 -0
- package/dist/runtime/server/dist/services/quota-windows.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/quota-windows.js +56 -0
- package/dist/runtime/server/dist/services/quota-windows.js.map +1 -0
- package/dist/runtime/server/dist/services/run-log-store.d.ts +34 -0
- package/dist/runtime/server/dist/services/run-log-store.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/run-log-store.js +109 -0
- package/dist/runtime/server/dist/services/run-log-store.js.map +1 -0
- package/dist/runtime/server/dist/services/secrets.d.ts +510 -0
- package/dist/runtime/server/dist/services/secrets.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/secrets.js +288 -0
- package/dist/runtime/server/dist/services/secrets.js.map +1 -0
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts +9 -0
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/sidebar-badges.js +33 -0
- package/dist/runtime/server/dist/services/sidebar-badges.js.map +1 -0
- package/dist/runtime/server/dist/services/tickets.d.ts +1869 -0
- package/dist/runtime/server/dist/services/tickets.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/tickets.js +78 -0
- package/dist/runtime/server/dist/services/tickets.js.map +1 -0
- package/dist/runtime/server/dist/services/work-products.d.ts +14 -0
- package/dist/runtime/server/dist/services/work-products.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/work-products.js +100 -0
- package/dist/runtime/server/dist/services/work-products.js.map +1 -0
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts +33 -0
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js +110 -0
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js.map +1 -0
- package/dist/runtime/server/dist/services/workspace-operations.d.ts +44 -0
- package/dist/runtime/server/dist/services/workspace-operations.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/workspace-operations.js +204 -0
- package/dist/runtime/server/dist/services/workspace-operations.js.map +1 -0
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts +164 -0
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts.map +1 -0
- package/dist/runtime/server/dist/services/workspace-runtime.js +1235 -0
- package/dist/runtime/server/dist/services/workspace-runtime.js.map +1 -0
- package/dist/runtime/server/dist/startup-banner.d.ts +31 -0
- package/dist/runtime/server/dist/startup-banner.d.ts.map +1 -0
- package/dist/runtime/server/dist/startup-banner.js +117 -0
- package/dist/runtime/server/dist/startup-banner.js.map +1 -0
- package/dist/runtime/server/dist/storage/index.d.ts +6 -0
- package/dist/runtime/server/dist/storage/index.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/index.js +29 -0
- package/dist/runtime/server/dist/storage/index.js.map +1 -0
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts +3 -0
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/local-disk-provider.js +79 -0
- package/dist/runtime/server/dist/storage/local-disk-provider.js.map +1 -0
- package/dist/runtime/server/dist/storage/provider-registry.d.ts +4 -0
- package/dist/runtime/server/dist/storage/provider-registry.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/provider-registry.js +15 -0
- package/dist/runtime/server/dist/storage/provider-registry.js.map +1 -0
- package/dist/runtime/server/dist/storage/s3-provider.d.ts +11 -0
- package/dist/runtime/server/dist/storage/s3-provider.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/s3-provider.js +123 -0
- package/dist/runtime/server/dist/storage/s3-provider.js.map +1 -0
- package/dist/runtime/server/dist/storage/service.d.ts +3 -0
- package/dist/runtime/server/dist/storage/service.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/service.js +120 -0
- package/dist/runtime/server/dist/storage/service.js.map +1 -0
- package/dist/runtime/server/dist/storage/types.d.ts +55 -0
- package/dist/runtime/server/dist/storage/types.d.ts.map +1 -0
- package/dist/runtime/server/dist/storage/types.js +2 -0
- package/dist/runtime/server/dist/storage/types.js.map +1 -0
- package/dist/runtime/server/dist/ui-branding.d.ts +14 -0
- package/dist/runtime/server/dist/ui-branding.d.ts.map +1 -0
- package/dist/runtime/server/dist/ui-branding.js +189 -0
- package/dist/runtime/server/dist/ui-branding.js.map +1 -0
- package/dist/runtime/server/dist/version.d.ts +2 -0
- package/dist/runtime/server/dist/version.d.ts.map +1 -0
- package/dist/runtime/server/dist/version.js +5 -0
- package/dist/runtime/server/dist/version.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js +94 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js +106 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js +453 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js +158 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js +477 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js +201 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js +115 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js +149 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js +213 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js +45 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js +451 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js +425 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js +194 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js +116 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js +233 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js +296 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js +81 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js +416 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js +139 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js +188 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js +92 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js +373 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js +198 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js +46 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js +364 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js +61 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts +31 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js +227 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js +203 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js +247 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js +53 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js +1146 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js +290 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js +33 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/package.json +43 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js +115 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js +337 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js +165 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts +13 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js +300 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js +87 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js +141 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js +99 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts +8 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js +405 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js +50 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js +161 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js +180 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js +206 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js +257 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js +82 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/package.json +42 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js +75 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts +62 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js +419 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js +142 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts +290 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/package.json +30 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js +448 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js +103 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts +43 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js +574 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js +117 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0000_mature_masked_marvel.sql +208 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0001_fast_northstar.sql +87 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0002_big_zaladane.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0003_shallow_quentin_quire.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0004_issue_identifiers.sql +28 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0005_chief_luke_cage.sql +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0006_overjoyed_mister_sinister.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0007_new_quentin_quire.sql +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0008_amused_zzzax.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0009_fast_jackal.sql +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0010_stale_justin_hammer.sql +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0011_windy_corsair.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0012_perpetual_ser_duncan.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0013_dashing_wasp.sql +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0014_many_mikhail_rasputin.sql +135 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0015_project_color_archived.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0016_agent_icon.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0017_tiresome_gabe_jones.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0018_flat_sleepwalker.sql +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0019_public_victor_mancha.sql +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0020_white_anita_blake.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0021_chief_vindicator.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0022_company_brand_color.sql +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0023_fair_lethal_legion.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0024_far_beast.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0025_nasty_salo.sql +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0026_lying_pete_wisdom.sql +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0027_tranquil_tenebrous.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0028_harsh_goliath.sql +54 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0029_plugin_tables.sql +177 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0030_rich_magneto.sql +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0031_zippy_magma.sql +51 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0032_pretty_doctor_octopus.sql +102 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0033_shiny_black_tarantula.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0034_fat_dormammu.sql +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0035_marvelous_satana.sql +91 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0036_cheerful_nitro.sql +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0037_friendly_eddie_brock.sql +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0038_careless_iron_monger.sql +5 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0039_tickets.sql +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0040_ticket_meta.sql +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0000_snapshot.json +1743 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0001_snapshot.json +2441 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0002_snapshot.json +2454 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0003_snapshot.json +2502 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0005_snapshot.json +2719 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0006_snapshot.json +3048 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0007_snapshot.json +3258 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0008_snapshot.json +3264 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0009_snapshot.json +3587 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0010_snapshot.json +3929 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0011_snapshot.json +4068 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0012_snapshot.json +4087 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0013_snapshot.json +4118 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0014_snapshot.json +5187 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0017_snapshot.json +5215 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0018_snapshot.json +5450 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0019_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0020_snapshot.json +5603 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0021_snapshot.json +5609 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0023_snapshot.json +5633 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0024_snapshot.json +5693 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0025_snapshot.json +5849 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0027_snapshot.json +6205 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0028_snapshot.json +6710 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0029_snapshot.json +7899 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0030_snapshot.json +8003 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0031_snapshot.json +7242 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0032_snapshot.json +7733 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0033_snapshot.json +9038 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0034_snapshot.json +9039 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0035_snapshot.json +9959 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0036_snapshot.json +10023 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0037_snapshot.json +10263 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0038_snapshot.json +10301 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/_journal.json +293 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts +201 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts +248 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts +197 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts +333 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts +373 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts +212 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts +607 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js +44 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts +297 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts +263 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts +246 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts +195 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js +21 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts +314 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts +161 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts +229 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts +418 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js +39 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts +469 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js +45 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts +178 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts +558 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js +43 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js +55 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts +110 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts +144 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts +76 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts +350 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts +590 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js +58 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts +384 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts +110 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts +158 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts +123 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts +213 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js +37 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts +392 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js +83 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts +125 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js +29 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts +169 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js +68 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts +239 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js +52 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts +246 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js +31 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts +163 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts +333 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts +265 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts +284 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js +24 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts +367 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js +35 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts +469 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js +44 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js +91 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/db/package.json +36 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js +105 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts +218 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js +85 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js +49 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts +34 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js +194 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts +229 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js +353 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js +84 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts +881 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js +297 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts +63 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js +702 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts +982 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts +257 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js +97 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts +120 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js +148 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts +50 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js +30 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts +308 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js +17 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts +127 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js +941 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/package.json +74 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts +4 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts +755 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js +154 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts +214 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js +553 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts +116 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js +181 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js +71 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts +3 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js +40 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts +80 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts +16 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts +120 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts +106 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts +28 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts +14 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts +118 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts +164 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts +9 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts +419 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts +67 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts +7 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts +27 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts +86 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js +2 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts +109 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js +40 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts +235 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js +71 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts +57 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js +23 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts +10 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js +11 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js +27 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts +1535 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts +64 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js +25 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts +92 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js +26 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts +20 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js +15 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts +129 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js +32 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts +48 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js +12 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js +19 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts +18 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js +6 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts +656 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js +95 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts +1173 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js +547 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts +583 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js +93 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts +114 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js +35 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts +56 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js +22 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts +105 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js +46 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js.map +1 -0
- package/dist/runtime/server/node_modules/@paperclipai/shared/package.json +33 -0
- package/dist/runtime/server/package.json +5 -0
- package/dist/runtime/server/ui-dist/android-chrome-192x192.png +0 -0
- package/dist/runtime/server/ui-dist/android-chrome-512x512.png +0 -0
- package/dist/runtime/server/ui-dist/apple-touch-icon.png +0 -0
- package/dist/runtime/server/ui-dist/assets/OnboardingWizard-DQqBk_u-.js +839 -0
- package/dist/runtime/server/ui-dist/assets/_basePickBy-CycqvnCH.js +1 -0
- package/dist/runtime/server/ui-dist/assets/_baseUniq-jJI66QE5.js +1 -0
- package/dist/runtime/server/ui-dist/assets/apl-B4CMkyY2.js +1 -0
- package/dist/runtime/server/ui-dist/assets/arc-DAfOGkhs.js +1 -0
- package/dist/runtime/server/ui-dist/assets/architectureDiagram-VXUJARFQ-Bseplhn_.js +36 -0
- package/dist/runtime/server/ui-dist/assets/asciiarmor-Df11BRmG.js +1 -0
- package/dist/runtime/server/ui-dist/assets/asn1-EdZsLKOL.js +1 -0
- package/dist/runtime/server/ui-dist/assets/asterisk-B-8jnY81.js +1 -0
- package/dist/runtime/server/ui-dist/assets/blockDiagram-VD42YOAC-CImRkHxE.js +122 -0
- package/dist/runtime/server/ui-dist/assets/brainfuck-C4LP7Hcl.js +1 -0
- package/dist/runtime/server/ui-dist/assets/c4Diagram-YG6GDRKO-DocRJ0-4.js +10 -0
- package/dist/runtime/server/ui-dist/assets/channel-BBXTGjGr.js +1 -0
- package/dist/runtime/server/ui-dist/assets/chunk-4BX2VUAB-C_QZ3yOc.js +1 -0
- package/dist/runtime/server/ui-dist/assets/chunk-55IACEB6-B83lcfpC.js +1 -0
- package/dist/runtime/server/ui-dist/assets/chunk-B4BG7PRW-_ZGkSCBB.js +165 -0
- package/dist/runtime/server/ui-dist/assets/chunk-DI55MBZ5-D84JXXQK.js +220 -0
- package/dist/runtime/server/ui-dist/assets/chunk-FMBD7UC4-MA5md7TF.js +15 -0
- package/dist/runtime/server/ui-dist/assets/chunk-QN33PNHL-pBntDM8z.js +1 -0
- package/dist/runtime/server/ui-dist/assets/chunk-QZHKN3VN-BaIMiSo-.js +1 -0
- package/dist/runtime/server/ui-dist/assets/chunk-TZMSLE5B-CrjyhaCL.js +1 -0
- package/dist/runtime/server/ui-dist/assets/classDiagram-2ON5EDUG-BNttVhse.js +1 -0
- package/dist/runtime/server/ui-dist/assets/classDiagram-v2-WZHVMYZB-BNttVhse.js +1 -0
- package/dist/runtime/server/ui-dist/assets/clike-B9uivgTg.js +1 -0
- package/dist/runtime/server/ui-dist/assets/clojure-BMjYHr_A.js +1 -0
- package/dist/runtime/server/ui-dist/assets/clone-dcpmW7Wd.js +1 -0
- package/dist/runtime/server/ui-dist/assets/cmake-BQqOBYOt.js +1 -0
- package/dist/runtime/server/ui-dist/assets/cobol-CWcv1MsR.js +1 -0
- package/dist/runtime/server/ui-dist/assets/coffeescript-S37ZYGWr.js +1 -0
- package/dist/runtime/server/ui-dist/assets/commonlisp-DBKNyK5s.js +1 -0
- package/dist/runtime/server/ui-dist/assets/cose-bilkent-S5V4N54A-mNFISgZf.js +1 -0
- package/dist/runtime/server/ui-dist/assets/crystal-SjHAIU92.js +1 -0
- package/dist/runtime/server/ui-dist/assets/css-BnMrqG3P.js +1 -0
- package/dist/runtime/server/ui-dist/assets/cypher-C_CwsFkJ.js +1 -0
- package/dist/runtime/server/ui-dist/assets/cytoscape.esm-BQaXIfA_.js +331 -0
- package/dist/runtime/server/ui-dist/assets/d-pRatUO7H.js +1 -0
- package/dist/runtime/server/ui-dist/assets/dagre-6UL2VRFP-BW8ACip_.js +4 -0
- package/dist/runtime/server/ui-dist/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/runtime/server/ui-dist/assets/diagram-PSM6KHXK-ByQfKnwU.js +24 -0
- package/dist/runtime/server/ui-dist/assets/diagram-QEK2KX5R-CVMlaNLR.js +43 -0
- package/dist/runtime/server/ui-dist/assets/diagram-S2PKOQOG-CfBIwKQh.js +24 -0
- package/dist/runtime/server/ui-dist/assets/diff-DbItnlRl.js +1 -0
- package/dist/runtime/server/ui-dist/assets/dockerfile-BKs6k2Af.js +1 -0
- package/dist/runtime/server/ui-dist/assets/dtd-DF_7sFjM.js +1 -0
- package/dist/runtime/server/ui-dist/assets/dx-root-DH9to-bY.js +280 -0
- package/dist/runtime/server/ui-dist/assets/dylan-DwRh75JA.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ebnf-CDyGwa7X.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ecl-Cabwm37j.js +1 -0
- package/dist/runtime/server/ui-dist/assets/eiffel-CnydiIhH.js +1 -0
- package/dist/runtime/server/ui-dist/assets/elm-vLlmbW-K.js +1 -0
- package/dist/runtime/server/ui-dist/assets/erDiagram-Q2GNP2WA-DjZOGwrs.js +60 -0
- package/dist/runtime/server/ui-dist/assets/erlang-BNw1qcRV.js +1 -0
- package/dist/runtime/server/ui-dist/assets/factor-kuTfRLto.js +1 -0
- package/dist/runtime/server/ui-dist/assets/fcl-Kvtd6kyn.js +1 -0
- package/dist/runtime/server/ui-dist/assets/flowDiagram-NV44I4VS-BpGnGwpO.js +162 -0
- package/dist/runtime/server/ui-dist/assets/forth-Ffai-XNe.js +1 -0
- package/dist/runtime/server/ui-dist/assets/fortran-DYz_wnZ1.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ganttDiagram-JELNMOA3-CpTGtCqK.js +267 -0
- package/dist/runtime/server/ui-dist/assets/gas-Bneqetm1.js +1 -0
- package/dist/runtime/server/ui-dist/assets/gherkin-heZmZLOM.js +1 -0
- package/dist/runtime/server/ui-dist/assets/gitGraphDiagram-V2S2FVAM-BQaWuAZj.js +65 -0
- package/dist/runtime/server/ui-dist/assets/graph-DXdHsjCL.js +1 -0
- package/dist/runtime/server/ui-dist/assets/groovy-D9Dt4D0W.js +1 -0
- package/dist/runtime/server/ui-dist/assets/gtm-root-Bz1qVp9E.js +11 -0
- package/dist/runtime/server/ui-dist/assets/haskell-Cw1EW3IL.js +1 -0
- package/dist/runtime/server/ui-dist/assets/haxe-H-WmDvRZ.js +1 -0
- package/dist/runtime/server/ui-dist/assets/http-DBlCnlav.js +1 -0
- package/dist/runtime/server/ui-dist/assets/idl-BEugSyMb.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-B8I0xKWu.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-B8TKmcyb.js +6 -0
- package/dist/runtime/server/ui-dist/assets/index-BMSNv6QN.js +13 -0
- package/dist/runtime/server/ui-dist/assets/index-BYHJbnHR.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-BgVlUrJs.js +2 -0
- package/dist/runtime/server/ui-dist/assets/index-Bq-1_kyP.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-BqPQYsKl.js +50 -0
- package/dist/runtime/server/ui-dist/assets/index-BzMyBmxt.js +7 -0
- package/dist/runtime/server/ui-dist/assets/index-CFpWwIka.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-CKSID6Zp.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-CQebjpNv.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-CmOpk52T.css +1 -0
- package/dist/runtime/server/ui-dist/assets/index-CmWaG74-.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-CpAx3Tjk.js +3 -0
- package/dist/runtime/server/ui-dist/assets/index-Crtq9e3P.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-D5QPPm5h.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-D8pJptAs.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-DKPn8Zd0.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-DRwidkWV.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-DwTdFnM5.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-KhE_p8qv.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-LPZbBYTO.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-mMQEcPHs.js +1 -0
- package/dist/runtime/server/ui-dist/assets/index-nPSc8Rbx.js +1 -0
- package/dist/runtime/server/ui-dist/assets/infoDiagram-HS3SLOUP-Du9idGhC.js +2 -0
- package/dist/runtime/server/ui-dist/assets/init-Gi6I4Gst.js +1 -0
- package/dist/runtime/server/ui-dist/assets/javascript-iXu5QeM3.js +1 -0
- package/dist/runtime/server/ui-dist/assets/journeyDiagram-XKPGCS4Q-DQHmnv0N.js +139 -0
- package/dist/runtime/server/ui-dist/assets/julia-DuME0IfC.js +1 -0
- package/dist/runtime/server/ui-dist/assets/kanban-definition-3W4ZIXB7-D1us-ZVV.js +89 -0
- package/dist/runtime/server/ui-dist/assets/katex-O9d3_IXG.js +261 -0
- package/dist/runtime/server/ui-dist/assets/layout-CLyzF__I.js +1 -0
- package/dist/runtime/server/ui-dist/assets/linear-DCEHrHNY.js +1 -0
- package/dist/runtime/server/ui-dist/assets/livescript-BwQOo05w.js +1 -0
- package/dist/runtime/server/ui-dist/assets/lua-BgMRiT3U.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mathematica-DTrFuWx2.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mbox-CNhZ1qSd.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mermaid.core-DPCeJESB.js +256 -0
- package/dist/runtime/server/ui-dist/assets/mindmap-definition-VGOIOE7T-BmEem54z.js +68 -0
- package/dist/runtime/server/ui-dist/assets/mirc-CjQqDB4T.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mllike-CXdrOF99.js +1 -0
- package/dist/runtime/server/ui-dist/assets/modelica-Dc1JOy9r.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mscgen-BA5vi2Kp.js +1 -0
- package/dist/runtime/server/ui-dist/assets/mumps-BT43cFF4.js +1 -0
- package/dist/runtime/server/ui-dist/assets/nginx-DdIZxoE0.js +1 -0
- package/dist/runtime/server/ui-dist/assets/nsis-LdVXkNf5.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ntriples-BfvgReVJ.js +1 -0
- package/dist/runtime/server/ui-dist/assets/octave-Ck1zUtKM.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/runtime/server/ui-dist/assets/oz-BzwKVEFT.js +1 -0
- package/dist/runtime/server/ui-dist/assets/pascal--L3eBynH.js +1 -0
- package/dist/runtime/server/ui-dist/assets/perl-CdXCOZ3F.js +1 -0
- package/dist/runtime/server/ui-dist/assets/pieDiagram-ADFJNKIX-DjIZtNwx.js +30 -0
- package/dist/runtime/server/ui-dist/assets/pig-CevX1Tat.js +1 -0
- package/dist/runtime/server/ui-dist/assets/powershell-CFHJl5sT.js +1 -0
- package/dist/runtime/server/ui-dist/assets/properties-C78fOPTZ.js +1 -0
- package/dist/runtime/server/ui-dist/assets/protobuf-ChK-085T.js +1 -0
- package/dist/runtime/server/ui-dist/assets/pug-DeIclll2.js +1 -0
- package/dist/runtime/server/ui-dist/assets/puppet-DMA9R1ak.js +1 -0
- package/dist/runtime/server/ui-dist/assets/python-BuPzkPfP.js +1 -0
- package/dist/runtime/server/ui-dist/assets/q-pXgVlZs6.js +1 -0
- package/dist/runtime/server/ui-dist/assets/quadrantDiagram-AYHSOK5B-ba-xD4cb.js +7 -0
- package/dist/runtime/server/ui-dist/assets/r-B6wPVr8A.js +1 -0
- package/dist/runtime/server/ui-dist/assets/requirementDiagram-UZGBJVZJ-CB358t-a.js +64 -0
- package/dist/runtime/server/ui-dist/assets/rpm-CTu-6PCP.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ruby-B2Rjki9n.js +1 -0
- package/dist/runtime/server/ui-dist/assets/sankeyDiagram-TZEHDZUN-B0oPaNiW.js +10 -0
- package/dist/runtime/server/ui-dist/assets/sas-B4kiWyti.js +1 -0
- package/dist/runtime/server/ui-dist/assets/scheme-C41bIUwD.js +1 -0
- package/dist/runtime/server/ui-dist/assets/sequenceDiagram-WL72ISMW-D7n_ZO5c.js +145 -0
- package/dist/runtime/server/ui-dist/assets/shell-CjFT_Tl9.js +1 -0
- package/dist/runtime/server/ui-dist/assets/sieve-C3Gn_uJK.js +1 -0
- package/dist/runtime/server/ui-dist/assets/simple-mode-GW_nhZxv.js +1 -0
- package/dist/runtime/server/ui-dist/assets/smalltalk-CnHTOXQT.js +1 -0
- package/dist/runtime/server/ui-dist/assets/solr-DehyRSwq.js +1 -0
- package/dist/runtime/server/ui-dist/assets/sparql-DkYu6x3z.js +1 -0
- package/dist/runtime/server/ui-dist/assets/spreadsheet-BCZA_wO0.js +1 -0
- package/dist/runtime/server/ui-dist/assets/sql-D0XecflT.js +1 -0
- package/dist/runtime/server/ui-dist/assets/stateDiagram-FKZM4ZOC-MkMtXK-v.js +1 -0
- package/dist/runtime/server/ui-dist/assets/stateDiagram-v2-4FDKWEC3-Cah7upY-.js +1 -0
- package/dist/runtime/server/ui-dist/assets/stex-C3f8Ysf7.js +1 -0
- package/dist/runtime/server/ui-dist/assets/stylus-B533Al4x.js +1 -0
- package/dist/runtime/server/ui-dist/assets/swift-BzpIVaGY.js +1 -0
- package/dist/runtime/server/ui-dist/assets/tcl-DVfN8rqt.js +1 -0
- package/dist/runtime/server/ui-dist/assets/textile-CnDTJFAw.js +1 -0
- package/dist/runtime/server/ui-dist/assets/tiddlywiki-DO-Gjzrf.js +1 -0
- package/dist/runtime/server/ui-dist/assets/tiki-DGYXhP31.js +1 -0
- package/dist/runtime/server/ui-dist/assets/timeline-definition-IT6M3QCI-CjBjKaYS.js +61 -0
- package/dist/runtime/server/ui-dist/assets/toml-Bm5Em-hy.js +1 -0
- package/dist/runtime/server/ui-dist/assets/treemap-GDKQZRPO-JNjc1ydw.js +162 -0
- package/dist/runtime/server/ui-dist/assets/troff-wAsdV37c.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ttcn-CfJYG6tj.js +1 -0
- package/dist/runtime/server/ui-dist/assets/ttcn-cfg-B9xdYoR4.js +1 -0
- package/dist/runtime/server/ui-dist/assets/turtle-B1tBg_DP.js +1 -0
- package/dist/runtime/server/ui-dist/assets/vb-CmGdzxic.js +1 -0
- package/dist/runtime/server/ui-dist/assets/vbscript-BuJXcnF6.js +1 -0
- package/dist/runtime/server/ui-dist/assets/velocity-D8B20fx6.js +1 -0
- package/dist/runtime/server/ui-dist/assets/verilog-C6RDOZhf.js +1 -0
- package/dist/runtime/server/ui-dist/assets/vhdl-lSbBsy5d.js +1 -0
- package/dist/runtime/server/ui-dist/assets/webidl-ZXfAyPTL.js +1 -0
- package/dist/runtime/server/ui-dist/assets/xquery-DzFWVndE.js +1 -0
- package/dist/runtime/server/ui-dist/assets/xychartDiagram-PRI3JC2R-DU-mF_06.js +7 -0
- package/dist/runtime/server/ui-dist/assets/yacas-BJ4BC0dw.js +1 -0
- package/dist/runtime/server/ui-dist/assets/z80-Hz9HOZM7.js +1 -0
- package/dist/runtime/server/ui-dist/brands/opencode-logo-dark-square.svg +18 -0
- package/dist/runtime/server/ui-dist/brands/opencode-logo-light-square.svg +18 -0
- package/dist/runtime/server/ui-dist/favicon-16x16.png +0 -0
- package/dist/runtime/server/ui-dist/favicon-32x32.png +0 -0
- package/dist/runtime/server/ui-dist/favicon.ico +0 -0
- package/dist/runtime/server/ui-dist/favicon.svg +9 -0
- package/dist/runtime/server/ui-dist/index.html +48 -0
- package/dist/runtime/server/ui-dist/site.webmanifest +30 -0
- package/dist/runtime/server/ui-dist/sw.js +42 -0
- package/dist/runtime/server/ui-dist/worktree-favicon-16x16.png +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon-32x32.png +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon.ico +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon.svg +9 -0
- package/package.json +7 -4
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import express, { Router } from "express";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import fs from "node:fs";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { httpLogger, errorHandler } from "./middleware/index.js";
|
|
6
|
+
import { actorMiddleware } from "./middleware/auth.js";
|
|
7
|
+
import { boardMutationGuard } from "./middleware/board-mutation-guard.js";
|
|
8
|
+
import { privateHostnameGuard, resolvePrivateHostnameAllowSet } from "./middleware/private-hostname-guard.js";
|
|
9
|
+
import { healthRoutes } from "./routes/health.js";
|
|
10
|
+
import { companyRoutes } from "./routes/companies.js";
|
|
11
|
+
import { agentRoutes } from "./routes/agents.js";
|
|
12
|
+
import { projectRoutes } from "./routes/projects.js";
|
|
13
|
+
import { ticketRoutes } from "./routes/tickets.js";
|
|
14
|
+
import { issueRoutes } from "./routes/issues.js";
|
|
15
|
+
import { executionWorkspaceRoutes } from "./routes/execution-workspaces.js";
|
|
16
|
+
import { goalRoutes } from "./routes/goals.js";
|
|
17
|
+
import { approvalRoutes } from "./routes/approvals.js";
|
|
18
|
+
import { secretRoutes } from "./routes/secrets.js";
|
|
19
|
+
import { costRoutes } from "./routes/costs.js";
|
|
20
|
+
import { activityRoutes } from "./routes/activity.js";
|
|
21
|
+
import { dashboardRoutes } from "./routes/dashboard.js";
|
|
22
|
+
import { sidebarBadgeRoutes } from "./routes/sidebar-badges.js";
|
|
23
|
+
import { instanceSettingsRoutes } from "./routes/instance-settings.js";
|
|
24
|
+
import { llmRoutes } from "./routes/llms.js";
|
|
25
|
+
import { assetRoutes } from "./routes/assets.js";
|
|
26
|
+
import { accessRoutes } from "./routes/access.js";
|
|
27
|
+
import { gtmRoutes } from "./routes/gtm.js";
|
|
28
|
+
import { pluginRoutes } from "./routes/plugins.js";
|
|
29
|
+
import { pluginUiStaticRoutes } from "./routes/plugin-ui-static.js";
|
|
30
|
+
import { applyUiBranding } from "./ui-branding.js";
|
|
31
|
+
import { logger } from "./middleware/logger.js";
|
|
32
|
+
import { DEFAULT_LOCAL_PLUGIN_DIR, pluginLoader } from "./services/plugin-loader.js";
|
|
33
|
+
import { createPluginWorkerManager } from "./services/plugin-worker-manager.js";
|
|
34
|
+
import { createPluginJobScheduler } from "./services/plugin-job-scheduler.js";
|
|
35
|
+
import { pluginJobStore } from "./services/plugin-job-store.js";
|
|
36
|
+
import { createPluginToolDispatcher } from "./services/plugin-tool-dispatcher.js";
|
|
37
|
+
import { pluginLifecycleManager } from "./services/plugin-lifecycle.js";
|
|
38
|
+
import { createPluginJobCoordinator } from "./services/plugin-job-coordinator.js";
|
|
39
|
+
import { buildHostServices, flushPluginLogBuffer } from "./services/plugin-host-services.js";
|
|
40
|
+
import { createPluginEventBus } from "./services/plugin-event-bus.js";
|
|
41
|
+
import { setPluginEventBus } from "./services/activity-log.js";
|
|
42
|
+
import { createPluginDevWatcher } from "./services/plugin-dev-watcher.js";
|
|
43
|
+
import { createPluginHostServiceCleanup } from "./services/plugin-host-service-cleanup.js";
|
|
44
|
+
import { pluginRegistryService } from "./services/plugin-registry.js";
|
|
45
|
+
import { createHostClientHandlers } from "@paperclipai/plugin-sdk";
|
|
46
|
+
import { readConfigFile, writeConfigFile } from "./config-file.js";
|
|
47
|
+
export function resolveViteHmrPort(serverPort) {
|
|
48
|
+
if (serverPort <= 55_535) {
|
|
49
|
+
return serverPort + 10_000;
|
|
50
|
+
}
|
|
51
|
+
return Math.max(1_024, serverPort - 10_000);
|
|
52
|
+
}
|
|
53
|
+
export async function createApp(db, opts) {
|
|
54
|
+
const app = express();
|
|
55
|
+
app.use(express.json({
|
|
56
|
+
verify: (req, _res, buf) => {
|
|
57
|
+
req.rawBody = buf;
|
|
58
|
+
},
|
|
59
|
+
}));
|
|
60
|
+
app.use(httpLogger);
|
|
61
|
+
const privateHostnameGateEnabled = opts.deploymentMode === "authenticated" && opts.deploymentExposure === "private";
|
|
62
|
+
const privateHostnameAllowSet = resolvePrivateHostnameAllowSet({
|
|
63
|
+
allowedHostnames: opts.allowedHostnames,
|
|
64
|
+
bindHost: opts.bindHost,
|
|
65
|
+
});
|
|
66
|
+
app.use(privateHostnameGuard({
|
|
67
|
+
enabled: privateHostnameGateEnabled,
|
|
68
|
+
allowedHostnames: opts.allowedHostnames,
|
|
69
|
+
bindHost: opts.bindHost,
|
|
70
|
+
}));
|
|
71
|
+
app.use(actorMiddleware(db, {
|
|
72
|
+
deploymentMode: opts.deploymentMode,
|
|
73
|
+
resolveSession: opts.resolveSession,
|
|
74
|
+
}));
|
|
75
|
+
app.get("/api/auth/get-session", (req, res) => {
|
|
76
|
+
if (req.actor.type !== "board" || !req.actor.userId) {
|
|
77
|
+
res.status(401).json({ error: "Unauthorized" });
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
res.json({
|
|
81
|
+
session: {
|
|
82
|
+
id: `paperclip:${req.actor.source}:${req.actor.userId}`,
|
|
83
|
+
userId: req.actor.userId,
|
|
84
|
+
},
|
|
85
|
+
user: {
|
|
86
|
+
id: req.actor.userId,
|
|
87
|
+
email: null,
|
|
88
|
+
name: req.actor.source === "local_implicit" ? "Local Board" : null,
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
app.get("/auth/callback", (req, res) => {
|
|
93
|
+
const token = typeof req.query.token === "string" ? req.query.token.trim() : "";
|
|
94
|
+
const portalBaseUrl = typeof req.query.portalBaseUrl === "string" ? req.query.portalBaseUrl.trim() : "";
|
|
95
|
+
const machineLabel = typeof req.query.machineLabel === "string" ? req.query.machineLabel.trim() : "";
|
|
96
|
+
const workspaceLabel = typeof req.query.workspaceLabel === "string" ? req.query.workspaceLabel.trim() : "";
|
|
97
|
+
if (!token) {
|
|
98
|
+
res.status(400).send("Missing token");
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
let normalizedPortalBaseUrl;
|
|
102
|
+
if (portalBaseUrl) {
|
|
103
|
+
try {
|
|
104
|
+
normalizedPortalBaseUrl = new URL(portalBaseUrl).toString().replace(/\/+$/, "");
|
|
105
|
+
}
|
|
106
|
+
catch {
|
|
107
|
+
res.status(400).send("Invalid portalBaseUrl");
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
const config = readConfigFile();
|
|
112
|
+
if (!config) {
|
|
113
|
+
res.status(500).send("Growthub config not found");
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
writeConfigFile({
|
|
117
|
+
...config,
|
|
118
|
+
$meta: {
|
|
119
|
+
...config.$meta,
|
|
120
|
+
updatedAt: new Date().toISOString(),
|
|
121
|
+
source: "configure",
|
|
122
|
+
},
|
|
123
|
+
auth: {
|
|
124
|
+
...config.auth,
|
|
125
|
+
token,
|
|
126
|
+
growthubBaseUrl: normalizedPortalBaseUrl ?? config.auth.growthubBaseUrl,
|
|
127
|
+
growthubPortalBaseUrl: normalizedPortalBaseUrl ?? config.auth.growthubPortalBaseUrl,
|
|
128
|
+
growthubMachineLabel: machineLabel || config.auth.growthubMachineLabel,
|
|
129
|
+
growthubWorkspaceLabel: workspaceLabel || config.auth.growthubWorkspaceLabel,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
const host = req.get("host");
|
|
133
|
+
const forwardedProto = req.get("x-forwarded-proto");
|
|
134
|
+
const protocol = forwardedProto?.split(",")[0]?.trim() || req.protocol;
|
|
135
|
+
const localAppUrl = host ? `${protocol}://${host}/` : "/";
|
|
136
|
+
res
|
|
137
|
+
.status(200)
|
|
138
|
+
.type("html")
|
|
139
|
+
.send(`<!doctype html>
|
|
140
|
+
<html lang="en">
|
|
141
|
+
<head>
|
|
142
|
+
<meta charset="utf-8" />
|
|
143
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
144
|
+
<title>Growthub Connected</title>
|
|
145
|
+
<style>
|
|
146
|
+
body { font-family: ui-sans-serif, system-ui, sans-serif; margin: 0; background: #0b0f14; color: #f5f7fa; }
|
|
147
|
+
main { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
|
|
148
|
+
section { width: min(560px, 100%); background: #121821; border: 1px solid #263244; border-radius: 16px; padding: 24px; box-sizing: border-box; }
|
|
149
|
+
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
150
|
+
p { margin: 0 0 12px; line-height: 1.5; color: #c7d2e0; }
|
|
151
|
+
a { color: #7dd3fc; }
|
|
152
|
+
</style>
|
|
153
|
+
</head>
|
|
154
|
+
<body>
|
|
155
|
+
<main>
|
|
156
|
+
<section>
|
|
157
|
+
<h1>Growthub connected</h1>
|
|
158
|
+
<p>The local machine token was saved. This tab will close automatically.</p>
|
|
159
|
+
<p>If it does not close, go back to <a href="${localAppUrl}">the local app</a>.</p>
|
|
160
|
+
</section>
|
|
161
|
+
</main>
|
|
162
|
+
<script>
|
|
163
|
+
try {
|
|
164
|
+
if (window.opener && !window.opener.closed) {
|
|
165
|
+
try { window.opener.location.reload(); } catch {}
|
|
166
|
+
try { window.opener.focus(); } catch {}
|
|
167
|
+
window.close();
|
|
168
|
+
}
|
|
169
|
+
} catch {}
|
|
170
|
+
window.setTimeout(() => {
|
|
171
|
+
window.location.replace(${JSON.stringify(localAppUrl)});
|
|
172
|
+
}, 1200);
|
|
173
|
+
</script>
|
|
174
|
+
</body>
|
|
175
|
+
</html>`);
|
|
176
|
+
});
|
|
177
|
+
if (opts.betterAuthHandler) {
|
|
178
|
+
app.all("/api/auth/*authPath", opts.betterAuthHandler);
|
|
179
|
+
}
|
|
180
|
+
app.use(llmRoutes(db));
|
|
181
|
+
// Mount API routes
|
|
182
|
+
const api = Router();
|
|
183
|
+
api.use(boardMutationGuard());
|
|
184
|
+
api.use("/health", healthRoutes(db, {
|
|
185
|
+
surfaceProfile: opts.surfaceRuntime.profile,
|
|
186
|
+
deploymentMode: opts.deploymentMode,
|
|
187
|
+
deploymentExposure: opts.deploymentExposure,
|
|
188
|
+
authReady: opts.authReady,
|
|
189
|
+
companyDeletionEnabled: opts.companyDeletionEnabled,
|
|
190
|
+
}));
|
|
191
|
+
const hostServicesDisposers = new Map();
|
|
192
|
+
const workerManager = createPluginWorkerManager();
|
|
193
|
+
const pluginRegistry = pluginRegistryService(db);
|
|
194
|
+
const eventBus = createPluginEventBus();
|
|
195
|
+
setPluginEventBus(eventBus);
|
|
196
|
+
const jobStore = pluginJobStore(db);
|
|
197
|
+
const lifecycle = pluginLifecycleManager(db, { workerManager });
|
|
198
|
+
const scheduler = createPluginJobScheduler({
|
|
199
|
+
db,
|
|
200
|
+
jobStore,
|
|
201
|
+
workerManager,
|
|
202
|
+
});
|
|
203
|
+
const toolDispatcher = createPluginToolDispatcher({
|
|
204
|
+
workerManager,
|
|
205
|
+
lifecycleManager: lifecycle,
|
|
206
|
+
db,
|
|
207
|
+
});
|
|
208
|
+
const jobCoordinator = createPluginJobCoordinator({
|
|
209
|
+
db,
|
|
210
|
+
lifecycle,
|
|
211
|
+
scheduler,
|
|
212
|
+
jobStore,
|
|
213
|
+
});
|
|
214
|
+
const hostServiceCleanup = createPluginHostServiceCleanup(lifecycle, hostServicesDisposers);
|
|
215
|
+
const loader = pluginLoader(db, { localPluginDir: opts.localPluginDir ?? DEFAULT_LOCAL_PLUGIN_DIR }, {
|
|
216
|
+
workerManager,
|
|
217
|
+
eventBus,
|
|
218
|
+
jobScheduler: scheduler,
|
|
219
|
+
jobStore,
|
|
220
|
+
toolDispatcher,
|
|
221
|
+
lifecycleManager: lifecycle,
|
|
222
|
+
instanceInfo: {
|
|
223
|
+
instanceId: opts.instanceId ?? "default",
|
|
224
|
+
hostVersion: opts.hostVersion ?? "0.0.0",
|
|
225
|
+
},
|
|
226
|
+
buildHostHandlers: (pluginId, manifest) => {
|
|
227
|
+
const notifyWorker = (method, params) => {
|
|
228
|
+
const handle = workerManager.getWorker(pluginId);
|
|
229
|
+
if (handle)
|
|
230
|
+
handle.notify(method, params);
|
|
231
|
+
};
|
|
232
|
+
const services = buildHostServices(db, pluginId, manifest.id, eventBus, notifyWorker);
|
|
233
|
+
hostServicesDisposers.set(pluginId, () => services.dispose());
|
|
234
|
+
return createHostClientHandlers({
|
|
235
|
+
pluginId,
|
|
236
|
+
capabilities: manifest.capabilities,
|
|
237
|
+
services,
|
|
238
|
+
});
|
|
239
|
+
},
|
|
240
|
+
});
|
|
241
|
+
if (opts.surfaceRuntime.capabilities.dxEnabled) {
|
|
242
|
+
api.use("/companies", companyRoutes(db));
|
|
243
|
+
api.use(agentRoutes(db));
|
|
244
|
+
api.use(assetRoutes(db, opts.storageService));
|
|
245
|
+
api.use(projectRoutes(db));
|
|
246
|
+
api.use(ticketRoutes(db));
|
|
247
|
+
api.use(issueRoutes(db, opts.storageService));
|
|
248
|
+
api.use(executionWorkspaceRoutes(db));
|
|
249
|
+
api.use(goalRoutes(db));
|
|
250
|
+
api.use(approvalRoutes(db));
|
|
251
|
+
api.use(secretRoutes(db));
|
|
252
|
+
api.use(costRoutes(db));
|
|
253
|
+
api.use(activityRoutes(db));
|
|
254
|
+
api.use(dashboardRoutes(db));
|
|
255
|
+
api.use(sidebarBadgeRoutes(db));
|
|
256
|
+
api.use(instanceSettingsRoutes(db));
|
|
257
|
+
api.use(pluginRoutes(db, loader, { scheduler, jobStore }, { workerManager }, { toolDispatcher }, { workerManager }));
|
|
258
|
+
api.use("/gtm", gtmRoutes(db));
|
|
259
|
+
}
|
|
260
|
+
if (opts.surfaceRuntime.capabilities.gtmEnabled) {
|
|
261
|
+
api.use("/companies", companyRoutes(db));
|
|
262
|
+
api.use(agentRoutes(db));
|
|
263
|
+
api.use(assetRoutes(db, opts.storageService));
|
|
264
|
+
api.use(projectRoutes(db));
|
|
265
|
+
api.use(ticketRoutes(db));
|
|
266
|
+
api.use(issueRoutes(db, opts.storageService));
|
|
267
|
+
api.use(executionWorkspaceRoutes(db));
|
|
268
|
+
api.use(goalRoutes(db));
|
|
269
|
+
api.use(approvalRoutes(db));
|
|
270
|
+
api.use(secretRoutes(db));
|
|
271
|
+
api.use(costRoutes(db));
|
|
272
|
+
api.use(activityRoutes(db));
|
|
273
|
+
api.use(dashboardRoutes(db));
|
|
274
|
+
api.use(sidebarBadgeRoutes(db));
|
|
275
|
+
api.use(instanceSettingsRoutes(db));
|
|
276
|
+
api.use(pluginRoutes(db, loader, { scheduler, jobStore }, { workerManager }, { toolDispatcher }, { workerManager }));
|
|
277
|
+
api.use("/gtm", gtmRoutes(db));
|
|
278
|
+
}
|
|
279
|
+
api.use(accessRoutes(db, {
|
|
280
|
+
deploymentMode: opts.deploymentMode,
|
|
281
|
+
deploymentExposure: opts.deploymentExposure,
|
|
282
|
+
bindHost: opts.bindHost,
|
|
283
|
+
allowedHostnames: opts.allowedHostnames,
|
|
284
|
+
}));
|
|
285
|
+
app.use("/api", api);
|
|
286
|
+
app.use("/api", (_req, res) => {
|
|
287
|
+
res.status(404).json({ error: "API route not found" });
|
|
288
|
+
});
|
|
289
|
+
app.use(pluginUiStaticRoutes(db, {
|
|
290
|
+
localPluginDir: opts.localPluginDir ?? DEFAULT_LOCAL_PLUGIN_DIR,
|
|
291
|
+
}));
|
|
292
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
293
|
+
if (opts.uiMode === "static") {
|
|
294
|
+
// Try published location first (server/ui-dist/), then monorepo dev location (../../ui/dist)
|
|
295
|
+
const candidates = [
|
|
296
|
+
path.resolve(__dirname, "../ui-dist"),
|
|
297
|
+
path.resolve(__dirname, "../../ui/dist"),
|
|
298
|
+
];
|
|
299
|
+
const uiDist = candidates.find((p) => fs.existsSync(path.join(p, "index.html")));
|
|
300
|
+
if (uiDist) {
|
|
301
|
+
const indexHtml = applyUiBranding(fs.readFileSync(path.join(uiDist, "index.html"), "utf-8"), process.env, opts.surfaceRuntime.profile);
|
|
302
|
+
app.use(express.static(uiDist, { index: false }));
|
|
303
|
+
app.get(/.*/, (_req, res) => {
|
|
304
|
+
res.status(200).set("Content-Type", "text/html").end(indexHtml);
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
console.warn("[paperclip] UI dist not found; running in API-only mode");
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
if (opts.uiMode === "vite-dev") {
|
|
312
|
+
const uiRoot = path.resolve(__dirname, "../../ui");
|
|
313
|
+
const hmrPort = resolveViteHmrPort(opts.serverPort);
|
|
314
|
+
const { createServer: createViteServer } = await import("vite");
|
|
315
|
+
const vite = await createViteServer({
|
|
316
|
+
root: uiRoot,
|
|
317
|
+
appType: "custom",
|
|
318
|
+
server: {
|
|
319
|
+
middlewareMode: true,
|
|
320
|
+
hmr: {
|
|
321
|
+
host: opts.bindHost,
|
|
322
|
+
port: hmrPort,
|
|
323
|
+
clientPort: hmrPort,
|
|
324
|
+
},
|
|
325
|
+
allowedHosts: privateHostnameGateEnabled ? Array.from(privateHostnameAllowSet) : undefined,
|
|
326
|
+
},
|
|
327
|
+
});
|
|
328
|
+
app.use(vite.middlewares);
|
|
329
|
+
app.get(/.*/, async (req, res, next) => {
|
|
330
|
+
try {
|
|
331
|
+
const templatePath = path.resolve(uiRoot, "index.html");
|
|
332
|
+
const template = fs.readFileSync(templatePath, "utf-8");
|
|
333
|
+
const html = applyUiBranding(await vite.transformIndexHtml(req.originalUrl, template), process.env, opts.surfaceRuntime.profile);
|
|
334
|
+
res.status(200).set({ "Content-Type": "text/html" }).end(html);
|
|
335
|
+
}
|
|
336
|
+
catch (err) {
|
|
337
|
+
next(err);
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
app.use(errorHandler);
|
|
342
|
+
jobCoordinator.start();
|
|
343
|
+
scheduler.start();
|
|
344
|
+
void toolDispatcher.initialize().catch((err) => {
|
|
345
|
+
logger.error({ err }, "Failed to initialize plugin tool dispatcher");
|
|
346
|
+
});
|
|
347
|
+
const devWatcher = opts.uiMode === "vite-dev"
|
|
348
|
+
? createPluginDevWatcher(lifecycle, async (pluginId) => (await pluginRegistry.getById(pluginId))?.packagePath ?? null)
|
|
349
|
+
: null;
|
|
350
|
+
void loader.loadAll().then((result) => {
|
|
351
|
+
if (!result)
|
|
352
|
+
return;
|
|
353
|
+
for (const loaded of result.results) {
|
|
354
|
+
if (devWatcher && loaded.success && loaded.plugin.packagePath) {
|
|
355
|
+
devWatcher.watch(loaded.plugin.id, loaded.plugin.packagePath);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}).catch((err) => {
|
|
359
|
+
logger.error({ err }, "Failed to load ready plugins on startup");
|
|
360
|
+
});
|
|
361
|
+
process.once("exit", () => {
|
|
362
|
+
devWatcher?.close();
|
|
363
|
+
hostServiceCleanup.disposeAll();
|
|
364
|
+
hostServiceCleanup.teardown();
|
|
365
|
+
});
|
|
366
|
+
process.once("beforeExit", () => {
|
|
367
|
+
void flushPluginLogBuffer();
|
|
368
|
+
});
|
|
369
|
+
return app;
|
|
370
|
+
}
|
|
371
|
+
//# sourceMappingURL=app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAA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AC;gBAC9D,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;YAChE,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACf,MAAM,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,EAAE,yCAAyC,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;QACxB,UAAU,EAAE,KAAK,EAAE,CAAC;QACpB,kBAAkB,CAAC,UAAU,EAAE,CAAC;QAChC,kBAAkB,CAAC,QAAQ,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,EAAE;QAC9B,KAAK,oBAAoB,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared attachment content-type configuration.
|
|
3
|
+
*
|
|
4
|
+
* By default only image types are allowed. Set the
|
|
5
|
+
* `PAPERCLIP_ALLOWED_ATTACHMENT_TYPES` environment variable to a
|
|
6
|
+
* comma-separated list of MIME types or wildcard patterns to expand the
|
|
7
|
+
* allowed set.
|
|
8
|
+
*
|
|
9
|
+
* Examples:
|
|
10
|
+
* PAPERCLIP_ALLOWED_ATTACHMENT_TYPES=image/*,application/pdf
|
|
11
|
+
* PAPERCLIP_ALLOWED_ATTACHMENT_TYPES=image/*,application/pdf,text/*
|
|
12
|
+
*
|
|
13
|
+
* Supported pattern syntax:
|
|
14
|
+
* - Exact types: "application/pdf"
|
|
15
|
+
* - Wildcards: "image/*" or "application/vnd.openxmlformats-officedocument.*"
|
|
16
|
+
*/
|
|
17
|
+
export declare const DEFAULT_ALLOWED_TYPES: readonly string[];
|
|
18
|
+
/**
|
|
19
|
+
* Parse a comma-separated list of MIME type patterns into a normalised array.
|
|
20
|
+
* Returns the default image-only list when the input is empty or undefined.
|
|
21
|
+
*/
|
|
22
|
+
export declare function parseAllowedTypes(raw: string | undefined): string[];
|
|
23
|
+
/**
|
|
24
|
+
* Check whether `contentType` matches any entry in `allowedPatterns`.
|
|
25
|
+
*
|
|
26
|
+
* Supports exact matches ("application/pdf") and wildcard / prefix
|
|
27
|
+
* patterns ("image/*", "application/vnd.openxmlformats-officedocument.*").
|
|
28
|
+
*/
|
|
29
|
+
export declare function matchesContentType(contentType: string, allowedPatterns: string[]): boolean;
|
|
30
|
+
/** Convenience wrapper using the process-level allowed list. */
|
|
31
|
+
export declare function isAllowedContentType(contentType: string): boolean;
|
|
32
|
+
export declare const MAX_ATTACHMENT_BYTES: number;
|
|
33
|
+
//# sourceMappingURL=attachment-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-types.d.ts","sourceRoot":"","sources":["../src/attachment-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAYlD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAOnE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,OAAO,CAS1F;AAQD,gEAAgE;AAChE,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAEjE;AAED,eAAO,MAAM,oBAAoB,QACuC,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared attachment content-type configuration.
|
|
3
|
+
*
|
|
4
|
+
* By default only image types are allowed. Set the
|
|
5
|
+
* `PAPERCLIP_ALLOWED_ATTACHMENT_TYPES` environment variable to a
|
|
6
|
+
* comma-separated list of MIME types or wildcard patterns to expand the
|
|
7
|
+
* allowed set.
|
|
8
|
+
*
|
|
9
|
+
* Examples:
|
|
10
|
+
* PAPERCLIP_ALLOWED_ATTACHMENT_TYPES=image/*,application/pdf
|
|
11
|
+
* PAPERCLIP_ALLOWED_ATTACHMENT_TYPES=image/*,application/pdf,text/*
|
|
12
|
+
*
|
|
13
|
+
* Supported pattern syntax:
|
|
14
|
+
* - Exact types: "application/pdf"
|
|
15
|
+
* - Wildcards: "image/*" or "application/vnd.openxmlformats-officedocument.*"
|
|
16
|
+
*/
|
|
17
|
+
export const DEFAULT_ALLOWED_TYPES = [
|
|
18
|
+
"image/png",
|
|
19
|
+
"image/jpeg",
|
|
20
|
+
"image/jpg",
|
|
21
|
+
"image/webp",
|
|
22
|
+
"image/gif",
|
|
23
|
+
"application/pdf",
|
|
24
|
+
"text/markdown",
|
|
25
|
+
"text/plain",
|
|
26
|
+
"application/json",
|
|
27
|
+
"text/csv",
|
|
28
|
+
"text/html",
|
|
29
|
+
];
|
|
30
|
+
/**
|
|
31
|
+
* Parse a comma-separated list of MIME type patterns into a normalised array.
|
|
32
|
+
* Returns the default image-only list when the input is empty or undefined.
|
|
33
|
+
*/
|
|
34
|
+
export function parseAllowedTypes(raw) {
|
|
35
|
+
if (!raw)
|
|
36
|
+
return [...DEFAULT_ALLOWED_TYPES];
|
|
37
|
+
const parsed = raw
|
|
38
|
+
.split(",")
|
|
39
|
+
.map((s) => s.trim().toLowerCase())
|
|
40
|
+
.filter((s) => s.length > 0);
|
|
41
|
+
return parsed.length > 0 ? parsed : [...DEFAULT_ALLOWED_TYPES];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check whether `contentType` matches any entry in `allowedPatterns`.
|
|
45
|
+
*
|
|
46
|
+
* Supports exact matches ("application/pdf") and wildcard / prefix
|
|
47
|
+
* patterns ("image/*", "application/vnd.openxmlformats-officedocument.*").
|
|
48
|
+
*/
|
|
49
|
+
export function matchesContentType(contentType, allowedPatterns) {
|
|
50
|
+
const ct = contentType.toLowerCase();
|
|
51
|
+
return allowedPatterns.some((pattern) => {
|
|
52
|
+
if (pattern === "*")
|
|
53
|
+
return true;
|
|
54
|
+
if (pattern.endsWith("/*") || pattern.endsWith(".*")) {
|
|
55
|
+
return ct.startsWith(pattern.slice(0, -1));
|
|
56
|
+
}
|
|
57
|
+
return ct === pattern;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
// ---------- Module-level singletons read once at startup ----------
|
|
61
|
+
const allowedPatterns = parseAllowedTypes(process.env.PAPERCLIP_ALLOWED_ATTACHMENT_TYPES);
|
|
62
|
+
/** Convenience wrapper using the process-level allowed list. */
|
|
63
|
+
export function isAllowedContentType(contentType) {
|
|
64
|
+
return matchesContentType(contentType, allowedPatterns);
|
|
65
|
+
}
|
|
66
|
+
export const MAX_ATTACHMENT_BYTES = Number(process.env.PAPERCLIP_ATTACHMENT_MAX_BYTES) || 10 * 1024 * 1024;
|
|
67
|
+
//# sourceMappingURL=attachment-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-types.js","sourceRoot":"","sources":["../src/attachment-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,eAAe;IACf,YAAY;IACZ,kBAAkB;IAClB,UAAU;IACV,WAAW;CACZ,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,GAAuB;IACvD,IAAI,CAAC,GAAG;QAAE,OAAO,CAAC,GAAG,qBAAqB,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,GAAG;SACf,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE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type { Db } from "@paperclipai/db";
|
|
4
|
+
import type { Config } from "../config.js";
|
|
5
|
+
export type BetterAuthSessionUser = {
|
|
6
|
+
id: string;
|
|
7
|
+
email?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
};
|
|
10
|
+
export type BetterAuthSessionResult = {
|
|
11
|
+
session: {
|
|
12
|
+
id: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
} | null;
|
|
15
|
+
user: BetterAuthSessionUser | null;
|
|
16
|
+
};
|
|
17
|
+
type BetterAuthInstance = ReturnType<typeof betterAuth>;
|
|
18
|
+
export declare function deriveAuthTrustedOrigins(config: Config): string[];
|
|
19
|
+
export declare function createBetterAuthInstance(db: Db, config: Config, trustedOrigins?: string[]): BetterAuthInstance;
|
|
20
|
+
export declare function createBetterAuthHandler(auth: BetterAuthInstance): RequestHandler;
|
|
21
|
+
export declare function resolveBetterAuthSessionFromHeaders(auth: BetterAuthInstance, headers: Headers): Promise<BetterAuthSessionResult | null>;
|
|
22
|
+
export declare function resolveBetterAuthSession(auth: BetterAuthInstance, req: Request): Promise<BetterAuthSessionResult | null>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=better-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"better-auth.d.ts","sourceRoot":"","sources":["../../src/auth/better-auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAO1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/C,IAAI,EAAE,qBAAqB,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,KAAK,kBAAkB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAmBxD,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAqBjE;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,kBAAkB,CAkC9G;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,GAAG,cAAc,CAKhF;AAED,wBAAsB,mCAAmC,CACvD,IAAI,EAAE,kBAAkB,EACxB,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CA0BzC;AAED,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,kBAAkB,EACxB,GAAG,EAAE,OAAO,GACX,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAEzC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { betterAuth } from "better-auth";
|
|
2
|
+
import { drizzleAdapter } from "better-auth/adapters/drizzle";
|
|
3
|
+
import { toNodeHandler } from "better-auth/node";
|
|
4
|
+
import { authAccounts, authSessions, authUsers, authVerifications, } from "@paperclipai/db";
|
|
5
|
+
function headersFromNodeHeaders(rawHeaders) {
|
|
6
|
+
const headers = new Headers();
|
|
7
|
+
for (const [key, raw] of Object.entries(rawHeaders)) {
|
|
8
|
+
if (!raw)
|
|
9
|
+
continue;
|
|
10
|
+
if (Array.isArray(raw)) {
|
|
11
|
+
for (const value of raw)
|
|
12
|
+
headers.append(key, value);
|
|
13
|
+
continue;
|
|
14
|
+
}
|
|
15
|
+
headers.set(key, raw);
|
|
16
|
+
}
|
|
17
|
+
return headers;
|
|
18
|
+
}
|
|
19
|
+
function headersFromExpressRequest(req) {
|
|
20
|
+
return headersFromNodeHeaders(req.headers);
|
|
21
|
+
}
|
|
22
|
+
export function deriveAuthTrustedOrigins(config) {
|
|
23
|
+
const baseUrl = config.authBaseUrlMode === "explicit" ? config.authPublicBaseUrl : undefined;
|
|
24
|
+
const trustedOrigins = new Set();
|
|
25
|
+
if (baseUrl) {
|
|
26
|
+
try {
|
|
27
|
+
trustedOrigins.add(new URL(baseUrl).origin);
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// Better Auth will surface invalid base URL separately.
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (config.deploymentMode === "authenticated") {
|
|
34
|
+
for (const hostname of config.allowedHostnames) {
|
|
35
|
+
const trimmed = hostname.trim().toLowerCase();
|
|
36
|
+
if (!trimmed)
|
|
37
|
+
continue;
|
|
38
|
+
trustedOrigins.add(`https://${trimmed}`);
|
|
39
|
+
trustedOrigins.add(`http://${trimmed}`);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return Array.from(trustedOrigins);
|
|
43
|
+
}
|
|
44
|
+
export function createBetterAuthInstance(db, config, trustedOrigins) {
|
|
45
|
+
const baseUrl = config.authBaseUrlMode === "explicit" ? config.authPublicBaseUrl : undefined;
|
|
46
|
+
const secret = process.env.BETTER_AUTH_SECRET ?? process.env.PAPERCLIP_AGENT_JWT_SECRET ?? "paperclip-dev-secret";
|
|
47
|
+
const effectiveTrustedOrigins = trustedOrigins ?? deriveAuthTrustedOrigins(config);
|
|
48
|
+
const publicUrl = process.env.PAPERCLIP_PUBLIC_URL ?? baseUrl;
|
|
49
|
+
const isHttpOnly = publicUrl ? publicUrl.startsWith("http://") : false;
|
|
50
|
+
const authConfig = {
|
|
51
|
+
baseURL: baseUrl,
|
|
52
|
+
secret,
|
|
53
|
+
trustedOrigins: effectiveTrustedOrigins,
|
|
54
|
+
database: drizzleAdapter(db, {
|
|
55
|
+
provider: "pg",
|
|
56
|
+
schema: {
|
|
57
|
+
user: authUsers,
|
|
58
|
+
session: authSessions,
|
|
59
|
+
account: authAccounts,
|
|
60
|
+
verification: authVerifications,
|
|
61
|
+
},
|
|
62
|
+
}),
|
|
63
|
+
emailAndPassword: {
|
|
64
|
+
enabled: true,
|
|
65
|
+
requireEmailVerification: false,
|
|
66
|
+
disableSignUp: config.authDisableSignUp,
|
|
67
|
+
},
|
|
68
|
+
...(isHttpOnly ? { advanced: { useSecureCookies: false } } : {}),
|
|
69
|
+
};
|
|
70
|
+
if (!baseUrl) {
|
|
71
|
+
delete authConfig.baseURL;
|
|
72
|
+
}
|
|
73
|
+
return betterAuth(authConfig);
|
|
74
|
+
}
|
|
75
|
+
export function createBetterAuthHandler(auth) {
|
|
76
|
+
const handler = toNodeHandler(auth);
|
|
77
|
+
return (req, res, next) => {
|
|
78
|
+
void Promise.resolve(handler(req, res)).catch(next);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export async function resolveBetterAuthSessionFromHeaders(auth, headers) {
|
|
82
|
+
const api = auth.api;
|
|
83
|
+
if (!api?.getSession)
|
|
84
|
+
return null;
|
|
85
|
+
const sessionValue = await api.getSession({
|
|
86
|
+
headers,
|
|
87
|
+
});
|
|
88
|
+
if (!sessionValue || typeof sessionValue !== "object")
|
|
89
|
+
return null;
|
|
90
|
+
const value = sessionValue;
|
|
91
|
+
const session = value.session?.id && value.session.userId
|
|
92
|
+
? { id: value.session.id, userId: value.session.userId }
|
|
93
|
+
: null;
|
|
94
|
+
const user = value.user?.id
|
|
95
|
+
? {
|
|
96
|
+
id: value.user.id,
|
|
97
|
+
email: value.user.email ?? null,
|
|
98
|
+
name: value.user.name ?? null,
|
|
99
|
+
}
|
|
100
|
+
: null;
|
|
101
|
+
if (!session || !user)
|
|
102
|
+
return null;
|
|
103
|
+
return { session, user };
|
|
104
|
+
}
|
|
105
|
+
export async function resolveBetterAuthSession(auth, req) {
|
|
106
|
+
return resolveBetterAuthSessionFromHeaders(auth, headersFromExpressRequest(req));
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=better-auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"better-auth.js","sourceRoot":"","sources":["../../src/auth/better-auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AAgBzB,SAAS,sBAAsB,CAAC,UAA+B;IAC7D,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;IAC9B,KAAK,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QACpD,IAAI,CAAC,GAAG;YAAE,SAAS;QACnB,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACvB,KAAK,MAAM,KAAK,IAAI,GAAG;gBAAE,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YACpD,SAAS;QACX,CAAC;QACD,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACxB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,yBAAyB,CAAC,GAAY;IAC7C,OAAO,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,MAAc;IACrD,MAAM,OAAO,GAAG,MAAM,CAAC,eAAe,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CA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