@getpaseo/protocol 0.3.1 → 0.4.0-beta.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/dist/agent-types.d.ts +8 -4
- package/dist/chat/rpc-schemas.js +1 -0
- package/dist/chat/types.js +1 -0
- package/dist/generated/validation/ws-outbound.aot.js +38413 -37756
- package/dist/loop/rpc-schemas.js +1 -0
- package/dist/messages.d.ts +1014 -164
- package/dist/messages.js +213 -0
- package/dist/validation/ws-outbound-schema-metadata.d.ts +138 -30
- package/package.json +1 -1
package/dist/agent-types.d.ts
CHANGED
|
@@ -284,6 +284,13 @@ export interface CompactionTimelineItem {
|
|
|
284
284
|
trigger?: "auto" | "manual";
|
|
285
285
|
preTokens?: number;
|
|
286
286
|
}
|
|
287
|
+
export interface AgentTaskItem {
|
|
288
|
+
text: string;
|
|
289
|
+
completed: boolean;
|
|
290
|
+
id?: string;
|
|
291
|
+
status?: "pending" | "in_progress" | "completed";
|
|
292
|
+
activeForm?: string;
|
|
293
|
+
}
|
|
287
294
|
export type AgentTimelineItem = {
|
|
288
295
|
type: "user_message";
|
|
289
296
|
text: string;
|
|
@@ -298,10 +305,7 @@ export type AgentTimelineItem = {
|
|
|
298
305
|
text: string;
|
|
299
306
|
} | ToolCallTimelineItem | {
|
|
300
307
|
type: "todo";
|
|
301
|
-
items:
|
|
302
|
-
text: string;
|
|
303
|
-
completed: boolean;
|
|
304
|
-
}[];
|
|
308
|
+
items: AgentTaskItem[];
|
|
305
309
|
} | {
|
|
306
310
|
type: "error";
|
|
307
311
|
message: string;
|
package/dist/chat/rpc-schemas.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ChatMessageSchema, ChatRoomDetailSchema } from "./types.js";
|
|
3
|
+
// COMPAT(chatRooms): retained after the v0.3.0 feature removal; remove after 2027-02-09 when mixed-version peers no longer send legacy messages.
|
|
3
4
|
export const ChatCreateRequestSchema = z.object({
|
|
4
5
|
type: z.literal("chat/create"),
|
|
5
6
|
requestId: z.string(),
|
package/dist/chat/types.js
CHANGED