@growthub/cli 0.3.12 → 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/0040_ticket_meta.sql +0 -3
- 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 -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,1454 +0,0 @@
|
|
|
1
|
-
import { Router } from "express";
|
|
2
|
-
import multer from "multer";
|
|
3
|
-
import { addIssueCommentSchema, createIssueAttachmentMetadataSchema, createIssueWorkProductSchema, createIssueLabelSchema, checkoutIssueSchema, createIssueSchema, linkIssueApprovalSchema, issueDocumentKeySchema, updateIssueWorkProductSchema, upsertIssueDocumentSchema, updateIssueSchema, } from "@paperclipai/shared";
|
|
4
|
-
import { validate } from "../middleware/validate.js";
|
|
5
|
-
import { accessService, agentService, executionWorkspaceService, goalService, heartbeatService, issueApprovalService, issueService, documentService, logActivity, projectService, workProductService, } from "../services/index.js";
|
|
6
|
-
import { logger } from "../middleware/logger.js";
|
|
7
|
-
import { forbidden, HttpError, unauthorized } from "../errors.js";
|
|
8
|
-
import { assertCompanyAccess, getActorInfo } from "./authz.js";
|
|
9
|
-
import { shouldWakeAssigneeOnCheckout } from "./issues-checkout-wakeup.js";
|
|
10
|
-
import { isAllowedContentType, MAX_ATTACHMENT_BYTES } from "../attachment-types.js";
|
|
11
|
-
const MAX_ISSUE_COMMENT_LIMIT = 500;
|
|
12
|
-
export function issueRoutes(db, storage) {
|
|
13
|
-
const router = Router();
|
|
14
|
-
const svc = issueService(db);
|
|
15
|
-
const access = accessService(db);
|
|
16
|
-
const heartbeat = heartbeatService(db);
|
|
17
|
-
const agentsSvc = agentService(db);
|
|
18
|
-
const projectsSvc = projectService(db);
|
|
19
|
-
const goalsSvc = goalService(db);
|
|
20
|
-
const issueApprovalsSvc = issueApprovalService(db);
|
|
21
|
-
const executionWorkspacesSvc = executionWorkspaceService(db);
|
|
22
|
-
const workProductsSvc = workProductService(db);
|
|
23
|
-
const documentsSvc = documentService(db);
|
|
24
|
-
const upload = multer({
|
|
25
|
-
storage: multer.memoryStorage(),
|
|
26
|
-
limits: { fileSize: MAX_ATTACHMENT_BYTES, files: 1 },
|
|
27
|
-
});
|
|
28
|
-
function withContentPath(attachment) {
|
|
29
|
-
return {
|
|
30
|
-
...attachment,
|
|
31
|
-
contentPath: `/api/attachments/${attachment.id}/content`,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
async function runSingleFileUpload(req, res) {
|
|
35
|
-
await new Promise((resolve, reject) => {
|
|
36
|
-
upload.single("file")(req, res, (err) => {
|
|
37
|
-
if (err)
|
|
38
|
-
reject(err);
|
|
39
|
-
else
|
|
40
|
-
resolve();
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
async function assertCanManageIssueApprovalLinks(req, res, companyId) {
|
|
45
|
-
assertCompanyAccess(req, companyId);
|
|
46
|
-
if (req.actor.type === "board")
|
|
47
|
-
return true;
|
|
48
|
-
if (!req.actor.agentId) {
|
|
49
|
-
res.status(403).json({ error: "Agent authentication required" });
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
const actorAgent = await agentsSvc.getById(req.actor.agentId);
|
|
53
|
-
if (!actorAgent || actorAgent.companyId !== companyId) {
|
|
54
|
-
res.status(403).json({ error: "Forbidden" });
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
if (actorAgent.role === "ceo" || Boolean(actorAgent.permissions?.canCreateAgents))
|
|
58
|
-
return true;
|
|
59
|
-
res.status(403).json({ error: "Missing permission to link approvals" });
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
function canCreateAgentsLegacy(agent) {
|
|
63
|
-
if (agent.role === "ceo")
|
|
64
|
-
return true;
|
|
65
|
-
if (!agent.permissions || typeof agent.permissions !== "object")
|
|
66
|
-
return false;
|
|
67
|
-
return Boolean(agent.permissions.canCreateAgents);
|
|
68
|
-
}
|
|
69
|
-
async function assertCanAssignTasks(req, companyId) {
|
|
70
|
-
assertCompanyAccess(req, companyId);
|
|
71
|
-
if (req.actor.type === "board") {
|
|
72
|
-
if (req.actor.source === "local_implicit" || req.actor.isInstanceAdmin)
|
|
73
|
-
return;
|
|
74
|
-
const allowed = await access.canUser(companyId, req.actor.userId, "tasks:assign");
|
|
75
|
-
if (!allowed)
|
|
76
|
-
throw forbidden("Missing permission: tasks:assign");
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
if (req.actor.type === "agent") {
|
|
80
|
-
if (!req.actor.agentId)
|
|
81
|
-
throw forbidden("Agent authentication required");
|
|
82
|
-
const allowedByGrant = await access.hasPermission(companyId, "agent", req.actor.agentId, "tasks:assign");
|
|
83
|
-
if (allowedByGrant)
|
|
84
|
-
return;
|
|
85
|
-
const actorAgent = await agentsSvc.getById(req.actor.agentId);
|
|
86
|
-
if (actorAgent && actorAgent.companyId === companyId && canCreateAgentsLegacy(actorAgent))
|
|
87
|
-
return;
|
|
88
|
-
throw forbidden("Missing permission: tasks:assign");
|
|
89
|
-
}
|
|
90
|
-
throw unauthorized();
|
|
91
|
-
}
|
|
92
|
-
function requireAgentRunId(req, res) {
|
|
93
|
-
if (req.actor.type !== "agent")
|
|
94
|
-
return null;
|
|
95
|
-
const runId = req.actor.runId?.trim();
|
|
96
|
-
if (runId)
|
|
97
|
-
return runId;
|
|
98
|
-
res.status(401).json({ error: "Agent run id required" });
|
|
99
|
-
return null;
|
|
100
|
-
}
|
|
101
|
-
async function assertAgentRunCheckoutOwnership(req, res, issue) {
|
|
102
|
-
if (req.actor.type !== "agent")
|
|
103
|
-
return true;
|
|
104
|
-
const actorAgentId = req.actor.agentId;
|
|
105
|
-
if (!actorAgentId) {
|
|
106
|
-
res.status(403).json({ error: "Agent authentication required" });
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
if (issue.status !== "in_progress" || issue.assigneeAgentId !== actorAgentId) {
|
|
110
|
-
return true;
|
|
111
|
-
}
|
|
112
|
-
const runId = requireAgentRunId(req, res);
|
|
113
|
-
if (!runId)
|
|
114
|
-
return false;
|
|
115
|
-
const ownership = await svc.assertCheckoutOwner(issue.id, actorAgentId, runId);
|
|
116
|
-
if (ownership.adoptedFromRunId) {
|
|
117
|
-
const actor = getActorInfo(req);
|
|
118
|
-
await logActivity(db, {
|
|
119
|
-
companyId: issue.companyId,
|
|
120
|
-
actorType: actor.actorType,
|
|
121
|
-
actorId: actor.actorId,
|
|
122
|
-
agentId: actor.agentId,
|
|
123
|
-
runId: actor.runId,
|
|
124
|
-
action: "issue.checkout_lock_adopted",
|
|
125
|
-
entityType: "issue",
|
|
126
|
-
entityId: issue.id,
|
|
127
|
-
details: {
|
|
128
|
-
previousCheckoutRunId: ownership.adoptedFromRunId,
|
|
129
|
-
checkoutRunId: runId,
|
|
130
|
-
reason: "stale_checkout_run",
|
|
131
|
-
},
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
async function normalizeIssueIdentifier(rawId) {
|
|
137
|
-
if (/^[A-Z]+-\d+$/i.test(rawId)) {
|
|
138
|
-
const issue = await svc.getByIdentifier(rawId);
|
|
139
|
-
if (issue) {
|
|
140
|
-
return issue.id;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
return rawId;
|
|
144
|
-
}
|
|
145
|
-
// Resolve issue identifiers (e.g. "PAP-39") to UUIDs for all /issues/:id routes
|
|
146
|
-
router.param("id", async (req, res, next, rawId) => {
|
|
147
|
-
try {
|
|
148
|
-
req.params.id = await normalizeIssueIdentifier(rawId);
|
|
149
|
-
next();
|
|
150
|
-
}
|
|
151
|
-
catch (err) {
|
|
152
|
-
next(err);
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
// Resolve issue identifiers (e.g. "PAP-39") to UUIDs for company-scoped attachment routes.
|
|
156
|
-
router.param("issueId", async (req, res, next, rawId) => {
|
|
157
|
-
try {
|
|
158
|
-
req.params.issueId = await normalizeIssueIdentifier(rawId);
|
|
159
|
-
next();
|
|
160
|
-
}
|
|
161
|
-
catch (err) {
|
|
162
|
-
next(err);
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
// Common malformed path when companyId is empty in "/api/companies/{companyId}/issues".
|
|
166
|
-
router.get("/issues", (_req, res) => {
|
|
167
|
-
res.status(400).json({
|
|
168
|
-
error: "Missing companyId in path. Use /api/companies/{companyId}/issues.",
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
router.get("/companies/:companyId/issues", async (req, res) => {
|
|
172
|
-
const companyId = req.params.companyId;
|
|
173
|
-
assertCompanyAccess(req, companyId);
|
|
174
|
-
const assigneeUserFilterRaw = req.query.assigneeUserId;
|
|
175
|
-
const touchedByUserFilterRaw = req.query.touchedByUserId;
|
|
176
|
-
const unreadForUserFilterRaw = req.query.unreadForUserId;
|
|
177
|
-
const assigneeUserId = assigneeUserFilterRaw === "me" && req.actor.type === "board"
|
|
178
|
-
? req.actor.userId
|
|
179
|
-
: assigneeUserFilterRaw;
|
|
180
|
-
const touchedByUserId = touchedByUserFilterRaw === "me" && req.actor.type === "board"
|
|
181
|
-
? req.actor.userId
|
|
182
|
-
: touchedByUserFilterRaw;
|
|
183
|
-
const unreadForUserId = unreadForUserFilterRaw === "me" && req.actor.type === "board"
|
|
184
|
-
? req.actor.userId
|
|
185
|
-
: unreadForUserFilterRaw;
|
|
186
|
-
if (assigneeUserFilterRaw === "me" && (!assigneeUserId || req.actor.type !== "board")) {
|
|
187
|
-
res.status(403).json({ error: "assigneeUserId=me requires board authentication" });
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
if (touchedByUserFilterRaw === "me" && (!touchedByUserId || req.actor.type !== "board")) {
|
|
191
|
-
res.status(403).json({ error: "touchedByUserId=me requires board authentication" });
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
if (unreadForUserFilterRaw === "me" && (!unreadForUserId || req.actor.type !== "board")) {
|
|
195
|
-
res.status(403).json({ error: "unreadForUserId=me requires board authentication" });
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
const result = await svc.list(companyId, {
|
|
199
|
-
status: req.query.status,
|
|
200
|
-
assigneeAgentId: req.query.assigneeAgentId,
|
|
201
|
-
assigneeUserId,
|
|
202
|
-
touchedByUserId,
|
|
203
|
-
unreadForUserId,
|
|
204
|
-
projectId: req.query.projectId,
|
|
205
|
-
parentId: req.query.parentId,
|
|
206
|
-
labelId: req.query.labelId,
|
|
207
|
-
q: req.query.q,
|
|
208
|
-
});
|
|
209
|
-
res.json(result);
|
|
210
|
-
});
|
|
211
|
-
router.get("/companies/:companyId/issues/archived", async (req, res) => {
|
|
212
|
-
const companyId = req.params.companyId;
|
|
213
|
-
assertCompanyAccess(req, companyId);
|
|
214
|
-
const rows = await svc.listArchived(companyId);
|
|
215
|
-
res.json(rows);
|
|
216
|
-
});
|
|
217
|
-
router.post("/companies/:companyId/issues/bulk-archive", async (req, res) => {
|
|
218
|
-
const companyId = req.params.companyId;
|
|
219
|
-
assertCompanyAccess(req, companyId);
|
|
220
|
-
const ids = Array.isArray(req.body.ids) ? req.body.ids : [];
|
|
221
|
-
if (ids.length === 0) {
|
|
222
|
-
res.status(400).json({ error: "No ids provided" });
|
|
223
|
-
return;
|
|
224
|
-
}
|
|
225
|
-
await svc.bulkSetHiddenAt(companyId, ids, new Date());
|
|
226
|
-
res.json({ archived: ids.length });
|
|
227
|
-
});
|
|
228
|
-
router.post("/companies/:companyId/issues/bulk-restore", async (req, res) => {
|
|
229
|
-
const companyId = req.params.companyId;
|
|
230
|
-
assertCompanyAccess(req, companyId);
|
|
231
|
-
const ids = Array.isArray(req.body.ids) ? req.body.ids : [];
|
|
232
|
-
if (ids.length === 0) {
|
|
233
|
-
res.status(400).json({ error: "No ids provided" });
|
|
234
|
-
return;
|
|
235
|
-
}
|
|
236
|
-
await svc.bulkSetHiddenAt(companyId, ids, null);
|
|
237
|
-
res.json({ restored: ids.length });
|
|
238
|
-
});
|
|
239
|
-
router.get("/companies/:companyId/labels", async (req, res) => {
|
|
240
|
-
const companyId = req.params.companyId;
|
|
241
|
-
assertCompanyAccess(req, companyId);
|
|
242
|
-
const result = await svc.listLabels(companyId);
|
|
243
|
-
res.json(result);
|
|
244
|
-
});
|
|
245
|
-
router.post("/companies/:companyId/labels", validate(createIssueLabelSchema), async (req, res) => {
|
|
246
|
-
const companyId = req.params.companyId;
|
|
247
|
-
assertCompanyAccess(req, companyId);
|
|
248
|
-
const label = await svc.createLabel(companyId, req.body);
|
|
249
|
-
const actor = getActorInfo(req);
|
|
250
|
-
await logActivity(db, {
|
|
251
|
-
companyId,
|
|
252
|
-
actorType: actor.actorType,
|
|
253
|
-
actorId: actor.actorId,
|
|
254
|
-
agentId: actor.agentId,
|
|
255
|
-
runId: actor.runId,
|
|
256
|
-
action: "label.created",
|
|
257
|
-
entityType: "label",
|
|
258
|
-
entityId: label.id,
|
|
259
|
-
details: { name: label.name, color: label.color },
|
|
260
|
-
});
|
|
261
|
-
res.status(201).json(label);
|
|
262
|
-
});
|
|
263
|
-
router.delete("/labels/:labelId", async (req, res) => {
|
|
264
|
-
const labelId = req.params.labelId;
|
|
265
|
-
const existing = await svc.getLabelById(labelId);
|
|
266
|
-
if (!existing) {
|
|
267
|
-
res.status(404).json({ error: "Label not found" });
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
assertCompanyAccess(req, existing.companyId);
|
|
271
|
-
const removed = await svc.deleteLabel(labelId);
|
|
272
|
-
if (!removed) {
|
|
273
|
-
res.status(404).json({ error: "Label not found" });
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
const actor = getActorInfo(req);
|
|
277
|
-
await logActivity(db, {
|
|
278
|
-
companyId: removed.companyId,
|
|
279
|
-
actorType: actor.actorType,
|
|
280
|
-
actorId: actor.actorId,
|
|
281
|
-
agentId: actor.agentId,
|
|
282
|
-
runId: actor.runId,
|
|
283
|
-
action: "label.deleted",
|
|
284
|
-
entityType: "label",
|
|
285
|
-
entityId: removed.id,
|
|
286
|
-
details: { name: removed.name, color: removed.color },
|
|
287
|
-
});
|
|
288
|
-
res.json(removed);
|
|
289
|
-
});
|
|
290
|
-
router.get("/issues/:id", async (req, res) => {
|
|
291
|
-
const id = req.params.id;
|
|
292
|
-
const issue = await svc.getById(id);
|
|
293
|
-
if (!issue) {
|
|
294
|
-
res.status(404).json({ error: "Issue not found" });
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
assertCompanyAccess(req, issue.companyId);
|
|
298
|
-
const [ancestors, project, goal, mentionedProjectIds, documentPayload] = await Promise.all([
|
|
299
|
-
svc.getAncestors(issue.id),
|
|
300
|
-
issue.projectId ? projectsSvc.getById(issue.projectId) : null,
|
|
301
|
-
issue.goalId
|
|
302
|
-
? goalsSvc.getById(issue.goalId)
|
|
303
|
-
: !issue.projectId
|
|
304
|
-
? goalsSvc.getDefaultCompanyGoal(issue.companyId)
|
|
305
|
-
: null,
|
|
306
|
-
svc.findMentionedProjectIds(issue.id),
|
|
307
|
-
documentsSvc.getIssueDocumentPayload(issue),
|
|
308
|
-
]);
|
|
309
|
-
const mentionedProjects = mentionedProjectIds.length > 0
|
|
310
|
-
? await projectsSvc.listByIds(issue.companyId, mentionedProjectIds)
|
|
311
|
-
: [];
|
|
312
|
-
const currentExecutionWorkspace = issue.executionWorkspaceId
|
|
313
|
-
? await executionWorkspacesSvc.getById(issue.executionWorkspaceId)
|
|
314
|
-
: null;
|
|
315
|
-
const workProducts = await workProductsSvc.listForIssue(issue.id);
|
|
316
|
-
res.json({
|
|
317
|
-
...issue,
|
|
318
|
-
goalId: goal?.id ?? issue.goalId,
|
|
319
|
-
ancestors,
|
|
320
|
-
...documentPayload,
|
|
321
|
-
project: project ?? null,
|
|
322
|
-
goal: goal ?? null,
|
|
323
|
-
mentionedProjects,
|
|
324
|
-
currentExecutionWorkspace,
|
|
325
|
-
workProducts,
|
|
326
|
-
});
|
|
327
|
-
});
|
|
328
|
-
router.get("/issues/:id/heartbeat-context", async (req, res) => {
|
|
329
|
-
const id = req.params.id;
|
|
330
|
-
const issue = await svc.getById(id);
|
|
331
|
-
if (!issue) {
|
|
332
|
-
res.status(404).json({ error: "Issue not found" });
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
assertCompanyAccess(req, issue.companyId);
|
|
336
|
-
const wakeCommentId = typeof req.query.wakeCommentId === "string" && req.query.wakeCommentId.trim().length > 0
|
|
337
|
-
? req.query.wakeCommentId.trim()
|
|
338
|
-
: null;
|
|
339
|
-
const [ancestors, project, goal, commentCursor, wakeComment] = await Promise.all([
|
|
340
|
-
svc.getAncestors(issue.id),
|
|
341
|
-
issue.projectId ? projectsSvc.getById(issue.projectId) : null,
|
|
342
|
-
issue.goalId
|
|
343
|
-
? goalsSvc.getById(issue.goalId)
|
|
344
|
-
: !issue.projectId
|
|
345
|
-
? goalsSvc.getDefaultCompanyGoal(issue.companyId)
|
|
346
|
-
: null,
|
|
347
|
-
svc.getCommentCursor(issue.id),
|
|
348
|
-
wakeCommentId ? svc.getComment(wakeCommentId) : null,
|
|
349
|
-
]);
|
|
350
|
-
res.json({
|
|
351
|
-
issue: {
|
|
352
|
-
id: issue.id,
|
|
353
|
-
identifier: issue.identifier,
|
|
354
|
-
title: issue.title,
|
|
355
|
-
description: issue.description,
|
|
356
|
-
status: issue.status,
|
|
357
|
-
priority: issue.priority,
|
|
358
|
-
projectId: issue.projectId,
|
|
359
|
-
goalId: goal?.id ?? issue.goalId,
|
|
360
|
-
parentId: issue.parentId,
|
|
361
|
-
assigneeAgentId: issue.assigneeAgentId,
|
|
362
|
-
assigneeUserId: issue.assigneeUserId,
|
|
363
|
-
updatedAt: issue.updatedAt,
|
|
364
|
-
},
|
|
365
|
-
ancestors: ancestors.map((ancestor) => ({
|
|
366
|
-
id: ancestor.id,
|
|
367
|
-
identifier: ancestor.identifier,
|
|
368
|
-
title: ancestor.title,
|
|
369
|
-
status: ancestor.status,
|
|
370
|
-
priority: ancestor.priority,
|
|
371
|
-
})),
|
|
372
|
-
project: project
|
|
373
|
-
? {
|
|
374
|
-
id: project.id,
|
|
375
|
-
name: project.name,
|
|
376
|
-
status: project.status,
|
|
377
|
-
targetDate: project.targetDate,
|
|
378
|
-
}
|
|
379
|
-
: null,
|
|
380
|
-
goal: goal
|
|
381
|
-
? {
|
|
382
|
-
id: goal.id,
|
|
383
|
-
title: goal.title,
|
|
384
|
-
status: goal.status,
|
|
385
|
-
level: goal.level,
|
|
386
|
-
parentId: goal.parentId,
|
|
387
|
-
}
|
|
388
|
-
: null,
|
|
389
|
-
commentCursor,
|
|
390
|
-
wakeComment: wakeComment && wakeComment.issueId === issue.id
|
|
391
|
-
? wakeComment
|
|
392
|
-
: null,
|
|
393
|
-
});
|
|
394
|
-
});
|
|
395
|
-
router.get("/issues/:id/work-products", async (req, res) => {
|
|
396
|
-
const id = req.params.id;
|
|
397
|
-
const issue = await svc.getById(id);
|
|
398
|
-
if (!issue) {
|
|
399
|
-
res.status(404).json({ error: "Issue not found" });
|
|
400
|
-
return;
|
|
401
|
-
}
|
|
402
|
-
assertCompanyAccess(req, issue.companyId);
|
|
403
|
-
const workProducts = await workProductsSvc.listForIssue(issue.id);
|
|
404
|
-
res.json(workProducts);
|
|
405
|
-
});
|
|
406
|
-
router.get("/issues/:id/documents", async (req, res) => {
|
|
407
|
-
const id = req.params.id;
|
|
408
|
-
const issue = await svc.getById(id);
|
|
409
|
-
if (!issue) {
|
|
410
|
-
res.status(404).json({ error: "Issue not found" });
|
|
411
|
-
return;
|
|
412
|
-
}
|
|
413
|
-
assertCompanyAccess(req, issue.companyId);
|
|
414
|
-
const docs = await documentsSvc.listIssueDocuments(issue.id);
|
|
415
|
-
res.json(docs);
|
|
416
|
-
});
|
|
417
|
-
router.get("/issues/:id/documents/:key", async (req, res) => {
|
|
418
|
-
const id = req.params.id;
|
|
419
|
-
const issue = await svc.getById(id);
|
|
420
|
-
if (!issue) {
|
|
421
|
-
res.status(404).json({ error: "Issue not found" });
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
assertCompanyAccess(req, issue.companyId);
|
|
425
|
-
const keyParsed = issueDocumentKeySchema.safeParse(String(req.params.key ?? "").trim().toLowerCase());
|
|
426
|
-
if (!keyParsed.success) {
|
|
427
|
-
res.status(400).json({ error: "Invalid document key", details: keyParsed.error.issues });
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
const doc = await documentsSvc.getIssueDocumentByKey(issue.id, keyParsed.data);
|
|
431
|
-
if (!doc) {
|
|
432
|
-
res.status(404).json({ error: "Document not found" });
|
|
433
|
-
return;
|
|
434
|
-
}
|
|
435
|
-
res.json(doc);
|
|
436
|
-
});
|
|
437
|
-
router.put("/issues/:id/documents/:key", validate(upsertIssueDocumentSchema), async (req, res) => {
|
|
438
|
-
const id = req.params.id;
|
|
439
|
-
const issue = await svc.getById(id);
|
|
440
|
-
if (!issue) {
|
|
441
|
-
res.status(404).json({ error: "Issue not found" });
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
444
|
-
assertCompanyAccess(req, issue.companyId);
|
|
445
|
-
const keyParsed = issueDocumentKeySchema.safeParse(String(req.params.key ?? "").trim().toLowerCase());
|
|
446
|
-
if (!keyParsed.success) {
|
|
447
|
-
res.status(400).json({ error: "Invalid document key", details: keyParsed.error.issues });
|
|
448
|
-
return;
|
|
449
|
-
}
|
|
450
|
-
const actor = getActorInfo(req);
|
|
451
|
-
const result = await documentsSvc.upsertIssueDocument({
|
|
452
|
-
issueId: issue.id,
|
|
453
|
-
key: keyParsed.data,
|
|
454
|
-
title: req.body.title ?? null,
|
|
455
|
-
format: req.body.format,
|
|
456
|
-
body: req.body.body,
|
|
457
|
-
changeSummary: req.body.changeSummary ?? null,
|
|
458
|
-
baseRevisionId: req.body.baseRevisionId ?? null,
|
|
459
|
-
createdByAgentId: actor.agentId ?? null,
|
|
460
|
-
createdByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
461
|
-
});
|
|
462
|
-
const doc = result.document;
|
|
463
|
-
await logActivity(db, {
|
|
464
|
-
companyId: issue.companyId,
|
|
465
|
-
actorType: actor.actorType,
|
|
466
|
-
actorId: actor.actorId,
|
|
467
|
-
agentId: actor.agentId,
|
|
468
|
-
runId: actor.runId,
|
|
469
|
-
action: result.created ? "issue.document_created" : "issue.document_updated",
|
|
470
|
-
entityType: "issue",
|
|
471
|
-
entityId: issue.id,
|
|
472
|
-
details: {
|
|
473
|
-
key: doc.key,
|
|
474
|
-
documentId: doc.id,
|
|
475
|
-
title: doc.title,
|
|
476
|
-
format: doc.format,
|
|
477
|
-
revisionNumber: doc.latestRevisionNumber,
|
|
478
|
-
},
|
|
479
|
-
});
|
|
480
|
-
res.status(result.created ? 201 : 200).json(doc);
|
|
481
|
-
});
|
|
482
|
-
router.get("/issues/:id/documents/:key/revisions", async (req, res) => {
|
|
483
|
-
const id = req.params.id;
|
|
484
|
-
const issue = await svc.getById(id);
|
|
485
|
-
if (!issue) {
|
|
486
|
-
res.status(404).json({ error: "Issue not found" });
|
|
487
|
-
return;
|
|
488
|
-
}
|
|
489
|
-
assertCompanyAccess(req, issue.companyId);
|
|
490
|
-
const keyParsed = issueDocumentKeySchema.safeParse(String(req.params.key ?? "").trim().toLowerCase());
|
|
491
|
-
if (!keyParsed.success) {
|
|
492
|
-
res.status(400).json({ error: "Invalid document key", details: keyParsed.error.issues });
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
const revisions = await documentsSvc.listIssueDocumentRevisions(issue.id, keyParsed.data);
|
|
496
|
-
res.json(revisions);
|
|
497
|
-
});
|
|
498
|
-
router.delete("/issues/:id/documents/:key", async (req, res) => {
|
|
499
|
-
const id = req.params.id;
|
|
500
|
-
const issue = await svc.getById(id);
|
|
501
|
-
if (!issue) {
|
|
502
|
-
res.status(404).json({ error: "Issue not found" });
|
|
503
|
-
return;
|
|
504
|
-
}
|
|
505
|
-
assertCompanyAccess(req, issue.companyId);
|
|
506
|
-
if (req.actor.type !== "board") {
|
|
507
|
-
res.status(403).json({ error: "Board authentication required" });
|
|
508
|
-
return;
|
|
509
|
-
}
|
|
510
|
-
const keyParsed = issueDocumentKeySchema.safeParse(String(req.params.key ?? "").trim().toLowerCase());
|
|
511
|
-
if (!keyParsed.success) {
|
|
512
|
-
res.status(400).json({ error: "Invalid document key", details: keyParsed.error.issues });
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
const removed = await documentsSvc.deleteIssueDocument(issue.id, keyParsed.data);
|
|
516
|
-
if (!removed) {
|
|
517
|
-
res.status(404).json({ error: "Document not found" });
|
|
518
|
-
return;
|
|
519
|
-
}
|
|
520
|
-
const actor = getActorInfo(req);
|
|
521
|
-
await logActivity(db, {
|
|
522
|
-
companyId: issue.companyId,
|
|
523
|
-
actorType: actor.actorType,
|
|
524
|
-
actorId: actor.actorId,
|
|
525
|
-
agentId: actor.agentId,
|
|
526
|
-
runId: actor.runId,
|
|
527
|
-
action: "issue.document_deleted",
|
|
528
|
-
entityType: "issue",
|
|
529
|
-
entityId: issue.id,
|
|
530
|
-
details: {
|
|
531
|
-
key: removed.key,
|
|
532
|
-
documentId: removed.id,
|
|
533
|
-
title: removed.title,
|
|
534
|
-
},
|
|
535
|
-
});
|
|
536
|
-
res.json({ ok: true });
|
|
537
|
-
});
|
|
538
|
-
router.post("/issues/:id/work-products", validate(createIssueWorkProductSchema), async (req, res) => {
|
|
539
|
-
const id = req.params.id;
|
|
540
|
-
const issue = await svc.getById(id);
|
|
541
|
-
if (!issue) {
|
|
542
|
-
res.status(404).json({ error: "Issue not found" });
|
|
543
|
-
return;
|
|
544
|
-
}
|
|
545
|
-
assertCompanyAccess(req, issue.companyId);
|
|
546
|
-
const product = await workProductsSvc.createForIssue(issue.id, issue.companyId, {
|
|
547
|
-
...req.body,
|
|
548
|
-
projectId: req.body.projectId ?? issue.projectId ?? null,
|
|
549
|
-
});
|
|
550
|
-
if (!product) {
|
|
551
|
-
res.status(422).json({ error: "Invalid work product payload" });
|
|
552
|
-
return;
|
|
553
|
-
}
|
|
554
|
-
const actor = getActorInfo(req);
|
|
555
|
-
await logActivity(db, {
|
|
556
|
-
companyId: issue.companyId,
|
|
557
|
-
actorType: actor.actorType,
|
|
558
|
-
actorId: actor.actorId,
|
|
559
|
-
agentId: actor.agentId,
|
|
560
|
-
runId: actor.runId,
|
|
561
|
-
action: "issue.work_product_created",
|
|
562
|
-
entityType: "issue",
|
|
563
|
-
entityId: issue.id,
|
|
564
|
-
details: { workProductId: product.id, type: product.type, provider: product.provider },
|
|
565
|
-
});
|
|
566
|
-
res.status(201).json(product);
|
|
567
|
-
});
|
|
568
|
-
router.patch("/work-products/:id", validate(updateIssueWorkProductSchema), async (req, res) => {
|
|
569
|
-
const id = req.params.id;
|
|
570
|
-
const existing = await workProductsSvc.getById(id);
|
|
571
|
-
if (!existing) {
|
|
572
|
-
res.status(404).json({ error: "Work product not found" });
|
|
573
|
-
return;
|
|
574
|
-
}
|
|
575
|
-
assertCompanyAccess(req, existing.companyId);
|
|
576
|
-
const product = await workProductsSvc.update(id, req.body);
|
|
577
|
-
if (!product) {
|
|
578
|
-
res.status(404).json({ error: "Work product not found" });
|
|
579
|
-
return;
|
|
580
|
-
}
|
|
581
|
-
const actor = getActorInfo(req);
|
|
582
|
-
await logActivity(db, {
|
|
583
|
-
companyId: existing.companyId,
|
|
584
|
-
actorType: actor.actorType,
|
|
585
|
-
actorId: actor.actorId,
|
|
586
|
-
agentId: actor.agentId,
|
|
587
|
-
runId: actor.runId,
|
|
588
|
-
action: "issue.work_product_updated",
|
|
589
|
-
entityType: "issue",
|
|
590
|
-
entityId: existing.issueId,
|
|
591
|
-
details: { workProductId: product.id, changedKeys: Object.keys(req.body).sort() },
|
|
592
|
-
});
|
|
593
|
-
res.json(product);
|
|
594
|
-
});
|
|
595
|
-
router.delete("/work-products/:id", async (req, res) => {
|
|
596
|
-
const id = req.params.id;
|
|
597
|
-
const existing = await workProductsSvc.getById(id);
|
|
598
|
-
if (!existing) {
|
|
599
|
-
res.status(404).json({ error: "Work product not found" });
|
|
600
|
-
return;
|
|
601
|
-
}
|
|
602
|
-
assertCompanyAccess(req, existing.companyId);
|
|
603
|
-
const removed = await workProductsSvc.remove(id);
|
|
604
|
-
if (!removed) {
|
|
605
|
-
res.status(404).json({ error: "Work product not found" });
|
|
606
|
-
return;
|
|
607
|
-
}
|
|
608
|
-
const actor = getActorInfo(req);
|
|
609
|
-
await logActivity(db, {
|
|
610
|
-
companyId: existing.companyId,
|
|
611
|
-
actorType: actor.actorType,
|
|
612
|
-
actorId: actor.actorId,
|
|
613
|
-
agentId: actor.agentId,
|
|
614
|
-
runId: actor.runId,
|
|
615
|
-
action: "issue.work_product_deleted",
|
|
616
|
-
entityType: "issue",
|
|
617
|
-
entityId: existing.issueId,
|
|
618
|
-
details: { workProductId: removed.id, type: removed.type },
|
|
619
|
-
});
|
|
620
|
-
res.json(removed);
|
|
621
|
-
});
|
|
622
|
-
router.post("/issues/:id/read", async (req, res) => {
|
|
623
|
-
const id = req.params.id;
|
|
624
|
-
const issue = await svc.getById(id);
|
|
625
|
-
if (!issue) {
|
|
626
|
-
res.status(404).json({ error: "Issue not found" });
|
|
627
|
-
return;
|
|
628
|
-
}
|
|
629
|
-
assertCompanyAccess(req, issue.companyId);
|
|
630
|
-
if (req.actor.type !== "board") {
|
|
631
|
-
res.status(403).json({ error: "Board authentication required" });
|
|
632
|
-
return;
|
|
633
|
-
}
|
|
634
|
-
if (!req.actor.userId) {
|
|
635
|
-
res.status(403).json({ error: "Board user context required" });
|
|
636
|
-
return;
|
|
637
|
-
}
|
|
638
|
-
const readState = await svc.markRead(issue.companyId, issue.id, req.actor.userId, new Date());
|
|
639
|
-
const actor = getActorInfo(req);
|
|
640
|
-
await logActivity(db, {
|
|
641
|
-
companyId: issue.companyId,
|
|
642
|
-
actorType: actor.actorType,
|
|
643
|
-
actorId: actor.actorId,
|
|
644
|
-
agentId: actor.agentId,
|
|
645
|
-
runId: actor.runId,
|
|
646
|
-
action: "issue.read_marked",
|
|
647
|
-
entityType: "issue",
|
|
648
|
-
entityId: issue.id,
|
|
649
|
-
details: { userId: req.actor.userId, lastReadAt: readState.lastReadAt },
|
|
650
|
-
});
|
|
651
|
-
res.json(readState);
|
|
652
|
-
});
|
|
653
|
-
router.get("/issues/:id/approvals", async (req, res) => {
|
|
654
|
-
const id = req.params.id;
|
|
655
|
-
const issue = await svc.getById(id);
|
|
656
|
-
if (!issue) {
|
|
657
|
-
res.status(404).json({ error: "Issue not found" });
|
|
658
|
-
return;
|
|
659
|
-
}
|
|
660
|
-
assertCompanyAccess(req, issue.companyId);
|
|
661
|
-
const approvals = await issueApprovalsSvc.listApprovalsForIssue(id);
|
|
662
|
-
res.json(approvals);
|
|
663
|
-
});
|
|
664
|
-
router.post("/issues/:id/approvals", validate(linkIssueApprovalSchema), async (req, res) => {
|
|
665
|
-
const id = req.params.id;
|
|
666
|
-
const issue = await svc.getById(id);
|
|
667
|
-
if (!issue) {
|
|
668
|
-
res.status(404).json({ error: "Issue not found" });
|
|
669
|
-
return;
|
|
670
|
-
}
|
|
671
|
-
if (!(await assertCanManageIssueApprovalLinks(req, res, issue.companyId)))
|
|
672
|
-
return;
|
|
673
|
-
const actor = getActorInfo(req);
|
|
674
|
-
await issueApprovalsSvc.link(id, req.body.approvalId, {
|
|
675
|
-
agentId: actor.agentId,
|
|
676
|
-
userId: actor.actorType === "user" ? actor.actorId : null,
|
|
677
|
-
});
|
|
678
|
-
await logActivity(db, {
|
|
679
|
-
companyId: issue.companyId,
|
|
680
|
-
actorType: actor.actorType,
|
|
681
|
-
actorId: actor.actorId,
|
|
682
|
-
agentId: actor.agentId,
|
|
683
|
-
runId: actor.runId,
|
|
684
|
-
action: "issue.approval_linked",
|
|
685
|
-
entityType: "issue",
|
|
686
|
-
entityId: issue.id,
|
|
687
|
-
details: { approvalId: req.body.approvalId },
|
|
688
|
-
});
|
|
689
|
-
const approvals = await issueApprovalsSvc.listApprovalsForIssue(id);
|
|
690
|
-
res.status(201).json(approvals);
|
|
691
|
-
});
|
|
692
|
-
router.delete("/issues/:id/approvals/:approvalId", async (req, res) => {
|
|
693
|
-
const id = req.params.id;
|
|
694
|
-
const approvalId = req.params.approvalId;
|
|
695
|
-
const issue = await svc.getById(id);
|
|
696
|
-
if (!issue) {
|
|
697
|
-
res.status(404).json({ error: "Issue not found" });
|
|
698
|
-
return;
|
|
699
|
-
}
|
|
700
|
-
if (!(await assertCanManageIssueApprovalLinks(req, res, issue.companyId)))
|
|
701
|
-
return;
|
|
702
|
-
await issueApprovalsSvc.unlink(id, approvalId);
|
|
703
|
-
const actor = getActorInfo(req);
|
|
704
|
-
await logActivity(db, {
|
|
705
|
-
companyId: issue.companyId,
|
|
706
|
-
actorType: actor.actorType,
|
|
707
|
-
actorId: actor.actorId,
|
|
708
|
-
agentId: actor.agentId,
|
|
709
|
-
runId: actor.runId,
|
|
710
|
-
action: "issue.approval_unlinked",
|
|
711
|
-
entityType: "issue",
|
|
712
|
-
entityId: issue.id,
|
|
713
|
-
details: { approvalId },
|
|
714
|
-
});
|
|
715
|
-
res.json({ ok: true });
|
|
716
|
-
});
|
|
717
|
-
router.post("/companies/:companyId/issues", validate(createIssueSchema), async (req, res) => {
|
|
718
|
-
const companyId = req.params.companyId;
|
|
719
|
-
assertCompanyAccess(req, companyId);
|
|
720
|
-
if (req.body.assigneeAgentId || req.body.assigneeUserId) {
|
|
721
|
-
await assertCanAssignTasks(req, companyId);
|
|
722
|
-
}
|
|
723
|
-
const actor = getActorInfo(req);
|
|
724
|
-
const issue = await svc.create(companyId, {
|
|
725
|
-
...req.body,
|
|
726
|
-
createdByAgentId: actor.agentId,
|
|
727
|
-
createdByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
728
|
-
});
|
|
729
|
-
await logActivity(db, {
|
|
730
|
-
companyId,
|
|
731
|
-
actorType: actor.actorType,
|
|
732
|
-
actorId: actor.actorId,
|
|
733
|
-
agentId: actor.agentId,
|
|
734
|
-
runId: actor.runId,
|
|
735
|
-
action: "issue.created",
|
|
736
|
-
entityType: "issue",
|
|
737
|
-
entityId: issue.id,
|
|
738
|
-
details: { title: issue.title, identifier: issue.identifier },
|
|
739
|
-
});
|
|
740
|
-
if (issue.assigneeAgentId && issue.status !== "backlog") {
|
|
741
|
-
void heartbeat
|
|
742
|
-
.wakeup(issue.assigneeAgentId, {
|
|
743
|
-
source: "assignment",
|
|
744
|
-
triggerDetail: "system",
|
|
745
|
-
reason: "issue_assigned",
|
|
746
|
-
payload: { issueId: issue.id, mutation: "create" },
|
|
747
|
-
requestedByActorType: actor.actorType,
|
|
748
|
-
requestedByActorId: actor.actorId,
|
|
749
|
-
contextSnapshot: { issueId: issue.id, source: "issue.create" },
|
|
750
|
-
})
|
|
751
|
-
.catch((err) => logger.warn({ err, issueId: issue.id }, "failed to wake assignee on issue create"));
|
|
752
|
-
}
|
|
753
|
-
res.status(201).json(issue);
|
|
754
|
-
});
|
|
755
|
-
router.patch("/issues/:id", validate(updateIssueSchema), async (req, res) => {
|
|
756
|
-
const id = req.params.id;
|
|
757
|
-
const existing = await svc.getById(id);
|
|
758
|
-
if (!existing) {
|
|
759
|
-
res.status(404).json({ error: "Issue not found" });
|
|
760
|
-
return;
|
|
761
|
-
}
|
|
762
|
-
assertCompanyAccess(req, existing.companyId);
|
|
763
|
-
const assigneeWillChange = (req.body.assigneeAgentId !== undefined && req.body.assigneeAgentId !== existing.assigneeAgentId) ||
|
|
764
|
-
(req.body.assigneeUserId !== undefined && req.body.assigneeUserId !== existing.assigneeUserId);
|
|
765
|
-
const isAgentReturningIssueToCreator = req.actor.type === "agent" &&
|
|
766
|
-
!!req.actor.agentId &&
|
|
767
|
-
existing.assigneeAgentId === req.actor.agentId &&
|
|
768
|
-
req.body.assigneeAgentId === null &&
|
|
769
|
-
typeof req.body.assigneeUserId === "string" &&
|
|
770
|
-
!!existing.createdByUserId &&
|
|
771
|
-
req.body.assigneeUserId === existing.createdByUserId;
|
|
772
|
-
if (assigneeWillChange) {
|
|
773
|
-
if (!isAgentReturningIssueToCreator) {
|
|
774
|
-
await assertCanAssignTasks(req, existing.companyId);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
if (!(await assertAgentRunCheckoutOwnership(req, res, existing)))
|
|
778
|
-
return;
|
|
779
|
-
const actor = getActorInfo(req);
|
|
780
|
-
const { comment: commentBody, hiddenAt: hiddenAtRaw, ...updateFields } = req.body;
|
|
781
|
-
if (hiddenAtRaw !== undefined) {
|
|
782
|
-
updateFields.hiddenAt = hiddenAtRaw ? new Date(hiddenAtRaw) : null;
|
|
783
|
-
}
|
|
784
|
-
let issue;
|
|
785
|
-
try {
|
|
786
|
-
issue = await svc.update(id, updateFields);
|
|
787
|
-
}
|
|
788
|
-
catch (err) {
|
|
789
|
-
if (err instanceof HttpError && err.status === 422) {
|
|
790
|
-
logger.warn({
|
|
791
|
-
issueId: id,
|
|
792
|
-
companyId: existing.companyId,
|
|
793
|
-
assigneePatch: {
|
|
794
|
-
assigneeAgentId: req.body.assigneeAgentId === undefined ? "__omitted__" : req.body.assigneeAgentId,
|
|
795
|
-
assigneeUserId: req.body.assigneeUserId === undefined ? "__omitted__" : req.body.assigneeUserId,
|
|
796
|
-
},
|
|
797
|
-
currentAssignee: {
|
|
798
|
-
assigneeAgentId: existing.assigneeAgentId,
|
|
799
|
-
assigneeUserId: existing.assigneeUserId,
|
|
800
|
-
},
|
|
801
|
-
error: err.message,
|
|
802
|
-
details: err.details,
|
|
803
|
-
}, "issue update rejected with 422");
|
|
804
|
-
}
|
|
805
|
-
throw err;
|
|
806
|
-
}
|
|
807
|
-
if (!issue) {
|
|
808
|
-
res.status(404).json({ error: "Issue not found" });
|
|
809
|
-
return;
|
|
810
|
-
}
|
|
811
|
-
if (actor.runId) {
|
|
812
|
-
await heartbeat.reportRunActivity(actor.runId).catch((err) => logger.warn({ err, runId: actor.runId }, "failed to clear detached run warning after issue activity"));
|
|
813
|
-
}
|
|
814
|
-
// Build activity details with previous values for changed fields
|
|
815
|
-
const previous = {};
|
|
816
|
-
for (const key of Object.keys(updateFields)) {
|
|
817
|
-
if (key in existing && existing[key] !== updateFields[key]) {
|
|
818
|
-
previous[key] = existing[key];
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
const hasFieldChanges = Object.keys(previous).length > 0;
|
|
822
|
-
await logActivity(db, {
|
|
823
|
-
companyId: issue.companyId,
|
|
824
|
-
actorType: actor.actorType,
|
|
825
|
-
actorId: actor.actorId,
|
|
826
|
-
agentId: actor.agentId,
|
|
827
|
-
runId: actor.runId,
|
|
828
|
-
action: "issue.updated",
|
|
829
|
-
entityType: "issue",
|
|
830
|
-
entityId: issue.id,
|
|
831
|
-
details: {
|
|
832
|
-
...updateFields,
|
|
833
|
-
identifier: issue.identifier,
|
|
834
|
-
...(commentBody ? { source: "comment" } : {}),
|
|
835
|
-
_previous: hasFieldChanges ? previous : undefined,
|
|
836
|
-
},
|
|
837
|
-
});
|
|
838
|
-
let comment = null;
|
|
839
|
-
if (commentBody) {
|
|
840
|
-
comment = await svc.addComment(id, commentBody, {
|
|
841
|
-
agentId: actor.agentId ?? undefined,
|
|
842
|
-
userId: actor.actorType === "user" ? actor.actorId : undefined,
|
|
843
|
-
});
|
|
844
|
-
await logActivity(db, {
|
|
845
|
-
companyId: issue.companyId,
|
|
846
|
-
actorType: actor.actorType,
|
|
847
|
-
actorId: actor.actorId,
|
|
848
|
-
agentId: actor.agentId,
|
|
849
|
-
runId: actor.runId,
|
|
850
|
-
action: "issue.comment_added",
|
|
851
|
-
entityType: "issue",
|
|
852
|
-
entityId: issue.id,
|
|
853
|
-
details: {
|
|
854
|
-
commentId: comment.id,
|
|
855
|
-
bodySnippet: comment.body.slice(0, 120),
|
|
856
|
-
identifier: issue.identifier,
|
|
857
|
-
issueTitle: issue.title,
|
|
858
|
-
...(hasFieldChanges ? { updated: true } : {}),
|
|
859
|
-
},
|
|
860
|
-
});
|
|
861
|
-
}
|
|
862
|
-
const assigneeChanged = assigneeWillChange;
|
|
863
|
-
const statusChangedFromBacklog = existing.status === "backlog" &&
|
|
864
|
-
issue.status !== "backlog" &&
|
|
865
|
-
req.body.status !== undefined;
|
|
866
|
-
// Merge all wakeups from this update into one enqueue per agent to avoid duplicate runs.
|
|
867
|
-
void (async () => {
|
|
868
|
-
const wakeups = new Map();
|
|
869
|
-
if (assigneeChanged && issue.assigneeAgentId && issue.status !== "backlog") {
|
|
870
|
-
wakeups.set(issue.assigneeAgentId, {
|
|
871
|
-
source: "assignment",
|
|
872
|
-
triggerDetail: "system",
|
|
873
|
-
reason: "issue_assigned",
|
|
874
|
-
payload: { issueId: issue.id, mutation: "update" },
|
|
875
|
-
requestedByActorType: actor.actorType,
|
|
876
|
-
requestedByActorId: actor.actorId,
|
|
877
|
-
contextSnapshot: { issueId: issue.id, source: "issue.update" },
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
if (!assigneeChanged && statusChangedFromBacklog && issue.assigneeAgentId) {
|
|
881
|
-
wakeups.set(issue.assigneeAgentId, {
|
|
882
|
-
source: "automation",
|
|
883
|
-
triggerDetail: "system",
|
|
884
|
-
reason: "issue_status_changed",
|
|
885
|
-
payload: { issueId: issue.id, mutation: "update" },
|
|
886
|
-
requestedByActorType: actor.actorType,
|
|
887
|
-
requestedByActorId: actor.actorId,
|
|
888
|
-
contextSnapshot: { issueId: issue.id, source: "issue.status_change" },
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
if (commentBody && comment) {
|
|
892
|
-
let mentionedIds = [];
|
|
893
|
-
try {
|
|
894
|
-
mentionedIds = await svc.findMentionedAgents(issue.companyId, commentBody);
|
|
895
|
-
}
|
|
896
|
-
catch (err) {
|
|
897
|
-
logger.warn({ err, issueId: id }, "failed to resolve @-mentions");
|
|
898
|
-
}
|
|
899
|
-
for (const mentionedId of mentionedIds) {
|
|
900
|
-
if (wakeups.has(mentionedId))
|
|
901
|
-
continue;
|
|
902
|
-
if (actor.actorType === "agent" && actor.actorId === mentionedId)
|
|
903
|
-
continue;
|
|
904
|
-
wakeups.set(mentionedId, {
|
|
905
|
-
source: "automation",
|
|
906
|
-
triggerDetail: "system",
|
|
907
|
-
reason: "issue_comment_mentioned",
|
|
908
|
-
payload: { issueId: id, commentId: comment.id },
|
|
909
|
-
requestedByActorType: actor.actorType,
|
|
910
|
-
requestedByActorId: actor.actorId,
|
|
911
|
-
contextSnapshot: {
|
|
912
|
-
issueId: id,
|
|
913
|
-
taskId: id,
|
|
914
|
-
commentId: comment.id,
|
|
915
|
-
wakeCommentId: comment.id,
|
|
916
|
-
wakeReason: "issue_comment_mentioned",
|
|
917
|
-
source: "comment.mention",
|
|
918
|
-
},
|
|
919
|
-
});
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
for (const [agentId, wakeup] of wakeups.entries()) {
|
|
923
|
-
heartbeat
|
|
924
|
-
.wakeup(agentId, wakeup)
|
|
925
|
-
.catch((err) => logger.warn({ err, issueId: issue.id, agentId }, "failed to wake agent on issue update"));
|
|
926
|
-
}
|
|
927
|
-
})();
|
|
928
|
-
res.json({ ...issue, comment });
|
|
929
|
-
});
|
|
930
|
-
router.delete("/issues/:id", async (req, res) => {
|
|
931
|
-
const id = req.params.id;
|
|
932
|
-
const existing = await svc.getById(id);
|
|
933
|
-
if (!existing) {
|
|
934
|
-
res.status(404).json({ error: "Issue not found" });
|
|
935
|
-
return;
|
|
936
|
-
}
|
|
937
|
-
assertCompanyAccess(req, existing.companyId);
|
|
938
|
-
const attachments = await svc.listAttachments(id);
|
|
939
|
-
const issue = await svc.remove(id);
|
|
940
|
-
if (!issue) {
|
|
941
|
-
res.status(404).json({ error: "Issue not found" });
|
|
942
|
-
return;
|
|
943
|
-
}
|
|
944
|
-
for (const attachment of attachments) {
|
|
945
|
-
try {
|
|
946
|
-
await storage.deleteObject(attachment.companyId, attachment.objectKey);
|
|
947
|
-
}
|
|
948
|
-
catch (err) {
|
|
949
|
-
logger.warn({ err, issueId: id, attachmentId: attachment.id }, "failed to delete attachment object during issue delete");
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
const actor = getActorInfo(req);
|
|
953
|
-
await logActivity(db, {
|
|
954
|
-
companyId: issue.companyId,
|
|
955
|
-
actorType: actor.actorType,
|
|
956
|
-
actorId: actor.actorId,
|
|
957
|
-
agentId: actor.agentId,
|
|
958
|
-
runId: actor.runId,
|
|
959
|
-
action: "issue.deleted",
|
|
960
|
-
entityType: "issue",
|
|
961
|
-
entityId: issue.id,
|
|
962
|
-
});
|
|
963
|
-
res.json(issue);
|
|
964
|
-
});
|
|
965
|
-
router.post("/issues/:id/checkout", validate(checkoutIssueSchema), async (req, res) => {
|
|
966
|
-
const id = req.params.id;
|
|
967
|
-
const issue = await svc.getById(id);
|
|
968
|
-
if (!issue) {
|
|
969
|
-
res.status(404).json({ error: "Issue not found" });
|
|
970
|
-
return;
|
|
971
|
-
}
|
|
972
|
-
assertCompanyAccess(req, issue.companyId);
|
|
973
|
-
if (issue.projectId) {
|
|
974
|
-
const project = await projectsSvc.getById(issue.projectId);
|
|
975
|
-
if (project?.pausedAt) {
|
|
976
|
-
res.status(409).json({
|
|
977
|
-
error: project.pauseReason === "budget"
|
|
978
|
-
? "Project is paused because its budget hard-stop was reached"
|
|
979
|
-
: "Project is paused",
|
|
980
|
-
});
|
|
981
|
-
return;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
if (req.actor.type === "agent" && req.actor.agentId !== req.body.agentId) {
|
|
985
|
-
res.status(403).json({ error: "Agent can only checkout as itself" });
|
|
986
|
-
return;
|
|
987
|
-
}
|
|
988
|
-
const checkoutRunId = requireAgentRunId(req, res);
|
|
989
|
-
if (req.actor.type === "agent" && !checkoutRunId)
|
|
990
|
-
return;
|
|
991
|
-
const updated = await svc.checkout(id, req.body.agentId, req.body.expectedStatuses, checkoutRunId);
|
|
992
|
-
const actor = getActorInfo(req);
|
|
993
|
-
await logActivity(db, {
|
|
994
|
-
companyId: issue.companyId,
|
|
995
|
-
actorType: actor.actorType,
|
|
996
|
-
actorId: actor.actorId,
|
|
997
|
-
agentId: actor.agentId,
|
|
998
|
-
runId: actor.runId,
|
|
999
|
-
action: "issue.checked_out",
|
|
1000
|
-
entityType: "issue",
|
|
1001
|
-
entityId: issue.id,
|
|
1002
|
-
details: { agentId: req.body.agentId },
|
|
1003
|
-
});
|
|
1004
|
-
if (shouldWakeAssigneeOnCheckout({
|
|
1005
|
-
actorType: req.actor.type,
|
|
1006
|
-
actorAgentId: req.actor.type === "agent" ? req.actor.agentId ?? null : null,
|
|
1007
|
-
checkoutAgentId: req.body.agentId,
|
|
1008
|
-
checkoutRunId,
|
|
1009
|
-
})) {
|
|
1010
|
-
void heartbeat
|
|
1011
|
-
.wakeup(req.body.agentId, {
|
|
1012
|
-
source: "assignment",
|
|
1013
|
-
triggerDetail: "system",
|
|
1014
|
-
reason: "issue_checked_out",
|
|
1015
|
-
payload: { issueId: issue.id, mutation: "checkout" },
|
|
1016
|
-
requestedByActorType: actor.actorType,
|
|
1017
|
-
requestedByActorId: actor.actorId,
|
|
1018
|
-
contextSnapshot: { issueId: issue.id, source: "issue.checkout" },
|
|
1019
|
-
})
|
|
1020
|
-
.catch((err) => logger.warn({ err, issueId: issue.id }, "failed to wake assignee on issue checkout"));
|
|
1021
|
-
}
|
|
1022
|
-
res.json(updated);
|
|
1023
|
-
});
|
|
1024
|
-
router.post("/issues/:id/release", async (req, res) => {
|
|
1025
|
-
const id = req.params.id;
|
|
1026
|
-
const existing = await svc.getById(id);
|
|
1027
|
-
if (!existing) {
|
|
1028
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1029
|
-
return;
|
|
1030
|
-
}
|
|
1031
|
-
assertCompanyAccess(req, existing.companyId);
|
|
1032
|
-
if (!(await assertAgentRunCheckoutOwnership(req, res, existing)))
|
|
1033
|
-
return;
|
|
1034
|
-
const actorRunId = requireAgentRunId(req, res);
|
|
1035
|
-
if (req.actor.type === "agent" && !actorRunId)
|
|
1036
|
-
return;
|
|
1037
|
-
const released = await svc.release(id, req.actor.type === "agent" ? req.actor.agentId : undefined, actorRunId);
|
|
1038
|
-
if (!released) {
|
|
1039
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1040
|
-
return;
|
|
1041
|
-
}
|
|
1042
|
-
const actor = getActorInfo(req);
|
|
1043
|
-
await logActivity(db, {
|
|
1044
|
-
companyId: released.companyId,
|
|
1045
|
-
actorType: actor.actorType,
|
|
1046
|
-
actorId: actor.actorId,
|
|
1047
|
-
agentId: actor.agentId,
|
|
1048
|
-
runId: actor.runId,
|
|
1049
|
-
action: "issue.released",
|
|
1050
|
-
entityType: "issue",
|
|
1051
|
-
entityId: released.id,
|
|
1052
|
-
});
|
|
1053
|
-
res.json(released);
|
|
1054
|
-
});
|
|
1055
|
-
router.get("/issues/:id/comments", async (req, res) => {
|
|
1056
|
-
const id = req.params.id;
|
|
1057
|
-
const issue = await svc.getById(id);
|
|
1058
|
-
if (!issue) {
|
|
1059
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1060
|
-
return;
|
|
1061
|
-
}
|
|
1062
|
-
assertCompanyAccess(req, issue.companyId);
|
|
1063
|
-
const afterCommentId = typeof req.query.after === "string" && req.query.after.trim().length > 0
|
|
1064
|
-
? req.query.after.trim()
|
|
1065
|
-
: typeof req.query.afterCommentId === "string" && req.query.afterCommentId.trim().length > 0
|
|
1066
|
-
? req.query.afterCommentId.trim()
|
|
1067
|
-
: null;
|
|
1068
|
-
const order = typeof req.query.order === "string" && req.query.order.trim().toLowerCase() === "asc"
|
|
1069
|
-
? "asc"
|
|
1070
|
-
: "desc";
|
|
1071
|
-
const limitRaw = typeof req.query.limit === "string" && req.query.limit.trim().length > 0
|
|
1072
|
-
? Number(req.query.limit)
|
|
1073
|
-
: null;
|
|
1074
|
-
const limit = limitRaw && Number.isFinite(limitRaw) && limitRaw > 0
|
|
1075
|
-
? Math.min(Math.floor(limitRaw), MAX_ISSUE_COMMENT_LIMIT)
|
|
1076
|
-
: null;
|
|
1077
|
-
const comments = await svc.listComments(id, {
|
|
1078
|
-
afterCommentId,
|
|
1079
|
-
order,
|
|
1080
|
-
limit,
|
|
1081
|
-
});
|
|
1082
|
-
res.json(comments);
|
|
1083
|
-
});
|
|
1084
|
-
router.get("/issues/:id/comments/:commentId", async (req, res) => {
|
|
1085
|
-
const id = req.params.id;
|
|
1086
|
-
const commentId = req.params.commentId;
|
|
1087
|
-
const issue = await svc.getById(id);
|
|
1088
|
-
if (!issue) {
|
|
1089
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1090
|
-
return;
|
|
1091
|
-
}
|
|
1092
|
-
assertCompanyAccess(req, issue.companyId);
|
|
1093
|
-
const comment = await svc.getComment(commentId);
|
|
1094
|
-
if (!comment || comment.issueId !== id) {
|
|
1095
|
-
res.status(404).json({ error: "Comment not found" });
|
|
1096
|
-
return;
|
|
1097
|
-
}
|
|
1098
|
-
res.json(comment);
|
|
1099
|
-
});
|
|
1100
|
-
router.post("/issues/:id/comments", validate(addIssueCommentSchema), async (req, res) => {
|
|
1101
|
-
const id = req.params.id;
|
|
1102
|
-
const issue = await svc.getById(id);
|
|
1103
|
-
if (!issue) {
|
|
1104
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1105
|
-
return;
|
|
1106
|
-
}
|
|
1107
|
-
assertCompanyAccess(req, issue.companyId);
|
|
1108
|
-
if (!(await assertAgentRunCheckoutOwnership(req, res, issue)))
|
|
1109
|
-
return;
|
|
1110
|
-
const actor = getActorInfo(req);
|
|
1111
|
-
const reopenRequested = req.body.reopen === true;
|
|
1112
|
-
const interruptRequested = req.body.interrupt === true;
|
|
1113
|
-
const isClosed = issue.status === "done" || issue.status === "cancelled";
|
|
1114
|
-
let reopened = false;
|
|
1115
|
-
let reopenFromStatus = null;
|
|
1116
|
-
let interruptedRunId = null;
|
|
1117
|
-
let currentIssue = issue;
|
|
1118
|
-
if (reopenRequested && isClosed) {
|
|
1119
|
-
const reopenedIssue = await svc.update(id, { status: "todo" });
|
|
1120
|
-
if (!reopenedIssue) {
|
|
1121
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1122
|
-
return;
|
|
1123
|
-
}
|
|
1124
|
-
reopened = true;
|
|
1125
|
-
reopenFromStatus = issue.status;
|
|
1126
|
-
currentIssue = reopenedIssue;
|
|
1127
|
-
await logActivity(db, {
|
|
1128
|
-
companyId: currentIssue.companyId,
|
|
1129
|
-
actorType: actor.actorType,
|
|
1130
|
-
actorId: actor.actorId,
|
|
1131
|
-
agentId: actor.agentId,
|
|
1132
|
-
runId: actor.runId,
|
|
1133
|
-
action: "issue.updated",
|
|
1134
|
-
entityType: "issue",
|
|
1135
|
-
entityId: currentIssue.id,
|
|
1136
|
-
details: {
|
|
1137
|
-
status: "todo",
|
|
1138
|
-
reopened: true,
|
|
1139
|
-
reopenedFrom: reopenFromStatus,
|
|
1140
|
-
source: "comment",
|
|
1141
|
-
identifier: currentIssue.identifier,
|
|
1142
|
-
},
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
|
-
if (interruptRequested) {
|
|
1146
|
-
if (req.actor.type !== "board") {
|
|
1147
|
-
res.status(403).json({ error: "Only board users can interrupt active runs from issue comments" });
|
|
1148
|
-
return;
|
|
1149
|
-
}
|
|
1150
|
-
let runToInterrupt = currentIssue.executionRunId
|
|
1151
|
-
? await heartbeat.getRun(currentIssue.executionRunId)
|
|
1152
|
-
: null;
|
|
1153
|
-
if ((!runToInterrupt || runToInterrupt.status !== "running") &&
|
|
1154
|
-
currentIssue.assigneeAgentId) {
|
|
1155
|
-
const activeRun = await heartbeat.getActiveRunForAgent(currentIssue.assigneeAgentId);
|
|
1156
|
-
const activeIssueId = activeRun &&
|
|
1157
|
-
activeRun.contextSnapshot &&
|
|
1158
|
-
typeof activeRun.contextSnapshot === "object" &&
|
|
1159
|
-
typeof activeRun.contextSnapshot.issueId === "string"
|
|
1160
|
-
? activeRun.contextSnapshot.issueId
|
|
1161
|
-
: null;
|
|
1162
|
-
if (activeRun && activeRun.status === "running" && activeIssueId === currentIssue.id) {
|
|
1163
|
-
runToInterrupt = activeRun;
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
if (runToInterrupt && runToInterrupt.status === "running") {
|
|
1167
|
-
const cancelled = await heartbeat.cancelRun(runToInterrupt.id);
|
|
1168
|
-
if (cancelled) {
|
|
1169
|
-
interruptedRunId = cancelled.id;
|
|
1170
|
-
await logActivity(db, {
|
|
1171
|
-
companyId: cancelled.companyId,
|
|
1172
|
-
actorType: actor.actorType,
|
|
1173
|
-
actorId: actor.actorId,
|
|
1174
|
-
agentId: actor.agentId,
|
|
1175
|
-
runId: actor.runId,
|
|
1176
|
-
action: "heartbeat.cancelled",
|
|
1177
|
-
entityType: "heartbeat_run",
|
|
1178
|
-
entityId: cancelled.id,
|
|
1179
|
-
details: { agentId: cancelled.agentId, source: "issue_comment_interrupt", issueId: currentIssue.id },
|
|
1180
|
-
});
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
const comment = await svc.addComment(id, req.body.body, {
|
|
1185
|
-
agentId: actor.agentId ?? undefined,
|
|
1186
|
-
userId: actor.actorType === "user" ? actor.actorId : undefined,
|
|
1187
|
-
});
|
|
1188
|
-
if (actor.runId) {
|
|
1189
|
-
await heartbeat.reportRunActivity(actor.runId).catch((err) => logger.warn({ err, runId: actor.runId }, "failed to clear detached run warning after issue comment"));
|
|
1190
|
-
}
|
|
1191
|
-
await logActivity(db, {
|
|
1192
|
-
companyId: currentIssue.companyId,
|
|
1193
|
-
actorType: actor.actorType,
|
|
1194
|
-
actorId: actor.actorId,
|
|
1195
|
-
agentId: actor.agentId,
|
|
1196
|
-
runId: actor.runId,
|
|
1197
|
-
action: "issue.comment_added",
|
|
1198
|
-
entityType: "issue",
|
|
1199
|
-
entityId: currentIssue.id,
|
|
1200
|
-
details: {
|
|
1201
|
-
commentId: comment.id,
|
|
1202
|
-
bodySnippet: comment.body.slice(0, 120),
|
|
1203
|
-
identifier: currentIssue.identifier,
|
|
1204
|
-
issueTitle: currentIssue.title,
|
|
1205
|
-
...(reopened ? { reopened: true, reopenedFrom: reopenFromStatus, source: "comment" } : {}),
|
|
1206
|
-
...(interruptedRunId ? { interruptedRunId } : {}),
|
|
1207
|
-
},
|
|
1208
|
-
});
|
|
1209
|
-
// Merge all wakeups from this comment into one enqueue per agent to avoid duplicate runs.
|
|
1210
|
-
void (async () => {
|
|
1211
|
-
const wakeups = new Map();
|
|
1212
|
-
const assigneeId = currentIssue.assigneeAgentId;
|
|
1213
|
-
const actorIsAgent = actor.actorType === "agent";
|
|
1214
|
-
const selfComment = actorIsAgent && actor.actorId === assigneeId;
|
|
1215
|
-
const skipWake = selfComment || isClosed;
|
|
1216
|
-
if (assigneeId && (reopened || !skipWake)) {
|
|
1217
|
-
if (reopened) {
|
|
1218
|
-
wakeups.set(assigneeId, {
|
|
1219
|
-
source: "automation",
|
|
1220
|
-
triggerDetail: "system",
|
|
1221
|
-
reason: "issue_reopened_via_comment",
|
|
1222
|
-
payload: {
|
|
1223
|
-
issueId: currentIssue.id,
|
|
1224
|
-
commentId: comment.id,
|
|
1225
|
-
reopenedFrom: reopenFromStatus,
|
|
1226
|
-
mutation: "comment",
|
|
1227
|
-
...(interruptedRunId ? { interruptedRunId } : {}),
|
|
1228
|
-
},
|
|
1229
|
-
requestedByActorType: actor.actorType,
|
|
1230
|
-
requestedByActorId: actor.actorId,
|
|
1231
|
-
contextSnapshot: {
|
|
1232
|
-
issueId: currentIssue.id,
|
|
1233
|
-
taskId: currentIssue.id,
|
|
1234
|
-
commentId: comment.id,
|
|
1235
|
-
source: "issue.comment.reopen",
|
|
1236
|
-
wakeReason: "issue_reopened_via_comment",
|
|
1237
|
-
reopenedFrom: reopenFromStatus,
|
|
1238
|
-
...(interruptedRunId ? { interruptedRunId } : {}),
|
|
1239
|
-
},
|
|
1240
|
-
});
|
|
1241
|
-
}
|
|
1242
|
-
else {
|
|
1243
|
-
wakeups.set(assigneeId, {
|
|
1244
|
-
source: "automation",
|
|
1245
|
-
triggerDetail: "system",
|
|
1246
|
-
reason: "issue_commented",
|
|
1247
|
-
payload: {
|
|
1248
|
-
issueId: currentIssue.id,
|
|
1249
|
-
commentId: comment.id,
|
|
1250
|
-
mutation: "comment",
|
|
1251
|
-
...(interruptedRunId ? { interruptedRunId } : {}),
|
|
1252
|
-
},
|
|
1253
|
-
requestedByActorType: actor.actorType,
|
|
1254
|
-
requestedByActorId: actor.actorId,
|
|
1255
|
-
contextSnapshot: {
|
|
1256
|
-
issueId: currentIssue.id,
|
|
1257
|
-
taskId: currentIssue.id,
|
|
1258
|
-
commentId: comment.id,
|
|
1259
|
-
source: "issue.comment",
|
|
1260
|
-
wakeReason: "issue_commented",
|
|
1261
|
-
...(interruptedRunId ? { interruptedRunId } : {}),
|
|
1262
|
-
},
|
|
1263
|
-
});
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
let mentionedIds = [];
|
|
1267
|
-
try {
|
|
1268
|
-
mentionedIds = await svc.findMentionedAgents(issue.companyId, req.body.body);
|
|
1269
|
-
}
|
|
1270
|
-
catch (err) {
|
|
1271
|
-
logger.warn({ err, issueId: id }, "failed to resolve @-mentions");
|
|
1272
|
-
}
|
|
1273
|
-
for (const mentionedId of mentionedIds) {
|
|
1274
|
-
if (wakeups.has(mentionedId))
|
|
1275
|
-
continue;
|
|
1276
|
-
if (actorIsAgent && actor.actorId === mentionedId)
|
|
1277
|
-
continue;
|
|
1278
|
-
wakeups.set(mentionedId, {
|
|
1279
|
-
source: "automation",
|
|
1280
|
-
triggerDetail: "system",
|
|
1281
|
-
reason: "issue_comment_mentioned",
|
|
1282
|
-
payload: { issueId: id, commentId: comment.id },
|
|
1283
|
-
requestedByActorType: actor.actorType,
|
|
1284
|
-
requestedByActorId: actor.actorId,
|
|
1285
|
-
contextSnapshot: {
|
|
1286
|
-
issueId: id,
|
|
1287
|
-
taskId: id,
|
|
1288
|
-
commentId: comment.id,
|
|
1289
|
-
wakeCommentId: comment.id,
|
|
1290
|
-
wakeReason: "issue_comment_mentioned",
|
|
1291
|
-
source: "comment.mention",
|
|
1292
|
-
},
|
|
1293
|
-
});
|
|
1294
|
-
}
|
|
1295
|
-
for (const [agentId, wakeup] of wakeups.entries()) {
|
|
1296
|
-
heartbeat
|
|
1297
|
-
.wakeup(agentId, wakeup)
|
|
1298
|
-
.catch((err) => logger.warn({ err, issueId: currentIssue.id, agentId }, "failed to wake agent on issue comment"));
|
|
1299
|
-
}
|
|
1300
|
-
})();
|
|
1301
|
-
res.status(201).json(comment);
|
|
1302
|
-
});
|
|
1303
|
-
router.get("/issues/:id/attachments", async (req, res) => {
|
|
1304
|
-
const issueId = req.params.id;
|
|
1305
|
-
const issue = await svc.getById(issueId);
|
|
1306
|
-
if (!issue) {
|
|
1307
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1308
|
-
return;
|
|
1309
|
-
}
|
|
1310
|
-
assertCompanyAccess(req, issue.companyId);
|
|
1311
|
-
const attachments = await svc.listAttachments(issueId);
|
|
1312
|
-
res.json(attachments.map(withContentPath));
|
|
1313
|
-
});
|
|
1314
|
-
router.post("/companies/:companyId/issues/:issueId/attachments", async (req, res) => {
|
|
1315
|
-
const companyId = req.params.companyId;
|
|
1316
|
-
const issueId = req.params.issueId;
|
|
1317
|
-
assertCompanyAccess(req, companyId);
|
|
1318
|
-
const issue = await svc.getById(issueId);
|
|
1319
|
-
if (!issue) {
|
|
1320
|
-
res.status(404).json({ error: "Issue not found" });
|
|
1321
|
-
return;
|
|
1322
|
-
}
|
|
1323
|
-
if (issue.companyId !== companyId) {
|
|
1324
|
-
res.status(422).json({ error: "Issue does not belong to company" });
|
|
1325
|
-
return;
|
|
1326
|
-
}
|
|
1327
|
-
try {
|
|
1328
|
-
await runSingleFileUpload(req, res);
|
|
1329
|
-
}
|
|
1330
|
-
catch (err) {
|
|
1331
|
-
if (err instanceof multer.MulterError) {
|
|
1332
|
-
if (err.code === "LIMIT_FILE_SIZE") {
|
|
1333
|
-
res.status(422).json({ error: `Attachment exceeds ${MAX_ATTACHMENT_BYTES} bytes` });
|
|
1334
|
-
return;
|
|
1335
|
-
}
|
|
1336
|
-
res.status(400).json({ error: err.message });
|
|
1337
|
-
return;
|
|
1338
|
-
}
|
|
1339
|
-
throw err;
|
|
1340
|
-
}
|
|
1341
|
-
const file = req.file;
|
|
1342
|
-
if (!file) {
|
|
1343
|
-
res.status(400).json({ error: "Missing file field 'file'" });
|
|
1344
|
-
return;
|
|
1345
|
-
}
|
|
1346
|
-
const contentType = (file.mimetype || "").toLowerCase();
|
|
1347
|
-
if (!isAllowedContentType(contentType)) {
|
|
1348
|
-
res.status(422).json({ error: `Unsupported attachment type: ${contentType || "unknown"}` });
|
|
1349
|
-
return;
|
|
1350
|
-
}
|
|
1351
|
-
if (file.buffer.length <= 0) {
|
|
1352
|
-
res.status(422).json({ error: "Attachment is empty" });
|
|
1353
|
-
return;
|
|
1354
|
-
}
|
|
1355
|
-
const parsedMeta = createIssueAttachmentMetadataSchema.safeParse(req.body ?? {});
|
|
1356
|
-
if (!parsedMeta.success) {
|
|
1357
|
-
res.status(400).json({ error: "Invalid attachment metadata", details: parsedMeta.error.issues });
|
|
1358
|
-
return;
|
|
1359
|
-
}
|
|
1360
|
-
const actor = getActorInfo(req);
|
|
1361
|
-
const stored = await storage.putFile({
|
|
1362
|
-
companyId,
|
|
1363
|
-
namespace: `issues/${issueId}`,
|
|
1364
|
-
originalFilename: file.originalname || null,
|
|
1365
|
-
contentType,
|
|
1366
|
-
body: file.buffer,
|
|
1367
|
-
});
|
|
1368
|
-
const attachment = await svc.createAttachment({
|
|
1369
|
-
issueId,
|
|
1370
|
-
issueCommentId: parsedMeta.data.issueCommentId ?? null,
|
|
1371
|
-
provider: stored.provider,
|
|
1372
|
-
objectKey: stored.objectKey,
|
|
1373
|
-
contentType: stored.contentType,
|
|
1374
|
-
byteSize: stored.byteSize,
|
|
1375
|
-
sha256: stored.sha256,
|
|
1376
|
-
originalFilename: stored.originalFilename,
|
|
1377
|
-
createdByAgentId: actor.agentId,
|
|
1378
|
-
createdByUserId: actor.actorType === "user" ? actor.actorId : null,
|
|
1379
|
-
});
|
|
1380
|
-
await logActivity(db, {
|
|
1381
|
-
companyId,
|
|
1382
|
-
actorType: actor.actorType,
|
|
1383
|
-
actorId: actor.actorId,
|
|
1384
|
-
agentId: actor.agentId,
|
|
1385
|
-
runId: actor.runId,
|
|
1386
|
-
action: "issue.attachment_added",
|
|
1387
|
-
entityType: "issue",
|
|
1388
|
-
entityId: issueId,
|
|
1389
|
-
details: {
|
|
1390
|
-
attachmentId: attachment.id,
|
|
1391
|
-
originalFilename: attachment.originalFilename,
|
|
1392
|
-
contentType: attachment.contentType,
|
|
1393
|
-
byteSize: attachment.byteSize,
|
|
1394
|
-
},
|
|
1395
|
-
});
|
|
1396
|
-
res.status(201).json(withContentPath(attachment));
|
|
1397
|
-
});
|
|
1398
|
-
router.get("/attachments/:attachmentId/content", async (req, res, next) => {
|
|
1399
|
-
const attachmentId = req.params.attachmentId;
|
|
1400
|
-
const attachment = await svc.getAttachmentById(attachmentId);
|
|
1401
|
-
if (!attachment) {
|
|
1402
|
-
res.status(404).json({ error: "Attachment not found" });
|
|
1403
|
-
return;
|
|
1404
|
-
}
|
|
1405
|
-
assertCompanyAccess(req, attachment.companyId);
|
|
1406
|
-
const object = await storage.getObject(attachment.companyId, attachment.objectKey);
|
|
1407
|
-
res.setHeader("Content-Type", attachment.contentType || object.contentType || "application/octet-stream");
|
|
1408
|
-
res.setHeader("Content-Length", String(attachment.byteSize || object.contentLength || 0));
|
|
1409
|
-
res.setHeader("Cache-Control", "private, max-age=60");
|
|
1410
|
-
const filename = attachment.originalFilename ?? "attachment";
|
|
1411
|
-
res.setHeader("Content-Disposition", `inline; filename=\"${filename.replaceAll("\"", "")}\"`);
|
|
1412
|
-
object.stream.on("error", (err) => {
|
|
1413
|
-
next(err);
|
|
1414
|
-
});
|
|
1415
|
-
object.stream.pipe(res);
|
|
1416
|
-
});
|
|
1417
|
-
router.delete("/attachments/:attachmentId", async (req, res) => {
|
|
1418
|
-
const attachmentId = req.params.attachmentId;
|
|
1419
|
-
const attachment = await svc.getAttachmentById(attachmentId);
|
|
1420
|
-
if (!attachment) {
|
|
1421
|
-
res.status(404).json({ error: "Attachment not found" });
|
|
1422
|
-
return;
|
|
1423
|
-
}
|
|
1424
|
-
assertCompanyAccess(req, attachment.companyId);
|
|
1425
|
-
try {
|
|
1426
|
-
await storage.deleteObject(attachment.companyId, attachment.objectKey);
|
|
1427
|
-
}
|
|
1428
|
-
catch (err) {
|
|
1429
|
-
logger.warn({ err, attachmentId }, "storage delete failed while removing attachment");
|
|
1430
|
-
}
|
|
1431
|
-
const removed = await svc.removeAttachment(attachmentId);
|
|
1432
|
-
if (!removed) {
|
|
1433
|
-
res.status(404).json({ error: "Attachment not found" });
|
|
1434
|
-
return;
|
|
1435
|
-
}
|
|
1436
|
-
const actor = getActorInfo(req);
|
|
1437
|
-
await logActivity(db, {
|
|
1438
|
-
companyId: removed.companyId,
|
|
1439
|
-
actorType: actor.actorType,
|
|
1440
|
-
actorId: actor.actorId,
|
|
1441
|
-
agentId: actor.agentId,
|
|
1442
|
-
runId: actor.runId,
|
|
1443
|
-
action: "issue.attachment_removed",
|
|
1444
|
-
entityType: "issue",
|
|
1445
|
-
entityId: removed.issueId,
|
|
1446
|
-
details: {
|
|
1447
|
-
attachmentId: removed.id,
|
|
1448
|
-
},
|
|
1449
|
-
});
|
|
1450
|
-
res.json({ ok: true });
|
|
1451
|
-
});
|
|
1452
|
-
return router;
|
|
1453
|
-
}
|
|
1454
|
-
//# sourceMappingURL=issues.js.map
|