@growthub/cli 0.3.11 → 0.3.13
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 +186 -183
- package/dist/index.js.map +3 -3
- package/package.json +1 -7
- package/dist/runtime/server/dist/adapters/codex-models.d.ts +0 -4
- package/dist/runtime/server/dist/adapters/codex-models.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/codex-models.js +0 -98
- package/dist/runtime/server/dist/adapters/codex-models.js.map +0 -1
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts +0 -13
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/cursor-models.js +0 -148
- package/dist/runtime/server/dist/adapters/cursor-models.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/execute.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/execute.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/execute.js +0 -39
- package/dist/runtime/server/dist/adapters/http/execute.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/index.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/index.js +0 -20
- package/dist/runtime/server/dist/adapters/http/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/test.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/test.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/test.js +0 -106
- package/dist/runtime/server/dist/adapters/http/test.js.map +0 -1
- package/dist/runtime/server/dist/adapters/index.d.ts +0 -4
- package/dist/runtime/server/dist/adapters/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/index.js +0 -3
- package/dist/runtime/server/dist/adapters/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/execute.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/execute.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/execute.js +0 -63
- package/dist/runtime/server/dist/adapters/process/execute.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/index.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/index.js +0 -23
- package/dist/runtime/server/dist/adapters/process/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/test.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/test.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/test.js +0 -77
- package/dist/runtime/server/dist/adapters/process/test.js.map +0 -1
- package/dist/runtime/server/dist/adapters/registry.d.ts +0 -9
- package/dist/runtime/server/dist/adapters/registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/registry.js +0 -142
- package/dist/runtime/server/dist/adapters/registry.js.map +0 -1
- package/dist/runtime/server/dist/adapters/types.d.ts +0 -2
- package/dist/runtime/server/dist/adapters/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/types.js +0 -2
- package/dist/runtime/server/dist/adapters/types.js.map +0 -1
- package/dist/runtime/server/dist/adapters/utils.d.ts +0 -10
- package/dist/runtime/server/dist/adapters/utils.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/utils.js +0 -14
- package/dist/runtime/server/dist/adapters/utils.js.map +0 -1
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts +0 -14
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts.map +0 -1
- package/dist/runtime/server/dist/agent-auth-jwt.js +0 -117
- package/dist/runtime/server/dist/agent-auth-jwt.js.map +0 -1
- package/dist/runtime/server/dist/app.d.ts +0 -26
- package/dist/runtime/server/dist/app.d.ts.map +0 -1
- package/dist/runtime/server/dist/app.js +0 -310
- package/dist/runtime/server/dist/app.js.map +0 -1
- package/dist/runtime/server/dist/attachment-types.d.ts +0 -33
- package/dist/runtime/server/dist/attachment-types.d.ts.map +0 -1
- package/dist/runtime/server/dist/attachment-types.js +0 -67
- package/dist/runtime/server/dist/attachment-types.js.map +0 -1
- package/dist/runtime/server/dist/auth/better-auth.d.ts +0 -24
- package/dist/runtime/server/dist/auth/better-auth.d.ts.map +0 -1
- package/dist/runtime/server/dist/auth/better-auth.js +0 -108
- package/dist/runtime/server/dist/auth/better-auth.js.map +0 -1
- package/dist/runtime/server/dist/board-claim.d.ts +0 -23
- package/dist/runtime/server/dist/board-claim.d.ts.map +0 -1
- package/dist/runtime/server/dist/board-claim.js +0 -115
- package/dist/runtime/server/dist/board-claim.js.map +0 -1
- package/dist/runtime/server/dist/config-file.d.ts +0 -4
- package/dist/runtime/server/dist/config-file.d.ts.map +0 -1
- package/dist/runtime/server/dist/config-file.js +0 -25
- package/dist/runtime/server/dist/config-file.js.map +0 -1
- package/dist/runtime/server/dist/config.d.ts +0 -39
- package/dist/runtime/server/dist/config.d.ts.map +0 -1
- package/dist/runtime/server/dist/config.js +0 -164
- package/dist/runtime/server/dist/config.js.map +0 -1
- package/dist/runtime/server/dist/errors.d.ts +0 -12
- package/dist/runtime/server/dist/errors.d.ts.map +0 -1
- package/dist/runtime/server/dist/errors.js +0 -28
- package/dist/runtime/server/dist/errors.js.map +0 -1
- package/dist/runtime/server/dist/home-paths.d.ts +0 -17
- package/dist/runtime/server/dist/home-paths.d.ts.map +0 -1
- package/dist/runtime/server/dist/home-paths.js +0 -75
- package/dist/runtime/server/dist/home-paths.js.map +0 -1
- package/dist/runtime/server/dist/index.d.ts +0 -10
- package/dist/runtime/server/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/index.js +0 -567
- package/dist/runtime/server/dist/index.js.map +0 -1
- package/dist/runtime/server/dist/log-redaction.d.ts +0 -10
- package/dist/runtime/server/dist/log-redaction.d.ts.map +0 -1
- package/dist/runtime/server/dist/log-redaction.js +0 -110
- package/dist/runtime/server/dist/log-redaction.js.map +0 -1
- package/dist/runtime/server/dist/middleware/auth.d.ts +0 -12
- package/dist/runtime/server/dist/middleware/auth.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/auth.js +0 -124
- package/dist/runtime/server/dist/middleware/auth.js.map +0 -1
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts +0 -3
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js +0 -60
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js.map +0 -1
- package/dist/runtime/server/dist/middleware/error-handler.d.ts +0 -17
- package/dist/runtime/server/dist/middleware/error-handler.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/error-handler.js +0 -37
- package/dist/runtime/server/dist/middleware/error-handler.js.map +0 -1
- package/dist/runtime/server/dist/middleware/index.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/index.js +0 -4
- package/dist/runtime/server/dist/middleware/index.js.map +0 -1
- package/dist/runtime/server/dist/middleware/logger.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/logger.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/logger.js +0 -87
- package/dist/runtime/server/dist/middleware/logger.js.map +0 -1
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts +0 -11
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js +0 -78
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js.map +0 -1
- package/dist/runtime/server/dist/middleware/validate.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/validate.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/validate.js +0 -7
- package/dist/runtime/server/dist/middleware/validate.js.map +0 -1
- package/dist/runtime/server/dist/paths.d.ts +0 -3
- package/dist/runtime/server/dist/paths.d.ts.map +0 -1
- package/dist/runtime/server/dist/paths.js +0 -31
- package/dist/runtime/server/dist/paths.js.map +0 -1
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts +0 -28
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts.map +0 -1
- package/dist/runtime/server/dist/realtime/live-events-ws.js +0 -187
- package/dist/runtime/server/dist/realtime/live-events-ws.js.map +0 -1
- package/dist/runtime/server/dist/redaction.d.ts +0 -4
- package/dist/runtime/server/dist/redaction.d.ts.map +0 -1
- package/dist/runtime/server/dist/redaction.js +0 -63
- package/dist/runtime/server/dist/redaction.js.map +0 -1
- package/dist/runtime/server/dist/routes/access.d.ts +0 -56
- package/dist/runtime/server/dist/routes/access.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/access.js +0 -2125
- package/dist/runtime/server/dist/routes/access.js.map +0 -1
- package/dist/runtime/server/dist/routes/activity.d.ts +0 -3
- package/dist/runtime/server/dist/routes/activity.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/activity.js +0 -78
- package/dist/runtime/server/dist/routes/activity.js.map +0 -1
- package/dist/runtime/server/dist/routes/agents.d.ts +0 -3
- package/dist/runtime/server/dist/routes/agents.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/agents.js +0 -1485
- package/dist/runtime/server/dist/routes/agents.js.map +0 -1
- package/dist/runtime/server/dist/routes/approvals.d.ts +0 -3
- package/dist/runtime/server/dist/routes/approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/approvals.js +0 -275
- package/dist/runtime/server/dist/routes/approvals.js.map +0 -1
- package/dist/runtime/server/dist/routes/assets.d.ts +0 -4
- package/dist/runtime/server/dist/routes/assets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/assets.js +0 -309
- package/dist/runtime/server/dist/routes/assets.js.map +0 -1
- package/dist/runtime/server/dist/routes/authz.d.ts +0 -15
- package/dist/runtime/server/dist/routes/authz.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/authz.js +0 -40
- package/dist/runtime/server/dist/routes/authz.js.map +0 -1
- package/dist/runtime/server/dist/routes/companies.d.ts +0 -3
- package/dist/runtime/server/dist/routes/companies.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/companies.js +0 -196
- package/dist/runtime/server/dist/routes/companies.js.map +0 -1
- package/dist/runtime/server/dist/routes/costs.d.ts +0 -3
- package/dist/runtime/server/dist/routes/costs.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/costs.js +0 -268
- package/dist/runtime/server/dist/routes/costs.js.map +0 -1
- package/dist/runtime/server/dist/routes/dashboard.d.ts +0 -3
- package/dist/runtime/server/dist/routes/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/dashboard.js +0 -15
- package/dist/runtime/server/dist/routes/dashboard.js.map +0 -1
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts +0 -3
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/execution-workspaces.js +0 -165
- package/dist/runtime/server/dist/routes/execution-workspaces.js.map +0 -1
- package/dist/runtime/server/dist/routes/goals.d.ts +0 -3
- package/dist/runtime/server/dist/routes/goals.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/goals.js +0 -95
- package/dist/runtime/server/dist/routes/goals.js.map +0 -1
- package/dist/runtime/server/dist/routes/gtm.d.ts +0 -3
- package/dist/runtime/server/dist/routes/gtm.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/gtm.js +0 -478
- package/dist/runtime/server/dist/routes/gtm.js.map +0 -1
- package/dist/runtime/server/dist/routes/health.d.ts +0 -10
- package/dist/runtime/server/dist/routes/health.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/health.js +0 -53
- package/dist/runtime/server/dist/routes/health.js.map +0 -1
- package/dist/runtime/server/dist/routes/index.d.ts +0 -16
- package/dist/runtime/server/dist/routes/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/index.js +0 -16
- package/dist/runtime/server/dist/routes/index.js.map +0 -1
- package/dist/runtime/server/dist/routes/instance-settings.d.ts +0 -3
- package/dist/runtime/server/dist/routes/instance-settings.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/instance-settings.js +0 -46
- package/dist/runtime/server/dist/routes/instance-settings.js.map +0 -1
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts +0 -9
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js +0 -12
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js.map +0 -1
- package/dist/runtime/server/dist/routes/issues.d.ts +0 -4
- package/dist/runtime/server/dist/routes/issues.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/issues.js +0 -1454
- package/dist/runtime/server/dist/routes/issues.js.map +0 -1
- package/dist/runtime/server/dist/routes/llms.d.ts +0 -3
- package/dist/runtime/server/dist/routes/llms.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/llms.js +0 -78
- package/dist/runtime/server/dist/routes/llms.js.map +0 -1
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts +0 -69
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/plugin-ui-static.js +0 -411
- package/dist/runtime/server/dist/routes/plugin-ui-static.js.map +0 -1
- package/dist/runtime/server/dist/routes/plugins.d.ts +0 -120
- package/dist/runtime/server/dist/routes/plugins.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/plugins.js +0 -1784
- package/dist/runtime/server/dist/routes/plugins.js.map +0 -1
- package/dist/runtime/server/dist/routes/projects.d.ts +0 -3
- package/dist/runtime/server/dist/routes/projects.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/projects.js +0 -257
- package/dist/runtime/server/dist/routes/projects.js.map +0 -1
- package/dist/runtime/server/dist/routes/secrets.d.ts +0 -3
- package/dist/runtime/server/dist/routes/secrets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/secrets.js +0 -128
- package/dist/runtime/server/dist/routes/secrets.js.map +0 -1
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts +0 -3
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/sidebar-badges.js +0 -45
- package/dist/runtime/server/dist/routes/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/dist/routes/tickets.d.ts +0 -3
- package/dist/runtime/server/dist/routes/tickets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/tickets.js +0 -112
- package/dist/runtime/server/dist/routes/tickets.js.map +0 -1
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts +0 -5
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/external-stub-providers.js +0 -21
- package/dist/runtime/server/dist/secrets/external-stub-providers.js.map +0 -1
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts +0 -3
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js +0 -116
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js.map +0 -1
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts +0 -5
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/provider-registry.js +0 -20
- package/dist/runtime/server/dist/secrets/provider-registry.js.map +0 -1
- package/dist/runtime/server/dist/secrets/types.d.ts +0 -21
- package/dist/runtime/server/dist/secrets/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/types.js +0 -2
- package/dist/runtime/server/dist/secrets/types.js.map +0 -1
- package/dist/runtime/server/dist/services/access.d.ts +0 -93
- package/dist/runtime/server/dist/services/access.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/access.js +0 -231
- package/dist/runtime/server/dist/services/access.js.map +0 -1
- package/dist/runtime/server/dist/services/activity-log.d.ts +0 -17
- package/dist/runtime/server/dist/services/activity-log.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/activity-log.js +0 -68
- package/dist/runtime/server/dist/services/activity-log.js.map +0 -1
- package/dist/runtime/server/dist/services/activity.d.ts +0 -764
- package/dist/runtime/server/dist/services/activity.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/activity.js +0 -105
- package/dist/runtime/server/dist/services/activity.js.map +0 -1
- package/dist/runtime/server/dist/services/agent-permissions.d.ts +0 -6
- package/dist/runtime/server/dist/services/agent-permissions.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/agent-permissions.js +0 -18
- package/dist/runtime/server/dist/services/agent-permissions.js.map +0 -1
- package/dist/runtime/server/dist/services/agents.d.ts +0 -1670
- package/dist/runtime/server/dist/services/agents.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/agents.js +0 -572
- package/dist/runtime/server/dist/services/agents.js.map +0 -1
- package/dist/runtime/server/dist/services/approvals.d.ts +0 -546
- package/dist/runtime/server/dist/services/approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/approvals.js +0 -206
- package/dist/runtime/server/dist/services/approvals.js.map +0 -1
- package/dist/runtime/server/dist/services/assets.d.ts +0 -33
- package/dist/runtime/server/dist/services/assets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/assets.js +0 -17
- package/dist/runtime/server/dist/services/assets.js.map +0 -1
- package/dist/runtime/server/dist/services/budgets.d.ts +0 -38
- package/dist/runtime/server/dist/services/budgets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/budgets.js +0 -784
- package/dist/runtime/server/dist/services/budgets.js.map +0 -1
- package/dist/runtime/server/dist/services/companies.d.ts +0 -124
- package/dist/runtime/server/dist/services/companies.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/companies.js +0 -256
- package/dist/runtime/server/dist/services/companies.js.map +0 -1
- package/dist/runtime/server/dist/services/company-portability.d.ts +0 -8
- package/dist/runtime/server/dist/services/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/company-portability.js +0 -869
- package/dist/runtime/server/dist/services/company-portability.js.map +0 -1
- package/dist/runtime/server/dist/services/costs.d.ts +0 -114
- package/dist/runtime/server/dist/services/costs.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/costs.js +0 -294
- package/dist/runtime/server/dist/services/costs.js.map +0 -1
- package/dist/runtime/server/dist/services/cron.d.ts +0 -80
- package/dist/runtime/server/dist/services/cron.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/cron.js +0 -300
- package/dist/runtime/server/dist/services/cron.js.map +0 -1
- package/dist/runtime/server/dist/services/dashboard.d.ts +0 -26
- package/dist/runtime/server/dist/services/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/dashboard.js +0 -98
- package/dist/runtime/server/dist/services/dashboard.js.map +0 -1
- package/dist/runtime/server/dist/services/documents.d.ts +0 -164
- package/dist/runtime/server/dist/services/documents.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/documents.js +0 -382
- package/dist/runtime/server/dist/services/documents.js.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts +0 -20
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspace-policy.js +0 -165
- package/dist/runtime/server/dist/services/execution-workspace-policy.js.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts +0 -19
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspaces.js +0 -87
- package/dist/runtime/server/dist/services/execution-workspaces.js.map +0 -1
- package/dist/runtime/server/dist/services/finance.d.ts +0 -93
- package/dist/runtime/server/dist/services/finance.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/finance.js +0 -120
- package/dist/runtime/server/dist/services/finance.js.map +0 -1
- package/dist/runtime/server/dist/services/goals.d.ts +0 -433
- package/dist/runtime/server/dist/services/goals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/goals.js +0 -54
- package/dist/runtime/server/dist/services/goals.js.map +0 -1
- package/dist/runtime/server/dist/services/gtm-state.d.ts +0 -6
- package/dist/runtime/server/dist/services/gtm-state.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/gtm-state.js +0 -88
- package/dist/runtime/server/dist/services/gtm-state.js.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts +0 -2
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js +0 -30
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat.d.ts +0 -796
- package/dist/runtime/server/dist/services/heartbeat.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat.js +0 -3046
- package/dist/runtime/server/dist/services/heartbeat.js.map +0 -1
- package/dist/runtime/server/dist/services/hire-hook.d.ts +0 -14
- package/dist/runtime/server/dist/services/hire-hook.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/hire-hook.js +0 -85
- package/dist/runtime/server/dist/services/hire-hook.js.map +0 -1
- package/dist/runtime/server/dist/services/index.d.ts +0 -30
- package/dist/runtime/server/dist/services/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/index.js +0 -30
- package/dist/runtime/server/dist/services/index.js.map +0 -1
- package/dist/runtime/server/dist/services/instance-settings.d.ts +0 -9
- package/dist/runtime/server/dist/services/instance-settings.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/instance-settings.js +0 -80
- package/dist/runtime/server/dist/services/instance-settings.js.map +0 -1
- package/dist/runtime/server/dist/services/issue-approvals.d.ts +0 -56
- package/dist/runtime/server/dist/services/issue-approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issue-approvals.js +0 -153
- package/dist/runtime/server/dist/services/issue-approvals.js.map +0 -1
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts +0 -15
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issue-goal-fallback.js +0 -15
- package/dist/runtime/server/dist/services/issue-goal-fallback.js.map +0 -1
- package/dist/runtime/server/dist/services/issues.d.ts +0 -536
- package/dist/runtime/server/dist/services/issues.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issues.js +0 -1321
- package/dist/runtime/server/dist/services/issues.js.map +0 -1
- package/dist/runtime/server/dist/services/live-events.d.ts +0 -17
- package/dist/runtime/server/dist/services/live-events.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/live-events.js +0 -33
- package/dist/runtime/server/dist/services/live-events.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts +0 -108
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-capability-validator.js +0 -268
- package/dist/runtime/server/dist/services/plugin-capability-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts +0 -26
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-config-validator.js +0 -41
- package/dist/runtime/server/dist/services/plugin-config-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts +0 -30
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js +0 -241
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts +0 -149
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-event-bus.js +0 -258
- package/dist/runtime/server/dist/services/plugin-event-bus.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts +0 -14
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js +0 -37
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts +0 -13
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-services.js +0 -969
- package/dist/runtime/server/dist/services/plugin-host-services.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts +0 -81
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js +0 -172
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts +0 -163
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js +0 -454
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts +0 -208
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-store.js +0 -350
- package/dist/runtime/server/dist/services/plugin-job-store.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts +0 -203
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-lifecycle.js +0 -476
- package/dist/runtime/server/dist/services/plugin-lifecycle.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-loader.d.ts +0 -441
- package/dist/runtime/server/dist/services/plugin-loader.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-loader.js +0 -1192
- package/dist/runtime/server/dist/services/plugin-loader.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts +0 -20
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-log-retention.js +0 -63
- package/dist/runtime/server/dist/services/plugin-log-retention.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts +0 -79
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js +0 -84
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-registry.d.ts +0 -2542
- package/dist/runtime/server/dist/services/plugin-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-registry.js +0 -539
- package/dist/runtime/server/dist/services/plugin-registry.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts +0 -40
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js +0 -154
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts +0 -81
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js +0 -275
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts +0 -92
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-state-store.js +0 -190
- package/dist/runtime/server/dist/services/plugin-state-store.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts +0 -29
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-stream-bus.js +0 -48
- package/dist/runtime/server/dist/services/plugin-stream-bus.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts +0 -180
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js +0 -224
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts +0 -192
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-registry.js +0 -224
- package/dist/runtime/server/dist/services/plugin-tool-registry.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts +0 -260
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-worker-manager.js +0 -835
- package/dist/runtime/server/dist/services/plugin-worker-manager.js.map +0 -1
- package/dist/runtime/server/dist/services/projects.d.ts +0 -87
- package/dist/runtime/server/dist/services/projects.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/projects.js +0 -656
- package/dist/runtime/server/dist/services/projects.js.map +0 -1
- package/dist/runtime/server/dist/services/quota-windows.d.ts +0 -9
- package/dist/runtime/server/dist/services/quota-windows.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/quota-windows.js +0 -56
- package/dist/runtime/server/dist/services/quota-windows.js.map +0 -1
- package/dist/runtime/server/dist/services/run-log-store.d.ts +0 -34
- package/dist/runtime/server/dist/services/run-log-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/run-log-store.js +0 -109
- package/dist/runtime/server/dist/services/run-log-store.js.map +0 -1
- package/dist/runtime/server/dist/services/secrets.d.ts +0 -510
- package/dist/runtime/server/dist/services/secrets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/secrets.js +0 -288
- package/dist/runtime/server/dist/services/secrets.js.map +0 -1
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts +0 -9
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/sidebar-badges.js +0 -33
- package/dist/runtime/server/dist/services/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/dist/services/tickets.d.ts +0 -1869
- package/dist/runtime/server/dist/services/tickets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/tickets.js +0 -78
- package/dist/runtime/server/dist/services/tickets.js.map +0 -1
- package/dist/runtime/server/dist/services/work-products.d.ts +0 -14
- package/dist/runtime/server/dist/services/work-products.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/work-products.js +0 -100
- package/dist/runtime/server/dist/services/work-products.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts +0 -33
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js +0 -110
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operations.d.ts +0 -44
- package/dist/runtime/server/dist/services/workspace-operations.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operations.js +0 -204
- package/dist/runtime/server/dist/services/workspace-operations.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts +0 -164
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-runtime.js +0 -1235
- package/dist/runtime/server/dist/services/workspace-runtime.js.map +0 -1
- package/dist/runtime/server/dist/startup-banner.d.ts +0 -31
- package/dist/runtime/server/dist/startup-banner.d.ts.map +0 -1
- package/dist/runtime/server/dist/startup-banner.js +0 -117
- package/dist/runtime/server/dist/startup-banner.js.map +0 -1
- package/dist/runtime/server/dist/storage/index.d.ts +0 -6
- package/dist/runtime/server/dist/storage/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/index.js +0 -29
- package/dist/runtime/server/dist/storage/index.js.map +0 -1
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts +0 -3
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/local-disk-provider.js +0 -79
- package/dist/runtime/server/dist/storage/local-disk-provider.js.map +0 -1
- package/dist/runtime/server/dist/storage/provider-registry.d.ts +0 -4
- package/dist/runtime/server/dist/storage/provider-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/provider-registry.js +0 -15
- package/dist/runtime/server/dist/storage/provider-registry.js.map +0 -1
- package/dist/runtime/server/dist/storage/s3-provider.d.ts +0 -11
- package/dist/runtime/server/dist/storage/s3-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/s3-provider.js +0 -123
- package/dist/runtime/server/dist/storage/s3-provider.js.map +0 -1
- package/dist/runtime/server/dist/storage/service.d.ts +0 -3
- package/dist/runtime/server/dist/storage/service.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/service.js +0 -120
- package/dist/runtime/server/dist/storage/service.js.map +0 -1
- package/dist/runtime/server/dist/storage/types.d.ts +0 -55
- package/dist/runtime/server/dist/storage/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/types.js +0 -2
- package/dist/runtime/server/dist/storage/types.js.map +0 -1
- package/dist/runtime/server/dist/ui-branding.d.ts +0 -14
- package/dist/runtime/server/dist/ui-branding.d.ts.map +0 -1
- package/dist/runtime/server/dist/ui-branding.js +0 -189
- package/dist/runtime/server/dist/ui-branding.js.map +0 -1
- package/dist/runtime/server/dist/version.d.ts +0 -2
- package/dist/runtime/server/dist/version.d.ts.map +0 -1
- package/dist/runtime/server/dist/version.js +0 -5
- package/dist/runtime/server/dist/version.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js +0 -94
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js +0 -106
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js +0 -453
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js +0 -158
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js +0 -477
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js +0 -201
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js +0 -115
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js +0 -149
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js +0 -213
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js +0 -45
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js +0 -451
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js +0 -425
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js +0 -194
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js +0 -116
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js +0 -233
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js +0 -296
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js +0 -81
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js +0 -416
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js +0 -61
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js +0 -139
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js +0 -188
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js +0 -92
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js +0 -373
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js +0 -198
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js +0 -46
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js +0 -364
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js +0 -61
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts +0 -31
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js +0 -227
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js +0 -203
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js +0 -247
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js +0 -53
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js +0 -1146
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js +0 -290
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js +0 -33
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/package.json +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js +0 -115
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js +0 -337
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js +0 -62
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js +0 -165
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js +0 -300
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js +0 -141
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js +0 -99
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js +0 -405
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js +0 -50
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js +0 -161
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js +0 -180
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js +0 -206
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js +0 -257
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js +0 -82
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js +0 -75
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts +0 -62
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js +0 -419
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js +0 -142
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts +0 -290
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/package.json +0 -30
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js +0 -448
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js +0 -103
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js +0 -574
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js +0 -117
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0000_mature_masked_marvel.sql +0 -208
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0001_fast_northstar.sql +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0002_big_zaladane.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0003_shallow_quentin_quire.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0004_issue_identifiers.sql +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0005_chief_luke_cage.sql +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0006_overjoyed_mister_sinister.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0007_new_quentin_quire.sql +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0008_amused_zzzax.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0009_fast_jackal.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0010_stale_justin_hammer.sql +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0011_windy_corsair.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0012_perpetual_ser_duncan.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0013_dashing_wasp.sql +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0014_many_mikhail_rasputin.sql +0 -135
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0015_project_color_archived.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0016_agent_icon.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0017_tiresome_gabe_jones.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0018_flat_sleepwalker.sql +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0019_public_victor_mancha.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0020_white_anita_blake.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0021_chief_vindicator.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0022_company_brand_color.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0023_fair_lethal_legion.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0024_far_beast.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0025_nasty_salo.sql +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0026_lying_pete_wisdom.sql +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0027_tranquil_tenebrous.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0028_harsh_goliath.sql +0 -54
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0029_plugin_tables.sql +0 -177
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0030_rich_magneto.sql +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0031_zippy_magma.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0032_pretty_doctor_octopus.sql +0 -102
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0033_shiny_black_tarantula.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0034_fat_dormammu.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0035_marvelous_satana.sql +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0036_cheerful_nitro.sql +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0037_friendly_eddie_brock.sql +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0038_careless_iron_monger.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0039_tickets.sql +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0000_snapshot.json +0 -1743
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0001_snapshot.json +0 -2441
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0002_snapshot.json +0 -2454
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0003_snapshot.json +0 -2502
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0005_snapshot.json +0 -2719
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0006_snapshot.json +0 -3048
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0007_snapshot.json +0 -3258
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0008_snapshot.json +0 -3264
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0009_snapshot.json +0 -3587
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0010_snapshot.json +0 -3929
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0011_snapshot.json +0 -4068
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0012_snapshot.json +0 -4087
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0013_snapshot.json +0 -4118
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0014_snapshot.json +0 -5187
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0017_snapshot.json +0 -5215
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0018_snapshot.json +0 -5450
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0019_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0020_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0021_snapshot.json +0 -5609
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0023_snapshot.json +0 -5633
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0024_snapshot.json +0 -5693
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0025_snapshot.json +0 -5849
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0027_snapshot.json +0 -6205
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0028_snapshot.json +0 -6710
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0029_snapshot.json +0 -7899
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0030_snapshot.json +0 -8003
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0031_snapshot.json +0 -7242
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0032_snapshot.json +0 -7733
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0033_snapshot.json +0 -9038
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0034_snapshot.json +0 -9039
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0035_snapshot.json +0 -9959
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0036_snapshot.json +0 -10023
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0037_snapshot.json +0 -10263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0038_snapshot.json +0 -10301
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/_journal.json +0 -286
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0000_mature_masked_marvel.sql +0 -208
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0001_fast_northstar.sql +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0002_big_zaladane.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0003_shallow_quentin_quire.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0004_issue_identifiers.sql +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0005_chief_luke_cage.sql +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0006_overjoyed_mister_sinister.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0007_new_quentin_quire.sql +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0008_amused_zzzax.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0009_fast_jackal.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0010_stale_justin_hammer.sql +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0011_windy_corsair.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0012_perpetual_ser_duncan.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0013_dashing_wasp.sql +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0014_many_mikhail_rasputin.sql +0 -135
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0015_project_color_archived.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0016_agent_icon.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0017_tiresome_gabe_jones.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0018_flat_sleepwalker.sql +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0019_public_victor_mancha.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0020_white_anita_blake.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0021_chief_vindicator.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0022_company_brand_color.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0023_fair_lethal_legion.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0024_far_beast.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0025_nasty_salo.sql +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0026_lying_pete_wisdom.sql +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0027_tranquil_tenebrous.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0028_harsh_goliath.sql +0 -54
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0029_plugin_tables.sql +0 -177
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0030_rich_magneto.sql +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0031_zippy_magma.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0032_pretty_doctor_octopus.sql +0 -102
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0033_shiny_black_tarantula.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0034_fat_dormammu.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0035_marvelous_satana.sql +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0036_cheerful_nitro.sql +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0037_friendly_eddie_brock.sql +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0038_careless_iron_monger.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0039_tickets.sql +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0040_ticket_meta.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0000_snapshot.json +0 -1743
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0001_snapshot.json +0 -2441
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0002_snapshot.json +0 -2454
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0003_snapshot.json +0 -2502
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0005_snapshot.json +0 -2719
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0006_snapshot.json +0 -3048
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0007_snapshot.json +0 -3258
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0008_snapshot.json +0 -3264
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0009_snapshot.json +0 -3587
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0010_snapshot.json +0 -3929
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0011_snapshot.json +0 -4068
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0012_snapshot.json +0 -4087
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0013_snapshot.json +0 -4118
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0014_snapshot.json +0 -5187
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0017_snapshot.json +0 -5215
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0018_snapshot.json +0 -5450
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0019_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0020_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0021_snapshot.json +0 -5609
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0023_snapshot.json +0 -5633
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0024_snapshot.json +0 -5693
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0025_snapshot.json +0 -5849
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0027_snapshot.json +0 -6205
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0028_snapshot.json +0 -6710
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0029_snapshot.json +0 -7899
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0030_snapshot.json +0 -8003
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0031_snapshot.json +0 -7242
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0032_snapshot.json +0 -7733
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0033_snapshot.json +0 -9038
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0034_snapshot.json +0 -9039
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0035_snapshot.json +0 -9959
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0036_snapshot.json +0 -10023
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0037_snapshot.json +0 -10263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0038_snapshot.json +0 -10301
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/_journal.json +0 -293
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts +0 -201
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts +0 -248
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts +0 -333
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts +0 -373
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts +0 -212
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts +0 -607
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js +0 -44
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts +0 -297
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts +0 -263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts +0 -246
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts +0 -195
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js +0 -21
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts +0 -314
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts +0 -161
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts +0 -229
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts +0 -418
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts +0 -469
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js +0 -45
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts +0 -178
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts +0 -558
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts +0 -110
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts +0 -76
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts +0 -350
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts +0 -590
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js +0 -58
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts +0 -384
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts +0 -110
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts +0 -158
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts +0 -123
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts +0 -213
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts +0 -392
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js +0 -83
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts +0 -125
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts +0 -169
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js +0 -68
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts +0 -239
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js +0 -52
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts +0 -246
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js +0 -31
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts +0 -333
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts +0 -265
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts +0 -284
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts +0 -367
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js +0 -35
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts +0 -469
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js +0 -44
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/package.json +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js +0 -105
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts +0 -218
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js +0 -85
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js +0 -49
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js +0 -194
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts +0 -229
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js +0 -353
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts +0 -881
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js +0 -297
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts +0 -63
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js +0 -702
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts +0 -982
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts +0 -257
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts +0 -120
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js +0 -148
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts +0 -50
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js +0 -30
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts +0 -308
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js +0 -941
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/package.json +0 -74
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts +0 -725
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js +0 -151
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js +0 -553
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts +0 -116
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js +0 -181
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js +0 -71
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js +0 -40
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts +0 -80
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts +0 -120
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts +0 -106
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts +0 -118
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts +0 -164
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts +0 -419
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts +0 -27
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts +0 -109
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js +0 -40
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts +0 -235
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js +0 -71
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js +0 -27
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts +0 -1535
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts +0 -92
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts +0 -129
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts +0 -656
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts +0 -1173
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js +0 -547
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts +0 -583
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts +0 -114
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js +0 -35
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts +0 -105
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js +0 -46
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/package.json +0 -33
- package/dist/runtime/server/package.json +0 -5
- 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-BiZHH3vY.js +0 -834
- package/dist/runtime/server/ui-dist/assets/_basePickBy-DOJDGGWo.js +0 -1
- package/dist/runtime/server/ui-dist/assets/_baseUniq-DjoWC9VG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/apl-B4CMkyY2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/arc-DzAhgPuQ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/architectureDiagram-VXUJARFQ-CFxoZ9U1.js +0 -36
- package/dist/runtime/server/ui-dist/assets/asciiarmor-Df11BRmG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/asn1-EdZsLKOL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/asterisk-B-8jnY81.js +0 -1
- package/dist/runtime/server/ui-dist/assets/blockDiagram-VD42YOAC-CmcNReYb.js +0 -122
- package/dist/runtime/server/ui-dist/assets/brainfuck-C4LP7Hcl.js +0 -1
- package/dist/runtime/server/ui-dist/assets/c4Diagram-YG6GDRKO-62g03z24.js +0 -10
- package/dist/runtime/server/ui-dist/assets/channel-CyMiLt_6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-4BX2VUAB-DdKgkZWf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-55IACEB6-BG61sDBH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-B4BG7PRW-jHjDOzs3.js +0 -165
- package/dist/runtime/server/ui-dist/assets/chunk-DI55MBZ5-QWOEgAft.js +0 -220
- package/dist/runtime/server/ui-dist/assets/chunk-FMBD7UC4-BTtsDCBm.js +0 -15
- package/dist/runtime/server/ui-dist/assets/chunk-QN33PNHL-DQ0G5mTp.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-QZHKN3VN-CwD654Gq.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-TZMSLE5B-BW4AfItk.js +0 -1
- package/dist/runtime/server/ui-dist/assets/classDiagram-2ON5EDUG-Bpt4jbt_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/classDiagram-v2-WZHVMYZB-Bpt4jbt_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clike-B9uivgTg.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clojure-BMjYHr_A.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clone-C1pAl4cM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cmake-BQqOBYOt.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cobol-CWcv1MsR.js +0 -1
- package/dist/runtime/server/ui-dist/assets/coffeescript-S37ZYGWr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/commonlisp-DBKNyK5s.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cose-bilkent-S5V4N54A-Cl5X2jL8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/crystal-SjHAIU92.js +0 -1
- package/dist/runtime/server/ui-dist/assets/css-BnMrqG3P.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cypher-C_CwsFkJ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cytoscape.esm-BQaXIfA_.js +0 -331
- package/dist/runtime/server/ui-dist/assets/d-pRatUO7H.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dagre-6UL2VRFP-B2u9a5zG.js +0 -4
- package/dist/runtime/server/ui-dist/assets/defaultLocale-DX6XiGOO.js +0 -1
- package/dist/runtime/server/ui-dist/assets/diagram-PSM6KHXK-DsSVNioI.js +0 -24
- package/dist/runtime/server/ui-dist/assets/diagram-QEK2KX5R-C2oaCik_.js +0 -43
- package/dist/runtime/server/ui-dist/assets/diagram-S2PKOQOG-CuEvUbkw.js +0 -24
- package/dist/runtime/server/ui-dist/assets/diff-DbItnlRl.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dockerfile-BKs6k2Af.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dtd-DF_7sFjM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dx-root-B5r5o3mh.js +0 -280
- package/dist/runtime/server/ui-dist/assets/dylan-DwRh75JA.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ebnf-CDyGwa7X.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ecl-Cabwm37j.js +0 -1
- package/dist/runtime/server/ui-dist/assets/eiffel-CnydiIhH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/elm-vLlmbW-K.js +0 -1
- package/dist/runtime/server/ui-dist/assets/erDiagram-Q2GNP2WA-_1lFdkqV.js +0 -60
- package/dist/runtime/server/ui-dist/assets/erlang-BNw1qcRV.js +0 -1
- package/dist/runtime/server/ui-dist/assets/factor-kuTfRLto.js +0 -1
- package/dist/runtime/server/ui-dist/assets/fcl-Kvtd6kyn.js +0 -1
- package/dist/runtime/server/ui-dist/assets/flowDiagram-NV44I4VS-DUoF0DLT.js +0 -162
- package/dist/runtime/server/ui-dist/assets/forth-Ffai-XNe.js +0 -1
- package/dist/runtime/server/ui-dist/assets/fortran-DYz_wnZ1.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ganttDiagram-JELNMOA3-CruQ7D3m.js +0 -267
- package/dist/runtime/server/ui-dist/assets/gas-Bneqetm1.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gherkin-heZmZLOM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gitGraphDiagram-V2S2FVAM-BDuS9ljz.js +0 -65
- package/dist/runtime/server/ui-dist/assets/graph-BFy59M3M.js +0 -1
- package/dist/runtime/server/ui-dist/assets/groovy-D9Dt4D0W.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gtm-root-bgiNL285.js +0 -11
- package/dist/runtime/server/ui-dist/assets/haskell-Cw1EW3IL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/haxe-H-WmDvRZ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/http-DBlCnlav.js +0 -1
- package/dist/runtime/server/ui-dist/assets/idl-BEugSyMb.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index--dv-yDMD.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-A_Utfb1G.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-AaLnuKvn.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-B9Xd_vMV.js +0 -3
- package/dist/runtime/server/ui-dist/assets/index-BCphYMJ8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-BKO_Nk8c.js +0 -7
- package/dist/runtime/server/ui-dist/assets/index-BMwN19Gi.js +0 -2
- package/dist/runtime/server/ui-dist/assets/index-Bz0rSFov.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-BzNjBEzf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-CLWYCHoS.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-CZVyxyFA.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-ClbnJMz6.css +0 -1
- package/dist/runtime/server/ui-dist/assets/index-Cpqm25YS.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-Cv5ClxEP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-D2MHxpCH.js +0 -50
- package/dist/runtime/server/ui-dist/assets/index-D3MPbMGr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DFUgoz9_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DL95rih-.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DY60bSWi.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DcoQC6ia.js +0 -13
- package/dist/runtime/server/ui-dist/assets/index-DfnTp5y6.js +0 -6
- package/dist/runtime/server/ui-dist/assets/index-Fb7iEaRG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-TPJ_0VD8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-WuexBBBr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/infoDiagram-HS3SLOUP-CiI6r25R.js +0 -2
- package/dist/runtime/server/ui-dist/assets/init-Gi6I4Gst.js +0 -1
- package/dist/runtime/server/ui-dist/assets/javascript-iXu5QeM3.js +0 -1
- package/dist/runtime/server/ui-dist/assets/journeyDiagram-XKPGCS4Q-BMmOHrov.js +0 -139
- package/dist/runtime/server/ui-dist/assets/julia-DuME0IfC.js +0 -1
- package/dist/runtime/server/ui-dist/assets/kanban-definition-3W4ZIXB7-BxeYeVi1.js +0 -89
- package/dist/runtime/server/ui-dist/assets/katex-O9d3_IXG.js +0 -261
- package/dist/runtime/server/ui-dist/assets/layout-anG6DZ8y.js +0 -1
- package/dist/runtime/server/ui-dist/assets/linear-CDTAlHE-.js +0 -1
- package/dist/runtime/server/ui-dist/assets/livescript-BwQOo05w.js +0 -1
- package/dist/runtime/server/ui-dist/assets/lua-BgMRiT3U.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mathematica-DTrFuWx2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mbox-CNhZ1qSd.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mermaid.core-DNt7uRm5.js +0 -256
- package/dist/runtime/server/ui-dist/assets/mindmap-definition-VGOIOE7T-DTO5b9so.js +0 -68
- package/dist/runtime/server/ui-dist/assets/mirc-CjQqDB4T.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mllike-CXdrOF99.js +0 -1
- package/dist/runtime/server/ui-dist/assets/modelica-Dc1JOy9r.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mscgen-BA5vi2Kp.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mumps-BT43cFF4.js +0 -1
- package/dist/runtime/server/ui-dist/assets/nginx-DdIZxoE0.js +0 -1
- package/dist/runtime/server/ui-dist/assets/nsis-LdVXkNf5.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ntriples-BfvgReVJ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/octave-Ck1zUtKM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ordinal-Cboi1Yqb.js +0 -1
- package/dist/runtime/server/ui-dist/assets/oz-BzwKVEFT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pascal--L3eBynH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/perl-CdXCOZ3F.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pieDiagram-ADFJNKIX-BteTAzPn.js +0 -30
- package/dist/runtime/server/ui-dist/assets/pig-CevX1Tat.js +0 -1
- package/dist/runtime/server/ui-dist/assets/powershell-CFHJl5sT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/properties-C78fOPTZ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/protobuf-ChK-085T.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pug-DeIclll2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/puppet-DMA9R1ak.js +0 -1
- package/dist/runtime/server/ui-dist/assets/python-BuPzkPfP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/q-pXgVlZs6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/quadrantDiagram-AYHSOK5B-_gG2aKm4.js +0 -7
- package/dist/runtime/server/ui-dist/assets/r-B6wPVr8A.js +0 -1
- package/dist/runtime/server/ui-dist/assets/requirementDiagram-UZGBJVZJ-CcOvI4e8.js +0 -64
- package/dist/runtime/server/ui-dist/assets/rpm-CTu-6PCP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ruby-B2Rjki9n.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sankeyDiagram-TZEHDZUN-C1Rbdzvp.js +0 -10
- package/dist/runtime/server/ui-dist/assets/sas-B4kiWyti.js +0 -1
- package/dist/runtime/server/ui-dist/assets/scheme-C41bIUwD.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sequenceDiagram-WL72ISMW-DPx4fWtG.js +0 -145
- package/dist/runtime/server/ui-dist/assets/shell-CjFT_Tl9.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sieve-C3Gn_uJK.js +0 -1
- package/dist/runtime/server/ui-dist/assets/simple-mode-GW_nhZxv.js +0 -1
- package/dist/runtime/server/ui-dist/assets/smalltalk-CnHTOXQT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/solr-DehyRSwq.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sparql-DkYu6x3z.js +0 -1
- package/dist/runtime/server/ui-dist/assets/spreadsheet-BCZA_wO0.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sql-D0XecflT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stateDiagram-FKZM4ZOC-CID-77J9.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stateDiagram-v2-4FDKWEC3-DF70krIP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stex-C3f8Ysf7.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stylus-B533Al4x.js +0 -1
- package/dist/runtime/server/ui-dist/assets/swift-BzpIVaGY.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tcl-DVfN8rqt.js +0 -1
- package/dist/runtime/server/ui-dist/assets/textile-CnDTJFAw.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tiddlywiki-DO-Gjzrf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tiki-DGYXhP31.js +0 -1
- package/dist/runtime/server/ui-dist/assets/timeline-definition-IT6M3QCI-CyA1h3jY.js +0 -61
- package/dist/runtime/server/ui-dist/assets/toml-Bm5Em-hy.js +0 -1
- package/dist/runtime/server/ui-dist/assets/treemap-GDKQZRPO-nqrXf2kh.js +0 -162
- package/dist/runtime/server/ui-dist/assets/troff-wAsdV37c.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ttcn-CfJYG6tj.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ttcn-cfg-B9xdYoR4.js +0 -1
- package/dist/runtime/server/ui-dist/assets/turtle-B1tBg_DP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vb-CmGdzxic.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vbscript-BuJXcnF6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/velocity-D8B20fx6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/verilog-C6RDOZhf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vhdl-lSbBsy5d.js +0 -1
- package/dist/runtime/server/ui-dist/assets/webidl-ZXfAyPTL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/xquery-DzFWVndE.js +0 -1
- package/dist/runtime/server/ui-dist/assets/xychartDiagram-PRI3JC2R-CS0bUj41.js +0 -7
- package/dist/runtime/server/ui-dist/assets/yacas-BJ4BC0dw.js +0 -1
- package/dist/runtime/server/ui-dist/assets/z80-Hz9HOZM7.js +0 -1
- package/dist/runtime/server/ui-dist/brands/opencode-logo-dark-square.svg +0 -18
- package/dist/runtime/server/ui-dist/brands/opencode-logo-light-square.svg +0 -18
- 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 +0 -9
- package/dist/runtime/server/ui-dist/index.html +0 -48
- package/dist/runtime/server/ui-dist/site.webmanifest +0 -30
- package/dist/runtime/server/ui-dist/sw.js +0 -42
- 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 +0 -9
|
@@ -1,1321 +0,0 @@
|
|
|
1
|
-
import { and, asc, desc, eq, inArray, isNull, or, sql } from "drizzle-orm";
|
|
2
|
-
import { agents, assets, companies, companyMemberships, documents, goals, heartbeatRuns, executionWorkspaces, issueAttachments, issueLabels, issueComments, issueDocuments, issueReadStates, issues, labels, projectWorkspaces, projects, } from "@paperclipai/db";
|
|
3
|
-
import { extractProjectMentionIds } from "@paperclipai/shared";
|
|
4
|
-
import { conflict, notFound, unprocessable } from "../errors.js";
|
|
5
|
-
import { defaultIssueExecutionWorkspaceSettingsForProject, gateProjectExecutionWorkspacePolicy, parseProjectExecutionWorkspacePolicy, } from "./execution-workspace-policy.js";
|
|
6
|
-
import { instanceSettingsService } from "./instance-settings.js";
|
|
7
|
-
import { redactCurrentUserText } from "../log-redaction.js";
|
|
8
|
-
import { resolveIssueGoalId, resolveNextIssueGoalId } from "./issue-goal-fallback.js";
|
|
9
|
-
import { getDefaultCompanyGoal } from "./goals.js";
|
|
10
|
-
const ALL_ISSUE_STATUSES = ["backlog", "todo", "in_progress", "in_review", "blocked", "done", "cancelled"];
|
|
11
|
-
const MAX_ISSUE_COMMENT_PAGE_LIMIT = 500;
|
|
12
|
-
function assertTransition(from, to) {
|
|
13
|
-
if (from === to)
|
|
14
|
-
return;
|
|
15
|
-
if (!ALL_ISSUE_STATUSES.includes(to)) {
|
|
16
|
-
throw conflict(`Unknown issue status: ${to}`);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function applyStatusSideEffects(status, patch) {
|
|
20
|
-
if (!status)
|
|
21
|
-
return patch;
|
|
22
|
-
if (status === "in_progress" && !patch.startedAt) {
|
|
23
|
-
patch.startedAt = new Date();
|
|
24
|
-
}
|
|
25
|
-
if (status === "done") {
|
|
26
|
-
patch.completedAt = new Date();
|
|
27
|
-
}
|
|
28
|
-
if (status === "cancelled") {
|
|
29
|
-
patch.cancelledAt = new Date();
|
|
30
|
-
}
|
|
31
|
-
return patch;
|
|
32
|
-
}
|
|
33
|
-
function redactIssueComment(comment) {
|
|
34
|
-
return {
|
|
35
|
-
...comment,
|
|
36
|
-
body: redactCurrentUserText(comment.body),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function sameRunLock(checkoutRunId, actorRunId) {
|
|
40
|
-
if (actorRunId)
|
|
41
|
-
return checkoutRunId === actorRunId;
|
|
42
|
-
return checkoutRunId == null;
|
|
43
|
-
}
|
|
44
|
-
const TERMINAL_HEARTBEAT_RUN_STATUSES = new Set(["succeeded", "failed", "cancelled", "timed_out"]);
|
|
45
|
-
function escapeLikePattern(value) {
|
|
46
|
-
return value.replace(/[\\%_]/g, "\\$&");
|
|
47
|
-
}
|
|
48
|
-
function touchedByUserCondition(companyId, userId) {
|
|
49
|
-
return sql `
|
|
50
|
-
(
|
|
51
|
-
${issues.createdByUserId} = ${userId}
|
|
52
|
-
OR ${issues.assigneeUserId} = ${userId}
|
|
53
|
-
OR EXISTS (
|
|
54
|
-
SELECT 1
|
|
55
|
-
FROM ${issueReadStates}
|
|
56
|
-
WHERE ${issueReadStates.issueId} = ${issues.id}
|
|
57
|
-
AND ${issueReadStates.companyId} = ${companyId}
|
|
58
|
-
AND ${issueReadStates.userId} = ${userId}
|
|
59
|
-
)
|
|
60
|
-
OR EXISTS (
|
|
61
|
-
SELECT 1
|
|
62
|
-
FROM ${issueComments}
|
|
63
|
-
WHERE ${issueComments.issueId} = ${issues.id}
|
|
64
|
-
AND ${issueComments.companyId} = ${companyId}
|
|
65
|
-
AND ${issueComments.authorUserId} = ${userId}
|
|
66
|
-
)
|
|
67
|
-
)
|
|
68
|
-
`;
|
|
69
|
-
}
|
|
70
|
-
function myLastCommentAtExpr(companyId, userId) {
|
|
71
|
-
return sql `
|
|
72
|
-
(
|
|
73
|
-
SELECT MAX(${issueComments.createdAt})
|
|
74
|
-
FROM ${issueComments}
|
|
75
|
-
WHERE ${issueComments.issueId} = ${issues.id}
|
|
76
|
-
AND ${issueComments.companyId} = ${companyId}
|
|
77
|
-
AND ${issueComments.authorUserId} = ${userId}
|
|
78
|
-
)
|
|
79
|
-
`;
|
|
80
|
-
}
|
|
81
|
-
function myLastReadAtExpr(companyId, userId) {
|
|
82
|
-
return sql `
|
|
83
|
-
(
|
|
84
|
-
SELECT MAX(${issueReadStates.lastReadAt})
|
|
85
|
-
FROM ${issueReadStates}
|
|
86
|
-
WHERE ${issueReadStates.issueId} = ${issues.id}
|
|
87
|
-
AND ${issueReadStates.companyId} = ${companyId}
|
|
88
|
-
AND ${issueReadStates.userId} = ${userId}
|
|
89
|
-
)
|
|
90
|
-
`;
|
|
91
|
-
}
|
|
92
|
-
function myLastTouchAtExpr(companyId, userId) {
|
|
93
|
-
const myLastCommentAt = myLastCommentAtExpr(companyId, userId);
|
|
94
|
-
const myLastReadAt = myLastReadAtExpr(companyId, userId);
|
|
95
|
-
return sql `
|
|
96
|
-
GREATEST(
|
|
97
|
-
COALESCE(${myLastCommentAt}, to_timestamp(0)),
|
|
98
|
-
COALESCE(${myLastReadAt}, to_timestamp(0)),
|
|
99
|
-
COALESCE(CASE WHEN ${issues.createdByUserId} = ${userId} THEN ${issues.createdAt} ELSE NULL END, to_timestamp(0)),
|
|
100
|
-
COALESCE(CASE WHEN ${issues.assigneeUserId} = ${userId} THEN ${issues.updatedAt} ELSE NULL END, to_timestamp(0))
|
|
101
|
-
)
|
|
102
|
-
`;
|
|
103
|
-
}
|
|
104
|
-
function unreadForUserCondition(companyId, userId) {
|
|
105
|
-
const touchedCondition = touchedByUserCondition(companyId, userId);
|
|
106
|
-
const myLastTouchAt = myLastTouchAtExpr(companyId, userId);
|
|
107
|
-
return sql `
|
|
108
|
-
(
|
|
109
|
-
${touchedCondition}
|
|
110
|
-
AND EXISTS (
|
|
111
|
-
SELECT 1
|
|
112
|
-
FROM ${issueComments}
|
|
113
|
-
WHERE ${issueComments.issueId} = ${issues.id}
|
|
114
|
-
AND ${issueComments.companyId} = ${companyId}
|
|
115
|
-
AND (
|
|
116
|
-
${issueComments.authorUserId} IS NULL
|
|
117
|
-
OR ${issueComments.authorUserId} <> ${userId}
|
|
118
|
-
)
|
|
119
|
-
AND ${issueComments.createdAt} > ${myLastTouchAt}
|
|
120
|
-
)
|
|
121
|
-
)
|
|
122
|
-
`;
|
|
123
|
-
}
|
|
124
|
-
export function deriveIssueUserContext(issue, userId, stats) {
|
|
125
|
-
const normalizeDate = (value) => {
|
|
126
|
-
if (!value)
|
|
127
|
-
return null;
|
|
128
|
-
if (value instanceof Date)
|
|
129
|
-
return Number.isNaN(value.getTime()) ? null : value;
|
|
130
|
-
const parsed = new Date(value);
|
|
131
|
-
return Number.isNaN(parsed.getTime()) ? null : parsed;
|
|
132
|
-
};
|
|
133
|
-
const myLastCommentAt = normalizeDate(stats?.myLastCommentAt);
|
|
134
|
-
const myLastReadAt = normalizeDate(stats?.myLastReadAt);
|
|
135
|
-
const createdTouchAt = issue.createdByUserId === userId ? normalizeDate(issue.createdAt) : null;
|
|
136
|
-
const assignedTouchAt = issue.assigneeUserId === userId ? normalizeDate(issue.updatedAt) : null;
|
|
137
|
-
const myLastTouchAt = [myLastCommentAt, myLastReadAt, createdTouchAt, assignedTouchAt]
|
|
138
|
-
.filter((value) => value instanceof Date)
|
|
139
|
-
.sort((a, b) => b.getTime() - a.getTime())[0] ?? null;
|
|
140
|
-
const lastExternalCommentAt = normalizeDate(stats?.lastExternalCommentAt);
|
|
141
|
-
const isUnreadForMe = Boolean(myLastTouchAt &&
|
|
142
|
-
lastExternalCommentAt &&
|
|
143
|
-
lastExternalCommentAt.getTime() > myLastTouchAt.getTime());
|
|
144
|
-
return {
|
|
145
|
-
myLastTouchAt,
|
|
146
|
-
lastExternalCommentAt,
|
|
147
|
-
isUnreadForMe,
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
async function labelMapForIssues(dbOrTx, issueIds) {
|
|
151
|
-
const map = new Map();
|
|
152
|
-
if (issueIds.length === 0)
|
|
153
|
-
return map;
|
|
154
|
-
const rows = await dbOrTx
|
|
155
|
-
.select({
|
|
156
|
-
issueId: issueLabels.issueId,
|
|
157
|
-
label: labels,
|
|
158
|
-
})
|
|
159
|
-
.from(issueLabels)
|
|
160
|
-
.innerJoin(labels, eq(issueLabels.labelId, labels.id))
|
|
161
|
-
.where(inArray(issueLabels.issueId, issueIds))
|
|
162
|
-
.orderBy(asc(labels.name), asc(labels.id));
|
|
163
|
-
for (const row of rows) {
|
|
164
|
-
const existing = map.get(row.issueId);
|
|
165
|
-
if (existing)
|
|
166
|
-
existing.push(row.label);
|
|
167
|
-
else
|
|
168
|
-
map.set(row.issueId, [row.label]);
|
|
169
|
-
}
|
|
170
|
-
return map;
|
|
171
|
-
}
|
|
172
|
-
async function withIssueLabels(dbOrTx, rows) {
|
|
173
|
-
if (rows.length === 0)
|
|
174
|
-
return [];
|
|
175
|
-
const labelsByIssueId = await labelMapForIssues(dbOrTx, rows.map((row) => row.id));
|
|
176
|
-
return rows.map((row) => {
|
|
177
|
-
const issueLabels = labelsByIssueId.get(row.id) ?? [];
|
|
178
|
-
return {
|
|
179
|
-
...row,
|
|
180
|
-
labels: issueLabels,
|
|
181
|
-
labelIds: issueLabels.map((label) => label.id),
|
|
182
|
-
};
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
const ACTIVE_RUN_STATUSES = ["queued", "running"];
|
|
186
|
-
async function activeRunMapForIssues(dbOrTx, issueRows) {
|
|
187
|
-
const map = new Map();
|
|
188
|
-
const runIds = issueRows
|
|
189
|
-
.map((row) => row.executionRunId)
|
|
190
|
-
.filter((id) => id != null);
|
|
191
|
-
if (runIds.length === 0)
|
|
192
|
-
return map;
|
|
193
|
-
const rows = await dbOrTx
|
|
194
|
-
.select({
|
|
195
|
-
id: heartbeatRuns.id,
|
|
196
|
-
status: heartbeatRuns.status,
|
|
197
|
-
agentId: heartbeatRuns.agentId,
|
|
198
|
-
invocationSource: heartbeatRuns.invocationSource,
|
|
199
|
-
triggerDetail: heartbeatRuns.triggerDetail,
|
|
200
|
-
startedAt: heartbeatRuns.startedAt,
|
|
201
|
-
finishedAt: heartbeatRuns.finishedAt,
|
|
202
|
-
createdAt: heartbeatRuns.createdAt,
|
|
203
|
-
})
|
|
204
|
-
.from(heartbeatRuns)
|
|
205
|
-
.where(and(inArray(heartbeatRuns.id, runIds), inArray(heartbeatRuns.status, ACTIVE_RUN_STATUSES)));
|
|
206
|
-
for (const row of rows) {
|
|
207
|
-
map.set(row.id, row);
|
|
208
|
-
}
|
|
209
|
-
return map;
|
|
210
|
-
}
|
|
211
|
-
function withActiveRuns(issueRows, runMap) {
|
|
212
|
-
return issueRows.map((row) => ({
|
|
213
|
-
...row,
|
|
214
|
-
activeRun: row.executionRunId ? (runMap.get(row.executionRunId) ?? null) : null,
|
|
215
|
-
}));
|
|
216
|
-
}
|
|
217
|
-
export function issueService(db) {
|
|
218
|
-
const instanceSettings = instanceSettingsService(db);
|
|
219
|
-
async function assertAssignableAgent(companyId, agentId) {
|
|
220
|
-
const assignee = await db
|
|
221
|
-
.select({
|
|
222
|
-
id: agents.id,
|
|
223
|
-
companyId: agents.companyId,
|
|
224
|
-
status: agents.status,
|
|
225
|
-
})
|
|
226
|
-
.from(agents)
|
|
227
|
-
.where(eq(agents.id, agentId))
|
|
228
|
-
.then((rows) => rows[0] ?? null);
|
|
229
|
-
if (!assignee)
|
|
230
|
-
throw notFound("Assignee agent not found");
|
|
231
|
-
if (assignee.companyId !== companyId) {
|
|
232
|
-
throw unprocessable("Assignee must belong to same company");
|
|
233
|
-
}
|
|
234
|
-
if (assignee.status === "pending_approval") {
|
|
235
|
-
throw conflict("Cannot assign work to pending approval agents");
|
|
236
|
-
}
|
|
237
|
-
if (assignee.status === "terminated") {
|
|
238
|
-
throw conflict("Cannot assign work to terminated agents");
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
async function assertAssignableUser(companyId, userId) {
|
|
242
|
-
const membership = await db
|
|
243
|
-
.select({ id: companyMemberships.id })
|
|
244
|
-
.from(companyMemberships)
|
|
245
|
-
.where(and(eq(companyMemberships.companyId, companyId), eq(companyMemberships.principalType, "user"), eq(companyMemberships.principalId, userId), eq(companyMemberships.status, "active")))
|
|
246
|
-
.then((rows) => rows[0] ?? null);
|
|
247
|
-
if (!membership) {
|
|
248
|
-
throw notFound("Assignee user not found");
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
async function assertValidProjectWorkspace(companyId, projectId, projectWorkspaceId) {
|
|
252
|
-
const workspace = await db
|
|
253
|
-
.select({
|
|
254
|
-
id: projectWorkspaces.id,
|
|
255
|
-
companyId: projectWorkspaces.companyId,
|
|
256
|
-
projectId: projectWorkspaces.projectId,
|
|
257
|
-
})
|
|
258
|
-
.from(projectWorkspaces)
|
|
259
|
-
.where(eq(projectWorkspaces.id, projectWorkspaceId))
|
|
260
|
-
.then((rows) => rows[0] ?? null);
|
|
261
|
-
if (!workspace)
|
|
262
|
-
throw notFound("Project workspace not found");
|
|
263
|
-
if (workspace.companyId !== companyId)
|
|
264
|
-
throw unprocessable("Project workspace must belong to same company");
|
|
265
|
-
if (projectId && workspace.projectId !== projectId) {
|
|
266
|
-
throw unprocessable("Project workspace must belong to the selected project");
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
async function assertValidExecutionWorkspace(companyId, projectId, executionWorkspaceId) {
|
|
270
|
-
const workspace = await db
|
|
271
|
-
.select({
|
|
272
|
-
id: executionWorkspaces.id,
|
|
273
|
-
companyId: executionWorkspaces.companyId,
|
|
274
|
-
projectId: executionWorkspaces.projectId,
|
|
275
|
-
})
|
|
276
|
-
.from(executionWorkspaces)
|
|
277
|
-
.where(eq(executionWorkspaces.id, executionWorkspaceId))
|
|
278
|
-
.then((rows) => rows[0] ?? null);
|
|
279
|
-
if (!workspace)
|
|
280
|
-
throw notFound("Execution workspace not found");
|
|
281
|
-
if (workspace.companyId !== companyId)
|
|
282
|
-
throw unprocessable("Execution workspace must belong to same company");
|
|
283
|
-
if (projectId && workspace.projectId !== projectId) {
|
|
284
|
-
throw unprocessable("Execution workspace must belong to the selected project");
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
async function assertValidLabelIds(companyId, labelIds, dbOrTx = db) {
|
|
288
|
-
if (labelIds.length === 0)
|
|
289
|
-
return;
|
|
290
|
-
const existing = await dbOrTx
|
|
291
|
-
.select({ id: labels.id })
|
|
292
|
-
.from(labels)
|
|
293
|
-
.where(and(eq(labels.companyId, companyId), inArray(labels.id, labelIds)));
|
|
294
|
-
if (existing.length !== new Set(labelIds).size) {
|
|
295
|
-
throw unprocessable("One or more labels are invalid for this company");
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
async function syncIssueLabels(issueId, companyId, labelIds, dbOrTx = db) {
|
|
299
|
-
const deduped = [...new Set(labelIds)];
|
|
300
|
-
await assertValidLabelIds(companyId, deduped, dbOrTx);
|
|
301
|
-
await dbOrTx.delete(issueLabels).where(eq(issueLabels.issueId, issueId));
|
|
302
|
-
if (deduped.length === 0)
|
|
303
|
-
return;
|
|
304
|
-
await dbOrTx.insert(issueLabels).values(deduped.map((labelId) => ({
|
|
305
|
-
issueId,
|
|
306
|
-
labelId,
|
|
307
|
-
companyId,
|
|
308
|
-
})));
|
|
309
|
-
}
|
|
310
|
-
async function isTerminalOrMissingHeartbeatRun(runId) {
|
|
311
|
-
const run = await db
|
|
312
|
-
.select({ status: heartbeatRuns.status })
|
|
313
|
-
.from(heartbeatRuns)
|
|
314
|
-
.where(eq(heartbeatRuns.id, runId))
|
|
315
|
-
.then((rows) => rows[0] ?? null);
|
|
316
|
-
if (!run)
|
|
317
|
-
return true;
|
|
318
|
-
return TERMINAL_HEARTBEAT_RUN_STATUSES.has(run.status);
|
|
319
|
-
}
|
|
320
|
-
async function adoptStaleCheckoutRun(input) {
|
|
321
|
-
const stale = await isTerminalOrMissingHeartbeatRun(input.expectedCheckoutRunId);
|
|
322
|
-
if (!stale)
|
|
323
|
-
return null;
|
|
324
|
-
const now = new Date();
|
|
325
|
-
const adopted = await db
|
|
326
|
-
.update(issues)
|
|
327
|
-
.set({
|
|
328
|
-
checkoutRunId: input.actorRunId,
|
|
329
|
-
executionRunId: input.actorRunId,
|
|
330
|
-
executionLockedAt: now,
|
|
331
|
-
updatedAt: now,
|
|
332
|
-
})
|
|
333
|
-
.where(and(eq(issues.id, input.issueId), eq(issues.status, "in_progress"), eq(issues.assigneeAgentId, input.actorAgentId), eq(issues.checkoutRunId, input.expectedCheckoutRunId)))
|
|
334
|
-
.returning({
|
|
335
|
-
id: issues.id,
|
|
336
|
-
status: issues.status,
|
|
337
|
-
assigneeAgentId: issues.assigneeAgentId,
|
|
338
|
-
checkoutRunId: issues.checkoutRunId,
|
|
339
|
-
executionRunId: issues.executionRunId,
|
|
340
|
-
})
|
|
341
|
-
.then((rows) => rows[0] ?? null);
|
|
342
|
-
return adopted;
|
|
343
|
-
}
|
|
344
|
-
return {
|
|
345
|
-
list: async (companyId, filters) => {
|
|
346
|
-
const conditions = [eq(issues.companyId, companyId)];
|
|
347
|
-
const touchedByUserId = filters?.touchedByUserId?.trim() || undefined;
|
|
348
|
-
const unreadForUserId = filters?.unreadForUserId?.trim() || undefined;
|
|
349
|
-
const contextUserId = unreadForUserId ?? touchedByUserId;
|
|
350
|
-
const rawSearch = filters?.q?.trim() ?? "";
|
|
351
|
-
const hasSearch = rawSearch.length > 0;
|
|
352
|
-
const escapedSearch = hasSearch ? escapeLikePattern(rawSearch) : "";
|
|
353
|
-
const startsWithPattern = `${escapedSearch}%`;
|
|
354
|
-
const containsPattern = `%${escapedSearch}%`;
|
|
355
|
-
const titleStartsWithMatch = sql `${issues.title} ILIKE ${startsWithPattern} ESCAPE '\\'`;
|
|
356
|
-
const titleContainsMatch = sql `${issues.title} ILIKE ${containsPattern} ESCAPE '\\'`;
|
|
357
|
-
const identifierStartsWithMatch = sql `${issues.identifier} ILIKE ${startsWithPattern} ESCAPE '\\'`;
|
|
358
|
-
const identifierContainsMatch = sql `${issues.identifier} ILIKE ${containsPattern} ESCAPE '\\'`;
|
|
359
|
-
const descriptionContainsMatch = sql `${issues.description} ILIKE ${containsPattern} ESCAPE '\\'`;
|
|
360
|
-
const commentContainsMatch = sql `
|
|
361
|
-
EXISTS (
|
|
362
|
-
SELECT 1
|
|
363
|
-
FROM ${issueComments}
|
|
364
|
-
WHERE ${issueComments.issueId} = ${issues.id}
|
|
365
|
-
AND ${issueComments.companyId} = ${companyId}
|
|
366
|
-
AND ${issueComments.body} ILIKE ${containsPattern} ESCAPE '\\'
|
|
367
|
-
)
|
|
368
|
-
`;
|
|
369
|
-
if (filters?.status) {
|
|
370
|
-
const statuses = filters.status.split(",").map((s) => s.trim());
|
|
371
|
-
conditions.push(statuses.length === 1 ? eq(issues.status, statuses[0]) : inArray(issues.status, statuses));
|
|
372
|
-
}
|
|
373
|
-
if (filters?.assigneeAgentId) {
|
|
374
|
-
conditions.push(eq(issues.assigneeAgentId, filters.assigneeAgentId));
|
|
375
|
-
}
|
|
376
|
-
if (filters?.assigneeUserId) {
|
|
377
|
-
conditions.push(eq(issues.assigneeUserId, filters.assigneeUserId));
|
|
378
|
-
}
|
|
379
|
-
if (touchedByUserId) {
|
|
380
|
-
conditions.push(touchedByUserCondition(companyId, touchedByUserId));
|
|
381
|
-
}
|
|
382
|
-
if (unreadForUserId) {
|
|
383
|
-
conditions.push(unreadForUserCondition(companyId, unreadForUserId));
|
|
384
|
-
}
|
|
385
|
-
if (filters?.projectId)
|
|
386
|
-
conditions.push(eq(issues.projectId, filters.projectId));
|
|
387
|
-
if (filters?.parentId)
|
|
388
|
-
conditions.push(eq(issues.parentId, filters.parentId));
|
|
389
|
-
if (filters?.labelId) {
|
|
390
|
-
const labeledIssueIds = await db
|
|
391
|
-
.select({ issueId: issueLabels.issueId })
|
|
392
|
-
.from(issueLabels)
|
|
393
|
-
.where(and(eq(issueLabels.companyId, companyId), eq(issueLabels.labelId, filters.labelId)));
|
|
394
|
-
if (labeledIssueIds.length === 0)
|
|
395
|
-
return [];
|
|
396
|
-
conditions.push(inArray(issues.id, labeledIssueIds.map((row) => row.issueId)));
|
|
397
|
-
}
|
|
398
|
-
if (hasSearch) {
|
|
399
|
-
conditions.push(or(titleContainsMatch, identifierContainsMatch, descriptionContainsMatch, commentContainsMatch));
|
|
400
|
-
}
|
|
401
|
-
conditions.push(isNull(issues.hiddenAt));
|
|
402
|
-
const priorityOrder = sql `CASE ${issues.priority} WHEN 'critical' THEN 0 WHEN 'high' THEN 1 WHEN 'medium' THEN 2 WHEN 'low' THEN 3 ELSE 4 END`;
|
|
403
|
-
const searchOrder = sql `
|
|
404
|
-
CASE
|
|
405
|
-
WHEN ${titleStartsWithMatch} THEN 0
|
|
406
|
-
WHEN ${titleContainsMatch} THEN 1
|
|
407
|
-
WHEN ${identifierStartsWithMatch} THEN 2
|
|
408
|
-
WHEN ${identifierContainsMatch} THEN 3
|
|
409
|
-
WHEN ${descriptionContainsMatch} THEN 4
|
|
410
|
-
WHEN ${commentContainsMatch} THEN 5
|
|
411
|
-
ELSE 6
|
|
412
|
-
END
|
|
413
|
-
`;
|
|
414
|
-
const rows = await db
|
|
415
|
-
.select()
|
|
416
|
-
.from(issues)
|
|
417
|
-
.where(and(...conditions))
|
|
418
|
-
.orderBy(hasSearch ? asc(searchOrder) : asc(priorityOrder), asc(priorityOrder), desc(issues.updatedAt));
|
|
419
|
-
const withLabels = await withIssueLabels(db, rows);
|
|
420
|
-
const runMap = await activeRunMapForIssues(db, withLabels);
|
|
421
|
-
const withRuns = withActiveRuns(withLabels, runMap);
|
|
422
|
-
if (!contextUserId || withRuns.length === 0) {
|
|
423
|
-
return withRuns;
|
|
424
|
-
}
|
|
425
|
-
const issueIds = withRuns.map((row) => row.id);
|
|
426
|
-
const statsRows = await db
|
|
427
|
-
.select({
|
|
428
|
-
issueId: issueComments.issueId,
|
|
429
|
-
myLastCommentAt: sql `
|
|
430
|
-
MAX(CASE WHEN ${issueComments.authorUserId} = ${contextUserId} THEN ${issueComments.createdAt} END)
|
|
431
|
-
`,
|
|
432
|
-
lastExternalCommentAt: sql `
|
|
433
|
-
MAX(
|
|
434
|
-
CASE
|
|
435
|
-
WHEN ${issueComments.authorUserId} IS NULL OR ${issueComments.authorUserId} <> ${contextUserId}
|
|
436
|
-
THEN ${issueComments.createdAt}
|
|
437
|
-
END
|
|
438
|
-
)
|
|
439
|
-
`,
|
|
440
|
-
})
|
|
441
|
-
.from(issueComments)
|
|
442
|
-
.where(and(eq(issueComments.companyId, companyId), inArray(issueComments.issueId, issueIds)))
|
|
443
|
-
.groupBy(issueComments.issueId);
|
|
444
|
-
const readRows = await db
|
|
445
|
-
.select({
|
|
446
|
-
issueId: issueReadStates.issueId,
|
|
447
|
-
myLastReadAt: issueReadStates.lastReadAt,
|
|
448
|
-
})
|
|
449
|
-
.from(issueReadStates)
|
|
450
|
-
.where(and(eq(issueReadStates.companyId, companyId), eq(issueReadStates.userId, contextUserId), inArray(issueReadStates.issueId, issueIds)));
|
|
451
|
-
const statsByIssueId = new Map(statsRows.map((row) => [row.issueId, row]));
|
|
452
|
-
const readByIssueId = new Map(readRows.map((row) => [row.issueId, row.myLastReadAt]));
|
|
453
|
-
return withRuns.map((row) => ({
|
|
454
|
-
...row,
|
|
455
|
-
...deriveIssueUserContext(row, contextUserId, {
|
|
456
|
-
myLastCommentAt: statsByIssueId.get(row.id)?.myLastCommentAt ?? null,
|
|
457
|
-
myLastReadAt: readByIssueId.get(row.id) ?? null,
|
|
458
|
-
lastExternalCommentAt: statsByIssueId.get(row.id)?.lastExternalCommentAt ?? null,
|
|
459
|
-
}),
|
|
460
|
-
}));
|
|
461
|
-
},
|
|
462
|
-
countUnreadTouchedByUser: async (companyId, userId, status) => {
|
|
463
|
-
const conditions = [
|
|
464
|
-
eq(issues.companyId, companyId),
|
|
465
|
-
isNull(issues.hiddenAt),
|
|
466
|
-
unreadForUserCondition(companyId, userId),
|
|
467
|
-
];
|
|
468
|
-
if (status) {
|
|
469
|
-
const statuses = status.split(",").map((s) => s.trim()).filter(Boolean);
|
|
470
|
-
if (statuses.length === 1) {
|
|
471
|
-
conditions.push(eq(issues.status, statuses[0]));
|
|
472
|
-
}
|
|
473
|
-
else if (statuses.length > 1) {
|
|
474
|
-
conditions.push(inArray(issues.status, statuses));
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
const [row] = await db
|
|
478
|
-
.select({ count: sql `count(*)` })
|
|
479
|
-
.from(issues)
|
|
480
|
-
.where(and(...conditions));
|
|
481
|
-
return Number(row?.count ?? 0);
|
|
482
|
-
},
|
|
483
|
-
markRead: async (companyId, issueId, userId, readAt = new Date()) => {
|
|
484
|
-
const now = new Date();
|
|
485
|
-
const [row] = await db
|
|
486
|
-
.insert(issueReadStates)
|
|
487
|
-
.values({
|
|
488
|
-
companyId,
|
|
489
|
-
issueId,
|
|
490
|
-
userId,
|
|
491
|
-
lastReadAt: readAt,
|
|
492
|
-
updatedAt: now,
|
|
493
|
-
})
|
|
494
|
-
.onConflictDoUpdate({
|
|
495
|
-
target: [issueReadStates.companyId, issueReadStates.issueId, issueReadStates.userId],
|
|
496
|
-
set: {
|
|
497
|
-
lastReadAt: readAt,
|
|
498
|
-
updatedAt: now,
|
|
499
|
-
},
|
|
500
|
-
})
|
|
501
|
-
.returning();
|
|
502
|
-
return row;
|
|
503
|
-
},
|
|
504
|
-
getById: async (id) => {
|
|
505
|
-
const row = await db
|
|
506
|
-
.select()
|
|
507
|
-
.from(issues)
|
|
508
|
-
.where(eq(issues.id, id))
|
|
509
|
-
.then((rows) => rows[0] ?? null);
|
|
510
|
-
if (!row)
|
|
511
|
-
return null;
|
|
512
|
-
const [enriched] = await withIssueLabels(db, [row]);
|
|
513
|
-
return enriched;
|
|
514
|
-
},
|
|
515
|
-
getByIdentifier: async (identifier) => {
|
|
516
|
-
const row = await db
|
|
517
|
-
.select()
|
|
518
|
-
.from(issues)
|
|
519
|
-
.where(eq(issues.identifier, identifier.toUpperCase()))
|
|
520
|
-
.then((rows) => rows[0] ?? null);
|
|
521
|
-
if (!row)
|
|
522
|
-
return null;
|
|
523
|
-
const [enriched] = await withIssueLabels(db, [row]);
|
|
524
|
-
return enriched;
|
|
525
|
-
},
|
|
526
|
-
create: async (companyId, data) => {
|
|
527
|
-
const { labelIds: inputLabelIds, ...issueData } = data;
|
|
528
|
-
const isolatedWorkspacesEnabled = (await instanceSettings.getExperimental()).enableIsolatedWorkspaces;
|
|
529
|
-
if (!isolatedWorkspacesEnabled) {
|
|
530
|
-
delete issueData.executionWorkspaceId;
|
|
531
|
-
delete issueData.executionWorkspacePreference;
|
|
532
|
-
delete issueData.executionWorkspaceSettings;
|
|
533
|
-
}
|
|
534
|
-
if (data.assigneeAgentId && data.assigneeUserId) {
|
|
535
|
-
throw unprocessable("Issue can only have one assignee");
|
|
536
|
-
}
|
|
537
|
-
if (data.assigneeAgentId) {
|
|
538
|
-
await assertAssignableAgent(companyId, data.assigneeAgentId);
|
|
539
|
-
}
|
|
540
|
-
if (data.assigneeUserId) {
|
|
541
|
-
await assertAssignableUser(companyId, data.assigneeUserId);
|
|
542
|
-
}
|
|
543
|
-
if (data.projectWorkspaceId) {
|
|
544
|
-
await assertValidProjectWorkspace(companyId, data.projectId, data.projectWorkspaceId);
|
|
545
|
-
}
|
|
546
|
-
if (data.executionWorkspaceId) {
|
|
547
|
-
await assertValidExecutionWorkspace(companyId, data.projectId, data.executionWorkspaceId);
|
|
548
|
-
}
|
|
549
|
-
if (data.status === "in_progress" && !data.assigneeAgentId && !data.assigneeUserId) {
|
|
550
|
-
throw unprocessable("in_progress issues require an assignee");
|
|
551
|
-
}
|
|
552
|
-
return db.transaction(async (tx) => {
|
|
553
|
-
const defaultCompanyGoal = await getDefaultCompanyGoal(tx, companyId);
|
|
554
|
-
let executionWorkspaceSettings = issueData.executionWorkspaceSettings ?? null;
|
|
555
|
-
if (executionWorkspaceSettings == null && issueData.projectId) {
|
|
556
|
-
const project = await tx
|
|
557
|
-
.select({ executionWorkspacePolicy: projects.executionWorkspacePolicy })
|
|
558
|
-
.from(projects)
|
|
559
|
-
.where(and(eq(projects.id, issueData.projectId), eq(projects.companyId, companyId)))
|
|
560
|
-
.then((rows) => rows[0] ?? null);
|
|
561
|
-
executionWorkspaceSettings =
|
|
562
|
-
defaultIssueExecutionWorkspaceSettingsForProject(gateProjectExecutionWorkspacePolicy(parseProjectExecutionWorkspacePolicy(project?.executionWorkspacePolicy), isolatedWorkspacesEnabled));
|
|
563
|
-
}
|
|
564
|
-
let projectWorkspaceId = issueData.projectWorkspaceId ?? null;
|
|
565
|
-
if (!projectWorkspaceId && issueData.projectId) {
|
|
566
|
-
const project = await tx
|
|
567
|
-
.select({
|
|
568
|
-
executionWorkspacePolicy: projects.executionWorkspacePolicy,
|
|
569
|
-
})
|
|
570
|
-
.from(projects)
|
|
571
|
-
.where(and(eq(projects.id, issueData.projectId), eq(projects.companyId, companyId)))
|
|
572
|
-
.then((rows) => rows[0] ?? null);
|
|
573
|
-
const projectPolicy = parseProjectExecutionWorkspacePolicy(project?.executionWorkspacePolicy);
|
|
574
|
-
projectWorkspaceId = projectPolicy?.defaultProjectWorkspaceId ?? null;
|
|
575
|
-
if (!projectWorkspaceId) {
|
|
576
|
-
projectWorkspaceId = await tx
|
|
577
|
-
.select({ id: projectWorkspaces.id })
|
|
578
|
-
.from(projectWorkspaces)
|
|
579
|
-
.where(and(eq(projectWorkspaces.projectId, issueData.projectId), eq(projectWorkspaces.companyId, companyId)))
|
|
580
|
-
.orderBy(desc(projectWorkspaces.isPrimary), asc(projectWorkspaces.createdAt), asc(projectWorkspaces.id))
|
|
581
|
-
.then((rows) => rows[0]?.id ?? null);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
const [company] = await tx
|
|
585
|
-
.update(companies)
|
|
586
|
-
.set({ issueCounter: sql `${companies.issueCounter} + 1` })
|
|
587
|
-
.where(eq(companies.id, companyId))
|
|
588
|
-
.returning({ issueCounter: companies.issueCounter, issuePrefix: companies.issuePrefix });
|
|
589
|
-
const issueNumber = company.issueCounter;
|
|
590
|
-
const identifier = `${company.issuePrefix}-${issueNumber}`;
|
|
591
|
-
const values = {
|
|
592
|
-
...issueData,
|
|
593
|
-
goalId: resolveIssueGoalId({
|
|
594
|
-
projectId: issueData.projectId,
|
|
595
|
-
goalId: issueData.goalId,
|
|
596
|
-
defaultGoalId: defaultCompanyGoal?.id ?? null,
|
|
597
|
-
}),
|
|
598
|
-
...(projectWorkspaceId ? { projectWorkspaceId } : {}),
|
|
599
|
-
...(executionWorkspaceSettings ? { executionWorkspaceSettings } : {}),
|
|
600
|
-
companyId,
|
|
601
|
-
issueNumber,
|
|
602
|
-
identifier,
|
|
603
|
-
};
|
|
604
|
-
if (values.status === "in_progress" && !values.startedAt) {
|
|
605
|
-
values.startedAt = new Date();
|
|
606
|
-
}
|
|
607
|
-
if (values.status === "done") {
|
|
608
|
-
values.completedAt = new Date();
|
|
609
|
-
}
|
|
610
|
-
if (values.status === "cancelled") {
|
|
611
|
-
values.cancelledAt = new Date();
|
|
612
|
-
}
|
|
613
|
-
const [issue] = await tx.insert(issues).values(values).returning();
|
|
614
|
-
if (inputLabelIds) {
|
|
615
|
-
await syncIssueLabels(issue.id, companyId, inputLabelIds, tx);
|
|
616
|
-
}
|
|
617
|
-
const [enriched] = await withIssueLabels(tx, [issue]);
|
|
618
|
-
return enriched;
|
|
619
|
-
});
|
|
620
|
-
},
|
|
621
|
-
update: async (id, data) => {
|
|
622
|
-
const existing = await db
|
|
623
|
-
.select()
|
|
624
|
-
.from(issues)
|
|
625
|
-
.where(eq(issues.id, id))
|
|
626
|
-
.then((rows) => rows[0] ?? null);
|
|
627
|
-
if (!existing)
|
|
628
|
-
return null;
|
|
629
|
-
const { labelIds: nextLabelIds, ...issueData } = data;
|
|
630
|
-
const isolatedWorkspacesEnabled = (await instanceSettings.getExperimental()).enableIsolatedWorkspaces;
|
|
631
|
-
if (!isolatedWorkspacesEnabled) {
|
|
632
|
-
delete issueData.executionWorkspaceId;
|
|
633
|
-
delete issueData.executionWorkspacePreference;
|
|
634
|
-
delete issueData.executionWorkspaceSettings;
|
|
635
|
-
}
|
|
636
|
-
if (issueData.status) {
|
|
637
|
-
assertTransition(existing.status, issueData.status);
|
|
638
|
-
}
|
|
639
|
-
const patch = {
|
|
640
|
-
...issueData,
|
|
641
|
-
updatedAt: new Date(),
|
|
642
|
-
};
|
|
643
|
-
const nextAssigneeAgentId = issueData.assigneeAgentId !== undefined ? issueData.assigneeAgentId : existing.assigneeAgentId;
|
|
644
|
-
const nextAssigneeUserId = issueData.assigneeUserId !== undefined ? issueData.assigneeUserId : existing.assigneeUserId;
|
|
645
|
-
if (nextAssigneeAgentId && nextAssigneeUserId) {
|
|
646
|
-
throw unprocessable("Issue can only have one assignee");
|
|
647
|
-
}
|
|
648
|
-
if (patch.status === "in_progress" && !nextAssigneeAgentId && !nextAssigneeUserId) {
|
|
649
|
-
throw unprocessable("in_progress issues require an assignee");
|
|
650
|
-
}
|
|
651
|
-
if (issueData.assigneeAgentId) {
|
|
652
|
-
await assertAssignableAgent(existing.companyId, issueData.assigneeAgentId);
|
|
653
|
-
}
|
|
654
|
-
if (issueData.assigneeUserId) {
|
|
655
|
-
await assertAssignableUser(existing.companyId, issueData.assigneeUserId);
|
|
656
|
-
}
|
|
657
|
-
const nextProjectId = issueData.projectId !== undefined ? issueData.projectId : existing.projectId;
|
|
658
|
-
const nextProjectWorkspaceId = issueData.projectWorkspaceId !== undefined ? issueData.projectWorkspaceId : existing.projectWorkspaceId;
|
|
659
|
-
const nextExecutionWorkspaceId = issueData.executionWorkspaceId !== undefined ? issueData.executionWorkspaceId : existing.executionWorkspaceId;
|
|
660
|
-
if (nextProjectWorkspaceId) {
|
|
661
|
-
await assertValidProjectWorkspace(existing.companyId, nextProjectId, nextProjectWorkspaceId);
|
|
662
|
-
}
|
|
663
|
-
if (nextExecutionWorkspaceId) {
|
|
664
|
-
await assertValidExecutionWorkspace(existing.companyId, nextProjectId, nextExecutionWorkspaceId);
|
|
665
|
-
}
|
|
666
|
-
applyStatusSideEffects(issueData.status, patch);
|
|
667
|
-
if (issueData.status && issueData.status !== "done") {
|
|
668
|
-
patch.completedAt = null;
|
|
669
|
-
}
|
|
670
|
-
if (issueData.status && issueData.status !== "cancelled") {
|
|
671
|
-
patch.cancelledAt = null;
|
|
672
|
-
}
|
|
673
|
-
if (issueData.status && issueData.status !== "in_progress") {
|
|
674
|
-
patch.checkoutRunId = null;
|
|
675
|
-
}
|
|
676
|
-
if ((issueData.assigneeAgentId !== undefined && issueData.assigneeAgentId !== existing.assigneeAgentId) ||
|
|
677
|
-
(issueData.assigneeUserId !== undefined && issueData.assigneeUserId !== existing.assigneeUserId)) {
|
|
678
|
-
patch.checkoutRunId = null;
|
|
679
|
-
}
|
|
680
|
-
return db.transaction(async (tx) => {
|
|
681
|
-
const defaultCompanyGoal = await getDefaultCompanyGoal(tx, existing.companyId);
|
|
682
|
-
patch.goalId = resolveNextIssueGoalId({
|
|
683
|
-
currentProjectId: existing.projectId,
|
|
684
|
-
currentGoalId: existing.goalId,
|
|
685
|
-
projectId: issueData.projectId,
|
|
686
|
-
goalId: issueData.goalId,
|
|
687
|
-
defaultGoalId: defaultCompanyGoal?.id ?? null,
|
|
688
|
-
});
|
|
689
|
-
const updated = await tx
|
|
690
|
-
.update(issues)
|
|
691
|
-
.set(patch)
|
|
692
|
-
.where(eq(issues.id, id))
|
|
693
|
-
.returning()
|
|
694
|
-
.then((rows) => rows[0] ?? null);
|
|
695
|
-
if (!updated)
|
|
696
|
-
return null;
|
|
697
|
-
if (nextLabelIds !== undefined) {
|
|
698
|
-
await syncIssueLabels(updated.id, existing.companyId, nextLabelIds, tx);
|
|
699
|
-
}
|
|
700
|
-
const [enriched] = await withIssueLabels(tx, [updated]);
|
|
701
|
-
return enriched;
|
|
702
|
-
});
|
|
703
|
-
},
|
|
704
|
-
remove: (id) => db.transaction(async (tx) => {
|
|
705
|
-
const attachmentAssetIds = await tx
|
|
706
|
-
.select({ assetId: issueAttachments.assetId })
|
|
707
|
-
.from(issueAttachments)
|
|
708
|
-
.where(eq(issueAttachments.issueId, id));
|
|
709
|
-
const issueDocumentIds = await tx
|
|
710
|
-
.select({ documentId: issueDocuments.documentId })
|
|
711
|
-
.from(issueDocuments)
|
|
712
|
-
.where(eq(issueDocuments.issueId, id));
|
|
713
|
-
const removedIssue = await tx
|
|
714
|
-
.delete(issues)
|
|
715
|
-
.where(eq(issues.id, id))
|
|
716
|
-
.returning()
|
|
717
|
-
.then((rows) => rows[0] ?? null);
|
|
718
|
-
if (removedIssue && attachmentAssetIds.length > 0) {
|
|
719
|
-
await tx
|
|
720
|
-
.delete(assets)
|
|
721
|
-
.where(inArray(assets.id, attachmentAssetIds.map((row) => row.assetId)));
|
|
722
|
-
}
|
|
723
|
-
if (removedIssue && issueDocumentIds.length > 0) {
|
|
724
|
-
await tx
|
|
725
|
-
.delete(documents)
|
|
726
|
-
.where(inArray(documents.id, issueDocumentIds.map((row) => row.documentId)));
|
|
727
|
-
}
|
|
728
|
-
if (!removedIssue)
|
|
729
|
-
return null;
|
|
730
|
-
const [enriched] = await withIssueLabels(tx, [removedIssue]);
|
|
731
|
-
return enriched;
|
|
732
|
-
}),
|
|
733
|
-
checkout: async (id, agentId, expectedStatuses, checkoutRunId) => {
|
|
734
|
-
const issueCompany = await db
|
|
735
|
-
.select({ companyId: issues.companyId })
|
|
736
|
-
.from(issues)
|
|
737
|
-
.where(eq(issues.id, id))
|
|
738
|
-
.then((rows) => rows[0] ?? null);
|
|
739
|
-
if (!issueCompany)
|
|
740
|
-
throw notFound("Issue not found");
|
|
741
|
-
await assertAssignableAgent(issueCompany.companyId, agentId);
|
|
742
|
-
const now = new Date();
|
|
743
|
-
const sameRunAssigneeCondition = checkoutRunId
|
|
744
|
-
? and(eq(issues.assigneeAgentId, agentId), or(isNull(issues.checkoutRunId), eq(issues.checkoutRunId, checkoutRunId)))
|
|
745
|
-
: and(eq(issues.assigneeAgentId, agentId), isNull(issues.checkoutRunId));
|
|
746
|
-
const executionLockCondition = checkoutRunId
|
|
747
|
-
? or(isNull(issues.executionRunId), eq(issues.executionRunId, checkoutRunId))
|
|
748
|
-
: isNull(issues.executionRunId);
|
|
749
|
-
const updated = await db
|
|
750
|
-
.update(issues)
|
|
751
|
-
.set({
|
|
752
|
-
assigneeAgentId: agentId,
|
|
753
|
-
assigneeUserId: null,
|
|
754
|
-
checkoutRunId,
|
|
755
|
-
executionRunId: checkoutRunId,
|
|
756
|
-
status: "in_progress",
|
|
757
|
-
startedAt: now,
|
|
758
|
-
updatedAt: now,
|
|
759
|
-
})
|
|
760
|
-
.where(and(eq(issues.id, id), inArray(issues.status, expectedStatuses), or(isNull(issues.assigneeAgentId), sameRunAssigneeCondition), executionLockCondition))
|
|
761
|
-
.returning()
|
|
762
|
-
.then((rows) => rows[0] ?? null);
|
|
763
|
-
if (updated) {
|
|
764
|
-
const [enriched] = await withIssueLabels(db, [updated]);
|
|
765
|
-
return enriched;
|
|
766
|
-
}
|
|
767
|
-
const current = await db
|
|
768
|
-
.select({
|
|
769
|
-
id: issues.id,
|
|
770
|
-
status: issues.status,
|
|
771
|
-
assigneeAgentId: issues.assigneeAgentId,
|
|
772
|
-
checkoutRunId: issues.checkoutRunId,
|
|
773
|
-
executionRunId: issues.executionRunId,
|
|
774
|
-
})
|
|
775
|
-
.from(issues)
|
|
776
|
-
.where(eq(issues.id, id))
|
|
777
|
-
.then((rows) => rows[0] ?? null);
|
|
778
|
-
if (!current)
|
|
779
|
-
throw notFound("Issue not found");
|
|
780
|
-
if (current.assigneeAgentId === agentId &&
|
|
781
|
-
current.status === "in_progress" &&
|
|
782
|
-
current.checkoutRunId == null &&
|
|
783
|
-
(current.executionRunId == null || current.executionRunId === checkoutRunId) &&
|
|
784
|
-
checkoutRunId) {
|
|
785
|
-
const adopted = await db
|
|
786
|
-
.update(issues)
|
|
787
|
-
.set({
|
|
788
|
-
checkoutRunId,
|
|
789
|
-
executionRunId: checkoutRunId,
|
|
790
|
-
updatedAt: new Date(),
|
|
791
|
-
})
|
|
792
|
-
.where(and(eq(issues.id, id), eq(issues.status, "in_progress"), eq(issues.assigneeAgentId, agentId), isNull(issues.checkoutRunId), or(isNull(issues.executionRunId), eq(issues.executionRunId, checkoutRunId))))
|
|
793
|
-
.returning()
|
|
794
|
-
.then((rows) => rows[0] ?? null);
|
|
795
|
-
if (adopted)
|
|
796
|
-
return adopted;
|
|
797
|
-
}
|
|
798
|
-
if (checkoutRunId &&
|
|
799
|
-
current.assigneeAgentId === agentId &&
|
|
800
|
-
current.status === "in_progress" &&
|
|
801
|
-
current.checkoutRunId &&
|
|
802
|
-
current.checkoutRunId !== checkoutRunId) {
|
|
803
|
-
const adopted = await adoptStaleCheckoutRun({
|
|
804
|
-
issueId: id,
|
|
805
|
-
actorAgentId: agentId,
|
|
806
|
-
actorRunId: checkoutRunId,
|
|
807
|
-
expectedCheckoutRunId: current.checkoutRunId,
|
|
808
|
-
});
|
|
809
|
-
if (adopted) {
|
|
810
|
-
const row = await db.select().from(issues).where(eq(issues.id, id)).then((rows) => rows[0]);
|
|
811
|
-
const [enriched] = await withIssueLabels(db, [row]);
|
|
812
|
-
return enriched;
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
// If this run already owns it and it's in_progress, return it (no self-409)
|
|
816
|
-
if (current.assigneeAgentId === agentId &&
|
|
817
|
-
current.status === "in_progress" &&
|
|
818
|
-
sameRunLock(current.checkoutRunId, checkoutRunId)) {
|
|
819
|
-
const row = await db.select().from(issues).where(eq(issues.id, id)).then((rows) => rows[0]);
|
|
820
|
-
const [enriched] = await withIssueLabels(db, [row]);
|
|
821
|
-
return enriched;
|
|
822
|
-
}
|
|
823
|
-
throw conflict("Issue checkout conflict", {
|
|
824
|
-
issueId: current.id,
|
|
825
|
-
status: current.status,
|
|
826
|
-
assigneeAgentId: current.assigneeAgentId,
|
|
827
|
-
checkoutRunId: current.checkoutRunId,
|
|
828
|
-
executionRunId: current.executionRunId,
|
|
829
|
-
});
|
|
830
|
-
},
|
|
831
|
-
assertCheckoutOwner: async (id, actorAgentId, actorRunId) => {
|
|
832
|
-
const current = await db
|
|
833
|
-
.select({
|
|
834
|
-
id: issues.id,
|
|
835
|
-
status: issues.status,
|
|
836
|
-
assigneeAgentId: issues.assigneeAgentId,
|
|
837
|
-
checkoutRunId: issues.checkoutRunId,
|
|
838
|
-
})
|
|
839
|
-
.from(issues)
|
|
840
|
-
.where(eq(issues.id, id))
|
|
841
|
-
.then((rows) => rows[0] ?? null);
|
|
842
|
-
if (!current)
|
|
843
|
-
throw notFound("Issue not found");
|
|
844
|
-
if (current.status === "in_progress" &&
|
|
845
|
-
current.assigneeAgentId === actorAgentId &&
|
|
846
|
-
sameRunLock(current.checkoutRunId, actorRunId)) {
|
|
847
|
-
return { ...current, adoptedFromRunId: null };
|
|
848
|
-
}
|
|
849
|
-
if (actorRunId &&
|
|
850
|
-
current.status === "in_progress" &&
|
|
851
|
-
current.assigneeAgentId === actorAgentId &&
|
|
852
|
-
current.checkoutRunId &&
|
|
853
|
-
current.checkoutRunId !== actorRunId) {
|
|
854
|
-
const adopted = await adoptStaleCheckoutRun({
|
|
855
|
-
issueId: id,
|
|
856
|
-
actorAgentId,
|
|
857
|
-
actorRunId,
|
|
858
|
-
expectedCheckoutRunId: current.checkoutRunId,
|
|
859
|
-
});
|
|
860
|
-
if (adopted) {
|
|
861
|
-
return {
|
|
862
|
-
...adopted,
|
|
863
|
-
adoptedFromRunId: current.checkoutRunId,
|
|
864
|
-
};
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
throw conflict("Issue run ownership conflict", {
|
|
868
|
-
issueId: current.id,
|
|
869
|
-
status: current.status,
|
|
870
|
-
assigneeAgentId: current.assigneeAgentId,
|
|
871
|
-
checkoutRunId: current.checkoutRunId,
|
|
872
|
-
actorAgentId,
|
|
873
|
-
actorRunId,
|
|
874
|
-
});
|
|
875
|
-
},
|
|
876
|
-
release: async (id, actorAgentId, actorRunId) => {
|
|
877
|
-
const existing = await db
|
|
878
|
-
.select()
|
|
879
|
-
.from(issues)
|
|
880
|
-
.where(eq(issues.id, id))
|
|
881
|
-
.then((rows) => rows[0] ?? null);
|
|
882
|
-
if (!existing)
|
|
883
|
-
return null;
|
|
884
|
-
if (actorAgentId && existing.assigneeAgentId && existing.assigneeAgentId !== actorAgentId) {
|
|
885
|
-
throw conflict("Only assignee can release issue");
|
|
886
|
-
}
|
|
887
|
-
if (actorAgentId &&
|
|
888
|
-
existing.status === "in_progress" &&
|
|
889
|
-
existing.assigneeAgentId === actorAgentId &&
|
|
890
|
-
existing.checkoutRunId &&
|
|
891
|
-
!sameRunLock(existing.checkoutRunId, actorRunId ?? null)) {
|
|
892
|
-
throw conflict("Only checkout run can release issue", {
|
|
893
|
-
issueId: existing.id,
|
|
894
|
-
assigneeAgentId: existing.assigneeAgentId,
|
|
895
|
-
checkoutRunId: existing.checkoutRunId,
|
|
896
|
-
actorRunId: actorRunId ?? null,
|
|
897
|
-
});
|
|
898
|
-
}
|
|
899
|
-
const updated = await db
|
|
900
|
-
.update(issues)
|
|
901
|
-
.set({
|
|
902
|
-
status: "todo",
|
|
903
|
-
assigneeAgentId: null,
|
|
904
|
-
checkoutRunId: null,
|
|
905
|
-
updatedAt: new Date(),
|
|
906
|
-
})
|
|
907
|
-
.where(eq(issues.id, id))
|
|
908
|
-
.returning()
|
|
909
|
-
.then((rows) => rows[0] ?? null);
|
|
910
|
-
if (!updated)
|
|
911
|
-
return null;
|
|
912
|
-
const [enriched] = await withIssueLabels(db, [updated]);
|
|
913
|
-
return enriched;
|
|
914
|
-
},
|
|
915
|
-
listLabels: (companyId) => db.select().from(labels).where(eq(labels.companyId, companyId)).orderBy(asc(labels.name), asc(labels.id)),
|
|
916
|
-
getLabelById: (id) => db
|
|
917
|
-
.select()
|
|
918
|
-
.from(labels)
|
|
919
|
-
.where(eq(labels.id, id))
|
|
920
|
-
.then((rows) => rows[0] ?? null),
|
|
921
|
-
createLabel: async (companyId, data) => {
|
|
922
|
-
const [created] = await db
|
|
923
|
-
.insert(labels)
|
|
924
|
-
.values({
|
|
925
|
-
companyId,
|
|
926
|
-
name: data.name.trim(),
|
|
927
|
-
color: data.color,
|
|
928
|
-
})
|
|
929
|
-
.returning();
|
|
930
|
-
return created;
|
|
931
|
-
},
|
|
932
|
-
deleteLabel: async (id) => db
|
|
933
|
-
.delete(labels)
|
|
934
|
-
.where(eq(labels.id, id))
|
|
935
|
-
.returning()
|
|
936
|
-
.then((rows) => rows[0] ?? null),
|
|
937
|
-
listComments: async (issueId, opts) => {
|
|
938
|
-
const order = opts?.order === "asc" ? "asc" : "desc";
|
|
939
|
-
const afterCommentId = opts?.afterCommentId?.trim() || null;
|
|
940
|
-
const limit = opts?.limit && opts.limit > 0
|
|
941
|
-
? Math.min(Math.floor(opts.limit), MAX_ISSUE_COMMENT_PAGE_LIMIT)
|
|
942
|
-
: null;
|
|
943
|
-
const conditions = [eq(issueComments.issueId, issueId)];
|
|
944
|
-
if (afterCommentId) {
|
|
945
|
-
const anchor = await db
|
|
946
|
-
.select({
|
|
947
|
-
id: issueComments.id,
|
|
948
|
-
createdAt: issueComments.createdAt,
|
|
949
|
-
})
|
|
950
|
-
.from(issueComments)
|
|
951
|
-
.where(and(eq(issueComments.issueId, issueId), eq(issueComments.id, afterCommentId)))
|
|
952
|
-
.then((rows) => rows[0] ?? null);
|
|
953
|
-
if (!anchor)
|
|
954
|
-
return [];
|
|
955
|
-
conditions.push(order === "asc"
|
|
956
|
-
? sql `(
|
|
957
|
-
${issueComments.createdAt} > ${anchor.createdAt}
|
|
958
|
-
OR (${issueComments.createdAt} = ${anchor.createdAt} AND ${issueComments.id} > ${anchor.id})
|
|
959
|
-
)`
|
|
960
|
-
: sql `(
|
|
961
|
-
${issueComments.createdAt} < ${anchor.createdAt}
|
|
962
|
-
OR (${issueComments.createdAt} = ${anchor.createdAt} AND ${issueComments.id} < ${anchor.id})
|
|
963
|
-
)`);
|
|
964
|
-
}
|
|
965
|
-
const query = db
|
|
966
|
-
.select()
|
|
967
|
-
.from(issueComments)
|
|
968
|
-
.where(and(...conditions))
|
|
969
|
-
.orderBy(order === "asc" ? asc(issueComments.createdAt) : desc(issueComments.createdAt), order === "asc" ? asc(issueComments.id) : desc(issueComments.id));
|
|
970
|
-
const comments = limit ? await query.limit(limit) : await query;
|
|
971
|
-
return comments.map(redactIssueComment);
|
|
972
|
-
},
|
|
973
|
-
getCommentCursor: async (issueId) => {
|
|
974
|
-
const [latest, countRow] = await Promise.all([
|
|
975
|
-
db
|
|
976
|
-
.select({
|
|
977
|
-
latestCommentId: issueComments.id,
|
|
978
|
-
latestCommentAt: issueComments.createdAt,
|
|
979
|
-
})
|
|
980
|
-
.from(issueComments)
|
|
981
|
-
.where(eq(issueComments.issueId, issueId))
|
|
982
|
-
.orderBy(desc(issueComments.createdAt), desc(issueComments.id))
|
|
983
|
-
.limit(1)
|
|
984
|
-
.then((rows) => rows[0] ?? null),
|
|
985
|
-
db
|
|
986
|
-
.select({
|
|
987
|
-
totalComments: sql `count(*)::int`,
|
|
988
|
-
})
|
|
989
|
-
.from(issueComments)
|
|
990
|
-
.where(eq(issueComments.issueId, issueId))
|
|
991
|
-
.then((rows) => rows[0] ?? null),
|
|
992
|
-
]);
|
|
993
|
-
return {
|
|
994
|
-
totalComments: Number(countRow?.totalComments ?? 0),
|
|
995
|
-
latestCommentId: latest?.latestCommentId ?? null,
|
|
996
|
-
latestCommentAt: latest?.latestCommentAt ?? null,
|
|
997
|
-
};
|
|
998
|
-
},
|
|
999
|
-
getComment: (commentId) => db
|
|
1000
|
-
.select()
|
|
1001
|
-
.from(issueComments)
|
|
1002
|
-
.where(eq(issueComments.id, commentId))
|
|
1003
|
-
.then((rows) => {
|
|
1004
|
-
const comment = rows[0] ?? null;
|
|
1005
|
-
return comment ? redactIssueComment(comment) : null;
|
|
1006
|
-
}),
|
|
1007
|
-
addComment: async (issueId, body, actor) => {
|
|
1008
|
-
const issue = await db
|
|
1009
|
-
.select({ companyId: issues.companyId })
|
|
1010
|
-
.from(issues)
|
|
1011
|
-
.where(eq(issues.id, issueId))
|
|
1012
|
-
.then((rows) => rows[0] ?? null);
|
|
1013
|
-
if (!issue)
|
|
1014
|
-
throw notFound("Issue not found");
|
|
1015
|
-
const redactedBody = redactCurrentUserText(body);
|
|
1016
|
-
const [comment] = await db
|
|
1017
|
-
.insert(issueComments)
|
|
1018
|
-
.values({
|
|
1019
|
-
companyId: issue.companyId,
|
|
1020
|
-
issueId,
|
|
1021
|
-
authorAgentId: actor.agentId ?? null,
|
|
1022
|
-
authorUserId: actor.userId ?? null,
|
|
1023
|
-
body: redactedBody,
|
|
1024
|
-
})
|
|
1025
|
-
.returning();
|
|
1026
|
-
// Update issue's updatedAt so comment activity is reflected in recency sorting
|
|
1027
|
-
await db
|
|
1028
|
-
.update(issues)
|
|
1029
|
-
.set({ updatedAt: new Date() })
|
|
1030
|
-
.where(eq(issues.id, issueId));
|
|
1031
|
-
return redactIssueComment(comment);
|
|
1032
|
-
},
|
|
1033
|
-
createAttachment: async (input) => {
|
|
1034
|
-
const issue = await db
|
|
1035
|
-
.select({ id: issues.id, companyId: issues.companyId })
|
|
1036
|
-
.from(issues)
|
|
1037
|
-
.where(eq(issues.id, input.issueId))
|
|
1038
|
-
.then((rows) => rows[0] ?? null);
|
|
1039
|
-
if (!issue)
|
|
1040
|
-
throw notFound("Issue not found");
|
|
1041
|
-
if (input.issueCommentId) {
|
|
1042
|
-
const comment = await db
|
|
1043
|
-
.select({ id: issueComments.id, companyId: issueComments.companyId, issueId: issueComments.issueId })
|
|
1044
|
-
.from(issueComments)
|
|
1045
|
-
.where(eq(issueComments.id, input.issueCommentId))
|
|
1046
|
-
.then((rows) => rows[0] ?? null);
|
|
1047
|
-
if (!comment)
|
|
1048
|
-
throw notFound("Issue comment not found");
|
|
1049
|
-
if (comment.companyId !== issue.companyId || comment.issueId !== issue.id) {
|
|
1050
|
-
throw unprocessable("Attachment comment must belong to same issue and company");
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
return db.transaction(async (tx) => {
|
|
1054
|
-
const [asset] = await tx
|
|
1055
|
-
.insert(assets)
|
|
1056
|
-
.values({
|
|
1057
|
-
companyId: issue.companyId,
|
|
1058
|
-
provider: input.provider,
|
|
1059
|
-
objectKey: input.objectKey,
|
|
1060
|
-
contentType: input.contentType,
|
|
1061
|
-
byteSize: input.byteSize,
|
|
1062
|
-
sha256: input.sha256,
|
|
1063
|
-
originalFilename: input.originalFilename ?? null,
|
|
1064
|
-
createdByAgentId: input.createdByAgentId ?? null,
|
|
1065
|
-
createdByUserId: input.createdByUserId ?? null,
|
|
1066
|
-
})
|
|
1067
|
-
.returning();
|
|
1068
|
-
const [attachment] = await tx
|
|
1069
|
-
.insert(issueAttachments)
|
|
1070
|
-
.values({
|
|
1071
|
-
companyId: issue.companyId,
|
|
1072
|
-
issueId: issue.id,
|
|
1073
|
-
assetId: asset.id,
|
|
1074
|
-
issueCommentId: input.issueCommentId ?? null,
|
|
1075
|
-
})
|
|
1076
|
-
.returning();
|
|
1077
|
-
return {
|
|
1078
|
-
id: attachment.id,
|
|
1079
|
-
companyId: attachment.companyId,
|
|
1080
|
-
issueId: attachment.issueId,
|
|
1081
|
-
issueCommentId: attachment.issueCommentId,
|
|
1082
|
-
assetId: attachment.assetId,
|
|
1083
|
-
provider: asset.provider,
|
|
1084
|
-
objectKey: asset.objectKey,
|
|
1085
|
-
contentType: asset.contentType,
|
|
1086
|
-
byteSize: asset.byteSize,
|
|
1087
|
-
sha256: asset.sha256,
|
|
1088
|
-
originalFilename: asset.originalFilename,
|
|
1089
|
-
createdByAgentId: asset.createdByAgentId,
|
|
1090
|
-
createdByUserId: asset.createdByUserId,
|
|
1091
|
-
createdAt: attachment.createdAt,
|
|
1092
|
-
updatedAt: attachment.updatedAt,
|
|
1093
|
-
};
|
|
1094
|
-
});
|
|
1095
|
-
},
|
|
1096
|
-
listAttachments: async (issueId) => db
|
|
1097
|
-
.select({
|
|
1098
|
-
id: issueAttachments.id,
|
|
1099
|
-
companyId: issueAttachments.companyId,
|
|
1100
|
-
issueId: issueAttachments.issueId,
|
|
1101
|
-
issueCommentId: issueAttachments.issueCommentId,
|
|
1102
|
-
assetId: issueAttachments.assetId,
|
|
1103
|
-
provider: assets.provider,
|
|
1104
|
-
objectKey: assets.objectKey,
|
|
1105
|
-
contentType: assets.contentType,
|
|
1106
|
-
byteSize: assets.byteSize,
|
|
1107
|
-
sha256: assets.sha256,
|
|
1108
|
-
originalFilename: assets.originalFilename,
|
|
1109
|
-
createdByAgentId: assets.createdByAgentId,
|
|
1110
|
-
createdByUserId: assets.createdByUserId,
|
|
1111
|
-
createdAt: issueAttachments.createdAt,
|
|
1112
|
-
updatedAt: issueAttachments.updatedAt,
|
|
1113
|
-
})
|
|
1114
|
-
.from(issueAttachments)
|
|
1115
|
-
.innerJoin(assets, eq(issueAttachments.assetId, assets.id))
|
|
1116
|
-
.where(eq(issueAttachments.issueId, issueId))
|
|
1117
|
-
.orderBy(desc(issueAttachments.createdAt)),
|
|
1118
|
-
getAttachmentById: async (id) => db
|
|
1119
|
-
.select({
|
|
1120
|
-
id: issueAttachments.id,
|
|
1121
|
-
companyId: issueAttachments.companyId,
|
|
1122
|
-
issueId: issueAttachments.issueId,
|
|
1123
|
-
issueCommentId: issueAttachments.issueCommentId,
|
|
1124
|
-
assetId: issueAttachments.assetId,
|
|
1125
|
-
provider: assets.provider,
|
|
1126
|
-
objectKey: assets.objectKey,
|
|
1127
|
-
contentType: assets.contentType,
|
|
1128
|
-
byteSize: assets.byteSize,
|
|
1129
|
-
sha256: assets.sha256,
|
|
1130
|
-
originalFilename: assets.originalFilename,
|
|
1131
|
-
createdByAgentId: assets.createdByAgentId,
|
|
1132
|
-
createdByUserId: assets.createdByUserId,
|
|
1133
|
-
createdAt: issueAttachments.createdAt,
|
|
1134
|
-
updatedAt: issueAttachments.updatedAt,
|
|
1135
|
-
})
|
|
1136
|
-
.from(issueAttachments)
|
|
1137
|
-
.innerJoin(assets, eq(issueAttachments.assetId, assets.id))
|
|
1138
|
-
.where(eq(issueAttachments.id, id))
|
|
1139
|
-
.then((rows) => rows[0] ?? null),
|
|
1140
|
-
removeAttachment: async (id) => db.transaction(async (tx) => {
|
|
1141
|
-
const existing = await tx
|
|
1142
|
-
.select({
|
|
1143
|
-
id: issueAttachments.id,
|
|
1144
|
-
companyId: issueAttachments.companyId,
|
|
1145
|
-
issueId: issueAttachments.issueId,
|
|
1146
|
-
issueCommentId: issueAttachments.issueCommentId,
|
|
1147
|
-
assetId: issueAttachments.assetId,
|
|
1148
|
-
provider: assets.provider,
|
|
1149
|
-
objectKey: assets.objectKey,
|
|
1150
|
-
contentType: assets.contentType,
|
|
1151
|
-
byteSize: assets.byteSize,
|
|
1152
|
-
sha256: assets.sha256,
|
|
1153
|
-
originalFilename: assets.originalFilename,
|
|
1154
|
-
createdByAgentId: assets.createdByAgentId,
|
|
1155
|
-
createdByUserId: assets.createdByUserId,
|
|
1156
|
-
createdAt: issueAttachments.createdAt,
|
|
1157
|
-
updatedAt: issueAttachments.updatedAt,
|
|
1158
|
-
})
|
|
1159
|
-
.from(issueAttachments)
|
|
1160
|
-
.innerJoin(assets, eq(issueAttachments.assetId, assets.id))
|
|
1161
|
-
.where(eq(issueAttachments.id, id))
|
|
1162
|
-
.then((rows) => rows[0] ?? null);
|
|
1163
|
-
if (!existing)
|
|
1164
|
-
return null;
|
|
1165
|
-
await tx.delete(issueAttachments).where(eq(issueAttachments.id, id));
|
|
1166
|
-
await tx.delete(assets).where(eq(assets.id, existing.assetId));
|
|
1167
|
-
return existing;
|
|
1168
|
-
}),
|
|
1169
|
-
findMentionedAgents: async (companyId, body) => {
|
|
1170
|
-
const re = /\B@([^\s@,!?.]+)/g;
|
|
1171
|
-
const tokens = new Set();
|
|
1172
|
-
let m;
|
|
1173
|
-
while ((m = re.exec(body)) !== null)
|
|
1174
|
-
tokens.add(m[1].toLowerCase());
|
|
1175
|
-
if (tokens.size === 0)
|
|
1176
|
-
return [];
|
|
1177
|
-
const rows = await db.select({ id: agents.id, name: agents.name })
|
|
1178
|
-
.from(agents).where(eq(agents.companyId, companyId));
|
|
1179
|
-
return rows.filter(a => tokens.has(a.name.toLowerCase())).map(a => a.id);
|
|
1180
|
-
},
|
|
1181
|
-
findMentionedProjectIds: async (issueId) => {
|
|
1182
|
-
const issue = await db
|
|
1183
|
-
.select({
|
|
1184
|
-
companyId: issues.companyId,
|
|
1185
|
-
title: issues.title,
|
|
1186
|
-
description: issues.description,
|
|
1187
|
-
})
|
|
1188
|
-
.from(issues)
|
|
1189
|
-
.where(eq(issues.id, issueId))
|
|
1190
|
-
.then((rows) => rows[0] ?? null);
|
|
1191
|
-
if (!issue)
|
|
1192
|
-
return [];
|
|
1193
|
-
const comments = await db
|
|
1194
|
-
.select({ body: issueComments.body })
|
|
1195
|
-
.from(issueComments)
|
|
1196
|
-
.where(eq(issueComments.issueId, issueId));
|
|
1197
|
-
const mentionedIds = new Set();
|
|
1198
|
-
for (const source of [
|
|
1199
|
-
issue.title,
|
|
1200
|
-
issue.description ?? "",
|
|
1201
|
-
...comments.map((comment) => comment.body),
|
|
1202
|
-
]) {
|
|
1203
|
-
for (const projectId of extractProjectMentionIds(source)) {
|
|
1204
|
-
mentionedIds.add(projectId);
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
if (mentionedIds.size === 0)
|
|
1208
|
-
return [];
|
|
1209
|
-
const rows = await db
|
|
1210
|
-
.select({ id: projects.id })
|
|
1211
|
-
.from(projects)
|
|
1212
|
-
.where(and(eq(projects.companyId, issue.companyId), inArray(projects.id, [...mentionedIds])));
|
|
1213
|
-
const valid = new Set(rows.map((row) => row.id));
|
|
1214
|
-
return [...mentionedIds].filter((projectId) => valid.has(projectId));
|
|
1215
|
-
},
|
|
1216
|
-
getAncestors: async (issueId) => {
|
|
1217
|
-
const raw = [];
|
|
1218
|
-
const visited = new Set([issueId]);
|
|
1219
|
-
const start = await db.select().from(issues).where(eq(issues.id, issueId)).then(r => r[0] ?? null);
|
|
1220
|
-
let currentId = start?.parentId ?? null;
|
|
1221
|
-
while (currentId && !visited.has(currentId) && raw.length < 50) {
|
|
1222
|
-
visited.add(currentId);
|
|
1223
|
-
const parent = await db.select({
|
|
1224
|
-
id: issues.id, identifier: issues.identifier, title: issues.title, description: issues.description,
|
|
1225
|
-
status: issues.status, priority: issues.priority,
|
|
1226
|
-
assigneeAgentId: issues.assigneeAgentId, projectId: issues.projectId,
|
|
1227
|
-
goalId: issues.goalId, parentId: issues.parentId,
|
|
1228
|
-
}).from(issues).where(eq(issues.id, currentId)).then(r => r[0] ?? null);
|
|
1229
|
-
if (!parent)
|
|
1230
|
-
break;
|
|
1231
|
-
raw.push({
|
|
1232
|
-
id: parent.id, identifier: parent.identifier ?? null, title: parent.title, description: parent.description ?? null,
|
|
1233
|
-
status: parent.status, priority: parent.priority,
|
|
1234
|
-
assigneeAgentId: parent.assigneeAgentId ?? null,
|
|
1235
|
-
projectId: parent.projectId ?? null, goalId: parent.goalId ?? null,
|
|
1236
|
-
});
|
|
1237
|
-
currentId = parent.parentId ?? null;
|
|
1238
|
-
}
|
|
1239
|
-
// Batch-fetch referenced projects and goals
|
|
1240
|
-
const projectIds = [...new Set(raw.map(a => a.projectId).filter((id) => id != null))];
|
|
1241
|
-
const goalIds = [...new Set(raw.map(a => a.goalId).filter((id) => id != null))];
|
|
1242
|
-
const projectMap = new Map();
|
|
1243
|
-
const goalMap = new Map();
|
|
1244
|
-
if (projectIds.length > 0) {
|
|
1245
|
-
const workspaceRows = await db
|
|
1246
|
-
.select()
|
|
1247
|
-
.from(projectWorkspaces)
|
|
1248
|
-
.where(inArray(projectWorkspaces.projectId, projectIds))
|
|
1249
|
-
.orderBy(desc(projectWorkspaces.isPrimary), asc(projectWorkspaces.createdAt), asc(projectWorkspaces.id));
|
|
1250
|
-
const workspaceMap = new Map();
|
|
1251
|
-
for (const workspace of workspaceRows) {
|
|
1252
|
-
const existing = workspaceMap.get(workspace.projectId);
|
|
1253
|
-
if (existing)
|
|
1254
|
-
existing.push(workspace);
|
|
1255
|
-
else
|
|
1256
|
-
workspaceMap.set(workspace.projectId, [workspace]);
|
|
1257
|
-
}
|
|
1258
|
-
const rows = await db.select({
|
|
1259
|
-
id: projects.id, name: projects.name, description: projects.description,
|
|
1260
|
-
status: projects.status, goalId: projects.goalId,
|
|
1261
|
-
}).from(projects).where(inArray(projects.id, projectIds));
|
|
1262
|
-
for (const r of rows) {
|
|
1263
|
-
const projectWorkspaceRows = workspaceMap.get(r.id) ?? [];
|
|
1264
|
-
const workspaces = projectWorkspaceRows.map((workspace) => ({
|
|
1265
|
-
id: workspace.id,
|
|
1266
|
-
companyId: workspace.companyId,
|
|
1267
|
-
projectId: workspace.projectId,
|
|
1268
|
-
name: workspace.name,
|
|
1269
|
-
cwd: workspace.cwd,
|
|
1270
|
-
repoUrl: workspace.repoUrl ?? null,
|
|
1271
|
-
repoRef: workspace.repoRef ?? null,
|
|
1272
|
-
metadata: workspace.metadata ?? null,
|
|
1273
|
-
isPrimary: workspace.isPrimary,
|
|
1274
|
-
createdAt: workspace.createdAt,
|
|
1275
|
-
updatedAt: workspace.updatedAt,
|
|
1276
|
-
}));
|
|
1277
|
-
const primaryWorkspace = workspaces.find((workspace) => workspace.isPrimary) ?? workspaces[0] ?? null;
|
|
1278
|
-
projectMap.set(r.id, {
|
|
1279
|
-
...r,
|
|
1280
|
-
workspaces,
|
|
1281
|
-
primaryWorkspace,
|
|
1282
|
-
});
|
|
1283
|
-
// Also collect goalIds from projects
|
|
1284
|
-
if (r.goalId && !goalIds.includes(r.goalId))
|
|
1285
|
-
goalIds.push(r.goalId);
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
if (goalIds.length > 0) {
|
|
1289
|
-
const rows = await db.select({
|
|
1290
|
-
id: goals.id, title: goals.title, description: goals.description,
|
|
1291
|
-
level: goals.level, status: goals.status,
|
|
1292
|
-
}).from(goals).where(inArray(goals.id, goalIds));
|
|
1293
|
-
for (const r of rows)
|
|
1294
|
-
goalMap.set(r.id, r);
|
|
1295
|
-
}
|
|
1296
|
-
return raw.map(a => ({
|
|
1297
|
-
...a,
|
|
1298
|
-
project: a.projectId ? projectMap.get(a.projectId) ?? null : null,
|
|
1299
|
-
goal: a.goalId ? goalMap.get(a.goalId) ?? null : null,
|
|
1300
|
-
}));
|
|
1301
|
-
},
|
|
1302
|
-
listArchived: async (companyId) => {
|
|
1303
|
-
const rows = await db
|
|
1304
|
-
.select()
|
|
1305
|
-
.from(issues)
|
|
1306
|
-
.where(and(eq(issues.companyId, companyId), sql `${issues.hiddenAt} IS NOT NULL`))
|
|
1307
|
-
.orderBy(desc(issues.hiddenAt), desc(issues.updatedAt));
|
|
1308
|
-
const withLabels = await withIssueLabels(db, rows);
|
|
1309
|
-
return withActiveRuns(withLabels, new Map());
|
|
1310
|
-
},
|
|
1311
|
-
bulkSetHiddenAt: async (companyId, ids, hiddenAt) => {
|
|
1312
|
-
if (ids.length === 0)
|
|
1313
|
-
return;
|
|
1314
|
-
await db
|
|
1315
|
-
.update(issues)
|
|
1316
|
-
.set({ hiddenAt, updatedAt: new Date() })
|
|
1317
|
-
.where(and(eq(issues.companyId, companyId), inArray(issues.id, ids)));
|
|
1318
|
-
},
|
|
1319
|
-
};
|
|
1320
|
-
}
|
|
1321
|
-
//# sourceMappingURL=issues.js.map
|