@growthub/cli 0.3.11 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +186 -183
- package/dist/index.js.map +3 -3
- package/package.json +1 -7
- package/dist/runtime/server/dist/adapters/codex-models.d.ts +0 -4
- package/dist/runtime/server/dist/adapters/codex-models.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/codex-models.js +0 -98
- package/dist/runtime/server/dist/adapters/codex-models.js.map +0 -1
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts +0 -13
- package/dist/runtime/server/dist/adapters/cursor-models.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/cursor-models.js +0 -148
- package/dist/runtime/server/dist/adapters/cursor-models.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/execute.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/execute.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/execute.js +0 -39
- package/dist/runtime/server/dist/adapters/http/execute.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/index.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/index.js +0 -20
- package/dist/runtime/server/dist/adapters/http/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/http/test.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/http/test.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/http/test.js +0 -106
- package/dist/runtime/server/dist/adapters/http/test.js.map +0 -1
- package/dist/runtime/server/dist/adapters/index.d.ts +0 -4
- package/dist/runtime/server/dist/adapters/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/index.js +0 -3
- package/dist/runtime/server/dist/adapters/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/execute.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/execute.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/execute.js +0 -63
- package/dist/runtime/server/dist/adapters/process/execute.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/index.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/index.js +0 -23
- package/dist/runtime/server/dist/adapters/process/index.js.map +0 -1
- package/dist/runtime/server/dist/adapters/process/test.d.ts +0 -3
- package/dist/runtime/server/dist/adapters/process/test.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/process/test.js +0 -77
- package/dist/runtime/server/dist/adapters/process/test.js.map +0 -1
- package/dist/runtime/server/dist/adapters/registry.d.ts +0 -9
- package/dist/runtime/server/dist/adapters/registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/registry.js +0 -142
- package/dist/runtime/server/dist/adapters/registry.js.map +0 -1
- package/dist/runtime/server/dist/adapters/types.d.ts +0 -2
- package/dist/runtime/server/dist/adapters/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/types.js +0 -2
- package/dist/runtime/server/dist/adapters/types.js.map +0 -1
- package/dist/runtime/server/dist/adapters/utils.d.ts +0 -10
- package/dist/runtime/server/dist/adapters/utils.d.ts.map +0 -1
- package/dist/runtime/server/dist/adapters/utils.js +0 -14
- package/dist/runtime/server/dist/adapters/utils.js.map +0 -1
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts +0 -14
- package/dist/runtime/server/dist/agent-auth-jwt.d.ts.map +0 -1
- package/dist/runtime/server/dist/agent-auth-jwt.js +0 -117
- package/dist/runtime/server/dist/agent-auth-jwt.js.map +0 -1
- package/dist/runtime/server/dist/app.d.ts +0 -26
- package/dist/runtime/server/dist/app.d.ts.map +0 -1
- package/dist/runtime/server/dist/app.js +0 -310
- package/dist/runtime/server/dist/app.js.map +0 -1
- package/dist/runtime/server/dist/attachment-types.d.ts +0 -33
- package/dist/runtime/server/dist/attachment-types.d.ts.map +0 -1
- package/dist/runtime/server/dist/attachment-types.js +0 -67
- package/dist/runtime/server/dist/attachment-types.js.map +0 -1
- package/dist/runtime/server/dist/auth/better-auth.d.ts +0 -24
- package/dist/runtime/server/dist/auth/better-auth.d.ts.map +0 -1
- package/dist/runtime/server/dist/auth/better-auth.js +0 -108
- package/dist/runtime/server/dist/auth/better-auth.js.map +0 -1
- package/dist/runtime/server/dist/board-claim.d.ts +0 -23
- package/dist/runtime/server/dist/board-claim.d.ts.map +0 -1
- package/dist/runtime/server/dist/board-claim.js +0 -115
- package/dist/runtime/server/dist/board-claim.js.map +0 -1
- package/dist/runtime/server/dist/config-file.d.ts +0 -4
- package/dist/runtime/server/dist/config-file.d.ts.map +0 -1
- package/dist/runtime/server/dist/config-file.js +0 -25
- package/dist/runtime/server/dist/config-file.js.map +0 -1
- package/dist/runtime/server/dist/config.d.ts +0 -39
- package/dist/runtime/server/dist/config.d.ts.map +0 -1
- package/dist/runtime/server/dist/config.js +0 -164
- package/dist/runtime/server/dist/config.js.map +0 -1
- package/dist/runtime/server/dist/errors.d.ts +0 -12
- package/dist/runtime/server/dist/errors.d.ts.map +0 -1
- package/dist/runtime/server/dist/errors.js +0 -28
- package/dist/runtime/server/dist/errors.js.map +0 -1
- package/dist/runtime/server/dist/home-paths.d.ts +0 -17
- package/dist/runtime/server/dist/home-paths.d.ts.map +0 -1
- package/dist/runtime/server/dist/home-paths.js +0 -75
- package/dist/runtime/server/dist/home-paths.js.map +0 -1
- package/dist/runtime/server/dist/index.d.ts +0 -10
- package/dist/runtime/server/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/index.js +0 -567
- package/dist/runtime/server/dist/index.js.map +0 -1
- package/dist/runtime/server/dist/log-redaction.d.ts +0 -10
- package/dist/runtime/server/dist/log-redaction.d.ts.map +0 -1
- package/dist/runtime/server/dist/log-redaction.js +0 -110
- package/dist/runtime/server/dist/log-redaction.js.map +0 -1
- package/dist/runtime/server/dist/middleware/auth.d.ts +0 -12
- package/dist/runtime/server/dist/middleware/auth.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/auth.js +0 -124
- package/dist/runtime/server/dist/middleware/auth.js.map +0 -1
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts +0 -3
- package/dist/runtime/server/dist/middleware/board-mutation-guard.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js +0 -60
- package/dist/runtime/server/dist/middleware/board-mutation-guard.js.map +0 -1
- package/dist/runtime/server/dist/middleware/error-handler.d.ts +0 -17
- package/dist/runtime/server/dist/middleware/error-handler.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/error-handler.js +0 -37
- package/dist/runtime/server/dist/middleware/error-handler.js.map +0 -1
- package/dist/runtime/server/dist/middleware/index.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/index.js +0 -4
- package/dist/runtime/server/dist/middleware/index.js.map +0 -1
- package/dist/runtime/server/dist/middleware/logger.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/logger.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/logger.js +0 -87
- package/dist/runtime/server/dist/middleware/logger.js.map +0 -1
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts +0 -11
- package/dist/runtime/server/dist/middleware/private-hostname-guard.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js +0 -78
- package/dist/runtime/server/dist/middleware/private-hostname-guard.js.map +0 -1
- package/dist/runtime/server/dist/middleware/validate.d.ts +0 -4
- package/dist/runtime/server/dist/middleware/validate.d.ts.map +0 -1
- package/dist/runtime/server/dist/middleware/validate.js +0 -7
- package/dist/runtime/server/dist/middleware/validate.js.map +0 -1
- package/dist/runtime/server/dist/paths.d.ts +0 -3
- package/dist/runtime/server/dist/paths.d.ts.map +0 -1
- package/dist/runtime/server/dist/paths.js +0 -31
- package/dist/runtime/server/dist/paths.js.map +0 -1
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts +0 -28
- package/dist/runtime/server/dist/realtime/live-events-ws.d.ts.map +0 -1
- package/dist/runtime/server/dist/realtime/live-events-ws.js +0 -187
- package/dist/runtime/server/dist/realtime/live-events-ws.js.map +0 -1
- package/dist/runtime/server/dist/redaction.d.ts +0 -4
- package/dist/runtime/server/dist/redaction.d.ts.map +0 -1
- package/dist/runtime/server/dist/redaction.js +0 -63
- package/dist/runtime/server/dist/redaction.js.map +0 -1
- package/dist/runtime/server/dist/routes/access.d.ts +0 -56
- package/dist/runtime/server/dist/routes/access.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/access.js +0 -2125
- package/dist/runtime/server/dist/routes/access.js.map +0 -1
- package/dist/runtime/server/dist/routes/activity.d.ts +0 -3
- package/dist/runtime/server/dist/routes/activity.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/activity.js +0 -78
- package/dist/runtime/server/dist/routes/activity.js.map +0 -1
- package/dist/runtime/server/dist/routes/agents.d.ts +0 -3
- package/dist/runtime/server/dist/routes/agents.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/agents.js +0 -1485
- package/dist/runtime/server/dist/routes/agents.js.map +0 -1
- package/dist/runtime/server/dist/routes/approvals.d.ts +0 -3
- package/dist/runtime/server/dist/routes/approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/approvals.js +0 -275
- package/dist/runtime/server/dist/routes/approvals.js.map +0 -1
- package/dist/runtime/server/dist/routes/assets.d.ts +0 -4
- package/dist/runtime/server/dist/routes/assets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/assets.js +0 -309
- package/dist/runtime/server/dist/routes/assets.js.map +0 -1
- package/dist/runtime/server/dist/routes/authz.d.ts +0 -15
- package/dist/runtime/server/dist/routes/authz.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/authz.js +0 -40
- package/dist/runtime/server/dist/routes/authz.js.map +0 -1
- package/dist/runtime/server/dist/routes/companies.d.ts +0 -3
- package/dist/runtime/server/dist/routes/companies.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/companies.js +0 -196
- package/dist/runtime/server/dist/routes/companies.js.map +0 -1
- package/dist/runtime/server/dist/routes/costs.d.ts +0 -3
- package/dist/runtime/server/dist/routes/costs.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/costs.js +0 -268
- package/dist/runtime/server/dist/routes/costs.js.map +0 -1
- package/dist/runtime/server/dist/routes/dashboard.d.ts +0 -3
- package/dist/runtime/server/dist/routes/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/dashboard.js +0 -15
- package/dist/runtime/server/dist/routes/dashboard.js.map +0 -1
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts +0 -3
- package/dist/runtime/server/dist/routes/execution-workspaces.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/execution-workspaces.js +0 -165
- package/dist/runtime/server/dist/routes/execution-workspaces.js.map +0 -1
- package/dist/runtime/server/dist/routes/goals.d.ts +0 -3
- package/dist/runtime/server/dist/routes/goals.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/goals.js +0 -95
- package/dist/runtime/server/dist/routes/goals.js.map +0 -1
- package/dist/runtime/server/dist/routes/gtm.d.ts +0 -3
- package/dist/runtime/server/dist/routes/gtm.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/gtm.js +0 -478
- package/dist/runtime/server/dist/routes/gtm.js.map +0 -1
- package/dist/runtime/server/dist/routes/health.d.ts +0 -10
- package/dist/runtime/server/dist/routes/health.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/health.js +0 -53
- package/dist/runtime/server/dist/routes/health.js.map +0 -1
- package/dist/runtime/server/dist/routes/index.d.ts +0 -16
- package/dist/runtime/server/dist/routes/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/index.js +0 -16
- package/dist/runtime/server/dist/routes/index.js.map +0 -1
- package/dist/runtime/server/dist/routes/instance-settings.d.ts +0 -3
- package/dist/runtime/server/dist/routes/instance-settings.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/instance-settings.js +0 -46
- package/dist/runtime/server/dist/routes/instance-settings.js.map +0 -1
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts +0 -9
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js +0 -12
- package/dist/runtime/server/dist/routes/issues-checkout-wakeup.js.map +0 -1
- package/dist/runtime/server/dist/routes/issues.d.ts +0 -4
- package/dist/runtime/server/dist/routes/issues.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/issues.js +0 -1454
- package/dist/runtime/server/dist/routes/issues.js.map +0 -1
- package/dist/runtime/server/dist/routes/llms.d.ts +0 -3
- package/dist/runtime/server/dist/routes/llms.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/llms.js +0 -78
- package/dist/runtime/server/dist/routes/llms.js.map +0 -1
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts +0 -69
- package/dist/runtime/server/dist/routes/plugin-ui-static.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/plugin-ui-static.js +0 -411
- package/dist/runtime/server/dist/routes/plugin-ui-static.js.map +0 -1
- package/dist/runtime/server/dist/routes/plugins.d.ts +0 -120
- package/dist/runtime/server/dist/routes/plugins.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/plugins.js +0 -1784
- package/dist/runtime/server/dist/routes/plugins.js.map +0 -1
- package/dist/runtime/server/dist/routes/projects.d.ts +0 -3
- package/dist/runtime/server/dist/routes/projects.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/projects.js +0 -257
- package/dist/runtime/server/dist/routes/projects.js.map +0 -1
- package/dist/runtime/server/dist/routes/secrets.d.ts +0 -3
- package/dist/runtime/server/dist/routes/secrets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/secrets.js +0 -128
- package/dist/runtime/server/dist/routes/secrets.js.map +0 -1
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts +0 -3
- package/dist/runtime/server/dist/routes/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/sidebar-badges.js +0 -45
- package/dist/runtime/server/dist/routes/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/dist/routes/tickets.d.ts +0 -3
- package/dist/runtime/server/dist/routes/tickets.d.ts.map +0 -1
- package/dist/runtime/server/dist/routes/tickets.js +0 -112
- package/dist/runtime/server/dist/routes/tickets.js.map +0 -1
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts +0 -5
- package/dist/runtime/server/dist/secrets/external-stub-providers.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/external-stub-providers.js +0 -21
- package/dist/runtime/server/dist/secrets/external-stub-providers.js.map +0 -1
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts +0 -3
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js +0 -116
- package/dist/runtime/server/dist/secrets/local-encrypted-provider.js.map +0 -1
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts +0 -5
- package/dist/runtime/server/dist/secrets/provider-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/provider-registry.js +0 -20
- package/dist/runtime/server/dist/secrets/provider-registry.js.map +0 -1
- package/dist/runtime/server/dist/secrets/types.d.ts +0 -21
- package/dist/runtime/server/dist/secrets/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/secrets/types.js +0 -2
- package/dist/runtime/server/dist/secrets/types.js.map +0 -1
- package/dist/runtime/server/dist/services/access.d.ts +0 -93
- package/dist/runtime/server/dist/services/access.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/access.js +0 -231
- package/dist/runtime/server/dist/services/access.js.map +0 -1
- package/dist/runtime/server/dist/services/activity-log.d.ts +0 -17
- package/dist/runtime/server/dist/services/activity-log.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/activity-log.js +0 -68
- package/dist/runtime/server/dist/services/activity-log.js.map +0 -1
- package/dist/runtime/server/dist/services/activity.d.ts +0 -764
- package/dist/runtime/server/dist/services/activity.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/activity.js +0 -105
- package/dist/runtime/server/dist/services/activity.js.map +0 -1
- package/dist/runtime/server/dist/services/agent-permissions.d.ts +0 -6
- package/dist/runtime/server/dist/services/agent-permissions.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/agent-permissions.js +0 -18
- package/dist/runtime/server/dist/services/agent-permissions.js.map +0 -1
- package/dist/runtime/server/dist/services/agents.d.ts +0 -1670
- package/dist/runtime/server/dist/services/agents.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/agents.js +0 -572
- package/dist/runtime/server/dist/services/agents.js.map +0 -1
- package/dist/runtime/server/dist/services/approvals.d.ts +0 -546
- package/dist/runtime/server/dist/services/approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/approvals.js +0 -206
- package/dist/runtime/server/dist/services/approvals.js.map +0 -1
- package/dist/runtime/server/dist/services/assets.d.ts +0 -33
- package/dist/runtime/server/dist/services/assets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/assets.js +0 -17
- package/dist/runtime/server/dist/services/assets.js.map +0 -1
- package/dist/runtime/server/dist/services/budgets.d.ts +0 -38
- package/dist/runtime/server/dist/services/budgets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/budgets.js +0 -784
- package/dist/runtime/server/dist/services/budgets.js.map +0 -1
- package/dist/runtime/server/dist/services/companies.d.ts +0 -124
- package/dist/runtime/server/dist/services/companies.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/companies.js +0 -256
- package/dist/runtime/server/dist/services/companies.js.map +0 -1
- package/dist/runtime/server/dist/services/company-portability.d.ts +0 -8
- package/dist/runtime/server/dist/services/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/company-portability.js +0 -869
- package/dist/runtime/server/dist/services/company-portability.js.map +0 -1
- package/dist/runtime/server/dist/services/costs.d.ts +0 -114
- package/dist/runtime/server/dist/services/costs.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/costs.js +0 -294
- package/dist/runtime/server/dist/services/costs.js.map +0 -1
- package/dist/runtime/server/dist/services/cron.d.ts +0 -80
- package/dist/runtime/server/dist/services/cron.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/cron.js +0 -300
- package/dist/runtime/server/dist/services/cron.js.map +0 -1
- package/dist/runtime/server/dist/services/dashboard.d.ts +0 -26
- package/dist/runtime/server/dist/services/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/dashboard.js +0 -98
- package/dist/runtime/server/dist/services/dashboard.js.map +0 -1
- package/dist/runtime/server/dist/services/documents.d.ts +0 -164
- package/dist/runtime/server/dist/services/documents.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/documents.js +0 -382
- package/dist/runtime/server/dist/services/documents.js.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts +0 -20
- package/dist/runtime/server/dist/services/execution-workspace-policy.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspace-policy.js +0 -165
- package/dist/runtime/server/dist/services/execution-workspace-policy.js.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts +0 -19
- package/dist/runtime/server/dist/services/execution-workspaces.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/execution-workspaces.js +0 -87
- package/dist/runtime/server/dist/services/execution-workspaces.js.map +0 -1
- package/dist/runtime/server/dist/services/finance.d.ts +0 -93
- package/dist/runtime/server/dist/services/finance.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/finance.js +0 -120
- package/dist/runtime/server/dist/services/finance.js.map +0 -1
- package/dist/runtime/server/dist/services/goals.d.ts +0 -433
- package/dist/runtime/server/dist/services/goals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/goals.js +0 -54
- package/dist/runtime/server/dist/services/goals.js.map +0 -1
- package/dist/runtime/server/dist/services/gtm-state.d.ts +0 -6
- package/dist/runtime/server/dist/services/gtm-state.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/gtm-state.js +0 -88
- package/dist/runtime/server/dist/services/gtm-state.js.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts +0 -2
- package/dist/runtime/server/dist/services/heartbeat-run-summary.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js +0 -30
- package/dist/runtime/server/dist/services/heartbeat-run-summary.js.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat.d.ts +0 -796
- package/dist/runtime/server/dist/services/heartbeat.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/heartbeat.js +0 -3046
- package/dist/runtime/server/dist/services/heartbeat.js.map +0 -1
- package/dist/runtime/server/dist/services/hire-hook.d.ts +0 -14
- package/dist/runtime/server/dist/services/hire-hook.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/hire-hook.js +0 -85
- package/dist/runtime/server/dist/services/hire-hook.js.map +0 -1
- package/dist/runtime/server/dist/services/index.d.ts +0 -30
- package/dist/runtime/server/dist/services/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/index.js +0 -30
- package/dist/runtime/server/dist/services/index.js.map +0 -1
- package/dist/runtime/server/dist/services/instance-settings.d.ts +0 -9
- package/dist/runtime/server/dist/services/instance-settings.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/instance-settings.js +0 -80
- package/dist/runtime/server/dist/services/instance-settings.js.map +0 -1
- package/dist/runtime/server/dist/services/issue-approvals.d.ts +0 -56
- package/dist/runtime/server/dist/services/issue-approvals.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issue-approvals.js +0 -153
- package/dist/runtime/server/dist/services/issue-approvals.js.map +0 -1
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts +0 -15
- package/dist/runtime/server/dist/services/issue-goal-fallback.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issue-goal-fallback.js +0 -15
- package/dist/runtime/server/dist/services/issue-goal-fallback.js.map +0 -1
- package/dist/runtime/server/dist/services/issues.d.ts +0 -536
- package/dist/runtime/server/dist/services/issues.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/issues.js +0 -1321
- package/dist/runtime/server/dist/services/issues.js.map +0 -1
- package/dist/runtime/server/dist/services/live-events.d.ts +0 -17
- package/dist/runtime/server/dist/services/live-events.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/live-events.js +0 -33
- package/dist/runtime/server/dist/services/live-events.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts +0 -108
- package/dist/runtime/server/dist/services/plugin-capability-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-capability-validator.js +0 -268
- package/dist/runtime/server/dist/services/plugin-capability-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts +0 -26
- package/dist/runtime/server/dist/services/plugin-config-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-config-validator.js +0 -41
- package/dist/runtime/server/dist/services/plugin-config-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts +0 -30
- package/dist/runtime/server/dist/services/plugin-dev-watcher.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js +0 -241
- package/dist/runtime/server/dist/services/plugin-dev-watcher.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts +0 -149
- package/dist/runtime/server/dist/services/plugin-event-bus.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-event-bus.js +0 -258
- package/dist/runtime/server/dist/services/plugin-event-bus.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts +0 -14
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js +0 -37
- package/dist/runtime/server/dist/services/plugin-host-service-cleanup.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts +0 -13
- package/dist/runtime/server/dist/services/plugin-host-services.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-host-services.js +0 -969
- package/dist/runtime/server/dist/services/plugin-host-services.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts +0 -81
- package/dist/runtime/server/dist/services/plugin-job-coordinator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js +0 -172
- package/dist/runtime/server/dist/services/plugin-job-coordinator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts +0 -163
- package/dist/runtime/server/dist/services/plugin-job-scheduler.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js +0 -454
- package/dist/runtime/server/dist/services/plugin-job-scheduler.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts +0 -208
- package/dist/runtime/server/dist/services/plugin-job-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-job-store.js +0 -350
- package/dist/runtime/server/dist/services/plugin-job-store.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts +0 -203
- package/dist/runtime/server/dist/services/plugin-lifecycle.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-lifecycle.js +0 -476
- package/dist/runtime/server/dist/services/plugin-lifecycle.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-loader.d.ts +0 -441
- package/dist/runtime/server/dist/services/plugin-loader.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-loader.js +0 -1192
- package/dist/runtime/server/dist/services/plugin-loader.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts +0 -20
- package/dist/runtime/server/dist/services/plugin-log-retention.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-log-retention.js +0 -63
- package/dist/runtime/server/dist/services/plugin-log-retention.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts +0 -79
- package/dist/runtime/server/dist/services/plugin-manifest-validator.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js +0 -84
- package/dist/runtime/server/dist/services/plugin-manifest-validator.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-registry.d.ts +0 -2542
- package/dist/runtime/server/dist/services/plugin-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-registry.js +0 -539
- package/dist/runtime/server/dist/services/plugin-registry.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts +0 -40
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js +0 -154
- package/dist/runtime/server/dist/services/plugin-runtime-sandbox.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts +0 -81
- package/dist/runtime/server/dist/services/plugin-secrets-handler.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js +0 -275
- package/dist/runtime/server/dist/services/plugin-secrets-handler.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts +0 -92
- package/dist/runtime/server/dist/services/plugin-state-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-state-store.js +0 -190
- package/dist/runtime/server/dist/services/plugin-state-store.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts +0 -29
- package/dist/runtime/server/dist/services/plugin-stream-bus.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-stream-bus.js +0 -48
- package/dist/runtime/server/dist/services/plugin-stream-bus.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts +0 -180
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js +0 -224
- package/dist/runtime/server/dist/services/plugin-tool-dispatcher.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts +0 -192
- package/dist/runtime/server/dist/services/plugin-tool-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-tool-registry.js +0 -224
- package/dist/runtime/server/dist/services/plugin-tool-registry.js.map +0 -1
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts +0 -260
- package/dist/runtime/server/dist/services/plugin-worker-manager.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/plugin-worker-manager.js +0 -835
- package/dist/runtime/server/dist/services/plugin-worker-manager.js.map +0 -1
- package/dist/runtime/server/dist/services/projects.d.ts +0 -87
- package/dist/runtime/server/dist/services/projects.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/projects.js +0 -656
- package/dist/runtime/server/dist/services/projects.js.map +0 -1
- package/dist/runtime/server/dist/services/quota-windows.d.ts +0 -9
- package/dist/runtime/server/dist/services/quota-windows.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/quota-windows.js +0 -56
- package/dist/runtime/server/dist/services/quota-windows.js.map +0 -1
- package/dist/runtime/server/dist/services/run-log-store.d.ts +0 -34
- package/dist/runtime/server/dist/services/run-log-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/run-log-store.js +0 -109
- package/dist/runtime/server/dist/services/run-log-store.js.map +0 -1
- package/dist/runtime/server/dist/services/secrets.d.ts +0 -510
- package/dist/runtime/server/dist/services/secrets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/secrets.js +0 -288
- package/dist/runtime/server/dist/services/secrets.js.map +0 -1
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts +0 -9
- package/dist/runtime/server/dist/services/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/sidebar-badges.js +0 -33
- package/dist/runtime/server/dist/services/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/dist/services/tickets.d.ts +0 -1869
- package/dist/runtime/server/dist/services/tickets.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/tickets.js +0 -78
- package/dist/runtime/server/dist/services/tickets.js.map +0 -1
- package/dist/runtime/server/dist/services/work-products.d.ts +0 -14
- package/dist/runtime/server/dist/services/work-products.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/work-products.js +0 -100
- package/dist/runtime/server/dist/services/work-products.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts +0 -33
- package/dist/runtime/server/dist/services/workspace-operation-log-store.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js +0 -110
- package/dist/runtime/server/dist/services/workspace-operation-log-store.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operations.d.ts +0 -44
- package/dist/runtime/server/dist/services/workspace-operations.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-operations.js +0 -204
- package/dist/runtime/server/dist/services/workspace-operations.js.map +0 -1
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts +0 -164
- package/dist/runtime/server/dist/services/workspace-runtime.d.ts.map +0 -1
- package/dist/runtime/server/dist/services/workspace-runtime.js +0 -1235
- package/dist/runtime/server/dist/services/workspace-runtime.js.map +0 -1
- package/dist/runtime/server/dist/startup-banner.d.ts +0 -31
- package/dist/runtime/server/dist/startup-banner.d.ts.map +0 -1
- package/dist/runtime/server/dist/startup-banner.js +0 -117
- package/dist/runtime/server/dist/startup-banner.js.map +0 -1
- package/dist/runtime/server/dist/storage/index.d.ts +0 -6
- package/dist/runtime/server/dist/storage/index.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/index.js +0 -29
- package/dist/runtime/server/dist/storage/index.js.map +0 -1
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts +0 -3
- package/dist/runtime/server/dist/storage/local-disk-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/local-disk-provider.js +0 -79
- package/dist/runtime/server/dist/storage/local-disk-provider.js.map +0 -1
- package/dist/runtime/server/dist/storage/provider-registry.d.ts +0 -4
- package/dist/runtime/server/dist/storage/provider-registry.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/provider-registry.js +0 -15
- package/dist/runtime/server/dist/storage/provider-registry.js.map +0 -1
- package/dist/runtime/server/dist/storage/s3-provider.d.ts +0 -11
- package/dist/runtime/server/dist/storage/s3-provider.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/s3-provider.js +0 -123
- package/dist/runtime/server/dist/storage/s3-provider.js.map +0 -1
- package/dist/runtime/server/dist/storage/service.d.ts +0 -3
- package/dist/runtime/server/dist/storage/service.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/service.js +0 -120
- package/dist/runtime/server/dist/storage/service.js.map +0 -1
- package/dist/runtime/server/dist/storage/types.d.ts +0 -55
- package/dist/runtime/server/dist/storage/types.d.ts.map +0 -1
- package/dist/runtime/server/dist/storage/types.js +0 -2
- package/dist/runtime/server/dist/storage/types.js.map +0 -1
- package/dist/runtime/server/dist/ui-branding.d.ts +0 -14
- package/dist/runtime/server/dist/ui-branding.d.ts.map +0 -1
- package/dist/runtime/server/dist/ui-branding.js +0 -189
- package/dist/runtime/server/dist/ui-branding.js.map +0 -1
- package/dist/runtime/server/dist/version.d.ts +0 -2
- package/dist/runtime/server/dist/version.d.ts.map +0 -1
- package/dist/runtime/server/dist/version.js +0 -5
- package/dist/runtime/server/dist/version.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js +0 -94
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js +0 -106
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/cli/quota-probe.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js +0 -453
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js +0 -158
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js +0 -477
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js +0 -201
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js +0 -115
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js +0 -149
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-claude-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js +0 -213
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/cli/quota-probe.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js +0 -45
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/codex-home.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js +0 -451
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js +0 -425
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js +0 -194
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js +0 -116
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js +0 -233
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-codex-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js +0 -296
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js +0 -81
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js +0 -416
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js +0 -61
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js +0 -139
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js +0 -188
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/stream.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/shared/trust.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js +0 -92
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js +0 -373
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-cursor-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js +0 -198
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js +0 -46
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js +0 -364
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js +0 -61
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts +0 -31
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js +0 -227
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js +0 -203
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/server/utils.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js +0 -247
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-gemini-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js +0 -53
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js +0 -1146
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js +0 -290
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/shared/stream.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js +0 -33
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-openclaw-gateway/package.json +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js +0 -115
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js +0 -337
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js +0 -62
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js +0 -165
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/models.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts +0 -13
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/parse.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js +0 -300
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js +0 -141
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-opencode-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js +0 -99
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/format-event.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/cli/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts +0 -8
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js +0 -405
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/execute.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js +0 -50
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js +0 -161
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/models.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js +0 -180
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js +0 -206
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/parse.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js +0 -257
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/server/test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js +0 -82
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/build-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/dist/ui/parse-stdout.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-pi-local/package.json +0 -42
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/billing.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js +0 -75
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/log-redaction.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts +0 -62
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js +0 -419
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/server-utils.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js +0 -142
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/session-compaction.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts +0 -290
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/dist/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/adapter-utils/package.json +0 -30
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js +0 -448
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup-lib.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js +0 -103
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/backup.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js +0 -574
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js +0 -117
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/client.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrate.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migration-status.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0000_mature_masked_marvel.sql +0 -208
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0001_fast_northstar.sql +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0002_big_zaladane.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0003_shallow_quentin_quire.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0004_issue_identifiers.sql +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0005_chief_luke_cage.sql +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0006_overjoyed_mister_sinister.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0007_new_quentin_quire.sql +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0008_amused_zzzax.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0009_fast_jackal.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0010_stale_justin_hammer.sql +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0011_windy_corsair.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0012_perpetual_ser_duncan.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0013_dashing_wasp.sql +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0014_many_mikhail_rasputin.sql +0 -135
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0015_project_color_archived.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0016_agent_icon.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0017_tiresome_gabe_jones.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0018_flat_sleepwalker.sql +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0019_public_victor_mancha.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0020_white_anita_blake.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0021_chief_vindicator.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0022_company_brand_color.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0023_fair_lethal_legion.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0024_far_beast.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0025_nasty_salo.sql +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0026_lying_pete_wisdom.sql +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0027_tranquil_tenebrous.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0028_harsh_goliath.sql +0 -54
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0029_plugin_tables.sql +0 -177
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0030_rich_magneto.sql +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0031_zippy_magma.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0032_pretty_doctor_octopus.sql +0 -102
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0033_shiny_black_tarantula.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0034_fat_dormammu.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0035_marvelous_satana.sql +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0036_cheerful_nitro.sql +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0037_friendly_eddie_brock.sql +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0038_careless_iron_monger.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/0039_tickets.sql +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0000_snapshot.json +0 -1743
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0001_snapshot.json +0 -2441
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0002_snapshot.json +0 -2454
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0003_snapshot.json +0 -2502
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0005_snapshot.json +0 -2719
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0006_snapshot.json +0 -3048
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0007_snapshot.json +0 -3258
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0008_snapshot.json +0 -3264
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0009_snapshot.json +0 -3587
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0010_snapshot.json +0 -3929
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0011_snapshot.json +0 -4068
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0012_snapshot.json +0 -4087
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0013_snapshot.json +0 -4118
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0014_snapshot.json +0 -5187
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0017_snapshot.json +0 -5215
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0018_snapshot.json +0 -5450
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0019_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0020_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0021_snapshot.json +0 -5609
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0023_snapshot.json +0 -5633
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0024_snapshot.json +0 -5693
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0025_snapshot.json +0 -5849
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0027_snapshot.json +0 -6205
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0028_snapshot.json +0 -6710
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0029_snapshot.json +0 -7899
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0030_snapshot.json +0 -8003
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0031_snapshot.json +0 -7242
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0032_snapshot.json +0 -7733
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0033_snapshot.json +0 -9038
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0034_snapshot.json +0 -9039
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0035_snapshot.json +0 -9959
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0036_snapshot.json +0 -10023
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0037_snapshot.json +0 -10263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/0038_snapshot.json +0 -10301
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/meta/_journal.json +0 -286
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0000_mature_masked_marvel.sql +0 -208
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0001_fast_northstar.sql +0 -87
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0002_big_zaladane.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0003_shallow_quentin_quire.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0004_issue_identifiers.sql +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0005_chief_luke_cage.sql +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0006_overjoyed_mister_sinister.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0007_new_quentin_quire.sql +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0008_amused_zzzax.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0009_fast_jackal.sql +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0010_stale_justin_hammer.sql +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0011_windy_corsair.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0012_perpetual_ser_duncan.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0013_dashing_wasp.sql +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0014_many_mikhail_rasputin.sql +0 -135
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0015_project_color_archived.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0016_agent_icon.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0017_tiresome_gabe_jones.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0018_flat_sleepwalker.sql +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0019_public_victor_mancha.sql +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0020_white_anita_blake.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0021_chief_vindicator.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0022_company_brand_color.sql +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0023_fair_lethal_legion.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0024_far_beast.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0025_nasty_salo.sql +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0026_lying_pete_wisdom.sql +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0027_tranquil_tenebrous.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0028_harsh_goliath.sql +0 -54
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0029_plugin_tables.sql +0 -177
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0030_rich_magneto.sql +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0031_zippy_magma.sql +0 -51
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0032_pretty_doctor_octopus.sql +0 -102
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0033_shiny_black_tarantula.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0034_fat_dormammu.sql +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0035_marvelous_satana.sql +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0036_cheerful_nitro.sql +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0037_friendly_eddie_brock.sql +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0038_careless_iron_monger.sql +0 -5
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0039_tickets.sql +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/0040_ticket_meta.sql +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0000_snapshot.json +0 -1743
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0001_snapshot.json +0 -2441
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0002_snapshot.json +0 -2454
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0003_snapshot.json +0 -2502
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0005_snapshot.json +0 -2719
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0006_snapshot.json +0 -3048
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0007_snapshot.json +0 -3258
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0008_snapshot.json +0 -3264
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0009_snapshot.json +0 -3587
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0010_snapshot.json +0 -3929
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0011_snapshot.json +0 -4068
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0012_snapshot.json +0 -4087
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0013_snapshot.json +0 -4118
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0014_snapshot.json +0 -5187
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0017_snapshot.json +0 -5215
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0018_snapshot.json +0 -5450
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0019_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0020_snapshot.json +0 -5603
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0021_snapshot.json +0 -5609
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0023_snapshot.json +0 -5633
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0024_snapshot.json +0 -5693
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0025_snapshot.json +0 -5849
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0027_snapshot.json +0 -6205
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0028_snapshot.json +0 -6710
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0029_snapshot.json +0 -7899
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0030_snapshot.json +0 -8003
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0031_snapshot.json +0 -7242
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0032_snapshot.json +0 -7733
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0033_snapshot.json +0 -9038
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0034_snapshot.json +0 -9039
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0035_snapshot.json +0 -9959
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0036_snapshot.json +0 -10023
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0037_snapshot.json +0 -10263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/0038_snapshot.json +0 -10301
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/migrations/migrations/meta/_journal.json +0 -293
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/runtime-config.test.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/activity_log.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_api_keys.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts +0 -201
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_config_revisions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts +0 -248
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_runtime_state.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts +0 -197
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_task_sessions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts +0 -333
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agent_wakeup_requests.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts +0 -373
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/agents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approval_comments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/approvals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts +0 -212
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/assets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts +0 -607
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js +0 -44
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/auth.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts +0 -297
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_incidents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts +0 -263
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/budget_policies.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts +0 -246
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/companies.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_logos.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_memberships.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secret_versions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts +0 -195
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js +0 -21
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/company_secrets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts +0 -314
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/cost_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts +0 -161
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/document_revisions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts +0 -229
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/documents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts +0 -418
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js +0 -39
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/execution_workspaces.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts +0 -469
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js +0 -45
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/finance_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts +0 -178
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/goals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_run_events.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts +0 -558
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js +0 -43
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/heartbeat_runs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js +0 -55
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_settings.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/instance_user_roles.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/invites.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts +0 -110
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_approvals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_attachments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts +0 -144
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_comments.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_documents.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts +0 -76
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_labels.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_read_states.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts +0 -350
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issue_work_products.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts +0 -590
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js +0 -58
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/issues.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts +0 -384
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/join_requests.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts +0 -110
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/labels.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts +0 -158
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_company_settings.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts +0 -123
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_config.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts +0 -213
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js +0 -37
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_entities.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts +0 -392
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js +0 -83
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_jobs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts +0 -125
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js +0 -29
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_logs.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts +0 -169
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js +0 -68
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_state.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts +0 -239
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js +0 -52
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugin_webhooks.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts +0 -246
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js +0 -31
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/plugins.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts +0 -163
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/principal_permission_grants.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_goals.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts +0 -333
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/project_workspaces.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts +0 -265
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/projects.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts +0 -284
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js +0 -24
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/tickets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts +0 -367
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js +0 -35
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_operations.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts +0 -469
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js +0 -44
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/schema/workspace_runtime_services.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js +0 -91
- package/dist/runtime/server/node_modules/@paperclipai/db/dist/seed.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/db/package.json +0 -36
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js +0 -105
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/bundlers.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts +0 -218
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js +0 -85
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/define-plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js +0 -49
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-cli.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts +0 -34
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js +0 -194
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/dev-server.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts +0 -229
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js +0 -353
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/host-client-factory.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js +0 -84
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts +0 -881
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js +0 -297
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/protocol.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts +0 -63
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js +0 -702
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/testing.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts +0 -982
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts +0 -257
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js +0 -97
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/components.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts +0 -120
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js +0 -148
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/hooks.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts +0 -50
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js +0 -30
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts +0 -308
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js +0 -17
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/ui/types.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts +0 -127
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js +0 -941
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/dist/worker-rpc-host.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/plugin-sdk/package.json +0 -74
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts +0 -4
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/agent-url-key.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/api.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts +0 -725
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js +0 -151
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/config-schema.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts +0 -214
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js +0 -553
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/constants.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts +0 -116
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js +0 -181
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/gtm.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js +0 -71
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-mentions.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts +0 -3
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/project-url-key.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js +0 -40
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/surface-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/access.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/activity.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts +0 -80
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/agent.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/approval.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts +0 -16
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/asset.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/budget.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts +0 -120
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company-portability.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/company.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts +0 -106
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/cost.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts +0 -28
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/dashboard.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/finance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts +0 -14
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/goal.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts +0 -118
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/heartbeat.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/instance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts +0 -164
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/issue.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts +0 -9
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/live.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts +0 -419
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts +0 -67
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/project.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/quota.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/secrets.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts +0 -7
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/sidebar-badges.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/ticket.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts +0 -27
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/work-product.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-operation.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts +0 -86
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js +0 -2
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/types/workspace-runtime.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts +0 -109
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js +0 -40
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/access.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts +0 -235
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js +0 -71
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/agent.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts +0 -57
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js +0 -23
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/approval.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts +0 -10
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js +0 -11
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/asset.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js +0 -27
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/budget.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts +0 -1535
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company-portability.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts +0 -64
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js +0 -25
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/company.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts +0 -92
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js +0 -26
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/cost.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts +0 -20
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js +0 -15
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/execution-workspace.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts +0 -129
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js +0 -32
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/finance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts +0 -48
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js +0 -12
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/goal.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js +0 -19
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/index.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts +0 -18
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js +0 -6
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/instance.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts +0 -656
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js +0 -95
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/issue.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts +0 -1173
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js +0 -547
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/plugin.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts +0 -583
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js +0 -93
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/project.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts +0 -114
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js +0 -35
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/secret.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts +0 -56
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js +0 -22
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/ticket.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts +0 -105
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.d.ts.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js +0 -46
- package/dist/runtime/server/node_modules/@paperclipai/shared/dist/validators/work-product.js.map +0 -1
- package/dist/runtime/server/node_modules/@paperclipai/shared/package.json +0 -33
- package/dist/runtime/server/package.json +0 -5
- package/dist/runtime/server/ui-dist/android-chrome-192x192.png +0 -0
- package/dist/runtime/server/ui-dist/android-chrome-512x512.png +0 -0
- package/dist/runtime/server/ui-dist/apple-touch-icon.png +0 -0
- package/dist/runtime/server/ui-dist/assets/OnboardingWizard-BiZHH3vY.js +0 -834
- package/dist/runtime/server/ui-dist/assets/_basePickBy-DOJDGGWo.js +0 -1
- package/dist/runtime/server/ui-dist/assets/_baseUniq-DjoWC9VG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/apl-B4CMkyY2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/arc-DzAhgPuQ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/architectureDiagram-VXUJARFQ-CFxoZ9U1.js +0 -36
- package/dist/runtime/server/ui-dist/assets/asciiarmor-Df11BRmG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/asn1-EdZsLKOL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/asterisk-B-8jnY81.js +0 -1
- package/dist/runtime/server/ui-dist/assets/blockDiagram-VD42YOAC-CmcNReYb.js +0 -122
- package/dist/runtime/server/ui-dist/assets/brainfuck-C4LP7Hcl.js +0 -1
- package/dist/runtime/server/ui-dist/assets/c4Diagram-YG6GDRKO-62g03z24.js +0 -10
- package/dist/runtime/server/ui-dist/assets/channel-CyMiLt_6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-4BX2VUAB-DdKgkZWf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-55IACEB6-BG61sDBH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-B4BG7PRW-jHjDOzs3.js +0 -165
- package/dist/runtime/server/ui-dist/assets/chunk-DI55MBZ5-QWOEgAft.js +0 -220
- package/dist/runtime/server/ui-dist/assets/chunk-FMBD7UC4-BTtsDCBm.js +0 -15
- package/dist/runtime/server/ui-dist/assets/chunk-QN33PNHL-DQ0G5mTp.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-QZHKN3VN-CwD654Gq.js +0 -1
- package/dist/runtime/server/ui-dist/assets/chunk-TZMSLE5B-BW4AfItk.js +0 -1
- package/dist/runtime/server/ui-dist/assets/classDiagram-2ON5EDUG-Bpt4jbt_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/classDiagram-v2-WZHVMYZB-Bpt4jbt_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clike-B9uivgTg.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clojure-BMjYHr_A.js +0 -1
- package/dist/runtime/server/ui-dist/assets/clone-C1pAl4cM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cmake-BQqOBYOt.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cobol-CWcv1MsR.js +0 -1
- package/dist/runtime/server/ui-dist/assets/coffeescript-S37ZYGWr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/commonlisp-DBKNyK5s.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cose-bilkent-S5V4N54A-Cl5X2jL8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/crystal-SjHAIU92.js +0 -1
- package/dist/runtime/server/ui-dist/assets/css-BnMrqG3P.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cypher-C_CwsFkJ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/cytoscape.esm-BQaXIfA_.js +0 -331
- package/dist/runtime/server/ui-dist/assets/d-pRatUO7H.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dagre-6UL2VRFP-B2u9a5zG.js +0 -4
- package/dist/runtime/server/ui-dist/assets/defaultLocale-DX6XiGOO.js +0 -1
- package/dist/runtime/server/ui-dist/assets/diagram-PSM6KHXK-DsSVNioI.js +0 -24
- package/dist/runtime/server/ui-dist/assets/diagram-QEK2KX5R-C2oaCik_.js +0 -43
- package/dist/runtime/server/ui-dist/assets/diagram-S2PKOQOG-CuEvUbkw.js +0 -24
- package/dist/runtime/server/ui-dist/assets/diff-DbItnlRl.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dockerfile-BKs6k2Af.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dtd-DF_7sFjM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/dx-root-B5r5o3mh.js +0 -280
- package/dist/runtime/server/ui-dist/assets/dylan-DwRh75JA.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ebnf-CDyGwa7X.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ecl-Cabwm37j.js +0 -1
- package/dist/runtime/server/ui-dist/assets/eiffel-CnydiIhH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/elm-vLlmbW-K.js +0 -1
- package/dist/runtime/server/ui-dist/assets/erDiagram-Q2GNP2WA-_1lFdkqV.js +0 -60
- package/dist/runtime/server/ui-dist/assets/erlang-BNw1qcRV.js +0 -1
- package/dist/runtime/server/ui-dist/assets/factor-kuTfRLto.js +0 -1
- package/dist/runtime/server/ui-dist/assets/fcl-Kvtd6kyn.js +0 -1
- package/dist/runtime/server/ui-dist/assets/flowDiagram-NV44I4VS-DUoF0DLT.js +0 -162
- package/dist/runtime/server/ui-dist/assets/forth-Ffai-XNe.js +0 -1
- package/dist/runtime/server/ui-dist/assets/fortran-DYz_wnZ1.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ganttDiagram-JELNMOA3-CruQ7D3m.js +0 -267
- package/dist/runtime/server/ui-dist/assets/gas-Bneqetm1.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gherkin-heZmZLOM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gitGraphDiagram-V2S2FVAM-BDuS9ljz.js +0 -65
- package/dist/runtime/server/ui-dist/assets/graph-BFy59M3M.js +0 -1
- package/dist/runtime/server/ui-dist/assets/groovy-D9Dt4D0W.js +0 -1
- package/dist/runtime/server/ui-dist/assets/gtm-root-bgiNL285.js +0 -11
- package/dist/runtime/server/ui-dist/assets/haskell-Cw1EW3IL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/haxe-H-WmDvRZ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/http-DBlCnlav.js +0 -1
- package/dist/runtime/server/ui-dist/assets/idl-BEugSyMb.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index--dv-yDMD.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-A_Utfb1G.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-AaLnuKvn.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-B9Xd_vMV.js +0 -3
- package/dist/runtime/server/ui-dist/assets/index-BCphYMJ8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-BKO_Nk8c.js +0 -7
- package/dist/runtime/server/ui-dist/assets/index-BMwN19Gi.js +0 -2
- package/dist/runtime/server/ui-dist/assets/index-Bz0rSFov.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-BzNjBEzf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-CLWYCHoS.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-CZVyxyFA.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-ClbnJMz6.css +0 -1
- package/dist/runtime/server/ui-dist/assets/index-Cpqm25YS.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-Cv5ClxEP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-D2MHxpCH.js +0 -50
- package/dist/runtime/server/ui-dist/assets/index-D3MPbMGr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DFUgoz9_.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DL95rih-.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DY60bSWi.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-DcoQC6ia.js +0 -13
- package/dist/runtime/server/ui-dist/assets/index-DfnTp5y6.js +0 -6
- package/dist/runtime/server/ui-dist/assets/index-Fb7iEaRG.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-TPJ_0VD8.js +0 -1
- package/dist/runtime/server/ui-dist/assets/index-WuexBBBr.js +0 -1
- package/dist/runtime/server/ui-dist/assets/infoDiagram-HS3SLOUP-CiI6r25R.js +0 -2
- package/dist/runtime/server/ui-dist/assets/init-Gi6I4Gst.js +0 -1
- package/dist/runtime/server/ui-dist/assets/javascript-iXu5QeM3.js +0 -1
- package/dist/runtime/server/ui-dist/assets/journeyDiagram-XKPGCS4Q-BMmOHrov.js +0 -139
- package/dist/runtime/server/ui-dist/assets/julia-DuME0IfC.js +0 -1
- package/dist/runtime/server/ui-dist/assets/kanban-definition-3W4ZIXB7-BxeYeVi1.js +0 -89
- package/dist/runtime/server/ui-dist/assets/katex-O9d3_IXG.js +0 -261
- package/dist/runtime/server/ui-dist/assets/layout-anG6DZ8y.js +0 -1
- package/dist/runtime/server/ui-dist/assets/linear-CDTAlHE-.js +0 -1
- package/dist/runtime/server/ui-dist/assets/livescript-BwQOo05w.js +0 -1
- package/dist/runtime/server/ui-dist/assets/lua-BgMRiT3U.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mathematica-DTrFuWx2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mbox-CNhZ1qSd.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mermaid.core-DNt7uRm5.js +0 -256
- package/dist/runtime/server/ui-dist/assets/mindmap-definition-VGOIOE7T-DTO5b9so.js +0 -68
- package/dist/runtime/server/ui-dist/assets/mirc-CjQqDB4T.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mllike-CXdrOF99.js +0 -1
- package/dist/runtime/server/ui-dist/assets/modelica-Dc1JOy9r.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mscgen-BA5vi2Kp.js +0 -1
- package/dist/runtime/server/ui-dist/assets/mumps-BT43cFF4.js +0 -1
- package/dist/runtime/server/ui-dist/assets/nginx-DdIZxoE0.js +0 -1
- package/dist/runtime/server/ui-dist/assets/nsis-LdVXkNf5.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ntriples-BfvgReVJ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/octave-Ck1zUtKM.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ordinal-Cboi1Yqb.js +0 -1
- package/dist/runtime/server/ui-dist/assets/oz-BzwKVEFT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pascal--L3eBynH.js +0 -1
- package/dist/runtime/server/ui-dist/assets/perl-CdXCOZ3F.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pieDiagram-ADFJNKIX-BteTAzPn.js +0 -30
- package/dist/runtime/server/ui-dist/assets/pig-CevX1Tat.js +0 -1
- package/dist/runtime/server/ui-dist/assets/powershell-CFHJl5sT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/properties-C78fOPTZ.js +0 -1
- package/dist/runtime/server/ui-dist/assets/protobuf-ChK-085T.js +0 -1
- package/dist/runtime/server/ui-dist/assets/pug-DeIclll2.js +0 -1
- package/dist/runtime/server/ui-dist/assets/puppet-DMA9R1ak.js +0 -1
- package/dist/runtime/server/ui-dist/assets/python-BuPzkPfP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/q-pXgVlZs6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/quadrantDiagram-AYHSOK5B-_gG2aKm4.js +0 -7
- package/dist/runtime/server/ui-dist/assets/r-B6wPVr8A.js +0 -1
- package/dist/runtime/server/ui-dist/assets/requirementDiagram-UZGBJVZJ-CcOvI4e8.js +0 -64
- package/dist/runtime/server/ui-dist/assets/rpm-CTu-6PCP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ruby-B2Rjki9n.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sankeyDiagram-TZEHDZUN-C1Rbdzvp.js +0 -10
- package/dist/runtime/server/ui-dist/assets/sas-B4kiWyti.js +0 -1
- package/dist/runtime/server/ui-dist/assets/scheme-C41bIUwD.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sequenceDiagram-WL72ISMW-DPx4fWtG.js +0 -145
- package/dist/runtime/server/ui-dist/assets/shell-CjFT_Tl9.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sieve-C3Gn_uJK.js +0 -1
- package/dist/runtime/server/ui-dist/assets/simple-mode-GW_nhZxv.js +0 -1
- package/dist/runtime/server/ui-dist/assets/smalltalk-CnHTOXQT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/solr-DehyRSwq.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sparql-DkYu6x3z.js +0 -1
- package/dist/runtime/server/ui-dist/assets/spreadsheet-BCZA_wO0.js +0 -1
- package/dist/runtime/server/ui-dist/assets/sql-D0XecflT.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stateDiagram-FKZM4ZOC-CID-77J9.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stateDiagram-v2-4FDKWEC3-DF70krIP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stex-C3f8Ysf7.js +0 -1
- package/dist/runtime/server/ui-dist/assets/stylus-B533Al4x.js +0 -1
- package/dist/runtime/server/ui-dist/assets/swift-BzpIVaGY.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tcl-DVfN8rqt.js +0 -1
- package/dist/runtime/server/ui-dist/assets/textile-CnDTJFAw.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tiddlywiki-DO-Gjzrf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/tiki-DGYXhP31.js +0 -1
- package/dist/runtime/server/ui-dist/assets/timeline-definition-IT6M3QCI-CyA1h3jY.js +0 -61
- package/dist/runtime/server/ui-dist/assets/toml-Bm5Em-hy.js +0 -1
- package/dist/runtime/server/ui-dist/assets/treemap-GDKQZRPO-nqrXf2kh.js +0 -162
- package/dist/runtime/server/ui-dist/assets/troff-wAsdV37c.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ttcn-CfJYG6tj.js +0 -1
- package/dist/runtime/server/ui-dist/assets/ttcn-cfg-B9xdYoR4.js +0 -1
- package/dist/runtime/server/ui-dist/assets/turtle-B1tBg_DP.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vb-CmGdzxic.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vbscript-BuJXcnF6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/velocity-D8B20fx6.js +0 -1
- package/dist/runtime/server/ui-dist/assets/verilog-C6RDOZhf.js +0 -1
- package/dist/runtime/server/ui-dist/assets/vhdl-lSbBsy5d.js +0 -1
- package/dist/runtime/server/ui-dist/assets/webidl-ZXfAyPTL.js +0 -1
- package/dist/runtime/server/ui-dist/assets/xquery-DzFWVndE.js +0 -1
- package/dist/runtime/server/ui-dist/assets/xychartDiagram-PRI3JC2R-CS0bUj41.js +0 -7
- package/dist/runtime/server/ui-dist/assets/yacas-BJ4BC0dw.js +0 -1
- package/dist/runtime/server/ui-dist/assets/z80-Hz9HOZM7.js +0 -1
- package/dist/runtime/server/ui-dist/brands/opencode-logo-dark-square.svg +0 -18
- package/dist/runtime/server/ui-dist/brands/opencode-logo-light-square.svg +0 -18
- package/dist/runtime/server/ui-dist/favicon-16x16.png +0 -0
- package/dist/runtime/server/ui-dist/favicon-32x32.png +0 -0
- package/dist/runtime/server/ui-dist/favicon.ico +0 -0
- package/dist/runtime/server/ui-dist/favicon.svg +0 -9
- package/dist/runtime/server/ui-dist/index.html +0 -48
- package/dist/runtime/server/ui-dist/site.webmanifest +0 -30
- package/dist/runtime/server/ui-dist/sw.js +0 -42
- package/dist/runtime/server/ui-dist/worktree-favicon-16x16.png +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon-32x32.png +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon.ico +0 -0
- package/dist/runtime/server/ui-dist/worktree-favicon.svg +0 -9
|
@@ -1,1235 +0,0 @@
|
|
|
1
|
-
import { spawn } from "node:child_process";
|
|
2
|
-
import fs from "node:fs/promises";
|
|
3
|
-
import net from "node:net";
|
|
4
|
-
import { createHash, randomUUID } from "node:crypto";
|
|
5
|
-
import path from "node:path";
|
|
6
|
-
import { setTimeout as delay } from "node:timers/promises";
|
|
7
|
-
import { workspaceRuntimeServices } from "@paperclipai/db";
|
|
8
|
-
import { and, desc, eq, inArray } from "drizzle-orm";
|
|
9
|
-
import { asNumber, asString, parseObject, renderTemplate } from "../adapters/utils.js";
|
|
10
|
-
import { resolveHomeAwarePath } from "../home-paths.js";
|
|
11
|
-
const runtimeServicesById = new Map();
|
|
12
|
-
const runtimeServicesByReuseKey = new Map();
|
|
13
|
-
const runtimeServiceLeasesByRun = new Map();
|
|
14
|
-
function stableStringify(value) {
|
|
15
|
-
if (Array.isArray(value)) {
|
|
16
|
-
return `[${value.map((entry) => stableStringify(entry)).join(",")}]`;
|
|
17
|
-
}
|
|
18
|
-
if (value && typeof value === "object") {
|
|
19
|
-
const rec = value;
|
|
20
|
-
return `{${Object.keys(rec).sort().map((key) => `${JSON.stringify(key)}:${stableStringify(rec[key])}`).join(",")}}`;
|
|
21
|
-
}
|
|
22
|
-
return JSON.stringify(value);
|
|
23
|
-
}
|
|
24
|
-
export function sanitizeRuntimeServiceBaseEnv(baseEnv) {
|
|
25
|
-
const env = { ...baseEnv };
|
|
26
|
-
for (const key of Object.keys(env)) {
|
|
27
|
-
if (key.startsWith("PAPERCLIP_")) {
|
|
28
|
-
delete env[key];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
delete env.DATABASE_URL;
|
|
32
|
-
return env;
|
|
33
|
-
}
|
|
34
|
-
function stableRuntimeServiceId(input) {
|
|
35
|
-
if (input.reportId)
|
|
36
|
-
return input.reportId;
|
|
37
|
-
const digest = createHash("sha256")
|
|
38
|
-
.update(stableStringify({
|
|
39
|
-
adapterType: input.adapterType,
|
|
40
|
-
runId: input.runId,
|
|
41
|
-
scopeType: input.scopeType,
|
|
42
|
-
scopeId: input.scopeId,
|
|
43
|
-
serviceName: input.serviceName,
|
|
44
|
-
providerRef: input.providerRef,
|
|
45
|
-
reuseKey: input.reuseKey,
|
|
46
|
-
}))
|
|
47
|
-
.digest("hex")
|
|
48
|
-
.slice(0, 32);
|
|
49
|
-
return `${input.adapterType}-${digest}`;
|
|
50
|
-
}
|
|
51
|
-
function toRuntimeServiceRef(record, overrides) {
|
|
52
|
-
return {
|
|
53
|
-
id: record.id,
|
|
54
|
-
companyId: record.companyId,
|
|
55
|
-
projectId: record.projectId,
|
|
56
|
-
projectWorkspaceId: record.projectWorkspaceId,
|
|
57
|
-
executionWorkspaceId: record.executionWorkspaceId,
|
|
58
|
-
issueId: record.issueId,
|
|
59
|
-
serviceName: record.serviceName,
|
|
60
|
-
status: record.status,
|
|
61
|
-
lifecycle: record.lifecycle,
|
|
62
|
-
scopeType: record.scopeType,
|
|
63
|
-
scopeId: record.scopeId,
|
|
64
|
-
reuseKey: record.reuseKey,
|
|
65
|
-
command: record.command,
|
|
66
|
-
cwd: record.cwd,
|
|
67
|
-
port: record.port,
|
|
68
|
-
url: record.url,
|
|
69
|
-
provider: record.provider,
|
|
70
|
-
providerRef: record.providerRef,
|
|
71
|
-
ownerAgentId: record.ownerAgentId,
|
|
72
|
-
startedByRunId: record.startedByRunId,
|
|
73
|
-
lastUsedAt: record.lastUsedAt,
|
|
74
|
-
startedAt: record.startedAt,
|
|
75
|
-
stoppedAt: record.stoppedAt,
|
|
76
|
-
stopPolicy: record.stopPolicy,
|
|
77
|
-
healthStatus: record.healthStatus,
|
|
78
|
-
reused: record.reused,
|
|
79
|
-
...overrides,
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
function sanitizeSlugPart(value, fallback) {
|
|
83
|
-
const raw = (value ?? "").trim().toLowerCase();
|
|
84
|
-
const normalized = raw
|
|
85
|
-
.replace(/[^a-z0-9/_-]+/g, "-")
|
|
86
|
-
.replace(/-+/g, "-")
|
|
87
|
-
.replace(/^[-/]+|[-/]+$/g, "");
|
|
88
|
-
return normalized.length > 0 ? normalized : fallback;
|
|
89
|
-
}
|
|
90
|
-
function renderWorkspaceTemplate(template, input) {
|
|
91
|
-
const issueIdentifier = input.issue?.identifier ?? input.issue?.id ?? "issue";
|
|
92
|
-
const slug = sanitizeSlugPart(input.issue?.title, sanitizeSlugPart(issueIdentifier, "issue"));
|
|
93
|
-
return renderTemplate(template, {
|
|
94
|
-
issue: {
|
|
95
|
-
id: input.issue?.id ?? "",
|
|
96
|
-
identifier: input.issue?.identifier ?? "",
|
|
97
|
-
title: input.issue?.title ?? "",
|
|
98
|
-
},
|
|
99
|
-
agent: {
|
|
100
|
-
id: input.agent.id,
|
|
101
|
-
name: input.agent.name,
|
|
102
|
-
},
|
|
103
|
-
project: {
|
|
104
|
-
id: input.projectId ?? "",
|
|
105
|
-
},
|
|
106
|
-
workspace: {
|
|
107
|
-
repoRef: input.repoRef ?? "",
|
|
108
|
-
},
|
|
109
|
-
slug,
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
function sanitizeBranchName(value) {
|
|
113
|
-
return value
|
|
114
|
-
.trim()
|
|
115
|
-
.replace(/[^A-Za-z0-9._/-]+/g, "-")
|
|
116
|
-
.replace(/-+/g, "-")
|
|
117
|
-
.replace(/^[-/.]+|[-/.]+$/g, "")
|
|
118
|
-
.slice(0, 120) || "paperclip-work";
|
|
119
|
-
}
|
|
120
|
-
function isAbsolutePath(value) {
|
|
121
|
-
return path.isAbsolute(value) || value.startsWith("~");
|
|
122
|
-
}
|
|
123
|
-
function resolveConfiguredPath(value, baseDir) {
|
|
124
|
-
if (isAbsolutePath(value)) {
|
|
125
|
-
return resolveHomeAwarePath(value);
|
|
126
|
-
}
|
|
127
|
-
return path.resolve(baseDir, value);
|
|
128
|
-
}
|
|
129
|
-
function formatCommandForDisplay(command, args) {
|
|
130
|
-
return [command, ...args]
|
|
131
|
-
.map((part) => (/^[A-Za-z0-9_./:-]+$/.test(part) ? part : JSON.stringify(part)))
|
|
132
|
-
.join(" ");
|
|
133
|
-
}
|
|
134
|
-
async function executeProcess(input) {
|
|
135
|
-
const proc = await new Promise((resolve, reject) => {
|
|
136
|
-
const child = spawn(input.command, input.args, {
|
|
137
|
-
cwd: input.cwd,
|
|
138
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
139
|
-
env: input.env ?? process.env,
|
|
140
|
-
});
|
|
141
|
-
let stdout = "";
|
|
142
|
-
let stderr = "";
|
|
143
|
-
child.stdout?.on("data", (chunk) => {
|
|
144
|
-
stdout += String(chunk);
|
|
145
|
-
});
|
|
146
|
-
child.stderr?.on("data", (chunk) => {
|
|
147
|
-
stderr += String(chunk);
|
|
148
|
-
});
|
|
149
|
-
child.on("error", reject);
|
|
150
|
-
child.on("close", (code) => resolve({ stdout, stderr, code }));
|
|
151
|
-
});
|
|
152
|
-
return proc;
|
|
153
|
-
}
|
|
154
|
-
async function runGit(args, cwd) {
|
|
155
|
-
const proc = await executeProcess({
|
|
156
|
-
command: "git",
|
|
157
|
-
args,
|
|
158
|
-
cwd,
|
|
159
|
-
});
|
|
160
|
-
if (proc.code !== 0) {
|
|
161
|
-
throw new Error(proc.stderr.trim() || proc.stdout.trim() || `git ${args.join(" ")} failed`);
|
|
162
|
-
}
|
|
163
|
-
return proc.stdout.trim();
|
|
164
|
-
}
|
|
165
|
-
function gitErrorIncludes(error, needle) {
|
|
166
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
167
|
-
return message.toLowerCase().includes(needle.toLowerCase());
|
|
168
|
-
}
|
|
169
|
-
async function directoryExists(value) {
|
|
170
|
-
return fs.stat(value).then((stats) => stats.isDirectory()).catch(() => false);
|
|
171
|
-
}
|
|
172
|
-
function terminateChildProcess(child) {
|
|
173
|
-
if (!child.pid)
|
|
174
|
-
return;
|
|
175
|
-
if (process.platform !== "win32") {
|
|
176
|
-
try {
|
|
177
|
-
process.kill(-child.pid, "SIGTERM");
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
catch {
|
|
181
|
-
// Fall through to the direct child kill.
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
if (!child.killed) {
|
|
185
|
-
child.kill("SIGTERM");
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
function buildWorkspaceCommandEnv(input) {
|
|
189
|
-
const env = { ...process.env };
|
|
190
|
-
env.PAPERCLIP_WORKSPACE_CWD = input.worktreePath;
|
|
191
|
-
env.PAPERCLIP_WORKSPACE_PATH = input.worktreePath;
|
|
192
|
-
env.PAPERCLIP_WORKSPACE_WORKTREE_PATH = input.worktreePath;
|
|
193
|
-
env.PAPERCLIP_WORKSPACE_BRANCH = input.branchName;
|
|
194
|
-
env.PAPERCLIP_WORKSPACE_BASE_CWD = input.base.baseCwd;
|
|
195
|
-
env.PAPERCLIP_WORKSPACE_REPO_ROOT = input.repoRoot;
|
|
196
|
-
env.PAPERCLIP_WORKSPACE_SOURCE = input.base.source;
|
|
197
|
-
env.PAPERCLIP_WORKSPACE_REPO_REF = input.base.repoRef ?? "";
|
|
198
|
-
env.PAPERCLIP_WORKSPACE_REPO_URL = input.base.repoUrl ?? "";
|
|
199
|
-
env.PAPERCLIP_WORKSPACE_CREATED = input.created ? "true" : "false";
|
|
200
|
-
env.PAPERCLIP_PROJECT_ID = input.base.projectId ?? "";
|
|
201
|
-
env.PAPERCLIP_PROJECT_WORKSPACE_ID = input.base.workspaceId ?? "";
|
|
202
|
-
env.PAPERCLIP_AGENT_ID = input.agent.id;
|
|
203
|
-
env.PAPERCLIP_AGENT_NAME = input.agent.name;
|
|
204
|
-
env.PAPERCLIP_COMPANY_ID = input.agent.companyId;
|
|
205
|
-
env.PAPERCLIP_ISSUE_ID = input.issue?.id ?? "";
|
|
206
|
-
env.PAPERCLIP_ISSUE_IDENTIFIER = input.issue?.identifier ?? "";
|
|
207
|
-
env.PAPERCLIP_ISSUE_TITLE = input.issue?.title ?? "";
|
|
208
|
-
return env;
|
|
209
|
-
}
|
|
210
|
-
async function runWorkspaceCommand(input) {
|
|
211
|
-
const shell = process.env.SHELL?.trim() || "/bin/sh";
|
|
212
|
-
const proc = await executeProcess({
|
|
213
|
-
command: shell,
|
|
214
|
-
args: ["-c", input.command],
|
|
215
|
-
cwd: input.cwd,
|
|
216
|
-
env: input.env,
|
|
217
|
-
});
|
|
218
|
-
if (proc.code === 0)
|
|
219
|
-
return;
|
|
220
|
-
const details = [proc.stderr.trim(), proc.stdout.trim()].filter(Boolean).join("\n");
|
|
221
|
-
throw new Error(details.length > 0
|
|
222
|
-
? `${input.label} failed: ${details}`
|
|
223
|
-
: `${input.label} failed with exit code ${proc.code ?? -1}`);
|
|
224
|
-
}
|
|
225
|
-
async function recordGitOperation(recorder, input) {
|
|
226
|
-
if (!recorder) {
|
|
227
|
-
return runGit(input.args, input.cwd);
|
|
228
|
-
}
|
|
229
|
-
let stdout = "";
|
|
230
|
-
let stderr = "";
|
|
231
|
-
let code = null;
|
|
232
|
-
await recorder.recordOperation({
|
|
233
|
-
phase: input.phase,
|
|
234
|
-
command: formatCommandForDisplay("git", input.args),
|
|
235
|
-
cwd: input.cwd,
|
|
236
|
-
metadata: input.metadata ?? null,
|
|
237
|
-
run: async () => {
|
|
238
|
-
const result = await executeProcess({
|
|
239
|
-
command: "git",
|
|
240
|
-
args: input.args,
|
|
241
|
-
cwd: input.cwd,
|
|
242
|
-
});
|
|
243
|
-
stdout = result.stdout;
|
|
244
|
-
stderr = result.stderr;
|
|
245
|
-
code = result.code;
|
|
246
|
-
return {
|
|
247
|
-
status: result.code === 0 ? "succeeded" : "failed",
|
|
248
|
-
exitCode: result.code,
|
|
249
|
-
stdout: result.stdout,
|
|
250
|
-
stderr: result.stderr,
|
|
251
|
-
system: result.code === 0 ? input.successMessage ?? null : null,
|
|
252
|
-
};
|
|
253
|
-
},
|
|
254
|
-
});
|
|
255
|
-
if (code !== 0) {
|
|
256
|
-
const details = [stderr.trim(), stdout.trim()].filter(Boolean).join("\n");
|
|
257
|
-
throw new Error(details.length > 0
|
|
258
|
-
? `${input.failureLabel ?? `git ${input.args.join(" ")}`} failed: ${details}`
|
|
259
|
-
: `${input.failureLabel ?? `git ${input.args.join(" ")}`} failed with exit code ${code ?? -1}`);
|
|
260
|
-
}
|
|
261
|
-
return stdout.trim();
|
|
262
|
-
}
|
|
263
|
-
async function recordWorkspaceCommandOperation(recorder, input) {
|
|
264
|
-
if (!recorder) {
|
|
265
|
-
await runWorkspaceCommand(input);
|
|
266
|
-
return;
|
|
267
|
-
}
|
|
268
|
-
let stdout = "";
|
|
269
|
-
let stderr = "";
|
|
270
|
-
let code = null;
|
|
271
|
-
await recorder.recordOperation({
|
|
272
|
-
phase: input.phase,
|
|
273
|
-
command: input.command,
|
|
274
|
-
cwd: input.cwd,
|
|
275
|
-
metadata: input.metadata ?? null,
|
|
276
|
-
run: async () => {
|
|
277
|
-
const shell = process.env.SHELL?.trim() || "/bin/sh";
|
|
278
|
-
const result = await executeProcess({
|
|
279
|
-
command: shell,
|
|
280
|
-
args: ["-c", input.command],
|
|
281
|
-
cwd: input.cwd,
|
|
282
|
-
env: input.env,
|
|
283
|
-
});
|
|
284
|
-
stdout = result.stdout;
|
|
285
|
-
stderr = result.stderr;
|
|
286
|
-
code = result.code;
|
|
287
|
-
return {
|
|
288
|
-
status: result.code === 0 ? "succeeded" : "failed",
|
|
289
|
-
exitCode: result.code,
|
|
290
|
-
stdout: result.stdout,
|
|
291
|
-
stderr: result.stderr,
|
|
292
|
-
system: result.code === 0 ? input.successMessage ?? null : null,
|
|
293
|
-
};
|
|
294
|
-
},
|
|
295
|
-
});
|
|
296
|
-
if (code === 0)
|
|
297
|
-
return;
|
|
298
|
-
const details = [stderr.trim(), stdout.trim()].filter(Boolean).join("\n");
|
|
299
|
-
throw new Error(details.length > 0
|
|
300
|
-
? `${input.label} failed: ${details}`
|
|
301
|
-
: `${input.label} failed with exit code ${code ?? -1}`);
|
|
302
|
-
}
|
|
303
|
-
async function provisionExecutionWorktree(input) {
|
|
304
|
-
const provisionCommand = asString(input.strategy.provisionCommand, "").trim();
|
|
305
|
-
if (!provisionCommand)
|
|
306
|
-
return;
|
|
307
|
-
await recordWorkspaceCommandOperation(input.recorder, {
|
|
308
|
-
phase: "workspace_provision",
|
|
309
|
-
command: provisionCommand,
|
|
310
|
-
cwd: input.worktreePath,
|
|
311
|
-
env: buildWorkspaceCommandEnv({
|
|
312
|
-
base: input.base,
|
|
313
|
-
repoRoot: input.repoRoot,
|
|
314
|
-
worktreePath: input.worktreePath,
|
|
315
|
-
branchName: input.branchName,
|
|
316
|
-
issue: input.issue,
|
|
317
|
-
agent: input.agent,
|
|
318
|
-
created: input.created,
|
|
319
|
-
}),
|
|
320
|
-
label: `Execution workspace provision command "${provisionCommand}"`,
|
|
321
|
-
metadata: {
|
|
322
|
-
repoRoot: input.repoRoot,
|
|
323
|
-
worktreePath: input.worktreePath,
|
|
324
|
-
branchName: input.branchName,
|
|
325
|
-
created: input.created,
|
|
326
|
-
},
|
|
327
|
-
successMessage: `Provisioned workspace at ${input.worktreePath}\n`,
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
function buildExecutionWorkspaceCleanupEnv(input) {
|
|
331
|
-
const env = sanitizeRuntimeServiceBaseEnv(process.env);
|
|
332
|
-
env.PAPERCLIP_WORKSPACE_CWD = input.workspace.cwd ?? "";
|
|
333
|
-
env.PAPERCLIP_WORKSPACE_PATH = input.workspace.cwd ?? "";
|
|
334
|
-
env.PAPERCLIP_WORKSPACE_WORKTREE_PATH =
|
|
335
|
-
input.workspace.providerRef ?? input.workspace.cwd ?? "";
|
|
336
|
-
env.PAPERCLIP_WORKSPACE_BRANCH = input.workspace.branchName ?? "";
|
|
337
|
-
env.PAPERCLIP_WORKSPACE_BASE_CWD = input.projectWorkspaceCwd ?? "";
|
|
338
|
-
env.PAPERCLIP_WORKSPACE_REPO_ROOT = input.projectWorkspaceCwd ?? "";
|
|
339
|
-
env.PAPERCLIP_WORKSPACE_REPO_URL = input.workspace.repoUrl ?? "";
|
|
340
|
-
env.PAPERCLIP_WORKSPACE_REPO_REF = input.workspace.baseRef ?? "";
|
|
341
|
-
env.PAPERCLIP_PROJECT_ID = input.workspace.projectId ?? "";
|
|
342
|
-
env.PAPERCLIP_PROJECT_WORKSPACE_ID = input.workspace.projectWorkspaceId ?? "";
|
|
343
|
-
env.PAPERCLIP_ISSUE_ID = input.workspace.sourceIssueId ?? "";
|
|
344
|
-
return env;
|
|
345
|
-
}
|
|
346
|
-
async function resolveGitRepoRootForWorkspaceCleanup(worktreePath, projectWorkspaceCwd) {
|
|
347
|
-
if (projectWorkspaceCwd) {
|
|
348
|
-
const resolvedProjectWorkspaceCwd = path.resolve(projectWorkspaceCwd);
|
|
349
|
-
const gitDir = await runGit(["rev-parse", "--git-common-dir"], resolvedProjectWorkspaceCwd)
|
|
350
|
-
.catch(() => null);
|
|
351
|
-
if (gitDir) {
|
|
352
|
-
const resolvedGitDir = path.resolve(resolvedProjectWorkspaceCwd, gitDir);
|
|
353
|
-
return path.dirname(resolvedGitDir);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
const gitDir = await runGit(["rev-parse", "--git-common-dir"], worktreePath).catch(() => null);
|
|
357
|
-
if (!gitDir)
|
|
358
|
-
return null;
|
|
359
|
-
const resolvedGitDir = path.resolve(worktreePath, gitDir);
|
|
360
|
-
return path.dirname(resolvedGitDir);
|
|
361
|
-
}
|
|
362
|
-
export async function realizeExecutionWorkspace(input) {
|
|
363
|
-
const rawStrategy = parseObject(input.config.workspaceStrategy);
|
|
364
|
-
const strategyType = asString(rawStrategy.type, "project_primary");
|
|
365
|
-
if (strategyType !== "git_worktree") {
|
|
366
|
-
return {
|
|
367
|
-
...input.base,
|
|
368
|
-
strategy: "project_primary",
|
|
369
|
-
cwd: input.base.baseCwd,
|
|
370
|
-
branchName: null,
|
|
371
|
-
worktreePath: null,
|
|
372
|
-
warnings: [],
|
|
373
|
-
created: false,
|
|
374
|
-
};
|
|
375
|
-
}
|
|
376
|
-
const repoRoot = await runGit(["rev-parse", "--show-toplevel"], input.base.baseCwd);
|
|
377
|
-
const branchTemplate = asString(rawStrategy.branchTemplate, "{{issue.identifier}}-{{slug}}");
|
|
378
|
-
const renderedBranch = renderWorkspaceTemplate(branchTemplate, {
|
|
379
|
-
issue: input.issue,
|
|
380
|
-
agent: input.agent,
|
|
381
|
-
projectId: input.base.projectId,
|
|
382
|
-
repoRef: input.base.repoRef,
|
|
383
|
-
});
|
|
384
|
-
const branchName = sanitizeBranchName(renderedBranch);
|
|
385
|
-
const configuredParentDir = asString(rawStrategy.worktreeParentDir, "");
|
|
386
|
-
const worktreeParentDir = configuredParentDir
|
|
387
|
-
? resolveConfiguredPath(configuredParentDir, repoRoot)
|
|
388
|
-
: path.join(repoRoot, ".paperclip", "worktrees");
|
|
389
|
-
const worktreePath = path.join(worktreeParentDir, branchName);
|
|
390
|
-
const baseRef = asString(rawStrategy.baseRef, input.base.repoRef ?? "HEAD");
|
|
391
|
-
await fs.mkdir(worktreeParentDir, { recursive: true });
|
|
392
|
-
const existingWorktree = await directoryExists(worktreePath);
|
|
393
|
-
if (existingWorktree) {
|
|
394
|
-
const existingGitDir = await runGit(["rev-parse", "--git-dir"], worktreePath).catch(() => null);
|
|
395
|
-
if (existingGitDir) {
|
|
396
|
-
if (input.recorder) {
|
|
397
|
-
await input.recorder.recordOperation({
|
|
398
|
-
phase: "worktree_prepare",
|
|
399
|
-
cwd: repoRoot,
|
|
400
|
-
metadata: {
|
|
401
|
-
repoRoot,
|
|
402
|
-
worktreePath,
|
|
403
|
-
branchName,
|
|
404
|
-
baseRef,
|
|
405
|
-
created: false,
|
|
406
|
-
reused: true,
|
|
407
|
-
},
|
|
408
|
-
run: async () => ({
|
|
409
|
-
status: "succeeded",
|
|
410
|
-
exitCode: 0,
|
|
411
|
-
system: `Reused existing git worktree at ${worktreePath}\n`,
|
|
412
|
-
}),
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
await provisionExecutionWorktree({
|
|
416
|
-
strategy: rawStrategy,
|
|
417
|
-
base: input.base,
|
|
418
|
-
repoRoot,
|
|
419
|
-
worktreePath,
|
|
420
|
-
branchName,
|
|
421
|
-
issue: input.issue,
|
|
422
|
-
agent: input.agent,
|
|
423
|
-
created: false,
|
|
424
|
-
recorder: input.recorder ?? null,
|
|
425
|
-
});
|
|
426
|
-
return {
|
|
427
|
-
...input.base,
|
|
428
|
-
strategy: "git_worktree",
|
|
429
|
-
cwd: worktreePath,
|
|
430
|
-
branchName,
|
|
431
|
-
worktreePath,
|
|
432
|
-
warnings: [],
|
|
433
|
-
created: false,
|
|
434
|
-
};
|
|
435
|
-
}
|
|
436
|
-
throw new Error(`Configured worktree path "${worktreePath}" already exists and is not a git worktree.`);
|
|
437
|
-
}
|
|
438
|
-
try {
|
|
439
|
-
await recordGitOperation(input.recorder, {
|
|
440
|
-
phase: "worktree_prepare",
|
|
441
|
-
args: ["worktree", "add", "-b", branchName, worktreePath, baseRef],
|
|
442
|
-
cwd: repoRoot,
|
|
443
|
-
metadata: {
|
|
444
|
-
repoRoot,
|
|
445
|
-
worktreePath,
|
|
446
|
-
branchName,
|
|
447
|
-
baseRef,
|
|
448
|
-
created: true,
|
|
449
|
-
},
|
|
450
|
-
successMessage: `Created git worktree at ${worktreePath}\n`,
|
|
451
|
-
failureLabel: `git worktree add ${worktreePath}`,
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
catch (error) {
|
|
455
|
-
if (!gitErrorIncludes(error, "already exists")) {
|
|
456
|
-
throw error;
|
|
457
|
-
}
|
|
458
|
-
await recordGitOperation(input.recorder, {
|
|
459
|
-
phase: "worktree_prepare",
|
|
460
|
-
args: ["worktree", "add", worktreePath, branchName],
|
|
461
|
-
cwd: repoRoot,
|
|
462
|
-
metadata: {
|
|
463
|
-
repoRoot,
|
|
464
|
-
worktreePath,
|
|
465
|
-
branchName,
|
|
466
|
-
baseRef,
|
|
467
|
-
created: false,
|
|
468
|
-
reusedExistingBranch: true,
|
|
469
|
-
},
|
|
470
|
-
successMessage: `Attached existing branch ${branchName} at ${worktreePath}\n`,
|
|
471
|
-
failureLabel: `git worktree add ${worktreePath}`,
|
|
472
|
-
});
|
|
473
|
-
}
|
|
474
|
-
await provisionExecutionWorktree({
|
|
475
|
-
strategy: rawStrategy,
|
|
476
|
-
base: input.base,
|
|
477
|
-
repoRoot,
|
|
478
|
-
worktreePath,
|
|
479
|
-
branchName,
|
|
480
|
-
issue: input.issue,
|
|
481
|
-
agent: input.agent,
|
|
482
|
-
created: true,
|
|
483
|
-
recorder: input.recorder ?? null,
|
|
484
|
-
});
|
|
485
|
-
return {
|
|
486
|
-
...input.base,
|
|
487
|
-
strategy: "git_worktree",
|
|
488
|
-
cwd: worktreePath,
|
|
489
|
-
branchName,
|
|
490
|
-
worktreePath,
|
|
491
|
-
warnings: [],
|
|
492
|
-
created: true,
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
export async function cleanupExecutionWorkspaceArtifacts(input) {
|
|
496
|
-
const warnings = [];
|
|
497
|
-
const workspacePath = input.workspace.providerRef ?? input.workspace.cwd;
|
|
498
|
-
const cleanupEnv = buildExecutionWorkspaceCleanupEnv({
|
|
499
|
-
workspace: input.workspace,
|
|
500
|
-
projectWorkspaceCwd: input.projectWorkspace?.cwd ?? null,
|
|
501
|
-
});
|
|
502
|
-
const createdByRuntime = input.workspace.metadata?.createdByRuntime === true;
|
|
503
|
-
const cleanupCommands = [
|
|
504
|
-
input.projectWorkspace?.cleanupCommand ?? null,
|
|
505
|
-
input.teardownCommand ?? null,
|
|
506
|
-
]
|
|
507
|
-
.map((value) => asString(value, "").trim())
|
|
508
|
-
.filter(Boolean);
|
|
509
|
-
for (const command of cleanupCommands) {
|
|
510
|
-
try {
|
|
511
|
-
await recordWorkspaceCommandOperation(input.recorder, {
|
|
512
|
-
phase: "workspace_teardown",
|
|
513
|
-
command,
|
|
514
|
-
cwd: workspacePath ?? input.projectWorkspace?.cwd ?? process.cwd(),
|
|
515
|
-
env: cleanupEnv,
|
|
516
|
-
label: `Execution workspace cleanup command "${command}"`,
|
|
517
|
-
metadata: {
|
|
518
|
-
workspaceId: input.workspace.id,
|
|
519
|
-
workspacePath,
|
|
520
|
-
branchName: input.workspace.branchName,
|
|
521
|
-
providerType: input.workspace.providerType,
|
|
522
|
-
},
|
|
523
|
-
successMessage: `Completed cleanup command "${command}"\n`,
|
|
524
|
-
});
|
|
525
|
-
}
|
|
526
|
-
catch (err) {
|
|
527
|
-
warnings.push(err instanceof Error ? err.message : String(err));
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
if (input.workspace.providerType === "git_worktree" && workspacePath) {
|
|
531
|
-
const repoRoot = await resolveGitRepoRootForWorkspaceCleanup(workspacePath, input.projectWorkspace?.cwd ?? null);
|
|
532
|
-
const worktreeExists = await directoryExists(workspacePath);
|
|
533
|
-
if (worktreeExists) {
|
|
534
|
-
if (!repoRoot) {
|
|
535
|
-
warnings.push(`Could not resolve git repo root for "${workspacePath}".`);
|
|
536
|
-
}
|
|
537
|
-
else {
|
|
538
|
-
try {
|
|
539
|
-
await recordGitOperation(input.recorder, {
|
|
540
|
-
phase: "worktree_cleanup",
|
|
541
|
-
args: ["worktree", "remove", "--force", workspacePath],
|
|
542
|
-
cwd: repoRoot,
|
|
543
|
-
metadata: {
|
|
544
|
-
workspaceId: input.workspace.id,
|
|
545
|
-
workspacePath,
|
|
546
|
-
branchName: input.workspace.branchName,
|
|
547
|
-
cleanupAction: "worktree_remove",
|
|
548
|
-
},
|
|
549
|
-
successMessage: `Removed git worktree ${workspacePath}\n`,
|
|
550
|
-
failureLabel: `git worktree remove ${workspacePath}`,
|
|
551
|
-
});
|
|
552
|
-
}
|
|
553
|
-
catch (err) {
|
|
554
|
-
warnings.push(err instanceof Error ? err.message : String(err));
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
if (createdByRuntime && input.workspace.branchName) {
|
|
559
|
-
if (!repoRoot) {
|
|
560
|
-
warnings.push(`Could not resolve git repo root to delete branch "${input.workspace.branchName}".`);
|
|
561
|
-
}
|
|
562
|
-
else {
|
|
563
|
-
try {
|
|
564
|
-
await recordGitOperation(input.recorder, {
|
|
565
|
-
phase: "worktree_cleanup",
|
|
566
|
-
args: ["branch", "-d", input.workspace.branchName],
|
|
567
|
-
cwd: repoRoot,
|
|
568
|
-
metadata: {
|
|
569
|
-
workspaceId: input.workspace.id,
|
|
570
|
-
workspacePath,
|
|
571
|
-
branchName: input.workspace.branchName,
|
|
572
|
-
cleanupAction: "branch_delete",
|
|
573
|
-
},
|
|
574
|
-
successMessage: `Deleted branch ${input.workspace.branchName}\n`,
|
|
575
|
-
failureLabel: `git branch -d ${input.workspace.branchName}`,
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
catch (err) {
|
|
579
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
580
|
-
warnings.push(`Skipped deleting branch "${input.workspace.branchName}": ${message}`);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
else if (input.workspace.providerType === "local_fs" && createdByRuntime && workspacePath) {
|
|
586
|
-
const projectWorkspaceCwd = input.projectWorkspace?.cwd ? path.resolve(input.projectWorkspace.cwd) : null;
|
|
587
|
-
const resolvedWorkspacePath = path.resolve(workspacePath);
|
|
588
|
-
const containsProjectWorkspace = projectWorkspaceCwd
|
|
589
|
-
? (resolvedWorkspacePath === projectWorkspaceCwd ||
|
|
590
|
-
projectWorkspaceCwd.startsWith(`${resolvedWorkspacePath}${path.sep}`))
|
|
591
|
-
: false;
|
|
592
|
-
if (containsProjectWorkspace) {
|
|
593
|
-
warnings.push(`Refusing to remove path "${workspacePath}" because it contains the project workspace.`);
|
|
594
|
-
}
|
|
595
|
-
else {
|
|
596
|
-
await fs.rm(resolvedWorkspacePath, { recursive: true, force: true });
|
|
597
|
-
if (input.recorder) {
|
|
598
|
-
await input.recorder.recordOperation({
|
|
599
|
-
phase: "workspace_teardown",
|
|
600
|
-
cwd: projectWorkspaceCwd ?? process.cwd(),
|
|
601
|
-
metadata: {
|
|
602
|
-
workspaceId: input.workspace.id,
|
|
603
|
-
workspacePath: resolvedWorkspacePath,
|
|
604
|
-
cleanupAction: "remove_local_fs",
|
|
605
|
-
},
|
|
606
|
-
run: async () => ({
|
|
607
|
-
status: "succeeded",
|
|
608
|
-
exitCode: 0,
|
|
609
|
-
system: `Removed local workspace directory ${resolvedWorkspacePath}\n`,
|
|
610
|
-
}),
|
|
611
|
-
});
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
const cleaned = !workspacePath ||
|
|
616
|
-
!(await directoryExists(workspacePath));
|
|
617
|
-
return {
|
|
618
|
-
cleanedPath: workspacePath,
|
|
619
|
-
cleaned,
|
|
620
|
-
warnings,
|
|
621
|
-
};
|
|
622
|
-
}
|
|
623
|
-
async function allocatePort() {
|
|
624
|
-
return await new Promise((resolve, reject) => {
|
|
625
|
-
const server = net.createServer();
|
|
626
|
-
server.listen(0, "127.0.0.1", () => {
|
|
627
|
-
const address = server.address();
|
|
628
|
-
server.close((err) => {
|
|
629
|
-
if (err) {
|
|
630
|
-
reject(err);
|
|
631
|
-
return;
|
|
632
|
-
}
|
|
633
|
-
if (!address || typeof address === "string") {
|
|
634
|
-
reject(new Error("Failed to allocate port"));
|
|
635
|
-
return;
|
|
636
|
-
}
|
|
637
|
-
resolve(address.port);
|
|
638
|
-
});
|
|
639
|
-
});
|
|
640
|
-
server.on("error", reject);
|
|
641
|
-
});
|
|
642
|
-
}
|
|
643
|
-
function buildTemplateData(input) {
|
|
644
|
-
return {
|
|
645
|
-
workspace: {
|
|
646
|
-
cwd: input.workspace.cwd,
|
|
647
|
-
branchName: input.workspace.branchName ?? "",
|
|
648
|
-
worktreePath: input.workspace.worktreePath ?? "",
|
|
649
|
-
repoUrl: input.workspace.repoUrl ?? "",
|
|
650
|
-
repoRef: input.workspace.repoRef ?? "",
|
|
651
|
-
env: input.adapterEnv,
|
|
652
|
-
},
|
|
653
|
-
issue: {
|
|
654
|
-
id: input.issue?.id ?? "",
|
|
655
|
-
identifier: input.issue?.identifier ?? "",
|
|
656
|
-
title: input.issue?.title ?? "",
|
|
657
|
-
},
|
|
658
|
-
agent: {
|
|
659
|
-
id: input.agent.id,
|
|
660
|
-
name: input.agent.name,
|
|
661
|
-
},
|
|
662
|
-
port: input.port ?? "",
|
|
663
|
-
};
|
|
664
|
-
}
|
|
665
|
-
function resolveServiceScopeId(input) {
|
|
666
|
-
const scopeTypeRaw = asString(input.service.reuseScope, input.service.lifecycle === "shared" ? "project_workspace" : "run");
|
|
667
|
-
const scopeType = scopeTypeRaw === "project_workspace" ||
|
|
668
|
-
scopeTypeRaw === "execution_workspace" ||
|
|
669
|
-
scopeTypeRaw === "agent"
|
|
670
|
-
? scopeTypeRaw
|
|
671
|
-
: "run";
|
|
672
|
-
if (scopeType === "project_workspace")
|
|
673
|
-
return { scopeType, scopeId: input.workspace.workspaceId ?? input.workspace.projectId };
|
|
674
|
-
if (scopeType === "execution_workspace") {
|
|
675
|
-
return { scopeType, scopeId: input.executionWorkspaceId ?? input.workspace.cwd };
|
|
676
|
-
}
|
|
677
|
-
if (scopeType === "agent")
|
|
678
|
-
return { scopeType, scopeId: input.agent.id };
|
|
679
|
-
return { scopeType: "run", scopeId: input.runId };
|
|
680
|
-
}
|
|
681
|
-
async function waitForReadiness(input) {
|
|
682
|
-
const readiness = parseObject(input.service.readiness);
|
|
683
|
-
const readinessType = asString(readiness.type, "");
|
|
684
|
-
if (readinessType !== "http" || !input.url)
|
|
685
|
-
return;
|
|
686
|
-
const timeoutSec = Math.max(1, asNumber(readiness.timeoutSec, 30));
|
|
687
|
-
const intervalMs = Math.max(100, asNumber(readiness.intervalMs, 500));
|
|
688
|
-
const deadline = Date.now() + timeoutSec * 1000;
|
|
689
|
-
let lastError = "service did not become ready";
|
|
690
|
-
while (Date.now() < deadline) {
|
|
691
|
-
try {
|
|
692
|
-
const response = await fetch(input.url);
|
|
693
|
-
if (response.ok)
|
|
694
|
-
return;
|
|
695
|
-
lastError = `received HTTP ${response.status}`;
|
|
696
|
-
}
|
|
697
|
-
catch (err) {
|
|
698
|
-
lastError = err instanceof Error ? err.message : String(err);
|
|
699
|
-
}
|
|
700
|
-
await delay(intervalMs);
|
|
701
|
-
}
|
|
702
|
-
throw new Error(`Readiness check failed for ${input.url}: ${lastError}`);
|
|
703
|
-
}
|
|
704
|
-
function toPersistedWorkspaceRuntimeService(record) {
|
|
705
|
-
return {
|
|
706
|
-
id: record.id,
|
|
707
|
-
companyId: record.companyId,
|
|
708
|
-
projectId: record.projectId,
|
|
709
|
-
projectWorkspaceId: record.projectWorkspaceId,
|
|
710
|
-
executionWorkspaceId: record.executionWorkspaceId,
|
|
711
|
-
issueId: record.issueId,
|
|
712
|
-
scopeType: record.scopeType,
|
|
713
|
-
scopeId: record.scopeId,
|
|
714
|
-
serviceName: record.serviceName,
|
|
715
|
-
status: record.status,
|
|
716
|
-
lifecycle: record.lifecycle,
|
|
717
|
-
reuseKey: record.reuseKey,
|
|
718
|
-
command: record.command,
|
|
719
|
-
cwd: record.cwd,
|
|
720
|
-
port: record.port,
|
|
721
|
-
url: record.url,
|
|
722
|
-
provider: record.provider,
|
|
723
|
-
providerRef: record.providerRef,
|
|
724
|
-
ownerAgentId: record.ownerAgentId,
|
|
725
|
-
startedByRunId: record.startedByRunId,
|
|
726
|
-
lastUsedAt: new Date(record.lastUsedAt),
|
|
727
|
-
startedAt: new Date(record.startedAt),
|
|
728
|
-
stoppedAt: record.stoppedAt ? new Date(record.stoppedAt) : null,
|
|
729
|
-
stopPolicy: record.stopPolicy,
|
|
730
|
-
healthStatus: record.healthStatus,
|
|
731
|
-
updatedAt: new Date(),
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
async function persistRuntimeServiceRecord(db, record) {
|
|
735
|
-
if (!db)
|
|
736
|
-
return;
|
|
737
|
-
const values = toPersistedWorkspaceRuntimeService(record);
|
|
738
|
-
await db
|
|
739
|
-
.insert(workspaceRuntimeServices)
|
|
740
|
-
.values(values)
|
|
741
|
-
.onConflictDoUpdate({
|
|
742
|
-
target: workspaceRuntimeServices.id,
|
|
743
|
-
set: {
|
|
744
|
-
projectId: values.projectId,
|
|
745
|
-
projectWorkspaceId: values.projectWorkspaceId,
|
|
746
|
-
executionWorkspaceId: values.executionWorkspaceId,
|
|
747
|
-
issueId: values.issueId,
|
|
748
|
-
scopeType: values.scopeType,
|
|
749
|
-
scopeId: values.scopeId,
|
|
750
|
-
serviceName: values.serviceName,
|
|
751
|
-
status: values.status,
|
|
752
|
-
lifecycle: values.lifecycle,
|
|
753
|
-
reuseKey: values.reuseKey,
|
|
754
|
-
command: values.command,
|
|
755
|
-
cwd: values.cwd,
|
|
756
|
-
port: values.port,
|
|
757
|
-
url: values.url,
|
|
758
|
-
provider: values.provider,
|
|
759
|
-
providerRef: values.providerRef,
|
|
760
|
-
ownerAgentId: values.ownerAgentId,
|
|
761
|
-
startedByRunId: values.startedByRunId,
|
|
762
|
-
lastUsedAt: values.lastUsedAt,
|
|
763
|
-
startedAt: values.startedAt,
|
|
764
|
-
stoppedAt: values.stoppedAt,
|
|
765
|
-
stopPolicy: values.stopPolicy,
|
|
766
|
-
healthStatus: values.healthStatus,
|
|
767
|
-
updatedAt: values.updatedAt,
|
|
768
|
-
},
|
|
769
|
-
});
|
|
770
|
-
}
|
|
771
|
-
function clearIdleTimer(record) {
|
|
772
|
-
if (!record.idleTimer)
|
|
773
|
-
return;
|
|
774
|
-
clearTimeout(record.idleTimer);
|
|
775
|
-
record.idleTimer = null;
|
|
776
|
-
}
|
|
777
|
-
export function normalizeAdapterManagedRuntimeServices(input) {
|
|
778
|
-
const nowIso = (input.now ?? new Date()).toISOString();
|
|
779
|
-
return input.reports.map((report) => {
|
|
780
|
-
const scopeType = report.scopeType ?? "run";
|
|
781
|
-
const scopeId = report.scopeId ??
|
|
782
|
-
(scopeType === "project_workspace"
|
|
783
|
-
? input.workspace.workspaceId
|
|
784
|
-
: scopeType === "execution_workspace"
|
|
785
|
-
? input.executionWorkspaceId ?? input.workspace.cwd
|
|
786
|
-
: scopeType === "agent"
|
|
787
|
-
? input.agent.id
|
|
788
|
-
: input.runId) ??
|
|
789
|
-
null;
|
|
790
|
-
const serviceName = asString(report.serviceName, "").trim() || "service";
|
|
791
|
-
const status = report.status ?? "running";
|
|
792
|
-
const lifecycle = report.lifecycle ?? "ephemeral";
|
|
793
|
-
const healthStatus = report.healthStatus ??
|
|
794
|
-
(status === "running" ? "healthy" : status === "failed" ? "unhealthy" : "unknown");
|
|
795
|
-
return {
|
|
796
|
-
id: stableRuntimeServiceId({
|
|
797
|
-
adapterType: input.adapterType,
|
|
798
|
-
runId: input.runId,
|
|
799
|
-
scopeType,
|
|
800
|
-
scopeId,
|
|
801
|
-
serviceName,
|
|
802
|
-
reportId: report.id ?? null,
|
|
803
|
-
providerRef: report.providerRef ?? null,
|
|
804
|
-
reuseKey: report.reuseKey ?? null,
|
|
805
|
-
}),
|
|
806
|
-
companyId: input.agent.companyId,
|
|
807
|
-
projectId: report.projectId ?? input.workspace.projectId,
|
|
808
|
-
projectWorkspaceId: report.projectWorkspaceId ?? input.workspace.workspaceId,
|
|
809
|
-
executionWorkspaceId: input.executionWorkspaceId ?? null,
|
|
810
|
-
issueId: report.issueId ?? input.issue?.id ?? null,
|
|
811
|
-
serviceName,
|
|
812
|
-
status,
|
|
813
|
-
lifecycle,
|
|
814
|
-
scopeType,
|
|
815
|
-
scopeId,
|
|
816
|
-
reuseKey: report.reuseKey ?? null,
|
|
817
|
-
command: report.command ?? null,
|
|
818
|
-
cwd: report.cwd ?? null,
|
|
819
|
-
port: report.port ?? null,
|
|
820
|
-
url: report.url ?? null,
|
|
821
|
-
provider: "adapter_managed",
|
|
822
|
-
providerRef: report.providerRef ?? null,
|
|
823
|
-
ownerAgentId: report.ownerAgentId ?? input.agent.id,
|
|
824
|
-
startedByRunId: input.runId,
|
|
825
|
-
lastUsedAt: nowIso,
|
|
826
|
-
startedAt: nowIso,
|
|
827
|
-
stoppedAt: status === "running" || status === "starting" ? null : nowIso,
|
|
828
|
-
stopPolicy: report.stopPolicy ?? null,
|
|
829
|
-
healthStatus,
|
|
830
|
-
reused: false,
|
|
831
|
-
};
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
async function startLocalRuntimeService(input) {
|
|
835
|
-
const serviceName = asString(input.service.name, "service");
|
|
836
|
-
const lifecycle = asString(input.service.lifecycle, "shared") === "ephemeral" ? "ephemeral" : "shared";
|
|
837
|
-
const command = asString(input.service.command, "");
|
|
838
|
-
if (!command)
|
|
839
|
-
throw new Error(`Runtime service "${serviceName}" is missing command`);
|
|
840
|
-
const serviceCwdTemplate = asString(input.service.cwd, ".");
|
|
841
|
-
const portConfig = parseObject(input.service.port);
|
|
842
|
-
const port = asString(portConfig.type, "") === "auto" ? await allocatePort() : null;
|
|
843
|
-
const envConfig = parseObject(input.service.env);
|
|
844
|
-
const templateData = buildTemplateData({
|
|
845
|
-
workspace: input.workspace,
|
|
846
|
-
agent: input.agent,
|
|
847
|
-
issue: input.issue,
|
|
848
|
-
adapterEnv: input.adapterEnv,
|
|
849
|
-
port,
|
|
850
|
-
});
|
|
851
|
-
const serviceCwd = resolveConfiguredPath(renderTemplate(serviceCwdTemplate, templateData), input.workspace.cwd);
|
|
852
|
-
const env = {
|
|
853
|
-
...sanitizeRuntimeServiceBaseEnv(process.env),
|
|
854
|
-
...input.adapterEnv,
|
|
855
|
-
};
|
|
856
|
-
for (const [key, value] of Object.entries(envConfig)) {
|
|
857
|
-
if (typeof value === "string") {
|
|
858
|
-
env[key] = renderTemplate(value, templateData);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
if (port) {
|
|
862
|
-
const portEnvKey = asString(portConfig.envKey, "PORT");
|
|
863
|
-
env[portEnvKey] = String(port);
|
|
864
|
-
}
|
|
865
|
-
const shell = process.env.SHELL?.trim() || "/bin/sh";
|
|
866
|
-
const child = spawn(shell, ["-lc", command], {
|
|
867
|
-
cwd: serviceCwd,
|
|
868
|
-
env,
|
|
869
|
-
detached: process.platform !== "win32",
|
|
870
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
871
|
-
});
|
|
872
|
-
let stderrExcerpt = "";
|
|
873
|
-
let stdoutExcerpt = "";
|
|
874
|
-
child.stdout?.on("data", async (chunk) => {
|
|
875
|
-
const text = String(chunk);
|
|
876
|
-
stdoutExcerpt = (stdoutExcerpt + text).slice(-4096);
|
|
877
|
-
if (input.onLog)
|
|
878
|
-
await input.onLog("stdout", `[service:${serviceName}] ${text}`);
|
|
879
|
-
});
|
|
880
|
-
child.stderr?.on("data", async (chunk) => {
|
|
881
|
-
const text = String(chunk);
|
|
882
|
-
stderrExcerpt = (stderrExcerpt + text).slice(-4096);
|
|
883
|
-
if (input.onLog)
|
|
884
|
-
await input.onLog("stderr", `[service:${serviceName}] ${text}`);
|
|
885
|
-
});
|
|
886
|
-
const expose = parseObject(input.service.expose);
|
|
887
|
-
const readiness = parseObject(input.service.readiness);
|
|
888
|
-
const urlTemplate = asString(expose.urlTemplate, "") ||
|
|
889
|
-
asString(readiness.urlTemplate, "");
|
|
890
|
-
const url = urlTemplate ? renderTemplate(urlTemplate, templateData) : null;
|
|
891
|
-
try {
|
|
892
|
-
await waitForReadiness({ service: input.service, url });
|
|
893
|
-
}
|
|
894
|
-
catch (err) {
|
|
895
|
-
terminateChildProcess(child);
|
|
896
|
-
throw new Error(`Failed to start runtime service "${serviceName}": ${err instanceof Error ? err.message : String(err)}${stderrExcerpt ? ` | stderr: ${stderrExcerpt.trim()}` : ""}`);
|
|
897
|
-
}
|
|
898
|
-
const envFingerprint = createHash("sha256").update(stableStringify(envConfig)).digest("hex");
|
|
899
|
-
return {
|
|
900
|
-
id: randomUUID(),
|
|
901
|
-
companyId: input.agent.companyId,
|
|
902
|
-
projectId: input.workspace.projectId,
|
|
903
|
-
projectWorkspaceId: input.workspace.workspaceId,
|
|
904
|
-
executionWorkspaceId: input.executionWorkspaceId ?? null,
|
|
905
|
-
issueId: input.issue?.id ?? null,
|
|
906
|
-
serviceName,
|
|
907
|
-
status: "running",
|
|
908
|
-
lifecycle,
|
|
909
|
-
scopeType: input.scopeType,
|
|
910
|
-
scopeId: input.scopeId,
|
|
911
|
-
reuseKey: input.reuseKey,
|
|
912
|
-
command,
|
|
913
|
-
cwd: serviceCwd,
|
|
914
|
-
port,
|
|
915
|
-
url,
|
|
916
|
-
provider: "local_process",
|
|
917
|
-
providerRef: child.pid ? String(child.pid) : null,
|
|
918
|
-
ownerAgentId: input.agent.id,
|
|
919
|
-
startedByRunId: input.runId,
|
|
920
|
-
lastUsedAt: new Date().toISOString(),
|
|
921
|
-
startedAt: new Date().toISOString(),
|
|
922
|
-
stoppedAt: null,
|
|
923
|
-
stopPolicy: parseObject(input.service.stopPolicy),
|
|
924
|
-
healthStatus: "healthy",
|
|
925
|
-
reused: false,
|
|
926
|
-
db: input.db,
|
|
927
|
-
child,
|
|
928
|
-
leaseRunIds: new Set([input.runId]),
|
|
929
|
-
idleTimer: null,
|
|
930
|
-
envFingerprint,
|
|
931
|
-
};
|
|
932
|
-
}
|
|
933
|
-
function scheduleIdleStop(record) {
|
|
934
|
-
clearIdleTimer(record);
|
|
935
|
-
const stopType = asString(record.stopPolicy?.type, "manual");
|
|
936
|
-
if (stopType !== "idle_timeout")
|
|
937
|
-
return;
|
|
938
|
-
const idleSeconds = Math.max(1, asNumber(record.stopPolicy?.idleSeconds, 1800));
|
|
939
|
-
record.idleTimer = setTimeout(() => {
|
|
940
|
-
stopRuntimeService(record.id).catch(() => undefined);
|
|
941
|
-
}, idleSeconds * 1000);
|
|
942
|
-
}
|
|
943
|
-
async function stopRuntimeService(serviceId) {
|
|
944
|
-
const record = runtimeServicesById.get(serviceId);
|
|
945
|
-
if (!record)
|
|
946
|
-
return;
|
|
947
|
-
clearIdleTimer(record);
|
|
948
|
-
record.status = "stopped";
|
|
949
|
-
record.lastUsedAt = new Date().toISOString();
|
|
950
|
-
record.stoppedAt = new Date().toISOString();
|
|
951
|
-
if (record.child && record.child.pid) {
|
|
952
|
-
terminateChildProcess(record.child);
|
|
953
|
-
}
|
|
954
|
-
runtimeServicesById.delete(serviceId);
|
|
955
|
-
if (record.reuseKey) {
|
|
956
|
-
runtimeServicesByReuseKey.delete(record.reuseKey);
|
|
957
|
-
}
|
|
958
|
-
await persistRuntimeServiceRecord(record.db, record);
|
|
959
|
-
}
|
|
960
|
-
async function markPersistedRuntimeServicesStoppedForExecutionWorkspace(input) {
|
|
961
|
-
const now = new Date();
|
|
962
|
-
await input.db
|
|
963
|
-
.update(workspaceRuntimeServices)
|
|
964
|
-
.set({
|
|
965
|
-
status: "stopped",
|
|
966
|
-
healthStatus: "unknown",
|
|
967
|
-
stoppedAt: now,
|
|
968
|
-
lastUsedAt: now,
|
|
969
|
-
updatedAt: now,
|
|
970
|
-
})
|
|
971
|
-
.where(and(eq(workspaceRuntimeServices.executionWorkspaceId, input.executionWorkspaceId), inArray(workspaceRuntimeServices.status, ["starting", "running"])));
|
|
972
|
-
}
|
|
973
|
-
function registerRuntimeService(db, record) {
|
|
974
|
-
record.db = db;
|
|
975
|
-
runtimeServicesById.set(record.id, record);
|
|
976
|
-
if (record.reuseKey) {
|
|
977
|
-
runtimeServicesByReuseKey.set(record.reuseKey, record.id);
|
|
978
|
-
}
|
|
979
|
-
record.child?.on("exit", (code, signal) => {
|
|
980
|
-
const current = runtimeServicesById.get(record.id);
|
|
981
|
-
if (!current)
|
|
982
|
-
return;
|
|
983
|
-
clearIdleTimer(current);
|
|
984
|
-
current.status = code === 0 || signal === "SIGTERM" ? "stopped" : "failed";
|
|
985
|
-
current.healthStatus = current.status === "failed" ? "unhealthy" : "unknown";
|
|
986
|
-
current.lastUsedAt = new Date().toISOString();
|
|
987
|
-
current.stoppedAt = new Date().toISOString();
|
|
988
|
-
runtimeServicesById.delete(current.id);
|
|
989
|
-
if (current.reuseKey && runtimeServicesByReuseKey.get(current.reuseKey) === current.id) {
|
|
990
|
-
runtimeServicesByReuseKey.delete(current.reuseKey);
|
|
991
|
-
}
|
|
992
|
-
void persistRuntimeServiceRecord(db, current);
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
|
-
export async function ensureRuntimeServicesForRun(input) {
|
|
996
|
-
const runtime = parseObject(input.config.workspaceRuntime);
|
|
997
|
-
const rawServices = Array.isArray(runtime.services)
|
|
998
|
-
? runtime.services.filter((entry) => typeof entry === "object" && entry !== null)
|
|
999
|
-
: [];
|
|
1000
|
-
const acquiredServiceIds = [];
|
|
1001
|
-
const refs = [];
|
|
1002
|
-
runtimeServiceLeasesByRun.set(input.runId, acquiredServiceIds);
|
|
1003
|
-
try {
|
|
1004
|
-
for (const service of rawServices) {
|
|
1005
|
-
const lifecycle = asString(service.lifecycle, "shared") === "ephemeral" ? "ephemeral" : "shared";
|
|
1006
|
-
const { scopeType, scopeId } = resolveServiceScopeId({
|
|
1007
|
-
service,
|
|
1008
|
-
workspace: input.workspace,
|
|
1009
|
-
executionWorkspaceId: input.executionWorkspaceId,
|
|
1010
|
-
issue: input.issue,
|
|
1011
|
-
runId: input.runId,
|
|
1012
|
-
agent: input.agent,
|
|
1013
|
-
});
|
|
1014
|
-
const envConfig = parseObject(service.env);
|
|
1015
|
-
const envFingerprint = createHash("sha256").update(stableStringify(envConfig)).digest("hex");
|
|
1016
|
-
const serviceName = asString(service.name, "service");
|
|
1017
|
-
const reuseKey = lifecycle === "shared"
|
|
1018
|
-
? [scopeType, scopeId ?? "", serviceName, envFingerprint].join(":")
|
|
1019
|
-
: null;
|
|
1020
|
-
if (reuseKey) {
|
|
1021
|
-
const existingId = runtimeServicesByReuseKey.get(reuseKey);
|
|
1022
|
-
const existing = existingId ? runtimeServicesById.get(existingId) : null;
|
|
1023
|
-
if (existing && existing.status === "running") {
|
|
1024
|
-
existing.leaseRunIds.add(input.runId);
|
|
1025
|
-
existing.lastUsedAt = new Date().toISOString();
|
|
1026
|
-
existing.stoppedAt = null;
|
|
1027
|
-
clearIdleTimer(existing);
|
|
1028
|
-
await persistRuntimeServiceRecord(input.db, existing);
|
|
1029
|
-
acquiredServiceIds.push(existing.id);
|
|
1030
|
-
refs.push(toRuntimeServiceRef(existing, { reused: true }));
|
|
1031
|
-
continue;
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
const record = await startLocalRuntimeService({
|
|
1035
|
-
db: input.db,
|
|
1036
|
-
runId: input.runId,
|
|
1037
|
-
agent: input.agent,
|
|
1038
|
-
issue: input.issue,
|
|
1039
|
-
workspace: input.workspace,
|
|
1040
|
-
executionWorkspaceId: input.executionWorkspaceId,
|
|
1041
|
-
adapterEnv: input.adapterEnv,
|
|
1042
|
-
service,
|
|
1043
|
-
onLog: input.onLog,
|
|
1044
|
-
reuseKey,
|
|
1045
|
-
scopeType,
|
|
1046
|
-
scopeId,
|
|
1047
|
-
});
|
|
1048
|
-
registerRuntimeService(input.db, record);
|
|
1049
|
-
await persistRuntimeServiceRecord(input.db, record);
|
|
1050
|
-
acquiredServiceIds.push(record.id);
|
|
1051
|
-
refs.push(toRuntimeServiceRef(record));
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
catch (err) {
|
|
1055
|
-
await releaseRuntimeServicesForRun(input.runId);
|
|
1056
|
-
throw err;
|
|
1057
|
-
}
|
|
1058
|
-
return refs;
|
|
1059
|
-
}
|
|
1060
|
-
export async function releaseRuntimeServicesForRun(runId) {
|
|
1061
|
-
const acquired = runtimeServiceLeasesByRun.get(runId) ?? [];
|
|
1062
|
-
runtimeServiceLeasesByRun.delete(runId);
|
|
1063
|
-
for (const serviceId of acquired) {
|
|
1064
|
-
const record = runtimeServicesById.get(serviceId);
|
|
1065
|
-
if (!record)
|
|
1066
|
-
continue;
|
|
1067
|
-
record.leaseRunIds.delete(runId);
|
|
1068
|
-
record.lastUsedAt = new Date().toISOString();
|
|
1069
|
-
const stopType = asString(record.stopPolicy?.type, record.lifecycle === "ephemeral" ? "on_run_finish" : "manual");
|
|
1070
|
-
await persistRuntimeServiceRecord(record.db, record);
|
|
1071
|
-
if (record.leaseRunIds.size === 0) {
|
|
1072
|
-
if (record.lifecycle === "ephemeral" || stopType === "on_run_finish") {
|
|
1073
|
-
await stopRuntimeService(serviceId);
|
|
1074
|
-
continue;
|
|
1075
|
-
}
|
|
1076
|
-
scheduleIdleStop(record);
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
export async function stopRuntimeServicesForExecutionWorkspace(input) {
|
|
1081
|
-
const normalizedWorkspaceCwd = input.workspaceCwd ? path.resolve(input.workspaceCwd) : null;
|
|
1082
|
-
const matchingServiceIds = Array.from(runtimeServicesById.values())
|
|
1083
|
-
.filter((record) => {
|
|
1084
|
-
if (record.executionWorkspaceId === input.executionWorkspaceId)
|
|
1085
|
-
return true;
|
|
1086
|
-
if (!normalizedWorkspaceCwd || !record.cwd)
|
|
1087
|
-
return false;
|
|
1088
|
-
const resolvedCwd = path.resolve(record.cwd);
|
|
1089
|
-
return (resolvedCwd === normalizedWorkspaceCwd ||
|
|
1090
|
-
resolvedCwd.startsWith(`${normalizedWorkspaceCwd}${path.sep}`));
|
|
1091
|
-
})
|
|
1092
|
-
.map((record) => record.id);
|
|
1093
|
-
for (const serviceId of matchingServiceIds) {
|
|
1094
|
-
await stopRuntimeService(serviceId);
|
|
1095
|
-
}
|
|
1096
|
-
if (input.db) {
|
|
1097
|
-
await markPersistedRuntimeServicesStoppedForExecutionWorkspace({
|
|
1098
|
-
db: input.db,
|
|
1099
|
-
executionWorkspaceId: input.executionWorkspaceId,
|
|
1100
|
-
});
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
export async function listWorkspaceRuntimeServicesForProjectWorkspaces(db, companyId, projectWorkspaceIds) {
|
|
1104
|
-
if (projectWorkspaceIds.length === 0)
|
|
1105
|
-
return new Map();
|
|
1106
|
-
const rows = await db
|
|
1107
|
-
.select()
|
|
1108
|
-
.from(workspaceRuntimeServices)
|
|
1109
|
-
.where(and(eq(workspaceRuntimeServices.companyId, companyId), inArray(workspaceRuntimeServices.projectWorkspaceId, projectWorkspaceIds)))
|
|
1110
|
-
.orderBy(desc(workspaceRuntimeServices.updatedAt), desc(workspaceRuntimeServices.createdAt));
|
|
1111
|
-
const grouped = new Map();
|
|
1112
|
-
for (const row of rows) {
|
|
1113
|
-
if (!row.projectWorkspaceId)
|
|
1114
|
-
continue;
|
|
1115
|
-
const existing = grouped.get(row.projectWorkspaceId);
|
|
1116
|
-
if (existing)
|
|
1117
|
-
existing.push(row);
|
|
1118
|
-
else
|
|
1119
|
-
grouped.set(row.projectWorkspaceId, [row]);
|
|
1120
|
-
}
|
|
1121
|
-
return grouped;
|
|
1122
|
-
}
|
|
1123
|
-
export async function reconcilePersistedRuntimeServicesOnStartup(db) {
|
|
1124
|
-
const staleRows = await db
|
|
1125
|
-
.select({ id: workspaceRuntimeServices.id })
|
|
1126
|
-
.from(workspaceRuntimeServices)
|
|
1127
|
-
.where(and(eq(workspaceRuntimeServices.provider, "local_process"), inArray(workspaceRuntimeServices.status, ["starting", "running"])));
|
|
1128
|
-
if (staleRows.length === 0)
|
|
1129
|
-
return { reconciled: 0 };
|
|
1130
|
-
const now = new Date();
|
|
1131
|
-
await db
|
|
1132
|
-
.update(workspaceRuntimeServices)
|
|
1133
|
-
.set({
|
|
1134
|
-
status: "stopped",
|
|
1135
|
-
healthStatus: "unknown",
|
|
1136
|
-
stoppedAt: now,
|
|
1137
|
-
lastUsedAt: now,
|
|
1138
|
-
updatedAt: now,
|
|
1139
|
-
})
|
|
1140
|
-
.where(and(eq(workspaceRuntimeServices.provider, "local_process"), inArray(workspaceRuntimeServices.status, ["starting", "running"])));
|
|
1141
|
-
return { reconciled: staleRows.length };
|
|
1142
|
-
}
|
|
1143
|
-
export async function persistAdapterManagedRuntimeServices(input) {
|
|
1144
|
-
const refs = normalizeAdapterManagedRuntimeServices(input);
|
|
1145
|
-
if (refs.length === 0)
|
|
1146
|
-
return refs;
|
|
1147
|
-
const existingRows = await input.db
|
|
1148
|
-
.select()
|
|
1149
|
-
.from(workspaceRuntimeServices)
|
|
1150
|
-
.where(inArray(workspaceRuntimeServices.id, refs.map((ref) => ref.id)));
|
|
1151
|
-
const existingById = new Map(existingRows.map((row) => [row.id, row]));
|
|
1152
|
-
for (const ref of refs) {
|
|
1153
|
-
const existing = existingById.get(ref.id);
|
|
1154
|
-
const startedAt = existing?.startedAt ?? new Date(ref.startedAt);
|
|
1155
|
-
const createdAt = existing?.createdAt ?? new Date();
|
|
1156
|
-
await input.db
|
|
1157
|
-
.insert(workspaceRuntimeServices)
|
|
1158
|
-
.values({
|
|
1159
|
-
id: ref.id,
|
|
1160
|
-
companyId: ref.companyId,
|
|
1161
|
-
projectId: ref.projectId,
|
|
1162
|
-
projectWorkspaceId: ref.projectWorkspaceId,
|
|
1163
|
-
executionWorkspaceId: ref.executionWorkspaceId,
|
|
1164
|
-
issueId: ref.issueId,
|
|
1165
|
-
scopeType: ref.scopeType,
|
|
1166
|
-
scopeId: ref.scopeId,
|
|
1167
|
-
serviceName: ref.serviceName,
|
|
1168
|
-
status: ref.status,
|
|
1169
|
-
lifecycle: ref.lifecycle,
|
|
1170
|
-
reuseKey: ref.reuseKey,
|
|
1171
|
-
command: ref.command,
|
|
1172
|
-
cwd: ref.cwd,
|
|
1173
|
-
port: ref.port,
|
|
1174
|
-
url: ref.url,
|
|
1175
|
-
provider: ref.provider,
|
|
1176
|
-
providerRef: ref.providerRef,
|
|
1177
|
-
ownerAgentId: ref.ownerAgentId,
|
|
1178
|
-
startedByRunId: ref.startedByRunId,
|
|
1179
|
-
lastUsedAt: new Date(ref.lastUsedAt),
|
|
1180
|
-
startedAt,
|
|
1181
|
-
stoppedAt: ref.stoppedAt ? new Date(ref.stoppedAt) : null,
|
|
1182
|
-
stopPolicy: ref.stopPolicy,
|
|
1183
|
-
healthStatus: ref.healthStatus,
|
|
1184
|
-
createdAt,
|
|
1185
|
-
updatedAt: new Date(),
|
|
1186
|
-
})
|
|
1187
|
-
.onConflictDoUpdate({
|
|
1188
|
-
target: workspaceRuntimeServices.id,
|
|
1189
|
-
set: {
|
|
1190
|
-
projectId: ref.projectId,
|
|
1191
|
-
projectWorkspaceId: ref.projectWorkspaceId,
|
|
1192
|
-
executionWorkspaceId: ref.executionWorkspaceId,
|
|
1193
|
-
issueId: ref.issueId,
|
|
1194
|
-
scopeType: ref.scopeType,
|
|
1195
|
-
scopeId: ref.scopeId,
|
|
1196
|
-
serviceName: ref.serviceName,
|
|
1197
|
-
status: ref.status,
|
|
1198
|
-
lifecycle: ref.lifecycle,
|
|
1199
|
-
reuseKey: ref.reuseKey,
|
|
1200
|
-
command: ref.command,
|
|
1201
|
-
cwd: ref.cwd,
|
|
1202
|
-
port: ref.port,
|
|
1203
|
-
url: ref.url,
|
|
1204
|
-
provider: ref.provider,
|
|
1205
|
-
providerRef: ref.providerRef,
|
|
1206
|
-
ownerAgentId: ref.ownerAgentId,
|
|
1207
|
-
startedByRunId: ref.startedByRunId,
|
|
1208
|
-
lastUsedAt: new Date(ref.lastUsedAt),
|
|
1209
|
-
startedAt,
|
|
1210
|
-
stoppedAt: ref.stoppedAt ? new Date(ref.stoppedAt) : null,
|
|
1211
|
-
stopPolicy: ref.stopPolicy,
|
|
1212
|
-
healthStatus: ref.healthStatus,
|
|
1213
|
-
updatedAt: new Date(),
|
|
1214
|
-
},
|
|
1215
|
-
});
|
|
1216
|
-
}
|
|
1217
|
-
return refs;
|
|
1218
|
-
}
|
|
1219
|
-
export function buildWorkspaceReadyComment(input) {
|
|
1220
|
-
const lines = ["## Workspace Ready", ""];
|
|
1221
|
-
lines.push(`- Strategy: \`${input.workspace.strategy}\``);
|
|
1222
|
-
if (input.workspace.branchName)
|
|
1223
|
-
lines.push(`- Branch: \`${input.workspace.branchName}\``);
|
|
1224
|
-
lines.push(`- CWD: \`${input.workspace.cwd}\``);
|
|
1225
|
-
if (input.workspace.worktreePath && input.workspace.worktreePath !== input.workspace.cwd) {
|
|
1226
|
-
lines.push(`- Worktree: \`${input.workspace.worktreePath}\``);
|
|
1227
|
-
}
|
|
1228
|
-
for (const service of input.runtimeServices) {
|
|
1229
|
-
const detail = service.url ? `${service.serviceName}: ${service.url}` : `${service.serviceName}: running`;
|
|
1230
|
-
const suffix = service.reused ? " (reused)" : "";
|
|
1231
|
-
lines.push(`- Service: ${detail}${suffix}`);
|
|
1232
|
-
}
|
|
1233
|
-
return lines.join("\n");
|
|
1234
|
-
}
|
|
1235
|
-
//# sourceMappingURL=workspace-runtime.js.map
|