@wardby/cli 0.5.2 → 0.6.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 +33 -0
- package/README.md +25 -14
- package/dist/claude-coding-worker/context.d.ts +22 -0
- package/dist/claude-coding-worker/context.js +92 -0
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +38 -5
- package/dist/claude-coding-worker/sdk.js +13 -4
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +5 -2
- package/dist/cli-native-mode.d.ts +9 -0
- package/dist/cli-native-mode.js +20 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.js +141 -5
- package/dist/coding/claude-context.d.ts +45 -0
- package/dist/coding/claude-context.js +434 -0
- package/dist/coding/local-git.js +9 -1
- package/dist/coding/profile.d.ts +12 -0
- package/dist/coding/profile.js +6 -0
- package/dist/coding/protocol.d.ts +104 -0
- package/dist/coding/protocol.js +87 -3
- package/dist/coding/registry/pypi.d.ts +25 -1
- package/dist/coding/registry/pypi.js +140 -16
- package/dist/coding/registry/types.d.ts +17 -3
- package/dist/coding-worker/artifact.d.ts +8 -0
- package/dist/coding-worker/artifact.js +2 -2
- package/dist/coding-worker/driver.js +2 -0
- package/dist/coding-worker/sdk.d.ts +6 -0
- package/dist/coding-worker/sdk.js +1 -0
- package/dist/coding-worker/skills.d.ts +23 -0
- package/dist/coding-worker/skills.js +117 -0
- package/dist/coding-worker/types.d.ts +2 -0
- package/dist/config/github-allowed-accounts.d.ts +15 -0
- package/dist/config/github-allowed-accounts.js +36 -0
- package/dist/config/low-power.d.ts +12 -0
- package/dist/config/low-power.js +18 -0
- package/dist/config/mobile.d.ts +12 -0
- package/dist/config/mobile.js +18 -0
- package/dist/config/providers.d.ts +56 -2
- package/dist/config/providers.js +92 -6
- package/dist/core/db.d.ts +16 -6
- package/dist/core/db.js +12 -10
- package/dist/core/dispatch.d.ts +11 -0
- package/dist/core/dispatch.js +36 -1
- package/dist/core/engine-native.js +9 -5
- package/dist/core/host-events.d.ts +49 -3
- package/dist/core/host-events.js +289 -15
- package/dist/core/http-runtime.js +13 -6
- package/dist/core/issue-bridge.js +42 -2
- package/dist/core/issue-events.js +12 -1
- package/dist/core/issue-status.js +14 -3
- package/dist/core/merge-order-check.d.ts +129 -0
- package/dist/core/merge-order-check.js +336 -0
- package/dist/core/notification-dispatcher.d.ts +70 -0
- package/dist/core/notification-dispatcher.js +368 -0
- package/dist/core/notification-templates.d.ts +25 -0
- package/dist/core/notification-templates.js +105 -0
- package/dist/core/notifications.d.ts +10 -0
- package/dist/core/notifications.js +38 -0
- package/dist/core/pg-auth.d.ts +22 -0
- package/dist/core/pg-auth.js +152 -0
- package/dist/core/power-composition.d.ts +16 -0
- package/dist/core/power-composition.js +37 -0
- package/dist/core/power-idle.d.ts +14 -0
- package/dist/core/power-idle.js +30 -0
- package/dist/core/power.d.ts +71 -0
- package/dist/core/power.js +202 -0
- package/dist/core/reconciler.d.ts +4 -2
- package/dist/core/reconciler.js +29 -5
- package/dist/core/related-pull-requests.d.ts +48 -4
- package/dist/core/related-pull-requests.js +113 -11
- package/dist/core/repo-access.d.ts +15 -0
- package/dist/core/repo-access.js +66 -0
- package/dist/core/review-fix.d.ts +37 -0
- package/dist/core/review-fix.js +207 -6
- package/dist/core/review-host-tools.d.ts +20 -0
- package/dist/core/review-host-tools.js +58 -2
- package/dist/core/runner.d.ts +336 -3
- package/dist/core/runner.js +894 -317
- package/dist/core/secret-broker-config.d.ts +103 -0
- package/dist/core/secret-broker-config.js +112 -0
- package/dist/core/secrets.d.ts +39 -4
- package/dist/core/secrets.js +148 -40
- package/dist/core/workflow-event-recorder.d.ts +14 -0
- package/dist/core/workflow-event-recorder.js +120 -0
- package/dist/core/workflow-events.d.ts +82 -0
- package/dist/core/workflow-events.js +44 -0
- package/dist/core/workflow-run-events.d.ts +16 -0
- package/dist/core/workflow-run-events.js +40 -0
- package/dist/generated/prisma/browser.d.ts +58 -0
- package/dist/generated/prisma/client.d.ts +58 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +150 -0
- package/dist/generated/prisma/enums.d.ts +27 -0
- package/dist/generated/prisma/enums.js +23 -0
- package/dist/generated/prisma/internal/class.d.ts +88 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +772 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +135 -4
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +139 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +135 -4
- package/dist/generated/prisma/models/Agent.d.ts +360 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +73 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +205 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +78 -1
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +1675 -0
- package/dist/generated/prisma/models/NativeGatewayCall.js +1 -0
- package/dist/generated/prisma/models/NativeGatewaySession.d.ts +1517 -0
- package/dist/generated/prisma/models/NativeGatewaySession.js +1 -0
- package/dist/generated/prisma/models/NativeWarmWorker.d.ts +1296 -0
- package/dist/generated/prisma/models/NativeWarmWorker.js +1 -0
- package/dist/generated/prisma/models/NotificationChannel.d.ts +1543 -0
- package/dist/generated/prisma/models/NotificationChannel.js +1 -0
- package/dist/generated/prisma/models/NotificationDelivery.d.ts +1502 -0
- package/dist/generated/prisma/models/NotificationDelivery.js +1 -0
- package/dist/generated/prisma/models/NotificationThread.d.ts +1090 -0
- package/dist/generated/prisma/models/NotificationThread.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +826 -1
- package/dist/generated/prisma/models/RunHostCheck.d.ts +36 -1
- package/dist/generated/prisma/models/Secret.d.ts +37 -1
- package/dist/generated/prisma/models/SecretBrokerChange.d.ts +1101 -0
- package/dist/generated/prisma/models/SecretBrokerChange.js +1 -0
- package/dist/generated/prisma/models/WorkflowEvent.d.ts +1422 -0
- package/dist/generated/prisma/models/WorkflowEvent.js +1 -0
- package/dist/generated/prisma/models.d.ts +8 -0
- package/dist/help/build.js +4 -2
- package/dist/help/catalog.d.ts +1 -1
- package/dist/help/catalog.js +31 -6
- package/dist/help-index.json +1492 -113
- package/dist/import/create.js +17 -0
- package/dist/import/neutral-schema.d.ts +6 -2
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/access.d.ts +1 -0
- package/dist/mcp/auth/ownership.d.ts +1 -1
- package/dist/mcp/auth/repo-authorization.js +14 -0
- package/dist/mcp/auth/resource-server.d.ts +2 -1
- package/dist/mcp/auth/resource-server.js +7 -2
- package/dist/mcp/auth/self-hosted/browser.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +19 -6
- package/dist/mcp/context.d.ts +6 -0
- package/dist/mcp/host-events/github-ingress.d.ts +23 -1
- package/dist/mcp/host-events/github-ingress.js +68 -0
- package/dist/mcp/index.d.ts +13 -0
- package/dist/mcp/index.js +59 -10
- package/dist/mcp/tools/agents.js +83 -12
- package/dist/mcp/tools/notification-channels.d.ts +2 -0
- package/dist/mcp/tools/notification-channels.js +293 -0
- package/dist/mcp/tools/power.d.ts +2 -0
- package/dist/mcp/tools/power.js +77 -0
- package/dist/mcp/tools/runs.d.ts +0 -6
- package/dist/mcp/tools/runs.js +7 -2
- package/dist/mcp/tools/secret-broker-compat.d.ts +12 -0
- package/dist/mcp/tools/secret-broker-compat.js +23 -0
- package/dist/mcp/tools/secret-elicitation-form.d.ts +22 -2
- package/dist/mcp/tools/secret-elicitation-form.js +200 -10
- package/dist/mcp/tools/secret-elicitation-server.js +8 -1
- package/dist/mcp/tools/secret-elicitation.d.ts +38 -3
- package/dist/mcp/tools/secret-elicitation.js +110 -12
- package/dist/mcp/tools/secrets.js +184 -7
- package/dist/mcp/tools/tools.d.ts +1 -1
- package/dist/mcp/tools/tools.js +22 -2
- package/dist/native-worker/composition.d.ts +23 -0
- package/dist/native-worker/composition.js +77 -0
- package/dist/native-worker/docker-isolation.d.ts +65 -0
- package/dist/native-worker/docker-isolation.js +183 -0
- package/dist/native-worker/docker-launcher.d.ts +74 -0
- package/dist/native-worker/docker-launcher.js +237 -0
- package/dist/native-worker/gateway-server.d.ts +39 -0
- package/dist/native-worker/gateway-server.js +315 -0
- package/dist/native-worker/gateway.d.ts +44 -0
- package/dist/native-worker/gateway.js +197 -0
- package/dist/native-worker/http-server.d.ts +22 -0
- package/dist/native-worker/http-server.js +109 -0
- package/dist/native-worker/http-transport.d.ts +17 -0
- package/dist/native-worker/http-transport.js +88 -0
- package/dist/native-worker/kubernetes-isolation.d.ts +90 -0
- package/dist/native-worker/kubernetes-isolation.js +218 -0
- package/dist/native-worker/kubernetes-launcher.d.ts +102 -0
- package/dist/native-worker/kubernetes-launcher.js +335 -0
- package/dist/native-worker/launch.d.ts +45 -0
- package/dist/native-worker/launch.js +44 -0
- package/dist/native-worker/ledger.d.ts +109 -0
- package/dist/native-worker/ledger.js +192 -0
- package/dist/native-worker/loopback.d.ts +12 -0
- package/dist/native-worker/loopback.js +49 -0
- package/dist/native-worker/main.d.ts +7 -0
- package/dist/native-worker/main.js +74 -0
- package/dist/native-worker/protocol.d.ts +744 -0
- package/dist/native-worker/protocol.js +200 -0
- package/dist/native-worker/sandbox-executor.d.ts +68 -0
- package/dist/native-worker/sandbox-executor.js +210 -0
- package/dist/native-worker/stdio.d.ts +29 -0
- package/dist/native-worker/stdio.js +188 -0
- package/dist/native-worker/warm-delivery.d.ts +16 -0
- package/dist/native-worker/warm-delivery.js +33 -0
- package/dist/native-worker/warm-pool-ledger.d.ts +39 -0
- package/dist/native-worker/warm-pool-ledger.js +73 -0
- package/dist/native-worker/warm-pool.d.ts +107 -0
- package/dist/native-worker/warm-pool.js +283 -0
- package/dist/native-worker/worker.d.ts +17 -0
- package/dist/native-worker/worker.js +115 -0
- package/dist/providers/auth/authorization-server.d.ts +3 -0
- package/dist/providers/auth/index.js +2 -0
- package/dist/providers/auth/self-hosted.d.ts +13 -1
- package/dist/providers/auth/self-hosted.js +54 -4
- package/dist/providers/chat/fake.d.ts +46 -0
- package/dist/providers/chat/fake.js +39 -0
- package/dist/providers/chat/index.d.ts +4 -0
- package/dist/providers/chat/index.js +8 -0
- package/dist/providers/chat/slack.d.ts +37 -0
- package/dist/providers/chat/slack.js +105 -0
- package/dist/providers/chat/types.d.ts +42 -0
- package/dist/providers/chat/types.js +19 -0
- package/dist/providers/coding-proxy/mock-upstream.d.ts +33 -0
- package/dist/providers/coding-proxy/mock-upstream.js +116 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +3 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +17 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +4 -0
- package/dist/providers/coding-proxy/registry/service.js +20 -3
- package/dist/providers/coding-proxy/registry/store.d.ts +18 -1
- package/dist/providers/coding-proxy/registry/store.js +33 -0
- package/dist/providers/coding-proxy/runtime.js +12 -1
- package/dist/providers/coding-proxy/types.d.ts +2 -0
- package/dist/providers/engine/types.d.ts +19 -0
- package/dist/providers/engine/types.js +22 -0
- package/dist/providers/executor/composition.d.ts +24 -1
- package/dist/providers/executor/composition.js +39 -6
- package/dist/providers/executor/container.d.ts +24 -1
- package/dist/providers/executor/container.js +101 -11
- package/dist/providers/executor/dbos.d.ts +42 -0
- package/dist/providers/executor/dbos.js +118 -12
- package/dist/providers/executor/deferred.d.ts +56 -0
- package/dist/providers/executor/deferred.js +119 -0
- package/dist/providers/executor/routing.d.ts +37 -10
- package/dist/providers/executor/routing.js +73 -32
- package/dist/providers/executor/types.d.ts +12 -0
- package/dist/providers/jobs/docker.js +3 -3
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +21 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +42 -1
- package/dist/providers/jobs/kubernetes-api.d.ts +17 -1
- package/dist/providers/jobs/kubernetes-api.js +7 -0
- package/dist/providers/jobs/kubernetes-client.d.ts +10 -1
- package/dist/providers/jobs/kubernetes-client.js +52 -3
- package/dist/providers/jobs/kubernetes-dry-run-fixture.d.ts +6 -1
- package/dist/providers/jobs/kubernetes-dry-run-fixture.js +6 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +16 -1
- package/dist/providers/jobs/kubernetes-isolation.js +58 -5
- package/dist/providers/jobs/kubernetes-platform.d.ts +4 -1
- package/dist/providers/jobs/kubernetes-platform.js +38 -1
- package/dist/providers/jobs/kubernetes-preflight.d.ts +2 -1
- package/dist/providers/jobs/kubernetes-preflight.js +4 -2
- package/dist/providers/jobs/kubernetes.d.ts +56 -7
- package/dist/providers/jobs/kubernetes.js +117 -36
- package/dist/providers/jobs/metadata-probes.d.ts +11 -0
- package/dist/providers/jobs/metadata-probes.js +13 -0
- package/dist/providers/jobs/types.d.ts +9 -0
- package/dist/providers/llm/openai.js +0 -1
- package/dist/providers/review-host/github.d.ts +11 -1
- package/dist/providers/review-host/github.js +50 -0
- package/dist/providers/review-host/types.d.ts +23 -0
- package/dist/providers/vcs/github.d.ts +32 -6
- package/dist/providers/vcs/github.js +74 -16
- package/dist/quickstart/coding-db.js +14 -2
- package/dist/quickstart/coding-doctor.d.ts +3 -0
- package/dist/quickstart/coding-doctor.js +3 -0
- package/dist/quickstart/coding-images.d.ts +9 -0
- package/dist/quickstart/coding-images.js +39 -0
- package/dist/quickstart/coding-seed.d.ts +20 -1
- package/dist/quickstart/coding-seed.js +96 -7
- package/dist/quickstart/coding.d.ts +2 -0
- package/dist/quickstart/coding.js +75 -3
- package/dist/quickstart/config.d.ts +2 -0
- package/dist/quickstart/config.js +4 -0
- package/dist/quickstart/images.d.ts +13 -0
- package/dist/quickstart/images.js +80 -12
- package/dist/quickstart/index.d.ts +0 -2
- package/dist/quickstart/index.js +10 -14
- package/dist/quickstart/manifests.d.ts +56 -0
- package/dist/quickstart/manifests.js +523 -0
- package/dist/quickstart/python-detect.d.ts +10 -0
- package/dist/quickstart/python-detect.js +32 -0
- package/dist/quickstart/repo-packages.d.ts +10 -0
- package/dist/quickstart/repo-packages.js +132 -0
- package/dist/quickstart/reviewer-prompt.d.ts +12 -0
- package/dist/quickstart/reviewer-prompt.js +84 -0
- package/dist/quickstart/scenarios.d.ts +19 -0
- package/dist/quickstart/scenarios.js +28 -0
- package/dist/quickstart/sync-reviewer-prompt.d.ts +1 -0
- package/dist/quickstart/sync-reviewer-prompt.js +10 -0
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/brokered-fetch.d.ts +23 -0
- package/dist/sandbox/brokered-fetch.js +37 -0
- package/dist/sandbox/host-functions.d.ts +34 -0
- package/dist/sandbox/host-functions.js +144 -80
- package/dist/sandbox/prelude.js +7 -1
- package/dist/sandbox/run-in-sandbox.d.ts +19 -0
- package/dist/sandbox/run-in-sandbox.js +28 -10
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +3 -1
- package/dist/sandbox/secret-broker-sigv4.d.ts +2 -0
- package/dist/sandbox/secret-broker-sigv4.js +49 -0
- package/dist/sandbox/secret-broker.d.ts +34 -0
- package/dist/sandbox/secret-broker.js +162 -0
- package/dist/sandbox/user-tool.d.ts +14 -0
- package/dist/sandbox/user-tool.js +32 -0
- package/dist/serve.js +18 -0
- package/dist/viewer/api-schema.d.ts +214 -18
- package/dist/viewer/api-schema.js +22 -0
- package/dist/viewer/build-schemas.js +4 -1
- package/dist/viewer/event-bus.d.ts +6 -0
- package/dist/viewer/event-bus.js +16 -7
- package/dist/viewer/graph.d.ts +5 -2
- package/dist/viewer/graph.js +7 -2
- package/dist/viewer/http.d.ts +0 -1
- package/dist/viewer/http.js +2 -2
- package/dist/viewer/infra.js +25 -2
- package/dist/viewer/limits.d.ts +4 -0
- package/dist/viewer/limits.js +4 -0
- package/dist/viewer/openapi.d.ts +15 -0
- package/dist/viewer/openapi.js +172 -0
- package/docs/README.md +7 -0
- package/docs/agent-recipes.md +57 -8
- package/docs/architecture-runtime.md +16 -1
- package/docs/code-review-agents.md +139 -5
- package/docs/coding-agent-setup.md +127 -2
- package/docs/coding-packages.md +105 -5
- package/docs/coding-services.md +3 -1
- package/docs/coding-worker-byo-images.md +239 -2
- package/docs/coding-worker-isolation.md +88 -23
- package/docs/getting-started-gke.md +225 -9
- package/docs/getting-started-identity-provider.md +21 -10
- package/docs/getting-started.md +140 -11
- package/docs/jira-agents.md +5 -1
- package/docs/knowledge.md +11 -0
- package/docs/native-sandbox.md +635 -0
- package/docs/release-verification.md +9 -0
- package/docs/security-deployment.md +113 -12
- package/docs/slack-notifications.md +252 -0
- package/docs/tool-secrets.md +252 -0
- package/docs/viewer-api.md +46 -5
- package/docs/viewer-api.openapi.yml +1404 -0
- package/help/admin-viewer.md +6 -2
- package/help/agent-recipes.md +27 -0
- package/help/architecture-agent.md +136 -0
- package/help/brokered-secrets.md +79 -0
- package/help/build-claude-code-image.md +131 -0
- package/help/build-worker-image.md +195 -0
- package/help/code-review-agents.md +68 -6
- package/help/coding-packages.md +31 -2
- package/help/creating-agents.md +14 -0
- package/help/deploy-gke.md +37 -6
- package/help/deployment-targets.md +24 -13
- package/help/errors/coding-provider-not-configured.md +2 -2
- package/help/errors/database-auth-invalid.md +28 -0
- package/help/errors/github-account-not-allowed.md +25 -0
- package/help/errors/low-power-disabled.md +29 -0
- package/help/errors/low-power-scale-forbidden.md +35 -0
- package/help/errors/low-power-wake-timeout.md +30 -0
- package/help/errors/mobile-disabled.md +31 -0
- package/help/errors/native-sandbox-capacity.md +22 -0
- package/help/errors/native-sandbox-deadline-exceeded.md +19 -0
- package/help/errors/native-sandbox-docker-failed.md +20 -0
- package/help/errors/native-sandbox-gateway-unavailable.md +21 -0
- package/help/errors/native-sandbox-image-not-pinned.md +19 -0
- package/help/errors/native-sandbox-isolation-mismatch.md +20 -0
- package/help/errors/native-sandbox-network-unenforced.md +22 -0
- package/help/errors/native-sandbox-requires-catalog.md +31 -0
- package/help/errors/native-sandbox-unavailable.md +19 -0
- package/help/errors/native-sandbox-warm-delivery-failed.md +21 -0
- package/help/errors/native-sandbox-worker-exited.md +20 -0
- package/help/errors/native-sandbox-worker-lost.md +20 -0
- package/help/errors/native-sandbox-worker-unready.md +22 -0
- package/help/errors/secret-broker-body-invalid.md +26 -0
- package/help/errors/secret-broker-changed.md +20 -0
- package/help/errors/secret-broker-config-invalid.md +30 -0
- package/help/errors/secret-broker-conflict.md +27 -0
- package/help/errors/secret-broker-destination-denied.md +28 -0
- package/help/errors/secret-broker-value-invalid.md +28 -0
- package/help/errors/secret-brokered.md +24 -0
- package/help/errors/secret-not-brokered.md +25 -0
- package/help/errors/slack-auth-failed.md +48 -0
- package/help/errors/slack-channel-unreachable.md +39 -0
- package/help/errors/slack-not-configured.md +33 -0
- package/help/getting-started.md +18 -0
- package/help/github.md +18 -1
- package/help/identity-and-access.md +5 -1
- package/help/local-repositories.md +35 -5
- package/help/low-power-mode.md +125 -0
- package/help/merge-order-check.md +117 -0
- package/help/mobile-app.md +54 -0
- package/help/native-sandbox.md +136 -0
- package/help/observability.md +8 -0
- package/help/related-pull-requests.md +70 -9
- package/help/repo-instructions-and-skills.md +91 -0
- package/help/review-fix-rounds.md +10 -0
- package/help/slack-notifications.md +62 -0
- package/help/troubleshooting/coding-workers.md +21 -0
- package/package.json +13 -5
- package/prisma/migrations/20261009000003_native_execution_mode/migration.sql +12 -0
- package/prisma/migrations/20261009000004_native_gateway_ledger/migration.sql +65 -0
- package/prisma/migrations/20261009000005_native_gateway_call_child_agent/migration.sql +5 -0
- package/prisma/migrations/20261009000006_run_deferred_start_stop/migration.sql +14 -0
- package/prisma/migrations/20261009000007_native_gateway_network_ready/migration.sql +5 -0
- package/prisma/migrations/20261010000001_workflow_notifications/migration.sql +99 -0
- package/prisma/migrations/20261011000001_native_gateway_session_status_index/migration.sql +2 -0
- package/prisma/migrations/20261012000001_native_warm_worker/migration.sql +32 -0
- package/prisma/migrations/20261013000001_coding_run_merge_order/migration.sql +2 -0
- package/prisma/migrations/20261013000001_secret_broker/migration.sql +17 -0
- package/prisma/migrations/20261013000002_deferred_review_request/migration.sql +4 -0
- package/prisma/migrations/20261014000000_repo_skills/migration.sql +15 -0
- package/prisma/migrations/20261015000001_coding_run_merge_order_index/migration.sql +2 -0
- package/prisma/migrations/20261015000002_no_change_rereview/migration.sql +2 -0
- package/prisma/schema.prisma +362 -91
|
@@ -81,6 +81,9 @@ export const ModelName = {
|
|
|
81
81
|
CodingRun: 'CodingRun',
|
|
82
82
|
CodingService: 'CodingService',
|
|
83
83
|
CodingRunServiceStatus: 'CodingRunServiceStatus',
|
|
84
|
+
NativeGatewaySession: 'NativeGatewaySession',
|
|
85
|
+
NativeWarmWorker: 'NativeWarmWorker',
|
|
86
|
+
NativeGatewayCall: 'NativeGatewayCall',
|
|
84
87
|
CodingProxySession: 'CodingProxySession',
|
|
85
88
|
CodingProxyRequest: 'CodingProxyRequest',
|
|
86
89
|
RegistryAllowance: 'RegistryAllowance',
|
|
@@ -93,6 +96,7 @@ export const ModelName = {
|
|
|
93
96
|
ResourceGrant: 'ResourceGrant',
|
|
94
97
|
Task: 'Task',
|
|
95
98
|
Secret: 'Secret',
|
|
99
|
+
SecretBrokerChange: 'SecretBrokerChange',
|
|
96
100
|
AgentSecret: 'AgentSecret',
|
|
97
101
|
SecretElicitationOutcome: 'SecretElicitationOutcome',
|
|
98
102
|
Webhook: 'Webhook',
|
|
@@ -122,7 +126,11 @@ export const ModelName = {
|
|
|
122
126
|
RunModelUsage: 'RunModelUsage',
|
|
123
127
|
ModelCatalogEntry: 'ModelCatalogEntry',
|
|
124
128
|
LocalPullRequest: 'LocalPullRequest',
|
|
125
|
-
LocalReview: 'LocalReview'
|
|
129
|
+
LocalReview: 'LocalReview',
|
|
130
|
+
NotificationChannel: 'NotificationChannel',
|
|
131
|
+
WorkflowEvent: 'WorkflowEvent',
|
|
132
|
+
NotificationDelivery: 'NotificationDelivery',
|
|
133
|
+
NotificationThread: 'NotificationThread'
|
|
126
134
|
};
|
|
127
135
|
/**
|
|
128
136
|
* Enums
|
|
@@ -154,7 +162,8 @@ export const AgentScalarFieldEnum = {
|
|
|
154
162
|
defectIssueType: 'defectIssueType',
|
|
155
163
|
budgetGroupId: 'budgetGroupId',
|
|
156
164
|
memoryEnabled: 'memoryEnabled',
|
|
157
|
-
effort: 'effort'
|
|
165
|
+
effort: 'effort',
|
|
166
|
+
nativeExecutionMode: 'nativeExecutionMode'
|
|
158
167
|
};
|
|
159
168
|
export const AgentSubAgentScalarFieldEnum = {
|
|
160
169
|
parentAgentId: 'parentAgentId',
|
|
@@ -239,6 +248,10 @@ export const RunScalarFieldEnum = {
|
|
|
239
248
|
pricingSnapshot: 'pricingSnapshot',
|
|
240
249
|
executionManaged: 'executionManaged',
|
|
241
250
|
executionBackend: 'executionBackend',
|
|
251
|
+
nativeExecutionMode: 'nativeExecutionMode',
|
|
252
|
+
startDeferredAt: 'startDeferredAt',
|
|
253
|
+
stopRequestedAt: 'stopRequestedAt',
|
|
254
|
+
stopRequestReason: 'stopRequestReason',
|
|
242
255
|
parentRunId: 'parentRunId',
|
|
243
256
|
grantedParentMemoryKeys: 'grantedParentMemoryKeys',
|
|
244
257
|
taskOverride: 'taskOverride',
|
|
@@ -264,6 +277,8 @@ export const CodingAgentProfileScalarFieldEnum = {
|
|
|
264
277
|
packagePolicy: 'packagePolicy',
|
|
265
278
|
debugTraceUntil: 'debugTraceUntil',
|
|
266
279
|
services: 'services',
|
|
280
|
+
repoSkills: 'repoSkills',
|
|
281
|
+
claudeBareMode: 'claudeBareMode',
|
|
267
282
|
repositoryAuthorizedVia: 'repositoryAuthorizedVia',
|
|
268
283
|
repositoryAuthorizedById: 'repositoryAuthorizedById',
|
|
269
284
|
repositoryAuthorizedAt: 'repositoryAuthorizedAt'
|
|
@@ -295,11 +310,14 @@ export const CodingRunScalarFieldEnum = {
|
|
|
295
310
|
packagePolicy: 'packagePolicy',
|
|
296
311
|
debugTrace: 'debugTrace',
|
|
297
312
|
maxTurns: 'maxTurns',
|
|
313
|
+
repoSkills: 'repoSkills',
|
|
314
|
+
claudeBareMode: 'claudeBareMode',
|
|
298
315
|
services: 'services',
|
|
299
316
|
issueProvider: 'issueProvider',
|
|
300
317
|
issueKey: 'issueKey',
|
|
301
318
|
resultBranch: 'resultBranch',
|
|
302
319
|
baseSha: 'baseSha',
|
|
320
|
+
mergeOrder: 'mergeOrder',
|
|
303
321
|
createdAt: 'createdAt',
|
|
304
322
|
updatedAt: 'updatedAt',
|
|
305
323
|
rootCodingRunId: 'rootCodingRunId'
|
|
@@ -334,6 +352,49 @@ export const CodingRunServiceStatusScalarFieldEnum = {
|
|
|
334
352
|
createdAt: 'createdAt',
|
|
335
353
|
updatedAt: 'updatedAt'
|
|
336
354
|
};
|
|
355
|
+
export const NativeGatewaySessionScalarFieldEnum = {
|
|
356
|
+
id: 'id',
|
|
357
|
+
runId: 'runId',
|
|
358
|
+
capabilityHash: 'capabilityHash',
|
|
359
|
+
status: 'status',
|
|
360
|
+
deadlineAt: 'deadlineAt',
|
|
361
|
+
budgetUsd: 'budgetUsd',
|
|
362
|
+
snapshot: 'snapshot',
|
|
363
|
+
budgetExhaustedAt: 'budgetExhaustedAt',
|
|
364
|
+
networkReadyAt: 'networkReadyAt',
|
|
365
|
+
createdAt: 'createdAt',
|
|
366
|
+
updatedAt: 'updatedAt'
|
|
367
|
+
};
|
|
368
|
+
export const NativeWarmWorkerScalarFieldEnum = {
|
|
369
|
+
id: 'id',
|
|
370
|
+
name: 'name',
|
|
371
|
+
status: 'status',
|
|
372
|
+
specHash: 'specHash',
|
|
373
|
+
runId: 'runId',
|
|
374
|
+
readyAt: 'readyAt',
|
|
375
|
+
claimedAt: 'claimedAt',
|
|
376
|
+
createdAt: 'createdAt',
|
|
377
|
+
updatedAt: 'updatedAt'
|
|
378
|
+
};
|
|
379
|
+
export const NativeGatewayCallScalarFieldEnum = {
|
|
380
|
+
id: 'id',
|
|
381
|
+
sessionId: 'sessionId',
|
|
382
|
+
callId: 'callId',
|
|
383
|
+
method: 'method',
|
|
384
|
+
status: 'status',
|
|
385
|
+
reservationUsd: 'reservationUsd',
|
|
386
|
+
actualCostUsd: 'actualCostUsd',
|
|
387
|
+
inputTokens: 'inputTokens',
|
|
388
|
+
outputTokens: 'outputTokens',
|
|
389
|
+
cachedInputTokens: 'cachedInputTokens',
|
|
390
|
+
cacheWriteTokens: 'cacheWriteTokens',
|
|
391
|
+
result: 'result',
|
|
392
|
+
childRunId: 'childRunId',
|
|
393
|
+
childAgentId: 'childAgentId',
|
|
394
|
+
createdAt: 'createdAt',
|
|
395
|
+
updatedAt: 'updatedAt',
|
|
396
|
+
completedAt: 'completedAt'
|
|
397
|
+
};
|
|
337
398
|
export const CodingProxySessionScalarFieldEnum = {
|
|
338
399
|
id: 'id',
|
|
339
400
|
runId: 'runId',
|
|
@@ -463,10 +524,22 @@ export const SecretScalarFieldEnum = {
|
|
|
463
524
|
name: 'name',
|
|
464
525
|
ciphertext: 'ciphertext',
|
|
465
526
|
keyId: 'keyId',
|
|
527
|
+
broker: 'broker',
|
|
466
528
|
ownerId: 'ownerId',
|
|
467
529
|
createdAt: 'createdAt',
|
|
468
530
|
updatedAt: 'updatedAt'
|
|
469
531
|
};
|
|
532
|
+
export const SecretBrokerChangeScalarFieldEnum = {
|
|
533
|
+
id: 'id',
|
|
534
|
+
secretId: 'secretId',
|
|
535
|
+
ownerId: 'ownerId',
|
|
536
|
+
secretName: 'secretName',
|
|
537
|
+
actorId: 'actorId',
|
|
538
|
+
before: 'before',
|
|
539
|
+
after: 'after',
|
|
540
|
+
via: 'via',
|
|
541
|
+
createdAt: 'createdAt'
|
|
542
|
+
};
|
|
470
543
|
export const AgentSecretScalarFieldEnum = {
|
|
471
544
|
agentId: 'agentId',
|
|
472
545
|
secretId: 'secretId',
|
|
@@ -602,7 +675,9 @@ export const DeferredReviewScalarFieldEnum = {
|
|
|
602
675
|
headSha: 'headSha',
|
|
603
676
|
agentId: 'agentId',
|
|
604
677
|
checkName: 'checkName',
|
|
605
|
-
createdAt: 'createdAt'
|
|
678
|
+
createdAt: 'createdAt',
|
|
679
|
+
reason: 'reason',
|
|
680
|
+
leadRunId: 'leadRunId'
|
|
606
681
|
};
|
|
607
682
|
export const RunHostCheckScalarFieldEnum = {
|
|
608
683
|
runId: 'runId',
|
|
@@ -615,7 +690,8 @@ export const RunHostCheckScalarFieldEnum = {
|
|
|
615
690
|
verdict: 'verdict',
|
|
616
691
|
reviewBody: 'reviewBody',
|
|
617
692
|
ciPendingAtReview: 'ciPendingAtReview',
|
|
618
|
-
ciRereviewAt: 'ciRereviewAt'
|
|
693
|
+
ciRereviewAt: 'ciRereviewAt',
|
|
694
|
+
noChangeRereviewAt: 'noChangeRereviewAt'
|
|
619
695
|
};
|
|
620
696
|
export const RunHostStatusScalarFieldEnum = {
|
|
621
697
|
runId: 'runId',
|
|
@@ -779,6 +855,61 @@ export const LocalReviewScalarFieldEnum = {
|
|
|
779
855
|
comments: 'comments',
|
|
780
856
|
createdAt: 'createdAt'
|
|
781
857
|
};
|
|
858
|
+
export const NotificationChannelScalarFieldEnum = {
|
|
859
|
+
id: 'id',
|
|
860
|
+
provider: 'provider',
|
|
861
|
+
channelId: 'channelId',
|
|
862
|
+
channelName: 'channelName',
|
|
863
|
+
issueProvider: 'issueProvider',
|
|
864
|
+
projectKey: 'projectKey',
|
|
865
|
+
agentId: 'agentId',
|
|
866
|
+
events: 'events',
|
|
867
|
+
includeCost: 'includeCost',
|
|
868
|
+
lastError: 'lastError',
|
|
869
|
+
lastErrorAt: 'lastErrorAt',
|
|
870
|
+
authorizedById: 'authorizedById',
|
|
871
|
+
authorizedAt: 'authorizedAt',
|
|
872
|
+
createdAt: 'createdAt'
|
|
873
|
+
};
|
|
874
|
+
export const WorkflowEventScalarFieldEnum = {
|
|
875
|
+
id: 'id',
|
|
876
|
+
kind: 'kind',
|
|
877
|
+
dedupeKey: 'dedupeKey',
|
|
878
|
+
runId: 'runId',
|
|
879
|
+
agentId: 'agentId',
|
|
880
|
+
workItemProvider: 'workItemProvider',
|
|
881
|
+
workItemKey: 'workItemKey',
|
|
882
|
+
codeProvider: 'codeProvider',
|
|
883
|
+
repository: 'repository',
|
|
884
|
+
prNumber: 'prNumber',
|
|
885
|
+
payload: 'payload',
|
|
886
|
+
createdAt: 'createdAt'
|
|
887
|
+
};
|
|
888
|
+
export const NotificationDeliveryScalarFieldEnum = {
|
|
889
|
+
id: 'id',
|
|
890
|
+
eventId: 'eventId',
|
|
891
|
+
provider: 'provider',
|
|
892
|
+
channelId: 'channelId',
|
|
893
|
+
threadKey: 'threadKey',
|
|
894
|
+
includeCost: 'includeCost',
|
|
895
|
+
state: 'state',
|
|
896
|
+
attempts: 'attempts',
|
|
897
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
898
|
+
lastError: 'lastError',
|
|
899
|
+
messageTs: 'messageTs',
|
|
900
|
+
deliveredAt: 'deliveredAt',
|
|
901
|
+
createdAt: 'createdAt'
|
|
902
|
+
};
|
|
903
|
+
export const NotificationThreadScalarFieldEnum = {
|
|
904
|
+
id: 'id',
|
|
905
|
+
provider: 'provider',
|
|
906
|
+
channelId: 'channelId',
|
|
907
|
+
threadKey: 'threadKey',
|
|
908
|
+
parentTs: 'parentTs',
|
|
909
|
+
status: 'status',
|
|
910
|
+
createdAt: 'createdAt',
|
|
911
|
+
updatedAt: 'updatedAt'
|
|
912
|
+
};
|
|
782
913
|
export const SortOrder = {
|
|
783
914
|
asc: 'asc',
|
|
784
915
|
desc: 'desc'
|
|
@@ -40,6 +40,9 @@ export declare const ModelName: {
|
|
|
40
40
|
readonly CodingRun: "CodingRun";
|
|
41
41
|
readonly CodingService: "CodingService";
|
|
42
42
|
readonly CodingRunServiceStatus: "CodingRunServiceStatus";
|
|
43
|
+
readonly NativeGatewaySession: "NativeGatewaySession";
|
|
44
|
+
readonly NativeWarmWorker: "NativeWarmWorker";
|
|
45
|
+
readonly NativeGatewayCall: "NativeGatewayCall";
|
|
43
46
|
readonly CodingProxySession: "CodingProxySession";
|
|
44
47
|
readonly CodingProxyRequest: "CodingProxyRequest";
|
|
45
48
|
readonly RegistryAllowance: "RegistryAllowance";
|
|
@@ -52,6 +55,7 @@ export declare const ModelName: {
|
|
|
52
55
|
readonly ResourceGrant: "ResourceGrant";
|
|
53
56
|
readonly Task: "Task";
|
|
54
57
|
readonly Secret: "Secret";
|
|
58
|
+
readonly SecretBrokerChange: "SecretBrokerChange";
|
|
55
59
|
readonly AgentSecret: "AgentSecret";
|
|
56
60
|
readonly SecretElicitationOutcome: "SecretElicitationOutcome";
|
|
57
61
|
readonly Webhook: "Webhook";
|
|
@@ -82,6 +86,10 @@ export declare const ModelName: {
|
|
|
82
86
|
readonly ModelCatalogEntry: "ModelCatalogEntry";
|
|
83
87
|
readonly LocalPullRequest: "LocalPullRequest";
|
|
84
88
|
readonly LocalReview: "LocalReview";
|
|
89
|
+
readonly NotificationChannel: "NotificationChannel";
|
|
90
|
+
readonly WorkflowEvent: "WorkflowEvent";
|
|
91
|
+
readonly NotificationDelivery: "NotificationDelivery";
|
|
92
|
+
readonly NotificationThread: "NotificationThread";
|
|
85
93
|
};
|
|
86
94
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
87
95
|
export declare const TransactionIsolationLevel: {
|
|
@@ -113,6 +121,7 @@ export declare const AgentScalarFieldEnum: {
|
|
|
113
121
|
readonly budgetGroupId: "budgetGroupId";
|
|
114
122
|
readonly memoryEnabled: "memoryEnabled";
|
|
115
123
|
readonly effort: "effort";
|
|
124
|
+
readonly nativeExecutionMode: "nativeExecutionMode";
|
|
116
125
|
};
|
|
117
126
|
export type AgentScalarFieldEnum = (typeof AgentScalarFieldEnum)[keyof typeof AgentScalarFieldEnum];
|
|
118
127
|
export declare const AgentSubAgentScalarFieldEnum: {
|
|
@@ -206,6 +215,10 @@ export declare const RunScalarFieldEnum: {
|
|
|
206
215
|
readonly pricingSnapshot: "pricingSnapshot";
|
|
207
216
|
readonly executionManaged: "executionManaged";
|
|
208
217
|
readonly executionBackend: "executionBackend";
|
|
218
|
+
readonly nativeExecutionMode: "nativeExecutionMode";
|
|
219
|
+
readonly startDeferredAt: "startDeferredAt";
|
|
220
|
+
readonly stopRequestedAt: "stopRequestedAt";
|
|
221
|
+
readonly stopRequestReason: "stopRequestReason";
|
|
209
222
|
readonly parentRunId: "parentRunId";
|
|
210
223
|
readonly grantedParentMemoryKeys: "grantedParentMemoryKeys";
|
|
211
224
|
readonly taskOverride: "taskOverride";
|
|
@@ -232,6 +245,8 @@ export declare const CodingAgentProfileScalarFieldEnum: {
|
|
|
232
245
|
readonly packagePolicy: "packagePolicy";
|
|
233
246
|
readonly debugTraceUntil: "debugTraceUntil";
|
|
234
247
|
readonly services: "services";
|
|
248
|
+
readonly repoSkills: "repoSkills";
|
|
249
|
+
readonly claudeBareMode: "claudeBareMode";
|
|
235
250
|
readonly repositoryAuthorizedVia: "repositoryAuthorizedVia";
|
|
236
251
|
readonly repositoryAuthorizedById: "repositoryAuthorizedById";
|
|
237
252
|
readonly repositoryAuthorizedAt: "repositoryAuthorizedAt";
|
|
@@ -264,11 +279,14 @@ export declare const CodingRunScalarFieldEnum: {
|
|
|
264
279
|
readonly packagePolicy: "packagePolicy";
|
|
265
280
|
readonly debugTrace: "debugTrace";
|
|
266
281
|
readonly maxTurns: "maxTurns";
|
|
282
|
+
readonly repoSkills: "repoSkills";
|
|
283
|
+
readonly claudeBareMode: "claudeBareMode";
|
|
267
284
|
readonly services: "services";
|
|
268
285
|
readonly issueProvider: "issueProvider";
|
|
269
286
|
readonly issueKey: "issueKey";
|
|
270
287
|
readonly resultBranch: "resultBranch";
|
|
271
288
|
readonly baseSha: "baseSha";
|
|
289
|
+
readonly mergeOrder: "mergeOrder";
|
|
272
290
|
readonly createdAt: "createdAt";
|
|
273
291
|
readonly updatedAt: "updatedAt";
|
|
274
292
|
readonly rootCodingRunId: "rootCodingRunId";
|
|
@@ -306,6 +324,52 @@ export declare const CodingRunServiceStatusScalarFieldEnum: {
|
|
|
306
324
|
readonly updatedAt: "updatedAt";
|
|
307
325
|
};
|
|
308
326
|
export type CodingRunServiceStatusScalarFieldEnum = (typeof CodingRunServiceStatusScalarFieldEnum)[keyof typeof CodingRunServiceStatusScalarFieldEnum];
|
|
327
|
+
export declare const NativeGatewaySessionScalarFieldEnum: {
|
|
328
|
+
readonly id: "id";
|
|
329
|
+
readonly runId: "runId";
|
|
330
|
+
readonly capabilityHash: "capabilityHash";
|
|
331
|
+
readonly status: "status";
|
|
332
|
+
readonly deadlineAt: "deadlineAt";
|
|
333
|
+
readonly budgetUsd: "budgetUsd";
|
|
334
|
+
readonly snapshot: "snapshot";
|
|
335
|
+
readonly budgetExhaustedAt: "budgetExhaustedAt";
|
|
336
|
+
readonly networkReadyAt: "networkReadyAt";
|
|
337
|
+
readonly createdAt: "createdAt";
|
|
338
|
+
readonly updatedAt: "updatedAt";
|
|
339
|
+
};
|
|
340
|
+
export type NativeGatewaySessionScalarFieldEnum = (typeof NativeGatewaySessionScalarFieldEnum)[keyof typeof NativeGatewaySessionScalarFieldEnum];
|
|
341
|
+
export declare const NativeWarmWorkerScalarFieldEnum: {
|
|
342
|
+
readonly id: "id";
|
|
343
|
+
readonly name: "name";
|
|
344
|
+
readonly status: "status";
|
|
345
|
+
readonly specHash: "specHash";
|
|
346
|
+
readonly runId: "runId";
|
|
347
|
+
readonly readyAt: "readyAt";
|
|
348
|
+
readonly claimedAt: "claimedAt";
|
|
349
|
+
readonly createdAt: "createdAt";
|
|
350
|
+
readonly updatedAt: "updatedAt";
|
|
351
|
+
};
|
|
352
|
+
export type NativeWarmWorkerScalarFieldEnum = (typeof NativeWarmWorkerScalarFieldEnum)[keyof typeof NativeWarmWorkerScalarFieldEnum];
|
|
353
|
+
export declare const NativeGatewayCallScalarFieldEnum: {
|
|
354
|
+
readonly id: "id";
|
|
355
|
+
readonly sessionId: "sessionId";
|
|
356
|
+
readonly callId: "callId";
|
|
357
|
+
readonly method: "method";
|
|
358
|
+
readonly status: "status";
|
|
359
|
+
readonly reservationUsd: "reservationUsd";
|
|
360
|
+
readonly actualCostUsd: "actualCostUsd";
|
|
361
|
+
readonly inputTokens: "inputTokens";
|
|
362
|
+
readonly outputTokens: "outputTokens";
|
|
363
|
+
readonly cachedInputTokens: "cachedInputTokens";
|
|
364
|
+
readonly cacheWriteTokens: "cacheWriteTokens";
|
|
365
|
+
readonly result: "result";
|
|
366
|
+
readonly childRunId: "childRunId";
|
|
367
|
+
readonly childAgentId: "childAgentId";
|
|
368
|
+
readonly createdAt: "createdAt";
|
|
369
|
+
readonly updatedAt: "updatedAt";
|
|
370
|
+
readonly completedAt: "completedAt";
|
|
371
|
+
};
|
|
372
|
+
export type NativeGatewayCallScalarFieldEnum = (typeof NativeGatewayCallScalarFieldEnum)[keyof typeof NativeGatewayCallScalarFieldEnum];
|
|
309
373
|
export declare const CodingProxySessionScalarFieldEnum: {
|
|
310
374
|
readonly id: "id";
|
|
311
375
|
readonly runId: "runId";
|
|
@@ -446,11 +510,24 @@ export declare const SecretScalarFieldEnum: {
|
|
|
446
510
|
readonly name: "name";
|
|
447
511
|
readonly ciphertext: "ciphertext";
|
|
448
512
|
readonly keyId: "keyId";
|
|
513
|
+
readonly broker: "broker";
|
|
449
514
|
readonly ownerId: "ownerId";
|
|
450
515
|
readonly createdAt: "createdAt";
|
|
451
516
|
readonly updatedAt: "updatedAt";
|
|
452
517
|
};
|
|
453
518
|
export type SecretScalarFieldEnum = (typeof SecretScalarFieldEnum)[keyof typeof SecretScalarFieldEnum];
|
|
519
|
+
export declare const SecretBrokerChangeScalarFieldEnum: {
|
|
520
|
+
readonly id: "id";
|
|
521
|
+
readonly secretId: "secretId";
|
|
522
|
+
readonly ownerId: "ownerId";
|
|
523
|
+
readonly secretName: "secretName";
|
|
524
|
+
readonly actorId: "actorId";
|
|
525
|
+
readonly before: "before";
|
|
526
|
+
readonly after: "after";
|
|
527
|
+
readonly via: "via";
|
|
528
|
+
readonly createdAt: "createdAt";
|
|
529
|
+
};
|
|
530
|
+
export type SecretBrokerChangeScalarFieldEnum = (typeof SecretBrokerChangeScalarFieldEnum)[keyof typeof SecretBrokerChangeScalarFieldEnum];
|
|
454
531
|
export declare const AgentSecretScalarFieldEnum: {
|
|
455
532
|
readonly agentId: "agentId";
|
|
456
533
|
readonly secretId: "secretId";
|
|
@@ -601,6 +678,8 @@ export declare const DeferredReviewScalarFieldEnum: {
|
|
|
601
678
|
readonly agentId: "agentId";
|
|
602
679
|
readonly checkName: "checkName";
|
|
603
680
|
readonly createdAt: "createdAt";
|
|
681
|
+
readonly reason: "reason";
|
|
682
|
+
readonly leadRunId: "leadRunId";
|
|
604
683
|
};
|
|
605
684
|
export type DeferredReviewScalarFieldEnum = (typeof DeferredReviewScalarFieldEnum)[keyof typeof DeferredReviewScalarFieldEnum];
|
|
606
685
|
export declare const RunHostCheckScalarFieldEnum: {
|
|
@@ -615,6 +694,7 @@ export declare const RunHostCheckScalarFieldEnum: {
|
|
|
615
694
|
readonly reviewBody: "reviewBody";
|
|
616
695
|
readonly ciPendingAtReview: "ciPendingAtReview";
|
|
617
696
|
readonly ciRereviewAt: "ciRereviewAt";
|
|
697
|
+
readonly noChangeRereviewAt: "noChangeRereviewAt";
|
|
618
698
|
};
|
|
619
699
|
export type RunHostCheckScalarFieldEnum = (typeof RunHostCheckScalarFieldEnum)[keyof typeof RunHostCheckScalarFieldEnum];
|
|
620
700
|
export declare const RunHostStatusScalarFieldEnum: {
|
|
@@ -793,6 +873,65 @@ export declare const LocalReviewScalarFieldEnum: {
|
|
|
793
873
|
readonly createdAt: "createdAt";
|
|
794
874
|
};
|
|
795
875
|
export type LocalReviewScalarFieldEnum = (typeof LocalReviewScalarFieldEnum)[keyof typeof LocalReviewScalarFieldEnum];
|
|
876
|
+
export declare const NotificationChannelScalarFieldEnum: {
|
|
877
|
+
readonly id: "id";
|
|
878
|
+
readonly provider: "provider";
|
|
879
|
+
readonly channelId: "channelId";
|
|
880
|
+
readonly channelName: "channelName";
|
|
881
|
+
readonly issueProvider: "issueProvider";
|
|
882
|
+
readonly projectKey: "projectKey";
|
|
883
|
+
readonly agentId: "agentId";
|
|
884
|
+
readonly events: "events";
|
|
885
|
+
readonly includeCost: "includeCost";
|
|
886
|
+
readonly lastError: "lastError";
|
|
887
|
+
readonly lastErrorAt: "lastErrorAt";
|
|
888
|
+
readonly authorizedById: "authorizedById";
|
|
889
|
+
readonly authorizedAt: "authorizedAt";
|
|
890
|
+
readonly createdAt: "createdAt";
|
|
891
|
+
};
|
|
892
|
+
export type NotificationChannelScalarFieldEnum = (typeof NotificationChannelScalarFieldEnum)[keyof typeof NotificationChannelScalarFieldEnum];
|
|
893
|
+
export declare const WorkflowEventScalarFieldEnum: {
|
|
894
|
+
readonly id: "id";
|
|
895
|
+
readonly kind: "kind";
|
|
896
|
+
readonly dedupeKey: "dedupeKey";
|
|
897
|
+
readonly runId: "runId";
|
|
898
|
+
readonly agentId: "agentId";
|
|
899
|
+
readonly workItemProvider: "workItemProvider";
|
|
900
|
+
readonly workItemKey: "workItemKey";
|
|
901
|
+
readonly codeProvider: "codeProvider";
|
|
902
|
+
readonly repository: "repository";
|
|
903
|
+
readonly prNumber: "prNumber";
|
|
904
|
+
readonly payload: "payload";
|
|
905
|
+
readonly createdAt: "createdAt";
|
|
906
|
+
};
|
|
907
|
+
export type WorkflowEventScalarFieldEnum = (typeof WorkflowEventScalarFieldEnum)[keyof typeof WorkflowEventScalarFieldEnum];
|
|
908
|
+
export declare const NotificationDeliveryScalarFieldEnum: {
|
|
909
|
+
readonly id: "id";
|
|
910
|
+
readonly eventId: "eventId";
|
|
911
|
+
readonly provider: "provider";
|
|
912
|
+
readonly channelId: "channelId";
|
|
913
|
+
readonly threadKey: "threadKey";
|
|
914
|
+
readonly includeCost: "includeCost";
|
|
915
|
+
readonly state: "state";
|
|
916
|
+
readonly attempts: "attempts";
|
|
917
|
+
readonly nextAttemptAt: "nextAttemptAt";
|
|
918
|
+
readonly lastError: "lastError";
|
|
919
|
+
readonly messageTs: "messageTs";
|
|
920
|
+
readonly deliveredAt: "deliveredAt";
|
|
921
|
+
readonly createdAt: "createdAt";
|
|
922
|
+
};
|
|
923
|
+
export type NotificationDeliveryScalarFieldEnum = (typeof NotificationDeliveryScalarFieldEnum)[keyof typeof NotificationDeliveryScalarFieldEnum];
|
|
924
|
+
export declare const NotificationThreadScalarFieldEnum: {
|
|
925
|
+
readonly id: "id";
|
|
926
|
+
readonly provider: "provider";
|
|
927
|
+
readonly channelId: "channelId";
|
|
928
|
+
readonly threadKey: "threadKey";
|
|
929
|
+
readonly parentTs: "parentTs";
|
|
930
|
+
readonly status: "status";
|
|
931
|
+
readonly createdAt: "createdAt";
|
|
932
|
+
readonly updatedAt: "updatedAt";
|
|
933
|
+
};
|
|
934
|
+
export type NotificationThreadScalarFieldEnum = (typeof NotificationThreadScalarFieldEnum)[keyof typeof NotificationThreadScalarFieldEnum];
|
|
796
935
|
export declare const SortOrder: {
|
|
797
936
|
readonly asc: "asc";
|
|
798
937
|
readonly desc: "desc";
|
|
@@ -53,6 +53,9 @@ export const ModelName = {
|
|
|
53
53
|
CodingRun: 'CodingRun',
|
|
54
54
|
CodingService: 'CodingService',
|
|
55
55
|
CodingRunServiceStatus: 'CodingRunServiceStatus',
|
|
56
|
+
NativeGatewaySession: 'NativeGatewaySession',
|
|
57
|
+
NativeWarmWorker: 'NativeWarmWorker',
|
|
58
|
+
NativeGatewayCall: 'NativeGatewayCall',
|
|
56
59
|
CodingProxySession: 'CodingProxySession',
|
|
57
60
|
CodingProxyRequest: 'CodingProxyRequest',
|
|
58
61
|
RegistryAllowance: 'RegistryAllowance',
|
|
@@ -65,6 +68,7 @@ export const ModelName = {
|
|
|
65
68
|
ResourceGrant: 'ResourceGrant',
|
|
66
69
|
Task: 'Task',
|
|
67
70
|
Secret: 'Secret',
|
|
71
|
+
SecretBrokerChange: 'SecretBrokerChange',
|
|
68
72
|
AgentSecret: 'AgentSecret',
|
|
69
73
|
SecretElicitationOutcome: 'SecretElicitationOutcome',
|
|
70
74
|
Webhook: 'Webhook',
|
|
@@ -94,7 +98,11 @@ export const ModelName = {
|
|
|
94
98
|
RunModelUsage: 'RunModelUsage',
|
|
95
99
|
ModelCatalogEntry: 'ModelCatalogEntry',
|
|
96
100
|
LocalPullRequest: 'LocalPullRequest',
|
|
97
|
-
LocalReview: 'LocalReview'
|
|
101
|
+
LocalReview: 'LocalReview',
|
|
102
|
+
NotificationChannel: 'NotificationChannel',
|
|
103
|
+
WorkflowEvent: 'WorkflowEvent',
|
|
104
|
+
NotificationDelivery: 'NotificationDelivery',
|
|
105
|
+
NotificationThread: 'NotificationThread'
|
|
98
106
|
};
|
|
99
107
|
/*
|
|
100
108
|
* Enums
|
|
@@ -126,7 +134,8 @@ export const AgentScalarFieldEnum = {
|
|
|
126
134
|
defectIssueType: 'defectIssueType',
|
|
127
135
|
budgetGroupId: 'budgetGroupId',
|
|
128
136
|
memoryEnabled: 'memoryEnabled',
|
|
129
|
-
effort: 'effort'
|
|
137
|
+
effort: 'effort',
|
|
138
|
+
nativeExecutionMode: 'nativeExecutionMode'
|
|
130
139
|
};
|
|
131
140
|
export const AgentSubAgentScalarFieldEnum = {
|
|
132
141
|
parentAgentId: 'parentAgentId',
|
|
@@ -211,6 +220,10 @@ export const RunScalarFieldEnum = {
|
|
|
211
220
|
pricingSnapshot: 'pricingSnapshot',
|
|
212
221
|
executionManaged: 'executionManaged',
|
|
213
222
|
executionBackend: 'executionBackend',
|
|
223
|
+
nativeExecutionMode: 'nativeExecutionMode',
|
|
224
|
+
startDeferredAt: 'startDeferredAt',
|
|
225
|
+
stopRequestedAt: 'stopRequestedAt',
|
|
226
|
+
stopRequestReason: 'stopRequestReason',
|
|
214
227
|
parentRunId: 'parentRunId',
|
|
215
228
|
grantedParentMemoryKeys: 'grantedParentMemoryKeys',
|
|
216
229
|
taskOverride: 'taskOverride',
|
|
@@ -236,6 +249,8 @@ export const CodingAgentProfileScalarFieldEnum = {
|
|
|
236
249
|
packagePolicy: 'packagePolicy',
|
|
237
250
|
debugTraceUntil: 'debugTraceUntil',
|
|
238
251
|
services: 'services',
|
|
252
|
+
repoSkills: 'repoSkills',
|
|
253
|
+
claudeBareMode: 'claudeBareMode',
|
|
239
254
|
repositoryAuthorizedVia: 'repositoryAuthorizedVia',
|
|
240
255
|
repositoryAuthorizedById: 'repositoryAuthorizedById',
|
|
241
256
|
repositoryAuthorizedAt: 'repositoryAuthorizedAt'
|
|
@@ -267,11 +282,14 @@ export const CodingRunScalarFieldEnum = {
|
|
|
267
282
|
packagePolicy: 'packagePolicy',
|
|
268
283
|
debugTrace: 'debugTrace',
|
|
269
284
|
maxTurns: 'maxTurns',
|
|
285
|
+
repoSkills: 'repoSkills',
|
|
286
|
+
claudeBareMode: 'claudeBareMode',
|
|
270
287
|
services: 'services',
|
|
271
288
|
issueProvider: 'issueProvider',
|
|
272
289
|
issueKey: 'issueKey',
|
|
273
290
|
resultBranch: 'resultBranch',
|
|
274
291
|
baseSha: 'baseSha',
|
|
292
|
+
mergeOrder: 'mergeOrder',
|
|
275
293
|
createdAt: 'createdAt',
|
|
276
294
|
updatedAt: 'updatedAt',
|
|
277
295
|
rootCodingRunId: 'rootCodingRunId'
|
|
@@ -306,6 +324,49 @@ export const CodingRunServiceStatusScalarFieldEnum = {
|
|
|
306
324
|
createdAt: 'createdAt',
|
|
307
325
|
updatedAt: 'updatedAt'
|
|
308
326
|
};
|
|
327
|
+
export const NativeGatewaySessionScalarFieldEnum = {
|
|
328
|
+
id: 'id',
|
|
329
|
+
runId: 'runId',
|
|
330
|
+
capabilityHash: 'capabilityHash',
|
|
331
|
+
status: 'status',
|
|
332
|
+
deadlineAt: 'deadlineAt',
|
|
333
|
+
budgetUsd: 'budgetUsd',
|
|
334
|
+
snapshot: 'snapshot',
|
|
335
|
+
budgetExhaustedAt: 'budgetExhaustedAt',
|
|
336
|
+
networkReadyAt: 'networkReadyAt',
|
|
337
|
+
createdAt: 'createdAt',
|
|
338
|
+
updatedAt: 'updatedAt'
|
|
339
|
+
};
|
|
340
|
+
export const NativeWarmWorkerScalarFieldEnum = {
|
|
341
|
+
id: 'id',
|
|
342
|
+
name: 'name',
|
|
343
|
+
status: 'status',
|
|
344
|
+
specHash: 'specHash',
|
|
345
|
+
runId: 'runId',
|
|
346
|
+
readyAt: 'readyAt',
|
|
347
|
+
claimedAt: 'claimedAt',
|
|
348
|
+
createdAt: 'createdAt',
|
|
349
|
+
updatedAt: 'updatedAt'
|
|
350
|
+
};
|
|
351
|
+
export const NativeGatewayCallScalarFieldEnum = {
|
|
352
|
+
id: 'id',
|
|
353
|
+
sessionId: 'sessionId',
|
|
354
|
+
callId: 'callId',
|
|
355
|
+
method: 'method',
|
|
356
|
+
status: 'status',
|
|
357
|
+
reservationUsd: 'reservationUsd',
|
|
358
|
+
actualCostUsd: 'actualCostUsd',
|
|
359
|
+
inputTokens: 'inputTokens',
|
|
360
|
+
outputTokens: 'outputTokens',
|
|
361
|
+
cachedInputTokens: 'cachedInputTokens',
|
|
362
|
+
cacheWriteTokens: 'cacheWriteTokens',
|
|
363
|
+
result: 'result',
|
|
364
|
+
childRunId: 'childRunId',
|
|
365
|
+
childAgentId: 'childAgentId',
|
|
366
|
+
createdAt: 'createdAt',
|
|
367
|
+
updatedAt: 'updatedAt',
|
|
368
|
+
completedAt: 'completedAt'
|
|
369
|
+
};
|
|
309
370
|
export const CodingProxySessionScalarFieldEnum = {
|
|
310
371
|
id: 'id',
|
|
311
372
|
runId: 'runId',
|
|
@@ -435,10 +496,22 @@ export const SecretScalarFieldEnum = {
|
|
|
435
496
|
name: 'name',
|
|
436
497
|
ciphertext: 'ciphertext',
|
|
437
498
|
keyId: 'keyId',
|
|
499
|
+
broker: 'broker',
|
|
438
500
|
ownerId: 'ownerId',
|
|
439
501
|
createdAt: 'createdAt',
|
|
440
502
|
updatedAt: 'updatedAt'
|
|
441
503
|
};
|
|
504
|
+
export const SecretBrokerChangeScalarFieldEnum = {
|
|
505
|
+
id: 'id',
|
|
506
|
+
secretId: 'secretId',
|
|
507
|
+
ownerId: 'ownerId',
|
|
508
|
+
secretName: 'secretName',
|
|
509
|
+
actorId: 'actorId',
|
|
510
|
+
before: 'before',
|
|
511
|
+
after: 'after',
|
|
512
|
+
via: 'via',
|
|
513
|
+
createdAt: 'createdAt'
|
|
514
|
+
};
|
|
442
515
|
export const AgentSecretScalarFieldEnum = {
|
|
443
516
|
agentId: 'agentId',
|
|
444
517
|
secretId: 'secretId',
|
|
@@ -574,7 +647,9 @@ export const DeferredReviewScalarFieldEnum = {
|
|
|
574
647
|
headSha: 'headSha',
|
|
575
648
|
agentId: 'agentId',
|
|
576
649
|
checkName: 'checkName',
|
|
577
|
-
createdAt: 'createdAt'
|
|
650
|
+
createdAt: 'createdAt',
|
|
651
|
+
reason: 'reason',
|
|
652
|
+
leadRunId: 'leadRunId'
|
|
578
653
|
};
|
|
579
654
|
export const RunHostCheckScalarFieldEnum = {
|
|
580
655
|
runId: 'runId',
|
|
@@ -587,7 +662,8 @@ export const RunHostCheckScalarFieldEnum = {
|
|
|
587
662
|
verdict: 'verdict',
|
|
588
663
|
reviewBody: 'reviewBody',
|
|
589
664
|
ciPendingAtReview: 'ciPendingAtReview',
|
|
590
|
-
ciRereviewAt: 'ciRereviewAt'
|
|
665
|
+
ciRereviewAt: 'ciRereviewAt',
|
|
666
|
+
noChangeRereviewAt: 'noChangeRereviewAt'
|
|
591
667
|
};
|
|
592
668
|
export const RunHostStatusScalarFieldEnum = {
|
|
593
669
|
runId: 'runId',
|
|
@@ -751,6 +827,61 @@ export const LocalReviewScalarFieldEnum = {
|
|
|
751
827
|
comments: 'comments',
|
|
752
828
|
createdAt: 'createdAt'
|
|
753
829
|
};
|
|
830
|
+
export const NotificationChannelScalarFieldEnum = {
|
|
831
|
+
id: 'id',
|
|
832
|
+
provider: 'provider',
|
|
833
|
+
channelId: 'channelId',
|
|
834
|
+
channelName: 'channelName',
|
|
835
|
+
issueProvider: 'issueProvider',
|
|
836
|
+
projectKey: 'projectKey',
|
|
837
|
+
agentId: 'agentId',
|
|
838
|
+
events: 'events',
|
|
839
|
+
includeCost: 'includeCost',
|
|
840
|
+
lastError: 'lastError',
|
|
841
|
+
lastErrorAt: 'lastErrorAt',
|
|
842
|
+
authorizedById: 'authorizedById',
|
|
843
|
+
authorizedAt: 'authorizedAt',
|
|
844
|
+
createdAt: 'createdAt'
|
|
845
|
+
};
|
|
846
|
+
export const WorkflowEventScalarFieldEnum = {
|
|
847
|
+
id: 'id',
|
|
848
|
+
kind: 'kind',
|
|
849
|
+
dedupeKey: 'dedupeKey',
|
|
850
|
+
runId: 'runId',
|
|
851
|
+
agentId: 'agentId',
|
|
852
|
+
workItemProvider: 'workItemProvider',
|
|
853
|
+
workItemKey: 'workItemKey',
|
|
854
|
+
codeProvider: 'codeProvider',
|
|
855
|
+
repository: 'repository',
|
|
856
|
+
prNumber: 'prNumber',
|
|
857
|
+
payload: 'payload',
|
|
858
|
+
createdAt: 'createdAt'
|
|
859
|
+
};
|
|
860
|
+
export const NotificationDeliveryScalarFieldEnum = {
|
|
861
|
+
id: 'id',
|
|
862
|
+
eventId: 'eventId',
|
|
863
|
+
provider: 'provider',
|
|
864
|
+
channelId: 'channelId',
|
|
865
|
+
threadKey: 'threadKey',
|
|
866
|
+
includeCost: 'includeCost',
|
|
867
|
+
state: 'state',
|
|
868
|
+
attempts: 'attempts',
|
|
869
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
870
|
+
lastError: 'lastError',
|
|
871
|
+
messageTs: 'messageTs',
|
|
872
|
+
deliveredAt: 'deliveredAt',
|
|
873
|
+
createdAt: 'createdAt'
|
|
874
|
+
};
|
|
875
|
+
export const NotificationThreadScalarFieldEnum = {
|
|
876
|
+
id: 'id',
|
|
877
|
+
provider: 'provider',
|
|
878
|
+
channelId: 'channelId',
|
|
879
|
+
threadKey: 'threadKey',
|
|
880
|
+
parentTs: 'parentTs',
|
|
881
|
+
status: 'status',
|
|
882
|
+
createdAt: 'createdAt',
|
|
883
|
+
updatedAt: 'updatedAt'
|
|
884
|
+
};
|
|
754
885
|
export const SortOrder = {
|
|
755
886
|
asc: 'asc',
|
|
756
887
|
desc: 'desc'
|