@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.
@@ -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>;