@mmnto/totem 1.57.0 → 1.58.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.
@@ -161,6 +161,24 @@ export declare const ShellOrchestratorSchema: z.ZodObject<{
161
161
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
162
162
  */
163
163
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
164
+ /**
165
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
166
+ * slice 3). `admissionClasses` lists the backend admission classes this
167
+ * orchestrator is declared capable of serving; canonical values live in
168
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
169
+ * only: a caller requesting a class above `completion_only` that is not
170
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
171
+ * no artifact emitted). Absent = `['completion_only']` — factually true
172
+ * of every backend today. A declaration is a capability claim, never an
173
+ * enforcement mechanism (output enforcement is caller-side, #2103).
174
+ */
175
+ capabilities: z.ZodOptional<z.ZodObject<{
176
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
179
+ }, {
180
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
181
+ }>>;
164
182
  provider: z.ZodLiteral<"shell">;
165
183
  /** Shell command with {file} and {model} placeholders */
166
184
  command: z.ZodString;
@@ -173,6 +191,9 @@ export declare const ShellOrchestratorSchema: z.ZodObject<{
173
191
  cacheTtls?: Record<string, number> | undefined;
174
192
  enableContextCaching?: boolean | undefined;
175
193
  cacheTTL?: 300 | 3600 | undefined;
194
+ capabilities?: {
195
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
196
+ } | undefined;
176
197
  }, {
177
198
  provider: "shell";
178
199
  command: string;
@@ -182,6 +203,9 @@ export declare const ShellOrchestratorSchema: z.ZodObject<{
182
203
  cacheTtls?: Record<string, number> | undefined;
183
204
  enableContextCaching?: boolean | undefined;
184
205
  cacheTTL?: 300 | 3600 | undefined;
206
+ capabilities?: {
207
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
208
+ } | undefined;
185
209
  }>;
186
210
  export declare const GeminiOrchestratorSchema: z.ZodObject<{
187
211
  /** Default model name if --model is not passed */
@@ -216,6 +240,24 @@ export declare const GeminiOrchestratorSchema: z.ZodObject<{
216
240
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
217
241
  */
218
242
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
243
+ /**
244
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
245
+ * slice 3). `admissionClasses` lists the backend admission classes this
246
+ * orchestrator is declared capable of serving; canonical values live in
247
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
248
+ * only: a caller requesting a class above `completion_only` that is not
249
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
250
+ * no artifact emitted). Absent = `['completion_only']` — factually true
251
+ * of every backend today. A declaration is a capability claim, never an
252
+ * enforcement mechanism (output enforcement is caller-side, #2103).
253
+ */
254
+ capabilities: z.ZodOptional<z.ZodObject<{
255
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
258
+ }, {
259
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
260
+ }>>;
219
261
  provider: z.ZodLiteral<"gemini">;
220
262
  }, "strip", z.ZodTypeAny, {
221
263
  provider: "gemini";
@@ -225,6 +267,9 @@ export declare const GeminiOrchestratorSchema: z.ZodObject<{
225
267
  cacheTtls?: Record<string, number> | undefined;
226
268
  enableContextCaching?: boolean | undefined;
227
269
  cacheTTL?: 300 | 3600 | undefined;
270
+ capabilities?: {
271
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
272
+ } | undefined;
228
273
  }, {
229
274
  provider: "gemini";
230
275
  defaultModel?: string | undefined;
@@ -233,6 +278,9 @@ export declare const GeminiOrchestratorSchema: z.ZodObject<{
233
278
  cacheTtls?: Record<string, number> | undefined;
234
279
  enableContextCaching?: boolean | undefined;
235
280
  cacheTTL?: 300 | 3600 | undefined;
281
+ capabilities?: {
282
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
283
+ } | undefined;
236
284
  }>;
237
285
  export declare const AnthropicOrchestratorSchema: z.ZodObject<{
238
286
  /** Default model name if --model is not passed */
@@ -267,6 +315,24 @@ export declare const AnthropicOrchestratorSchema: z.ZodObject<{
267
315
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
268
316
  */
269
317
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
318
+ /**
319
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
320
+ * slice 3). `admissionClasses` lists the backend admission classes this
321
+ * orchestrator is declared capable of serving; canonical values live in
322
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
323
+ * only: a caller requesting a class above `completion_only` that is not
324
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
325
+ * no artifact emitted). Absent = `['completion_only']` — factually true
326
+ * of every backend today. A declaration is a capability claim, never an
327
+ * enforcement mechanism (output enforcement is caller-side, #2103).
328
+ */
329
+ capabilities: z.ZodOptional<z.ZodObject<{
330
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
333
+ }, {
334
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
335
+ }>>;
270
336
  provider: z.ZodLiteral<"anthropic">;
271
337
  }, "strip", z.ZodTypeAny, {
272
338
  provider: "anthropic";
@@ -276,6 +342,9 @@ export declare const AnthropicOrchestratorSchema: z.ZodObject<{
276
342
  cacheTtls?: Record<string, number> | undefined;
277
343
  enableContextCaching?: boolean | undefined;
278
344
  cacheTTL?: 300 | 3600 | undefined;
345
+ capabilities?: {
346
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
347
+ } | undefined;
279
348
  }, {
280
349
  provider: "anthropic";
281
350
  defaultModel?: string | undefined;
@@ -284,6 +353,9 @@ export declare const AnthropicOrchestratorSchema: z.ZodObject<{
284
353
  cacheTtls?: Record<string, number> | undefined;
285
354
  enableContextCaching?: boolean | undefined;
286
355
  cacheTTL?: 300 | 3600 | undefined;
356
+ capabilities?: {
357
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
358
+ } | undefined;
287
359
  }>;
288
360
  export declare const OpenAIOrchestratorSchema: z.ZodObject<{
289
361
  /** Default model name if --model is not passed */
@@ -318,6 +390,24 @@ export declare const OpenAIOrchestratorSchema: z.ZodObject<{
318
390
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
319
391
  */
320
392
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
393
+ /**
394
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
395
+ * slice 3). `admissionClasses` lists the backend admission classes this
396
+ * orchestrator is declared capable of serving; canonical values live in
397
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
398
+ * only: a caller requesting a class above `completion_only` that is not
399
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
400
+ * no artifact emitted). Absent = `['completion_only']` — factually true
401
+ * of every backend today. A declaration is a capability claim, never an
402
+ * enforcement mechanism (output enforcement is caller-side, #2103).
403
+ */
404
+ capabilities: z.ZodOptional<z.ZodObject<{
405
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
408
+ }, {
409
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
410
+ }>>;
321
411
  provider: z.ZodLiteral<"openai">;
322
412
  /** Optional base URL for OpenAI-compatible servers (Ollama, LM Studio, etc.) */
323
413
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -330,6 +420,9 @@ export declare const OpenAIOrchestratorSchema: z.ZodObject<{
330
420
  cacheTtls?: Record<string, number> | undefined;
331
421
  enableContextCaching?: boolean | undefined;
332
422
  cacheTTL?: 300 | 3600 | undefined;
423
+ capabilities?: {
424
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
425
+ } | undefined;
333
426
  }, {
334
427
  provider: "openai";
335
428
  baseUrl?: string | undefined;
@@ -339,6 +432,9 @@ export declare const OpenAIOrchestratorSchema: z.ZodObject<{
339
432
  cacheTtls?: Record<string, number> | undefined;
340
433
  enableContextCaching?: boolean | undefined;
341
434
  cacheTTL?: 300 | 3600 | undefined;
435
+ capabilities?: {
436
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
437
+ } | undefined;
342
438
  }>;
343
439
  export declare const OllamaOrchestratorSchema: z.ZodObject<{
344
440
  /** Default model name if --model is not passed */
@@ -373,6 +469,24 @@ export declare const OllamaOrchestratorSchema: z.ZodObject<{
373
469
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
374
470
  */
375
471
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
472
+ /**
473
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
474
+ * slice 3). `admissionClasses` lists the backend admission classes this
475
+ * orchestrator is declared capable of serving; canonical values live in
476
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
477
+ * only: a caller requesting a class above `completion_only` that is not
478
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
479
+ * no artifact emitted). Absent = `['completion_only']` — factually true
480
+ * of every backend today. A declaration is a capability claim, never an
481
+ * enforcement mechanism (output enforcement is caller-side, #2103).
482
+ */
483
+ capabilities: z.ZodOptional<z.ZodObject<{
484
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
485
+ }, "strip", z.ZodTypeAny, {
486
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
487
+ }, {
488
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
489
+ }>>;
376
490
  provider: z.ZodLiteral<"ollama">;
377
491
  /** Base URL for the Ollama server */
378
492
  baseUrl: z.ZodDefault<z.ZodString>;
@@ -387,6 +501,9 @@ export declare const OllamaOrchestratorSchema: z.ZodObject<{
387
501
  cacheTtls?: Record<string, number> | undefined;
388
502
  enableContextCaching?: boolean | undefined;
389
503
  cacheTTL?: 300 | 3600 | undefined;
504
+ capabilities?: {
505
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
506
+ } | undefined;
390
507
  numCtx?: number | undefined;
391
508
  }, {
392
509
  provider: "ollama";
@@ -397,6 +514,9 @@ export declare const OllamaOrchestratorSchema: z.ZodObject<{
397
514
  cacheTtls?: Record<string, number> | undefined;
398
515
  enableContextCaching?: boolean | undefined;
399
516
  cacheTTL?: 300 | 3600 | undefined;
517
+ capabilities?: {
518
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
519
+ } | undefined;
400
520
  numCtx?: number | undefined;
401
521
  }>;
402
522
  export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
@@ -432,6 +552,24 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
432
552
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
433
553
  */
434
554
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
555
+ /**
556
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
557
+ * slice 3). `admissionClasses` lists the backend admission classes this
558
+ * orchestrator is declared capable of serving; canonical values live in
559
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
560
+ * only: a caller requesting a class above `completion_only` that is not
561
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
562
+ * no artifact emitted). Absent = `['completion_only']` — factually true
563
+ * of every backend today. A declaration is a capability claim, never an
564
+ * enforcement mechanism (output enforcement is caller-side, #2103).
565
+ */
566
+ capabilities: z.ZodOptional<z.ZodObject<{
567
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
570
+ }, {
571
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
572
+ }>>;
435
573
  provider: z.ZodLiteral<"shell">;
436
574
  /** Shell command with {file} and {model} placeholders */
437
575
  command: z.ZodString;
@@ -444,6 +582,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
444
582
  cacheTtls?: Record<string, number> | undefined;
445
583
  enableContextCaching?: boolean | undefined;
446
584
  cacheTTL?: 300 | 3600 | undefined;
585
+ capabilities?: {
586
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
587
+ } | undefined;
447
588
  }, {
448
589
  provider: "shell";
449
590
  command: string;
@@ -453,6 +594,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
453
594
  cacheTtls?: Record<string, number> | undefined;
454
595
  enableContextCaching?: boolean | undefined;
455
596
  cacheTTL?: 300 | 3600 | undefined;
597
+ capabilities?: {
598
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
599
+ } | undefined;
456
600
  }>, z.ZodObject<{
457
601
  /** Default model name if --model is not passed */
458
602
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -486,6 +630,24 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
486
630
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
487
631
  */
488
632
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
633
+ /**
634
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
635
+ * slice 3). `admissionClasses` lists the backend admission classes this
636
+ * orchestrator is declared capable of serving; canonical values live in
637
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
638
+ * only: a caller requesting a class above `completion_only` that is not
639
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
640
+ * no artifact emitted). Absent = `['completion_only']` — factually true
641
+ * of every backend today. A declaration is a capability claim, never an
642
+ * enforcement mechanism (output enforcement is caller-side, #2103).
643
+ */
644
+ capabilities: z.ZodOptional<z.ZodObject<{
645
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
648
+ }, {
649
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
650
+ }>>;
489
651
  provider: z.ZodLiteral<"gemini">;
490
652
  }, "strip", z.ZodTypeAny, {
491
653
  provider: "gemini";
@@ -495,6 +657,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
495
657
  cacheTtls?: Record<string, number> | undefined;
496
658
  enableContextCaching?: boolean | undefined;
497
659
  cacheTTL?: 300 | 3600 | undefined;
660
+ capabilities?: {
661
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
662
+ } | undefined;
498
663
  }, {
499
664
  provider: "gemini";
500
665
  defaultModel?: string | undefined;
@@ -503,6 +668,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
503
668
  cacheTtls?: Record<string, number> | undefined;
504
669
  enableContextCaching?: boolean | undefined;
505
670
  cacheTTL?: 300 | 3600 | undefined;
671
+ capabilities?: {
672
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
673
+ } | undefined;
506
674
  }>, z.ZodObject<{
507
675
  /** Default model name if --model is not passed */
508
676
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -536,6 +704,24 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
536
704
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
537
705
  */
538
706
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
707
+ /**
708
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
709
+ * slice 3). `admissionClasses` lists the backend admission classes this
710
+ * orchestrator is declared capable of serving; canonical values live in
711
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
712
+ * only: a caller requesting a class above `completion_only` that is not
713
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
714
+ * no artifact emitted). Absent = `['completion_only']` — factually true
715
+ * of every backend today. A declaration is a capability claim, never an
716
+ * enforcement mechanism (output enforcement is caller-side, #2103).
717
+ */
718
+ capabilities: z.ZodOptional<z.ZodObject<{
719
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
722
+ }, {
723
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
724
+ }>>;
539
725
  provider: z.ZodLiteral<"anthropic">;
540
726
  }, "strip", z.ZodTypeAny, {
541
727
  provider: "anthropic";
@@ -545,6 +731,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
545
731
  cacheTtls?: Record<string, number> | undefined;
546
732
  enableContextCaching?: boolean | undefined;
547
733
  cacheTTL?: 300 | 3600 | undefined;
734
+ capabilities?: {
735
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
736
+ } | undefined;
548
737
  }, {
549
738
  provider: "anthropic";
550
739
  defaultModel?: string | undefined;
@@ -553,6 +742,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
553
742
  cacheTtls?: Record<string, number> | undefined;
554
743
  enableContextCaching?: boolean | undefined;
555
744
  cacheTTL?: 300 | 3600 | undefined;
745
+ capabilities?: {
746
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
747
+ } | undefined;
556
748
  }>, z.ZodObject<{
557
749
  /** Default model name if --model is not passed */
558
750
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -586,6 +778,24 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
586
778
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
587
779
  */
588
780
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
781
+ /**
782
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
783
+ * slice 3). `admissionClasses` lists the backend admission classes this
784
+ * orchestrator is declared capable of serving; canonical values live in
785
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
786
+ * only: a caller requesting a class above `completion_only` that is not
787
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
788
+ * no artifact emitted). Absent = `['completion_only']` — factually true
789
+ * of every backend today. A declaration is a capability claim, never an
790
+ * enforcement mechanism (output enforcement is caller-side, #2103).
791
+ */
792
+ capabilities: z.ZodOptional<z.ZodObject<{
793
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
796
+ }, {
797
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
798
+ }>>;
589
799
  provider: z.ZodLiteral<"openai">;
590
800
  /** Optional base URL for OpenAI-compatible servers (Ollama, LM Studio, etc.) */
591
801
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -598,6 +808,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
598
808
  cacheTtls?: Record<string, number> | undefined;
599
809
  enableContextCaching?: boolean | undefined;
600
810
  cacheTTL?: 300 | 3600 | undefined;
811
+ capabilities?: {
812
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
813
+ } | undefined;
601
814
  }, {
602
815
  provider: "openai";
603
816
  baseUrl?: string | undefined;
@@ -607,6 +820,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
607
820
  cacheTtls?: Record<string, number> | undefined;
608
821
  enableContextCaching?: boolean | undefined;
609
822
  cacheTTL?: 300 | 3600 | undefined;
823
+ capabilities?: {
824
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
825
+ } | undefined;
610
826
  }>, z.ZodObject<{
611
827
  /** Default model name if --model is not passed */
612
828
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -640,6 +856,24 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
640
856
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
641
857
  */
642
858
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
859
+ /**
860
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
861
+ * slice 3). `admissionClasses` lists the backend admission classes this
862
+ * orchestrator is declared capable of serving; canonical values live in
863
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
864
+ * only: a caller requesting a class above `completion_only` that is not
865
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
866
+ * no artifact emitted). Absent = `['completion_only']` — factually true
867
+ * of every backend today. A declaration is a capability claim, never an
868
+ * enforcement mechanism (output enforcement is caller-side, #2103).
869
+ */
870
+ capabilities: z.ZodOptional<z.ZodObject<{
871
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
874
+ }, {
875
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
876
+ }>>;
643
877
  provider: z.ZodLiteral<"ollama">;
644
878
  /** Base URL for the Ollama server */
645
879
  baseUrl: z.ZodDefault<z.ZodString>;
@@ -654,6 +888,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
654
888
  cacheTtls?: Record<string, number> | undefined;
655
889
  enableContextCaching?: boolean | undefined;
656
890
  cacheTTL?: 300 | 3600 | undefined;
891
+ capabilities?: {
892
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
893
+ } | undefined;
657
894
  numCtx?: number | undefined;
658
895
  }, {
659
896
  provider: "ollama";
@@ -664,6 +901,9 @@ export declare const OrchestratorSchema: z.ZodDiscriminatedUnion<"provider", [z.
664
901
  cacheTtls?: Record<string, number> | undefined;
665
902
  enableContextCaching?: boolean | undefined;
666
903
  cacheTTL?: 300 | 3600 | undefined;
904
+ capabilities?: {
905
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
906
+ } | undefined;
667
907
  numCtx?: number | undefined;
668
908
  }>]>;
669
909
  export declare const GarbageCollectionSchema: z.ZodObject<{
@@ -935,6 +1175,24 @@ export declare const TotemConfigSchema: z.ZodObject<{
935
1175
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
936
1176
  */
937
1177
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
1178
+ /**
1179
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
1180
+ * slice 3). `admissionClasses` lists the backend admission classes this
1181
+ * orchestrator is declared capable of serving; canonical values live in
1182
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
1183
+ * only: a caller requesting a class above `completion_only` that is not
1184
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
1185
+ * no artifact emitted). Absent = `['completion_only']` — factually true
1186
+ * of every backend today. A declaration is a capability claim, never an
1187
+ * enforcement mechanism (output enforcement is caller-side, #2103).
1188
+ */
1189
+ capabilities: z.ZodOptional<z.ZodObject<{
1190
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1193
+ }, {
1194
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1195
+ }>>;
938
1196
  provider: z.ZodLiteral<"shell">;
939
1197
  /** Shell command with {file} and {model} placeholders */
940
1198
  command: z.ZodString;
@@ -947,6 +1205,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
947
1205
  cacheTtls?: Record<string, number> | undefined;
948
1206
  enableContextCaching?: boolean | undefined;
949
1207
  cacheTTL?: 300 | 3600 | undefined;
1208
+ capabilities?: {
1209
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1210
+ } | undefined;
950
1211
  }, {
951
1212
  provider: "shell";
952
1213
  command: string;
@@ -956,6 +1217,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
956
1217
  cacheTtls?: Record<string, number> | undefined;
957
1218
  enableContextCaching?: boolean | undefined;
958
1219
  cacheTTL?: 300 | 3600 | undefined;
1220
+ capabilities?: {
1221
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1222
+ } | undefined;
959
1223
  }>, z.ZodObject<{
960
1224
  /** Default model name if --model is not passed */
961
1225
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -989,6 +1253,24 @@ export declare const TotemConfigSchema: z.ZodObject<{
989
1253
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
990
1254
  */
991
1255
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
1256
+ /**
1257
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
1258
+ * slice 3). `admissionClasses` lists the backend admission classes this
1259
+ * orchestrator is declared capable of serving; canonical values live in
1260
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
1261
+ * only: a caller requesting a class above `completion_only` that is not
1262
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
1263
+ * no artifact emitted). Absent = `['completion_only']` — factually true
1264
+ * of every backend today. A declaration is a capability claim, never an
1265
+ * enforcement mechanism (output enforcement is caller-side, #2103).
1266
+ */
1267
+ capabilities: z.ZodOptional<z.ZodObject<{
1268
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1271
+ }, {
1272
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1273
+ }>>;
992
1274
  provider: z.ZodLiteral<"gemini">;
993
1275
  }, "strip", z.ZodTypeAny, {
994
1276
  provider: "gemini";
@@ -998,6 +1280,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
998
1280
  cacheTtls?: Record<string, number> | undefined;
999
1281
  enableContextCaching?: boolean | undefined;
1000
1282
  cacheTTL?: 300 | 3600 | undefined;
1283
+ capabilities?: {
1284
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1285
+ } | undefined;
1001
1286
  }, {
1002
1287
  provider: "gemini";
1003
1288
  defaultModel?: string | undefined;
@@ -1006,6 +1291,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1006
1291
  cacheTtls?: Record<string, number> | undefined;
1007
1292
  enableContextCaching?: boolean | undefined;
1008
1293
  cacheTTL?: 300 | 3600 | undefined;
1294
+ capabilities?: {
1295
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1296
+ } | undefined;
1009
1297
  }>, z.ZodObject<{
1010
1298
  /** Default model name if --model is not passed */
1011
1299
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -1039,6 +1327,24 @@ export declare const TotemConfigSchema: z.ZodObject<{
1039
1327
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
1040
1328
  */
1041
1329
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
1330
+ /**
1331
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
1332
+ * slice 3). `admissionClasses` lists the backend admission classes this
1333
+ * orchestrator is declared capable of serving; canonical values live in
1334
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
1335
+ * only: a caller requesting a class above `completion_only` that is not
1336
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
1337
+ * no artifact emitted). Absent = `['completion_only']` — factually true
1338
+ * of every backend today. A declaration is a capability claim, never an
1339
+ * enforcement mechanism (output enforcement is caller-side, #2103).
1340
+ */
1341
+ capabilities: z.ZodOptional<z.ZodObject<{
1342
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1345
+ }, {
1346
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1347
+ }>>;
1042
1348
  provider: z.ZodLiteral<"anthropic">;
1043
1349
  }, "strip", z.ZodTypeAny, {
1044
1350
  provider: "anthropic";
@@ -1048,6 +1354,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1048
1354
  cacheTtls?: Record<string, number> | undefined;
1049
1355
  enableContextCaching?: boolean | undefined;
1050
1356
  cacheTTL?: 300 | 3600 | undefined;
1357
+ capabilities?: {
1358
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1359
+ } | undefined;
1051
1360
  }, {
1052
1361
  provider: "anthropic";
1053
1362
  defaultModel?: string | undefined;
@@ -1056,6 +1365,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1056
1365
  cacheTtls?: Record<string, number> | undefined;
1057
1366
  enableContextCaching?: boolean | undefined;
1058
1367
  cacheTTL?: 300 | 3600 | undefined;
1368
+ capabilities?: {
1369
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1370
+ } | undefined;
1059
1371
  }>, z.ZodObject<{
1060
1372
  /** Default model name if --model is not passed */
1061
1373
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -1089,6 +1401,24 @@ export declare const TotemConfigSchema: z.ZodObject<{
1089
1401
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
1090
1402
  */
1091
1403
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
1404
+ /**
1405
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
1406
+ * slice 3). `admissionClasses` lists the backend admission classes this
1407
+ * orchestrator is declared capable of serving; canonical values live in
1408
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
1409
+ * only: a caller requesting a class above `completion_only` that is not
1410
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
1411
+ * no artifact emitted). Absent = `['completion_only']` — factually true
1412
+ * of every backend today. A declaration is a capability claim, never an
1413
+ * enforcement mechanism (output enforcement is caller-side, #2103).
1414
+ */
1415
+ capabilities: z.ZodOptional<z.ZodObject<{
1416
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1419
+ }, {
1420
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1421
+ }>>;
1092
1422
  provider: z.ZodLiteral<"openai">;
1093
1423
  /** Optional base URL for OpenAI-compatible servers (Ollama, LM Studio, etc.) */
1094
1424
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -1101,6 +1431,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1101
1431
  cacheTtls?: Record<string, number> | undefined;
1102
1432
  enableContextCaching?: boolean | undefined;
1103
1433
  cacheTTL?: 300 | 3600 | undefined;
1434
+ capabilities?: {
1435
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1436
+ } | undefined;
1104
1437
  }, {
1105
1438
  provider: "openai";
1106
1439
  baseUrl?: string | undefined;
@@ -1110,6 +1443,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1110
1443
  cacheTtls?: Record<string, number> | undefined;
1111
1444
  enableContextCaching?: boolean | undefined;
1112
1445
  cacheTTL?: 300 | 3600 | undefined;
1446
+ capabilities?: {
1447
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1448
+ } | undefined;
1113
1449
  }>, z.ZodObject<{
1114
1450
  /** Default model name if --model is not passed */
1115
1451
  defaultModel: z.ZodOptional<z.ZodString>;
@@ -1143,6 +1479,24 @@ export declare const TotemConfigSchema: z.ZodObject<{
1143
1479
  * https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
1144
1480
  */
1145
1481
  cacheTTL: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<3600>]>>;
1482
+ /**
1483
+ * Declared backend-capability contract (mmnto-ai/totem#2102, strategy#474
1484
+ * slice 3). `admissionClasses` lists the backend admission classes this
1485
+ * orchestrator is declared capable of serving; canonical values live in
1486
+ * core `ADMISSION_CLASSES`. Read by the `runOrchestrator` admission gate
1487
+ * only: a caller requesting a class above `completion_only` that is not
1488
+ * declared here fails loud BEFORE any provider invoke (no tokens spent,
1489
+ * no artifact emitted). Absent = `['completion_only']` — factually true
1490
+ * of every backend today. A declaration is a capability claim, never an
1491
+ * enforcement mechanism (output enforcement is caller-side, #2103).
1492
+ */
1493
+ capabilities: z.ZodOptional<z.ZodObject<{
1494
+ admissionClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<["completion_only", "self_grounding_agent"]>, "many">>;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1497
+ }, {
1498
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1499
+ }>>;
1146
1500
  provider: z.ZodLiteral<"ollama">;
1147
1501
  /** Base URL for the Ollama server */
1148
1502
  baseUrl: z.ZodDefault<z.ZodString>;
@@ -1157,6 +1511,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1157
1511
  cacheTtls?: Record<string, number> | undefined;
1158
1512
  enableContextCaching?: boolean | undefined;
1159
1513
  cacheTTL?: 300 | 3600 | undefined;
1514
+ capabilities?: {
1515
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1516
+ } | undefined;
1160
1517
  numCtx?: number | undefined;
1161
1518
  }, {
1162
1519
  provider: "ollama";
@@ -1167,6 +1524,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1167
1524
  cacheTtls?: Record<string, number> | undefined;
1168
1525
  enableContextCaching?: boolean | undefined;
1169
1526
  cacheTTL?: 300 | 3600 | undefined;
1527
+ capabilities?: {
1528
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1529
+ } | undefined;
1170
1530
  numCtx?: number | undefined;
1171
1531
  }>]>, {
1172
1532
  provider: "shell";
@@ -1177,6 +1537,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1177
1537
  cacheTtls?: Record<string, number> | undefined;
1178
1538
  enableContextCaching?: boolean | undefined;
1179
1539
  cacheTTL?: 300 | 3600 | undefined;
1540
+ capabilities?: {
1541
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1542
+ } | undefined;
1180
1543
  } | {
1181
1544
  provider: "gemini";
1182
1545
  defaultModel?: string | undefined;
@@ -1185,6 +1548,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1185
1548
  cacheTtls?: Record<string, number> | undefined;
1186
1549
  enableContextCaching?: boolean | undefined;
1187
1550
  cacheTTL?: 300 | 3600 | undefined;
1551
+ capabilities?: {
1552
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1553
+ } | undefined;
1188
1554
  } | {
1189
1555
  provider: "anthropic";
1190
1556
  defaultModel?: string | undefined;
@@ -1193,6 +1559,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1193
1559
  cacheTtls?: Record<string, number> | undefined;
1194
1560
  enableContextCaching?: boolean | undefined;
1195
1561
  cacheTTL?: 300 | 3600 | undefined;
1562
+ capabilities?: {
1563
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1564
+ } | undefined;
1196
1565
  } | {
1197
1566
  provider: "openai";
1198
1567
  baseUrl?: string | undefined;
@@ -1202,6 +1571,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1202
1571
  cacheTtls?: Record<string, number> | undefined;
1203
1572
  enableContextCaching?: boolean | undefined;
1204
1573
  cacheTTL?: 300 | 3600 | undefined;
1574
+ capabilities?: {
1575
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1576
+ } | undefined;
1205
1577
  } | {
1206
1578
  provider: "ollama";
1207
1579
  baseUrl: string;
@@ -1211,6 +1583,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1211
1583
  cacheTtls?: Record<string, number> | undefined;
1212
1584
  enableContextCaching?: boolean | undefined;
1213
1585
  cacheTTL?: 300 | 3600 | undefined;
1586
+ capabilities?: {
1587
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1588
+ } | undefined;
1214
1589
  numCtx?: number | undefined;
1215
1590
  }, unknown>>;
1216
1591
  /** Optional: override the .totem/ directory path */
@@ -1493,6 +1868,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1493
1868
  cacheTtls?: Record<string, number> | undefined;
1494
1869
  enableContextCaching?: boolean | undefined;
1495
1870
  cacheTTL?: 300 | 3600 | undefined;
1871
+ capabilities?: {
1872
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1873
+ } | undefined;
1496
1874
  } | {
1497
1875
  provider: "gemini";
1498
1876
  defaultModel?: string | undefined;
@@ -1501,6 +1879,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1501
1879
  cacheTtls?: Record<string, number> | undefined;
1502
1880
  enableContextCaching?: boolean | undefined;
1503
1881
  cacheTTL?: 300 | 3600 | undefined;
1882
+ capabilities?: {
1883
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1884
+ } | undefined;
1504
1885
  } | {
1505
1886
  provider: "anthropic";
1506
1887
  defaultModel?: string | undefined;
@@ -1509,6 +1890,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1509
1890
  cacheTtls?: Record<string, number> | undefined;
1510
1891
  enableContextCaching?: boolean | undefined;
1511
1892
  cacheTTL?: 300 | 3600 | undefined;
1893
+ capabilities?: {
1894
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1895
+ } | undefined;
1512
1896
  } | {
1513
1897
  provider: "openai";
1514
1898
  baseUrl?: string | undefined;
@@ -1518,6 +1902,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1518
1902
  cacheTtls?: Record<string, number> | undefined;
1519
1903
  enableContextCaching?: boolean | undefined;
1520
1904
  cacheTTL?: 300 | 3600 | undefined;
1905
+ capabilities?: {
1906
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1907
+ } | undefined;
1521
1908
  } | {
1522
1909
  provider: "ollama";
1523
1910
  baseUrl: string;
@@ -1527,6 +1914,9 @@ export declare const TotemConfigSchema: z.ZodObject<{
1527
1914
  cacheTtls?: Record<string, number> | undefined;
1528
1915
  enableContextCaching?: boolean | undefined;
1529
1916
  cacheTTL?: 300 | 3600 | undefined;
1917
+ capabilities?: {
1918
+ admissionClasses?: ("completion_only" | "self_grounding_agent")[] | undefined;
1919
+ } | undefined;
1530
1920
  numCtx?: number | undefined;
1531
1921
  } | undefined;
1532
1922
  docs?: {