@myagentroam/protocol 0.9.77 → 0.9.78

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.js CHANGED
@@ -1905,6 +1905,7 @@ export const hostedConversationSnapshotSchema = z
1905
1905
  .strict()
1906
1906
  .nullable(),
1907
1907
  turns: z.array(conversationTurnSchema),
1908
+ historyNextCursor: z.string().min(1).max(2048).nullable(),
1908
1909
  files: z.array(conversationFileProjectionSchema),
1909
1910
  models: z.array(marAgentNodeModelSummarySchema),
1910
1911
  error: z
@@ -1949,6 +1950,18 @@ export const hostedConversationIdInputSchema = z
1949
1950
  conversationId: protocolIdSchema
1950
1951
  })
1951
1952
  .strict();
1953
+ export const hostedConversationHistoryInputSchema = hostedConversationIdInputSchema
1954
+ .extend({
1955
+ limit: z.number().int().min(1).max(100).default(10),
1956
+ cursor: z.string().min(1).max(2048).optional()
1957
+ })
1958
+ .strict();
1959
+ export const hostedConversationHistoryPageSchema = z
1960
+ .object({
1961
+ turns: z.array(conversationTurnSchema).max(100),
1962
+ nextCursor: z.string().min(1).max(2048).nullable()
1963
+ })
1964
+ .strict();
1952
1965
  export const hostedConversationRollbackInputSchema = hostedConversationIdInputSchema
1953
1966
  .extend({
1954
1967
  turnId: z.string().min(1).max(128),
@@ -2472,6 +2485,7 @@ export const workbenchNodeOperationSchema = z.enum([
2472
2485
  'conversation.hosted.list',
2473
2486
  'conversation.hosted.create',
2474
2487
  'conversation.hosted.get',
2488
+ 'conversation.hosted.history',
2475
2489
  'conversation.hosted.watch',
2476
2490
  'conversation.hosted.unwatch',
2477
2491
  'conversation.hosted.message',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.9.77",
3
+ "version": "0.9.78",
4
4
  "description": "Shared runtime protocol schemas for MyAgentRoam.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",