@camerontaylor/paseo-protocol 0.9.0-beta.2.fork.1 → 0.9.1-fork.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.
|
@@ -39178,6 +39178,25 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
39178
39178
|
if (__o_2791["role"] !== "user" && __o_2791["role"] !== "assistant") {
|
|
39179
39179
|
_e.push({ code: "invalid_value", values: ["user", "assistant"], input: __o_2791["role"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("role") });
|
|
39180
39180
|
}
|
|
39181
|
+
if (__o_2791["count"] !== undefined) {
|
|
39182
|
+
if (typeof __o_2791["count"] !== "number") {
|
|
39183
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_2791["count"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("count") });
|
|
39184
|
+
}
|
|
39185
|
+
else if (Number.isNaN(__o_2791["count"])) {
|
|
39186
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_2791["count"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("count") });
|
|
39187
|
+
}
|
|
39188
|
+
else if (!Number.isFinite(__o_2791["count"])) {
|
|
39189
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2791["count"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("count") });
|
|
39190
|
+
}
|
|
39191
|
+
else {
|
|
39192
|
+
if (!Number.isSafeInteger(__o_2791["count"])) {
|
|
39193
|
+
_e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_2791["count"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("count") });
|
|
39194
|
+
}
|
|
39195
|
+
if (__o_2791["count"] <= 0) {
|
|
39196
|
+
_e.push({ code: "too_small", minimum: 0, origin: "number", inclusive: false, input: __o_2791["count"], path: ["message"].concat("payload").concat("locations").concat(__i_2790).concat("count") });
|
|
39197
|
+
}
|
|
39198
|
+
}
|
|
39199
|
+
}
|
|
39181
39200
|
}
|
|
39182
39201
|
}
|
|
39183
39202
|
}
|
package/dist/messages.d.ts
CHANGED
|
@@ -4455,8 +4455,6 @@ export declare const SessionEventSubscriptionSchema: z.ZodEnum<{
|
|
|
4455
4455
|
script_status_update: "script_status_update";
|
|
4456
4456
|
workspace_setup_progress: "workspace_setup_progress";
|
|
4457
4457
|
"agent.provider_subagents.update": "agent.provider_subagents.update";
|
|
4458
|
-
"agent.side_conversation.update": "agent.side_conversation.update";
|
|
4459
|
-
"agent.side_conversation.removed": "agent.side_conversation.removed";
|
|
4460
4458
|
terminal_attention_required: "terminal_attention_required";
|
|
4461
4459
|
"status.server_info": "status.server_info";
|
|
4462
4460
|
"status.daemon_config_changed": "status.daemon_config_changed";
|
|
@@ -4480,8 +4478,6 @@ export declare const SessionEventsSetSubscriptionRequestSchema: z.ZodObject<{
|
|
|
4480
4478
|
script_status_update: "script_status_update";
|
|
4481
4479
|
workspace_setup_progress: "workspace_setup_progress";
|
|
4482
4480
|
"agent.provider_subagents.update": "agent.provider_subagents.update";
|
|
4483
|
-
"agent.side_conversation.update": "agent.side_conversation.update";
|
|
4484
|
-
"agent.side_conversation.removed": "agent.side_conversation.removed";
|
|
4485
4481
|
terminal_attention_required: "terminal_attention_required";
|
|
4486
4482
|
"status.server_info": "status.server_info";
|
|
4487
4483
|
"status.daemon_config_changed": "status.daemon_config_changed";
|
|
@@ -4593,8 +4589,6 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4593
4589
|
script_status_update: "script_status_update";
|
|
4594
4590
|
workspace_setup_progress: "workspace_setup_progress";
|
|
4595
4591
|
"agent.provider_subagents.update": "agent.provider_subagents.update";
|
|
4596
|
-
"agent.side_conversation.update": "agent.side_conversation.update";
|
|
4597
|
-
"agent.side_conversation.removed": "agent.side_conversation.removed";
|
|
4598
4592
|
terminal_attention_required: "terminal_attention_required";
|
|
4599
4593
|
"status.server_info": "status.server_info";
|
|
4600
4594
|
"status.daemon_config_changed": "status.daemon_config_changed";
|
|
@@ -12280,6 +12274,7 @@ export declare const AgentTimelineSearchResponseMessageSchema: z.ZodObject<{
|
|
|
12280
12274
|
assistant: "assistant";
|
|
12281
12275
|
user: "user";
|
|
12282
12276
|
}>;
|
|
12277
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
12283
12278
|
}, z.core.$strip>>;
|
|
12284
12279
|
nextCursor: z.ZodNullable<z.ZodNumber>;
|
|
12285
12280
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -25607,6 +25602,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
25607
25602
|
assistant: "assistant";
|
|
25608
25603
|
user: "user";
|
|
25609
25604
|
}>;
|
|
25605
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
25610
25606
|
}, z.core.$strip>>;
|
|
25611
25607
|
nextCursor: z.ZodNullable<z.ZodNumber>;
|
|
25612
25608
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -33718,8 +33714,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
33718
33714
|
script_status_update: "script_status_update";
|
|
33719
33715
|
workspace_setup_progress: "workspace_setup_progress";
|
|
33720
33716
|
"agent.provider_subagents.update": "agent.provider_subagents.update";
|
|
33721
|
-
"agent.side_conversation.update": "agent.side_conversation.update";
|
|
33722
|
-
"agent.side_conversation.removed": "agent.side_conversation.removed";
|
|
33723
33717
|
terminal_attention_required: "terminal_attention_required";
|
|
33724
33718
|
"status.server_info": "status.server_info";
|
|
33725
33719
|
"status.daemon_config_changed": "status.daemon_config_changed";
|
|
@@ -40647,6 +40641,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40647
40641
|
assistant: "assistant";
|
|
40648
40642
|
user: "user";
|
|
40649
40643
|
}>;
|
|
40644
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
40650
40645
|
}, z.core.$strip>>;
|
|
40651
40646
|
nextCursor: z.ZodNullable<z.ZodNumber>;
|
|
40652
40647
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -48402,8 +48397,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
48402
48397
|
script_status_update: "script_status_update";
|
|
48403
48398
|
workspace_setup_progress: "workspace_setup_progress";
|
|
48404
48399
|
"agent.provider_subagents.update": "agent.provider_subagents.update";
|
|
48405
|
-
"agent.side_conversation.update": "agent.side_conversation.update";
|
|
48406
|
-
"agent.side_conversation.removed": "agent.side_conversation.removed";
|
|
48407
48400
|
terminal_attention_required: "terminal_attention_required";
|
|
48408
48401
|
"status.server_info": "status.server_info";
|
|
48409
48402
|
"status.daemon_config_changed": "status.daemon_config_changed";
|
|
@@ -55333,6 +55326,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
55333
55326
|
assistant: "assistant";
|
|
55334
55327
|
user: "user";
|
|
55335
55328
|
}>;
|
|
55329
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
55336
55330
|
}, z.core.$strip>>;
|
|
55337
55331
|
nextCursor: z.ZodNullable<z.ZodNumber>;
|
|
55338
55332
|
error: z.ZodNullable<z.ZodString>;
|
package/dist/messages.js
CHANGED
|
@@ -2652,8 +2652,6 @@ export const SessionEventSubscriptionSchema = z.enum([
|
|
|
2652
2652
|
"script_status_update",
|
|
2653
2653
|
"workspace_setup_progress",
|
|
2654
2654
|
"agent.provider_subagents.update",
|
|
2655
|
-
"agent.side_conversation.update",
|
|
2656
|
-
"agent.side_conversation.removed",
|
|
2657
2655
|
"terminal_attention_required",
|
|
2658
2656
|
"status.server_info",
|
|
2659
2657
|
"status.daemon_config_changed",
|
|
@@ -4058,7 +4056,13 @@ export const AgentTimelineSearchResponseMessageSchema = z.object({
|
|
|
4058
4056
|
requestId: z.string(),
|
|
4059
4057
|
agentId: z.string(),
|
|
4060
4058
|
epoch: z.string(),
|
|
4061
|
-
locations: z.array(z.object({
|
|
4059
|
+
locations: z.array(z.object({
|
|
4060
|
+
seq: z.number().int().nonnegative(),
|
|
4061
|
+
role: z.enum(["user", "assistant"]),
|
|
4062
|
+
// Estimated occurrences in the message; the client verifies against rendered text.
|
|
4063
|
+
// COMPAT(timelineSearchCount): added in v0.9.0, remove optional after 2027-09-22.
|
|
4064
|
+
count: z.number().int().positive().optional(),
|
|
4065
|
+
})),
|
|
4062
4066
|
nextCursor: z.number().int().nonnegative().nullable(),
|
|
4063
4067
|
error: z.string().nullable(),
|
|
4064
4068
|
}),
|
|
@@ -4148,6 +4148,7 @@ export declare const WSOutboundMessageSchema: {
|
|
|
4148
4148
|
assistant: "assistant";
|
|
4149
4149
|
user: "user";
|
|
4150
4150
|
}>;
|
|
4151
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4151
4152
|
}, import("zod/v4/core").$strip>>;
|
|
4152
4153
|
nextCursor: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
4153
4154
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|