@wardby/cli 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +34 -4
- package/README.md +41 -4
- package/dist/claude-coding-worker/driver.d.ts +6 -1
- package/dist/claude-coding-worker/driver.js +27 -1
- package/dist/claude-coding-worker/main.js +2 -0
- package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
- package/dist/claude-coding-worker/tool-socket.js +26 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +13 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +219 -29
- package/dist/coding/collect-exclude.d.ts +25 -0
- package/dist/coding/collect-exclude.js +76 -0
- package/dist/coding/profile.d.ts +67 -22
- package/dist/coding/profile.js +58 -25
- package/dist/coding/protected-path-wording.d.ts +24 -0
- package/dist/coding/protected-path-wording.js +55 -0
- package/dist/coding/protected-paths.d.ts +31 -0
- package/dist/coding/protected-paths.js +48 -0
- package/dist/coding/protocol.d.ts +75 -4
- package/dist/coding/protocol.js +107 -7
- package/dist/coding/registry/adapters.d.ts +2 -0
- package/dist/coding/registry/adapters.js +9 -0
- package/dist/coding/registry/allowlist.d.ts +9 -0
- package/dist/coding/registry/allowlist.js +28 -0
- package/dist/coding/registry/json-scan.d.ts +55 -0
- package/dist/coding/registry/json-scan.js +191 -0
- package/dist/coding/registry/lockfiles.d.ts +6 -0
- package/dist/coding/registry/lockfiles.js +89 -0
- package/dist/coding/registry/npm-lockfile.d.ts +9 -0
- package/dist/coding/registry/npm-lockfile.js +73 -0
- package/dist/coding/registry/npm-plan.d.ts +29 -0
- package/dist/coding/registry/npm-plan.js +289 -0
- package/dist/coding/registry/npm.d.ts +7 -0
- package/dist/coding/registry/npm.js +252 -0
- package/dist/coding/registry/pypi.d.ts +4 -0
- package/dist/coding/registry/pypi.js +210 -0
- package/dist/coding/registry/report.d.ts +37 -0
- package/dist/coding/registry/report.js +31 -0
- package/dist/coding/registry/token.d.ts +4 -0
- package/dist/coding/registry/token.js +7 -0
- package/dist/coding/registry/types.d.ts +286 -0
- package/dist/coding/registry/types.js +19 -0
- package/dist/coding/registry/worker-config.d.ts +14 -0
- package/dist/coding/registry/worker-config.js +31 -0
- package/dist/coding/services/builtins.d.ts +22 -0
- package/dist/coding/services/builtins.js +85 -0
- package/dist/coding/services/catalog.d.ts +443 -0
- package/dist/coding/services/catalog.js +159 -0
- package/dist/coding/services/declaration.d.ts +11 -0
- package/dist/coding/services/declaration.js +114 -0
- package/dist/coding/services/note.d.ts +8 -0
- package/dist/coding/services/note.js +15 -0
- package/dist/coding/services/resolve.d.ts +25 -0
- package/dist/coding/services/resolve.js +50 -0
- package/dist/coding/services/wording.d.ts +25 -0
- package/dist/coding/services/wording.js +70 -0
- package/dist/coding-proxy/main.js +24 -4
- package/dist/coding-worker/artifact.d.ts +6 -0
- package/dist/coding-worker/debug-trace.d.ts +37 -0
- package/dist/coding-worker/debug-trace.js +117 -0
- package/dist/coding-worker/driver.d.ts +13 -1
- package/dist/coding-worker/driver.js +102 -13
- package/dist/coding-worker/errors.js +8 -0
- package/dist/coding-worker/main.js +10 -2
- package/dist/coding-worker/sdk.d.ts +2 -2
- package/dist/coding-worker/sdk.js +7 -2
- package/dist/coding-worker/types.d.ts +3 -0
- package/dist/config/providers.d.ts +41 -0
- package/dist/config/providers.js +66 -0
- package/dist/core/budget-groups.d.ts +108 -5
- package/dist/core/budget-groups.js +125 -19
- package/dist/core/budget-wording.d.ts +22 -0
- package/dist/core/budget-wording.js +55 -0
- package/dist/core/datastores.js +18 -2
- package/dist/core/db.d.ts +5 -1
- package/dist/core/db.js +8 -2
- package/dist/core/dispatch.d.ts +33 -6
- package/dist/core/dispatch.js +260 -43
- package/dist/core/engine-native.js +27 -10
- package/dist/core/grants.d.ts +86 -0
- package/dist/core/grants.js +126 -0
- package/dist/core/host-events.d.ts +49 -0
- package/dist/core/host-events.js +257 -0
- package/dist/core/host-identity-links.d.ts +54 -0
- package/dist/core/host-identity-links.js +189 -0
- package/dist/core/host-status.d.ts +61 -0
- package/dist/core/host-status.js +211 -0
- package/dist/core/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +38 -2
- package/dist/core/reconciler.js +86 -2
- package/dist/core/repo-access.d.ts +99 -0
- package/dist/core/repo-access.js +136 -0
- package/dist/core/review-host-checks.d.ts +11 -0
- package/dist/core/review-host-checks.js +41 -0
- package/dist/core/review-host-tools.d.ts +47 -0
- package/dist/core/review-host-tools.js +347 -0
- package/dist/core/run-heartbeat.d.ts +27 -0
- package/dist/core/run-heartbeat.js +54 -0
- package/dist/core/runner.d.ts +30 -8
- package/dist/core/runner.js +237 -40
- package/dist/core/secrets.d.ts +11 -2
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- package/dist/core/subagent-memory-tools.js +16 -3
- package/dist/core/tool-admin.d.ts +81 -0
- package/dist/core/tool-admin.js +129 -0
- package/dist/core/tool-names.d.ts +42 -0
- package/dist/core/tool-names.js +64 -0
- package/dist/core/untrusted-content.d.ts +32 -0
- package/dist/core/untrusted-content.js +72 -0
- package/dist/core/webhooks.d.ts +8 -1
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +100 -0
- package/dist/generated/prisma/client.d.ts +100 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
- package/dist/generated/prisma/enums.d.ts +6 -0
- package/dist/generated/prisma/enums.js +6 -1
- package/dist/generated/prisma/internal/class.d.ts +143 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1746 -577
- package/dist/generated/prisma/internal/prismaNamespace.js +179 -6
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +186 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +179 -6
- package/dist/generated/prisma/models/Agent.d.ts +294 -1
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +95 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +56 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +258 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +123 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +1276 -95
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.js +1 -0
- package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
- package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
- package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
- package/dist/generated/prisma/models/HostIdentity.js +1 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +455 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
- package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
- package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
- package/dist/generated/prisma/models/RegistryFetch.js +1 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
- package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
- package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
- package/dist/generated/prisma/models/ResourceGrant.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +389 -1
- package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
- package/dist/generated/prisma/models/RunHostCheck.js +1 -0
- package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
- package/dist/generated/prisma/models/RunHostStatus.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +15 -3
- package/dist/generated/prisma/models.d.ts +13 -0
- package/dist/help/build.d.ts +1 -0
- package/dist/help/build.js +9 -0
- package/dist/help/catalog.d.ts +24 -0
- package/dist/help/catalog.js +160 -0
- package/dist/help/cli.d.ts +2 -0
- package/dist/help/cli.js +65 -0
- package/dist/help/runtime.d.ts +3 -0
- package/dist/help/runtime.js +44 -0
- package/dist/help/search.d.ts +9 -0
- package/dist/help/search.js +104 -0
- package/dist/help-index.json +660 -0
- package/dist/import/cli-args.js +3 -2
- package/dist/import/create.d.ts +5 -0
- package/dist/import/create.js +67 -13
- package/dist/import/index.js +19 -9
- package/dist/import/neutral-schema.d.ts +11 -11
- package/dist/mcp/auth/access.d.ts +70 -0
- package/dist/mcp/auth/access.js +58 -0
- package/dist/mcp/auth/grants-cli.d.ts +149 -0
- package/dist/mcp/auth/grants-cli.js +518 -0
- package/dist/mcp/auth/host-account-cli.d.ts +2 -0
- package/dist/mcp/auth/host-account-cli.js +47 -0
- package/dist/mcp/auth/ownership.d.ts +26 -52
- package/dist/mcp/auth/ownership.js +19 -14
- package/dist/mcp/auth/repo-authorization.d.ts +22 -0
- package/dist/mcp/auth/repo-authorization.js +51 -0
- package/dist/mcp/auth/resource-server.d.ts +31 -2
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +2 -2
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +20 -2
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/session.d.ts +2 -1
- package/dist/mcp/context.d.ts +27 -1
- package/dist/mcp/errors.d.ts +25 -6
- package/dist/mcp/errors.js +98 -0
- package/dist/mcp/host-events/github-ingress.d.ts +36 -0
- package/dist/mcp/host-events/github-ingress.js +92 -0
- package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
- package/dist/mcp/host-events/github-user-callback.js +50 -0
- package/dist/mcp/index.d.ts +8 -1
- package/dist/mcp/index.js +106 -16
- package/dist/mcp/server.js +27 -9
- package/dist/mcp/tools/agents.js +446 -48
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +22 -15
- package/dist/mcp/tools/grants.d.ts +2 -0
- package/dist/mcp/tools/grants.js +239 -0
- package/dist/mcp/tools/help.d.ts +5 -0
- package/dist/mcp/tools/help.js +67 -0
- package/dist/mcp/tools/host-accounts.d.ts +2 -0
- package/dist/mcp/tools/host-accounts.js +114 -0
- package/dist/mcp/tools/memory.d.ts +7 -1
- package/dist/mcp/tools/memory.js +5 -5
- package/dist/mcp/tools/repositories.d.ts +2 -0
- package/dist/mcp/tools/repositories.js +181 -0
- package/dist/mcp/tools/runs.d.ts +6 -0
- package/dist/mcp/tools/runs.js +60 -6
- package/dist/mcp/tools/scheduling.js +3 -6
- package/dist/mcp/tools/secrets.js +18 -6
- package/dist/mcp/tools/services.d.ts +2 -0
- package/dist/mcp/tools/services.js +222 -0
- package/dist/mcp/tools/subagents.js +52 -16
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +201 -40
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +10 -0
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +2 -0
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +2 -1
- package/dist/providers/auth/self-hosted.js +16 -4
- package/dist/providers/auth/types.d.ts +6 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
- package/dist/providers/coding-proxy/memory-ledger.js +21 -2
- package/dist/providers/coding-proxy/metering.d.ts +4 -0
- package/dist/providers/coding-proxy/metering.js +28 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +17 -0
- package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
- package/dist/providers/coding-proxy/proxy.d.ts +13 -0
- package/dist/providers/coding-proxy/proxy.js +479 -18
- package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
- package/dist/providers/coding-proxy/registry/audit.js +380 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
- package/dist/providers/coding-proxy/registry/plan.js +304 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
- package/dist/providers/coding-proxy/registry/service.js +1137 -0
- package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
- package/dist/providers/coding-proxy/registry/store.js +70 -0
- package/dist/providers/coding-proxy/runtime.d.ts +17 -0
- package/dist/providers/coding-proxy/runtime.js +63 -0
- package/dist/providers/coding-proxy/secure-fetch.js +0 -1
- package/dist/providers/coding-proxy/server.d.ts +11 -0
- package/dist/providers/coding-proxy/server.js +163 -0
- package/dist/providers/coding-proxy/types.d.ts +15 -0
- package/dist/providers/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +2 -2
- package/dist/providers/executor/composition.d.ts +3 -0
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +105 -3
- package/dist/providers/executor/container.js +296 -20
- package/dist/providers/executor/dbos.d.ts +2 -3
- package/dist/providers/executor/in-process.d.ts +2 -3
- package/dist/providers/executor/routing.d.ts +7 -0
- package/dist/providers/executor/routing.js +13 -0
- package/dist/providers/executor/types.d.ts +22 -0
- package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
- package/dist/providers/jobs/claude-tool-setup.js +50 -0
- package/dist/providers/jobs/collect-prune.d.ts +7 -0
- package/dist/providers/jobs/collect-prune.js +27 -0
- package/dist/providers/jobs/docker-isolation.d.ts +48 -3
- package/dist/providers/jobs/docker-isolation.js +213 -22
- package/dist/providers/jobs/docker-services.d.ts +35 -0
- package/dist/providers/jobs/docker-services.js +191 -0
- package/dist/providers/jobs/docker.d.ts +49 -2
- package/dist/providers/jobs/docker.js +279 -32
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
- package/dist/providers/jobs/kubernetes-isolation.js +238 -57
- package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
- package/dist/providers/jobs/kubernetes-platform.js +11 -5
- package/dist/providers/jobs/kubernetes-preflight.js +3 -0
- package/dist/providers/jobs/kubernetes.d.ts +21 -2
- package/dist/providers/jobs/kubernetes.js +112 -21
- package/dist/providers/jobs/types.d.ts +18 -0
- package/dist/providers/llm/anthropic.js +6 -2
- package/dist/providers/llm/bedrock.js +2 -1
- package/dist/providers/llm/claude-messages.d.ts +5 -1
- package/dist/providers/llm/claude-messages.js +1 -0
- package/dist/providers/llm/claude-provider.d.ts +3 -1
- package/dist/providers/llm/claude-provider.js +5 -1
- package/dist/providers/llm/index.d.ts +1 -1
- package/dist/providers/llm/index.js +1 -1
- package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
- package/dist/providers/llm/pricing-anthropic.js +32 -14
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
- package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
- package/dist/providers/llm/routing.d.ts +10 -1
- package/dist/providers/llm/routing.js +18 -0
- package/dist/providers/llm/types.d.ts +12 -0
- package/dist/providers/llm/types.js +8 -1
- package/dist/providers/review-host/diff-lines.d.ts +16 -0
- package/dist/providers/review-host/diff-lines.js +59 -0
- package/dist/providers/review-host/github-events.d.ts +6 -0
- package/dist/providers/review-host/github-events.js +180 -0
- package/dist/providers/review-host/github-user-auth.d.ts +38 -0
- package/dist/providers/review-host/github-user-auth.js +128 -0
- package/dist/providers/review-host/github.d.ts +57 -0
- package/dist/providers/review-host/github.js +567 -0
- package/dist/providers/review-host/index.d.ts +12 -0
- package/dist/providers/review-host/index.js +30 -0
- package/dist/providers/review-host/review-format.d.ts +19 -0
- package/dist/providers/review-host/review-format.js +59 -0
- package/dist/providers/review-host/types.d.ts +284 -0
- package/dist/providers/review-host/types.js +24 -0
- package/dist/providers/vcs/git.d.ts +16 -6
- package/dist/providers/vcs/git.js +77 -13
- package/dist/providers/vcs/github.d.ts +74 -3
- package/dist/providers/vcs/github.js +195 -15
- package/dist/providers/vcs/types.d.ts +42 -4
- package/dist/quickstart/index.js +13 -2
- package/dist/sandbox/fetch-policy.d.ts +20 -2
- package/dist/sandbox/fetch-policy.js +64 -3
- package/dist/sandbox/host-functions.d.ts +9 -1
- package/dist/sandbox/host-functions.js +12 -5
- package/dist/serve.js +1 -1
- package/dist/wardby-bin.js +6 -0
- package/docs/README.md +30 -0
- package/docs/architecture-runtime.md +90 -0
- package/docs/assets/brand/wardby-icon-512.png +0 -0
- package/docs/assets/brand/wardby-icon.svg +16 -0
- package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
- package/docs/assets/brand/wardby-mascot.png +0 -0
- package/docs/assets/brand/wardby-mascot.svg +5 -0
- package/docs/assets/wardby-workflow.svg +106 -0
- package/docs/code-review-agents.md +481 -0
- package/docs/coding-agent-setup.md +172 -0
- package/docs/coding-packages.md +455 -0
- package/docs/coding-services.md +300 -0
- package/docs/coding-worker-byo-images.md +98 -0
- package/docs/coding-worker-isolation.md +1061 -0
- package/docs/getting-started-gke.md +615 -0
- package/docs/getting-started-identity-provider.md +308 -0
- package/docs/getting-started.md +133 -0
- package/docs/observability.md +53 -0
- package/docs/release-verification.md +66 -0
- package/docs/security-deployment.md +657 -0
- package/help/code-review-agents.md +31 -0
- package/help/coding-packages.md +31 -0
- package/help/coding-services.md +71 -0
- package/help/creating-agents.md +68 -0
- package/help/deploy-gke.md +39 -0
- package/help/deployment-targets.md +39 -0
- package/help/errors/budget-group-exhausted.md +25 -0
- package/help/errors/docker-isolation-unsupported.md +26 -0
- package/help/errors/protected-path.md +45 -0
- package/help/errors/repo-access.md +27 -0
- package/help/errors/service-declaration-invalid.md +27 -0
- package/help/errors/service-declaration-unavailable.md +25 -0
- package/help/errors/service-launcher-unsupported.md +30 -0
- package/help/errors/service-not-allowed.md +27 -0
- package/help/errors/service-unknown.md +23 -0
- package/help/errors/service-unready.md +49 -0
- package/help/getting-started.md +31 -0
- package/help/github.md +30 -0
- package/help/identity-and-access.md +39 -0
- package/help/mcp.md +30 -0
- package/help/native-capabilities.md +30 -0
- package/help/observability.md +41 -0
- package/help/operating-agents.md +30 -0
- package/help/security.md +27 -0
- package/help/troubleshooting/budgets.md +26 -0
- package/help/troubleshooting/coding-workers.md +47 -0
- package/help/troubleshooting/repository-access.md +27 -0
- package/package.json +12 -3
- package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
- package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
- package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
- package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
- package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
- package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
- package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
- package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
- package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
- package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
- package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
- package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
- package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
- package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
- package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
- package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
- package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
- package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
- package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
- package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
- package/prisma/schema.prisma +407 -21
|
@@ -38,6 +38,7 @@ export type AgentMinAggregateOutputType = {
|
|
|
38
38
|
ownerId: string | null;
|
|
39
39
|
budgetGroupId: string | null;
|
|
40
40
|
memoryEnabled: boolean | null;
|
|
41
|
+
effort: string | null;
|
|
41
42
|
};
|
|
42
43
|
export type AgentMaxAggregateOutputType = {
|
|
43
44
|
id: string | null;
|
|
@@ -56,6 +57,7 @@ export type AgentMaxAggregateOutputType = {
|
|
|
56
57
|
ownerId: string | null;
|
|
57
58
|
budgetGroupId: string | null;
|
|
58
59
|
memoryEnabled: boolean | null;
|
|
60
|
+
effort: string | null;
|
|
59
61
|
};
|
|
60
62
|
export type AgentCountAggregateOutputType = {
|
|
61
63
|
id: number;
|
|
@@ -74,6 +76,7 @@ export type AgentCountAggregateOutputType = {
|
|
|
74
76
|
ownerId: number;
|
|
75
77
|
budgetGroupId: number;
|
|
76
78
|
memoryEnabled: number;
|
|
79
|
+
effort: number;
|
|
77
80
|
_all: number;
|
|
78
81
|
};
|
|
79
82
|
export type AgentAvgAggregateInputType = {
|
|
@@ -101,6 +104,7 @@ export type AgentMinAggregateInputType = {
|
|
|
101
104
|
ownerId?: true;
|
|
102
105
|
budgetGroupId?: true;
|
|
103
106
|
memoryEnabled?: true;
|
|
107
|
+
effort?: true;
|
|
104
108
|
};
|
|
105
109
|
export type AgentMaxAggregateInputType = {
|
|
106
110
|
id?: true;
|
|
@@ -119,6 +123,7 @@ export type AgentMaxAggregateInputType = {
|
|
|
119
123
|
ownerId?: true;
|
|
120
124
|
budgetGroupId?: true;
|
|
121
125
|
memoryEnabled?: true;
|
|
126
|
+
effort?: true;
|
|
122
127
|
};
|
|
123
128
|
export type AgentCountAggregateInputType = {
|
|
124
129
|
id?: true;
|
|
@@ -137,6 +142,7 @@ export type AgentCountAggregateInputType = {
|
|
|
137
142
|
ownerId?: true;
|
|
138
143
|
budgetGroupId?: true;
|
|
139
144
|
memoryEnabled?: true;
|
|
145
|
+
effort?: true;
|
|
140
146
|
_all?: true;
|
|
141
147
|
};
|
|
142
148
|
export type AgentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -232,6 +238,7 @@ export type AgentGroupByOutputType = {
|
|
|
232
238
|
ownerId: string | null;
|
|
233
239
|
budgetGroupId: string | null;
|
|
234
240
|
memoryEnabled: boolean;
|
|
241
|
+
effort: string | null;
|
|
235
242
|
_count: AgentCountAggregateOutputType | null;
|
|
236
243
|
_avg: AgentAvgAggregateOutputType | null;
|
|
237
244
|
_sum: AgentSumAggregateOutputType | null;
|
|
@@ -261,6 +268,7 @@ export type AgentWhereInput = {
|
|
|
261
268
|
ownerId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
262
269
|
budgetGroupId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
263
270
|
memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
|
|
271
|
+
effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
264
272
|
runs?: Prisma.RunListRelationFilter;
|
|
265
273
|
codingProfile?: Prisma.XOR<Prisma.CodingAgentProfileNullableScalarRelationFilter, Prisma.CodingAgentProfileWhereInput> | null;
|
|
266
274
|
tools?: Prisma.AgentToolListRelationFilter;
|
|
@@ -268,6 +276,7 @@ export type AgentWhereInput = {
|
|
|
268
276
|
secrets?: Prisma.AgentSecretListRelationFilter;
|
|
269
277
|
datastores?: Prisma.AgentDatastoreListRelationFilter;
|
|
270
278
|
webhooks?: Prisma.WebhookListRelationFilter;
|
|
279
|
+
repositories?: Prisma.AgentRepositoryListRelationFilter;
|
|
271
280
|
budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
|
|
272
281
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
|
|
273
282
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentListRelationFilter;
|
|
@@ -289,6 +298,7 @@ export type AgentOrderByWithRelationInput = {
|
|
|
289
298
|
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
290
299
|
budgetGroupId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
300
|
memoryEnabled?: Prisma.SortOrder;
|
|
301
|
+
effort?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
302
|
runs?: Prisma.RunOrderByRelationAggregateInput;
|
|
293
303
|
codingProfile?: Prisma.CodingAgentProfileOrderByWithRelationInput;
|
|
294
304
|
tools?: Prisma.AgentToolOrderByRelationAggregateInput;
|
|
@@ -296,6 +306,7 @@ export type AgentOrderByWithRelationInput = {
|
|
|
296
306
|
secrets?: Prisma.AgentSecretOrderByRelationAggregateInput;
|
|
297
307
|
datastores?: Prisma.AgentDatastoreOrderByRelationAggregateInput;
|
|
298
308
|
webhooks?: Prisma.WebhookOrderByRelationAggregateInput;
|
|
309
|
+
repositories?: Prisma.AgentRepositoryOrderByRelationAggregateInput;
|
|
299
310
|
budgetGroup?: Prisma.BudgetGroupOrderByWithRelationInput;
|
|
300
311
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentOrderByRelationAggregateInput;
|
|
301
312
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentOrderByRelationAggregateInput;
|
|
@@ -320,6 +331,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
320
331
|
ownerId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
321
332
|
budgetGroupId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
322
333
|
memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
|
|
334
|
+
effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
323
335
|
runs?: Prisma.RunListRelationFilter;
|
|
324
336
|
codingProfile?: Prisma.XOR<Prisma.CodingAgentProfileNullableScalarRelationFilter, Prisma.CodingAgentProfileWhereInput> | null;
|
|
325
337
|
tools?: Prisma.AgentToolListRelationFilter;
|
|
@@ -327,6 +339,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
327
339
|
secrets?: Prisma.AgentSecretListRelationFilter;
|
|
328
340
|
datastores?: Prisma.AgentDatastoreListRelationFilter;
|
|
329
341
|
webhooks?: Prisma.WebhookListRelationFilter;
|
|
342
|
+
repositories?: Prisma.AgentRepositoryListRelationFilter;
|
|
330
343
|
budgetGroup?: Prisma.XOR<Prisma.BudgetGroupNullableScalarRelationFilter, Prisma.BudgetGroupWhereInput> | null;
|
|
331
344
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentListRelationFilter;
|
|
332
345
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentListRelationFilter;
|
|
@@ -348,6 +361,7 @@ export type AgentOrderByWithAggregationInput = {
|
|
|
348
361
|
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
349
362
|
budgetGroupId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
350
363
|
memoryEnabled?: Prisma.SortOrder;
|
|
364
|
+
effort?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
351
365
|
_count?: Prisma.AgentCountOrderByAggregateInput;
|
|
352
366
|
_avg?: Prisma.AgentAvgOrderByAggregateInput;
|
|
353
367
|
_max?: Prisma.AgentMaxOrderByAggregateInput;
|
|
@@ -374,6 +388,7 @@ export type AgentScalarWhereWithAggregatesInput = {
|
|
|
374
388
|
ownerId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null;
|
|
375
389
|
budgetGroupId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null;
|
|
376
390
|
memoryEnabled?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean;
|
|
391
|
+
effort?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null;
|
|
377
392
|
};
|
|
378
393
|
export type AgentCreateInput = {
|
|
379
394
|
id?: string;
|
|
@@ -390,6 +405,7 @@ export type AgentCreateInput = {
|
|
|
390
405
|
lastScheduledAt?: Date | string | null;
|
|
391
406
|
maxTurns?: number;
|
|
392
407
|
memoryEnabled?: boolean;
|
|
408
|
+
effort?: string | null;
|
|
393
409
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
394
410
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
395
411
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
@@ -397,6 +413,7 @@ export type AgentCreateInput = {
|
|
|
397
413
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
398
414
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
399
415
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
416
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
400
417
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
401
418
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
402
419
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -418,12 +435,14 @@ export type AgentUncheckedCreateInput = {
|
|
|
418
435
|
ownerId?: string | null;
|
|
419
436
|
budgetGroupId?: string | null;
|
|
420
437
|
memoryEnabled?: boolean;
|
|
438
|
+
effort?: string | null;
|
|
421
439
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
422
440
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
423
441
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
424
442
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
425
443
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
426
444
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
445
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
427
446
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
428
447
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
429
448
|
};
|
|
@@ -442,6 +461,7 @@ export type AgentUpdateInput = {
|
|
|
442
461
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
443
462
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
444
463
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
464
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
445
465
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
446
466
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
447
467
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
@@ -449,6 +469,7 @@ export type AgentUpdateInput = {
|
|
|
449
469
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
450
470
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
451
471
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
472
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
452
473
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
453
474
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
454
475
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -470,12 +491,14 @@ export type AgentUncheckedUpdateInput = {
|
|
|
470
491
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
471
492
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
493
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
494
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
473
495
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
474
496
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
475
497
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
476
498
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
477
499
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
478
500
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
501
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
479
502
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
480
503
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
481
504
|
};
|
|
@@ -496,6 +519,7 @@ export type AgentCreateManyInput = {
|
|
|
496
519
|
ownerId?: string | null;
|
|
497
520
|
budgetGroupId?: string | null;
|
|
498
521
|
memoryEnabled?: boolean;
|
|
522
|
+
effort?: string | null;
|
|
499
523
|
};
|
|
500
524
|
export type AgentUpdateManyMutationInput = {
|
|
501
525
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -512,6 +536,7 @@ export type AgentUpdateManyMutationInput = {
|
|
|
512
536
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
513
537
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
514
538
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
539
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
515
540
|
};
|
|
516
541
|
export type AgentUncheckedUpdateManyInput = {
|
|
517
542
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -530,6 +555,7 @@ export type AgentUncheckedUpdateManyInput = {
|
|
|
530
555
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
531
556
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
532
557
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
558
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
533
559
|
};
|
|
534
560
|
export type AgentCountOrderByAggregateInput = {
|
|
535
561
|
id?: Prisma.SortOrder;
|
|
@@ -548,6 +574,7 @@ export type AgentCountOrderByAggregateInput = {
|
|
|
548
574
|
ownerId?: Prisma.SortOrder;
|
|
549
575
|
budgetGroupId?: Prisma.SortOrder;
|
|
550
576
|
memoryEnabled?: Prisma.SortOrder;
|
|
577
|
+
effort?: Prisma.SortOrder;
|
|
551
578
|
};
|
|
552
579
|
export type AgentAvgOrderByAggregateInput = {
|
|
553
580
|
budgetUsd?: Prisma.SortOrder;
|
|
@@ -570,6 +597,7 @@ export type AgentMaxOrderByAggregateInput = {
|
|
|
570
597
|
ownerId?: Prisma.SortOrder;
|
|
571
598
|
budgetGroupId?: Prisma.SortOrder;
|
|
572
599
|
memoryEnabled?: Prisma.SortOrder;
|
|
600
|
+
effort?: Prisma.SortOrder;
|
|
573
601
|
};
|
|
574
602
|
export type AgentMinOrderByAggregateInput = {
|
|
575
603
|
id?: Prisma.SortOrder;
|
|
@@ -588,6 +616,7 @@ export type AgentMinOrderByAggregateInput = {
|
|
|
588
616
|
ownerId?: Prisma.SortOrder;
|
|
589
617
|
budgetGroupId?: Prisma.SortOrder;
|
|
590
618
|
memoryEnabled?: Prisma.SortOrder;
|
|
619
|
+
effort?: Prisma.SortOrder;
|
|
591
620
|
};
|
|
592
621
|
export type AgentSumOrderByAggregateInput = {
|
|
593
622
|
budgetUsd?: Prisma.SortOrder;
|
|
@@ -809,6 +838,18 @@ export type AgentUpdateOneRequiredWithoutWebhooksNestedInput = {
|
|
|
809
838
|
connect?: Prisma.AgentWhereUniqueInput;
|
|
810
839
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutWebhooksInput, Prisma.AgentUpdateWithoutWebhooksInput>, Prisma.AgentUncheckedUpdateWithoutWebhooksInput>;
|
|
811
840
|
};
|
|
841
|
+
export type AgentCreateNestedOneWithoutRepositoriesInput = {
|
|
842
|
+
create?: Prisma.XOR<Prisma.AgentCreateWithoutRepositoriesInput, Prisma.AgentUncheckedCreateWithoutRepositoriesInput>;
|
|
843
|
+
connectOrCreate?: Prisma.AgentCreateOrConnectWithoutRepositoriesInput;
|
|
844
|
+
connect?: Prisma.AgentWhereUniqueInput;
|
|
845
|
+
};
|
|
846
|
+
export type AgentUpdateOneRequiredWithoutRepositoriesNestedInput = {
|
|
847
|
+
create?: Prisma.XOR<Prisma.AgentCreateWithoutRepositoriesInput, Prisma.AgentUncheckedCreateWithoutRepositoriesInput>;
|
|
848
|
+
connectOrCreate?: Prisma.AgentCreateOrConnectWithoutRepositoriesInput;
|
|
849
|
+
upsert?: Prisma.AgentUpsertWithoutRepositoriesInput;
|
|
850
|
+
connect?: Prisma.AgentWhereUniqueInput;
|
|
851
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutRepositoriesInput, Prisma.AgentUpdateWithoutRepositoriesInput>, Prisma.AgentUncheckedUpdateWithoutRepositoriesInput>;
|
|
852
|
+
};
|
|
812
853
|
export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
|
|
813
854
|
id?: string;
|
|
814
855
|
name: string;
|
|
@@ -824,6 +865,7 @@ export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
|
|
|
824
865
|
lastScheduledAt?: Date | string | null;
|
|
825
866
|
maxTurns?: number;
|
|
826
867
|
memoryEnabled?: boolean;
|
|
868
|
+
effort?: string | null;
|
|
827
869
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
828
870
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
829
871
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
@@ -831,6 +873,7 @@ export type AgentCreateWithoutSubAgentEdgesAsParentInput = {
|
|
|
831
873
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
832
874
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
833
875
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
876
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
834
877
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
835
878
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
836
879
|
};
|
|
@@ -851,12 +894,14 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsParentInput = {
|
|
|
851
894
|
ownerId?: string | null;
|
|
852
895
|
budgetGroupId?: string | null;
|
|
853
896
|
memoryEnabled?: boolean;
|
|
897
|
+
effort?: string | null;
|
|
854
898
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
855
899
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
856
900
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
857
901
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
858
902
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
859
903
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
904
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
860
905
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
861
906
|
};
|
|
862
907
|
export type AgentCreateOrConnectWithoutSubAgentEdgesAsParentInput = {
|
|
@@ -878,6 +923,7 @@ export type AgentCreateWithoutSubAgentEdgesAsChildInput = {
|
|
|
878
923
|
lastScheduledAt?: Date | string | null;
|
|
879
924
|
maxTurns?: number;
|
|
880
925
|
memoryEnabled?: boolean;
|
|
926
|
+
effort?: string | null;
|
|
881
927
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
882
928
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
883
929
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
@@ -885,6 +931,7 @@ export type AgentCreateWithoutSubAgentEdgesAsChildInput = {
|
|
|
885
931
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
886
932
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
887
933
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
934
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
888
935
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
889
936
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
890
937
|
};
|
|
@@ -905,12 +952,14 @@ export type AgentUncheckedCreateWithoutSubAgentEdgesAsChildInput = {
|
|
|
905
952
|
ownerId?: string | null;
|
|
906
953
|
budgetGroupId?: string | null;
|
|
907
954
|
memoryEnabled?: boolean;
|
|
955
|
+
effort?: string | null;
|
|
908
956
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
909
957
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
910
958
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
911
959
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
912
960
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
913
961
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
962
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
914
963
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
915
964
|
};
|
|
916
965
|
export type AgentCreateOrConnectWithoutSubAgentEdgesAsChildInput = {
|
|
@@ -941,6 +990,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsParentInput = {
|
|
|
941
990
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
942
991
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
943
992
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
993
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
944
994
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
945
995
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
946
996
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
@@ -948,6 +998,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsParentInput = {
|
|
|
948
998
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
949
999
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
950
1000
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1001
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
951
1002
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
952
1003
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
953
1004
|
};
|
|
@@ -968,12 +1019,14 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsParentInput = {
|
|
|
968
1019
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
969
1020
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
970
1021
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1022
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
971
1023
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
972
1024
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
973
1025
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
974
1026
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
975
1027
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
976
1028
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1029
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
977
1030
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
978
1031
|
};
|
|
979
1032
|
export type AgentUpsertWithoutSubAgentEdgesAsChildInput = {
|
|
@@ -1000,6 +1053,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsChildInput = {
|
|
|
1000
1053
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1001
1054
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1002
1055
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1056
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1003
1057
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1004
1058
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1005
1059
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
@@ -1007,6 +1061,7 @@ export type AgentUpdateWithoutSubAgentEdgesAsChildInput = {
|
|
|
1007
1061
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1008
1062
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1009
1063
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1064
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1010
1065
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1011
1066
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1012
1067
|
};
|
|
@@ -1027,12 +1082,14 @@ export type AgentUncheckedUpdateWithoutSubAgentEdgesAsChildInput = {
|
|
|
1027
1082
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1028
1083
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1029
1084
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1085
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1030
1086
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1031
1087
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1032
1088
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1033
1089
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1034
1090
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1035
1091
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1092
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1036
1093
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1037
1094
|
};
|
|
1038
1095
|
export type AgentCreateWithoutBudgetGroupInput = {
|
|
@@ -1050,6 +1107,7 @@ export type AgentCreateWithoutBudgetGroupInput = {
|
|
|
1050
1107
|
lastScheduledAt?: Date | string | null;
|
|
1051
1108
|
maxTurns?: number;
|
|
1052
1109
|
memoryEnabled?: boolean;
|
|
1110
|
+
effort?: string | null;
|
|
1053
1111
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1054
1112
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1055
1113
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
@@ -1057,6 +1115,7 @@ export type AgentCreateWithoutBudgetGroupInput = {
|
|
|
1057
1115
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1058
1116
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1059
1117
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1118
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1060
1119
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1061
1120
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
1062
1121
|
};
|
|
@@ -1076,12 +1135,14 @@ export type AgentUncheckedCreateWithoutBudgetGroupInput = {
|
|
|
1076
1135
|
maxTurns?: number;
|
|
1077
1136
|
ownerId?: string | null;
|
|
1078
1137
|
memoryEnabled?: boolean;
|
|
1138
|
+
effort?: string | null;
|
|
1079
1139
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1080
1140
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1081
1141
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1082
1142
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1083
1143
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1084
1144
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1145
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1085
1146
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1086
1147
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1087
1148
|
};
|
|
@@ -1126,6 +1187,7 @@ export type AgentScalarWhereInput = {
|
|
|
1126
1187
|
ownerId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
1127
1188
|
budgetGroupId?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
1128
1189
|
memoryEnabled?: Prisma.BoolFilter<"Agent"> | boolean;
|
|
1190
|
+
effort?: Prisma.StringNullableFilter<"Agent"> | string | null;
|
|
1129
1191
|
};
|
|
1130
1192
|
export type AgentCreateWithoutToolsInput = {
|
|
1131
1193
|
id?: string;
|
|
@@ -1142,12 +1204,14 @@ export type AgentCreateWithoutToolsInput = {
|
|
|
1142
1204
|
lastScheduledAt?: Date | string | null;
|
|
1143
1205
|
maxTurns?: number;
|
|
1144
1206
|
memoryEnabled?: boolean;
|
|
1207
|
+
effort?: string | null;
|
|
1145
1208
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1146
1209
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1147
1210
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1148
1211
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1149
1212
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1150
1213
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1214
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1151
1215
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1152
1216
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1153
1217
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1169,11 +1233,13 @@ export type AgentUncheckedCreateWithoutToolsInput = {
|
|
|
1169
1233
|
ownerId?: string | null;
|
|
1170
1234
|
budgetGroupId?: string | null;
|
|
1171
1235
|
memoryEnabled?: boolean;
|
|
1236
|
+
effort?: string | null;
|
|
1172
1237
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1173
1238
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1174
1239
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1175
1240
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1176
1241
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1242
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1177
1243
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1178
1244
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1179
1245
|
};
|
|
@@ -1205,12 +1271,14 @@ export type AgentUpdateWithoutToolsInput = {
|
|
|
1205
1271
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1206
1272
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1207
1273
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1274
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
1275
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1209
1276
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1210
1277
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1211
1278
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1212
1279
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1213
1280
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1281
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1214
1282
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1215
1283
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1216
1284
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1232,11 +1300,13 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
|
|
|
1232
1300
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1233
1301
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1234
1302
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1303
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1235
1304
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1236
1305
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1237
1306
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1238
1307
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1239
1308
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1309
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1240
1310
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1241
1311
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1242
1312
|
};
|
|
@@ -1255,12 +1325,14 @@ export type AgentCreateWithoutDatastoresInput = {
|
|
|
1255
1325
|
lastScheduledAt?: Date | string | null;
|
|
1256
1326
|
maxTurns?: number;
|
|
1257
1327
|
memoryEnabled?: boolean;
|
|
1328
|
+
effort?: string | null;
|
|
1258
1329
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1259
1330
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1260
1331
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1261
1332
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1262
1333
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1263
1334
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1335
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1264
1336
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1265
1337
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1266
1338
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1282,11 +1354,13 @@ export type AgentUncheckedCreateWithoutDatastoresInput = {
|
|
|
1282
1354
|
ownerId?: string | null;
|
|
1283
1355
|
budgetGroupId?: string | null;
|
|
1284
1356
|
memoryEnabled?: boolean;
|
|
1357
|
+
effort?: string | null;
|
|
1285
1358
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1286
1359
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1287
1360
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1288
1361
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1289
1362
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1363
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1290
1364
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1291
1365
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1292
1366
|
};
|
|
@@ -1318,12 +1392,14 @@ export type AgentUpdateWithoutDatastoresInput = {
|
|
|
1318
1392
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1319
1393
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1320
1394
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1395
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1321
1396
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1322
1397
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1323
1398
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1324
1399
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1325
1400
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1326
1401
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1402
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1327
1403
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1328
1404
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1329
1405
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1345,11 +1421,13 @@ export type AgentUncheckedUpdateWithoutDatastoresInput = {
|
|
|
1345
1421
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1346
1422
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1347
1423
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1424
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1348
1425
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1349
1426
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1350
1427
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1351
1428
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1352
1429
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1430
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1353
1431
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1354
1432
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1355
1433
|
};
|
|
@@ -1368,12 +1446,14 @@ export type AgentCreateWithoutRunsInput = {
|
|
|
1368
1446
|
lastScheduledAt?: Date | string | null;
|
|
1369
1447
|
maxTurns?: number;
|
|
1370
1448
|
memoryEnabled?: boolean;
|
|
1449
|
+
effort?: string | null;
|
|
1371
1450
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1372
1451
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1373
1452
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1374
1453
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1375
1454
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1376
1455
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1456
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1377
1457
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1378
1458
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1379
1459
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1395,11 +1475,13 @@ export type AgentUncheckedCreateWithoutRunsInput = {
|
|
|
1395
1475
|
ownerId?: string | null;
|
|
1396
1476
|
budgetGroupId?: string | null;
|
|
1397
1477
|
memoryEnabled?: boolean;
|
|
1478
|
+
effort?: string | null;
|
|
1398
1479
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1399
1480
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1400
1481
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1401
1482
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1402
1483
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1484
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1403
1485
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1404
1486
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1405
1487
|
};
|
|
@@ -1431,12 +1513,14 @@ export type AgentUpdateWithoutRunsInput = {
|
|
|
1431
1513
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1432
1514
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1433
1515
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1516
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1434
1517
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1435
1518
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1436
1519
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1437
1520
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1438
1521
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1439
1522
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1523
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1440
1524
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1441
1525
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1442
1526
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1458,11 +1542,13 @@ export type AgentUncheckedUpdateWithoutRunsInput = {
|
|
|
1458
1542
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1459
1543
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1460
1544
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1545
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1461
1546
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1462
1547
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1463
1548
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1464
1549
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1465
1550
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1551
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1466
1552
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1467
1553
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1468
1554
|
};
|
|
@@ -1481,12 +1567,14 @@ export type AgentCreateWithoutCodingProfileInput = {
|
|
|
1481
1567
|
lastScheduledAt?: Date | string | null;
|
|
1482
1568
|
maxTurns?: number;
|
|
1483
1569
|
memoryEnabled?: boolean;
|
|
1570
|
+
effort?: string | null;
|
|
1484
1571
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1485
1572
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1486
1573
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1487
1574
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1488
1575
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1489
1576
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1577
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1490
1578
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1491
1579
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1492
1580
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1508,11 +1596,13 @@ export type AgentUncheckedCreateWithoutCodingProfileInput = {
|
|
|
1508
1596
|
ownerId?: string | null;
|
|
1509
1597
|
budgetGroupId?: string | null;
|
|
1510
1598
|
memoryEnabled?: boolean;
|
|
1599
|
+
effort?: string | null;
|
|
1511
1600
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1512
1601
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1513
1602
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1514
1603
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1515
1604
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1605
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1516
1606
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1517
1607
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1518
1608
|
};
|
|
@@ -1544,12 +1634,14 @@ export type AgentUpdateWithoutCodingProfileInput = {
|
|
|
1544
1634
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1545
1635
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1546
1636
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1637
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1547
1638
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1548
1639
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1549
1640
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1550
1641
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1551
1642
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1552
1643
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1644
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1553
1645
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1554
1646
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1555
1647
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1571,11 +1663,13 @@ export type AgentUncheckedUpdateWithoutCodingProfileInput = {
|
|
|
1571
1663
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1572
1664
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1573
1665
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1666
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1574
1667
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1575
1668
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1576
1669
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1577
1670
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1578
1671
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1672
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1579
1673
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1580
1674
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1581
1675
|
};
|
|
@@ -1594,12 +1688,14 @@ export type AgentCreateWithoutOwnerInput = {
|
|
|
1594
1688
|
lastScheduledAt?: Date | string | null;
|
|
1595
1689
|
maxTurns?: number;
|
|
1596
1690
|
memoryEnabled?: boolean;
|
|
1691
|
+
effort?: string | null;
|
|
1597
1692
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1598
1693
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1599
1694
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1600
1695
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1601
1696
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1602
1697
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1698
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1603
1699
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1604
1700
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1605
1701
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1620,12 +1716,14 @@ export type AgentUncheckedCreateWithoutOwnerInput = {
|
|
|
1620
1716
|
maxTurns?: number;
|
|
1621
1717
|
budgetGroupId?: string | null;
|
|
1622
1718
|
memoryEnabled?: boolean;
|
|
1719
|
+
effort?: string | null;
|
|
1623
1720
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1624
1721
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1625
1722
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1626
1723
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1627
1724
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1628
1725
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1726
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1629
1727
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1630
1728
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1631
1729
|
};
|
|
@@ -1665,12 +1763,14 @@ export type AgentCreateWithoutSecretsInput = {
|
|
|
1665
1763
|
lastScheduledAt?: Date | string | null;
|
|
1666
1764
|
maxTurns?: number;
|
|
1667
1765
|
memoryEnabled?: boolean;
|
|
1766
|
+
effort?: string | null;
|
|
1668
1767
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1669
1768
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1670
1769
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1671
1770
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1672
1771
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1673
1772
|
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
1773
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1674
1774
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1675
1775
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1676
1776
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1692,11 +1792,13 @@ export type AgentUncheckedCreateWithoutSecretsInput = {
|
|
|
1692
1792
|
ownerId?: string | null;
|
|
1693
1793
|
budgetGroupId?: string | null;
|
|
1694
1794
|
memoryEnabled?: boolean;
|
|
1795
|
+
effort?: string | null;
|
|
1695
1796
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1696
1797
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1697
1798
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1698
1799
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1699
1800
|
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
1801
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1700
1802
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1701
1803
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1702
1804
|
};
|
|
@@ -1728,12 +1830,14 @@ export type AgentUpdateWithoutSecretsInput = {
|
|
|
1728
1830
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1729
1831
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1730
1832
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1833
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1731
1834
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1732
1835
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1733
1836
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1734
1837
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1735
1838
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1736
1839
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
1840
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1737
1841
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1738
1842
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1739
1843
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1755,11 +1859,13 @@ export type AgentUncheckedUpdateWithoutSecretsInput = {
|
|
|
1755
1859
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1756
1860
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1757
1861
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1862
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1758
1863
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1759
1864
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1760
1865
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1761
1866
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1762
1867
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1868
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1763
1869
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1764
1870
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1765
1871
|
};
|
|
@@ -1778,12 +1884,14 @@ export type AgentCreateWithoutWebhooksInput = {
|
|
|
1778
1884
|
lastScheduledAt?: Date | string | null;
|
|
1779
1885
|
maxTurns?: number;
|
|
1780
1886
|
memoryEnabled?: boolean;
|
|
1887
|
+
effort?: string | null;
|
|
1781
1888
|
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
1782
1889
|
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
1783
1890
|
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
1784
1891
|
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
1785
1892
|
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
1786
1893
|
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
1894
|
+
repositories?: Prisma.AgentRepositoryCreateNestedManyWithoutAgentInput;
|
|
1787
1895
|
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
1788
1896
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
1789
1897
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
@@ -1805,11 +1913,13 @@ export type AgentUncheckedCreateWithoutWebhooksInput = {
|
|
|
1805
1913
|
ownerId?: string | null;
|
|
1806
1914
|
budgetGroupId?: string | null;
|
|
1807
1915
|
memoryEnabled?: boolean;
|
|
1916
|
+
effort?: string | null;
|
|
1808
1917
|
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
1809
1918
|
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
1810
1919
|
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
1811
1920
|
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
1812
1921
|
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
1922
|
+
repositories?: Prisma.AgentRepositoryUncheckedCreateNestedManyWithoutAgentInput;
|
|
1813
1923
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
1814
1924
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
1815
1925
|
};
|
|
@@ -1841,12 +1951,14 @@ export type AgentUpdateWithoutWebhooksInput = {
|
|
|
1841
1951
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1842
1952
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1843
1953
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1954
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1844
1955
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1845
1956
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1846
1957
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1847
1958
|
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
1848
1959
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1849
1960
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1961
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1850
1962
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
1851
1963
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1852
1964
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -1868,11 +1980,134 @@ export type AgentUncheckedUpdateWithoutWebhooksInput = {
|
|
|
1868
1980
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1869
1981
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1870
1982
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1983
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1984
|
+
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1985
|
+
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1986
|
+
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1987
|
+
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1988
|
+
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1989
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1990
|
+
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1991
|
+
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1992
|
+
};
|
|
1993
|
+
export type AgentCreateWithoutRepositoriesInput = {
|
|
1994
|
+
id?: string;
|
|
1995
|
+
name: string;
|
|
1996
|
+
systemPrompt: string;
|
|
1997
|
+
model: string;
|
|
1998
|
+
budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
1999
|
+
createdAt?: Date | string;
|
|
2000
|
+
updatedAt?: Date | string;
|
|
2001
|
+
kind?: $Enums.AgentKind;
|
|
2002
|
+
schedule?: string | null;
|
|
2003
|
+
timezone?: string;
|
|
2004
|
+
scheduleEnabled?: boolean;
|
|
2005
|
+
lastScheduledAt?: Date | string | null;
|
|
2006
|
+
maxTurns?: number;
|
|
2007
|
+
memoryEnabled?: boolean;
|
|
2008
|
+
effort?: string | null;
|
|
2009
|
+
runs?: Prisma.RunCreateNestedManyWithoutAgentInput;
|
|
2010
|
+
codingProfile?: Prisma.CodingAgentProfileCreateNestedOneWithoutAgentInput;
|
|
2011
|
+
tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput;
|
|
2012
|
+
owner?: Prisma.PrincipalCreateNestedOneWithoutAgentsInput;
|
|
2013
|
+
secrets?: Prisma.AgentSecretCreateNestedManyWithoutAgentInput;
|
|
2014
|
+
datastores?: Prisma.AgentDatastoreCreateNestedManyWithoutAgentInput;
|
|
2015
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutAgentInput;
|
|
2016
|
+
budgetGroup?: Prisma.BudgetGroupCreateNestedOneWithoutAgentsInput;
|
|
2017
|
+
subAgentEdgesAsParent?: Prisma.AgentSubAgentCreateNestedManyWithoutParentInput;
|
|
2018
|
+
subAgentEdgesAsChild?: Prisma.AgentSubAgentCreateNestedManyWithoutChildInput;
|
|
2019
|
+
};
|
|
2020
|
+
export type AgentUncheckedCreateWithoutRepositoriesInput = {
|
|
2021
|
+
id?: string;
|
|
2022
|
+
name: string;
|
|
2023
|
+
systemPrompt: string;
|
|
2024
|
+
model: string;
|
|
2025
|
+
budgetUsd: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
2026
|
+
createdAt?: Date | string;
|
|
2027
|
+
updatedAt?: Date | string;
|
|
2028
|
+
kind?: $Enums.AgentKind;
|
|
2029
|
+
schedule?: string | null;
|
|
2030
|
+
timezone?: string;
|
|
2031
|
+
scheduleEnabled?: boolean;
|
|
2032
|
+
lastScheduledAt?: Date | string | null;
|
|
2033
|
+
maxTurns?: number;
|
|
2034
|
+
ownerId?: string | null;
|
|
2035
|
+
budgetGroupId?: string | null;
|
|
2036
|
+
memoryEnabled?: boolean;
|
|
2037
|
+
effort?: string | null;
|
|
2038
|
+
runs?: Prisma.RunUncheckedCreateNestedManyWithoutAgentInput;
|
|
2039
|
+
codingProfile?: Prisma.CodingAgentProfileUncheckedCreateNestedOneWithoutAgentInput;
|
|
2040
|
+
tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput;
|
|
2041
|
+
secrets?: Prisma.AgentSecretUncheckedCreateNestedManyWithoutAgentInput;
|
|
2042
|
+
datastores?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutAgentInput;
|
|
2043
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutAgentInput;
|
|
2044
|
+
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutParentInput;
|
|
2045
|
+
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedCreateNestedManyWithoutChildInput;
|
|
2046
|
+
};
|
|
2047
|
+
export type AgentCreateOrConnectWithoutRepositoriesInput = {
|
|
2048
|
+
where: Prisma.AgentWhereUniqueInput;
|
|
2049
|
+
create: Prisma.XOR<Prisma.AgentCreateWithoutRepositoriesInput, Prisma.AgentUncheckedCreateWithoutRepositoriesInput>;
|
|
2050
|
+
};
|
|
2051
|
+
export type AgentUpsertWithoutRepositoriesInput = {
|
|
2052
|
+
update: Prisma.XOR<Prisma.AgentUpdateWithoutRepositoriesInput, Prisma.AgentUncheckedUpdateWithoutRepositoriesInput>;
|
|
2053
|
+
create: Prisma.XOR<Prisma.AgentCreateWithoutRepositoriesInput, Prisma.AgentUncheckedCreateWithoutRepositoriesInput>;
|
|
2054
|
+
where?: Prisma.AgentWhereInput;
|
|
2055
|
+
};
|
|
2056
|
+
export type AgentUpdateToOneWithWhereWithoutRepositoriesInput = {
|
|
2057
|
+
where?: Prisma.AgentWhereInput;
|
|
2058
|
+
data: Prisma.XOR<Prisma.AgentUpdateWithoutRepositoriesInput, Prisma.AgentUncheckedUpdateWithoutRepositoriesInput>;
|
|
2059
|
+
};
|
|
2060
|
+
export type AgentUpdateWithoutRepositoriesInput = {
|
|
2061
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2062
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2063
|
+
systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2064
|
+
model?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2065
|
+
budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
2066
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2067
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2068
|
+
kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
|
|
2069
|
+
schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2070
|
+
timezone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2071
|
+
scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2072
|
+
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2073
|
+
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2074
|
+
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2075
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2076
|
+
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
2077
|
+
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
2078
|
+
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
2079
|
+
owner?: Prisma.PrincipalUpdateOneWithoutAgentsNestedInput;
|
|
2080
|
+
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
2081
|
+
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
2082
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
2083
|
+
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
2084
|
+
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
2085
|
+
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
2086
|
+
};
|
|
2087
|
+
export type AgentUncheckedUpdateWithoutRepositoriesInput = {
|
|
2088
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2089
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2090
|
+
systemPrompt?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2091
|
+
model?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2092
|
+
budgetUsd?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
2093
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2094
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2095
|
+
kind?: Prisma.EnumAgentKindFieldUpdateOperationsInput | $Enums.AgentKind;
|
|
2096
|
+
schedule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2097
|
+
timezone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2098
|
+
scheduleEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2099
|
+
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2100
|
+
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2101
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2102
|
+
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2103
|
+
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2104
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1871
2105
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1872
2106
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1873
2107
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1874
2108
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1875
2109
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2110
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1876
2111
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1877
2112
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1878
2113
|
};
|
|
@@ -1892,6 +2127,7 @@ export type AgentCreateManyBudgetGroupInput = {
|
|
|
1892
2127
|
maxTurns?: number;
|
|
1893
2128
|
ownerId?: string | null;
|
|
1894
2129
|
memoryEnabled?: boolean;
|
|
2130
|
+
effort?: string | null;
|
|
1895
2131
|
};
|
|
1896
2132
|
export type AgentUpdateWithoutBudgetGroupInput = {
|
|
1897
2133
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1908,6 +2144,7 @@ export type AgentUpdateWithoutBudgetGroupInput = {
|
|
|
1908
2144
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1909
2145
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1910
2146
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2147
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1911
2148
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1912
2149
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1913
2150
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
@@ -1915,6 +2152,7 @@ export type AgentUpdateWithoutBudgetGroupInput = {
|
|
|
1915
2152
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1916
2153
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
1917
2154
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
2155
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
1918
2156
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
1919
2157
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
1920
2158
|
};
|
|
@@ -1934,12 +2172,14 @@ export type AgentUncheckedUpdateWithoutBudgetGroupInput = {
|
|
|
1934
2172
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1935
2173
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1936
2174
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2175
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1937
2176
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1938
2177
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
1939
2178
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1940
2179
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1941
2180
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1942
2181
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2182
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
1943
2183
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
1944
2184
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
1945
2185
|
};
|
|
@@ -1959,6 +2199,7 @@ export type AgentUncheckedUpdateManyWithoutBudgetGroupInput = {
|
|
|
1959
2199
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1960
2200
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1961
2201
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2202
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1962
2203
|
};
|
|
1963
2204
|
export type AgentCreateManyOwnerInput = {
|
|
1964
2205
|
id?: string;
|
|
@@ -1976,6 +2217,7 @@ export type AgentCreateManyOwnerInput = {
|
|
|
1976
2217
|
maxTurns?: number;
|
|
1977
2218
|
budgetGroupId?: string | null;
|
|
1978
2219
|
memoryEnabled?: boolean;
|
|
2220
|
+
effort?: string | null;
|
|
1979
2221
|
};
|
|
1980
2222
|
export type AgentUpdateWithoutOwnerInput = {
|
|
1981
2223
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1992,12 +2234,14 @@ export type AgentUpdateWithoutOwnerInput = {
|
|
|
1992
2234
|
lastScheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1993
2235
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1994
2236
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2237
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1995
2238
|
runs?: Prisma.RunUpdateManyWithoutAgentNestedInput;
|
|
1996
2239
|
codingProfile?: Prisma.CodingAgentProfileUpdateOneWithoutAgentNestedInput;
|
|
1997
2240
|
tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput;
|
|
1998
2241
|
secrets?: Prisma.AgentSecretUpdateManyWithoutAgentNestedInput;
|
|
1999
2242
|
datastores?: Prisma.AgentDatastoreUpdateManyWithoutAgentNestedInput;
|
|
2000
2243
|
webhooks?: Prisma.WebhookUpdateManyWithoutAgentNestedInput;
|
|
2244
|
+
repositories?: Prisma.AgentRepositoryUpdateManyWithoutAgentNestedInput;
|
|
2001
2245
|
budgetGroup?: Prisma.BudgetGroupUpdateOneWithoutAgentsNestedInput;
|
|
2002
2246
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUpdateManyWithoutParentNestedInput;
|
|
2003
2247
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUpdateManyWithoutChildNestedInput;
|
|
@@ -2018,12 +2262,14 @@ export type AgentUncheckedUpdateWithoutOwnerInput = {
|
|
|
2018
2262
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2019
2263
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2020
2264
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2265
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2021
2266
|
runs?: Prisma.RunUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2022
2267
|
codingProfile?: Prisma.CodingAgentProfileUncheckedUpdateOneWithoutAgentNestedInput;
|
|
2023
2268
|
tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2024
2269
|
secrets?: Prisma.AgentSecretUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2025
2270
|
datastores?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2026
2271
|
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2272
|
+
repositories?: Prisma.AgentRepositoryUncheckedUpdateManyWithoutAgentNestedInput;
|
|
2027
2273
|
subAgentEdgesAsParent?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutParentNestedInput;
|
|
2028
2274
|
subAgentEdgesAsChild?: Prisma.AgentSubAgentUncheckedUpdateManyWithoutChildNestedInput;
|
|
2029
2275
|
};
|
|
@@ -2043,6 +2289,7 @@ export type AgentUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
2043
2289
|
maxTurns?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
2044
2290
|
budgetGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2045
2291
|
memoryEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
2292
|
+
effort?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2046
2293
|
};
|
|
2047
2294
|
/**
|
|
2048
2295
|
* Count Type AgentCountOutputType
|
|
@@ -2053,6 +2300,7 @@ export type AgentCountOutputType = {
|
|
|
2053
2300
|
secrets: number;
|
|
2054
2301
|
datastores: number;
|
|
2055
2302
|
webhooks: number;
|
|
2303
|
+
repositories: number;
|
|
2056
2304
|
subAgentEdgesAsParent: number;
|
|
2057
2305
|
subAgentEdgesAsChild: number;
|
|
2058
2306
|
};
|
|
@@ -2062,6 +2310,7 @@ export type AgentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.
|
|
|
2062
2310
|
secrets?: boolean | AgentCountOutputTypeCountSecretsArgs;
|
|
2063
2311
|
datastores?: boolean | AgentCountOutputTypeCountDatastoresArgs;
|
|
2064
2312
|
webhooks?: boolean | AgentCountOutputTypeCountWebhooksArgs;
|
|
2313
|
+
repositories?: boolean | AgentCountOutputTypeCountRepositoriesArgs;
|
|
2065
2314
|
subAgentEdgesAsParent?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsParentArgs;
|
|
2066
2315
|
subAgentEdgesAsChild?: boolean | AgentCountOutputTypeCountSubAgentEdgesAsChildArgs;
|
|
2067
2316
|
};
|
|
@@ -2104,6 +2353,12 @@ export type AgentCountOutputTypeCountDatastoresArgs<ExtArgs extends runtime.Type
|
|
|
2104
2353
|
export type AgentCountOutputTypeCountWebhooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2105
2354
|
where?: Prisma.WebhookWhereInput;
|
|
2106
2355
|
};
|
|
2356
|
+
/**
|
|
2357
|
+
* AgentCountOutputType without action
|
|
2358
|
+
*/
|
|
2359
|
+
export type AgentCountOutputTypeCountRepositoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2360
|
+
where?: Prisma.AgentRepositoryWhereInput;
|
|
2361
|
+
};
|
|
2107
2362
|
/**
|
|
2108
2363
|
* AgentCountOutputType without action
|
|
2109
2364
|
*/
|
|
@@ -2133,6 +2388,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
2133
2388
|
ownerId?: boolean;
|
|
2134
2389
|
budgetGroupId?: boolean;
|
|
2135
2390
|
memoryEnabled?: boolean;
|
|
2391
|
+
effort?: boolean;
|
|
2136
2392
|
runs?: boolean | Prisma.Agent$runsArgs<ExtArgs>;
|
|
2137
2393
|
codingProfile?: boolean | Prisma.Agent$codingProfileArgs<ExtArgs>;
|
|
2138
2394
|
tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>;
|
|
@@ -2140,6 +2396,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
2140
2396
|
secrets?: boolean | Prisma.Agent$secretsArgs<ExtArgs>;
|
|
2141
2397
|
datastores?: boolean | Prisma.Agent$datastoresArgs<ExtArgs>;
|
|
2142
2398
|
webhooks?: boolean | Prisma.Agent$webhooksArgs<ExtArgs>;
|
|
2399
|
+
repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
|
|
2143
2400
|
budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
|
|
2144
2401
|
subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
|
|
2145
2402
|
subAgentEdgesAsChild?: boolean | Prisma.Agent$subAgentEdgesAsChildArgs<ExtArgs>;
|
|
@@ -2162,6 +2419,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
2162
2419
|
ownerId?: boolean;
|
|
2163
2420
|
budgetGroupId?: boolean;
|
|
2164
2421
|
memoryEnabled?: boolean;
|
|
2422
|
+
effort?: boolean;
|
|
2165
2423
|
owner?: boolean | Prisma.Agent$ownerArgs<ExtArgs>;
|
|
2166
2424
|
budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
|
|
2167
2425
|
}, ExtArgs["result"]["agent"]>;
|
|
@@ -2182,6 +2440,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
2182
2440
|
ownerId?: boolean;
|
|
2183
2441
|
budgetGroupId?: boolean;
|
|
2184
2442
|
memoryEnabled?: boolean;
|
|
2443
|
+
effort?: boolean;
|
|
2185
2444
|
owner?: boolean | Prisma.Agent$ownerArgs<ExtArgs>;
|
|
2186
2445
|
budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
|
|
2187
2446
|
}, ExtArgs["result"]["agent"]>;
|
|
@@ -2202,8 +2461,9 @@ export type AgentSelectScalar = {
|
|
|
2202
2461
|
ownerId?: boolean;
|
|
2203
2462
|
budgetGroupId?: boolean;
|
|
2204
2463
|
memoryEnabled?: boolean;
|
|
2464
|
+
effort?: boolean;
|
|
2205
2465
|
};
|
|
2206
|
-
export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "systemPrompt" | "model" | "budgetUsd" | "createdAt" | "updatedAt" | "kind" | "schedule" | "timezone" | "scheduleEnabled" | "lastScheduledAt" | "maxTurns" | "ownerId" | "budgetGroupId" | "memoryEnabled", ExtArgs["result"]["agent"]>;
|
|
2466
|
+
export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "systemPrompt" | "model" | "budgetUsd" | "createdAt" | "updatedAt" | "kind" | "schedule" | "timezone" | "scheduleEnabled" | "lastScheduledAt" | "maxTurns" | "ownerId" | "budgetGroupId" | "memoryEnabled" | "effort", ExtArgs["result"]["agent"]>;
|
|
2207
2467
|
export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2208
2468
|
runs?: boolean | Prisma.Agent$runsArgs<ExtArgs>;
|
|
2209
2469
|
codingProfile?: boolean | Prisma.Agent$codingProfileArgs<ExtArgs>;
|
|
@@ -2212,6 +2472,7 @@ export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
2212
2472
|
secrets?: boolean | Prisma.Agent$secretsArgs<ExtArgs>;
|
|
2213
2473
|
datastores?: boolean | Prisma.Agent$datastoresArgs<ExtArgs>;
|
|
2214
2474
|
webhooks?: boolean | Prisma.Agent$webhooksArgs<ExtArgs>;
|
|
2475
|
+
repositories?: boolean | Prisma.Agent$repositoriesArgs<ExtArgs>;
|
|
2215
2476
|
budgetGroup?: boolean | Prisma.Agent$budgetGroupArgs<ExtArgs>;
|
|
2216
2477
|
subAgentEdgesAsParent?: boolean | Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>;
|
|
2217
2478
|
subAgentEdgesAsChild?: boolean | Prisma.Agent$subAgentEdgesAsChildArgs<ExtArgs>;
|
|
@@ -2235,6 +2496,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2235
2496
|
secrets: Prisma.$AgentSecretPayload<ExtArgs>[];
|
|
2236
2497
|
datastores: Prisma.$AgentDatastorePayload<ExtArgs>[];
|
|
2237
2498
|
webhooks: Prisma.$WebhookPayload<ExtArgs>[];
|
|
2499
|
+
repositories: Prisma.$AgentRepositoryPayload<ExtArgs>[];
|
|
2238
2500
|
budgetGroup: Prisma.$BudgetGroupPayload<ExtArgs> | null;
|
|
2239
2501
|
/**
|
|
2240
2502
|
* Un-phased: sub-agent composition edges (see AgentSubAgent below). An
|
|
@@ -2270,6 +2532,12 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2270
2532
|
* created for it.
|
|
2271
2533
|
*/
|
|
2272
2534
|
memoryEnabled: boolean;
|
|
2535
|
+
/**
|
|
2536
|
+
* Un-phased: reasoning effort for native agents (low, medium, high,
|
|
2537
|
+
* xhigh, max). Validated against the model in code, not a DB enum.
|
|
2538
|
+
* Null = the provider's default.
|
|
2539
|
+
*/
|
|
2540
|
+
effort: string | null;
|
|
2273
2541
|
}, ExtArgs["result"]["agent"]>;
|
|
2274
2542
|
composites: {};
|
|
2275
2543
|
};
|
|
@@ -2606,6 +2874,7 @@ export interface Prisma__AgentClient<T, Null = never, ExtArgs extends runtime.Ty
|
|
|
2606
2874
|
secrets<T extends Prisma.Agent$secretsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$secretsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSecretPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2607
2875
|
datastores<T extends Prisma.Agent$datastoresArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$datastoresArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2608
2876
|
webhooks<T extends Prisma.Agent$webhooksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$webhooksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2877
|
+
repositories<T extends Prisma.Agent$repositoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$repositoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentRepositoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2609
2878
|
budgetGroup<T extends Prisma.Agent$budgetGroupArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$budgetGroupArgs<ExtArgs>>): Prisma.Prisma__BudgetGroupClient<runtime.Types.Result.GetResult<Prisma.$BudgetGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2610
2879
|
subAgentEdgesAsParent<T extends Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$subAgentEdgesAsParentArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSubAgentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2611
2880
|
subAgentEdgesAsChild<T extends Prisma.Agent$subAgentEdgesAsChildArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$subAgentEdgesAsChildArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSubAgentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -2650,6 +2919,7 @@ export interface AgentFieldRefs {
|
|
|
2650
2919
|
readonly ownerId: Prisma.FieldRef<"Agent", 'String'>;
|
|
2651
2920
|
readonly budgetGroupId: Prisma.FieldRef<"Agent", 'String'>;
|
|
2652
2921
|
readonly memoryEnabled: Prisma.FieldRef<"Agent", 'Boolean'>;
|
|
2922
|
+
readonly effort: Prisma.FieldRef<"Agent", 'String'>;
|
|
2653
2923
|
}
|
|
2654
2924
|
/**
|
|
2655
2925
|
* Agent findUnique
|
|
@@ -3184,6 +3454,29 @@ export type Agent$webhooksArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
3184
3454
|
skip?: number;
|
|
3185
3455
|
distinct?: Prisma.WebhookScalarFieldEnum | Prisma.WebhookScalarFieldEnum[];
|
|
3186
3456
|
};
|
|
3457
|
+
/**
|
|
3458
|
+
* Agent.repositories
|
|
3459
|
+
*/
|
|
3460
|
+
export type Agent$repositoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3461
|
+
/**
|
|
3462
|
+
* Select specific fields to fetch from the AgentRepository
|
|
3463
|
+
*/
|
|
3464
|
+
select?: Prisma.AgentRepositorySelect<ExtArgs> | null;
|
|
3465
|
+
/**
|
|
3466
|
+
* Omit specific fields from the AgentRepository
|
|
3467
|
+
*/
|
|
3468
|
+
omit?: Prisma.AgentRepositoryOmit<ExtArgs> | null;
|
|
3469
|
+
/**
|
|
3470
|
+
* Choose, which related nodes to fetch as well
|
|
3471
|
+
*/
|
|
3472
|
+
include?: Prisma.AgentRepositoryInclude<ExtArgs> | null;
|
|
3473
|
+
where?: Prisma.AgentRepositoryWhereInput;
|
|
3474
|
+
orderBy?: Prisma.AgentRepositoryOrderByWithRelationInput | Prisma.AgentRepositoryOrderByWithRelationInput[];
|
|
3475
|
+
cursor?: Prisma.AgentRepositoryWhereUniqueInput;
|
|
3476
|
+
take?: number;
|
|
3477
|
+
skip?: number;
|
|
3478
|
+
distinct?: Prisma.AgentRepositoryScalarFieldEnum | Prisma.AgentRepositoryScalarFieldEnum[];
|
|
3479
|
+
};
|
|
3187
3480
|
/**
|
|
3188
3481
|
* Agent.budgetGroup
|
|
3189
3482
|
*/
|