@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,1485 @@
|
|
|
1
|
+
import { execFile } from "node:child_process";
|
|
2
|
+
import { Router } from "express";
|
|
3
|
+
import { generateKeyPairSync, randomUUID } from "node:crypto";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import { promisify } from "node:util";
|
|
6
|
+
import { agents as agentsTable, companies, heartbeatRuns } from "@paperclipai/db";
|
|
7
|
+
import { and, desc, eq, inArray, not, sql } from "drizzle-orm";
|
|
8
|
+
import { createAgentKeySchema, createAgentHireSchema, createAgentSchema, deriveAgentUrlKey, isUuidLike, resetAgentSessionSchema, testAdapterEnvironmentSchema, updateAgentPermissionsSchema, updateAgentInstructionsPathSchema, wakeAgentSchema, updateAgentSchema, } from "@paperclipai/shared";
|
|
9
|
+
import { validate } from "../middleware/validate.js";
|
|
10
|
+
import { agentService, accessService, approvalService, budgetService, heartbeatService, issueApprovalService, issueService, logActivity, secretService, workspaceOperationService, } from "../services/index.js";
|
|
11
|
+
import { conflict, forbidden, notFound, unprocessable } from "../errors.js";
|
|
12
|
+
import { assertBoard, assertCompanyAccess, getActorInfo } from "./authz.js";
|
|
13
|
+
import { findServerAdapter, listAdapterModels } from "../adapters/index.js";
|
|
14
|
+
import { redactEventPayload } from "../redaction.js";
|
|
15
|
+
import { redactCurrentUserValue } from "../log-redaction.js";
|
|
16
|
+
import { runClaudeLogin } from "@paperclipai/adapter-claude-local/server";
|
|
17
|
+
import { DEFAULT_CODEX_LOCAL_BYPASS_APPROVALS_AND_SANDBOX, DEFAULT_CODEX_LOCAL_MODEL, } from "@paperclipai/adapter-codex-local";
|
|
18
|
+
import { DEFAULT_CURSOR_LOCAL_MODEL } from "@paperclipai/adapter-cursor-local";
|
|
19
|
+
import { DEFAULT_GEMINI_LOCAL_MODEL } from "@paperclipai/adapter-gemini-local";
|
|
20
|
+
import { ensureOpenCodeModelConfiguredAndAvailable } from "@paperclipai/adapter-opencode-local/server";
|
|
21
|
+
export function agentRoutes(db) {
|
|
22
|
+
const execFileAsync = promisify(execFile);
|
|
23
|
+
const DEFAULT_INSTRUCTIONS_PATH_KEYS = {
|
|
24
|
+
claude_local: "instructionsFilePath",
|
|
25
|
+
codex_local: "instructionsFilePath",
|
|
26
|
+
gemini_local: "instructionsFilePath",
|
|
27
|
+
opencode_local: "instructionsFilePath",
|
|
28
|
+
cursor: "instructionsFilePath",
|
|
29
|
+
};
|
|
30
|
+
const KNOWN_INSTRUCTIONS_PATH_KEYS = new Set(["instructionsFilePath", "agentsMdPath"]);
|
|
31
|
+
const router = Router();
|
|
32
|
+
const svc = agentService(db);
|
|
33
|
+
const access = accessService(db);
|
|
34
|
+
const approvalsSvc = approvalService(db);
|
|
35
|
+
const budgets = budgetService(db);
|
|
36
|
+
const heartbeat = heartbeatService(db);
|
|
37
|
+
const issueApprovalsSvc = issueApprovalService(db);
|
|
38
|
+
const secretsSvc = secretService(db);
|
|
39
|
+
const workspaceOperations = workspaceOperationService(db);
|
|
40
|
+
const strictSecretsMode = process.env.PAPERCLIP_SECRETS_STRICT_MODE === "true";
|
|
41
|
+
function canCreateAgents(agent) {
|
|
42
|
+
if (!agent.permissions || typeof agent.permissions !== "object")
|
|
43
|
+
return false;
|
|
44
|
+
return Boolean(agent.permissions.canCreateAgents);
|
|
45
|
+
}
|
|
46
|
+
async function buildAgentAccessState(agent) {
|
|
47
|
+
const membership = await access.getMembership(agent.companyId, "agent", agent.id);
|
|
48
|
+
const grants = membership
|
|
49
|
+
? await access.listPrincipalGrants(agent.companyId, "agent", agent.id)
|
|
50
|
+
: [];
|
|
51
|
+
const hasExplicitTaskAssignGrant = grants.some((grant) => grant.permissionKey === "tasks:assign");
|
|
52
|
+
if (agent.role === "ceo") {
|
|
53
|
+
return {
|
|
54
|
+
canAssignTasks: true,
|
|
55
|
+
taskAssignSource: "ceo_role",
|
|
56
|
+
membership,
|
|
57
|
+
grants,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
if (canCreateAgents(agent)) {
|
|
61
|
+
return {
|
|
62
|
+
canAssignTasks: true,
|
|
63
|
+
taskAssignSource: "agent_creator",
|
|
64
|
+
membership,
|
|
65
|
+
grants,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
if (hasExplicitTaskAssignGrant) {
|
|
69
|
+
return {
|
|
70
|
+
canAssignTasks: true,
|
|
71
|
+
taskAssignSource: "explicit_grant",
|
|
72
|
+
membership,
|
|
73
|
+
grants,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
canAssignTasks: false,
|
|
78
|
+
taskAssignSource: "none",
|
|
79
|
+
membership,
|
|
80
|
+
grants,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
async function buildAgentDetail(agent, options) {
|
|
84
|
+
const [chainOfCommand, accessState] = await Promise.all([
|
|
85
|
+
svc.getChainOfCommand(agent.id),
|
|
86
|
+
buildAgentAccessState(agent),
|
|
87
|
+
]);
|
|
88
|
+
return {
|
|
89
|
+
...(options?.restricted ? redactForRestrictedAgentView(agent) : agent),
|
|
90
|
+
chainOfCommand,
|
|
91
|
+
access: accessState,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
async function applyDefaultAgentTaskAssignGrant(companyId, agentId, grantedByUserId) {
|
|
95
|
+
await access.ensureMembership(companyId, "agent", agentId, "member", "active");
|
|
96
|
+
await access.setPrincipalPermission(companyId, "agent", agentId, "tasks:assign", true, grantedByUserId);
|
|
97
|
+
}
|
|
98
|
+
async function assertCanCreateAgentsForCompany(req, companyId) {
|
|
99
|
+
assertCompanyAccess(req, companyId);
|
|
100
|
+
if (req.actor.type === "board") {
|
|
101
|
+
if (req.actor.source === "local_implicit" || req.actor.isInstanceAdmin)
|
|
102
|
+
return null;
|
|
103
|
+
const allowed = await access.canUser(companyId, req.actor.userId, "agents:create");
|
|
104
|
+
if (!allowed) {
|
|
105
|
+
throw forbidden("Missing permission: agents:create");
|
|
106
|
+
}
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
if (!req.actor.agentId)
|
|
110
|
+
throw forbidden("Agent authentication required");
|
|
111
|
+
const actorAgent = await svc.getById(req.actor.agentId);
|
|
112
|
+
if (!actorAgent || actorAgent.companyId !== companyId) {
|
|
113
|
+
throw forbidden("Agent key cannot access another company");
|
|
114
|
+
}
|
|
115
|
+
const allowedByGrant = await access.hasPermission(companyId, "agent", actorAgent.id, "agents:create");
|
|
116
|
+
if (!allowedByGrant && !canCreateAgents(actorAgent)) {
|
|
117
|
+
throw forbidden("Missing permission: can create agents");
|
|
118
|
+
}
|
|
119
|
+
return actorAgent;
|
|
120
|
+
}
|
|
121
|
+
async function assertCanReadConfigurations(req, companyId) {
|
|
122
|
+
return assertCanCreateAgentsForCompany(req, companyId);
|
|
123
|
+
}
|
|
124
|
+
async function actorCanReadConfigurationsForCompany(req, companyId) {
|
|
125
|
+
assertCompanyAccess(req, companyId);
|
|
126
|
+
if (req.actor.type === "board") {
|
|
127
|
+
if (req.actor.source === "local_implicit" || req.actor.isInstanceAdmin)
|
|
128
|
+
return true;
|
|
129
|
+
return access.canUser(companyId, req.actor.userId, "agents:create");
|
|
130
|
+
}
|
|
131
|
+
if (!req.actor.agentId)
|
|
132
|
+
return false;
|
|
133
|
+
const actorAgent = await svc.getById(req.actor.agentId);
|
|
134
|
+
if (!actorAgent || actorAgent.companyId !== companyId)
|
|
135
|
+
return false;
|
|
136
|
+
const allowedByGrant = await access.hasPermission(companyId, "agent", actorAgent.id, "agents:create");
|
|
137
|
+
return allowedByGrant || canCreateAgents(actorAgent);
|
|
138
|
+
}
|
|
139
|
+
async function assertCanUpdateAgent(req, targetAgent) {
|
|
140
|
+
assertCompanyAccess(req, targetAgent.companyId);
|
|
141
|
+
if (req.actor.type === "board")
|
|
142
|
+
return;
|
|
143
|
+
if (!req.actor.agentId)
|
|
144
|
+
throw forbidden("Agent authentication required");
|
|
145
|
+
const actorAgent = await svc.getById(req.actor.agentId);
|
|
146
|
+
if (!actorAgent || actorAgent.companyId !== targetAgent.companyId) {
|
|
147
|
+
throw forbidden("Agent key cannot access another company");
|
|
148
|
+
}
|
|
149
|
+
if (actorAgent.id === targetAgent.id)
|
|
150
|
+
return;
|
|
151
|
+
if (actorAgent.role === "ceo")
|
|
152
|
+
return;
|
|
153
|
+
const allowedByGrant = await access.hasPermission(targetAgent.companyId, "agent", actorAgent.id, "agents:create");
|
|
154
|
+
if (allowedByGrant || canCreateAgents(actorAgent))
|
|
155
|
+
return;
|
|
156
|
+
throw forbidden("Only CEO or agent creators can modify other agents");
|
|
157
|
+
}
|
|
158
|
+
async function resolveCompanyIdForAgentReference(req) {
|
|
159
|
+
const companyIdQuery = req.query.companyId;
|
|
160
|
+
const requestedCompanyId = typeof companyIdQuery === "string" && companyIdQuery.trim().length > 0
|
|
161
|
+
? companyIdQuery.trim()
|
|
162
|
+
: null;
|
|
163
|
+
if (requestedCompanyId) {
|
|
164
|
+
assertCompanyAccess(req, requestedCompanyId);
|
|
165
|
+
return requestedCompanyId;
|
|
166
|
+
}
|
|
167
|
+
if (req.actor.type === "agent" && req.actor.companyId) {
|
|
168
|
+
return req.actor.companyId;
|
|
169
|
+
}
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
async function normalizeAgentReference(req, rawId) {
|
|
173
|
+
const raw = rawId.trim();
|
|
174
|
+
if (isUuidLike(raw))
|
|
175
|
+
return raw;
|
|
176
|
+
const companyId = await resolveCompanyIdForAgentReference(req);
|
|
177
|
+
if (!companyId) {
|
|
178
|
+
throw unprocessable("Agent shortname lookup requires companyId query parameter");
|
|
179
|
+
}
|
|
180
|
+
const resolved = await svc.resolveByReference(companyId, raw);
|
|
181
|
+
if (resolved.ambiguous) {
|
|
182
|
+
throw conflict("Agent shortname is ambiguous in this company. Use the agent ID.");
|
|
183
|
+
}
|
|
184
|
+
if (!resolved.agent) {
|
|
185
|
+
throw notFound("Agent not found");
|
|
186
|
+
}
|
|
187
|
+
return resolved.agent.id;
|
|
188
|
+
}
|
|
189
|
+
function parseSourceIssueIds(input) {
|
|
190
|
+
const values = [];
|
|
191
|
+
if (Array.isArray(input.sourceIssueIds))
|
|
192
|
+
values.push(...input.sourceIssueIds);
|
|
193
|
+
if (typeof input.sourceIssueId === "string" && input.sourceIssueId.length > 0) {
|
|
194
|
+
values.push(input.sourceIssueId);
|
|
195
|
+
}
|
|
196
|
+
return Array.from(new Set(values));
|
|
197
|
+
}
|
|
198
|
+
function asRecord(value) {
|
|
199
|
+
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
200
|
+
return null;
|
|
201
|
+
return value;
|
|
202
|
+
}
|
|
203
|
+
function escapeAppleScriptString(value) {
|
|
204
|
+
return value.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
205
|
+
}
|
|
206
|
+
function asNonEmptyString(value) {
|
|
207
|
+
if (typeof value !== "string")
|
|
208
|
+
return null;
|
|
209
|
+
const trimmed = value.trim();
|
|
210
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
211
|
+
}
|
|
212
|
+
function parseBooleanLike(value) {
|
|
213
|
+
if (typeof value === "boolean")
|
|
214
|
+
return value;
|
|
215
|
+
if (typeof value === "number") {
|
|
216
|
+
if (value === 1)
|
|
217
|
+
return true;
|
|
218
|
+
if (value === 0)
|
|
219
|
+
return false;
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
if (typeof value !== "string")
|
|
223
|
+
return null;
|
|
224
|
+
const normalized = value.trim().toLowerCase();
|
|
225
|
+
if (normalized === "true" || normalized === "1" || normalized === "yes" || normalized === "on") {
|
|
226
|
+
return true;
|
|
227
|
+
}
|
|
228
|
+
if (normalized === "false" || normalized === "0" || normalized === "no" || normalized === "off") {
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
return null;
|
|
232
|
+
}
|
|
233
|
+
function parseNumberLike(value) {
|
|
234
|
+
if (typeof value === "number" && Number.isFinite(value))
|
|
235
|
+
return value;
|
|
236
|
+
if (typeof value !== "string")
|
|
237
|
+
return null;
|
|
238
|
+
const parsed = Number(value.trim());
|
|
239
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
240
|
+
}
|
|
241
|
+
function parseSchedulerHeartbeatPolicy(runtimeConfig) {
|
|
242
|
+
const heartbeat = asRecord(asRecord(runtimeConfig)?.heartbeat) ?? {};
|
|
243
|
+
return {
|
|
244
|
+
enabled: parseBooleanLike(heartbeat.enabled) ?? true,
|
|
245
|
+
intervalSec: Math.max(0, parseNumberLike(heartbeat.intervalSec) ?? 0),
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
function generateEd25519PrivateKeyPem() {
|
|
249
|
+
const { privateKey } = generateKeyPairSync("ed25519");
|
|
250
|
+
return privateKey.export({ type: "pkcs8", format: "pem" }).toString();
|
|
251
|
+
}
|
|
252
|
+
function ensureGatewayDeviceKey(adapterType, adapterConfig) {
|
|
253
|
+
if (adapterType !== "openclaw_gateway")
|
|
254
|
+
return adapterConfig;
|
|
255
|
+
const disableDeviceAuth = parseBooleanLike(adapterConfig.disableDeviceAuth) === true;
|
|
256
|
+
if (disableDeviceAuth)
|
|
257
|
+
return adapterConfig;
|
|
258
|
+
if (asNonEmptyString(adapterConfig.devicePrivateKeyPem))
|
|
259
|
+
return adapterConfig;
|
|
260
|
+
return { ...adapterConfig, devicePrivateKeyPem: generateEd25519PrivateKeyPem() };
|
|
261
|
+
}
|
|
262
|
+
function applyCreateDefaultsByAdapterType(adapterType, adapterConfig) {
|
|
263
|
+
const next = { ...adapterConfig };
|
|
264
|
+
if (adapterType === "codex_local") {
|
|
265
|
+
if (!asNonEmptyString(next.model)) {
|
|
266
|
+
next.model = DEFAULT_CODEX_LOCAL_MODEL;
|
|
267
|
+
}
|
|
268
|
+
const hasBypassFlag = typeof next.dangerouslyBypassApprovalsAndSandbox === "boolean" ||
|
|
269
|
+
typeof next.dangerouslyBypassSandbox === "boolean";
|
|
270
|
+
if (!hasBypassFlag) {
|
|
271
|
+
next.dangerouslyBypassApprovalsAndSandbox = DEFAULT_CODEX_LOCAL_BYPASS_APPROVALS_AND_SANDBOX;
|
|
272
|
+
}
|
|
273
|
+
return ensureGatewayDeviceKey(adapterType, next);
|
|
274
|
+
}
|
|
275
|
+
if (adapterType === "gemini_local" && !asNonEmptyString(next.model)) {
|
|
276
|
+
next.model = DEFAULT_GEMINI_LOCAL_MODEL;
|
|
277
|
+
return ensureGatewayDeviceKey(adapterType, next);
|
|
278
|
+
}
|
|
279
|
+
// OpenCode requires explicit model selection — no default
|
|
280
|
+
if (adapterType === "cursor" && !asNonEmptyString(next.model)) {
|
|
281
|
+
next.model = DEFAULT_CURSOR_LOCAL_MODEL;
|
|
282
|
+
}
|
|
283
|
+
return ensureGatewayDeviceKey(adapterType, next);
|
|
284
|
+
}
|
|
285
|
+
async function assertAdapterConfigConstraints(companyId, adapterType, adapterConfig) {
|
|
286
|
+
if (adapterType !== "opencode_local")
|
|
287
|
+
return;
|
|
288
|
+
const { config: runtimeConfig } = await secretsSvc.resolveAdapterConfigForRuntime(companyId, adapterConfig);
|
|
289
|
+
const runtimeEnv = asRecord(runtimeConfig.env) ?? {};
|
|
290
|
+
try {
|
|
291
|
+
await ensureOpenCodeModelConfiguredAndAvailable({
|
|
292
|
+
model: runtimeConfig.model,
|
|
293
|
+
command: runtimeConfig.command,
|
|
294
|
+
cwd: runtimeConfig.cwd,
|
|
295
|
+
env: runtimeEnv,
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
catch (err) {
|
|
299
|
+
const reason = err instanceof Error ? err.message : String(err);
|
|
300
|
+
throw unprocessable(`Invalid opencode_local adapterConfig: ${reason}`);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
function resolveInstructionsFilePath(candidatePath, adapterConfig) {
|
|
304
|
+
const trimmed = candidatePath.trim();
|
|
305
|
+
if (path.isAbsolute(trimmed))
|
|
306
|
+
return trimmed;
|
|
307
|
+
const cwd = asNonEmptyString(adapterConfig.cwd);
|
|
308
|
+
if (!cwd) {
|
|
309
|
+
throw unprocessable("Relative instructions path requires adapterConfig.cwd to be set to an absolute path");
|
|
310
|
+
}
|
|
311
|
+
if (!path.isAbsolute(cwd)) {
|
|
312
|
+
throw unprocessable("adapterConfig.cwd must be an absolute path to resolve relative instructions path");
|
|
313
|
+
}
|
|
314
|
+
return path.resolve(cwd, trimmed);
|
|
315
|
+
}
|
|
316
|
+
async function assertCanManageInstructionsPath(req, targetAgent) {
|
|
317
|
+
assertCompanyAccess(req, targetAgent.companyId);
|
|
318
|
+
if (req.actor.type === "board")
|
|
319
|
+
return;
|
|
320
|
+
if (!req.actor.agentId)
|
|
321
|
+
throw forbidden("Agent authentication required");
|
|
322
|
+
const actorAgent = await svc.getById(req.actor.agentId);
|
|
323
|
+
if (!actorAgent || actorAgent.companyId !== targetAgent.companyId) {
|
|
324
|
+
throw forbidden("Agent key cannot access another company");
|
|
325
|
+
}
|
|
326
|
+
if (actorAgent.id === targetAgent.id)
|
|
327
|
+
return;
|
|
328
|
+
const chainOfCommand = await svc.getChainOfCommand(targetAgent.id);
|
|
329
|
+
if (chainOfCommand.some((manager) => manager.id === actorAgent.id))
|
|
330
|
+
return;
|
|
331
|
+
throw forbidden("Only the target agent or an ancestor manager can update instructions path");
|
|
332
|
+
}
|
|
333
|
+
function summarizeAgentUpdateDetails(patch) {
|
|
334
|
+
const changedTopLevelKeys = Object.keys(patch).sort();
|
|
335
|
+
const details = { changedTopLevelKeys };
|
|
336
|
+
const adapterConfigPatch = asRecord(patch.adapterConfig);
|
|
337
|
+
if (adapterConfigPatch) {
|
|
338
|
+
details.changedAdapterConfigKeys = Object.keys(adapterConfigPatch).sort();
|
|
339
|
+
}
|
|
340
|
+
const runtimeConfigPatch = asRecord(patch.runtimeConfig);
|
|
341
|
+
if (runtimeConfigPatch) {
|
|
342
|
+
details.changedRuntimeConfigKeys = Object.keys(runtimeConfigPatch).sort();
|
|
343
|
+
}
|
|
344
|
+
return details;
|
|
345
|
+
}
|
|
346
|
+
function redactForRestrictedAgentView(agent) {
|
|
347
|
+
if (!agent)
|
|
348
|
+
return null;
|
|
349
|
+
return {
|
|
350
|
+
...agent,
|
|
351
|
+
adapterConfig: {},
|
|
352
|
+
runtimeConfig: {},
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function redactAgentConfiguration(agent) {
|
|
356
|
+
if (!agent)
|
|
357
|
+
return null;
|
|
358
|
+
return {
|
|
359
|
+
id: agent.id,
|
|
360
|
+
companyId: agent.companyId,
|
|
361
|
+
name: agent.name,
|
|
362
|
+
role: agent.role,
|
|
363
|
+
title: agent.title,
|
|
364
|
+
status: agent.status,
|
|
365
|
+
reportsTo: agent.reportsTo,
|
|
366
|
+
adapterType: agent.adapterType,
|
|
367
|
+
adapterConfig: redactEventPayload(agent.adapterConfig),
|
|
368
|
+
runtimeConfig: redactEventPayload(agent.runtimeConfig),
|
|
369
|
+
permissions: agent.permissions,
|
|
370
|
+
updatedAt: agent.updatedAt,
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
function redactRevisionSnapshot(snapshot) {
|
|
374
|
+
if (!snapshot || typeof snapshot !== "object" || Array.isArray(snapshot))
|
|
375
|
+
return {};
|
|
376
|
+
const record = snapshot;
|
|
377
|
+
return {
|
|
378
|
+
...record,
|
|
379
|
+
adapterConfig: redactEventPayload(typeof record.adapterConfig === "object" && record.adapterConfig !== null
|
|
380
|
+
? record.adapterConfig
|
|
381
|
+
: {}),
|
|
382
|
+
runtimeConfig: redactEventPayload(typeof record.runtimeConfig === "object" && record.runtimeConfig !== null
|
|
383
|
+
? record.runtimeConfig
|
|
384
|
+
: {}),
|
|
385
|
+
metadata: typeof record.metadata === "object" && record.metadata !== null
|
|
386
|
+
? redactEventPayload(record.metadata)
|
|
387
|
+
: record.metadata ?? null,
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
function redactConfigRevision(revision) {
|
|
391
|
+
return {
|
|
392
|
+
...revision,
|
|
393
|
+
beforeConfig: redactRevisionSnapshot(revision.beforeConfig),
|
|
394
|
+
afterConfig: redactRevisionSnapshot(revision.afterConfig),
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
function toLeanOrgNode(node) {
|
|
398
|
+
const reports = Array.isArray(node.reports)
|
|
399
|
+
? node.reports.map((report) => toLeanOrgNode(report))
|
|
400
|
+
: [];
|
|
401
|
+
return {
|
|
402
|
+
id: String(node.id),
|
|
403
|
+
name: String(node.name),
|
|
404
|
+
role: String(node.role),
|
|
405
|
+
status: String(node.status),
|
|
406
|
+
reports,
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
router.param("id", async (req, _res, next, rawId) => {
|
|
410
|
+
try {
|
|
411
|
+
req.params.id = await normalizeAgentReference(req, String(rawId));
|
|
412
|
+
next();
|
|
413
|
+
}
|
|
414
|
+
catch (err) {
|
|
415
|
+
next(err);
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
router.get("/companies/:companyId/adapters/:type/models", async (req, res) => {
|
|
419
|
+
const companyId = req.params.companyId;
|
|
420
|
+
assertCompanyAccess(req, companyId);
|
|
421
|
+
const type = req.params.type;
|
|
422
|
+
const models = await listAdapterModels(type);
|
|
423
|
+
res.json(models);
|
|
424
|
+
});
|
|
425
|
+
router.post("/companies/:companyId/adapters/:type/test-environment", validate(testAdapterEnvironmentSchema), async (req, res) => {
|
|
426
|
+
const companyId = req.params.companyId;
|
|
427
|
+
const type = req.params.type;
|
|
428
|
+
await assertCanReadConfigurations(req, companyId);
|
|
429
|
+
const adapter = findServerAdapter(type);
|
|
430
|
+
if (!adapter) {
|
|
431
|
+
res.status(404).json({ error: `Unknown adapter type: ${type}` });
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
const inputAdapterConfig = (req.body?.adapterConfig ?? {});
|
|
435
|
+
const normalizedAdapterConfig = await secretsSvc.normalizeAdapterConfigForPersistence(companyId, inputAdapterConfig, { strictMode: strictSecretsMode });
|
|
436
|
+
const { config: runtimeAdapterConfig } = await secretsSvc.resolveAdapterConfigForRuntime(companyId, normalizedAdapterConfig);
|
|
437
|
+
const result = await adapter.testEnvironment({
|
|
438
|
+
companyId,
|
|
439
|
+
adapterType: type,
|
|
440
|
+
config: runtimeAdapterConfig,
|
|
441
|
+
});
|
|
442
|
+
res.json(result);
|
|
443
|
+
});
|
|
444
|
+
router.get("/companies/:companyId/agents", async (req, res) => {
|
|
445
|
+
const companyId = req.params.companyId;
|
|
446
|
+
assertCompanyAccess(req, companyId);
|
|
447
|
+
const result = await svc.list(companyId);
|
|
448
|
+
const canReadConfigs = await actorCanReadConfigurationsForCompany(req, companyId);
|
|
449
|
+
if (canReadConfigs || req.actor.type === "board") {
|
|
450
|
+
res.json(result);
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
res.json(result.map((agent) => redactForRestrictedAgentView(agent)));
|
|
454
|
+
});
|
|
455
|
+
router.get("/instance/scheduler-heartbeats", async (req, res) => {
|
|
456
|
+
assertBoard(req);
|
|
457
|
+
const accessConditions = [];
|
|
458
|
+
if (req.actor.source !== "local_implicit" && !req.actor.isInstanceAdmin) {
|
|
459
|
+
const allowedCompanyIds = req.actor.companyIds ?? [];
|
|
460
|
+
if (allowedCompanyIds.length === 0) {
|
|
461
|
+
res.json([]);
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
accessConditions.push(inArray(agentsTable.companyId, allowedCompanyIds));
|
|
465
|
+
}
|
|
466
|
+
const rows = await db
|
|
467
|
+
.select({
|
|
468
|
+
id: agentsTable.id,
|
|
469
|
+
companyId: agentsTable.companyId,
|
|
470
|
+
agentName: agentsTable.name,
|
|
471
|
+
role: agentsTable.role,
|
|
472
|
+
title: agentsTable.title,
|
|
473
|
+
status: agentsTable.status,
|
|
474
|
+
adapterType: agentsTable.adapterType,
|
|
475
|
+
runtimeConfig: agentsTable.runtimeConfig,
|
|
476
|
+
lastHeartbeatAt: agentsTable.lastHeartbeatAt,
|
|
477
|
+
companyName: companies.name,
|
|
478
|
+
companyIssuePrefix: companies.issuePrefix,
|
|
479
|
+
})
|
|
480
|
+
.from(agentsTable)
|
|
481
|
+
.innerJoin(companies, eq(agentsTable.companyId, companies.id))
|
|
482
|
+
.where(accessConditions.length > 0 ? and(...accessConditions) : undefined)
|
|
483
|
+
.orderBy(companies.name, agentsTable.name);
|
|
484
|
+
const items = rows
|
|
485
|
+
.map((row) => {
|
|
486
|
+
const policy = parseSchedulerHeartbeatPolicy(row.runtimeConfig);
|
|
487
|
+
const statusEligible = row.status !== "paused" &&
|
|
488
|
+
row.status !== "terminated" &&
|
|
489
|
+
row.status !== "pending_approval";
|
|
490
|
+
return {
|
|
491
|
+
id: row.id,
|
|
492
|
+
companyId: row.companyId,
|
|
493
|
+
companyName: row.companyName,
|
|
494
|
+
companyIssuePrefix: row.companyIssuePrefix,
|
|
495
|
+
agentName: row.agentName,
|
|
496
|
+
agentUrlKey: deriveAgentUrlKey(row.agentName, row.id),
|
|
497
|
+
role: row.role,
|
|
498
|
+
title: row.title,
|
|
499
|
+
status: row.status,
|
|
500
|
+
adapterType: row.adapterType,
|
|
501
|
+
intervalSec: policy.intervalSec,
|
|
502
|
+
heartbeatEnabled: policy.enabled,
|
|
503
|
+
schedulerActive: statusEligible && policy.enabled && policy.intervalSec > 0,
|
|
504
|
+
lastHeartbeatAt: row.lastHeartbeatAt,
|
|
505
|
+
};
|
|
506
|
+
})
|
|
507
|
+
.filter((item) => item.intervalSec > 0 &&
|
|
508
|
+
item.status !== "paused" &&
|
|
509
|
+
item.status !== "terminated" &&
|
|
510
|
+
item.status !== "pending_approval")
|
|
511
|
+
.sort((left, right) => {
|
|
512
|
+
if (left.schedulerActive !== right.schedulerActive) {
|
|
513
|
+
return left.schedulerActive ? -1 : 1;
|
|
514
|
+
}
|
|
515
|
+
const companyOrder = left.companyName.localeCompare(right.companyName);
|
|
516
|
+
if (companyOrder !== 0)
|
|
517
|
+
return companyOrder;
|
|
518
|
+
return left.agentName.localeCompare(right.agentName);
|
|
519
|
+
});
|
|
520
|
+
res.json(items);
|
|
521
|
+
});
|
|
522
|
+
router.get("/companies/:companyId/org", async (req, res) => {
|
|
523
|
+
const companyId = req.params.companyId;
|
|
524
|
+
assertCompanyAccess(req, companyId);
|
|
525
|
+
const tree = await svc.orgForCompany(companyId);
|
|
526
|
+
const leanTree = tree.map((node) => toLeanOrgNode(node));
|
|
527
|
+
res.json(leanTree);
|
|
528
|
+
});
|
|
529
|
+
router.get("/companies/:companyId/agent-configurations", async (req, res) => {
|
|
530
|
+
const companyId = req.params.companyId;
|
|
531
|
+
await assertCanReadConfigurations(req, companyId);
|
|
532
|
+
const rows = await svc.list(companyId);
|
|
533
|
+
res.json(rows.map((row) => redactAgentConfiguration(row)));
|
|
534
|
+
});
|
|
535
|
+
router.get("/agents/me", async (req, res) => {
|
|
536
|
+
if (req.actor.type !== "agent" || !req.actor.agentId) {
|
|
537
|
+
res.status(401).json({ error: "Agent authentication required" });
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
const agent = await svc.getById(req.actor.agentId);
|
|
541
|
+
if (!agent) {
|
|
542
|
+
res.status(404).json({ error: "Agent not found" });
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
res.json(await buildAgentDetail(agent));
|
|
546
|
+
});
|
|
547
|
+
router.get("/agents/me/inbox-lite", async (req, res) => {
|
|
548
|
+
if (req.actor.type !== "agent" || !req.actor.agentId || !req.actor.companyId) {
|
|
549
|
+
res.status(401).json({ error: "Agent authentication required" });
|
|
550
|
+
return;
|
|
551
|
+
}
|
|
552
|
+
const issuesSvc = issueService(db);
|
|
553
|
+
const rows = await issuesSvc.list(req.actor.companyId, {
|
|
554
|
+
assigneeAgentId: req.actor.agentId,
|
|
555
|
+
status: "todo,in_progress,blocked",
|
|
556
|
+
});
|
|
557
|
+
res.json(rows.map((issue) => ({
|
|
558
|
+
id: issue.id,
|
|
559
|
+
identifier: issue.identifier,
|
|
560
|
+
title: issue.title,
|
|
561
|
+
status: issue.status,
|
|
562
|
+
priority: issue.priority,
|
|
563
|
+
projectId: issue.projectId,
|
|
564
|
+
goalId: issue.goalId,
|
|
565
|
+
parentId: issue.parentId,
|
|
566
|
+
updatedAt: issue.updatedAt,
|
|
567
|
+
activeRun: issue.activeRun,
|
|
568
|
+
})));
|
|
569
|
+
});
|
|
570
|
+
router.get("/agents/:id", async (req, res) => {
|
|
571
|
+
const id = req.params.id;
|
|
572
|
+
const agent = await svc.getById(id);
|
|
573
|
+
if (!agent) {
|
|
574
|
+
res.status(404).json({ error: "Agent not found" });
|
|
575
|
+
return;
|
|
576
|
+
}
|
|
577
|
+
assertCompanyAccess(req, agent.companyId);
|
|
578
|
+
if (req.actor.type === "agent" && req.actor.agentId !== id) {
|
|
579
|
+
const canRead = await actorCanReadConfigurationsForCompany(req, agent.companyId);
|
|
580
|
+
if (!canRead) {
|
|
581
|
+
res.json(await buildAgentDetail(agent, { restricted: true }));
|
|
582
|
+
return;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
res.json(await buildAgentDetail(agent));
|
|
586
|
+
});
|
|
587
|
+
router.get("/agents/:id/configuration", async (req, res) => {
|
|
588
|
+
const id = req.params.id;
|
|
589
|
+
const agent = await svc.getById(id);
|
|
590
|
+
if (!agent) {
|
|
591
|
+
res.status(404).json({ error: "Agent not found" });
|
|
592
|
+
return;
|
|
593
|
+
}
|
|
594
|
+
await assertCanReadConfigurations(req, agent.companyId);
|
|
595
|
+
res.json(redactAgentConfiguration(agent));
|
|
596
|
+
});
|
|
597
|
+
router.get("/agents/:id/config-revisions", async (req, res) => {
|
|
598
|
+
const id = req.params.id;
|
|
599
|
+
const agent = await svc.getById(id);
|
|
600
|
+
if (!agent) {
|
|
601
|
+
res.status(404).json({ error: "Agent not found" });
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
await assertCanReadConfigurations(req, agent.companyId);
|
|
605
|
+
const revisions = await svc.listConfigRevisions(id);
|
|
606
|
+
res.json(revisions.map((revision) => redactConfigRevision(revision)));
|
|
607
|
+
});
|
|
608
|
+
router.get("/agents/:id/config-revisions/:revisionId", async (req, res) => {
|
|
609
|
+
const id = req.params.id;
|
|
610
|
+
const revisionId = req.params.revisionId;
|
|
611
|
+
const agent = await svc.getById(id);
|
|
612
|
+
if (!agent) {
|
|
613
|
+
res.status(404).json({ error: "Agent not found" });
|
|
614
|
+
return;
|
|
615
|
+
}
|
|
616
|
+
await assertCanReadConfigurations(req, agent.companyId);
|
|
617
|
+
const revision = await svc.getConfigRevision(id, revisionId);
|
|
618
|
+
if (!revision) {
|
|
619
|
+
res.status(404).json({ error: "Revision not found" });
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
res.json(redactConfigRevision(revision));
|
|
623
|
+
});
|
|
624
|
+
router.post("/agents/:id/config-revisions/:revisionId/rollback", async (req, res) => {
|
|
625
|
+
const id = req.params.id;
|
|
626
|
+
const revisionId = req.params.revisionId;
|
|
627
|
+
const existing = await svc.getById(id);
|
|
628
|
+
if (!existing) {
|
|
629
|
+
res.status(404).json({ error: "Agent not found" });
|
|
630
|
+
return;
|
|
631
|
+
}
|
|
632
|
+
await assertCanUpdateAgent(req, existing);
|
|
633
|
+
const actor = getActorInfo(req);
|
|
634
|
+
const updated = await svc.rollbackConfigRevision(id, revisionId, {
|
|
635
|
+
agentId: actor.agentId,
|
|
636
|
+
userId: actor.actorType === "user" ? actor.actorId : null,
|
|
637
|
+
});
|
|
638
|
+
if (!updated) {
|
|
639
|
+
res.status(404).json({ error: "Revision not found" });
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
await logActivity(db, {
|
|
643
|
+
companyId: updated.companyId,
|
|
644
|
+
actorType: actor.actorType,
|
|
645
|
+
actorId: actor.actorId,
|
|
646
|
+
agentId: actor.agentId,
|
|
647
|
+
runId: actor.runId,
|
|
648
|
+
action: "agent.config_rolled_back",
|
|
649
|
+
entityType: "agent",
|
|
650
|
+
entityId: updated.id,
|
|
651
|
+
details: { revisionId },
|
|
652
|
+
});
|
|
653
|
+
res.json(updated);
|
|
654
|
+
});
|
|
655
|
+
router.get("/agents/:id/runtime-state", async (req, res) => {
|
|
656
|
+
assertBoard(req);
|
|
657
|
+
const id = req.params.id;
|
|
658
|
+
const agent = await svc.getById(id);
|
|
659
|
+
if (!agent) {
|
|
660
|
+
res.status(404).json({ error: "Agent not found" });
|
|
661
|
+
return;
|
|
662
|
+
}
|
|
663
|
+
assertCompanyAccess(req, agent.companyId);
|
|
664
|
+
const state = await heartbeat.getRuntimeState(id);
|
|
665
|
+
res.json(state);
|
|
666
|
+
});
|
|
667
|
+
router.get("/agents/:id/task-sessions", async (req, res) => {
|
|
668
|
+
assertBoard(req);
|
|
669
|
+
const id = req.params.id;
|
|
670
|
+
const agent = await svc.getById(id);
|
|
671
|
+
if (!agent) {
|
|
672
|
+
res.status(404).json({ error: "Agent not found" });
|
|
673
|
+
return;
|
|
674
|
+
}
|
|
675
|
+
assertCompanyAccess(req, agent.companyId);
|
|
676
|
+
const sessions = await heartbeat.listTaskSessions(id);
|
|
677
|
+
res.json(sessions.map((session) => ({
|
|
678
|
+
...session,
|
|
679
|
+
sessionParamsJson: redactEventPayload(session.sessionParamsJson ?? null),
|
|
680
|
+
})));
|
|
681
|
+
});
|
|
682
|
+
router.post("/agents/:id/runtime-state/reset-session", validate(resetAgentSessionSchema), async (req, res) => {
|
|
683
|
+
assertBoard(req);
|
|
684
|
+
const id = req.params.id;
|
|
685
|
+
const agent = await svc.getById(id);
|
|
686
|
+
if (!agent) {
|
|
687
|
+
res.status(404).json({ error: "Agent not found" });
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
assertCompanyAccess(req, agent.companyId);
|
|
691
|
+
const taskKey = typeof req.body.taskKey === "string" && req.body.taskKey.trim().length > 0
|
|
692
|
+
? req.body.taskKey.trim()
|
|
693
|
+
: null;
|
|
694
|
+
const state = await heartbeat.resetRuntimeSession(id, { taskKey });
|
|
695
|
+
await logActivity(db, {
|
|
696
|
+
companyId: agent.companyId,
|
|
697
|
+
actorType: "user",
|
|
698
|
+
actorId: req.actor.userId ?? "board",
|
|
699
|
+
action: "agent.runtime_session_reset",
|
|
700
|
+
entityType: "agent",
|
|
701
|
+
entityId: id,
|
|
702
|
+
details: { taskKey: taskKey ?? null },
|
|
703
|
+
});
|
|
704
|
+
res.json(state);
|
|
705
|
+
});
|
|
706
|
+
router.post("/companies/:companyId/agent-hires", validate(createAgentHireSchema), async (req, res) => {
|
|
707
|
+
const companyId = req.params.companyId;
|
|
708
|
+
await assertCanCreateAgentsForCompany(req, companyId);
|
|
709
|
+
const sourceIssueIds = parseSourceIssueIds(req.body);
|
|
710
|
+
const { sourceIssueId: _sourceIssueId, sourceIssueIds: _sourceIssueIds, ...hireInput } = req.body;
|
|
711
|
+
const requestedAdapterConfig = applyCreateDefaultsByAdapterType(hireInput.adapterType, (hireInput.adapterConfig ?? {}));
|
|
712
|
+
const normalizedAdapterConfig = await secretsSvc.normalizeAdapterConfigForPersistence(companyId, requestedAdapterConfig, { strictMode: strictSecretsMode });
|
|
713
|
+
await assertAdapterConfigConstraints(companyId, hireInput.adapterType, normalizedAdapterConfig);
|
|
714
|
+
const normalizedHireInput = {
|
|
715
|
+
...hireInput,
|
|
716
|
+
adapterConfig: normalizedAdapterConfig,
|
|
717
|
+
};
|
|
718
|
+
const company = await db
|
|
719
|
+
.select()
|
|
720
|
+
.from(companies)
|
|
721
|
+
.where(eq(companies.id, companyId))
|
|
722
|
+
.then((rows) => rows[0] ?? null);
|
|
723
|
+
if (!company) {
|
|
724
|
+
res.status(404).json({ error: "Company not found" });
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
const requiresApproval = company.requireBoardApprovalForNewAgents;
|
|
728
|
+
const status = requiresApproval ? "pending_approval" : "idle";
|
|
729
|
+
const agent = await svc.create(companyId, {
|
|
730
|
+
...normalizedHireInput,
|
|
731
|
+
status,
|
|
732
|
+
spentMonthlyCents: 0,
|
|
733
|
+
lastHeartbeatAt: null,
|
|
734
|
+
});
|
|
735
|
+
let approval = null;
|
|
736
|
+
const actor = getActorInfo(req);
|
|
737
|
+
if (requiresApproval) {
|
|
738
|
+
const requestedAdapterType = normalizedHireInput.adapterType ?? agent.adapterType;
|
|
739
|
+
const requestedAdapterConfig = redactEventPayload((normalizedHireInput.adapterConfig ?? agent.adapterConfig)) ?? {};
|
|
740
|
+
const requestedRuntimeConfig = redactEventPayload((normalizedHireInput.runtimeConfig ?? agent.runtimeConfig)) ?? {};
|
|
741
|
+
const requestedMetadata = redactEventPayload((normalizedHireInput.metadata ?? agent.metadata ?? {})) ?? {};
|
|
742
|
+
approval = await approvalsSvc.create(companyId, {
|
|
743
|
+
type: "hire_agent",
|
|
744
|
+
requestedByAgentId: actor.actorType === "agent" ? actor.actorId : null,
|
|
745
|
+
requestedByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
746
|
+
status: "pending",
|
|
747
|
+
payload: {
|
|
748
|
+
name: normalizedHireInput.name,
|
|
749
|
+
role: normalizedHireInput.role,
|
|
750
|
+
title: normalizedHireInput.title ?? null,
|
|
751
|
+
icon: normalizedHireInput.icon ?? null,
|
|
752
|
+
reportsTo: normalizedHireInput.reportsTo ?? null,
|
|
753
|
+
capabilities: normalizedHireInput.capabilities ?? null,
|
|
754
|
+
adapterType: requestedAdapterType,
|
|
755
|
+
adapterConfig: requestedAdapterConfig,
|
|
756
|
+
runtimeConfig: requestedRuntimeConfig,
|
|
757
|
+
budgetMonthlyCents: typeof normalizedHireInput.budgetMonthlyCents === "number"
|
|
758
|
+
? normalizedHireInput.budgetMonthlyCents
|
|
759
|
+
: agent.budgetMonthlyCents,
|
|
760
|
+
metadata: requestedMetadata,
|
|
761
|
+
agentId: agent.id,
|
|
762
|
+
requestedByAgentId: actor.actorType === "agent" ? actor.actorId : null,
|
|
763
|
+
requestedConfigurationSnapshot: {
|
|
764
|
+
adapterType: requestedAdapterType,
|
|
765
|
+
adapterConfig: requestedAdapterConfig,
|
|
766
|
+
runtimeConfig: requestedRuntimeConfig,
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
decisionNote: null,
|
|
770
|
+
decidedByUserId: null,
|
|
771
|
+
decidedAt: null,
|
|
772
|
+
updatedAt: new Date(),
|
|
773
|
+
});
|
|
774
|
+
if (sourceIssueIds.length > 0) {
|
|
775
|
+
await issueApprovalsSvc.linkManyForApproval(approval.id, sourceIssueIds, {
|
|
776
|
+
agentId: actor.actorType === "agent" ? actor.actorId : null,
|
|
777
|
+
userId: actor.actorType === "user" ? actor.actorId : null,
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
await logActivity(db, {
|
|
782
|
+
companyId,
|
|
783
|
+
actorType: actor.actorType,
|
|
784
|
+
actorId: actor.actorId,
|
|
785
|
+
agentId: actor.agentId,
|
|
786
|
+
runId: actor.runId,
|
|
787
|
+
action: "agent.hire_created",
|
|
788
|
+
entityType: "agent",
|
|
789
|
+
entityId: agent.id,
|
|
790
|
+
details: {
|
|
791
|
+
name: agent.name,
|
|
792
|
+
role: agent.role,
|
|
793
|
+
requiresApproval,
|
|
794
|
+
approvalId: approval?.id ?? null,
|
|
795
|
+
issueIds: sourceIssueIds,
|
|
796
|
+
},
|
|
797
|
+
});
|
|
798
|
+
await applyDefaultAgentTaskAssignGrant(companyId, agent.id, actor.actorType === "user" ? actor.actorId : null);
|
|
799
|
+
if (approval) {
|
|
800
|
+
await logActivity(db, {
|
|
801
|
+
companyId,
|
|
802
|
+
actorType: actor.actorType,
|
|
803
|
+
actorId: actor.actorId,
|
|
804
|
+
agentId: actor.agentId,
|
|
805
|
+
runId: actor.runId,
|
|
806
|
+
action: "approval.created",
|
|
807
|
+
entityType: "approval",
|
|
808
|
+
entityId: approval.id,
|
|
809
|
+
details: { type: approval.type, linkedAgentId: agent.id },
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
res.status(201).json({ agent, approval });
|
|
813
|
+
});
|
|
814
|
+
router.post("/companies/:companyId/agents", validate(createAgentSchema), async (req, res) => {
|
|
815
|
+
const companyId = req.params.companyId;
|
|
816
|
+
assertCompanyAccess(req, companyId);
|
|
817
|
+
if (req.actor.type === "agent") {
|
|
818
|
+
assertBoard(req);
|
|
819
|
+
}
|
|
820
|
+
const requestedAdapterConfig = applyCreateDefaultsByAdapterType(req.body.adapterType, (req.body.adapterConfig ?? {}));
|
|
821
|
+
const normalizedAdapterConfig = await secretsSvc.normalizeAdapterConfigForPersistence(companyId, requestedAdapterConfig, { strictMode: strictSecretsMode });
|
|
822
|
+
await assertAdapterConfigConstraints(companyId, req.body.adapterType, normalizedAdapterConfig);
|
|
823
|
+
const agent = await svc.create(companyId, {
|
|
824
|
+
...req.body,
|
|
825
|
+
adapterConfig: normalizedAdapterConfig,
|
|
826
|
+
status: "idle",
|
|
827
|
+
spentMonthlyCents: 0,
|
|
828
|
+
lastHeartbeatAt: null,
|
|
829
|
+
});
|
|
830
|
+
const actor = getActorInfo(req);
|
|
831
|
+
await logActivity(db, {
|
|
832
|
+
companyId,
|
|
833
|
+
actorType: actor.actorType,
|
|
834
|
+
actorId: actor.actorId,
|
|
835
|
+
agentId: actor.agentId,
|
|
836
|
+
runId: actor.runId,
|
|
837
|
+
action: "agent.created",
|
|
838
|
+
entityType: "agent",
|
|
839
|
+
entityId: agent.id,
|
|
840
|
+
details: { name: agent.name, role: agent.role },
|
|
841
|
+
});
|
|
842
|
+
await applyDefaultAgentTaskAssignGrant(companyId, agent.id, req.actor.type === "board" ? (req.actor.userId ?? null) : null);
|
|
843
|
+
if (agent.budgetMonthlyCents > 0) {
|
|
844
|
+
await budgets.upsertPolicy(companyId, {
|
|
845
|
+
scopeType: "agent",
|
|
846
|
+
scopeId: agent.id,
|
|
847
|
+
amount: agent.budgetMonthlyCents,
|
|
848
|
+
windowKind: "calendar_month_utc",
|
|
849
|
+
}, actor.actorType === "user" ? actor.actorId : null);
|
|
850
|
+
}
|
|
851
|
+
res.status(201).json(agent);
|
|
852
|
+
});
|
|
853
|
+
router.patch("/agents/:id/permissions", validate(updateAgentPermissionsSchema), async (req, res) => {
|
|
854
|
+
const id = req.params.id;
|
|
855
|
+
const existing = await svc.getById(id);
|
|
856
|
+
if (!existing) {
|
|
857
|
+
res.status(404).json({ error: "Agent not found" });
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
assertCompanyAccess(req, existing.companyId);
|
|
861
|
+
if (req.actor.type === "agent") {
|
|
862
|
+
const actorAgent = req.actor.agentId ? await svc.getById(req.actor.agentId) : null;
|
|
863
|
+
if (!actorAgent || actorAgent.companyId !== existing.companyId) {
|
|
864
|
+
res.status(403).json({ error: "Forbidden" });
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
if (actorAgent.role !== "ceo") {
|
|
868
|
+
res.status(403).json({ error: "Only CEO can manage permissions" });
|
|
869
|
+
return;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
const agent = await svc.updatePermissions(id, req.body);
|
|
873
|
+
if (!agent) {
|
|
874
|
+
res.status(404).json({ error: "Agent not found" });
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
const effectiveCanAssignTasks = agent.role === "ceo" || Boolean(agent.permissions?.canCreateAgents) || req.body.canAssignTasks;
|
|
878
|
+
await access.ensureMembership(agent.companyId, "agent", agent.id, "member", "active");
|
|
879
|
+
await access.setPrincipalPermission(agent.companyId, "agent", agent.id, "tasks:assign", effectiveCanAssignTasks, req.actor.type === "board" ? (req.actor.userId ?? null) : null);
|
|
880
|
+
const actor = getActorInfo(req);
|
|
881
|
+
await logActivity(db, {
|
|
882
|
+
companyId: agent.companyId,
|
|
883
|
+
actorType: actor.actorType,
|
|
884
|
+
actorId: actor.actorId,
|
|
885
|
+
agentId: actor.agentId,
|
|
886
|
+
runId: actor.runId,
|
|
887
|
+
action: "agent.permissions_updated",
|
|
888
|
+
entityType: "agent",
|
|
889
|
+
entityId: agent.id,
|
|
890
|
+
details: {
|
|
891
|
+
canCreateAgents: agent.permissions?.canCreateAgents ?? false,
|
|
892
|
+
canAssignTasks: effectiveCanAssignTasks,
|
|
893
|
+
},
|
|
894
|
+
});
|
|
895
|
+
res.json(await buildAgentDetail(agent));
|
|
896
|
+
});
|
|
897
|
+
router.patch("/agents/:id/instructions-path", validate(updateAgentInstructionsPathSchema), async (req, res) => {
|
|
898
|
+
const id = req.params.id;
|
|
899
|
+
const existing = await svc.getById(id);
|
|
900
|
+
if (!existing) {
|
|
901
|
+
res.status(404).json({ error: "Agent not found" });
|
|
902
|
+
return;
|
|
903
|
+
}
|
|
904
|
+
await assertCanManageInstructionsPath(req, existing);
|
|
905
|
+
const existingAdapterConfig = asRecord(existing.adapterConfig) ?? {};
|
|
906
|
+
const explicitKey = asNonEmptyString(req.body.adapterConfigKey);
|
|
907
|
+
const defaultKey = DEFAULT_INSTRUCTIONS_PATH_KEYS[existing.adapterType] ?? null;
|
|
908
|
+
const adapterConfigKey = explicitKey ?? defaultKey;
|
|
909
|
+
if (!adapterConfigKey) {
|
|
910
|
+
res.status(422).json({
|
|
911
|
+
error: `No default instructions path key for adapter type '${existing.adapterType}'. Provide adapterConfigKey.`,
|
|
912
|
+
});
|
|
913
|
+
return;
|
|
914
|
+
}
|
|
915
|
+
const nextAdapterConfig = { ...existingAdapterConfig };
|
|
916
|
+
if (req.body.path === null) {
|
|
917
|
+
delete nextAdapterConfig[adapterConfigKey];
|
|
918
|
+
}
|
|
919
|
+
else {
|
|
920
|
+
nextAdapterConfig[adapterConfigKey] = resolveInstructionsFilePath(req.body.path, existingAdapterConfig);
|
|
921
|
+
}
|
|
922
|
+
const normalizedAdapterConfig = await secretsSvc.normalizeAdapterConfigForPersistence(existing.companyId, nextAdapterConfig, { strictMode: strictSecretsMode });
|
|
923
|
+
const actor = getActorInfo(req);
|
|
924
|
+
const agent = await svc.update(id, { adapterConfig: normalizedAdapterConfig }, {
|
|
925
|
+
recordRevision: {
|
|
926
|
+
createdByAgentId: actor.agentId,
|
|
927
|
+
createdByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
928
|
+
source: "instructions_path_patch",
|
|
929
|
+
},
|
|
930
|
+
});
|
|
931
|
+
if (!agent) {
|
|
932
|
+
res.status(404).json({ error: "Agent not found" });
|
|
933
|
+
return;
|
|
934
|
+
}
|
|
935
|
+
const updatedAdapterConfig = asRecord(agent.adapterConfig) ?? {};
|
|
936
|
+
const pathValue = asNonEmptyString(updatedAdapterConfig[adapterConfigKey]);
|
|
937
|
+
await logActivity(db, {
|
|
938
|
+
companyId: agent.companyId,
|
|
939
|
+
actorType: actor.actorType,
|
|
940
|
+
actorId: actor.actorId,
|
|
941
|
+
agentId: actor.agentId,
|
|
942
|
+
runId: actor.runId,
|
|
943
|
+
action: "agent.instructions_path_updated",
|
|
944
|
+
entityType: "agent",
|
|
945
|
+
entityId: agent.id,
|
|
946
|
+
details: {
|
|
947
|
+
adapterConfigKey,
|
|
948
|
+
path: pathValue,
|
|
949
|
+
cleared: req.body.path === null,
|
|
950
|
+
},
|
|
951
|
+
});
|
|
952
|
+
res.json({
|
|
953
|
+
agentId: agent.id,
|
|
954
|
+
adapterType: agent.adapterType,
|
|
955
|
+
adapterConfigKey,
|
|
956
|
+
path: pathValue,
|
|
957
|
+
});
|
|
958
|
+
});
|
|
959
|
+
router.patch("/agents/:id", validate(updateAgentSchema), async (req, res) => {
|
|
960
|
+
const id = req.params.id;
|
|
961
|
+
const existing = await svc.getById(id);
|
|
962
|
+
if (!existing) {
|
|
963
|
+
res.status(404).json({ error: "Agent not found" });
|
|
964
|
+
return;
|
|
965
|
+
}
|
|
966
|
+
await assertCanUpdateAgent(req, existing);
|
|
967
|
+
if (Object.prototype.hasOwnProperty.call(req.body, "permissions")) {
|
|
968
|
+
res.status(422).json({ error: "Use /api/agents/:id/permissions for permission changes" });
|
|
969
|
+
return;
|
|
970
|
+
}
|
|
971
|
+
const patchData = { ...req.body };
|
|
972
|
+
if (Object.prototype.hasOwnProperty.call(patchData, "adapterConfig")) {
|
|
973
|
+
const adapterConfig = asRecord(patchData.adapterConfig);
|
|
974
|
+
if (!adapterConfig) {
|
|
975
|
+
res.status(422).json({ error: "adapterConfig must be an object" });
|
|
976
|
+
return;
|
|
977
|
+
}
|
|
978
|
+
const changingInstructionsPath = Object.keys(adapterConfig).some((key) => KNOWN_INSTRUCTIONS_PATH_KEYS.has(key));
|
|
979
|
+
if (changingInstructionsPath) {
|
|
980
|
+
await assertCanManageInstructionsPath(req, existing);
|
|
981
|
+
}
|
|
982
|
+
patchData.adapterConfig = adapterConfig;
|
|
983
|
+
}
|
|
984
|
+
const requestedAdapterType = typeof patchData.adapterType === "string" ? patchData.adapterType : existing.adapterType;
|
|
985
|
+
const touchesAdapterConfiguration = Object.prototype.hasOwnProperty.call(patchData, "adapterType") ||
|
|
986
|
+
Object.prototype.hasOwnProperty.call(patchData, "adapterConfig");
|
|
987
|
+
if (touchesAdapterConfiguration) {
|
|
988
|
+
const rawEffectiveAdapterConfig = Object.prototype.hasOwnProperty.call(patchData, "adapterConfig")
|
|
989
|
+
? (asRecord(patchData.adapterConfig) ?? {})
|
|
990
|
+
: (asRecord(existing.adapterConfig) ?? {});
|
|
991
|
+
const effectiveAdapterConfig = applyCreateDefaultsByAdapterType(requestedAdapterType, rawEffectiveAdapterConfig);
|
|
992
|
+
const normalizedEffectiveAdapterConfig = await secretsSvc.normalizeAdapterConfigForPersistence(existing.companyId, effectiveAdapterConfig, { strictMode: strictSecretsMode });
|
|
993
|
+
patchData.adapterConfig = normalizedEffectiveAdapterConfig;
|
|
994
|
+
}
|
|
995
|
+
if (touchesAdapterConfiguration && requestedAdapterType === "opencode_local") {
|
|
996
|
+
const effectiveAdapterConfig = asRecord(patchData.adapterConfig) ?? {};
|
|
997
|
+
await assertAdapterConfigConstraints(existing.companyId, requestedAdapterType, effectiveAdapterConfig);
|
|
998
|
+
}
|
|
999
|
+
const actor = getActorInfo(req);
|
|
1000
|
+
const agent = await svc.update(id, patchData, {
|
|
1001
|
+
recordRevision: {
|
|
1002
|
+
createdByAgentId: actor.agentId,
|
|
1003
|
+
createdByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
1004
|
+
source: "patch",
|
|
1005
|
+
},
|
|
1006
|
+
});
|
|
1007
|
+
if (!agent) {
|
|
1008
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1009
|
+
return;
|
|
1010
|
+
}
|
|
1011
|
+
await logActivity(db, {
|
|
1012
|
+
companyId: agent.companyId,
|
|
1013
|
+
actorType: actor.actorType,
|
|
1014
|
+
actorId: actor.actorId,
|
|
1015
|
+
agentId: actor.agentId,
|
|
1016
|
+
runId: actor.runId,
|
|
1017
|
+
action: "agent.updated",
|
|
1018
|
+
entityType: "agent",
|
|
1019
|
+
entityId: agent.id,
|
|
1020
|
+
details: summarizeAgentUpdateDetails(patchData),
|
|
1021
|
+
});
|
|
1022
|
+
res.json(agent);
|
|
1023
|
+
});
|
|
1024
|
+
router.post("/agents/:id/pause", async (req, res) => {
|
|
1025
|
+
assertBoard(req);
|
|
1026
|
+
const id = req.params.id;
|
|
1027
|
+
const agent = await svc.pause(id);
|
|
1028
|
+
if (!agent) {
|
|
1029
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1030
|
+
return;
|
|
1031
|
+
}
|
|
1032
|
+
await heartbeat.cancelActiveForAgent(id);
|
|
1033
|
+
await logActivity(db, {
|
|
1034
|
+
companyId: agent.companyId,
|
|
1035
|
+
actorType: "user",
|
|
1036
|
+
actorId: req.actor.userId ?? "board",
|
|
1037
|
+
action: "agent.paused",
|
|
1038
|
+
entityType: "agent",
|
|
1039
|
+
entityId: agent.id,
|
|
1040
|
+
});
|
|
1041
|
+
res.json(agent);
|
|
1042
|
+
});
|
|
1043
|
+
router.post("/agents/:id/resume", async (req, res) => {
|
|
1044
|
+
assertBoard(req);
|
|
1045
|
+
const id = req.params.id;
|
|
1046
|
+
const agent = await svc.resume(id);
|
|
1047
|
+
if (!agent) {
|
|
1048
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1049
|
+
return;
|
|
1050
|
+
}
|
|
1051
|
+
await logActivity(db, {
|
|
1052
|
+
companyId: agent.companyId,
|
|
1053
|
+
actorType: "user",
|
|
1054
|
+
actorId: req.actor.userId ?? "board",
|
|
1055
|
+
action: "agent.resumed",
|
|
1056
|
+
entityType: "agent",
|
|
1057
|
+
entityId: agent.id,
|
|
1058
|
+
});
|
|
1059
|
+
res.json(agent);
|
|
1060
|
+
});
|
|
1061
|
+
router.post("/agents/:id/terminate", async (req, res) => {
|
|
1062
|
+
assertBoard(req);
|
|
1063
|
+
const id = req.params.id;
|
|
1064
|
+
const agent = await svc.terminate(id);
|
|
1065
|
+
if (!agent) {
|
|
1066
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1067
|
+
return;
|
|
1068
|
+
}
|
|
1069
|
+
await heartbeat.cancelActiveForAgent(id);
|
|
1070
|
+
await logActivity(db, {
|
|
1071
|
+
companyId: agent.companyId,
|
|
1072
|
+
actorType: "user",
|
|
1073
|
+
actorId: req.actor.userId ?? "board",
|
|
1074
|
+
action: "agent.terminated",
|
|
1075
|
+
entityType: "agent",
|
|
1076
|
+
entityId: agent.id,
|
|
1077
|
+
});
|
|
1078
|
+
res.json(agent);
|
|
1079
|
+
});
|
|
1080
|
+
router.delete("/agents/:id", async (req, res) => {
|
|
1081
|
+
assertBoard(req);
|
|
1082
|
+
const id = req.params.id;
|
|
1083
|
+
const agent = await svc.remove(id);
|
|
1084
|
+
if (!agent) {
|
|
1085
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1086
|
+
return;
|
|
1087
|
+
}
|
|
1088
|
+
await logActivity(db, {
|
|
1089
|
+
companyId: agent.companyId,
|
|
1090
|
+
actorType: "user",
|
|
1091
|
+
actorId: req.actor.userId ?? "board",
|
|
1092
|
+
action: "agent.deleted",
|
|
1093
|
+
entityType: "agent",
|
|
1094
|
+
entityId: agent.id,
|
|
1095
|
+
});
|
|
1096
|
+
res.json({ ok: true });
|
|
1097
|
+
});
|
|
1098
|
+
router.get("/agents/:id/keys", async (req, res) => {
|
|
1099
|
+
assertBoard(req);
|
|
1100
|
+
const id = req.params.id;
|
|
1101
|
+
const keys = await svc.listKeys(id);
|
|
1102
|
+
res.json(keys);
|
|
1103
|
+
});
|
|
1104
|
+
router.post("/agents/:id/keys", validate(createAgentKeySchema), async (req, res) => {
|
|
1105
|
+
assertBoard(req);
|
|
1106
|
+
const id = req.params.id;
|
|
1107
|
+
const key = await svc.createApiKey(id, req.body.name);
|
|
1108
|
+
const agent = await svc.getById(id);
|
|
1109
|
+
if (agent) {
|
|
1110
|
+
await logActivity(db, {
|
|
1111
|
+
companyId: agent.companyId,
|
|
1112
|
+
actorType: "user",
|
|
1113
|
+
actorId: req.actor.userId ?? "board",
|
|
1114
|
+
action: "agent.key_created",
|
|
1115
|
+
entityType: "agent",
|
|
1116
|
+
entityId: agent.id,
|
|
1117
|
+
details: { keyId: key.id, name: key.name },
|
|
1118
|
+
});
|
|
1119
|
+
}
|
|
1120
|
+
res.status(201).json(key);
|
|
1121
|
+
});
|
|
1122
|
+
router.delete("/agents/:id/keys/:keyId", async (req, res) => {
|
|
1123
|
+
assertBoard(req);
|
|
1124
|
+
const keyId = req.params.keyId;
|
|
1125
|
+
const revoked = await svc.revokeKey(keyId);
|
|
1126
|
+
if (!revoked) {
|
|
1127
|
+
res.status(404).json({ error: "Key not found" });
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
res.json({ ok: true });
|
|
1131
|
+
});
|
|
1132
|
+
router.post("/agents/:id/wakeup", validate(wakeAgentSchema), async (req, res) => {
|
|
1133
|
+
const id = req.params.id;
|
|
1134
|
+
const agent = await svc.getById(id);
|
|
1135
|
+
if (!agent) {
|
|
1136
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
assertCompanyAccess(req, agent.companyId);
|
|
1140
|
+
if (req.actor.type === "agent" && req.actor.agentId !== id) {
|
|
1141
|
+
res.status(403).json({ error: "Agent can only invoke itself" });
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
const run = await heartbeat.wakeup(id, {
|
|
1145
|
+
source: req.body.source,
|
|
1146
|
+
triggerDetail: req.body.triggerDetail ?? "manual",
|
|
1147
|
+
reason: req.body.reason ?? null,
|
|
1148
|
+
payload: req.body.payload ?? null,
|
|
1149
|
+
idempotencyKey: req.body.idempotencyKey ?? null,
|
|
1150
|
+
requestedByActorType: req.actor.type === "agent" ? "agent" : "user",
|
|
1151
|
+
requestedByActorId: req.actor.type === "agent" ? req.actor.agentId ?? null : req.actor.userId ?? null,
|
|
1152
|
+
contextSnapshot: {
|
|
1153
|
+
triggeredBy: req.actor.type,
|
|
1154
|
+
actorId: req.actor.type === "agent" ? req.actor.agentId : req.actor.userId,
|
|
1155
|
+
forceFreshSession: req.body.forceFreshSession === true,
|
|
1156
|
+
},
|
|
1157
|
+
});
|
|
1158
|
+
if (!run) {
|
|
1159
|
+
res.status(202).json({ status: "skipped" });
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
const actor = getActorInfo(req);
|
|
1163
|
+
await logActivity(db, {
|
|
1164
|
+
companyId: agent.companyId,
|
|
1165
|
+
actorType: actor.actorType,
|
|
1166
|
+
actorId: actor.actorId,
|
|
1167
|
+
agentId: actor.agentId,
|
|
1168
|
+
runId: actor.runId,
|
|
1169
|
+
action: "heartbeat.invoked",
|
|
1170
|
+
entityType: "heartbeat_run",
|
|
1171
|
+
entityId: run.id,
|
|
1172
|
+
details: { agentId: id },
|
|
1173
|
+
});
|
|
1174
|
+
res.status(202).json(run);
|
|
1175
|
+
});
|
|
1176
|
+
router.post("/agents/:id/heartbeat/invoke", async (req, res) => {
|
|
1177
|
+
const id = req.params.id;
|
|
1178
|
+
const agent = await svc.getById(id);
|
|
1179
|
+
if (!agent) {
|
|
1180
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1181
|
+
return;
|
|
1182
|
+
}
|
|
1183
|
+
assertCompanyAccess(req, agent.companyId);
|
|
1184
|
+
if (req.actor.type === "agent" && req.actor.agentId !== id) {
|
|
1185
|
+
res.status(403).json({ error: "Agent can only invoke itself" });
|
|
1186
|
+
return;
|
|
1187
|
+
}
|
|
1188
|
+
const run = await heartbeat.invoke(id, "on_demand", {
|
|
1189
|
+
triggeredBy: req.actor.type,
|
|
1190
|
+
actorId: req.actor.type === "agent" ? req.actor.agentId : req.actor.userId,
|
|
1191
|
+
}, "manual", {
|
|
1192
|
+
actorType: req.actor.type === "agent" ? "agent" : "user",
|
|
1193
|
+
actorId: req.actor.type === "agent" ? req.actor.agentId ?? null : req.actor.userId ?? null,
|
|
1194
|
+
});
|
|
1195
|
+
if (!run) {
|
|
1196
|
+
res.status(202).json({ status: "skipped" });
|
|
1197
|
+
return;
|
|
1198
|
+
}
|
|
1199
|
+
const actor = getActorInfo(req);
|
|
1200
|
+
await logActivity(db, {
|
|
1201
|
+
companyId: agent.companyId,
|
|
1202
|
+
actorType: actor.actorType,
|
|
1203
|
+
actorId: actor.actorId,
|
|
1204
|
+
agentId: actor.agentId,
|
|
1205
|
+
runId: actor.runId,
|
|
1206
|
+
action: "heartbeat.invoked",
|
|
1207
|
+
entityType: "heartbeat_run",
|
|
1208
|
+
entityId: run.id,
|
|
1209
|
+
details: { agentId: id },
|
|
1210
|
+
});
|
|
1211
|
+
res.status(202).json(run);
|
|
1212
|
+
});
|
|
1213
|
+
router.post("/agents/:id/claude-login", async (req, res) => {
|
|
1214
|
+
assertBoard(req);
|
|
1215
|
+
const id = req.params.id;
|
|
1216
|
+
const agent = await svc.getById(id);
|
|
1217
|
+
if (!agent) {
|
|
1218
|
+
res.status(404).json({ error: "Agent not found" });
|
|
1219
|
+
return;
|
|
1220
|
+
}
|
|
1221
|
+
assertCompanyAccess(req, agent.companyId);
|
|
1222
|
+
if (agent.adapterType !== "claude_local") {
|
|
1223
|
+
res.status(400).json({ error: "Login is only supported for claude_local agents" });
|
|
1224
|
+
return;
|
|
1225
|
+
}
|
|
1226
|
+
const config = asRecord(agent.adapterConfig) ?? {};
|
|
1227
|
+
const { config: runtimeConfig } = await secretsSvc.resolveAdapterConfigForRuntime(agent.companyId, config);
|
|
1228
|
+
const command = typeof runtimeConfig.command === "string" && runtimeConfig.command.trim().length > 0
|
|
1229
|
+
? runtimeConfig.command.trim()
|
|
1230
|
+
: "claude";
|
|
1231
|
+
const cwd = typeof runtimeConfig.cwd === "string" && runtimeConfig.cwd.trim().length > 0
|
|
1232
|
+
? runtimeConfig.cwd.trim()
|
|
1233
|
+
: process.cwd();
|
|
1234
|
+
if (process.platform === "darwin") {
|
|
1235
|
+
const terminalCommand = `cd "${escapeAppleScriptString(cwd)}" && ${escapeAppleScriptString(command)} login`;
|
|
1236
|
+
try {
|
|
1237
|
+
await execFileAsync("osascript", [
|
|
1238
|
+
"-e",
|
|
1239
|
+
'tell application "Terminal" to activate',
|
|
1240
|
+
"-e",
|
|
1241
|
+
`tell application "Terminal" to do script "${terminalCommand}"`,
|
|
1242
|
+
]);
|
|
1243
|
+
res.json({
|
|
1244
|
+
exitCode: 0,
|
|
1245
|
+
signal: null,
|
|
1246
|
+
timedOut: false,
|
|
1247
|
+
loginUrl: null,
|
|
1248
|
+
stdout: "Opened Terminal for Claude login.",
|
|
1249
|
+
stderr: "",
|
|
1250
|
+
});
|
|
1251
|
+
return;
|
|
1252
|
+
}
|
|
1253
|
+
catch (error) {
|
|
1254
|
+
const message = error instanceof Error ? error.message : "Failed to open Terminal for Claude login";
|
|
1255
|
+
res.status(500).json({
|
|
1256
|
+
error: message,
|
|
1257
|
+
exitCode: 1,
|
|
1258
|
+
signal: null,
|
|
1259
|
+
timedOut: false,
|
|
1260
|
+
loginUrl: null,
|
|
1261
|
+
stdout: "",
|
|
1262
|
+
stderr: message,
|
|
1263
|
+
});
|
|
1264
|
+
return;
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
const result = await runClaudeLogin({
|
|
1268
|
+
runId: `claude-login-${randomUUID()}`,
|
|
1269
|
+
agent: {
|
|
1270
|
+
id: agent.id,
|
|
1271
|
+
companyId: agent.companyId,
|
|
1272
|
+
name: agent.name,
|
|
1273
|
+
adapterType: agent.adapterType,
|
|
1274
|
+
adapterConfig: agent.adapterConfig,
|
|
1275
|
+
},
|
|
1276
|
+
config: runtimeConfig,
|
|
1277
|
+
});
|
|
1278
|
+
res.json(result);
|
|
1279
|
+
});
|
|
1280
|
+
router.get("/companies/:companyId/heartbeat-runs", async (req, res) => {
|
|
1281
|
+
const companyId = req.params.companyId;
|
|
1282
|
+
assertCompanyAccess(req, companyId);
|
|
1283
|
+
const agentId = req.query.agentId;
|
|
1284
|
+
const limitParam = req.query.limit;
|
|
1285
|
+
const limit = limitParam ? Math.max(1, Math.min(1000, parseInt(limitParam, 10) || 200)) : undefined;
|
|
1286
|
+
const runs = await heartbeat.list(companyId, agentId, limit);
|
|
1287
|
+
res.json(runs);
|
|
1288
|
+
});
|
|
1289
|
+
router.get("/companies/:companyId/live-runs", async (req, res) => {
|
|
1290
|
+
const companyId = req.params.companyId;
|
|
1291
|
+
assertCompanyAccess(req, companyId);
|
|
1292
|
+
const minCountParam = req.query.minCount;
|
|
1293
|
+
const minCount = minCountParam ? Math.max(0, Math.min(20, parseInt(minCountParam, 10) || 0)) : 0;
|
|
1294
|
+
const columns = {
|
|
1295
|
+
id: heartbeatRuns.id,
|
|
1296
|
+
status: heartbeatRuns.status,
|
|
1297
|
+
invocationSource: heartbeatRuns.invocationSource,
|
|
1298
|
+
triggerDetail: heartbeatRuns.triggerDetail,
|
|
1299
|
+
startedAt: heartbeatRuns.startedAt,
|
|
1300
|
+
finishedAt: heartbeatRuns.finishedAt,
|
|
1301
|
+
createdAt: heartbeatRuns.createdAt,
|
|
1302
|
+
agentId: heartbeatRuns.agentId,
|
|
1303
|
+
agentName: agentsTable.name,
|
|
1304
|
+
adapterType: agentsTable.adapterType,
|
|
1305
|
+
issueId: sql `${heartbeatRuns.contextSnapshot} ->> 'issueId'`.as("issueId"),
|
|
1306
|
+
};
|
|
1307
|
+
const liveRuns = await db
|
|
1308
|
+
.select(columns)
|
|
1309
|
+
.from(heartbeatRuns)
|
|
1310
|
+
.innerJoin(agentsTable, eq(heartbeatRuns.agentId, agentsTable.id))
|
|
1311
|
+
.where(and(eq(heartbeatRuns.companyId, companyId), inArray(heartbeatRuns.status, ["queued", "running"])))
|
|
1312
|
+
.orderBy(desc(heartbeatRuns.createdAt));
|
|
1313
|
+
if (minCount > 0 && liveRuns.length < minCount) {
|
|
1314
|
+
const activeIds = liveRuns.map((r) => r.id);
|
|
1315
|
+
const recentRuns = await db
|
|
1316
|
+
.select(columns)
|
|
1317
|
+
.from(heartbeatRuns)
|
|
1318
|
+
.innerJoin(agentsTable, eq(heartbeatRuns.agentId, agentsTable.id))
|
|
1319
|
+
.where(and(eq(heartbeatRuns.companyId, companyId), not(inArray(heartbeatRuns.status, ["queued", "running"])), ...(activeIds.length > 0 ? [not(inArray(heartbeatRuns.id, activeIds))] : [])))
|
|
1320
|
+
.orderBy(desc(heartbeatRuns.createdAt))
|
|
1321
|
+
.limit(minCount - liveRuns.length);
|
|
1322
|
+
res.json([...liveRuns, ...recentRuns]);
|
|
1323
|
+
return;
|
|
1324
|
+
}
|
|
1325
|
+
res.json(liveRuns);
|
|
1326
|
+
});
|
|
1327
|
+
router.get("/heartbeat-runs/:runId", async (req, res) => {
|
|
1328
|
+
const runId = req.params.runId;
|
|
1329
|
+
const run = await heartbeat.getRun(runId);
|
|
1330
|
+
if (!run) {
|
|
1331
|
+
res.status(404).json({ error: "Heartbeat run not found" });
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
assertCompanyAccess(req, run.companyId);
|
|
1335
|
+
res.json(redactCurrentUserValue(run));
|
|
1336
|
+
});
|
|
1337
|
+
router.post("/heartbeat-runs/:runId/cancel", async (req, res) => {
|
|
1338
|
+
assertBoard(req);
|
|
1339
|
+
const runId = req.params.runId;
|
|
1340
|
+
const run = await heartbeat.cancelRun(runId);
|
|
1341
|
+
if (run) {
|
|
1342
|
+
await logActivity(db, {
|
|
1343
|
+
companyId: run.companyId,
|
|
1344
|
+
actorType: "user",
|
|
1345
|
+
actorId: req.actor.userId ?? "board",
|
|
1346
|
+
action: "heartbeat.cancelled",
|
|
1347
|
+
entityType: "heartbeat_run",
|
|
1348
|
+
entityId: run.id,
|
|
1349
|
+
details: { agentId: run.agentId },
|
|
1350
|
+
});
|
|
1351
|
+
}
|
|
1352
|
+
res.json(run);
|
|
1353
|
+
});
|
|
1354
|
+
router.get("/heartbeat-runs/:runId/events", async (req, res) => {
|
|
1355
|
+
const runId = req.params.runId;
|
|
1356
|
+
const run = await heartbeat.getRun(runId);
|
|
1357
|
+
if (!run) {
|
|
1358
|
+
res.status(404).json({ error: "Heartbeat run not found" });
|
|
1359
|
+
return;
|
|
1360
|
+
}
|
|
1361
|
+
assertCompanyAccess(req, run.companyId);
|
|
1362
|
+
const afterSeq = Number(req.query.afterSeq ?? 0);
|
|
1363
|
+
const limit = Number(req.query.limit ?? 200);
|
|
1364
|
+
const events = await heartbeat.listEvents(runId, Number.isFinite(afterSeq) ? afterSeq : 0, Number.isFinite(limit) ? limit : 200);
|
|
1365
|
+
const redactedEvents = events.map((event) => redactCurrentUserValue({
|
|
1366
|
+
...event,
|
|
1367
|
+
payload: redactEventPayload(event.payload),
|
|
1368
|
+
}));
|
|
1369
|
+
res.json(redactedEvents);
|
|
1370
|
+
});
|
|
1371
|
+
router.get("/heartbeat-runs/:runId/log", async (req, res) => {
|
|
1372
|
+
const runId = req.params.runId;
|
|
1373
|
+
const run = await heartbeat.getRun(runId);
|
|
1374
|
+
if (!run) {
|
|
1375
|
+
res.status(404).json({ error: "Heartbeat run not found" });
|
|
1376
|
+
return;
|
|
1377
|
+
}
|
|
1378
|
+
assertCompanyAccess(req, run.companyId);
|
|
1379
|
+
const offset = Number(req.query.offset ?? 0);
|
|
1380
|
+
const limitBytes = Number(req.query.limitBytes ?? 256000);
|
|
1381
|
+
const result = await heartbeat.readLog(runId, {
|
|
1382
|
+
offset: Number.isFinite(offset) ? offset : 0,
|
|
1383
|
+
limitBytes: Number.isFinite(limitBytes) ? limitBytes : 256000,
|
|
1384
|
+
});
|
|
1385
|
+
res.json(result);
|
|
1386
|
+
});
|
|
1387
|
+
router.get("/heartbeat-runs/:runId/workspace-operations", async (req, res) => {
|
|
1388
|
+
const runId = req.params.runId;
|
|
1389
|
+
const run = await heartbeat.getRun(runId);
|
|
1390
|
+
if (!run) {
|
|
1391
|
+
res.status(404).json({ error: "Heartbeat run not found" });
|
|
1392
|
+
return;
|
|
1393
|
+
}
|
|
1394
|
+
assertCompanyAccess(req, run.companyId);
|
|
1395
|
+
const context = asRecord(run.contextSnapshot);
|
|
1396
|
+
const executionWorkspaceId = asNonEmptyString(context?.executionWorkspaceId);
|
|
1397
|
+
const operations = await workspaceOperations.listForRun(runId, executionWorkspaceId);
|
|
1398
|
+
res.json(redactCurrentUserValue(operations));
|
|
1399
|
+
});
|
|
1400
|
+
router.get("/workspace-operations/:operationId/log", async (req, res) => {
|
|
1401
|
+
const operationId = req.params.operationId;
|
|
1402
|
+
const operation = await workspaceOperations.getById(operationId);
|
|
1403
|
+
if (!operation) {
|
|
1404
|
+
res.status(404).json({ error: "Workspace operation not found" });
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
assertCompanyAccess(req, operation.companyId);
|
|
1408
|
+
const offset = Number(req.query.offset ?? 0);
|
|
1409
|
+
const limitBytes = Number(req.query.limitBytes ?? 256000);
|
|
1410
|
+
const result = await workspaceOperations.readLog(operationId, {
|
|
1411
|
+
offset: Number.isFinite(offset) ? offset : 0,
|
|
1412
|
+
limitBytes: Number.isFinite(limitBytes) ? limitBytes : 256000,
|
|
1413
|
+
});
|
|
1414
|
+
res.json(result);
|
|
1415
|
+
});
|
|
1416
|
+
router.get("/issues/:issueId/live-runs", async (req, res) => {
|
|
1417
|
+
const rawId = req.params.issueId;
|
|
1418
|
+
const issueSvc = issueService(db);
|
|
1419
|
+
const isIdentifier = /^[A-Z]+-\d+$/i.test(rawId);
|
|
1420
|
+
const issue = isIdentifier ? await issueSvc.getByIdentifier(rawId) : await issueSvc.getById(rawId);
|
|
1421
|
+
if (!issue) {
|
|
1422
|
+
res.status(404).json({ error: "Issue not found" });
|
|
1423
|
+
return;
|
|
1424
|
+
}
|
|
1425
|
+
assertCompanyAccess(req, issue.companyId);
|
|
1426
|
+
const liveRuns = await db
|
|
1427
|
+
.select({
|
|
1428
|
+
id: heartbeatRuns.id,
|
|
1429
|
+
status: heartbeatRuns.status,
|
|
1430
|
+
invocationSource: heartbeatRuns.invocationSource,
|
|
1431
|
+
triggerDetail: heartbeatRuns.triggerDetail,
|
|
1432
|
+
startedAt: heartbeatRuns.startedAt,
|
|
1433
|
+
finishedAt: heartbeatRuns.finishedAt,
|
|
1434
|
+
createdAt: heartbeatRuns.createdAt,
|
|
1435
|
+
agentId: heartbeatRuns.agentId,
|
|
1436
|
+
agentName: agentsTable.name,
|
|
1437
|
+
adapterType: agentsTable.adapterType,
|
|
1438
|
+
})
|
|
1439
|
+
.from(heartbeatRuns)
|
|
1440
|
+
.innerJoin(agentsTable, eq(heartbeatRuns.agentId, agentsTable.id))
|
|
1441
|
+
.where(and(eq(heartbeatRuns.companyId, issue.companyId), inArray(heartbeatRuns.status, ["queued", "running"]), sql `${heartbeatRuns.contextSnapshot} ->> 'issueId' = ${issue.id}`))
|
|
1442
|
+
.orderBy(desc(heartbeatRuns.createdAt));
|
|
1443
|
+
res.json(liveRuns);
|
|
1444
|
+
});
|
|
1445
|
+
router.get("/issues/:issueId/active-run", async (req, res) => {
|
|
1446
|
+
const rawId = req.params.issueId;
|
|
1447
|
+
const issueSvc = issueService(db);
|
|
1448
|
+
const isIdentifier = /^[A-Z]+-\d+$/i.test(rawId);
|
|
1449
|
+
const issue = isIdentifier ? await issueSvc.getByIdentifier(rawId) : await issueSvc.getById(rawId);
|
|
1450
|
+
if (!issue) {
|
|
1451
|
+
res.status(404).json({ error: "Issue not found" });
|
|
1452
|
+
return;
|
|
1453
|
+
}
|
|
1454
|
+
assertCompanyAccess(req, issue.companyId);
|
|
1455
|
+
let run = issue.executionRunId ? await heartbeat.getRun(issue.executionRunId) : null;
|
|
1456
|
+
if (run && run.status !== "queued" && run.status !== "running") {
|
|
1457
|
+
run = null;
|
|
1458
|
+
}
|
|
1459
|
+
if (!run && issue.assigneeAgentId && issue.status === "in_progress") {
|
|
1460
|
+
const candidateRun = await heartbeat.getActiveRunForAgent(issue.assigneeAgentId);
|
|
1461
|
+
const candidateContext = asRecord(candidateRun?.contextSnapshot);
|
|
1462
|
+
const candidateIssueId = asNonEmptyString(candidateContext?.issueId);
|
|
1463
|
+
if (candidateRun && candidateIssueId === issue.id) {
|
|
1464
|
+
run = candidateRun;
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
if (!run) {
|
|
1468
|
+
res.json(null);
|
|
1469
|
+
return;
|
|
1470
|
+
}
|
|
1471
|
+
const agent = await svc.getById(run.agentId);
|
|
1472
|
+
if (!agent) {
|
|
1473
|
+
res.json(null);
|
|
1474
|
+
return;
|
|
1475
|
+
}
|
|
1476
|
+
res.json({
|
|
1477
|
+
...redactCurrentUserValue(run),
|
|
1478
|
+
agentId: agent.id,
|
|
1479
|
+
agentName: agent.name,
|
|
1480
|
+
adapterType: agent.adapterType,
|
|
1481
|
+
});
|
|
1482
|
+
});
|
|
1483
|
+
return router;
|
|
1484
|
+
}
|
|
1485
|
+
//# sourceMappingURL=agents.js.map
|