@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,599 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* WARNING: This is an internal file that is subject to change!
|
|
7
|
+
*
|
|
8
|
+
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
9
|
+
*
|
|
10
|
+
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
11
|
+
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
12
|
+
*
|
|
13
|
+
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
14
|
+
* model files in the `model` directory!
|
|
15
|
+
*/
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/index-browser";
|
|
17
|
+
export const Decimal = runtime.Decimal;
|
|
18
|
+
export const NullTypes = {
|
|
19
|
+
DbNull: runtime.NullTypes.DbNull,
|
|
20
|
+
JsonNull: runtime.NullTypes.JsonNull,
|
|
21
|
+
AnyNull: runtime.NullTypes.AnyNull,
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
25
|
+
*
|
|
26
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
27
|
+
*/
|
|
28
|
+
export const DbNull = runtime.DbNull;
|
|
29
|
+
/**
|
|
30
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
31
|
+
*
|
|
32
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
33
|
+
*/
|
|
34
|
+
export const JsonNull = runtime.JsonNull;
|
|
35
|
+
/**
|
|
36
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
37
|
+
*
|
|
38
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
39
|
+
*/
|
|
40
|
+
export const AnyNull = runtime.AnyNull;
|
|
41
|
+
export const ModelName = {
|
|
42
|
+
Agent: 'Agent',
|
|
43
|
+
AgentSubAgent: 'AgentSubAgent',
|
|
44
|
+
BudgetGroup: 'BudgetGroup',
|
|
45
|
+
Tool: 'Tool',
|
|
46
|
+
AgentTool: 'AgentTool',
|
|
47
|
+
Datastore: 'Datastore',
|
|
48
|
+
AgentDatastore: 'AgentDatastore',
|
|
49
|
+
DatastoreEntry: 'DatastoreEntry',
|
|
50
|
+
AgentMemory: 'AgentMemory',
|
|
51
|
+
Run: 'Run',
|
|
52
|
+
CodingAgentProfile: 'CodingAgentProfile',
|
|
53
|
+
CodingRun: 'CodingRun',
|
|
54
|
+
CodingService: 'CodingService',
|
|
55
|
+
CodingProxySession: 'CodingProxySession',
|
|
56
|
+
CodingProxyRequest: 'CodingProxyRequest',
|
|
57
|
+
RegistryAllowance: 'RegistryAllowance',
|
|
58
|
+
RegistryFetch: 'RegistryFetch',
|
|
59
|
+
RegistryVersionFact: 'RegistryVersionFact',
|
|
60
|
+
RegistryApprovedVersion: 'RegistryApprovedVersion',
|
|
61
|
+
RegistryPlanRefusal: 'RegistryPlanRefusal',
|
|
62
|
+
SchedulerLease: 'SchedulerLease',
|
|
63
|
+
Principal: 'Principal',
|
|
64
|
+
ResourceGrant: 'ResourceGrant',
|
|
65
|
+
Task: 'Task',
|
|
66
|
+
Secret: 'Secret',
|
|
67
|
+
AgentSecret: 'AgentSecret',
|
|
68
|
+
SecretElicitationOutcome: 'SecretElicitationOutcome',
|
|
69
|
+
Webhook: 'Webhook',
|
|
70
|
+
OAuthClient: 'OAuthClient',
|
|
71
|
+
OAuthGrant: 'OAuthGrant',
|
|
72
|
+
AuthUser: 'AuthUser',
|
|
73
|
+
AuthLoginKey: 'AuthLoginKey',
|
|
74
|
+
AuthSession: 'AuthSession',
|
|
75
|
+
AuthFormChallenge: 'AuthFormChallenge',
|
|
76
|
+
OAuthAuthorizationRequest: 'OAuthAuthorizationRequest',
|
|
77
|
+
OAuthAuthorizationCode: 'OAuthAuthorizationCode',
|
|
78
|
+
OAuthFamily: 'OAuthFamily',
|
|
79
|
+
AuthRateLimit: 'AuthRateLimit',
|
|
80
|
+
AgentRepository: 'AgentRepository',
|
|
81
|
+
RunHostCheck: 'RunHostCheck',
|
|
82
|
+
RunHostStatus: 'RunHostStatus',
|
|
83
|
+
HostEventDelivery: 'HostEventDelivery',
|
|
84
|
+
HostIdentity: 'HostIdentity',
|
|
85
|
+
HostIdentityLinkRequest: 'HostIdentityLinkRequest'
|
|
86
|
+
};
|
|
87
|
+
/*
|
|
88
|
+
* Enums
|
|
89
|
+
*/
|
|
90
|
+
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
91
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
92
|
+
ReadCommitted: 'ReadCommitted',
|
|
93
|
+
RepeatableRead: 'RepeatableRead',
|
|
94
|
+
Serializable: 'Serializable'
|
|
95
|
+
});
|
|
96
|
+
export const AgentScalarFieldEnum = {
|
|
97
|
+
id: 'id',
|
|
98
|
+
name: 'name',
|
|
99
|
+
systemPrompt: 'systemPrompt',
|
|
100
|
+
model: 'model',
|
|
101
|
+
budgetUsd: 'budgetUsd',
|
|
102
|
+
createdAt: 'createdAt',
|
|
103
|
+
updatedAt: 'updatedAt',
|
|
104
|
+
kind: 'kind',
|
|
105
|
+
schedule: 'schedule',
|
|
106
|
+
timezone: 'timezone',
|
|
107
|
+
scheduleEnabled: 'scheduleEnabled',
|
|
108
|
+
lastScheduledAt: 'lastScheduledAt',
|
|
109
|
+
maxTurns: 'maxTurns',
|
|
110
|
+
ownerId: 'ownerId',
|
|
111
|
+
budgetGroupId: 'budgetGroupId',
|
|
112
|
+
memoryEnabled: 'memoryEnabled',
|
|
113
|
+
effort: 'effort'
|
|
114
|
+
};
|
|
115
|
+
export const AgentSubAgentScalarFieldEnum = {
|
|
116
|
+
parentAgentId: 'parentAgentId',
|
|
117
|
+
childAgentId: 'childAgentId',
|
|
118
|
+
boundName: 'boundName'
|
|
119
|
+
};
|
|
120
|
+
export const BudgetGroupScalarFieldEnum = {
|
|
121
|
+
id: 'id',
|
|
122
|
+
name: 'name',
|
|
123
|
+
ownerId: 'ownerId',
|
|
124
|
+
dailyBudgetUsd: 'dailyBudgetUsd',
|
|
125
|
+
weeklyBudgetUsd: 'weeklyBudgetUsd',
|
|
126
|
+
monthlyBudgetUsd: 'monthlyBudgetUsd',
|
|
127
|
+
warnThresholdRatio: 'warnThresholdRatio',
|
|
128
|
+
createdAt: 'createdAt',
|
|
129
|
+
updatedAt: 'updatedAt'
|
|
130
|
+
};
|
|
131
|
+
export const ToolScalarFieldEnum = {
|
|
132
|
+
id: 'id',
|
|
133
|
+
name: 'name',
|
|
134
|
+
description: 'description',
|
|
135
|
+
paramsZod: 'paramsZod',
|
|
136
|
+
jsonSchema: 'jsonSchema',
|
|
137
|
+
code: 'code',
|
|
138
|
+
createdAt: 'createdAt',
|
|
139
|
+
updatedAt: 'updatedAt',
|
|
140
|
+
ownerId: 'ownerId'
|
|
141
|
+
};
|
|
142
|
+
export const AgentToolScalarFieldEnum = {
|
|
143
|
+
agentId: 'agentId',
|
|
144
|
+
toolId: 'toolId',
|
|
145
|
+
allowedSecrets: 'allowedSecrets',
|
|
146
|
+
allowedDatastorePrefixes: 'allowedDatastorePrefixes',
|
|
147
|
+
allowedHosts: 'allowedHosts',
|
|
148
|
+
allowedSharedDatastorePrefixes: 'allowedSharedDatastorePrefixes',
|
|
149
|
+
attachedById: 'attachedById',
|
|
150
|
+
capabilitiesGrantedById: 'capabilitiesGrantedById'
|
|
151
|
+
};
|
|
152
|
+
export const DatastoreScalarFieldEnum = {
|
|
153
|
+
id: 'id',
|
|
154
|
+
name: 'name',
|
|
155
|
+
ownerId: 'ownerId',
|
|
156
|
+
createdAt: 'createdAt',
|
|
157
|
+
updatedAt: 'updatedAt'
|
|
158
|
+
};
|
|
159
|
+
export const AgentDatastoreScalarFieldEnum = {
|
|
160
|
+
agentId: 'agentId',
|
|
161
|
+
datastoreId: 'datastoreId',
|
|
162
|
+
boundName: 'boundName'
|
|
163
|
+
};
|
|
164
|
+
export const DatastoreEntryScalarFieldEnum = {
|
|
165
|
+
id: 'id',
|
|
166
|
+
agentId: 'agentId',
|
|
167
|
+
datastoreId: 'datastoreId',
|
|
168
|
+
key: 'key',
|
|
169
|
+
value: 'value',
|
|
170
|
+
pii: 'pii',
|
|
171
|
+
keyId: 'keyId',
|
|
172
|
+
updatedAt: 'updatedAt'
|
|
173
|
+
};
|
|
174
|
+
export const AgentMemoryScalarFieldEnum = {
|
|
175
|
+
agentId: 'agentId',
|
|
176
|
+
key: 'key',
|
|
177
|
+
content: 'content',
|
|
178
|
+
updatedAt: 'updatedAt'
|
|
179
|
+
};
|
|
180
|
+
export const RunScalarFieldEnum = {
|
|
181
|
+
id: 'id',
|
|
182
|
+
agentId: 'agentId',
|
|
183
|
+
status: 'status',
|
|
184
|
+
trigger: 'trigger',
|
|
185
|
+
tokensIn: 'tokensIn',
|
|
186
|
+
tokensOut: 'tokensOut',
|
|
187
|
+
costUsd: 'costUsd',
|
|
188
|
+
error: 'error',
|
|
189
|
+
startedAt: 'startedAt',
|
|
190
|
+
finishedAt: 'finishedAt',
|
|
191
|
+
heartbeatAt: 'heartbeatAt',
|
|
192
|
+
finalText: 'finalText',
|
|
193
|
+
turns: 'turns',
|
|
194
|
+
executionManaged: 'executionManaged',
|
|
195
|
+
executionBackend: 'executionBackend',
|
|
196
|
+
parentRunId: 'parentRunId',
|
|
197
|
+
grantedParentMemoryKeys: 'grantedParentMemoryKeys',
|
|
198
|
+
taskOverride: 'taskOverride',
|
|
199
|
+
triggeredById: 'triggeredById'
|
|
200
|
+
};
|
|
201
|
+
export const CodingAgentProfileScalarFieldEnum = {
|
|
202
|
+
agentId: 'agentId',
|
|
203
|
+
provider: 'provider',
|
|
204
|
+
repository: 'repository',
|
|
205
|
+
baseRef: 'baseRef',
|
|
206
|
+
defaultTask: 'defaultTask',
|
|
207
|
+
allowWebhookTaskOverride: 'allowWebhookTaskOverride',
|
|
208
|
+
timeoutSec: 'timeoutSec',
|
|
209
|
+
allowedEgress: 'allowedEgress',
|
|
210
|
+
protectedPaths: 'protectedPaths',
|
|
211
|
+
collectExclude: 'collectExclude',
|
|
212
|
+
toolchain: 'toolchain',
|
|
213
|
+
toolchainVersion: 'toolchainVersion',
|
|
214
|
+
workerImageRef: 'workerImageRef',
|
|
215
|
+
workspaceDiskMb: 'workspaceDiskMb',
|
|
216
|
+
packageAllowlist: 'packageAllowlist',
|
|
217
|
+
packagePolicy: 'packagePolicy',
|
|
218
|
+
debugTraceUntil: 'debugTraceUntil',
|
|
219
|
+
services: 'services',
|
|
220
|
+
repositoryAuthorizedVia: 'repositoryAuthorizedVia',
|
|
221
|
+
repositoryAuthorizedById: 'repositoryAuthorizedById',
|
|
222
|
+
repositoryAuthorizedAt: 'repositoryAuthorizedAt'
|
|
223
|
+
};
|
|
224
|
+
export const CodingRunScalarFieldEnum = {
|
|
225
|
+
runId: 'runId',
|
|
226
|
+
task: 'task',
|
|
227
|
+
repository: 'repository',
|
|
228
|
+
baseRef: 'baseRef',
|
|
229
|
+
headRef: 'headRef',
|
|
230
|
+
provider: 'provider',
|
|
231
|
+
model: 'model',
|
|
232
|
+
timeoutSec: 'timeoutSec',
|
|
233
|
+
allowedEgress: 'allowedEgress',
|
|
234
|
+
protectedPaths: 'protectedPaths',
|
|
235
|
+
collectExclude: 'collectExclude',
|
|
236
|
+
jobBackend: 'jobBackend',
|
|
237
|
+
jobHandle: 'jobHandle',
|
|
238
|
+
result: 'result',
|
|
239
|
+
resultSchema: 'resultSchema',
|
|
240
|
+
failureCategory: 'failureCategory',
|
|
241
|
+
diagnosticId: 'diagnosticId',
|
|
242
|
+
workerImage: 'workerImage',
|
|
243
|
+
toolImage: 'toolImage',
|
|
244
|
+
budgetReservedUsd: 'budgetReservedUsd',
|
|
245
|
+
queuedAt: 'queuedAt',
|
|
246
|
+
workspaceDiskMb: 'workspaceDiskMb',
|
|
247
|
+
packageAllowlist: 'packageAllowlist',
|
|
248
|
+
packagePolicy: 'packagePolicy',
|
|
249
|
+
debugTrace: 'debugTrace',
|
|
250
|
+
services: 'services',
|
|
251
|
+
createdAt: 'createdAt',
|
|
252
|
+
updatedAt: 'updatedAt',
|
|
253
|
+
rootCodingRunId: 'rootCodingRunId'
|
|
254
|
+
};
|
|
255
|
+
export const CodingServiceScalarFieldEnum = {
|
|
256
|
+
id: 'id',
|
|
257
|
+
name: 'name',
|
|
258
|
+
version: 'version',
|
|
259
|
+
kind: 'kind',
|
|
260
|
+
image: 'image',
|
|
261
|
+
port: 'port',
|
|
262
|
+
serviceEnv: 'serviceEnv',
|
|
263
|
+
testEnv: 'testEnv',
|
|
264
|
+
readiness: 'readiness',
|
|
265
|
+
resources: 'resources',
|
|
266
|
+
dataPath: 'dataPath',
|
|
267
|
+
writablePaths: 'writablePaths',
|
|
268
|
+
builtin: 'builtin',
|
|
269
|
+
createdById: 'createdById',
|
|
270
|
+
createdAt: 'createdAt',
|
|
271
|
+
updatedAt: 'updatedAt'
|
|
272
|
+
};
|
|
273
|
+
export const CodingProxySessionScalarFieldEnum = {
|
|
274
|
+
id: 'id',
|
|
275
|
+
runId: 'runId',
|
|
276
|
+
capabilityHash: 'capabilityHash',
|
|
277
|
+
credentialRef: 'credentialRef',
|
|
278
|
+
protocol: 'protocol',
|
|
279
|
+
allowedModels: 'allowedModels',
|
|
280
|
+
deadlineAt: 'deadlineAt',
|
|
281
|
+
budgetUsd: 'budgetUsd',
|
|
282
|
+
status: 'status',
|
|
283
|
+
createdAt: 'createdAt',
|
|
284
|
+
updatedAt: 'updatedAt',
|
|
285
|
+
registryTokenHash: 'registryTokenHash',
|
|
286
|
+
budgetExhaustedAt: 'budgetExhaustedAt',
|
|
287
|
+
upstreamFailure: 'upstreamFailure'
|
|
288
|
+
};
|
|
289
|
+
export const CodingProxyRequestScalarFieldEnum = {
|
|
290
|
+
id: 'id',
|
|
291
|
+
sessionId: 'sessionId',
|
|
292
|
+
requestKey: 'requestKey',
|
|
293
|
+
requestFingerprint: 'requestFingerprint',
|
|
294
|
+
model: 'model',
|
|
295
|
+
status: 'status',
|
|
296
|
+
reservationUsd: 'reservationUsd',
|
|
297
|
+
actualCostUsd: 'actualCostUsd',
|
|
298
|
+
pricingVersion: 'pricingVersion',
|
|
299
|
+
pricingSnapshot: 'pricingSnapshot',
|
|
300
|
+
inputTokens: 'inputTokens',
|
|
301
|
+
outputTokens: 'outputTokens',
|
|
302
|
+
cachedInputTokens: 'cachedInputTokens',
|
|
303
|
+
cacheWriteTokens: 'cacheWriteTokens',
|
|
304
|
+
reasoningTokens: 'reasoningTokens',
|
|
305
|
+
upstreamStatus: 'upstreamStatus',
|
|
306
|
+
createdAt: 'createdAt',
|
|
307
|
+
updatedAt: 'updatedAt',
|
|
308
|
+
completedAt: 'completedAt'
|
|
309
|
+
};
|
|
310
|
+
export const RegistryAllowanceScalarFieldEnum = {
|
|
311
|
+
runId: 'runId',
|
|
312
|
+
ecosystem: 'ecosystem',
|
|
313
|
+
name: 'name',
|
|
314
|
+
createdAt: 'createdAt'
|
|
315
|
+
};
|
|
316
|
+
export const RegistryFetchScalarFieldEnum = {
|
|
317
|
+
id: 'id',
|
|
318
|
+
runId: 'runId',
|
|
319
|
+
ecosystem: 'ecosystem',
|
|
320
|
+
name: 'name',
|
|
321
|
+
version: 'version',
|
|
322
|
+
filename: 'filename',
|
|
323
|
+
integrity: 'integrity',
|
|
324
|
+
sizeBytes: 'sizeBytes',
|
|
325
|
+
outcome: 'outcome',
|
|
326
|
+
reason: 'reason',
|
|
327
|
+
createdAt: 'createdAt'
|
|
328
|
+
};
|
|
329
|
+
export const RegistryVersionFactScalarFieldEnum = {
|
|
330
|
+
ecosystem: 'ecosystem',
|
|
331
|
+
name: 'name',
|
|
332
|
+
version: 'version',
|
|
333
|
+
publishedAt: 'publishedAt',
|
|
334
|
+
integrity: 'integrity',
|
|
335
|
+
downloadUrl: 'downloadUrl',
|
|
336
|
+
dependencies: 'dependencies',
|
|
337
|
+
createdAt: 'createdAt'
|
|
338
|
+
};
|
|
339
|
+
export const RegistryApprovedVersionScalarFieldEnum = {
|
|
340
|
+
runId: 'runId',
|
|
341
|
+
ecosystem: 'ecosystem',
|
|
342
|
+
name: 'name',
|
|
343
|
+
version: 'version',
|
|
344
|
+
integrity: 'integrity',
|
|
345
|
+
createdAt: 'createdAt'
|
|
346
|
+
};
|
|
347
|
+
export const RegistryPlanRefusalScalarFieldEnum = {
|
|
348
|
+
runId: 'runId',
|
|
349
|
+
ecosystem: 'ecosystem',
|
|
350
|
+
name: 'name',
|
|
351
|
+
version: 'version',
|
|
352
|
+
code: 'code',
|
|
353
|
+
reason: 'reason',
|
|
354
|
+
publishedAt: 'publishedAt',
|
|
355
|
+
createdAt: 'createdAt'
|
|
356
|
+
};
|
|
357
|
+
export const SchedulerLeaseScalarFieldEnum = {
|
|
358
|
+
scope: 'scope',
|
|
359
|
+
holder: 'holder',
|
|
360
|
+
expiresAt: 'expiresAt',
|
|
361
|
+
updatedAt: 'updatedAt'
|
|
362
|
+
};
|
|
363
|
+
export const PrincipalScalarFieldEnum = {
|
|
364
|
+
id: 'id',
|
|
365
|
+
subject: 'subject',
|
|
366
|
+
createdAt: 'createdAt'
|
|
367
|
+
};
|
|
368
|
+
export const ResourceGrantScalarFieldEnum = {
|
|
369
|
+
id: 'id',
|
|
370
|
+
resourceType: 'resourceType',
|
|
371
|
+
resourceId: 'resourceId',
|
|
372
|
+
granteeKind: 'granteeKind',
|
|
373
|
+
granteePrincipalId: 'granteePrincipalId',
|
|
374
|
+
granteeKey: 'granteeKey',
|
|
375
|
+
level: 'level',
|
|
376
|
+
source: 'source',
|
|
377
|
+
grantedById: 'grantedById',
|
|
378
|
+
createdAt: 'createdAt',
|
|
379
|
+
updatedAt: 'updatedAt'
|
|
380
|
+
};
|
|
381
|
+
export const TaskScalarFieldEnum = {
|
|
382
|
+
id: 'id',
|
|
383
|
+
kind: 'kind',
|
|
384
|
+
runId: 'runId',
|
|
385
|
+
principalId: 'principalId',
|
|
386
|
+
status: 'status',
|
|
387
|
+
inputRequests: 'inputRequests',
|
|
388
|
+
inputResponses: 'inputResponses',
|
|
389
|
+
result: 'result',
|
|
390
|
+
error: 'error',
|
|
391
|
+
ttlAt: 'ttlAt',
|
|
392
|
+
createdAt: 'createdAt',
|
|
393
|
+
updatedAt: 'updatedAt'
|
|
394
|
+
};
|
|
395
|
+
export const SecretScalarFieldEnum = {
|
|
396
|
+
id: 'id',
|
|
397
|
+
name: 'name',
|
|
398
|
+
ciphertext: 'ciphertext',
|
|
399
|
+
keyId: 'keyId',
|
|
400
|
+
ownerId: 'ownerId',
|
|
401
|
+
createdAt: 'createdAt',
|
|
402
|
+
updatedAt: 'updatedAt'
|
|
403
|
+
};
|
|
404
|
+
export const AgentSecretScalarFieldEnum = {
|
|
405
|
+
agentId: 'agentId',
|
|
406
|
+
secretId: 'secretId',
|
|
407
|
+
boundName: 'boundName'
|
|
408
|
+
};
|
|
409
|
+
export const SecretElicitationOutcomeScalarFieldEnum = {
|
|
410
|
+
ownerId: 'ownerId',
|
|
411
|
+
secretName: 'secretName',
|
|
412
|
+
outcome: 'outcome',
|
|
413
|
+
expiresAt: 'expiresAt'
|
|
414
|
+
};
|
|
415
|
+
export const WebhookScalarFieldEnum = {
|
|
416
|
+
id: 'id',
|
|
417
|
+
agentId: 'agentId',
|
|
418
|
+
secretHash: 'secretHash',
|
|
419
|
+
status: 'status',
|
|
420
|
+
ownerId: 'ownerId',
|
|
421
|
+
createdAt: 'createdAt',
|
|
422
|
+
lastFiredAt: 'lastFiredAt'
|
|
423
|
+
};
|
|
424
|
+
export const OAuthClientScalarFieldEnum = {
|
|
425
|
+
clientId: 'clientId',
|
|
426
|
+
metadata: 'metadata',
|
|
427
|
+
createdAt: 'createdAt'
|
|
428
|
+
};
|
|
429
|
+
export const OAuthGrantScalarFieldEnum = {
|
|
430
|
+
id: 'id',
|
|
431
|
+
familyId: 'familyId',
|
|
432
|
+
refreshTokenHash: 'refreshTokenHash',
|
|
433
|
+
expiresAt: 'expiresAt',
|
|
434
|
+
createdAt: 'createdAt',
|
|
435
|
+
consumedAt: 'consumedAt',
|
|
436
|
+
revokedAt: 'revokedAt',
|
|
437
|
+
replacedById: 'replacedById'
|
|
438
|
+
};
|
|
439
|
+
export const AuthUserScalarFieldEnum = {
|
|
440
|
+
id: 'id',
|
|
441
|
+
principalId: 'principalId',
|
|
442
|
+
displayName: 'displayName',
|
|
443
|
+
status: 'status',
|
|
444
|
+
roles: 'roles',
|
|
445
|
+
createdAt: 'createdAt',
|
|
446
|
+
updatedAt: 'updatedAt'
|
|
447
|
+
};
|
|
448
|
+
export const AuthLoginKeyScalarFieldEnum = {
|
|
449
|
+
keyId: 'keyId',
|
|
450
|
+
userId: 'userId',
|
|
451
|
+
secretHash: 'secretHash',
|
|
452
|
+
createdAt: 'createdAt',
|
|
453
|
+
lastUsedAt: 'lastUsedAt',
|
|
454
|
+
expiresAt: 'expiresAt',
|
|
455
|
+
revokedAt: 'revokedAt'
|
|
456
|
+
};
|
|
457
|
+
export const AuthSessionScalarFieldEnum = {
|
|
458
|
+
sessionId: 'sessionId',
|
|
459
|
+
userId: 'userId',
|
|
460
|
+
secretHash: 'secretHash',
|
|
461
|
+
createdAt: 'createdAt',
|
|
462
|
+
lastSeenAt: 'lastSeenAt',
|
|
463
|
+
expiresAt: 'expiresAt',
|
|
464
|
+
revokedAt: 'revokedAt'
|
|
465
|
+
};
|
|
466
|
+
export const AuthFormChallengeScalarFieldEnum = {
|
|
467
|
+
challengeId: 'challengeId',
|
|
468
|
+
sessionId: 'sessionId',
|
|
469
|
+
purpose: 'purpose',
|
|
470
|
+
binding: 'binding',
|
|
471
|
+
secretHash: 'secretHash',
|
|
472
|
+
createdAt: 'createdAt',
|
|
473
|
+
expiresAt: 'expiresAt',
|
|
474
|
+
consumedAt: 'consumedAt'
|
|
475
|
+
};
|
|
476
|
+
export const OAuthAuthorizationRequestScalarFieldEnum = {
|
|
477
|
+
id: 'id',
|
|
478
|
+
clientId: 'clientId',
|
|
479
|
+
redirectUri: 'redirectUri',
|
|
480
|
+
resource: 'resource',
|
|
481
|
+
requestedScope: 'requestedScope',
|
|
482
|
+
codeChallenge: 'codeChallenge',
|
|
483
|
+
state: 'state',
|
|
484
|
+
createdAt: 'createdAt',
|
|
485
|
+
expiresAt: 'expiresAt',
|
|
486
|
+
consumedAt: 'consumedAt'
|
|
487
|
+
};
|
|
488
|
+
export const OAuthAuthorizationCodeScalarFieldEnum = {
|
|
489
|
+
codeId: 'codeId',
|
|
490
|
+
secretHash: 'secretHash',
|
|
491
|
+
clientId: 'clientId',
|
|
492
|
+
userId: 'userId',
|
|
493
|
+
redirectUri: 'redirectUri',
|
|
494
|
+
resource: 'resource',
|
|
495
|
+
scope: 'scope',
|
|
496
|
+
codeChallenge: 'codeChallenge',
|
|
497
|
+
createdAt: 'createdAt',
|
|
498
|
+
expiresAt: 'expiresAt',
|
|
499
|
+
consumedAt: 'consumedAt'
|
|
500
|
+
};
|
|
501
|
+
export const OAuthFamilyScalarFieldEnum = {
|
|
502
|
+
id: 'id',
|
|
503
|
+
clientId: 'clientId',
|
|
504
|
+
userId: 'userId',
|
|
505
|
+
scope: 'scope',
|
|
506
|
+
resource: 'resource',
|
|
507
|
+
expiresAt: 'expiresAt',
|
|
508
|
+
revokedAt: 'revokedAt',
|
|
509
|
+
createdAt: 'createdAt'
|
|
510
|
+
};
|
|
511
|
+
export const AuthRateLimitScalarFieldEnum = {
|
|
512
|
+
key: 'key',
|
|
513
|
+
hits: 'hits',
|
|
514
|
+
expiresAt: 'expiresAt'
|
|
515
|
+
};
|
|
516
|
+
export const AgentRepositoryScalarFieldEnum = {
|
|
517
|
+
id: 'id',
|
|
518
|
+
agentId: 'agentId',
|
|
519
|
+
provider: 'provider',
|
|
520
|
+
repository: 'repository',
|
|
521
|
+
access: 'access',
|
|
522
|
+
triggers: 'triggers',
|
|
523
|
+
checkName: 'checkName',
|
|
524
|
+
createdAt: 'createdAt',
|
|
525
|
+
authorizedVia: 'authorizedVia',
|
|
526
|
+
authorizedById: 'authorizedById',
|
|
527
|
+
authorizedAt: 'authorizedAt'
|
|
528
|
+
};
|
|
529
|
+
export const RunHostCheckScalarFieldEnum = {
|
|
530
|
+
runId: 'runId',
|
|
531
|
+
provider: 'provider',
|
|
532
|
+
repository: 'repository',
|
|
533
|
+
checkId: 'checkId',
|
|
534
|
+
headSha: 'headSha',
|
|
535
|
+
prNumber: 'prNumber',
|
|
536
|
+
completedAt: 'completedAt'
|
|
537
|
+
};
|
|
538
|
+
export const RunHostStatusScalarFieldEnum = {
|
|
539
|
+
runId: 'runId',
|
|
540
|
+
provider: 'provider',
|
|
541
|
+
repository: 'repository',
|
|
542
|
+
number: 'number',
|
|
543
|
+
commentKind: 'commentKind',
|
|
544
|
+
commentId: 'commentId',
|
|
545
|
+
replyToReviewCommentId: 'replyToReviewCommentId',
|
|
546
|
+
createdAt: 'createdAt',
|
|
547
|
+
completedAt: 'completedAt'
|
|
548
|
+
};
|
|
549
|
+
export const HostEventDeliveryScalarFieldEnum = {
|
|
550
|
+
provider: 'provider',
|
|
551
|
+
deliveryId: 'deliveryId',
|
|
552
|
+
receivedAt: 'receivedAt'
|
|
553
|
+
};
|
|
554
|
+
export const HostIdentityScalarFieldEnum = {
|
|
555
|
+
principalId: 'principalId',
|
|
556
|
+
provider: 'provider',
|
|
557
|
+
hostUserId: 'hostUserId',
|
|
558
|
+
login: 'login',
|
|
559
|
+
linkedAt: 'linkedAt',
|
|
560
|
+
updatedAt: 'updatedAt'
|
|
561
|
+
};
|
|
562
|
+
export const HostIdentityLinkRequestScalarFieldEnum = {
|
|
563
|
+
id: 'id',
|
|
564
|
+
principalId: 'principalId',
|
|
565
|
+
provider: 'provider',
|
|
566
|
+
stateHash: 'stateHash',
|
|
567
|
+
codeVerifier: 'codeVerifier',
|
|
568
|
+
hostUserId: 'hostUserId',
|
|
569
|
+
login: 'login',
|
|
570
|
+
confirmHash: 'confirmHash',
|
|
571
|
+
attempts: 'attempts',
|
|
572
|
+
callbackAt: 'callbackAt',
|
|
573
|
+
expiresAt: 'expiresAt',
|
|
574
|
+
createdAt: 'createdAt'
|
|
575
|
+
};
|
|
576
|
+
export const SortOrder = {
|
|
577
|
+
asc: 'asc',
|
|
578
|
+
desc: 'desc'
|
|
579
|
+
};
|
|
580
|
+
export const JsonNullValueInput = {
|
|
581
|
+
JsonNull: JsonNull
|
|
582
|
+
};
|
|
583
|
+
export const NullableJsonNullValueInput = {
|
|
584
|
+
DbNull: DbNull,
|
|
585
|
+
JsonNull: JsonNull
|
|
586
|
+
};
|
|
587
|
+
export const QueryMode = {
|
|
588
|
+
default: 'default',
|
|
589
|
+
insensitive: 'insensitive'
|
|
590
|
+
};
|
|
591
|
+
export const NullsOrder = {
|
|
592
|
+
first: 'first',
|
|
593
|
+
last: 'last'
|
|
594
|
+
};
|
|
595
|
+
export const JsonNullValueFilter = {
|
|
596
|
+
DbNull: DbNull,
|
|
597
|
+
JsonNull: JsonNull,
|
|
598
|
+
AnyNull: AnyNull
|
|
599
|
+
};
|