@myagentroam/protocol 0.13.5 → 0.13.7
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/index.d.ts +8 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8706,6 +8706,7 @@ export declare const watchEventSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8706
8706
|
type: z.ZodLiteral<"watch.session.snapshot">;
|
|
8707
8707
|
workspaceId: z.ZodString;
|
|
8708
8708
|
sessionId: z.ZodString;
|
|
8709
|
+
historyReset: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8709
8710
|
revision: z.ZodNumber;
|
|
8710
8711
|
snapshotSequence: z.ZodNumber;
|
|
8711
8712
|
expiresAt: z.ZodNumber;
|
|
@@ -8722,6 +8723,7 @@ export declare const watchEventSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8722
8723
|
watchId: string;
|
|
8723
8724
|
snapshotSequence: number;
|
|
8724
8725
|
payload?: unknown;
|
|
8726
|
+
historyReset?: true | undefined;
|
|
8725
8727
|
}, {
|
|
8726
8728
|
type: "watch.session.snapshot";
|
|
8727
8729
|
expiresAt: number;
|
|
@@ -8734,6 +8736,7 @@ export declare const watchEventSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
8734
8736
|
watchId: string;
|
|
8735
8737
|
snapshotSequence: number;
|
|
8736
8738
|
payload?: unknown;
|
|
8739
|
+
historyReset?: true | undefined;
|
|
8737
8740
|
}>, z.ZodObject<{
|
|
8738
8741
|
workbenchConnectionId: z.ZodString;
|
|
8739
8742
|
watchId: z.ZodString;
|
|
@@ -28338,6 +28341,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
28338
28341
|
} | undefined;
|
|
28339
28342
|
}>, "many">;
|
|
28340
28343
|
historyNextCursor: z.ZodNullable<z.ZodString>;
|
|
28344
|
+
historyVersion: z.ZodOptional<z.ZodString>;
|
|
28341
28345
|
files: z.ZodArray<z.ZodObject<{
|
|
28342
28346
|
id: z.ZodString;
|
|
28343
28347
|
conversationId: z.ZodString;
|
|
@@ -29371,6 +29375,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
29371
29375
|
};
|
|
29372
29376
|
historyNextCursor: string | null;
|
|
29373
29377
|
nodeAppVersion?: string | undefined;
|
|
29378
|
+
historyVersion?: string | undefined;
|
|
29374
29379
|
}, {
|
|
29375
29380
|
files: {
|
|
29376
29381
|
source: "SYSTEM" | "USER" | "AGENT";
|
|
@@ -30211,6 +30216,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
30211
30216
|
};
|
|
30212
30217
|
historyNextCursor: string | null;
|
|
30213
30218
|
nodeAppVersion?: string | undefined;
|
|
30219
|
+
historyVersion?: string | undefined;
|
|
30214
30220
|
}>, {
|
|
30215
30221
|
files: {
|
|
30216
30222
|
source: "SYSTEM" | "USER" | "AGENT";
|
|
@@ -31051,6 +31057,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
31051
31057
|
};
|
|
31052
31058
|
historyNextCursor: string | null;
|
|
31053
31059
|
nodeAppVersion?: string | undefined;
|
|
31060
|
+
historyVersion?: string | undefined;
|
|
31054
31061
|
}, {
|
|
31055
31062
|
files: {
|
|
31056
31063
|
source: "SYSTEM" | "USER" | "AGENT";
|
|
@@ -31891,6 +31898,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
31891
31898
|
};
|
|
31892
31899
|
historyNextCursor: string | null;
|
|
31893
31900
|
nodeAppVersion?: string | undefined;
|
|
31901
|
+
historyVersion?: string | undefined;
|
|
31894
31902
|
}>;
|
|
31895
31903
|
export type HostedConversationSnapshot = z.infer<typeof hostedConversationSnapshotSchema>;
|
|
31896
31904
|
export declare const hostedConversationCreateInputSchema: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -1551,6 +1551,7 @@ export const watchEventSchema = z.union([
|
|
|
1551
1551
|
type: z.literal('watch.session.snapshot'),
|
|
1552
1552
|
workspaceId: z.string().min(1).max(160),
|
|
1553
1553
|
sessionId: z.string().min(1).max(512),
|
|
1554
|
+
historyReset: z.literal(true).optional(),
|
|
1554
1555
|
revision: z.number().int().nonnegative(),
|
|
1555
1556
|
snapshotSequence: z.number().int().positive(),
|
|
1556
1557
|
expiresAt: z.number().int().positive(),
|
|
@@ -2706,6 +2707,7 @@ export const hostedConversationSnapshotSchema = z
|
|
|
2706
2707
|
.nullable(),
|
|
2707
2708
|
turns: z.array(conversationTurnSchema),
|
|
2708
2709
|
historyNextCursor: z.string().min(1).max(2048).nullable(),
|
|
2710
|
+
historyVersion: z.string().min(1).max(160).optional(),
|
|
2709
2711
|
files: z.array(conversationFileProjectionSchema),
|
|
2710
2712
|
models: z.array(marAgentNodeModelSummarySchema),
|
|
2711
2713
|
error: z
|