@myagentroam/protocol 0.9.145 → 0.9.146

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
@@ -2710,7 +2710,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2710
2710
  transport: "HTTP";
2711
2711
  httpVersion: "2" | "1.1";
2712
2712
  }>]>>;
2713
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
2714
2713
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
2715
2714
  enabled: z.ZodBoolean;
2716
2715
  }, "strip", z.ZodTypeAny, {
@@ -2750,7 +2749,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2750
2749
  transport: "HTTP";
2751
2750
  httpVersion: "2" | "1.1";
2752
2751
  } | undefined;
2753
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
2754
2752
  }, {
2755
2753
  name: string;
2756
2754
  id: string;
@@ -2787,7 +2785,6 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2787
2785
  transport: "HTTP";
2788
2786
  httpVersion: "2" | "1.1";
2789
2787
  } | undefined;
2790
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
2791
2788
  responsesPreviousResponseId?: boolean | undefined;
2792
2789
  }>, {
2793
2790
  [x: string]: any;
@@ -2855,7 +2852,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2855
2852
  transport: "HTTP";
2856
2853
  httpVersion: "2" | "1.1";
2857
2854
  }>]>>;
2858
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
2859
2855
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
2860
2856
  enabled: z.ZodBoolean;
2861
2857
  }, "strict", z.ZodTypeAny, {
@@ -2899,7 +2895,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2899
2895
  transport: "HTTP";
2900
2896
  httpVersion: "2" | "1.1";
2901
2897
  } | undefined;
2902
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
2903
2898
  }, {
2904
2899
  name: string;
2905
2900
  id: string;
@@ -2940,7 +2935,6 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2940
2935
  transport: "HTTP";
2941
2936
  httpVersion: "2" | "1.1";
2942
2937
  } | undefined;
2943
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
2944
2938
  responsesPreviousResponseId?: boolean | undefined;
2945
2939
  }>, {
2946
2940
  [x: string]: any;
@@ -2966,7 +2960,6 @@ export interface MarAgentModelSummary {
2966
2960
  serviceTier?: MarAgentResponsesServiceTier;
2967
2961
  hostedWebSearch: boolean;
2968
2962
  responsesTransport?: MarAgentResponsesTransport;
2969
- responsesEncoding?: 'STANDARD' | 'LITE';
2970
2963
  responsesPreviousResponseId?: boolean;
2971
2964
  enabled: boolean;
2972
2965
  sortOrder: number;
@@ -3375,7 +3368,6 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3375
3368
  transport: "HTTP";
3376
3369
  httpVersion: "2" | "1.1";
3377
3370
  }>]>>;
3378
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
3379
3371
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
3380
3372
  enabled: z.ZodBoolean;
3381
3373
  }, "strip", z.ZodTypeAny, {
@@ -3455,7 +3447,6 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3455
3447
  transport: "HTTP";
3456
3448
  httpVersion: "2" | "1.1";
3457
3449
  } | undefined;
3458
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
3459
3450
  responsesToolNamespace?: string | undefined;
3460
3451
  responsesConfigurationUpdates?: boolean | undefined;
3461
3452
  }, {
@@ -3534,7 +3525,6 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3534
3525
  transport: "HTTP";
3535
3526
  httpVersion: "2" | "1.1";
3536
3527
  } | undefined;
3537
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
3538
3528
  responsesPreviousResponseId?: boolean | undefined;
3539
3529
  responsesToolNamespace?: string | undefined;
3540
3530
  responsesConfigurationUpdates?: boolean | undefined;
@@ -3946,7 +3936,6 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
3946
3936
  transport: "HTTP";
3947
3937
  httpVersion: "2" | "1.1";
3948
3938
  }>]>>;
3949
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
3950
3939
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
3951
3940
  enabled: z.ZodBoolean;
3952
3941
  }, "strip", z.ZodTypeAny, {
@@ -4026,7 +4015,6 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4026
4015
  transport: "HTTP";
4027
4016
  httpVersion: "2" | "1.1";
4028
4017
  } | undefined;
4029
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
4030
4018
  responsesToolNamespace?: string | undefined;
4031
4019
  responsesConfigurationUpdates?: boolean | undefined;
4032
4020
  }, {
@@ -4105,7 +4093,6 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4105
4093
  transport: "HTTP";
4106
4094
  httpVersion: "2" | "1.1";
4107
4095
  } | undefined;
4108
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
4109
4096
  responsesPreviousResponseId?: boolean | undefined;
4110
4097
  responsesToolNamespace?: string | undefined;
4111
4098
  responsesConfigurationUpdates?: boolean | undefined;
@@ -4217,7 +4204,6 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4217
4204
  transport: "HTTP";
4218
4205
  httpVersion: "2" | "1.1";
4219
4206
  }>]>>;
4220
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
4221
4207
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
4222
4208
  enabled: z.ZodBoolean;
4223
4209
  }, "strict", z.ZodTypeAny, {
@@ -4253,7 +4239,6 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4253
4239
  transport: "HTTP";
4254
4240
  httpVersion: "2" | "1.1";
4255
4241
  } | undefined;
4256
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
4257
4242
  }, {
4258
4243
  name: string;
4259
4244
  id: string;
@@ -4286,7 +4271,6 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4286
4271
  transport: "HTTP";
4287
4272
  httpVersion: "2" | "1.1";
4288
4273
  } | undefined;
4289
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
4290
4274
  responsesPreviousResponseId?: boolean | undefined;
4291
4275
  }>, {
4292
4276
  [x: string]: any;
@@ -14350,7 +14334,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14350
14334
  transport: "HTTP";
14351
14335
  httpVersion: "2" | "1.1";
14352
14336
  }>]>>;
14353
- responsesEncoding: z.ZodOptional<z.ZodEnum<["STANDARD", "LITE"]>>;
14354
14337
  responsesPreviousResponseId: z.ZodDefault<z.ZodBoolean>;
14355
14338
  enabled: z.ZodBoolean;
14356
14339
  }, "strip", z.ZodTypeAny, {
@@ -14390,7 +14373,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14390
14373
  transport: "HTTP";
14391
14374
  httpVersion: "2" | "1.1";
14392
14375
  } | undefined;
14393
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
14394
14376
  }, {
14395
14377
  name: string;
14396
14378
  id: string;
@@ -14427,7 +14409,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14427
14409
  transport: "HTTP";
14428
14410
  httpVersion: "2" | "1.1";
14429
14411
  } | undefined;
14430
- responsesEncoding?: "STANDARD" | "LITE" | undefined;
14431
14412
  responsesPreviousResponseId?: boolean | undefined;
14432
14413
  }>, {
14433
14414
  [x: string]: any;
package/dist/index.js CHANGED
@@ -727,7 +727,6 @@ const marAgentModelShape = {
727
727
  serviceTier: marAgentResponsesServiceTierSchema.optional(),
728
728
  hostedWebSearch: z.boolean(),
729
729
  responsesTransport: marAgentResponsesTransportSchema.optional(),
730
- responsesEncoding: z.enum(['STANDARD', 'LITE']).optional(),
731
730
  responsesPreviousResponseId: z.boolean().default(false),
732
731
  enabled: z.boolean()
733
732
  };
@@ -759,8 +758,6 @@ function refineMarAgentModel(schema) {
759
758
  });
760
759
  if (value.protocol !== 'OPENAI_RESPONSES' && value.responsesPreviousResponseId)
761
760
  context.addIssue({ code: 'custom', message: 'Responses continuation requires Responses' });
762
- if (value.protocol !== 'OPENAI_RESPONSES' && value.responsesEncoding !== undefined)
763
- context.addIssue({ code: 'custom', message: 'Responses encoding requires OpenAI Responses' });
764
761
  if (value.protocol !== 'OPENAI_RESPONSES' && value.fastMode === true)
765
762
  context.addIssue({ code: 'custom', message: 'Fast mode requires OpenAI Responses' });
766
763
  if (value.protocol !== 'OPENAI_RESPONSES' && value.serviceTier !== undefined)
@@ -809,7 +806,7 @@ export const marAgentRuntimeModelConfigurationSchema = refineMarAgentModel(z
809
806
  })
810
807
  .strip()).superRefine((configuration, context) => {
811
808
  if (configuration.responsesToolNamespace !== undefined &&
812
- (configuration.protocol !== 'OPENAI_RESPONSES' || configuration.responsesEncoding === 'LITE'))
809
+ configuration.protocol !== 'OPENAI_RESPONSES')
813
810
  context.addIssue({
814
811
  code: 'custom',
815
812
  path: ['responsesToolNamespace'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.9.145",
3
+ "version": "0.9.146",
4
4
  "description": "Shared runtime protocol schemas for MyAgentRoam.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",