@wardby/cli 0.2.0 → 0.3.0
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/.env.example +34 -4
- package/README.md +183 -71
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +31 -2
- package/dist/claude-coding-worker/main.js +5 -2
- package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
- package/dist/claude-coding-worker/tool-socket.js +26 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +13 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +219 -29
- package/dist/coding/collect-exclude.d.ts +25 -0
- package/dist/coding/collect-exclude.js +76 -0
- package/dist/coding/profile.d.ts +67 -22
- package/dist/coding/profile.js +58 -25
- package/dist/coding/protected-path-wording.d.ts +24 -0
- package/dist/coding/protected-path-wording.js +55 -0
- package/dist/coding/protected-paths.d.ts +31 -0
- package/dist/coding/protected-paths.js +48 -0
- package/dist/coding/protocol.d.ts +99 -3
- package/dist/coding/protocol.js +155 -4
- package/dist/coding/registry/adapters.d.ts +2 -0
- package/dist/coding/registry/adapters.js +9 -0
- package/dist/coding/registry/allowlist.d.ts +9 -0
- package/dist/coding/registry/allowlist.js +28 -0
- package/dist/coding/registry/json-scan.d.ts +55 -0
- package/dist/coding/registry/json-scan.js +191 -0
- package/dist/coding/registry/lockfiles.d.ts +6 -0
- package/dist/coding/registry/lockfiles.js +89 -0
- package/dist/coding/registry/npm-lockfile.d.ts +9 -0
- package/dist/coding/registry/npm-lockfile.js +73 -0
- package/dist/coding/registry/npm-plan.d.ts +29 -0
- package/dist/coding/registry/npm-plan.js +289 -0
- package/dist/coding/registry/npm.d.ts +7 -0
- package/dist/coding/registry/npm.js +252 -0
- package/dist/coding/registry/pypi.d.ts +4 -0
- package/dist/coding/registry/pypi.js +210 -0
- package/dist/coding/registry/report.d.ts +37 -0
- package/dist/coding/registry/report.js +31 -0
- package/dist/coding/registry/token.d.ts +4 -0
- package/dist/coding/registry/token.js +7 -0
- package/dist/coding/registry/types.d.ts +286 -0
- package/dist/coding/registry/types.js +19 -0
- package/dist/coding/registry/worker-config.d.ts +14 -0
- package/dist/coding/registry/worker-config.js +31 -0
- package/dist/coding/services/builtins.d.ts +22 -0
- package/dist/coding/services/builtins.js +85 -0
- package/dist/coding/services/catalog.d.ts +443 -0
- package/dist/coding/services/catalog.js +159 -0
- package/dist/coding/services/declaration.d.ts +11 -0
- package/dist/coding/services/declaration.js +114 -0
- package/dist/coding/services/note.d.ts +8 -0
- package/dist/coding/services/note.js +15 -0
- package/dist/coding/services/resolve.d.ts +25 -0
- package/dist/coding/services/resolve.js +50 -0
- package/dist/coding/services/wording.d.ts +25 -0
- package/dist/coding/services/wording.js +70 -0
- package/dist/coding-proxy/main.js +24 -4
- package/dist/coding-worker/artifact.d.ts +18 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/debug-trace.d.ts +37 -0
- package/dist/coding-worker/debug-trace.js +117 -0
- package/dist/coding-worker/driver.d.ts +14 -1
- package/dist/coding-worker/driver.js +106 -14
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +26 -0
- package/dist/coding-worker/main.js +13 -4
- package/dist/coding-worker/sdk.d.ts +2 -2
- package/dist/coding-worker/sdk.js +7 -2
- package/dist/coding-worker/types.d.ts +3 -0
- package/dist/config/providers.d.ts +41 -0
- package/dist/config/providers.js +66 -0
- package/dist/core/budget-groups.d.ts +109 -6
- package/dist/core/budget-groups.js +125 -19
- package/dist/core/budget-wording.d.ts +22 -0
- package/dist/core/budget-wording.js +55 -0
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/datastores.js +18 -2
- package/dist/core/db.d.ts +40 -2
- package/dist/core/db.js +75 -2
- package/dist/core/dispatch.d.ts +49 -7
- package/dist/core/dispatch.js +290 -45
- package/dist/core/engine-native.js +27 -10
- package/dist/core/grants.d.ts +86 -0
- package/dist/core/grants.js +126 -0
- package/dist/core/host-events.d.ts +49 -0
- package/dist/core/host-events.js +257 -0
- package/dist/core/host-identity-links.d.ts +54 -0
- package/dist/core/host-identity-links.js +189 -0
- package/dist/core/host-status.d.ts +61 -0
- package/dist/core/host-status.js +211 -0
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +39 -3
- package/dist/core/reconciler.js +86 -2
- package/dist/core/repo-access.d.ts +99 -0
- package/dist/core/repo-access.js +136 -0
- package/dist/core/review-host-checks.d.ts +11 -0
- package/dist/core/review-host-checks.js +41 -0
- package/dist/core/review-host-tools.d.ts +47 -0
- package/dist/core/review-host-tools.js +347 -0
- package/dist/core/run-heartbeat.d.ts +27 -0
- package/dist/core/run-heartbeat.js +54 -0
- package/dist/core/runner.d.ts +31 -9
- package/dist/core/runner.js +237 -40
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +12 -3
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +2 -2
- package/dist/core/subagent-memory-tools.js +16 -3
- package/dist/core/tool-admin.d.ts +81 -0
- package/dist/core/tool-admin.js +129 -0
- package/dist/core/tool-names.d.ts +42 -0
- package/dist/core/tool-names.js +64 -0
- package/dist/core/untrusted-content.d.ts +32 -0
- package/dist/core/untrusted-content.js +72 -0
- package/dist/core/webhooks.d.ts +9 -2
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +328 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +347 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +839 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +59 -0
- package/dist/generated/prisma/internal/class.d.ts +605 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +4494 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +628 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +635 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +599 -0
- package/dist/generated/prisma/models/Agent.d.ts +3560 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1403 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1700 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1681 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1626 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +3583 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
- package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
- package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
- package/dist/generated/prisma/models/HostIdentity.js +1 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +2245 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
- package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
- package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
- package/dist/generated/prisma/models/RegistryFetch.js +1 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
- package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
- package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
- package/dist/generated/prisma/models/ResourceGrant.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2669 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
- package/dist/generated/prisma/models/RunHostCheck.js +1 -0
- package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
- package/dist/generated/prisma/models/RunHostStatus.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1490 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +45 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/help/build.d.ts +1 -0
- package/dist/help/build.js +9 -0
- package/dist/help/catalog.d.ts +24 -0
- package/dist/help/catalog.js +160 -0
- package/dist/help/cli.d.ts +2 -0
- package/dist/help/cli.js +65 -0
- package/dist/help/runtime.d.ts +3 -0
- package/dist/help/runtime.js +44 -0
- package/dist/help/search.d.ts +9 -0
- package/dist/help/search.js +104 -0
- package/dist/help-index.json +660 -0
- package/dist/import/cli-args.js +3 -2
- package/dist/import/create.d.ts +6 -1
- package/dist/import/create.js +68 -14
- package/dist/import/index.d.ts +1 -1
- package/dist/import/index.js +19 -9
- package/dist/import/neutral-schema.d.ts +11 -11
- package/dist/mcp/auth/access.d.ts +70 -0
- package/dist/mcp/auth/access.js +58 -0
- package/dist/mcp/auth/grants-cli.d.ts +149 -0
- package/dist/mcp/auth/grants-cli.js +518 -0
- package/dist/mcp/auth/host-account-cli.d.ts +2 -0
- package/dist/mcp/auth/host-account-cli.js +47 -0
- package/dist/mcp/auth/ownership.d.ts +37 -63
- package/dist/mcp/auth/ownership.js +19 -14
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/repo-authorization.d.ts +22 -0
- package/dist/mcp/auth/repo-authorization.js +51 -0
- package/dist/mcp/auth/resource-server.d.ts +32 -3
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +22 -8
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +21 -3
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +3 -2
- package/dist/mcp/context.d.ts +28 -2
- package/dist/mcp/errors.d.ts +25 -6
- package/dist/mcp/errors.js +98 -0
- package/dist/mcp/host-events/github-ingress.d.ts +36 -0
- package/dist/mcp/host-events/github-ingress.js +92 -0
- package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
- package/dist/mcp/host-events/github-user-callback.js +50 -0
- package/dist/mcp/index.d.ts +8 -1
- package/dist/mcp/index.js +106 -16
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +27 -9
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +447 -49
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +23 -16
- package/dist/mcp/tools/grants.d.ts +2 -0
- package/dist/mcp/tools/grants.js +239 -0
- package/dist/mcp/tools/help.d.ts +5 -0
- package/dist/mcp/tools/help.js +67 -0
- package/dist/mcp/tools/host-accounts.d.ts +2 -0
- package/dist/mcp/tools/host-accounts.js +114 -0
- package/dist/mcp/tools/memory.d.ts +7 -1
- package/dist/mcp/tools/memory.js +5 -5
- package/dist/mcp/tools/repositories.d.ts +2 -0
- package/dist/mcp/tools/repositories.js +181 -0
- package/dist/mcp/tools/runs.d.ts +6 -0
- package/dist/mcp/tools/runs.js +60 -6
- package/dist/mcp/tools/scheduling.js +4 -7
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/secrets.js +18 -6
- package/dist/mcp/tools/services.d.ts +2 -0
- package/dist/mcp/tools/services.js +222 -0
- package/dist/mcp/tools/subagents.js +53 -17
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +202 -41
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +11 -1
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +3 -1
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +4 -3
- package/dist/providers/auth/self-hosted.js +16 -4
- package/dist/providers/auth/types.d.ts +6 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
- package/dist/providers/coding-proxy/memory-ledger.js +21 -2
- package/dist/providers/coding-proxy/metering.d.ts +4 -0
- package/dist/providers/coding-proxy/metering.js +28 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +18 -1
- package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
- package/dist/providers/coding-proxy/proxy.d.ts +13 -0
- package/dist/providers/coding-proxy/proxy.js +479 -18
- package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
- package/dist/providers/coding-proxy/registry/audit.js +380 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
- package/dist/providers/coding-proxy/registry/plan.js +304 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
- package/dist/providers/coding-proxy/registry/service.js +1137 -0
- package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
- package/dist/providers/coding-proxy/registry/store.js +70 -0
- package/dist/providers/coding-proxy/runtime.d.ts +18 -1
- package/dist/providers/coding-proxy/runtime.js +63 -0
- package/dist/providers/coding-proxy/secure-fetch.js +0 -1
- package/dist/providers/coding-proxy/server.d.ts +11 -0
- package/dist/providers/coding-proxy/server.js +163 -0
- package/dist/providers/coding-proxy/types.d.ts +15 -0
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +3 -3
- package/dist/providers/executor/composition.d.ts +4 -1
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +106 -4
- package/dist/providers/executor/container.js +305 -22
- package/dist/providers/executor/dbos.d.ts +3 -4
- package/dist/providers/executor/in-process.d.ts +2 -3
- package/dist/providers/executor/routing.d.ts +7 -0
- package/dist/providers/executor/routing.js +13 -0
- package/dist/providers/executor/types.d.ts +22 -0
- package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
- package/dist/providers/jobs/claude-tool-setup.js +50 -0
- package/dist/providers/jobs/collect-prune.d.ts +7 -0
- package/dist/providers/jobs/collect-prune.js +27 -0
- package/dist/providers/jobs/docker-isolation.d.ts +48 -3
- package/dist/providers/jobs/docker-isolation.js +213 -22
- package/dist/providers/jobs/docker-services.d.ts +35 -0
- package/dist/providers/jobs/docker-services.js +191 -0
- package/dist/providers/jobs/docker.d.ts +60 -2
- package/dist/providers/jobs/docker.js +313 -50
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
- package/dist/providers/jobs/kubernetes-isolation.js +238 -57
- package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
- package/dist/providers/jobs/kubernetes-platform.js +11 -5
- package/dist/providers/jobs/kubernetes-preflight.js +3 -0
- package/dist/providers/jobs/kubernetes.d.ts +21 -2
- package/dist/providers/jobs/kubernetes.js +117 -31
- package/dist/providers/jobs/types.d.ts +20 -0
- package/dist/providers/llm/anthropic.js +6 -2
- package/dist/providers/llm/bedrock.js +2 -1
- package/dist/providers/llm/claude-messages.d.ts +5 -1
- package/dist/providers/llm/claude-messages.js +1 -0
- package/dist/providers/llm/claude-provider.d.ts +3 -1
- package/dist/providers/llm/claude-provider.js +5 -1
- package/dist/providers/llm/index.d.ts +1 -1
- package/dist/providers/llm/index.js +1 -1
- package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
- package/dist/providers/llm/pricing-anthropic.js +32 -14
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
- package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
- package/dist/providers/llm/routing.d.ts +10 -1
- package/dist/providers/llm/routing.js +18 -0
- package/dist/providers/llm/types.d.ts +12 -0
- package/dist/providers/llm/types.js +8 -1
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/review-host/diff-lines.d.ts +16 -0
- package/dist/providers/review-host/diff-lines.js +59 -0
- package/dist/providers/review-host/github-events.d.ts +6 -0
- package/dist/providers/review-host/github-events.js +180 -0
- package/dist/providers/review-host/github-user-auth.d.ts +38 -0
- package/dist/providers/review-host/github-user-auth.js +128 -0
- package/dist/providers/review-host/github.d.ts +57 -0
- package/dist/providers/review-host/github.js +567 -0
- package/dist/providers/review-host/index.d.ts +12 -0
- package/dist/providers/review-host/index.js +30 -0
- package/dist/providers/review-host/review-format.d.ts +19 -0
- package/dist/providers/review-host/review-format.js +59 -0
- package/dist/providers/review-host/types.d.ts +284 -0
- package/dist/providers/review-host/types.js +24 -0
- package/dist/providers/vcs/git.d.ts +16 -6
- package/dist/providers/vcs/git.js +79 -14
- package/dist/providers/vcs/github.d.ts +74 -3
- package/dist/providers/vcs/github.js +195 -15
- package/dist/providers/vcs/types.d.ts +42 -4
- package/dist/quickstart/index.js +34 -32
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/dist/sandbox/fetch-policy.d.ts +20 -2
- package/dist/sandbox/fetch-policy.js +64 -3
- package/dist/sandbox/host-functions.d.ts +9 -1
- package/dist/sandbox/host-functions.js +12 -5
- package/dist/serve.js +1 -1
- package/dist/wardby-bin.js +6 -0
- package/docs/README.md +30 -0
- package/docs/architecture-runtime.md +90 -0
- package/docs/assets/brand/wardby-icon-512.png +0 -0
- package/docs/assets/brand/wardby-icon.svg +16 -0
- package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
- package/docs/assets/brand/wardby-mascot.png +0 -0
- package/docs/assets/brand/wardby-mascot.svg +5 -0
- package/docs/assets/wardby-workflow.svg +106 -0
- package/docs/code-review-agents.md +481 -0
- package/docs/coding-agent-setup.md +172 -0
- package/docs/coding-packages.md +455 -0
- package/docs/coding-services.md +300 -0
- package/docs/coding-worker-byo-images.md +98 -0
- package/docs/coding-worker-isolation.md +1061 -0
- package/docs/getting-started-gke.md +615 -0
- package/docs/getting-started-identity-provider.md +308 -0
- package/docs/getting-started.md +133 -0
- package/docs/observability.md +53 -0
- package/docs/release-verification.md +66 -0
- package/docs/security-deployment.md +657 -0
- package/help/code-review-agents.md +31 -0
- package/help/coding-packages.md +31 -0
- package/help/coding-services.md +71 -0
- package/help/creating-agents.md +68 -0
- package/help/deploy-gke.md +39 -0
- package/help/deployment-targets.md +39 -0
- package/help/errors/budget-group-exhausted.md +25 -0
- package/help/errors/docker-isolation-unsupported.md +26 -0
- package/help/errors/protected-path.md +45 -0
- package/help/errors/repo-access.md +27 -0
- package/help/errors/service-declaration-invalid.md +27 -0
- package/help/errors/service-declaration-unavailable.md +25 -0
- package/help/errors/service-launcher-unsupported.md +30 -0
- package/help/errors/service-not-allowed.md +27 -0
- package/help/errors/service-unknown.md +23 -0
- package/help/errors/service-unready.md +49 -0
- package/help/getting-started.md +31 -0
- package/help/github.md +30 -0
- package/help/identity-and-access.md +39 -0
- package/help/mcp.md +30 -0
- package/help/native-capabilities.md +30 -0
- package/help/observability.md +41 -0
- package/help/operating-agents.md +30 -0
- package/help/security.md +27 -0
- package/help/troubleshooting/budgets.md +26 -0
- package/help/troubleshooting/coding-workers.md +47 -0
- package/help/troubleshooting/repository-access.md +27 -0
- package/package.json +30 -11
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
- package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
- package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
- package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
- package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
- package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
- package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
- package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
- package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
- package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
- package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
- package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
- package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
- package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
- package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
- package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
- package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
- package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
- package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
- package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
- package/prisma/schema.prisma +417 -23
|
@@ -0,0 +1,605 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./prismaNamespace.js";
|
|
3
|
+
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
+
export interface PrismaClientConstructor {
|
|
5
|
+
/**
|
|
6
|
+
* ## Prisma Client
|
|
7
|
+
*
|
|
8
|
+
* Type-safe database client for TypeScript
|
|
9
|
+
* @example
|
|
10
|
+
* ```
|
|
11
|
+
* const prisma = new PrismaClient({
|
|
12
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
13
|
+
* })
|
|
14
|
+
* // Fetch zero or more Agents
|
|
15
|
+
* const agents = await prisma.agent.findMany()
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
19
|
+
*/
|
|
20
|
+
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
21
|
+
omit: infer U;
|
|
22
|
+
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.PrismaClientConstructorArgs<Options>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ## Prisma Client
|
|
26
|
+
*
|
|
27
|
+
* Type-safe database client for TypeScript
|
|
28
|
+
* @example
|
|
29
|
+
* ```
|
|
30
|
+
* const prisma = new PrismaClient({
|
|
31
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
32
|
+
* })
|
|
33
|
+
* // Fetch zero or more Agents
|
|
34
|
+
* const agents = await prisma.agent.findMany()
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
38
|
+
*/
|
|
39
|
+
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'], in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
40
|
+
[K: symbol]: {
|
|
41
|
+
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
42
|
+
};
|
|
43
|
+
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
44
|
+
/**
|
|
45
|
+
* Connect with the database
|
|
46
|
+
*/
|
|
47
|
+
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Disconnect from the database
|
|
50
|
+
*/
|
|
51
|
+
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Executes a prepared raw query and returns the number of affected rows.
|
|
54
|
+
* @example
|
|
55
|
+
* ```
|
|
56
|
+
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
60
|
+
*/
|
|
61
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Executes a raw query and returns the number of affected rows.
|
|
64
|
+
* Susceptible to SQL injections, see documentation.
|
|
65
|
+
* @example
|
|
66
|
+
* ```
|
|
67
|
+
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
71
|
+
*/
|
|
72
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Performs a prepared raw query and returns the `SELECT` data.
|
|
75
|
+
* @example
|
|
76
|
+
* ```
|
|
77
|
+
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
81
|
+
*/
|
|
82
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
83
|
+
/**
|
|
84
|
+
* Performs a raw query and returns the `SELECT` data.
|
|
85
|
+
* Susceptible to SQL injections, see documentation.
|
|
86
|
+
* @example
|
|
87
|
+
* ```
|
|
88
|
+
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
92
|
+
*/
|
|
93
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
94
|
+
/**
|
|
95
|
+
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
96
|
+
* @example
|
|
97
|
+
* ```
|
|
98
|
+
* const [george, bob, alice] = await prisma.$transaction([
|
|
99
|
+
* prisma.user.create({ data: { name: 'George' } }),
|
|
100
|
+
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
101
|
+
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
102
|
+
* ])
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
106
|
+
*/
|
|
107
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
108
|
+
maxWait?: number;
|
|
109
|
+
timeout?: number;
|
|
110
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
111
|
+
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
112
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
113
|
+
maxWait?: number;
|
|
114
|
+
timeout?: number;
|
|
115
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
116
|
+
}): runtime.Types.Utils.JsPromise<R>;
|
|
117
|
+
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
118
|
+
extArgs: ExtArgs;
|
|
119
|
+
}>>;
|
|
120
|
+
/**
|
|
121
|
+
* `prisma.agent`: Exposes CRUD operations for the **Agent** model.
|
|
122
|
+
* Example usage:
|
|
123
|
+
* ```ts
|
|
124
|
+
* // Fetch zero or more Agents
|
|
125
|
+
* const agents = await prisma.agent.findMany()
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get agent(): Prisma.AgentDelegate<ExtArgs, {
|
|
129
|
+
omit: OmitOpts;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* `prisma.agentSubAgent`: Exposes CRUD operations for the **AgentSubAgent** model.
|
|
133
|
+
* Example usage:
|
|
134
|
+
* ```ts
|
|
135
|
+
* // Fetch zero or more AgentSubAgents
|
|
136
|
+
* const agentSubAgents = await prisma.agentSubAgent.findMany()
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
get agentSubAgent(): Prisma.AgentSubAgentDelegate<ExtArgs, {
|
|
140
|
+
omit: OmitOpts;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* `prisma.budgetGroup`: Exposes CRUD operations for the **BudgetGroup** model.
|
|
144
|
+
* Example usage:
|
|
145
|
+
* ```ts
|
|
146
|
+
* // Fetch zero or more BudgetGroups
|
|
147
|
+
* const budgetGroups = await prisma.budgetGroup.findMany()
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
get budgetGroup(): Prisma.BudgetGroupDelegate<ExtArgs, {
|
|
151
|
+
omit: OmitOpts;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* `prisma.tool`: Exposes CRUD operations for the **Tool** model.
|
|
155
|
+
* Example usage:
|
|
156
|
+
* ```ts
|
|
157
|
+
* // Fetch zero or more Tools
|
|
158
|
+
* const tools = await prisma.tool.findMany()
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
get tool(): Prisma.ToolDelegate<ExtArgs, {
|
|
162
|
+
omit: OmitOpts;
|
|
163
|
+
}>;
|
|
164
|
+
/**
|
|
165
|
+
* `prisma.agentTool`: Exposes CRUD operations for the **AgentTool** model.
|
|
166
|
+
* Example usage:
|
|
167
|
+
* ```ts
|
|
168
|
+
* // Fetch zero or more AgentTools
|
|
169
|
+
* const agentTools = await prisma.agentTool.findMany()
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
get agentTool(): Prisma.AgentToolDelegate<ExtArgs, {
|
|
173
|
+
omit: OmitOpts;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* `prisma.datastore`: Exposes CRUD operations for the **Datastore** model.
|
|
177
|
+
* Example usage:
|
|
178
|
+
* ```ts
|
|
179
|
+
* // Fetch zero or more Datastores
|
|
180
|
+
* const datastores = await prisma.datastore.findMany()
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
get datastore(): Prisma.DatastoreDelegate<ExtArgs, {
|
|
184
|
+
omit: OmitOpts;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* `prisma.agentDatastore`: Exposes CRUD operations for the **AgentDatastore** model.
|
|
188
|
+
* Example usage:
|
|
189
|
+
* ```ts
|
|
190
|
+
* // Fetch zero or more AgentDatastores
|
|
191
|
+
* const agentDatastores = await prisma.agentDatastore.findMany()
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
get agentDatastore(): Prisma.AgentDatastoreDelegate<ExtArgs, {
|
|
195
|
+
omit: OmitOpts;
|
|
196
|
+
}>;
|
|
197
|
+
/**
|
|
198
|
+
* `prisma.datastoreEntry`: Exposes CRUD operations for the **DatastoreEntry** model.
|
|
199
|
+
* Example usage:
|
|
200
|
+
* ```ts
|
|
201
|
+
* // Fetch zero or more DatastoreEntries
|
|
202
|
+
* const datastoreEntries = await prisma.datastoreEntry.findMany()
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
get datastoreEntry(): Prisma.DatastoreEntryDelegate<ExtArgs, {
|
|
206
|
+
omit: OmitOpts;
|
|
207
|
+
}>;
|
|
208
|
+
/**
|
|
209
|
+
* `prisma.agentMemory`: Exposes CRUD operations for the **AgentMemory** model.
|
|
210
|
+
* Example usage:
|
|
211
|
+
* ```ts
|
|
212
|
+
* // Fetch zero or more AgentMemories
|
|
213
|
+
* const agentMemories = await prisma.agentMemory.findMany()
|
|
214
|
+
* ```
|
|
215
|
+
*/
|
|
216
|
+
get agentMemory(): Prisma.AgentMemoryDelegate<ExtArgs, {
|
|
217
|
+
omit: OmitOpts;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* `prisma.run`: Exposes CRUD operations for the **Run** model.
|
|
221
|
+
* Example usage:
|
|
222
|
+
* ```ts
|
|
223
|
+
* // Fetch zero or more Runs
|
|
224
|
+
* const runs = await prisma.run.findMany()
|
|
225
|
+
* ```
|
|
226
|
+
*/
|
|
227
|
+
get run(): Prisma.RunDelegate<ExtArgs, {
|
|
228
|
+
omit: OmitOpts;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* `prisma.codingAgentProfile`: Exposes CRUD operations for the **CodingAgentProfile** model.
|
|
232
|
+
* Example usage:
|
|
233
|
+
* ```ts
|
|
234
|
+
* // Fetch zero or more CodingAgentProfiles
|
|
235
|
+
* const codingAgentProfiles = await prisma.codingAgentProfile.findMany()
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
get codingAgentProfile(): Prisma.CodingAgentProfileDelegate<ExtArgs, {
|
|
239
|
+
omit: OmitOpts;
|
|
240
|
+
}>;
|
|
241
|
+
/**
|
|
242
|
+
* `prisma.codingRun`: Exposes CRUD operations for the **CodingRun** model.
|
|
243
|
+
* Example usage:
|
|
244
|
+
* ```ts
|
|
245
|
+
* // Fetch zero or more CodingRuns
|
|
246
|
+
* const codingRuns = await prisma.codingRun.findMany()
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
249
|
+
get codingRun(): Prisma.CodingRunDelegate<ExtArgs, {
|
|
250
|
+
omit: OmitOpts;
|
|
251
|
+
}>;
|
|
252
|
+
/**
|
|
253
|
+
* `prisma.codingService`: Exposes CRUD operations for the **CodingService** model.
|
|
254
|
+
* Example usage:
|
|
255
|
+
* ```ts
|
|
256
|
+
* // Fetch zero or more CodingServices
|
|
257
|
+
* const codingServices = await prisma.codingService.findMany()
|
|
258
|
+
* ```
|
|
259
|
+
*/
|
|
260
|
+
get codingService(): Prisma.CodingServiceDelegate<ExtArgs, {
|
|
261
|
+
omit: OmitOpts;
|
|
262
|
+
}>;
|
|
263
|
+
/**
|
|
264
|
+
* `prisma.codingProxySession`: Exposes CRUD operations for the **CodingProxySession** model.
|
|
265
|
+
* Example usage:
|
|
266
|
+
* ```ts
|
|
267
|
+
* // Fetch zero or more CodingProxySessions
|
|
268
|
+
* const codingProxySessions = await prisma.codingProxySession.findMany()
|
|
269
|
+
* ```
|
|
270
|
+
*/
|
|
271
|
+
get codingProxySession(): Prisma.CodingProxySessionDelegate<ExtArgs, {
|
|
272
|
+
omit: OmitOpts;
|
|
273
|
+
}>;
|
|
274
|
+
/**
|
|
275
|
+
* `prisma.codingProxyRequest`: Exposes CRUD operations for the **CodingProxyRequest** model.
|
|
276
|
+
* Example usage:
|
|
277
|
+
* ```ts
|
|
278
|
+
* // Fetch zero or more CodingProxyRequests
|
|
279
|
+
* const codingProxyRequests = await prisma.codingProxyRequest.findMany()
|
|
280
|
+
* ```
|
|
281
|
+
*/
|
|
282
|
+
get codingProxyRequest(): Prisma.CodingProxyRequestDelegate<ExtArgs, {
|
|
283
|
+
omit: OmitOpts;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* `prisma.registryAllowance`: Exposes CRUD operations for the **RegistryAllowance** model.
|
|
287
|
+
* Example usage:
|
|
288
|
+
* ```ts
|
|
289
|
+
* // Fetch zero or more RegistryAllowances
|
|
290
|
+
* const registryAllowances = await prisma.registryAllowance.findMany()
|
|
291
|
+
* ```
|
|
292
|
+
*/
|
|
293
|
+
get registryAllowance(): Prisma.RegistryAllowanceDelegate<ExtArgs, {
|
|
294
|
+
omit: OmitOpts;
|
|
295
|
+
}>;
|
|
296
|
+
/**
|
|
297
|
+
* `prisma.registryFetch`: Exposes CRUD operations for the **RegistryFetch** model.
|
|
298
|
+
* Example usage:
|
|
299
|
+
* ```ts
|
|
300
|
+
* // Fetch zero or more RegistryFetches
|
|
301
|
+
* const registryFetches = await prisma.registryFetch.findMany()
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
304
|
+
get registryFetch(): Prisma.RegistryFetchDelegate<ExtArgs, {
|
|
305
|
+
omit: OmitOpts;
|
|
306
|
+
}>;
|
|
307
|
+
/**
|
|
308
|
+
* `prisma.registryVersionFact`: Exposes CRUD operations for the **RegistryVersionFact** model.
|
|
309
|
+
* Example usage:
|
|
310
|
+
* ```ts
|
|
311
|
+
* // Fetch zero or more RegistryVersionFacts
|
|
312
|
+
* const registryVersionFacts = await prisma.registryVersionFact.findMany()
|
|
313
|
+
* ```
|
|
314
|
+
*/
|
|
315
|
+
get registryVersionFact(): Prisma.RegistryVersionFactDelegate<ExtArgs, {
|
|
316
|
+
omit: OmitOpts;
|
|
317
|
+
}>;
|
|
318
|
+
/**
|
|
319
|
+
* `prisma.registryApprovedVersion`: Exposes CRUD operations for the **RegistryApprovedVersion** model.
|
|
320
|
+
* Example usage:
|
|
321
|
+
* ```ts
|
|
322
|
+
* // Fetch zero or more RegistryApprovedVersions
|
|
323
|
+
* const registryApprovedVersions = await prisma.registryApprovedVersion.findMany()
|
|
324
|
+
* ```
|
|
325
|
+
*/
|
|
326
|
+
get registryApprovedVersion(): Prisma.RegistryApprovedVersionDelegate<ExtArgs, {
|
|
327
|
+
omit: OmitOpts;
|
|
328
|
+
}>;
|
|
329
|
+
/**
|
|
330
|
+
* `prisma.registryPlanRefusal`: Exposes CRUD operations for the **RegistryPlanRefusal** model.
|
|
331
|
+
* Example usage:
|
|
332
|
+
* ```ts
|
|
333
|
+
* // Fetch zero or more RegistryPlanRefusals
|
|
334
|
+
* const registryPlanRefusals = await prisma.registryPlanRefusal.findMany()
|
|
335
|
+
* ```
|
|
336
|
+
*/
|
|
337
|
+
get registryPlanRefusal(): Prisma.RegistryPlanRefusalDelegate<ExtArgs, {
|
|
338
|
+
omit: OmitOpts;
|
|
339
|
+
}>;
|
|
340
|
+
/**
|
|
341
|
+
* `prisma.schedulerLease`: Exposes CRUD operations for the **SchedulerLease** model.
|
|
342
|
+
* Example usage:
|
|
343
|
+
* ```ts
|
|
344
|
+
* // Fetch zero or more SchedulerLeases
|
|
345
|
+
* const schedulerLeases = await prisma.schedulerLease.findMany()
|
|
346
|
+
* ```
|
|
347
|
+
*/
|
|
348
|
+
get schedulerLease(): Prisma.SchedulerLeaseDelegate<ExtArgs, {
|
|
349
|
+
omit: OmitOpts;
|
|
350
|
+
}>;
|
|
351
|
+
/**
|
|
352
|
+
* `prisma.principal`: Exposes CRUD operations for the **Principal** model.
|
|
353
|
+
* Example usage:
|
|
354
|
+
* ```ts
|
|
355
|
+
* // Fetch zero or more Principals
|
|
356
|
+
* const principals = await prisma.principal.findMany()
|
|
357
|
+
* ```
|
|
358
|
+
*/
|
|
359
|
+
get principal(): Prisma.PrincipalDelegate<ExtArgs, {
|
|
360
|
+
omit: OmitOpts;
|
|
361
|
+
}>;
|
|
362
|
+
/**
|
|
363
|
+
* `prisma.resourceGrant`: Exposes CRUD operations for the **ResourceGrant** model.
|
|
364
|
+
* Example usage:
|
|
365
|
+
* ```ts
|
|
366
|
+
* // Fetch zero or more ResourceGrants
|
|
367
|
+
* const resourceGrants = await prisma.resourceGrant.findMany()
|
|
368
|
+
* ```
|
|
369
|
+
*/
|
|
370
|
+
get resourceGrant(): Prisma.ResourceGrantDelegate<ExtArgs, {
|
|
371
|
+
omit: OmitOpts;
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
* `prisma.task`: Exposes CRUD operations for the **Task** model.
|
|
375
|
+
* Example usage:
|
|
376
|
+
* ```ts
|
|
377
|
+
* // Fetch zero or more Tasks
|
|
378
|
+
* const tasks = await prisma.task.findMany()
|
|
379
|
+
* ```
|
|
380
|
+
*/
|
|
381
|
+
get task(): Prisma.TaskDelegate<ExtArgs, {
|
|
382
|
+
omit: OmitOpts;
|
|
383
|
+
}>;
|
|
384
|
+
/**
|
|
385
|
+
* `prisma.secret`: Exposes CRUD operations for the **Secret** model.
|
|
386
|
+
* Example usage:
|
|
387
|
+
* ```ts
|
|
388
|
+
* // Fetch zero or more Secrets
|
|
389
|
+
* const secrets = await prisma.secret.findMany()
|
|
390
|
+
* ```
|
|
391
|
+
*/
|
|
392
|
+
get secret(): Prisma.SecretDelegate<ExtArgs, {
|
|
393
|
+
omit: OmitOpts;
|
|
394
|
+
}>;
|
|
395
|
+
/**
|
|
396
|
+
* `prisma.agentSecret`: Exposes CRUD operations for the **AgentSecret** model.
|
|
397
|
+
* Example usage:
|
|
398
|
+
* ```ts
|
|
399
|
+
* // Fetch zero or more AgentSecrets
|
|
400
|
+
* const agentSecrets = await prisma.agentSecret.findMany()
|
|
401
|
+
* ```
|
|
402
|
+
*/
|
|
403
|
+
get agentSecret(): Prisma.AgentSecretDelegate<ExtArgs, {
|
|
404
|
+
omit: OmitOpts;
|
|
405
|
+
}>;
|
|
406
|
+
/**
|
|
407
|
+
* `prisma.secretElicitationOutcome`: Exposes CRUD operations for the **SecretElicitationOutcome** model.
|
|
408
|
+
* Example usage:
|
|
409
|
+
* ```ts
|
|
410
|
+
* // Fetch zero or more SecretElicitationOutcomes
|
|
411
|
+
* const secretElicitationOutcomes = await prisma.secretElicitationOutcome.findMany()
|
|
412
|
+
* ```
|
|
413
|
+
*/
|
|
414
|
+
get secretElicitationOutcome(): Prisma.SecretElicitationOutcomeDelegate<ExtArgs, {
|
|
415
|
+
omit: OmitOpts;
|
|
416
|
+
}>;
|
|
417
|
+
/**
|
|
418
|
+
* `prisma.webhook`: Exposes CRUD operations for the **Webhook** model.
|
|
419
|
+
* Example usage:
|
|
420
|
+
* ```ts
|
|
421
|
+
* // Fetch zero or more Webhooks
|
|
422
|
+
* const webhooks = await prisma.webhook.findMany()
|
|
423
|
+
* ```
|
|
424
|
+
*/
|
|
425
|
+
get webhook(): Prisma.WebhookDelegate<ExtArgs, {
|
|
426
|
+
omit: OmitOpts;
|
|
427
|
+
}>;
|
|
428
|
+
/**
|
|
429
|
+
* `prisma.oAuthClient`: Exposes CRUD operations for the **OAuthClient** model.
|
|
430
|
+
* Example usage:
|
|
431
|
+
* ```ts
|
|
432
|
+
* // Fetch zero or more OAuthClients
|
|
433
|
+
* const oAuthClients = await prisma.oAuthClient.findMany()
|
|
434
|
+
* ```
|
|
435
|
+
*/
|
|
436
|
+
get oAuthClient(): Prisma.OAuthClientDelegate<ExtArgs, {
|
|
437
|
+
omit: OmitOpts;
|
|
438
|
+
}>;
|
|
439
|
+
/**
|
|
440
|
+
* `prisma.oAuthGrant`: Exposes CRUD operations for the **OAuthGrant** model.
|
|
441
|
+
* Example usage:
|
|
442
|
+
* ```ts
|
|
443
|
+
* // Fetch zero or more OAuthGrants
|
|
444
|
+
* const oAuthGrants = await prisma.oAuthGrant.findMany()
|
|
445
|
+
* ```
|
|
446
|
+
*/
|
|
447
|
+
get oAuthGrant(): Prisma.OAuthGrantDelegate<ExtArgs, {
|
|
448
|
+
omit: OmitOpts;
|
|
449
|
+
}>;
|
|
450
|
+
/**
|
|
451
|
+
* `prisma.authUser`: Exposes CRUD operations for the **AuthUser** model.
|
|
452
|
+
* Example usage:
|
|
453
|
+
* ```ts
|
|
454
|
+
* // Fetch zero or more AuthUsers
|
|
455
|
+
* const authUsers = await prisma.authUser.findMany()
|
|
456
|
+
* ```
|
|
457
|
+
*/
|
|
458
|
+
get authUser(): Prisma.AuthUserDelegate<ExtArgs, {
|
|
459
|
+
omit: OmitOpts;
|
|
460
|
+
}>;
|
|
461
|
+
/**
|
|
462
|
+
* `prisma.authLoginKey`: Exposes CRUD operations for the **AuthLoginKey** model.
|
|
463
|
+
* Example usage:
|
|
464
|
+
* ```ts
|
|
465
|
+
* // Fetch zero or more AuthLoginKeys
|
|
466
|
+
* const authLoginKeys = await prisma.authLoginKey.findMany()
|
|
467
|
+
* ```
|
|
468
|
+
*/
|
|
469
|
+
get authLoginKey(): Prisma.AuthLoginKeyDelegate<ExtArgs, {
|
|
470
|
+
omit: OmitOpts;
|
|
471
|
+
}>;
|
|
472
|
+
/**
|
|
473
|
+
* `prisma.authSession`: Exposes CRUD operations for the **AuthSession** model.
|
|
474
|
+
* Example usage:
|
|
475
|
+
* ```ts
|
|
476
|
+
* // Fetch zero or more AuthSessions
|
|
477
|
+
* const authSessions = await prisma.authSession.findMany()
|
|
478
|
+
* ```
|
|
479
|
+
*/
|
|
480
|
+
get authSession(): Prisma.AuthSessionDelegate<ExtArgs, {
|
|
481
|
+
omit: OmitOpts;
|
|
482
|
+
}>;
|
|
483
|
+
/**
|
|
484
|
+
* `prisma.authFormChallenge`: Exposes CRUD operations for the **AuthFormChallenge** model.
|
|
485
|
+
* Example usage:
|
|
486
|
+
* ```ts
|
|
487
|
+
* // Fetch zero or more AuthFormChallenges
|
|
488
|
+
* const authFormChallenges = await prisma.authFormChallenge.findMany()
|
|
489
|
+
* ```
|
|
490
|
+
*/
|
|
491
|
+
get authFormChallenge(): Prisma.AuthFormChallengeDelegate<ExtArgs, {
|
|
492
|
+
omit: OmitOpts;
|
|
493
|
+
}>;
|
|
494
|
+
/**
|
|
495
|
+
* `prisma.oAuthAuthorizationRequest`: Exposes CRUD operations for the **OAuthAuthorizationRequest** model.
|
|
496
|
+
* Example usage:
|
|
497
|
+
* ```ts
|
|
498
|
+
* // Fetch zero or more OAuthAuthorizationRequests
|
|
499
|
+
* const oAuthAuthorizationRequests = await prisma.oAuthAuthorizationRequest.findMany()
|
|
500
|
+
* ```
|
|
501
|
+
*/
|
|
502
|
+
get oAuthAuthorizationRequest(): Prisma.OAuthAuthorizationRequestDelegate<ExtArgs, {
|
|
503
|
+
omit: OmitOpts;
|
|
504
|
+
}>;
|
|
505
|
+
/**
|
|
506
|
+
* `prisma.oAuthAuthorizationCode`: Exposes CRUD operations for the **OAuthAuthorizationCode** model.
|
|
507
|
+
* Example usage:
|
|
508
|
+
* ```ts
|
|
509
|
+
* // Fetch zero or more OAuthAuthorizationCodes
|
|
510
|
+
* const oAuthAuthorizationCodes = await prisma.oAuthAuthorizationCode.findMany()
|
|
511
|
+
* ```
|
|
512
|
+
*/
|
|
513
|
+
get oAuthAuthorizationCode(): Prisma.OAuthAuthorizationCodeDelegate<ExtArgs, {
|
|
514
|
+
omit: OmitOpts;
|
|
515
|
+
}>;
|
|
516
|
+
/**
|
|
517
|
+
* `prisma.oAuthFamily`: Exposes CRUD operations for the **OAuthFamily** model.
|
|
518
|
+
* Example usage:
|
|
519
|
+
* ```ts
|
|
520
|
+
* // Fetch zero or more OAuthFamilies
|
|
521
|
+
* const oAuthFamilies = await prisma.oAuthFamily.findMany()
|
|
522
|
+
* ```
|
|
523
|
+
*/
|
|
524
|
+
get oAuthFamily(): Prisma.OAuthFamilyDelegate<ExtArgs, {
|
|
525
|
+
omit: OmitOpts;
|
|
526
|
+
}>;
|
|
527
|
+
/**
|
|
528
|
+
* `prisma.authRateLimit`: Exposes CRUD operations for the **AuthRateLimit** model.
|
|
529
|
+
* Example usage:
|
|
530
|
+
* ```ts
|
|
531
|
+
* // Fetch zero or more AuthRateLimits
|
|
532
|
+
* const authRateLimits = await prisma.authRateLimit.findMany()
|
|
533
|
+
* ```
|
|
534
|
+
*/
|
|
535
|
+
get authRateLimit(): Prisma.AuthRateLimitDelegate<ExtArgs, {
|
|
536
|
+
omit: OmitOpts;
|
|
537
|
+
}>;
|
|
538
|
+
/**
|
|
539
|
+
* `prisma.agentRepository`: Exposes CRUD operations for the **AgentRepository** model.
|
|
540
|
+
* Example usage:
|
|
541
|
+
* ```ts
|
|
542
|
+
* // Fetch zero or more AgentRepositories
|
|
543
|
+
* const agentRepositories = await prisma.agentRepository.findMany()
|
|
544
|
+
* ```
|
|
545
|
+
*/
|
|
546
|
+
get agentRepository(): Prisma.AgentRepositoryDelegate<ExtArgs, {
|
|
547
|
+
omit: OmitOpts;
|
|
548
|
+
}>;
|
|
549
|
+
/**
|
|
550
|
+
* `prisma.runHostCheck`: Exposes CRUD operations for the **RunHostCheck** model.
|
|
551
|
+
* Example usage:
|
|
552
|
+
* ```ts
|
|
553
|
+
* // Fetch zero or more RunHostChecks
|
|
554
|
+
* const runHostChecks = await prisma.runHostCheck.findMany()
|
|
555
|
+
* ```
|
|
556
|
+
*/
|
|
557
|
+
get runHostCheck(): Prisma.RunHostCheckDelegate<ExtArgs, {
|
|
558
|
+
omit: OmitOpts;
|
|
559
|
+
}>;
|
|
560
|
+
/**
|
|
561
|
+
* `prisma.runHostStatus`: Exposes CRUD operations for the **RunHostStatus** model.
|
|
562
|
+
* Example usage:
|
|
563
|
+
* ```ts
|
|
564
|
+
* // Fetch zero or more RunHostStatuses
|
|
565
|
+
* const runHostStatuses = await prisma.runHostStatus.findMany()
|
|
566
|
+
* ```
|
|
567
|
+
*/
|
|
568
|
+
get runHostStatus(): Prisma.RunHostStatusDelegate<ExtArgs, {
|
|
569
|
+
omit: OmitOpts;
|
|
570
|
+
}>;
|
|
571
|
+
/**
|
|
572
|
+
* `prisma.hostEventDelivery`: Exposes CRUD operations for the **HostEventDelivery** model.
|
|
573
|
+
* Example usage:
|
|
574
|
+
* ```ts
|
|
575
|
+
* // Fetch zero or more HostEventDeliveries
|
|
576
|
+
* const hostEventDeliveries = await prisma.hostEventDelivery.findMany()
|
|
577
|
+
* ```
|
|
578
|
+
*/
|
|
579
|
+
get hostEventDelivery(): Prisma.HostEventDeliveryDelegate<ExtArgs, {
|
|
580
|
+
omit: OmitOpts;
|
|
581
|
+
}>;
|
|
582
|
+
/**
|
|
583
|
+
* `prisma.hostIdentity`: Exposes CRUD operations for the **HostIdentity** model.
|
|
584
|
+
* Example usage:
|
|
585
|
+
* ```ts
|
|
586
|
+
* // Fetch zero or more HostIdentities
|
|
587
|
+
* const hostIdentities = await prisma.hostIdentity.findMany()
|
|
588
|
+
* ```
|
|
589
|
+
*/
|
|
590
|
+
get hostIdentity(): Prisma.HostIdentityDelegate<ExtArgs, {
|
|
591
|
+
omit: OmitOpts;
|
|
592
|
+
}>;
|
|
593
|
+
/**
|
|
594
|
+
* `prisma.hostIdentityLinkRequest`: Exposes CRUD operations for the **HostIdentityLinkRequest** model.
|
|
595
|
+
* Example usage:
|
|
596
|
+
* ```ts
|
|
597
|
+
* // Fetch zero or more HostIdentityLinkRequests
|
|
598
|
+
* const hostIdentityLinkRequests = await prisma.hostIdentityLinkRequest.findMany()
|
|
599
|
+
* ```
|
|
600
|
+
*/
|
|
601
|
+
get hostIdentityLinkRequest(): Prisma.HostIdentityLinkRequestDelegate<ExtArgs, {
|
|
602
|
+
omit: OmitOpts;
|
|
603
|
+
}>;
|
|
604
|
+
}
|
|
605
|
+
export declare function getPrismaClientClass(): PrismaClientConstructor;
|