@pennixrv/trellis 0.7.2-beta.11 → 0.7.2-beta.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 (307) hide show
  1. package/dist/commands/init.d.ts.map +1 -1
  2. package/dist/commands/init.js +11 -13
  3. package/dist/commands/init.js.map +1 -1
  4. package/dist/commands/teamwork/batch-reservation.d.ts.map +1 -1
  5. package/dist/commands/teamwork/batch-reservation.js +16 -8
  6. package/dist/commands/teamwork/batch-reservation.js.map +1 -1
  7. package/dist/commands/teamwork/batch.d.ts +1 -0
  8. package/dist/commands/teamwork/batch.d.ts.map +1 -1
  9. package/dist/commands/teamwork/batch.js +112 -1
  10. package/dist/commands/teamwork/batch.js.map +1 -1
  11. package/dist/commands/teamwork/coordinator.d.ts +3 -0
  12. package/dist/commands/teamwork/coordinator.d.ts.map +1 -1
  13. package/dist/commands/teamwork/coordinator.js +21 -3
  14. package/dist/commands/teamwork/coordinator.js.map +1 -1
  15. package/dist/commands/teamwork/foreground-wait.d.ts +4 -1
  16. package/dist/commands/teamwork/foreground-wait.d.ts.map +1 -1
  17. package/dist/commands/teamwork/foreground-wait.js +8 -1
  18. package/dist/commands/teamwork/foreground-wait.js.map +1 -1
  19. package/dist/commands/teamwork/index.d.ts.map +1 -1
  20. package/dist/commands/teamwork/index.js +1 -0
  21. package/dist/commands/teamwork/index.js.map +1 -1
  22. package/dist/commands/update.d.ts.map +1 -1
  23. package/dist/commands/update.js +23 -10
  24. package/dist/commands/update.js.map +1 -1
  25. package/dist/commands/workflow.d.ts.map +1 -1
  26. package/dist/commands/workflow.js +5 -7
  27. package/dist/commands/workflow.js.map +1 -1
  28. package/dist/configurators/codebuddy.d.ts +1 -8
  29. package/dist/configurators/codebuddy.d.ts.map +1 -1
  30. package/dist/configurators/codebuddy.js +2 -12
  31. package/dist/configurators/codebuddy.js.map +1 -1
  32. package/dist/configurators/codex.d.ts +0 -36
  33. package/dist/configurators/codex.d.ts.map +1 -1
  34. package/dist/configurators/codex.js +2 -99
  35. package/dist/configurators/codex.js.map +1 -1
  36. package/dist/configurators/copilot.d.ts +1 -12
  37. package/dist/configurators/copilot.d.ts.map +1 -1
  38. package/dist/configurators/copilot.js +2 -20
  39. package/dist/configurators/copilot.js.map +1 -1
  40. package/dist/configurators/cursor.d.ts +1 -8
  41. package/dist/configurators/cursor.d.ts.map +1 -1
  42. package/dist/configurators/cursor.js +2 -12
  43. package/dist/configurators/cursor.js.map +1 -1
  44. package/dist/configurators/droid.d.ts +1 -8
  45. package/dist/configurators/droid.d.ts.map +1 -1
  46. package/dist/configurators/droid.js +2 -12
  47. package/dist/configurators/droid.js.map +1 -1
  48. package/dist/configurators/dsh.d.ts +1 -21
  49. package/dist/configurators/dsh.d.ts.map +1 -1
  50. package/dist/configurators/dsh.js +4 -37
  51. package/dist/configurators/dsh.js.map +1 -1
  52. package/dist/configurators/gemini.d.ts +1 -16
  53. package/dist/configurators/gemini.d.ts.map +1 -1
  54. package/dist/configurators/gemini.js +3 -21
  55. package/dist/configurators/gemini.js.map +1 -1
  56. package/dist/configurators/grok.d.ts +1 -12
  57. package/dist/configurators/grok.d.ts.map +1 -1
  58. package/dist/configurators/grok.js +2 -18
  59. package/dist/configurators/grok.js.map +1 -1
  60. package/dist/configurators/kimi.d.ts +1 -21
  61. package/dist/configurators/kimi.d.ts.map +1 -1
  62. package/dist/configurators/kimi.js +2 -38
  63. package/dist/configurators/kimi.js.map +1 -1
  64. package/dist/configurators/kiro.d.ts +1 -9
  65. package/dist/configurators/kiro.d.ts.map +1 -1
  66. package/dist/configurators/kiro.js +1 -9
  67. package/dist/configurators/kiro.js.map +1 -1
  68. package/dist/configurators/omp.d.ts.map +1 -1
  69. package/dist/configurators/omp.js +1 -5
  70. package/dist/configurators/omp.js.map +1 -1
  71. package/dist/configurators/pi.d.ts.map +1 -1
  72. package/dist/configurators/pi.js +2 -5
  73. package/dist/configurators/pi.js.map +1 -1
  74. package/dist/configurators/qoder.d.ts +1 -10
  75. package/dist/configurators/qoder.d.ts.map +1 -1
  76. package/dist/configurators/qoder.js +3 -15
  77. package/dist/configurators/qoder.js.map +1 -1
  78. package/dist/configurators/reasonix.d.ts +1 -12
  79. package/dist/configurators/reasonix.d.ts.map +1 -1
  80. package/dist/configurators/reasonix.js +3 -22
  81. package/dist/configurators/reasonix.js.map +1 -1
  82. package/dist/configurators/shared.d.ts +1 -24
  83. package/dist/configurators/shared.d.ts.map +1 -1
  84. package/dist/configurators/shared.js +5 -184
  85. package/dist/configurators/shared.js.map +1 -1
  86. package/dist/configurators/snow.d.ts +1 -20
  87. package/dist/configurators/snow.d.ts.map +1 -1
  88. package/dist/configurators/snow.js +2 -25
  89. package/dist/configurators/snow.js.map +1 -1
  90. package/dist/configurators/trae.d.ts +1 -14
  91. package/dist/configurators/trae.d.ts.map +1 -1
  92. package/dist/configurators/trae.js +3 -19
  93. package/dist/configurators/trae.js.map +1 -1
  94. package/dist/configurators/zcode.d.ts +1 -13
  95. package/dist/configurators/zcode.d.ts.map +1 -1
  96. package/dist/configurators/zcode.js +2 -18
  97. package/dist/configurators/zcode.js.map +1 -1
  98. package/dist/migrations/manifests/0.5.0-beta.5.json +1 -212
  99. package/dist/migrations/manifests/0.7.2-beta.11.json +9 -0
  100. package/dist/migrations/manifests/0.7.2-beta.12.json +9 -0
  101. package/dist/migrations/manifests/0.7.2-beta.13.json +9 -0
  102. package/dist/migrations/manifests/0.7.2-beta.14.json +9 -0
  103. package/dist/migrations/manifests/0.7.2-beta.15.json +9 -0
  104. package/dist/migrations/manifests/0.7.2-beta.16.json +9 -0
  105. package/dist/migrations/retired-native-paths.d.ts +109 -0
  106. package/dist/migrations/retired-native-paths.d.ts.map +1 -0
  107. package/dist/migrations/retired-native-paths.js +263 -0
  108. package/dist/migrations/retired-native-paths.js.map +1 -0
  109. package/dist/templates/claude/index.d.ts +1 -16
  110. package/dist/templates/claude/index.d.ts.map +1 -1
  111. package/dist/templates/claude/index.js +5 -32
  112. package/dist/templates/claude/index.js.map +1 -1
  113. package/dist/templates/claude/settings.json +0 -22
  114. package/dist/templates/codebuddy/index.d.ts +2 -3
  115. package/dist/templates/codebuddy/index.d.ts.map +1 -1
  116. package/dist/templates/codebuddy/index.js +2 -3
  117. package/dist/templates/codebuddy/index.js.map +1 -1
  118. package/dist/templates/codebuddy/settings.json +0 -10
  119. package/dist/templates/codex/config.toml +2 -19
  120. package/dist/templates/codex/hooks/session-start.py +1 -1
  121. package/dist/templates/codex/hooks.json +0 -12
  122. package/dist/templates/codex/index.d.ts +0 -5
  123. package/dist/templates/codex/index.d.ts.map +1 -1
  124. package/dist/templates/codex/index.js +0 -13
  125. package/dist/templates/codex/index.js.map +1 -1
  126. package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +7 -7
  127. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +9 -51
  128. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +3 -15
  129. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -2
  130. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +4 -9
  131. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +2 -2
  132. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
  133. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +1 -1
  134. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +9 -79
  135. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +2 -4
  136. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +3 -6
  137. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +24 -103
  138. package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +1 -1
  139. package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
  140. package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +1 -1
  141. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +21 -1
  142. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +7 -0
  143. package/dist/templates/copilot/hooks/session-start.py +1 -1
  144. package/dist/templates/cursor/hooks.json +0 -7
  145. package/dist/templates/cursor/index.d.ts +1 -11
  146. package/dist/templates/cursor/index.d.ts.map +1 -1
  147. package/dist/templates/cursor/index.js +2 -10
  148. package/dist/templates/cursor/index.js.map +1 -1
  149. package/dist/templates/droid/index.d.ts +2 -3
  150. package/dist/templates/droid/index.d.ts.map +1 -1
  151. package/dist/templates/droid/index.js +2 -3
  152. package/dist/templates/droid/index.js.map +1 -1
  153. package/dist/templates/droid/settings.json +0 -10
  154. package/dist/templates/dsh/DSH.md +2 -33
  155. package/dist/templates/dsh/index.d.ts +1 -19
  156. package/dist/templates/dsh/index.d.ts.map +1 -1
  157. package/dist/templates/dsh/index.js +2 -21
  158. package/dist/templates/dsh/index.js.map +1 -1
  159. package/dist/templates/gemini/index.d.ts +1 -11
  160. package/dist/templates/gemini/index.d.ts.map +1 -1
  161. package/dist/templates/gemini/index.js +2 -10
  162. package/dist/templates/gemini/index.js.map +1 -1
  163. package/dist/templates/kiro/index.d.ts +1 -13
  164. package/dist/templates/kiro/index.d.ts.map +1 -1
  165. package/dist/templates/kiro/index.js +1 -13
  166. package/dist/templates/kiro/index.js.map +1 -1
  167. package/dist/templates/markdown/agents.md +6 -3
  168. package/dist/templates/omp/extensions/trellis/index.ts.txt +11 -51
  169. package/dist/templates/omp/index.d.ts +0 -2
  170. package/dist/templates/omp/index.d.ts.map +1 -1
  171. package/dist/templates/omp/index.js +1 -4
  172. package/dist/templates/omp/index.js.map +1 -1
  173. package/dist/templates/opencode/lib/trellis-context.js +12 -321
  174. package/dist/templates/opencode/plugins/inject-shell-session-context.js +93 -0
  175. package/dist/templates/opencode/plugins/inject-workflow-state.js +4 -10
  176. package/dist/templates/opencode/plugins/session-start.js +2 -6
  177. package/dist/templates/pi/extensions/trellis/index.ts.txt +8 -1432
  178. package/dist/templates/pi/index.d.ts +1 -2
  179. package/dist/templates/pi/index.d.ts.map +1 -1
  180. package/dist/templates/pi/index.js +2 -5
  181. package/dist/templates/pi/index.js.map +1 -1
  182. package/dist/templates/qoder/index.d.ts +2 -3
  183. package/dist/templates/qoder/index.d.ts.map +1 -1
  184. package/dist/templates/qoder/index.js +2 -3
  185. package/dist/templates/qoder/index.js.map +1 -1
  186. package/dist/templates/shared-hooks/guard-teamwork-wait.py +110 -12
  187. package/dist/templates/shared-hooks/index.d.ts +2 -56
  188. package/dist/templates/shared-hooks/index.d.ts.map +1 -1
  189. package/dist/templates/shared-hooks/index.js +3 -70
  190. package/dist/templates/shared-hooks/index.js.map +1 -1
  191. package/dist/templates/shared-hooks/inject-spec-context.py +6 -35
  192. package/dist/templates/shared-hooks/inject-workflow-state.py +3 -77
  193. package/dist/templates/shared-hooks/session-start.py +1 -1
  194. package/dist/templates/snow/SNOW.md +6 -18
  195. package/dist/templates/snow/hooks/write-trellis-context.py +51 -133
  196. package/dist/templates/snow/index.d.ts +2 -21
  197. package/dist/templates/snow/index.d.ts.map +1 -1
  198. package/dist/templates/snow/index.js +3 -24
  199. package/dist/templates/snow/index.js.map +1 -1
  200. package/dist/templates/template-utils.d.ts +1 -2
  201. package/dist/templates/template-utils.d.ts.map +1 -1
  202. package/dist/templates/template-utils.js +1 -11
  203. package/dist/templates/template-utils.js.map +1 -1
  204. package/dist/templates/trae/index.d.ts +2 -3
  205. package/dist/templates/trae/index.d.ts.map +1 -1
  206. package/dist/templates/trae/index.js +2 -3
  207. package/dist/templates/trae/index.js.map +1 -1
  208. package/dist/templates/trellis/config.yaml +7 -36
  209. package/dist/templates/trellis/scripts/common/config.py +1 -36
  210. package/dist/templates/trellis/scripts/common/git_context.py +3 -4
  211. package/dist/templates/trellis/scripts/common/task_context.py +3 -3
  212. package/dist/templates/trellis/scripts/common/task_store.py +1 -77
  213. package/dist/templates/trellis/scripts/common/workflow_phase.py +3 -36
  214. package/dist/templates/trellis/scripts/common/workflow_selection.py +12 -2
  215. package/dist/templates/trellis/scripts/task.py +2 -2
  216. package/dist/templates/trellis/workflow.md +1 -7
  217. package/dist/templates/zcode/config.json +0 -10
  218. package/dist/templates/zcode/index.d.ts +3 -22
  219. package/dist/templates/zcode/index.d.ts.map +1 -1
  220. package/dist/templates/zcode/index.js +3 -24
  221. package/dist/templates/zcode/index.js.map +1 -1
  222. package/dist/types/ai-tools.d.ts +0 -4
  223. package/dist/types/ai-tools.d.ts.map +1 -1
  224. package/dist/types/ai-tools.js +4 -109
  225. package/dist/types/ai-tools.js.map +1 -1
  226. package/dist/utils/ablation-store.d.ts.map +1 -1
  227. package/dist/utils/ablation-store.js +24 -0
  228. package/dist/utils/ablation-store.js.map +1 -1
  229. package/dist/utils/asset-backup.d.ts.map +1 -1
  230. package/dist/utils/asset-backup.js +3 -0
  231. package/dist/utils/asset-backup.js.map +1 -1
  232. package/dist/utils/retired-native-assets.d.ts +16 -0
  233. package/dist/utils/retired-native-assets.d.ts.map +1 -0
  234. package/dist/utils/retired-native-assets.js +234 -0
  235. package/dist/utils/retired-native-assets.js.map +1 -0
  236. package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
  237. package/dist/utils/uninstall-scrubbers.js +1 -1
  238. package/dist/utils/uninstall-scrubbers.js.map +1 -1
  239. package/package.json +2 -2
  240. package/dist/templates/claude/agents/trellis-check.md +0 -115
  241. package/dist/templates/claude/agents/trellis-implement.md +0 -110
  242. package/dist/templates/claude/agents/trellis-research.md +0 -137
  243. package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
  244. package/dist/templates/codebuddy/agents/trellis-implement.md +0 -110
  245. package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
  246. package/dist/templates/codex/agents/trellis-check.toml +0 -56
  247. package/dist/templates/codex/agents/trellis-implement.toml +0 -37
  248. package/dist/templates/codex/agents/trellis-research.toml +0 -78
  249. package/dist/templates/cursor/agents/trellis-check.md +0 -114
  250. package/dist/templates/cursor/agents/trellis-implement.md +0 -109
  251. package/dist/templates/cursor/agents/trellis-research.md +0 -136
  252. package/dist/templates/droid/droids/trellis-check.md +0 -107
  253. package/dist/templates/droid/droids/trellis-implement.md +0 -102
  254. package/dist/templates/droid/droids/trellis-research.md +0 -137
  255. package/dist/templates/dsh/agents/trellis-check.md +0 -99
  256. package/dist/templates/dsh/agents/trellis-implement.md +0 -106
  257. package/dist/templates/dsh/agents/trellis-research.md +0 -134
  258. package/dist/templates/gemini/agents/trellis-check.md +0 -107
  259. package/dist/templates/gemini/agents/trellis-implement.md +0 -102
  260. package/dist/templates/gemini/agents/trellis-research.md +0 -136
  261. package/dist/templates/grok/agents/trellis-check.md +0 -105
  262. package/dist/templates/grok/agents/trellis-implement.md +0 -116
  263. package/dist/templates/grok/agents/trellis-research.md +0 -146
  264. package/dist/templates/grok/index.d.ts +0 -16
  265. package/dist/templates/grok/index.d.ts.map +0 -1
  266. package/dist/templates/grok/index.js +0 -19
  267. package/dist/templates/grok/index.js.map +0 -1
  268. package/dist/templates/kimi/agents/trellis-check.md +0 -103
  269. package/dist/templates/kimi/agents/trellis-implement.md +0 -115
  270. package/dist/templates/kimi/agents/trellis-research.md +0 -144
  271. package/dist/templates/kimi/index.d.ts +0 -20
  272. package/dist/templates/kimi/index.d.ts.map +0 -1
  273. package/dist/templates/kimi/index.js +0 -23
  274. package/dist/templates/kimi/index.js.map +0 -1
  275. package/dist/templates/kiro/agents/trellis-check.json +0 -26
  276. package/dist/templates/kiro/agents/trellis-implement.json +0 -26
  277. package/dist/templates/kiro/agents/trellis-research.json +0 -30
  278. package/dist/templates/omp/agents/trellis-check.md +0 -41
  279. package/dist/templates/omp/agents/trellis-implement.md +0 -45
  280. package/dist/templates/omp/agents/trellis-research.md +0 -30
  281. package/dist/templates/opencode/agents/trellis-check.md +0 -122
  282. package/dist/templates/opencode/agents/trellis-implement.md +0 -118
  283. package/dist/templates/opencode/agents/trellis-research.md +0 -145
  284. package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
  285. package/dist/templates/pi/agents/trellis-check.md +0 -37
  286. package/dist/templates/pi/agents/trellis-implement.md +0 -42
  287. package/dist/templates/pi/agents/trellis-research.md +0 -25
  288. package/dist/templates/qoder/agents/trellis-check.md +0 -108
  289. package/dist/templates/qoder/agents/trellis-implement.md +0 -103
  290. package/dist/templates/qoder/agents/trellis-research.md +0 -137
  291. package/dist/templates/reasonix/agents/trellis-check.md +0 -36
  292. package/dist/templates/reasonix/agents/trellis-implement.md +0 -41
  293. package/dist/templates/reasonix/index.d.ts +0 -13
  294. package/dist/templates/reasonix/index.d.ts.map +0 -1
  295. package/dist/templates/reasonix/index.js +0 -16
  296. package/dist/templates/reasonix/index.js.map +0 -1
  297. package/dist/templates/shared-hooks/inject-subagent-context.py +0 -1217
  298. package/dist/templates/snow/agents/trellis-check.md +0 -135
  299. package/dist/templates/snow/agents/trellis-implement.md +0 -153
  300. package/dist/templates/snow/agents/trellis-research.md +0 -114
  301. package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
  302. package/dist/templates/trae/agents/trellis-check.md +0 -108
  303. package/dist/templates/trae/agents/trellis-implement.md +0 -103
  304. package/dist/templates/trae/agents/trellis-research.md +0 -137
  305. package/dist/templates/zcode/agents/trellis-check.md +0 -109
  306. package/dist/templates/zcode/agents/trellis-implement.md +0 -111
  307. package/dist/templates/zcode/agents/trellis-research.md +0 -133
@@ -1,24 +1,4 @@
1
- /**
2
- * Kimi Code configurator.
3
- *
4
- * Kimi Code is a class-2 pull-based platform (agentCapable, no hooks, no
5
- * project-level settings/extensions). Two output paths:
6
- * - `.agents/skills/` — workflow + bundled skills, written via the NEUTRAL
7
- * resolver so the files stay byte-identical to Codex/Gemini/Pi writes into
8
- * the same shared root (Kimi discovers `.agents/skills/` natively).
9
- * - `.kimi-code/skills/` — Kimi-private entry points: the user-invocable
10
- * commands as skills (`/skill:trellis-start`, `/skill:trellis-continue`,
11
- * `/skill:trellis-finish-work`) plus the Trellis agent prompts
12
- * (trellis-implement / trellis-check / trellis-research) with the
13
- * pull-based prelude on implement/check.
14
- * - `.kimi-code/agents/` — the same Trellis agent prompts as project-level
15
- * custom sub-agent definitions (Claude Code-compatible frontmatter), so
16
- * the main session can dispatch `trellis-<name>` sub-agents directly.
17
- *
18
- * Trellis does not generate project-local Kimi settings or hooks.
19
- * Project-local Kimi settings go in `.kimi-code/local.toml`; hooks are
20
- * configured in `$KIMI_CODE_HOME/config.toml`.
21
- */
1
+ /** Main-session platform assets and native context entry points. */
22
2
  /**
23
3
  * The Kimi Code file set — written at init and diffed by `trellis update`.
24
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../src/configurators/kimi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAuCH;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAgC1D"}
1
+ {"version":3,"file":"kimi.d.ts","sourceRoot":"","sources":["../../src/configurators/kimi.ts"],"names":[],"mappings":"AAAA,oEAAoE;AA8BpE;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAoB1D"}
@@ -1,27 +1,6 @@
1
- /**
2
- * Kimi Code configurator.
3
- *
4
- * Kimi Code is a class-2 pull-based platform (agentCapable, no hooks, no
5
- * project-level settings/extensions). Two output paths:
6
- * - `.agents/skills/` — workflow + bundled skills, written via the NEUTRAL
7
- * resolver so the files stay byte-identical to Codex/Gemini/Pi writes into
8
- * the same shared root (Kimi discovers `.agents/skills/` natively).
9
- * - `.kimi-code/skills/` — Kimi-private entry points: the user-invocable
10
- * commands as skills (`/skill:trellis-start`, `/skill:trellis-continue`,
11
- * `/skill:trellis-finish-work`) plus the Trellis agent prompts
12
- * (trellis-implement / trellis-check / trellis-research) with the
13
- * pull-based prelude on implement/check.
14
- * - `.kimi-code/agents/` — the same Trellis agent prompts as project-level
15
- * custom sub-agent definitions (Claude Code-compatible frontmatter), so
16
- * the main session can dispatch `trellis-<name>` sub-agents directly.
17
- *
18
- * Trellis does not generate project-local Kimi settings or hooks.
19
- * Project-local Kimi settings go in `.kimi-code/local.toml`; hooks are
20
- * configured in `$KIMI_CODE_HOME/config.toml`.
21
- */
1
+ /** Main-session platform assets and native context entry points. */
22
2
  import { AI_TOOLS } from "../types/ai-tools.js";
23
- import { getAllAgents } from "../templates/kimi/index.js";
24
- import { applyPullBasedPreludeMarkdown, collectSkillTemplates, resolveAllAsSkills, resolveBundledSkills, resolveSkillsNeutral, } from "./shared.js";
3
+ import { collectSkillTemplates, resolveAllAsSkills, resolveBundledSkills, resolveSkillsNeutral, } from "./shared.js";
25
4
  /**
26
5
  * Command templates that become user-invocable Kimi skills
27
6
  * (`/skill:trellis-<name>`). Kimi has no slash-command mechanism besides
@@ -38,11 +17,6 @@ function resolveKimiCommandSkills() {
38
17
  const ctx = AI_TOOLS.kimi.templateContext;
39
18
  return resolveAllAsSkills(ctx).filter((skill) => KIMI_COMMAND_SKILL_NAMES.has(skill.name));
40
19
  }
41
- /** Trellis agent prompts as Kimi skills (and `.kimi-code/agents/` sub-agent
42
- * definitions), with the pull-based prelude on implement/check. */
43
- function resolveKimiAgentSkills() {
44
- return applyPullBasedPreludeMarkdown(getAllAgents());
45
- }
46
20
  /**
47
21
  * The Kimi Code file set — written at init and diffed by `trellis update`.
48
22
  */
@@ -54,21 +28,11 @@ export function collectKimiTemplates() {
54
28
  for (const [filePath, content] of collectSkillTemplates(".agents/skills", resolveSkillsNeutral(ctx), resolveBundledSkills(ctx))) {
55
29
  files.set(filePath, content);
56
30
  }
57
- // 2. Commands-as-skills + Trellis agent prompts → `.kimi-code/skills/`.
58
- const agentPrompts = resolveKimiAgentSkills();
59
31
  for (const [filePath, content] of collectSkillTemplates(".kimi-code/skills", [
60
32
  ...resolveKimiCommandSkills(),
61
- ...agentPrompts,
62
33
  ])) {
63
34
  files.set(filePath, content);
64
35
  }
65
- // 3. Custom sub-agent definitions → `.kimi-code/agents/`. Kimi Code
66
- // discovers project-level agents there (Claude Code-compatible
67
- // frontmatter); content mirrors the skill copies, pull-based prelude
68
- // included, so dispatching `trellis-<name>` directly behaves the same.
69
- for (const agent of agentPrompts) {
70
- files.set(`.kimi-code/agents/${agent.name}.md`, agent.content);
71
- }
72
36
  return files;
73
37
  }
74
38
  //# sourceMappingURL=kimi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kimi.js","sourceRoot":"","sources":["../../src/configurators/kimi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,GAErB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAC;IACvC,eAAe;IACf,kBAAkB;IAClB,qBAAqB;CACtB,CAAC,CAAC;AAEH;+EAC+E;AAC/E,SAAS,wBAAwB;IAC/B,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC;IAC1C,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAC9C,wBAAwB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CACzC,CAAC;AACJ,CAAC;AAED;oEACoE;AACpE,SAAS,sBAAsB;IAC7B,OAAO,6BAA6B,CAAC,YAAY,EAAE,CAAC,CAAC;AACvD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC;IAC1C,MAA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AC/B,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC;IAC1C,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAC9C,wBAAwB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CACzC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;IAExC,mEAAmE;IACnE,2DAA2D;IAC3D,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,qBAAqB,CACrD,gBAAgB,EAChB,oBAAoB,CAAC,GAAG,CAAC,EACzB,oBAAoB,CAAC,GAAG,CAAC,CAC1B,EAAE,CAAC;QACF,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IACD,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,qBAAqB,CAAC,mBAAmB,EAAE;QAC3E,GAAG,wBAAwB,EAAE;KAC9B,CAAC,EAAE,CAAC;QACH,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -1,11 +1,3 @@
1
- /**
2
- * The Kiro Code file set — written at init and diffed by `trellis update`.
3
- * Kiro's configDir is ".kiro/skills"; agents and hooks go under ".kiro/".
4
- * - skills/trellis-{name}/SKILL.md — all templates as auto-triggered skills
5
- * - agents/{name}.json — main `trellis` agent (per-turn workflow-state +
6
- * session-start hooks) plus 3 sub-agents (agentSpawn → inject-subagent-context)
7
- * - hooks/*.py — shared hook scripts (referenced by agent JSON / .kiro.hook)
8
- * - hooks/*.kiro.hook — IDE hook definitions (promptSubmit → inject-workflow-state)
9
- */
1
+ /** Main-session platform assets and native context entry points. */
10
2
  export declare function collectKiroTemplates(): Map<string, string>;
11
3
  //# sourceMappingURL=kiro.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kiro.d.ts","sourceRoot":"","sources":["../../src/configurators/kiro.ts"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAuB1D"}
1
+ {"version":3,"file":"kiro.d.ts","sourceRoot":"","sources":["../../src/configurators/kiro.ts"],"names":[],"mappings":"AAUA,oEAAoE;AACpE,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAuB1D"}
@@ -1,15 +1,7 @@
1
1
  import { AI_TOOLS } from "../types/ai-tools.js";
2
2
  import { resolvePlaceholders, resolveAllAsSkills, resolveBundledSkills, collectSkillTemplates, collectSharedHooks, } from "./shared.js";
3
3
  import { getAllAgents, getIdeHooks } from "../templates/kiro/index.js";
4
- /**
5
- * The Kiro Code file set — written at init and diffed by `trellis update`.
6
- * Kiro's configDir is ".kiro/skills"; agents and hooks go under ".kiro/".
7
- * - skills/trellis-{name}/SKILL.md — all templates as auto-triggered skills
8
- * - agents/{name}.json — main `trellis` agent (per-turn workflow-state +
9
- * session-start hooks) plus 3 sub-agents (agentSpawn → inject-subagent-context)
10
- * - hooks/*.py — shared hook scripts (referenced by agent JSON / .kiro.hook)
11
- * - hooks/*.kiro.hook — IDE hook definitions (promptSubmit → inject-workflow-state)
12
- */
4
+ /** Main-session platform assets and native context entry points. */
13
5
  export function collectKiroTemplates() {
14
6
  const files = new Map();
15
7
  const ctx = AI_TOOLS.kiro.templateContext;
@@ -1 +1 @@
1
- {"version":3,"file":"kiro.js","sourceRoot":"","sources":["../../src/configurators/kiro.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,mBAAmB,EACnB,kBAAkB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,wBAAgB,mBAAmB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAkCzD"}
1
+ {"version":3,"file":"omp.d.ts","sourceRoot":"","sources":["../../src/configurators/omp.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA6BzD"}
@@ -1,6 +1,6 @@
1
1
  import { AI_TOOLS } from "../types/ai-tools.js";
2
2
  import { collectSkillTemplates, replacePythonCommandLiterals, resolveCommands, resolveBundledSkills, resolveSkills, wrapWithOmpFrontmatter, } from "./shared.js";
3
- import { getAllAgents, getExtensionTemplate } from "../templates/omp/index.js";
3
+ import { getExtensionTemplate } from "../templates/omp/index.js";
4
4
  /**
5
5
  * The OMP file set — written at init and diffed by `trellis update`.
6
6
  * OMP has no settings.json — the native provider auto-discovers all capabilities.
@@ -17,10 +17,6 @@ export function collectOmpTemplates() {
17
17
  for (const [filePath, content] of collectSkillTemplates(".omp/skills", resolveSkills(ctx), resolveBundledSkills(ctx))) {
18
18
  files.set(filePath, content);
19
19
  }
20
- // Agents (class-1: no pull-based prelude)
21
- for (const agent of getAllAgents()) {
22
- files.set(`.omp/agents/${agent.name}.md`, agent.content);
23
- }
24
20
  // Extension
25
21
  files.set(".omp/extensions/trellis/index.ts", replacePythonCommandLiterals(getExtensionTemplate()));
26
22
  return files;
@@ -1 +1 @@
1
- {"version":3,"file":"omp.js","sourceRoot":"","sources":["../../src/configurators/omp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,sBAAsB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE/E;;;GAGG;AACH,MAAM,UAAU,mBAAmB;IACjC,MAAM,MA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AGG;AACH,MAAM,UAAU,mBAAmB;IACjC,MAAM,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC;IAC5B,MAAM,GAAG,GAAG,MAAM,CAAC,eAAe,CAAC;IACnC,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;IAExC,4BAA4B;IAC5B,KAAK,MAAM,OAAO,IAAI,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3C,KAAK,CAAC,GAAG,CACP,yBAAyB,OAAO,CAAC,IAAI,KAAK,EAC1C,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CACtD,CAAC;IACJ,CAAC;IAED,wBAAwB;IACxB,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,qBAAqB,CACrD,aAAa,EACb,aAAa,CAAC,GAAG,CAAC,EAClB,oBAAoB,CAAC,GAAG,CAAC,CAC1B,EAAE,CAAC;QACF,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,YAAY;IACZ,KAAK,CAAC,GAAG,CACP,kCAAkC,EAClC,4BAA4B,CAAC,oBAAoB,EAAE,CAAC,CACrD,CAAC;IAEF,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pi.d.ts","sourceRoot":"","sources":["../../src/configurators/pi.ts"],"names":[],"mappings":"AA6BA;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAiCxD"}
1
+ {"version":3,"file":"pi.d.ts","sourceRoot":"","sources":["../../src/configurators/pi.ts"],"names":[],"mappings":"AA2BA;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA6BxD"}
@@ -1,6 +1,6 @@
1
1
  import { AI_TOOLS } from "../types/ai-tools.js";
2
- import { applyPullBasedPreludeMarkdown, collectSkillTemplates, resolveCommands, resolveBundledSkills, resolvePlaceholders, resolveSkillsNeutral, } from "./shared.js";
3
- import { getAllAgents, getExtensionTemplate, getSettingsTemplate, } from "../templates/pi/index.js";
2
+ import { collectSkillTemplates, resolveCommands, resolveBundledSkills, resolvePlaceholders, resolveSkillsNeutral, } from "./shared.js";
3
+ import { getExtensionTemplate, getSettingsTemplate, } from "../templates/pi/index.js";
4
4
  function resolvePiCommands() {
5
5
  const ctx = AI_TOOLS.pi.templateContext;
6
6
  const commands = resolveCommands(ctx);
@@ -28,9 +28,6 @@ export function collectPiTemplates() {
28
28
  for (const [filePath, content] of collectSkillTemplates(".agents/skills", resolveSkillsNeutral(ctx), resolveBundledSkills(ctx))) {
29
29
  files.set(filePath, content);
30
30
  }
31
- for (const agent of applyPullBasedPreludeMarkdown(getAllAgents())) {
32
- files.set(`.pi/agents/${agent.name}.md`, agent.content);
33
- }
34
31
  files.set(".pi/extensions/trellis/index.ts", getExtensionTemplate());
35
32
  const settings = getSettingsTemplate();
36
33
  files.set(`.pi/${settings.targetPath}`, resolvePlaceholders(settings.content));
@@ -1 +1 @@
1
- {"version":3,"file":"pi.js","sourceRoot":"","sources":["../../src/configurators/pi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAElC,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,QAAQ,CAAC,EAAE,CAAC,eAAe,CAAC;IACxC,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACtC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO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,CAAC,EAAE,CAAC,eAAe,CAAC;IAExC,KAAK,MAAM,OAAO,IAAI,iBAAiB,EAAE,EAAE,CAAC;QAC1C,KAAK,CAAC,GAAG,CAAC,uBAAuB,OAAO,CAAC,IAAI,KAAK,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACvE,CAAC;IAED,0EAA0E;IAC1E,2EAA2E;IAC3E,oEAAoE;IACpE,yDAAyD;IACzD,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,qBAAqB,CACrD,gBAAgB,EAChB,oBAAoB,CAAC,GAAG,CAAC,EACzB,oBAAoB,CAAC,GAAG,CAAC,CAC1B,EAAE,CAAC;QACF,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,GAAG,CAAC,iCAAiC,EAAE,oBAAoB,EAAE,CAAC,CAAC;IAErE,MAAM,QAAQ,GAAG,mBAAmB,EAAE,CAAC;IACvC,KAAK,CAAC,GAAG,CACP,OAAO,QAAQ,CAAC,UAAU,EAAE,EAC5B,mBAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,CACtC,CAAC;IAEF,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -1,12 +1,3 @@
1
- /**
2
- * The Qoder file set — written at init and diffed by `trellis update`.
3
- *
4
- * Qoder is a pull-based class-2 platform. Custom Commands require YAML
5
- * frontmatter with `name` + `description` and use a flat layout, so
6
- * session-boundary commands get wrapped via `wrapWithCommandFrontmatter`;
7
- * auto-trigger workflows stay as plain skills. `inject-subagent-context.py` is
8
- * excluded because Qoder's hook can't inject sub-agent prompts — sub-agents
9
- * pull task context themselves.
10
- */
1
+ /** Main-session platform assets and native context entry points. */
11
2
  export declare function collectQoderTemplates(): Map<string, string>;
12
3
  //# sourceMappingURL=qoder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"qoder.d.ts","sourceRoot":"","sources":["../../src/configurators/qoder.ts"],"names":[],"mappings":"AAWA;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAsB3D"}
1
+ {"version":3,"file":"qoder.d.ts","sourceRoot":"","sources":["../../src/configurators/qoder.ts"],"names":[],"mappings":"AAUA,oEAAoE;AACpE,wBAAgB,qBAAqB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAmB3D"}
@@ -1,25 +1,13 @@
1
1
  import path from "node:path";
2
2
  import { AI_TOOLS } from "../types/ai-tools.js";
3
- import { resolvePlaceholders, wrapWithCommandFrontmatter, collectBothTemplates, collectSharedHooks, applyPullBasedPreludeMarkdown, } from "./shared.js";
4
- import { getAllAgents, getSettingsTemplate } from "../templates/qoder/index.js";
5
- /**
6
- * The Qoder file set — written at init and diffed by `trellis update`.
7
- *
8
- * Qoder is a pull-based class-2 platform. Custom Commands require YAML
9
- * frontmatter with `name` + `description` and use a flat layout, so
10
- * session-boundary commands get wrapped via `wrapWithCommandFrontmatter`;
11
- * auto-trigger workflows stay as plain skills. `inject-subagent-context.py` is
12
- * excluded because Qoder's hook can't inject sub-agent prompts — sub-agents
13
- * pull task context themselves.
14
- */
3
+ import { resolvePlaceholders, wrapWithCommandFrontmatter, collectBothTemplates, collectSharedHooks, } from "./shared.js";
4
+ import { getSettingsTemplate } from "../templates/qoder/index.js";
5
+ /** Main-session platform assets and native context entry points. */
15
6
  export function collectQoderTemplates() {
16
7
  const files = collectBothTemplates(AI_TOOLS.qoder.templateContext, (n) => `.qoder/commands/trellis-${n}.md`, ".qoder/skills", (filePath, content) => {
17
8
  const name = path.basename(filePath, ".md");
18
9
  return wrapWithCommandFrontmatter(name, content);
19
10
  });
20
- for (const agent of applyPullBasedPreludeMarkdown(getAllAgents())) {
21
- files.set(`.qoder/agents/${agent.name}.md`, agent.content);
22
- }
23
11
  for (const [k, v] of collectSharedHooks(".qoder/hooks", "qoder")) {
24
12
  files.set(k, v);
25
13
  }
@@ -1 +1 @@
1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AC,CACtC,CAAC;IACF,OAAO,KAAK,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"qoder.js","sourceRoot":"","sources":["../../src/configurators/qoder.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,oEAAoE;AACpE,MAAM,UAAU,qBAAqB;IACnC,MAAM,KAAK,GAAG,oBAAoB,CAChC,QAAQ,CAAC,KAAK,CAAC,eAAe,EAC9B,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,EACxC,eAAe,EACf,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE;QACpB,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QAC5C,OAAO,0BAA0B,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC,CACF,CAAC;IACF,KAAK,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,kBAAkB,CAAC,cAAc,EAAE,OAAO,CAAC,EAAE,CAAC;QACjE,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,mBAAmB,EAAE,CAAC;IACvC,KAAK,CAAC,GAAG,CACP,UAAU,QAAQ,CAAC,UAAU,EAAE,EAC/B,mBAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC,CACtC,CAAC;IACF,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -1,15 +1,4 @@
1
- /**
2
- * Reasonix configurator.
3
- *
4
- * Reasonix (DeepSeek-Reasonix) stores skills as `.reasonix/skills/<name>/SKILL.md`
5
- * with YAML frontmatter (name + description). Slash commands are code-built-in,
6
- * so no commands directory is generated.
7
- *
8
- * Workflow templates are surfaced as skills with `trellis-` prefix (invocable
9
- * via `/skill trellis-start`, `/skill trellis-continue`, etc.).
10
- * Subagent skills (trellis-implement, trellis-check) use `runAs: subagent`
11
- * frontmatter so Reasonix spawns them as isolated subagent loops.
12
- */
1
+ /** Main-session platform assets and native context entry points. */
13
2
  /**
14
3
  * The Reasonix file set — written at init and diffed by `trellis update`.
15
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"reasonix.d.ts","sourceRoot":"","sources":["../../src/configurators/reasonix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAUH;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA0B9D"}
1
+ {"version":3,"file":"reasonix.d.ts","sourceRoot":"","sources":["../../src/configurators/reasonix.ts"],"names":[],"mappings":"AAAA,oEAAoE;AASpE;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAiB9D"}
@@ -1,17 +1,5 @@
1
- /**
2
- * Reasonix configurator.
3
- *
4
- * Reasonix (DeepSeek-Reasonix) stores skills as `.reasonix/skills/<name>/SKILL.md`
5
- * with YAML frontmatter (name + description). Slash commands are code-built-in,
6
- * so no commands directory is generated.
7
- *
8
- * Workflow templates are surfaced as skills with `trellis-` prefix (invocable
9
- * via `/skill trellis-start`, `/skill trellis-continue`, etc.).
10
- * Subagent skills (trellis-implement, trellis-check) use `runAs: subagent`
11
- * frontmatter so Reasonix spawns them as isolated subagent loops.
12
- */
1
+ /** Main-session platform assets and native context entry points. */
13
2
  import { AI_TOOLS } from "../types/ai-tools.js";
14
- import { getAllAgents } from "../templates/reasonix/index.js";
15
3
  import { collectSkillTemplates, resolveAllAsSkills, resolveBundledSkills, } from "./shared.js";
16
4
  /**
17
5
  * The Reasonix file set — written at init and diffed by `trellis update`.
@@ -20,18 +8,11 @@ export function collectReasonixTemplates() {
20
8
  const config = AI_TOOLS.reasonix;
21
9
  const ctx = config.templateContext;
22
10
  const files = new Map();
23
- // Subagent skill names that replace common-skill equivalents.
24
- const agentNames = new Set(getAllAgents().map((a) => a.name));
25
- // Workflow skills filtered to avoid collision with subagent skills.
26
- const skills = resolveAllAsSkills(ctx).filter((s) => !agentNames.has(s.name));
11
+ // The ordinary check method shares its historical role path.
12
+ const skills = resolveAllAsSkills(ctx);
27
13
  for (const [filePath, content] of collectSkillTemplates(".reasonix/skills", skills, resolveBundledSkills(ctx))) {
28
14
  files.set(filePath, content);
29
15
  }
30
- // Subagent skills (trellis-implement, trellis-check) — written with
31
- // runAs: subagent frontmatter for isolated subagent loops.
32
- for (const agent of getAllAgents()) {
33
- files.set(`.reasonix/skills/${agent.name}/SKILL.md`, agent.content);
34
- }
35
16
  return files;
36
17
  }
37
18
  //# sourceMappingURL=reasonix.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reasonix.js","sourceRoot":"","sources":["../../src/configurators/reasonix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,MAAM,UAAU,wBAAwB;IACtC,MAAM,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC;IACjC,MAAM,GAAG,GAAG,MAAM,CAAC,eAAe,CAAC;IACnC,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;IAExC,8DAA8D;IAC9D,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAE9D,oEAAoE;IAC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,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -58,7 +58,7 @@ export declare function resolvePlaceholders(content: string, context?: TemplateC
58
58
  * "last-writer-wins" collision when both Codex and Gemini target
59
59
  * `.agents/skills/`.
60
60
  *
61
- * `{{CLI_FLAG}}`, `{{EXECUTOR_AI}}`, `{{USER_ACTION_LABEL}}`, conditionals,
61
+ * `{{CLI_FLAG}}`, `{{USER_ACTION_LABEL}}`, conditionals,
62
62
  * and `{{PYTHON_CMD}}` are still resolved from the platform context. The
63
63
  * shared skills do not use those placeholders, so they remain platform-
64
64
  * neutral. Codex-only skill files (e.g. `trellis-continue/SKILL.md`,
@@ -161,27 +161,4 @@ export declare function collectSharedHooks(hooksPath: string, platform: SharedHo
161
161
  /** Collect commands + skills for "both" platforms (a commands directory plus
162
162
  * a skills root). */
163
163
  export declare function collectBothTemplates(ctx: TemplateContext, cmdPath: (name: string) => string, skillRoot: string, wrapCmd?: (filePath: string, content: string) => string): Map<string, string>;
164
- export type SubAgentType = "implement" | "check";
165
- /** Build the standard "load Trellis context first" prelude block. */
166
- export declare function buildPullBasedPrelude(agentType: SubAgentType): string;
167
- /** Insert prelude into a markdown agent definition (after YAML frontmatter). */
168
- export declare function injectPullBasedPreludeMarkdown(content: string, agentType: SubAgentType): string;
169
- /** Insert prelude into a TOML agent (codex `developer_instructions`). */
170
- export declare function injectPullBasedPreludeToml(content: string, agentType: SubAgentType): string;
171
- /** Best-effort detect agent type from filename ("trellis-implement.md" → "implement").
172
- * Returns null for research and unknown names — they skip the prelude.
173
- */
174
- export declare function detectSubAgentType(name: string): SubAgentType | null;
175
- /** Shared transform: given a list of agents, prepend pull-based prelude to
176
- * implement/check definitions. Used by both configurator (init-time write)
177
- * and collectPlatformTemplates (update-time hash comparison) so the two
178
- * code paths always agree on what's on disk.
179
- */
180
- export interface AgentContent {
181
- name: string;
182
- content: string;
183
- }
184
- export declare function applyPullBasedPreludeMarkdown(agents: readonly AgentContent[]): AgentContent[];
185
- export declare function normalizeCopilotMarkdownAgents(agents: readonly AgentContent[]): AgentContent[];
186
- export declare function applyPullBasedPreludeToml(agents: readonly AgentContent[]): AgentContent[];
187
164
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/configurators/shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAiBD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAG1D;AAED,iEAAiE;AACjE,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,GACzB,MAAM,CAMR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CASpE;AA2CD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,eAAe,GACxB,MAAM,CAoCR;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,eAAe,GACxB,MAAM,CAmCR;AA0BD;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,MAAM,CAUR;AAYD,gFAAgF;AAChF,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,MAAM,CAeR;AAUD;;;;;GAKG;AACH,wBAAgB,sB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