@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,1192 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PluginLoader — discovery, installation, and runtime activation of plugins.
|
|
3
|
-
*
|
|
4
|
-
* This service is the entry point for the plugin system's I/O boundary:
|
|
5
|
-
*
|
|
6
|
-
* 1. **Discovery** — Scans the local plugin directory
|
|
7
|
-
* (`~/.paperclip/plugins/`) and `node_modules` for packages matching
|
|
8
|
-
* the `paperclip-plugin-*` naming convention. Aggregates results with
|
|
9
|
-
* path-based deduplication.
|
|
10
|
-
*
|
|
11
|
-
* 2. **Installation** — `installPlugin()` downloads from npm (or reads a
|
|
12
|
-
* local path), validates the manifest, checks capability consistency,
|
|
13
|
-
* and persists the install record.
|
|
14
|
-
*
|
|
15
|
-
* 3. **Runtime activation** — `activatePlugin()` wires up a loaded plugin
|
|
16
|
-
* with all runtime services: resolves its entrypoint, builds
|
|
17
|
-
* capability-gated host handlers, spawns a worker process, syncs job
|
|
18
|
-
* declarations, registers event subscriptions, and discovers tools.
|
|
19
|
-
*
|
|
20
|
-
* 4. **Shutdown** — `shutdownAll()` gracefully stops all active workers
|
|
21
|
-
* and unregisters runtime hooks.
|
|
22
|
-
*
|
|
23
|
-
* @see PLUGIN_SPEC.md §8 — Plugin Discovery
|
|
24
|
-
* @see PLUGIN_SPEC.md §10 — Package Contract
|
|
25
|
-
* @see PLUGIN_SPEC.md §12 — Process Model
|
|
26
|
-
*/
|
|
27
|
-
import { existsSync } from "node:fs";
|
|
28
|
-
import { readdir, readFile, rm, stat } from "node:fs/promises";
|
|
29
|
-
import { execFile } from "node:child_process";
|
|
30
|
-
import os from "node:os";
|
|
31
|
-
import path from "node:path";
|
|
32
|
-
import { fileURLToPath } from "node:url";
|
|
33
|
-
import { promisify } from "node:util";
|
|
34
|
-
import { logger } from "../middleware/logger.js";
|
|
35
|
-
import { pluginManifestValidator } from "./plugin-manifest-validator.js";
|
|
36
|
-
import { pluginCapabilityValidator } from "./plugin-capability-validator.js";
|
|
37
|
-
import { pluginRegistryService } from "./plugin-registry.js";
|
|
38
|
-
const execFileAsync = promisify(execFile);
|
|
39
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
40
|
-
// ---------------------------------------------------------------------------
|
|
41
|
-
// Constants
|
|
42
|
-
// ---------------------------------------------------------------------------
|
|
43
|
-
/**
|
|
44
|
-
* Naming convention for npm-published Paperclip plugins.
|
|
45
|
-
* Packages matching this pattern are considered Paperclip plugins.
|
|
46
|
-
*
|
|
47
|
-
* @see PLUGIN_SPEC.md §10 — Package Contract
|
|
48
|
-
*/
|
|
49
|
-
export const NPM_PLUGIN_PACKAGE_PREFIX = "paperclip-plugin-";
|
|
50
|
-
/**
|
|
51
|
-
* Default local plugin directory. The loader scans this directory for
|
|
52
|
-
* locally-installed plugin packages.
|
|
53
|
-
*
|
|
54
|
-
* @see PLUGIN_SPEC.md §8.1 — On-Disk Layout
|
|
55
|
-
*/
|
|
56
|
-
export const DEFAULT_LOCAL_PLUGIN_DIR = path.join(os.homedir(), ".paperclip", "plugins");
|
|
57
|
-
const DEV_TSX_LOADER_PATH = path.resolve(__dirname, "../../../cli/node_modules/tsx/dist/loader.mjs");
|
|
58
|
-
function getDeclaredPageRoutePaths(manifest) {
|
|
59
|
-
return (manifest.ui?.slots ?? [])
|
|
60
|
-
.filter((slot) => slot.type === "page" && typeof slot.routePath === "string" && slot.routePath.length > 0)
|
|
61
|
-
.map((slot) => slot.routePath);
|
|
62
|
-
}
|
|
63
|
-
// ---------------------------------------------------------------------------
|
|
64
|
-
// Helpers
|
|
65
|
-
// ---------------------------------------------------------------------------
|
|
66
|
-
/**
|
|
67
|
-
* Check whether a package name matches the Paperclip plugin naming convention.
|
|
68
|
-
* Accepts both the "paperclip-plugin-" prefix and scoped "@scope/plugin-" packages.
|
|
69
|
-
*
|
|
70
|
-
* @see PLUGIN_SPEC.md §10 — Package Contract
|
|
71
|
-
*/
|
|
72
|
-
export function isPluginPackageName(name) {
|
|
73
|
-
if (name.startsWith(NPM_PLUGIN_PACKAGE_PREFIX))
|
|
74
|
-
return true;
|
|
75
|
-
// Also accept scoped packages like @acme/plugin-linear or @paperclipai/plugin-*
|
|
76
|
-
if (name.includes("/")) {
|
|
77
|
-
const localPart = name.split("/")[1] ?? "";
|
|
78
|
-
return localPart.startsWith("plugin-");
|
|
79
|
-
}
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Read and parse a package.json from a directory path.
|
|
84
|
-
* Returns null if no package.json exists.
|
|
85
|
-
*/
|
|
86
|
-
async function readPackageJson(dir) {
|
|
87
|
-
const pkgPath = path.join(dir, "package.json");
|
|
88
|
-
if (!existsSync(pkgPath))
|
|
89
|
-
return null;
|
|
90
|
-
try {
|
|
91
|
-
const raw = await readFile(pkgPath, "utf-8");
|
|
92
|
-
return JSON.parse(raw);
|
|
93
|
-
}
|
|
94
|
-
catch {
|
|
95
|
-
return null;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Resolve the manifest entrypoint from a package.json and package root.
|
|
100
|
-
*
|
|
101
|
-
* The spec defines a "paperclipPlugin" key in package.json with a "manifest"
|
|
102
|
-
* subkey pointing to the manifest module. This helper resolves the path.
|
|
103
|
-
*
|
|
104
|
-
* @see PLUGIN_SPEC.md §10 — Package Contract
|
|
105
|
-
*/
|
|
106
|
-
function resolveManifestPath(packageRoot, pkgJson) {
|
|
107
|
-
const paperclipPlugin = pkgJson["paperclipPlugin"];
|
|
108
|
-
if (paperclipPlugin !== null &&
|
|
109
|
-
typeof paperclipPlugin === "object" &&
|
|
110
|
-
!Array.isArray(paperclipPlugin)) {
|
|
111
|
-
const manifestRelPath = paperclipPlugin["manifest"];
|
|
112
|
-
if (typeof manifestRelPath === "string") {
|
|
113
|
-
// NOTE: the resolved path is returned as-is even if the file does not yet
|
|
114
|
-
// exist on disk (e.g. the package has not been built). Callers MUST guard
|
|
115
|
-
// with existsSync() before passing the path to loadManifestFromPath().
|
|
116
|
-
return path.resolve(packageRoot, manifestRelPath);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
// Fallback: look for dist/manifest.js as a convention
|
|
120
|
-
const conventionalPath = path.join(packageRoot, "dist", "manifest.js");
|
|
121
|
-
if (existsSync(conventionalPath)) {
|
|
122
|
-
return conventionalPath;
|
|
123
|
-
}
|
|
124
|
-
// Fallback: look for manifest.js at package root
|
|
125
|
-
const rootManifestPath = path.join(packageRoot, "manifest.js");
|
|
126
|
-
if (existsSync(rootManifestPath)) {
|
|
127
|
-
return rootManifestPath;
|
|
128
|
-
}
|
|
129
|
-
return null;
|
|
130
|
-
}
|
|
131
|
-
function parseSemver(version) {
|
|
132
|
-
const match = version.match(/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/);
|
|
133
|
-
if (!match)
|
|
134
|
-
return null;
|
|
135
|
-
return {
|
|
136
|
-
major: Number(match[1]),
|
|
137
|
-
minor: Number(match[2]),
|
|
138
|
-
patch: Number(match[3]),
|
|
139
|
-
prerelease: match[4] ? match[4].split(".") : [],
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
function compareIdentifiers(left, right) {
|
|
143
|
-
const leftIsNumeric = /^\d+$/.test(left);
|
|
144
|
-
const rightIsNumeric = /^\d+$/.test(right);
|
|
145
|
-
if (leftIsNumeric && rightIsNumeric) {
|
|
146
|
-
return Number(left) - Number(right);
|
|
147
|
-
}
|
|
148
|
-
if (leftIsNumeric)
|
|
149
|
-
return -1;
|
|
150
|
-
if (rightIsNumeric)
|
|
151
|
-
return 1;
|
|
152
|
-
return left.localeCompare(right);
|
|
153
|
-
}
|
|
154
|
-
function compareSemver(left, right) {
|
|
155
|
-
const leftParsed = parseSemver(left);
|
|
156
|
-
const rightParsed = parseSemver(right);
|
|
157
|
-
if (!leftParsed || !rightParsed) {
|
|
158
|
-
throw new Error(`Invalid semver comparison: '${left}' vs '${right}'`);
|
|
159
|
-
}
|
|
160
|
-
const coreOrder = ["major", "minor", "patch"].map((key) => leftParsed[key] - rightParsed[key]).find((delta) => delta !== 0);
|
|
161
|
-
if (coreOrder) {
|
|
162
|
-
return coreOrder;
|
|
163
|
-
}
|
|
164
|
-
if (leftParsed.prerelease.length === 0 && rightParsed.prerelease.length === 0) {
|
|
165
|
-
return 0;
|
|
166
|
-
}
|
|
167
|
-
if (leftParsed.prerelease.length === 0)
|
|
168
|
-
return 1;
|
|
169
|
-
if (rightParsed.prerelease.length === 0)
|
|
170
|
-
return -1;
|
|
171
|
-
const maxLength = Math.max(leftParsed.prerelease.length, rightParsed.prerelease.length);
|
|
172
|
-
for (let index = 0; index < maxLength; index += 1) {
|
|
173
|
-
const leftId = leftParsed.prerelease[index];
|
|
174
|
-
const rightId = rightParsed.prerelease[index];
|
|
175
|
-
if (leftId === undefined)
|
|
176
|
-
return -1;
|
|
177
|
-
if (rightId === undefined)
|
|
178
|
-
return 1;
|
|
179
|
-
const diff = compareIdentifiers(leftId, rightId);
|
|
180
|
-
if (diff !== 0)
|
|
181
|
-
return diff;
|
|
182
|
-
}
|
|
183
|
-
return 0;
|
|
184
|
-
}
|
|
185
|
-
function getMinimumHostVersion(manifest) {
|
|
186
|
-
return manifest.minimumHostVersion ?? manifest.minimumPaperclipVersion;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Extract UI contribution metadata from a manifest for route serialization.
|
|
190
|
-
*
|
|
191
|
-
* Returns `null` when the plugin does not declare any UI slots or launchers.
|
|
192
|
-
* Launcher declarations are aggregated from both the legacy top-level
|
|
193
|
-
* `launchers` field and the preferred `ui.launchers` field.
|
|
194
|
-
*/
|
|
195
|
-
export function getPluginUiContributionMetadata(manifest) {
|
|
196
|
-
const slots = manifest.ui?.slots ?? [];
|
|
197
|
-
const launchers = [
|
|
198
|
-
...(manifest.launchers ?? []),
|
|
199
|
-
...(manifest.ui?.launchers ?? []),
|
|
200
|
-
];
|
|
201
|
-
if (slots.length === 0 && launchers.length === 0) {
|
|
202
|
-
return null;
|
|
203
|
-
}
|
|
204
|
-
return {
|
|
205
|
-
uiEntryFile: "index.js",
|
|
206
|
-
slots,
|
|
207
|
-
launchers,
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
// ---------------------------------------------------------------------------
|
|
211
|
-
// Factory
|
|
212
|
-
// ---------------------------------------------------------------------------
|
|
213
|
-
/**
|
|
214
|
-
* Create a PluginLoader service.
|
|
215
|
-
*
|
|
216
|
-
* The loader is responsible for plugin discovery, installation, and runtime
|
|
217
|
-
* activation. It reads plugin packages from the local filesystem and npm,
|
|
218
|
-
* validates their manifests, registers them in the database, and — when
|
|
219
|
-
* runtime services are provided — initialises worker processes, event
|
|
220
|
-
* subscriptions, job schedules, webhook endpoints, and agent tools.
|
|
221
|
-
*
|
|
222
|
-
* Usage (discovery & install only):
|
|
223
|
-
* ```ts
|
|
224
|
-
* const loader = pluginLoader(db, { enableLocalFilesystem: true });
|
|
225
|
-
*
|
|
226
|
-
* // Discover all available plugins
|
|
227
|
-
* const result = await loader.discoverAll();
|
|
228
|
-
* for (const plugin of result.discovered) {
|
|
229
|
-
* console.log(plugin.packageName, plugin.manifest?.id);
|
|
230
|
-
* }
|
|
231
|
-
*
|
|
232
|
-
* // Install a specific plugin
|
|
233
|
-
* const discovered = await loader.installPlugin({
|
|
234
|
-
* packageName: "paperclip-plugin-linear",
|
|
235
|
-
* version: "^1.0.0",
|
|
236
|
-
* });
|
|
237
|
-
* ```
|
|
238
|
-
*
|
|
239
|
-
* Usage (full runtime activation at server startup):
|
|
240
|
-
* ```ts
|
|
241
|
-
* const loader = pluginLoader(db, loaderOpts, {
|
|
242
|
-
* workerManager,
|
|
243
|
-
* eventBus,
|
|
244
|
-
* jobScheduler,
|
|
245
|
-
* jobStore,
|
|
246
|
-
* toolDispatcher,
|
|
247
|
-
* lifecycleManager,
|
|
248
|
-
* buildHostHandlers: (pluginId, manifest) => ({ ... }),
|
|
249
|
-
* instanceInfo: { instanceId: "inst-1", hostVersion: "1.0.0" },
|
|
250
|
-
* });
|
|
251
|
-
*
|
|
252
|
-
* // Load all ready plugins at startup
|
|
253
|
-
* const loadResult = await loader.loadAll();
|
|
254
|
-
* console.log(`Loaded ${loadResult.succeeded}/${loadResult.total} plugins`);
|
|
255
|
-
*
|
|
256
|
-
* // Load a single plugin after install
|
|
257
|
-
* const singleResult = await loader.loadSingle(pluginId);
|
|
258
|
-
*
|
|
259
|
-
* // Shutdown all plugin workers on server exit
|
|
260
|
-
* await loader.shutdownAll();
|
|
261
|
-
* ```
|
|
262
|
-
*
|
|
263
|
-
* @see PLUGIN_SPEC.md §8.1 — On-Disk Layout
|
|
264
|
-
* @see PLUGIN_SPEC.md §8.3 — Install Process
|
|
265
|
-
* @see PLUGIN_SPEC.md §12 — Process Model
|
|
266
|
-
*/
|
|
267
|
-
export function pluginLoader(db, options = {}, runtimeServices) {
|
|
268
|
-
const { localPluginDir = DEFAULT_LOCAL_PLUGIN_DIR, enableLocalFilesystem = true, enableNpmDiscovery = true, } = options;
|
|
269
|
-
const registry = pluginRegistryService(db);
|
|
270
|
-
const manifestValidator = pluginManifestValidator();
|
|
271
|
-
const capabilityValidator = pluginCapabilityValidator();
|
|
272
|
-
const log = logger.child({ service: "plugin-loader" });
|
|
273
|
-
const hostVersion = runtimeServices?.instanceInfo.hostVersion;
|
|
274
|
-
async function assertPageRoutePathsAvailable(manifest) {
|
|
275
|
-
const requestedRoutePaths = getDeclaredPageRoutePaths(manifest);
|
|
276
|
-
if (requestedRoutePaths.length === 0)
|
|
277
|
-
return;
|
|
278
|
-
const uniqueRequested = new Set(requestedRoutePaths);
|
|
279
|
-
if (uniqueRequested.size !== requestedRoutePaths.length) {
|
|
280
|
-
throw new Error(`Plugin ${manifest.id} declares duplicate page routePath values`);
|
|
281
|
-
}
|
|
282
|
-
const installedPlugins = await registry.listInstalled();
|
|
283
|
-
for (const plugin of installedPlugins) {
|
|
284
|
-
if (plugin.pluginKey === manifest.id)
|
|
285
|
-
continue;
|
|
286
|
-
const installedManifest = plugin.manifestJson;
|
|
287
|
-
if (!installedManifest)
|
|
288
|
-
continue;
|
|
289
|
-
const installedRoutePaths = new Set(getDeclaredPageRoutePaths(installedManifest));
|
|
290
|
-
const conflictingRoute = requestedRoutePaths.find((routePath) => installedRoutePaths.has(routePath));
|
|
291
|
-
if (conflictingRoute) {
|
|
292
|
-
throw new Error(`Plugin ${manifest.id} routePath "${conflictingRoute}" conflicts with installed plugin ${plugin.pluginKey}`);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
// -------------------------------------------------------------------------
|
|
297
|
-
// Internal helpers
|
|
298
|
-
// -------------------------------------------------------------------------
|
|
299
|
-
/**
|
|
300
|
-
* Fetch a plugin from npm or local path, then parse and validate its manifest.
|
|
301
|
-
*
|
|
302
|
-
* This internal helper encapsulates the core plugin retrieval and validation
|
|
303
|
-
* logic used by both install and upgrade operations. It handles:
|
|
304
|
-
* 1. Resolving the package from npm or local filesystem.
|
|
305
|
-
* 2. Installing the package via npm if necessary.
|
|
306
|
-
* 3. Reading and parsing the plugin manifest.
|
|
307
|
-
* 4. Validating API version compatibility.
|
|
308
|
-
* 5. Validating manifest capabilities.
|
|
309
|
-
*
|
|
310
|
-
* @param installOptions - Options specifying the package to fetch.
|
|
311
|
-
* @returns A `DiscoveredPlugin` object containing the validated manifest.
|
|
312
|
-
*/
|
|
313
|
-
async function fetchAndValidate(installOptions) {
|
|
314
|
-
const { packageName, localPath, version, installDir } = installOptions;
|
|
315
|
-
if (!packageName && !localPath) {
|
|
316
|
-
throw new Error("Either packageName or localPath must be provided");
|
|
317
|
-
}
|
|
318
|
-
const targetInstallDir = installDir ?? localPluginDir;
|
|
319
|
-
// Step 1 & 2: Resolve and install package
|
|
320
|
-
let resolvedPackagePath;
|
|
321
|
-
let resolvedPackageName;
|
|
322
|
-
if (localPath) {
|
|
323
|
-
// Local path install — validate the directory exists
|
|
324
|
-
const absLocalPath = path.resolve(localPath);
|
|
325
|
-
if (!existsSync(absLocalPath)) {
|
|
326
|
-
throw new Error(`Local plugin path does not exist: ${absLocalPath}`);
|
|
327
|
-
}
|
|
328
|
-
resolvedPackagePath = absLocalPath;
|
|
329
|
-
const pkgJson = await readPackageJson(absLocalPath);
|
|
330
|
-
resolvedPackageName =
|
|
331
|
-
typeof pkgJson?.["name"] === "string"
|
|
332
|
-
? pkgJson["name"]
|
|
333
|
-
: path.basename(absLocalPath);
|
|
334
|
-
log.info({ localPath: absLocalPath, packageName: resolvedPackageName }, "plugin-loader: fetching plugin from local path");
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
// npm install
|
|
338
|
-
const spec = version ? `${packageName}@${version}` : packageName;
|
|
339
|
-
log.info({ spec, installDir: targetInstallDir }, "plugin-loader: fetching plugin from npm");
|
|
340
|
-
try {
|
|
341
|
-
// Use execFile (not exec) to avoid shell injection from package name/version.
|
|
342
|
-
// --ignore-scripts prevents preinstall/install/postinstall hooks from
|
|
343
|
-
// executing arbitrary code on the host before manifest validation.
|
|
344
|
-
await execFileAsync("npm", ["install", spec, "--prefix", targetInstallDir, "--save", "--ignore-scripts"], { timeout: 120_000 });
|
|
345
|
-
}
|
|
346
|
-
catch (err) {
|
|
347
|
-
throw new Error(`npm install failed for ${spec}: ${String(err)}`);
|
|
348
|
-
}
|
|
349
|
-
// Resolve the package path after installation
|
|
350
|
-
const nodeModulesPath = path.join(targetInstallDir, "node_modules");
|
|
351
|
-
resolvedPackageName = packageName;
|
|
352
|
-
// Handle scoped packages
|
|
353
|
-
if (resolvedPackageName.startsWith("@")) {
|
|
354
|
-
const [scope, name] = resolvedPackageName.split("/");
|
|
355
|
-
resolvedPackagePath = path.join(nodeModulesPath, scope, name);
|
|
356
|
-
}
|
|
357
|
-
else {
|
|
358
|
-
resolvedPackagePath = path.join(nodeModulesPath, resolvedPackageName);
|
|
359
|
-
}
|
|
360
|
-
if (!existsSync(resolvedPackagePath)) {
|
|
361
|
-
throw new Error(`Package directory not found after installation: ${resolvedPackagePath}`);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
// Step 3: Read and validate plugin manifest
|
|
365
|
-
// Note: this.loadManifest (used via current context)
|
|
366
|
-
const pkgJson = await readPackageJson(resolvedPackagePath);
|
|
367
|
-
if (!pkgJson)
|
|
368
|
-
throw new Error(`Missing package.json at ${resolvedPackagePath}`);
|
|
369
|
-
const manifestPath = resolveManifestPath(resolvedPackagePath, pkgJson);
|
|
370
|
-
if (!manifestPath || !existsSync(manifestPath)) {
|
|
371
|
-
throw new Error(`Package ${resolvedPackageName} at ${resolvedPackagePath} does not appear to be a Paperclip plugin (no manifest found).`);
|
|
372
|
-
}
|
|
373
|
-
const manifest = await loadManifestFromPath(manifestPath);
|
|
374
|
-
// Step 4: Reject incompatible plugin API versions
|
|
375
|
-
if (!manifestValidator.getSupportedVersions().includes(manifest.apiVersion)) {
|
|
376
|
-
throw new Error(`Plugin ${manifest.id} declares apiVersion ${manifest.apiVersion} which is not supported by this host. ` +
|
|
377
|
-
`Supported versions: ${manifestValidator.getSupportedVersions().join(", ")}`);
|
|
378
|
-
}
|
|
379
|
-
// Step 5: Validate manifest capabilities are consistent
|
|
380
|
-
const capResult = capabilityValidator.validateManifestCapabilities(manifest);
|
|
381
|
-
if (!capResult.allowed) {
|
|
382
|
-
throw new Error(`Plugin ${manifest.id} manifest has inconsistent capabilities. ` +
|
|
383
|
-
`Missing required capabilities for declared features: ${capResult.missing.join(", ")}`);
|
|
384
|
-
}
|
|
385
|
-
await assertPageRoutePathsAvailable(manifest);
|
|
386
|
-
// Step 6: Reject plugins that require a newer host than the running server
|
|
387
|
-
const minimumHostVersion = getMinimumHostVersion(manifest);
|
|
388
|
-
if (minimumHostVersion && hostVersion) {
|
|
389
|
-
if (compareSemver(hostVersion, minimumHostVersion) < 0) {
|
|
390
|
-
throw new Error(`Plugin ${manifest.id} requires host version ${minimumHostVersion} or newer, ` +
|
|
391
|
-
`but this server is running ${hostVersion}`);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
// Use the version declared in the manifest (required field per the spec)
|
|
395
|
-
const resolvedVersion = manifest.version;
|
|
396
|
-
return {
|
|
397
|
-
packagePath: resolvedPackagePath,
|
|
398
|
-
packageName: resolvedPackageName,
|
|
399
|
-
version: resolvedVersion,
|
|
400
|
-
source: localPath ? "local-filesystem" : "npm",
|
|
401
|
-
manifest,
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* Attempt to load and validate a plugin manifest from a resolved path.
|
|
406
|
-
* Returns the manifest on success or throws with a descriptive error.
|
|
407
|
-
*/
|
|
408
|
-
async function loadManifestFromPath(manifestPath) {
|
|
409
|
-
let raw;
|
|
410
|
-
try {
|
|
411
|
-
// Dynamic import works for both .js (ESM) and .cjs (CJS) manifests
|
|
412
|
-
const mod = await import(manifestPath);
|
|
413
|
-
// The manifest may be the default export or the module itself
|
|
414
|
-
raw = mod["default"] ?? mod;
|
|
415
|
-
}
|
|
416
|
-
catch (err) {
|
|
417
|
-
throw new Error(`Failed to load manifest module at ${manifestPath}: ${String(err)}`);
|
|
418
|
-
}
|
|
419
|
-
return manifestValidator.parseOrThrow(raw);
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* Build a DiscoveredPlugin from a resolved package directory, or null
|
|
423
|
-
* if the package is not a Paperclip plugin.
|
|
424
|
-
*/
|
|
425
|
-
async function buildDiscoveredPlugin(packagePath, source) {
|
|
426
|
-
const pkgJson = await readPackageJson(packagePath);
|
|
427
|
-
if (!pkgJson)
|
|
428
|
-
return null;
|
|
429
|
-
const packageName = typeof pkgJson["name"] === "string" ? pkgJson["name"] : "";
|
|
430
|
-
const version = typeof pkgJson["version"] === "string" ? pkgJson["version"] : "0.0.0";
|
|
431
|
-
// Determine if this is a plugin package at all
|
|
432
|
-
const hasPaperclipPlugin = "paperclipPlugin" in pkgJson;
|
|
433
|
-
const nameMatchesConvention = isPluginPackageName(packageName);
|
|
434
|
-
if (!hasPaperclipPlugin && !nameMatchesConvention) {
|
|
435
|
-
return null;
|
|
436
|
-
}
|
|
437
|
-
const manifestPath = resolveManifestPath(packagePath, pkgJson);
|
|
438
|
-
if (!manifestPath || !existsSync(manifestPath)) {
|
|
439
|
-
// Found a potential plugin package but no manifest entry point — treat
|
|
440
|
-
// as a discovery-only result with no manifest
|
|
441
|
-
return {
|
|
442
|
-
packagePath,
|
|
443
|
-
packageName,
|
|
444
|
-
version,
|
|
445
|
-
source,
|
|
446
|
-
manifest: null,
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
try {
|
|
450
|
-
const manifest = await loadManifestFromPath(manifestPath);
|
|
451
|
-
return {
|
|
452
|
-
packagePath,
|
|
453
|
-
packageName,
|
|
454
|
-
version,
|
|
455
|
-
source,
|
|
456
|
-
manifest,
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
catch (err) {
|
|
460
|
-
// Rethrow with context — callers catch and route to the errors array
|
|
461
|
-
throw new Error(`Plugin ${packageName}: ${String(err)}`);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
// -------------------------------------------------------------------------
|
|
465
|
-
// Public API
|
|
466
|
-
// -------------------------------------------------------------------------
|
|
467
|
-
return {
|
|
468
|
-
// -----------------------------------------------------------------------
|
|
469
|
-
// discoverAll
|
|
470
|
-
// -----------------------------------------------------------------------
|
|
471
|
-
async discoverAll(npmSearchDirs) {
|
|
472
|
-
const allDiscovered = [];
|
|
473
|
-
const allErrors = [];
|
|
474
|
-
const sources = [];
|
|
475
|
-
if (enableLocalFilesystem) {
|
|
476
|
-
sources.push("local-filesystem");
|
|
477
|
-
const fsResult = await this.discoverFromLocalFilesystem();
|
|
478
|
-
allDiscovered.push(...fsResult.discovered);
|
|
479
|
-
allErrors.push(...fsResult.errors);
|
|
480
|
-
}
|
|
481
|
-
if (enableNpmDiscovery) {
|
|
482
|
-
sources.push("npm");
|
|
483
|
-
const npmResult = await this.discoverFromNpm(npmSearchDirs);
|
|
484
|
-
// Deduplicate against already-discovered packages (same package path)
|
|
485
|
-
const existingPaths = new Set(allDiscovered.map((d) => d.packagePath));
|
|
486
|
-
for (const plugin of npmResult.discovered) {
|
|
487
|
-
if (!existingPaths.has(plugin.packagePath)) {
|
|
488
|
-
allDiscovered.push(plugin);
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
allErrors.push(...npmResult.errors);
|
|
492
|
-
}
|
|
493
|
-
// Future: registry source (options.registryUrl)
|
|
494
|
-
if (options.registryUrl) {
|
|
495
|
-
sources.push("registry");
|
|
496
|
-
log.warn({ registryUrl: options.registryUrl }, "plugin-loader: remote registry discovery is not yet implemented");
|
|
497
|
-
}
|
|
498
|
-
log.info({
|
|
499
|
-
discovered: allDiscovered.length,
|
|
500
|
-
errors: allErrors.length,
|
|
501
|
-
sources,
|
|
502
|
-
}, "plugin-loader: discovery complete");
|
|
503
|
-
return { discovered: allDiscovered, errors: allErrors, sources };
|
|
504
|
-
},
|
|
505
|
-
// -----------------------------------------------------------------------
|
|
506
|
-
// discoverFromLocalFilesystem
|
|
507
|
-
// -----------------------------------------------------------------------
|
|
508
|
-
async discoverFromLocalFilesystem(dir) {
|
|
509
|
-
const scanDir = dir ?? localPluginDir;
|
|
510
|
-
const discovered = [];
|
|
511
|
-
const errors = [];
|
|
512
|
-
if (!existsSync(scanDir)) {
|
|
513
|
-
log.debug({ dir: scanDir }, "plugin-loader: local plugin directory does not exist, skipping");
|
|
514
|
-
return { discovered, errors, sources: ["local-filesystem"] };
|
|
515
|
-
}
|
|
516
|
-
let entries;
|
|
517
|
-
try {
|
|
518
|
-
entries = await readdir(scanDir);
|
|
519
|
-
}
|
|
520
|
-
catch (err) {
|
|
521
|
-
log.warn({ dir: scanDir, err }, "plugin-loader: failed to read local plugin directory");
|
|
522
|
-
return { discovered, errors, sources: ["local-filesystem"] };
|
|
523
|
-
}
|
|
524
|
-
for (const entry of entries) {
|
|
525
|
-
const entryPath = path.join(scanDir, entry);
|
|
526
|
-
// Check if entry is a directory
|
|
527
|
-
let entryStat;
|
|
528
|
-
try {
|
|
529
|
-
entryStat = await stat(entryPath);
|
|
530
|
-
}
|
|
531
|
-
catch {
|
|
532
|
-
continue;
|
|
533
|
-
}
|
|
534
|
-
if (!entryStat.isDirectory())
|
|
535
|
-
continue;
|
|
536
|
-
// Handle scoped packages: @scope/plugin-name is a subdirectory
|
|
537
|
-
if (entry.startsWith("@")) {
|
|
538
|
-
let scopedEntries;
|
|
539
|
-
try {
|
|
540
|
-
scopedEntries = await readdir(entryPath);
|
|
541
|
-
}
|
|
542
|
-
catch {
|
|
543
|
-
continue;
|
|
544
|
-
}
|
|
545
|
-
for (const scopedEntry of scopedEntries) {
|
|
546
|
-
const scopedPath = path.join(entryPath, scopedEntry);
|
|
547
|
-
try {
|
|
548
|
-
const scopedStat = await stat(scopedPath);
|
|
549
|
-
if (!scopedStat.isDirectory())
|
|
550
|
-
continue;
|
|
551
|
-
const plugin = await buildDiscoveredPlugin(scopedPath, "local-filesystem");
|
|
552
|
-
if (plugin)
|
|
553
|
-
discovered.push(plugin);
|
|
554
|
-
}
|
|
555
|
-
catch (err) {
|
|
556
|
-
errors.push({
|
|
557
|
-
packagePath: scopedPath,
|
|
558
|
-
packageName: `${entry}/${scopedEntry}`,
|
|
559
|
-
error: String(err),
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
continue;
|
|
564
|
-
}
|
|
565
|
-
try {
|
|
566
|
-
const plugin = await buildDiscoveredPlugin(entryPath, "local-filesystem");
|
|
567
|
-
if (plugin)
|
|
568
|
-
discovered.push(plugin);
|
|
569
|
-
}
|
|
570
|
-
catch (err) {
|
|
571
|
-
const pkgJson = await readPackageJson(entryPath);
|
|
572
|
-
const packageName = typeof pkgJson?.["name"] === "string" ? pkgJson["name"] : entry;
|
|
573
|
-
errors.push({ packagePath: entryPath, packageName, error: String(err) });
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
log.debug({ dir: scanDir, discovered: discovered.length, errors: errors.length }, "plugin-loader: local filesystem scan complete");
|
|
577
|
-
return { discovered, errors, sources: ["local-filesystem"] };
|
|
578
|
-
},
|
|
579
|
-
// -----------------------------------------------------------------------
|
|
580
|
-
// discoverFromNpm
|
|
581
|
-
// -----------------------------------------------------------------------
|
|
582
|
-
async discoverFromNpm(searchDirs) {
|
|
583
|
-
const discovered = [];
|
|
584
|
-
const errors = [];
|
|
585
|
-
// Determine the node_modules directories to search.
|
|
586
|
-
// When searchDirs is undefined OR empty, fall back to the conventional
|
|
587
|
-
// defaults (cwd/node_modules and localPluginDir/node_modules).
|
|
588
|
-
// To search nowhere explicitly, pass a non-empty array of non-existent paths.
|
|
589
|
-
const dirsToSearch = searchDirs && searchDirs.length > 0 ? searchDirs : [];
|
|
590
|
-
if (dirsToSearch.length === 0) {
|
|
591
|
-
// Default: search node_modules relative to the process working directory
|
|
592
|
-
// and also the local plugin dir's node_modules
|
|
593
|
-
const cwdNodeModules = path.join(process.cwd(), "node_modules");
|
|
594
|
-
const localNodeModules = path.join(localPluginDir, "node_modules");
|
|
595
|
-
if (existsSync(cwdNodeModules))
|
|
596
|
-
dirsToSearch.push(cwdNodeModules);
|
|
597
|
-
if (existsSync(localNodeModules))
|
|
598
|
-
dirsToSearch.push(localNodeModules);
|
|
599
|
-
}
|
|
600
|
-
for (const nodeModulesDir of dirsToSearch) {
|
|
601
|
-
if (!existsSync(nodeModulesDir))
|
|
602
|
-
continue;
|
|
603
|
-
let entries;
|
|
604
|
-
try {
|
|
605
|
-
entries = await readdir(nodeModulesDir);
|
|
606
|
-
}
|
|
607
|
-
catch {
|
|
608
|
-
continue;
|
|
609
|
-
}
|
|
610
|
-
for (const entry of entries) {
|
|
611
|
-
const entryPath = path.join(nodeModulesDir, entry);
|
|
612
|
-
// Handle scoped packages (@scope/*)
|
|
613
|
-
if (entry.startsWith("@")) {
|
|
614
|
-
let scopedEntries;
|
|
615
|
-
try {
|
|
616
|
-
scopedEntries = await readdir(entryPath);
|
|
617
|
-
}
|
|
618
|
-
catch {
|
|
619
|
-
continue;
|
|
620
|
-
}
|
|
621
|
-
for (const scopedEntry of scopedEntries) {
|
|
622
|
-
const fullName = `${entry}/${scopedEntry}`;
|
|
623
|
-
if (!isPluginPackageName(fullName))
|
|
624
|
-
continue;
|
|
625
|
-
const scopedPath = path.join(entryPath, scopedEntry);
|
|
626
|
-
try {
|
|
627
|
-
const plugin = await buildDiscoveredPlugin(scopedPath, "npm");
|
|
628
|
-
if (plugin)
|
|
629
|
-
discovered.push(plugin);
|
|
630
|
-
}
|
|
631
|
-
catch (err) {
|
|
632
|
-
errors.push({
|
|
633
|
-
packagePath: scopedPath,
|
|
634
|
-
packageName: fullName,
|
|
635
|
-
error: String(err),
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
continue;
|
|
640
|
-
}
|
|
641
|
-
// Non-scoped packages: check naming convention
|
|
642
|
-
if (!isPluginPackageName(entry))
|
|
643
|
-
continue;
|
|
644
|
-
let entryStat;
|
|
645
|
-
try {
|
|
646
|
-
entryStat = await stat(entryPath);
|
|
647
|
-
}
|
|
648
|
-
catch {
|
|
649
|
-
continue;
|
|
650
|
-
}
|
|
651
|
-
if (!entryStat.isDirectory())
|
|
652
|
-
continue;
|
|
653
|
-
try {
|
|
654
|
-
const plugin = await buildDiscoveredPlugin(entryPath, "npm");
|
|
655
|
-
if (plugin)
|
|
656
|
-
discovered.push(plugin);
|
|
657
|
-
}
|
|
658
|
-
catch (err) {
|
|
659
|
-
const pkgJson = await readPackageJson(entryPath);
|
|
660
|
-
const packageName = typeof pkgJson?.["name"] === "string" ? pkgJson["name"] : entry;
|
|
661
|
-
errors.push({ packagePath: entryPath, packageName, error: String(err) });
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
log.debug({ searchDirs: dirsToSearch, discovered: discovered.length, errors: errors.length }, "plugin-loader: npm discovery scan complete");
|
|
666
|
-
return { discovered, errors, sources: ["npm"] };
|
|
667
|
-
},
|
|
668
|
-
// -----------------------------------------------------------------------
|
|
669
|
-
// loadManifest
|
|
670
|
-
// -----------------------------------------------------------------------
|
|
671
|
-
async loadManifest(packagePath) {
|
|
672
|
-
const pkgJson = await readPackageJson(packagePath);
|
|
673
|
-
if (!pkgJson)
|
|
674
|
-
return null;
|
|
675
|
-
const hasPaperclipPlugin = "paperclipPlugin" in pkgJson;
|
|
676
|
-
const packageName = typeof pkgJson["name"] === "string" ? pkgJson["name"] : "";
|
|
677
|
-
const nameMatchesConvention = isPluginPackageName(packageName);
|
|
678
|
-
if (!hasPaperclipPlugin && !nameMatchesConvention) {
|
|
679
|
-
return null;
|
|
680
|
-
}
|
|
681
|
-
const manifestPath = resolveManifestPath(packagePath, pkgJson);
|
|
682
|
-
if (!manifestPath || !existsSync(manifestPath))
|
|
683
|
-
return null;
|
|
684
|
-
return loadManifestFromPath(manifestPath);
|
|
685
|
-
},
|
|
686
|
-
// -----------------------------------------------------------------------
|
|
687
|
-
// installPlugin
|
|
688
|
-
// -----------------------------------------------------------------------
|
|
689
|
-
async installPlugin(installOptions) {
|
|
690
|
-
const discovered = await fetchAndValidate(installOptions);
|
|
691
|
-
// Step 6: Persist install record in Postgres (include packagePath for local installs so the worker can be resolved)
|
|
692
|
-
await registry.install({
|
|
693
|
-
packageName: discovered.packageName,
|
|
694
|
-
packagePath: discovered.source === "local-filesystem" ? discovered.packagePath : undefined,
|
|
695
|
-
}, discovered.manifest);
|
|
696
|
-
log.info({
|
|
697
|
-
pluginId: discovered.manifest.id,
|
|
698
|
-
packageName: discovered.packageName,
|
|
699
|
-
version: discovered.version,
|
|
700
|
-
capabilities: discovered.manifest.capabilities,
|
|
701
|
-
}, "plugin-loader: plugin installed successfully");
|
|
702
|
-
return discovered;
|
|
703
|
-
},
|
|
704
|
-
// -----------------------------------------------------------------------
|
|
705
|
-
// upgradePlugin
|
|
706
|
-
// -----------------------------------------------------------------------
|
|
707
|
-
/**
|
|
708
|
-
* Upgrade an already-installed plugin to a newer version.
|
|
709
|
-
*
|
|
710
|
-
* This method:
|
|
711
|
-
* 1. Fetches and validates the new plugin package using `fetchAndValidate`.
|
|
712
|
-
* 2. Ensures the new manifest ID matches the existing plugin ID for safety.
|
|
713
|
-
* 3. Updates the plugin record in the registry with the new version and manifest.
|
|
714
|
-
*
|
|
715
|
-
* @param pluginId - The UUID of the plugin to upgrade.
|
|
716
|
-
* @param upgradeOptions - Options for the upgrade (packageName, localPath, version).
|
|
717
|
-
* @returns The old and new manifests, along with the discovery metadata.
|
|
718
|
-
* @throws {Error} If the plugin is not found or if the new manifest ID differs.
|
|
719
|
-
*/
|
|
720
|
-
async upgradePlugin(pluginId, upgradeOptions) {
|
|
721
|
-
const plugin = (await registry.getById(pluginId));
|
|
722
|
-
if (!plugin)
|
|
723
|
-
throw new Error(`Plugin not found: ${pluginId}`);
|
|
724
|
-
const oldManifest = plugin.manifestJson;
|
|
725
|
-
const { packageName = plugin.packageName,
|
|
726
|
-
// For local-path installs, fall back to the stored packagePath so
|
|
727
|
-
// `upgradePlugin` can re-read the manifest from disk without needing
|
|
728
|
-
// the caller to re-supply the path every time.
|
|
729
|
-
localPath = plugin.packagePath ?? undefined, version, } = upgradeOptions;
|
|
730
|
-
log.info({ pluginId, packageName, version, localPath }, "plugin-loader: upgrading plugin");
|
|
731
|
-
// 1. Fetch/Install the new version
|
|
732
|
-
const discovered = await fetchAndValidate({
|
|
733
|
-
packageName,
|
|
734
|
-
localPath,
|
|
735
|
-
version,
|
|
736
|
-
installDir: localPluginDir,
|
|
737
|
-
});
|
|
738
|
-
const newManifest = discovered.manifest;
|
|
739
|
-
// 2. Validate it's the same plugin ID
|
|
740
|
-
if (newManifest.id !== oldManifest.id) {
|
|
741
|
-
throw new Error(`Upgrade failed: new manifest ID '${newManifest.id}' does not match existing plugin ID '${oldManifest.id}'`);
|
|
742
|
-
}
|
|
743
|
-
// 3. Detect capability escalation — new capabilities not in the old manifest
|
|
744
|
-
const oldCaps = new Set(oldManifest.capabilities ?? []);
|
|
745
|
-
const newCaps = newManifest.capabilities ?? [];
|
|
746
|
-
const escalated = newCaps.filter((c) => !oldCaps.has(c));
|
|
747
|
-
if (escalated.length > 0) {
|
|
748
|
-
log.warn({ pluginId, escalated, oldVersion: oldManifest.version, newVersion: newManifest.version }, "plugin-loader: upgrade introduces new capabilities — requires admin approval");
|
|
749
|
-
throw new Error(`Upgrade for "${pluginId}" introduces new capabilities that require approval: ${escalated.join(", ")}. ` +
|
|
750
|
-
`The previous version declared [${[...oldCaps].join(", ")}]. ` +
|
|
751
|
-
`Please review and approve the capability escalation before upgrading.`);
|
|
752
|
-
}
|
|
753
|
-
// 4. Update the existing record
|
|
754
|
-
await registry.update(pluginId, {
|
|
755
|
-
packageName: discovered.packageName,
|
|
756
|
-
version: discovered.version,
|
|
757
|
-
manifest: newManifest,
|
|
758
|
-
});
|
|
759
|
-
return {
|
|
760
|
-
oldManifest,
|
|
761
|
-
newManifest,
|
|
762
|
-
discovered,
|
|
763
|
-
};
|
|
764
|
-
},
|
|
765
|
-
// -----------------------------------------------------------------------
|
|
766
|
-
// isSupportedApiVersion
|
|
767
|
-
// -----------------------------------------------------------------------
|
|
768
|
-
isSupportedApiVersion(apiVersion) {
|
|
769
|
-
return manifestValidator.getSupportedVersions().includes(apiVersion);
|
|
770
|
-
},
|
|
771
|
-
// -----------------------------------------------------------------------
|
|
772
|
-
// cleanupInstallArtifacts
|
|
773
|
-
// -----------------------------------------------------------------------
|
|
774
|
-
async cleanupInstallArtifacts(plugin) {
|
|
775
|
-
const managedTargets = new Set();
|
|
776
|
-
const managedNodeModulesDir = resolveManagedInstallPackageDir(localPluginDir, plugin.packageName);
|
|
777
|
-
const directManagedDir = path.join(localPluginDir, plugin.packageName);
|
|
778
|
-
managedTargets.add(managedNodeModulesDir);
|
|
779
|
-
if (isPathInsideDir(directManagedDir, localPluginDir)) {
|
|
780
|
-
managedTargets.add(directManagedDir);
|
|
781
|
-
}
|
|
782
|
-
if (plugin.packagePath && isPathInsideDir(plugin.packagePath, localPluginDir)) {
|
|
783
|
-
managedTargets.add(path.resolve(plugin.packagePath));
|
|
784
|
-
}
|
|
785
|
-
const packageJsonPath = path.join(localPluginDir, "package.json");
|
|
786
|
-
if (existsSync(packageJsonPath)) {
|
|
787
|
-
try {
|
|
788
|
-
await execFileAsync("npm", ["uninstall", plugin.packageName, "--prefix", localPluginDir, "--ignore-scripts"], { timeout: 120_000 });
|
|
789
|
-
}
|
|
790
|
-
catch (err) {
|
|
791
|
-
log.warn({
|
|
792
|
-
pluginId: plugin.id,
|
|
793
|
-
pluginKey: plugin.pluginKey,
|
|
794
|
-
packageName: plugin.packageName,
|
|
795
|
-
err: err instanceof Error ? err.message : String(err),
|
|
796
|
-
}, "plugin-loader: npm uninstall failed during cleanup, falling back to direct removal");
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
for (const target of managedTargets) {
|
|
800
|
-
if (!existsSync(target))
|
|
801
|
-
continue;
|
|
802
|
-
await rm(target, { recursive: true, force: true });
|
|
803
|
-
}
|
|
804
|
-
},
|
|
805
|
-
// -----------------------------------------------------------------------
|
|
806
|
-
// getLocalPluginDir
|
|
807
|
-
// -----------------------------------------------------------------------
|
|
808
|
-
getLocalPluginDir() {
|
|
809
|
-
return localPluginDir;
|
|
810
|
-
},
|
|
811
|
-
// -----------------------------------------------------------------------
|
|
812
|
-
// hasRuntimeServices
|
|
813
|
-
// -----------------------------------------------------------------------
|
|
814
|
-
hasRuntimeServices() {
|
|
815
|
-
return runtimeServices !== undefined;
|
|
816
|
-
},
|
|
817
|
-
// -----------------------------------------------------------------------
|
|
818
|
-
// -----------------------------------------------------------------------
|
|
819
|
-
// loadAll
|
|
820
|
-
// -----------------------------------------------------------------------
|
|
821
|
-
/**
|
|
822
|
-
* loadAll — Loads and activates all plugins that are currently in 'ready' status.
|
|
823
|
-
*
|
|
824
|
-
* This method is typically called during server startup. It fetches all ready
|
|
825
|
-
* plugins from the registry and attempts to activate them in parallel using
|
|
826
|
-
* Promise.allSettled. Failures in individual plugins do not prevent others from loading.
|
|
827
|
-
*
|
|
828
|
-
* @returns A promise that resolves with summary statistics of the load operation.
|
|
829
|
-
*/
|
|
830
|
-
async loadAll() {
|
|
831
|
-
if (!runtimeServices) {
|
|
832
|
-
throw new Error("Cannot loadAll: no PluginRuntimeServices provided. " +
|
|
833
|
-
"Pass runtime services as the third argument to pluginLoader().");
|
|
834
|
-
}
|
|
835
|
-
log.info("plugin-loader: loading all ready plugins");
|
|
836
|
-
// Fetch all plugins in ready status, ordered by installOrder
|
|
837
|
-
const readyPlugins = (await registry.listByStatus("ready"));
|
|
838
|
-
if (readyPlugins.length === 0) {
|
|
839
|
-
log.info("plugin-loader: no ready plugins to load");
|
|
840
|
-
return { total: 0, succeeded: 0, failed: 0, results: [] };
|
|
841
|
-
}
|
|
842
|
-
log.info({ count: readyPlugins.length }, "plugin-loader: found ready plugins to load");
|
|
843
|
-
// Load plugins in parallel
|
|
844
|
-
const results = await Promise.allSettled(readyPlugins.map((plugin) => activatePlugin(plugin)));
|
|
845
|
-
const loadResults = results.map((r, i) => {
|
|
846
|
-
if (r.status === "fulfilled")
|
|
847
|
-
return r.value;
|
|
848
|
-
return {
|
|
849
|
-
plugin: readyPlugins[i],
|
|
850
|
-
success: false,
|
|
851
|
-
error: String(r.reason),
|
|
852
|
-
registered: { worker: false, eventSubscriptions: 0, jobs: 0, webhooks: 0, tools: 0 },
|
|
853
|
-
};
|
|
854
|
-
});
|
|
855
|
-
const succeeded = loadResults.filter((r) => r.success).length;
|
|
856
|
-
const failed = loadResults.filter((r) => !r.success).length;
|
|
857
|
-
log.info({
|
|
858
|
-
total: readyPlugins.length,
|
|
859
|
-
succeeded,
|
|
860
|
-
failed,
|
|
861
|
-
}, "plugin-loader: loadAll complete");
|
|
862
|
-
return {
|
|
863
|
-
total: readyPlugins.length,
|
|
864
|
-
succeeded,
|
|
865
|
-
failed,
|
|
866
|
-
results: loadResults,
|
|
867
|
-
};
|
|
868
|
-
},
|
|
869
|
-
// -----------------------------------------------------------------------
|
|
870
|
-
// loadSingle
|
|
871
|
-
// -----------------------------------------------------------------------
|
|
872
|
-
/**
|
|
873
|
-
* loadSingle — Loads and activates a single plugin by its ID.
|
|
874
|
-
*
|
|
875
|
-
* This method retrieves the plugin from the registry, ensures it's in a valid
|
|
876
|
-
* state, and then calls activatePlugin to start its worker and register its
|
|
877
|
-
* capabilities (tools, jobs, etc.).
|
|
878
|
-
*
|
|
879
|
-
* @param pluginId - The UUID of the plugin to load.
|
|
880
|
-
* @returns A promise that resolves with the result of the activation.
|
|
881
|
-
*/
|
|
882
|
-
async loadSingle(pluginId) {
|
|
883
|
-
if (!runtimeServices) {
|
|
884
|
-
throw new Error("Cannot loadSingle: no PluginRuntimeServices provided. " +
|
|
885
|
-
"Pass runtime services as the third argument to pluginLoader().");
|
|
886
|
-
}
|
|
887
|
-
const plugin = (await registry.getById(pluginId));
|
|
888
|
-
if (!plugin) {
|
|
889
|
-
throw new Error(`Plugin not found: ${pluginId}`);
|
|
890
|
-
}
|
|
891
|
-
// If the plugin is in 'installed' status, transition it to 'ready' first.
|
|
892
|
-
// lifecycleManager.load() transitions the status AND activates the plugin
|
|
893
|
-
// via activateReadyPlugin() → loadSingle() (recursive call with 'ready'
|
|
894
|
-
// status) → activatePlugin(). We must NOT call activatePlugin() again here,
|
|
895
|
-
// as that would double-start the worker and duplicate registrations.
|
|
896
|
-
if (plugin.status === "installed") {
|
|
897
|
-
await runtimeServices.lifecycleManager.load(pluginId);
|
|
898
|
-
const updated = (await registry.getById(pluginId));
|
|
899
|
-
if (!updated)
|
|
900
|
-
throw new Error(`Plugin not found after status update: ${pluginId}`);
|
|
901
|
-
return {
|
|
902
|
-
plugin: updated,
|
|
903
|
-
success: true,
|
|
904
|
-
registered: { worker: true, eventSubscriptions: 0, jobs: 0, webhooks: 0, tools: 0 },
|
|
905
|
-
};
|
|
906
|
-
}
|
|
907
|
-
if (plugin.status !== "ready") {
|
|
908
|
-
throw new Error(`Cannot load plugin in status '${plugin.status}'. ` +
|
|
909
|
-
`Plugin must be in 'installed' or 'ready' status.`);
|
|
910
|
-
}
|
|
911
|
-
return activatePlugin(plugin);
|
|
912
|
-
},
|
|
913
|
-
// -----------------------------------------------------------------------
|
|
914
|
-
// unloadSingle
|
|
915
|
-
// -----------------------------------------------------------------------
|
|
916
|
-
async unloadSingle(pluginId, pluginKey) {
|
|
917
|
-
if (!runtimeServices) {
|
|
918
|
-
throw new Error("Cannot unloadSingle: no PluginRuntimeServices provided.");
|
|
919
|
-
}
|
|
920
|
-
log.info({ pluginId, pluginKey }, "plugin-loader: unloading single plugin");
|
|
921
|
-
const { workerManager, eventBus, jobScheduler, toolDispatcher, } = runtimeServices;
|
|
922
|
-
// 1. Unregister from job scheduler (cancels in-flight runs)
|
|
923
|
-
try {
|
|
924
|
-
await jobScheduler.unregisterPlugin(pluginId);
|
|
925
|
-
}
|
|
926
|
-
catch (err) {
|
|
927
|
-
log.warn({ pluginId, err: err instanceof Error ? err.message : String(err) }, "plugin-loader: failed to unregister from job scheduler (best-effort)");
|
|
928
|
-
}
|
|
929
|
-
// 2. Clear event subscriptions
|
|
930
|
-
eventBus.clearPlugin(pluginKey);
|
|
931
|
-
// 3. Unregister agent tools
|
|
932
|
-
toolDispatcher.unregisterPluginTools(pluginKey);
|
|
933
|
-
// 4. Stop the worker process
|
|
934
|
-
try {
|
|
935
|
-
if (workerManager.isRunning(pluginId)) {
|
|
936
|
-
await workerManager.stopWorker(pluginId);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
catch (err) {
|
|
940
|
-
log.warn({ pluginId, err: err instanceof Error ? err.message : String(err) }, "plugin-loader: failed to stop worker during unload (best-effort)");
|
|
941
|
-
}
|
|
942
|
-
log.info({ pluginId, pluginKey }, "plugin-loader: plugin unloaded successfully");
|
|
943
|
-
},
|
|
944
|
-
// -----------------------------------------------------------------------
|
|
945
|
-
// shutdownAll
|
|
946
|
-
// -----------------------------------------------------------------------
|
|
947
|
-
async shutdownAll() {
|
|
948
|
-
if (!runtimeServices) {
|
|
949
|
-
throw new Error("Cannot shutdownAll: no PluginRuntimeServices provided.");
|
|
950
|
-
}
|
|
951
|
-
log.info("plugin-loader: shutting down all plugins");
|
|
952
|
-
const { workerManager, jobScheduler } = runtimeServices;
|
|
953
|
-
// 1. Stop the job scheduler tick loop
|
|
954
|
-
jobScheduler.stop();
|
|
955
|
-
// 2. Stop all worker processes
|
|
956
|
-
await workerManager.stopAll();
|
|
957
|
-
log.info("plugin-loader: all plugins shut down");
|
|
958
|
-
},
|
|
959
|
-
};
|
|
960
|
-
// -------------------------------------------------------------------------
|
|
961
|
-
// Internal: activatePlugin — shared logic for loadAll and loadSingle
|
|
962
|
-
// -------------------------------------------------------------------------
|
|
963
|
-
/**
|
|
964
|
-
* Activate a single plugin: spawn its worker, register event subscriptions,
|
|
965
|
-
* sync jobs, register tools.
|
|
966
|
-
*
|
|
967
|
-
* This is the core orchestration logic shared by `loadAll()` and `loadSingle()`.
|
|
968
|
-
* Failures are caught and reported in the result; the plugin is marked as
|
|
969
|
-
* `error` in the database when activation fails.
|
|
970
|
-
*/
|
|
971
|
-
async function activatePlugin(plugin) {
|
|
972
|
-
const manifest = plugin.manifestJson;
|
|
973
|
-
const pluginId = plugin.id;
|
|
974
|
-
const pluginKey = plugin.pluginKey;
|
|
975
|
-
const registered = {
|
|
976
|
-
worker: false,
|
|
977
|
-
eventSubscriptions: 0,
|
|
978
|
-
jobs: 0,
|
|
979
|
-
webhooks: 0,
|
|
980
|
-
tools: 0,
|
|
981
|
-
};
|
|
982
|
-
// Guard: runtime services must exist (callers already checked)
|
|
983
|
-
if (!runtimeServices) {
|
|
984
|
-
return {
|
|
985
|
-
plugin,
|
|
986
|
-
success: false,
|
|
987
|
-
error: "No runtime services available",
|
|
988
|
-
registered,
|
|
989
|
-
};
|
|
990
|
-
}
|
|
991
|
-
const { workerManager, eventBus, jobScheduler, jobStore, toolDispatcher, lifecycleManager, buildHostHandlers, instanceInfo, } = runtimeServices;
|
|
992
|
-
try {
|
|
993
|
-
log.info({ pluginId, pluginKey, version: plugin.version }, "plugin-loader: activating plugin");
|
|
994
|
-
// ------------------------------------------------------------------
|
|
995
|
-
// 1. Resolve worker entrypoint
|
|
996
|
-
// ------------------------------------------------------------------
|
|
997
|
-
const workerEntrypoint = resolveWorkerEntrypoint(plugin, localPluginDir);
|
|
998
|
-
// ------------------------------------------------------------------
|
|
999
|
-
// 2. Build host handlers for this plugin
|
|
1000
|
-
// ------------------------------------------------------------------
|
|
1001
|
-
const hostHandlers = buildHostHandlers(pluginId, manifest);
|
|
1002
|
-
// ------------------------------------------------------------------
|
|
1003
|
-
// 3. Retrieve plugin config (if any)
|
|
1004
|
-
// ------------------------------------------------------------------
|
|
1005
|
-
let config = {};
|
|
1006
|
-
try {
|
|
1007
|
-
const configRow = await registry.getConfig(pluginId);
|
|
1008
|
-
if (configRow && typeof configRow === "object" && "configJson" in configRow) {
|
|
1009
|
-
config = configRow.configJson ?? {};
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
catch {
|
|
1013
|
-
// Config may not exist yet — use empty object
|
|
1014
|
-
log.debug({ pluginId }, "plugin-loader: no config found, using empty config");
|
|
1015
|
-
}
|
|
1016
|
-
// ------------------------------------------------------------------
|
|
1017
|
-
// 4. Spawn worker process
|
|
1018
|
-
// ------------------------------------------------------------------
|
|
1019
|
-
const workerOptions = {
|
|
1020
|
-
entrypointPath: workerEntrypoint,
|
|
1021
|
-
manifest,
|
|
1022
|
-
config,
|
|
1023
|
-
instanceInfo,
|
|
1024
|
-
apiVersion: manifest.apiVersion,
|
|
1025
|
-
hostHandlers,
|
|
1026
|
-
autoRestart: true,
|
|
1027
|
-
};
|
|
1028
|
-
// Repo-local plugin installs can resolve workspace TS sources at runtime
|
|
1029
|
-
// (for example @paperclipai/shared exports). Run those workers through
|
|
1030
|
-
// the tsx loader so first-party example plugins work in development.
|
|
1031
|
-
if (plugin.packagePath && existsSync(DEV_TSX_LOADER_PATH)) {
|
|
1032
|
-
workerOptions.execArgv = ["--import", DEV_TSX_LOADER_PATH];
|
|
1033
|
-
}
|
|
1034
|
-
await workerManager.startWorker(pluginId, workerOptions);
|
|
1035
|
-
registered.worker = true;
|
|
1036
|
-
log.info({ pluginId, pluginKey }, "plugin-loader: worker started");
|
|
1037
|
-
// ------------------------------------------------------------------
|
|
1038
|
-
// 5. Sync job declarations and register with scheduler
|
|
1039
|
-
// ------------------------------------------------------------------
|
|
1040
|
-
const jobDeclarations = manifest.jobs ?? [];
|
|
1041
|
-
if (jobDeclarations.length > 0) {
|
|
1042
|
-
await jobStore.syncJobDeclarations(pluginId, jobDeclarations);
|
|
1043
|
-
await jobScheduler.registerPlugin(pluginId);
|
|
1044
|
-
registered.jobs = jobDeclarations.length;
|
|
1045
|
-
log.info({ pluginId, pluginKey, jobs: jobDeclarations.length }, "plugin-loader: job declarations synced and plugin registered with scheduler");
|
|
1046
|
-
}
|
|
1047
|
-
// ------------------------------------------------------------------
|
|
1048
|
-
// 6. Register event subscriptions
|
|
1049
|
-
//
|
|
1050
|
-
// Note: Event subscriptions are declared at runtime by the plugin
|
|
1051
|
-
// worker via the SDK's ctx.events.on() calls. The event bus manages
|
|
1052
|
-
// per-plugin subscription scoping. Here we ensure the event bus has
|
|
1053
|
-
// a scoped handle ready for this plugin — the actual subscriptions
|
|
1054
|
-
// are registered by the host handler layer when the worker calls
|
|
1055
|
-
// events.subscribe via RPC.
|
|
1056
|
-
//
|
|
1057
|
-
// The bus.forPlugin() call creates the scoped handle if needed;
|
|
1058
|
-
// any previous subscriptions for this plugin are preserved if the
|
|
1059
|
-
// worker is restarting.
|
|
1060
|
-
// ------------------------------------------------------------------
|
|
1061
|
-
const _scopedBus = eventBus.forPlugin(pluginKey);
|
|
1062
|
-
registered.eventSubscriptions = eventBus.subscriptionCount(pluginKey);
|
|
1063
|
-
log.debug({ pluginId, pluginKey }, "plugin-loader: event bus scoped handle ready");
|
|
1064
|
-
// ------------------------------------------------------------------
|
|
1065
|
-
// 7. Register webhook endpoints (manifest-declared)
|
|
1066
|
-
//
|
|
1067
|
-
// Webhooks are statically declared in the manifest. The actual
|
|
1068
|
-
// endpoint routing is handled by the plugin routes module which
|
|
1069
|
-
// checks the manifest for declared webhooks. No explicit
|
|
1070
|
-
// registration step is needed here — the manifest is persisted
|
|
1071
|
-
// in the DB and the route handler reads it at request time.
|
|
1072
|
-
//
|
|
1073
|
-
// We track the count for the result reporting.
|
|
1074
|
-
// ------------------------------------------------------------------
|
|
1075
|
-
const webhookDeclarations = manifest.webhooks ?? [];
|
|
1076
|
-
registered.webhooks = webhookDeclarations.length;
|
|
1077
|
-
if (webhookDeclarations.length > 0) {
|
|
1078
|
-
log.info({ pluginId, pluginKey, webhooks: webhookDeclarations.length }, "plugin-loader: webhook endpoints declared in manifest");
|
|
1079
|
-
}
|
|
1080
|
-
// ------------------------------------------------------------------
|
|
1081
|
-
// 8. Register agent tools
|
|
1082
|
-
// ------------------------------------------------------------------
|
|
1083
|
-
const toolDeclarations = manifest.tools ?? [];
|
|
1084
|
-
if (toolDeclarations.length > 0) {
|
|
1085
|
-
toolDispatcher.registerPluginTools(pluginKey, manifest);
|
|
1086
|
-
registered.tools = toolDeclarations.length;
|
|
1087
|
-
log.info({ pluginId, pluginKey, tools: toolDeclarations.length }, "plugin-loader: agent tools registered");
|
|
1088
|
-
}
|
|
1089
|
-
// ------------------------------------------------------------------
|
|
1090
|
-
// Done — plugin fully activated
|
|
1091
|
-
// ------------------------------------------------------------------
|
|
1092
|
-
log.info({
|
|
1093
|
-
pluginId,
|
|
1094
|
-
pluginKey,
|
|
1095
|
-
version: plugin.version,
|
|
1096
|
-
registered,
|
|
1097
|
-
}, "plugin-loader: plugin activated successfully");
|
|
1098
|
-
return { plugin, success: true, registered };
|
|
1099
|
-
}
|
|
1100
|
-
catch (err) {
|
|
1101
|
-
const errorMessage = err instanceof Error ? err.message : String(err);
|
|
1102
|
-
log.error({ pluginId, pluginKey, err: errorMessage }, "plugin-loader: failed to activate plugin");
|
|
1103
|
-
// Mark the plugin as errored in the database so it is not retried
|
|
1104
|
-
// automatically on next startup without operator intervention.
|
|
1105
|
-
try {
|
|
1106
|
-
await lifecycleManager.markError(pluginId, `Activation failed: ${errorMessage}`);
|
|
1107
|
-
}
|
|
1108
|
-
catch (markErr) {
|
|
1109
|
-
log.error({
|
|
1110
|
-
pluginId,
|
|
1111
|
-
err: markErr instanceof Error ? markErr.message : String(markErr),
|
|
1112
|
-
}, "plugin-loader: failed to mark plugin as error after activation failure");
|
|
1113
|
-
}
|
|
1114
|
-
return {
|
|
1115
|
-
plugin,
|
|
1116
|
-
success: false,
|
|
1117
|
-
error: errorMessage,
|
|
1118
|
-
registered,
|
|
1119
|
-
};
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
// ---------------------------------------------------------------------------
|
|
1124
|
-
// Worker entrypoint resolution
|
|
1125
|
-
// ---------------------------------------------------------------------------
|
|
1126
|
-
/**
|
|
1127
|
-
* Resolve the absolute path to a plugin's worker entrypoint from its manifest
|
|
1128
|
-
* and known install locations.
|
|
1129
|
-
*
|
|
1130
|
-
* The manifest `entrypoints.worker` field is relative to the package root.
|
|
1131
|
-
* We check the local plugin directory (where the package was installed) and
|
|
1132
|
-
* also the package directory if it was a local-path install.
|
|
1133
|
-
*
|
|
1134
|
-
* @see PLUGIN_SPEC.md §10 — Package Contract
|
|
1135
|
-
*/
|
|
1136
|
-
function resolveWorkerEntrypoint(plugin, localPluginDir) {
|
|
1137
|
-
const manifest = plugin.manifestJson;
|
|
1138
|
-
const workerRelPath = manifest.entrypoints.worker;
|
|
1139
|
-
// For local-path installs we persist the resolved package path; use it first
|
|
1140
|
-
if (plugin.packagePath && existsSync(plugin.packagePath)) {
|
|
1141
|
-
const entrypoint = path.resolve(plugin.packagePath, workerRelPath);
|
|
1142
|
-
if (entrypoint.startsWith(path.resolve(plugin.packagePath)) && existsSync(entrypoint)) {
|
|
1143
|
-
return entrypoint;
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
// Try the local plugin directory (standard npm install location)
|
|
1147
|
-
const packageName = plugin.packageName;
|
|
1148
|
-
let packageDir;
|
|
1149
|
-
if (packageName.startsWith("@")) {
|
|
1150
|
-
// Scoped package: @scope/plugin-name → localPluginDir/node_modules/@scope/plugin-name
|
|
1151
|
-
const [scope, name] = packageName.split("/");
|
|
1152
|
-
packageDir = path.join(localPluginDir, "node_modules", scope, name);
|
|
1153
|
-
}
|
|
1154
|
-
else {
|
|
1155
|
-
packageDir = path.join(localPluginDir, "node_modules", packageName);
|
|
1156
|
-
}
|
|
1157
|
-
// Also check if the package exists directly under localPluginDir
|
|
1158
|
-
// (for direct local-path installs or symlinked packages)
|
|
1159
|
-
const directDir = path.join(localPluginDir, packageName);
|
|
1160
|
-
// Try in order: node_modules path, direct path
|
|
1161
|
-
for (const dir of [packageDir, directDir]) {
|
|
1162
|
-
const entrypoint = path.resolve(dir, workerRelPath);
|
|
1163
|
-
// Security: ensure entrypoint is actually inside the directory (prevent path traversal)
|
|
1164
|
-
if (!entrypoint.startsWith(path.resolve(dir))) {
|
|
1165
|
-
continue;
|
|
1166
|
-
}
|
|
1167
|
-
if (existsSync(entrypoint)) {
|
|
1168
|
-
return entrypoint;
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
// Fallback: try the worker path as-is (absolute or relative to cwd)
|
|
1172
|
-
// ONLY if it's already an absolute path and we trust the manifest (which we've already validated)
|
|
1173
|
-
if (path.isAbsolute(workerRelPath) && existsSync(workerRelPath)) {
|
|
1174
|
-
return workerRelPath;
|
|
1175
|
-
}
|
|
1176
|
-
throw new Error(`Worker entrypoint not found for plugin "${plugin.pluginKey}". ` +
|
|
1177
|
-
`Checked: ${path.resolve(packageDir, workerRelPath)}, ` +
|
|
1178
|
-
`${path.resolve(directDir, workerRelPath)}`);
|
|
1179
|
-
}
|
|
1180
|
-
function resolveManagedInstallPackageDir(localPluginDir, packageName) {
|
|
1181
|
-
if (packageName.startsWith("@")) {
|
|
1182
|
-
return path.join(localPluginDir, "node_modules", ...packageName.split("/"));
|
|
1183
|
-
}
|
|
1184
|
-
return path.join(localPluginDir, "node_modules", packageName);
|
|
1185
|
-
}
|
|
1186
|
-
function isPathInsideDir(candidatePath, parentDir) {
|
|
1187
|
-
const resolvedCandidate = path.resolve(candidatePath);
|
|
1188
|
-
const resolvedParent = path.resolve(parentDir);
|
|
1189
|
-
const relative = path.relative(resolvedParent, resolvedCandidate);
|
|
1190
|
-
return relative === "" || (!relative.startsWith("..") && !path.isAbsolute(relative));
|
|
1191
|
-
}
|
|
1192
|
-
//# sourceMappingURL=plugin-loader.js.map
|