@agentuity/core 3.0.0-alpha.6 → 3.0.0-beta.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/AGENTS.md +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/services/coder/api-reference.d.ts.map +1 -1
- package/dist/services/coder/api-reference.js +30 -1
- package/dist/services/coder/api-reference.js.map +1 -1
- package/dist/services/coder/client.d.ts +17 -1
- package/dist/services/coder/client.d.ts.map +1 -1
- package/dist/services/coder/client.js +30 -2
- package/dist/services/coder/client.js.map +1 -1
- package/dist/services/coder/index.d.ts +2 -2
- package/dist/services/coder/index.d.ts.map +1 -1
- package/dist/services/coder/index.js +1 -1
- package/dist/services/coder/index.js.map +1 -1
- package/dist/services/coder/protocol.d.ts +186 -5
- package/dist/services/coder/protocol.d.ts.map +1 -1
- package/dist/services/coder/protocol.js +125 -0
- package/dist/services/coder/protocol.js.map +1 -1
- package/dist/services/coder/sessions.d.ts +22 -0
- package/dist/services/coder/sessions.d.ts.map +1 -1
- package/dist/services/coder/sessions.js +10 -1
- package/dist/services/coder/sessions.js.map +1 -1
- package/dist/services/coder/sse.d.ts +2 -2
- package/dist/services/coder/sse.d.ts.map +1 -1
- package/dist/services/coder/sse.js +290 -178
- package/dist/services/coder/sse.js.map +1 -1
- package/dist/services/coder/types.d.ts +627 -0
- package/dist/services/coder/types.d.ts.map +1 -1
- package/dist/services/coder/types.js +221 -1
- package/dist/services/coder/types.js.map +1 -1
- package/dist/services/coder/workspaces.d.ts +11 -1
- package/dist/services/coder/workspaces.d.ts.map +1 -1
- package/dist/services/coder/workspaces.js +34 -1
- package/dist/services/coder/workspaces.js.map +1 -1
- package/dist/services/index.d.ts +0 -2
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +0 -2
- package/dist/services/index.js.map +1 -1
- package/dist/services/keyvalue/service.d.ts +9 -3
- package/dist/services/keyvalue/service.d.ts.map +1 -1
- package/dist/services/keyvalue/service.js +6 -3
- package/dist/services/keyvalue/service.js.map +1 -1
- package/dist/services/sandbox/api-reference.js +8 -8
- package/dist/services/sandbox/api-reference.js.map +1 -1
- package/dist/services/sandbox/client.d.ts +3 -2
- package/dist/services/sandbox/client.d.ts.map +1 -1
- package/dist/services/sandbox/client.js.map +1 -1
- package/dist/services/sandbox/create.d.ts +5 -0
- package/dist/services/sandbox/create.d.ts.map +1 -1
- package/dist/services/sandbox/create.js +8 -0
- package/dist/services/sandbox/create.js.map +1 -1
- package/dist/services/sandbox/get.d.ts +8 -4
- package/dist/services/sandbox/get.d.ts.map +1 -1
- package/dist/services/sandbox/get.js +28 -3
- package/dist/services/sandbox/get.js.map +1 -1
- package/dist/services/sandbox/getStatus.d.ts +3 -0
- package/dist/services/sandbox/getStatus.d.ts.map +1 -1
- package/dist/services/sandbox/getStatus.js +19 -2
- package/dist/services/sandbox/getStatus.js.map +1 -1
- package/dist/services/sandbox/index.d.ts +1 -1
- package/dist/services/sandbox/index.d.ts.map +1 -1
- package/dist/services/sandbox/list.d.ts +3 -0
- package/dist/services/sandbox/list.d.ts.map +1 -1
- package/dist/services/sandbox/list.js +5 -0
- package/dist/services/sandbox/list.js.map +1 -1
- package/dist/services/sandbox/pause.d.ts +17 -1
- package/dist/services/sandbox/pause.d.ts.map +1 -1
- package/dist/services/sandbox/pause.js +21 -3
- package/dist/services/sandbox/pause.js.map +1 -1
- package/dist/services/sandbox/run.d.ts +3 -2
- package/dist/services/sandbox/run.d.ts.map +1 -1
- package/dist/services/sandbox/run.js +244 -84
- package/dist/services/sandbox/run.js.map +1 -1
- package/dist/services/sandbox/types.d.ts +11 -4
- package/dist/services/sandbox/types.d.ts.map +1 -1
- package/dist/services/sandbox/types.js +12 -0
- package/dist/services/sandbox/types.js.map +1 -1
- package/dist/services/stream/namespaces.d.ts +2 -2
- package/dist/services/stream/namespaces.js +2 -2
- package/dist/services/stream/namespaces.js.map +1 -1
- package/dist/services/vector/service.d.ts +11 -11
- package/dist/services/vector/service.d.ts.map +1 -1
- package/dist/services/vector/service.js.map +1 -1
- package/package.json +3 -17
- package/src/index.ts +0 -15
- package/src/services/coder/api-reference.ts +31 -0
- package/src/services/coder/client.ts +46 -0
- package/src/services/coder/index.ts +3 -0
- package/src/services/coder/protocol.ts +133 -0
- package/src/services/coder/sessions.ts +26 -0
- package/src/services/coder/sse.ts +343 -184
- package/src/services/coder/types.ts +273 -1
- package/src/services/coder/workspaces.ts +74 -0
- package/src/services/index.ts +0 -2
- package/src/services/keyvalue/service.ts +16 -7
- package/src/services/sandbox/api-reference.ts +8 -8
- package/src/services/sandbox/client.ts +4 -4
- package/src/services/sandbox/create.ts +10 -0
- package/src/services/sandbox/get.ts +32 -3
- package/src/services/sandbox/getStatus.ts +23 -2
- package/src/services/sandbox/index.ts +1 -1
- package/src/services/sandbox/list.ts +5 -0
- package/src/services/sandbox/pause.ts +38 -4
- package/src/services/sandbox/run.ts +352 -105
- package/src/services/sandbox/types.ts +17 -2
- package/src/services/stream/namespaces.ts +2 -2
- package/src/services/vector/service.ts +11 -21
- package/dist/services/auth/index.d.ts +0 -7
- package/dist/services/auth/index.d.ts.map +0 -1
- package/dist/services/auth/index.js +0 -7
- package/dist/services/auth/index.js.map +0 -1
- package/dist/services/auth/types.d.ts +0 -192
- package/dist/services/auth/types.d.ts.map +0 -1
- package/dist/services/auth/types.js +0 -11
- package/dist/services/auth/types.js.map +0 -1
- package/dist/services/eval/api-reference.d.ts +0 -4
- package/dist/services/eval/api-reference.d.ts.map +0 -1
- package/dist/services/eval/api-reference.js +0 -121
- package/dist/services/eval/api-reference.js.map +0 -1
- package/dist/services/eval/events.d.ts +0 -93
- package/dist/services/eval/events.d.ts.map +0 -1
- package/dist/services/eval/events.js +0 -24
- package/dist/services/eval/events.js.map +0 -1
- package/dist/services/eval/get.d.ts +0 -36
- package/dist/services/eval/get.d.ts.map +0 -1
- package/dist/services/eval/get.js +0 -23
- package/dist/services/eval/get.js.map +0 -1
- package/dist/services/eval/index.d.ts +0 -6
- package/dist/services/eval/index.d.ts.map +0 -1
- package/dist/services/eval/index.js +0 -6
- package/dist/services/eval/index.js.map +0 -1
- package/dist/services/eval/list.d.ts +0 -50
- package/dist/services/eval/list.d.ts.map +0 -1
- package/dist/services/eval/list.js +0 -32
- package/dist/services/eval/list.js.map +0 -1
- package/dist/services/eval/run-get.d.ts +0 -48
- package/dist/services/eval/run-get.d.ts.map +0 -1
- package/dist/services/eval/run-get.js +0 -29
- package/dist/services/eval/run-get.js.map +0 -1
- package/dist/services/eval/run-list.d.ts +0 -70
- package/dist/services/eval/run-list.d.ts.map +0 -1
- package/dist/services/eval/run-list.js +0 -42
- package/dist/services/eval/run-list.js.map +0 -1
- package/dist/webrtc.d.ts +0 -243
- package/dist/webrtc.d.ts.map +0 -1
- package/dist/webrtc.js +0 -5
- package/dist/webrtc.js.map +0 -1
- package/dist/workbench-config.d.ts +0 -62
- package/dist/workbench-config.d.ts.map +0 -1
- package/dist/workbench-config.js +0 -58
- package/dist/workbench-config.js.map +0 -1
- package/dist/workbench.d.ts +0 -2
- package/dist/workbench.d.ts.map +0 -1
- package/dist/workbench.js +0 -2
- package/dist/workbench.js.map +0 -1
- package/src/services/auth/index.ts +0 -19
- package/src/services/auth/types.ts +0 -223
- package/src/services/eval/api-reference.ts +0 -124
- package/src/services/eval/events.ts +0 -92
- package/src/services/eval/get.ts +0 -33
- package/src/services/eval/index.ts +0 -29
- package/src/services/eval/list.ts +0 -49
- package/src/services/eval/run-get.ts +0 -39
- package/src/services/eval/run-list.ts +0 -59
- package/src/webrtc.ts +0 -259
- package/src/workbench-config.ts +0 -79
- package/src/workbench.ts +0 -1
|
@@ -108,6 +108,21 @@ export declare const CoderWorkspaceDetailSchema: z.ZodObject<{
|
|
|
108
108
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
110
110
|
repoCount: z.ZodNumber;
|
|
111
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
112
|
+
setupScript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
status: z.ZodString;
|
|
115
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
snapshotRef: z.ZodOptional<z.ZodString>;
|
|
117
|
+
baseSnapshotRef: z.ZodOptional<z.ZodString>;
|
|
118
|
+
baseDriverVersion: z.ZodOptional<z.ZodString>;
|
|
119
|
+
configHash: z.ZodOptional<z.ZodString>;
|
|
120
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
121
|
+
requestedAt: z.ZodOptional<z.ZodString>;
|
|
122
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
123
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
124
|
+
error: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$loose>>;
|
|
111
126
|
savedSkillIds: z.ZodArray<z.ZodString>;
|
|
112
127
|
skillBucketIds: z.ZodArray<z.ZodString>;
|
|
113
128
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -1046,6 +1061,21 @@ export declare const CoderWorkspaceListResponseSchema: z.ZodObject<{
|
|
|
1046
1061
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
1047
1062
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1048
1063
|
repoCount: z.ZodNumber;
|
|
1064
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1065
|
+
setupScript: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1066
|
+
snapshot: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
status: z.ZodString;
|
|
1068
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
snapshotRef: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
baseSnapshotRef: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
baseDriverVersion: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
configHash: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
requestedAt: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
}, z.core.$loose>>;
|
|
1049
1079
|
savedSkillIds: z.ZodArray<z.ZodString>;
|
|
1050
1080
|
skillBucketIds: z.ZodArray<z.ZodString>;
|
|
1051
1081
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -1078,11 +1108,54 @@ export declare const CoderCreateWorkspaceRequestSchema: z.ZodObject<{
|
|
|
1078
1108
|
path: z.ZodOptional<z.ZodString>;
|
|
1079
1109
|
rootPath: z.ZodOptional<z.ZodString>;
|
|
1080
1110
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
1111
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1112
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
1081
1113
|
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1082
1114
|
skillBucketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1083
1115
|
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1084
1116
|
}, z.core.$strip>;
|
|
1085
1117
|
export type CoderCreateWorkspaceRequest = z.infer<typeof CoderCreateWorkspaceRequestSchema>;
|
|
1118
|
+
export declare const CoderUpdateWorkspaceRequestSchema: z.ZodObject<{
|
|
1119
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1122
|
+
org: "org";
|
|
1123
|
+
user: "user";
|
|
1124
|
+
}>>;
|
|
1125
|
+
repos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1126
|
+
repoId: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
cloneUrl: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
rootPath: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
1141
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1142
|
+
setupScript: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
savedSkillIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1144
|
+
skillBucketIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1145
|
+
enabledAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
export type CoderUpdateWorkspaceRequest = z.infer<typeof CoderUpdateWorkspaceRequestSchema>;
|
|
1148
|
+
export declare const CoderWorkspaceDependencyValidationResponseSchema: z.ZodObject<{
|
|
1149
|
+
valid: z.ZodArray<z.ZodString>;
|
|
1150
|
+
invalid: z.ZodArray<z.ZodObject<{
|
|
1151
|
+
package: z.ZodString;
|
|
1152
|
+
error: z.ZodString;
|
|
1153
|
+
requestedVersion: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
availableVersions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1155
|
+
searchUrl: z.ZodString;
|
|
1156
|
+
}, z.core.$loose>>;
|
|
1157
|
+
}, z.core.$loose>;
|
|
1158
|
+
export type CoderWorkspaceDependencyValidationResponse = z.infer<typeof CoderWorkspaceDependencyValidationResponseSchema>;
|
|
1086
1159
|
export declare const CoderCreateCustomAgentRequestSchema: z.ZodObject<{
|
|
1087
1160
|
slug: z.ZodString;
|
|
1088
1161
|
displayName: z.ZodString;
|
|
@@ -1317,6 +1390,24 @@ export declare const CoderCreateSessionRequestSchema: z.ZodObject<{
|
|
|
1317
1390
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1318
1391
|
}, z.core.$strip>;
|
|
1319
1392
|
export type CoderCreateSessionRequest = z.infer<typeof CoderCreateSessionRequestSchema>;
|
|
1393
|
+
export declare const CoderCreateAgentBuilderSessionRequestSchema: z.ZodObject<{
|
|
1394
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1396
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1397
|
+
edit: "edit";
|
|
1398
|
+
new: "new";
|
|
1399
|
+
from_session: "from_session";
|
|
1400
|
+
}>>;
|
|
1401
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1402
|
+
private: "private";
|
|
1403
|
+
organization: "organization";
|
|
1404
|
+
collaborate: "collaborate";
|
|
1405
|
+
}>>;
|
|
1406
|
+
sourceSessionId: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
targetAgentId: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
targetAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
export type CoderCreateAgentBuilderSessionRequest = z.infer<typeof CoderCreateAgentBuilderSessionRequestSchema>;
|
|
1320
1411
|
export declare const CoderUpdateSessionRequestSchema: z.ZodObject<{
|
|
1321
1412
|
label: z.ZodOptional<z.ZodString>;
|
|
1322
1413
|
agent: z.ZodOptional<z.ZodString>;
|
|
@@ -1365,6 +1456,281 @@ export declare const CoderSessionWorkspaceSchema: z.ZodObject<{
|
|
|
1365
1456
|
}>;
|
|
1366
1457
|
}, z.core.$strip>;
|
|
1367
1458
|
export type CoderSessionWorkspace = z.infer<typeof CoderSessionWorkspaceSchema>;
|
|
1459
|
+
export declare const CoderAgentBuilderSessionModeSchema: z.ZodEnum<{
|
|
1460
|
+
edit: "edit";
|
|
1461
|
+
new: "new";
|
|
1462
|
+
from_session: "from_session";
|
|
1463
|
+
}>;
|
|
1464
|
+
export type CoderAgentBuilderSessionMode = z.infer<typeof CoderAgentBuilderSessionModeSchema>;
|
|
1465
|
+
export declare const CoderAgentBuilderActionKindSchema: z.ZodEnum<{
|
|
1466
|
+
create_draft: "create_draft";
|
|
1467
|
+
update_draft: "update_draft";
|
|
1468
|
+
publish: "publish";
|
|
1469
|
+
}>;
|
|
1470
|
+
export type CoderAgentBuilderActionKind = z.infer<typeof CoderAgentBuilderActionKindSchema>;
|
|
1471
|
+
export declare const CoderAgentBuilderSourceSessionSchema: z.ZodObject<{
|
|
1472
|
+
sessionId: z.ZodString;
|
|
1473
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
}, z.core.$strip>;
|
|
1475
|
+
export type CoderAgentBuilderSourceSession = z.infer<typeof CoderAgentBuilderSourceSessionSchema>;
|
|
1476
|
+
export declare const CoderAgentBuilderTargetAgentSchema: z.ZodObject<{
|
|
1477
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
slug: z.ZodString;
|
|
1479
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
}, z.core.$strip>;
|
|
1481
|
+
export type CoderAgentBuilderTargetAgent = z.infer<typeof CoderAgentBuilderTargetAgentSchema>;
|
|
1482
|
+
export declare const CoderAgentBuilderProposalSchema: z.ZodObject<{
|
|
1483
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1489
|
+
high: "high";
|
|
1490
|
+
medium: "medium";
|
|
1491
|
+
low: "low";
|
|
1492
|
+
off: "off";
|
|
1493
|
+
minimal: "minimal";
|
|
1494
|
+
xhigh: "xhigh";
|
|
1495
|
+
}>>;
|
|
1496
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1497
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1498
|
+
find: "find";
|
|
1499
|
+
read: "read";
|
|
1500
|
+
ls: "ls";
|
|
1501
|
+
grep: "grep";
|
|
1502
|
+
bash: "bash";
|
|
1503
|
+
write: "write";
|
|
1504
|
+
edit: "edit";
|
|
1505
|
+
}>, z.ZodString]>>>;
|
|
1506
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1507
|
+
session_dashboard: "session_dashboard";
|
|
1508
|
+
memory_service_search: "memory_service_search";
|
|
1509
|
+
memory_service_store: "memory_service_store";
|
|
1510
|
+
memory_service_get: "memory_service_get";
|
|
1511
|
+
memory_service_update: "memory_service_update";
|
|
1512
|
+
memory_service_delete: "memory_service_delete";
|
|
1513
|
+
memory_service_list: "memory_service_list";
|
|
1514
|
+
memory_service_schema: "memory_service_schema";
|
|
1515
|
+
memory_service_facets: "memory_service_facets";
|
|
1516
|
+
context7_search: "context7_search";
|
|
1517
|
+
grep_app_search: "grep_app_search";
|
|
1518
|
+
web_search: "web_search";
|
|
1519
|
+
fetch_content: "fetch_content";
|
|
1520
|
+
product_prd_create: "product_prd_create";
|
|
1521
|
+
product_prd_get: "product_prd_get";
|
|
1522
|
+
product_prd_update: "product_prd_update";
|
|
1523
|
+
product_prd_list: "product_prd_list";
|
|
1524
|
+
product_task_comment: "product_task_comment";
|
|
1525
|
+
session_todo_create: "session_todo_create";
|
|
1526
|
+
session_todo_update: "session_todo_update";
|
|
1527
|
+
session_todo_list: "session_todo_list";
|
|
1528
|
+
session_todo_comment: "session_todo_comment";
|
|
1529
|
+
session_todo_attach: "session_todo_attach";
|
|
1530
|
+
product_generate_deck: "product_generate_deck";
|
|
1531
|
+
sandbox_exec: "sandbox_exec";
|
|
1532
|
+
loop_get_state: "loop_get_state";
|
|
1533
|
+
loop_update_state: "loop_update_state";
|
|
1534
|
+
coord_create_job: "coord_create_job";
|
|
1535
|
+
coord_add_task: "coord_add_task";
|
|
1536
|
+
coord_claim_task: "coord_claim_task";
|
|
1537
|
+
coord_complete_task: "coord_complete_task";
|
|
1538
|
+
coord_fail_task: "coord_fail_task";
|
|
1539
|
+
coord_list_tasks: "coord_list_tasks";
|
|
1540
|
+
coord_job_status: "coord_job_status";
|
|
1541
|
+
coord_reserve_file: "coord_reserve_file";
|
|
1542
|
+
coord_release_file: "coord_release_file";
|
|
1543
|
+
coord_provide_contract: "coord_provide_contract";
|
|
1544
|
+
coord_check_contract: "coord_check_contract";
|
|
1545
|
+
coord_send_message: "coord_send_message";
|
|
1546
|
+
coord_read_messages: "coord_read_messages";
|
|
1547
|
+
coord_heartbeat: "coord_heartbeat";
|
|
1548
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
1549
|
+
}>, z.ZodString]>>>;
|
|
1550
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1551
|
+
skillId: z.ZodString;
|
|
1552
|
+
repo: z.ZodString;
|
|
1553
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
}, z.core.$strip>>>;
|
|
1556
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1557
|
+
}, z.core.$loose>;
|
|
1558
|
+
export type CoderAgentBuilderProposal = z.infer<typeof CoderAgentBuilderProposalSchema>;
|
|
1559
|
+
export declare const CoderAgentBuilderDurableStateSchema: z.ZodObject<{
|
|
1560
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1563
|
+
}, z.core.$strip>;
|
|
1564
|
+
export type CoderAgentBuilderDurableState = z.infer<typeof CoderAgentBuilderDurableStateSchema>;
|
|
1565
|
+
export declare const CoderAgentBuilderActionStateSchema: z.ZodObject<{
|
|
1566
|
+
kind: z.ZodEnum<{
|
|
1567
|
+
create_draft: "create_draft";
|
|
1568
|
+
update_draft: "update_draft";
|
|
1569
|
+
publish: "publish";
|
|
1570
|
+
}>;
|
|
1571
|
+
status: z.ZodEnum<{
|
|
1572
|
+
failed: "failed";
|
|
1573
|
+
completed: "completed";
|
|
1574
|
+
}>;
|
|
1575
|
+
occurredAt: z.ZodString;
|
|
1576
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1580
|
+
}, z.core.$strip>;
|
|
1581
|
+
export type CoderAgentBuilderActionState = z.infer<typeof CoderAgentBuilderActionStateSchema>;
|
|
1582
|
+
export declare const CoderAgentBuilderSessionSummarySchema: z.ZodObject<{
|
|
1583
|
+
mode: z.ZodEnum<{
|
|
1584
|
+
edit: "edit";
|
|
1585
|
+
new: "new";
|
|
1586
|
+
from_session: "from_session";
|
|
1587
|
+
}>;
|
|
1588
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1589
|
+
sessionId: z.ZodString;
|
|
1590
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1592
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1593
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
slug: z.ZodString;
|
|
1595
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
}, z.core.$strip>>;
|
|
1597
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1598
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1601
|
+
}, z.core.$strip>>;
|
|
1602
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
kind: z.ZodEnum<{
|
|
1604
|
+
create_draft: "create_draft";
|
|
1605
|
+
update_draft: "update_draft";
|
|
1606
|
+
publish: "publish";
|
|
1607
|
+
}>;
|
|
1608
|
+
status: z.ZodEnum<{
|
|
1609
|
+
failed: "failed";
|
|
1610
|
+
completed: "completed";
|
|
1611
|
+
}>;
|
|
1612
|
+
occurredAt: z.ZodString;
|
|
1613
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1617
|
+
}, z.core.$strip>>;
|
|
1618
|
+
}, z.core.$strip>;
|
|
1619
|
+
export type CoderAgentBuilderSessionSummary = z.infer<typeof CoderAgentBuilderSessionSummarySchema>;
|
|
1620
|
+
export declare const CoderAgentBuilderSessionStateSchema: z.ZodObject<{
|
|
1621
|
+
mode: z.ZodEnum<{
|
|
1622
|
+
edit: "edit";
|
|
1623
|
+
new: "new";
|
|
1624
|
+
from_session: "from_session";
|
|
1625
|
+
}>;
|
|
1626
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1627
|
+
sessionId: z.ZodString;
|
|
1628
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
}, z.core.$strip>>;
|
|
1630
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1631
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
slug: z.ZodString;
|
|
1633
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
}, z.core.$strip>>;
|
|
1635
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1636
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1641
|
+
kind: z.ZodEnum<{
|
|
1642
|
+
create_draft: "create_draft";
|
|
1643
|
+
update_draft: "update_draft";
|
|
1644
|
+
publish: "publish";
|
|
1645
|
+
}>;
|
|
1646
|
+
status: z.ZodEnum<{
|
|
1647
|
+
failed: "failed";
|
|
1648
|
+
completed: "completed";
|
|
1649
|
+
}>;
|
|
1650
|
+
occurredAt: z.ZodString;
|
|
1651
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1655
|
+
}, z.core.$strip>>;
|
|
1656
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
1657
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1663
|
+
high: "high";
|
|
1664
|
+
medium: "medium";
|
|
1665
|
+
low: "low";
|
|
1666
|
+
off: "off";
|
|
1667
|
+
minimal: "minimal";
|
|
1668
|
+
xhigh: "xhigh";
|
|
1669
|
+
}>>;
|
|
1670
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
1671
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1672
|
+
find: "find";
|
|
1673
|
+
read: "read";
|
|
1674
|
+
ls: "ls";
|
|
1675
|
+
grep: "grep";
|
|
1676
|
+
bash: "bash";
|
|
1677
|
+
write: "write";
|
|
1678
|
+
edit: "edit";
|
|
1679
|
+
}>, z.ZodString]>>>;
|
|
1680
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1681
|
+
session_dashboard: "session_dashboard";
|
|
1682
|
+
memory_service_search: "memory_service_search";
|
|
1683
|
+
memory_service_store: "memory_service_store";
|
|
1684
|
+
memory_service_get: "memory_service_get";
|
|
1685
|
+
memory_service_update: "memory_service_update";
|
|
1686
|
+
memory_service_delete: "memory_service_delete";
|
|
1687
|
+
memory_service_list: "memory_service_list";
|
|
1688
|
+
memory_service_schema: "memory_service_schema";
|
|
1689
|
+
memory_service_facets: "memory_service_facets";
|
|
1690
|
+
context7_search: "context7_search";
|
|
1691
|
+
grep_app_search: "grep_app_search";
|
|
1692
|
+
web_search: "web_search";
|
|
1693
|
+
fetch_content: "fetch_content";
|
|
1694
|
+
product_prd_create: "product_prd_create";
|
|
1695
|
+
product_prd_get: "product_prd_get";
|
|
1696
|
+
product_prd_update: "product_prd_update";
|
|
1697
|
+
product_prd_list: "product_prd_list";
|
|
1698
|
+
product_task_comment: "product_task_comment";
|
|
1699
|
+
session_todo_create: "session_todo_create";
|
|
1700
|
+
session_todo_update: "session_todo_update";
|
|
1701
|
+
session_todo_list: "session_todo_list";
|
|
1702
|
+
session_todo_comment: "session_todo_comment";
|
|
1703
|
+
session_todo_attach: "session_todo_attach";
|
|
1704
|
+
product_generate_deck: "product_generate_deck";
|
|
1705
|
+
sandbox_exec: "sandbox_exec";
|
|
1706
|
+
loop_get_state: "loop_get_state";
|
|
1707
|
+
loop_update_state: "loop_update_state";
|
|
1708
|
+
coord_create_job: "coord_create_job";
|
|
1709
|
+
coord_add_task: "coord_add_task";
|
|
1710
|
+
coord_claim_task: "coord_claim_task";
|
|
1711
|
+
coord_complete_task: "coord_complete_task";
|
|
1712
|
+
coord_fail_task: "coord_fail_task";
|
|
1713
|
+
coord_list_tasks: "coord_list_tasks";
|
|
1714
|
+
coord_job_status: "coord_job_status";
|
|
1715
|
+
coord_reserve_file: "coord_reserve_file";
|
|
1716
|
+
coord_release_file: "coord_release_file";
|
|
1717
|
+
coord_provide_contract: "coord_provide_contract";
|
|
1718
|
+
coord_check_contract: "coord_check_contract";
|
|
1719
|
+
coord_send_message: "coord_send_message";
|
|
1720
|
+
coord_read_messages: "coord_read_messages";
|
|
1721
|
+
coord_heartbeat: "coord_heartbeat";
|
|
1722
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
1723
|
+
}>, z.ZodString]>>>;
|
|
1724
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1725
|
+
skillId: z.ZodString;
|
|
1726
|
+
repo: z.ZodString;
|
|
1727
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
}, z.core.$strip>>>;
|
|
1730
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1731
|
+
}, z.core.$loose>>;
|
|
1732
|
+
}, z.core.$loose>;
|
|
1733
|
+
export type CoderAgentBuilderSessionState = z.infer<typeof CoderAgentBuilderSessionStateSchema>;
|
|
1368
1734
|
export declare const CoderSessionListItemSchema: z.ZodObject<{
|
|
1369
1735
|
sessionId: z.ZodString;
|
|
1370
1736
|
label: z.ZodString;
|
|
@@ -1444,6 +1810,43 @@ export declare const CoderSessionListItemSchema: z.ZodObject<{
|
|
|
1444
1810
|
url: z.ZodOptional<z.ZodString>;
|
|
1445
1811
|
}, z.core.$strip>>;
|
|
1446
1812
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1813
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
1814
|
+
mode: z.ZodEnum<{
|
|
1815
|
+
edit: "edit";
|
|
1816
|
+
new: "new";
|
|
1817
|
+
from_session: "from_session";
|
|
1818
|
+
}>;
|
|
1819
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1820
|
+
sessionId: z.ZodString;
|
|
1821
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
}, z.core.$strip>>;
|
|
1823
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1824
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
slug: z.ZodString;
|
|
1826
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1827
|
+
}, z.core.$strip>>;
|
|
1828
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1829
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
+
}, z.core.$strip>>;
|
|
1833
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1834
|
+
kind: z.ZodEnum<{
|
|
1835
|
+
create_draft: "create_draft";
|
|
1836
|
+
update_draft: "update_draft";
|
|
1837
|
+
publish: "publish";
|
|
1838
|
+
}>;
|
|
1839
|
+
status: z.ZodEnum<{
|
|
1840
|
+
failed: "failed";
|
|
1841
|
+
completed: "completed";
|
|
1842
|
+
}>;
|
|
1843
|
+
occurredAt: z.ZodString;
|
|
1844
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1847
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1848
|
+
}, z.core.$strip>>;
|
|
1849
|
+
}, z.core.$strip>>;
|
|
1447
1850
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1448
1851
|
bucket: z.ZodEnum<{
|
|
1449
1852
|
running: "running";
|
|
@@ -1550,6 +1953,119 @@ export declare const CoderSessionSchema: z.ZodObject<{
|
|
|
1550
1953
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1551
1954
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1552
1955
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
1957
|
+
mode: z.ZodEnum<{
|
|
1958
|
+
edit: "edit";
|
|
1959
|
+
new: "new";
|
|
1960
|
+
from_session: "from_session";
|
|
1961
|
+
}>;
|
|
1962
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
1963
|
+
sessionId: z.ZodString;
|
|
1964
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
}, z.core.$strip>>;
|
|
1966
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
1967
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
slug: z.ZodString;
|
|
1969
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
}, z.core.$strip>>;
|
|
1971
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
1972
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
1973
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1975
|
+
}, z.core.$strip>>;
|
|
1976
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
1977
|
+
kind: z.ZodEnum<{
|
|
1978
|
+
create_draft: "create_draft";
|
|
1979
|
+
update_draft: "update_draft";
|
|
1980
|
+
publish: "publish";
|
|
1981
|
+
}>;
|
|
1982
|
+
status: z.ZodEnum<{
|
|
1983
|
+
failed: "failed";
|
|
1984
|
+
completed: "completed";
|
|
1985
|
+
}>;
|
|
1986
|
+
occurredAt: z.ZodString;
|
|
1987
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
1991
|
+
}, z.core.$strip>>;
|
|
1992
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
1993
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1995
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1996
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1997
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1999
|
+
high: "high";
|
|
2000
|
+
medium: "medium";
|
|
2001
|
+
low: "low";
|
|
2002
|
+
off: "off";
|
|
2003
|
+
minimal: "minimal";
|
|
2004
|
+
xhigh: "xhigh";
|
|
2005
|
+
}>>;
|
|
2006
|
+
headlessCompatible: z.ZodOptional<z.ZodBoolean>;
|
|
2007
|
+
tools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2008
|
+
find: "find";
|
|
2009
|
+
read: "read";
|
|
2010
|
+
ls: "ls";
|
|
2011
|
+
grep: "grep";
|
|
2012
|
+
bash: "bash";
|
|
2013
|
+
write: "write";
|
|
2014
|
+
edit: "edit";
|
|
2015
|
+
}>, z.ZodString]>>>;
|
|
2016
|
+
serviceTools: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2017
|
+
session_dashboard: "session_dashboard";
|
|
2018
|
+
memory_service_search: "memory_service_search";
|
|
2019
|
+
memory_service_store: "memory_service_store";
|
|
2020
|
+
memory_service_get: "memory_service_get";
|
|
2021
|
+
memory_service_update: "memory_service_update";
|
|
2022
|
+
memory_service_delete: "memory_service_delete";
|
|
2023
|
+
memory_service_list: "memory_service_list";
|
|
2024
|
+
memory_service_schema: "memory_service_schema";
|
|
2025
|
+
memory_service_facets: "memory_service_facets";
|
|
2026
|
+
context7_search: "context7_search";
|
|
2027
|
+
grep_app_search: "grep_app_search";
|
|
2028
|
+
web_search: "web_search";
|
|
2029
|
+
fetch_content: "fetch_content";
|
|
2030
|
+
product_prd_create: "product_prd_create";
|
|
2031
|
+
product_prd_get: "product_prd_get";
|
|
2032
|
+
product_prd_update: "product_prd_update";
|
|
2033
|
+
product_prd_list: "product_prd_list";
|
|
2034
|
+
product_task_comment: "product_task_comment";
|
|
2035
|
+
session_todo_create: "session_todo_create";
|
|
2036
|
+
session_todo_update: "session_todo_update";
|
|
2037
|
+
session_todo_list: "session_todo_list";
|
|
2038
|
+
session_todo_comment: "session_todo_comment";
|
|
2039
|
+
session_todo_attach: "session_todo_attach";
|
|
2040
|
+
product_generate_deck: "product_generate_deck";
|
|
2041
|
+
sandbox_exec: "sandbox_exec";
|
|
2042
|
+
loop_get_state: "loop_get_state";
|
|
2043
|
+
loop_update_state: "loop_update_state";
|
|
2044
|
+
coord_create_job: "coord_create_job";
|
|
2045
|
+
coord_add_task: "coord_add_task";
|
|
2046
|
+
coord_claim_task: "coord_claim_task";
|
|
2047
|
+
coord_complete_task: "coord_complete_task";
|
|
2048
|
+
coord_fail_task: "coord_fail_task";
|
|
2049
|
+
coord_list_tasks: "coord_list_tasks";
|
|
2050
|
+
coord_job_status: "coord_job_status";
|
|
2051
|
+
coord_reserve_file: "coord_reserve_file";
|
|
2052
|
+
coord_release_file: "coord_release_file";
|
|
2053
|
+
coord_provide_contract: "coord_provide_contract";
|
|
2054
|
+
coord_check_contract: "coord_check_contract";
|
|
2055
|
+
coord_send_message: "coord_send_message";
|
|
2056
|
+
coord_read_messages: "coord_read_messages";
|
|
2057
|
+
coord_heartbeat: "coord_heartbeat";
|
|
2058
|
+
coord_spawn_workers: "coord_spawn_workers";
|
|
2059
|
+
}>, z.ZodString]>>>;
|
|
2060
|
+
savedSkills: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2061
|
+
skillId: z.ZodString;
|
|
2062
|
+
repo: z.ZodString;
|
|
2063
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
}, z.core.$strip>>>;
|
|
2066
|
+
companionAgents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2067
|
+
}, z.core.$loose>>;
|
|
2068
|
+
}, z.core.$loose>>;
|
|
1553
2069
|
lastActivityAt: z.ZodOptional<z.ZodString>;
|
|
1554
2070
|
taskCount: z.ZodOptional<z.ZodNumber>;
|
|
1555
2071
|
subAgentCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1645,6 +2161,43 @@ export declare const CoderSessionListResponseSchema: z.ZodObject<{
|
|
|
1645
2161
|
url: z.ZodOptional<z.ZodString>;
|
|
1646
2162
|
}, z.core.$strip>>;
|
|
1647
2163
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2164
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2165
|
+
mode: z.ZodEnum<{
|
|
2166
|
+
edit: "edit";
|
|
2167
|
+
new: "new";
|
|
2168
|
+
from_session: "from_session";
|
|
2169
|
+
}>;
|
|
2170
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2171
|
+
sessionId: z.ZodString;
|
|
2172
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
}, z.core.$strip>>;
|
|
2174
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2175
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
slug: z.ZodString;
|
|
2177
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2178
|
+
}, z.core.$strip>>;
|
|
2179
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2180
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2181
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2183
|
+
}, z.core.$strip>>;
|
|
2184
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2185
|
+
kind: z.ZodEnum<{
|
|
2186
|
+
create_draft: "create_draft";
|
|
2187
|
+
update_draft: "update_draft";
|
|
2188
|
+
publish: "publish";
|
|
2189
|
+
}>;
|
|
2190
|
+
status: z.ZodEnum<{
|
|
2191
|
+
failed: "failed";
|
|
2192
|
+
completed: "completed";
|
|
2193
|
+
}>;
|
|
2194
|
+
occurredAt: z.ZodString;
|
|
2195
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2196
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2198
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2199
|
+
}, z.core.$strip>>;
|
|
2200
|
+
}, z.core.$strip>>;
|
|
1648
2201
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1649
2202
|
bucket: z.ZodEnum<{
|
|
1650
2203
|
running: "running";
|
|
@@ -1743,6 +2296,43 @@ export declare const CoderSessionListPayloadSchema: z.ZodUnion<readonly [z.ZodAr
|
|
|
1743
2296
|
url: z.ZodOptional<z.ZodString>;
|
|
1744
2297
|
}, z.core.$strip>>;
|
|
1745
2298
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2299
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2300
|
+
mode: z.ZodEnum<{
|
|
2301
|
+
edit: "edit";
|
|
2302
|
+
new: "new";
|
|
2303
|
+
from_session: "from_session";
|
|
2304
|
+
}>;
|
|
2305
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2306
|
+
sessionId: z.ZodString;
|
|
2307
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
}, z.core.$strip>>;
|
|
2309
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2311
|
+
slug: z.ZodString;
|
|
2312
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2313
|
+
}, z.core.$strip>>;
|
|
2314
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2315
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2317
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2318
|
+
}, z.core.$strip>>;
|
|
2319
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2320
|
+
kind: z.ZodEnum<{
|
|
2321
|
+
create_draft: "create_draft";
|
|
2322
|
+
update_draft: "update_draft";
|
|
2323
|
+
publish: "publish";
|
|
2324
|
+
}>;
|
|
2325
|
+
status: z.ZodEnum<{
|
|
2326
|
+
failed: "failed";
|
|
2327
|
+
completed: "completed";
|
|
2328
|
+
}>;
|
|
2329
|
+
occurredAt: z.ZodString;
|
|
2330
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
+
}, z.core.$strip>>;
|
|
2335
|
+
}, z.core.$strip>>;
|
|
1746
2336
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1747
2337
|
bucket: z.ZodEnum<{
|
|
1748
2338
|
running: "running";
|
|
@@ -1836,6 +2426,43 @@ export declare const CoderSessionListPayloadSchema: z.ZodUnion<readonly [z.ZodAr
|
|
|
1836
2426
|
url: z.ZodOptional<z.ZodString>;
|
|
1837
2427
|
}, z.core.$strip>>;
|
|
1838
2428
|
enabledAgents: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2429
|
+
builder: z.ZodOptional<z.ZodObject<{
|
|
2430
|
+
mode: z.ZodEnum<{
|
|
2431
|
+
edit: "edit";
|
|
2432
|
+
new: "new";
|
|
2433
|
+
from_session: "from_session";
|
|
2434
|
+
}>;
|
|
2435
|
+
sourceSession: z.ZodOptional<z.ZodObject<{
|
|
2436
|
+
sessionId: z.ZodString;
|
|
2437
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2438
|
+
}, z.core.$strip>>;
|
|
2439
|
+
targetAgent: z.ZodOptional<z.ZodObject<{
|
|
2440
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
slug: z.ZodString;
|
|
2442
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2443
|
+
}, z.core.$strip>>;
|
|
2444
|
+
durable: z.ZodOptional<z.ZodObject<{
|
|
2445
|
+
draftAgentId: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
draftAgentSlug: z.ZodOptional<z.ZodString>;
|
|
2447
|
+
lastPublishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2448
|
+
}, z.core.$strip>>;
|
|
2449
|
+
lastAction: z.ZodOptional<z.ZodObject<{
|
|
2450
|
+
kind: z.ZodEnum<{
|
|
2451
|
+
create_draft: "create_draft";
|
|
2452
|
+
update_draft: "update_draft";
|
|
2453
|
+
publish: "publish";
|
|
2454
|
+
}>;
|
|
2455
|
+
status: z.ZodEnum<{
|
|
2456
|
+
failed: "failed";
|
|
2457
|
+
completed: "completed";
|
|
2458
|
+
}>;
|
|
2459
|
+
occurredAt: z.ZodString;
|
|
2460
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
agentSlug: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
publishedVersion: z.ZodOptional<z.ZodNumber>;
|
|
2464
|
+
}, z.core.$strip>>;
|
|
2465
|
+
}, z.core.$strip>>;
|
|
1839
2466
|
defaultAgent: z.ZodOptional<z.ZodString>;
|
|
1840
2467
|
bucket: z.ZodEnum<{
|
|
1841
2468
|
running: "running";
|