@agentxm/extension-model 0.36.0 → 0.37.3

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 +19377 -5019
  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 +57 -5
  7. package/dist/src/unstable/agent-capabilities/data/agents/amp.js +53 -5
  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 +171 -70
  31. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +158 -66
  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 +338 -20
  95. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +289 -22
  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 +201 -77
  105. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +186 -75
  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 +775 -767
  134. package/dist/src/unstable/agent-capabilities/schema.js +192 -103
  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
@@ -24,14 +24,74 @@ export const opencodeAgent = {
24
24
  vendorStatus: { state: "active" },
25
25
  notes: null,
26
26
  docs: [],
27
- sources: ["https://opencode.ai/docs/skills/"],
27
+ sources: [
28
+ "https://opencode.ai/docs/skills/",
29
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
30
+ ],
28
31
  scopes: ["user", "project"],
29
32
  standardsCompliance: "full",
30
33
  convention: "vendor",
31
- directory: ".opencode/skills",
32
- additionalReadPaths: [
33
- { path: ".claude/skills", status: "compat" },
34
- { path: ".agents/skills", status: "compat" },
34
+ locations: [
35
+ {
36
+ scope: "project",
37
+ root: "project",
38
+ path: ".opencode/skills",
39
+ shape: "directory",
40
+ role: "primary",
41
+ status: "canonical",
42
+ applicability: { kind: "always" },
43
+ provenance: { kind: "capability-sources" },
44
+ },
45
+ {
46
+ scope: "project",
47
+ root: "project",
48
+ path: ".claude/skills",
49
+ shape: "directory",
50
+ role: "additional",
51
+ status: "compat",
52
+ applicability: { kind: "always" },
53
+ provenance: { kind: "capability-sources" },
54
+ },
55
+ {
56
+ scope: "project",
57
+ root: "project",
58
+ path: ".agents/skills",
59
+ shape: "directory",
60
+ role: "additional",
61
+ status: "compat",
62
+ applicability: { kind: "always" },
63
+ provenance: { kind: "capability-sources" },
64
+ },
65
+ {
66
+ scope: "user",
67
+ root: "xdg-config",
68
+ path: "opencode/skills",
69
+ shape: "directory",
70
+ role: "primary",
71
+ status: "canonical",
72
+ applicability: { kind: "always" },
73
+ provenance: { kind: "capability-sources" },
74
+ },
75
+ {
76
+ scope: "user",
77
+ root: "home",
78
+ path: ".claude/skills",
79
+ shape: "directory",
80
+ role: "additional",
81
+ status: "canonical",
82
+ applicability: { kind: "always" },
83
+ provenance: { kind: "capability-sources" },
84
+ },
85
+ {
86
+ scope: "user",
87
+ root: "home",
88
+ path: ".agents/skills",
89
+ shape: "directory",
90
+ role: "additional",
91
+ status: "canonical",
92
+ applicability: { kind: "always" },
93
+ provenance: { kind: "capability-sources" },
94
+ },
35
95
  ],
36
96
  },
37
97
  axm: {
@@ -44,23 +104,136 @@ export const opencodeAgent = {
44
104
  native: {
45
105
  availability: { via: "native" },
46
106
  vendorStatus: { state: "active" },
47
- notes: "OpenCode V2 stores server definitions beneath mcp.servers; the native configuration is valid but requires a nested-map writer.",
107
+ notes: "OpenCode V2 stores server definitions beneath mcp.servers and expands {env:NAME} references without shell defaults.",
48
108
  docs: [],
49
- sources: ["https://opencode.ai/v2/docs/mcp-servers", "https://opencode.ai/v2/docs/config"],
109
+ sources: [
110
+ "https://opencode.ai/v2/docs/mcp-servers",
111
+ "https://opencode.ai/v2/docs/config",
112
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/config.ts",
113
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/config/mcp.ts",
114
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
115
+ ],
50
116
  scopes: ["user", "project"],
51
117
  standardsCompliance: "full",
52
118
  convention: "vendor",
53
119
  transports: ["stdio", "http"],
54
120
  mcpEnvExpansion: {
55
- variables: "none",
121
+ variables: "env-tag",
56
122
  defaults: false,
57
123
  },
124
+ locations: [
125
+ {
126
+ id: "project",
127
+ scope: "project",
128
+ root: "project",
129
+ path: "opencode.json",
130
+ shape: "file",
131
+ role: "primary",
132
+ status: "canonical",
133
+ applicability: { kind: "always" },
134
+ provenance: { kind: "capability-sources" },
135
+ format: "json",
136
+ keyPath: ["mcp", "servers"],
137
+ attribution: "agent",
138
+ },
139
+ {
140
+ id: "project-jsonc",
141
+ scope: "project",
142
+ root: "project",
143
+ path: "opencode.jsonc",
144
+ shape: "file",
145
+ role: "additional",
146
+ status: "canonical",
147
+ applicability: { kind: "always" },
148
+ provenance: { kind: "capability-sources" },
149
+ format: "jsonc",
150
+ keyPath: ["mcp", "servers"],
151
+ attribution: "agent",
152
+ },
153
+ {
154
+ id: "project-directory",
155
+ scope: "project",
156
+ root: "project",
157
+ path: ".opencode/opencode.json",
158
+ shape: "file",
159
+ role: "additional",
160
+ status: "canonical",
161
+ applicability: { kind: "always" },
162
+ provenance: { kind: "capability-sources" },
163
+ format: "json",
164
+ keyPath: ["mcp", "servers"],
165
+ attribution: "agent",
166
+ },
167
+ {
168
+ id: "project-directory-jsonc",
169
+ scope: "project",
170
+ root: "project",
171
+ path: ".opencode/opencode.jsonc",
172
+ shape: "file",
173
+ role: "additional",
174
+ status: "canonical",
175
+ applicability: { kind: "always" },
176
+ provenance: { kind: "capability-sources" },
177
+ format: "jsonc",
178
+ keyPath: ["mcp", "servers"],
179
+ attribution: "agent",
180
+ },
181
+ {
182
+ id: "user",
183
+ scope: "user",
184
+ root: "xdg-config",
185
+ path: "opencode/opencode.json",
186
+ shape: "file",
187
+ role: "primary",
188
+ status: "canonical",
189
+ applicability: { kind: "always" },
190
+ provenance: { kind: "capability-sources" },
191
+ format: "json",
192
+ keyPath: ["mcp", "servers"],
193
+ attribution: "agent",
194
+ },
195
+ {
196
+ id: "user-jsonc",
197
+ scope: "user",
198
+ root: "xdg-config",
199
+ path: "opencode/opencode.jsonc",
200
+ shape: "file",
201
+ role: "additional",
202
+ status: "canonical",
203
+ applicability: { kind: "always" },
204
+ provenance: { kind: "capability-sources" },
205
+ format: "jsonc",
206
+ keyPath: ["mcp", "servers"],
207
+ attribution: "agent",
208
+ },
209
+ ],
210
+ entryDialect: {
211
+ activationField: {
212
+ required: { name: "disabled", enabled: false, disabled: true },
213
+ accepted: [null, { name: "disabled", enabled: false, disabled: true }],
214
+ },
215
+ stdio: {
216
+ command: "array",
217
+ envKey: "environment",
218
+ typeField: {
219
+ required: { name: "type", value: "local" },
220
+ accepted: [{ name: "type", value: "local" }],
221
+ },
222
+ },
223
+ remote: {
224
+ urlKey: { "streamable-http": "url" },
225
+ headersKey: "headers",
226
+ typeField: {
227
+ required: { name: "type", value: "remote" },
228
+ accepted: [{ name: "type", value: "remote" }],
229
+ },
230
+ },
231
+ },
58
232
  },
59
233
  axm: {
60
- status: "unsupported",
61
- lastVerified: null,
62
- writer: null,
63
- reason: "OpenCode V2 nests MCP server definitions under mcp.servers. AXM's generic MCP writer currently supports only a single keyed server-map level and would write the obsolete shape.",
234
+ status: "supported",
235
+ lastVerified: "2026-09-29",
236
+ writer: { config: { locationIds: ["project", "user"] } },
64
237
  },
65
238
  },
66
239
  subagent: {
@@ -69,10 +242,33 @@ export const opencodeAgent = {
69
242
  vendorStatus: { state: "active" },
70
243
  notes: "No industry spec for subagents yet; AXM bridges to the agent's native layout.",
71
244
  docs: [],
72
- sources: ["https://opencode.ai/docs/agents/"],
245
+ sources: [
246
+ "https://opencode.ai/docs/agents/",
247
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
248
+ ],
73
249
  scopes: ["user", "project"],
74
- directory: ".opencode/agents",
75
- layout: "directory",
250
+ locations: [
251
+ {
252
+ scope: "project",
253
+ root: "project",
254
+ path: ".opencode/agents",
255
+ shape: "directory",
256
+ role: "primary",
257
+ status: "canonical",
258
+ applicability: { kind: "always" },
259
+ provenance: { kind: "capability-sources" },
260
+ },
261
+ {
262
+ scope: "user",
263
+ root: "xdg-config",
264
+ path: "opencode/agents",
265
+ shape: "directory",
266
+ role: "primary",
267
+ status: "canonical",
268
+ applicability: { kind: "always" },
269
+ provenance: { kind: "capability-sources" },
270
+ },
271
+ ],
76
272
  },
77
273
  axm: {
78
274
  status: "supported",
@@ -89,6 +285,8 @@ export const opencodeAgent = {
89
285
  sources: ["https://opencode.ai/docs/plugins/"],
90
286
  scopes: ["user", "project"],
91
287
  modeling: "native-unmodeled",
288
+ locations: [],
289
+ entryDialect: null,
92
290
  },
93
291
  axm: {
94
292
  status: "unsupported",
@@ -104,12 +302,55 @@ export const opencodeAgent = {
104
302
  vendorStatus: { state: "active" },
105
303
  notes: "OpenCode reads AGENTS.md project rules, a global ~/.config/opencode/AGENTS.md, and Claude-compatible CLAUDE.md fallbacks. AXM can target the universal AGENTS.md project file.",
106
304
  docs: [],
107
- sources: ["https://opencode.ai/docs/rules/"],
305
+ sources: [
306
+ "https://opencode.ai/docs/rules/",
307
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
308
+ ],
108
309
  scopes: ["user", "project"],
109
310
  standardsCompliance: "full",
110
311
  convention: "universal",
111
312
  kind: "agents-md",
112
- files: ["AGENTS.md"],
313
+ locations: [
314
+ {
315
+ scope: "project",
316
+ root: "project",
317
+ path: "AGENTS.md",
318
+ shape: "file",
319
+ role: "primary",
320
+ status: "canonical",
321
+ applicability: { kind: "always" },
322
+ provenance: { kind: "capability-sources" },
323
+ },
324
+ {
325
+ scope: "user",
326
+ root: "xdg-config",
327
+ path: "opencode/AGENTS.md",
328
+ shape: "file",
329
+ role: "primary",
330
+ status: "canonical",
331
+ applicability: { kind: "always" },
332
+ provenance: {
333
+ kind: "sources",
334
+ sources: [
335
+ "https://opencode.ai/docs/rules/",
336
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
337
+ ],
338
+ },
339
+ },
340
+ {
341
+ scope: "user",
342
+ root: "home",
343
+ path: ".claude/CLAUDE.md",
344
+ shape: "file",
345
+ role: "additional",
346
+ status: "canonical",
347
+ applicability: {
348
+ kind: "conditional",
349
+ condition: "Fallback when the OpenCode global AGENTS.md is absent and Claude Code prompt compatibility is enabled.",
350
+ },
351
+ provenance: { kind: "sources", sources: ["https://opencode.ai/docs/rules/"] },
352
+ },
353
+ ],
113
354
  nestedDiscovery: true,
114
355
  importSyntax: null,
115
356
  },
@@ -125,19 +366,45 @@ export const opencodeAgent = {
125
366
  vendorStatus: { state: "active" },
126
367
  notes: null,
127
368
  docs: [],
128
- sources: ["https://opencode.ai/docs/permissions/", "https://opencode.ai/docs/config/"],
369
+ sources: [
370
+ "https://opencode.ai/docs/permissions/",
371
+ "https://opencode.ai/docs/config/",
372
+ "https://github.com/anomalyco/opencode/blob/dev/packages/core/src/global.ts",
373
+ ],
129
374
  scopes: ["user", "project"],
130
375
  mechanism: ["config-file"],
131
- configFiles: [
376
+ locations: [
132
377
  {
378
+ id: "user",
133
379
  scope: "user",
134
- path: "~/.config/opencode/opencode.json",
380
+ root: "xdg-config",
381
+ path: "opencode/opencode.json",
382
+ shape: "file",
383
+ role: "primary",
384
+ status: "canonical",
385
+ applicability: {
386
+ kind: "always",
387
+ },
388
+ provenance: {
389
+ kind: "capability-sources",
390
+ },
135
391
  format: "json",
136
392
  gitignored: false,
137
393
  },
138
394
  {
395
+ id: "project",
139
396
  scope: "project",
397
+ root: "project",
140
398
  path: "opencode.json",
399
+ shape: "file",
400
+ role: "primary",
401
+ status: "canonical",
402
+ applicability: {
403
+ kind: "always",
404
+ },
405
+ provenance: {
406
+ kind: "capability-sources",
407
+ },
141
408
  format: "json",
142
409
  gitignored: false,
143
410
  },
@@ -156,7 +423,7 @@ export const opencodeAgent = {
156
423
  writer: {
157
424
  grants: {
158
425
  shell: {
159
- target: "opencode.json",
426
+ destination: { kind: "location", locationId: "project" },
160
427
  patch: {
161
428
  permission: {
162
429
  bash: {
@@ -168,7 +435,7 @@ export const opencodeAgent = {
168
435
  template: null,
169
436
  },
170
437
  filesystem: {
171
- target: "opencode.json",
438
+ destination: { kind: "location", locationId: "project" },
172
439
  patch: {
173
440
  permission: {
174
441
  external_directory: {
@@ -36,10 +36,32 @@ export declare const openhandsAgent: {
36
36
  readonly scopes: readonly ["user", "project"];
37
37
  readonly standardsCompliance: "full";
38
38
  readonly convention: "universal";
39
- readonly directory: ".agents/skills";
40
- readonly additionalReadPaths: readonly [{
39
+ readonly locations: readonly [{
40
+ readonly scope: "project";
41
+ readonly root: "project";
42
+ readonly path: ".agents/skills";
43
+ readonly shape: "directory";
44
+ readonly role: "primary";
45
+ readonly status: "canonical";
46
+ readonly applicability: {
47
+ readonly kind: "always";
48
+ };
49
+ readonly provenance: {
50
+ readonly kind: "capability-sources";
51
+ };
52
+ }, {
53
+ readonly scope: "project";
54
+ readonly root: "project";
41
55
  readonly path: ".openhands/skills";
56
+ readonly shape: "directory";
57
+ readonly role: "additional";
42
58
  readonly status: "deprecated";
59
+ readonly applicability: {
60
+ readonly kind: "always";
61
+ };
62
+ readonly provenance: {
63
+ readonly kind: "capability-sources";
64
+ };
43
65
  }];
44
66
  };
45
67
  readonly axm: {
@@ -63,6 +85,8 @@ export declare const openhandsAgent: {
63
85
  readonly standardsCompliance: "parity";
64
86
  readonly convention: "vendor";
65
87
  readonly transports: readonly ["stdio", "http", "sse"];
88
+ readonly locations: readonly [];
89
+ readonly entryDialect: null;
66
90
  };
67
91
  readonly axm: {
68
92
  readonly status: "unsupported";
@@ -102,9 +126,20 @@ export declare const openhandsAgent: {
102
126
  readonly sources: readonly ["https://docs.openhands.dev/openhands/usage/customization/hooks"];
103
127
  readonly scopes: readonly ["project"];
104
128
  readonly mechanism: readonly ["command-stdin"];
105
- readonly configFiles: readonly [{
129
+ readonly locations: readonly [{
130
+ readonly id: "project";
106
131
  readonly scope: "project";
132
+ readonly root: "project";
107
133
  readonly path: ".openhands/hooks.json";
134
+ readonly shape: "file";
135
+ readonly role: "primary";
136
+ readonly status: "canonical";
137
+ readonly applicability: {
138
+ readonly kind: "always";
139
+ };
140
+ readonly provenance: {
141
+ readonly kind: "capability-sources";
142
+ };
108
143
  readonly format: "json";
109
144
  readonly gitignored: false;
110
145
  }];
@@ -190,6 +225,7 @@ export declare const openhandsAgent: {
190
225
  readonly lastVerified: "2026-08-05";
191
226
  }];
192
227
  readonly tools: readonly [];
228
+ readonly entryDialect: null;
193
229
  };
194
230
  readonly axm: {
195
231
  readonly status: "unsupported";
@@ -213,7 +249,20 @@ export declare const openhandsAgent: {
213
249
  readonly standardsCompliance: "full";
214
250
  readonly convention: "universal";
215
251
  readonly kind: "agents-md";
216
- readonly files: readonly ["AGENTS.md"];
252
+ readonly locations: readonly [{
253
+ readonly scope: "project";
254
+ readonly root: "project";
255
+ readonly path: "AGENTS.md";
256
+ readonly shape: "file";
257
+ readonly role: "primary";
258
+ readonly status: "canonical";
259
+ readonly applicability: {
260
+ readonly kind: "always";
261
+ };
262
+ readonly provenance: {
263
+ readonly kind: "capability-sources";
264
+ };
265
+ }];
217
266
  readonly nestedDiscovery: false;
218
267
  readonly importSyntax: null;
219
268
  };
@@ -28,8 +28,28 @@ export const openhandsAgent = {
28
28
  scopes: ["user", "project"],
29
29
  standardsCompliance: "full",
30
30
  convention: "universal",
31
- directory: ".agents/skills",
32
- additionalReadPaths: [{ path: ".openhands/skills", status: "deprecated" }],
31
+ locations: [
32
+ {
33
+ scope: "project",
34
+ root: "project",
35
+ path: ".agents/skills",
36
+ shape: "directory",
37
+ role: "primary",
38
+ status: "canonical",
39
+ applicability: { kind: "always" },
40
+ provenance: { kind: "capability-sources" },
41
+ },
42
+ {
43
+ scope: "project",
44
+ root: "project",
45
+ path: ".openhands/skills",
46
+ shape: "directory",
47
+ role: "additional",
48
+ status: "deprecated",
49
+ applicability: { kind: "always" },
50
+ provenance: { kind: "capability-sources" },
51
+ },
52
+ ],
33
53
  },
34
54
  axm: {
35
55
  status: "supported",
@@ -51,6 +71,8 @@ export const openhandsAgent = {
51
71
  standardsCompliance: "parity",
52
72
  convention: "vendor",
53
73
  transports: ["stdio", "http", "sse"],
74
+ locations: [],
75
+ entryDialect: null,
54
76
  },
55
77
  axm: {
56
78
  status: "unsupported",
@@ -82,10 +104,21 @@ export const openhandsAgent = {
82
104
  sources: ["https://docs.openhands.dev/openhands/usage/customization/hooks"],
83
105
  scopes: ["project"],
84
106
  mechanism: ["command-stdin"],
85
- configFiles: [
107
+ locations: [
86
108
  {
109
+ id: "project",
87
110
  scope: "project",
111
+ root: "project",
88
112
  path: ".openhands/hooks.json",
113
+ shape: "file",
114
+ role: "primary",
115
+ status: "canonical",
116
+ applicability: {
117
+ kind: "always",
118
+ },
119
+ provenance: {
120
+ kind: "capability-sources",
121
+ },
89
122
  format: "json",
90
123
  gitignored: false,
91
124
  },
@@ -137,6 +170,7 @@ export const openhandsAgent = {
137
170
  },
138
171
  ],
139
172
  tools: [],
173
+ entryDialect: null,
140
174
  },
141
175
  axm: {
142
176
  status: "unsupported",
@@ -156,7 +190,18 @@ export const openhandsAgent = {
156
190
  standardsCompliance: "full",
157
191
  convention: "universal",
158
192
  kind: "agents-md",
159
- files: ["AGENTS.md"],
193
+ locations: [
194
+ {
195
+ scope: "project",
196
+ root: "project",
197
+ path: "AGENTS.md",
198
+ shape: "file",
199
+ role: "primary",
200
+ status: "canonical",
201
+ applicability: { kind: "always" },
202
+ provenance: { kind: "capability-sources" },
203
+ },
204
+ ],
160
205
  nestedDiscovery: false,
161
206
  importSyntax: null,
162
207
  },
@@ -36,7 +36,59 @@ export declare const piAgent: {
36
36
  readonly scopes: readonly ["user", "project"];
37
37
  readonly standardsCompliance: "full";
38
38
  readonly convention: "vendor";
39
- readonly directory: ".pi/skills";
39
+ readonly locations: readonly [{
40
+ readonly scope: "project";
41
+ readonly root: "project";
42
+ readonly path: ".agents/skills";
43
+ readonly shape: "directory";
44
+ readonly role: "additional";
45
+ readonly status: "canonical";
46
+ readonly applicability: {
47
+ readonly kind: "always";
48
+ };
49
+ readonly provenance: {
50
+ readonly kind: "capability-sources";
51
+ };
52
+ }, {
53
+ readonly scope: "project";
54
+ readonly root: "project";
55
+ readonly path: ".pi/skills";
56
+ readonly shape: "directory";
57
+ readonly role: "primary";
58
+ readonly status: "canonical";
59
+ readonly applicability: {
60
+ readonly kind: "always";
61
+ };
62
+ readonly provenance: {
63
+ readonly kind: "capability-sources";
64
+ };
65
+ }, {
66
+ readonly scope: "user";
67
+ readonly root: "home";
68
+ readonly path: ".pi/agent/skills";
69
+ readonly shape: "directory";
70
+ readonly role: "primary";
71
+ readonly status: "canonical";
72
+ readonly applicability: {
73
+ readonly kind: "always";
74
+ };
75
+ readonly provenance: {
76
+ readonly kind: "capability-sources";
77
+ };
78
+ }, {
79
+ readonly scope: "user";
80
+ readonly root: "home";
81
+ readonly path: ".agents/skills";
82
+ readonly shape: "directory";
83
+ readonly role: "additional";
84
+ readonly status: "canonical";
85
+ readonly applicability: {
86
+ readonly kind: "always";
87
+ };
88
+ readonly provenance: {
89
+ readonly kind: "capability-sources";
90
+ };
91
+ }];
40
92
  };
41
93
  readonly axm: {
42
94
  readonly status: "supported";
@@ -129,6 +181,8 @@ export declare const piAgent: {
129
181
  readonly sources: readonly ["https://github.com/earendil-works/pi/blob/main/packages/coding-agent/README.md"];
130
182
  readonly scopes: readonly ["user", "project"];
131
183
  readonly modeling: "native-unmodeled";
184
+ readonly locations: readonly [];
185
+ readonly entryDialect: null;
132
186
  };
133
187
  readonly axm: {
134
188
  readonly status: "unsupported";
@@ -153,7 +207,20 @@ export declare const piAgent: {
153
207
  readonly standardsCompliance: "full";
154
208
  readonly convention: "universal";
155
209
  readonly kind: "agents-md";
156
- readonly files: readonly ["AGENTS.md"];
210
+ readonly locations: readonly [{
211
+ readonly scope: "project";
212
+ readonly root: "project";
213
+ readonly path: "AGENTS.md";
214
+ readonly shape: "file";
215
+ readonly role: "primary";
216
+ readonly status: "canonical";
217
+ readonly applicability: {
218
+ readonly kind: "always";
219
+ };
220
+ readonly provenance: {
221
+ readonly kind: "capability-sources";
222
+ };
223
+ }];
157
224
  readonly nestedDiscovery: true;
158
225
  readonly importSyntax: null;
159
226
  };