@wardby/cli 0.5.3 → 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/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-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 +53 -0
- 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/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 +1363 -176
- 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/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 +82 -11
- 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/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 +3 -1
- package/dist/providers/jobs/kubernetes-isolation.js +6 -0
- 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 +36 -1
- package/dist/providers/jobs/kubernetes.js +74 -4
- 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/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-seed.d.ts +10 -3
- package/dist/quickstart/coding-seed.js +74 -3
- package/dist/quickstart/images.d.ts +2 -0
- package/dist/quickstart/images.js +7 -1
- package/dist/quickstart/reviewer-prompt.d.ts +1 -1
- package/dist/quickstart/reviewer-prompt.js +1 -1
- 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 +210 -14
- 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 +113 -5
- package/docs/coding-packages.md +4 -2
- package/docs/coding-services.md +3 -1
- package/docs/coding-worker-byo-images.md +198 -6
- package/docs/coding-worker-isolation.md +68 -14
- package/docs/getting-started-gke.md +225 -9
- package/docs/getting-started-identity-provider.md +21 -10
- package/docs/getting-started.md +5 -4
- package/docs/jira-agents.md +5 -1
- 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 +1 -1
- package/help/brokered-secrets.md +79 -0
- package/help/build-claude-code-image.md +131 -0
- package/help/build-worker-image.md +3 -6
- package/help/code-review-agents.md +68 -6
- package/help/deploy-gke.md +8 -1
- package/help/deployment-targets.md +25 -14
- 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 +4 -5
- package/help/github.md +18 -1
- package/help/identity-and-access.md +5 -1
- package/help/local-repositories.md +2 -3
- 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 +11 -4
- 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
|
@@ -31,6 +31,7 @@ export type RunHostCheckMinAggregateOutputType = {
|
|
|
31
31
|
reviewBody: string | null;
|
|
32
32
|
ciPendingAtReview: boolean | null;
|
|
33
33
|
ciRereviewAt: Date | null;
|
|
34
|
+
noChangeRereviewAt: Date | null;
|
|
34
35
|
};
|
|
35
36
|
export type RunHostCheckMaxAggregateOutputType = {
|
|
36
37
|
runId: string | null;
|
|
@@ -44,6 +45,7 @@ export type RunHostCheckMaxAggregateOutputType = {
|
|
|
44
45
|
reviewBody: string | null;
|
|
45
46
|
ciPendingAtReview: boolean | null;
|
|
46
47
|
ciRereviewAt: Date | null;
|
|
48
|
+
noChangeRereviewAt: Date | null;
|
|
47
49
|
};
|
|
48
50
|
export type RunHostCheckCountAggregateOutputType = {
|
|
49
51
|
runId: number;
|
|
@@ -57,6 +59,7 @@ export type RunHostCheckCountAggregateOutputType = {
|
|
|
57
59
|
reviewBody: number;
|
|
58
60
|
ciPendingAtReview: number;
|
|
59
61
|
ciRereviewAt: number;
|
|
62
|
+
noChangeRereviewAt: number;
|
|
60
63
|
_all: number;
|
|
61
64
|
};
|
|
62
65
|
export type RunHostCheckAvgAggregateInputType = {
|
|
@@ -77,6 +80,7 @@ export type RunHostCheckMinAggregateInputType = {
|
|
|
77
80
|
reviewBody?: true;
|
|
78
81
|
ciPendingAtReview?: true;
|
|
79
82
|
ciRereviewAt?: true;
|
|
83
|
+
noChangeRereviewAt?: true;
|
|
80
84
|
};
|
|
81
85
|
export type RunHostCheckMaxAggregateInputType = {
|
|
82
86
|
runId?: true;
|
|
@@ -90,6 +94,7 @@ export type RunHostCheckMaxAggregateInputType = {
|
|
|
90
94
|
reviewBody?: true;
|
|
91
95
|
ciPendingAtReview?: true;
|
|
92
96
|
ciRereviewAt?: true;
|
|
97
|
+
noChangeRereviewAt?: true;
|
|
93
98
|
};
|
|
94
99
|
export type RunHostCheckCountAggregateInputType = {
|
|
95
100
|
runId?: true;
|
|
@@ -103,6 +108,7 @@ export type RunHostCheckCountAggregateInputType = {
|
|
|
103
108
|
reviewBody?: true;
|
|
104
109
|
ciPendingAtReview?: true;
|
|
105
110
|
ciRereviewAt?: true;
|
|
111
|
+
noChangeRereviewAt?: true;
|
|
106
112
|
_all?: true;
|
|
107
113
|
};
|
|
108
114
|
export type RunHostCheckAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -193,6 +199,7 @@ export type RunHostCheckGroupByOutputType = {
|
|
|
193
199
|
reviewBody: string | null;
|
|
194
200
|
ciPendingAtReview: boolean | null;
|
|
195
201
|
ciRereviewAt: Date | null;
|
|
202
|
+
noChangeRereviewAt: Date | null;
|
|
196
203
|
_count: RunHostCheckCountAggregateOutputType | null;
|
|
197
204
|
_avg: RunHostCheckAvgAggregateOutputType | null;
|
|
198
205
|
_sum: RunHostCheckSumAggregateOutputType | null;
|
|
@@ -217,6 +224,7 @@ export type RunHostCheckWhereInput = {
|
|
|
217
224
|
reviewBody?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
218
225
|
ciPendingAtReview?: Prisma.BoolNullableFilter<"RunHostCheck"> | boolean | null;
|
|
219
226
|
ciRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
227
|
+
noChangeRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
220
228
|
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
221
229
|
};
|
|
222
230
|
export type RunHostCheckOrderByWithRelationInput = {
|
|
@@ -231,6 +239,7 @@ export type RunHostCheckOrderByWithRelationInput = {
|
|
|
231
239
|
reviewBody?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
240
|
ciPendingAtReview?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
241
|
ciRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
+
noChangeRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
243
|
run?: Prisma.RunOrderByWithRelationInput;
|
|
235
244
|
};
|
|
236
245
|
export type RunHostCheckWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -248,6 +257,7 @@ export type RunHostCheckWhereUniqueInput = Prisma.AtLeast<{
|
|
|
248
257
|
reviewBody?: Prisma.StringNullableFilter<"RunHostCheck"> | string | null;
|
|
249
258
|
ciPendingAtReview?: Prisma.BoolNullableFilter<"RunHostCheck"> | boolean | null;
|
|
250
259
|
ciRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
260
|
+
noChangeRereviewAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
251
261
|
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
252
262
|
}, "runId">;
|
|
253
263
|
export type RunHostCheckOrderByWithAggregationInput = {
|
|
@@ -262,6 +272,7 @@ export type RunHostCheckOrderByWithAggregationInput = {
|
|
|
262
272
|
reviewBody?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
263
273
|
ciPendingAtReview?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
274
|
ciRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
noChangeRereviewAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
276
|
_count?: Prisma.RunHostCheckCountOrderByAggregateInput;
|
|
266
277
|
_avg?: Prisma.RunHostCheckAvgOrderByAggregateInput;
|
|
267
278
|
_max?: Prisma.RunHostCheckMaxOrderByAggregateInput;
|
|
@@ -283,6 +294,7 @@ export type RunHostCheckScalarWhereWithAggregatesInput = {
|
|
|
283
294
|
reviewBody?: Prisma.StringNullableWithAggregatesFilter<"RunHostCheck"> | string | null;
|
|
284
295
|
ciPendingAtReview?: Prisma.BoolNullableWithAggregatesFilter<"RunHostCheck"> | boolean | null;
|
|
285
296
|
ciRereviewAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostCheck"> | Date | string | null;
|
|
297
|
+
noChangeRereviewAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostCheck"> | Date | string | null;
|
|
286
298
|
};
|
|
287
299
|
export type RunHostCheckCreateInput = {
|
|
288
300
|
provider: string;
|
|
@@ -295,6 +307,7 @@ export type RunHostCheckCreateInput = {
|
|
|
295
307
|
reviewBody?: string | null;
|
|
296
308
|
ciPendingAtReview?: boolean | null;
|
|
297
309
|
ciRereviewAt?: Date | string | null;
|
|
310
|
+
noChangeRereviewAt?: Date | string | null;
|
|
298
311
|
run: Prisma.RunCreateNestedOneWithoutHostCheckInput;
|
|
299
312
|
};
|
|
300
313
|
export type RunHostCheckUncheckedCreateInput = {
|
|
@@ -309,6 +322,7 @@ export type RunHostCheckUncheckedCreateInput = {
|
|
|
309
322
|
reviewBody?: string | null;
|
|
310
323
|
ciPendingAtReview?: boolean | null;
|
|
311
324
|
ciRereviewAt?: Date | string | null;
|
|
325
|
+
noChangeRereviewAt?: Date | string | null;
|
|
312
326
|
};
|
|
313
327
|
export type RunHostCheckUpdateInput = {
|
|
314
328
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -321,6 +335,7 @@ export type RunHostCheckUpdateInput = {
|
|
|
321
335
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
322
336
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
323
337
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
338
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
324
339
|
run?: Prisma.RunUpdateOneRequiredWithoutHostCheckNestedInput;
|
|
325
340
|
};
|
|
326
341
|
export type RunHostCheckUncheckedUpdateInput = {
|
|
@@ -335,6 +350,7 @@ export type RunHostCheckUncheckedUpdateInput = {
|
|
|
335
350
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
336
351
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
337
352
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
353
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
338
354
|
};
|
|
339
355
|
export type RunHostCheckCreateManyInput = {
|
|
340
356
|
runId: string;
|
|
@@ -348,6 +364,7 @@ export type RunHostCheckCreateManyInput = {
|
|
|
348
364
|
reviewBody?: string | null;
|
|
349
365
|
ciPendingAtReview?: boolean | null;
|
|
350
366
|
ciRereviewAt?: Date | string | null;
|
|
367
|
+
noChangeRereviewAt?: Date | string | null;
|
|
351
368
|
};
|
|
352
369
|
export type RunHostCheckUpdateManyMutationInput = {
|
|
353
370
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -360,6 +377,7 @@ export type RunHostCheckUpdateManyMutationInput = {
|
|
|
360
377
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
361
378
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
362
379
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
380
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
363
381
|
};
|
|
364
382
|
export type RunHostCheckUncheckedUpdateManyInput = {
|
|
365
383
|
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -373,6 +391,7 @@ export type RunHostCheckUncheckedUpdateManyInput = {
|
|
|
373
391
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
392
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
375
393
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
394
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
376
395
|
};
|
|
377
396
|
export type RunHostCheckNullableScalarRelationFilter = {
|
|
378
397
|
is?: Prisma.RunHostCheckWhereInput | null;
|
|
@@ -390,6 +409,7 @@ export type RunHostCheckCountOrderByAggregateInput = {
|
|
|
390
409
|
reviewBody?: Prisma.SortOrder;
|
|
391
410
|
ciPendingAtReview?: Prisma.SortOrder;
|
|
392
411
|
ciRereviewAt?: Prisma.SortOrder;
|
|
412
|
+
noChangeRereviewAt?: Prisma.SortOrder;
|
|
393
413
|
};
|
|
394
414
|
export type RunHostCheckAvgOrderByAggregateInput = {
|
|
395
415
|
prNumber?: Prisma.SortOrder;
|
|
@@ -406,6 +426,7 @@ export type RunHostCheckMaxOrderByAggregateInput = {
|
|
|
406
426
|
reviewBody?: Prisma.SortOrder;
|
|
407
427
|
ciPendingAtReview?: Prisma.SortOrder;
|
|
408
428
|
ciRereviewAt?: Prisma.SortOrder;
|
|
429
|
+
noChangeRereviewAt?: Prisma.SortOrder;
|
|
409
430
|
};
|
|
410
431
|
export type RunHostCheckMinOrderByAggregateInput = {
|
|
411
432
|
runId?: Prisma.SortOrder;
|
|
@@ -419,6 +440,7 @@ export type RunHostCheckMinOrderByAggregateInput = {
|
|
|
419
440
|
reviewBody?: Prisma.SortOrder;
|
|
420
441
|
ciPendingAtReview?: Prisma.SortOrder;
|
|
421
442
|
ciRereviewAt?: Prisma.SortOrder;
|
|
443
|
+
noChangeRereviewAt?: Prisma.SortOrder;
|
|
422
444
|
};
|
|
423
445
|
export type RunHostCheckSumOrderByAggregateInput = {
|
|
424
446
|
prNumber?: Prisma.SortOrder;
|
|
@@ -465,6 +487,7 @@ export type RunHostCheckCreateWithoutRunInput = {
|
|
|
465
487
|
reviewBody?: string | null;
|
|
466
488
|
ciPendingAtReview?: boolean | null;
|
|
467
489
|
ciRereviewAt?: Date | string | null;
|
|
490
|
+
noChangeRereviewAt?: Date | string | null;
|
|
468
491
|
};
|
|
469
492
|
export type RunHostCheckUncheckedCreateWithoutRunInput = {
|
|
470
493
|
provider: string;
|
|
@@ -477,6 +500,7 @@ export type RunHostCheckUncheckedCreateWithoutRunInput = {
|
|
|
477
500
|
reviewBody?: string | null;
|
|
478
501
|
ciPendingAtReview?: boolean | null;
|
|
479
502
|
ciRereviewAt?: Date | string | null;
|
|
503
|
+
noChangeRereviewAt?: Date | string | null;
|
|
480
504
|
};
|
|
481
505
|
export type RunHostCheckCreateOrConnectWithoutRunInput = {
|
|
482
506
|
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
@@ -502,6 +526,7 @@ export type RunHostCheckUpdateWithoutRunInput = {
|
|
|
502
526
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
527
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
504
528
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
529
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
505
530
|
};
|
|
506
531
|
export type RunHostCheckUncheckedUpdateWithoutRunInput = {
|
|
507
532
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -514,6 +539,7 @@ export type RunHostCheckUncheckedUpdateWithoutRunInput = {
|
|
|
514
539
|
reviewBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
515
540
|
ciPendingAtReview?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
516
541
|
ciRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
542
|
+
noChangeRereviewAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
517
543
|
};
|
|
518
544
|
export type RunHostCheckSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
519
545
|
runId?: boolean;
|
|
@@ -527,6 +553,7 @@ export type RunHostCheckSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
527
553
|
reviewBody?: boolean;
|
|
528
554
|
ciPendingAtReview?: boolean;
|
|
529
555
|
ciRereviewAt?: boolean;
|
|
556
|
+
noChangeRereviewAt?: boolean;
|
|
530
557
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
531
558
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
532
559
|
export type RunHostCheckSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -541,6 +568,7 @@ export type RunHostCheckSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
541
568
|
reviewBody?: boolean;
|
|
542
569
|
ciPendingAtReview?: boolean;
|
|
543
570
|
ciRereviewAt?: boolean;
|
|
571
|
+
noChangeRereviewAt?: boolean;
|
|
544
572
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
545
573
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
546
574
|
export type RunHostCheckSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -555,6 +583,7 @@ export type RunHostCheckSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
555
583
|
reviewBody?: boolean;
|
|
556
584
|
ciPendingAtReview?: boolean;
|
|
557
585
|
ciRereviewAt?: boolean;
|
|
586
|
+
noChangeRereviewAt?: boolean;
|
|
558
587
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
559
588
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
560
589
|
export type RunHostCheckSelectScalar = {
|
|
@@ -569,8 +598,9 @@ export type RunHostCheckSelectScalar = {
|
|
|
569
598
|
reviewBody?: boolean;
|
|
570
599
|
ciPendingAtReview?: boolean;
|
|
571
600
|
ciRereviewAt?: boolean;
|
|
601
|
+
noChangeRereviewAt?: boolean;
|
|
572
602
|
};
|
|
573
|
-
export type RunHostCheckOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "checkId" | "headSha" | "prNumber" | "completedAt" | "verdict" | "reviewBody" | "ciPendingAtReview" | "ciRereviewAt", ExtArgs["result"]["runHostCheck"]>;
|
|
603
|
+
export type RunHostCheckOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "checkId" | "headSha" | "prNumber" | "completedAt" | "verdict" | "reviewBody" | "ciPendingAtReview" | "ciRereviewAt" | "noChangeRereviewAt", ExtArgs["result"]["runHostCheck"]>;
|
|
574
604
|
export type RunHostCheckInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
575
605
|
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
576
606
|
};
|
|
@@ -618,6 +648,10 @@ export type $RunHostCheckPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
618
648
|
* When CI finishing on this head re-ran the review: at most once per head.
|
|
619
649
|
*/
|
|
620
650
|
ciRereviewAt: Date | null;
|
|
651
|
+
/**
|
|
652
|
+
* When a no-change review-fix round re-reviewed this CHANGES_REQUESTED review: at most once.
|
|
653
|
+
*/
|
|
654
|
+
noChangeRereviewAt: Date | null;
|
|
621
655
|
}, ExtArgs["result"]["runHostCheck"]>;
|
|
622
656
|
composites: {};
|
|
623
657
|
};
|
|
@@ -984,6 +1018,7 @@ export interface RunHostCheckFieldRefs {
|
|
|
984
1018
|
readonly reviewBody: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
985
1019
|
readonly ciPendingAtReview: Prisma.FieldRef<"RunHostCheck", 'Boolean'>;
|
|
986
1020
|
readonly ciRereviewAt: Prisma.FieldRef<"RunHostCheck", 'DateTime'>;
|
|
1021
|
+
readonly noChangeRereviewAt: Prisma.FieldRef<"RunHostCheck", 'DateTime'>;
|
|
987
1022
|
}
|
|
988
1023
|
/**
|
|
989
1024
|
* RunHostCheck findUnique
|
|
@@ -35,6 +35,7 @@ export type SecretCountAggregateOutputType = {
|
|
|
35
35
|
name: number;
|
|
36
36
|
ciphertext: number;
|
|
37
37
|
keyId: number;
|
|
38
|
+
broker: number;
|
|
38
39
|
ownerId: number;
|
|
39
40
|
createdAt: number;
|
|
40
41
|
updatedAt: number;
|
|
@@ -63,6 +64,7 @@ export type SecretCountAggregateInputType = {
|
|
|
63
64
|
name?: true;
|
|
64
65
|
ciphertext?: true;
|
|
65
66
|
keyId?: true;
|
|
67
|
+
broker?: true;
|
|
66
68
|
ownerId?: true;
|
|
67
69
|
createdAt?: true;
|
|
68
70
|
updatedAt?: true;
|
|
@@ -135,6 +137,7 @@ export type SecretGroupByOutputType = {
|
|
|
135
137
|
name: string;
|
|
136
138
|
ciphertext: string;
|
|
137
139
|
keyId: string;
|
|
140
|
+
broker: runtime.JsonValue | null;
|
|
138
141
|
ownerId: string | null;
|
|
139
142
|
createdAt: Date;
|
|
140
143
|
updatedAt: Date;
|
|
@@ -153,6 +156,7 @@ export type SecretWhereInput = {
|
|
|
153
156
|
name?: Prisma.StringFilter<"Secret"> | string;
|
|
154
157
|
ciphertext?: Prisma.StringFilter<"Secret"> | string;
|
|
155
158
|
keyId?: Prisma.StringFilter<"Secret"> | string;
|
|
159
|
+
broker?: Prisma.JsonNullableFilter<"Secret">;
|
|
156
160
|
ownerId?: Prisma.StringNullableFilter<"Secret"> | string | null;
|
|
157
161
|
createdAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
158
162
|
updatedAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
@@ -164,6 +168,7 @@ export type SecretOrderByWithRelationInput = {
|
|
|
164
168
|
name?: Prisma.SortOrder;
|
|
165
169
|
ciphertext?: Prisma.SortOrder;
|
|
166
170
|
keyId?: Prisma.SortOrder;
|
|
171
|
+
broker?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
167
172
|
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
168
173
|
createdAt?: Prisma.SortOrder;
|
|
169
174
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -179,6 +184,7 @@ export type SecretWhereUniqueInput = Prisma.AtLeast<{
|
|
|
179
184
|
name?: Prisma.StringFilter<"Secret"> | string;
|
|
180
185
|
ciphertext?: Prisma.StringFilter<"Secret"> | string;
|
|
181
186
|
keyId?: Prisma.StringFilter<"Secret"> | string;
|
|
187
|
+
broker?: Prisma.JsonNullableFilter<"Secret">;
|
|
182
188
|
ownerId?: Prisma.StringNullableFilter<"Secret"> | string | null;
|
|
183
189
|
createdAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
184
190
|
updatedAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
@@ -190,6 +196,7 @@ export type SecretOrderByWithAggregationInput = {
|
|
|
190
196
|
name?: Prisma.SortOrder;
|
|
191
197
|
ciphertext?: Prisma.SortOrder;
|
|
192
198
|
keyId?: Prisma.SortOrder;
|
|
199
|
+
broker?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
193
200
|
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
194
201
|
createdAt?: Prisma.SortOrder;
|
|
195
202
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -205,6 +212,7 @@ export type SecretScalarWhereWithAggregatesInput = {
|
|
|
205
212
|
name?: Prisma.StringWithAggregatesFilter<"Secret"> | string;
|
|
206
213
|
ciphertext?: Prisma.StringWithAggregatesFilter<"Secret"> | string;
|
|
207
214
|
keyId?: Prisma.StringWithAggregatesFilter<"Secret"> | string;
|
|
215
|
+
broker?: Prisma.JsonNullableWithAggregatesFilter<"Secret">;
|
|
208
216
|
ownerId?: Prisma.StringNullableWithAggregatesFilter<"Secret"> | string | null;
|
|
209
217
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Secret"> | Date | string;
|
|
210
218
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Secret"> | Date | string;
|
|
@@ -214,6 +222,7 @@ export type SecretCreateInput = {
|
|
|
214
222
|
name: string;
|
|
215
223
|
ciphertext: string;
|
|
216
224
|
keyId: string;
|
|
225
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
217
226
|
createdAt?: Date | string;
|
|
218
227
|
updatedAt?: Date | string;
|
|
219
228
|
owner?: Prisma.PrincipalCreateNestedOneWithoutSecretsInput;
|
|
@@ -224,6 +233,7 @@ export type SecretUncheckedCreateInput = {
|
|
|
224
233
|
name: string;
|
|
225
234
|
ciphertext: string;
|
|
226
235
|
keyId: string;
|
|
236
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
227
237
|
ownerId?: string | null;
|
|
228
238
|
createdAt?: Date | string;
|
|
229
239
|
updatedAt?: Date | string;
|
|
@@ -234,6 +244,7 @@ export type SecretUpdateInput = {
|
|
|
234
244
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
235
245
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
246
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
237
248
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
238
249
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
239
250
|
owner?: Prisma.PrincipalUpdateOneWithoutSecretsNestedInput;
|
|
@@ -244,6 +255,7 @@ export type SecretUncheckedUpdateInput = {
|
|
|
244
255
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
256
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
246
257
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
258
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
247
259
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
248
260
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
249
261
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -254,6 +266,7 @@ export type SecretCreateManyInput = {
|
|
|
254
266
|
name: string;
|
|
255
267
|
ciphertext: string;
|
|
256
268
|
keyId: string;
|
|
269
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
257
270
|
ownerId?: string | null;
|
|
258
271
|
createdAt?: Date | string;
|
|
259
272
|
updatedAt?: Date | string;
|
|
@@ -263,6 +276,7 @@ export type SecretUpdateManyMutationInput = {
|
|
|
263
276
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
277
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
278
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
266
280
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
267
281
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
268
282
|
};
|
|
@@ -271,6 +285,7 @@ export type SecretUncheckedUpdateManyInput = {
|
|
|
271
285
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
286
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
287
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
274
289
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
275
290
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
276
291
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -292,6 +307,7 @@ export type SecretCountOrderByAggregateInput = {
|
|
|
292
307
|
name?: Prisma.SortOrder;
|
|
293
308
|
ciphertext?: Prisma.SortOrder;
|
|
294
309
|
keyId?: Prisma.SortOrder;
|
|
310
|
+
broker?: Prisma.SortOrder;
|
|
295
311
|
ownerId?: Prisma.SortOrder;
|
|
296
312
|
createdAt?: Prisma.SortOrder;
|
|
297
313
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -373,6 +389,7 @@ export type SecretCreateWithoutOwnerInput = {
|
|
|
373
389
|
name: string;
|
|
374
390
|
ciphertext: string;
|
|
375
391
|
keyId: string;
|
|
392
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
376
393
|
createdAt?: Date | string;
|
|
377
394
|
updatedAt?: Date | string;
|
|
378
395
|
agents?: Prisma.AgentSecretCreateNestedManyWithoutSecretInput;
|
|
@@ -382,6 +399,7 @@ export type SecretUncheckedCreateWithoutOwnerInput = {
|
|
|
382
399
|
name: string;
|
|
383
400
|
ciphertext: string;
|
|
384
401
|
keyId: string;
|
|
402
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
385
403
|
createdAt?: Date | string;
|
|
386
404
|
updatedAt?: Date | string;
|
|
387
405
|
agents?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutSecretInput;
|
|
@@ -415,6 +433,7 @@ export type SecretScalarWhereInput = {
|
|
|
415
433
|
name?: Prisma.StringFilter<"Secret"> | string;
|
|
416
434
|
ciphertext?: Prisma.StringFilter<"Secret"> | string;
|
|
417
435
|
keyId?: Prisma.StringFilter<"Secret"> | string;
|
|
436
|
+
broker?: Prisma.JsonNullableFilter<"Secret">;
|
|
418
437
|
ownerId?: Prisma.StringNullableFilter<"Secret"> | string | null;
|
|
419
438
|
createdAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
420
439
|
updatedAt?: Prisma.DateTimeFilter<"Secret"> | Date | string;
|
|
@@ -424,6 +443,7 @@ export type SecretCreateWithoutAgentsInput = {
|
|
|
424
443
|
name: string;
|
|
425
444
|
ciphertext: string;
|
|
426
445
|
keyId: string;
|
|
446
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
427
447
|
createdAt?: Date | string;
|
|
428
448
|
updatedAt?: Date | string;
|
|
429
449
|
owner?: Prisma.PrincipalCreateNestedOneWithoutSecretsInput;
|
|
@@ -433,6 +453,7 @@ export type SecretUncheckedCreateWithoutAgentsInput = {
|
|
|
433
453
|
name: string;
|
|
434
454
|
ciphertext: string;
|
|
435
455
|
keyId: string;
|
|
456
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
436
457
|
ownerId?: string | null;
|
|
437
458
|
createdAt?: Date | string;
|
|
438
459
|
updatedAt?: Date | string;
|
|
@@ -455,6 +476,7 @@ export type SecretUpdateWithoutAgentsInput = {
|
|
|
455
476
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
477
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
457
478
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
479
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
458
480
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
481
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
460
482
|
owner?: Prisma.PrincipalUpdateOneWithoutSecretsNestedInput;
|
|
@@ -464,6 +486,7 @@ export type SecretUncheckedUpdateWithoutAgentsInput = {
|
|
|
464
486
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
465
487
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
488
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
489
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
467
490
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
468
491
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
469
492
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -473,6 +496,7 @@ export type SecretCreateManyOwnerInput = {
|
|
|
473
496
|
name: string;
|
|
474
497
|
ciphertext: string;
|
|
475
498
|
keyId: string;
|
|
499
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
476
500
|
createdAt?: Date | string;
|
|
477
501
|
updatedAt?: Date | string;
|
|
478
502
|
};
|
|
@@ -481,6 +505,7 @@ export type SecretUpdateWithoutOwnerInput = {
|
|
|
481
505
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
506
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
507
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
508
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
484
509
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
485
510
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
486
511
|
agents?: Prisma.AgentSecretUpdateManyWithoutSecretNestedInput;
|
|
@@ -490,6 +515,7 @@ export type SecretUncheckedUpdateWithoutOwnerInput = {
|
|
|
490
515
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
516
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
517
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
518
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
493
519
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
494
520
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
521
|
agents?: Prisma.AgentSecretUncheckedUpdateManyWithoutSecretNestedInput;
|
|
@@ -499,6 +525,7 @@ export type SecretUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
499
525
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
526
|
ciphertext?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
501
527
|
keyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
528
|
+
broker?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
502
529
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
503
530
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
504
531
|
};
|
|
@@ -531,6 +558,7 @@ export type SecretSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
531
558
|
name?: boolean;
|
|
532
559
|
ciphertext?: boolean;
|
|
533
560
|
keyId?: boolean;
|
|
561
|
+
broker?: boolean;
|
|
534
562
|
ownerId?: boolean;
|
|
535
563
|
createdAt?: boolean;
|
|
536
564
|
updatedAt?: boolean;
|
|
@@ -543,6 +571,7 @@ export type SecretSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extens
|
|
|
543
571
|
name?: boolean;
|
|
544
572
|
ciphertext?: boolean;
|
|
545
573
|
keyId?: boolean;
|
|
574
|
+
broker?: boolean;
|
|
546
575
|
ownerId?: boolean;
|
|
547
576
|
createdAt?: boolean;
|
|
548
577
|
updatedAt?: boolean;
|
|
@@ -553,6 +582,7 @@ export type SecretSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extens
|
|
|
553
582
|
name?: boolean;
|
|
554
583
|
ciphertext?: boolean;
|
|
555
584
|
keyId?: boolean;
|
|
585
|
+
broker?: boolean;
|
|
556
586
|
ownerId?: boolean;
|
|
557
587
|
createdAt?: boolean;
|
|
558
588
|
updatedAt?: boolean;
|
|
@@ -563,11 +593,12 @@ export type SecretSelectScalar = {
|
|
|
563
593
|
name?: boolean;
|
|
564
594
|
ciphertext?: boolean;
|
|
565
595
|
keyId?: boolean;
|
|
596
|
+
broker?: boolean;
|
|
566
597
|
ownerId?: boolean;
|
|
567
598
|
createdAt?: boolean;
|
|
568
599
|
updatedAt?: boolean;
|
|
569
600
|
};
|
|
570
|
-
export type SecretOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ciphertext" | "keyId" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["secret"]>;
|
|
601
|
+
export type SecretOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ciphertext" | "keyId" | "broker" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["secret"]>;
|
|
571
602
|
export type SecretInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
572
603
|
owner?: boolean | Prisma.Secret$ownerArgs<ExtArgs>;
|
|
573
604
|
agents?: boolean | Prisma.Secret$agentsArgs<ExtArgs>;
|
|
@@ -590,6 +621,10 @@ export type $SecretPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
590
621
|
name: string;
|
|
591
622
|
ciphertext: string;
|
|
592
623
|
keyId: string;
|
|
624
|
+
/**
|
|
625
|
+
* Brokered-secret config (core/secret-broker-config.ts). Null = readable by attached tools.
|
|
626
|
+
*/
|
|
627
|
+
broker: runtime.JsonValue | null;
|
|
593
628
|
ownerId: string | null;
|
|
594
629
|
createdAt: Date;
|
|
595
630
|
updatedAt: Date;
|
|
@@ -953,6 +988,7 @@ export interface SecretFieldRefs {
|
|
|
953
988
|
readonly name: Prisma.FieldRef<"Secret", 'String'>;
|
|
954
989
|
readonly ciphertext: Prisma.FieldRef<"Secret", 'String'>;
|
|
955
990
|
readonly keyId: Prisma.FieldRef<"Secret", 'String'>;
|
|
991
|
+
readonly broker: Prisma.FieldRef<"Secret", 'Json'>;
|
|
956
992
|
readonly ownerId: Prisma.FieldRef<"Secret", 'String'>;
|
|
957
993
|
readonly createdAt: Prisma.FieldRef<"Secret", 'DateTime'>;
|
|
958
994
|
readonly updatedAt: Prisma.FieldRef<"Secret", 'DateTime'>;
|