@wardby/cli 0.6.0 → 0.8.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 +19 -0
- package/dist/claude-coding-worker/driver.d.ts +33 -3
- package/dist/claude-coding-worker/driver.js +151 -21
- package/dist/claude-coding-worker/main.js +38 -6
- package/dist/claude-coding-worker/sdk.js +29 -2
- package/dist/claude-coding-worker/tool-socket.d.ts +27 -0
- package/dist/claude-coding-worker/tool-socket.js +111 -0
- package/dist/claude-coding-worker/transcript.d.ts +18 -0
- package/dist/claude-coding-worker/transcript.js +77 -0
- package/dist/claude-plugin/command.d.ts +61 -0
- package/dist/claude-plugin/command.js +376 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +3 -1
- package/dist/cli.js +71 -13
- package/dist/coding/code-host.d.ts +16 -0
- package/dist/coding/code-host.js +60 -0
- package/dist/coding/continuation-wording.d.ts +35 -0
- package/dist/coding/continuation-wording.js +73 -0
- package/dist/coding/linked-issue-note.d.ts +23 -0
- package/dist/coding/linked-issue-note.js +47 -0
- package/dist/coding/mcp-token.d.ts +12 -0
- package/dist/coding/mcp-token.js +26 -0
- package/dist/coding/merge-wording.d.ts +28 -0
- package/dist/coding/merge-wording.js +78 -0
- package/dist/coding/pr-description-note.d.ts +9 -0
- package/dist/coding/pr-description-note.js +32 -0
- package/dist/coding/profile.d.ts +46 -126
- package/dist/coding/profile.js +45 -4
- package/dist/coding/protected-path-wording.d.ts +8 -0
- package/dist/coding/protected-path-wording.js +1 -1
- package/dist/coding/protocol.d.ts +264 -346
- package/dist/coding/protocol.js +237 -12
- package/dist/coding/redact.d.ts +3 -0
- package/dist/coding/redact.js +17 -0
- package/dist/coding/registry/allowlist.d.ts +12 -0
- package/dist/coding/registry/allowlist.js +14 -1
- package/dist/coding/registry/audit-mode.d.ts +153 -0
- package/dist/coding/registry/audit-mode.js +304 -0
- package/dist/coding/registry/lockfile-shared.d.ts +36 -0
- package/dist/coding/registry/lockfile-shared.js +128 -0
- package/dist/coding/registry/lockfiles.js +1 -1
- package/dist/coding/registry/npm-lockfile-formats.d.ts +11 -0
- package/dist/coding/registry/npm-lockfile-formats.js +41 -0
- package/dist/coding/registry/npm-lockfile.d.ts +8 -4
- package/dist/coding/registry/npm-lockfile.js +4 -6
- package/dist/coding/registry/npm.js +78 -8
- package/dist/coding/registry/pnpm-lockfile.d.ts +17 -0
- package/dist/coding/registry/pnpm-lockfile.js +189 -0
- package/dist/coding/registry/pypi-plan.d.ts +50 -0
- package/dist/coding/registry/pypi-plan.js +406 -0
- package/dist/coding/registry/pypi-requirements.d.ts +58 -0
- package/dist/coding/registry/pypi-requirements.js +155 -0
- package/dist/coding/registry/pypi.d.ts +3 -27
- package/dist/coding/registry/pypi.js +40 -154
- package/dist/coding/registry/refusal-hints.d.ts +20 -0
- package/dist/coding/registry/refusal-hints.js +61 -0
- package/dist/coding/registry/refusal-wording.d.ts +11 -0
- package/dist/coding/registry/refusal-wording.js +56 -0
- package/dist/coding/registry/report.d.ts +70 -8
- package/dist/coding/registry/report.js +112 -5
- package/dist/coding/registry/types.d.ts +58 -8
- package/dist/coding/registry/yarn-lockfile.d.ts +30 -0
- package/dist/coding/registry/yarn-lockfile.js +367 -0
- package/dist/coding/services/catalog.d.ts +37 -351
- package/dist/coding/transcript/claude-code.d.ts +13 -0
- package/dist/coding/transcript/claude-code.js +273 -0
- package/dist/coding/transcript/download-protocol.d.ts +30 -0
- package/dist/coding/transcript/download-protocol.js +18 -0
- package/dist/coding/transcript/format.d.ts +20 -0
- package/dist/coding/transcript/format.js +32 -0
- package/dist/coding/transcript/recorder.d.ts +52 -0
- package/dist/coding/transcript/recorder.js +225 -0
- package/dist/coding/transcript/resume/checkout.d.ts +31 -0
- package/dist/coding/transcript/resume/checkout.js +203 -0
- package/dist/coding/transcript/resume/command.d.ts +17 -0
- package/dist/coding/transcript/resume/command.js +176 -0
- package/dist/coding/transcript/resume/download.d.ts +20 -0
- package/dist/coding/transcript/resume/download.js +153 -0
- package/dist/coding/transcript/resume/launch.d.ts +38 -0
- package/dist/coding/transcript/resume/launch.js +128 -0
- package/dist/coding/transcript/resume/session-file.d.ts +13 -0
- package/dist/coding/transcript/resume/session-file.js +79 -0
- package/dist/coding/transcript/resume/stand-in.d.ts +11 -0
- package/dist/coding/transcript/resume/stand-in.js +49 -0
- package/dist/coding-worker/artifact.d.ts +8 -3
- package/dist/coding-worker/artifact.js +3 -1
- package/dist/coding-worker/debug-trace.d.ts +9 -6
- package/dist/coding-worker/debug-trace.js +16 -19
- package/dist/coding-worker/dependency-cache.d.mts +229 -0
- package/dist/coding-worker/dependency-cache.mjs +2123 -0
- package/dist/coding-worker/driver.d.ts +4 -3
- package/dist/coding-worker/driver.js +124 -39
- package/dist/coding-worker/errors.d.ts +1 -0
- package/dist/coding-worker/errors.js +32 -0
- 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/task-note.d.ts +11 -0
- package/dist/coding-worker/task-note.js +13 -0
- package/dist/coding-worker/types.d.ts +15 -0
- package/dist/config/dependency-cache.d.ts +23 -0
- package/dist/config/dependency-cache.js +32 -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/providers.d.ts +12 -3
- package/dist/config/providers.js +55 -5
- package/dist/config/test-simulators.d.ts +92 -0
- package/dist/config/test-simulators.js +333 -0
- package/dist/config/tool-timeout.d.ts +1 -0
- package/dist/config/tool-timeout.js +18 -0
- package/dist/core/async-context.d.ts +2 -0
- package/dist/core/async-context.js +12 -0
- package/dist/core/budget-events.d.ts +108 -0
- package/dist/core/budget-events.js +346 -0
- package/dist/core/budget-groups.d.ts +50 -1
- package/dist/core/budget-groups.js +236 -27
- package/dist/core/budget-stopped-head.d.ts +46 -0
- package/dist/core/budget-stopped-head.js +81 -0
- package/dist/core/budget-topup.d.ts +51 -0
- package/dist/core/budget-topup.js +156 -0
- package/dist/core/budget-wording.d.ts +16 -2
- package/dist/core/budget-wording.js +40 -2
- package/dist/core/coding-mcp.d.ts +36 -0
- package/dist/core/coding-mcp.js +253 -0
- package/dist/core/coding-queue.d.ts +2 -1
- package/dist/core/coding-queue.js +7 -0
- package/dist/core/coding-repository.d.ts +46 -0
- package/dist/core/coding-repository.js +92 -0
- package/dist/core/cron.d.ts +19 -1
- package/dist/core/cron.js +17 -0
- package/dist/core/datastores.js +1 -1
- package/dist/core/deferred-coding.d.ts +14 -0
- package/dist/core/deferred-coding.js +62 -0
- package/dist/core/delegation-child.d.ts +25 -0
- package/dist/core/delegation-child.js +37 -0
- package/dist/core/delegation-slots.d.ts +27 -0
- package/dist/core/delegation-slots.js +44 -0
- package/dist/core/dispatch.d.ts +48 -2
- package/dist/core/dispatch.js +166 -66
- package/dist/core/engine-native.js +1 -1
- package/dist/core/error-code.d.ts +38 -0
- package/dist/core/error-code.js +169 -0
- package/dist/core/grants.d.ts +46 -8
- package/dist/core/grants.js +99 -8
- package/dist/core/host-events.d.ts +18 -2
- package/dist/core/host-events.js +291 -27
- package/dist/core/host-status.d.ts +85 -3
- package/dist/core/host-status.js +300 -22
- package/dist/core/issue-bridge.d.ts +50 -6
- package/dist/core/issue-bridge.js +124 -33
- package/dist/core/issue-events.d.ts +1 -1
- package/dist/core/issue-events.js +4 -10
- package/dist/core/issue-status.d.ts +1 -1
- package/dist/core/issue-status.js +58 -29
- package/dist/core/logger.d.ts +5 -0
- package/dist/core/logger.js +14 -1
- package/dist/core/lost-run-children.d.ts +6 -0
- package/dist/core/lost-run-children.js +32 -0
- package/dist/core/mark-ready.d.ts +34 -0
- package/dist/core/mark-ready.js +152 -0
- package/dist/core/markdown-code.d.ts +8 -0
- package/dist/core/markdown-code.js +107 -0
- 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/memory-tools.js +7 -0
- package/dist/core/merge-order-check.d.ts +2 -1
- package/dist/core/merge-order-check.js +44 -18
- package/dist/core/notification-dispatcher.js +2 -1
- package/dist/core/notification-templates.d.ts +1 -7
- package/dist/core/notification-templates.js +36 -2
- package/dist/core/pull-request-state-sync.js +2 -2
- package/dist/core/reconciler.d.ts +4 -3
- package/dist/core/reconciler.js +8 -1
- package/dist/core/related-pull-requests.d.ts +11 -3
- package/dist/core/related-pull-requests.js +49 -20
- package/dist/core/reply-parts.d.ts +21 -0
- package/dist/core/reply-parts.js +73 -0
- package/dist/core/review-fix.d.ts +1 -1
- package/dist/core/review-fix.js +4 -3
- package/dist/core/review-host-checks.d.ts +1 -1
- package/dist/core/review-host-tools.d.ts +3 -0
- package/dist/core/review-host-tools.js +102 -14
- package/dist/core/review-reads.d.ts +55 -0
- package/dist/core/review-reads.js +233 -0
- package/dist/core/run-status.d.ts +12 -0
- package/dist/core/run-status.js +12 -0
- package/dist/core/runner.d.ts +145 -49
- package/dist/core/runner.js +719 -216
- package/dist/core/schedule-start.d.ts +12 -0
- package/dist/core/schedule-start.js +14 -0
- package/dist/core/secret-broker-config.d.ts +12 -74
- package/dist/core/secret-broker-config.js +1 -1
- package/dist/core/secret-guard.d.ts +49 -0
- package/dist/core/secret-guard.js +119 -0
- package/dist/core/secret-guarded-stores.d.ts +12 -0
- package/dist/core/secret-guarded-stores.js +41 -0
- package/dist/core/secret-spans.d.ts +50 -0
- package/dist/core/secret-spans.js +94 -0
- 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/stop-run.d.ts +46 -0
- package/dist/core/stop-run.js +61 -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-events.d.ts +14 -2
- package/dist/core/workflow-events.js +4 -0
- package/dist/core/workflow-run-events.d.ts +5 -3
- package/dist/core/workflow-run-events.js +45 -9
- package/dist/core/zod-json-schema.d.ts +4 -0
- package/dist/core/zod-json-schema.js +39 -0
- package/dist/core/zod3-window.d.ts +35 -0
- package/dist/core/zod3-window.js +124 -0
- package/dist/generated/prisma/browser.d.ts +65 -3
- package/dist/generated/prisma/client.d.ts +65 -3
- package/dist/generated/prisma/commonInputTypes.d.ts +266 -106
- package/dist/generated/prisma/enums.d.ts +10 -0
- package/dist/generated/prisma/enums.js +8 -0
- package/dist/generated/prisma/internal/class.d.ts +110 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +957 -9
- package/dist/generated/prisma/internal/prismaNamespace.js +166 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +174 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +166 -2
- package/dist/generated/prisma/models/Agent.d.ts +377 -8
- 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 +81 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +228 -7
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +207 -3
- package/dist/generated/prisma/models/CodingProxySession.d.ts +232 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +1712 -1
- package/dist/generated/prisma/models/DependencySnapshot.d.ts +1668 -0
- package/dist/generated/prisma/models/DependencySnapshot.js +1 -0
- 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/IssuePullRequest.d.ts +6 -2
- package/dist/generated/prisma/models/LocalReview.d.ts +40 -1
- 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 +77 -1
- package/dist/generated/prisma/models/NativeGatewaySession.d.ts +35 -1
- package/dist/generated/prisma/models/Principal.d.ts +167 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +41 -1
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +75 -1
- package/dist/generated/prisma/models/RegistryAuditRecord.d.ts +1364 -0
- package/dist/generated/prisma/models/RegistryAuditRecord.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
- package/dist/generated/prisma/models/Run.d.ts +738 -2
- package/dist/generated/prisma/models/RunBudgetEvent.d.ts +1211 -0
- package/dist/generated/prisma/models/RunBudgetEvent.js +1 -0
- package/dist/generated/prisma/models/RunTranscript.d.ts +1339 -0
- package/dist/generated/prisma/models/RunTranscript.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 +10 -0
- package/dist/help/search.js +12 -3
- package/dist/help-index.json +2033 -110
- package/dist/import/create.js +48 -4
- package/dist/import/neutral-schema.d.ts +51 -281
- package/dist/import/neutral-schema.js +7 -4
- package/dist/knowledge/check.d.ts +1 -1
- package/dist/knowledge/cli.d.ts +11 -1
- package/dist/knowledge/cli.js +37 -4
- package/dist/knowledge/concept.d.ts +3 -19
- package/dist/knowledge/location.d.ts +31 -0
- package/dist/knowledge/location.js +78 -0
- package/dist/mcp/auth/access.d.ts +10 -2
- package/dist/mcp/auth/access.js +15 -1
- package/dist/mcp/auth/grants-cli.d.ts +6 -4
- package/dist/mcp/auth/grants-cli.js +42 -3
- package/dist/mcp/auth/ownership.d.ts +7 -7
- package/dist/mcp/auth/resource-server.d.ts +3 -1
- package/dist/mcp/auth/resource-server.js +17 -2
- package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
- package/dist/mcp/auth/self-hosted/session.d.ts +2 -2
- package/dist/mcp/context.d.ts +3 -0
- package/dist/mcp/host-events/github-ingress.d.ts +2 -0
- package/dist/mcp/host-events/github-ingress.js +2 -1
- package/dist/mcp/index.d.ts +6 -0
- package/dist/mcp/index.js +69 -10
- package/dist/mcp/server.d.ts +13 -0
- package/dist/mcp/server.js +33 -14
- package/dist/mcp/tools/agents.d.ts +4 -0
- package/dist/mcp/tools/agents.js +295 -28
- package/dist/mcp/tools/datastore.js +17 -8
- package/dist/mcp/tools/grants.js +73 -29
- 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/memory.js +11 -1
- package/dist/mcp/tools/notification-channels.js +2 -2
- package/dist/mcp/tools/packages.d.ts +2 -0
- package/dist/mcp/tools/packages.js +195 -0
- package/dist/mcp/tools/repositories.js +65 -12
- package/dist/mcp/tools/run-access.d.ts +16 -0
- package/dist/mcp/tools/run-access.js +25 -0
- package/dist/mcp/tools/run-transcript-download.d.ts +30 -0
- package/dist/mcp/tools/run-transcript-download.js +129 -0
- package/dist/mcp/tools/run-transcript.d.ts +19 -0
- package/dist/mcp/tools/run-transcript.js +70 -0
- package/dist/mcp/tools/runs.js +209 -27
- package/dist/mcp/tools/scheduling.js +3 -1
- package/dist/mcp/tools/secret-elicitation-form.js +5 -0
- package/dist/mcp/tools/secret-elicitation-server.d.ts +6 -0
- package/dist/mcp/tools/secret-elicitation-server.js +10 -61
- 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 +40 -6
- package/dist/mcp/tools/stop-run.d.ts +2 -0
- package/dist/mcp/tools/stop-run.js +82 -0
- package/dist/mcp/tools/subagents.js +2 -2
- package/dist/mcp/tools/tools.d.ts +7 -5
- package/dist/mcp/tools/tools.js +64 -16
- 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/transport/stdio-link-host.d.ts +20 -0
- package/dist/mcp/transport/stdio-link-host.js +67 -0
- package/dist/mcp/transport/streamable-http.d.ts +13 -0
- package/dist/mcp/transport/streamable-http.js +41 -1
- package/dist/mcp/webhooks/ingress.js +10 -0
- package/dist/native-worker/docker-launcher.d.ts +38 -2
- package/dist/native-worker/docker-launcher.js +65 -5
- package/dist/native-worker/gateway-server.d.ts +55 -3
- package/dist/native-worker/gateway-server.js +152 -34
- package/dist/native-worker/gateway.d.ts +29 -1
- package/dist/native-worker/gateway.js +74 -4
- package/dist/native-worker/http-server.d.ts +7 -1
- package/dist/native-worker/http-server.js +62 -7
- package/dist/native-worker/http-transport.js +1 -1
- package/dist/native-worker/kubernetes-launcher.d.ts +7 -3
- package/dist/native-worker/kubernetes-launcher.js +43 -3
- package/dist/native-worker/launch.d.ts +18 -1
- package/dist/native-worker/launch.js +6 -1
- package/dist/native-worker/ledger.d.ts +24 -4
- package/dist/native-worker/ledger.js +62 -8
- package/dist/native-worker/loopback.js +3 -8
- package/dist/native-worker/main.d.ts +2 -1
- package/dist/native-worker/main.js +14 -3
- package/dist/native-worker/protocol.d.ts +130 -577
- package/dist/native-worker/protocol.js +51 -2
- package/dist/native-worker/sandbox-executor.d.ts +17 -2
- package/dist/native-worker/sandbox-executor.js +78 -4
- package/dist/native-worker/stderr-redaction.d.ts +77 -0
- package/dist/native-worker/stderr-redaction.js +237 -0
- package/dist/native-worker/stdio.d.ts +1 -1
- package/dist/native-worker/stdio.js +6 -5
- package/dist/native-worker/warm-pool.d.ts +2 -2
- package/dist/native-worker/warm-pool.js +4 -4
- package/dist/native-worker/worker.js +28 -2
- package/dist/observability/metrics.js +6 -1
- package/dist/providers/auth/self-hosted.d.ts +1 -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/dependency-cache/eviction.d.ts +29 -0
- package/dist/providers/coding-proxy/dependency-cache/eviction.js +87 -0
- package/dist/providers/coding-proxy/dependency-cache/key.d.ts +33 -0
- package/dist/providers/coding-proxy/dependency-cache/key.js +86 -0
- package/dist/providers/coding-proxy/dependency-cache/model-request-seal.d.ts +18 -0
- package/dist/providers/coding-proxy/dependency-cache/model-request-seal.js +40 -0
- package/dist/providers/coding-proxy/dependency-cache/prisma-store.d.ts +25 -0
- package/dist/providers/coding-proxy/dependency-cache/prisma-store.js +131 -0
- package/dist/providers/coding-proxy/dependency-cache/service.d.ts +70 -0
- package/dist/providers/coding-proxy/dependency-cache/service.js +409 -0
- package/dist/providers/coding-proxy/dependency-cache/store.d.ts +85 -0
- package/dist/providers/coding-proxy/dependency-cache/store.js +95 -0
- package/dist/providers/coding-proxy/hold.d.ts +32 -0
- package/dist/providers/coding-proxy/hold.js +86 -0
- package/dist/providers/coding-proxy/interrupted.d.ts +70 -0
- package/dist/providers/coding-proxy/interrupted.js +104 -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 +17 -2
- package/dist/providers/coding-proxy/memory-ledger.js +99 -8
- package/dist/providers/coding-proxy/metering.d.ts +16 -0
- package/dist/providers/coding-proxy/metering.js +27 -4
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +16 -2
- package/dist/providers/coding-proxy/prisma-ledger.js +209 -69
- package/dist/providers/coding-proxy/proxy.d.ts +21 -2
- package/dist/providers/coding-proxy/proxy.js +300 -48
- package/dist/providers/coding-proxy/registry/audit.d.ts +53 -10
- package/dist/providers/coding-proxy/registry/audit.js +94 -17
- package/dist/providers/coding-proxy/registry/lockfile-parse-worker.d.ts +36 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse-worker.js +67 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/lockfile-parse.js +110 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +9 -0
- package/dist/providers/coding-proxy/registry/plan.js +201 -48
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +11 -5
- package/dist/providers/coding-proxy/registry/prisma-store.js +120 -17
- package/dist/providers/coding-proxy/registry/service.d.ts +97 -16
- package/dist/providers/coding-proxy/registry/service.js +579 -112
- package/dist/providers/coding-proxy/registry/store.d.ts +84 -9
- package/dist/providers/coding-proxy/registry/store.js +54 -1
- package/dist/providers/coding-proxy/runtime.d.ts +10 -0
- package/dist/providers/coding-proxy/runtime.js +109 -16
- package/dist/providers/coding-proxy/server.d.ts +9 -1
- package/dist/providers/coding-proxy/server.js +55 -1
- package/dist/providers/coding-proxy/types.d.ts +78 -1
- package/dist/providers/datastore/types.d.ts +5 -0
- package/dist/providers/engine/types.d.ts +17 -2
- package/dist/providers/engine/types.js +17 -0
- package/dist/providers/executor/composition.d.ts +10 -3
- package/dist/providers/executor/composition.js +52 -7
- package/dist/providers/executor/container.d.ts +394 -9
- package/dist/providers/executor/container.js +1210 -96
- package/dist/providers/executor/dbos-status.d.ts +31 -0
- package/dist/providers/executor/dbos-status.js +64 -0
- package/dist/providers/executor/dbos.d.ts +50 -1
- package/dist/providers/executor/dbos.js +207 -20
- package/dist/providers/executor/deferred.d.ts +12 -24
- package/dist/providers/executor/deferred.js +10 -29
- package/dist/providers/executor/in-process.d.ts +9 -1
- package/dist/providers/executor/in-process.js +14 -4
- package/dist/providers/executor/linked-issue-reader.d.ts +16 -0
- package/dist/providers/executor/linked-issue-reader.js +30 -0
- package/dist/providers/executor/routing.d.ts +2 -0
- package/dist/providers/executor/routing.js +4 -0
- package/dist/providers/executor/types.d.ts +13 -0
- 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/index.d.ts +2 -1
- package/dist/providers/issue-tracker/types.d.ts +17 -0
- package/dist/providers/issue-tracker/types.js +39 -1
- package/dist/providers/jobs/claude-tool-setup.d.ts +4 -0
- package/dist/providers/jobs/claude-tool-setup.js +5 -2
- package/dist/providers/jobs/docker-isolation.d.ts +10 -2
- package/dist/providers/jobs/docker-isolation.js +47 -8
- package/dist/providers/jobs/docker.d.ts +9 -0
- package/dist/providers/jobs/docker.js +60 -11
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +2 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +3 -0
- package/dist/providers/jobs/kubernetes-api.d.ts +8 -0
- package/dist/providers/jobs/kubernetes-api.js +10 -0
- package/dist/providers/jobs/kubernetes-client.js +10 -1
- package/dist/providers/jobs/kubernetes-isolation.d.ts +5 -1
- package/dist/providers/jobs/kubernetes-isolation.js +32 -3
- package/dist/providers/jobs/kubernetes.d.ts +11 -1
- package/dist/providers/jobs/kubernetes.js +111 -17
- package/dist/providers/jobs/types.d.ts +39 -0
- package/dist/providers/jobs/types.js +13 -1
- package/dist/providers/llm/anthropic.js +5 -1
- package/dist/providers/llm/bedrock.d.ts +0 -12
- package/dist/providers/llm/bedrock.js +4 -0
- package/dist/providers/llm/claude-messages.d.ts +3 -1
- package/dist/providers/llm/claude-messages.js +4 -1
- package/dist/providers/llm/claude-provider.d.ts +2 -2
- package/dist/providers/llm/claude-provider.js +2 -2
- package/dist/providers/llm/openai.d.ts +2 -2
- package/dist/providers/llm/openai.js +6 -2
- package/dist/providers/llm/routing.d.ts +2 -2
- package/dist/providers/llm/routing.js +2 -2
- package/dist/providers/llm/types.d.ts +12 -2
- package/dist/providers/review-host/github-events.d.ts +9 -1
- package/dist/providers/review-host/github-events.js +34 -12
- package/dist/providers/review-host/github.d.ts +29 -2
- package/dist/providers/review-host/github.js +224 -29
- package/dist/providers/review-host/local.d.ts +8 -4
- package/dist/providers/review-host/local.js +49 -31
- package/dist/providers/review-host/patch-pages.d.ts +41 -0
- package/dist/providers/review-host/patch-pages.js +176 -0
- package/dist/providers/review-host/review-format.d.ts +19 -1
- package/dist/providers/review-host/review-format.js +38 -7
- package/dist/providers/review-host/types.d.ts +140 -6
- package/dist/providers/review-host/types.js +9 -1
- package/dist/providers/storage/gcs.d.ts +63 -0
- package/dist/providers/storage/gcs.js +69 -0
- package/dist/providers/storage/index.d.ts +15 -0
- package/dist/providers/storage/index.js +14 -0
- package/dist/providers/storage/local.d.ts +24 -0
- package/dist/providers/storage/local.js +92 -0
- package/dist/providers/storage/meter.d.ts +14 -0
- package/dist/providers/storage/meter.js +34 -0
- package/dist/providers/storage/s3.d.ts +41 -0
- package/dist/providers/storage/s3.js +107 -0
- package/dist/providers/storage/types.d.ts +37 -3
- package/dist/providers/storage/types.js +21 -4
- package/dist/providers/vcs/git.d.ts +39 -4
- package/dist/providers/vcs/git.js +339 -26
- package/dist/providers/vcs/github-remote.d.ts +26 -3
- package/dist/providers/vcs/github-remote.js +124 -14
- package/dist/providers/vcs/github.d.ts +183 -44
- package/dist/providers/vcs/github.js +455 -56
- package/dist/providers/vcs/index.d.ts +1 -1
- package/dist/providers/vcs/index.js +9 -2
- package/dist/providers/vcs/pr-description.d.ts +127 -0
- package/dist/providers/vcs/pr-description.js +270 -0
- package/dist/providers/vcs/remote.d.ts +37 -1
- package/dist/providers/vcs/remote.js +7 -1
- package/dist/providers/vcs/routing.d.ts +16 -8
- package/dist/providers/vcs/routing.js +27 -6
- package/dist/providers/vcs/types.d.ts +150 -5
- package/dist/quickstart/coding-seed.d.ts +14 -3
- package/dist/quickstart/coding-seed.js +213 -4
- package/dist/quickstart/index.d.ts +5 -0
- package/dist/quickstart/index.js +21 -0
- package/dist/quickstart/reviewer-prompt.d.ts +1 -1
- package/dist/quickstart/reviewer-prompt.js +6 -6
- 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/generated/zod.bundle.js +62 -1
- package/dist/sandbox/generated/zod3.bundle.js +5 -0
- package/dist/sandbox/host-functions.d.ts +5 -0
- package/dist/sandbox/host-functions.js +13 -13
- 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 +4 -5
- package/dist/sandbox/tool-capabilities.d.ts +10 -30
- 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/sandbox/zod-params.d.ts +37 -5
- package/dist/sandbox/zod-params.js +181 -26
- package/dist/serve.js +8 -1
- package/dist/viewer/api-schema.d.ts +349 -2627
- package/dist/viewer/api-schema.js +7 -0
- package/dist/viewer/build-schemas.js +6 -2
- package/dist/viewer/graph.js +2 -1
- package/dist/viewer/openapi.js +2 -4
- package/dist/wardby-bin.js +15 -0
- package/docs/README.md +11 -1
- package/docs/agent-recipes.md +95 -24
- package/docs/architecture-runtime.md +1 -1
- package/docs/claude-code-plugin.md +164 -0
- package/docs/code-review-agents.md +557 -41
- package/docs/coding-agent-setup.md +566 -8
- package/docs/coding-packages.md +1033 -90
- package/docs/coding-services.md +27 -12
- package/docs/coding-worker-byo-images.md +24 -2
- package/docs/coding-worker-isolation.md +183 -37
- package/docs/debugging-agent-runs.md +242 -0
- package/docs/getting-started-gke.md +129 -141
- package/docs/getting-started-identity-provider.md +53 -38
- package/docs/getting-started.md +17 -0
- package/docs/host-providers.md +294 -0
- package/docs/jira-agents.md +17 -8
- package/docs/knowledge/blob-not-found-semantics.md +41 -0
- package/docs/knowledge/bounded-file-descriptor.md +52 -0
- package/docs/knowledge/delegation-admission-slots.md +52 -0
- package/docs/knowledge/http-dispatcher-bootstrap.md +61 -0
- package/docs/knowledge/import-rename-target.md +52 -0
- package/docs/knowledge/index.md +57 -0
- package/docs/knowledge/log.md +9 -0
- package/docs/knowledge/mcp-cancelled-task-precedence.md +41 -0
- package/docs/knowledge/mcp-http-prompt-discovery.md +41 -0
- package/docs/knowledge/mcp-schema-module-boundary.md +41 -0
- package/docs/knowledge/nullable-tool-uniqueness.md +52 -0
- package/docs/knowledge/overview-cli.md +74 -0
- package/docs/knowledge/overview-coding-proxy.md +72 -0
- package/docs/knowledge/overview-coding.md +72 -0
- package/docs/knowledge/overview-config.md +60 -0
- package/docs/knowledge/overview-core.md +72 -0
- package/docs/knowledge/overview-deploy.md +83 -0
- package/docs/knowledge/overview-mcp.md +61 -0
- package/docs/knowledge/overview-prisma.md +72 -0
- package/docs/knowledge/overview-providers.md +89 -0
- package/docs/knowledge/overview-sandbox.md +83 -0
- package/docs/knowledge/overview-surfaces.md +83 -0
- package/docs/knowledge/private-datastore-shared-boundary.md +54 -0
- package/docs/knowledge/proxy-settlement-projections.md +41 -0
- package/docs/knowledge/run-pricing-first-writer.md +43 -0
- package/docs/knowledge/schedule-claim-transaction.md +41 -0
- package/docs/knowledge/secret-entry-replica-contract.md +52 -0
- package/docs/knowledge/terminal-run-first-writer.md +41 -0
- package/docs/knowledge/transactional-agent-authorization.md +52 -0
- package/docs/knowledge/viewer-notify-write-isolation.md +30 -0
- package/docs/knowledge/warm-input-publication.md +30 -0
- package/docs/knowledge/workspace-staging-failure.md +54 -0
- package/docs/knowledge.md +54 -14
- package/docs/mcp-servers.md +254 -0
- package/docs/native-sandbox.md +143 -31
- package/docs/observability.md +4 -0
- package/docs/security-deployment.md +139 -29
- package/docs/slack-notifications.md +35 -19
- package/docs/tool-secrets.md +45 -10
- package/docs/viewer-api.md +6 -0
- package/docs/viewer-api.openapi.yml +1 -1
- package/help/admin-viewer.md +28 -2
- package/help/agent-recipes.md +33 -2
- package/help/architecture-agent.md +11 -6
- package/help/brokered-secrets.md +3 -0
- package/help/build-claude-code-image.md +1 -1
- package/help/build-worker-image.md +3 -1
- package/help/builder-agent.md +19 -6
- package/help/claude-code-run-pane.md +40 -0
- package/help/code-review-agents.md +177 -6
- package/help/coding-packages.md +156 -6
- package/help/cost-attribution.md +9 -5
- package/help/creating-agents.md +14 -1
- package/help/dependency-cache.md +143 -0
- package/help/deploy-gke.md +15 -8
- package/help/errors/budget-exhausted.md +187 -0
- package/help/errors/budget-group-exhausted.md +5 -1
- package/help/errors/coding-mcp-pins-unavailable.md +35 -0
- package/help/errors/coding-stream-quota-exceeded.md +33 -0
- package/help/errors/coding-workspace-disk-exceeds-limit.md +39 -0
- package/help/errors/continuation-closed.md +9 -12
- package/help/errors/database-auth-invalid.md +1 -1
- package/help/errors/delegation-conflict.md +24 -0
- package/help/errors/file-list-truncated.md +45 -0
- package/help/errors/full-read-required.md +49 -0
- package/help/errors/github-account-not-allowed.md +4 -0
- package/help/errors/graph-incomplete.md +43 -0
- package/help/errors/graph-limit.md +43 -0
- 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/merge-conflict.md +49 -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 +20 -0
- 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-launch-abandoned.md +21 -0
- 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 +4 -3
- package/help/errors/native-sandbox-worker-lost.md +1 -1
- package/help/errors/native-sandbox-worker-unready.md +1 -1
- package/help/errors/package-not-allowed-pending.md +52 -0
- package/help/errors/package-not-allowed.md +51 -0
- package/help/errors/package-refusals.md +43 -0
- package/help/errors/patch-cursor-malformed.md +31 -0
- package/help/errors/repository-not-listed.md +36 -0
- package/help/errors/repository-required.md +36 -0
- package/help/errors/run-lost.md +39 -0
- package/help/errors/run-transcript-download.md +44 -0
- package/help/errors/secret-in-value.md +69 -0
- package/help/errors/target-merge.md +40 -0
- package/help/errors/tool-timeout.md +38 -0
- package/help/fix-merge-conflicts.md +73 -0
- package/help/github-app-setup.md +132 -0
- package/help/github.md +22 -0
- package/help/host-providers.md +40 -0
- package/help/identity-and-access.md +6 -1
- package/help/jira.md +23 -6
- package/help/knowledge.md +16 -7
- package/help/local-repositories.md +1 -1
- package/help/low-power-mode.md +7 -1
- package/help/mcp-servers.md +73 -0
- package/help/mcp.md +7 -2
- package/help/merge-order-check.md +5 -0
- package/help/native-capabilities.md +55 -1
- package/help/native-sandbox.md +16 -2
- package/help/operating-agents.md +21 -0
- package/help/package-audit-mode.md +91 -0
- package/help/related-pull-requests.md +17 -10
- package/help/repo-instructions-and-skills.md +3 -1
- package/help/resume-runs-locally.md +134 -0
- package/help/review-fix-rounds.md +33 -1
- package/help/sharing-agents.md +59 -0
- package/help/slack-notifications.md +19 -5
- package/help/status-comments.md +31 -0
- package/help/stop-run.md +58 -0
- package/help/troubleshooting/budgets.md +28 -0
- package/help/troubleshooting/coding-workers.md +86 -7
- package/help/troubleshooting/debugging-agent-runs.md +29 -0
- package/package.json +18 -10
- package/prisma/migrations/20261016000000_registry_approved_accepted_advisories/migration.sql +3 -0
- package/prisma/migrations/20261016000001_mark_ready_when_passing/migration.sql +3 -0
- package/prisma/migrations/20261017000000_debug_trace_max_mb/migration.sql +4 -0
- package/prisma/migrations/20261018000000_dependency_cache/migration.sql +53 -0
- package/prisma/migrations/20261019000000_claude_max_output_tokens/migration.sql +5 -0
- package/prisma/migrations/20261021000000_pr_description_hash/migration.sql +4 -0
- package/prisma/migrations/20261022000000_dependency_snapshot_validation_metadata/migration.sql +4 -0
- package/prisma/migrations/20261023000000_package_audit_mode/migration.sql +27 -0
- package/prisma/migrations/20261024000000_budget_events/migration.sql +26 -0
- package/prisma/migrations/20261025000000_cache_aware_holds/migration.sql +9 -0
- package/prisma/migrations/20261026000000_budget_overrun/migration.sql +4 -0
- package/prisma/migrations/20261027000000_coding_run_request/migration.sql +1 -0
- package/prisma/migrations/20261028000000_native_gateway_review_reads/migration.sql +6 -0
- package/prisma/migrations/20261029000000_lead_survives_deploy/migration.sql +6 -0
- package/prisma/migrations/20261030000000_local_review_covered_sha/migration.sql +2 -0
- package/prisma/migrations/20261031000000_coding_run_budget_limit/migration.sql +9 -0
- package/prisma/migrations/20261101000000_run_transcripts/migration.sql +22 -0
- 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/schema.prisma +468 -109
- package/scripts/git-askpass.sh +1 -1
- package/dist/sandbox/generated/zod-to-json-schema.bundle.js +0 -5
|
@@ -0,0 +1,1500 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model McpServer
|
|
5
|
+
* A remote MCP server an owner registered (Streamable HTTP, HTTPS only).
|
|
6
|
+
*/
|
|
7
|
+
export type McpServerModel = runtime.Types.Result.DefaultSelection<Prisma.$McpServerPayload>;
|
|
8
|
+
export type AggregateMcpServer = {
|
|
9
|
+
_count: McpServerCountAggregateOutputType | null;
|
|
10
|
+
_min: McpServerMinAggregateOutputType | null;
|
|
11
|
+
_max: McpServerMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type McpServerMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
ownerId: string | null;
|
|
16
|
+
name: string | null;
|
|
17
|
+
url: string | null;
|
|
18
|
+
snapshotAt: Date | null;
|
|
19
|
+
createdAt: Date | null;
|
|
20
|
+
updatedAt: Date | null;
|
|
21
|
+
};
|
|
22
|
+
export type McpServerMaxAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
ownerId: string | null;
|
|
25
|
+
name: string | null;
|
|
26
|
+
url: string | null;
|
|
27
|
+
snapshotAt: Date | null;
|
|
28
|
+
createdAt: Date | null;
|
|
29
|
+
updatedAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type McpServerCountAggregateOutputType = {
|
|
32
|
+
id: number;
|
|
33
|
+
ownerId: number;
|
|
34
|
+
name: number;
|
|
35
|
+
url: number;
|
|
36
|
+
secretNames: number;
|
|
37
|
+
toolSnapshot: number;
|
|
38
|
+
snapshotAt: number;
|
|
39
|
+
serverInfo: number;
|
|
40
|
+
createdAt: number;
|
|
41
|
+
updatedAt: number;
|
|
42
|
+
_all: number;
|
|
43
|
+
};
|
|
44
|
+
export type McpServerMinAggregateInputType = {
|
|
45
|
+
id?: true;
|
|
46
|
+
ownerId?: true;
|
|
47
|
+
name?: true;
|
|
48
|
+
url?: true;
|
|
49
|
+
snapshotAt?: true;
|
|
50
|
+
createdAt?: true;
|
|
51
|
+
updatedAt?: true;
|
|
52
|
+
};
|
|
53
|
+
export type McpServerMaxAggregateInputType = {
|
|
54
|
+
id?: true;
|
|
55
|
+
ownerId?: true;
|
|
56
|
+
name?: true;
|
|
57
|
+
url?: true;
|
|
58
|
+
snapshotAt?: true;
|
|
59
|
+
createdAt?: true;
|
|
60
|
+
updatedAt?: true;
|
|
61
|
+
};
|
|
62
|
+
export type McpServerCountAggregateInputType = {
|
|
63
|
+
id?: true;
|
|
64
|
+
ownerId?: true;
|
|
65
|
+
name?: true;
|
|
66
|
+
url?: true;
|
|
67
|
+
secretNames?: true;
|
|
68
|
+
toolSnapshot?: true;
|
|
69
|
+
snapshotAt?: true;
|
|
70
|
+
serverInfo?: true;
|
|
71
|
+
createdAt?: true;
|
|
72
|
+
updatedAt?: true;
|
|
73
|
+
_all?: true;
|
|
74
|
+
};
|
|
75
|
+
export type McpServerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which McpServer to aggregate.
|
|
78
|
+
*/
|
|
79
|
+
where?: Prisma.McpServerWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of McpServers to fetch.
|
|
84
|
+
*/
|
|
85
|
+
orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[];
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
+
*
|
|
89
|
+
* Sets the start position
|
|
90
|
+
*/
|
|
91
|
+
cursor?: Prisma.McpServerWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` McpServers from the position of the cursor.
|
|
96
|
+
*/
|
|
97
|
+
take?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Skip the first `n` McpServers.
|
|
102
|
+
*/
|
|
103
|
+
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned McpServers
|
|
108
|
+
**/
|
|
109
|
+
_count?: true | McpServerCountAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the minimum value
|
|
114
|
+
**/
|
|
115
|
+
_min?: McpServerMinAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the maximum value
|
|
120
|
+
**/
|
|
121
|
+
_max?: McpServerMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type GetMcpServerAggregateType<T extends McpServerAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateMcpServer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpServer[P]> : Prisma.GetScalarType<T[P], AggregateMcpServer[P]>;
|
|
125
|
+
};
|
|
126
|
+
export type McpServerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.McpServerWhereInput;
|
|
128
|
+
orderBy?: Prisma.McpServerOrderByWithAggregationInput | Prisma.McpServerOrderByWithAggregationInput[];
|
|
129
|
+
by: Prisma.McpServerScalarFieldEnum[] | Prisma.McpServerScalarFieldEnum;
|
|
130
|
+
having?: Prisma.McpServerScalarWhereWithAggregatesInput;
|
|
131
|
+
take?: number;
|
|
132
|
+
skip?: number;
|
|
133
|
+
_count?: McpServerCountAggregateInputType | true;
|
|
134
|
+
_min?: McpServerMinAggregateInputType;
|
|
135
|
+
_max?: McpServerMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type McpServerGroupByOutputType = {
|
|
138
|
+
id: string;
|
|
139
|
+
ownerId: string;
|
|
140
|
+
name: string;
|
|
141
|
+
url: string;
|
|
142
|
+
secretNames: string[];
|
|
143
|
+
toolSnapshot: runtime.JsonValue;
|
|
144
|
+
snapshotAt: Date | null;
|
|
145
|
+
serverInfo: runtime.JsonValue | null;
|
|
146
|
+
createdAt: Date;
|
|
147
|
+
updatedAt: Date;
|
|
148
|
+
_count: McpServerCountAggregateOutputType | null;
|
|
149
|
+
_min: McpServerMinAggregateOutputType | null;
|
|
150
|
+
_max: McpServerMaxAggregateOutputType | null;
|
|
151
|
+
};
|
|
152
|
+
export type GetMcpServerGroupByPayload<T extends McpServerGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpServerGroupByOutputType, T['by']> & {
|
|
153
|
+
[P in ((keyof T) & (keyof McpServerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpServerGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpServerGroupByOutputType[P]>;
|
|
154
|
+
}>>;
|
|
155
|
+
export type McpServerWhereInput = {
|
|
156
|
+
AND?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[];
|
|
157
|
+
OR?: Prisma.McpServerWhereInput[];
|
|
158
|
+
NOT?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[];
|
|
159
|
+
id?: Prisma.StringFilter<"McpServer"> | string;
|
|
160
|
+
ownerId?: Prisma.StringFilter<"McpServer"> | string;
|
|
161
|
+
name?: Prisma.StringFilter<"McpServer"> | string;
|
|
162
|
+
url?: Prisma.StringFilter<"McpServer"> | string;
|
|
163
|
+
secretNames?: Prisma.StringNullableListFilter<"McpServer">;
|
|
164
|
+
toolSnapshot?: Prisma.JsonFilter<"McpServer">;
|
|
165
|
+
snapshotAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null;
|
|
166
|
+
serverInfo?: Prisma.JsonNullableFilter<"McpServer">;
|
|
167
|
+
createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
168
|
+
updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
169
|
+
owner?: Prisma.XOR<Prisma.PrincipalScalarRelationFilter, Prisma.PrincipalWhereInput>;
|
|
170
|
+
agents?: Prisma.AgentMcpServerListRelationFilter;
|
|
171
|
+
};
|
|
172
|
+
export type McpServerOrderByWithRelationInput = {
|
|
173
|
+
id?: Prisma.SortOrder;
|
|
174
|
+
ownerId?: Prisma.SortOrder;
|
|
175
|
+
name?: Prisma.SortOrder;
|
|
176
|
+
url?: Prisma.SortOrder;
|
|
177
|
+
secretNames?: Prisma.SortOrder;
|
|
178
|
+
toolSnapshot?: Prisma.SortOrder;
|
|
179
|
+
snapshotAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
180
|
+
serverInfo?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
181
|
+
createdAt?: Prisma.SortOrder;
|
|
182
|
+
updatedAt?: Prisma.SortOrder;
|
|
183
|
+
owner?: Prisma.PrincipalOrderByWithRelationInput;
|
|
184
|
+
agents?: Prisma.AgentMcpServerOrderByRelationAggregateInput;
|
|
185
|
+
};
|
|
186
|
+
export type McpServerWhereUniqueInput = Prisma.AtLeast<{
|
|
187
|
+
id?: string;
|
|
188
|
+
ownerId_name?: Prisma.McpServerOwnerIdNameCompoundUniqueInput;
|
|
189
|
+
AND?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[];
|
|
190
|
+
OR?: Prisma.McpServerWhereInput[];
|
|
191
|
+
NOT?: Prisma.McpServerWhereInput | Prisma.McpServerWhereInput[];
|
|
192
|
+
ownerId?: Prisma.StringFilter<"McpServer"> | string;
|
|
193
|
+
name?: Prisma.StringFilter<"McpServer"> | string;
|
|
194
|
+
url?: Prisma.StringFilter<"McpServer"> | string;
|
|
195
|
+
secretNames?: Prisma.StringNullableListFilter<"McpServer">;
|
|
196
|
+
toolSnapshot?: Prisma.JsonFilter<"McpServer">;
|
|
197
|
+
snapshotAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null;
|
|
198
|
+
serverInfo?: Prisma.JsonNullableFilter<"McpServer">;
|
|
199
|
+
createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
200
|
+
updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
201
|
+
owner?: Prisma.XOR<Prisma.PrincipalScalarRelationFilter, Prisma.PrincipalWhereInput>;
|
|
202
|
+
agents?: Prisma.AgentMcpServerListRelationFilter;
|
|
203
|
+
}, "id" | "ownerId_name">;
|
|
204
|
+
export type McpServerOrderByWithAggregationInput = {
|
|
205
|
+
id?: Prisma.SortOrder;
|
|
206
|
+
ownerId?: Prisma.SortOrder;
|
|
207
|
+
name?: Prisma.SortOrder;
|
|
208
|
+
url?: Prisma.SortOrder;
|
|
209
|
+
secretNames?: Prisma.SortOrder;
|
|
210
|
+
toolSnapshot?: Prisma.SortOrder;
|
|
211
|
+
snapshotAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
212
|
+
serverInfo?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
213
|
+
createdAt?: Prisma.SortOrder;
|
|
214
|
+
updatedAt?: Prisma.SortOrder;
|
|
215
|
+
_count?: Prisma.McpServerCountOrderByAggregateInput;
|
|
216
|
+
_max?: Prisma.McpServerMaxOrderByAggregateInput;
|
|
217
|
+
_min?: Prisma.McpServerMinOrderByAggregateInput;
|
|
218
|
+
};
|
|
219
|
+
export type McpServerScalarWhereWithAggregatesInput = {
|
|
220
|
+
AND?: Prisma.McpServerScalarWhereWithAggregatesInput | Prisma.McpServerScalarWhereWithAggregatesInput[];
|
|
221
|
+
OR?: Prisma.McpServerScalarWhereWithAggregatesInput[];
|
|
222
|
+
NOT?: Prisma.McpServerScalarWhereWithAggregatesInput | Prisma.McpServerScalarWhereWithAggregatesInput[];
|
|
223
|
+
id?: Prisma.StringWithAggregatesFilter<"McpServer"> | string;
|
|
224
|
+
ownerId?: Prisma.StringWithAggregatesFilter<"McpServer"> | string;
|
|
225
|
+
name?: Prisma.StringWithAggregatesFilter<"McpServer"> | string;
|
|
226
|
+
url?: Prisma.StringWithAggregatesFilter<"McpServer"> | string;
|
|
227
|
+
secretNames?: Prisma.StringNullableListFilter<"McpServer">;
|
|
228
|
+
toolSnapshot?: Prisma.JsonWithAggregatesFilter<"McpServer">;
|
|
229
|
+
snapshotAt?: Prisma.DateTimeNullableWithAggregatesFilter<"McpServer"> | Date | string | null;
|
|
230
|
+
serverInfo?: Prisma.JsonNullableWithAggregatesFilter<"McpServer">;
|
|
231
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpServer"> | Date | string;
|
|
232
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"McpServer"> | Date | string;
|
|
233
|
+
};
|
|
234
|
+
export type McpServerCreateInput = {
|
|
235
|
+
id?: string;
|
|
236
|
+
name: string;
|
|
237
|
+
url: string;
|
|
238
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
239
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
240
|
+
snapshotAt?: Date | string | null;
|
|
241
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
242
|
+
createdAt?: Date | string;
|
|
243
|
+
updatedAt?: Date | string;
|
|
244
|
+
owner: Prisma.PrincipalCreateNestedOneWithoutMcpServersInput;
|
|
245
|
+
agents?: Prisma.AgentMcpServerCreateNestedManyWithoutServerInput;
|
|
246
|
+
};
|
|
247
|
+
export type McpServerUncheckedCreateInput = {
|
|
248
|
+
id?: string;
|
|
249
|
+
ownerId: string;
|
|
250
|
+
name: string;
|
|
251
|
+
url: string;
|
|
252
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
253
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
254
|
+
snapshotAt?: Date | string | null;
|
|
255
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
256
|
+
createdAt?: Date | string;
|
|
257
|
+
updatedAt?: Date | string;
|
|
258
|
+
agents?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutServerInput;
|
|
259
|
+
};
|
|
260
|
+
export type McpServerUpdateInput = {
|
|
261
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
265
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
266
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
267
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
268
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
269
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
270
|
+
owner?: Prisma.PrincipalUpdateOneRequiredWithoutMcpServersNestedInput;
|
|
271
|
+
agents?: Prisma.AgentMcpServerUpdateManyWithoutServerNestedInput;
|
|
272
|
+
};
|
|
273
|
+
export type McpServerUncheckedUpdateInput = {
|
|
274
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
275
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
276
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
279
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
280
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
281
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
282
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
283
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
284
|
+
agents?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutServerNestedInput;
|
|
285
|
+
};
|
|
286
|
+
export type McpServerCreateManyInput = {
|
|
287
|
+
id?: string;
|
|
288
|
+
ownerId: string;
|
|
289
|
+
name: string;
|
|
290
|
+
url: string;
|
|
291
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
292
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
293
|
+
snapshotAt?: Date | string | null;
|
|
294
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
295
|
+
createdAt?: Date | string;
|
|
296
|
+
updatedAt?: Date | string;
|
|
297
|
+
};
|
|
298
|
+
export type McpServerUpdateManyMutationInput = {
|
|
299
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
302
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
303
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
304
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
305
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
306
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
307
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
308
|
+
};
|
|
309
|
+
export type McpServerUncheckedUpdateManyInput = {
|
|
310
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
313
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
315
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
316
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
317
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
318
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
319
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
320
|
+
};
|
|
321
|
+
export type McpServerListRelationFilter = {
|
|
322
|
+
every?: Prisma.McpServerWhereInput;
|
|
323
|
+
some?: Prisma.McpServerWhereInput;
|
|
324
|
+
none?: Prisma.McpServerWhereInput;
|
|
325
|
+
};
|
|
326
|
+
export type McpServerOrderByRelationAggregateInput = {
|
|
327
|
+
_count?: Prisma.SortOrder;
|
|
328
|
+
};
|
|
329
|
+
export type McpServerOwnerIdNameCompoundUniqueInput = {
|
|
330
|
+
ownerId: string;
|
|
331
|
+
name: string;
|
|
332
|
+
};
|
|
333
|
+
export type McpServerCountOrderByAggregateInput = {
|
|
334
|
+
id?: Prisma.SortOrder;
|
|
335
|
+
ownerId?: Prisma.SortOrder;
|
|
336
|
+
name?: Prisma.SortOrder;
|
|
337
|
+
url?: Prisma.SortOrder;
|
|
338
|
+
secretNames?: Prisma.SortOrder;
|
|
339
|
+
toolSnapshot?: Prisma.SortOrder;
|
|
340
|
+
snapshotAt?: Prisma.SortOrder;
|
|
341
|
+
serverInfo?: Prisma.SortOrder;
|
|
342
|
+
createdAt?: Prisma.SortOrder;
|
|
343
|
+
updatedAt?: Prisma.SortOrder;
|
|
344
|
+
};
|
|
345
|
+
export type McpServerMaxOrderByAggregateInput = {
|
|
346
|
+
id?: Prisma.SortOrder;
|
|
347
|
+
ownerId?: Prisma.SortOrder;
|
|
348
|
+
name?: Prisma.SortOrder;
|
|
349
|
+
url?: Prisma.SortOrder;
|
|
350
|
+
snapshotAt?: Prisma.SortOrder;
|
|
351
|
+
createdAt?: Prisma.SortOrder;
|
|
352
|
+
updatedAt?: Prisma.SortOrder;
|
|
353
|
+
};
|
|
354
|
+
export type McpServerMinOrderByAggregateInput = {
|
|
355
|
+
id?: Prisma.SortOrder;
|
|
356
|
+
ownerId?: Prisma.SortOrder;
|
|
357
|
+
name?: Prisma.SortOrder;
|
|
358
|
+
url?: Prisma.SortOrder;
|
|
359
|
+
snapshotAt?: Prisma.SortOrder;
|
|
360
|
+
createdAt?: Prisma.SortOrder;
|
|
361
|
+
updatedAt?: Prisma.SortOrder;
|
|
362
|
+
};
|
|
363
|
+
export type McpServerScalarRelationFilter = {
|
|
364
|
+
is?: Prisma.McpServerWhereInput;
|
|
365
|
+
isNot?: Prisma.McpServerWhereInput;
|
|
366
|
+
};
|
|
367
|
+
export type McpServerCreateNestedManyWithoutOwnerInput = {
|
|
368
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput> | Prisma.McpServerCreateWithoutOwnerInput[] | Prisma.McpServerUncheckedCreateWithoutOwnerInput[];
|
|
369
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutOwnerInput | Prisma.McpServerCreateOrConnectWithoutOwnerInput[];
|
|
370
|
+
createMany?: Prisma.McpServerCreateManyOwnerInputEnvelope;
|
|
371
|
+
connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
372
|
+
};
|
|
373
|
+
export type McpServerUncheckedCreateNestedManyWithoutOwnerInput = {
|
|
374
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput> | Prisma.McpServerCreateWithoutOwnerInput[] | Prisma.McpServerUncheckedCreateWithoutOwnerInput[];
|
|
375
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutOwnerInput | Prisma.McpServerCreateOrConnectWithoutOwnerInput[];
|
|
376
|
+
createMany?: Prisma.McpServerCreateManyOwnerInputEnvelope;
|
|
377
|
+
connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
378
|
+
};
|
|
379
|
+
export type McpServerUpdateManyWithoutOwnerNestedInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput> | Prisma.McpServerCreateWithoutOwnerInput[] | Prisma.McpServerUncheckedCreateWithoutOwnerInput[];
|
|
381
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutOwnerInput | Prisma.McpServerCreateOrConnectWithoutOwnerInput[];
|
|
382
|
+
upsert?: Prisma.McpServerUpsertWithWhereUniqueWithoutOwnerInput | Prisma.McpServerUpsertWithWhereUniqueWithoutOwnerInput[];
|
|
383
|
+
createMany?: Prisma.McpServerCreateManyOwnerInputEnvelope;
|
|
384
|
+
set?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
385
|
+
disconnect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
386
|
+
delete?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
387
|
+
connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
388
|
+
update?: Prisma.McpServerUpdateWithWhereUniqueWithoutOwnerInput | Prisma.McpServerUpdateWithWhereUniqueWithoutOwnerInput[];
|
|
389
|
+
updateMany?: Prisma.McpServerUpdateManyWithWhereWithoutOwnerInput | Prisma.McpServerUpdateManyWithWhereWithoutOwnerInput[];
|
|
390
|
+
deleteMany?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[];
|
|
391
|
+
};
|
|
392
|
+
export type McpServerUncheckedUpdateManyWithoutOwnerNestedInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput> | Prisma.McpServerCreateWithoutOwnerInput[] | Prisma.McpServerUncheckedCreateWithoutOwnerInput[];
|
|
394
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutOwnerInput | Prisma.McpServerCreateOrConnectWithoutOwnerInput[];
|
|
395
|
+
upsert?: Prisma.McpServerUpsertWithWhereUniqueWithoutOwnerInput | Prisma.McpServerUpsertWithWhereUniqueWithoutOwnerInput[];
|
|
396
|
+
createMany?: Prisma.McpServerCreateManyOwnerInputEnvelope;
|
|
397
|
+
set?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
398
|
+
disconnect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
399
|
+
delete?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
400
|
+
connect?: Prisma.McpServerWhereUniqueInput | Prisma.McpServerWhereUniqueInput[];
|
|
401
|
+
update?: Prisma.McpServerUpdateWithWhereUniqueWithoutOwnerInput | Prisma.McpServerUpdateWithWhereUniqueWithoutOwnerInput[];
|
|
402
|
+
updateMany?: Prisma.McpServerUpdateManyWithWhereWithoutOwnerInput | Prisma.McpServerUpdateManyWithWhereWithoutOwnerInput[];
|
|
403
|
+
deleteMany?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[];
|
|
404
|
+
};
|
|
405
|
+
export type McpServerCreatesecretNamesInput = {
|
|
406
|
+
set: string[];
|
|
407
|
+
};
|
|
408
|
+
export type McpServerUpdatesecretNamesInput = {
|
|
409
|
+
set?: string[];
|
|
410
|
+
push?: string | string[];
|
|
411
|
+
};
|
|
412
|
+
export type McpServerCreateNestedOneWithoutAgentsInput = {
|
|
413
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutAgentsInput, Prisma.McpServerUncheckedCreateWithoutAgentsInput>;
|
|
414
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutAgentsInput;
|
|
415
|
+
connect?: Prisma.McpServerWhereUniqueInput;
|
|
416
|
+
};
|
|
417
|
+
export type McpServerUpdateOneRequiredWithoutAgentsNestedInput = {
|
|
418
|
+
create?: Prisma.XOR<Prisma.McpServerCreateWithoutAgentsInput, Prisma.McpServerUncheckedCreateWithoutAgentsInput>;
|
|
419
|
+
connectOrCreate?: Prisma.McpServerCreateOrConnectWithoutAgentsInput;
|
|
420
|
+
upsert?: Prisma.McpServerUpsertWithoutAgentsInput;
|
|
421
|
+
connect?: Prisma.McpServerWhereUniqueInput;
|
|
422
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.McpServerUpdateToOneWithWhereWithoutAgentsInput, Prisma.McpServerUpdateWithoutAgentsInput>, Prisma.McpServerUncheckedUpdateWithoutAgentsInput>;
|
|
423
|
+
};
|
|
424
|
+
export type McpServerCreateWithoutOwnerInput = {
|
|
425
|
+
id?: string;
|
|
426
|
+
name: string;
|
|
427
|
+
url: string;
|
|
428
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
429
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
430
|
+
snapshotAt?: Date | string | null;
|
|
431
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
432
|
+
createdAt?: Date | string;
|
|
433
|
+
updatedAt?: Date | string;
|
|
434
|
+
agents?: Prisma.AgentMcpServerCreateNestedManyWithoutServerInput;
|
|
435
|
+
};
|
|
436
|
+
export type McpServerUncheckedCreateWithoutOwnerInput = {
|
|
437
|
+
id?: string;
|
|
438
|
+
name: string;
|
|
439
|
+
url: string;
|
|
440
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
441
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
442
|
+
snapshotAt?: Date | string | null;
|
|
443
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
444
|
+
createdAt?: Date | string;
|
|
445
|
+
updatedAt?: Date | string;
|
|
446
|
+
agents?: Prisma.AgentMcpServerUncheckedCreateNestedManyWithoutServerInput;
|
|
447
|
+
};
|
|
448
|
+
export type McpServerCreateOrConnectWithoutOwnerInput = {
|
|
449
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
450
|
+
create: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput>;
|
|
451
|
+
};
|
|
452
|
+
export type McpServerCreateManyOwnerInputEnvelope = {
|
|
453
|
+
data: Prisma.McpServerCreateManyOwnerInput | Prisma.McpServerCreateManyOwnerInput[];
|
|
454
|
+
skipDuplicates?: boolean;
|
|
455
|
+
};
|
|
456
|
+
export type McpServerUpsertWithWhereUniqueWithoutOwnerInput = {
|
|
457
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
458
|
+
update: Prisma.XOR<Prisma.McpServerUpdateWithoutOwnerInput, Prisma.McpServerUncheckedUpdateWithoutOwnerInput>;
|
|
459
|
+
create: Prisma.XOR<Prisma.McpServerCreateWithoutOwnerInput, Prisma.McpServerUncheckedCreateWithoutOwnerInput>;
|
|
460
|
+
};
|
|
461
|
+
export type McpServerUpdateWithWhereUniqueWithoutOwnerInput = {
|
|
462
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
463
|
+
data: Prisma.XOR<Prisma.McpServerUpdateWithoutOwnerInput, Prisma.McpServerUncheckedUpdateWithoutOwnerInput>;
|
|
464
|
+
};
|
|
465
|
+
export type McpServerUpdateManyWithWhereWithoutOwnerInput = {
|
|
466
|
+
where: Prisma.McpServerScalarWhereInput;
|
|
467
|
+
data: Prisma.XOR<Prisma.McpServerUpdateManyMutationInput, Prisma.McpServerUncheckedUpdateManyWithoutOwnerInput>;
|
|
468
|
+
};
|
|
469
|
+
export type McpServerScalarWhereInput = {
|
|
470
|
+
AND?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[];
|
|
471
|
+
OR?: Prisma.McpServerScalarWhereInput[];
|
|
472
|
+
NOT?: Prisma.McpServerScalarWhereInput | Prisma.McpServerScalarWhereInput[];
|
|
473
|
+
id?: Prisma.StringFilter<"McpServer"> | string;
|
|
474
|
+
ownerId?: Prisma.StringFilter<"McpServer"> | string;
|
|
475
|
+
name?: Prisma.StringFilter<"McpServer"> | string;
|
|
476
|
+
url?: Prisma.StringFilter<"McpServer"> | string;
|
|
477
|
+
secretNames?: Prisma.StringNullableListFilter<"McpServer">;
|
|
478
|
+
toolSnapshot?: Prisma.JsonFilter<"McpServer">;
|
|
479
|
+
snapshotAt?: Prisma.DateTimeNullableFilter<"McpServer"> | Date | string | null;
|
|
480
|
+
serverInfo?: Prisma.JsonNullableFilter<"McpServer">;
|
|
481
|
+
createdAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
482
|
+
updatedAt?: Prisma.DateTimeFilter<"McpServer"> | Date | string;
|
|
483
|
+
};
|
|
484
|
+
export type McpServerCreateWithoutAgentsInput = {
|
|
485
|
+
id?: string;
|
|
486
|
+
name: string;
|
|
487
|
+
url: string;
|
|
488
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
489
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
490
|
+
snapshotAt?: Date | string | null;
|
|
491
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
492
|
+
createdAt?: Date | string;
|
|
493
|
+
updatedAt?: Date | string;
|
|
494
|
+
owner: Prisma.PrincipalCreateNestedOneWithoutMcpServersInput;
|
|
495
|
+
};
|
|
496
|
+
export type McpServerUncheckedCreateWithoutAgentsInput = {
|
|
497
|
+
id?: string;
|
|
498
|
+
ownerId: string;
|
|
499
|
+
name: string;
|
|
500
|
+
url: string;
|
|
501
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
502
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
503
|
+
snapshotAt?: Date | string | null;
|
|
504
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
505
|
+
createdAt?: Date | string;
|
|
506
|
+
updatedAt?: Date | string;
|
|
507
|
+
};
|
|
508
|
+
export type McpServerCreateOrConnectWithoutAgentsInput = {
|
|
509
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
510
|
+
create: Prisma.XOR<Prisma.McpServerCreateWithoutAgentsInput, Prisma.McpServerUncheckedCreateWithoutAgentsInput>;
|
|
511
|
+
};
|
|
512
|
+
export type McpServerUpsertWithoutAgentsInput = {
|
|
513
|
+
update: Prisma.XOR<Prisma.McpServerUpdateWithoutAgentsInput, Prisma.McpServerUncheckedUpdateWithoutAgentsInput>;
|
|
514
|
+
create: Prisma.XOR<Prisma.McpServerCreateWithoutAgentsInput, Prisma.McpServerUncheckedCreateWithoutAgentsInput>;
|
|
515
|
+
where?: Prisma.McpServerWhereInput;
|
|
516
|
+
};
|
|
517
|
+
export type McpServerUpdateToOneWithWhereWithoutAgentsInput = {
|
|
518
|
+
where?: Prisma.McpServerWhereInput;
|
|
519
|
+
data: Prisma.XOR<Prisma.McpServerUpdateWithoutAgentsInput, Prisma.McpServerUncheckedUpdateWithoutAgentsInput>;
|
|
520
|
+
};
|
|
521
|
+
export type McpServerUpdateWithoutAgentsInput = {
|
|
522
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
524
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
525
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
526
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
527
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
528
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
529
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
530
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
531
|
+
owner?: Prisma.PrincipalUpdateOneRequiredWithoutMcpServersNestedInput;
|
|
532
|
+
};
|
|
533
|
+
export type McpServerUncheckedUpdateWithoutAgentsInput = {
|
|
534
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
535
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
536
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
537
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
538
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
539
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
540
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
541
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
542
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
543
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
544
|
+
};
|
|
545
|
+
export type McpServerCreateManyOwnerInput = {
|
|
546
|
+
id?: string;
|
|
547
|
+
name: string;
|
|
548
|
+
url: string;
|
|
549
|
+
secretNames?: Prisma.McpServerCreatesecretNamesInput | string[];
|
|
550
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
551
|
+
snapshotAt?: Date | string | null;
|
|
552
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
553
|
+
createdAt?: Date | string;
|
|
554
|
+
updatedAt?: Date | string;
|
|
555
|
+
};
|
|
556
|
+
export type McpServerUpdateWithoutOwnerInput = {
|
|
557
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
559
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
560
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
561
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
562
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
563
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
564
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
565
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
566
|
+
agents?: Prisma.AgentMcpServerUpdateManyWithoutServerNestedInput;
|
|
567
|
+
};
|
|
568
|
+
export type McpServerUncheckedUpdateWithoutOwnerInput = {
|
|
569
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
570
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
571
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
572
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
573
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
574
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
575
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
576
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
577
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
578
|
+
agents?: Prisma.AgentMcpServerUncheckedUpdateManyWithoutServerNestedInput;
|
|
579
|
+
};
|
|
580
|
+
export type McpServerUncheckedUpdateManyWithoutOwnerInput = {
|
|
581
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
582
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
583
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
secretNames?: Prisma.McpServerUpdatesecretNamesInput | string[];
|
|
585
|
+
toolSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
586
|
+
snapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
587
|
+
serverInfo?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
588
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
589
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* Count Type McpServerCountOutputType
|
|
593
|
+
*/
|
|
594
|
+
export type McpServerCountOutputType = {
|
|
595
|
+
agents: number;
|
|
596
|
+
};
|
|
597
|
+
export type McpServerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
598
|
+
agents?: boolean | McpServerCountOutputTypeCountAgentsArgs;
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* McpServerCountOutputType without action
|
|
602
|
+
*/
|
|
603
|
+
export type McpServerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
604
|
+
/**
|
|
605
|
+
* Select specific fields to fetch from the McpServerCountOutputType
|
|
606
|
+
*/
|
|
607
|
+
select?: Prisma.McpServerCountOutputTypeSelect<ExtArgs> | null;
|
|
608
|
+
};
|
|
609
|
+
/**
|
|
610
|
+
* McpServerCountOutputType without action
|
|
611
|
+
*/
|
|
612
|
+
export type McpServerCountOutputTypeCountAgentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
613
|
+
where?: Prisma.AgentMcpServerWhereInput;
|
|
614
|
+
};
|
|
615
|
+
export type McpServerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
616
|
+
id?: boolean;
|
|
617
|
+
ownerId?: boolean;
|
|
618
|
+
name?: boolean;
|
|
619
|
+
url?: boolean;
|
|
620
|
+
secretNames?: boolean;
|
|
621
|
+
toolSnapshot?: boolean;
|
|
622
|
+
snapshotAt?: boolean;
|
|
623
|
+
serverInfo?: boolean;
|
|
624
|
+
createdAt?: boolean;
|
|
625
|
+
updatedAt?: boolean;
|
|
626
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
627
|
+
agents?: boolean | Prisma.McpServer$agentsArgs<ExtArgs>;
|
|
628
|
+
_count?: boolean | Prisma.McpServerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
629
|
+
}, ExtArgs["result"]["mcpServer"]>;
|
|
630
|
+
export type McpServerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
631
|
+
id?: boolean;
|
|
632
|
+
ownerId?: boolean;
|
|
633
|
+
name?: boolean;
|
|
634
|
+
url?: boolean;
|
|
635
|
+
secretNames?: boolean;
|
|
636
|
+
toolSnapshot?: boolean;
|
|
637
|
+
snapshotAt?: boolean;
|
|
638
|
+
serverInfo?: boolean;
|
|
639
|
+
createdAt?: boolean;
|
|
640
|
+
updatedAt?: boolean;
|
|
641
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
642
|
+
}, ExtArgs["result"]["mcpServer"]>;
|
|
643
|
+
export type McpServerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
644
|
+
id?: boolean;
|
|
645
|
+
ownerId?: boolean;
|
|
646
|
+
name?: boolean;
|
|
647
|
+
url?: boolean;
|
|
648
|
+
secretNames?: boolean;
|
|
649
|
+
toolSnapshot?: boolean;
|
|
650
|
+
snapshotAt?: boolean;
|
|
651
|
+
serverInfo?: boolean;
|
|
652
|
+
createdAt?: boolean;
|
|
653
|
+
updatedAt?: boolean;
|
|
654
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
655
|
+
}, ExtArgs["result"]["mcpServer"]>;
|
|
656
|
+
export type McpServerSelectScalar = {
|
|
657
|
+
id?: boolean;
|
|
658
|
+
ownerId?: boolean;
|
|
659
|
+
name?: boolean;
|
|
660
|
+
url?: boolean;
|
|
661
|
+
secretNames?: boolean;
|
|
662
|
+
toolSnapshot?: boolean;
|
|
663
|
+
snapshotAt?: boolean;
|
|
664
|
+
serverInfo?: boolean;
|
|
665
|
+
createdAt?: boolean;
|
|
666
|
+
updatedAt?: boolean;
|
|
667
|
+
};
|
|
668
|
+
export type McpServerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ownerId" | "name" | "url" | "secretNames" | "toolSnapshot" | "snapshotAt" | "serverInfo" | "createdAt" | "updatedAt", ExtArgs["result"]["mcpServer"]>;
|
|
669
|
+
export type McpServerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
670
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
671
|
+
agents?: boolean | Prisma.McpServer$agentsArgs<ExtArgs>;
|
|
672
|
+
_count?: boolean | Prisma.McpServerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
673
|
+
};
|
|
674
|
+
export type McpServerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
675
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
676
|
+
};
|
|
677
|
+
export type McpServerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
678
|
+
owner?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
679
|
+
};
|
|
680
|
+
export type $McpServerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
681
|
+
name: "McpServer";
|
|
682
|
+
objects: {
|
|
683
|
+
owner: Prisma.$PrincipalPayload<ExtArgs>;
|
|
684
|
+
agents: Prisma.$AgentMcpServerPayload<ExtArgs>[];
|
|
685
|
+
};
|
|
686
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
687
|
+
id: string;
|
|
688
|
+
ownerId: string;
|
|
689
|
+
/**
|
|
690
|
+
* Unique per owner; the prefix of the tool names the model sees.
|
|
691
|
+
*/
|
|
692
|
+
name: string;
|
|
693
|
+
/**
|
|
694
|
+
* https only; no userinfo, no fragment; the query string is kept.
|
|
695
|
+
*/
|
|
696
|
+
url: string;
|
|
697
|
+
/**
|
|
698
|
+
* The owner's brokered secrets sent on every request (each brokered to the URL's host).
|
|
699
|
+
*/
|
|
700
|
+
secretNames: string[];
|
|
701
|
+
/**
|
|
702
|
+
* Last tools/list result, redacted: [{ name, description, inputSchema, annotations? }].
|
|
703
|
+
*/
|
|
704
|
+
toolSnapshot: runtime.JsonValue;
|
|
705
|
+
snapshotAt: Date | null;
|
|
706
|
+
/**
|
|
707
|
+
* From initialize: { name?, version?, protocolVersion }.
|
|
708
|
+
*/
|
|
709
|
+
serverInfo: runtime.JsonValue | null;
|
|
710
|
+
createdAt: Date;
|
|
711
|
+
updatedAt: Date;
|
|
712
|
+
}, ExtArgs["result"]["mcpServer"]>;
|
|
713
|
+
composites: {};
|
|
714
|
+
};
|
|
715
|
+
export type McpServerGetPayload<S extends boolean | null | undefined | McpServerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpServerPayload, S>;
|
|
716
|
+
export type McpServerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpServerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
717
|
+
select?: McpServerCountAggregateInputType | true;
|
|
718
|
+
};
|
|
719
|
+
export interface McpServerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
720
|
+
[K: symbol]: {
|
|
721
|
+
types: Prisma.TypeMap<ExtArgs>['model']['McpServer'];
|
|
722
|
+
meta: {
|
|
723
|
+
name: 'McpServer';
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Find zero or one McpServer that matches the filter.
|
|
728
|
+
* @param {McpServerFindUniqueArgs} args - Arguments to find a McpServer
|
|
729
|
+
* @example
|
|
730
|
+
* // Get one McpServer
|
|
731
|
+
* const mcpServer = await prisma.mcpServer.findUnique({
|
|
732
|
+
* where: {
|
|
733
|
+
* // ... provide filter here
|
|
734
|
+
* }
|
|
735
|
+
* })
|
|
736
|
+
*/
|
|
737
|
+
findUnique<T extends McpServerFindUniqueArgs>(args: Prisma.SelectSubset<T, McpServerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
738
|
+
/**
|
|
739
|
+
* Find one McpServer that matches the filter or throw an error with `error.code='P2025'`
|
|
740
|
+
* if no matches were found.
|
|
741
|
+
* @param {McpServerFindUniqueOrThrowArgs} args - Arguments to find a McpServer
|
|
742
|
+
* @example
|
|
743
|
+
* // Get one McpServer
|
|
744
|
+
* const mcpServer = await prisma.mcpServer.findUniqueOrThrow({
|
|
745
|
+
* where: {
|
|
746
|
+
* // ... provide filter here
|
|
747
|
+
* }
|
|
748
|
+
* })
|
|
749
|
+
*/
|
|
750
|
+
findUniqueOrThrow<T extends McpServerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpServerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
751
|
+
/**
|
|
752
|
+
* Find the first McpServer that matches the filter.
|
|
753
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
754
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
755
|
+
* @param {McpServerFindFirstArgs} args - Arguments to find a McpServer
|
|
756
|
+
* @example
|
|
757
|
+
* // Get one McpServer
|
|
758
|
+
* const mcpServer = await prisma.mcpServer.findFirst({
|
|
759
|
+
* where: {
|
|
760
|
+
* // ... provide filter here
|
|
761
|
+
* }
|
|
762
|
+
* })
|
|
763
|
+
*/
|
|
764
|
+
findFirst<T extends McpServerFindFirstArgs>(args?: Prisma.SelectSubset<T, McpServerFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
765
|
+
/**
|
|
766
|
+
* Find the first McpServer that matches the filter or
|
|
767
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
768
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
769
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
770
|
+
* @param {McpServerFindFirstOrThrowArgs} args - Arguments to find a McpServer
|
|
771
|
+
* @example
|
|
772
|
+
* // Get one McpServer
|
|
773
|
+
* const mcpServer = await prisma.mcpServer.findFirstOrThrow({
|
|
774
|
+
* where: {
|
|
775
|
+
* // ... provide filter here
|
|
776
|
+
* }
|
|
777
|
+
* })
|
|
778
|
+
*/
|
|
779
|
+
findFirstOrThrow<T extends McpServerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpServerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
780
|
+
/**
|
|
781
|
+
* Find zero or more McpServers that matches the filter.
|
|
782
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
783
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
784
|
+
* @param {McpServerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
785
|
+
* @example
|
|
786
|
+
* // Get all McpServers
|
|
787
|
+
* const mcpServers = await prisma.mcpServer.findMany()
|
|
788
|
+
*
|
|
789
|
+
* // Get first 10 McpServers
|
|
790
|
+
* const mcpServers = await prisma.mcpServer.findMany({ take: 10 })
|
|
791
|
+
*
|
|
792
|
+
* // Only select the `id`
|
|
793
|
+
* const mcpServerWithIdOnly = await prisma.mcpServer.findMany({ select: { id: true } })
|
|
794
|
+
*
|
|
795
|
+
*/
|
|
796
|
+
findMany<T extends McpServerFindManyArgs>(args?: Prisma.SelectSubset<T, McpServerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
797
|
+
/**
|
|
798
|
+
* Create a McpServer.
|
|
799
|
+
* @param {McpServerCreateArgs} args - Arguments to create a McpServer.
|
|
800
|
+
* @example
|
|
801
|
+
* // Create one McpServer
|
|
802
|
+
* const McpServer = await prisma.mcpServer.create({
|
|
803
|
+
* data: {
|
|
804
|
+
* // ... data to create a McpServer
|
|
805
|
+
* }
|
|
806
|
+
* })
|
|
807
|
+
*
|
|
808
|
+
*/
|
|
809
|
+
create<T extends McpServerCreateArgs>(args: Prisma.SelectSubset<T, McpServerCreateArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
810
|
+
/**
|
|
811
|
+
* Create many McpServers.
|
|
812
|
+
* @param {McpServerCreateManyArgs} args - Arguments to create many McpServers.
|
|
813
|
+
* @example
|
|
814
|
+
* // Create many McpServers
|
|
815
|
+
* const mcpServer = await prisma.mcpServer.createMany({
|
|
816
|
+
* data: [
|
|
817
|
+
* // ... provide data here
|
|
818
|
+
* ]
|
|
819
|
+
* })
|
|
820
|
+
*
|
|
821
|
+
*/
|
|
822
|
+
createMany<T extends McpServerCreateManyArgs>(args?: Prisma.SelectSubset<T, McpServerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
823
|
+
/**
|
|
824
|
+
* Create many McpServers and returns the data saved in the database.
|
|
825
|
+
* @param {McpServerCreateManyAndReturnArgs} args - Arguments to create many McpServers.
|
|
826
|
+
* @example
|
|
827
|
+
* // Create many McpServers
|
|
828
|
+
* const mcpServer = await prisma.mcpServer.createManyAndReturn({
|
|
829
|
+
* data: [
|
|
830
|
+
* // ... provide data here
|
|
831
|
+
* ]
|
|
832
|
+
* })
|
|
833
|
+
*
|
|
834
|
+
* // Create many McpServers and only return the `id`
|
|
835
|
+
* const mcpServerWithIdOnly = await prisma.mcpServer.createManyAndReturn({
|
|
836
|
+
* select: { id: true },
|
|
837
|
+
* data: [
|
|
838
|
+
* // ... provide data here
|
|
839
|
+
* ]
|
|
840
|
+
* })
|
|
841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
843
|
+
*
|
|
844
|
+
*/
|
|
845
|
+
createManyAndReturn<T extends McpServerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpServerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
846
|
+
/**
|
|
847
|
+
* Delete a McpServer.
|
|
848
|
+
* @param {McpServerDeleteArgs} args - Arguments to delete one McpServer.
|
|
849
|
+
* @example
|
|
850
|
+
* // Delete one McpServer
|
|
851
|
+
* const McpServer = await prisma.mcpServer.delete({
|
|
852
|
+
* where: {
|
|
853
|
+
* // ... filter to delete one McpServer
|
|
854
|
+
* }
|
|
855
|
+
* })
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
858
|
+
delete<T extends McpServerDeleteArgs>(args: Prisma.SelectSubset<T, McpServerDeleteArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
859
|
+
/**
|
|
860
|
+
* Update one McpServer.
|
|
861
|
+
* @param {McpServerUpdateArgs} args - Arguments to update one McpServer.
|
|
862
|
+
* @example
|
|
863
|
+
* // Update one McpServer
|
|
864
|
+
* const mcpServer = await prisma.mcpServer.update({
|
|
865
|
+
* where: {
|
|
866
|
+
* // ... provide filter here
|
|
867
|
+
* },
|
|
868
|
+
* data: {
|
|
869
|
+
* // ... provide data here
|
|
870
|
+
* }
|
|
871
|
+
* })
|
|
872
|
+
*
|
|
873
|
+
*/
|
|
874
|
+
update<T extends McpServerUpdateArgs>(args: Prisma.SelectSubset<T, McpServerUpdateArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
875
|
+
/**
|
|
876
|
+
* Delete zero or more McpServers.
|
|
877
|
+
* @param {McpServerDeleteManyArgs} args - Arguments to filter McpServers to delete.
|
|
878
|
+
* @example
|
|
879
|
+
* // Delete a few McpServers
|
|
880
|
+
* const { count } = await prisma.mcpServer.deleteMany({
|
|
881
|
+
* where: {
|
|
882
|
+
* // ... provide filter here
|
|
883
|
+
* }
|
|
884
|
+
* })
|
|
885
|
+
*
|
|
886
|
+
*/
|
|
887
|
+
deleteMany<T extends McpServerDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpServerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
888
|
+
/**
|
|
889
|
+
* Update zero or more McpServers.
|
|
890
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
891
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
892
|
+
* @param {McpServerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
893
|
+
* @example
|
|
894
|
+
* // Update many McpServers
|
|
895
|
+
* const mcpServer = await prisma.mcpServer.updateMany({
|
|
896
|
+
* where: {
|
|
897
|
+
* // ... provide filter here
|
|
898
|
+
* },
|
|
899
|
+
* data: {
|
|
900
|
+
* // ... provide data here
|
|
901
|
+
* }
|
|
902
|
+
* })
|
|
903
|
+
*
|
|
904
|
+
*/
|
|
905
|
+
updateMany<T extends McpServerUpdateManyArgs>(args: Prisma.SelectSubset<T, McpServerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
906
|
+
/**
|
|
907
|
+
* Update zero or more McpServers and returns the data updated in the database.
|
|
908
|
+
* @param {McpServerUpdateManyAndReturnArgs} args - Arguments to update many McpServers.
|
|
909
|
+
* @example
|
|
910
|
+
* // Update many McpServers
|
|
911
|
+
* const mcpServer = await prisma.mcpServer.updateManyAndReturn({
|
|
912
|
+
* where: {
|
|
913
|
+
* // ... provide filter here
|
|
914
|
+
* },
|
|
915
|
+
* data: [
|
|
916
|
+
* // ... provide data here
|
|
917
|
+
* ]
|
|
918
|
+
* })
|
|
919
|
+
*
|
|
920
|
+
* // Update zero or more McpServers and only return the `id`
|
|
921
|
+
* const mcpServerWithIdOnly = await prisma.mcpServer.updateManyAndReturn({
|
|
922
|
+
* select: { id: true },
|
|
923
|
+
* where: {
|
|
924
|
+
* // ... provide filter here
|
|
925
|
+
* },
|
|
926
|
+
* data: [
|
|
927
|
+
* // ... provide data here
|
|
928
|
+
* ]
|
|
929
|
+
* })
|
|
930
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
931
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
932
|
+
*
|
|
933
|
+
*/
|
|
934
|
+
updateManyAndReturn<T extends McpServerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpServerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
935
|
+
/**
|
|
936
|
+
* Create or update one McpServer.
|
|
937
|
+
* @param {McpServerUpsertArgs} args - Arguments to update or create a McpServer.
|
|
938
|
+
* @example
|
|
939
|
+
* // Update or create a McpServer
|
|
940
|
+
* const mcpServer = await prisma.mcpServer.upsert({
|
|
941
|
+
* create: {
|
|
942
|
+
* // ... data to create a McpServer
|
|
943
|
+
* },
|
|
944
|
+
* update: {
|
|
945
|
+
* // ... in case it already exists, update
|
|
946
|
+
* },
|
|
947
|
+
* where: {
|
|
948
|
+
* // ... the filter for the McpServer we want to update
|
|
949
|
+
* }
|
|
950
|
+
* })
|
|
951
|
+
*/
|
|
952
|
+
upsert<T extends McpServerUpsertArgs>(args: Prisma.SelectSubset<T, McpServerUpsertArgs<ExtArgs>>): Prisma.Prisma__McpServerClient<runtime.Types.Result.GetResult<Prisma.$McpServerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
953
|
+
/**
|
|
954
|
+
* Count the number of McpServers.
|
|
955
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
956
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
957
|
+
* @param {McpServerCountArgs} args - Arguments to filter McpServers to count.
|
|
958
|
+
* @example
|
|
959
|
+
* // Count the number of McpServers
|
|
960
|
+
* const count = await prisma.mcpServer.count({
|
|
961
|
+
* where: {
|
|
962
|
+
* // ... the filter for the McpServers we want to count
|
|
963
|
+
* }
|
|
964
|
+
* })
|
|
965
|
+
**/
|
|
966
|
+
count<T extends McpServerCountArgs>(args?: Prisma.Subset<T, McpServerCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpServerCountAggregateOutputType> : number>;
|
|
967
|
+
/**
|
|
968
|
+
* Allows you to perform aggregations operations on a McpServer.
|
|
969
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
970
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
971
|
+
* @param {McpServerAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
972
|
+
* @example
|
|
973
|
+
* // Ordered by age ascending
|
|
974
|
+
* // Where email contains prisma.io
|
|
975
|
+
* // Limited to the 10 users
|
|
976
|
+
* const aggregations = await prisma.user.aggregate({
|
|
977
|
+
* _avg: {
|
|
978
|
+
* age: true,
|
|
979
|
+
* },
|
|
980
|
+
* where: {
|
|
981
|
+
* email: {
|
|
982
|
+
* contains: "prisma.io",
|
|
983
|
+
* },
|
|
984
|
+
* },
|
|
985
|
+
* orderBy: {
|
|
986
|
+
* age: "asc",
|
|
987
|
+
* },
|
|
988
|
+
* take: 10,
|
|
989
|
+
* })
|
|
990
|
+
**/
|
|
991
|
+
aggregate<T extends McpServerAggregateArgs>(args: Prisma.Subset<T, McpServerAggregateArgs>): Prisma.PrismaPromise<GetMcpServerAggregateType<T>>;
|
|
992
|
+
/**
|
|
993
|
+
* Group by McpServer.
|
|
994
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
995
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
996
|
+
* @param {McpServerGroupByArgs} args - Group by arguments.
|
|
997
|
+
* @example
|
|
998
|
+
* // Group by city, order by createdAt, get count
|
|
999
|
+
* const result = await prisma.user.groupBy({
|
|
1000
|
+
* by: ['city', 'createdAt'],
|
|
1001
|
+
* orderBy: {
|
|
1002
|
+
* createdAt: true
|
|
1003
|
+
* },
|
|
1004
|
+
* _count: {
|
|
1005
|
+
* _all: true
|
|
1006
|
+
* },
|
|
1007
|
+
* })
|
|
1008
|
+
*
|
|
1009
|
+
**/
|
|
1010
|
+
groupBy<T extends McpServerGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1011
|
+
orderBy: McpServerGroupByArgs['orderBy'];
|
|
1012
|
+
} : {
|
|
1013
|
+
orderBy?: McpServerGroupByArgs['orderBy'];
|
|
1014
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1015
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1016
|
+
Error,
|
|
1017
|
+
'Field ',
|
|
1018
|
+
P,
|
|
1019
|
+
` in "having" needs to be provided in "by"`
|
|
1020
|
+
];
|
|
1021
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1022
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1023
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1024
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1025
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1026
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1027
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, McpServerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpServerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Fields of the McpServer model
|
|
1030
|
+
*/
|
|
1031
|
+
readonly fields: McpServerFieldRefs;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* The delegate class that acts as a "Promise-like" for McpServer.
|
|
1035
|
+
* Why is this prefixed with `Prisma__`?
|
|
1036
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1037
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1038
|
+
*/
|
|
1039
|
+
export interface Prisma__McpServerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1040
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1041
|
+
owner<T extends Prisma.PrincipalDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PrincipalDefaultArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1042
|
+
agents<T extends Prisma.McpServer$agentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.McpServer$agentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentMcpServerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1045
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1046
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1047
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1048
|
+
*/
|
|
1049
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1052
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1053
|
+
* @returns A Promise for the completion of the callback.
|
|
1054
|
+
*/
|
|
1055
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1058
|
+
* resolved value cannot be modified from the callback.
|
|
1059
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1060
|
+
* @returns A Promise for the completion of the callback.
|
|
1061
|
+
*/
|
|
1062
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* Fields of the McpServer model
|
|
1066
|
+
*/
|
|
1067
|
+
export interface McpServerFieldRefs {
|
|
1068
|
+
readonly id: Prisma.FieldRef<"McpServer", 'String'>;
|
|
1069
|
+
readonly ownerId: Prisma.FieldRef<"McpServer", 'String'>;
|
|
1070
|
+
readonly name: Prisma.FieldRef<"McpServer", 'String'>;
|
|
1071
|
+
readonly url: Prisma.FieldRef<"McpServer", 'String'>;
|
|
1072
|
+
readonly secretNames: Prisma.FieldRef<"McpServer", 'String[]'>;
|
|
1073
|
+
readonly toolSnapshot: Prisma.FieldRef<"McpServer", 'Json'>;
|
|
1074
|
+
readonly snapshotAt: Prisma.FieldRef<"McpServer", 'DateTime'>;
|
|
1075
|
+
readonly serverInfo: Prisma.FieldRef<"McpServer", 'Json'>;
|
|
1076
|
+
readonly createdAt: Prisma.FieldRef<"McpServer", 'DateTime'>;
|
|
1077
|
+
readonly updatedAt: Prisma.FieldRef<"McpServer", 'DateTime'>;
|
|
1078
|
+
}
|
|
1079
|
+
/**
|
|
1080
|
+
* McpServer findUnique
|
|
1081
|
+
*/
|
|
1082
|
+
export type McpServerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
+
/**
|
|
1084
|
+
* Select specific fields to fetch from the McpServer
|
|
1085
|
+
*/
|
|
1086
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Omit specific fields from the McpServer
|
|
1089
|
+
*/
|
|
1090
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* Choose, which related nodes to fetch as well
|
|
1093
|
+
*/
|
|
1094
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter, which McpServer to fetch.
|
|
1097
|
+
*/
|
|
1098
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* McpServer findUniqueOrThrow
|
|
1102
|
+
*/
|
|
1103
|
+
export type McpServerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1104
|
+
/**
|
|
1105
|
+
* Select specific fields to fetch from the McpServer
|
|
1106
|
+
*/
|
|
1107
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* Omit specific fields from the McpServer
|
|
1110
|
+
*/
|
|
1111
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Choose, which related nodes to fetch as well
|
|
1114
|
+
*/
|
|
1115
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Filter, which McpServer to fetch.
|
|
1118
|
+
*/
|
|
1119
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* McpServer findFirst
|
|
1123
|
+
*/
|
|
1124
|
+
export type McpServerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1125
|
+
/**
|
|
1126
|
+
* Select specific fields to fetch from the McpServer
|
|
1127
|
+
*/
|
|
1128
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Omit specific fields from the McpServer
|
|
1131
|
+
*/
|
|
1132
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* Choose, which related nodes to fetch as well
|
|
1135
|
+
*/
|
|
1136
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter, which McpServer to fetch.
|
|
1139
|
+
*/
|
|
1140
|
+
where?: Prisma.McpServerWhereInput;
|
|
1141
|
+
/**
|
|
1142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1143
|
+
*
|
|
1144
|
+
* Determine the order of McpServers to fetch.
|
|
1145
|
+
*/
|
|
1146
|
+
orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[];
|
|
1147
|
+
/**
|
|
1148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1149
|
+
*
|
|
1150
|
+
* Sets the position for searching for McpServers.
|
|
1151
|
+
*/
|
|
1152
|
+
cursor?: Prisma.McpServerWhereUniqueInput;
|
|
1153
|
+
/**
|
|
1154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1155
|
+
*
|
|
1156
|
+
* Take `±n` McpServers from the position of the cursor.
|
|
1157
|
+
*/
|
|
1158
|
+
take?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1161
|
+
*
|
|
1162
|
+
* Skip the first `n` McpServers.
|
|
1163
|
+
*/
|
|
1164
|
+
skip?: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1167
|
+
*
|
|
1168
|
+
* Filter by unique combinations of McpServers.
|
|
1169
|
+
*/
|
|
1170
|
+
distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[];
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* McpServer findFirstOrThrow
|
|
1174
|
+
*/
|
|
1175
|
+
export type McpServerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Select specific fields to fetch from the McpServer
|
|
1178
|
+
*/
|
|
1179
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Omit specific fields from the McpServer
|
|
1182
|
+
*/
|
|
1183
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* Choose, which related nodes to fetch as well
|
|
1186
|
+
*/
|
|
1187
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* Filter, which McpServer to fetch.
|
|
1190
|
+
*/
|
|
1191
|
+
where?: Prisma.McpServerWhereInput;
|
|
1192
|
+
/**
|
|
1193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1194
|
+
*
|
|
1195
|
+
* Determine the order of McpServers to fetch.
|
|
1196
|
+
*/
|
|
1197
|
+
orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[];
|
|
1198
|
+
/**
|
|
1199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1200
|
+
*
|
|
1201
|
+
* Sets the position for searching for McpServers.
|
|
1202
|
+
*/
|
|
1203
|
+
cursor?: Prisma.McpServerWhereUniqueInput;
|
|
1204
|
+
/**
|
|
1205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1206
|
+
*
|
|
1207
|
+
* Take `±n` McpServers from the position of the cursor.
|
|
1208
|
+
*/
|
|
1209
|
+
take?: number;
|
|
1210
|
+
/**
|
|
1211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1212
|
+
*
|
|
1213
|
+
* Skip the first `n` McpServers.
|
|
1214
|
+
*/
|
|
1215
|
+
skip?: number;
|
|
1216
|
+
/**
|
|
1217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1218
|
+
*
|
|
1219
|
+
* Filter by unique combinations of McpServers.
|
|
1220
|
+
*/
|
|
1221
|
+
distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[];
|
|
1222
|
+
};
|
|
1223
|
+
/**
|
|
1224
|
+
* McpServer findMany
|
|
1225
|
+
*/
|
|
1226
|
+
export type McpServerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1227
|
+
/**
|
|
1228
|
+
* Select specific fields to fetch from the McpServer
|
|
1229
|
+
*/
|
|
1230
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* Omit specific fields from the McpServer
|
|
1233
|
+
*/
|
|
1234
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* Choose, which related nodes to fetch as well
|
|
1237
|
+
*/
|
|
1238
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Filter, which McpServers to fetch.
|
|
1241
|
+
*/
|
|
1242
|
+
where?: Prisma.McpServerWhereInput;
|
|
1243
|
+
/**
|
|
1244
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1245
|
+
*
|
|
1246
|
+
* Determine the order of McpServers to fetch.
|
|
1247
|
+
*/
|
|
1248
|
+
orderBy?: Prisma.McpServerOrderByWithRelationInput | Prisma.McpServerOrderByWithRelationInput[];
|
|
1249
|
+
/**
|
|
1250
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1251
|
+
*
|
|
1252
|
+
* Sets the position for listing McpServers.
|
|
1253
|
+
*/
|
|
1254
|
+
cursor?: Prisma.McpServerWhereUniqueInput;
|
|
1255
|
+
/**
|
|
1256
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1257
|
+
*
|
|
1258
|
+
* Take `±n` McpServers from the position of the cursor.
|
|
1259
|
+
*/
|
|
1260
|
+
take?: number;
|
|
1261
|
+
/**
|
|
1262
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1263
|
+
*
|
|
1264
|
+
* Skip the first `n` McpServers.
|
|
1265
|
+
*/
|
|
1266
|
+
skip?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1269
|
+
*
|
|
1270
|
+
* Filter by unique combinations of McpServers.
|
|
1271
|
+
*/
|
|
1272
|
+
distinct?: Prisma.McpServerScalarFieldEnum | Prisma.McpServerScalarFieldEnum[];
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* McpServer create
|
|
1276
|
+
*/
|
|
1277
|
+
export type McpServerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Select specific fields to fetch from the McpServer
|
|
1280
|
+
*/
|
|
1281
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Omit specific fields from the McpServer
|
|
1284
|
+
*/
|
|
1285
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which related nodes to fetch as well
|
|
1288
|
+
*/
|
|
1289
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* The data needed to create a McpServer.
|
|
1292
|
+
*/
|
|
1293
|
+
data: Prisma.XOR<Prisma.McpServerCreateInput, Prisma.McpServerUncheckedCreateInput>;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* McpServer createMany
|
|
1297
|
+
*/
|
|
1298
|
+
export type McpServerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* The data used to create many McpServers.
|
|
1301
|
+
*/
|
|
1302
|
+
data: Prisma.McpServerCreateManyInput | Prisma.McpServerCreateManyInput[];
|
|
1303
|
+
skipDuplicates?: boolean;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* McpServer createManyAndReturn
|
|
1307
|
+
*/
|
|
1308
|
+
export type McpServerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1309
|
+
/**
|
|
1310
|
+
* Select specific fields to fetch from the McpServer
|
|
1311
|
+
*/
|
|
1312
|
+
select?: Prisma.McpServerSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* Omit specific fields from the McpServer
|
|
1315
|
+
*/
|
|
1316
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* The data used to create many McpServers.
|
|
1319
|
+
*/
|
|
1320
|
+
data: Prisma.McpServerCreateManyInput | Prisma.McpServerCreateManyInput[];
|
|
1321
|
+
skipDuplicates?: boolean;
|
|
1322
|
+
/**
|
|
1323
|
+
* Choose, which related nodes to fetch as well
|
|
1324
|
+
*/
|
|
1325
|
+
include?: Prisma.McpServerIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* McpServer update
|
|
1329
|
+
*/
|
|
1330
|
+
export type McpServerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1331
|
+
/**
|
|
1332
|
+
* Select specific fields to fetch from the McpServer
|
|
1333
|
+
*/
|
|
1334
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1335
|
+
/**
|
|
1336
|
+
* Omit specific fields from the McpServer
|
|
1337
|
+
*/
|
|
1338
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* Choose, which related nodes to fetch as well
|
|
1341
|
+
*/
|
|
1342
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* The data needed to update a McpServer.
|
|
1345
|
+
*/
|
|
1346
|
+
data: Prisma.XOR<Prisma.McpServerUpdateInput, Prisma.McpServerUncheckedUpdateInput>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Choose, which McpServer to update.
|
|
1349
|
+
*/
|
|
1350
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
1351
|
+
};
|
|
1352
|
+
/**
|
|
1353
|
+
* McpServer updateMany
|
|
1354
|
+
*/
|
|
1355
|
+
export type McpServerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1356
|
+
/**
|
|
1357
|
+
* The data used to update McpServers.
|
|
1358
|
+
*/
|
|
1359
|
+
data: Prisma.XOR<Prisma.McpServerUpdateManyMutationInput, Prisma.McpServerUncheckedUpdateManyInput>;
|
|
1360
|
+
/**
|
|
1361
|
+
* Filter which McpServers to update
|
|
1362
|
+
*/
|
|
1363
|
+
where?: Prisma.McpServerWhereInput;
|
|
1364
|
+
/**
|
|
1365
|
+
* Limit how many McpServers to update.
|
|
1366
|
+
*/
|
|
1367
|
+
limit?: number;
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
* McpServer updateManyAndReturn
|
|
1371
|
+
*/
|
|
1372
|
+
export type McpServerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1373
|
+
/**
|
|
1374
|
+
* Select specific fields to fetch from the McpServer
|
|
1375
|
+
*/
|
|
1376
|
+
select?: Prisma.McpServerSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Omit specific fields from the McpServer
|
|
1379
|
+
*/
|
|
1380
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* The data used to update McpServers.
|
|
1383
|
+
*/
|
|
1384
|
+
data: Prisma.XOR<Prisma.McpServerUpdateManyMutationInput, Prisma.McpServerUncheckedUpdateManyInput>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Filter which McpServers to update
|
|
1387
|
+
*/
|
|
1388
|
+
where?: Prisma.McpServerWhereInput;
|
|
1389
|
+
/**
|
|
1390
|
+
* Limit how many McpServers to update.
|
|
1391
|
+
*/
|
|
1392
|
+
limit?: number;
|
|
1393
|
+
/**
|
|
1394
|
+
* Choose, which related nodes to fetch as well
|
|
1395
|
+
*/
|
|
1396
|
+
include?: Prisma.McpServerIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1397
|
+
};
|
|
1398
|
+
/**
|
|
1399
|
+
* McpServer upsert
|
|
1400
|
+
*/
|
|
1401
|
+
export type McpServerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1402
|
+
/**
|
|
1403
|
+
* Select specific fields to fetch from the McpServer
|
|
1404
|
+
*/
|
|
1405
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1406
|
+
/**
|
|
1407
|
+
* Omit specific fields from the McpServer
|
|
1408
|
+
*/
|
|
1409
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1410
|
+
/**
|
|
1411
|
+
* Choose, which related nodes to fetch as well
|
|
1412
|
+
*/
|
|
1413
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* The filter to search for the McpServer to update in case it exists.
|
|
1416
|
+
*/
|
|
1417
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
1418
|
+
/**
|
|
1419
|
+
* In case the McpServer found by the `where` argument doesn't exist, create a new McpServer with this data.
|
|
1420
|
+
*/
|
|
1421
|
+
create: Prisma.XOR<Prisma.McpServerCreateInput, Prisma.McpServerUncheckedCreateInput>;
|
|
1422
|
+
/**
|
|
1423
|
+
* In case the McpServer was found with the provided `where` argument, update it with this data.
|
|
1424
|
+
*/
|
|
1425
|
+
update: Prisma.XOR<Prisma.McpServerUpdateInput, Prisma.McpServerUncheckedUpdateInput>;
|
|
1426
|
+
};
|
|
1427
|
+
/**
|
|
1428
|
+
* McpServer delete
|
|
1429
|
+
*/
|
|
1430
|
+
export type McpServerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1431
|
+
/**
|
|
1432
|
+
* Select specific fields to fetch from the McpServer
|
|
1433
|
+
*/
|
|
1434
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1435
|
+
/**
|
|
1436
|
+
* Omit specific fields from the McpServer
|
|
1437
|
+
*/
|
|
1438
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1439
|
+
/**
|
|
1440
|
+
* Choose, which related nodes to fetch as well
|
|
1441
|
+
*/
|
|
1442
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1443
|
+
/**
|
|
1444
|
+
* Filter which McpServer to delete.
|
|
1445
|
+
*/
|
|
1446
|
+
where: Prisma.McpServerWhereUniqueInput;
|
|
1447
|
+
};
|
|
1448
|
+
/**
|
|
1449
|
+
* McpServer deleteMany
|
|
1450
|
+
*/
|
|
1451
|
+
export type McpServerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1452
|
+
/**
|
|
1453
|
+
* Filter which McpServers to delete
|
|
1454
|
+
*/
|
|
1455
|
+
where?: Prisma.McpServerWhereInput;
|
|
1456
|
+
/**
|
|
1457
|
+
* Limit how many McpServers to delete.
|
|
1458
|
+
*/
|
|
1459
|
+
limit?: number;
|
|
1460
|
+
};
|
|
1461
|
+
/**
|
|
1462
|
+
* McpServer.agents
|
|
1463
|
+
*/
|
|
1464
|
+
export type McpServer$agentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1465
|
+
/**
|
|
1466
|
+
* Select specific fields to fetch from the AgentMcpServer
|
|
1467
|
+
*/
|
|
1468
|
+
select?: Prisma.AgentMcpServerSelect<ExtArgs> | null;
|
|
1469
|
+
/**
|
|
1470
|
+
* Omit specific fields from the AgentMcpServer
|
|
1471
|
+
*/
|
|
1472
|
+
omit?: Prisma.AgentMcpServerOmit<ExtArgs> | null;
|
|
1473
|
+
/**
|
|
1474
|
+
* Choose, which related nodes to fetch as well
|
|
1475
|
+
*/
|
|
1476
|
+
include?: Prisma.AgentMcpServerInclude<ExtArgs> | null;
|
|
1477
|
+
where?: Prisma.AgentMcpServerWhereInput;
|
|
1478
|
+
orderBy?: Prisma.AgentMcpServerOrderByWithRelationInput | Prisma.AgentMcpServerOrderByWithRelationInput[];
|
|
1479
|
+
cursor?: Prisma.AgentMcpServerWhereUniqueInput;
|
|
1480
|
+
take?: number;
|
|
1481
|
+
skip?: number;
|
|
1482
|
+
distinct?: Prisma.AgentMcpServerScalarFieldEnum | Prisma.AgentMcpServerScalarFieldEnum[];
|
|
1483
|
+
};
|
|
1484
|
+
/**
|
|
1485
|
+
* McpServer without action
|
|
1486
|
+
*/
|
|
1487
|
+
export type McpServerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1488
|
+
/**
|
|
1489
|
+
* Select specific fields to fetch from the McpServer
|
|
1490
|
+
*/
|
|
1491
|
+
select?: Prisma.McpServerSelect<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Omit specific fields from the McpServer
|
|
1494
|
+
*/
|
|
1495
|
+
omit?: Prisma.McpServerOmit<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Choose, which related nodes to fetch as well
|
|
1498
|
+
*/
|
|
1499
|
+
include?: Prisma.McpServerInclude<ExtArgs> | null;
|
|
1500
|
+
};
|