@otto-code/protocol 0.5.1 → 0.5.4
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/dist/agent-attention-notification.js +60 -12
- package/dist/agent-personalities.d.ts +36 -0
- package/dist/agent-personalities.js +104 -0
- package/dist/agent-teams.d.ts +49 -0
- package/dist/agent-teams.js +99 -0
- package/dist/agent-types.d.ts +41 -0
- package/dist/artifacts/rpc-schemas.d.ts +8 -8
- package/dist/artifacts/types.d.ts +7 -7
- package/dist/browser-automation/rpc-schemas.d.ts +3 -3
- package/dist/default-personalities.d.ts +2 -1
- package/dist/default-personalities.js +35 -11
- package/dist/generated/validation/ws-outbound.aot.js +13487 -10996
- package/dist/judge-verdict.d.ts +30 -0
- package/dist/judge-verdict.js +61 -0
- package/dist/loop/rpc-schemas.d.ts +19 -19
- package/dist/messages.d.ts +1886 -350
- package/dist/messages.js +298 -3
- package/dist/model-tiers.d.ts +34 -0
- package/dist/model-tiers.js +92 -0
- package/dist/orchestration.d.ts +152 -0
- package/dist/orchestration.js +199 -0
- package/dist/provider-manifest.d.ts +10 -0
- package/dist/provider-manifest.js +28 -0
- package/dist/schedule/rpc-schemas.d.ts +27 -26
- package/dist/schedule/rpc-schemas.js +3 -0
- package/dist/schedule/types.d.ts +9 -9
- package/dist/validation/ws-outbound-schema-metadata.d.ts +382 -93
- package/package.json +1 -1
package/dist/schedule/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ScheduleStatusSchema: z.ZodEnum<{
|
|
3
|
+
paused: "paused";
|
|
3
4
|
completed: "completed";
|
|
4
5
|
active: "active";
|
|
5
|
-
paused: "paused";
|
|
6
6
|
}>;
|
|
7
7
|
export type ScheduleStatus = z.infer<typeof ScheduleStatusSchema>;
|
|
8
8
|
export declare const ScheduleCadenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -53,8 +53,8 @@ export declare const ScheduleRunSchema: z.ZodObject<{
|
|
|
53
53
|
endedAt: z.ZodNullable<z.ZodString>;
|
|
54
54
|
status: z.ZodEnum<{
|
|
55
55
|
running: "running";
|
|
56
|
-
succeeded: "succeeded";
|
|
57
56
|
failed: "failed";
|
|
57
|
+
succeeded: "succeeded";
|
|
58
58
|
}>;
|
|
59
59
|
agentId: z.ZodNullable<z.ZodGUID>;
|
|
60
60
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -106,17 +106,17 @@ export declare const StoredScheduleSchema: z.ZodObject<{
|
|
|
106
106
|
}, z.core.$strip>;
|
|
107
107
|
}, z.core.$strip>], "type">;
|
|
108
108
|
status: z.ZodEnum<{
|
|
109
|
+
paused: "paused";
|
|
109
110
|
completed: "completed";
|
|
110
111
|
active: "active";
|
|
111
|
-
paused: "paused";
|
|
112
112
|
}>;
|
|
113
113
|
createdAt: z.ZodString;
|
|
114
114
|
updatedAt: z.ZodString;
|
|
115
115
|
nextRunAt: z.ZodNullable<z.ZodString>;
|
|
116
116
|
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
117
117
|
lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
118
|
-
succeeded: "succeeded";
|
|
119
118
|
failed: "failed";
|
|
119
|
+
succeeded: "succeeded";
|
|
120
120
|
}>>>;
|
|
121
121
|
lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
pausedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -129,8 +129,8 @@ export declare const StoredScheduleSchema: z.ZodObject<{
|
|
|
129
129
|
endedAt: z.ZodNullable<z.ZodString>;
|
|
130
130
|
status: z.ZodEnum<{
|
|
131
131
|
running: "running";
|
|
132
|
-
succeeded: "succeeded";
|
|
133
132
|
failed: "failed";
|
|
133
|
+
succeeded: "succeeded";
|
|
134
134
|
}>;
|
|
135
135
|
agentId: z.ZodNullable<z.ZodGUID>;
|
|
136
136
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -140,13 +140,14 @@ export declare const StoredScheduleSchema: z.ZodObject<{
|
|
|
140
140
|
}, z.core.$strip>;
|
|
141
141
|
export type StoredSchedule = z.infer<typeof StoredScheduleSchema>;
|
|
142
142
|
export declare const ScheduleSummarySchema: z.ZodObject<{
|
|
143
|
+
prompt: z.ZodString;
|
|
143
144
|
name: z.ZodNullable<z.ZodString>;
|
|
145
|
+
id: z.ZodString;
|
|
144
146
|
status: z.ZodEnum<{
|
|
147
|
+
paused: "paused";
|
|
145
148
|
completed: "completed";
|
|
146
149
|
active: "active";
|
|
147
|
-
paused: "paused";
|
|
148
150
|
}>;
|
|
149
|
-
id: z.ZodString;
|
|
150
151
|
createdAt: z.ZodString;
|
|
151
152
|
updatedAt: z.ZodString;
|
|
152
153
|
cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -188,12 +189,11 @@ export declare const ScheduleSummarySchema: z.ZodObject<{
|
|
|
188
189
|
mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
189
190
|
}, z.core.$strip>;
|
|
190
191
|
}, z.core.$strip>], "type">;
|
|
191
|
-
prompt: z.ZodString;
|
|
192
192
|
nextRunAt: z.ZodNullable<z.ZodString>;
|
|
193
193
|
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
194
194
|
lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
195
|
-
succeeded: "succeeded";
|
|
196
195
|
failed: "failed";
|
|
196
|
+
succeeded: "succeeded";
|
|
197
197
|
}>>>;
|
|
198
198
|
lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
199
|
pausedAt: z.ZodNullable<z.ZodString>;
|