@agentxm/extension-model 0.38.0 → 0.39.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 (65) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +1820 -96
  2. package/dist/src/unstable/agent-capabilities/catalog.js +2 -1
  3. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +1 -1
  4. package/dist/src/unstable/agent-capabilities/data/agents/augment.js +1 -1
  5. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +21 -3
  6. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +18 -3
  7. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +1 -1
  8. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +1 -1
  9. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +3 -2
  10. package/dist/src/unstable/agent-capabilities/data/agents/codex.js +3 -2
  11. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +186 -10
  12. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +223 -10
  13. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +1 -1
  14. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +1 -1
  15. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +1 -1
  16. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +1 -1
  17. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts +19 -1
  18. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js +16 -1
  19. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +1 -1
  20. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +1 -1
  21. package/dist/src/unstable/agent-capabilities/data/agents/index.d.ts +1 -0
  22. package/dist/src/unstable/agent-capabilities/data/agents/index.js +1 -0
  23. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +1 -1
  24. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +1 -1
  25. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +2 -1
  26. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +2 -1
  27. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +105 -6
  28. package/dist/src/unstable/agent-capabilities/data/agents/pi.js +77 -6
  29. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +1 -1
  30. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +1 -1
  31. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +1 -1
  32. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +1 -1
  33. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +1 -1
  34. package/dist/src/unstable/agent-capabilities/data/agents/roo.js +1 -1
  35. package/dist/src/unstable/agent-capabilities/data/agents/vscode.d.ts +263 -0
  36. package/dist/src/unstable/agent-capabilities/data/agents/vscode.js +139 -0
  37. package/dist/src/unstable/agent-capabilities/derive.d.ts +14 -22
  38. package/dist/src/unstable/agent-capabilities/derive.js +40 -51
  39. package/dist/src/unstable/agent-capabilities/identity.d.ts +3 -3
  40. package/dist/src/unstable/agent-capabilities/identity.js +1 -0
  41. package/dist/src/unstable/agent-capabilities/schema.d.ts +50 -12
  42. package/dist/src/unstable/agent-capabilities/schema.js +10 -2
  43. package/dist/src/unstable/agents/types.d.ts +1 -1
  44. package/dist/src/unstable/extensions/common.d.ts +17 -3
  45. package/dist/src/unstable/extensions/common.js +8 -8
  46. package/dist/src/unstable/extensions/installable-types.d.ts +2 -2
  47. package/dist/src/unstable/extensions/refs/mcp-server.d.ts +16 -2
  48. package/dist/src/unstable/extensions/refs/mcp-server.js +12 -1
  49. package/dist/src/unstable/extensions/refs/ref-base.d.ts +17 -2
  50. package/dist/src/unstable/extensions/refs/ref-base.js +16 -1
  51. package/dist/src/unstable/extensions/refs/skill.d.ts +14 -2
  52. package/dist/src/unstable/extensions/refs/skill.js +0 -9
  53. package/dist/src/unstable/hooks/manifest-schema.d.ts +221 -105
  54. package/dist/src/unstable/hooks/manifest-schema.js +271 -87
  55. package/dist/src/unstable/hooks/resolution.d.ts +24 -0
  56. package/dist/src/unstable/hooks/resolution.js +99 -0
  57. package/dist/src/unstable/sources/http-artifact.d.ts +24 -0
  58. package/dist/src/unstable/sources/http-artifact.js +46 -0
  59. package/dist/src/unstable/sources/printer.js +14 -1
  60. package/dist/src/unstable/sources/source-host-provider.d.ts +3 -0
  61. package/dist/src/unstable/sources/types.d.ts +16 -6
  62. package/dist/src/unstable/sources/types.js +2 -0
  63. package/dist/src/unstable/subagents/manifest-schema.d.ts +48 -18
  64. package/dist/src/unstable/subagents/manifest-schema.js +85 -18
  65. package/package.json +10 -2
@@ -243,75 +243,64 @@ export const canonicalCoverage = (agent) => {
243
243
  decision: hook.native.events.flatMap((event) => event.decision),
244
244
  };
245
245
  };
246
- const hookEventForBinding = (agent, binding) => {
247
- const native = agent.capabilities.hook.native;
248
- if (!("events" in native))
249
- return undefined;
250
- return native.events.find((event) => event.canonical === binding.on);
251
- };
252
- const targetMatcherRaw = (agent, binding) => binding.targets?.[agent.id]?.matcherRaw ?? binding.matcherRaw;
253
- const bindingRequiresMatcher = (agent, binding) => targetMatcherRaw(agent, binding) !== undefined || (binding.match?.tools?.length ?? 0) > 0;
254
- const decisionRequirementSatisfied = (available, required) => available.some((decision) => decision.kind === required.kind);
255
- /** @experimental This API is unstable and may change without notice. */
246
+ /** Check exact native semantics; a canonical event never chooses an implementation. */
256
247
  export const installable = (agent, binding) => {
257
248
  const hook = agent.capabilities.hook;
258
- if (hook.native.availability.via === "unknown") {
249
+ if (hook.native.availability.via === "unknown")
259
250
  return {
260
251
  installable: false,
261
252
  reason: `${agent.name}'s hook availability has not been established.`,
262
253
  };
263
- }
264
- if (hook.native.availability.via === "none") {
265
- return { installable: false, reason: `${agent.name} has no hook system.` };
266
- }
267
- if (hook.native.vendorStatus.state === "removed") {
268
- return { installable: false, reason: `${agent.name}'s native hook surface has been removed.` };
269
- }
270
- if (!("events" in hook.native)) {
271
- return { installable: false, reason: `${agent.name} has no modeled hook events.` };
272
- }
273
- if (hook.axm.writer === null) {
274
- return { installable: false, reason: `AXM has not built a hook writer for ${agent.name}.` };
275
- }
276
- if (!hook.native.mechanism.includes("command-stdin")) {
254
+ if (hook.native.availability.via === "none" || hook.native.vendorStatus.state === "removed")
255
+ return { installable: false, reason: `${agent.name} has no available native hook system.` };
256
+ if (!("events" in hook.native) || hook.axm.writer === null || hook.native.entryDialect === null)
277
257
  return {
278
258
  installable: false,
279
- reason: `AXM's hook writer requires command-stdin invocation for ${agent.name}.`,
259
+ reason: `AXM has no verified native hook writer for ${agent.name}.`,
280
260
  };
281
- }
282
- const event = hookEventForBinding(agent, binding);
283
- if (event === undefined) {
261
+ if (binding.handler.type !== "command" || !hook.native.mechanism.includes("command-stdin"))
284
262
  return {
285
263
  installable: false,
286
- reason: `${agent.name} does not support ${binding.on}.`,
264
+ reason: `${agent.name} cannot project the ${binding.handler.type} handler.`,
287
265
  };
288
- }
289
- if (bindingRequiresMatcher(agent, binding) && event.matcher.kind === "none-imperative") {
266
+ if (binding.handler.name !== undefined &&
267
+ hook.native.entryDialect.commandNameSerialization !== "manifest")
290
268
  return {
291
269
  installable: false,
292
- reason: `${agent.name} cannot express a matcher for ${binding.on}.`,
270
+ reason: `${agent.name}'s writer cannot preserve an explicit command name.`,
293
271
  };
294
- }
295
- const tools = binding.match?.tools ?? [];
296
- if (tools.length > 0) {
297
- const nativeTools = new Set(hook.native.tools.map((tool) => tool.canonical));
298
- const missingTools = missingValues(tools, nativeTools);
299
- if (missingTools.length > 0) {
300
- return {
301
- installable: false,
302
- reason: `${agent.name} cannot express matcher tool(s): ${missingTools.join(", ")}.`,
303
- };
304
- }
305
- }
306
- const requiredDecision = binding.requires?.decision;
307
- if (requiredDecision !== undefined &&
308
- !decisionRequirementSatisfied(event.decision, requiredDecision)) {
272
+ if (binding.handler.timeoutMs !== undefined &&
273
+ hook.native.entryDialect.timeoutSerialization === "seconds" &&
274
+ binding.handler.timeoutMs % 1000 !== 0)
309
275
  return {
310
276
  installable: false,
311
- reason: `${agent.name} cannot satisfy ${requiredDecision.kind} decisions for ${binding.on}.`,
277
+ reason: `${agent.name}'s writer accepts whole-second timeouts; the declared milliseconds cannot be represented exactly.`,
312
278
  };
313
- }
314
- return { installable: true, reason: `${agent.name} can install ${binding.on}.` };
279
+ const matches = hook.native.events.filter((event) => event.nativeName === binding.event);
280
+ const event = matches[0];
281
+ if (matches.length !== 1 || event === undefined)
282
+ return {
283
+ installable: false,
284
+ reason: `${agent.name} has no unambiguous native ${binding.event} event.`,
285
+ };
286
+ if (binding.matcher !== undefined && event.matcher.kind === "none-imperative")
287
+ return {
288
+ installable: false,
289
+ reason: `${agent.name} cannot express a matcher for ${binding.event}.`,
290
+ };
291
+ const outcomes = new Set(event.decision.flatMap((decision) => (decision.kind === "block" ? decision.outcomes : [])));
292
+ const operations = new Set(event.decision.flatMap((decision) => (decision.kind === "modify" ? decision.operations : [])));
293
+ const missingOutcomes = missingValues(binding.requires?.outcomes ?? [], outcomes);
294
+ const missingOperations = missingValues(binding.requires?.operations ?? [], operations);
295
+ if (missingOutcomes.length > 0 || missingOperations.length > 0)
296
+ return {
297
+ installable: false,
298
+ reason: `${agent.name} ${binding.event} cannot preserve required semantics: ${[...missingOutcomes, ...missingOperations].join(", ")}.`,
299
+ };
300
+ return {
301
+ installable: true,
302
+ reason: `${agent.name} can project native ${binding.event}; runtime execution remains unverified.`,
303
+ };
315
304
  };
316
305
  /** @experimental This API is unstable and may change without notice. */
317
306
  export const deriveHookPortability = (agent, requirement) => {
@@ -1,7 +1,7 @@
1
1
  /** Published coding-agent identities, independent of capability data and adapters. */
2
2
  import * as Schema from "effect/Schema";
3
3
  /** @experimental This API is unstable and may change without notice. */
4
- export declare const CONFIGURABLE_AGENT_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow"];
4
+ export declare const CONFIGURABLE_AGENT_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "vscode", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow"];
5
5
  /** @experimental This API is unstable and may change without notice. */
6
6
  export type ConfigurableAgentId = (typeof CONFIGURABLE_AGENT_IDS)[number];
7
7
  /** @experimental This API is unstable and may change without notice. */
@@ -11,9 +11,9 @@ export declare const HOSTED_AGENT_IDS: readonly ["chatgpt", "claude-ai", "cowork
11
11
  /** @experimental This API is unstable and may change without notice. */
12
12
  export type HostedAgentId = (typeof HOSTED_AGENT_IDS)[number];
13
13
  /** @experimental This API is unstable and may change without notice. */
14
- export declare const AGENT_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow", "chatgpt", "claude-ai", "cowork", "gemini-app"];
14
+ export declare const AGENT_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "vscode", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow", "chatgpt", "claude-ai", "cowork", "gemini-app"];
15
15
  /** @experimental This API is unstable and may change without notice. */
16
16
  export type AgentId = (typeof AGENT_IDS)[number];
17
17
  /** @experimental This API is unstable and may change without notice. */
18
- export declare const AgentIdSchema: Schema.Literals<readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow", "chatgpt", "claude-ai", "cowork", "gemini-app"]>;
18
+ export declare const AgentIdSchema: Schema.Literals<readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "vscode", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow", "chatgpt", "claude-ai", "cowork", "gemini-app"]>;
19
19
  //# sourceMappingURL=identity.d.ts.map
@@ -53,6 +53,7 @@ export const CONFIGURABLE_AGENT_IDS = [
53
53
  "openhands",
54
54
  "ona",
55
55
  "pi",
56
+ "vscode",
56
57
  "pochi",
57
58
  "qoder",
58
59
  "qoder-cn",
@@ -64,6 +64,7 @@ export declare const NativeReadLocationSchema: Schema.Struct<{
64
64
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
65
65
  path: Schema.NonEmptyString;
66
66
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
67
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
67
68
  shape: Schema.Literals<readonly ["directory", "file"]>;
68
69
  role: Schema.Literals<readonly ["primary", "additional"]>;
69
70
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -480,6 +481,7 @@ export declare const SkillsExtensionCapabilitySchema: Schema.Struct<{
480
481
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
481
482
  path: Schema.NonEmptyString;
482
483
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
484
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
483
485
  shape: Schema.Literals<readonly ["directory", "file"]>;
484
486
  role: Schema.Literals<readonly ["primary", "additional"]>;
485
487
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -684,6 +686,7 @@ export declare const SubagentsExtensionCapabilitySchema: Schema.Struct<{
684
686
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
685
687
  path: Schema.NonEmptyString;
686
688
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
689
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
687
690
  shape: Schema.Literals<readonly ["directory", "file"]>;
688
691
  role: Schema.Literals<readonly ["primary", "additional"]>;
689
692
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -899,6 +902,7 @@ export declare const RulesExtensionCapabilitySchema: Schema.Struct<{
899
902
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
900
903
  path: Schema.NonEmptyString;
901
904
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
905
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
902
906
  shape: Schema.Literals<readonly ["directory", "file"]>;
903
907
  role: Schema.Literals<readonly ["primary", "additional"]>;
904
908
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -1048,6 +1052,7 @@ export declare const NativeConfigReadLocationSchema: Schema.Struct<{
1048
1052
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1049
1053
  readonly path: Schema.NonEmptyString;
1050
1054
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1055
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
1051
1056
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1052
1057
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1053
1058
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -1164,6 +1169,7 @@ export declare const McpStdioDialectSchema: Schema.Struct<{
1164
1169
  readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1165
1170
  /** Native allowlist for forwarding same-name environment variables. */
1166
1171
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1172
+ readonly cwdKey: Schema.optionalKey<Schema.NonEmptyString>;
1167
1173
  }>;
1168
1174
  /** @experimental This API is unstable and may change without notice. */
1169
1175
  export type McpStdioDialect = Schema.Schema.Type<typeof McpStdioDialectSchema>;
@@ -1238,6 +1244,7 @@ export declare const McpEntryDialectSchema: Schema.Struct<{
1238
1244
  readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1239
1245
  /** Native allowlist for forwarding same-name environment variables. */
1240
1246
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1247
+ readonly cwdKey: Schema.optionalKey<Schema.NonEmptyString>;
1241
1248
  }>>;
1242
1249
  readonly remote: Schema.NullOr<Schema.Struct<{
1243
1250
  readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
@@ -1276,8 +1283,11 @@ export declare const McpConfigSchema: Schema.Struct<{
1276
1283
  export type McpConfig = Schema.Schema.Type<typeof McpConfigSchema>;
1277
1284
  /** @experimental This API is unstable and may change without notice. */
1278
1285
  export declare const McpEnvExpansionSchema: Schema.Struct<{
1279
- readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag"]>;
1286
+ readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag", "env-colon"]>;
1280
1287
  readonly defaults: Schema.Boolean;
1288
+ readonly fields: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["command", "args", "env", "url", "headers", "cwd"]>>>;
1289
+ readonly executableValues: Schema.optionalKey<Schema.Boolean>;
1290
+ readonly homeExpansion: Schema.optionalKey<Schema.Boolean>;
1281
1291
  }>;
1282
1292
  /** @experimental This API is unstable and may change without notice. */
1283
1293
  export type McpEnvExpansion = Schema.Schema.Type<typeof McpEnvExpansionSchema>;
@@ -1319,6 +1329,7 @@ export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema
1319
1329
  readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
1320
1330
  /** Native allowlist for forwarding same-name environment variables. */
1321
1331
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
1332
+ readonly cwdKey: Schema.optionalKey<Schema.NonEmptyString>;
1322
1333
  }>>;
1323
1334
  readonly remote: Schema.NullOr<Schema.Struct<{
1324
1335
  readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
@@ -1358,6 +1369,7 @@ export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema
1358
1369
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1359
1370
  readonly path: Schema.NonEmptyString;
1360
1371
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1372
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
1361
1373
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1362
1374
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1363
1375
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -1374,8 +1386,11 @@ export declare const McpExtensionCapabilitySchema: Schema.Union<readonly [Schema
1374
1386
  }>]>;
1375
1387
  }>>;
1376
1388
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
1377
- readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag"]>;
1389
+ readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag", "env-colon"]>;
1378
1390
  readonly defaults: Schema.Boolean;
1391
+ readonly fields: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["command", "args", "env", "url", "headers", "cwd"]>>>;
1392
+ readonly executableValues: Schema.optionalKey<Schema.Boolean>;
1393
+ readonly homeExpansion: Schema.optionalKey<Schema.Boolean>;
1379
1394
  }>>;
1380
1395
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
1381
1396
  readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
@@ -1715,7 +1730,7 @@ export declare const HookEventMappingSchema: Schema.Struct<{
1715
1730
  /** @experimental This API is unstable and may change without notice. */
1716
1731
  export type HookEventMapping = Schema.Schema.Type<typeof HookEventMappingSchema>;
1717
1732
  /** @experimental This API is unstable and may change without notice. */
1718
- export declare const HooksSerializerSchema: Schema.Literals<readonly ["command-stdin"]>;
1733
+ export declare const HooksSerializerSchema: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
1719
1734
  /** @experimental This API is unstable and may change without notice. */
1720
1735
  export type HooksSerializer = Schema.Schema.Type<typeof HooksSerializerSchema>;
1721
1736
  /** @experimental This API is unstable and may change without notice. */
@@ -1732,7 +1747,7 @@ export declare const HookCommandNameSerializationSchema: Schema.Literals<readonl
1732
1747
  export type HookCommandNameSerialization = Schema.Schema.Type<typeof HookCommandNameSerializationSchema>;
1733
1748
  /** @experimental This API is unstable and may change without notice. */
1734
1749
  export declare const HookEntryDialectSchema: Schema.Struct<{
1735
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1750
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
1736
1751
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1737
1752
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1738
1753
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -1752,7 +1767,7 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1752
1767
  readonly native: Schema.Union<readonly [Schema.Struct<{
1753
1768
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "http", "prompt", "agent", "mcp", "raw"]>>;
1754
1769
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
1755
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1770
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
1756
1771
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1757
1772
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1758
1773
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -1769,6 +1784,7 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1769
1784
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1770
1785
  readonly path: Schema.NonEmptyString;
1771
1786
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1787
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
1772
1788
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1773
1789
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1774
1790
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -1874,7 +1890,7 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1874
1890
  readonly scopes: Schema.$Array<Schema.Literals<readonly ["user", "project"]>>;
1875
1891
  readonly modeling: Schema.Literal<"native-unmodeled">;
1876
1892
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
1877
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
1893
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
1878
1894
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
1879
1895
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
1880
1896
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -1891,6 +1907,7 @@ export declare const HooksExtensionCapabilitySchema: Schema.Struct<{
1891
1907
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
1892
1908
  readonly path: Schema.NonEmptyString;
1893
1909
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
1910
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
1894
1911
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
1895
1912
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
1896
1913
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -2075,6 +2092,7 @@ export declare const PermissionsExtensionCapabilitySchema: Schema.Struct<{
2075
2092
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2076
2093
  readonly path: Schema.NonEmptyString;
2077
2094
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2095
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
2078
2096
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2079
2097
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2080
2098
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -2241,6 +2259,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2241
2259
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2242
2260
  path: Schema.NonEmptyString;
2243
2261
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2262
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
2244
2263
  shape: Schema.Literals<readonly ["directory", "file"]>;
2245
2264
  role: Schema.Literals<readonly ["primary", "additional"]>;
2246
2265
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -2469,6 +2488,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2469
2488
  readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
2470
2489
  /** Native allowlist for forwarding same-name environment variables. */
2471
2490
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
2491
+ readonly cwdKey: Schema.optionalKey<Schema.NonEmptyString>;
2472
2492
  }>>;
2473
2493
  readonly remote: Schema.NullOr<Schema.Struct<{
2474
2494
  readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
@@ -2508,6 +2528,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2508
2528
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2509
2529
  readonly path: Schema.NonEmptyString;
2510
2530
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2531
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
2511
2532
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2512
2533
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2513
2534
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -2524,8 +2545,11 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2524
2545
  }>]>;
2525
2546
  }>>;
2526
2547
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
2527
- readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag"]>;
2548
+ readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag", "env-colon"]>;
2528
2549
  readonly defaults: Schema.Boolean;
2550
+ readonly fields: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["command", "args", "env", "url", "headers", "cwd"]>>>;
2551
+ readonly executableValues: Schema.optionalKey<Schema.Boolean>;
2552
+ readonly homeExpansion: Schema.optionalKey<Schema.Boolean>;
2529
2553
  }>>;
2530
2554
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
2531
2555
  readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
@@ -2750,6 +2774,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2750
2774
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2751
2775
  path: Schema.NonEmptyString;
2752
2776
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2777
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
2753
2778
  shape: Schema.Literals<readonly ["directory", "file"]>;
2754
2779
  role: Schema.Literals<readonly ["primary", "additional"]>;
2755
2780
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -2950,7 +2975,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2950
2975
  readonly native: Schema.Union<readonly [Schema.Struct<{
2951
2976
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "http", "prompt", "agent", "mcp", "raw"]>>;
2952
2977
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
2953
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
2978
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
2954
2979
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
2955
2980
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
2956
2981
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -2967,6 +2992,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
2967
2992
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
2968
2993
  readonly path: Schema.NonEmptyString;
2969
2994
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
2995
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
2970
2996
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
2971
2997
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
2972
2998
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -3072,7 +3098,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
3072
3098
  readonly scopes: Schema.$Array<Schema.Literals<readonly ["user", "project"]>>;
3073
3099
  readonly modeling: Schema.Literal<"native-unmodeled">;
3074
3100
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
3075
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
3101
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
3076
3102
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
3077
3103
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
3078
3104
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -3089,6 +3115,7 @@ export declare const AgentCapabilitiesSchema: Schema.Struct<{
3089
3115
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3090
3116
  readonly path: Schema.NonEmptyString;
3091
3117
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3118
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
3092
3119
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3093
3120
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3094
3121
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -3387,6 +3414,7 @@ export declare const AgentSchema: Schema.Struct<{
3387
3414
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3388
3415
  path: Schema.NonEmptyString;
3389
3416
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3417
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
3390
3418
  shape: Schema.Literals<readonly ["directory", "file"]>;
3391
3419
  role: Schema.Literals<readonly ["primary", "additional"]>;
3392
3420
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -3615,6 +3643,7 @@ export declare const AgentSchema: Schema.Struct<{
3615
3643
  readonly envKey: Schema.NullOr<Schema.NonEmptyString>;
3616
3644
  /** Native allowlist for forwarding same-name environment variables. */
3617
3645
  readonly envVarsKey: Schema.optional<Schema.NonEmptyString>;
3646
+ readonly cwdKey: Schema.optionalKey<Schema.NonEmptyString>;
3618
3647
  }>>;
3619
3648
  readonly remote: Schema.NullOr<Schema.Struct<{
3620
3649
  readonly implicitTransport: Schema.optionalKey<Schema.Literal<"http-or-sse">>;
@@ -3654,6 +3683,7 @@ export declare const AgentSchema: Schema.Struct<{
3654
3683
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3655
3684
  readonly path: Schema.NonEmptyString;
3656
3685
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3686
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
3657
3687
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
3658
3688
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
3659
3689
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -3670,8 +3700,11 @@ export declare const AgentSchema: Schema.Struct<{
3670
3700
  }>]>;
3671
3701
  }>>;
3672
3702
  readonly mcpEnvExpansion: Schema.optionalKey<Schema.Struct<{
3673
- readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag"]>;
3703
+ readonly variables: Schema.Literals<readonly ["none", "braced", "env-tag", "env-colon"]>;
3674
3704
  readonly defaults: Schema.Boolean;
3705
+ readonly fields: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["command", "args", "env", "url", "headers", "cwd"]>>>;
3706
+ readonly executableValues: Schema.optionalKey<Schema.Boolean>;
3707
+ readonly homeExpansion: Schema.optionalKey<Schema.Boolean>;
3675
3708
  }>>;
3676
3709
  readonly standardsCompliance: Schema.Literals<readonly ["full", "parity", "partial", "none"]>;
3677
3710
  readonly convention: Schema.Literals<readonly ["universal", "vendor", "hosted"]>;
@@ -3896,6 +3929,7 @@ export declare const AgentSchema: Schema.Struct<{
3896
3929
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
3897
3930
  path: Schema.NonEmptyString;
3898
3931
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
3932
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
3899
3933
  shape: Schema.Literals<readonly ["directory", "file"]>;
3900
3934
  role: Schema.Literals<readonly ["primary", "additional"]>;
3901
3935
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -4096,7 +4130,7 @@ export declare const AgentSchema: Schema.Struct<{
4096
4130
  readonly native: Schema.Union<readonly [Schema.Struct<{
4097
4131
  readonly mechanism: Schema.NonEmptyArray<Schema.Literals<readonly ["command-stdin", "http", "prompt", "agent", "mcp", "raw"]>>;
4098
4132
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
4099
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
4133
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
4100
4134
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
4101
4135
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
4102
4136
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -4113,6 +4147,7 @@ export declare const AgentSchema: Schema.Struct<{
4113
4147
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
4114
4148
  readonly path: Schema.NonEmptyString;
4115
4149
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
4150
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
4116
4151
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
4117
4152
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
4118
4153
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -4218,7 +4253,7 @@ export declare const AgentSchema: Schema.Struct<{
4218
4253
  readonly scopes: Schema.$Array<Schema.Literals<readonly ["user", "project"]>>;
4219
4254
  readonly modeling: Schema.Literal<"native-unmodeled">;
4220
4255
  readonly entryDialect: Schema.NullOr<Schema.Struct<{
4221
- readonly serializer: Schema.Literals<readonly ["command-stdin"]>;
4256
+ readonly serializer: Schema.Literals<readonly ["command-stdin", "flat-command-stdin"]>;
4222
4257
  readonly matcherKind: Schema.Literals<readonly ["regex", "literal-list", "glob", "tool-category", "exact-substring", "none-imperative"]>;
4223
4258
  readonly matcherSerialization: Schema.Literals<readonly ["bare", "slash-delimited", "glob"]>;
4224
4259
  readonly timeoutSerialization: Schema.Literals<readonly ["seconds", "milliseconds"]>;
@@ -4235,6 +4270,7 @@ export declare const AgentSchema: Schema.Struct<{
4235
4270
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
4236
4271
  readonly path: Schema.NonEmptyString;
4237
4272
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
4273
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
4238
4274
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
4239
4275
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
4240
4276
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -4372,6 +4408,7 @@ export declare const AgentSchema: Schema.Struct<{
4372
4408
  root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
4373
4409
  path: Schema.NonEmptyString;
4374
4410
  configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
4411
+ selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
4375
4412
  shape: Schema.Literals<readonly ["directory", "file"]>;
4376
4413
  role: Schema.Literals<readonly ["primary", "additional"]>;
4377
4414
  status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
@@ -4517,6 +4554,7 @@ export declare const AgentSchema: Schema.Struct<{
4517
4554
  readonly root: Schema.Literals<readonly ["project", "home", "xdg-config"]>;
4518
4555
  readonly path: Schema.NonEmptyString;
4519
4556
  readonly configRootRelativePath: Schema.optionalKey<Schema.NonEmptyString>;
4557
+ readonly selectedFile: Schema.optionalKey<Schema.Literal<"vscode-user-mcp">>;
4520
4558
  readonly role: Schema.Literals<readonly ["primary", "additional"]>;
4521
4559
  readonly status: Schema.Literals<readonly ["canonical", "compat", "deprecated"]>;
4522
4560
  readonly applicability: Schema.Union<readonly [Schema.Struct<{
@@ -87,6 +87,7 @@ const NativeReadLocationFields = {
87
87
  root: Schema.Literals(["project", "home", "xdg-config"]),
88
88
  path: Schema.NonEmptyString,
89
89
  configRootRelativePath: Schema.optionalKey(Schema.NonEmptyString),
90
+ selectedFile: Schema.optionalKey(Schema.Literal("vscode-user-mcp")),
90
91
  shape: Schema.Literals(["directory", "file"]),
91
92
  role: Schema.Literals(["primary", "additional"]),
92
93
  status: Schema.Literals(["canonical", "compat", "deprecated"]),
@@ -700,6 +701,7 @@ export const McpStdioDialectSchema = Schema.Struct({
700
701
  envKey: Schema.NullOr(Schema.NonEmptyString),
701
702
  /** Native allowlist for forwarding same-name environment variables. */
702
703
  envVarsKey: Schema.optional(Schema.NonEmptyString),
704
+ cwdKey: Schema.optionalKey(Schema.NonEmptyString),
703
705
  }).annotate({
704
706
  identifier: "McpStdioDialect",
705
707
  title: "MCP Stdio Dialect",
@@ -749,8 +751,11 @@ export const McpConfigSchema = Schema.Struct({
749
751
  });
750
752
  /** @experimental This API is unstable and may change without notice. */
751
753
  export const McpEnvExpansionSchema = Schema.Struct({
752
- variables: Schema.Literals(["none", "braced", "env-tag"]),
754
+ variables: Schema.Literals(["none", "braced", "env-tag", "env-colon"]),
753
755
  defaults: Schema.Boolean,
756
+ fields: Schema.optionalKey(Schema.Array(Schema.Literals(["command", "args", "env", "url", "headers", "cwd"]))),
757
+ executableValues: Schema.optionalKey(Schema.Boolean),
758
+ homeExpansion: Schema.optionalKey(Schema.Boolean),
754
759
  }).annotate({
755
760
  identifier: "McpEnvExpansion",
756
761
  title: "MCP Env Expansion",
@@ -1023,7 +1028,10 @@ export const HookEventMappingSchema = Schema.Struct({
1023
1028
  description: "Native hook event name with its canonical AXM event pointer and provenance.",
1024
1029
  });
1025
1030
  /** @experimental This API is unstable and may change without notice. */
1026
- export const HooksSerializerSchema = Schema.Literals(["command-stdin"]).annotate({
1031
+ export const HooksSerializerSchema = Schema.Literals([
1032
+ "command-stdin",
1033
+ "flat-command-stdin",
1034
+ ]).annotate({
1027
1035
  identifier: "HooksSerializer",
1028
1036
  title: "Hooks Serializer",
1029
1037
  description: "Native settings serializer AXM uses for managed hook declarations.",
@@ -59,7 +59,7 @@ export interface AgentDetectionDescriptor {
59
59
  /** @experimental This API is unstable and may change without notice. */
60
60
  export { CONFIGURABLE_AGENT_IDS, type ConfigurableAgentId };
61
61
  /** Real agents that can participate in native materialization. @experimental */
62
- export declare const MATERIALIZATION_TARGET_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow"];
62
+ export declare const MATERIALIZATION_TARGET_IDS: readonly ["adal", "fx", "muse-code", "mimo-code", "coder-agents", "aider-desk", "amp", "antigravity", "antigravity-cli", "augment", "claude-code", "cline", "codearts-agent", "codebuddy", "codemaker", "codestudio", "codex", "command-code", "continue", "cortex", "crush", "cursor", "deepagents", "devin", "dexto", "droid", "firebender", "forgecode", "gemini-cli", "github-copilot-cli", "goose", "grok-cli", "hermes", "ibm-bob", "iflow-cli", "junie", "lingma", "kilo", "kimi-cli", "kiro-cli", "kode", "mcpjam", "minimax-code", "mistral-vibe", "mux", "neovate", "openclaw", "opencode", "openhands", "ona", "pi", "vscode", "pochi", "qoder", "qoder-cn", "qwen-code", "replit", "roo", "rovodev", "tabnine-cli", "trae-cn", "trae", "warp", "windsurf", "zencoder", "zed", "zenflow"];
63
63
  /** @experimental This API is unstable and may change without notice. */
64
64
  export type MaterializationTargetId = (typeof MATERIALIZATION_TARGET_IDS)[number];
65
65
  /**