@wardby/cli 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +5 -5
- package/README.md +6 -1
- package/deploy/local/docker-compose.quickstart-coding.yml +6 -0
- package/dist/claude-coding-worker/driver.d.ts +12 -0
- package/dist/claude-coding-worker/driver.js +29 -7
- package/dist/claude-coding-worker/main.js +5 -1
- package/dist/claude-coding-worker/sdk.js +17 -1
- package/dist/claude-plugin/command.d.ts +61 -0
- package/dist/claude-plugin/command.js +376 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +2 -1
- package/dist/cli.js +47 -3
- package/dist/coding/code-host.d.ts +16 -0
- package/dist/coding/code-host.js +60 -0
- package/dist/coding/mcp-token.d.ts +12 -0
- package/dist/coding/mcp-token.js +26 -0
- package/dist/coding/protocol.js +2 -0
- package/dist/coding/redact.js +6 -1
- package/dist/coding/transcript/recorder.d.ts +5 -4
- package/dist/coding/transcript/recorder.js +1 -1
- package/dist/coding-worker/debug-trace.d.ts +3 -1
- package/dist/coding-worker/debug-trace.js +4 -2
- package/dist/coding-worker/driver.js +8 -1
- package/dist/coding-worker/main.js +5 -1
- package/dist/coding-worker/mcp-config.d.ts +27 -0
- package/dist/coding-worker/mcp-config.js +32 -0
- package/dist/coding-worker/sdk.d.ts +36 -0
- package/dist/coding-worker/sdk.js +28 -1
- package/dist/coding-worker/types.d.ts +4 -0
- package/dist/config/mcp-call-limit.d.ts +8 -0
- package/dist/config/mcp-call-limit.js +18 -0
- package/dist/config/mcp-servers.d.ts +8 -0
- package/dist/config/mcp-servers.js +12 -0
- package/dist/config/test-simulators.d.ts +10 -0
- package/dist/config/test-simulators.js +28 -0
- package/dist/config/tool-timeout.d.ts +1 -0
- package/dist/config/tool-timeout.js +18 -0
- package/dist/core/coding-mcp.d.ts +36 -0
- package/dist/core/coding-mcp.js +253 -0
- package/dist/core/coding-repository.d.ts +46 -0
- package/dist/core/coding-repository.js +92 -0
- package/dist/core/delegation-slots.d.ts +27 -0
- package/dist/core/delegation-slots.js +44 -0
- package/dist/core/dispatch.d.ts +6 -2
- package/dist/core/dispatch.js +36 -11
- package/dist/core/error-code.js +1 -0
- package/dist/core/grants.d.ts +28 -3
- package/dist/core/grants.js +46 -4
- package/dist/core/host-events.js +7 -3
- package/dist/core/host-status.js +2 -2
- package/dist/core/issue-status.js +4 -3
- package/dist/core/mark-ready.d.ts +1 -1
- package/dist/core/mark-ready.js +1 -1
- package/dist/core/mcp-client/client.d.ts +47 -0
- package/dist/core/mcp-client/client.js +141 -0
- package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
- package/dist/core/mcp-client/jsonrpc.js +54 -0
- package/dist/core/mcp-client/results.d.ts +13 -0
- package/dist/core/mcp-client/results.js +42 -0
- package/dist/core/mcp-servers.d.ts +90 -0
- package/dist/core/mcp-servers.js +230 -0
- package/dist/core/mcp-tools.d.ts +108 -0
- package/dist/core/mcp-tools.js +287 -0
- package/dist/core/merge-order-check.js +38 -19
- package/dist/core/notification-dispatcher.js +2 -1
- package/dist/core/related-pull-requests.js +26 -10
- package/dist/core/review-fix.js +2 -2
- package/dist/core/review-host-tools.js +3 -1
- package/dist/core/runner.d.ts +66 -16
- package/dist/core/runner.js +281 -73
- package/dist/core/secret-broker-config.d.ts +2 -0
- package/dist/core/secret-broker-config.js +1 -1
- package/dist/core/secret-guard.d.ts +5 -2
- package/dist/core/secret-guard.js +22 -7
- package/dist/core/secrets.d.ts +11 -1
- package/dist/core/secrets.js +27 -1
- package/dist/core/serializable-retry.d.ts +18 -0
- package/dist/core/serializable-retry.js +43 -0
- package/dist/core/tool-admin.d.ts +5 -1
- package/dist/core/tool-admin.js +7 -2
- package/dist/core/tool-names.d.ts +13 -0
- package/dist/core/tool-names.js +20 -0
- package/dist/core/webhooks.d.ts +4 -0
- package/dist/core/webhooks.js +68 -49
- package/dist/core/workflow-run-events.js +2 -1
- package/dist/generated/prisma/browser.d.ts +31 -0
- package/dist/generated/prisma/client.d.ts +31 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +50 -50
- package/dist/generated/prisma/internal/class.d.ts +66 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +530 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +75 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +79 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +75 -2
- package/dist/generated/prisma/models/Agent.d.ts +271 -0
- package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
- package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +40 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +0 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +119 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +76 -1
- package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
- package/dist/generated/prisma/models/HostProvider.js +1 -0
- package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
- package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
- package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
- package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
- package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
- package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
- package/dist/generated/prisma/models/McpServer.js +1 -0
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +39 -1
- package/dist/generated/prisma/models/Principal.d.ts +167 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
- package/dist/generated/prisma/models/Secret.d.ts +387 -0
- package/dist/generated/prisma/models/Tool.d.ts +223 -1
- package/dist/generated/prisma/models.d.ts +6 -0
- package/dist/help/search.js +12 -3
- package/dist/help-index.json +719 -47
- package/dist/import/create.js +16 -1
- package/dist/import/neutral-schema.d.ts +1 -0
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/grants-cli.d.ts +6 -4
- package/dist/mcp/auth/grants-cli.js +42 -3
- package/dist/mcp/auth/resource-server.d.ts +3 -1
- package/dist/mcp/auth/resource-server.js +17 -2
- package/dist/mcp/context.d.ts +3 -0
- package/dist/mcp/index.js +11 -0
- package/dist/mcp/tools/agents.js +100 -15
- package/dist/mcp/tools/grants.js +66 -28
- package/dist/mcp/tools/host-providers.d.ts +2 -0
- package/dist/mcp/tools/host-providers.js +215 -0
- package/dist/mcp/tools/mcp-servers.d.ts +26 -0
- package/dist/mcp/tools/mcp-servers.js +481 -0
- package/dist/mcp/tools/repositories.js +50 -10
- package/dist/mcp/tools/runs.js +178 -18
- package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
- package/dist/mcp/tools/secret-elicitation.js +25 -2
- package/dist/mcp/tools/secrets.js +38 -4
- package/dist/mcp/tools/tools.d.ts +6 -4
- package/dist/mcp/tools/tools.js +40 -8
- package/dist/mcp/tools/trigger.js +28 -6
- package/dist/mcp/transport/http-limits.d.ts +2 -0
- package/dist/mcp/transport/http-limits.js +6 -2
- package/dist/mcp/webhooks/ingress.js +10 -0
- package/dist/native-worker/gateway-server.d.ts +14 -0
- package/dist/native-worker/gateway-server.js +28 -7
- package/dist/native-worker/gateway.d.ts +2 -0
- package/dist/native-worker/gateway.js +5 -1
- package/dist/native-worker/http-server.d.ts +4 -0
- package/dist/native-worker/http-server.js +51 -0
- package/dist/native-worker/ledger.d.ts +6 -2
- package/dist/native-worker/ledger.js +5 -4
- package/dist/native-worker/protocol.d.ts +1 -0
- package/dist/native-worker/protocol.js +4 -1
- package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
- package/dist/providers/coding-proxy/capability-hash.js +5 -0
- package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
- package/dist/providers/coding-proxy/mcp-route.js +166 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +2 -0
- package/dist/providers/coding-proxy/memory-ledger.js +15 -0
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -0
- package/dist/providers/coding-proxy/prisma-ledger.js +30 -2
- package/dist/providers/coding-proxy/proxy.d.ts +7 -1
- package/dist/providers/coding-proxy/proxy.js +134 -34
- package/dist/providers/coding-proxy/runtime.d.ts +6 -0
- package/dist/providers/coding-proxy/runtime.js +32 -1
- package/dist/providers/coding-proxy/server.d.ts +3 -0
- package/dist/providers/coding-proxy/server.js +10 -0
- package/dist/providers/coding-proxy/types.d.ts +13 -0
- package/dist/providers/executor/composition.js +5 -0
- package/dist/providers/executor/container.d.ts +33 -1
- package/dist/providers/executor/container.js +76 -7
- package/dist/providers/host-tools/invoke.d.ts +37 -0
- package/dist/providers/host-tools/invoke.js +117 -0
- package/dist/providers/host-tools/operations.d.ts +65 -0
- package/dist/providers/host-tools/operations.js +149 -0
- package/dist/providers/host-tools/registry.d.ts +79 -0
- package/dist/providers/host-tools/registry.js +362 -0
- package/dist/providers/host-tools/request-guard.d.ts +17 -0
- package/dist/providers/host-tools/request-guard.js +99 -0
- package/dist/providers/host-tools/self-test.d.ts +64 -0
- package/dist/providers/host-tools/self-test.js +142 -0
- package/dist/providers/jobs/docker-isolation.d.ts +2 -2
- package/dist/providers/jobs/docker-isolation.js +30 -8
- package/dist/providers/jobs/docker.d.ts +8 -0
- package/dist/providers/jobs/docker.js +33 -9
- package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-isolation.js +15 -2
- package/dist/providers/jobs/kubernetes.d.ts +5 -0
- package/dist/providers/jobs/kubernetes.js +6 -1
- package/dist/providers/jobs/types.d.ts +6 -0
- package/dist/providers/review-host/types.d.ts +6 -4
- package/dist/providers/review-host/types.js +1 -1
- package/dist/providers/vcs/git.d.ts +6 -2
- package/dist/providers/vcs/git.js +15 -4
- package/dist/providers/vcs/github.d.ts +2 -71
- package/dist/providers/vcs/github.js +8 -11
- package/dist/providers/vcs/index.d.ts +1 -1
- package/dist/providers/vcs/index.js +1 -1
- package/dist/providers/vcs/remote.d.ts +4 -0
- package/dist/providers/vcs/remote.js +7 -1
- package/dist/providers/vcs/routing.d.ts +12 -6
- package/dist/providers/vcs/routing.js +21 -6
- package/dist/providers/vcs/types.d.ts +71 -3
- package/dist/quickstart/index.d.ts +5 -0
- package/dist/quickstart/index.js +21 -0
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/eval-core.d.ts +12 -2
- package/dist/sandbox/eval-core.js +20 -4
- package/dist/sandbox/host-functions.d.ts +4 -0
- package/dist/sandbox/host-functions.js +7 -2
- package/dist/sandbox/limits.d.ts +4 -1
- package/dist/sandbox/limits.js +4 -1
- package/dist/sandbox/run-in-sandbox.d.ts +6 -0
- package/dist/sandbox/run-in-sandbox.js +14 -2
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +1 -1
- package/dist/sandbox/secret-broker.d.ts +1 -0
- package/dist/sandbox/secret-broker.js +1 -1
- package/dist/sandbox/tool-timeout.d.ts +32 -0
- package/dist/sandbox/tool-timeout.js +52 -0
- package/dist/sandbox/user-tool.d.ts +8 -1
- package/dist/sandbox/user-tool.js +9 -3
- package/dist/viewer/graph.js +2 -1
- package/dist/wardby-bin.js +5 -0
- package/docs/README.md +11 -1
- package/docs/agent-recipes.md +37 -4
- package/docs/architecture-runtime.md +1 -1
- package/docs/claude-code-plugin.md +164 -0
- package/docs/code-review-agents.md +6 -0
- package/docs/coding-agent-setup.md +77 -1
- package/docs/coding-worker-byo-images.md +4 -2
- package/docs/coding-worker-isolation.md +78 -7
- package/docs/debugging-agent-runs.md +242 -0
- package/docs/getting-started-gke.md +5 -4
- package/docs/getting-started-identity-provider.md +43 -37
- package/docs/getting-started.md +8 -0
- package/docs/host-providers.md +294 -0
- package/docs/mcp-servers.md +254 -0
- package/docs/native-sandbox.md +25 -9
- package/docs/security-deployment.md +110 -31
- package/docs/tool-secrets.md +3 -0
- package/docs/viewer-api.md +6 -0
- package/docs/viewer-api.openapi.yml +1 -1
- package/help/admin-viewer.md +4 -0
- package/help/agent-recipes.md +33 -2
- package/help/brokered-secrets.md +3 -0
- package/help/build-claude-code-image.md +1 -1
- package/help/claude-code-run-pane.md +40 -0
- package/help/errors/coding-mcp-pins-unavailable.md +35 -0
- package/help/errors/database-auth-invalid.md +1 -1
- package/help/errors/host-provider-error.md +40 -0
- package/help/errors/host-tool-failed.md +36 -0
- package/help/errors/mcp-call-limit.md +22 -0
- package/help/errors/mcp-call-timeout.md +22 -0
- package/help/errors/mcp-server-auth-failed.md +22 -0
- package/help/errors/mcp-server-credentials-unavailable.md +45 -0
- package/help/errors/mcp-server-error.md +28 -0
- package/help/errors/mcp-server-unreachable.md +22 -0
- package/help/errors/mcp-servers-off.md +21 -0
- package/help/errors/mcp-tool-not-allowed.md +26 -0
- package/help/errors/mcp-tool-removed.md +22 -0
- package/help/errors/mcp-unavailable.md +25 -0
- package/help/errors/native-sandbox-capacity.md +1 -1
- package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
- package/help/errors/native-sandbox-docker-failed.md +1 -1
- package/help/errors/native-sandbox-gateway-error.md +1 -1
- package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
- package/help/errors/native-sandbox-image-not-pinned.md +1 -1
- package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
- package/help/errors/native-sandbox-network-unenforced.md +1 -1
- package/help/errors/native-sandbox-requires-catalog.md +1 -1
- package/help/errors/native-sandbox-unavailable.md +1 -1
- package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
- package/help/errors/native-sandbox-worker-exited.md +1 -1
- package/help/errors/native-sandbox-worker-lost.md +1 -1
- package/help/errors/native-sandbox-worker-unready.md +1 -1
- package/help/errors/repository-not-listed.md +36 -0
- package/help/errors/repository-required.md +36 -0
- package/help/errors/tool-timeout.md +38 -0
- package/help/host-providers.md +40 -0
- package/help/identity-and-access.md +4 -1
- package/help/mcp-servers.md +73 -0
- package/help/mcp.md +7 -2
- package/help/native-capabilities.md +27 -1
- package/help/native-sandbox.md +1 -1
- package/help/operating-agents.md +16 -0
- package/help/related-pull-requests.md +7 -3
- package/help/repo-instructions-and-skills.md +3 -1
- package/help/resume-runs-locally.md +3 -0
- package/help/stop-run.md +1 -1
- package/help/troubleshooting/coding-workers.md +9 -1
- package/help/troubleshooting/debugging-agent-runs.md +29 -0
- package/package.json +2 -1
- package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
- package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
- package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
- package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
- package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
- package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
- package/prisma/schema.prisma +159 -14
- package/scripts/git-askpass.sh +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -47,6 +47,7 @@ export type NativeGatewayCallMinAggregateOutputType = {
|
|
|
47
47
|
cacheWriteTokens: number | null;
|
|
48
48
|
childRunId: string | null;
|
|
49
49
|
childAgentId: string | null;
|
|
50
|
+
childRepository: string | null;
|
|
50
51
|
createdAt: Date | null;
|
|
51
52
|
updatedAt: Date | null;
|
|
52
53
|
completedAt: Date | null;
|
|
@@ -66,6 +67,7 @@ export type NativeGatewayCallMaxAggregateOutputType = {
|
|
|
66
67
|
cacheWriteTokens: number | null;
|
|
67
68
|
childRunId: string | null;
|
|
68
69
|
childAgentId: string | null;
|
|
70
|
+
childRepository: string | null;
|
|
69
71
|
createdAt: Date | null;
|
|
70
72
|
updatedAt: Date | null;
|
|
71
73
|
completedAt: Date | null;
|
|
@@ -86,6 +88,7 @@ export type NativeGatewayCallCountAggregateOutputType = {
|
|
|
86
88
|
result: number;
|
|
87
89
|
childRunId: number;
|
|
88
90
|
childAgentId: number;
|
|
91
|
+
childRepository: number;
|
|
89
92
|
createdAt: number;
|
|
90
93
|
updatedAt: number;
|
|
91
94
|
completedAt: number;
|
|
@@ -122,6 +125,7 @@ export type NativeGatewayCallMinAggregateInputType = {
|
|
|
122
125
|
cacheWriteTokens?: true;
|
|
123
126
|
childRunId?: true;
|
|
124
127
|
childAgentId?: true;
|
|
128
|
+
childRepository?: true;
|
|
125
129
|
createdAt?: true;
|
|
126
130
|
updatedAt?: true;
|
|
127
131
|
completedAt?: true;
|
|
@@ -141,6 +145,7 @@ export type NativeGatewayCallMaxAggregateInputType = {
|
|
|
141
145
|
cacheWriteTokens?: true;
|
|
142
146
|
childRunId?: true;
|
|
143
147
|
childAgentId?: true;
|
|
148
|
+
childRepository?: true;
|
|
144
149
|
createdAt?: true;
|
|
145
150
|
updatedAt?: true;
|
|
146
151
|
completedAt?: true;
|
|
@@ -161,6 +166,7 @@ export type NativeGatewayCallCountAggregateInputType = {
|
|
|
161
166
|
result?: true;
|
|
162
167
|
childRunId?: true;
|
|
163
168
|
childAgentId?: true;
|
|
169
|
+
childRepository?: true;
|
|
164
170
|
createdAt?: true;
|
|
165
171
|
updatedAt?: true;
|
|
166
172
|
completedAt?: true;
|
|
@@ -258,6 +264,7 @@ export type NativeGatewayCallGroupByOutputType = {
|
|
|
258
264
|
result: runtime.JsonValue | null;
|
|
259
265
|
childRunId: string | null;
|
|
260
266
|
childAgentId: string | null;
|
|
267
|
+
childRepository: string | null;
|
|
261
268
|
createdAt: Date;
|
|
262
269
|
updatedAt: Date;
|
|
263
270
|
completedAt: Date | null;
|
|
@@ -289,6 +296,7 @@ export type NativeGatewayCallWhereInput = {
|
|
|
289
296
|
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
290
297
|
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
291
298
|
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
299
|
+
childRepository?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
292
300
|
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
293
301
|
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
294
302
|
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
@@ -310,6 +318,7 @@ export type NativeGatewayCallOrderByWithRelationInput = {
|
|
|
310
318
|
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
311
319
|
childRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
312
320
|
childAgentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
321
|
+
childRepository?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
313
322
|
createdAt?: Prisma.SortOrder;
|
|
314
323
|
updatedAt?: Prisma.SortOrder;
|
|
315
324
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -335,6 +344,7 @@ export type NativeGatewayCallWhereUniqueInput = Prisma.AtLeast<{
|
|
|
335
344
|
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
336
345
|
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
337
346
|
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
347
|
+
childRepository?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
338
348
|
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
339
349
|
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
340
350
|
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
@@ -356,6 +366,7 @@ export type NativeGatewayCallOrderByWithAggregationInput = {
|
|
|
356
366
|
result?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
357
367
|
childRunId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
358
368
|
childAgentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
369
|
+
childRepository?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
359
370
|
createdAt?: Prisma.SortOrder;
|
|
360
371
|
updatedAt?: Prisma.SortOrder;
|
|
361
372
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -384,6 +395,7 @@ export type NativeGatewayCallScalarWhereWithAggregatesInput = {
|
|
|
384
395
|
result?: Prisma.JsonNullableWithAggregatesFilter<"NativeGatewayCall">;
|
|
385
396
|
childRunId?: Prisma.StringNullableWithAggregatesFilter<"NativeGatewayCall"> | string | null;
|
|
386
397
|
childAgentId?: Prisma.StringNullableWithAggregatesFilter<"NativeGatewayCall"> | string | null;
|
|
398
|
+
childRepository?: Prisma.StringNullableWithAggregatesFilter<"NativeGatewayCall"> | string | null;
|
|
387
399
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"NativeGatewayCall"> | Date | string;
|
|
388
400
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"NativeGatewayCall"> | Date | string;
|
|
389
401
|
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"NativeGatewayCall"> | Date | string | null;
|
|
@@ -403,6 +415,7 @@ export type NativeGatewayCallCreateInput = {
|
|
|
403
415
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
404
416
|
childRunId?: string | null;
|
|
405
417
|
childAgentId?: string | null;
|
|
418
|
+
childRepository?: string | null;
|
|
406
419
|
createdAt?: Date | string;
|
|
407
420
|
updatedAt?: Date | string;
|
|
408
421
|
completedAt?: Date | string | null;
|
|
@@ -424,6 +437,7 @@ export type NativeGatewayCallUncheckedCreateInput = {
|
|
|
424
437
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
425
438
|
childRunId?: string | null;
|
|
426
439
|
childAgentId?: string | null;
|
|
440
|
+
childRepository?: string | null;
|
|
427
441
|
createdAt?: Date | string;
|
|
428
442
|
updatedAt?: Date | string;
|
|
429
443
|
completedAt?: Date | string | null;
|
|
@@ -443,6 +457,7 @@ export type NativeGatewayCallUpdateInput = {
|
|
|
443
457
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
444
458
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
445
459
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
460
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
461
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
447
462
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
448
463
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -464,6 +479,7 @@ export type NativeGatewayCallUncheckedUpdateInput = {
|
|
|
464
479
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
465
480
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
466
481
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
482
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
483
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
484
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
469
485
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -484,6 +500,7 @@ export type NativeGatewayCallCreateManyInput = {
|
|
|
484
500
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
485
501
|
childRunId?: string | null;
|
|
486
502
|
childAgentId?: string | null;
|
|
503
|
+
childRepository?: string | null;
|
|
487
504
|
createdAt?: Date | string;
|
|
488
505
|
updatedAt?: Date | string;
|
|
489
506
|
completedAt?: Date | string | null;
|
|
@@ -503,6 +520,7 @@ export type NativeGatewayCallUpdateManyMutationInput = {
|
|
|
503
520
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
504
521
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
505
522
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
523
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
524
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
507
525
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
508
526
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -523,6 +541,7 @@ export type NativeGatewayCallUncheckedUpdateManyInput = {
|
|
|
523
541
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
524
542
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
525
543
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
544
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
526
545
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
527
546
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
528
547
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -555,6 +574,7 @@ export type NativeGatewayCallCountOrderByAggregateInput = {
|
|
|
555
574
|
result?: Prisma.SortOrder;
|
|
556
575
|
childRunId?: Prisma.SortOrder;
|
|
557
576
|
childAgentId?: Prisma.SortOrder;
|
|
577
|
+
childRepository?: Prisma.SortOrder;
|
|
558
578
|
createdAt?: Prisma.SortOrder;
|
|
559
579
|
updatedAt?: Prisma.SortOrder;
|
|
560
580
|
completedAt?: Prisma.SortOrder;
|
|
@@ -582,6 +602,7 @@ export type NativeGatewayCallMaxOrderByAggregateInput = {
|
|
|
582
602
|
cacheWriteTokens?: Prisma.SortOrder;
|
|
583
603
|
childRunId?: Prisma.SortOrder;
|
|
584
604
|
childAgentId?: Prisma.SortOrder;
|
|
605
|
+
childRepository?: Prisma.SortOrder;
|
|
585
606
|
createdAt?: Prisma.SortOrder;
|
|
586
607
|
updatedAt?: Prisma.SortOrder;
|
|
587
608
|
completedAt?: Prisma.SortOrder;
|
|
@@ -601,6 +622,7 @@ export type NativeGatewayCallMinOrderByAggregateInput = {
|
|
|
601
622
|
cacheWriteTokens?: Prisma.SortOrder;
|
|
602
623
|
childRunId?: Prisma.SortOrder;
|
|
603
624
|
childAgentId?: Prisma.SortOrder;
|
|
625
|
+
childRepository?: Prisma.SortOrder;
|
|
604
626
|
createdAt?: Prisma.SortOrder;
|
|
605
627
|
updatedAt?: Prisma.SortOrder;
|
|
606
628
|
completedAt?: Prisma.SortOrder;
|
|
@@ -669,6 +691,7 @@ export type NativeGatewayCallCreateWithoutSessionInput = {
|
|
|
669
691
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
670
692
|
childRunId?: string | null;
|
|
671
693
|
childAgentId?: string | null;
|
|
694
|
+
childRepository?: string | null;
|
|
672
695
|
createdAt?: Date | string;
|
|
673
696
|
updatedAt?: Date | string;
|
|
674
697
|
completedAt?: Date | string | null;
|
|
@@ -688,6 +711,7 @@ export type NativeGatewayCallUncheckedCreateWithoutSessionInput = {
|
|
|
688
711
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
689
712
|
childRunId?: string | null;
|
|
690
713
|
childAgentId?: string | null;
|
|
714
|
+
childRepository?: string | null;
|
|
691
715
|
createdAt?: Date | string;
|
|
692
716
|
updatedAt?: Date | string;
|
|
693
717
|
completedAt?: Date | string | null;
|
|
@@ -732,6 +756,7 @@ export type NativeGatewayCallScalarWhereInput = {
|
|
|
732
756
|
result?: Prisma.JsonNullableFilter<"NativeGatewayCall">;
|
|
733
757
|
childRunId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
734
758
|
childAgentId?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
759
|
+
childRepository?: Prisma.StringNullableFilter<"NativeGatewayCall"> | string | null;
|
|
735
760
|
createdAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
736
761
|
updatedAt?: Prisma.DateTimeFilter<"NativeGatewayCall"> | Date | string;
|
|
737
762
|
completedAt?: Prisma.DateTimeNullableFilter<"NativeGatewayCall"> | Date | string | null;
|
|
@@ -751,6 +776,7 @@ export type NativeGatewayCallCreateManySessionInput = {
|
|
|
751
776
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
752
777
|
childRunId?: string | null;
|
|
753
778
|
childAgentId?: string | null;
|
|
779
|
+
childRepository?: string | null;
|
|
754
780
|
createdAt?: Date | string;
|
|
755
781
|
updatedAt?: Date | string;
|
|
756
782
|
completedAt?: Date | string | null;
|
|
@@ -770,6 +796,7 @@ export type NativeGatewayCallUpdateWithoutSessionInput = {
|
|
|
770
796
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
771
797
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
772
798
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
799
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
773
800
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
774
801
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
775
802
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -789,6 +816,7 @@ export type NativeGatewayCallUncheckedUpdateWithoutSessionInput = {
|
|
|
789
816
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
790
817
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
791
818
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
819
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
792
820
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
793
821
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
794
822
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -808,6 +836,7 @@ export type NativeGatewayCallUncheckedUpdateManyWithoutSessionInput = {
|
|
|
808
836
|
result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
809
837
|
childRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
810
838
|
childAgentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
839
|
+
childRepository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
811
840
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
812
841
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
813
842
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -828,6 +857,7 @@ export type NativeGatewayCallSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
828
857
|
result?: boolean;
|
|
829
858
|
childRunId?: boolean;
|
|
830
859
|
childAgentId?: boolean;
|
|
860
|
+
childRepository?: boolean;
|
|
831
861
|
createdAt?: boolean;
|
|
832
862
|
updatedAt?: boolean;
|
|
833
863
|
completedAt?: boolean;
|
|
@@ -849,6 +879,7 @@ export type NativeGatewayCallSelectCreateManyAndReturn<ExtArgs extends runtime.T
|
|
|
849
879
|
result?: boolean;
|
|
850
880
|
childRunId?: boolean;
|
|
851
881
|
childAgentId?: boolean;
|
|
882
|
+
childRepository?: boolean;
|
|
852
883
|
createdAt?: boolean;
|
|
853
884
|
updatedAt?: boolean;
|
|
854
885
|
completedAt?: boolean;
|
|
@@ -870,6 +901,7 @@ export type NativeGatewayCallSelectUpdateManyAndReturn<ExtArgs extends runtime.T
|
|
|
870
901
|
result?: boolean;
|
|
871
902
|
childRunId?: boolean;
|
|
872
903
|
childAgentId?: boolean;
|
|
904
|
+
childRepository?: boolean;
|
|
873
905
|
createdAt?: boolean;
|
|
874
906
|
updatedAt?: boolean;
|
|
875
907
|
completedAt?: boolean;
|
|
@@ -891,11 +923,12 @@ export type NativeGatewayCallSelectScalar = {
|
|
|
891
923
|
result?: boolean;
|
|
892
924
|
childRunId?: boolean;
|
|
893
925
|
childAgentId?: boolean;
|
|
926
|
+
childRepository?: boolean;
|
|
894
927
|
createdAt?: boolean;
|
|
895
928
|
updatedAt?: boolean;
|
|
896
929
|
completedAt?: boolean;
|
|
897
930
|
};
|
|
898
|
-
export type NativeGatewayCallOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "callId" | "method" | "status" | "reservationUsd" | "actualCostUsd" | "costEstimated" | "inputTokens" | "outputTokens" | "cachedInputTokens" | "cacheWriteTokens" | "result" | "childRunId" | "childAgentId" | "createdAt" | "updatedAt" | "completedAt", ExtArgs["result"]["nativeGatewayCall"]>;
|
|
931
|
+
export type NativeGatewayCallOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "callId" | "method" | "status" | "reservationUsd" | "actualCostUsd" | "costEstimated" | "inputTokens" | "outputTokens" | "cachedInputTokens" | "cacheWriteTokens" | "result" | "childRunId" | "childAgentId" | "childRepository" | "createdAt" | "updatedAt" | "completedAt", ExtArgs["result"]["nativeGatewayCall"]>;
|
|
899
932
|
export type NativeGatewayCallInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
900
933
|
session?: boolean | Prisma.NativeGatewaySessionDefaultArgs<ExtArgs>;
|
|
901
934
|
};
|
|
@@ -935,6 +968,10 @@ export type $NativeGatewayCallPayload<ExtArgs extends runtime.Types.Extensions.I
|
|
|
935
968
|
* A delegation's sub-agent, recorded at admission (it holds a place while waiting for budget).
|
|
936
969
|
*/
|
|
937
970
|
childAgentId: string | null;
|
|
971
|
+
/**
|
|
972
|
+
* A coding delegation's repository, recorded with childAgentId. Null = the child's default.
|
|
973
|
+
*/
|
|
974
|
+
childRepository: string | null;
|
|
938
975
|
createdAt: Date;
|
|
939
976
|
updatedAt: Date;
|
|
940
977
|
completedAt: Date | null;
|
|
@@ -1308,6 +1345,7 @@ export interface NativeGatewayCallFieldRefs {
|
|
|
1308
1345
|
readonly result: Prisma.FieldRef<"NativeGatewayCall", 'Json'>;
|
|
1309
1346
|
readonly childRunId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1310
1347
|
readonly childAgentId: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1348
|
+
readonly childRepository: Prisma.FieldRef<"NativeGatewayCall", 'String'>;
|
|
1311
1349
|
readonly createdAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|
|
1312
1350
|
readonly updatedAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|
|
1313
1351
|
readonly completedAt: Prisma.FieldRef<"NativeGatewayCall", 'DateTime'>;
|