@aiwg/cli 2026.10.14 → 2026.10.16

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 (210) hide show
  1. package/agentic/code/addons/aiwg-utils/rules/anti-laziness.core.md +13 -0
  2. package/agentic/code/addons/aiwg-utils/rules/anti-laziness.md +118 -0
  3. package/agentic/code/providers/pi/aiwg-bridge.ts +45 -7
  4. package/dist/src/artifacts/citation-parser.js +7 -6
  5. package/dist/src/artifacts/corpus-tools/citation-densify.js +4 -2
  6. package/dist/src/artifacts/corpus-tools/cli.js +37 -0
  7. package/dist/src/artifacts/corpus-tools/discovery-log.js +27 -25
  8. package/dist/src/artifacts/corpus-tools/expand-cli.js +90 -0
  9. package/dist/src/artifacts/corpus-tools/expand-dates.js +107 -0
  10. package/dist/src/artifacts/corpus-tools/expand-queue.js +41 -0
  11. package/dist/src/artifacts/corpus-tools/expand-review.js +104 -0
  12. package/dist/src/artifacts/corpus-tools/expand-state.js +56 -0
  13. package/dist/src/artifacts/corpus-tools/expand.js +124 -0
  14. package/dist/src/artifacts/corpus-tools/induction-audit.js +7 -6
  15. package/dist/src/artifacts/corpus-tools/integrity-scan.js +3 -3
  16. package/dist/src/artifacts/corpus-tools/radar-shared.js +7 -9
  17. package/dist/src/artifacts/corpus-tools/ref-files.js +11 -0
  18. package/dist/src/artifacts/corpus-tools/resolve-cli.js +99 -0
  19. package/dist/src/artifacts/corpus-tools/resolve-corpus.js +41 -0
  20. package/dist/src/artifacts/corpus-tools/resolve.js +119 -0
  21. package/dist/src/artifacts/corpus-tools/retrieval-lab.js +2 -1
  22. package/dist/src/artifacts/corpus-tools/sidecar-lint.js +4 -4
  23. package/dist/src/artifacts/corpus-tools/sidecar-repair.js +2 -1
  24. package/dist/src/artifacts/corpus-views/ref-parser.js +3 -17
  25. package/dist/src/artifacts/graph-query.js +5 -3
  26. package/dist/src/artifacts/hybrid-query.js +11 -2
  27. package/dist/src/artifacts/index-refresh.js +2 -0
  28. package/dist/src/cli/handlers/daemon.js +17 -1
  29. package/dist/src/cli/handlers/doctor-args.js +45 -0
  30. package/dist/src/cli/handlers/doctor-help.js +8 -3
  31. package/dist/src/cli/handlers/index.js +2 -2
  32. package/dist/src/cli/handlers/models-resource-sample.js +10 -0
  33. package/dist/src/cli/handlers/models.js +3 -2
  34. package/dist/src/cli/handlers/regenerate.js +8 -16
  35. package/dist/src/cli/handlers/sessions.js +7 -7
  36. package/dist/src/cli/handlers/subcommands.js +8 -0
  37. package/dist/src/cli/handlers/update.js +157 -0
  38. package/dist/src/cli/handlers/use.js +14 -4
  39. package/dist/src/cli/handlers/utilities.js +3 -586
  40. package/dist/src/cli/handlers/utility-doctor.js +412 -0
  41. package/dist/src/cli/services/deployment-verification.js +0 -1
  42. package/dist/src/config/aiwg-config.js +2 -1
  43. package/dist/src/config/authorization-cli.js +7 -3
  44. package/dist/src/config/dispatch-thresholds-runtime.d.mts +3 -2
  45. package/dist/src/config/dispatch-thresholds-runtime.mjs +17 -7
  46. package/dist/src/config/framework-aliases.js +12 -0
  47. package/dist/src/config/host-resource-report.d.mts +19 -0
  48. package/dist/src/config/host-resource-report.mjs +80 -0
  49. package/dist/src/config/host-resource-runtime.d.mts +34 -0
  50. package/dist/src/config/host-resource-runtime.mjs +293 -0
  51. package/dist/src/config/installed-selection.js +22 -0
  52. package/dist/src/config/worker-context.js +33 -4
  53. package/dist/src/config/worker-invocation-marker.d.mts +1 -0
  54. package/dist/src/config/worker-invocation-marker.mjs +2 -0
  55. package/dist/src/decision/heldout/access.js +74 -0
  56. package/dist/src/decision/heldout/calibration.js +1 -0
  57. package/dist/src/decision/heldout/collector.js +9 -2
  58. package/dist/src/effects/verifiers/file.js +22 -5
  59. package/dist/src/extensions/claude-attribution.js +82 -0
  60. package/dist/src/extensions/claude-hooks-installer.js +115 -69
  61. package/dist/src/extensions/commands/daemon.js +109 -0
  62. package/dist/src/extensions/commands/definitions.js +5 -89
  63. package/dist/src/features/catalog.js +1 -1
  64. package/dist/src/gates/evaluate.js +2 -2
  65. package/dist/src/gates/heldout.js +52 -0
  66. package/dist/src/gates/index.js +2 -1
  67. package/dist/src/lint/check-patterns.js +163 -0
  68. package/dist/src/lint/checks.js +268 -0
  69. package/dist/src/lint/reference-resolution.js +54 -0
  70. package/dist/src/lint/runner.js +3 -465
  71. package/dist/src/mcp/helpers.mjs +11 -1
  72. package/dist/src/memory/project-registry.js +44 -4
  73. package/dist/src/models/worker-installation-store.mjs +228 -0
  74. package/dist/src/models/worker-installation.mjs +7 -162
  75. package/dist/src/models/worker-plan.js +36 -5
  76. package/dist/src/models/wrapper-deployment.js +25 -12
  77. package/dist/src/models/wrapper-enforcement.js +47 -7
  78. package/dist/src/network-analysis/research.js +2 -1
  79. package/dist/src/policy/hitl-check.js +14 -4
  80. package/dist/src/policy/hitl-consume.js +54 -0
  81. package/dist/src/policy/hitl-receipt.js +2 -0
  82. package/dist/src/policy/hitl.js +11 -3
  83. package/dist/src/providers/provider-context-contracts.js +162 -0
  84. package/dist/src/providers/provider-definition-schema.js +136 -0
  85. package/dist/src/providers/provider-definitions.js +8 -1298
  86. package/dist/src/providers/provider-seeds-1.js +360 -0
  87. package/dist/src/providers/provider-seeds-2.js +387 -0
  88. package/dist/src/providers/provider-seeds-3.js +262 -0
  89. package/dist/src/research/clients/arxiv.js +14 -34
  90. package/dist/src/research/clients/base.js +53 -26
  91. package/dist/src/research/clients/crossref.js +9 -1
  92. package/dist/src/research/clients/semantic-scholar.js +73 -44
  93. package/dist/src/research/identity.js +117 -0
  94. package/dist/src/research/index.js +1 -0
  95. package/dist/src/research/query-cli.js +3 -87
  96. package/dist/src/research/query-options.js +87 -0
  97. package/dist/src/research/reference-match.js +135 -0
  98. package/dist/src/research/services/acquisition.js +9 -7
  99. package/dist/src/research/services/citation.js +5 -2
  100. package/dist/src/research/types.js +2 -0
  101. package/dist/src/rules/core-startup.d.mts +2 -0
  102. package/dist/src/rules/core-startup.mjs +31 -0
  103. package/dist/src/serve/mission-conductor.js +48 -4
  104. package/dist/src/sessions/adapters/grok-build-native.js +23 -0
  105. package/dist/src/sessions/adapters/grok-build.js +14 -7
  106. package/dist/src/sessions/workspace-discovery.js +5 -5
  107. package/dist/src/smiths/context-pipeline/agents-md.js +34 -0
  108. package/dist/src/smiths/context-pipeline/aiwg-md.js +19 -46
  109. package/dist/src/smiths/context-pipeline/bridge-ownership.js +50 -0
  110. package/dist/src/smiths/context-pipeline/claude-hook.js +1 -1
  111. package/dist/src/smiths/context-pipeline/code-regions.js +28 -0
  112. package/dist/src/smiths/context-pipeline/finalization.js +81 -51
  113. package/dist/src/smiths/context-pipeline/generator.js +49 -114
  114. package/dist/src/smiths/context-pipeline/managed-hook.js +11 -1
  115. package/dist/src/smiths/context-pipeline/muse-bridge.js +2 -2
  116. package/dist/src/smiths/context-pipeline/provider-policy.js +6 -12
  117. package/dist/src/smiths/context-pipeline/workspace-audit.js +299 -0
  118. package/dist/src/smiths/context-pipeline/workspace-bootstrap.js +148 -0
  119. package/dist/src/smiths/context-pipeline/workspace-context-shared.js +111 -0
  120. package/dist/src/smiths/context-pipeline/workspace-context.js +8 -1373
  121. package/dist/src/smiths/context-pipeline/workspace-doctor.js +192 -0
  122. package/dist/src/smiths/context-pipeline/workspace-document.js +201 -0
  123. package/dist/src/smiths/context-pipeline/workspace-extraction.js +205 -0
  124. package/dist/src/smiths/context-pipeline/workspace-migration.js +250 -0
  125. package/package.json +13 -2
  126. package/schemas/decision/D29Study.v10.schema.json +65 -0
  127. package/tools/agents/deploy-agents.mjs +12 -123
  128. package/tools/agents/providers/antigravity.mjs +1 -1
  129. package/tools/agents/providers/claude-post-deploy.mjs +12 -1
  130. package/tools/agents/providers/context-write.mjs +16 -0
  131. package/tools/agents/providers/grok-build.mjs +8 -5
  132. package/tools/agents/providers/hermes-skill-lifecycle.mjs +144 -0
  133. package/tools/agents/providers/hermes-startup.mjs +209 -0
  134. package/tools/agents/providers/hermes.mjs +9 -359
  135. package/tools/agents/providers/model-wrapper.mjs +5 -1
  136. package/tools/agents/providers/muse.mjs +3 -3
  137. package/tools/agents/providers/pi.mjs +4 -2
  138. package/tools/agents/providers/rule-delivery-surface.mjs +332 -0
  139. package/tools/agents/providers/rule-delivery.mjs +20 -1346
  140. package/tools/agents/providers/rule-deployment-commit.mjs +144 -0
  141. package/tools/agents/providers/rule-deployment-prepare.mjs +452 -0
  142. package/tools/agents/providers/rule-deployment-state.mjs +300 -0
  143. package/tools/agents/providers/rule-presentation.mjs +13 -4
  144. package/tools/agents/providers/rule-projection.mjs +119 -0
  145. package/tools/agents/providers/rule-startup.mjs +70 -0
  146. package/tools/agents/providers/stale-artifact-prune.mjs +128 -0
  147. package/tools/agents/providers/warp.mjs +2 -2
  148. package/tools/agents/providers/windsurf.mjs +11 -57
  149. package/tools/daemon/README.md +511 -0
  150. package/tools/daemon/adapters/base-adapter.mjs +84 -0
  151. package/tools/daemon/adapters/webhook-adapter.mjs +107 -0
  152. package/tools/daemon/agent-supervisor.mjs +299 -0
  153. package/tools/daemon/automation-engine.mjs +310 -0
  154. package/tools/daemon/autonomous-engine.mjs +346 -0
  155. package/tools/daemon/behavior-loader.mjs +316 -0
  156. package/tools/daemon/behavior.mjs +174 -0
  157. package/tools/daemon/concierge/intent-router.mjs +401 -0
  158. package/tools/daemon/concierge/orchestrator.mjs +272 -0
  159. package/tools/daemon/concierge/response-translator.mjs +462 -0
  160. package/tools/daemon/config.mjs +377 -0
  161. package/tools/daemon/cron-scheduler.mjs +178 -0
  162. package/tools/daemon/daemon-main.mjs +1169 -0
  163. package/tools/daemon/event-router.mjs +84 -0
  164. package/tools/daemon/file-watcher.mjs +383 -0
  165. package/tools/daemon/index.mjs +1181 -0
  166. package/tools/daemon/init-profile.mjs +124 -0
  167. package/tools/daemon/ipc-client.mjs +197 -0
  168. package/tools/daemon/ipc-ops-handlers.mjs +236 -0
  169. package/tools/daemon/ipc-server.mjs +275 -0
  170. package/tools/daemon/maintenance-owner.mjs +79 -0
  171. package/tools/daemon/memory-manager.mjs +386 -0
  172. package/tools/daemon/message-router.mjs +194 -0
  173. package/tools/daemon/provider-watcher.mjs +585 -0
  174. package/tools/daemon/pty-adapter.mjs +420 -0
  175. package/tools/daemon/repl-chat.mjs +359 -0
  176. package/tools/daemon/resource-bounds.mjs +88 -0
  177. package/tools/daemon/sandbox-transport.mjs +295 -0
  178. package/tools/daemon/scheduled-task-runner.mjs +535 -0
  179. package/tools/daemon/task-store.mjs +450 -0
  180. package/tools/daemon/tmux-manager.mjs +324 -0
  181. package/tools/daemon/update-policy.mjs +517 -0
  182. package/tools/daemon/web-server.mjs +399 -0
  183. package/tools/daemon/web-ui/index.html +585 -0
  184. package/tools/daemon/web-ui/styles.css +156 -0
  185. package/tools/docker/Dockerfile.daemon +35 -0
  186. package/tools/docker/container-manager.mjs +291 -0
  187. package/tools/messaging/adapter-registry.mjs +230 -0
  188. package/tools/messaging/adapters/base.mjs +326 -0
  189. package/tools/messaging/adapters/discord.mjs +462 -0
  190. package/tools/messaging/adapters/slack.mjs +402 -0
  191. package/tools/messaging/adapters/telegram.mjs +552 -0
  192. package/tools/messaging/chat-handler.mjs +297 -0
  193. package/tools/messaging/command-router.mjs +269 -0
  194. package/tools/messaging/event-bus.mjs +199 -0
  195. package/tools/messaging/index.mjs +456 -0
  196. package/tools/messaging/message-formatter.mjs +320 -0
  197. package/tools/messaging/room-manager.mjs +277 -0
  198. package/tools/messaging/types.mjs +94 -0
  199. package/tools/plugin/plugin-links.mjs +3 -0
  200. package/tools/providers/pi-bridge-policy.mjs +4 -0
  201. package/tools/ralph-external/daemon-supervisor.mjs +394 -0
  202. package/tools/ralph-external/lib/behavior-registry.mjs +270 -0
  203. package/tools/ralph-external/lib/worker-invocation-processes.mjs +3 -2
  204. package/tools/ralph-external/lib/worker-isolation-args.mjs +217 -0
  205. package/tools/ralph-external/lib/worker-isolation-status.mjs +19 -0
  206. package/tools/ralph-external/lib/worker-isolation.mjs +11 -237
  207. package/tools/ralph-external/lib/worker-overflow.mjs +10 -2
  208. package/tools/ralph-external/lib/worker-unit-cleanup.mjs +72 -0
  209. package/tools/ralph-external/session-launcher.mjs +7 -7
  210. package/tools/scripts/resource-preflight.mjs +3 -242
@@ -0,0 +1,387 @@
1
+ import { resolveHermesHomePath } from './hermes-home.js';
2
+ export const BUILT_IN_SEEDS_2 = [
3
+ {
4
+ id: 'grok-build',
5
+ displayName: 'Grok Build',
6
+ aliases: [],
7
+ status: 'experimental',
8
+ builtIn: true,
9
+ upstream: {
10
+ source: 'https://github.com/xai-org/grok-build',
11
+ version: '1.0.38',
12
+ // Reviewed public tree (docs + inspect schema), not an all-zero placeholder.
13
+ revision: '2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8',
14
+ runtime: 'Grok Build CLI',
15
+ lastVerified: '2026-10-26',
16
+ },
17
+ surfaces: {
18
+ primary: 'grok-build',
19
+ compatibility: [],
20
+ precedence: ['AGENTS.md', '.grok/agents/ (qualified model workers)', '.grok/skills/', '.grok/rules/ (host)', '.grok/config.toml (config only)', '$GROK_HOME'],
21
+ related: [],
22
+ },
23
+ detection: { env: ['GROK_HOME'], process: ['grok'], capabilityId: 'grok-build' },
24
+ paths: {
25
+ deployTarget: 'mixed',
26
+ artifacts: {
27
+ agents: '.grok/agents',
28
+ commands: null,
29
+ skills: '.grok/skills',
30
+ rules: '.grok/rules',
31
+ behaviors: null,
32
+ },
33
+ kernelSkills: '.grok/skills',
34
+ contextDiscovery: {
35
+ agents: '.grok/agents',
36
+ skills: '.grok/skills',
37
+ rules: '.grok/rules',
38
+ behaviors: null,
39
+ },
40
+ configFile: '.grok/config.toml',
41
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
42
+ },
43
+ smithPaths: {
44
+ agents: '.grok/agents',
45
+ commands: null,
46
+ skills: '.grok/skills',
47
+ rules: '.grok/rules',
48
+ fileExtension: '.md',
49
+ configFile: '.grok/config.toml',
50
+ aggregated: false,
51
+ },
52
+ skillNamespace: {
53
+ deploymentGroup: 'deep-recursion',
54
+ pathType: 'project',
55
+ skillsBaseDir: '.grok/skills',
56
+ subdirLayout: true,
57
+ },
58
+ adapters: {
59
+ agentFormat: 'agents-md',
60
+ hookBridge: 'grok-build',
61
+ mcpInjection: 'grok-build',
62
+ contextAggregation: 'agents-md',
63
+ ruleFormat: 'agents-md-section',
64
+ },
65
+ matrixRef: 'grok-build',
66
+ },
67
+ {
68
+ id: 'hermes',
69
+ aliases: [],
70
+ builtIn: true,
71
+ surfaces: { primary: 'hermes', compatibility: [], precedence: ['.hermes.md', 'AGENTS.md', resolveHermesHomePath('skills')], related: [] },
72
+ detection: {
73
+ env: [],
74
+ process: ['hermes'],
75
+ capabilityId: 'hermes',
76
+ },
77
+ paths: {
78
+ artifacts: {
79
+ agents: null,
80
+ commands: null,
81
+ skills: resolveHermesHomePath('skills', '.aiwg'),
82
+ rules: '.hermes/rules',
83
+ behaviors: null,
84
+ },
85
+ kernelSkills: resolveHermesHomePath('skills'),
86
+ contextDiscovery: { agents: null, skills: resolveHermesHomePath('skills', '.aiwg'), rules: null, behaviors: null },
87
+ configFile: 'AGENTS.md',
88
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: '.hermes.md', contextFile: 'AGENTS.md' },
89
+ },
90
+ smithPaths: {
91
+ agents: null,
92
+ commands: null,
93
+ skills: resolveHermesHomePath('skills'),
94
+ rules: '.hermes/rules',
95
+ fileExtension: '.md',
96
+ configFile: 'AGENTS.md',
97
+ aggregated: false,
98
+ },
99
+ skillNamespace: {
100
+ deploymentGroup: 'mcp-skip',
101
+ pathType: 'home-dir',
102
+ skillsBaseDir: '.hermes/skills',
103
+ subdirLayout: false,
104
+ },
105
+ adapters: {
106
+ agentFormat: 'agents-md',
107
+ hookBridge: 'hermes',
108
+ mcpInjection: null,
109
+ contextAggregation: 'agents-md',
110
+ ruleFormat: 'agents-md-section',
111
+ },
112
+ matrixRef: 'hermes',
113
+ },
114
+ {
115
+ id: 'muse',
116
+ displayName: 'Muse Code',
117
+ // #225: ADR fixes the canonical id as `muse` with no aliases.
118
+ aliases: [],
119
+ // #231: promoted stable — Linux PUW + security review; maintainer Linux-only waiver 2026-10-02.
120
+ status: 'stable',
121
+ builtIn: true,
122
+ surfaces: {
123
+ primary: 'muse',
124
+ compatibility: [],
125
+ precedence: ['AGENTS.md', '.agents/skills/'],
126
+ related: [],
127
+ },
128
+ // Fail-closed: no env or process signals. A bare `muse` process name collides
129
+ // with unrelated software, so it is not evidence of Muse Code. The `muse`
130
+ // CLI binary name is a documented fact, not a detection claim
131
+ // (docs/architecture/adr-muse-provider-target.md).
132
+ detection: { env: [], process: [], capabilityId: 'muse' },
133
+ paths: {
134
+ deployTarget: 'mixed',
135
+ artifacts: {
136
+ // Skills are native; rule files are reached through the AGENTS.md
137
+ // hook. Agents and commands remain indexed through discover/show.
138
+ agents: null,
139
+ commands: null,
140
+ skills: '.agents/skills',
141
+ rules: '.muse/rules',
142
+ behaviors: null,
143
+ },
144
+ kernelSkills: '.agents/skills',
145
+ contextDiscovery: {
146
+ agents: null,
147
+ skills: '.agents/skills',
148
+ rules: null,
149
+ behaviors: null,
150
+ },
151
+ configFile: null,
152
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
153
+ },
154
+ smithPaths: {
155
+ agents: null,
156
+ commands: null,
157
+ skills: '.agents/skills',
158
+ rules: '.muse/rules',
159
+ fileExtension: '.md',
160
+ configFile: null,
161
+ aggregated: false,
162
+ },
163
+ // Project skill root only: the namespace default resolves to
164
+ // <repo>/.agents/skills — a project tree, never a home-dir tree — so the
165
+ // deployer cannot invent ~/.muse, ~/.config/muse siblings outside
166
+ // muse/skills, or ~/.agents/skills from this metadata alone. The XDG
167
+ // user root ($XDG_CONFIG_HOME/muse/skills, default ~/.config/muse/skills)
168
+ // is not a static namespace default; it resolves dynamically at deploy
169
+ // time via resolveMuseXdgSkillsDir (src/providers/muse-paths.ts, #234),
170
+ // which fails closed on bad XDG metadata. Never write ~/.muse or
171
+ // silently mirror into ~/.agents/skills (#226).
172
+ skillNamespace: {
173
+ deploymentGroup: 'deep-recursion',
174
+ pathType: 'project',
175
+ skillsBaseDir: '.agents/skills',
176
+ subdirLayout: true,
177
+ },
178
+ adapters: {
179
+ agentFormat: 'agents-md',
180
+ hookBridge: null,
181
+ mcpInjection: null,
182
+ contextAggregation: 'agents-md',
183
+ ruleFormat: 'agents-md-section',
184
+ },
185
+ matrixRef: 'muse',
186
+ },
187
+ {
188
+ id: 'opencode',
189
+ aliases: [],
190
+ builtIn: true,
191
+ surfaces: { primary: 'opencode', compatibility: [], precedence: ['.opencode/', 'AGENTS.md'], related: [] },
192
+ detection: {
193
+ env: ['OPENCODE_VERSION'],
194
+ process: ['opencode'],
195
+ capabilityId: 'opencode',
196
+ runtimeEnvPriority: 90,
197
+ },
198
+ paths: {
199
+ artifacts: {
200
+ agents: '.opencode/agent',
201
+ commands: '.opencode/command',
202
+ skills: '.opencode/.aiwg/skill',
203
+ rules: '.opencode/rule',
204
+ behaviors: '.opencode/rule',
205
+ },
206
+ kernelSkills: '.opencode/skill',
207
+ configFile: 'AGENTS.md',
208
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
209
+ },
210
+ smithPaths: {
211
+ agents: null,
212
+ commands: '.opencode/command',
213
+ skills: '.opencode/skill',
214
+ rules: '.opencode/rule',
215
+ fileExtension: '.md',
216
+ configFile: 'AGENTS.md',
217
+ aggregated: false,
218
+ },
219
+ skillNamespace: {
220
+ deploymentGroup: 'deep-recursion',
221
+ pathType: 'project',
222
+ skillsBaseDir: '.opencode/skill',
223
+ subdirLayout: true,
224
+ },
225
+ adapters: {
226
+ agentFormat: 'opencode-markdown',
227
+ hookBridge: null,
228
+ mcpInjection: 'opencode',
229
+ contextAggregation: 'agents-md',
230
+ ruleFormat: 'markdown',
231
+ },
232
+ matrixRef: 'opencode',
233
+ },
234
+ {
235
+ id: 'openclaw',
236
+ aliases: [],
237
+ builtIn: true,
238
+ surfaces: { primary: 'openclaw', compatibility: [], precedence: ['~/.openclaw/'], related: [] },
239
+ detection: {
240
+ env: ['OPENCLAW_VERSION'],
241
+ process: ['openclaw'],
242
+ capabilityId: 'openclaw',
243
+ runtimeEnvPriority: 60,
244
+ },
245
+ paths: {
246
+ deployTarget: 'home',
247
+ artifacts: {
248
+ agents: '~/.openclaw/agents',
249
+ commands: '~/.openclaw/commands',
250
+ skills: '~/.openclaw/.aiwg/skills',
251
+ rules: '~/.openclaw/rules',
252
+ behaviors: '~/.openclaw/behaviors',
253
+ },
254
+ kernelSkills: '~/.openclaw/skills/aiwg',
255
+ configFile: 'AGENTS.md',
256
+ contextFiles: { aiwgMd: true, agentsMd: false, claudeMdHook: false, hookFile: null, contextFile: '~/.openclaw/config.yaml' },
257
+ },
258
+ smithPaths: {
259
+ agents: '~/.openclaw/agents',
260
+ commands: '~/.openclaw/commands',
261
+ skills: '~/.openclaw/skills',
262
+ rules: '~/.openclaw/rules',
263
+ fileExtension: '.md',
264
+ configFile: 'AGENTS.md',
265
+ aggregated: false,
266
+ },
267
+ skillNamespace: {
268
+ deploymentGroup: 'deep-recursion',
269
+ pathType: 'home-dir',
270
+ skillsBaseDir: '.openclaw/skills',
271
+ subdirLayout: true,
272
+ },
273
+ adapters: {
274
+ agentFormat: 'openclaw-markdown',
275
+ hookBridge: null,
276
+ mcpInjection: null,
277
+ contextAggregation: null,
278
+ ruleFormat: 'markdown',
279
+ },
280
+ matrixRef: 'openclaw',
281
+ },
282
+ {
283
+ id: 'openhuman',
284
+ aliases: ['tinyhumansai'],
285
+ builtIn: true,
286
+ surfaces: { primary: 'openhuman', compatibility: ['tinyhumansai'], precedence: ['~/.openhuman/skills/', 'AGENTS.md'], related: [] },
287
+ detection: {
288
+ env: ['OPENHUMAN_HOME', 'OPENHUMAN_CORE_TOKEN'],
289
+ process: ['openhuman'],
290
+ capabilityId: 'openhuman',
291
+ runtimeEnvPriority: 70,
292
+ },
293
+ paths: {
294
+ deployTarget: 'mixed',
295
+ artifacts: {
296
+ agents: null,
297
+ commands: null,
298
+ skills: '~/.openhuman/.aiwg/skills',
299
+ rules: '~/.openhuman/.aiwg/rules',
300
+ behaviors: null,
301
+ },
302
+ kernelSkills: '~/.openhuman/skills',
303
+ contextDiscovery: {
304
+ agents: '.agents/agents',
305
+ skills: '~/.openhuman/.aiwg/skills',
306
+ rules: '~/.openhuman/.aiwg/rules',
307
+ behaviors: null,
308
+ },
309
+ configFile: null,
310
+ contextFiles: { aiwgMd: true, agentsMd: false, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
311
+ },
312
+ smithPaths: {
313
+ agents: null,
314
+ commands: null,
315
+ skills: '~/.openhuman/skills',
316
+ rules: '~/.openhuman/.aiwg/rules',
317
+ fileExtension: '.md',
318
+ configFile: null,
319
+ aggregated: false,
320
+ },
321
+ skillNamespace: {
322
+ deploymentGroup: 'deep-recursion',
323
+ pathType: 'home-dir',
324
+ skillsBaseDir: '.openhuman/skills',
325
+ subdirLayout: true,
326
+ },
327
+ adapters: {
328
+ agentFormat: 'openhuman-agents-md',
329
+ hookBridge: null,
330
+ mcpInjection: null,
331
+ contextAggregation: 'agents-md',
332
+ ruleFormat: 'agents-md-section',
333
+ },
334
+ matrixRef: 'openhuman',
335
+ },
336
+ {
337
+ id: 'deepseek-harness',
338
+ displayName: 'DeepSeek Harness',
339
+ aliases: ['dsh'],
340
+ builtIn: true,
341
+ upstream: {
342
+ source: 'https://github.com/deepseek-ai/deepseek-harness',
343
+ version: 'dsh-v0.1.3-alpha.1',
344
+ revision: 'd347e703908d0406b7a7ef80e3a0e594d86b2215',
345
+ runtime: 'Node.js ^22.19.0 || >=24.0.0',
346
+ lastVerified: '2026-09-05',
347
+ },
348
+ surfaces: {
349
+ primary: 'dsh', compatibility: ['deepseek-harness'],
350
+ precedence: ['AGENTS.md', 'CLAUDE.md', '.agents/skills/', '.dsh/skills/', '.dsh/aiwg.cordis.patch.yml'], related: [],
351
+ },
352
+ detection: { env: ['DSH_HOME'], process: ['dsh'], capabilityId: 'deepseek-harness' },
353
+ paths: {
354
+ artifacts: { agents: '.agents/skills', commands: null, skills: '.agents/skills', rules: null, behaviors: null },
355
+ kernelSkills: '.agents/skills',
356
+ contextDiscovery: { agents: '.agents/skills', skills: '.agents/skills', rules: null, behaviors: null },
357
+ configFile: '.dsh/aiwg.cordis.patch.yml',
358
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
359
+ },
360
+ smithPaths: { agents: '.agents/skills', commands: null, skills: '.agents/skills', rules: null, fileExtension: '.md', configFile: '.dsh/aiwg.cordis.patch.yml', aggregated: false },
361
+ skillNamespace: { deploymentGroup: 'deep-recursion', pathType: 'project', skillsBaseDir: '.agents/skills', subdirLayout: true },
362
+ adapters: { agentFormat: 'agents-md', hookBridge: null, mcpInjection: null, contextAggregation: 'agents-md', ruleFormat: 'agents-md-section' },
363
+ matrixRef: 'deepseek-harness',
364
+ },
365
+ {
366
+ id: 'omp',
367
+ aliases: ['oh-my-pi'],
368
+ builtIn: true,
369
+ surfaces: {
370
+ primary: 'omp', compatibility: ['oh-my-pi'],
371
+ precedence: ['.omp/AGENTS.md', 'AGENTS.md', '.agents/skills/', '.omp/skills/', '.omp/prompts/'], related: [],
372
+ },
373
+ detection: { env: [], process: ['omp', '@oh-my-pi/pi-coding-agent'], capabilityId: 'omp' },
374
+ paths: {
375
+ artifacts: { agents: '.omp/agents', commands: '.omp/prompts', skills: '.agents/skills', rules: '.omp/rules', behaviors: '.omp/extensions' },
376
+ kernelSkills: '.agents/skills',
377
+ contextDiscovery: { agents: '.omp/agents', skills: '.agents/skills', rules: '.omp/rules', behaviors: '.omp/extensions' },
378
+ configFile: '.omp/AGENTS.md',
379
+ contextFiles: { aiwgMd: true, agentsMd: false, claudeMdHook: false, hookFile: '.omp/AGENTS.md', contextFile: '.omp/AGENTS.md' },
380
+ },
381
+ smithPaths: { agents: '.omp/agents', commands: '.omp/prompts', skills: '.agents/skills', rules: '.omp/rules', fileExtension: '.md', configFile: '.omp/AGENTS.md', aggregated: false },
382
+ skillNamespace: { deploymentGroup: 'one-level', pathType: 'project', skillsBaseDir: '.omp/skills', subdirLayout: false },
383
+ adapters: { agentFormat: 'omp-markdown', hookBridge: 'omp', mcpInjection: 'omp', contextAggregation: 'agents-md', ruleFormat: 'omp-markdown' },
384
+ matrixRef: 'omp',
385
+ },
386
+ ];
387
+ //# sourceMappingURL=provider-seeds-2.js.map
@@ -0,0 +1,262 @@
1
+ export const BUILT_IN_SEEDS_3 = [
2
+ {
3
+ id: 'pi',
4
+ aliases: ['pi-coding-agent'],
5
+ builtIn: true,
6
+ surfaces: {
7
+ primary: 'pi',
8
+ compatibility: ['pi-coding-agent'],
9
+ precedence: ['AGENTS.override.md', 'AGENTS.md', '.agents/skills/', '.pi/skills/', '.pi/prompts/'],
10
+ related: [],
11
+ },
12
+ detection: {
13
+ // PI_CODING_AGENT_DIR only relocates configuration; it is deliberately
14
+ // not an active-runtime marker. Availability is proven by process or executable.
15
+ env: [],
16
+ process: ['pi'],
17
+ capabilityId: 'pi',
18
+ },
19
+ paths: {
20
+ artifacts: {
21
+ agents: '.agents/skills',
22
+ commands: '.pi/prompts',
23
+ skills: '.pi/.aiwg/skills',
24
+ rules: '.pi/rules',
25
+ behaviors: '.pi/extensions',
26
+ },
27
+ kernelSkills: '.agents/skills',
28
+ contextDiscovery: {
29
+ agents: '.agents/skills',
30
+ skills: '.agents/skills',
31
+ rules: null,
32
+ behaviors: '.pi/extensions',
33
+ },
34
+ configFile: 'AGENTS.md',
35
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: null, contextFile: 'AGENTS.md' },
36
+ },
37
+ smithPaths: {
38
+ agents: '.agents/skills',
39
+ commands: '.pi/prompts',
40
+ skills: '.pi/skills',
41
+ rules: '.pi/rules',
42
+ fileExtension: '.md',
43
+ configFile: 'AGENTS.md',
44
+ aggregated: false,
45
+ },
46
+ skillNamespace: {
47
+ deploymentGroup: 'deep-recursion',
48
+ pathType: 'project',
49
+ skillsBaseDir: '.pi/skills',
50
+ subdirLayout: true,
51
+ },
52
+ adapters: {
53
+ agentFormat: 'agents-md',
54
+ hookBridge: null,
55
+ mcpInjection: null,
56
+ contextAggregation: 'agents-md',
57
+ ruleFormat: 'agents-md-section',
58
+ },
59
+ matrixRef: 'pi',
60
+ },
61
+ {
62
+ id: 'warp',
63
+ aliases: [],
64
+ builtIn: true,
65
+ surfaces: { primary: 'warp', compatibility: [], precedence: ['WARP.md', '.warp/'], related: [] },
66
+ detection: {
67
+ env: ['WARP_SESSION_ID', 'WARP_TERMINAL'],
68
+ process: ['warp'],
69
+ capabilityId: 'warp',
70
+ runtimeEnvPriority: 40,
71
+ },
72
+ paths: {
73
+ artifacts: {
74
+ agents: '.warp/agents',
75
+ commands: '.warp/commands',
76
+ skills: '.warp/.aiwg/skills',
77
+ rules: '.warp/rules',
78
+ behaviors: null,
79
+ },
80
+ kernelSkills: '.warp/skills',
81
+ configFile: 'WARP.md',
82
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: 'AIWG-warp.md', contextFile: 'WARP.md' },
83
+ },
84
+ smithPaths: {
85
+ agents: '.warp/agents',
86
+ commands: '.warp/commands',
87
+ skills: '.warp/skills',
88
+ rules: '.warp/rules',
89
+ fileExtension: '.md',
90
+ configFile: 'WARP.md',
91
+ aggregated: true,
92
+ },
93
+ skillNamespace: {
94
+ deploymentGroup: 'deep-recursion',
95
+ pathType: 'project',
96
+ skillsBaseDir: '.warp/skills',
97
+ subdirLayout: true,
98
+ },
99
+ adapters: {
100
+ agentFormat: 'warp-markdown',
101
+ hookBridge: null,
102
+ mcpInjection: 'warp',
103
+ contextAggregation: 'warp-md',
104
+ ruleFormat: 'markdown',
105
+ },
106
+ matrixRef: 'warp',
107
+ },
108
+ {
109
+ id: 'windsurf',
110
+ displayName: 'Devin Desktop',
111
+ status: 'stable',
112
+ aliases: ['devin', 'devin-desktop', 'devin-local', 'cascade'],
113
+ builtIn: true,
114
+ surfaces: {
115
+ primary: 'devin',
116
+ compatibility: ['devin-desktop', 'windsurf', 'devin-local', 'cascade'],
117
+ precedence: ['.devin/rules/', '.windsurf/rules/', 'AGENTS.md', '.windsurfrules'],
118
+ related: [
119
+ {
120
+ id: 'devin-desktop',
121
+ displayName: 'Devin Desktop',
122
+ relationship: 'same-provider',
123
+ deployable: true,
124
+ aliases: ['devin', 'windsurf', 'cascade'],
125
+ paths: {
126
+ rules: ['.devin/rules/*.md', '.windsurf/rules/*.md'],
127
+ skills: [],
128
+ agentsMd: ['AGENTS.md', 'agents.md'],
129
+ legacy: ['.windsurfrules'],
130
+ },
131
+ notes: [
132
+ 'Devin Desktop is the current product name; --provider devin is preferred and --provider windsurf remains a deprecated compatibility id.',
133
+ '.devin/rules is preferred by Devin Desktop, but AIWG keeps .devin/ as ignored local provider output and currently emits the compatibility surface through .windsurf/ plus AGENTS.md.',
134
+ ],
135
+ },
136
+ {
137
+ id: 'devin-cli',
138
+ displayName: 'Devin CLI',
139
+ relationship: 'future-provider',
140
+ deployable: false,
141
+ aliases: [],
142
+ paths: {
143
+ rules: ['AGENTS.md', 'AGENTS.local.md', 'AGENT.md', '.windsurfrules', 'CLAUDE.md'],
144
+ skills: ['.devin/skills/<skill-name>/SKILL.md', '.windsurf/skills/<skill-name>/SKILL.md'],
145
+ agentsMd: ['AGENTS.md'],
146
+ legacy: ['.windsurfrules'],
147
+ },
148
+ notes: [
149
+ 'Devin CLI has distinct rules and skills surfaces and should not normalize to windsurf until a dedicated provider behavior issue adds writer support.',
150
+ ],
151
+ },
152
+ {
153
+ id: 'devin-product-skills',
154
+ displayName: 'Devin Product Skills',
155
+ relationship: 'companion-standard',
156
+ deployable: false,
157
+ aliases: [],
158
+ paths: {
159
+ rules: [],
160
+ skills: ['.agents/skills/<skill-name>/SKILL.md'],
161
+ agentsMd: [],
162
+ legacy: [],
163
+ },
164
+ notes: [
165
+ 'Devin product skills use the Agent Skills layout and are recorded here as a readable surface, not as current AIWG windsurf deploy output.',
166
+ ],
167
+ },
168
+ ],
169
+ },
170
+ detection: {
171
+ env: ['WINDSURF_VERSION'],
172
+ process: ['windsurf'],
173
+ capabilityId: 'windsurf',
174
+ runtimeEnvPriority: 30,
175
+ },
176
+ paths: {
177
+ artifacts: {
178
+ agents: '.windsurf/agents',
179
+ commands: '.windsurf/workflows',
180
+ skills: '.windsurf/.aiwg/skills',
181
+ rules: '.windsurf/rules',
182
+ behaviors: '.windsurf/rules',
183
+ },
184
+ kernelSkills: '.windsurf/skills',
185
+ configFile: '.windsurfrules',
186
+ contextFiles: { aiwgMd: true, agentsMd: true, claudeMdHook: false, hookFile: 'AIWG-windsurf.md', contextFile: 'AGENTS.md' },
187
+ },
188
+ smithPaths: {
189
+ agents: '.windsurf/agents',
190
+ commands: '.windsurf/workflows',
191
+ skills: '.windsurf/skills',
192
+ rules: '.windsurf/rules',
193
+ fileExtension: '.md',
194
+ configFile: '.windsurfrules',
195
+ aggregated: true,
196
+ },
197
+ skillNamespace: {
198
+ deploymentGroup: 'one-level',
199
+ pathType: 'project',
200
+ skillsBaseDir: '.windsurf/skills',
201
+ subdirLayout: false,
202
+ },
203
+ adapters: {
204
+ agentFormat: 'windsurf-markdown',
205
+ hookBridge: null,
206
+ mcpInjection: 'windsurf',
207
+ contextAggregation: 'agents-md',
208
+ ruleFormat: 'windsurf-rule',
209
+ },
210
+ matrixRef: 'windsurf',
211
+ },
212
+ {
213
+ id: 'generic',
214
+ displayName: 'Generic',
215
+ status: 'stable',
216
+ aliases: [],
217
+ builtIn: true,
218
+ surfaces: { primary: 'generic', compatibility: [], precedence: ['agents/', 'skills/', 'rules/'], related: [] },
219
+ detection: {
220
+ env: [],
221
+ process: [],
222
+ capabilityId: 'generic',
223
+ },
224
+ paths: {
225
+ deployTarget: 'project',
226
+ artifacts: {
227
+ agents: 'agents',
228
+ commands: 'commands',
229
+ skills: 'skills',
230
+ rules: 'rules',
231
+ behaviors: null,
232
+ },
233
+ kernelSkills: null,
234
+ configFile: 'README.md',
235
+ contextFiles: { aiwgMd: true, agentsMd: false, claudeMdHook: false, hookFile: null, contextFile: 'README.md' },
236
+ },
237
+ smithPaths: {
238
+ agents: 'agents',
239
+ commands: 'commands',
240
+ skills: 'skills',
241
+ rules: 'rules',
242
+ fileExtension: '.md',
243
+ configFile: 'README.md',
244
+ aggregated: false,
245
+ },
246
+ skillNamespace: {
247
+ deploymentGroup: 'deep-recursion',
248
+ pathType: 'project',
249
+ skillsBaseDir: 'skills',
250
+ subdirLayout: true,
251
+ },
252
+ adapters: {
253
+ agentFormat: 'generic-markdown',
254
+ hookBridge: null,
255
+ mcpInjection: null,
256
+ contextAggregation: null,
257
+ ruleFormat: 'markdown',
258
+ },
259
+ matrixRef: null,
260
+ },
261
+ ];
262
+ //# sourceMappingURL=provider-seeds-3.js.map