@wardby/cli 0.7.0 → 0.9.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 +5 -5
- package/README.md +6 -1
- package/deploy/local/docker-compose.quickstart-coding.yml +11 -0
- package/dist/claude-coding-worker/driver.d.ts +12 -0
- package/dist/claude-coding-worker/driver.js +29 -7
- package/dist/claude-coding-worker/main.js +5 -1
- package/dist/claude-coding-worker/sdk.js +17 -1
- package/dist/claude-plugin/command.d.ts +64 -0
- package/dist/claude-plugin/command.js +379 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +2 -1
- package/dist/cli.js +71 -3
- package/dist/coding/code-host.d.ts +16 -0
- package/dist/coding/code-host.js +60 -0
- package/dist/coding/mcp-token.d.ts +12 -0
- package/dist/coding/mcp-token.js +26 -0
- package/dist/coding/protocol.js +2 -0
- package/dist/coding/redact.js +6 -1
- package/dist/coding/transcript/recorder.d.ts +5 -4
- package/dist/coding/transcript/recorder.js +3 -9
- package/dist/coding-worker/debug-trace.d.ts +3 -1
- package/dist/coding-worker/debug-trace.js +4 -2
- package/dist/coding-worker/driver.js +8 -1
- package/dist/coding-worker/main.js +5 -1
- package/dist/coding-worker/mcp-config.d.ts +27 -0
- package/dist/coding-worker/mcp-config.js +32 -0
- package/dist/coding-worker/sdk.d.ts +36 -0
- package/dist/coding-worker/sdk.js +28 -1
- package/dist/coding-worker/types.d.ts +4 -0
- package/dist/config/mcp-call-limit.d.ts +8 -0
- package/dist/config/mcp-call-limit.js +18 -0
- package/dist/config/mcp-servers.d.ts +8 -0
- package/dist/config/mcp-servers.js +12 -0
- package/dist/config/test-simulators.d.ts +10 -0
- package/dist/config/test-simulators.js +28 -0
- package/dist/config/tool-timeout.d.ts +1 -0
- package/dist/config/tool-timeout.js +18 -0
- package/dist/core/coding-mcp.d.ts +36 -0
- package/dist/core/coding-mcp.js +253 -0
- package/dist/core/coding-repository.d.ts +46 -0
- package/dist/core/coding-repository.js +92 -0
- package/dist/core/delegation-slots.d.ts +27 -0
- package/dist/core/delegation-slots.js +44 -0
- package/dist/core/dispatch.d.ts +6 -2
- package/dist/core/dispatch.js +39 -11
- package/dist/core/engine-native.d.ts +2 -0
- package/dist/core/engine-native.js +13 -0
- package/dist/core/error-code.js +2 -0
- package/dist/core/grants.d.ts +28 -3
- package/dist/core/grants.js +46 -4
- package/dist/core/host-events.js +7 -3
- package/dist/core/host-status.js +2 -2
- package/dist/core/issue-status.js +4 -3
- package/dist/core/listen-address.d.ts +10 -0
- package/dist/core/listen-address.js +14 -0
- package/dist/core/mark-ready.d.ts +1 -1
- package/dist/core/mark-ready.js +1 -1
- package/dist/core/mcp-client/client.d.ts +47 -0
- package/dist/core/mcp-client/client.js +141 -0
- package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
- package/dist/core/mcp-client/jsonrpc.js +54 -0
- package/dist/core/mcp-client/results.d.ts +13 -0
- package/dist/core/mcp-client/results.js +42 -0
- package/dist/core/mcp-servers.d.ts +90 -0
- package/dist/core/mcp-servers.js +230 -0
- package/dist/core/mcp-tools.d.ts +108 -0
- package/dist/core/mcp-tools.js +287 -0
- package/dist/core/merge-order-check.js +38 -19
- package/dist/core/notification-dispatcher.js +2 -1
- package/dist/core/power-idle.d.ts +8 -2
- package/dist/core/power-idle.js +17 -3
- package/dist/core/power.d.ts +5 -0
- package/dist/core/power.js +5 -0
- package/dist/core/related-pull-requests.js +26 -10
- package/dist/core/retention-days.d.ts +5 -0
- package/dist/core/retention-days.js +14 -0
- package/dist/core/review-fix.js +2 -2
- package/dist/core/review-host-tools.js +3 -1
- package/dist/core/run-steps/config.d.ts +25 -0
- package/dist/core/run-steps/config.js +40 -0
- package/dist/core/run-steps/control-chars.d.ts +16 -0
- package/dist/core/run-steps/control-chars.js +26 -0
- package/dist/core/run-steps/detail.d.ts +32 -0
- package/dist/core/run-steps/detail.js +240 -0
- package/dist/core/run-steps/extract.d.ts +52 -0
- package/dist/core/run-steps/extract.js +467 -0
- package/dist/core/run-steps/ingress.d.ts +51 -0
- package/dist/core/run-steps/ingress.js +160 -0
- package/dist/core/run-steps/last-step.d.ts +15 -0
- package/dist/core/run-steps/last-step.js +35 -0
- package/dist/core/run-steps/native.d.ts +48 -0
- package/dist/core/run-steps/native.js +164 -0
- package/dist/core/run-steps/seen.d.ts +16 -0
- package/dist/core/run-steps/seen.js +35 -0
- package/dist/core/run-steps/summarize.d.ts +57 -0
- package/dist/core/run-steps/summarize.js +304 -0
- package/dist/core/run-steps/sweep.d.ts +21 -0
- package/dist/core/run-steps/sweep.js +41 -0
- package/dist/core/run-steps/types.d.ts +89 -0
- package/dist/core/run-steps/types.js +39 -0
- package/dist/core/run-steps/wire.d.ts +35 -0
- package/dist/core/run-steps/wire.js +47 -0
- package/dist/core/run-steps/writer.d.ts +49 -0
- package/dist/core/run-steps/writer.js +279 -0
- package/dist/core/runner.d.ts +70 -16
- package/dist/core/runner.js +296 -74
- package/dist/core/secret-broker-config.d.ts +2 -0
- package/dist/core/secret-broker-config.js +1 -1
- package/dist/core/secret-guard.d.ts +5 -2
- package/dist/core/secret-guard.js +22 -7
- package/dist/core/secrets.d.ts +11 -1
- package/dist/core/secrets.js +27 -1
- package/dist/core/serializable-retry.d.ts +18 -0
- package/dist/core/serializable-retry.js +43 -0
- package/dist/core/tool-admin.d.ts +5 -1
- package/dist/core/tool-admin.js +7 -2
- package/dist/core/tool-names.d.ts +13 -0
- package/dist/core/tool-names.js +20 -0
- package/dist/core/webhooks.d.ts +4 -0
- package/dist/core/webhooks.js +68 -49
- package/dist/core/workflow-run-events.js +2 -1
- package/dist/generated/prisma/browser.d.ts +39 -0
- package/dist/generated/prisma/client.d.ts +39 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +80 -50
- package/dist/generated/prisma/enums.d.ts +6 -0
- package/dist/generated/prisma/enums.js +5 -0
- package/dist/generated/prisma/internal/class.d.ts +77 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +632 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +94 -3
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +98 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +94 -3
- package/dist/generated/prisma/models/Agent.d.ts +372 -1
- package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
- package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +40 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +0 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +159 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +76 -1
- package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
- package/dist/generated/prisma/models/HostProvider.js +1 -0
- package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
- package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
- package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
- package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
- package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
- package/dist/generated/prisma/models/McpServer.js +1 -0
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +39 -1
- package/dist/generated/prisma/models/Principal.d.ts +167 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
- package/dist/generated/prisma/models/Run.d.ts +503 -1
- package/dist/generated/prisma/models/RunStep.d.ts +1453 -0
- package/dist/generated/prisma/models/RunStep.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +387 -0
- package/dist/generated/prisma/models/Tool.d.ts +223 -1
- package/dist/generated/prisma/models.d.ts +7 -0
- package/dist/help/search.js +12 -3
- package/dist/help-index.json +812 -52
- package/dist/import/create.js +16 -1
- package/dist/import/neutral-schema.d.ts +1 -0
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/access.d.ts +1 -0
- package/dist/mcp/auth/grants-cli.d.ts +6 -4
- package/dist/mcp/auth/grants-cli.js +42 -3
- package/dist/mcp/auth/resource-server.d.ts +3 -1
- package/dist/mcp/auth/resource-server.js +17 -2
- package/dist/mcp/context.d.ts +6 -0
- package/dist/mcp/index.js +21 -0
- package/dist/mcp/tools/agents.js +135 -20
- package/dist/mcp/tools/grants.js +66 -28
- package/dist/mcp/tools/host-providers.d.ts +2 -0
- package/dist/mcp/tools/host-providers.js +215 -0
- package/dist/mcp/tools/mcp-servers.d.ts +26 -0
- package/dist/mcp/tools/mcp-servers.js +481 -0
- package/dist/mcp/tools/power.js +2 -2
- package/dist/mcp/tools/repositories.js +50 -10
- package/dist/mcp/tools/run-access.d.ts +7 -0
- package/dist/mcp/tools/run-access.js +14 -0
- package/dist/mcp/tools/run-steps.d.ts +16 -0
- package/dist/mcp/tools/run-steps.js +85 -0
- package/dist/mcp/tools/runs.js +186 -18
- package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
- package/dist/mcp/tools/secret-elicitation.js +25 -2
- package/dist/mcp/tools/secrets.js +38 -4
- package/dist/mcp/tools/tools.d.ts +6 -4
- package/dist/mcp/tools/tools.js +40 -8
- package/dist/mcp/tools/trigger.js +28 -6
- package/dist/mcp/transport/http-limits.d.ts +2 -0
- package/dist/mcp/transport/http-limits.js +6 -2
- package/dist/mcp/webhooks/ingress.js +10 -0
- package/dist/native-worker/gateway-server.d.ts +18 -1
- package/dist/native-worker/gateway-server.js +38 -9
- package/dist/native-worker/gateway.d.ts +5 -0
- package/dist/native-worker/gateway.js +13 -1
- package/dist/native-worker/http-server.d.ts +6 -4
- package/dist/native-worker/http-server.js +53 -8
- package/dist/native-worker/ledger.d.ts +6 -2
- package/dist/native-worker/ledger.js +5 -4
- package/dist/native-worker/protocol.d.ts +1 -0
- package/dist/native-worker/protocol.js +4 -1
- package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
- package/dist/providers/coding-proxy/capability-hash.js +5 -0
- package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
- package/dist/providers/coding-proxy/mcp-route.js +166 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +2 -0
- package/dist/providers/coding-proxy/memory-ledger.js +16 -0
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -0
- package/dist/providers/coding-proxy/prisma-ledger.js +36 -2
- package/dist/providers/coding-proxy/proxy.d.ts +33 -1
- package/dist/providers/coding-proxy/proxy.js +266 -75
- package/dist/providers/coding-proxy/run-step-forwarder.d.ts +42 -0
- package/dist/providers/coding-proxy/run-step-forwarder.js +206 -0
- package/dist/providers/coding-proxy/runtime.d.ts +13 -0
- package/dist/providers/coding-proxy/runtime.js +87 -4
- package/dist/providers/coding-proxy/server.d.ts +3 -0
- package/dist/providers/coding-proxy/server.js +10 -0
- package/dist/providers/coding-proxy/types.d.ts +18 -0
- package/dist/providers/engine/types.d.ts +26 -0
- package/dist/providers/executor/composition.js +5 -0
- package/dist/providers/executor/container.d.ts +47 -1
- package/dist/providers/executor/container.js +84 -8
- package/dist/providers/host-tools/invoke.d.ts +37 -0
- package/dist/providers/host-tools/invoke.js +117 -0
- package/dist/providers/host-tools/operations.d.ts +65 -0
- package/dist/providers/host-tools/operations.js +149 -0
- package/dist/providers/host-tools/registry.d.ts +79 -0
- package/dist/providers/host-tools/registry.js +362 -0
- package/dist/providers/host-tools/request-guard.d.ts +17 -0
- package/dist/providers/host-tools/request-guard.js +99 -0
- package/dist/providers/host-tools/self-test.d.ts +64 -0
- package/dist/providers/host-tools/self-test.js +142 -0
- package/dist/providers/jobs/docker-isolation.d.ts +2 -2
- package/dist/providers/jobs/docker-isolation.js +30 -8
- package/dist/providers/jobs/docker.d.ts +8 -0
- package/dist/providers/jobs/docker.js +33 -9
- package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-isolation.js +15 -2
- package/dist/providers/jobs/kubernetes.d.ts +13 -0
- package/dist/providers/jobs/kubernetes.js +28 -5
- package/dist/providers/jobs/types.d.ts +6 -0
- package/dist/providers/review-host/types.d.ts +6 -4
- package/dist/providers/review-host/types.js +1 -1
- package/dist/providers/vcs/git.d.ts +6 -2
- package/dist/providers/vcs/git.js +15 -4
- package/dist/providers/vcs/github.d.ts +2 -71
- package/dist/providers/vcs/github.js +8 -11
- package/dist/providers/vcs/index.d.ts +1 -1
- package/dist/providers/vcs/index.js +1 -1
- package/dist/providers/vcs/remote.d.ts +4 -0
- package/dist/providers/vcs/remote.js +7 -1
- package/dist/providers/vcs/routing.d.ts +12 -6
- package/dist/providers/vcs/routing.js +21 -6
- package/dist/providers/vcs/types.d.ts +71 -3
- package/dist/quickstart/index.d.ts +5 -0
- package/dist/quickstart/index.js +21 -0
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/eval-core.d.ts +12 -2
- package/dist/sandbox/eval-core.js +20 -4
- package/dist/sandbox/host-functions.d.ts +4 -0
- package/dist/sandbox/host-functions.js +7 -2
- package/dist/sandbox/limits.d.ts +4 -1
- package/dist/sandbox/limits.js +4 -1
- package/dist/sandbox/run-in-sandbox.d.ts +6 -0
- package/dist/sandbox/run-in-sandbox.js +14 -2
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +1 -1
- package/dist/sandbox/secret-broker.d.ts +1 -0
- package/dist/sandbox/secret-broker.js +1 -1
- package/dist/sandbox/tool-timeout.d.ts +32 -0
- package/dist/sandbox/tool-timeout.js +52 -0
- package/dist/sandbox/user-tool.d.ts +8 -1
- package/dist/sandbox/user-tool.js +9 -3
- package/dist/serve.js +26 -18
- package/dist/viewer/api-schema.d.ts +66 -0
- package/dist/viewer/api-schema.js +31 -0
- package/dist/viewer/graph.js +2 -1
- package/dist/viewer/openapi.js +2 -1
- package/dist/viewer/run-detail.d.ts +2 -0
- package/dist/viewer/run-detail.js +26 -1
- package/dist/wardby-bin.js +5 -0
- package/docs/README.md +11 -1
- package/docs/agent-recipes.md +37 -4
- package/docs/architecture-runtime.md +1 -1
- package/docs/claude-code-plugin.md +208 -0
- package/docs/code-review-agents.md +6 -0
- package/docs/coding-agent-setup.md +94 -1
- package/docs/coding-worker-byo-images.md +4 -2
- package/docs/coding-worker-isolation.md +94 -7
- package/docs/debugging-agent-runs.md +354 -0
- package/docs/getting-started-gke.md +33 -11
- package/docs/getting-started-identity-provider.md +43 -37
- package/docs/getting-started.md +8 -0
- package/docs/host-providers.md +294 -0
- package/docs/mcp-servers.md +263 -0
- package/docs/native-sandbox.md +31 -9
- package/docs/security-deployment.md +161 -31
- package/docs/tool-secrets.md +3 -0
- package/docs/viewer-api.md +27 -12
- package/docs/viewer-api.openapi.yml +78 -2
- package/help/admin-viewer.md +5 -0
- package/help/agent-recipes.md +33 -2
- package/help/brokered-secrets.md +3 -0
- package/help/build-claude-code-image.md +1 -1
- package/help/claude-code-run-pane.md +63 -0
- package/help/deploy-gke.md +5 -0
- package/help/errors/coding-mcp-gateway-unavailable.md +46 -0
- package/help/errors/coding-mcp-pins-unavailable.md +35 -0
- package/help/errors/database-auth-invalid.md +1 -1
- package/help/errors/host-provider-error.md +40 -0
- package/help/errors/host-tool-failed.md +36 -0
- package/help/errors/mcp-call-limit.md +22 -0
- package/help/errors/mcp-call-timeout.md +22 -0
- package/help/errors/mcp-server-auth-failed.md +22 -0
- package/help/errors/mcp-server-credentials-unavailable.md +45 -0
- package/help/errors/mcp-server-error.md +28 -0
- package/help/errors/mcp-server-unreachable.md +22 -0
- package/help/errors/mcp-servers-off.md +21 -0
- package/help/errors/mcp-tool-not-allowed.md +26 -0
- package/help/errors/mcp-tool-removed.md +22 -0
- package/help/errors/mcp-unavailable.md +25 -0
- package/help/errors/native-sandbox-capacity.md +1 -1
- package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
- package/help/errors/native-sandbox-docker-failed.md +1 -1
- package/help/errors/native-sandbox-gateway-error.md +1 -1
- package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
- package/help/errors/native-sandbox-image-not-pinned.md +1 -1
- package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
- package/help/errors/native-sandbox-network-unenforced.md +1 -1
- package/help/errors/native-sandbox-requires-catalog.md +1 -1
- package/help/errors/native-sandbox-unavailable.md +1 -1
- package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
- package/help/errors/native-sandbox-worker-exited.md +1 -1
- package/help/errors/native-sandbox-worker-lost.md +1 -1
- package/help/errors/native-sandbox-worker-unready.md +1 -1
- package/help/errors/repository-not-listed.md +36 -0
- package/help/errors/repository-required.md +36 -0
- package/help/errors/tool-timeout.md +38 -0
- package/help/host-providers.md +40 -0
- package/help/identity-and-access.md +4 -1
- package/help/low-power-mode.md +19 -8
- package/help/mcp-servers.md +73 -0
- package/help/mcp.md +9 -2
- package/help/native-capabilities.md +27 -1
- package/help/native-sandbox.md +1 -1
- package/help/operating-agents.md +16 -0
- package/help/related-pull-requests.md +7 -3
- package/help/repo-instructions-and-skills.md +3 -1
- package/help/resume-runs-locally.md +7 -0
- package/help/run-steps.md +140 -0
- package/help/stop-run.md +1 -1
- package/help/troubleshooting/coding-workers.md +9 -1
- package/help/troubleshooting/debugging-agent-runs.md +29 -0
- package/package.json +2 -1
- package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
- package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
- package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
- package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
- package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
- package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
- package/prisma/migrations/20261110000000_run_steps/migration.sql +26 -0
- package/prisma/migrations/20261111000000_run_steps_viewer_notify/migration.sql +59 -0
- package/prisma/migrations/20261112000000_run_steps_detail/migration.sql +9 -0
- package/prisma/schema.prisma +211 -14
- package/scripts/git-askpass.sh +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -30,6 +30,7 @@ export type AgentRepositoryMinAggregateOutputType = {
|
|
|
30
30
|
reviewFixMaxRounds: number | null;
|
|
31
31
|
waitForCi: boolean | null;
|
|
32
32
|
markReadyWhenPassing: boolean | null;
|
|
33
|
+
baseRef: string | null;
|
|
33
34
|
createdAt: Date | null;
|
|
34
35
|
authorizedVia: string | null;
|
|
35
36
|
authorizedById: string | null;
|
|
@@ -45,6 +46,7 @@ export type AgentRepositoryMaxAggregateOutputType = {
|
|
|
45
46
|
reviewFixMaxRounds: number | null;
|
|
46
47
|
waitForCi: boolean | null;
|
|
47
48
|
markReadyWhenPassing: boolean | null;
|
|
49
|
+
baseRef: string | null;
|
|
48
50
|
createdAt: Date | null;
|
|
49
51
|
authorizedVia: string | null;
|
|
50
52
|
authorizedById: string | null;
|
|
@@ -61,6 +63,7 @@ export type AgentRepositoryCountAggregateOutputType = {
|
|
|
61
63
|
reviewFixMaxRounds: number;
|
|
62
64
|
waitForCi: number;
|
|
63
65
|
markReadyWhenPassing: number;
|
|
66
|
+
baseRef: number;
|
|
64
67
|
createdAt: number;
|
|
65
68
|
authorizedVia: number;
|
|
66
69
|
authorizedById: number;
|
|
@@ -83,6 +86,7 @@ export type AgentRepositoryMinAggregateInputType = {
|
|
|
83
86
|
reviewFixMaxRounds?: true;
|
|
84
87
|
waitForCi?: true;
|
|
85
88
|
markReadyWhenPassing?: true;
|
|
89
|
+
baseRef?: true;
|
|
86
90
|
createdAt?: true;
|
|
87
91
|
authorizedVia?: true;
|
|
88
92
|
authorizedById?: true;
|
|
@@ -98,6 +102,7 @@ export type AgentRepositoryMaxAggregateInputType = {
|
|
|
98
102
|
reviewFixMaxRounds?: true;
|
|
99
103
|
waitForCi?: true;
|
|
100
104
|
markReadyWhenPassing?: true;
|
|
105
|
+
baseRef?: true;
|
|
101
106
|
createdAt?: true;
|
|
102
107
|
authorizedVia?: true;
|
|
103
108
|
authorizedById?: true;
|
|
@@ -114,6 +119,7 @@ export type AgentRepositoryCountAggregateInputType = {
|
|
|
114
119
|
reviewFixMaxRounds?: true;
|
|
115
120
|
waitForCi?: true;
|
|
116
121
|
markReadyWhenPassing?: true;
|
|
122
|
+
baseRef?: true;
|
|
117
123
|
createdAt?: true;
|
|
118
124
|
authorizedVia?: true;
|
|
119
125
|
authorizedById?: true;
|
|
@@ -207,6 +213,7 @@ export type AgentRepositoryGroupByOutputType = {
|
|
|
207
213
|
reviewFixMaxRounds: number | null;
|
|
208
214
|
waitForCi: boolean;
|
|
209
215
|
markReadyWhenPassing: boolean;
|
|
216
|
+
baseRef: string | null;
|
|
210
217
|
createdAt: Date;
|
|
211
218
|
authorizedVia: string | null;
|
|
212
219
|
authorizedById: string | null;
|
|
@@ -234,6 +241,7 @@ export type AgentRepositoryWhereInput = {
|
|
|
234
241
|
reviewFixMaxRounds?: Prisma.IntNullableFilter<"AgentRepository"> | number | null;
|
|
235
242
|
waitForCi?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
236
243
|
markReadyWhenPassing?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
244
|
+
baseRef?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
237
245
|
createdAt?: Prisma.DateTimeFilter<"AgentRepository"> | Date | string;
|
|
238
246
|
authorizedVia?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
239
247
|
authorizedById?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
@@ -251,6 +259,7 @@ export type AgentRepositoryOrderByWithRelationInput = {
|
|
|
251
259
|
reviewFixMaxRounds?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
252
260
|
waitForCi?: Prisma.SortOrder;
|
|
253
261
|
markReadyWhenPassing?: Prisma.SortOrder;
|
|
262
|
+
baseRef?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
263
|
createdAt?: Prisma.SortOrder;
|
|
255
264
|
authorizedVia?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
265
|
authorizedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -273,6 +282,7 @@ export type AgentRepositoryWhereUniqueInput = Prisma.AtLeast<{
|
|
|
273
282
|
reviewFixMaxRounds?: Prisma.IntNullableFilter<"AgentRepository"> | number | null;
|
|
274
283
|
waitForCi?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
275
284
|
markReadyWhenPassing?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
285
|
+
baseRef?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
276
286
|
createdAt?: Prisma.DateTimeFilter<"AgentRepository"> | Date | string;
|
|
277
287
|
authorizedVia?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
278
288
|
authorizedById?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
@@ -290,6 +300,7 @@ export type AgentRepositoryOrderByWithAggregationInput = {
|
|
|
290
300
|
reviewFixMaxRounds?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
301
|
waitForCi?: Prisma.SortOrder;
|
|
292
302
|
markReadyWhenPassing?: Prisma.SortOrder;
|
|
303
|
+
baseRef?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
293
304
|
createdAt?: Prisma.SortOrder;
|
|
294
305
|
authorizedVia?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
295
306
|
authorizedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -314,6 +325,7 @@ export type AgentRepositoryScalarWhereWithAggregatesInput = {
|
|
|
314
325
|
reviewFixMaxRounds?: Prisma.IntNullableWithAggregatesFilter<"AgentRepository"> | number | null;
|
|
315
326
|
waitForCi?: Prisma.BoolWithAggregatesFilter<"AgentRepository"> | boolean;
|
|
316
327
|
markReadyWhenPassing?: Prisma.BoolWithAggregatesFilter<"AgentRepository"> | boolean;
|
|
328
|
+
baseRef?: Prisma.StringNullableWithAggregatesFilter<"AgentRepository"> | string | null;
|
|
317
329
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentRepository"> | Date | string;
|
|
318
330
|
authorizedVia?: Prisma.StringNullableWithAggregatesFilter<"AgentRepository"> | string | null;
|
|
319
331
|
authorizedById?: Prisma.StringNullableWithAggregatesFilter<"AgentRepository"> | string | null;
|
|
@@ -329,6 +341,7 @@ export type AgentRepositoryCreateInput = {
|
|
|
329
341
|
reviewFixMaxRounds?: number | null;
|
|
330
342
|
waitForCi?: boolean;
|
|
331
343
|
markReadyWhenPassing?: boolean;
|
|
344
|
+
baseRef?: string | null;
|
|
332
345
|
createdAt?: Date | string;
|
|
333
346
|
authorizedVia?: string | null;
|
|
334
347
|
authorizedById?: string | null;
|
|
@@ -346,6 +359,7 @@ export type AgentRepositoryUncheckedCreateInput = {
|
|
|
346
359
|
reviewFixMaxRounds?: number | null;
|
|
347
360
|
waitForCi?: boolean;
|
|
348
361
|
markReadyWhenPassing?: boolean;
|
|
362
|
+
baseRef?: string | null;
|
|
349
363
|
createdAt?: Date | string;
|
|
350
364
|
authorizedVia?: string | null;
|
|
351
365
|
authorizedById?: string | null;
|
|
@@ -361,6 +375,7 @@ export type AgentRepositoryUpdateInput = {
|
|
|
361
375
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
362
376
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
363
377
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
378
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
379
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
365
380
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
381
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -378,6 +393,7 @@ export type AgentRepositoryUncheckedUpdateInput = {
|
|
|
378
393
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
379
394
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
380
395
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
396
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
397
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
382
398
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
383
399
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -394,6 +410,7 @@ export type AgentRepositoryCreateManyInput = {
|
|
|
394
410
|
reviewFixMaxRounds?: number | null;
|
|
395
411
|
waitForCi?: boolean;
|
|
396
412
|
markReadyWhenPassing?: boolean;
|
|
413
|
+
baseRef?: string | null;
|
|
397
414
|
createdAt?: Date | string;
|
|
398
415
|
authorizedVia?: string | null;
|
|
399
416
|
authorizedById?: string | null;
|
|
@@ -409,6 +426,7 @@ export type AgentRepositoryUpdateManyMutationInput = {
|
|
|
409
426
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
410
427
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
411
428
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
429
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
412
430
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
413
431
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
432
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -425,6 +443,7 @@ export type AgentRepositoryUncheckedUpdateManyInput = {
|
|
|
425
443
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
426
444
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
427
445
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
446
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
447
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
429
448
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
449
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -459,6 +478,7 @@ export type AgentRepositoryCountOrderByAggregateInput = {
|
|
|
459
478
|
reviewFixMaxRounds?: Prisma.SortOrder;
|
|
460
479
|
waitForCi?: Prisma.SortOrder;
|
|
461
480
|
markReadyWhenPassing?: Prisma.SortOrder;
|
|
481
|
+
baseRef?: Prisma.SortOrder;
|
|
462
482
|
createdAt?: Prisma.SortOrder;
|
|
463
483
|
authorizedVia?: Prisma.SortOrder;
|
|
464
484
|
authorizedById?: Prisma.SortOrder;
|
|
@@ -477,6 +497,7 @@ export type AgentRepositoryMaxOrderByAggregateInput = {
|
|
|
477
497
|
reviewFixMaxRounds?: Prisma.SortOrder;
|
|
478
498
|
waitForCi?: Prisma.SortOrder;
|
|
479
499
|
markReadyWhenPassing?: Prisma.SortOrder;
|
|
500
|
+
baseRef?: Prisma.SortOrder;
|
|
480
501
|
createdAt?: Prisma.SortOrder;
|
|
481
502
|
authorizedVia?: Prisma.SortOrder;
|
|
482
503
|
authorizedById?: Prisma.SortOrder;
|
|
@@ -492,6 +513,7 @@ export type AgentRepositoryMinOrderByAggregateInput = {
|
|
|
492
513
|
reviewFixMaxRounds?: Prisma.SortOrder;
|
|
493
514
|
waitForCi?: Prisma.SortOrder;
|
|
494
515
|
markReadyWhenPassing?: Prisma.SortOrder;
|
|
516
|
+
baseRef?: Prisma.SortOrder;
|
|
495
517
|
createdAt?: Prisma.SortOrder;
|
|
496
518
|
authorizedVia?: Prisma.SortOrder;
|
|
497
519
|
authorizedById?: Prisma.SortOrder;
|
|
@@ -555,6 +577,7 @@ export type AgentRepositoryCreateWithoutAgentInput = {
|
|
|
555
577
|
reviewFixMaxRounds?: number | null;
|
|
556
578
|
waitForCi?: boolean;
|
|
557
579
|
markReadyWhenPassing?: boolean;
|
|
580
|
+
baseRef?: string | null;
|
|
558
581
|
createdAt?: Date | string;
|
|
559
582
|
authorizedVia?: string | null;
|
|
560
583
|
authorizedById?: string | null;
|
|
@@ -570,6 +593,7 @@ export type AgentRepositoryUncheckedCreateWithoutAgentInput = {
|
|
|
570
593
|
reviewFixMaxRounds?: number | null;
|
|
571
594
|
waitForCi?: boolean;
|
|
572
595
|
markReadyWhenPassing?: boolean;
|
|
596
|
+
baseRef?: string | null;
|
|
573
597
|
createdAt?: Date | string;
|
|
574
598
|
authorizedVia?: string | null;
|
|
575
599
|
authorizedById?: string | null;
|
|
@@ -610,6 +634,7 @@ export type AgentRepositoryScalarWhereInput = {
|
|
|
610
634
|
reviewFixMaxRounds?: Prisma.IntNullableFilter<"AgentRepository"> | number | null;
|
|
611
635
|
waitForCi?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
612
636
|
markReadyWhenPassing?: Prisma.BoolFilter<"AgentRepository"> | boolean;
|
|
637
|
+
baseRef?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
613
638
|
createdAt?: Prisma.DateTimeFilter<"AgentRepository"> | Date | string;
|
|
614
639
|
authorizedVia?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
615
640
|
authorizedById?: Prisma.StringNullableFilter<"AgentRepository"> | string | null;
|
|
@@ -625,6 +650,7 @@ export type AgentRepositoryCreateManyAgentInput = {
|
|
|
625
650
|
reviewFixMaxRounds?: number | null;
|
|
626
651
|
waitForCi?: boolean;
|
|
627
652
|
markReadyWhenPassing?: boolean;
|
|
653
|
+
baseRef?: string | null;
|
|
628
654
|
createdAt?: Date | string;
|
|
629
655
|
authorizedVia?: string | null;
|
|
630
656
|
authorizedById?: string | null;
|
|
@@ -640,6 +666,7 @@ export type AgentRepositoryUpdateWithoutAgentInput = {
|
|
|
640
666
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
641
667
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
642
668
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
669
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
643
670
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
644
671
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
645
672
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -655,6 +682,7 @@ export type AgentRepositoryUncheckedUpdateWithoutAgentInput = {
|
|
|
655
682
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
656
683
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
657
684
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
685
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
658
686
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
659
687
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
660
688
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -670,6 +698,7 @@ export type AgentRepositoryUncheckedUpdateManyWithoutAgentInput = {
|
|
|
670
698
|
reviewFixMaxRounds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
671
699
|
waitForCi?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
672
700
|
markReadyWhenPassing?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
701
|
+
baseRef?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
673
702
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
674
703
|
authorizedVia?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
675
704
|
authorizedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -686,6 +715,7 @@ export type AgentRepositorySelect<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
686
715
|
reviewFixMaxRounds?: boolean;
|
|
687
716
|
waitForCi?: boolean;
|
|
688
717
|
markReadyWhenPassing?: boolean;
|
|
718
|
+
baseRef?: boolean;
|
|
689
719
|
createdAt?: boolean;
|
|
690
720
|
authorizedVia?: boolean;
|
|
691
721
|
authorizedById?: boolean;
|
|
@@ -703,6 +733,7 @@ export type AgentRepositorySelectCreateManyAndReturn<ExtArgs extends runtime.Typ
|
|
|
703
733
|
reviewFixMaxRounds?: boolean;
|
|
704
734
|
waitForCi?: boolean;
|
|
705
735
|
markReadyWhenPassing?: boolean;
|
|
736
|
+
baseRef?: boolean;
|
|
706
737
|
createdAt?: boolean;
|
|
707
738
|
authorizedVia?: boolean;
|
|
708
739
|
authorizedById?: boolean;
|
|
@@ -720,6 +751,7 @@ export type AgentRepositorySelectUpdateManyAndReturn<ExtArgs extends runtime.Typ
|
|
|
720
751
|
reviewFixMaxRounds?: boolean;
|
|
721
752
|
waitForCi?: boolean;
|
|
722
753
|
markReadyWhenPassing?: boolean;
|
|
754
|
+
baseRef?: boolean;
|
|
723
755
|
createdAt?: boolean;
|
|
724
756
|
authorizedVia?: boolean;
|
|
725
757
|
authorizedById?: boolean;
|
|
@@ -737,12 +769,13 @@ export type AgentRepositorySelectScalar = {
|
|
|
737
769
|
reviewFixMaxRounds?: boolean;
|
|
738
770
|
waitForCi?: boolean;
|
|
739
771
|
markReadyWhenPassing?: boolean;
|
|
772
|
+
baseRef?: boolean;
|
|
740
773
|
createdAt?: boolean;
|
|
741
774
|
authorizedVia?: boolean;
|
|
742
775
|
authorizedById?: boolean;
|
|
743
776
|
authorizedAt?: boolean;
|
|
744
777
|
};
|
|
745
|
-
export type AgentRepositoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "provider" | "repository" | "access" | "triggers" | "checkName" | "reviewFixMaxRounds" | "waitForCi" | "markReadyWhenPassing" | "createdAt" | "authorizedVia" | "authorizedById" | "authorizedAt", ExtArgs["result"]["agentRepository"]>;
|
|
778
|
+
export type AgentRepositoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "provider" | "repository" | "access" | "triggers" | "checkName" | "reviewFixMaxRounds" | "waitForCi" | "markReadyWhenPassing" | "baseRef" | "createdAt" | "authorizedVia" | "authorizedById" | "authorizedAt", ExtArgs["result"]["agentRepository"]>;
|
|
746
779
|
export type AgentRepositoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
747
780
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
|
|
748
781
|
};
|
|
@@ -800,6 +833,11 @@ export type $AgentRepositoryPayload<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
800
833
|
* success. Default off.
|
|
801
834
|
*/
|
|
802
835
|
markReadyWhenPassing: boolean;
|
|
836
|
+
/**
|
|
837
|
+
* Only on a coding agent's link: the base branch for runs in this repository.
|
|
838
|
+
* Null = the coding profile's baseRef.
|
|
839
|
+
*/
|
|
840
|
+
baseRef: string | null;
|
|
803
841
|
createdAt: Date;
|
|
804
842
|
/**
|
|
805
843
|
* How this link was authorized: "host_permission" (the agent owner's
|
|
@@ -1178,6 +1216,7 @@ export interface AgentRepositoryFieldRefs {
|
|
|
1178
1216
|
readonly reviewFixMaxRounds: Prisma.FieldRef<"AgentRepository", 'Int'>;
|
|
1179
1217
|
readonly waitForCi: Prisma.FieldRef<"AgentRepository", 'Boolean'>;
|
|
1180
1218
|
readonly markReadyWhenPassing: Prisma.FieldRef<"AgentRepository", 'Boolean'>;
|
|
1219
|
+
readonly baseRef: Prisma.FieldRef<"AgentRepository", 'String'>;
|
|
1181
1220
|
readonly createdAt: Prisma.FieldRef<"AgentRepository", 'DateTime'>;
|
|
1182
1221
|
readonly authorizedVia: Prisma.FieldRef<"AgentRepository", 'String'>;
|
|
1183
1222
|
readonly authorizedById: Prisma.FieldRef<"AgentRepository", 'String'>;
|
|
@@ -833,7 +833,7 @@ export type $AuthUserPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
833
833
|
status: string;
|
|
834
834
|
/**
|
|
835
835
|
* wardby roles (src/mcp/auth/resource-server.ts ROLE_PERMISSIONS: admin,
|
|
836
|
-
* package-approver, service-manager, model-manager), set with `wardby auth user grant`. Empty = member.
|
|
836
|
+
* package-approver, service-manager, model-manager, host-manager), set with `wardby auth user grant`. Empty = member.
|
|
837
837
|
* A privileged operation needs its scope on the token AND a role here
|
|
838
838
|
* that grants it; unknown values grant nothing.
|
|
839
839
|
*/
|
|
@@ -858,13 +858,6 @@ export type CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput = {
|
|
|
858
858
|
connect?: Prisma.CodingAgentProfileWhereUniqueInput;
|
|
859
859
|
update?: Prisma.XOR<Prisma.XOR<Prisma.CodingAgentProfileUpdateToOneWithWhereWithoutAgentInput, Prisma.CodingAgentProfileUpdateWithoutAgentInput>, Prisma.CodingAgentProfileUncheckedUpdateWithoutAgentInput>;
|
|
860
860
|
};
|
|
861
|
-
export type NullableIntFieldUpdateOperationsInput = {
|
|
862
|
-
set?: number | null;
|
|
863
|
-
increment?: number;
|
|
864
|
-
decrement?: number;
|
|
865
|
-
multiply?: number;
|
|
866
|
-
divide?: number;
|
|
867
|
-
};
|
|
868
861
|
export type NullableEnumPackageAuditModeFieldUpdateOperationsInput = {
|
|
869
862
|
set?: $Enums.PackageAuditMode | null;
|
|
870
863
|
};
|