@myagentroam/protocol 0.11.33 → 0.11.34

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 CHANGED
@@ -1836,14 +1836,14 @@ export type MarAgentReasoningEffort = z.infer<typeof marAgentReasoningEffortSche
1836
1836
  export declare function resolveMarAgentDefaultReasoningEffort(value: unknown, reasoningEfforts: readonly string[]): MarAgentReasoningEffort;
1837
1837
  export declare const marAgentResponsesTransportSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
1838
1838
  transport: z.ZodLiteral<"WEBSOCKET">;
1839
- }, "strict", z.ZodTypeAny, {
1839
+ }, "strip", z.ZodTypeAny, {
1840
1840
  transport: "WEBSOCKET";
1841
1841
  }, {
1842
1842
  transport: "WEBSOCKET";
1843
1843
  }>, z.ZodObject<{
1844
1844
  transport: z.ZodLiteral<"HTTP">;
1845
1845
  httpVersion: z.ZodEnum<["1.1", "2"]>;
1846
- }, "strict", z.ZodTypeAny, {
1846
+ }, "strip", z.ZodTypeAny, {
1847
1847
  transport: "HTTP";
1848
1848
  httpVersion: "2" | "1.1";
1849
1849
  }, {
@@ -2977,14 +2977,14 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2977
2977
  hostedWebSearch: z.ZodBoolean;
2978
2978
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
2979
2979
  transport: z.ZodLiteral<"WEBSOCKET">;
2980
- }, "strict", z.ZodTypeAny, {
2980
+ }, "strip", z.ZodTypeAny, {
2981
2981
  transport: "WEBSOCKET";
2982
2982
  }, {
2983
2983
  transport: "WEBSOCKET";
2984
2984
  }>, z.ZodObject<{
2985
2985
  transport: z.ZodLiteral<"HTTP">;
2986
2986
  httpVersion: z.ZodEnum<["1.1", "2"]>;
2987
- }, "strict", z.ZodTypeAny, {
2987
+ }, "strip", z.ZodTypeAny, {
2988
2988
  transport: "HTTP";
2989
2989
  httpVersion: "2" | "1.1";
2990
2990
  }, {
@@ -3132,14 +3132,14 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
3132
3132
  hostedWebSearch: z.ZodBoolean;
3133
3133
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
3134
3134
  transport: z.ZodLiteral<"WEBSOCKET">;
3135
- }, "strict", z.ZodTypeAny, {
3135
+ }, "strip", z.ZodTypeAny, {
3136
3136
  transport: "WEBSOCKET";
3137
3137
  }, {
3138
3138
  transport: "WEBSOCKET";
3139
3139
  }>, z.ZodObject<{
3140
3140
  transport: z.ZodLiteral<"HTTP">;
3141
3141
  httpVersion: z.ZodEnum<["1.1", "2"]>;
3142
- }, "strict", z.ZodTypeAny, {
3142
+ }, "strip", z.ZodTypeAny, {
3143
3143
  transport: "HTTP";
3144
3144
  httpVersion: "2" | "1.1";
3145
3145
  }, {
@@ -3435,7 +3435,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3435
3435
  textVerbosity: z.ZodBoolean;
3436
3436
  promptCacheKey: z.ZodBoolean;
3437
3437
  nativeTools: z.ZodOptional<z.ZodBoolean>;
3438
- }, "strict", z.ZodTypeAny, {
3438
+ }, "strip", z.ZodTypeAny, {
3439
3439
  reasoningEffort: boolean;
3440
3440
  reasoningSummary: boolean;
3441
3441
  textVerbosity: boolean;
@@ -3684,14 +3684,14 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3684
3684
  hostedWebSearch: z.ZodBoolean;
3685
3685
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
3686
3686
  transport: z.ZodLiteral<"WEBSOCKET">;
3687
- }, "strict", z.ZodTypeAny, {
3687
+ }, "strip", z.ZodTypeAny, {
3688
3688
  transport: "WEBSOCKET";
3689
3689
  }, {
3690
3690
  transport: "WEBSOCKET";
3691
3691
  }>, z.ZodObject<{
3692
3692
  transport: z.ZodLiteral<"HTTP">;
3693
3693
  httpVersion: z.ZodEnum<["1.1", "2"]>;
3694
- }, "strict", z.ZodTypeAny, {
3694
+ }, "strip", z.ZodTypeAny, {
3695
3695
  transport: "HTTP";
3696
3696
  httpVersion: "2" | "1.1";
3697
3697
  }, {
@@ -4735,7 +4735,7 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4735
4735
  textVerbosity: z.ZodBoolean;
4736
4736
  promptCacheKey: z.ZodBoolean;
4737
4737
  nativeTools: z.ZodOptional<z.ZodBoolean>;
4738
- }, "strict", z.ZodTypeAny, {
4738
+ }, "strip", z.ZodTypeAny, {
4739
4739
  reasoningEffort: boolean;
4740
4740
  reasoningSummary: boolean;
4741
4741
  textVerbosity: boolean;
@@ -4984,14 +4984,14 @@ export declare const promptCompletionRuntimeSchema: z.ZodObject<{
4984
4984
  hostedWebSearch: z.ZodBoolean;
4985
4985
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
4986
4986
  transport: z.ZodLiteral<"WEBSOCKET">;
4987
- }, "strict", z.ZodTypeAny, {
4987
+ }, "strip", z.ZodTypeAny, {
4988
4988
  transport: "WEBSOCKET";
4989
4989
  }, {
4990
4990
  transport: "WEBSOCKET";
4991
4991
  }>, z.ZodObject<{
4992
4992
  transport: z.ZodLiteral<"HTTP">;
4993
4993
  httpVersion: z.ZodEnum<["1.1", "2"]>;
4994
- }, "strict", z.ZodTypeAny, {
4994
+ }, "strip", z.ZodTypeAny, {
4995
4995
  transport: "HTTP";
4996
4996
  httpVersion: "2" | "1.1";
4997
4997
  }, {
@@ -5374,7 +5374,7 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5374
5374
  textVerbosity: z.ZodBoolean;
5375
5375
  promptCacheKey: z.ZodBoolean;
5376
5376
  nativeTools: z.ZodOptional<z.ZodBoolean>;
5377
- }, "strict", z.ZodTypeAny, {
5377
+ }, "strip", z.ZodTypeAny, {
5378
5378
  reasoningEffort: boolean;
5379
5379
  reasoningSummary: boolean;
5380
5380
  textVerbosity: boolean;
@@ -5623,14 +5623,14 @@ export declare const marAgentRuntimeCompactConfigurationSchema: z.ZodObject<{
5623
5623
  hostedWebSearch: z.ZodBoolean;
5624
5624
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
5625
5625
  transport: z.ZodLiteral<"WEBSOCKET">;
5626
- }, "strict", z.ZodTypeAny, {
5626
+ }, "strip", z.ZodTypeAny, {
5627
5627
  transport: "WEBSOCKET";
5628
5628
  }, {
5629
5629
  transport: "WEBSOCKET";
5630
5630
  }>, z.ZodObject<{
5631
5631
  transport: z.ZodLiteral<"HTTP">;
5632
5632
  httpVersion: z.ZodEnum<["1.1", "2"]>;
5633
- }, "strict", z.ZodTypeAny, {
5633
+ }, "strip", z.ZodTypeAny, {
5634
5634
  transport: "HTTP";
5635
5635
  httpVersion: "2" | "1.1";
5636
5636
  }, {
@@ -6003,7 +6003,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6003
6003
  textVerbosity: z.ZodBoolean;
6004
6004
  promptCacheKey: z.ZodBoolean;
6005
6005
  nativeTools: z.ZodOptional<z.ZodBoolean>;
6006
- }, "strict", z.ZodTypeAny, {
6006
+ }, "strip", z.ZodTypeAny, {
6007
6007
  reasoningEffort: boolean;
6008
6008
  reasoningSummary: boolean;
6009
6009
  textVerbosity: boolean;
@@ -6252,14 +6252,14 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
6252
6252
  hostedWebSearch: z.ZodBoolean;
6253
6253
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
6254
6254
  transport: z.ZodLiteral<"WEBSOCKET">;
6255
- }, "strict", z.ZodTypeAny, {
6255
+ }, "strip", z.ZodTypeAny, {
6256
6256
  transport: "WEBSOCKET";
6257
6257
  }, {
6258
6258
  transport: "WEBSOCKET";
6259
6259
  }>, z.ZodObject<{
6260
6260
  transport: z.ZodLiteral<"HTTP">;
6261
6261
  httpVersion: z.ZodEnum<["1.1", "2"]>;
6262
- }, "strict", z.ZodTypeAny, {
6262
+ }, "strip", z.ZodTypeAny, {
6263
6263
  transport: "HTTP";
6264
6264
  httpVersion: "2" | "1.1";
6265
6265
  }, {
@@ -6588,14 +6588,14 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
6588
6588
  hostedWebSearch: z.ZodBoolean;
6589
6589
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
6590
6590
  transport: z.ZodLiteral<"WEBSOCKET">;
6591
- }, "strict", z.ZodTypeAny, {
6591
+ }, "strip", z.ZodTypeAny, {
6592
6592
  transport: "WEBSOCKET";
6593
6593
  }, {
6594
6594
  transport: "WEBSOCKET";
6595
6595
  }>, z.ZodObject<{
6596
6596
  transport: z.ZodLiteral<"HTTP">;
6597
6597
  httpVersion: z.ZodEnum<["1.1", "2"]>;
6598
- }, "strict", z.ZodTypeAny, {
6598
+ }, "strip", z.ZodTypeAny, {
6599
6599
  transport: "HTTP";
6600
6600
  httpVersion: "2" | "1.1";
6601
6601
  }, {
@@ -23060,14 +23060,14 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
23060
23060
  hostedWebSearch: z.ZodBoolean;
23061
23061
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
23062
23062
  transport: z.ZodLiteral<"WEBSOCKET">;
23063
- }, "strict", z.ZodTypeAny, {
23063
+ }, "strip", z.ZodTypeAny, {
23064
23064
  transport: "WEBSOCKET";
23065
23065
  }, {
23066
23066
  transport: "WEBSOCKET";
23067
23067
  }>, z.ZodObject<{
23068
23068
  transport: z.ZodLiteral<"HTTP">;
23069
23069
  httpVersion: z.ZodEnum<["1.1", "2"]>;
23070
- }, "strict", z.ZodTypeAny, {
23070
+ }, "strip", z.ZodTypeAny, {
23071
23071
  transport: "HTTP";
23072
23072
  httpVersion: "2" | "1.1";
23073
23073
  }, {
@@ -26082,14 +26082,14 @@ export declare const hostedConversationModelOptionsSchema: z.ZodEffects<z.ZodObj
26082
26082
  hostedWebSearch: z.ZodBoolean;
26083
26083
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
26084
26084
  transport: z.ZodLiteral<"WEBSOCKET">;
26085
- }, "strict", z.ZodTypeAny, {
26085
+ }, "strip", z.ZodTypeAny, {
26086
26086
  transport: "WEBSOCKET";
26087
26087
  }, {
26088
26088
  transport: "WEBSOCKET";
26089
26089
  }>, z.ZodObject<{
26090
26090
  transport: z.ZodLiteral<"HTTP">;
26091
26091
  httpVersion: z.ZodEnum<["1.1", "2"]>;
26092
- }, "strict", z.ZodTypeAny, {
26092
+ }, "strip", z.ZodTypeAny, {
26093
26093
  transport: "HTTP";
26094
26094
  httpVersion: "2" | "1.1";
26095
26095
  }, {
@@ -32596,14 +32596,14 @@ export declare const hostedConversationTemplateSwitchResultSchema: z.ZodEffects<
32596
32596
  hostedWebSearch: z.ZodBoolean;
32597
32597
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
32598
32598
  transport: z.ZodLiteral<"WEBSOCKET">;
32599
- }, "strict", z.ZodTypeAny, {
32599
+ }, "strip", z.ZodTypeAny, {
32600
32600
  transport: "WEBSOCKET";
32601
32601
  }, {
32602
32602
  transport: "WEBSOCKET";
32603
32603
  }>, z.ZodObject<{
32604
32604
  transport: z.ZodLiteral<"HTTP">;
32605
32605
  httpVersion: z.ZodEnum<["1.1", "2"]>;
32606
- }, "strict", z.ZodTypeAny, {
32606
+ }, "strip", z.ZodTypeAny, {
32607
32607
  transport: "HTTP";
32608
32608
  httpVersion: "2" | "1.1";
32609
32609
  }, {
@@ -44371,6 +44371,7 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
44371
44371
  details?: string | undefined;
44372
44372
  parameters?: Record<string, string | number> | undefined;
44373
44373
  }>>>;
44374
+ changesTruncated: z.ZodOptional<z.ZodBoolean>;
44374
44375
  changes: z.ZodArray<z.ZodObject<{
44375
44376
  path: z.ZodString;
44376
44377
  state: z.ZodEnum<["STAGED", "UNSTAGED", "UNTRACKED"]>;
@@ -44428,6 +44429,7 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
44428
44429
  ahead: number;
44429
44430
  behind: number;
44430
44431
  } | undefined;
44432
+ changesTruncated?: boolean | undefined;
44431
44433
  }, {
44432
44434
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44433
44435
  repositoryPath: string;
@@ -44460,6 +44462,7 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
44460
44462
  ahead: number;
44461
44463
  behind: number;
44462
44464
  } | undefined;
44465
+ changesTruncated?: boolean | undefined;
44463
44466
  }>, {
44464
44467
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44465
44468
  repositoryPath: string;
@@ -44492,6 +44495,7 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
44492
44495
  ahead: number;
44493
44496
  behind: number;
44494
44497
  } | undefined;
44498
+ changesTruncated?: boolean | undefined;
44495
44499
  }, {
44496
44500
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44497
44501
  repositoryPath: string;
@@ -44524,6 +44528,7 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
44524
44528
  ahead: number;
44525
44529
  behind: number;
44526
44530
  } | undefined;
44531
+ changesTruncated?: boolean | undefined;
44527
44532
  }>;
44528
44533
  export type WorkspaceChangesRepository = z.infer<typeof workspaceChangesRepositorySchema>;
44529
44534
  export declare const workspaceChangesSummarySchema: z.ZodObject<{
@@ -44594,6 +44599,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44594
44599
  details?: string | undefined;
44595
44600
  parameters?: Record<string, string | number> | undefined;
44596
44601
  }>>>;
44602
+ changesTruncated: z.ZodOptional<z.ZodBoolean>;
44597
44603
  changes: z.ZodArray<z.ZodObject<{
44598
44604
  path: z.ZodString;
44599
44605
  state: z.ZodEnum<["STAGED", "UNSTAGED", "UNTRACKED"]>;
@@ -44651,6 +44657,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44651
44657
  ahead: number;
44652
44658
  behind: number;
44653
44659
  } | undefined;
44660
+ changesTruncated?: boolean | undefined;
44654
44661
  }, {
44655
44662
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44656
44663
  repositoryPath: string;
@@ -44683,6 +44690,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44683
44690
  ahead: number;
44684
44691
  behind: number;
44685
44692
  } | undefined;
44693
+ changesTruncated?: boolean | undefined;
44686
44694
  }>, {
44687
44695
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44688
44696
  repositoryPath: string;
@@ -44715,6 +44723,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44715
44723
  ahead: number;
44716
44724
  behind: number;
44717
44725
  } | undefined;
44726
+ changesTruncated?: boolean | undefined;
44718
44727
  }, {
44719
44728
  source: "ROOT" | "SUBMODULE" | "WORKTREE";
44720
44729
  repositoryPath: string;
@@ -44747,6 +44756,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44747
44756
  ahead: number;
44748
44757
  behind: number;
44749
44758
  } | undefined;
44759
+ changesTruncated?: boolean | undefined;
44750
44760
  }>, "many">;
44751
44761
  worktrees: z.ZodOptional<z.ZodArray<z.ZodObject<{
44752
44762
  directoryName: z.ZodString;
@@ -44834,6 +44844,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44834
44844
  ahead: number;
44835
44845
  behind: number;
44836
44846
  } | undefined;
44847
+ changesTruncated?: boolean | undefined;
44837
44848
  }[];
44838
44849
  partial?: boolean | undefined;
44839
44850
  worktrees?: {
@@ -44895,6 +44906,7 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
44895
44906
  ahead: number;
44896
44907
  behind: number;
44897
44908
  } | undefined;
44909
+ changesTruncated?: boolean | undefined;
44898
44910
  }[];
44899
44911
  partial?: boolean | undefined;
44900
44912
  worktrees?: {
package/dist/index.js CHANGED
@@ -495,13 +495,13 @@ export function resolveMarAgentDefaultReasoningEffort(value, reasoningEfforts) {
495
495
  return first.success ? first.data : 'medium';
496
496
  }
497
497
  export const marAgentResponsesTransportSchema = z.discriminatedUnion('transport', [
498
- z.object({ transport: z.literal('WEBSOCKET') }).strict(),
498
+ z.object({ transport: z.literal('WEBSOCKET') }).strip(),
499
499
  z
500
500
  .object({
501
501
  transport: z.literal('HTTP'),
502
502
  httpVersion: runtimeCredentialHttpVersionSchema
503
503
  })
504
- .strict()
504
+ .strip()
505
505
  ]);
506
506
  export const runtimeCredentialTicketSchema = z
507
507
  .object({
@@ -859,7 +859,7 @@ export const marAgentRuntimeModelConfigurationSchema = refineMarAgentModel(z
859
859
  promptCacheKey: z.boolean(),
860
860
  nativeTools: z.boolean().optional()
861
861
  })
862
- .strict()
862
+ .strip()
863
863
  .optional(),
864
864
  imageGeneration: marAgentImageGenerationSchema.optional()
865
865
  })
@@ -3023,6 +3023,7 @@ export const workspaceChangesRepositorySchema = z
3023
3023
  locked: z.boolean().optional(),
3024
3024
  prunable: z.boolean().optional(),
3025
3025
  error: z.lazy(() => publicErrorSchema).optional(),
3026
+ changesTruncated: z.boolean().optional(),
3026
3027
  changes: z.array(workspaceChangeSchema)
3027
3028
  })
3028
3029
  .superRefine((repository, context) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.11.33",
3
+ "version": "0.11.34",
4
4
  "description": "Shared runtime protocol schemas for MyAgentRoam.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",