@wardby/cli 0.2.0 → 0.2.1
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/README.md +142 -67
- package/dist/claude-coding-worker/driver.d.ts +1 -0
- package/dist/claude-coding-worker/driver.js +4 -1
- package/dist/claude-coding-worker/main.js +3 -2
- package/dist/coding/protocol.d.ts +28 -3
- package/dist/coding/protocol.js +53 -2
- package/dist/coding-worker/artifact.d.ts +12 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/driver.d.ts +1 -0
- package/dist/coding-worker/driver.js +4 -1
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +18 -0
- package/dist/coding-worker/main.js +3 -2
- package/dist/core/budget-groups.d.ts +1 -1
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/db.d.ts +36 -2
- package/dist/core/db.js +69 -2
- package/dist/core/dispatch.d.ts +16 -1
- package/dist/core/dispatch.js +33 -5
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/reconciler.d.ts +1 -1
- package/dist/core/runner.d.ts +1 -1
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +1 -1
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- package/dist/core/webhooks.d.ts +1 -1
- package/dist/generated/prisma/browser.d.ts +228 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +247 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +809 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +53 -0
- package/dist/generated/prisma/enums.js +54 -0
- package/dist/generated/prisma/internal/class.d.ts +462 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +3325 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +455 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +449 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +426 -0
- package/dist/generated/prisma/models/Agent.d.ts +3267 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1309 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1645 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1430 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1505 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +2402 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +1790 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2281 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1478 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +32 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/import/create.d.ts +1 -1
- package/dist/import/create.js +1 -1
- package/dist/import/index.d.ts +1 -1
- package/dist/mcp/auth/ownership.d.ts +19 -19
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/resource-server.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +20 -6
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/credentials.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +1 -1
- package/dist/mcp/context.d.ts +1 -1
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +1 -1
- package/dist/mcp/tools/datastore.js +1 -1
- package/dist/mcp/tools/scheduling.js +1 -1
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/subagents.js +1 -1
- package/dist/mcp/tools/tools.js +1 -1
- package/dist/mcp/transport/streamable-http.d.ts +1 -1
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/index.d.ts +1 -1
- package/dist/providers/auth/self-hosted.d.ts +2 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -1
- package/dist/providers/coding-proxy/runtime.d.ts +1 -1
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/executor/build.d.ts +1 -1
- package/dist/providers/executor/composition.d.ts +1 -1
- package/dist/providers/executor/container.d.ts +1 -1
- package/dist/providers/executor/container.js +10 -3
- package/dist/providers/executor/dbos.d.ts +1 -1
- package/dist/providers/jobs/docker.d.ts +11 -0
- package/dist/providers/jobs/docker.js +34 -18
- package/dist/providers/jobs/kubernetes.js +5 -10
- package/dist/providers/jobs/types.d.ts +2 -0
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/vcs/git.js +2 -1
- package/dist/quickstart/index.js +22 -31
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/package.json +20 -10
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/schema.prisma +10 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const AgentKind: {
|
|
2
|
+
readonly native: "native";
|
|
3
|
+
readonly coding: "coding";
|
|
4
|
+
};
|
|
5
|
+
export type AgentKind = (typeof AgentKind)[keyof typeof AgentKind];
|
|
6
|
+
export declare const RunStatus: {
|
|
7
|
+
readonly pending: "pending";
|
|
8
|
+
readonly running: "running";
|
|
9
|
+
readonly succeeded: "succeeded";
|
|
10
|
+
readonly failed: "failed";
|
|
11
|
+
readonly refused: "refused";
|
|
12
|
+
readonly lost: "lost";
|
|
13
|
+
readonly budget_exhausted: "budget_exhausted";
|
|
14
|
+
readonly cancelled: "cancelled";
|
|
15
|
+
};
|
|
16
|
+
export type RunStatus = (typeof RunStatus)[keyof typeof RunStatus];
|
|
17
|
+
export declare const RunTrigger: {
|
|
18
|
+
readonly manual: "manual";
|
|
19
|
+
readonly scheduled: "scheduled";
|
|
20
|
+
readonly webhook: "webhook";
|
|
21
|
+
readonly subagent: "subagent";
|
|
22
|
+
};
|
|
23
|
+
export type RunTrigger = (typeof RunTrigger)[keyof typeof RunTrigger];
|
|
24
|
+
export declare const CodingProxySessionStatus: {
|
|
25
|
+
readonly active: "active";
|
|
26
|
+
readonly cancelled: "cancelled";
|
|
27
|
+
};
|
|
28
|
+
export type CodingProxySessionStatus = (typeof CodingProxySessionStatus)[keyof typeof CodingProxySessionStatus];
|
|
29
|
+
export declare const CodingProxyRequestStatus: {
|
|
30
|
+
readonly reserved: "reserved";
|
|
31
|
+
readonly completed: "completed";
|
|
32
|
+
readonly released: "released";
|
|
33
|
+
readonly uncertain: "uncertain";
|
|
34
|
+
};
|
|
35
|
+
export type CodingProxyRequestStatus = (typeof CodingProxyRequestStatus)[keyof typeof CodingProxyRequestStatus];
|
|
36
|
+
export declare const TaskKind: {
|
|
37
|
+
readonly run: "run";
|
|
38
|
+
readonly tool_authoring: "tool_authoring";
|
|
39
|
+
};
|
|
40
|
+
export type TaskKind = (typeof TaskKind)[keyof typeof TaskKind];
|
|
41
|
+
export declare const TaskStatus: {
|
|
42
|
+
readonly working: "working";
|
|
43
|
+
readonly input_required: "input_required";
|
|
44
|
+
readonly completed: "completed";
|
|
45
|
+
readonly failed: "failed";
|
|
46
|
+
readonly cancelled: "cancelled";
|
|
47
|
+
};
|
|
48
|
+
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
|
|
49
|
+
export declare const WebhookStatus: {
|
|
50
|
+
readonly enabled: "enabled";
|
|
51
|
+
readonly disabled: "disabled";
|
|
52
|
+
};
|
|
53
|
+
export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// biome-ignore-all lint: generated file
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/*
|
|
6
|
+
* This file exports all enum related types from the schema.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
export const AgentKind = {
|
|
11
|
+
native: 'native',
|
|
12
|
+
coding: 'coding'
|
|
13
|
+
};
|
|
14
|
+
export const RunStatus = {
|
|
15
|
+
pending: 'pending',
|
|
16
|
+
running: 'running',
|
|
17
|
+
succeeded: 'succeeded',
|
|
18
|
+
failed: 'failed',
|
|
19
|
+
refused: 'refused',
|
|
20
|
+
lost: 'lost',
|
|
21
|
+
budget_exhausted: 'budget_exhausted',
|
|
22
|
+
cancelled: 'cancelled'
|
|
23
|
+
};
|
|
24
|
+
export const RunTrigger = {
|
|
25
|
+
manual: 'manual',
|
|
26
|
+
scheduled: 'scheduled',
|
|
27
|
+
webhook: 'webhook',
|
|
28
|
+
subagent: 'subagent'
|
|
29
|
+
};
|
|
30
|
+
export const CodingProxySessionStatus = {
|
|
31
|
+
active: 'active',
|
|
32
|
+
cancelled: 'cancelled'
|
|
33
|
+
};
|
|
34
|
+
export const CodingProxyRequestStatus = {
|
|
35
|
+
reserved: 'reserved',
|
|
36
|
+
completed: 'completed',
|
|
37
|
+
released: 'released',
|
|
38
|
+
uncertain: 'uncertain'
|
|
39
|
+
};
|
|
40
|
+
export const TaskKind = {
|
|
41
|
+
run: 'run',
|
|
42
|
+
tool_authoring: 'tool_authoring'
|
|
43
|
+
};
|
|
44
|
+
export const TaskStatus = {
|
|
45
|
+
working: 'working',
|
|
46
|
+
input_required: 'input_required',
|
|
47
|
+
completed: 'completed',
|
|
48
|
+
failed: 'failed',
|
|
49
|
+
cancelled: 'cancelled'
|
|
50
|
+
};
|
|
51
|
+
export const WebhookStatus = {
|
|
52
|
+
enabled: 'enabled',
|
|
53
|
+
disabled: 'disabled'
|
|
54
|
+
};
|
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./prismaNamespace.js";
|
|
3
|
+
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
+
export interface PrismaClientConstructor {
|
|
5
|
+
/**
|
|
6
|
+
* ## Prisma Client
|
|
7
|
+
*
|
|
8
|
+
* Type-safe database client for TypeScript
|
|
9
|
+
* @example
|
|
10
|
+
* ```
|
|
11
|
+
* const prisma = new PrismaClient({
|
|
12
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
13
|
+
* })
|
|
14
|
+
* // Fetch zero or more Agents
|
|
15
|
+
* const agents = await prisma.agent.findMany()
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
19
|
+
*/
|
|
20
|
+
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
21
|
+
omit: infer U;
|
|
22
|
+
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.PrismaClientConstructorArgs<Options>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ## Prisma Client
|
|
26
|
+
*
|
|
27
|
+
* Type-safe database client for TypeScript
|
|
28
|
+
* @example
|
|
29
|
+
* ```
|
|
30
|
+
* const prisma = new PrismaClient({
|
|
31
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
32
|
+
* })
|
|
33
|
+
* // Fetch zero or more Agents
|
|
34
|
+
* const agents = await prisma.agent.findMany()
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
38
|
+
*/
|
|
39
|
+
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'], in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
40
|
+
[K: symbol]: {
|
|
41
|
+
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
42
|
+
};
|
|
43
|
+
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
44
|
+
/**
|
|
45
|
+
* Connect with the database
|
|
46
|
+
*/
|
|
47
|
+
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Disconnect from the database
|
|
50
|
+
*/
|
|
51
|
+
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Executes a prepared raw query and returns the number of affected rows.
|
|
54
|
+
* @example
|
|
55
|
+
* ```
|
|
56
|
+
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
60
|
+
*/
|
|
61
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Executes a raw query and returns the number of affected rows.
|
|
64
|
+
* Susceptible to SQL injections, see documentation.
|
|
65
|
+
* @example
|
|
66
|
+
* ```
|
|
67
|
+
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
71
|
+
*/
|
|
72
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Performs a prepared raw query and returns the `SELECT` data.
|
|
75
|
+
* @example
|
|
76
|
+
* ```
|
|
77
|
+
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
81
|
+
*/
|
|
82
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
83
|
+
/**
|
|
84
|
+
* Performs a raw query and returns the `SELECT` data.
|
|
85
|
+
* Susceptible to SQL injections, see documentation.
|
|
86
|
+
* @example
|
|
87
|
+
* ```
|
|
88
|
+
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
92
|
+
*/
|
|
93
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
94
|
+
/**
|
|
95
|
+
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
96
|
+
* @example
|
|
97
|
+
* ```
|
|
98
|
+
* const [george, bob, alice] = await prisma.$transaction([
|
|
99
|
+
* prisma.user.create({ data: { name: 'George' } }),
|
|
100
|
+
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
101
|
+
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
102
|
+
* ])
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
106
|
+
*/
|
|
107
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
108
|
+
maxWait?: number;
|
|
109
|
+
timeout?: number;
|
|
110
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
111
|
+
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
112
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
113
|
+
maxWait?: number;
|
|
114
|
+
timeout?: number;
|
|
115
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
116
|
+
}): runtime.Types.Utils.JsPromise<R>;
|
|
117
|
+
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
118
|
+
extArgs: ExtArgs;
|
|
119
|
+
}>>;
|
|
120
|
+
/**
|
|
121
|
+
* `prisma.agent`: Exposes CRUD operations for the **Agent** model.
|
|
122
|
+
* Example usage:
|
|
123
|
+
* ```ts
|
|
124
|
+
* // Fetch zero or more Agents
|
|
125
|
+
* const agents = await prisma.agent.findMany()
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get agent(): Prisma.AgentDelegate<ExtArgs, {
|
|
129
|
+
omit: OmitOpts;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* `prisma.agentSubAgent`: Exposes CRUD operations for the **AgentSubAgent** model.
|
|
133
|
+
* Example usage:
|
|
134
|
+
* ```ts
|
|
135
|
+
* // Fetch zero or more AgentSubAgents
|
|
136
|
+
* const agentSubAgents = await prisma.agentSubAgent.findMany()
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
get agentSubAgent(): Prisma.AgentSubAgentDelegate<ExtArgs, {
|
|
140
|
+
omit: OmitOpts;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* `prisma.budgetGroup`: Exposes CRUD operations for the **BudgetGroup** model.
|
|
144
|
+
* Example usage:
|
|
145
|
+
* ```ts
|
|
146
|
+
* // Fetch zero or more BudgetGroups
|
|
147
|
+
* const budgetGroups = await prisma.budgetGroup.findMany()
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
get budgetGroup(): Prisma.BudgetGroupDelegate<ExtArgs, {
|
|
151
|
+
omit: OmitOpts;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* `prisma.tool`: Exposes CRUD operations for the **Tool** model.
|
|
155
|
+
* Example usage:
|
|
156
|
+
* ```ts
|
|
157
|
+
* // Fetch zero or more Tools
|
|
158
|
+
* const tools = await prisma.tool.findMany()
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
get tool(): Prisma.ToolDelegate<ExtArgs, {
|
|
162
|
+
omit: OmitOpts;
|
|
163
|
+
}>;
|
|
164
|
+
/**
|
|
165
|
+
* `prisma.agentTool`: Exposes CRUD operations for the **AgentTool** model.
|
|
166
|
+
* Example usage:
|
|
167
|
+
* ```ts
|
|
168
|
+
* // Fetch zero or more AgentTools
|
|
169
|
+
* const agentTools = await prisma.agentTool.findMany()
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
get agentTool(): Prisma.AgentToolDelegate<ExtArgs, {
|
|
173
|
+
omit: OmitOpts;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* `prisma.datastore`: Exposes CRUD operations for the **Datastore** model.
|
|
177
|
+
* Example usage:
|
|
178
|
+
* ```ts
|
|
179
|
+
* // Fetch zero or more Datastores
|
|
180
|
+
* const datastores = await prisma.datastore.findMany()
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
get datastore(): Prisma.DatastoreDelegate<ExtArgs, {
|
|
184
|
+
omit: OmitOpts;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* `prisma.agentDatastore`: Exposes CRUD operations for the **AgentDatastore** model.
|
|
188
|
+
* Example usage:
|
|
189
|
+
* ```ts
|
|
190
|
+
* // Fetch zero or more AgentDatastores
|
|
191
|
+
* const agentDatastores = await prisma.agentDatastore.findMany()
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
get agentDatastore(): Prisma.AgentDatastoreDelegate<ExtArgs, {
|
|
195
|
+
omit: OmitOpts;
|
|
196
|
+
}>;
|
|
197
|
+
/**
|
|
198
|
+
* `prisma.datastoreEntry`: Exposes CRUD operations for the **DatastoreEntry** model.
|
|
199
|
+
* Example usage:
|
|
200
|
+
* ```ts
|
|
201
|
+
* // Fetch zero or more DatastoreEntries
|
|
202
|
+
* const datastoreEntries = await prisma.datastoreEntry.findMany()
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
get datastoreEntry(): Prisma.DatastoreEntryDelegate<ExtArgs, {
|
|
206
|
+
omit: OmitOpts;
|
|
207
|
+
}>;
|
|
208
|
+
/**
|
|
209
|
+
* `prisma.agentMemory`: Exposes CRUD operations for the **AgentMemory** model.
|
|
210
|
+
* Example usage:
|
|
211
|
+
* ```ts
|
|
212
|
+
* // Fetch zero or more AgentMemories
|
|
213
|
+
* const agentMemories = await prisma.agentMemory.findMany()
|
|
214
|
+
* ```
|
|
215
|
+
*/
|
|
216
|
+
get agentMemory(): Prisma.AgentMemoryDelegate<ExtArgs, {
|
|
217
|
+
omit: OmitOpts;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* `prisma.run`: Exposes CRUD operations for the **Run** model.
|
|
221
|
+
* Example usage:
|
|
222
|
+
* ```ts
|
|
223
|
+
* // Fetch zero or more Runs
|
|
224
|
+
* const runs = await prisma.run.findMany()
|
|
225
|
+
* ```
|
|
226
|
+
*/
|
|
227
|
+
get run(): Prisma.RunDelegate<ExtArgs, {
|
|
228
|
+
omit: OmitOpts;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* `prisma.codingAgentProfile`: Exposes CRUD operations for the **CodingAgentProfile** model.
|
|
232
|
+
* Example usage:
|
|
233
|
+
* ```ts
|
|
234
|
+
* // Fetch zero or more CodingAgentProfiles
|
|
235
|
+
* const codingAgentProfiles = await prisma.codingAgentProfile.findMany()
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
get codingAgentProfile(): Prisma.CodingAgentProfileDelegate<ExtArgs, {
|
|
239
|
+
omit: OmitOpts;
|
|
240
|
+
}>;
|
|
241
|
+
/**
|
|
242
|
+
* `prisma.codingRun`: Exposes CRUD operations for the **CodingRun** model.
|
|
243
|
+
* Example usage:
|
|
244
|
+
* ```ts
|
|
245
|
+
* // Fetch zero or more CodingRuns
|
|
246
|
+
* const codingRuns = await prisma.codingRun.findMany()
|
|
247
|
+
* ```
|
|
248
|
+
*/
|
|
249
|
+
get codingRun(): Prisma.CodingRunDelegate<ExtArgs, {
|
|
250
|
+
omit: OmitOpts;
|
|
251
|
+
}>;
|
|
252
|
+
/**
|
|
253
|
+
* `prisma.codingProxySession`: Exposes CRUD operations for the **CodingProxySession** model.
|
|
254
|
+
* Example usage:
|
|
255
|
+
* ```ts
|
|
256
|
+
* // Fetch zero or more CodingProxySessions
|
|
257
|
+
* const codingProxySessions = await prisma.codingProxySession.findMany()
|
|
258
|
+
* ```
|
|
259
|
+
*/
|
|
260
|
+
get codingProxySession(): Prisma.CodingProxySessionDelegate<ExtArgs, {
|
|
261
|
+
omit: OmitOpts;
|
|
262
|
+
}>;
|
|
263
|
+
/**
|
|
264
|
+
* `prisma.codingProxyRequest`: Exposes CRUD operations for the **CodingProxyRequest** model.
|
|
265
|
+
* Example usage:
|
|
266
|
+
* ```ts
|
|
267
|
+
* // Fetch zero or more CodingProxyRequests
|
|
268
|
+
* const codingProxyRequests = await prisma.codingProxyRequest.findMany()
|
|
269
|
+
* ```
|
|
270
|
+
*/
|
|
271
|
+
get codingProxyRequest(): Prisma.CodingProxyRequestDelegate<ExtArgs, {
|
|
272
|
+
omit: OmitOpts;
|
|
273
|
+
}>;
|
|
274
|
+
/**
|
|
275
|
+
* `prisma.schedulerLease`: Exposes CRUD operations for the **SchedulerLease** model.
|
|
276
|
+
* Example usage:
|
|
277
|
+
* ```ts
|
|
278
|
+
* // Fetch zero or more SchedulerLeases
|
|
279
|
+
* const schedulerLeases = await prisma.schedulerLease.findMany()
|
|
280
|
+
* ```
|
|
281
|
+
*/
|
|
282
|
+
get schedulerLease(): Prisma.SchedulerLeaseDelegate<ExtArgs, {
|
|
283
|
+
omit: OmitOpts;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* `prisma.principal`: Exposes CRUD operations for the **Principal** model.
|
|
287
|
+
* Example usage:
|
|
288
|
+
* ```ts
|
|
289
|
+
* // Fetch zero or more Principals
|
|
290
|
+
* const principals = await prisma.principal.findMany()
|
|
291
|
+
* ```
|
|
292
|
+
*/
|
|
293
|
+
get principal(): Prisma.PrincipalDelegate<ExtArgs, {
|
|
294
|
+
omit: OmitOpts;
|
|
295
|
+
}>;
|
|
296
|
+
/**
|
|
297
|
+
* `prisma.task`: Exposes CRUD operations for the **Task** model.
|
|
298
|
+
* Example usage:
|
|
299
|
+
* ```ts
|
|
300
|
+
* // Fetch zero or more Tasks
|
|
301
|
+
* const tasks = await prisma.task.findMany()
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
304
|
+
get task(): Prisma.TaskDelegate<ExtArgs, {
|
|
305
|
+
omit: OmitOpts;
|
|
306
|
+
}>;
|
|
307
|
+
/**
|
|
308
|
+
* `prisma.secret`: Exposes CRUD operations for the **Secret** model.
|
|
309
|
+
* Example usage:
|
|
310
|
+
* ```ts
|
|
311
|
+
* // Fetch zero or more Secrets
|
|
312
|
+
* const secrets = await prisma.secret.findMany()
|
|
313
|
+
* ```
|
|
314
|
+
*/
|
|
315
|
+
get secret(): Prisma.SecretDelegate<ExtArgs, {
|
|
316
|
+
omit: OmitOpts;
|
|
317
|
+
}>;
|
|
318
|
+
/**
|
|
319
|
+
* `prisma.agentSecret`: Exposes CRUD operations for the **AgentSecret** model.
|
|
320
|
+
* Example usage:
|
|
321
|
+
* ```ts
|
|
322
|
+
* // Fetch zero or more AgentSecrets
|
|
323
|
+
* const agentSecrets = await prisma.agentSecret.findMany()
|
|
324
|
+
* ```
|
|
325
|
+
*/
|
|
326
|
+
get agentSecret(): Prisma.AgentSecretDelegate<ExtArgs, {
|
|
327
|
+
omit: OmitOpts;
|
|
328
|
+
}>;
|
|
329
|
+
/**
|
|
330
|
+
* `prisma.secretElicitationOutcome`: Exposes CRUD operations for the **SecretElicitationOutcome** model.
|
|
331
|
+
* Example usage:
|
|
332
|
+
* ```ts
|
|
333
|
+
* // Fetch zero or more SecretElicitationOutcomes
|
|
334
|
+
* const secretElicitationOutcomes = await prisma.secretElicitationOutcome.findMany()
|
|
335
|
+
* ```
|
|
336
|
+
*/
|
|
337
|
+
get secretElicitationOutcome(): Prisma.SecretElicitationOutcomeDelegate<ExtArgs, {
|
|
338
|
+
omit: OmitOpts;
|
|
339
|
+
}>;
|
|
340
|
+
/**
|
|
341
|
+
* `prisma.webhook`: Exposes CRUD operations for the **Webhook** model.
|
|
342
|
+
* Example usage:
|
|
343
|
+
* ```ts
|
|
344
|
+
* // Fetch zero or more Webhooks
|
|
345
|
+
* const webhooks = await prisma.webhook.findMany()
|
|
346
|
+
* ```
|
|
347
|
+
*/
|
|
348
|
+
get webhook(): Prisma.WebhookDelegate<ExtArgs, {
|
|
349
|
+
omit: OmitOpts;
|
|
350
|
+
}>;
|
|
351
|
+
/**
|
|
352
|
+
* `prisma.oAuthClient`: Exposes CRUD operations for the **OAuthClient** model.
|
|
353
|
+
* Example usage:
|
|
354
|
+
* ```ts
|
|
355
|
+
* // Fetch zero or more OAuthClients
|
|
356
|
+
* const oAuthClients = await prisma.oAuthClient.findMany()
|
|
357
|
+
* ```
|
|
358
|
+
*/
|
|
359
|
+
get oAuthClient(): Prisma.OAuthClientDelegate<ExtArgs, {
|
|
360
|
+
omit: OmitOpts;
|
|
361
|
+
}>;
|
|
362
|
+
/**
|
|
363
|
+
* `prisma.oAuthGrant`: Exposes CRUD operations for the **OAuthGrant** model.
|
|
364
|
+
* Example usage:
|
|
365
|
+
* ```ts
|
|
366
|
+
* // Fetch zero or more OAuthGrants
|
|
367
|
+
* const oAuthGrants = await prisma.oAuthGrant.findMany()
|
|
368
|
+
* ```
|
|
369
|
+
*/
|
|
370
|
+
get oAuthGrant(): Prisma.OAuthGrantDelegate<ExtArgs, {
|
|
371
|
+
omit: OmitOpts;
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
* `prisma.authUser`: Exposes CRUD operations for the **AuthUser** model.
|
|
375
|
+
* Example usage:
|
|
376
|
+
* ```ts
|
|
377
|
+
* // Fetch zero or more AuthUsers
|
|
378
|
+
* const authUsers = await prisma.authUser.findMany()
|
|
379
|
+
* ```
|
|
380
|
+
*/
|
|
381
|
+
get authUser(): Prisma.AuthUserDelegate<ExtArgs, {
|
|
382
|
+
omit: OmitOpts;
|
|
383
|
+
}>;
|
|
384
|
+
/**
|
|
385
|
+
* `prisma.authLoginKey`: Exposes CRUD operations for the **AuthLoginKey** model.
|
|
386
|
+
* Example usage:
|
|
387
|
+
* ```ts
|
|
388
|
+
* // Fetch zero or more AuthLoginKeys
|
|
389
|
+
* const authLoginKeys = await prisma.authLoginKey.findMany()
|
|
390
|
+
* ```
|
|
391
|
+
*/
|
|
392
|
+
get authLoginKey(): Prisma.AuthLoginKeyDelegate<ExtArgs, {
|
|
393
|
+
omit: OmitOpts;
|
|
394
|
+
}>;
|
|
395
|
+
/**
|
|
396
|
+
* `prisma.authSession`: Exposes CRUD operations for the **AuthSession** model.
|
|
397
|
+
* Example usage:
|
|
398
|
+
* ```ts
|
|
399
|
+
* // Fetch zero or more AuthSessions
|
|
400
|
+
* const authSessions = await prisma.authSession.findMany()
|
|
401
|
+
* ```
|
|
402
|
+
*/
|
|
403
|
+
get authSession(): Prisma.AuthSessionDelegate<ExtArgs, {
|
|
404
|
+
omit: OmitOpts;
|
|
405
|
+
}>;
|
|
406
|
+
/**
|
|
407
|
+
* `prisma.authFormChallenge`: Exposes CRUD operations for the **AuthFormChallenge** model.
|
|
408
|
+
* Example usage:
|
|
409
|
+
* ```ts
|
|
410
|
+
* // Fetch zero or more AuthFormChallenges
|
|
411
|
+
* const authFormChallenges = await prisma.authFormChallenge.findMany()
|
|
412
|
+
* ```
|
|
413
|
+
*/
|
|
414
|
+
get authFormChallenge(): Prisma.AuthFormChallengeDelegate<ExtArgs, {
|
|
415
|
+
omit: OmitOpts;
|
|
416
|
+
}>;
|
|
417
|
+
/**
|
|
418
|
+
* `prisma.oAuthAuthorizationRequest`: Exposes CRUD operations for the **OAuthAuthorizationRequest** model.
|
|
419
|
+
* Example usage:
|
|
420
|
+
* ```ts
|
|
421
|
+
* // Fetch zero or more OAuthAuthorizationRequests
|
|
422
|
+
* const oAuthAuthorizationRequests = await prisma.oAuthAuthorizationRequest.findMany()
|
|
423
|
+
* ```
|
|
424
|
+
*/
|
|
425
|
+
get oAuthAuthorizationRequest(): Prisma.OAuthAuthorizationRequestDelegate<ExtArgs, {
|
|
426
|
+
omit: OmitOpts;
|
|
427
|
+
}>;
|
|
428
|
+
/**
|
|
429
|
+
* `prisma.oAuthAuthorizationCode`: Exposes CRUD operations for the **OAuthAuthorizationCode** model.
|
|
430
|
+
* Example usage:
|
|
431
|
+
* ```ts
|
|
432
|
+
* // Fetch zero or more OAuthAuthorizationCodes
|
|
433
|
+
* const oAuthAuthorizationCodes = await prisma.oAuthAuthorizationCode.findMany()
|
|
434
|
+
* ```
|
|
435
|
+
*/
|
|
436
|
+
get oAuthAuthorizationCode(): Prisma.OAuthAuthorizationCodeDelegate<ExtArgs, {
|
|
437
|
+
omit: OmitOpts;
|
|
438
|
+
}>;
|
|
439
|
+
/**
|
|
440
|
+
* `prisma.oAuthFamily`: Exposes CRUD operations for the **OAuthFamily** model.
|
|
441
|
+
* Example usage:
|
|
442
|
+
* ```ts
|
|
443
|
+
* // Fetch zero or more OAuthFamilies
|
|
444
|
+
* const oAuthFamilies = await prisma.oAuthFamily.findMany()
|
|
445
|
+
* ```
|
|
446
|
+
*/
|
|
447
|
+
get oAuthFamily(): Prisma.OAuthFamilyDelegate<ExtArgs, {
|
|
448
|
+
omit: OmitOpts;
|
|
449
|
+
}>;
|
|
450
|
+
/**
|
|
451
|
+
* `prisma.authRateLimit`: Exposes CRUD operations for the **AuthRateLimit** model.
|
|
452
|
+
* Example usage:
|
|
453
|
+
* ```ts
|
|
454
|
+
* // Fetch zero or more AuthRateLimits
|
|
455
|
+
* const authRateLimits = await prisma.authRateLimit.findMany()
|
|
456
|
+
* ```
|
|
457
|
+
*/
|
|
458
|
+
get authRateLimit(): Prisma.AuthRateLimitDelegate<ExtArgs, {
|
|
459
|
+
omit: OmitOpts;
|
|
460
|
+
}>;
|
|
461
|
+
}
|
|
462
|
+
export declare function getPrismaClientClass(): PrismaClientConstructor;
|