@agentxm/extension-model 0.36.0 → 0.37.0

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.
Files changed (142) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +19197 -4977
  2. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts +31 -3
  3. package/dist/src/unstable/agent-capabilities/data/agents/adal.js +27 -3
  4. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts +19 -2
  5. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js +17 -2
  6. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts +56 -4
  7. package/dist/src/unstable/agent-capabilities/data/agents/amp.js +52 -4
  8. package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.d.ts +68 -6
  9. package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.js +61 -6
  10. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts +179 -53
  11. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js +152 -42
  12. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +176 -64
  13. package/dist/src/unstable/agent-capabilities/data/agents/augment.js +162 -64
  14. package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.d.ts +3 -1
  15. package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.js +3 -1
  16. package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.d.ts +2 -0
  17. package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.js +2 -0
  18. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +238 -75
  19. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +222 -78
  20. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts +115 -55
  21. package/dist/src/unstable/agent-capabilities/data/agents/cline.js +100 -47
  22. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts +140 -63
  23. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js +123 -52
  24. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +211 -76
  25. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +197 -79
  26. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts +46 -4
  27. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js +40 -4
  28. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +242 -68
  29. package/dist/src/unstable/agent-capabilities/data/agents/codex.js +213 -59
  30. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts +169 -68
  31. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +156 -64
  32. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts +79 -7
  33. package/dist/src/unstable/agent-capabilities/data/agents/continue.js +75 -7
  34. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts +116 -9
  35. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js +110 -9
  36. package/dist/src/unstable/agent-capabilities/data/agents/cowork.d.ts +4 -0
  37. package/dist/src/unstable/agent-capabilities/data/agents/cowork.js +4 -0
  38. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts +165 -60
  39. package/dist/src/unstable/agent-capabilities/data/agents/crush.js +151 -54
  40. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +230 -55
  41. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +205 -51
  42. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +100 -5
  43. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +86 -5
  44. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts +224 -77
  45. package/dist/src/unstable/agent-capabilities/data/agents/devin.js +203 -70
  46. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts +28 -2
  47. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js +26 -2
  48. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts +93 -8
  49. package/dist/src/unstable/agent-capabilities/data/agents/droid.js +87 -8
  50. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts +119 -8
  51. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js +112 -13
  52. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts +94 -6
  53. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js +82 -6
  54. package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.d.ts +2 -0
  55. package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.js +2 -0
  56. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +218 -56
  57. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +193 -55
  58. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts +201 -66
  59. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js +188 -69
  60. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts +37 -3
  61. package/dist/src/unstable/agent-capabilities/data/agents/goose.js +34 -5
  62. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts +98 -6
  63. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js +83 -6
  64. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +105 -42
  65. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +87 -28
  66. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +173 -61
  67. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +152 -52
  68. package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.d.ts +47 -5
  69. package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.js +41 -5
  70. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts +130 -42
  71. package/dist/src/unstable/agent-capabilities/data/agents/junie.js +121 -39
  72. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts +187 -65
  73. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js +169 -62
  74. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts +147 -60
  75. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js +134 -53
  76. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +138 -50
  77. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +121 -39
  78. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts +45 -5
  79. package/dist/src/unstable/agent-capabilities/data/agents/kode.js +39 -5
  80. package/dist/src/unstable/agent-capabilities/data/agents/lingma.d.ts +19 -2
  81. package/dist/src/unstable/agent-capabilities/data/agents/lingma.js +17 -2
  82. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts +16 -1
  83. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js +14 -1
  84. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts +93 -8
  85. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js +87 -8
  86. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts +46 -4
  87. package/dist/src/unstable/agent-capabilities/data/agents/mux.js +40 -4
  88. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts +111 -59
  89. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js +97 -50
  90. package/dist/src/unstable/agent-capabilities/data/agents/ona.d.ts +41 -4
  91. package/dist/src/unstable/agent-capabilities/data/agents/ona.js +37 -4
  92. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts +14 -1
  93. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js +12 -1
  94. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +286 -14
  95. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +261 -16
  96. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts +53 -4
  97. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js +49 -4
  98. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +69 -2
  99. package/dist/src/unstable/agent-capabilities/data/agents/pi.js +56 -2
  100. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts +96 -44
  101. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js +81 -33
  102. package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.d.ts +70 -6
  103. package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.js +75 -7
  104. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +196 -72
  105. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +182 -72
  106. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +169 -57
  107. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +154 -56
  108. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts +16 -1
  109. package/dist/src/unstable/agent-capabilities/data/agents/replit.js +14 -1
  110. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +60 -7
  111. package/dist/src/unstable/agent-capabilities/data/agents/roo.js +51 -7
  112. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts +70 -6
  113. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js +64 -6
  114. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts +92 -7
  115. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js +85 -7
  116. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts +72 -33
  117. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js +64 -29
  118. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts +72 -33
  119. package/dist/src/unstable/agent-capabilities/data/agents/trae.js +64 -29
  120. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts +31 -3
  121. package/dist/src/unstable/agent-capabilities/data/agents/warp.js +27 -3
  122. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +126 -41
  123. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +110 -39
  124. package/dist/src/unstable/agent-capabilities/data/agents/zed.d.ts +31 -3
  125. package/dist/src/unstable/agent-capabilities/data/agents/zed.js +27 -3
  126. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts +41 -5
  127. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js +37 -5
  128. package/dist/src/unstable/agent-capabilities/data/agents/zenflow.d.ts +34 -2
  129. package/dist/src/unstable/agent-capabilities/data/agents/zenflow.js +31 -4
  130. package/dist/src/unstable/agent-capabilities/derive.js +36 -57
  131. package/dist/src/unstable/agent-capabilities/index.d.ts +1 -1
  132. package/dist/src/unstable/agent-capabilities/index.js +1 -1
  133. package/dist/src/unstable/agent-capabilities/schema.d.ts +769 -761
  134. package/dist/src/unstable/agent-capabilities/schema.js +188 -91
  135. package/dist/src/unstable/agents/registry.d.ts +1 -1
  136. package/dist/src/unstable/agents/registry.js +1 -13
  137. package/dist/src/unstable/agents/types.d.ts +16 -48
  138. package/dist/src/unstable/agents/types.js +2 -2
  139. package/dist/src/unstable/extensions/common.d.ts +1 -2
  140. package/dist/src/unstable/extensions/common.js +1 -2
  141. package/dist/src/unstable/sources/printer.js +7 -1
  142. package/package.json +3 -3
@@ -56,20 +56,31 @@ export declare const ConventionSchema: Schema.Literals<readonly ["universal", "v
56
56
  /** @experimental This API is unstable and may change without notice. */
57
57
  export type Convention = Schema.Schema.Type<typeof ConventionSchema>;
58
58
  /** @experimental This API is unstable and may change without notice. */
59
- export declare const SkillReadPathStatusSchema: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
60
- /** @experimental This API is unstable and may change without notice. */
61
- export type SkillReadPathStatus = Schema.Schema.Type<typeof SkillReadPathStatusSchema>;
62
- /** @experimental This API is unstable and may change without notice. */
63
- export declare const SkillReadPathSchema: Schema.Struct<{
64
- readonly path: Schema.NonEmptyString;
65
- readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
66
- }>;
67
- /** @experimental This API is unstable and may change without notice. */
68
- export type SkillReadPath = Schema.Schema.Type<typeof SkillReadPathSchema>;
69
- /** @experimental This API is unstable and may change without notice. */
70
59
  export declare const ScopeSchema: Schema.Literals<readonly ["user", "project"]>;
71
60
  /** @experimental This API is unstable and may change without notice. */
72
61
  export type Scope = Schema.Schema.Type<typeof ScopeSchema>;
62
+ export declare const NativeReadLocationSchema: Schema.Struct<{
63
+ scope: Schema.Literals<readonly ["user", "project"]>;
64
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
65
+ path: Schema.NonEmptyString;
66
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
67
+ shape: Schema.Literals<readonly ["directory", "file"]>;
68
+ role: Schema.Literals<readonly ["primary", "additional"]>;
69
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
70
+ applicability: Schema.Union<readonly [Schema.Struct<{
71
+ readonly kind: Schema.Literal<"always">;
72
+ }>, Schema.Struct<{
73
+ readonly kind: Schema.Literal<"conditional">;
74
+ readonly condition: Schema.NonEmptyString;
75
+ }>]>;
76
+ provenance: Schema.Union<readonly [Schema.Struct<{
77
+ readonly kind: Schema.Literal<"capability-sources">;
78
+ }>, Schema.Struct<{
79
+ readonly kind: Schema.Literal<"sources">;
80
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
81
+ }>]>;
82
+ }>;
83
+ export type NativeReadLocation = Schema.Schema.Type<typeof NativeReadLocationSchema>;
73
84
  /** @experimental This API is unstable and may change without notice. */
74
85
  export declare const SUPPORTED_AXM_SUPPORT: "supported";
75
86
  /** @experimental This API is unstable and may change without notice. */
@@ -400,11 +411,27 @@ export type NativeCapabilityBase = Schema.Schema.Type<typeof NativeCapabilityBas
400
411
  export declare const SkillsExtensionCapabilitySchema: Schema.Struct<{
401
412
  readonly native: Schema.Union<readonly [Schema.Struct<{
402
413
  readonly convention: Schema.Literals<readonly ["universal", "vendor"]>;
403
- readonly directory: Schema.NonEmptyString;
404
- readonly additionalReadPaths: Schema.optionalKey<Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
405
- readonly path: Schema.NonEmptyString;
406
- readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
407
- }>>, never>>;
414
+ readonly locations: Schema.$Array<Schema.Struct<{
415
+ scope: Schema.Literals<readonly ["user", "project"]>;
416
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
417
+ path: Schema.NonEmptyString;
418
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
419
+ shape: Schema.Literals<readonly ["directory", "file"]>;
420
+ role: Schema.Literals<readonly ["primary", "additional"]>;
421
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
422
+ applicability: Schema.Union<readonly [Schema.Struct<{
423
+ readonly kind: Schema.Literal<"always">;
424
+ }>, Schema.Struct<{
425
+ readonly kind: Schema.Literal<"conditional">;
426
+ readonly condition: Schema.NonEmptyString;
427
+ }>]>;
428
+ provenance: Schema.Union<readonly [Schema.Struct<{
429
+ readonly kind: Schema.Literal<"capability-sources">;
430
+ }>, Schema.Struct<{
431
+ readonly kind: Schema.Literal<"sources">;
432
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
433
+ }>]>;
434
+ }>>;
408
435
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
409
436
  readonly availability: Schema.Union<readonly [Schema.Struct<{
410
437
  readonly via: Schema.Literal<"native">;
@@ -554,18 +581,32 @@ export declare const SkillsExtensionCapabilitySchema: Schema.Struct<{
554
581
  /** @experimental This API is unstable and may change without notice. */
555
582
  export type SkillsExtensionCapability = Schema.Schema.Type<typeof SkillsExtensionCapabilitySchema>;
556
583
  /** @experimental This API is unstable and may change without notice. */
557
- /** @experimental This API is unstable and may change without notice. */
558
- export declare const SubagentsLayoutSchema: Schema.Literals<readonly ["file", "directory"]>;
559
- /** @experimental This API is unstable and may change without notice. */
560
- export type SubagentsLayout = Schema.Schema.Type<typeof SubagentsLayoutSchema>;
561
- /** @experimental This API is unstable and may change without notice. */
562
584
  export declare const SubagentsExtensionCapabilitySchema: Schema.Struct<{
563
585
  readonly native: Schema.Union<readonly [Schema.Struct<{
564
586
  readonly availability: Schema.Struct<{
565
587
  readonly via: Schema.Literal<"native">;
566
588
  }>;
567
- readonly directory: Schema.NonEmptyString;
568
- readonly layout: Schema.Literals<readonly ["file", "directory"]>;
589
+ readonly locations: Schema.$Array<Schema.Struct<{
590
+ scope: Schema.Literals<readonly ["user", "project"]>;
591
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
592
+ path: Schema.NonEmptyString;
593
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
594
+ shape: Schema.Literals<readonly ["directory", "file"]>;
595
+ role: Schema.Literals<readonly ["primary", "additional"]>;
596
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
597
+ applicability: Schema.Union<readonly [Schema.Struct<{
598
+ readonly kind: Schema.Literal<"always">;
599
+ }>, Schema.Struct<{
600
+ readonly kind: Schema.Literal<"conditional">;
601
+ readonly condition: Schema.NonEmptyString;
602
+ }>]>;
603
+ provenance: Schema.Union<readonly [Schema.Struct<{
604
+ readonly kind: Schema.Literal<"capability-sources">;
605
+ }>, Schema.Struct<{
606
+ readonly kind: Schema.Literal<"sources">;
607
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
608
+ }>]>;
609
+ }>>;
569
610
  readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
570
611
  readonly state: Schema.Literal<"active">;
571
612
  }>, Schema.Struct<{
@@ -692,133 +733,30 @@ export type RuleInstructionsImportSyntax = Schema.Schema.Type<typeof RuleInstruc
692
733
  /** @experimental This API is unstable and may change without notice. */
693
734
  export declare const RulesExtensionCapabilitySchema: Schema.Struct<{
694
735
  readonly native: Schema.Union<readonly [Schema.Struct<{
695
- readonly kind: Schema.Literal<"agents-md">;
696
- readonly files: Schema.Tuple<readonly [Schema.Literal<"AGENTS.md">]>;
697
- readonly nestedDiscovery: Schema.Boolean;
698
- readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
699
- readonly directory: Schema.optionalKey<Schema.NonEmptyString>;
700
- readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
701
- readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
702
- readonly availability: Schema.Union<readonly [Schema.Struct<{
703
- readonly via: Schema.Literal<"native">;
704
- }>, Schema.Struct<{
705
- readonly via: Schema.Literal<"plugin">;
706
- readonly provider: Schema.Literals<readonly ["first-party", "third-party"]>;
707
- readonly plugin: Schema.Struct<{
708
- readonly name: Schema.NonEmptyString;
709
- readonly homepage: Schema.NonEmptyString;
710
- readonly author: Schema.NullOr<Schema.NonEmptyString>;
711
- readonly distribution: Schema.Struct<{
712
- readonly mechanism: Schema.Literals<readonly ["agent-native", "npm", "git", "manual"]>;
713
- readonly installHint: Schema.NullOr<Schema.NonEmptyString>;
714
- readonly packageRef: Schema.NullOr<Schema.NonEmptyString>;
715
- }>;
716
- readonly detection: Schema.NullOr<Schema.Struct<{
717
- readonly paths: Schema.$Array<Schema.Struct<{
718
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
719
- readonly path: Schema.NonEmptyString;
720
- readonly kind: Schema.Literals<readonly ["dir", "file"]>;
721
- }>>;
722
- readonly configKeys: Schema.$Array<Schema.Struct<{
723
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
724
- readonly file: Schema.NonEmptyString;
725
- readonly key: Schema.NonEmptyString;
726
- }>>;
727
- }>>;
728
- }>;
729
- }>]>;
730
- readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
731
- readonly state: Schema.Literal<"active">;
732
- }>, Schema.Struct<{
733
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
734
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
735
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
736
- readonly state: Schema.Literal<"maintenance">;
737
- }>, Schema.Struct<{
738
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
739
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
740
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
741
- readonly state: Schema.Literal<"deprecated">;
742
- }>, Schema.Struct<{
743
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
744
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
745
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
746
- readonly state: Schema.Literal<"removed">;
747
- }>]>;
748
- readonly notes: Schema.NullOr<Schema.NonEmptyString>;
749
- readonly docs: Schema.$Array<Schema.Struct<{
750
- readonly label: Schema.NonEmptyString;
751
- readonly url: Schema.NonEmptyString;
752
- }>>;
753
- readonly sources: Schema.$Array<Schema.NonEmptyString>;
754
- readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
755
- }>, Schema.Struct<{
756
- readonly kind: Schema.Literal<"own-file">;
757
- readonly files: Schema.Tuple<readonly [Schema.NonEmptyString]>;
758
- readonly nestedDiscovery: Schema.Boolean;
759
- readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
760
- readonly directory: Schema.optionalKey<Schema.NonEmptyString>;
761
- readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
762
- readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
763
- readonly availability: Schema.Union<readonly [Schema.Struct<{
764
- readonly via: Schema.Literal<"native">;
765
- }>, Schema.Struct<{
766
- readonly via: Schema.Literal<"plugin">;
767
- readonly provider: Schema.Literals<readonly ["first-party", "third-party"]>;
768
- readonly plugin: Schema.Struct<{
769
- readonly name: Schema.NonEmptyString;
770
- readonly homepage: Schema.NonEmptyString;
771
- readonly author: Schema.NullOr<Schema.NonEmptyString>;
772
- readonly distribution: Schema.Struct<{
773
- readonly mechanism: Schema.Literals<readonly ["agent-native", "npm", "git", "manual"]>;
774
- readonly installHint: Schema.NullOr<Schema.NonEmptyString>;
775
- readonly packageRef: Schema.NullOr<Schema.NonEmptyString>;
776
- }>;
777
- readonly detection: Schema.NullOr<Schema.Struct<{
778
- readonly paths: Schema.$Array<Schema.Struct<{
779
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
780
- readonly path: Schema.NonEmptyString;
781
- readonly kind: Schema.Literals<readonly ["dir", "file"]>;
782
- }>>;
783
- readonly configKeys: Schema.$Array<Schema.Struct<{
784
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
785
- readonly file: Schema.NonEmptyString;
786
- readonly key: Schema.NonEmptyString;
787
- }>>;
788
- }>>;
789
- }>;
790
- }>]>;
791
- readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
792
- readonly state: Schema.Literal<"active">;
793
- }>, Schema.Struct<{
794
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
795
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
796
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
797
- readonly state: Schema.Literal<"maintenance">;
798
- }>, Schema.Struct<{
799
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
800
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
801
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
802
- readonly state: Schema.Literal<"deprecated">;
803
- }>, Schema.Struct<{
804
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
805
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
806
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
807
- readonly state: Schema.Literal<"removed">;
808
- }>]>;
809
- readonly notes: Schema.NullOr<Schema.NonEmptyString>;
810
- readonly docs: Schema.$Array<Schema.Struct<{
811
- readonly label: Schema.NonEmptyString;
812
- readonly url: Schema.NonEmptyString;
736
+ readonly kind: Schema.Literals<readonly ["agents-md", "own-file", "rules-dir"]>;
737
+ readonly locations: Schema.$Array<Schema.Struct<{
738
+ scope: Schema.Literals<readonly ["user", "project"]>;
739
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
740
+ path: Schema.NonEmptyString;
741
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
742
+ shape: Schema.Literals<readonly ["directory", "file"]>;
743
+ role: Schema.Literals<readonly ["primary", "additional"]>;
744
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
745
+ applicability: Schema.Union<readonly [Schema.Struct<{
746
+ readonly kind: Schema.Literal<"always">;
747
+ }>, Schema.Struct<{
748
+ readonly kind: Schema.Literal<"conditional">;
749
+ readonly condition: Schema.NonEmptyString;
750
+ }>]>;
751
+ provenance: Schema.Union<readonly [Schema.Struct<{
752
+ readonly kind: Schema.Literal<"capability-sources">;
753
+ }>, Schema.Struct<{
754
+ readonly kind: Schema.Literal<"sources">;
755
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
756
+ }>]>;
813
757
  }>>;
814
- readonly sources: Schema.$Array<Schema.NonEmptyString>;
815
- readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
816
- }>, Schema.Struct<{
817
- readonly kind: Schema.Literal<"rules-dir">;
818
- readonly files: Schema.$Array<Schema.NonEmptyString>;
819
758
  readonly nestedDiscovery: Schema.Boolean;
820
759
  readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
821
- readonly directory: Schema.NonEmptyString;
822
760
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
823
761
  readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
824
762
  readonly availability: Schema.Union<readonly [Schema.Struct<{
@@ -916,6 +854,34 @@ export type RulesExtensionCapability = Schema.Schema.Type<typeof RulesExtensionC
916
854
  export declare const ConfigFileFormatSchema: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
917
855
  /** @experimental This API is unstable and may change without notice. */
918
856
  export type ConfigFileFormat = Schema.Schema.Type<typeof ConfigFileFormatSchema>;
857
+ /** One declared native configuration reader, independently of any AXM writer. */
858
+ export declare const NativeConfigReadLocationSchema: Schema.Struct<{
859
+ readonly shape: Schema.Literal<"file">;
860
+ readonly id: Schema.NonEmptyString;
861
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
862
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
863
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
864
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
865
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
866
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
867
+ readonly path: Schema.NonEmptyString;
868
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
869
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
870
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
871
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
872
+ readonly kind: Schema.Literal<"always">;
873
+ }>, Schema.Struct<{
874
+ readonly kind: Schema.Literal<"conditional">;
875
+ readonly condition: Schema.NonEmptyString;
876
+ }>]>;
877
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
878
+ readonly kind: Schema.Literal<"capability-sources">;
879
+ }>, Schema.Struct<{
880
+ readonly kind: Schema.Literal<"sources">;
881
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
882
+ }>]>;
883
+ }>;
884
+ export type NativeConfigReadLocation = Schema.Schema.Type<typeof NativeConfigReadLocationSchema>;
919
885
  /** @experimental This API is unstable and may change without notice. */
920
886
  export declare const McpServersKeySchema: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
921
887
  /** @experimental This API is unstable and may change without notice. */
@@ -926,6 +892,8 @@ export declare const McpTargetAttributionSchema: Schema.Literals<readonly ["shar
926
892
  export type McpTargetAttribution = Schema.Schema.Type<typeof McpTargetAttributionSchema>;
927
893
  /** @experimental This API is unstable and may change without notice. */
928
894
  export declare const McpConfigTargetSchema: Schema.Struct<{
895
+ /** Explicit captured native root for a resolved runtime destination. */
896
+ readonly nativeRoot: Schema.optionalKey<Schema.NonEmptyString>;
929
897
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
930
898
  readonly path: Schema.NonEmptyString;
931
899
  readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
@@ -1026,6 +994,7 @@ export declare const McpUrlKeyMapSchema: Schema.Struct<{
1026
994
  export type McpUrlKeyMap = Schema.Schema.Type<typeof McpUrlKeyMapSchema>;
1027
995
  /** @experimental This API is unstable and may change without notice. */
1028
996
  export declare const McpRemoteDialectSchema: Schema.Struct<{
997
+ readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
1029
998
  readonly typeField: Schema.Struct<{
1030
999
  readonly required: Schema.NullOr<Schema.Struct<{
1031
1000
  readonly name: Schema.NonEmptyString;
@@ -1053,8 +1022,7 @@ export declare const McpRemoteDialectSchema: Schema.Struct<{
1053
1022
  /** @experimental This API is unstable and may change without notice. */
1054
1023
  export type McpRemoteDialect = Schema.Schema.Type<typeof McpRemoteDialectSchema>;
1055
1024
  /** @experimental This API is unstable and may change without notice. */
1056
- export declare const McpConfigSchema: Schema.Struct<{
1057
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
1025
+ export declare const McpEntryDialectSchema: Schema.Struct<{
1058
1026
  readonly activationField: Schema.Struct<{
1059
1027
  readonly required: Schema.NullOr<Schema.Struct<{
1060
1028
  readonly name: Schema.NonEmptyString;
@@ -1067,12 +1035,6 @@ export declare const McpConfigSchema: Schema.Struct<{
1067
1035
  readonly disabled: Schema.Boolean;
1068
1036
  }>>>;
1069
1037
  }>;
1070
- readonly targets: Schema.$Array<Schema.Struct<{
1071
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1072
- readonly path: Schema.NonEmptyString;
1073
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1074
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
1075
- }>>;
1076
1038
  readonly stdio: Schema.NullOr<Schema.Struct<{
1077
1039
  readonly typeField: Schema.Struct<{
1078
1040
  readonly required: Schema.NullOr<Schema.Struct<{
@@ -1096,6 +1058,7 @@ export declare const McpConfigSchema: Schema.Struct<{
1096
1058
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1097
1059
  }>>;
1098
1060
  readonly remote: Schema.NullOr<Schema.Struct<{
1061
+ readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
1099
1062
  readonly typeField: Schema.Struct<{
1100
1063
  readonly required: Schema.NullOr<Schema.Struct<{
1101
1064
  readonly name: Schema.NonEmptyString;
@@ -1122,6 +1085,12 @@ export declare const McpConfigSchema: Schema.Struct<{
1122
1085
  }>>;
1123
1086
  }>;
1124
1087
  /** @experimental This API is unstable and may change without notice. */
1088
+ export type McpEntryDialect = Schema.Schema.Type<typeof McpEntryDialectSchema>;
1089
+ /** @experimental This API is unstable and may change without notice. */
1090
+ export declare const McpConfigSchema: Schema.Struct<{
1091
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
1092
+ }>;
1093
+ /** @experimental This API is unstable and may change without notice. */
1125
1094
  export type McpConfig = Schema.Schema.Type<typeof McpConfigSchema>;
1126
1095
  /** @experimental This API is unstable and may change without notice. */
1127
1096
  export declare const McpEnvExpansionSchema: Schema.Struct<{
@@ -1134,6 +1103,94 @@ export type McpEnvExpansion = Schema.Schema.Type<typeof McpEnvExpansionSchema>;
1134
1103
  export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema.Struct<{
1135
1104
  readonly native: Schema.Struct<{
1136
1105
  readonly transports: Schema.NonEmptyArray<Schema.Literals<readonly ["stdio", "http", "sse"]>>;
1106
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
1107
+ readonly activationField: Schema.Struct<{
1108
+ readonly required: Schema.NullOr<Schema.Struct<{
1109
+ readonly name: Schema.NonEmptyString;
1110
+ readonly enabled: Schema.Boolean;
1111
+ readonly disabled: Schema.Boolean;
1112
+ }>>;
1113
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1114
+ readonly name: Schema.NonEmptyString;
1115
+ readonly enabled: Schema.Boolean;
1116
+ readonly disabled: Schema.Boolean;
1117
+ }>>>;
1118
+ }>;
1119
+ readonly stdio: Schema.NullOr<Schema.Struct<{
1120
+ readonly typeField: Schema.Struct<{
1121
+ readonly required: Schema.NullOr<Schema.Struct<{
1122
+ readonly name: Schema.NonEmptyString;
1123
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1124
+ readonly "streamable-http": Schema.NonEmptyString;
1125
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1126
+ }>]>;
1127
+ }>>;
1128
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1129
+ readonly name: Schema.NonEmptyString;
1130
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1131
+ readonly "streamable-http": Schema.NonEmptyString;
1132
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1133
+ }>]>;
1134
+ }>>>;
1135
+ }>;
1136
+ readonly command: Schema.Literals<readonly ["split", "array"]>;
1137
+ readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1138
+ /** Native allowlist for forwarding same-name environment variables. */
1139
+ readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1140
+ }>>;
1141
+ readonly remote: Schema.NullOr<Schema.Struct<{
1142
+ readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
1143
+ readonly typeField: Schema.Struct<{
1144
+ readonly required: Schema.NullOr<Schema.Struct<{
1145
+ readonly name: Schema.NonEmptyString;
1146
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1147
+ readonly "streamable-http": Schema.NonEmptyString;
1148
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1149
+ }>]>;
1150
+ }>>;
1151
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1152
+ readonly name: Schema.NonEmptyString;
1153
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1154
+ readonly "streamable-http": Schema.NonEmptyString;
1155
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1156
+ }>]>;
1157
+ }>>>;
1158
+ }>;
1159
+ readonly urlKey: Schema.Struct<{
1160
+ readonly "streamable-http": Schema.NonEmptyString;
1161
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1162
+ }>;
1163
+ readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
1164
+ readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1165
+ readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1166
+ }>>;
1167
+ }>>;
1168
+ readonly locations: Schema.$Array<Schema.Struct<{
1169
+ readonly shape: Schema.Literal<"file">;
1170
+ readonly id: Schema.NonEmptyString;
1171
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1172
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
1173
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
1174
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
1175
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
1176
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1177
+ readonly path: Schema.NonEmptyString;
1178
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1179
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1180
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1181
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
1182
+ readonly kind: Schema.Literal<"always">;
1183
+ }>, Schema.Struct<{
1184
+ readonly kind: Schema.Literal<"conditional">;
1185
+ readonly condition: Schema.NonEmptyString;
1186
+ }>]>;
1187
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
1188
+ readonly kind: Schema.Literal<"capability-sources">;
1189
+ }>, Schema.Struct<{
1190
+ readonly kind: Schema.Literal<"sources">;
1191
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
1192
+ }>]>;
1193
+ }>>;
1137
1194
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
1138
1195
  readonly variables: Schema.Literals<readonly ["none", "braced"]>;
1139
1196
  readonly defaults: Schema.Boolean;
@@ -1200,72 +1257,7 @@ export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema
1200
1257
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
1201
1258
  readonly writer: Schema.NullOr<Schema.Struct<{
1202
1259
  readonly config: Schema.Struct<{
1203
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
1204
- readonly activationField: Schema.Struct<{
1205
- readonly required: Schema.NullOr<Schema.Struct<{
1206
- readonly name: Schema.NonEmptyString;
1207
- readonly enabled: Schema.Boolean;
1208
- readonly disabled: Schema.Boolean;
1209
- }>>;
1210
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1211
- readonly name: Schema.NonEmptyString;
1212
- readonly enabled: Schema.Boolean;
1213
- readonly disabled: Schema.Boolean;
1214
- }>>>;
1215
- }>;
1216
- readonly targets: Schema.$Array<Schema.Struct<{
1217
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1218
- readonly path: Schema.NonEmptyString;
1219
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1220
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
1221
- }>>;
1222
- readonly stdio: Schema.NullOr<Schema.Struct<{
1223
- readonly typeField: Schema.Struct<{
1224
- readonly required: Schema.NullOr<Schema.Struct<{
1225
- readonly name: Schema.NonEmptyString;
1226
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1227
- readonly "streamable-http": Schema.NonEmptyString;
1228
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1229
- }>]>;
1230
- }>>;
1231
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1232
- readonly name: Schema.NonEmptyString;
1233
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1234
- readonly "streamable-http": Schema.NonEmptyString;
1235
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1236
- }>]>;
1237
- }>>>;
1238
- }>;
1239
- readonly command: Schema.Literals<readonly ["split", "array"]>;
1240
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1241
- /** Native allowlist for forwarding same-name environment variables. */
1242
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1243
- }>>;
1244
- readonly remote: Schema.NullOr<Schema.Struct<{
1245
- readonly typeField: Schema.Struct<{
1246
- readonly required: Schema.NullOr<Schema.Struct<{
1247
- readonly name: Schema.NonEmptyString;
1248
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1249
- readonly "streamable-http": Schema.NonEmptyString;
1250
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1251
- }>]>;
1252
- }>>;
1253
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1254
- readonly name: Schema.NonEmptyString;
1255
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1256
- readonly "streamable-http": Schema.NonEmptyString;
1257
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1258
- }>]>;
1259
- }>>>;
1260
- }>;
1261
- readonly urlKey: Schema.Struct<{
1262
- readonly "streamable-http": Schema.NonEmptyString;
1263
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1264
- }>;
1265
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
1266
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1267
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1268
- }>>;
1260
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
1269
1261
  }>;
1270
1262
  }>>;
1271
1263
  }>;
@@ -1305,72 +1297,7 @@ export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema
1305
1297
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
1306
1298
  readonly writer: Schema.NullOr<Schema.Struct<{
1307
1299
  readonly config: Schema.Struct<{
1308
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
1309
- readonly activationField: Schema.Struct<{
1310
- readonly required: Schema.NullOr<Schema.Struct<{
1311
- readonly name: Schema.NonEmptyString;
1312
- readonly enabled: Schema.Boolean;
1313
- readonly disabled: Schema.Boolean;
1314
- }>>;
1315
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1316
- readonly name: Schema.NonEmptyString;
1317
- readonly enabled: Schema.Boolean;
1318
- readonly disabled: Schema.Boolean;
1319
- }>>>;
1320
- }>;
1321
- readonly targets: Schema.$Array<Schema.Struct<{
1322
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1323
- readonly path: Schema.NonEmptyString;
1324
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1325
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
1326
- }>>;
1327
- readonly stdio: Schema.NullOr<Schema.Struct<{
1328
- readonly typeField: Schema.Struct<{
1329
- readonly required: Schema.NullOr<Schema.Struct<{
1330
- readonly name: Schema.NonEmptyString;
1331
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1332
- readonly "streamable-http": Schema.NonEmptyString;
1333
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1334
- }>]>;
1335
- }>>;
1336
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1337
- readonly name: Schema.NonEmptyString;
1338
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1339
- readonly "streamable-http": Schema.NonEmptyString;
1340
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1341
- }>]>;
1342
- }>>>;
1343
- }>;
1344
- readonly command: Schema.Literals<readonly ["split", "array"]>;
1345
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1346
- /** Native allowlist for forwarding same-name environment variables. */
1347
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1348
- }>>;
1349
- readonly remote: Schema.NullOr<Schema.Struct<{
1350
- readonly typeField: Schema.Struct<{
1351
- readonly required: Schema.NullOr<Schema.Struct<{
1352
- readonly name: Schema.NonEmptyString;
1353
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1354
- readonly "streamable-http": Schema.NonEmptyString;
1355
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1356
- }>]>;
1357
- }>>;
1358
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
1359
- readonly name: Schema.NonEmptyString;
1360
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
1361
- readonly "streamable-http": Schema.NonEmptyString;
1362
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1363
- }>]>;
1364
- }>>>;
1365
- }>;
1366
- readonly urlKey: Schema.Struct<{
1367
- readonly "streamable-http": Schema.NonEmptyString;
1368
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
1369
- }>;
1370
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
1371
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1372
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
1373
- }>>;
1300
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
1374
1301
  }>;
1375
1302
  }>>;
1376
1303
  }>;
@@ -1386,15 +1313,6 @@ export declare const PermissionGrammarStyleSchema: Schema.Literals<readonly ["to
1386
1313
  /** @experimental This API is unstable and may change without notice. */
1387
1314
  export type PermissionGrammarStyle = Schema.Schema.Type<typeof PermissionGrammarStyleSchema>;
1388
1315
  /** @experimental This API is unstable and may change without notice. */
1389
- export declare const ConfigFileLocationSchema: Schema.Struct<{
1390
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1391
- readonly path: Schema.NonEmptyString;
1392
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1393
- readonly gitignored: Schema.Boolean;
1394
- }>;
1395
- /** @experimental This API is unstable and may change without notice. */
1396
- export type ConfigFileLocation = Schema.Schema.Type<typeof ConfigFileLocationSchema>;
1397
- /** @experimental This API is unstable and may change without notice. */
1398
1316
  export declare const CANONICAL_HOOK_EVENT_IDS: readonly ["session.start", "prompt.submit", "turn.end", "tool.pre", "tool.post", "subagent.stop", "compaction.pre"];
1399
1317
  /** @experimental This API is unstable and may change without notice. */
1400
1318
  export declare const CanonicalHookEventIdSchema: Schema.Literals<readonly ["session.start", "prompt.submit", "turn.end", "tool.pre", "tool.post", "subagent.stop", "compaction.pre"]>;
@@ -1525,32 +1443,58 @@ export declare const HookCommandNameSerializationSchema: Schema.Literals<readonl
1525
1443
  /** @experimental This API is unstable and may change without notice. */
1526
1444
  export type HookCommandNameSerialization = Schema.Schema.Type<typeof HookCommandNameSerializationSchema>;
1527
1445
  /** @experimental This API is unstable and may change without notice. */
1528
- export declare const HooksWriterSchema: Schema.Struct<{
1446
+ export declare const HookEntryDialectSchema: Schema.Struct<{
1529
1447
  readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1530
- readonly configFiles: Schema.NonEmptyArray<Schema.Struct<{
1531
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1532
- readonly path: Schema.NonEmptyString;
1533
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1534
- readonly gitignored: Schema.Boolean;
1535
- }>>;
1536
- readonly settingsKey: Schema.NonEmptyString;
1537
- readonly eventMap: Schema.Literal<"native.events">;
1538
1448
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1539
1449
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1540
1450
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
1541
1451
  readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
1542
1452
  }>;
1543
1453
  /** @experimental This API is unstable and may change without notice. */
1454
+ export type HookEntryDialect = Schema.Schema.Type<typeof HookEntryDialectSchema>;
1455
+ /** @experimental This API is unstable and may change without notice. */
1456
+ export declare const HooksWriterSchema: Schema.Struct<{
1457
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
1458
+ readonly eventMap: Schema.Literal<"native.events">;
1459
+ }>;
1460
+ /** @experimental This API is unstable and may change without notice. */
1544
1461
  export type HooksWriter = Schema.Schema.Type<typeof HooksWriterSchema>;
1545
1462
  /** @experimental This API is unstable and may change without notice. */
1546
1463
  export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1547
1464
  readonly native: Schema.Union<readonly [Schema.Struct<{
1548
1465
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "raw"]>>;
1549
- readonly configFiles: Schema.$Array<Schema.Struct<{
1466
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
1467
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1468
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1469
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1470
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
1471
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
1472
+ }>>;
1473
+ readonly locations: Schema.$Array<Schema.Struct<{
1474
+ readonly shape: Schema.Literal<"file">;
1475
+ readonly id: Schema.NonEmptyString;
1476
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1477
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
1478
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
1479
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
1550
1480
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
1481
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1551
1482
  readonly path: Schema.NonEmptyString;
1552
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1553
- readonly gitignored: Schema.Boolean;
1483
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1484
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1485
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1486
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
1487
+ readonly kind: Schema.Literal<"always">;
1488
+ }>, Schema.Struct<{
1489
+ readonly kind: Schema.Literal<"conditional">;
1490
+ readonly condition: Schema.NonEmptyString;
1491
+ }>]>;
1492
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
1493
+ readonly kind: Schema.Literal<"capability-sources">;
1494
+ }>, Schema.Struct<{
1495
+ readonly kind: Schema.Literal<"sources">;
1496
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
1497
+ }>]>;
1554
1498
  }>>;
1555
1499
  readonly events: Schema.NonEmptyArray<Schema.Struct<{
1556
1500
  readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
@@ -1633,6 +1577,39 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1633
1577
  readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
1634
1578
  }>, Schema.Struct<{
1635
1579
  readonly modeling: Schema.Literal<"native-unmodeled">;
1580
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
1581
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1582
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1583
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1584
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
1585
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
1586
+ }>>;
1587
+ readonly locations: Schema.$Array<Schema.Struct<{
1588
+ readonly shape: Schema.Literal<"file">;
1589
+ readonly id: Schema.NonEmptyString;
1590
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1591
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
1592
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
1593
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
1594
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
1595
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1596
+ readonly path: Schema.NonEmptyString;
1597
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1598
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1599
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1600
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
1601
+ readonly kind: Schema.Literal<"always">;
1602
+ }>, Schema.Struct<{
1603
+ readonly kind: Schema.Literal<"conditional">;
1604
+ readonly condition: Schema.NonEmptyString;
1605
+ }>]>;
1606
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
1607
+ readonly kind: Schema.Literal<"capability-sources">;
1608
+ }>, Schema.Struct<{
1609
+ readonly kind: Schema.Literal<"sources">;
1610
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
1611
+ }>]>;
1612
+ }>>;
1636
1613
  readonly availability: Schema.Union<readonly [Schema.Struct<{
1637
1614
  readonly via: Schema.Literal<"native">;
1638
1615
  }>, Schema.Struct<{
@@ -1720,19 +1697,8 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1720
1697
  readonly lastVerified: Schema.NullOr<Schema.NonEmptyString>;
1721
1698
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
1722
1699
  readonly writer: Schema.NullOr<Schema.Struct<{
1723
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1724
- readonly configFiles: Schema.NonEmptyArray<Schema.Struct<{
1725
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
1726
- readonly path: Schema.NonEmptyString;
1727
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1728
- readonly gitignored: Schema.Boolean;
1729
- }>>;
1730
- readonly settingsKey: Schema.NonEmptyString;
1700
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
1731
1701
  readonly eventMap: Schema.Literal<"native.events">;
1732
- readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1733
- readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1734
- readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
1735
- readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
1736
1702
  }>>;
1737
1703
  }>;
1738
1704
  }>;
@@ -1764,7 +1730,14 @@ export declare const PermissionCliFlagSchema: Schema.Struct<{
1764
1730
  export type PermissionCliFlag = Schema.Schema.Type<typeof PermissionCliFlagSchema>;
1765
1731
  /** @experimental This API is unstable and may change without notice. */
1766
1732
  export declare const PermissionGrantSchema: Schema.Struct<{
1767
- readonly target: Schema.NonEmptyString;
1733
+ readonly destination: Schema.Union<readonly [Schema.Struct<{
1734
+ readonly kind: Schema.Literal<"location">;
1735
+ readonly locationId: Schema.NonEmptyString;
1736
+ }>, Schema.Struct<{
1737
+ readonly kind: Schema.Literal<"invocation">;
1738
+ }>, Schema.Struct<{
1739
+ readonly kind: Schema.Literal<"settings-ui">;
1740
+ }>]>;
1768
1741
  readonly patch: Schema.NullOr<Schema.Unknown>;
1769
1742
  readonly template: Schema.NullOr<Schema.NonEmptyString>;
1770
1743
  }>;
@@ -1774,11 +1747,31 @@ export type PermissionGrant = Schema.Schema.Type<typeof PermissionGrantSchema>;
1774
1747
  export declare const PermissionsExtensionCapabilitySchema: Schema.Struct<{
1775
1748
  readonly native: Schema.Union<readonly [Schema.Struct<{
1776
1749
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["config-file", "cli-flag", "ui-only"]>>;
1777
- readonly configFiles: Schema.$Array<Schema.Struct<{
1750
+ readonly locations: Schema.$Array<Schema.Struct<{
1751
+ readonly shape: Schema.Literal<"file">;
1752
+ readonly id: Schema.NonEmptyString;
1753
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1754
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
1755
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
1756
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
1778
1757
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
1758
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1779
1759
  readonly path: Schema.NonEmptyString;
1780
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
1781
- readonly gitignored: Schema.Boolean;
1760
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1761
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1762
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1763
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
1764
+ readonly kind: Schema.Literal<"always">;
1765
+ }>, Schema.Struct<{
1766
+ readonly kind: Schema.Literal<"conditional">;
1767
+ readonly condition: Schema.NonEmptyString;
1768
+ }>]>;
1769
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
1770
+ readonly kind: Schema.Literal<"capability-sources">;
1771
+ }>, Schema.Struct<{
1772
+ readonly kind: Schema.Literal<"sources">;
1773
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
1774
+ }>]>;
1782
1775
  }>>;
1783
1776
  readonly grammar: Schema.NullOr<Schema.Struct<{
1784
1777
  readonly style: Schema.Literals<readonly ["tool-call", "prefix", "regex", "glob", "starlark-rule"]>;
@@ -1883,7 +1876,14 @@ export declare const PermissionsExtensionCapabilitySchema: Schema.Struct<{
1883
1876
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
1884
1877
  readonly writer: Schema.NullOr<Schema.Struct<{
1885
1878
  readonly grants: Schema.$Record<Schema.String, Schema.Struct<{
1886
- readonly target: Schema.NonEmptyString;
1879
+ readonly destination: Schema.Union<readonly [Schema.Struct<{
1880
+ readonly kind: Schema.Literal<"location">;
1881
+ readonly locationId: Schema.NonEmptyString;
1882
+ }>, Schema.Struct<{
1883
+ readonly kind: Schema.Literal<"invocation">;
1884
+ }>, Schema.Struct<{
1885
+ readonly kind: Schema.Literal<"settings-ui">;
1886
+ }>]>;
1887
1887
  readonly patch: Schema.NullOr<Schema.Unknown>;
1888
1888
  readonly template: Schema.NullOr<Schema.NonEmptyString>;
1889
1889
  }>>;
@@ -1897,11 +1897,27 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
1897
1897
  skill: Schema.Struct<{
1898
1898
  readonly native: Schema.Union<readonly [Schema.Struct<{
1899
1899
  readonly convention: Schema.Literals<readonly ["universal", "vendor"]>;
1900
- readonly directory: Schema.NonEmptyString;
1901
- readonly additionalReadPaths: Schema.optionalKey<Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
1902
- readonly path: Schema.NonEmptyString;
1903
- readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1904
- }>>, never>>;
1900
+ readonly locations: Schema.$Array<Schema.Struct<{
1901
+ scope: Schema.Literals<readonly ["user", "project"]>;
1902
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1903
+ path: Schema.NonEmptyString;
1904
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1905
+ shape: Schema.Literals<readonly ["directory", "file"]>;
1906
+ role: Schema.Literals<readonly ["primary", "additional"]>;
1907
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1908
+ applicability: Schema.Union<readonly [Schema.Struct<{
1909
+ readonly kind: Schema.Literal<"always">;
1910
+ }>, Schema.Struct<{
1911
+ readonly kind: Schema.Literal<"conditional">;
1912
+ readonly condition: Schema.NonEmptyString;
1913
+ }>]>;
1914
+ provenance: Schema.Union<readonly [Schema.Struct<{
1915
+ readonly kind: Schema.Literal<"capability-sources">;
1916
+ }>, Schema.Struct<{
1917
+ readonly kind: Schema.Literal<"sources">;
1918
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
1919
+ }>]>;
1920
+ }>>;
1905
1921
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
1906
1922
  readonly availability: Schema.Union<readonly [Schema.Struct<{
1907
1923
  readonly via: Schema.Literal<"native">;
@@ -2051,6 +2067,94 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2051
2067
  "mcp-server": Schema.Union<readonly [Schema.Struct<{
2052
2068
  readonly native: Schema.Struct<{
2053
2069
  readonly transports: Schema.NonEmptyArray<Schema.Literals<readonly ["stdio", "http", "sse"]>>;
2070
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
2071
+ readonly activationField: Schema.Struct<{
2072
+ readonly required: Schema.NullOr<Schema.Struct<{
2073
+ readonly name: Schema.NonEmptyString;
2074
+ readonly enabled: Schema.Boolean;
2075
+ readonly disabled: Schema.Boolean;
2076
+ }>>;
2077
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2078
+ readonly name: Schema.NonEmptyString;
2079
+ readonly enabled: Schema.Boolean;
2080
+ readonly disabled: Schema.Boolean;
2081
+ }>>>;
2082
+ }>;
2083
+ readonly stdio: Schema.NullOr<Schema.Struct<{
2084
+ readonly typeField: Schema.Struct<{
2085
+ readonly required: Schema.NullOr<Schema.Struct<{
2086
+ readonly name: Schema.NonEmptyString;
2087
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2088
+ readonly "streamable-http": Schema.NonEmptyString;
2089
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2090
+ }>]>;
2091
+ }>>;
2092
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2093
+ readonly name: Schema.NonEmptyString;
2094
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2095
+ readonly "streamable-http": Schema.NonEmptyString;
2096
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2097
+ }>]>;
2098
+ }>>>;
2099
+ }>;
2100
+ readonly command: Schema.Literals<readonly ["split", "array"]>;
2101
+ readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
2102
+ /** Native allowlist for forwarding same-name environment variables. */
2103
+ readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
2104
+ }>>;
2105
+ readonly remote: Schema.NullOr<Schema.Struct<{
2106
+ readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
2107
+ readonly typeField: Schema.Struct<{
2108
+ readonly required: Schema.NullOr<Schema.Struct<{
2109
+ readonly name: Schema.NonEmptyString;
2110
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2111
+ readonly "streamable-http": Schema.NonEmptyString;
2112
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2113
+ }>]>;
2114
+ }>>;
2115
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2116
+ readonly name: Schema.NonEmptyString;
2117
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2118
+ readonly "streamable-http": Schema.NonEmptyString;
2119
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2120
+ }>]>;
2121
+ }>>>;
2122
+ }>;
2123
+ readonly urlKey: Schema.Struct<{
2124
+ readonly "streamable-http": Schema.NonEmptyString;
2125
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2126
+ }>;
2127
+ readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
2128
+ readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2129
+ readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2130
+ }>>;
2131
+ }>>;
2132
+ readonly locations: Schema.$Array<Schema.Struct<{
2133
+ readonly shape: Schema.Literal<"file">;
2134
+ readonly id: Schema.NonEmptyString;
2135
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2136
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
2137
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
2138
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
2139
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
2140
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2141
+ readonly path: Schema.NonEmptyString;
2142
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2143
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2144
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2145
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
2146
+ readonly kind: Schema.Literal<"always">;
2147
+ }>, Schema.Struct<{
2148
+ readonly kind: Schema.Literal<"conditional">;
2149
+ readonly condition: Schema.NonEmptyString;
2150
+ }>]>;
2151
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
2152
+ readonly kind: Schema.Literal<"capability-sources">;
2153
+ }>, Schema.Struct<{
2154
+ readonly kind: Schema.Literal<"sources">;
2155
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
2156
+ }>]>;
2157
+ }>>;
2054
2158
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
2055
2159
  readonly variables: Schema.Literals<readonly ["none", "braced"]>;
2056
2160
  readonly defaults: Schema.Boolean;
@@ -2117,72 +2221,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2117
2221
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
2118
2222
  readonly writer: Schema.NullOr<Schema.Struct<{
2119
2223
  readonly config: Schema.Struct<{
2120
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
2121
- readonly activationField: Schema.Struct<{
2122
- readonly required: Schema.NullOr<Schema.Struct<{
2123
- readonly name: Schema.NonEmptyString;
2124
- readonly enabled: Schema.Boolean;
2125
- readonly disabled: Schema.Boolean;
2126
- }>>;
2127
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2128
- readonly name: Schema.NonEmptyString;
2129
- readonly enabled: Schema.Boolean;
2130
- readonly disabled: Schema.Boolean;
2131
- }>>>;
2132
- }>;
2133
- readonly targets: Schema.$Array<Schema.Struct<{
2134
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
2135
- readonly path: Schema.NonEmptyString;
2136
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2137
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
2138
- }>>;
2139
- readonly stdio: Schema.NullOr<Schema.Struct<{
2140
- readonly typeField: Schema.Struct<{
2141
- readonly required: Schema.NullOr<Schema.Struct<{
2142
- readonly name: Schema.NonEmptyString;
2143
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2144
- readonly "streamable-http": Schema.NonEmptyString;
2145
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2146
- }>]>;
2147
- }>>;
2148
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2149
- readonly name: Schema.NonEmptyString;
2150
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2151
- readonly "streamable-http": Schema.NonEmptyString;
2152
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2153
- }>]>;
2154
- }>>>;
2155
- }>;
2156
- readonly command: Schema.Literals<readonly ["split", "array"]>;
2157
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
2158
- /** Native allowlist for forwarding same-name environment variables. */
2159
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
2160
- }>>;
2161
- readonly remote: Schema.NullOr<Schema.Struct<{
2162
- readonly typeField: Schema.Struct<{
2163
- readonly required: Schema.NullOr<Schema.Struct<{
2164
- readonly name: Schema.NonEmptyString;
2165
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2166
- readonly "streamable-http": Schema.NonEmptyString;
2167
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2168
- }>]>;
2169
- }>>;
2170
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2171
- readonly name: Schema.NonEmptyString;
2172
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2173
- readonly "streamable-http": Schema.NonEmptyString;
2174
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2175
- }>]>;
2176
- }>>>;
2177
- }>;
2178
- readonly urlKey: Schema.Struct<{
2179
- readonly "streamable-http": Schema.NonEmptyString;
2180
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2181
- }>;
2182
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
2183
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2184
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2185
- }>>;
2224
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
2186
2225
  }>;
2187
2226
  }>>;
2188
2227
  }>;
@@ -2222,72 +2261,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2222
2261
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
2223
2262
  readonly writer: Schema.NullOr<Schema.Struct<{
2224
2263
  readonly config: Schema.Struct<{
2225
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
2226
- readonly activationField: Schema.Struct<{
2227
- readonly required: Schema.NullOr<Schema.Struct<{
2228
- readonly name: Schema.NonEmptyString;
2229
- readonly enabled: Schema.Boolean;
2230
- readonly disabled: Schema.Boolean;
2231
- }>>;
2232
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2233
- readonly name: Schema.NonEmptyString;
2234
- readonly enabled: Schema.Boolean;
2235
- readonly disabled: Schema.Boolean;
2236
- }>>>;
2237
- }>;
2238
- readonly targets: Schema.$Array<Schema.Struct<{
2239
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
2240
- readonly path: Schema.NonEmptyString;
2241
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2242
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
2243
- }>>;
2244
- readonly stdio: Schema.NullOr<Schema.Struct<{
2245
- readonly typeField: Schema.Struct<{
2246
- readonly required: Schema.NullOr<Schema.Struct<{
2247
- readonly name: Schema.NonEmptyString;
2248
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2249
- readonly "streamable-http": Schema.NonEmptyString;
2250
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2251
- }>]>;
2252
- }>>;
2253
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2254
- readonly name: Schema.NonEmptyString;
2255
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2256
- readonly "streamable-http": Schema.NonEmptyString;
2257
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2258
- }>]>;
2259
- }>>>;
2260
- }>;
2261
- readonly command: Schema.Literals<readonly ["split", "array"]>;
2262
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
2263
- /** Native allowlist for forwarding same-name environment variables. */
2264
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
2265
- }>>;
2266
- readonly remote: Schema.NullOr<Schema.Struct<{
2267
- readonly typeField: Schema.Struct<{
2268
- readonly required: Schema.NullOr<Schema.Struct<{
2269
- readonly name: Schema.NonEmptyString;
2270
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2271
- readonly "streamable-http": Schema.NonEmptyString;
2272
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2273
- }>]>;
2274
- }>>;
2275
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2276
- readonly name: Schema.NonEmptyString;
2277
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2278
- readonly "streamable-http": Schema.NonEmptyString;
2279
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2280
- }>]>;
2281
- }>>>;
2282
- }>;
2283
- readonly urlKey: Schema.Struct<{
2284
- readonly "streamable-http": Schema.NonEmptyString;
2285
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2286
- }>;
2287
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
2288
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2289
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
2290
- }>>;
2264
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
2291
2265
  }>;
2292
2266
  }>>;
2293
2267
  }>;
@@ -2297,8 +2271,27 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2297
2271
  readonly availability: Schema.Struct<{
2298
2272
  readonly via: Schema.Literal<"native">;
2299
2273
  }>;
2300
- readonly directory: Schema.NonEmptyString;
2301
- readonly layout: Schema.Literals<readonly ["file", "directory"]>;
2274
+ readonly locations: Schema.$Array<Schema.Struct<{
2275
+ scope: Schema.Literals<readonly ["user", "project"]>;
2276
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2277
+ path: Schema.NonEmptyString;
2278
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2279
+ shape: Schema.Literals<readonly ["directory", "file"]>;
2280
+ role: Schema.Literals<readonly ["primary", "additional"]>;
2281
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2282
+ applicability: Schema.Union<readonly [Schema.Struct<{
2283
+ readonly kind: Schema.Literal<"always">;
2284
+ }>, Schema.Struct<{
2285
+ readonly kind: Schema.Literal<"conditional">;
2286
+ readonly condition: Schema.NonEmptyString;
2287
+ }>]>;
2288
+ provenance: Schema.Union<readonly [Schema.Struct<{
2289
+ readonly kind: Schema.Literal<"capability-sources">;
2290
+ }>, Schema.Struct<{
2291
+ readonly kind: Schema.Literal<"sources">;
2292
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
2293
+ }>]>;
2294
+ }>>;
2302
2295
  readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
2303
2296
  readonly state: Schema.Literal<"active">;
2304
2297
  }>, Schema.Struct<{
@@ -2415,11 +2408,38 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2415
2408
  hook: Schema.Struct<{
2416
2409
  readonly native: Schema.Union<readonly [Schema.Struct<{
2417
2410
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "raw"]>>;
2418
- readonly configFiles: Schema.$Array<Schema.Struct<{
2411
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
2412
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
2413
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
2414
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
2415
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
2416
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
2417
+ }>>;
2418
+ readonly locations: Schema.$Array<Schema.Struct<{
2419
+ readonly shape: Schema.Literal<"file">;
2420
+ readonly id: Schema.NonEmptyString;
2421
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2422
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
2423
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
2424
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
2419
2425
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
2426
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2420
2427
  readonly path: Schema.NonEmptyString;
2421
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2422
- readonly gitignored: Schema.Boolean;
2428
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2429
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2430
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2431
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
2432
+ readonly kind: Schema.Literal<"always">;
2433
+ }>, Schema.Struct<{
2434
+ readonly kind: Schema.Literal<"conditional">;
2435
+ readonly condition: Schema.NonEmptyString;
2436
+ }>]>;
2437
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
2438
+ readonly kind: Schema.Literal<"capability-sources">;
2439
+ }>, Schema.Struct<{
2440
+ readonly kind: Schema.Literal<"sources">;
2441
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
2442
+ }>]>;
2423
2443
  }>>;
2424
2444
  readonly events: Schema.NonEmptyArray<Schema.Struct<{
2425
2445
  readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
@@ -2502,6 +2522,39 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2502
2522
  readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
2503
2523
  }>, Schema.Struct<{
2504
2524
  readonly modeling: Schema.Literal<"native-unmodeled">;
2525
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
2526
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
2527
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
2528
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
2529
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
2530
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
2531
+ }>>;
2532
+ readonly locations: Schema.$Array<Schema.Struct<{
2533
+ readonly shape: Schema.Literal<"file">;
2534
+ readonly id: Schema.NonEmptyString;
2535
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2536
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
2537
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
2538
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
2539
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
2540
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2541
+ readonly path: Schema.NonEmptyString;
2542
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2543
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2544
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2545
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
2546
+ readonly kind: Schema.Literal<"always">;
2547
+ }>, Schema.Struct<{
2548
+ readonly kind: Schema.Literal<"conditional">;
2549
+ readonly condition: Schema.NonEmptyString;
2550
+ }>]>;
2551
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
2552
+ readonly kind: Schema.Literal<"capability-sources">;
2553
+ }>, Schema.Struct<{
2554
+ readonly kind: Schema.Literal<"sources">;
2555
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
2556
+ }>]>;
2557
+ }>>;
2505
2558
  readonly availability: Schema.Union<readonly [Schema.Struct<{
2506
2559
  readonly via: Schema.Literal<"native">;
2507
2560
  }>, Schema.Struct<{
@@ -2589,19 +2642,8 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2589
2642
  readonly lastVerified: Schema.NullOr<Schema.NonEmptyString>;
2590
2643
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
2591
2644
  readonly writer: Schema.NullOr<Schema.Struct<{
2592
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
2593
- readonly configFiles: Schema.NonEmptyArray<Schema.Struct<{
2594
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
2595
- readonly path: Schema.NonEmptyString;
2596
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2597
- readonly gitignored: Schema.Boolean;
2598
- }>>;
2599
- readonly settingsKey: Schema.NonEmptyString;
2645
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
2600
2646
  readonly eventMap: Schema.Literal<"native.events">;
2601
- readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
2602
- readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
2603
- readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
2604
- readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
2605
2647
  }>>;
2606
2648
  }>;
2607
2649
  }>;
@@ -2742,11 +2784,27 @@ export declare const AgentSchema: Schema.Struct<{
2742
2784
  skill: Schema.Struct<{
2743
2785
  readonly native: Schema.Union<readonly [Schema.Struct<{
2744
2786
  readonly convention: Schema.Literals<readonly ["universal", "vendor"]>;
2745
- readonly directory: Schema.NonEmptyString;
2746
- readonly additionalReadPaths: Schema.optionalKey<Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
2747
- readonly path: Schema.NonEmptyString;
2748
- readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2749
- }>>, never>>;
2787
+ readonly locations: Schema.$Array<Schema.Struct<{
2788
+ scope: Schema.Literals<readonly ["user", "project"]>;
2789
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2790
+ path: Schema.NonEmptyString;
2791
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2792
+ shape: Schema.Literals<readonly ["directory", "file"]>;
2793
+ role: Schema.Literals<readonly ["primary", "additional"]>;
2794
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2795
+ applicability: Schema.Union<readonly [Schema.Struct<{
2796
+ readonly kind: Schema.Literal<"always">;
2797
+ }>, Schema.Struct<{
2798
+ readonly kind: Schema.Literal<"conditional">;
2799
+ readonly condition: Schema.NonEmptyString;
2800
+ }>]>;
2801
+ provenance: Schema.Union<readonly [Schema.Struct<{
2802
+ readonly kind: Schema.Literal<"capability-sources">;
2803
+ }>, Schema.Struct<{
2804
+ readonly kind: Schema.Literal<"sources">;
2805
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
2806
+ }>]>;
2807
+ }>>;
2750
2808
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
2751
2809
  readonly availability: Schema.Union<readonly [Schema.Struct<{
2752
2810
  readonly via: Schema.Literal<"native">;
@@ -2896,6 +2954,94 @@ export declare const AgentSchema: Schema.Struct<{
2896
2954
  "mcp-server": Schema.Union<readonly [Schema.Struct<{
2897
2955
  readonly native: Schema.Struct<{
2898
2956
  readonly transports: Schema.NonEmptyArray<Schema.Literals<readonly ["stdio", "http", "sse"]>>;
2957
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
2958
+ readonly activationField: Schema.Struct<{
2959
+ readonly required: Schema.NullOr<Schema.Struct<{
2960
+ readonly name: Schema.NonEmptyString;
2961
+ readonly enabled: Schema.Boolean;
2962
+ readonly disabled: Schema.Boolean;
2963
+ }>>;
2964
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2965
+ readonly name: Schema.NonEmptyString;
2966
+ readonly enabled: Schema.Boolean;
2967
+ readonly disabled: Schema.Boolean;
2968
+ }>>>;
2969
+ }>;
2970
+ readonly stdio: Schema.NullOr<Schema.Struct<{
2971
+ readonly typeField: Schema.Struct<{
2972
+ readonly required: Schema.NullOr<Schema.Struct<{
2973
+ readonly name: Schema.NonEmptyString;
2974
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2975
+ readonly "streamable-http": Schema.NonEmptyString;
2976
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2977
+ }>]>;
2978
+ }>>;
2979
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2980
+ readonly name: Schema.NonEmptyString;
2981
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2982
+ readonly "streamable-http": Schema.NonEmptyString;
2983
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2984
+ }>]>;
2985
+ }>>>;
2986
+ }>;
2987
+ readonly command: Schema.Literals<readonly ["split", "array"]>;
2988
+ readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
2989
+ /** Native allowlist for forwarding same-name environment variables. */
2990
+ readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
2991
+ }>>;
2992
+ readonly remote: Schema.NullOr<Schema.Struct<{
2993
+ readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
2994
+ readonly typeField: Schema.Struct<{
2995
+ readonly required: Schema.NullOr<Schema.Struct<{
2996
+ readonly name: Schema.NonEmptyString;
2997
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2998
+ readonly "streamable-http": Schema.NonEmptyString;
2999
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3000
+ }>]>;
3001
+ }>>;
3002
+ readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
3003
+ readonly name: Schema.NonEmptyString;
3004
+ readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3005
+ readonly "streamable-http": Schema.NonEmptyString;
3006
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3007
+ }>]>;
3008
+ }>>>;
3009
+ }>;
3010
+ readonly urlKey: Schema.Struct<{
3011
+ readonly "streamable-http": Schema.NonEmptyString;
3012
+ readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3013
+ }>;
3014
+ readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
3015
+ readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3016
+ readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3017
+ }>>;
3018
+ }>>;
3019
+ readonly locations: Schema.$Array<Schema.Struct<{
3020
+ readonly shape: Schema.Literal<"file">;
3021
+ readonly id: Schema.NonEmptyString;
3022
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3023
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
3024
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
3025
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
3026
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
3027
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3028
+ readonly path: Schema.NonEmptyString;
3029
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3030
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3031
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3032
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
3033
+ readonly kind: Schema.Literal<"always">;
3034
+ }>, Schema.Struct<{
3035
+ readonly kind: Schema.Literal<"conditional">;
3036
+ readonly condition: Schema.NonEmptyString;
3037
+ }>]>;
3038
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
3039
+ readonly kind: Schema.Literal<"capability-sources">;
3040
+ }>, Schema.Struct<{
3041
+ readonly kind: Schema.Literal<"sources">;
3042
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3043
+ }>]>;
3044
+ }>>;
2899
3045
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
2900
3046
  readonly variables: Schema.Literals<readonly ["none", "braced"]>;
2901
3047
  readonly defaults: Schema.Boolean;
@@ -2962,72 +3108,7 @@ export declare const AgentSchema: Schema.Struct<{
2962
3108
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
2963
3109
  readonly writer: Schema.NullOr<Schema.Struct<{
2964
3110
  readonly config: Schema.Struct<{
2965
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
2966
- readonly activationField: Schema.Struct<{
2967
- readonly required: Schema.NullOr<Schema.Struct<{
2968
- readonly name: Schema.NonEmptyString;
2969
- readonly enabled: Schema.Boolean;
2970
- readonly disabled: Schema.Boolean;
2971
- }>>;
2972
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2973
- readonly name: Schema.NonEmptyString;
2974
- readonly enabled: Schema.Boolean;
2975
- readonly disabled: Schema.Boolean;
2976
- }>>>;
2977
- }>;
2978
- readonly targets: Schema.$Array<Schema.Struct<{
2979
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
2980
- readonly path: Schema.NonEmptyString;
2981
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
2982
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
2983
- }>>;
2984
- readonly stdio: Schema.NullOr<Schema.Struct<{
2985
- readonly typeField: Schema.Struct<{
2986
- readonly required: Schema.NullOr<Schema.Struct<{
2987
- readonly name: Schema.NonEmptyString;
2988
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2989
- readonly "streamable-http": Schema.NonEmptyString;
2990
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2991
- }>]>;
2992
- }>>;
2993
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
2994
- readonly name: Schema.NonEmptyString;
2995
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
2996
- readonly "streamable-http": Schema.NonEmptyString;
2997
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
2998
- }>]>;
2999
- }>>>;
3000
- }>;
3001
- readonly command: Schema.Literals<readonly ["split", "array"]>;
3002
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
3003
- /** Native allowlist for forwarding same-name environment variables. */
3004
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
3005
- }>>;
3006
- readonly remote: Schema.NullOr<Schema.Struct<{
3007
- readonly typeField: Schema.Struct<{
3008
- readonly required: Schema.NullOr<Schema.Struct<{
3009
- readonly name: Schema.NonEmptyString;
3010
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3011
- readonly "streamable-http": Schema.NonEmptyString;
3012
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3013
- }>]>;
3014
- }>>;
3015
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
3016
- readonly name: Schema.NonEmptyString;
3017
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3018
- readonly "streamable-http": Schema.NonEmptyString;
3019
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3020
- }>]>;
3021
- }>>>;
3022
- }>;
3023
- readonly urlKey: Schema.Struct<{
3024
- readonly "streamable-http": Schema.NonEmptyString;
3025
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3026
- }>;
3027
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
3028
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3029
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3030
- }>>;
3111
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
3031
3112
  }>;
3032
3113
  }>>;
3033
3114
  }>;
@@ -3067,72 +3148,7 @@ export declare const AgentSchema: Schema.Struct<{
3067
3148
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
3068
3149
  readonly writer: Schema.NullOr<Schema.Struct<{
3069
3150
  readonly config: Schema.Struct<{
3070
- readonly serversKey: Schema.Literals<readonly ["mcpServers", "servers", "mcp", "mcp_servers", "context_servers"]>;
3071
- readonly activationField: Schema.Struct<{
3072
- readonly required: Schema.NullOr<Schema.Struct<{
3073
- readonly name: Schema.NonEmptyString;
3074
- readonly enabled: Schema.Boolean;
3075
- readonly disabled: Schema.Boolean;
3076
- }>>;
3077
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
3078
- readonly name: Schema.NonEmptyString;
3079
- readonly enabled: Schema.Boolean;
3080
- readonly disabled: Schema.Boolean;
3081
- }>>>;
3082
- }>;
3083
- readonly targets: Schema.$Array<Schema.Struct<{
3084
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3085
- readonly path: Schema.NonEmptyString;
3086
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3087
- readonly attribution: Schema.Literals<readonly ["shared", "agent"]>;
3088
- }>>;
3089
- readonly stdio: Schema.NullOr<Schema.Struct<{
3090
- readonly typeField: Schema.Struct<{
3091
- readonly required: Schema.NullOr<Schema.Struct<{
3092
- readonly name: Schema.NonEmptyString;
3093
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3094
- readonly "streamable-http": Schema.NonEmptyString;
3095
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3096
- }>]>;
3097
- }>>;
3098
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
3099
- readonly name: Schema.NonEmptyString;
3100
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3101
- readonly "streamable-http": Schema.NonEmptyString;
3102
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3103
- }>]>;
3104
- }>>>;
3105
- }>;
3106
- readonly command: Schema.Literals<readonly ["split", "array"]>;
3107
- readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
3108
- /** Native allowlist for forwarding same-name environment variables. */
3109
- readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
3110
- }>>;
3111
- readonly remote: Schema.NullOr<Schema.Struct<{
3112
- readonly typeField: Schema.Struct<{
3113
- readonly required: Schema.NullOr<Schema.Struct<{
3114
- readonly name: Schema.NonEmptyString;
3115
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3116
- readonly "streamable-http": Schema.NonEmptyString;
3117
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3118
- }>]>;
3119
- }>>;
3120
- readonly accepted: Schema.NonEmptyArray<Schema.NullOr<Schema.Struct<{
3121
- readonly name: Schema.NonEmptyString;
3122
- readonly value: Schema.Union<readonly [Schema.NonEmptyString, Schema.Struct<{
3123
- readonly "streamable-http": Schema.NonEmptyString;
3124
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3125
- }>]>;
3126
- }>>>;
3127
- }>;
3128
- readonly urlKey: Schema.Struct<{
3129
- readonly "streamable-http": Schema.NonEmptyString;
3130
- readonly sse: Schema.optionalKey<Schema.NonEmptyString>;
3131
- }>;
3132
- readonly headersKey: Schema.NullOr<Schema.NonEmptyString>;
3133
- readonly bearerTokenEnvKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3134
- readonly envHeadersKey: Schema.optionalKey<Schema.NullOr<Schema.NonEmptyString>>;
3135
- }>>;
3151
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
3136
3152
  }>;
3137
3153
  }>>;
3138
3154
  }>;
@@ -3142,8 +3158,27 @@ export declare const AgentSchema: Schema.Struct<{
3142
3158
  readonly availability: Schema.Struct<{
3143
3159
  readonly via: Schema.Literal<"native">;
3144
3160
  }>;
3145
- readonly directory: Schema.NonEmptyString;
3146
- readonly layout: Schema.Literals<readonly ["file", "directory"]>;
3161
+ readonly locations: Schema.$Array<Schema.Struct<{
3162
+ scope: Schema.Literals<readonly ["user", "project"]>;
3163
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3164
+ path: Schema.NonEmptyString;
3165
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3166
+ shape: Schema.Literals<readonly ["directory", "file"]>;
3167
+ role: Schema.Literals<readonly ["primary", "additional"]>;
3168
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3169
+ applicability: Schema.Union<readonly [Schema.Struct<{
3170
+ readonly kind: Schema.Literal<"always">;
3171
+ }>, Schema.Struct<{
3172
+ readonly kind: Schema.Literal<"conditional">;
3173
+ readonly condition: Schema.NonEmptyString;
3174
+ }>]>;
3175
+ provenance: Schema.Union<readonly [Schema.Struct<{
3176
+ readonly kind: Schema.Literal<"capability-sources">;
3177
+ }>, Schema.Struct<{
3178
+ readonly kind: Schema.Literal<"sources">;
3179
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3180
+ }>]>;
3181
+ }>>;
3147
3182
  readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
3148
3183
  readonly state: Schema.Literal<"active">;
3149
3184
  }>, Schema.Struct<{
@@ -3260,11 +3295,38 @@ export declare const AgentSchema: Schema.Struct<{
3260
3295
  hook: Schema.Struct<{
3261
3296
  readonly native: Schema.Union<readonly [Schema.Struct<{
3262
3297
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "raw"]>>;
3263
- readonly configFiles: Schema.$Array<Schema.Struct<{
3298
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
3299
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
3300
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
3301
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
3302
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
3303
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
3304
+ }>>;
3305
+ readonly locations: Schema.$Array<Schema.Struct<{
3306
+ readonly shape: Schema.Literal<"file">;
3307
+ readonly id: Schema.NonEmptyString;
3308
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3309
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
3310
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
3311
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
3264
3312
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
3313
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3265
3314
  readonly path: Schema.NonEmptyString;
3266
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3267
- readonly gitignored: Schema.Boolean;
3315
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3316
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3317
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3318
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
3319
+ readonly kind: Schema.Literal<"always">;
3320
+ }>, Schema.Struct<{
3321
+ readonly kind: Schema.Literal<"conditional">;
3322
+ readonly condition: Schema.NonEmptyString;
3323
+ }>]>;
3324
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
3325
+ readonly kind: Schema.Literal<"capability-sources">;
3326
+ }>, Schema.Struct<{
3327
+ readonly kind: Schema.Literal<"sources">;
3328
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3329
+ }>]>;
3268
3330
  }>>;
3269
3331
  readonly events: Schema.NonEmptyArray<Schema.Struct<{
3270
3332
  readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
@@ -3347,6 +3409,39 @@ export declare const AgentSchema: Schema.Struct<{
3347
3409
  readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
3348
3410
  }>, Schema.Struct<{
3349
3411
  readonly modeling: Schema.Literal<"native-unmodeled">;
3412
+ readonly entryDialect: Schema.NullOr<Schema.Struct<{
3413
+ readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
3414
+ readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
3415
+ readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
3416
+ readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
3417
+ readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
3418
+ }>>;
3419
+ readonly locations: Schema.$Array<Schema.Struct<{
3420
+ readonly shape: Schema.Literal<"file">;
3421
+ readonly id: Schema.NonEmptyString;
3422
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3423
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
3424
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
3425
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
3426
+ readonly scope: Schema.Literals<readonly ["user", "project"]>;
3427
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3428
+ readonly path: Schema.NonEmptyString;
3429
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3430
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3431
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3432
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
3433
+ readonly kind: Schema.Literal<"always">;
3434
+ }>, Schema.Struct<{
3435
+ readonly kind: Schema.Literal<"conditional">;
3436
+ readonly condition: Schema.NonEmptyString;
3437
+ }>]>;
3438
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
3439
+ readonly kind: Schema.Literal<"capability-sources">;
3440
+ }>, Schema.Struct<{
3441
+ readonly kind: Schema.Literal<"sources">;
3442
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3443
+ }>]>;
3444
+ }>>;
3350
3445
  readonly availability: Schema.Union<readonly [Schema.Struct<{
3351
3446
  readonly via: Schema.Literal<"native">;
3352
3447
  }>, Schema.Struct<{
@@ -3434,152 +3529,38 @@ export declare const AgentSchema: Schema.Struct<{
3434
3529
  readonly lastVerified: Schema.NullOr<Schema.NonEmptyString>;
3435
3530
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
3436
3531
  readonly writer: Schema.NullOr<Schema.Struct<{
3437
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
3438
- readonly configFiles: Schema.NonEmptyArray<Schema.Struct<{
3439
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3440
- readonly path: Schema.NonEmptyString;
3441
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3442
- readonly gitignored: Schema.Boolean;
3443
- }>>;
3444
- readonly settingsKey: Schema.NonEmptyString;
3532
+ readonly locationIds: Schema.NonEmptyArray<Schema.NonEmptyString>;
3445
3533
  readonly eventMap: Schema.Literal<"native.events">;
3446
- readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
3447
- readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
3448
- readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
3449
- readonly commandNameSerialization: Schema.Literals<readonly ["omit", "manifest"]>;
3450
3534
  }>>;
3451
3535
  }>;
3452
3536
  }>;
3453
3537
  }>;
3454
3538
  readonly instructions: Schema.Struct<{
3455
3539
  readonly native: Schema.Union<readonly [Schema.Struct<{
3456
- readonly kind: Schema.Literal<"agents-md">;
3457
- readonly files: Schema.Tuple<readonly [Schema.Literal<"AGENTS.md">]>;
3458
- readonly nestedDiscovery: Schema.Boolean;
3459
- readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
3460
- readonly directory: Schema.optionalKey<Schema.NonEmptyString>;
3461
- readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
3462
- readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
3463
- readonly availability: Schema.Union<readonly [Schema.Struct<{
3464
- readonly via: Schema.Literal<"native">;
3465
- }>, Schema.Struct<{
3466
- readonly via: Schema.Literal<"plugin">;
3467
- readonly provider: Schema.Literals<readonly ["first-party", "third-party"]>;
3468
- readonly plugin: Schema.Struct<{
3469
- readonly name: Schema.NonEmptyString;
3470
- readonly homepage: Schema.NonEmptyString;
3471
- readonly author: Schema.NullOr<Schema.NonEmptyString>;
3472
- readonly distribution: Schema.Struct<{
3473
- readonly mechanism: Schema.Literals<readonly ["agent-native", "npm", "git", "manual"]>;
3474
- readonly installHint: Schema.NullOr<Schema.NonEmptyString>;
3475
- readonly packageRef: Schema.NullOr<Schema.NonEmptyString>;
3476
- }>;
3477
- readonly detection: Schema.NullOr<Schema.Struct<{
3478
- readonly paths: Schema.$Array<Schema.Struct<{
3479
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3480
- readonly path: Schema.NonEmptyString;
3481
- readonly kind: Schema.Literals<readonly ["dir", "file"]>;
3482
- }>>;
3483
- readonly configKeys: Schema.$Array<Schema.Struct<{
3484
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3485
- readonly file: Schema.NonEmptyString;
3486
- readonly key: Schema.NonEmptyString;
3487
- }>>;
3488
- }>>;
3489
- }>;
3490
- }>]>;
3491
- readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
3492
- readonly state: Schema.Literal<"active">;
3493
- }>, Schema.Struct<{
3494
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3495
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3496
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3497
- readonly state: Schema.Literal<"maintenance">;
3498
- }>, Schema.Struct<{
3499
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3500
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3501
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3502
- readonly state: Schema.Literal<"deprecated">;
3503
- }>, Schema.Struct<{
3504
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3505
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3506
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3507
- readonly state: Schema.Literal<"removed">;
3508
- }>]>;
3509
- readonly notes: Schema.NullOr<Schema.NonEmptyString>;
3510
- readonly docs: Schema.$Array<Schema.Struct<{
3511
- readonly label: Schema.NonEmptyString;
3512
- readonly url: Schema.NonEmptyString;
3513
- }>>;
3514
- readonly sources: Schema.$Array<Schema.NonEmptyString>;
3515
- readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
3516
- }>, Schema.Struct<{
3517
- readonly kind: Schema.Literal<"own-file">;
3518
- readonly files: Schema.Tuple<readonly [Schema.NonEmptyString]>;
3519
- readonly nestedDiscovery: Schema.Boolean;
3520
- readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
3521
- readonly directory: Schema.optionalKey<Schema.NonEmptyString>;
3522
- readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
3523
- readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
3524
- readonly availability: Schema.Union<readonly [Schema.Struct<{
3525
- readonly via: Schema.Literal<"native">;
3526
- }>, Schema.Struct<{
3527
- readonly via: Schema.Literal<"plugin">;
3528
- readonly provider: Schema.Literals<readonly ["first-party", "third-party"]>;
3529
- readonly plugin: Schema.Struct<{
3530
- readonly name: Schema.NonEmptyString;
3531
- readonly homepage: Schema.NonEmptyString;
3532
- readonly author: Schema.NullOr<Schema.NonEmptyString>;
3533
- readonly distribution: Schema.Struct<{
3534
- readonly mechanism: Schema.Literals<readonly ["agent-native", "npm", "git", "manual"]>;
3535
- readonly installHint: Schema.NullOr<Schema.NonEmptyString>;
3536
- readonly packageRef: Schema.NullOr<Schema.NonEmptyString>;
3537
- }>;
3538
- readonly detection: Schema.NullOr<Schema.Struct<{
3539
- readonly paths: Schema.$Array<Schema.Struct<{
3540
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3541
- readonly path: Schema.NonEmptyString;
3542
- readonly kind: Schema.Literals<readonly ["dir", "file"]>;
3543
- }>>;
3544
- readonly configKeys: Schema.$Array<Schema.Struct<{
3545
- readonly scope: Schema.Literals<readonly ["user", "project"]>;
3546
- readonly file: Schema.NonEmptyString;
3547
- readonly key: Schema.NonEmptyString;
3548
- }>>;
3549
- }>>;
3550
- }>;
3551
- }>]>;
3552
- readonly vendorStatus: Schema.Union<readonly [Schema.Struct<{
3553
- readonly state: Schema.Literal<"active">;
3554
- }>, Schema.Struct<{
3555
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3556
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3557
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3558
- readonly state: Schema.Literal<"maintenance">;
3559
- }>, Schema.Struct<{
3560
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3561
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3562
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3563
- readonly state: Schema.Literal<"deprecated">;
3564
- }>, Schema.Struct<{
3565
- readonly since: Schema.NullOr<Schema.NonEmptyString>;
3566
- readonly note: Schema.NullOr<Schema.NonEmptyString>;
3567
- readonly supersededByType: Schema.NullOr<Schema.Literals<readonly ["skill", "mcp-server", "subagent", "rule", "hook"]>>;
3568
- readonly state: Schema.Literal<"removed">;
3569
- }>]>;
3570
- readonly notes: Schema.NullOr<Schema.NonEmptyString>;
3571
- readonly docs: Schema.$Array<Schema.Struct<{
3572
- readonly label: Schema.NonEmptyString;
3573
- readonly url: Schema.NonEmptyString;
3540
+ readonly kind: Schema.Literals<readonly ["agents-md", "own-file", "rules-dir"]>;
3541
+ readonly locations: Schema.$Array<Schema.Struct<{
3542
+ scope: Schema.Literals<readonly ["user", "project"]>;
3543
+ root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3544
+ path: Schema.NonEmptyString;
3545
+ configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3546
+ shape: Schema.Literals<readonly ["directory", "file"]>;
3547
+ role: Schema.Literals<readonly ["primary", "additional"]>;
3548
+ status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3549
+ applicability: Schema.Union<readonly [Schema.Struct<{
3550
+ readonly kind: Schema.Literal<"always">;
3551
+ }>, Schema.Struct<{
3552
+ readonly kind: Schema.Literal<"conditional">;
3553
+ readonly condition: Schema.NonEmptyString;
3554
+ }>]>;
3555
+ provenance: Schema.Union<readonly [Schema.Struct<{
3556
+ readonly kind: Schema.Literal<"capability-sources">;
3557
+ }>, Schema.Struct<{
3558
+ readonly kind: Schema.Literal<"sources">;
3559
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3560
+ }>]>;
3574
3561
  }>>;
3575
- readonly sources: Schema.$Array<Schema.NonEmptyString>;
3576
- readonly scopes: Schema.NonEmptyArray<Schema.Literals<readonly ["user", "project"]>>;
3577
- }>, Schema.Struct<{
3578
- readonly kind: Schema.Literal<"rules-dir">;
3579
- readonly files: Schema.$Array<Schema.NonEmptyString>;
3580
3562
  readonly nestedDiscovery: Schema.Boolean;
3581
3563
  readonly importSyntax: Schema.NullOr<Schema.Literals<readonly ["at-path"]>>;
3582
- readonly directory: Schema.NonEmptyString;
3583
3564
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
3584
3565
  readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
3585
3566
  readonly availability: Schema.Union<readonly [Schema.Struct<{
@@ -3674,11 +3655,31 @@ export declare const AgentSchema: Schema.Struct<{
3674
3655
  readonly permissions: Schema.Struct<{
3675
3656
  readonly native: Schema.Union<readonly [Schema.Struct<{
3676
3657
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["config-file", "cli-flag", "ui-only"]>>;
3677
- readonly configFiles: Schema.$Array<Schema.Struct<{
3658
+ readonly locations: Schema.$Array<Schema.Struct<{
3659
+ readonly shape: Schema.Literal<"file">;
3660
+ readonly id: Schema.NonEmptyString;
3661
+ readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3662
+ readonly keyPath: Schema.optionalKey<Schema.NonEmptyArray<Schema.NonEmptyString>>;
3663
+ readonly attribution: Schema.optionalKey<Schema.Literals<readonly ["shared", "agent"]>>;
3664
+ readonly gitignored: Schema.optionalKey<Schema.Boolean>;
3678
3665
  readonly scope: Schema.Literals<readonly ["user", "project"]>;
3666
+ readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3679
3667
  readonly path: Schema.NonEmptyString;
3680
- readonly format: Schema.Literals<readonly ["json", "jsonc", "toml", "yaml", "starlark", "vscode-settings"]>;
3681
- readonly gitignored: Schema.Boolean;
3668
+ readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3669
+ readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3670
+ readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3671
+ readonly applicability: Schema.Union<readonly [Schema.Struct<{
3672
+ readonly kind: Schema.Literal<"always">;
3673
+ }>, Schema.Struct<{
3674
+ readonly kind: Schema.Literal<"conditional">;
3675
+ readonly condition: Schema.NonEmptyString;
3676
+ }>]>;
3677
+ readonly provenance: Schema.Union<readonly [Schema.Struct<{
3678
+ readonly kind: Schema.Literal<"capability-sources">;
3679
+ }>, Schema.Struct<{
3680
+ readonly kind: Schema.Literal<"sources">;
3681
+ readonly sources: Schema.NonEmptyArray<Schema.NonEmptyString>;
3682
+ }>]>;
3682
3683
  }>>;
3683
3684
  readonly grammar: Schema.NullOr<Schema.Struct<{
3684
3685
  readonly style: Schema.Literals<readonly ["tool-call", "prefix", "regex", "glob", "starlark-rule"]>;
@@ -3783,7 +3784,14 @@ export declare const AgentSchema: Schema.Struct<{
3783
3784
  readonly reason: Schema.optionalKey<Schema.NonEmptyString>;
3784
3785
  readonly writer: Schema.NullOr<Schema.Struct<{
3785
3786
  readonly grants: Schema.$Record<Schema.String, Schema.Struct<{
3786
- readonly target: Schema.NonEmptyString;
3787
+ readonly destination: Schema.Union<readonly [Schema.Struct<{
3788
+ readonly kind: Schema.Literal<"location">;
3789
+ readonly locationId: Schema.NonEmptyString;
3790
+ }>, Schema.Struct<{
3791
+ readonly kind: Schema.Literal<"invocation">;
3792
+ }>, Schema.Struct<{
3793
+ readonly kind: Schema.Literal<"settings-ui">;
3794
+ }>]>;
3787
3795
  readonly patch: Schema.NullOr<Schema.Unknown>;
3788
3796
  readonly template: Schema.NullOr<Schema.NonEmptyString>;
3789
3797
  }>>;