@localix-ai/agent-plugins 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6379) hide show
  1. package/CHANGELOG.md +3453 -0
  2. package/LICENSE +21 -0
  3. package/README.md +188 -2
  4. package/dist/agents/builtin-model.d.ts +16 -0
  5. package/dist/agents/builtin-model.d.ts.map +1 -0
  6. package/dist/agents/builtin-model.js +44 -0
  7. package/dist/agents/builtin-model.js.map +1 -0
  8. package/dist/agents/catalog/builtin.d.ts +23 -0
  9. package/dist/agents/catalog/builtin.d.ts.map +1 -0
  10. package/dist/agents/catalog/builtin.js +85 -0
  11. package/dist/agents/catalog/builtin.js.map +1 -0
  12. package/dist/agents/catalog/index.d.ts +8 -0
  13. package/dist/agents/catalog/index.d.ts.map +1 -0
  14. package/dist/agents/catalog/index.js +8 -0
  15. package/dist/agents/catalog/index.js.map +1 -0
  16. package/dist/agents/catalog/invoke.d.ts +87 -0
  17. package/dist/agents/catalog/invoke.d.ts.map +1 -0
  18. package/dist/agents/catalog/invoke.js +143 -0
  19. package/dist/agents/catalog/invoke.js.map +1 -0
  20. package/dist/agents/catalog/resolve.d.ts +58 -0
  21. package/dist/agents/catalog/resolve.d.ts.map +1 -0
  22. package/dist/agents/catalog/resolve.js +132 -0
  23. package/dist/agents/catalog/resolve.js.map +1 -0
  24. package/dist/agents/catalog/scan.d.ts +43 -0
  25. package/dist/agents/catalog/scan.d.ts.map +1 -0
  26. package/dist/agents/catalog/scan.js +85 -0
  27. package/dist/agents/catalog/scan.js.map +1 -0
  28. package/dist/agents/catalog/scopes.d.ts +33 -0
  29. package/dist/agents/catalog/scopes.d.ts.map +1 -0
  30. package/dist/agents/catalog/scopes.js +40 -0
  31. package/dist/agents/catalog/scopes.js.map +1 -0
  32. package/dist/agents/catalog/spawn.d.ts +76 -0
  33. package/dist/agents/catalog/spawn.d.ts.map +1 -0
  34. package/dist/agents/catalog/spawn.js +85 -0
  35. package/dist/agents/catalog/spawn.js.map +1 -0
  36. package/dist/agents/catalog/types.d.ts +57 -0
  37. package/dist/agents/catalog/types.d.ts.map +1 -0
  38. package/dist/agents/catalog/types.js +43 -0
  39. package/dist/agents/catalog/types.js.map +1 -0
  40. package/dist/agents/handback-denial.d.ts +16 -0
  41. package/dist/agents/handback-denial.d.ts.map +1 -0
  42. package/dist/agents/handback-denial.js +11 -0
  43. package/dist/agents/handback-denial.js.map +1 -0
  44. package/dist/agents/hooks.d.ts +53 -0
  45. package/dist/agents/hooks.d.ts.map +1 -0
  46. package/dist/agents/hooks.js +137 -0
  47. package/dist/agents/hooks.js.map +1 -0
  48. package/dist/agents/index.d.ts +20 -0
  49. package/dist/agents/index.d.ts.map +1 -0
  50. package/dist/agents/index.js +20 -0
  51. package/dist/agents/index.js.map +1 -0
  52. package/dist/agents/launch-model.d.ts +77 -0
  53. package/dist/agents/launch-model.d.ts.map +1 -0
  54. package/dist/agents/launch-model.js +85 -0
  55. package/dist/agents/launch-model.js.map +1 -0
  56. package/dist/agents/launch.d.ts +103 -0
  57. package/dist/agents/launch.d.ts.map +1 -0
  58. package/dist/agents/launch.js +111 -0
  59. package/dist/agents/launch.js.map +1 -0
  60. package/dist/agents/mcp-scope.d.ts +101 -0
  61. package/dist/agents/mcp-scope.d.ts.map +1 -0
  62. package/dist/agents/mcp-scope.js +112 -0
  63. package/dist/agents/mcp-scope.js.map +1 -0
  64. package/dist/agents/memory.d.ts +42 -0
  65. package/dist/agents/memory.d.ts.map +1 -0
  66. package/dist/agents/memory.js +98 -0
  67. package/dist/agents/memory.js.map +1 -0
  68. package/dist/agents/model-choice.d.ts +45 -0
  69. package/dist/agents/model-choice.d.ts.map +1 -0
  70. package/dist/agents/model-choice.js +43 -0
  71. package/dist/agents/model-choice.js.map +1 -0
  72. package/dist/agents/model-value.d.ts +28 -0
  73. package/dist/agents/model-value.d.ts.map +1 -0
  74. package/dist/agents/model-value.js +31 -0
  75. package/dist/agents/model-value.js.map +1 -0
  76. package/dist/agents/permission-baseline.d.ts +23 -0
  77. package/dist/agents/permission-baseline.d.ts.map +1 -0
  78. package/dist/agents/permission-baseline.js +57 -0
  79. package/dist/agents/permission-baseline.js.map +1 -0
  80. package/dist/agents/permission-mode.d.ts +41 -0
  81. package/dist/agents/permission-mode.d.ts.map +1 -0
  82. package/dist/agents/permission-mode.js +49 -0
  83. package/dist/agents/permission-mode.js.map +1 -0
  84. package/dist/agents/preload-skills.d.ts +30 -0
  85. package/dist/agents/preload-skills.d.ts.map +1 -0
  86. package/dist/agents/preload-skills.js +30 -0
  87. package/dist/agents/preload-skills.js.map +1 -0
  88. package/dist/agents/prompt-surface.d.ts +17 -0
  89. package/dist/agents/prompt-surface.d.ts.map +1 -0
  90. package/dist/agents/prompt-surface.js +12 -0
  91. package/dist/agents/prompt-surface.js.map +1 -0
  92. package/dist/agents/subagent-permission.d.ts +31 -0
  93. package/dist/agents/subagent-permission.d.ts.map +1 -0
  94. package/dist/agents/subagent-permission.js +30 -0
  95. package/dist/agents/subagent-permission.js.map +1 -0
  96. package/dist/agents/teammate.d.ts +60 -0
  97. package/dist/agents/teammate.d.ts.map +1 -0
  98. package/dist/agents/teammate.js +65 -0
  99. package/dist/agents/teammate.js.map +1 -0
  100. package/dist/agents/tool-filters.d.ts +38 -0
  101. package/dist/agents/tool-filters.d.ts.map +1 -0
  102. package/dist/agents/tool-filters.js +71 -0
  103. package/dist/agents/tool-filters.js.map +1 -0
  104. package/dist/agents/tool-list.d.ts +30 -0
  105. package/dist/agents/tool-list.d.ts.map +1 -0
  106. package/dist/agents/tool-list.js +41 -0
  107. package/dist/agents/tool-list.js.map +1 -0
  108. package/dist/agents/tool-resolution.d.ts +53 -0
  109. package/dist/agents/tool-resolution.d.ts.map +1 -0
  110. package/dist/agents/tool-resolution.js +127 -0
  111. package/dist/agents/tool-resolution.js.map +1 -0
  112. package/dist/agents/workflow/args.d.ts +20 -0
  113. package/dist/agents/workflow/args.d.ts.map +1 -0
  114. package/dist/agents/workflow/args.js +19 -0
  115. package/dist/agents/workflow/args.js.map +1 -0
  116. package/dist/agents/workflow/attempts.d.ts +79 -0
  117. package/dist/agents/workflow/attempts.d.ts.map +1 -0
  118. package/dist/agents/workflow/attempts.js +110 -0
  119. package/dist/agents/workflow/attempts.js.map +1 -0
  120. package/dist/agents/workflow/index.d.ts +11 -0
  121. package/dist/agents/workflow/index.d.ts.map +1 -0
  122. package/dist/agents/workflow/index.js +11 -0
  123. package/dist/agents/workflow/index.js.map +1 -0
  124. package/dist/agents/workflow/limits.d.ts +42 -0
  125. package/dist/agents/workflow/limits.d.ts.map +1 -0
  126. package/dist/agents/workflow/limits.js +69 -0
  127. package/dist/agents/workflow/limits.js.map +1 -0
  128. package/dist/agents/workflow/relaunch.d.ts +58 -0
  129. package/dist/agents/workflow/relaunch.d.ts.map +1 -0
  130. package/dist/agents/workflow/relaunch.js +57 -0
  131. package/dist/agents/workflow/relaunch.js.map +1 -0
  132. package/dist/agents/workflow/replay.d.ts +65 -0
  133. package/dist/agents/workflow/replay.d.ts.map +1 -0
  134. package/dist/agents/workflow/replay.js +84 -0
  135. package/dist/agents/workflow/replay.js.map +1 -0
  136. package/dist/agents/workflow/saved-scan.d.ts +22 -0
  137. package/dist/agents/workflow/saved-scan.d.ts.map +1 -0
  138. package/dist/agents/workflow/saved-scan.js +68 -0
  139. package/dist/agents/workflow/saved-scan.js.map +1 -0
  140. package/dist/agents/workflow/saved.d.ts +69 -0
  141. package/dist/agents/workflow/saved.d.ts.map +1 -0
  142. package/dist/agents/workflow/saved.js +77 -0
  143. package/dist/agents/workflow/saved.js.map +1 -0
  144. package/dist/agents/workflow/structured-output.d.ts +27 -0
  145. package/dist/agents/workflow/structured-output.d.ts.map +1 -0
  146. package/dist/agents/workflow/structured-output.js +91 -0
  147. package/dist/agents/workflow/structured-output.js.map +1 -0
  148. package/dist/agents/workflow/usage-limit.d.ts +39 -0
  149. package/dist/agents/workflow/usage-limit.d.ts.map +1 -0
  150. package/dist/agents/workflow/usage-limit.js +52 -0
  151. package/dist/agents/workflow/usage-limit.js.map +1 -0
  152. package/dist/cli/background-session.d.ts +31 -0
  153. package/dist/cli/background-session.d.ts.map +1 -0
  154. package/dist/cli/background-session.js +73 -0
  155. package/dist/cli/background-session.js.map +1 -0
  156. package/dist/cli/clean-configuration.d.ts +39 -0
  157. package/dist/cli/clean-configuration.d.ts.map +1 -0
  158. package/dist/cli/clean-configuration.js +51 -0
  159. package/dist/cli/clean-configuration.js.map +1 -0
  160. package/dist/cli/command-acceptance.d.ts +75 -0
  161. package/dist/cli/command-acceptance.d.ts.map +1 -0
  162. package/dist/cli/command-acceptance.js +59 -0
  163. package/dist/cli/command-acceptance.js.map +1 -0
  164. package/dist/cli/command-table.d.ts +48 -0
  165. package/dist/cli/command-table.d.ts.map +1 -0
  166. package/dist/cli/command-table.js +98 -0
  167. package/dist/cli/command-table.js.map +1 -0
  168. package/dist/cli/configure-dialog.d.ts +20 -0
  169. package/dist/cli/configure-dialog.d.ts.map +1 -0
  170. package/dist/cli/configure-dialog.js +28 -0
  171. package/dist/cli/configure-dialog.js.map +1 -0
  172. package/dist/cli/configure-plan.d.ts +49 -0
  173. package/dist/cli/configure-plan.d.ts.map +1 -0
  174. package/dist/cli/configure-plan.js +137 -0
  175. package/dist/cli/configure-plan.js.map +1 -0
  176. package/dist/cli/disable-plan.d.ts +20 -0
  177. package/dist/cli/disable-plan.d.ts.map +1 -0
  178. package/dist/cli/disable-plan.js +73 -0
  179. package/dist/cli/disable-plan.js.map +1 -0
  180. package/dist/cli/enable-plan.d.ts +26 -0
  181. package/dist/cli/enable-plan.d.ts.map +1 -0
  182. package/dist/cli/enable-plan.js +37 -0
  183. package/dist/cli/enable-plan.js.map +1 -0
  184. package/dist/cli/flags/add-dir.d.ts +28 -0
  185. package/dist/cli/flags/add-dir.d.ts.map +1 -0
  186. package/dist/cli/flags/add-dir.js +58 -0
  187. package/dist/cli/flags/add-dir.js.map +1 -0
  188. package/dist/cli/flags/agents.d.ts +18 -0
  189. package/dist/cli/flags/agents.d.ts.map +1 -0
  190. package/dist/cli/flags/agents.js +101 -0
  191. package/dist/cli/flags/agents.js.map +1 -0
  192. package/dist/cli/flags/channels.d.ts +4 -0
  193. package/dist/cli/flags/channels.d.ts.map +1 -0
  194. package/dist/cli/flags/channels.js +50 -0
  195. package/dist/cli/flags/channels.js.map +1 -0
  196. package/dist/cli/flags/customizations.d.ts +24 -0
  197. package/dist/cli/flags/customizations.d.ts.map +1 -0
  198. package/dist/cli/flags/customizations.js +52 -0
  199. package/dist/cli/flags/customizations.js.map +1 -0
  200. package/dist/cli/flags/mcp.d.ts +25 -0
  201. package/dist/cli/flags/mcp.d.ts.map +1 -0
  202. package/dist/cli/flags/mcp.js +110 -0
  203. package/dist/cli/flags/mcp.js.map +1 -0
  204. package/dist/cli/flags/modes.d.ts +26 -0
  205. package/dist/cli/flags/modes.d.ts.map +1 -0
  206. package/dist/cli/flags/modes.js +43 -0
  207. package/dist/cli/flags/modes.js.map +1 -0
  208. package/dist/cli/flags/plugins.d.ts +13 -0
  209. package/dist/cli/flags/plugins.d.ts.map +1 -0
  210. package/dist/cli/flags/plugins.js +64 -0
  211. package/dist/cli/flags/plugins.js.map +1 -0
  212. package/dist/cli/flags/registry.d.ts +9 -0
  213. package/dist/cli/flags/registry.d.ts.map +1 -0
  214. package/dist/cli/flags/registry.js +36 -0
  215. package/dist/cli/flags/registry.js.map +1 -0
  216. package/dist/cli/flags/session.d.ts +4 -0
  217. package/dist/cli/flags/session.d.ts.map +1 -0
  218. package/dist/cli/flags/session.js +46 -0
  219. package/dist/cli/flags/session.js.map +1 -0
  220. package/dist/cli/flags/settings.d.ts +6 -0
  221. package/dist/cli/flags/settings.d.ts.map +1 -0
  222. package/dist/cli/flags/settings.js +65 -0
  223. package/dist/cli/flags/settings.js.map +1 -0
  224. package/dist/cli/flags/sideload.d.ts +22 -0
  225. package/dist/cli/flags/sideload.d.ts.map +1 -0
  226. package/dist/cli/flags/sideload.js +36 -0
  227. package/dist/cli/flags/sideload.js.map +1 -0
  228. package/dist/cli/flags/subagent-prompt.d.ts +8 -0
  229. package/dist/cli/flags/subagent-prompt.d.ts.map +1 -0
  230. package/dist/cli/flags/subagent-prompt.js +47 -0
  231. package/dist/cli/flags/subagent-prompt.js.map +1 -0
  232. package/dist/cli/flags/types.d.ts +143 -0
  233. package/dist/cli/flags/types.d.ts.map +1 -0
  234. package/dist/cli/flags/types.js +49 -0
  235. package/dist/cli/flags/types.js.map +1 -0
  236. package/dist/cli/flags/values.d.ts +16 -0
  237. package/dist/cli/flags/values.d.ts.map +1 -0
  238. package/dist/cli/flags/values.js +7 -0
  239. package/dist/cli/flags/values.js.map +1 -0
  240. package/dist/cli/index.d.ts +46 -0
  241. package/dist/cli/index.d.ts.map +1 -0
  242. package/dist/cli/index.js +43 -0
  243. package/dist/cli/index.js.map +1 -0
  244. package/dist/cli/install-config.d.ts +54 -0
  245. package/dist/cli/install-config.d.ts.map +1 -0
  246. package/dist/cli/install-config.js +76 -0
  247. package/dist/cli/install-config.js.map +1 -0
  248. package/dist/cli/install-lookup.d.ts +23 -0
  249. package/dist/cli/install-lookup.d.ts.map +1 -0
  250. package/dist/cli/install-lookup.js +98 -0
  251. package/dist/cli/install-lookup.js.map +1 -0
  252. package/dist/cli/install-plan.d.ts +88 -0
  253. package/dist/cli/install-plan.d.ts.map +1 -0
  254. package/dist/cli/install-plan.js +135 -0
  255. package/dist/cli/install-plan.js.map +1 -0
  256. package/dist/cli/install-refusals.d.ts +6 -0
  257. package/dist/cli/install-refusals.d.ts.map +1 -0
  258. package/dist/cli/install-refusals.js +14 -0
  259. package/dist/cli/install-refusals.js.map +1 -0
  260. package/dist/cli/install-start.d.ts +64 -0
  261. package/dist/cli/install-start.d.ts.map +1 -0
  262. package/dist/cli/install-start.js +85 -0
  263. package/dist/cli/install-start.js.map +1 -0
  264. package/dist/cli/lfs-pointer-line.d.ts +9 -0
  265. package/dist/cli/lfs-pointer-line.d.ts.map +1 -0
  266. package/dist/cli/lfs-pointer-line.js +14 -0
  267. package/dist/cli/lfs-pointer-line.js.map +1 -0
  268. package/dist/cli/marketplace-add.d.ts +84 -0
  269. package/dist/cli/marketplace-add.d.ts.map +1 -0
  270. package/dist/cli/marketplace-add.js +127 -0
  271. package/dist/cli/marketplace-add.js.map +1 -0
  272. package/dist/cli/marketplace-list.d.ts +46 -0
  273. package/dist/cli/marketplace-list.d.ts.map +1 -0
  274. package/dist/cli/marketplace-list.js +76 -0
  275. package/dist/cli/marketplace-list.js.map +1 -0
  276. package/dist/cli/marketplace-remove.d.ts +69 -0
  277. package/dist/cli/marketplace-remove.d.ts.map +1 -0
  278. package/dist/cli/marketplace-remove.js +71 -0
  279. package/dist/cli/marketplace-remove.js.map +1 -0
  280. package/dist/cli/marketplace-update.d.ts +43 -0
  281. package/dist/cli/marketplace-update.d.ts.map +1 -0
  282. package/dist/cli/marketplace-update.js +54 -0
  283. package/dist/cli/marketplace-update.js.map +1 -0
  284. package/dist/cli/plugin-details.d.ts +38 -0
  285. package/dist/cli/plugin-details.d.ts.map +1 -0
  286. package/dist/cli/plugin-details.js +47 -0
  287. package/dist/cli/plugin-details.js.map +1 -0
  288. package/dist/cli/plugin-list.d.ts +77 -0
  289. package/dist/cli/plugin-list.d.ts.map +1 -0
  290. package/dist/cli/plugin-list.js +127 -0
  291. package/dist/cli/plugin-list.js.map +1 -0
  292. package/dist/cli/plugin-ref.d.ts +19 -0
  293. package/dist/cli/plugin-ref.d.ts.map +1 -0
  294. package/dist/cli/plugin-ref.js +25 -0
  295. package/dist/cli/plugin-ref.js.map +1 -0
  296. package/dist/cli/prune-plan.d.ts +39 -0
  297. package/dist/cli/prune-plan.d.ts.map +1 -0
  298. package/dist/cli/prune-plan.js +57 -0
  299. package/dist/cli/prune-plan.js.map +1 -0
  300. package/dist/cli/records-refusal.d.ts +11 -0
  301. package/dist/cli/records-refusal.d.ts.map +1 -0
  302. package/dist/cli/records-refusal.js +16 -0
  303. package/dist/cli/records-refusal.js.map +1 -0
  304. package/dist/cli/result.d.ts +75 -0
  305. package/dist/cli/result.d.ts.map +1 -0
  306. package/dist/cli/result.js +82 -0
  307. package/dist/cli/result.js.map +1 -0
  308. package/dist/cli/scope.d.ts +72 -0
  309. package/dist/cli/scope.d.ts.map +1 -0
  310. package/dist/cli/scope.js +105 -0
  311. package/dist/cli/scope.js.map +1 -0
  312. package/dist/cli/session-flags.d.ts +7 -0
  313. package/dist/cli/session-flags.d.ts.map +1 -0
  314. package/dist/cli/session-flags.js +92 -0
  315. package/dist/cli/session-flags.js.map +1 -0
  316. package/dist/cli/tag-plan.d.ts +50 -0
  317. package/dist/cli/tag-plan.d.ts.map +1 -0
  318. package/dist/cli/tag-plan.js +68 -0
  319. package/dist/cli/tag-plan.js.map +1 -0
  320. package/dist/cli/toggle-target.d.ts +43 -0
  321. package/dist/cli/toggle-target.d.ts.map +1 -0
  322. package/dist/cli/toggle-target.js +69 -0
  323. package/dist/cli/toggle-target.js.map +1 -0
  324. package/dist/cli/uninstall-data.d.ts +47 -0
  325. package/dist/cli/uninstall-data.d.ts.map +1 -0
  326. package/dist/cli/uninstall-data.js +40 -0
  327. package/dist/cli/uninstall-data.js.map +1 -0
  328. package/dist/cli/uninstall-flags.d.ts +10 -0
  329. package/dist/cli/uninstall-flags.d.ts.map +1 -0
  330. package/dist/cli/uninstall-flags.js +10 -0
  331. package/dist/cli/uninstall-flags.js.map +1 -0
  332. package/dist/cli/uninstall-plan.d.ts +88 -0
  333. package/dist/cli/uninstall-plan.d.ts.map +1 -0
  334. package/dist/cli/uninstall-plan.js +141 -0
  335. package/dist/cli/uninstall-plan.js.map +1 -0
  336. package/dist/cli/uninstall-refusal.d.ts +21 -0
  337. package/dist/cli/uninstall-refusal.d.ts.map +1 -0
  338. package/dist/cli/uninstall-refusal.js +17 -0
  339. package/dist/cli/uninstall-refusal.js.map +1 -0
  340. package/dist/cli/update-facts.d.ts +49 -0
  341. package/dist/cli/update-facts.d.ts.map +1 -0
  342. package/dist/cli/update-facts.js +2 -0
  343. package/dist/cli/update-facts.js.map +1 -0
  344. package/dist/cli/update-locate.d.ts +20 -0
  345. package/dist/cli/update-locate.d.ts.map +1 -0
  346. package/dist/cli/update-locate.js +53 -0
  347. package/dist/cli/update-locate.js.map +1 -0
  348. package/dist/cli/update-plan.d.ts +58 -0
  349. package/dist/cli/update-plan.d.ts.map +1 -0
  350. package/dist/cli/update-plan.js +113 -0
  351. package/dist/cli/update-plan.js.map +1 -0
  352. package/dist/cli/user-config-input.d.ts +34 -0
  353. package/dist/cli/user-config-input.d.ts.map +1 -0
  354. package/dist/cli/user-config-input.js +61 -0
  355. package/dist/cli/user-config-input.js.map +1 -0
  356. package/dist/cli/validate-advice.d.ts +25 -0
  357. package/dist/cli/validate-advice.d.ts.map +1 -0
  358. package/dist/cli/validate-advice.js +63 -0
  359. package/dist/cli/validate-advice.js.map +1 -0
  360. package/dist/cli/validate-run.d.ts +88 -0
  361. package/dist/cli/validate-run.d.ts.map +1 -0
  362. package/dist/cli/validate-run.js +120 -0
  363. package/dist/cli/validate-run.js.map +1 -0
  364. package/dist/convert/adapters/claude-code-runner-source.d.ts +14 -0
  365. package/dist/convert/adapters/claude-code-runner-source.d.ts.map +1 -0
  366. package/dist/convert/adapters/claude-code-runner-source.js +167 -0
  367. package/dist/convert/adapters/claude-code-runner-source.js.map +1 -0
  368. package/dist/convert/adapters/core-profiles-source.d.ts +13 -0
  369. package/dist/convert/adapters/core-profiles-source.d.ts.map +1 -0
  370. package/dist/convert/adapters/core-profiles-source.js +163 -0
  371. package/dist/convert/adapters/core-profiles-source.js.map +1 -0
  372. package/dist/convert/adapters/core-runner-source.d.ts +12 -0
  373. package/dist/convert/adapters/core-runner-source.d.ts.map +1 -0
  374. package/dist/convert/adapters/core-runner-source.js +162 -0
  375. package/dist/convert/adapters/core-runner-source.js.map +1 -0
  376. package/dist/convert/adapters/registration.d.ts +40 -0
  377. package/dist/convert/adapters/registration.d.ts.map +1 -0
  378. package/dist/convert/adapters/registration.js +116 -0
  379. package/dist/convert/adapters/registration.js.map +1 -0
  380. package/dist/convert/adapters/sources.d.ts +14 -0
  381. package/dist/convert/adapters/sources.d.ts.map +1 -0
  382. package/dist/convert/adapters/sources.js +46 -0
  383. package/dist/convert/adapters/sources.js.map +1 -0
  384. package/dist/convert/convert-package.d.ts +19 -0
  385. package/dist/convert/convert-package.d.ts.map +1 -0
  386. package/dist/convert/convert-package.js +76 -0
  387. package/dist/convert/convert-package.js.map +1 -0
  388. package/dist/convert/index.d.ts +6 -0
  389. package/dist/convert/index.d.ts.map +1 -0
  390. package/dist/convert/index.js +6 -0
  391. package/dist/convert/index.js.map +1 -0
  392. package/dist/convert/judge.d.ts +20 -0
  393. package/dist/convert/judge.d.ts.map +1 -0
  394. package/dist/convert/judge.js +30 -0
  395. package/dist/convert/judge.js.map +1 -0
  396. package/dist/convert/namespaces.d.ts +5 -0
  397. package/dist/convert/namespaces.d.ts.map +1 -0
  398. package/dist/convert/namespaces.js +48 -0
  399. package/dist/convert/namespaces.js.map +1 -0
  400. package/dist/convert/notes.d.ts +10 -0
  401. package/dist/convert/notes.d.ts.map +1 -0
  402. package/dist/convert/notes.js +33 -0
  403. package/dist/convert/notes.js.map +1 -0
  404. package/dist/convert/overlay.d.ts +4 -0
  405. package/dist/convert/overlay.d.ts.map +1 -0
  406. package/dist/convert/overlay.js +60 -0
  407. package/dist/convert/overlay.js.map +1 -0
  408. package/dist/convert/placeholders.d.ts +19 -0
  409. package/dist/convert/placeholders.d.ts.map +1 -0
  410. package/dist/convert/placeholders.js +60 -0
  411. package/dist/convert/placeholders.js.map +1 -0
  412. package/dist/convert/profiles.d.ts +16 -0
  413. package/dist/convert/profiles.d.ts.map +1 -0
  414. package/dist/convert/profiles.js +35 -0
  415. package/dist/convert/profiles.js.map +1 -0
  416. package/dist/convert/skill-body.d.ts +3 -0
  417. package/dist/convert/skill-body.d.ts.map +1 -0
  418. package/dist/convert/skill-body.js +32 -0
  419. package/dist/convert/skill-body.js.map +1 -0
  420. package/dist/convert/to-claude-code/hooks.d.ts +25 -0
  421. package/dist/convert/to-claude-code/hooks.d.ts.map +1 -0
  422. package/dist/convert/to-claude-code/hooks.js +94 -0
  423. package/dist/convert/to-claude-code/hooks.js.map +1 -0
  424. package/dist/convert/to-claude-code/index.d.ts +10 -0
  425. package/dist/convert/to-claude-code/index.d.ts.map +1 -0
  426. package/dist/convert/to-claude-code/index.js +34 -0
  427. package/dist/convert/to-claude-code/index.js.map +1 -0
  428. package/dist/convert/to-claude-code/manifest.d.ts +19 -0
  429. package/dist/convert/to-claude-code/manifest.d.ts.map +1 -0
  430. package/dist/convert/to-claude-code/manifest.js +51 -0
  431. package/dist/convert/to-claude-code/manifest.js.map +1 -0
  432. package/dist/convert/to-claude-code/mcp.d.ts +20 -0
  433. package/dist/convert/to-claude-code/mcp.d.ts.map +1 -0
  434. package/dist/convert/to-claude-code/mcp.js +69 -0
  435. package/dist/convert/to-claude-code/mcp.js.map +1 -0
  436. package/dist/convert/to-claude-code/skills.d.ts +9 -0
  437. package/dist/convert/to-claude-code/skills.d.ts.map +1 -0
  438. package/dist/convert/to-claude-code/skills.js +19 -0
  439. package/dist/convert/to-claude-code/skills.js.map +1 -0
  440. package/dist/convert/to-core/components.d.ts +19 -0
  441. package/dist/convert/to-core/components.d.ts.map +1 -0
  442. package/dist/convert/to-core/components.js +31 -0
  443. package/dist/convert/to-core/components.js.map +1 -0
  444. package/dist/convert/to-core/hook-matchers.d.ts +17 -0
  445. package/dist/convert/to-core/hook-matchers.d.ts.map +1 -0
  446. package/dist/convert/to-core/hook-matchers.js +35 -0
  447. package/dist/convert/to-core/hook-matchers.js.map +1 -0
  448. package/dist/convert/to-core/hooks.d.ts +24 -0
  449. package/dist/convert/to-core/hooks.d.ts.map +1 -0
  450. package/dist/convert/to-core/hooks.js +118 -0
  451. package/dist/convert/to-core/hooks.js.map +1 -0
  452. package/dist/convert/to-core/index.d.ts +17 -0
  453. package/dist/convert/to-core/index.d.ts.map +1 -0
  454. package/dist/convert/to-core/index.js +37 -0
  455. package/dist/convert/to-core/index.js.map +1 -0
  456. package/dist/convert/to-core/manifest.d.ts +16 -0
  457. package/dist/convert/to-core/manifest.d.ts.map +1 -0
  458. package/dist/convert/to-core/manifest.js +29 -0
  459. package/dist/convert/to-core/manifest.js.map +1 -0
  460. package/dist/convert/to-core/mcp.d.ts +22 -0
  461. package/dist/convert/to-core/mcp.d.ts.map +1 -0
  462. package/dist/convert/to-core/mcp.js +100 -0
  463. package/dist/convert/to-core/mcp.js.map +1 -0
  464. package/dist/convert/to-core/skills.d.ts +4 -0
  465. package/dist/convert/to-core/skills.d.ts.map +1 -0
  466. package/dist/convert/to-core/skills.js +43 -0
  467. package/dist/convert/to-core/skills.js.map +1 -0
  468. package/dist/convert/types.d.ts +45 -0
  469. package/dist/convert/types.d.ts.map +1 -0
  470. package/dist/convert/types.js +13 -0
  471. package/dist/convert/types.js.map +1 -0
  472. package/dist/entry/agents.d.ts +8 -0
  473. package/dist/entry/agents.d.ts.map +1 -0
  474. package/dist/entry/agents.js +8 -0
  475. package/dist/entry/agents.js.map +1 -0
  476. package/dist/entry/cli.d.ts +3 -0
  477. package/dist/entry/cli.d.ts.map +1 -0
  478. package/dist/entry/cli.js +3 -0
  479. package/dist/entry/cli.js.map +1 -0
  480. package/dist/entry/core.d.ts +5 -0
  481. package/dist/entry/core.d.ts.map +1 -0
  482. package/dist/entry/core.js +5 -0
  483. package/dist/entry/core.js.map +1 -0
  484. package/dist/entry/elicitation.d.ts +3 -0
  485. package/dist/entry/elicitation.d.ts.map +1 -0
  486. package/dist/entry/elicitation.js +3 -0
  487. package/dist/entry/elicitation.js.map +1 -0
  488. package/dist/entry/format.d.ts +7 -0
  489. package/dist/entry/format.d.ts.map +1 -0
  490. package/dist/entry/format.js +7 -0
  491. package/dist/entry/format.js.map +1 -0
  492. package/dist/entry/hooks.d.ts +7 -0
  493. package/dist/entry/hooks.d.ts.map +1 -0
  494. package/dist/entry/hooks.js +5 -0
  495. package/dist/entry/hooks.js.map +1 -0
  496. package/dist/entry/layout.d.ts +3 -0
  497. package/dist/entry/layout.d.ts.map +1 -0
  498. package/dist/entry/layout.js +3 -0
  499. package/dist/entry/layout.js.map +1 -0
  500. package/dist/entry/loading.d.ts +3 -0
  501. package/dist/entry/loading.d.ts.map +1 -0
  502. package/dist/entry/loading.js +3 -0
  503. package/dist/entry/loading.js.map +1 -0
  504. package/dist/entry/marketplace.d.ts +6 -0
  505. package/dist/entry/marketplace.d.ts.map +1 -0
  506. package/dist/entry/marketplace.js +5 -0
  507. package/dist/entry/marketplace.js.map +1 -0
  508. package/dist/entry/mod-elements.d.ts +9 -0
  509. package/dist/entry/mod-elements.d.ts.map +1 -0
  510. package/dist/entry/mod-elements.js +9 -0
  511. package/dist/entry/mod-elements.js.map +1 -0
  512. package/dist/entry/mod-isolate.d.ts +19 -0
  513. package/dist/entry/mod-isolate.d.ts.map +1 -0
  514. package/dist/entry/mod-isolate.js +19 -0
  515. package/dist/entry/mod-isolate.js.map +1 -0
  516. package/dist/entry/mods.d.ts +11 -0
  517. package/dist/entry/mods.d.ts.map +1 -0
  518. package/dist/entry/mods.js +12 -0
  519. package/dist/entry/mods.js.map +1 -0
  520. package/dist/entry/rules.d.ts +4 -0
  521. package/dist/entry/rules.d.ts.map +1 -0
  522. package/dist/entry/rules.js +4 -0
  523. package/dist/entry/rules.js.map +1 -0
  524. package/dist/entry/sdk.d.ts +5 -0
  525. package/dist/entry/sdk.d.ts.map +1 -0
  526. package/dist/entry/sdk.js +4 -0
  527. package/dist/entry/sdk.js.map +1 -0
  528. package/dist/entry/settings.d.ts +15 -0
  529. package/dist/entry/settings.d.ts.map +1 -0
  530. package/dist/entry/settings.js +15 -0
  531. package/dist/entry/settings.js.map +1 -0
  532. package/dist/entry/skills.d.ts +3 -0
  533. package/dist/entry/skills.d.ts.map +1 -0
  534. package/dist/entry/skills.js +3 -0
  535. package/dist/entry/skills.js.map +1 -0
  536. package/dist/format/agent-field-read.d.ts +26 -0
  537. package/dist/format/agent-field-read.d.ts.map +1 -0
  538. package/dist/format/agent-field-read.js +27 -0
  539. package/dist/format/agent-field-read.js.map +1 -0
  540. package/dist/format/agent-fields.d.ts +64 -0
  541. package/dist/format/agent-fields.d.ts.map +1 -0
  542. package/dist/format/agent-fields.js +117 -0
  543. package/dist/format/agent-fields.js.map +1 -0
  544. package/dist/format/agent-flag.d.ts +16 -0
  545. package/dist/format/agent-flag.d.ts.map +1 -0
  546. package/dist/format/agent-flag.js +111 -0
  547. package/dist/format/agent-flag.js.map +1 -0
  548. package/dist/format/agent-hooks-field.d.ts +10 -0
  549. package/dist/format/agent-hooks-field.d.ts.map +1 -0
  550. package/dist/format/agent-hooks-field.js +16 -0
  551. package/dist/format/agent-hooks-field.js.map +1 -0
  552. package/dist/format/agent-name.d.ts +26 -0
  553. package/dist/format/agent-name.d.ts.map +1 -0
  554. package/dist/format/agent-name.js +53 -0
  555. package/dist/format/agent-name.js.map +1 -0
  556. package/dist/format/agent-record.d.ts +84 -0
  557. package/dist/format/agent-record.d.ts.map +1 -0
  558. package/dist/format/agent-record.js +6 -0
  559. package/dist/format/agent-record.js.map +1 -0
  560. package/dist/format/agent-scalars.d.ts +53 -0
  561. package/dist/format/agent-scalars.d.ts.map +1 -0
  562. package/dist/format/agent-scalars.js +107 -0
  563. package/dist/format/agent-scalars.js.map +1 -0
  564. package/dist/format/agent-unrecognized.d.ts +8 -0
  565. package/dist/format/agent-unrecognized.d.ts.map +1 -0
  566. package/dist/format/agent-unrecognized.js +47 -0
  567. package/dist/format/agent-unrecognized.js.map +1 -0
  568. package/dist/format/agent.d.ts +19 -0
  569. package/dist/format/agent.d.ts.map +1 -0
  570. package/dist/format/agent.js +140 -0
  571. package/dist/format/agent.js.map +1 -0
  572. package/dist/format/bundled-skill.d.ts +29 -0
  573. package/dist/format/bundled-skill.d.ts.map +1 -0
  574. package/dist/format/bundled-skill.js +26 -0
  575. package/dist/format/bundled-skill.js.map +1 -0
  576. package/dist/format/canonical-json.d.ts +8 -0
  577. package/dist/format/canonical-json.d.ts.map +1 -0
  578. package/dist/format/canonical-json.js +21 -0
  579. package/dist/format/canonical-json.js.map +1 -0
  580. package/dist/format/code-points.d.ts +7 -0
  581. package/dist/format/code-points.d.ts.map +1 -0
  582. package/dist/format/code-points.js +12 -0
  583. package/dist/format/code-points.js.map +1 -0
  584. package/dist/format/command.d.ts +37 -0
  585. package/dist/format/command.d.ts.map +1 -0
  586. package/dist/format/command.js +141 -0
  587. package/dist/format/command.js.map +1 -0
  588. package/dist/format/component-source.d.ts +18 -0
  589. package/dist/format/component-source.d.ts.map +1 -0
  590. package/dist/format/component-source.js +9 -0
  591. package/dist/format/component-source.js.map +1 -0
  592. package/dist/format/config-directory.d.ts +31 -0
  593. package/dist/format/config-directory.d.ts.map +1 -0
  594. package/dist/format/config-directory.js +19 -0
  595. package/dist/format/config-directory.js.map +1 -0
  596. package/dist/format/core/command.d.ts +5 -0
  597. package/dist/format/core/command.d.ts.map +1 -0
  598. package/dist/format/core/command.js +39 -0
  599. package/dist/format/core/command.js.map +1 -0
  600. package/dist/format/core/document.d.ts +14 -0
  601. package/dist/format/core/document.d.ts.map +1 -0
  602. package/dist/format/core/document.js +36 -0
  603. package/dist/format/core/document.js.map +1 -0
  604. package/dist/format/core/dual.d.ts +16 -0
  605. package/dist/format/core/dual.d.ts.map +1 -0
  606. package/dist/format/core/dual.js +84 -0
  607. package/dist/format/core/dual.js.map +1 -0
  608. package/dist/format/core/extensions.d.ts +16 -0
  609. package/dist/format/core/extensions.d.ts.map +1 -0
  610. package/dist/format/core/extensions.js +19 -0
  611. package/dist/format/core/extensions.js.map +1 -0
  612. package/dist/format/core/hooks.d.ts +36 -0
  613. package/dist/format/core/hooks.d.ts.map +1 -0
  614. package/dist/format/core/hooks.js +108 -0
  615. package/dist/format/core/hooks.js.map +1 -0
  616. package/dist/format/core/icon.d.ts +7 -0
  617. package/dist/format/core/icon.d.ts.map +1 -0
  618. package/dist/format/core/icon.js +25 -0
  619. package/dist/format/core/icon.js.map +1 -0
  620. package/dist/format/core/index.d.ts +16 -0
  621. package/dist/format/core/index.d.ts.map +1 -0
  622. package/dist/format/core/index.js +16 -0
  623. package/dist/format/core/index.js.map +1 -0
  624. package/dist/format/core/manifest.d.ts +43 -0
  625. package/dist/format/core/manifest.d.ts.map +1 -0
  626. package/dist/format/core/manifest.js +119 -0
  627. package/dist/format/core/manifest.js.map +1 -0
  628. package/dist/format/core/mcp-server.d.ts +32 -0
  629. package/dist/format/core/mcp-server.d.ts.map +1 -0
  630. package/dist/format/core/mcp-server.js +116 -0
  631. package/dist/format/core/mcp-server.js.map +1 -0
  632. package/dist/format/core/mcp.d.ts +24 -0
  633. package/dist/format/core/mcp.d.ts.map +1 -0
  634. package/dist/format/core/mcp.js +33 -0
  635. package/dist/format/core/mcp.js.map +1 -0
  636. package/dist/format/core/name.d.ts +8 -0
  637. package/dist/format/core/name.d.ts.map +1 -0
  638. package/dist/format/core/name.js +24 -0
  639. package/dist/format/core/name.js.map +1 -0
  640. package/dist/format/core/placeholders.d.ts +39 -0
  641. package/dist/format/core/placeholders.d.ts.map +1 -0
  642. package/dist/format/core/placeholders.js +43 -0
  643. package/dist/format/core/placeholders.js.map +1 -0
  644. package/dist/format/core/remote.d.ts +5 -0
  645. package/dist/format/core/remote.d.ts.map +1 -0
  646. package/dist/format/core/remote.js +70 -0
  647. package/dist/format/core/remote.js.map +1 -0
  648. package/dist/format/core/skill.d.ts +21 -0
  649. package/dist/format/core/skill.d.ts.map +1 -0
  650. package/dist/format/core/skill.js +53 -0
  651. package/dist/format/core/skill.js.map +1 -0
  652. package/dist/format/core/subprocess.d.ts +39 -0
  653. package/dist/format/core/subprocess.d.ts.map +1 -0
  654. package/dist/format/core/subprocess.js +61 -0
  655. package/dist/format/core/subprocess.js.map +1 -0
  656. package/dist/format/core/versions.d.ts +29 -0
  657. package/dist/format/core/versions.d.ts.map +1 -0
  658. package/dist/format/core/versions.js +35 -0
  659. package/dist/format/core/versions.js.map +1 -0
  660. package/dist/format/credential-env.d.ts +35 -0
  661. package/dist/format/credential-env.d.ts.map +1 -0
  662. package/dist/format/credential-env.js +137 -0
  663. package/dist/format/credential-env.js.map +1 -0
  664. package/dist/format/defined.d.ts +9 -0
  665. package/dist/format/defined.d.ts.map +1 -0
  666. package/dist/format/defined.js +17 -0
  667. package/dist/format/defined.js.map +1 -0
  668. package/dist/format/env-flag.d.ts +11 -0
  669. package/dist/format/env-flag.d.ts.map +1 -0
  670. package/dist/format/env-flag.js +14 -0
  671. package/dist/format/env-flag.js.map +1 -0
  672. package/dist/format/env-number.d.ts +15 -0
  673. package/dist/format/env-number.d.ts.map +1 -0
  674. package/dist/format/env-number.js +34 -0
  675. package/dist/format/env-number.js.map +1 -0
  676. package/dist/format/frontmatter-render.d.ts +39 -0
  677. package/dist/format/frontmatter-render.d.ts.map +1 -0
  678. package/dist/format/frontmatter-render.js +77 -0
  679. package/dist/format/frontmatter-render.js.map +1 -0
  680. package/dist/format/frontmatter-values.d.ts +49 -0
  681. package/dist/format/frontmatter-values.d.ts.map +1 -0
  682. package/dist/format/frontmatter-values.js +124 -0
  683. package/dist/format/frontmatter-values.js.map +1 -0
  684. package/dist/format/frontmatter-write.d.ts +23 -0
  685. package/dist/format/frontmatter-write.d.ts.map +1 -0
  686. package/dist/format/frontmatter-write.js +63 -0
  687. package/dist/format/frontmatter-write.js.map +1 -0
  688. package/dist/format/frontmatter.d.ts +54 -0
  689. package/dist/format/frontmatter.d.ts.map +1 -0
  690. package/dist/format/frontmatter.js +132 -0
  691. package/dist/format/frontmatter.js.map +1 -0
  692. package/dist/format/helper-credentials.d.ts +3 -0
  693. package/dist/format/helper-credentials.d.ts.map +1 -0
  694. package/dist/format/helper-credentials.js +45 -0
  695. package/dist/format/helper-credentials.js.map +1 -0
  696. package/dist/format/helper-headers.d.ts +16 -0
  697. package/dist/format/helper-headers.d.ts.map +1 -0
  698. package/dist/format/helper-headers.js +20 -0
  699. package/dist/format/helper-headers.js.map +1 -0
  700. package/dist/format/hooks-handlers.d.ts +10 -0
  701. package/dist/format/hooks-handlers.d.ts.map +1 -0
  702. package/dist/format/hooks-handlers.js +115 -0
  703. package/dist/format/hooks-handlers.js.map +1 -0
  704. package/dist/format/hooks-settings.d.ts +40 -0
  705. package/dist/format/hooks-settings.d.ts.map +1 -0
  706. package/dist/format/hooks-settings.js +174 -0
  707. package/dist/format/hooks-settings.js.map +1 -0
  708. package/dist/format/host-errors.d.ts +94 -0
  709. package/dist/format/host-errors.d.ts.map +1 -0
  710. package/dist/format/host-errors.js +107 -0
  711. package/dist/format/host-errors.js.map +1 -0
  712. package/dist/format/index.d.ts +45 -0
  713. package/dist/format/index.d.ts.map +1 -0
  714. package/dist/format/index.js +39 -0
  715. package/dist/format/index.js.map +1 -0
  716. package/dist/format/issues.d.ts +23 -0
  717. package/dist/format/issues.d.ts.map +1 -0
  718. package/dist/format/issues.js +20 -0
  719. package/dist/format/issues.js.map +1 -0
  720. package/dist/format/js-literal.d.ts +39 -0
  721. package/dist/format/js-literal.d.ts.map +1 -0
  722. package/dist/format/js-literal.js +159 -0
  723. package/dist/format/js-literal.js.map +1 -0
  724. package/dist/format/js-parse.d.ts +25 -0
  725. package/dist/format/js-parse.d.ts.map +1 -0
  726. package/dist/format/js-parse.js +31 -0
  727. package/dist/format/js-parse.js.map +1 -0
  728. package/dist/format/js-tokens.d.ts +37 -0
  729. package/dist/format/js-tokens.d.ts.map +1 -0
  730. package/dist/format/js-tokens.js +270 -0
  731. package/dist/format/js-tokens.js.map +1 -0
  732. package/dist/format/layout.d.ts +49 -0
  733. package/dist/format/layout.d.ts.map +1 -0
  734. package/dist/format/layout.js +159 -0
  735. package/dist/format/layout.js.map +1 -0
  736. package/dist/format/link-rule.d.ts +21 -0
  737. package/dist/format/link-rule.d.ts.map +1 -0
  738. package/dist/format/link-rule.js +27 -0
  739. package/dist/format/link-rule.js.map +1 -0
  740. package/dist/format/listing.d.ts +10 -0
  741. package/dist/format/listing.d.ts.map +1 -0
  742. package/dist/format/listing.js +16 -0
  743. package/dist/format/listing.js.map +1 -0
  744. package/dist/format/load-files.d.ts +11 -0
  745. package/dist/format/load-files.d.ts.map +1 -0
  746. package/dist/format/load-files.js +30 -0
  747. package/dist/format/load-files.js.map +1 -0
  748. package/dist/format/locate.d.ts +47 -0
  749. package/dist/format/locate.d.ts.map +1 -0
  750. package/dist/format/locate.js +74 -0
  751. package/dist/format/locate.js.map +1 -0
  752. package/dist/format/lsp-config.d.ts +69 -0
  753. package/dist/format/lsp-config.d.ts.map +1 -0
  754. package/dist/format/lsp-config.js +74 -0
  755. package/dist/format/lsp-config.js.map +1 -0
  756. package/dist/format/lsp-schema.d.ts +73 -0
  757. package/dist/format/lsp-schema.d.ts.map +1 -0
  758. package/dist/format/lsp-schema.js +55 -0
  759. package/dist/format/lsp-schema.js.map +1 -0
  760. package/dist/format/manifest-schema.d.ts +350 -0
  761. package/dist/format/manifest-schema.d.ts.map +1 -0
  762. package/dist/format/manifest-schema.js +119 -0
  763. package/dist/format/manifest-schema.js.map +1 -0
  764. package/dist/format/manifest.d.ts +20 -0
  765. package/dist/format/manifest.d.ts.map +1 -0
  766. package/dist/format/manifest.js +76 -0
  767. package/dist/format/manifest.js.map +1 -0
  768. package/dist/format/marketplace/archive-url.d.ts +4 -0
  769. package/dist/format/marketplace/archive-url.d.ts.map +1 -0
  770. package/dist/format/marketplace/archive-url.js +27 -0
  771. package/dist/format/marketplace/archive-url.js.map +1 -0
  772. package/dist/format/marketplace/blocked-hosts.d.ts +11 -0
  773. package/dist/format/marketplace/blocked-hosts.d.ts.map +1 -0
  774. package/dist/format/marketplace/blocked-hosts.js +79 -0
  775. package/dist/format/marketplace/blocked-hosts.js.map +1 -0
  776. package/dist/format/marketplace/display-fields.d.ts +19 -0
  777. package/dist/format/marketplace/display-fields.d.ts.map +1 -0
  778. package/dist/format/marketplace/display-fields.js +32 -0
  779. package/dist/format/marketplace/display-fields.js.map +1 -0
  780. package/dist/format/marketplace/entries.d.ts +20 -0
  781. package/dist/format/marketplace/entries.d.ts.map +1 -0
  782. package/dist/format/marketplace/entries.js +159 -0
  783. package/dist/format/marketplace/entries.js.map +1 -0
  784. package/dist/format/marketplace/entry-append.d.ts +31 -0
  785. package/dist/format/marketplace/entry-append.d.ts.map +1 -0
  786. package/dist/format/marketplace/entry-append.js +44 -0
  787. package/dist/format/marketplace/entry-append.js.map +1 -0
  788. package/dist/format/marketplace/entry-checks.d.ts +44 -0
  789. package/dist/format/marketplace/entry-checks.d.ts.map +1 -0
  790. package/dist/format/marketplace/entry-checks.js +123 -0
  791. package/dist/format/marketplace/entry-checks.js.map +1 -0
  792. package/dist/format/marketplace/entry-merge.d.ts +41 -0
  793. package/dist/format/marketplace/entry-merge.d.ts.map +1 -0
  794. package/dist/format/marketplace/entry-merge.js +143 -0
  795. package/dist/format/marketplace/entry-merge.js.map +1 -0
  796. package/dist/format/marketplace/entry-schema.d.ts +143 -0
  797. package/dist/format/marketplace/entry-schema.d.ts.map +1 -0
  798. package/dist/format/marketplace/entry-schema.js +86 -0
  799. package/dist/format/marketplace/entry-schema.js.map +1 -0
  800. package/dist/format/marketplace/header-names.d.ts +3 -0
  801. package/dist/format/marketplace/header-names.d.ts.map +1 -0
  802. package/dist/format/marketplace/header-names.js +40 -0
  803. package/dist/format/marketplace/header-names.js.map +1 -0
  804. package/dist/format/marketplace/ids.d.ts +30 -0
  805. package/dist/format/marketplace/ids.d.ts.map +1 -0
  806. package/dist/format/marketplace/ids.js +80 -0
  807. package/dist/format/marketplace/ids.js.map +1 -0
  808. package/dist/format/marketplace/index.d.ts +15 -0
  809. package/dist/format/marketplace/index.d.ts.map +1 -0
  810. package/dist/format/marketplace/index.js +15 -0
  811. package/dist/format/marketplace/index.js.map +1 -0
  812. package/dist/format/marketplace/marketplace-name-lists.d.ts +25 -0
  813. package/dist/format/marketplace/marketplace-name-lists.d.ts.map +1 -0
  814. package/dist/format/marketplace/marketplace-name-lists.js +69 -0
  815. package/dist/format/marketplace/marketplace-name-lists.js.map +1 -0
  816. package/dist/format/marketplace/marketplace-names.d.ts +29 -0
  817. package/dist/format/marketplace/marketplace-names.d.ts.map +1 -0
  818. package/dist/format/marketplace/marketplace-names.js +202 -0
  819. package/dist/format/marketplace/marketplace-names.js.map +1 -0
  820. package/dist/format/marketplace/marketplace-schema.d.ts +50 -0
  821. package/dist/format/marketplace/marketplace-schema.d.ts.map +1 -0
  822. package/dist/format/marketplace/marketplace-schema.js +193 -0
  823. package/dist/format/marketplace/marketplace-schema.js.map +1 -0
  824. package/dist/format/marketplace/marketplace-source.d.ts +23 -0
  825. package/dist/format/marketplace/marketplace-source.d.ts.map +1 -0
  826. package/dist/format/marketplace/marketplace-source.js +200 -0
  827. package/dist/format/marketplace/marketplace-source.js.map +1 -0
  828. package/dist/format/marketplace/marketplace.d.ts +39 -0
  829. package/dist/format/marketplace/marketplace.d.ts.map +1 -0
  830. package/dist/format/marketplace/marketplace.js +138 -0
  831. package/dist/format/marketplace/marketplace.js.map +1 -0
  832. package/dist/format/marketplace/plugin-source-fields.d.ts +46 -0
  833. package/dist/format/marketplace/plugin-source-fields.d.ts.map +1 -0
  834. package/dist/format/marketplace/plugin-source-fields.js +63 -0
  835. package/dist/format/marketplace/plugin-source-fields.js.map +1 -0
  836. package/dist/format/marketplace/plugin-source-kinds.d.ts +23 -0
  837. package/dist/format/marketplace/plugin-source-kinds.d.ts.map +1 -0
  838. package/dist/format/marketplace/plugin-source-kinds.js +116 -0
  839. package/dist/format/marketplace/plugin-source-kinds.js.map +1 -0
  840. package/dist/format/marketplace/plugin-source.d.ts +5 -0
  841. package/dist/format/marketplace/plugin-source.d.ts.map +1 -0
  842. package/dist/format/marketplace/plugin-source.js +90 -0
  843. package/dist/format/marketplace/plugin-source.js.map +1 -0
  844. package/dist/format/marketplace/relevance.d.ts +18 -0
  845. package/dist/format/marketplace/relevance.d.ts.map +1 -0
  846. package/dist/format/marketplace/relevance.js +89 -0
  847. package/dist/format/marketplace/relevance.js.map +1 -0
  848. package/dist/format/marketplace/renames.d.ts +37 -0
  849. package/dist/format/marketplace/renames.d.ts.map +1 -0
  850. package/dist/format/marketplace/renames.js +44 -0
  851. package/dist/format/marketplace/renames.js.map +1 -0
  852. package/dist/format/marketplace/schema-issues.d.ts +5 -0
  853. package/dist/format/marketplace/schema-issues.d.ts.map +1 -0
  854. package/dist/format/marketplace/schema-issues.js +17 -0
  855. package/dist/format/marketplace/schema-issues.js.map +1 -0
  856. package/dist/format/marketplace/settings-source-plugins.d.ts +8 -0
  857. package/dist/format/marketplace/settings-source-plugins.d.ts.map +1 -0
  858. package/dist/format/marketplace/settings-source-plugins.js +85 -0
  859. package/dist/format/marketplace/settings-source-plugins.js.map +1 -0
  860. package/dist/format/marketplace/source-failures.d.ts +12 -0
  861. package/dist/format/marketplace/source-failures.d.ts.map +1 -0
  862. package/dist/format/marketplace/source-failures.js +12 -0
  863. package/dist/format/marketplace/source-failures.js.map +1 -0
  864. package/dist/format/marketplace/types.d.ts +215 -0
  865. package/dist/format/marketplace/types.d.ts.map +1 -0
  866. package/dist/format/marketplace/types.js +30 -0
  867. package/dist/format/marketplace/types.js.map +1 -0
  868. package/dist/format/mcp-add-json.d.ts +67 -0
  869. package/dist/format/mcp-add-json.d.ts.map +1 -0
  870. package/dist/format/mcp-add-json.js +153 -0
  871. package/dist/format/mcp-add-json.js.map +1 -0
  872. package/dist/format/mcp-add.d.ts +11 -0
  873. package/dist/format/mcp-add.d.ts.map +1 -0
  874. package/dist/format/mcp-add.js +213 -0
  875. package/dist/format/mcp-add.js.map +1 -0
  876. package/dist/format/mcp-bundles.d.ts +35 -0
  877. package/dist/format/mcp-bundles.d.ts.map +1 -0
  878. package/dist/format/mcp-bundles.js +82 -0
  879. package/dist/format/mcp-bundles.js.map +1 -0
  880. package/dist/format/mcp-config.d.ts +78 -0
  881. package/dist/format/mcp-config.d.ts.map +1 -0
  882. package/dist/format/mcp-config.js +149 -0
  883. package/dist/format/mcp-config.js.map +1 -0
  884. package/dist/format/mcp-contract.d.ts +20 -0
  885. package/dist/format/mcp-contract.d.ts.map +1 -0
  886. package/dist/format/mcp-contract.js +20 -0
  887. package/dist/format/mcp-contract.js.map +1 -0
  888. package/dist/format/mcp-elicitation-check.d.ts +4 -0
  889. package/dist/format/mcp-elicitation-check.d.ts.map +1 -0
  890. package/dist/format/mcp-elicitation-check.js +89 -0
  891. package/dist/format/mcp-elicitation-check.js.map +1 -0
  892. package/dist/format/mcp-elicitation-form.d.ts +48 -0
  893. package/dist/format/mcp-elicitation-form.d.ts.map +1 -0
  894. package/dist/format/mcp-elicitation-form.js +108 -0
  895. package/dist/format/mcp-elicitation-form.js.map +1 -0
  896. package/dist/format/mcp-elicitation.d.ts +74 -0
  897. package/dist/format/mcp-elicitation.d.ts.map +1 -0
  898. package/dist/format/mcp-elicitation.js +90 -0
  899. package/dist/format/mcp-elicitation.js.map +1 -0
  900. package/dist/format/mcp-endpoint.d.ts +4 -0
  901. package/dist/format/mcp-endpoint.d.ts.map +1 -0
  902. package/dist/format/mcp-endpoint.js +29 -0
  903. package/dist/format/mcp-endpoint.js.map +1 -0
  904. package/dist/format/mcp-env.d.ts +117 -0
  905. package/dist/format/mcp-env.d.ts.map +1 -0
  906. package/dist/format/mcp-env.js +175 -0
  907. package/dist/format/mcp-env.js.map +1 -0
  908. package/dist/format/mcp-knobs.d.ts +88 -0
  909. package/dist/format/mcp-knobs.d.ts.map +1 -0
  910. package/dist/format/mcp-knobs.js +171 -0
  911. package/dist/format/mcp-knobs.js.map +1 -0
  912. package/dist/format/mcp-oauth-schema.d.ts +8 -0
  913. package/dist/format/mcp-oauth-schema.d.ts.map +1 -0
  914. package/dist/format/mcp-oauth-schema.js +17 -0
  915. package/dist/format/mcp-oauth-schema.js.map +1 -0
  916. package/dist/format/mcp-oauth.d.ts +106 -0
  917. package/dist/format/mcp-oauth.d.ts.map +1 -0
  918. package/dist/format/mcp-oauth.js +146 -0
  919. package/dist/format/mcp-oauth.js.map +1 -0
  920. package/dist/format/mcp-output.d.ts +72 -0
  921. package/dist/format/mcp-output.d.ts.map +1 -0
  922. package/dist/format/mcp-output.js +140 -0
  923. package/dist/format/mcp-output.js.map +1 -0
  924. package/dist/format/mcp-plugin-display.d.ts +18 -0
  925. package/dist/format/mcp-plugin-display.d.ts.map +1 -0
  926. package/dist/format/mcp-plugin-display.js +35 -0
  927. package/dist/format/mcp-plugin-display.js.map +1 -0
  928. package/dist/format/mcp-prompts.d.ts +47 -0
  929. package/dist/format/mcp-prompts.d.ts.map +1 -0
  930. package/dist/format/mcp-prompts.js +45 -0
  931. package/dist/format/mcp-prompts.js.map +1 -0
  932. package/dist/format/mcp-reload.d.ts +41 -0
  933. package/dist/format/mcp-reload.d.ts.map +1 -0
  934. package/dist/format/mcp-reload.js +41 -0
  935. package/dist/format/mcp-reload.js.map +1 -0
  936. package/dist/format/mcp-reserved.d.ts +14 -0
  937. package/dist/format/mcp-reserved.d.ts.map +1 -0
  938. package/dist/format/mcp-reserved.js +36 -0
  939. package/dist/format/mcp-reserved.js.map +1 -0
  940. package/dist/format/mcp-schema-check.d.ts +6 -0
  941. package/dist/format/mcp-schema-check.d.ts.map +1 -0
  942. package/dist/format/mcp-schema-check.js +151 -0
  943. package/dist/format/mcp-schema-check.js.map +1 -0
  944. package/dist/format/mcp-sources.d.ts +40 -0
  945. package/dist/format/mcp-sources.d.ts.map +1 -0
  946. package/dist/format/mcp-sources.js +147 -0
  947. package/dist/format/mcp-sources.js.map +1 -0
  948. package/dist/format/mcp-startup.d.ts +110 -0
  949. package/dist/format/mcp-startup.d.ts.map +1 -0
  950. package/dist/format/mcp-startup.js +158 -0
  951. package/dist/format/mcp-startup.js.map +1 -0
  952. package/dist/format/mcp-tool-schema.d.ts +58 -0
  953. package/dist/format/mcp-tool-schema.d.ts.map +1 -0
  954. package/dist/format/mcp-tool-schema.js +179 -0
  955. package/dist/format/mcp-tool-schema.js.map +1 -0
  956. package/dist/format/mcp-tool.d.ts +79 -0
  957. package/dist/format/mcp-tool.d.ts.map +1 -0
  958. package/dist/format/mcp-tool.js +114 -0
  959. package/dist/format/mcp-tool.js.map +1 -0
  960. package/dist/format/mcpb-manifest.d.ts +69 -0
  961. package/dist/format/mcpb-manifest.d.ts.map +1 -0
  962. package/dist/format/mcpb-manifest.js +110 -0
  963. package/dist/format/mcpb-manifest.js.map +1 -0
  964. package/dist/format/memory-rule.d.ts +34 -0
  965. package/dist/format/memory-rule.d.ts.map +1 -0
  966. package/dist/format/memory-rule.js +22 -0
  967. package/dist/format/memory-rule.js.map +1 -0
  968. package/dist/format/messages.d.ts +31 -0
  969. package/dist/format/messages.d.ts.map +1 -0
  970. package/dist/format/messages.js +38 -0
  971. package/dist/format/messages.js.map +1 -0
  972. package/dist/format/mod-files.d.ts +27 -0
  973. package/dist/format/mod-files.d.ts.map +1 -0
  974. package/dist/format/mod-files.js +93 -0
  975. package/dist/format/mod-files.js.map +1 -0
  976. package/dist/format/model-id.d.ts +10 -0
  977. package/dist/format/model-id.d.ts.map +1 -0
  978. package/dist/format/model-id.js +14 -0
  979. package/dist/format/model-id.js.map +1 -0
  980. package/dist/format/monitor-schema.d.ts +30 -0
  981. package/dist/format/monitor-schema.d.ts.map +1 -0
  982. package/dist/format/monitor-schema.js +43 -0
  983. package/dist/format/monitor-schema.js.map +1 -0
  984. package/dist/format/monitors.d.ts +54 -0
  985. package/dist/format/monitors.d.ts.map +1 -0
  986. package/dist/format/monitors.js +69 -0
  987. package/dist/format/monitors.js.map +1 -0
  988. package/dist/format/names.d.ts +30 -0
  989. package/dist/format/names.d.ts.map +1 -0
  990. package/dist/format/names.js +95 -0
  991. package/dist/format/names.js.map +1 -0
  992. package/dist/format/output-style-command.d.ts +41 -0
  993. package/dist/format/output-style-command.d.ts.map +1 -0
  994. package/dist/format/output-style-command.js +28 -0
  995. package/dist/format/output-style-command.js.map +1 -0
  996. package/dist/format/output-style-select.d.ts +76 -0
  997. package/dist/format/output-style-select.d.ts.map +1 -0
  998. package/dist/format/output-style-select.js +117 -0
  999. package/dist/format/output-style-select.js.map +1 -0
  1000. package/dist/format/output-style-system.d.ts +11 -0
  1001. package/dist/format/output-style-system.d.ts.map +1 -0
  1002. package/dist/format/output-style-system.js +13 -0
  1003. package/dist/format/output-style-system.js.map +1 -0
  1004. package/dist/format/output-style.d.ts +47 -0
  1005. package/dist/format/output-style.d.ts.map +1 -0
  1006. package/dist/format/output-style.js +78 -0
  1007. package/dist/format/output-style.js.map +1 -0
  1008. package/dist/format/path-escape.d.ts +43 -0
  1009. package/dist/format/path-escape.d.ts.map +1 -0
  1010. package/dist/format/path-escape.js +32 -0
  1011. package/dist/format/path-escape.js.map +1 -0
  1012. package/dist/format/path-text.d.ts +46 -0
  1013. package/dist/format/path-text.d.ts.map +1 -0
  1014. package/dist/format/path-text.js +84 -0
  1015. package/dist/format/path-text.js.map +1 -0
  1016. package/dist/format/permission-rule-shape.d.ts +20 -0
  1017. package/dist/format/permission-rule-shape.d.ts.map +1 -0
  1018. package/dist/format/permission-rule-shape.js +20 -0
  1019. package/dist/format/permission-rule-shape.js.map +1 -0
  1020. package/dist/format/plugin-settings.d.ts +24 -0
  1021. package/dist/format/plugin-settings.d.ts.map +1 -0
  1022. package/dist/format/plugin-settings.js +44 -0
  1023. package/dist/format/plugin-settings.js.map +1 -0
  1024. package/dist/format/read-json.d.ts +26 -0
  1025. package/dist/format/read-json.d.ts.map +1 -0
  1026. package/dist/format/read-json.js +37 -0
  1027. package/dist/format/read-json.js.map +1 -0
  1028. package/dist/format/remote-mcp-credentials.d.ts +12 -0
  1029. package/dist/format/remote-mcp-credentials.d.ts.map +1 -0
  1030. package/dist/format/remote-mcp-credentials.js +92 -0
  1031. package/dist/format/remote-mcp-credentials.js.map +1 -0
  1032. package/dist/format/settings-files.d.ts +16 -0
  1033. package/dist/format/settings-files.d.ts.map +1 -0
  1034. package/dist/format/settings-files.js +16 -0
  1035. package/dist/format/settings-files.js.map +1 -0
  1036. package/dist/format/skill-field-readers.d.ts +34 -0
  1037. package/dist/format/skill-field-readers.d.ts.map +1 -0
  1038. package/dist/format/skill-field-readers.js +70 -0
  1039. package/dist/format/skill-field-readers.js.map +1 -0
  1040. package/dist/format/skill-fields.d.ts +53 -0
  1041. package/dist/format/skill-fields.d.ts.map +1 -0
  1042. package/dist/format/skill-fields.js +136 -0
  1043. package/dist/format/skill-fields.js.map +1 -0
  1044. package/dist/format/skill-name.d.ts +41 -0
  1045. package/dist/format/skill-name.d.ts.map +1 -0
  1046. package/dist/format/skill-name.js +148 -0
  1047. package/dist/format/skill-name.js.map +1 -0
  1048. package/dist/format/skill-types.d.ts +196 -0
  1049. package/dist/format/skill-types.d.ts.map +1 -0
  1050. package/dist/format/skill-types.js +54 -0
  1051. package/dist/format/skill-types.js.map +1 -0
  1052. package/dist/format/skill.d.ts +19 -0
  1053. package/dist/format/skill.d.ts.map +1 -0
  1054. package/dist/format/skill.js +62 -0
  1055. package/dist/format/skill.js.map +1 -0
  1056. package/dist/format/strict-keys.d.ts +11 -0
  1057. package/dist/format/strict-keys.d.ts.map +1 -0
  1058. package/dist/format/strict-keys.js +19 -0
  1059. package/dist/format/strict-keys.js.map +1 -0
  1060. package/dist/format/theme-color.d.ts +17 -0
  1061. package/dist/format/theme-color.d.ts.map +1 -0
  1062. package/dist/format/theme-color.js +48 -0
  1063. package/dist/format/theme-color.js.map +1 -0
  1064. package/dist/format/theme-tokens.d.ts +13 -0
  1065. package/dist/format/theme-tokens.d.ts.map +1 -0
  1066. package/dist/format/theme-tokens.js +100 -0
  1067. package/dist/format/theme-tokens.js.map +1 -0
  1068. package/dist/format/theme-write.d.ts +14 -0
  1069. package/dist/format/theme-write.d.ts.map +1 -0
  1070. package/dist/format/theme-write.js +34 -0
  1071. package/dist/format/theme-write.js.map +1 -0
  1072. package/dist/format/theme.d.ts +60 -0
  1073. package/dist/format/theme.d.ts.map +1 -0
  1074. package/dist/format/theme.js +131 -0
  1075. package/dist/format/theme.js.map +1 -0
  1076. package/dist/format/token-estimate.d.ts +10 -0
  1077. package/dist/format/token-estimate.d.ts.map +1 -0
  1078. package/dist/format/token-estimate.js +10 -0
  1079. package/dist/format/token-estimate.js.map +1 -0
  1080. package/dist/format/user-config-options.d.ts +23 -0
  1081. package/dist/format/user-config-options.d.ts.map +1 -0
  1082. package/dist/format/user-config-options.js +79 -0
  1083. package/dist/format/user-config-options.js.map +1 -0
  1084. package/dist/format/user-config-refs.d.ts +21 -0
  1085. package/dist/format/user-config-refs.d.ts.map +1 -0
  1086. package/dist/format/user-config-refs.js +32 -0
  1087. package/dist/format/user-config-refs.js.map +1 -0
  1088. package/dist/format/utf8.d.ts +5 -0
  1089. package/dist/format/utf8.d.ts.map +1 -0
  1090. package/dist/format/utf8.js +20 -0
  1091. package/dist/format/utf8.js.map +1 -0
  1092. package/dist/format/validate/component-frontmatter.d.ts +13 -0
  1093. package/dist/format/validate/component-frontmatter.d.ts.map +1 -0
  1094. package/dist/format/validate/component-frontmatter.js +124 -0
  1095. package/dist/format/validate/component-frontmatter.js.map +1 -0
  1096. package/dist/format/validate/finding.d.ts +25 -0
  1097. package/dist/format/validate/finding.d.ts.map +1 -0
  1098. package/dist/format/validate/finding.js +30 -0
  1099. package/dist/format/validate/finding.js.map +1 -0
  1100. package/dist/format/validate/hook-handlers.d.ts +5 -0
  1101. package/dist/format/validate/hook-handlers.d.ts.map +1 -0
  1102. package/dist/format/validate/hook-handlers.js +78 -0
  1103. package/dist/format/validate/hook-handlers.js.map +1 -0
  1104. package/dist/format/validate/hooks-check.d.ts +13 -0
  1105. package/dist/format/validate/hooks-check.d.ts.map +1 -0
  1106. package/dist/format/validate/hooks-check.js +67 -0
  1107. package/dist/format/validate/hooks-check.js.map +1 -0
  1108. package/dist/format/validate/inline-sources.d.ts +10 -0
  1109. package/dist/format/validate/inline-sources.d.ts.map +1 -0
  1110. package/dist/format/validate/inline-sources.js +27 -0
  1111. package/dist/format/validate/inline-sources.js.map +1 -0
  1112. package/dist/format/validate/mcp-check.d.ts +9 -0
  1113. package/dist/format/validate/mcp-check.d.ts.map +1 -0
  1114. package/dist/format/validate/mcp-check.js +130 -0
  1115. package/dist/format/validate/mcp-check.js.map +1 -0
  1116. package/dist/format/validate/mcp-remote-checks.d.ts +4 -0
  1117. package/dist/format/validate/mcp-remote-checks.d.ts.map +1 -0
  1118. package/dist/format/validate/mcp-remote-checks.js +61 -0
  1119. package/dist/format/validate/mcp-remote-checks.js.map +1 -0
  1120. package/dist/format/validate/path-claims.d.ts +20 -0
  1121. package/dist/format/validate/path-claims.d.ts.map +1 -0
  1122. package/dist/format/validate/path-claims.js +59 -0
  1123. package/dist/format/validate/path-claims.js.map +1 -0
  1124. package/dist/format/validate/plugin-fields.d.ts +12 -0
  1125. package/dist/format/validate/plugin-fields.d.ts.map +1 -0
  1126. package/dist/format/validate/plugin-fields.js +121 -0
  1127. package/dist/format/validate/plugin-fields.js.map +1 -0
  1128. package/dist/format/validate/plugin-manifest.d.ts +32 -0
  1129. package/dist/format/validate/plugin-manifest.d.ts.map +1 -0
  1130. package/dist/format/validate/plugin-manifest.js +111 -0
  1131. package/dist/format/validate/plugin-manifest.js.map +1 -0
  1132. package/dist/format/validate/plugin-name.d.ts +15 -0
  1133. package/dist/format/validate/plugin-name.d.ts.map +1 -0
  1134. package/dist/format/validate/plugin-name.js +34 -0
  1135. package/dist/format/validate/plugin-name.js.map +1 -0
  1136. package/dist/format/validate/plugin-paths.d.ts +93 -0
  1137. package/dist/format/validate/plugin-paths.d.ts.map +1 -0
  1138. package/dist/format/validate/plugin-paths.js +83 -0
  1139. package/dist/format/validate/plugin-paths.js.map +1 -0
  1140. package/dist/format/validate/received.d.ts +9 -0
  1141. package/dist/format/validate/received.d.ts.map +1 -0
  1142. package/dist/format/validate/received.js +20 -0
  1143. package/dist/format/validate/received.js.map +1 -0
  1144. package/dist/format/validate/shell-command.d.ts +3 -0
  1145. package/dist/format/validate/shell-command.d.ts.map +1 -0
  1146. package/dist/format/validate/shell-command.js +44 -0
  1147. package/dist/format/validate/shell-command.js.map +1 -0
  1148. package/dist/format/validate/unknown-fields.d.ts +7 -0
  1149. package/dist/format/validate/unknown-fields.d.ts.map +1 -0
  1150. package/dist/format/validate/unknown-fields.js +102 -0
  1151. package/dist/format/validate/unknown-fields.js.map +1 -0
  1152. package/dist/format/validate/zod-findings.d.ts +7 -0
  1153. package/dist/format/validate/zod-findings.d.ts.map +1 -0
  1154. package/dist/format/validate/zod-findings.js +10 -0
  1155. package/dist/format/validate/zod-findings.js.map +1 -0
  1156. package/dist/format/versions.d.ts +5 -0
  1157. package/dist/format/versions.d.ts.map +1 -0
  1158. package/dist/format/versions.js +23 -0
  1159. package/dist/format/versions.js.map +1 -0
  1160. package/dist/format/wildcard.d.ts +16 -0
  1161. package/dist/format/wildcard.d.ts.map +1 -0
  1162. package/dist/format/wildcard.js +33 -0
  1163. package/dist/format/wildcard.js.map +1 -0
  1164. package/dist/format/workflow-meta-rewrite.d.ts +24 -0
  1165. package/dist/format/workflow-meta-rewrite.d.ts.map +1 -0
  1166. package/dist/format/workflow-meta-rewrite.js +101 -0
  1167. package/dist/format/workflow-meta-rewrite.js.map +1 -0
  1168. package/dist/format/workflow-meta.d.ts +57 -0
  1169. package/dist/format/workflow-meta.d.ts.map +1 -0
  1170. package/dist/format/workflow-meta.js +139 -0
  1171. package/dist/format/workflow-meta.js.map +1 -0
  1172. package/dist/format/workflow-script.d.ts +33 -0
  1173. package/dist/format/workflow-script.d.ts.map +1 -0
  1174. package/dist/format/workflow-script.js +136 -0
  1175. package/dist/format/workflow-script.js.map +1 -0
  1176. package/dist/foundation/budget.d.ts +30 -0
  1177. package/dist/foundation/budget.d.ts.map +1 -0
  1178. package/dist/foundation/budget.js +82 -0
  1179. package/dist/foundation/budget.js.map +1 -0
  1180. package/dist/foundation/folder-read.d.ts +16 -0
  1181. package/dist/foundation/folder-read.d.ts.map +1 -0
  1182. package/dist/foundation/folder-read.js +16 -0
  1183. package/dist/foundation/folder-read.js.map +1 -0
  1184. package/dist/foundation/folder-walk.d.ts +38 -0
  1185. package/dist/foundation/folder-walk.d.ts.map +1 -0
  1186. package/dist/foundation/folder-walk.js +77 -0
  1187. package/dist/foundation/folder-walk.js.map +1 -0
  1188. package/dist/foundation/freeze.d.ts +19 -0
  1189. package/dist/foundation/freeze.d.ts.map +1 -0
  1190. package/dist/foundation/freeze.js +67 -0
  1191. package/dist/foundation/freeze.js.map +1 -0
  1192. package/dist/foundation/index.d.ts +8 -0
  1193. package/dist/foundation/index.d.ts.map +1 -0
  1194. package/dist/foundation/index.js +8 -0
  1195. package/dist/foundation/index.js.map +1 -0
  1196. package/dist/foundation/json-size.d.ts +5 -0
  1197. package/dist/foundation/json-size.d.ts.map +1 -0
  1198. package/dist/foundation/json-size.js +21 -0
  1199. package/dist/foundation/json-size.js.map +1 -0
  1200. package/dist/foundation/json-value.d.ts +8 -0
  1201. package/dist/foundation/json-value.d.ts.map +1 -0
  1202. package/dist/foundation/json-value.js +17 -0
  1203. package/dist/foundation/json-value.js.map +1 -0
  1204. package/dist/foundation/plain-data.d.ts +37 -0
  1205. package/dist/foundation/plain-data.d.ts.map +1 -0
  1206. package/dist/foundation/plain-data.js +73 -0
  1207. package/dist/foundation/plain-data.js.map +1 -0
  1208. package/dist/foundation/project-directories.d.ts +11 -0
  1209. package/dist/foundation/project-directories.d.ts.map +1 -0
  1210. package/dist/foundation/project-directories.js +18 -0
  1211. package/dist/foundation/project-directories.js.map +1 -0
  1212. package/dist/foundation/run-each.d.ts +7 -0
  1213. package/dist/foundation/run-each.d.ts.map +1 -0
  1214. package/dist/foundation/run-each.js +22 -0
  1215. package/dist/foundation/run-each.js.map +1 -0
  1216. package/dist/foundation/scope-folders.d.ts +105 -0
  1217. package/dist/foundation/scope-folders.d.ts.map +1 -0
  1218. package/dist/foundation/scope-folders.js +88 -0
  1219. package/dist/foundation/scope-folders.js.map +1 -0
  1220. package/dist/hooks/assemble.d.ts +13 -0
  1221. package/dist/hooks/assemble.d.ts.map +1 -0
  1222. package/dist/hooks/assemble.js +101 -0
  1223. package/dist/hooks/assemble.js.map +1 -0
  1224. package/dist/hooks/contracts.d.ts +137 -0
  1225. package/dist/hooks/contracts.d.ts.map +1 -0
  1226. package/dist/hooks/contracts.js +2 -0
  1227. package/dist/hooks/contracts.js.map +1 -0
  1228. package/dist/hooks/core/combine.d.ts +21 -0
  1229. package/dist/hooks/core/combine.d.ts.map +1 -0
  1230. package/dist/hooks/core/combine.js +146 -0
  1231. package/dist/hooks/core/combine.js.map +1 -0
  1232. package/dist/hooks/core/input.d.ts +22 -0
  1233. package/dist/hooks/core/input.d.ts.map +1 -0
  1234. package/dist/hooks/core/input.js +102 -0
  1235. package/dist/hooks/core/input.js.map +1 -0
  1236. package/dist/hooks/core/output.d.ts +11 -0
  1237. package/dist/hooks/core/output.d.ts.map +1 -0
  1238. package/dist/hooks/core/output.js +80 -0
  1239. package/dist/hooks/core/output.js.map +1 -0
  1240. package/dist/hooks/core/profile-results.d.ts +20 -0
  1241. package/dist/hooks/core/profile-results.d.ts.map +1 -0
  1242. package/dist/hooks/core/profile-results.js +116 -0
  1243. package/dist/hooks/core/profile-results.js.map +1 -0
  1244. package/dist/hooks/core/profiles.d.ts +16 -0
  1245. package/dist/hooks/core/profiles.d.ts.map +1 -0
  1246. package/dist/hooks/core/profiles.js +73 -0
  1247. package/dist/hooks/core/profiles.js.map +1 -0
  1248. package/dist/hooks/core/run.d.ts +16 -0
  1249. package/dist/hooks/core/run.d.ts.map +1 -0
  1250. package/dist/hooks/core/run.js +45 -0
  1251. package/dist/hooks/core/run.js.map +1 -0
  1252. package/dist/hooks/core/types.d.ts +64 -0
  1253. package/dist/hooks/core/types.d.ts.map +1 -0
  1254. package/dist/hooks/core/types.js +2 -0
  1255. package/dist/hooks/core/types.js.map +1 -0
  1256. package/dist/hooks/dispatch.d.ts +55 -0
  1257. package/dist/hooks/dispatch.d.ts.map +1 -0
  1258. package/dist/hooks/dispatch.js +104 -0
  1259. package/dist/hooks/dispatch.js.map +1 -0
  1260. package/dist/hooks/engine.d.ts +72 -0
  1261. package/dist/hooks/engine.d.ts.map +1 -0
  1262. package/dist/hooks/engine.js +55 -0
  1263. package/dist/hooks/engine.js.map +1 -0
  1264. package/dist/hooks/env-file/events.d.ts +8 -0
  1265. package/dist/hooks/env-file/events.d.ts.map +1 -0
  1266. package/dist/hooks/env-file/events.js +26 -0
  1267. package/dist/hooks/env-file/events.js.map +1 -0
  1268. package/dist/hooks/env-file/files.d.ts +41 -0
  1269. package/dist/hooks/env-file/files.d.ts.map +1 -0
  1270. package/dist/hooks/env-file/files.js +33 -0
  1271. package/dist/hooks/env-file/files.js.map +1 -0
  1272. package/dist/hooks/env-file/index.d.ts +6 -0
  1273. package/dist/hooks/env-file/index.d.ts.map +1 -0
  1274. package/dist/hooks/env-file/index.js +6 -0
  1275. package/dist/hooks/env-file/index.js.map +1 -0
  1276. package/dist/hooks/env-file/ports.d.ts +27 -0
  1277. package/dist/hooks/env-file/ports.d.ts.map +1 -0
  1278. package/dist/hooks/env-file/ports.js +15 -0
  1279. package/dist/hooks/env-file/ports.js.map +1 -0
  1280. package/dist/hooks/env-file/powershell-reader.d.ts +37 -0
  1281. package/dist/hooks/env-file/powershell-reader.d.ts.map +1 -0
  1282. package/dist/hooks/env-file/powershell-reader.js +88 -0
  1283. package/dist/hooks/env-file/powershell-reader.js.map +1 -0
  1284. package/dist/hooks/handlers/command/async.d.ts +46 -0
  1285. package/dist/hooks/handlers/command/async.d.ts.map +1 -0
  1286. package/dist/hooks/handlers/command/async.js +54 -0
  1287. package/dist/hooks/handlers/command/async.js.map +1 -0
  1288. package/dist/hooks/handlers/command/cwd-fallback.d.ts +15 -0
  1289. package/dist/hooks/handlers/command/cwd-fallback.d.ts.map +1 -0
  1290. package/dist/hooks/handlers/command/cwd-fallback.js +23 -0
  1291. package/dist/hooks/handlers/command/cwd-fallback.js.map +1 -0
  1292. package/dist/hooks/handlers/command/env.d.ts +7 -0
  1293. package/dist/hooks/handlers/command/env.d.ts.map +1 -0
  1294. package/dist/hooks/handlers/command/env.js +50 -0
  1295. package/dist/hooks/handlers/command/env.js.map +1 -0
  1296. package/dist/hooks/handlers/command/plan.d.ts +23 -0
  1297. package/dist/hooks/handlers/command/plan.d.ts.map +1 -0
  1298. package/dist/hooks/handlers/command/plan.js +53 -0
  1299. package/dist/hooks/handlers/command/plan.js.map +1 -0
  1300. package/dist/hooks/handlers/command/run-command.d.ts +3 -0
  1301. package/dist/hooks/handlers/command/run-command.d.ts.map +1 -0
  1302. package/dist/hooks/handlers/command/run-command.js +73 -0
  1303. package/dist/hooks/handlers/command/run-command.js.map +1 -0
  1304. package/dist/hooks/handlers/command/shell.d.ts +9 -0
  1305. package/dist/hooks/handlers/command/shell.d.ts.map +1 -0
  1306. package/dist/hooks/handlers/command/shell.js +7 -0
  1307. package/dist/hooks/handlers/command/shell.js.map +1 -0
  1308. package/dist/hooks/handlers/command/subprocess-env.d.ts +48 -0
  1309. package/dist/hooks/handlers/command/subprocess-env.d.ts.map +1 -0
  1310. package/dist/hooks/handlers/command/subprocess-env.js +81 -0
  1311. package/dist/hooks/handlers/command/subprocess-env.js.map +1 -0
  1312. package/dist/hooks/handlers/context.d.ts +143 -0
  1313. package/dist/hooks/handlers/context.d.ts.map +1 -0
  1314. package/dist/hooks/handlers/context.js +2 -0
  1315. package/dist/hooks/handlers/context.js.map +1 -0
  1316. package/dist/hooks/handlers/index.d.ts +14 -0
  1317. package/dist/hooks/handlers/index.d.ts.map +1 -0
  1318. package/dist/hooks/handlers/index.js +7 -0
  1319. package/dist/hooks/handlers/index.js.map +1 -0
  1320. package/dist/hooks/handlers/registry.d.ts +12 -0
  1321. package/dist/hooks/handlers/registry.d.ts.map +1 -0
  1322. package/dist/hooks/handlers/registry.js +34 -0
  1323. package/dist/hooks/handlers/registry.js.map +1 -0
  1324. package/dist/hooks/handlers/remote/agent.d.ts +11 -0
  1325. package/dist/hooks/handlers/remote/agent.d.ts.map +1 -0
  1326. package/dist/hooks/handlers/remote/agent.js +25 -0
  1327. package/dist/hooks/handlers/remote/agent.js.map +1 -0
  1328. package/dist/hooks/handlers/remote/concurrency.d.ts +19 -0
  1329. package/dist/hooks/handlers/remote/concurrency.d.ts.map +1 -0
  1330. package/dist/hooks/handlers/remote/concurrency.js +48 -0
  1331. package/dist/hooks/handlers/remote/concurrency.js.map +1 -0
  1332. package/dist/hooks/handlers/remote/failure-run.d.ts +19 -0
  1333. package/dist/hooks/handlers/remote/failure-run.d.ts.map +1 -0
  1334. package/dist/hooks/handlers/remote/failure-run.js +26 -0
  1335. package/dist/hooks/handlers/remote/failure-run.js.map +1 -0
  1336. package/dist/hooks/handlers/remote/http-env.d.ts +4 -0
  1337. package/dist/hooks/handlers/remote/http-env.d.ts.map +1 -0
  1338. package/dist/hooks/handlers/remote/http-env.js +29 -0
  1339. package/dist/hooks/handlers/remote/http-env.js.map +1 -0
  1340. package/dist/hooks/handlers/remote/http-policy.d.ts +27 -0
  1341. package/dist/hooks/handlers/remote/http-policy.d.ts.map +1 -0
  1342. package/dist/hooks/handlers/remote/http-policy.js +37 -0
  1343. package/dist/hooks/handlers/remote/http-policy.js.map +1 -0
  1344. package/dist/hooks/handlers/remote/http.d.ts +3 -0
  1345. package/dist/hooks/handlers/remote/http.d.ts.map +1 -0
  1346. package/dist/hooks/handlers/remote/http.js +42 -0
  1347. package/dist/hooks/handlers/remote/http.js.map +1 -0
  1348. package/dist/hooks/handlers/remote/mcp-input.d.ts +9 -0
  1349. package/dist/hooks/handlers/remote/mcp-input.d.ts.map +1 -0
  1350. package/dist/hooks/handlers/remote/mcp-input.js +61 -0
  1351. package/dist/hooks/handlers/remote/mcp-input.js.map +1 -0
  1352. package/dist/hooks/handlers/remote/mcp-tool.d.ts +25 -0
  1353. package/dist/hooks/handlers/remote/mcp-tool.d.ts.map +1 -0
  1354. package/dist/hooks/handlers/remote/mcp-tool.js +123 -0
  1355. package/dist/hooks/handlers/remote/mcp-tool.js.map +1 -0
  1356. package/dist/hooks/handlers/remote/model-run.d.ts +14 -0
  1357. package/dist/hooks/handlers/remote/model-run.d.ts.map +1 -0
  1358. package/dist/hooks/handlers/remote/model-run.js +27 -0
  1359. package/dist/hooks/handlers/remote/model-run.js.map +1 -0
  1360. package/dist/hooks/handlers/remote/ok-false.d.ts +63 -0
  1361. package/dist/hooks/handlers/remote/ok-false.d.ts.map +1 -0
  1362. package/dist/hooks/handlers/remote/ok-false.js +43 -0
  1363. package/dist/hooks/handlers/remote/ok-false.js.map +1 -0
  1364. package/dist/hooks/handlers/remote/prompt-response.d.ts +23 -0
  1365. package/dist/hooks/handlers/remote/prompt-response.d.ts.map +1 -0
  1366. package/dist/hooks/handlers/remote/prompt-response.js +60 -0
  1367. package/dist/hooks/handlers/remote/prompt-response.js.map +1 -0
  1368. package/dist/hooks/handlers/remote/prompt-text.d.ts +13 -0
  1369. package/dist/hooks/handlers/remote/prompt-text.d.ts.map +1 -0
  1370. package/dist/hooks/handlers/remote/prompt-text.js +23 -0
  1371. package/dist/hooks/handlers/remote/prompt-text.js.map +1 -0
  1372. package/dist/hooks/handlers/remote/prompt.d.ts +8 -0
  1373. package/dist/hooks/handlers/remote/prompt.d.ts.map +1 -0
  1374. package/dist/hooks/handlers/remote/prompt.js +17 -0
  1375. package/dist/hooks/handlers/remote/prompt.js.map +1 -0
  1376. package/dist/hooks/handlers/remote/types.d.ts +39 -0
  1377. package/dist/hooks/handlers/remote/types.d.ts.map +1 -0
  1378. package/dist/hooks/handlers/remote/types.js +9 -0
  1379. package/dist/hooks/handlers/remote/types.js.map +1 -0
  1380. package/dist/hooks/handlers/status.d.ts +25 -0
  1381. package/dist/hooks/handlers/status.d.ts.map +1 -0
  1382. package/dist/hooks/handlers/status.js +22 -0
  1383. package/dist/hooks/handlers/status.js.map +1 -0
  1384. package/dist/hooks/handlers/timeouts.d.ts +22 -0
  1385. package/dist/hooks/handlers/timeouts.d.ts.map +1 -0
  1386. package/dist/hooks/handlers/timeouts.js +101 -0
  1387. package/dist/hooks/handlers/timeouts.js.map +1 -0
  1388. package/dist/hooks/index.d.ts +16 -0
  1389. package/dist/hooks/index.d.ts.map +1 -0
  1390. package/dist/hooks/index.js +11 -0
  1391. package/dist/hooks/index.js.map +1 -0
  1392. package/dist/hooks/input/background-tasks.d.ts +19 -0
  1393. package/dist/hooks/input/background-tasks.d.ts.map +1 -0
  1394. package/dist/hooks/input/background-tasks.js +51 -0
  1395. package/dist/hooks/input/background-tasks.js.map +1 -0
  1396. package/dist/hooks/input/build.d.ts +24 -0
  1397. package/dist/hooks/input/build.d.ts.map +1 -0
  1398. package/dist/hooks/input/build.js +46 -0
  1399. package/dist/hooks/input/build.js.map +1 -0
  1400. package/dist/hooks/input/common.d.ts +23 -0
  1401. package/dist/hooks/input/common.d.ts.map +1 -0
  1402. package/dist/hooks/input/common.js +124 -0
  1403. package/dist/hooks/input/common.js.map +1 -0
  1404. package/dist/hooks/input/conditional-fields.d.ts +16 -0
  1405. package/dist/hooks/input/conditional-fields.d.ts.map +1 -0
  1406. package/dist/hooks/input/conditional-fields.js +72 -0
  1407. package/dist/hooks/input/conditional-fields.js.map +1 -0
  1408. package/dist/hooks/input/fact-read.d.ts +9 -0
  1409. package/dist/hooks/input/fact-read.d.ts.map +1 -0
  1410. package/dist/hooks/input/fact-read.js +12 -0
  1411. package/dist/hooks/input/fact-read.js.map +1 -0
  1412. package/dist/hooks/input/facts-agents.d.ts +88 -0
  1413. package/dist/hooks/input/facts-agents.d.ts.map +1 -0
  1414. package/dist/hooks/input/facts-agents.js +81 -0
  1415. package/dist/hooks/input/facts-agents.js.map +1 -0
  1416. package/dist/hooks/input/facts-misc.d.ts +86 -0
  1417. package/dist/hooks/input/facts-misc.d.ts.map +1 -0
  1418. package/dist/hooks/input/facts-misc.js +71 -0
  1419. package/dist/hooks/input/facts-misc.js.map +1 -0
  1420. package/dist/hooks/input/facts-model.d.ts +48 -0
  1421. package/dist/hooks/input/facts-model.d.ts.map +1 -0
  1422. package/dist/hooks/input/facts-model.js +26 -0
  1423. package/dist/hooks/input/facts-model.js.map +1 -0
  1424. package/dist/hooks/input/facts-session.d.ts +80 -0
  1425. package/dist/hooks/input/facts-session.d.ts.map +1 -0
  1426. package/dist/hooks/input/facts-session.js +52 -0
  1427. package/dist/hooks/input/facts-session.js.map +1 -0
  1428. package/dist/hooks/input/facts-shared.d.ts +21 -0
  1429. package/dist/hooks/input/facts-shared.d.ts.map +1 -0
  1430. package/dist/hooks/input/facts-shared.js +20 -0
  1431. package/dist/hooks/input/facts-shared.js.map +1 -0
  1432. package/dist/hooks/input/facts-tools.d.ts +62 -0
  1433. package/dist/hooks/input/facts-tools.d.ts.map +1 -0
  1434. package/dist/hooks/input/facts-tools.js +60 -0
  1435. package/dist/hooks/input/facts-tools.js.map +1 -0
  1436. package/dist/hooks/input/facts.d.ts +368 -0
  1437. package/dist/hooks/input/facts.d.ts.map +1 -0
  1438. package/dist/hooks/input/facts.js +49 -0
  1439. package/dist/hooks/input/facts.js.map +1 -0
  1440. package/dist/hooks/input/index.d.ts +5 -0
  1441. package/dist/hooks/input/index.d.ts.map +1 -0
  1442. package/dist/hooks/input/index.js +3 -0
  1443. package/dist/hooks/input/index.js.map +1 -0
  1444. package/dist/hooks/input/permission-mode.d.ts +10 -0
  1445. package/dist/hooks/input/permission-mode.d.ts.map +1 -0
  1446. package/dist/hooks/input/permission-mode.js +12 -0
  1447. package/dist/hooks/input/permission-mode.js.map +1 -0
  1448. package/dist/hooks/interrupt.d.ts +42 -0
  1449. package/dist/hooks/interrupt.d.ts.map +1 -0
  1450. package/dist/hooks/interrupt.js +54 -0
  1451. package/dist/hooks/interrupt.js.map +1 -0
  1452. package/dist/hooks/outcome.d.ts +62 -0
  1453. package/dist/hooks/outcome.d.ts.map +1 -0
  1454. package/dist/hooks/outcome.js +2 -0
  1455. package/dist/hooks/outcome.js.map +1 -0
  1456. package/dist/hooks/output/background.d.ts +22 -0
  1457. package/dist/hooks/output/background.d.ts.map +1 -0
  1458. package/dist/hooks/output/background.js +19 -0
  1459. package/dist/hooks/output/background.js.map +1 -0
  1460. package/dist/hooks/output/caps.d.ts +30 -0
  1461. package/dist/hooks/output/caps.d.ts.map +1 -0
  1462. package/dist/hooks/output/caps.js +78 -0
  1463. package/dist/hooks/output/caps.js.map +1 -0
  1464. package/dist/hooks/output/classifier-note.d.ts +31 -0
  1465. package/dist/hooks/output/classifier-note.d.ts.map +1 -0
  1466. package/dist/hooks/output/classifier-note.js +62 -0
  1467. package/dist/hooks/output/classifier-note.js.map +1 -0
  1468. package/dist/hooks/output/defer.d.ts +33 -0
  1469. package/dist/hooks/output/defer.d.ts.map +1 -0
  1470. package/dist/hooks/output/defer.js +21 -0
  1471. package/dist/hooks/output/defer.js.map +1 -0
  1472. package/dist/hooks/output/effects.d.ts +75 -0
  1473. package/dist/hooks/output/effects.d.ts.map +1 -0
  1474. package/dist/hooks/output/effects.js +2 -0
  1475. package/dist/hooks/output/effects.js.map +1 -0
  1476. package/dist/hooks/output/fields.d.ts +11 -0
  1477. package/dist/hooks/output/fields.d.ts.map +1 -0
  1478. package/dist/hooks/output/fields.js +30 -0
  1479. package/dist/hooks/output/fields.js.map +1 -0
  1480. package/dist/hooks/output/finalize.d.ts +5 -0
  1481. package/dist/hooks/output/finalize.d.ts.map +1 -0
  1482. package/dist/hooks/output/finalize.js +42 -0
  1483. package/dist/hooks/output/finalize.js.map +1 -0
  1484. package/dist/hooks/output/index.d.ts +25 -0
  1485. package/dist/hooks/output/index.d.ts.map +1 -0
  1486. package/dist/hooks/output/index.js +17 -0
  1487. package/dist/hooks/output/index.js.map +1 -0
  1488. package/dist/hooks/output/limit.d.ts +22 -0
  1489. package/dist/hooks/output/limit.d.ts.map +1 -0
  1490. package/dist/hooks/output/limit.js +88 -0
  1491. package/dist/hooks/output/limit.js.map +1 -0
  1492. package/dist/hooks/output/merge-gates.d.ts +10 -0
  1493. package/dist/hooks/output/merge-gates.d.ts.map +1 -0
  1494. package/dist/hooks/output/merge-gates.js +126 -0
  1495. package/dist/hooks/output/merge-gates.js.map +1 -0
  1496. package/dist/hooks/output/merge-rules.d.ts +41 -0
  1497. package/dist/hooks/output/merge-rules.d.ts.map +1 -0
  1498. package/dist/hooks/output/merge-rules.js +5 -0
  1499. package/dist/hooks/output/merge-rules.js.map +1 -0
  1500. package/dist/hooks/output/merge-simple.d.ts +45 -0
  1501. package/dist/hooks/output/merge-simple.d.ts.map +1 -0
  1502. package/dist/hooks/output/merge-simple.js +217 -0
  1503. package/dist/hooks/output/merge-simple.js.map +1 -0
  1504. package/dist/hooks/output/merge.d.ts +5 -0
  1505. package/dist/hooks/output/merge.d.ts.map +1 -0
  1506. package/dist/hooks/output/merge.js +160 -0
  1507. package/dist/hooks/output/merge.js.map +1 -0
  1508. package/dist/hooks/output/messages.d.ts +10 -0
  1509. package/dist/hooks/output/messages.d.ts.map +1 -0
  1510. package/dist/hooks/output/messages.js +21 -0
  1511. package/dist/hooks/output/messages.js.map +1 -0
  1512. package/dist/hooks/output/parse.d.ts +20 -0
  1513. package/dist/hooks/output/parse.d.ts.map +1 -0
  1514. package/dist/hooks/output/parse.js +54 -0
  1515. package/dist/hooks/output/parse.js.map +1 -0
  1516. package/dist/hooks/output/permission-request-outcome.d.ts +13 -0
  1517. package/dist/hooks/output/permission-request-outcome.d.ts.map +1 -0
  1518. package/dist/hooks/output/permission-request-outcome.js +30 -0
  1519. package/dist/hooks/output/permission-request-outcome.js.map +1 -0
  1520. package/dist/hooks/output/permission-update.d.ts +96 -0
  1521. package/dist/hooks/output/permission-update.d.ts.map +1 -0
  1522. package/dist/hooks/output/permission-update.js +62 -0
  1523. package/dist/hooks/output/permission-update.js.map +1 -0
  1524. package/dist/hooks/output/pre-tool-use-outcome.d.ts +10 -0
  1525. package/dist/hooks/output/pre-tool-use-outcome.d.ts.map +1 -0
  1526. package/dist/hooks/output/pre-tool-use-outcome.js +15 -0
  1527. package/dist/hooks/output/pre-tool-use-outcome.js.map +1 -0
  1528. package/dist/hooks/output/reminder-tags.d.ts +2 -0
  1529. package/dist/hooks/output/reminder-tags.d.ts.map +1 -0
  1530. package/dist/hooks/output/reminder-tags.js +8 -0
  1531. package/dist/hooks/output/reminder-tags.js.map +1 -0
  1532. package/dist/hooks/output/schemas-common.d.ts +21 -0
  1533. package/dist/hooks/output/schemas-common.d.ts.map +1 -0
  1534. package/dist/hooks/output/schemas-common.js +31 -0
  1535. package/dist/hooks/output/schemas-common.js.map +1 -0
  1536. package/dist/hooks/output/schemas-elicitation.d.ts +20 -0
  1537. package/dist/hooks/output/schemas-elicitation.d.ts.map +1 -0
  1538. package/dist/hooks/output/schemas-elicitation.js +19 -0
  1539. package/dist/hooks/output/schemas-elicitation.js.map +1 -0
  1540. package/dist/hooks/output/schemas-misc.d.ts +31 -0
  1541. package/dist/hooks/output/schemas-misc.d.ts.map +1 -0
  1542. package/dist/hooks/output/schemas-misc.js +34 -0
  1543. package/dist/hooks/output/schemas-misc.js.map +1 -0
  1544. package/dist/hooks/output/schemas-session.d.ts +45 -0
  1545. package/dist/hooks/output/schemas-session.d.ts.map +1 -0
  1546. package/dist/hooks/output/schemas-session.js +55 -0
  1547. package/dist/hooks/output/schemas-session.js.map +1 -0
  1548. package/dist/hooks/output/schemas-tool.d.ts +129 -0
  1549. package/dist/hooks/output/schemas-tool.d.ts.map +1 -0
  1550. package/dist/hooks/output/schemas-tool.js +51 -0
  1551. package/dist/hooks/output/schemas-tool.js.map +1 -0
  1552. package/dist/hooks/output/schemas.d.ts +32 -0
  1553. package/dist/hooks/output/schemas.d.ts.map +1 -0
  1554. package/dist/hooks/output/schemas.js +60 -0
  1555. package/dist/hooks/output/schemas.js.map +1 -0
  1556. package/dist/hooks/output/stage.d.ts +9 -0
  1557. package/dist/hooks/output/stage.d.ts.map +1 -0
  1558. package/dist/hooks/output/stage.js +15 -0
  1559. package/dist/hooks/output/stage.js.map +1 -0
  1560. package/dist/hooks/output/terminal-sequence.d.ts +10 -0
  1561. package/dist/hooks/output/terminal-sequence.d.ts.map +1 -0
  1562. package/dist/hooks/output/terminal-sequence.js +61 -0
  1563. package/dist/hooks/output/terminal-sequence.js.map +1 -0
  1564. package/dist/hooks/output/text-cap.d.ts +24 -0
  1565. package/dist/hooks/output/text-cap.d.ts.map +1 -0
  1566. package/dist/hooks/output/text-cap.js +55 -0
  1567. package/dist/hooks/output/text-cap.js.map +1 -0
  1568. package/dist/hooks/output/tool-output.d.ts +22 -0
  1569. package/dist/hooks/output/tool-output.d.ts.map +1 -0
  1570. package/dist/hooks/output/tool-output.js +24 -0
  1571. package/dist/hooks/output/tool-output.js.map +1 -0
  1572. package/dist/hooks/output/tool-shape.d.ts +27 -0
  1573. package/dist/hooks/output/tool-shape.d.ts.map +1 -0
  1574. package/dist/hooks/output/tool-shape.js +74 -0
  1575. package/dist/hooks/output/tool-shape.js.map +1 -0
  1576. package/dist/hooks/output/tool-shapes/index.d.ts +4 -0
  1577. package/dist/hooks/output/tool-shapes/index.d.ts.map +1 -0
  1578. package/dist/hooks/output/tool-shapes/index.js +18 -0
  1579. package/dist/hooks/output/tool-shapes/index.js.map +1 -0
  1580. package/dist/hooks/output/tool-shapes/shapes-0.d.ts +3 -0
  1581. package/dist/hooks/output/tool-shapes/shapes-0.d.ts.map +1 -0
  1582. package/dist/hooks/output/tool-shapes/shapes-0.js +211 -0
  1583. package/dist/hooks/output/tool-shapes/shapes-0.js.map +1 -0
  1584. package/dist/hooks/output/tool-shapes/shapes-1.d.ts +3 -0
  1585. package/dist/hooks/output/tool-shapes/shapes-1.d.ts.map +1 -0
  1586. package/dist/hooks/output/tool-shapes/shapes-1.js +249 -0
  1587. package/dist/hooks/output/tool-shapes/shapes-1.js.map +1 -0
  1588. package/dist/hooks/output/tool-shapes/shapes-2.d.ts +3 -0
  1589. package/dist/hooks/output/tool-shapes/shapes-2.d.ts.map +1 -0
  1590. package/dist/hooks/output/tool-shapes/shapes-2.js +170 -0
  1591. package/dist/hooks/output/tool-shapes/shapes-2.js.map +1 -0
  1592. package/dist/hooks/output/tool-shapes/shapes-3.d.ts +3 -0
  1593. package/dist/hooks/output/tool-shapes/shapes-3.d.ts.map +1 -0
  1594. package/dist/hooks/output/tool-shapes/shapes-3.js +177 -0
  1595. package/dist/hooks/output/tool-shapes/shapes-3.js.map +1 -0
  1596. package/dist/hooks/output/tool-shapes/shapes-4.d.ts +3 -0
  1597. package/dist/hooks/output/tool-shapes/shapes-4.d.ts.map +1 -0
  1598. package/dist/hooks/output/tool-shapes/shapes-4.js +228 -0
  1599. package/dist/hooks/output/tool-shapes/shapes-4.js.map +1 -0
  1600. package/dist/hooks/output/tool-shapes/shapes-5.d.ts +3 -0
  1601. package/dist/hooks/output/tool-shapes/shapes-5.d.ts.map +1 -0
  1602. package/dist/hooks/output/tool-shapes/shapes-5.js +103 -0
  1603. package/dist/hooks/output/tool-shapes/shapes-5.js.map +1 -0
  1604. package/dist/hooks/output/watch-paths.d.ts +10 -0
  1605. package/dist/hooks/output/watch-paths.d.ts.map +1 -0
  1606. package/dist/hooks/output/watch-paths.js +17 -0
  1607. package/dist/hooks/output/watch-paths.js.map +1 -0
  1608. package/dist/hooks/output/worktree-path.d.ts +58 -0
  1609. package/dist/hooks/output/worktree-path.d.ts.map +1 -0
  1610. package/dist/hooks/output/worktree-path.js +146 -0
  1611. package/dist/hooks/output/worktree-path.js.map +1 -0
  1612. package/dist/hooks/register.d.ts +19 -0
  1613. package/dist/hooks/register.d.ts.map +1 -0
  1614. package/dist/hooks/register.js +25 -0
  1615. package/dist/hooks/register.js.map +1 -0
  1616. package/dist/hooks/registry.d.ts +4 -0
  1617. package/dist/hooks/registry.d.ts.map +1 -0
  1618. package/dist/hooks/registry.js +15 -0
  1619. package/dist/hooks/registry.js.map +1 -0
  1620. package/dist/hooks/run-all.d.ts +21 -0
  1621. package/dist/hooks/run-all.d.ts.map +1 -0
  1622. package/dist/hooks/run-all.js +131 -0
  1623. package/dist/hooks/run-all.js.map +1 -0
  1624. package/dist/hooks/run-facts.d.ts +15 -0
  1625. package/dist/hooks/run-facts.d.ts.map +1 -0
  1626. package/dist/hooks/run-facts.js +57 -0
  1627. package/dist/hooks/run-facts.js.map +1 -0
  1628. package/dist/hooks/select/dedupe.d.ts +4 -0
  1629. package/dist/hooks/select/dedupe.d.ts.map +1 -0
  1630. package/dist/hooks/select/dedupe.js +18 -0
  1631. package/dist/hooks/select/dedupe.js.map +1 -0
  1632. package/dist/hooks/select/event-catalog.d.ts +31 -0
  1633. package/dist/hooks/select/event-catalog.d.ts.map +1 -0
  1634. package/dist/hooks/select/event-catalog.js +55 -0
  1635. package/dist/hooks/select/event-catalog.js.map +1 -0
  1636. package/dist/hooks/select/gates.d.ts +4 -0
  1637. package/dist/hooks/select/gates.d.ts.map +1 -0
  1638. package/dist/hooks/select/gates.js +42 -0
  1639. package/dist/hooks/select/gates.js.map +1 -0
  1640. package/dist/hooks/select/if-guard.d.ts +27 -0
  1641. package/dist/hooks/select/if-guard.d.ts.map +1 -0
  1642. package/dist/hooks/select/if-guard.js +51 -0
  1643. package/dist/hooks/select/if-guard.js.map +1 -0
  1644. package/dist/hooks/select/index.d.ts +14 -0
  1645. package/dist/hooks/select/index.d.ts.map +1 -0
  1646. package/dist/hooks/select/index.js +9 -0
  1647. package/dist/hooks/select/index.js.map +1 -0
  1648. package/dist/hooks/select/lock-gates.d.ts +9 -0
  1649. package/dist/hooks/select/lock-gates.d.ts.map +1 -0
  1650. package/dist/hooks/select/lock-gates.js +54 -0
  1651. package/dist/hooks/select/lock-gates.js.map +1 -0
  1652. package/dist/hooks/select/matcher-targets.d.ts +38 -0
  1653. package/dist/hooks/select/matcher-targets.d.ts.map +1 -0
  1654. package/dist/hooks/select/matcher-targets.js +80 -0
  1655. package/dist/hooks/select/matcher-targets.js.map +1 -0
  1656. package/dist/hooks/select/matcher-values.d.ts +53 -0
  1657. package/dist/hooks/select/matcher-values.d.ts.map +1 -0
  1658. package/dist/hooks/select/matcher-values.js +74 -0
  1659. package/dist/hooks/select/matcher-values.js.map +1 -0
  1660. package/dist/hooks/select/matcher.d.ts +14 -0
  1661. package/dist/hooks/select/matcher.d.ts.map +1 -0
  1662. package/dist/hooks/select/matcher.js +19 -0
  1663. package/dist/hooks/select/matcher.js.map +1 -0
  1664. package/dist/hooks/select/mcp-client.d.ts +8 -0
  1665. package/dist/hooks/select/mcp-client.d.ts.map +1 -0
  1666. package/dist/hooks/select/mcp-client.js +19 -0
  1667. package/dist/hooks/select/mcp-client.js.map +1 -0
  1668. package/dist/hooks/select/mcp-tools.d.ts +13 -0
  1669. package/dist/hooks/select/mcp-tools.d.ts.map +1 -0
  1670. package/dist/hooks/select/mcp-tools.js +70 -0
  1671. package/dist/hooks/select/mcp-tools.js.map +1 -0
  1672. package/dist/hooks/select/model-switch.d.ts +9 -0
  1673. package/dist/hooks/select/model-switch.d.ts.map +1 -0
  1674. package/dist/hooks/select/model-switch.js +14 -0
  1675. package/dist/hooks/select/model-switch.js.map +1 -0
  1676. package/dist/hooks/select/once.d.ts +25 -0
  1677. package/dist/hooks/select/once.d.ts.map +1 -0
  1678. package/dist/hooks/select/once.js +33 -0
  1679. package/dist/hooks/select/once.js.map +1 -0
  1680. package/dist/hooks/select/select.d.ts +20 -0
  1681. package/dist/hooks/select/select.d.ts.map +1 -0
  1682. package/dist/hooks/select/select.js +64 -0
  1683. package/dist/hooks/select/select.js.map +1 -0
  1684. package/dist/hooks/select/watch-list.d.ts +37 -0
  1685. package/dist/hooks/select/watch-list.d.ts.map +1 -0
  1686. package/dist/hooks/select/watch-list.js +54 -0
  1687. package/dist/hooks/select/watch-list.js.map +1 -0
  1688. package/dist/hooks/source-kind.d.ts +41 -0
  1689. package/dist/hooks/source-kind.d.ts.map +1 -0
  1690. package/dist/hooks/source-kind.js +46 -0
  1691. package/dist/hooks/source-kind.js.map +1 -0
  1692. package/dist/hooks/verdict/background.d.ts +4 -0
  1693. package/dist/hooks/verdict/background.d.ts.map +1 -0
  1694. package/dist/hooks/verdict/background.js +58 -0
  1695. package/dist/hooks/verdict/background.js.map +1 -0
  1696. package/dist/hooks/verdict/blocked-prompt.d.ts +4 -0
  1697. package/dist/hooks/verdict/blocked-prompt.d.ts.map +1 -0
  1698. package/dist/hooks/verdict/blocked-prompt.js +28 -0
  1699. package/dist/hooks/verdict/blocked-prompt.js.map +1 -0
  1700. package/dist/hooks/verdict/debug-lines.d.ts +10 -0
  1701. package/dist/hooks/verdict/debug-lines.d.ts.map +1 -0
  1702. package/dist/hooks/verdict/debug-lines.js +19 -0
  1703. package/dist/hooks/verdict/debug-lines.js.map +1 -0
  1704. package/dist/hooks/verdict/exit-codes.d.ts +49 -0
  1705. package/dist/hooks/verdict/exit-codes.d.ts.map +1 -0
  1706. package/dist/hooks/verdict/exit-codes.js +25 -0
  1707. package/dist/hooks/verdict/exit-codes.js.map +1 -0
  1708. package/dist/hooks/verdict/exit2.d.ts +49 -0
  1709. package/dist/hooks/verdict/exit2.d.ts.map +1 -0
  1710. package/dist/hooks/verdict/exit2.js +61 -0
  1711. package/dist/hooks/verdict/exit2.js.map +1 -0
  1712. package/dist/hooks/verdict/exited.d.ts +5 -0
  1713. package/dist/hooks/verdict/exited.d.ts.map +1 -0
  1714. package/dist/hooks/verdict/exited.js +186 -0
  1715. package/dist/hooks/verdict/exited.js.map +1 -0
  1716. package/dist/hooks/verdict/http-response.d.ts +6 -0
  1717. package/dist/hooks/verdict/http-response.d.ts.map +1 -0
  1718. package/dist/hooks/verdict/http-response.js +48 -0
  1719. package/dist/hooks/verdict/http-response.js.map +1 -0
  1720. package/dist/hooks/verdict/index.d.ts +13 -0
  1721. package/dist/hooks/verdict/index.d.ts.map +1 -0
  1722. package/dist/hooks/verdict/index.js +7 -0
  1723. package/dist/hooks/verdict/index.js.map +1 -0
  1724. package/dist/hooks/verdict/interpret.d.ts +21 -0
  1725. package/dist/hooks/verdict/interpret.d.ts.map +1 -0
  1726. package/dist/hooks/verdict/interpret.js +79 -0
  1727. package/dist/hooks/verdict/interpret.js.map +1 -0
  1728. package/dist/hooks/verdict/model-switch.d.ts +28 -0
  1729. package/dist/hooks/verdict/model-switch.d.ts.map +1 -0
  1730. package/dist/hooks/verdict/model-switch.js +30 -0
  1731. package/dist/hooks/verdict/model-switch.js.map +1 -0
  1732. package/dist/hooks/verdict/model-verdict.d.ts +7 -0
  1733. package/dist/hooks/verdict/model-verdict.d.ts.map +1 -0
  1734. package/dist/hooks/verdict/model-verdict.js +66 -0
  1735. package/dist/hooks/verdict/model-verdict.js.map +1 -0
  1736. package/dist/hooks/verdict/notices.d.ts +51 -0
  1737. package/dist/hooks/verdict/notices.d.ts.map +1 -0
  1738. package/dist/hooks/verdict/notices.js +58 -0
  1739. package/dist/hooks/verdict/notices.js.map +1 -0
  1740. package/dist/hooks/verdict/on-failure.d.ts +28 -0
  1741. package/dist/hooks/verdict/on-failure.d.ts.map +1 -0
  1742. package/dist/hooks/verdict/on-failure.js +140 -0
  1743. package/dist/hooks/verdict/on-failure.js.map +1 -0
  1744. package/dist/hooks/verdict/plain-stdout.d.ts +12 -0
  1745. package/dist/hooks/verdict/plain-stdout.d.ts.map +1 -0
  1746. package/dist/hooks/verdict/plain-stdout.js +15 -0
  1747. package/dist/hooks/verdict/plain-stdout.js.map +1 -0
  1748. package/dist/hooks/verdict/route.d.ts +15 -0
  1749. package/dist/hooks/verdict/route.d.ts.map +1 -0
  1750. package/dist/hooks/verdict/route.js +38 -0
  1751. package/dist/hooks/verdict/route.js.map +1 -0
  1752. package/dist/hooks/verdict/stdout-kind.d.ts +34 -0
  1753. package/dist/hooks/verdict/stdout-kind.d.ts.map +1 -0
  1754. package/dist/hooks/verdict/stdout-kind.js +56 -0
  1755. package/dist/hooks/verdict/stdout-kind.js.map +1 -0
  1756. package/dist/hooks/verdict/stop-block-cap.d.ts +16 -0
  1757. package/dist/hooks/verdict/stop-block-cap.d.ts.map +1 -0
  1758. package/dist/hooks/verdict/stop-block-cap.js +82 -0
  1759. package/dist/hooks/verdict/stop-block-cap.js.map +1 -0
  1760. package/dist/hooks/verdict/subject.d.ts +23 -0
  1761. package/dist/hooks/verdict/subject.d.ts.map +1 -0
  1762. package/dist/hooks/verdict/subject.js +2 -0
  1763. package/dist/hooks/verdict/subject.js.map +1 -0
  1764. package/dist/hooks/verdict/suspect-capture.d.ts +4 -0
  1765. package/dist/hooks/verdict/suspect-capture.d.ts.map +1 -0
  1766. package/dist/hooks/verdict/suspect-capture.js +36 -0
  1767. package/dist/hooks/verdict/suspect-capture.js.map +1 -0
  1768. package/dist/hooks/verdict/types.d.ts +188 -0
  1769. package/dist/hooks/verdict/types.d.ts.map +1 -0
  1770. package/dist/hooks/verdict/types.js +2 -0
  1771. package/dist/hooks/verdict/types.js.map +1 -0
  1772. package/dist/host/background-queue.d.ts +33 -0
  1773. package/dist/host/background-queue.d.ts.map +1 -0
  1774. package/dist/host/background-queue.js +44 -0
  1775. package/dist/host/background-queue.js.map +1 -0
  1776. package/dist/host/catalog.d.ts +21 -0
  1777. package/dist/host/catalog.d.ts.map +1 -0
  1778. package/dist/host/catalog.js +116 -0
  1779. package/dist/host/catalog.js.map +1 -0
  1780. package/dist/host/core-servers.d.ts +29 -0
  1781. package/dist/host/core-servers.d.ts.map +1 -0
  1782. package/dist/host/core-servers.js +74 -0
  1783. package/dist/host/core-servers.js.map +1 -0
  1784. package/dist/host/core-skills.d.ts +4 -0
  1785. package/dist/host/core-skills.d.ts.map +1 -0
  1786. package/dist/host/core-skills.js +45 -0
  1787. package/dist/host/core-skills.js.map +1 -0
  1788. package/dist/host/core-view.d.ts +8 -0
  1789. package/dist/host/core-view.d.ts.map +1 -0
  1790. package/dist/host/core-view.js +49 -0
  1791. package/dist/host/core-view.js.map +1 -0
  1792. package/dist/host/host.d.ts +31 -0
  1793. package/dist/host/host.d.ts.map +1 -0
  1794. package/dist/host/host.js +33 -0
  1795. package/dist/host/host.js.map +1 -0
  1796. package/dist/host/index.d.ts +32 -0
  1797. package/dist/host/index.d.ts.map +1 -0
  1798. package/dist/host/index.js +9 -0
  1799. package/dist/host/index.js.map +1 -0
  1800. package/dist/host/permission-rules.d.ts +26 -0
  1801. package/dist/host/permission-rules.d.ts.map +1 -0
  1802. package/dist/host/permission-rules.js +33 -0
  1803. package/dist/host/permission-rules.js.map +1 -0
  1804. package/dist/host/permission-session.d.ts +46 -0
  1805. package/dist/host/permission-session.d.ts.map +1 -0
  1806. package/dist/host/permission-session.js +83 -0
  1807. package/dist/host/permission-session.js.map +1 -0
  1808. package/dist/host/plugin-dependencies.d.ts +20 -0
  1809. package/dist/host/plugin-dependencies.d.ts.map +1 -0
  1810. package/dist/host/plugin-dependencies.js +98 -0
  1811. package/dist/host/plugin-dependencies.js.map +1 -0
  1812. package/dist/host/plugin-set.d.ts +32 -0
  1813. package/dist/host/plugin-set.d.ts.map +1 -0
  1814. package/dist/host/plugin-set.js +87 -0
  1815. package/dist/host/plugin-set.js.map +1 -0
  1816. package/dist/host/saved-approval.d.ts +20 -0
  1817. package/dist/host/saved-approval.d.ts.map +1 -0
  1818. package/dist/host/saved-approval.js +15 -0
  1819. package/dist/host/saved-approval.js.map +1 -0
  1820. package/dist/host/scope.d.ts +30 -0
  1821. package/dist/host/scope.d.ts.map +1 -0
  1822. package/dist/host/scope.js +41 -0
  1823. package/dist/host/scope.js.map +1 -0
  1824. package/dist/host/sdk-hooks.d.ts +21 -0
  1825. package/dist/host/sdk-hooks.d.ts.map +1 -0
  1826. package/dist/host/sdk-hooks.js +26 -0
  1827. package/dist/host/sdk-hooks.js.map +1 -0
  1828. package/dist/host/sdk-output.d.ts +17 -0
  1829. package/dist/host/sdk-output.d.ts.map +1 -0
  1830. package/dist/host/sdk-output.js +147 -0
  1831. package/dist/host/sdk-output.js.map +1 -0
  1832. package/dist/host/session-agents.d.ts +82 -0
  1833. package/dist/host/session-agents.d.ts.map +1 -0
  1834. package/dist/host/session-agents.js +114 -0
  1835. package/dist/host/session-agents.js.map +1 -0
  1836. package/dist/host/session-components.d.ts +56 -0
  1837. package/dist/host/session-components.d.ts.map +1 -0
  1838. package/dist/host/session-components.js +76 -0
  1839. package/dist/host/session-components.js.map +1 -0
  1840. package/dist/host/session-content.d.ts +13 -0
  1841. package/dist/host/session-content.d.ts.map +1 -0
  1842. package/dist/host/session-content.js +47 -0
  1843. package/dist/host/session-content.js.map +1 -0
  1844. package/dist/host/session-core-dispatch.d.ts +28 -0
  1845. package/dist/host/session-core-dispatch.d.ts.map +1 -0
  1846. package/dist/host/session-core-dispatch.js +60 -0
  1847. package/dist/host/session-core-dispatch.js.map +1 -0
  1848. package/dist/host/session-core-hooks.d.ts +38 -0
  1849. package/dist/host/session-core-hooks.d.ts.map +1 -0
  1850. package/dist/host/session-core-hooks.js +71 -0
  1851. package/dist/host/session-core-hooks.js.map +1 -0
  1852. package/dist/host/session-core.d.ts +115 -0
  1853. package/dist/host/session-core.d.ts.map +1 -0
  1854. package/dist/host/session-core.js +100 -0
  1855. package/dist/host/session-core.js.map +1 -0
  1856. package/dist/host/session-directories.d.ts +18 -0
  1857. package/dist/host/session-directories.d.ts.map +1 -0
  1858. package/dist/host/session-directories.js +18 -0
  1859. package/dist/host/session-directories.js.map +1 -0
  1860. package/dist/host/session-engine.d.ts +11 -0
  1861. package/dist/host/session-engine.d.ts.map +1 -0
  1862. package/dist/host/session-engine.js +67 -0
  1863. package/dist/host/session-engine.js.map +1 -0
  1864. package/dist/host/session-environment.d.ts +20 -0
  1865. package/dist/host/session-environment.d.ts.map +1 -0
  1866. package/dist/host/session-environment.js +82 -0
  1867. package/dist/host/session-environment.js.map +1 -0
  1868. package/dist/host/session-first-read.d.ts +17 -0
  1869. package/dist/host/session-first-read.d.ts.map +1 -0
  1870. package/dist/host/session-first-read.js +14 -0
  1871. package/dist/host/session-first-read.js.map +1 -0
  1872. package/dist/host/session-folder-resolution.d.ts +15 -0
  1873. package/dist/host/session-folder-resolution.d.ts.map +1 -0
  1874. package/dist/host/session-folder-resolution.js +65 -0
  1875. package/dist/host/session-folder-resolution.js.map +1 -0
  1876. package/dist/host/session-folders.d.ts +71 -0
  1877. package/dist/host/session-folders.d.ts.map +1 -0
  1878. package/dist/host/session-folders.js +100 -0
  1879. package/dist/host/session-folders.js.map +1 -0
  1880. package/dist/host/session-hook-scope.d.ts +74 -0
  1881. package/dist/host/session-hook-scope.d.ts.map +1 -0
  1882. package/dist/host/session-hook-scope.js +93 -0
  1883. package/dist/host/session-hook-scope.js.map +1 -0
  1884. package/dist/host/session-hooks.d.ts +48 -0
  1885. package/dist/host/session-hooks.d.ts.map +1 -0
  1886. package/dist/host/session-hooks.js +95 -0
  1887. package/dist/host/session-hooks.js.map +1 -0
  1888. package/dist/host/session-host-skills.d.ts +36 -0
  1889. package/dist/host/session-host-skills.d.ts.map +1 -0
  1890. package/dist/host/session-host-skills.js +55 -0
  1891. package/dist/host/session-host-skills.js.map +1 -0
  1892. package/dist/host/session-mentions.d.ts +60 -0
  1893. package/dist/host/session-mentions.d.ts.map +1 -0
  1894. package/dist/host/session-mentions.js +53 -0
  1895. package/dist/host/session-mentions.js.map +1 -0
  1896. package/dist/host/session-monitors.d.ts +58 -0
  1897. package/dist/host/session-monitors.d.ts.map +1 -0
  1898. package/dist/host/session-monitors.js +65 -0
  1899. package/dist/host/session-monitors.js.map +1 -0
  1900. package/dist/host/session-permission-updates.d.ts +10 -0
  1901. package/dist/host/session-permission-updates.d.ts.map +1 -0
  1902. package/dist/host/session-permission-updates.js +26 -0
  1903. package/dist/host/session-permission-updates.js.map +1 -0
  1904. package/dist/host/session-registry.d.ts +27 -0
  1905. package/dist/host/session-registry.d.ts.map +1 -0
  1906. package/dist/host/session-registry.js +114 -0
  1907. package/dist/host/session-registry.js.map +1 -0
  1908. package/dist/host/session-skill-catalog.d.ts +53 -0
  1909. package/dist/host/session-skill-catalog.d.ts.map +1 -0
  1910. package/dist/host/session-skill-catalog.js +25 -0
  1911. package/dist/host/session-skill-catalog.js.map +1 -0
  1912. package/dist/host/session-skill-entries.d.ts +46 -0
  1913. package/dist/host/session-skill-entries.d.ts.map +1 -0
  1914. package/dist/host/session-skill-entries.js +81 -0
  1915. package/dist/host/session-skill-entries.js.map +1 -0
  1916. package/dist/host/session-skill-expand.d.ts +60 -0
  1917. package/dist/host/session-skill-expand.d.ts.map +1 -0
  1918. package/dist/host/session-skill-expand.js +194 -0
  1919. package/dist/host/session-skill-expand.js.map +1 -0
  1920. package/dist/host/session-skill-hooks.d.ts +20 -0
  1921. package/dist/host/session-skill-hooks.d.ts.map +1 -0
  1922. package/dist/host/session-skill-hooks.js +74 -0
  1923. package/dist/host/session-skill-hooks.js.map +1 -0
  1924. package/dist/host/session-skill-preload.d.ts +25 -0
  1925. package/dist/host/session-skill-preload.d.ts.map +1 -0
  1926. package/dist/host/session-skill-preload.js +48 -0
  1927. package/dist/host/session-skill-preload.js.map +1 -0
  1928. package/dist/host/session-skill-readers.d.ts +26 -0
  1929. package/dist/host/session-skill-readers.d.ts.map +1 -0
  1930. package/dist/host/session-skill-readers.js +22 -0
  1931. package/dist/host/session-skill-readers.js.map +1 -0
  1932. package/dist/host/session-skills.d.ts +125 -0
  1933. package/dist/host/session-skills.d.ts.map +1 -0
  1934. package/dist/host/session-skills.js +125 -0
  1935. package/dist/host/session-skills.js.map +1 -0
  1936. package/dist/host/session-start-repeats.d.ts +18 -0
  1937. package/dist/host/session-start-repeats.d.ts.map +1 -0
  1938. package/dist/host/session-start-repeats.js +32 -0
  1939. package/dist/host/session-start-repeats.js.map +1 -0
  1940. package/dist/host/session-tool-check.d.ts +44 -0
  1941. package/dist/host/session-tool-check.d.ts.map +1 -0
  1942. package/dist/host/session-tool-check.js +43 -0
  1943. package/dist/host/session-tool-check.js.map +1 -0
  1944. package/dist/host/session-types.d.ts +175 -0
  1945. package/dist/host/session-types.d.ts.map +1 -0
  1946. package/dist/host/session-types.js +2 -0
  1947. package/dist/host/session-types.js.map +1 -0
  1948. package/dist/host/session-workflows.d.ts +20 -0
  1949. package/dist/host/session-workflows.d.ts.map +1 -0
  1950. package/dist/host/session-workflows.js +32 -0
  1951. package/dist/host/session-workflows.js.map +1 -0
  1952. package/dist/host/session.d.ts +42 -0
  1953. package/dist/host/session.d.ts.map +1 -0
  1954. package/dist/host/session.js +76 -0
  1955. package/dist/host/session.js.map +1 -0
  1956. package/dist/host/state.d.ts +63 -0
  1957. package/dist/host/state.d.ts.map +1 -0
  1958. package/dist/host/state.js +157 -0
  1959. package/dist/host/state.js.map +1 -0
  1960. package/dist/host/turn.d.ts +24 -0
  1961. package/dist/host/turn.d.ts.map +1 -0
  1962. package/dist/host/turn.js +27 -0
  1963. package/dist/host/turn.js.map +1 -0
  1964. package/dist/host/types.d.ts +144 -0
  1965. package/dist/host/types.d.ts.map +1 -0
  1966. package/dist/host/types.js +2 -0
  1967. package/dist/host/types.js.map +1 -0
  1968. package/dist/index.d.ts +35 -0
  1969. package/dist/index.d.ts.map +1 -0
  1970. package/dist/index.js +13 -0
  1971. package/dist/index.js.map +1 -0
  1972. package/dist/loading/background-trust.d.ts +37 -0
  1973. package/dist/loading/background-trust.d.ts.map +1 -0
  1974. package/dist/loading/background-trust.js +27 -0
  1975. package/dist/loading/background-trust.js.map +1 -0
  1976. package/dist/loading/bin.d.ts +27 -0
  1977. package/dist/loading/bin.d.ts.map +1 -0
  1978. package/dist/loading/bin.js +37 -0
  1979. package/dist/loading/bin.js.map +1 -0
  1980. package/dist/loading/channels.d.ts +12 -0
  1981. package/dist/loading/channels.d.ts.map +1 -0
  1982. package/dist/loading/channels.js +15 -0
  1983. package/dist/loading/channels.js.map +1 -0
  1984. package/dist/loading/combine.d.ts +18 -0
  1985. package/dist/loading/combine.d.ts.map +1 -0
  1986. package/dist/loading/combine.js +6 -0
  1987. package/dist/loading/combine.js.map +1 -0
  1988. package/dist/loading/command-debug.d.ts +9 -0
  1989. package/dist/loading/command-debug.d.ts.map +1 -0
  1990. package/dist/loading/command-debug.js +27 -0
  1991. package/dist/loading/command-debug.js.map +1 -0
  1992. package/dist/loading/component-readers.d.ts +15 -0
  1993. package/dist/loading/component-readers.d.ts.map +1 -0
  1994. package/dist/loading/component-readers.js +28 -0
  1995. package/dist/loading/component-readers.js.map +1 -0
  1996. package/dist/loading/core/assets.d.ts +6 -0
  1997. package/dist/loading/core/assets.d.ts.map +1 -0
  1998. package/dist/loading/core/assets.js +38 -0
  1999. package/dist/loading/core/assets.js.map +1 -0
  2000. package/dist/loading/core/config.d.ts +19 -0
  2001. package/dist/loading/core/config.d.ts.map +1 -0
  2002. package/dist/loading/core/config.js +93 -0
  2003. package/dist/loading/core/config.js.map +1 -0
  2004. package/dist/loading/core/dual-check.d.ts +16 -0
  2005. package/dist/loading/core/dual-check.d.ts.map +1 -0
  2006. package/dist/loading/core/dual-check.js +34 -0
  2007. package/dist/loading/core/dual-check.js.map +1 -0
  2008. package/dist/loading/core/entry-fields.d.ts +13 -0
  2009. package/dist/loading/core/entry-fields.d.ts.map +1 -0
  2010. package/dist/loading/core/entry-fields.js +22 -0
  2011. package/dist/loading/core/entry-fields.js.map +1 -0
  2012. package/dist/loading/core/form.d.ts +34 -0
  2013. package/dist/loading/core/form.d.ts.map +1 -0
  2014. package/dist/loading/core/form.js +46 -0
  2015. package/dist/loading/core/form.js.map +1 -0
  2016. package/dist/loading/core/index.d.ts +7 -0
  2017. package/dist/loading/core/index.d.ts.map +1 -0
  2018. package/dist/loading/core/index.js +6 -0
  2019. package/dist/loading/core/index.js.map +1 -0
  2020. package/dist/loading/core/load-core.d.ts +11 -0
  2021. package/dist/loading/core/load-core.d.ts.map +1 -0
  2022. package/dist/loading/core/load-core.js +48 -0
  2023. package/dist/loading/core/load-core.js.map +1 -0
  2024. package/dist/loading/core/load-package.d.ts +25 -0
  2025. package/dist/loading/core/load-package.d.ts.map +1 -0
  2026. package/dist/loading/core/load-package.js +29 -0
  2027. package/dist/loading/core/load-package.js.map +1 -0
  2028. package/dist/loading/core/locations.d.ts +29 -0
  2029. package/dist/loading/core/locations.d.ts.map +1 -0
  2030. package/dist/loading/core/locations.js +32 -0
  2031. package/dist/loading/core/locations.js.map +1 -0
  2032. package/dist/loading/core/manifest-step.d.ts +4 -0
  2033. package/dist/loading/core/manifest-step.d.ts.map +1 -0
  2034. package/dist/loading/core/manifest-step.js +24 -0
  2035. package/dist/loading/core/manifest-step.js.map +1 -0
  2036. package/dist/loading/core/model.d.ts +45 -0
  2037. package/dist/loading/core/model.d.ts.map +1 -0
  2038. package/dist/loading/core/model.js +2 -0
  2039. package/dist/loading/core/model.js.map +1 -0
  2040. package/dist/loading/core/skills.d.ts +17 -0
  2041. package/dist/loading/core/skills.d.ts.map +1 -0
  2042. package/dist/loading/core/skills.js +50 -0
  2043. package/dist/loading/core/skills.js.map +1 -0
  2044. package/dist/loading/declared-shape.d.ts +14 -0
  2045. package/dist/loading/declared-shape.d.ts.map +1 -0
  2046. package/dist/loading/declared-shape.js +11 -0
  2047. package/dist/loading/declared-shape.js.map +1 -0
  2048. package/dist/loading/discover-config.d.ts +16 -0
  2049. package/dist/loading/discover-config.d.ts.map +1 -0
  2050. package/dist/loading/discover-config.js +90 -0
  2051. package/dist/loading/discover-config.js.map +1 -0
  2052. package/dist/loading/discover-listed.d.ts +10 -0
  2053. package/dist/loading/discover-listed.d.ts.map +1 -0
  2054. package/dist/loading/discover-listed.js +165 -0
  2055. package/dist/loading/discover-listed.js.map +1 -0
  2056. package/dist/loading/discover.d.ts +20 -0
  2057. package/dist/loading/discover.d.ts.map +1 -0
  2058. package/dist/loading/discover.js +71 -0
  2059. package/dist/loading/discover.js.map +1 -0
  2060. package/dist/loading/discovered.d.ts +66 -0
  2061. package/dist/loading/discovered.d.ts.map +1 -0
  2062. package/dist/loading/discovered.js +2 -0
  2063. package/dist/loading/discovered.js.map +1 -0
  2064. package/dist/loading/folder-plugin.d.ts +64 -0
  2065. package/dist/loading/folder-plugin.d.ts.map +1 -0
  2066. package/dist/loading/folder-plugin.js +89 -0
  2067. package/dist/loading/folder-plugin.js.map +1 -0
  2068. package/dist/loading/ignored-folder.d.ts +11 -0
  2069. package/dist/loading/ignored-folder.d.ts.map +1 -0
  2070. package/dist/loading/ignored-folder.js +22 -0
  2071. package/dist/loading/ignored-folder.js.map +1 -0
  2072. package/dist/loading/index.d.ts +38 -0
  2073. package/dist/loading/index.d.ts.map +1 -0
  2074. package/dist/loading/index.js +21 -0
  2075. package/dist/loading/index.js.map +1 -0
  2076. package/dist/loading/load-plugin.d.ts +51 -0
  2077. package/dist/loading/load-plugin.d.ts.map +1 -0
  2078. package/dist/loading/load-plugin.js +188 -0
  2079. package/dist/loading/load-plugin.js.map +1 -0
  2080. package/dist/loading/local-settings-trust.d.ts +35 -0
  2081. package/dist/loading/local-settings-trust.d.ts.map +1 -0
  2082. package/dist/loading/local-settings-trust.js +27 -0
  2083. package/dist/loading/local-settings-trust.js.map +1 -0
  2084. package/dist/loading/manifest-gate.d.ts +23 -0
  2085. package/dist/loading/manifest-gate.d.ts.map +1 -0
  2086. package/dist/loading/manifest-gate.js +55 -0
  2087. package/dist/loading/manifest-gate.js.map +1 -0
  2088. package/dist/loading/merge-hooks.d.ts +10 -0
  2089. package/dist/loading/merge-hooks.d.ts.map +1 -0
  2090. package/dist/loading/merge-hooks.js +18 -0
  2091. package/dist/loading/merge-hooks.js.map +1 -0
  2092. package/dist/loading/plugin-debug.d.ts +35 -0
  2093. package/dist/loading/plugin-debug.d.ts.map +1 -0
  2094. package/dist/loading/plugin-debug.js +55 -0
  2095. package/dist/loading/plugin-debug.js.map +1 -0
  2096. package/dist/loading/plugin-folder.d.ts +34 -0
  2097. package/dist/loading/plugin-folder.d.ts.map +1 -0
  2098. package/dist/loading/plugin-folder.js +49 -0
  2099. package/dist/loading/plugin-folder.js.map +1 -0
  2100. package/dist/loading/plugin-model.d.ts +92 -0
  2101. package/dist/loading/plugin-model.d.ts.map +1 -0
  2102. package/dist/loading/plugin-model.js +2 -0
  2103. package/dist/loading/plugin-model.js.map +1 -0
  2104. package/dist/loading/plugin-scaffold.d.ts +39 -0
  2105. package/dist/loading/plugin-scaffold.d.ts.map +1 -0
  2106. package/dist/loading/plugin-scaffold.js +43 -0
  2107. package/dist/loading/plugin-scaffold.js.map +1 -0
  2108. package/dist/loading/ports.d.ts +15 -0
  2109. package/dist/loading/ports.d.ts.map +1 -0
  2110. package/dist/loading/ports.js +6 -0
  2111. package/dist/loading/ports.js.map +1 -0
  2112. package/dist/loading/reader-types.d.ts +54 -0
  2113. package/dist/loading/reader-types.d.ts.map +1 -0
  2114. package/dist/loading/reader-types.js +2 -0
  2115. package/dist/loading/reader-types.js.map +1 -0
  2116. package/dist/loading/readers-assets.d.ts +5 -0
  2117. package/dist/loading/readers-assets.d.ts.map +1 -0
  2118. package/dist/loading/readers-assets.js +53 -0
  2119. package/dist/loading/readers-assets.js.map +1 -0
  2120. package/dist/loading/readers-config.d.ts +12 -0
  2121. package/dist/loading/readers-config.d.ts.map +1 -0
  2122. package/dist/loading/readers-config.js +122 -0
  2123. package/dist/loading/readers-config.js.map +1 -0
  2124. package/dist/loading/readers-text.d.ts +10 -0
  2125. package/dist/loading/readers-text.d.ts.map +1 -0
  2126. package/dist/loading/readers-text.js +51 -0
  2127. package/dist/loading/readers-text.js.map +1 -0
  2128. package/dist/loading/repository-limits.d.ts +51 -0
  2129. package/dist/loading/repository-limits.d.ts.map +1 -0
  2130. package/dist/loading/repository-limits.js +88 -0
  2131. package/dist/loading/repository-limits.js.map +1 -0
  2132. package/dist/loading/repository-messages.d.ts +14 -0
  2133. package/dist/loading/repository-messages.d.ts.map +1 -0
  2134. package/dist/loading/repository-messages.js +38 -0
  2135. package/dist/loading/repository-messages.js.map +1 -0
  2136. package/dist/loading/repository-trust.d.ts +53 -0
  2137. package/dist/loading/repository-trust.d.ts.map +1 -0
  2138. package/dist/loading/repository-trust.js +78 -0
  2139. package/dist/loading/repository-trust.js.map +1 -0
  2140. package/dist/loading/repository-types.d.ts +7 -0
  2141. package/dist/loading/repository-types.d.ts.map +1 -0
  2142. package/dist/loading/repository-types.js +2 -0
  2143. package/dist/loading/repository-types.js.map +1 -0
  2144. package/dist/loading/resolve/bundle-scope.d.ts +18 -0
  2145. package/dist/loading/resolve/bundle-scope.d.ts.map +1 -0
  2146. package/dist/loading/resolve/bundle-scope.js +33 -0
  2147. package/dist/loading/resolve/bundle-scope.js.map +1 -0
  2148. package/dist/loading/resolve/channel.d.ts +45 -0
  2149. package/dist/loading/resolve/channel.d.ts.map +1 -0
  2150. package/dist/loading/resolve/channel.js +58 -0
  2151. package/dist/loading/resolve/channel.js.map +1 -0
  2152. package/dist/loading/resolve/content.d.ts +23 -0
  2153. package/dist/loading/resolve/content.d.ts.map +1 -0
  2154. package/dist/loading/resolve/content.js +26 -0
  2155. package/dist/loading/resolve/content.js.map +1 -0
  2156. package/dist/loading/resolve/data-id.d.ts +7 -0
  2157. package/dist/loading/resolve/data-id.d.ts.map +1 -0
  2158. package/dist/loading/resolve/data-id.js +7 -0
  2159. package/dist/loading/resolve/data-id.js.map +1 -0
  2160. package/dist/loading/resolve/deep.d.ts +18 -0
  2161. package/dist/loading/resolve/deep.d.ts.map +1 -0
  2162. package/dist/loading/resolve/deep.js +37 -0
  2163. package/dist/loading/resolve/deep.js.map +1 -0
  2164. package/dist/loading/resolve/exported-environment.d.ts +12 -0
  2165. package/dist/loading/resolve/exported-environment.d.ts.map +1 -0
  2166. package/dist/loading/resolve/exported-environment.js +23 -0
  2167. package/dist/loading/resolve/exported-environment.js.map +1 -0
  2168. package/dist/loading/resolve/field-map.d.ts +21 -0
  2169. package/dist/loading/resolve/field-map.d.ts.map +1 -0
  2170. package/dist/loading/resolve/field-map.js +30 -0
  2171. package/dist/loading/resolve/field-map.js.map +1 -0
  2172. package/dist/loading/resolve/field-runner.d.ts +28 -0
  2173. package/dist/loading/resolve/field-runner.d.ts.map +1 -0
  2174. package/dist/loading/resolve/field-runner.js +45 -0
  2175. package/dist/loading/resolve/field-runner.js.map +1 -0
  2176. package/dist/loading/resolve/headers-helper-origins.d.ts +49 -0
  2177. package/dist/loading/resolve/headers-helper-origins.d.ts.map +1 -0
  2178. package/dist/loading/resolve/headers-helper-origins.js +121 -0
  2179. package/dist/loading/resolve/headers-helper-origins.js.map +1 -0
  2180. package/dist/loading/resolve/headers-helper-run.d.ts +61 -0
  2181. package/dist/loading/resolve/headers-helper-run.d.ts.map +1 -0
  2182. package/dist/loading/resolve/headers-helper-run.js +106 -0
  2183. package/dist/loading/resolve/headers-helper-run.js.map +1 -0
  2184. package/dist/loading/resolve/headers-helper-trust.d.ts +41 -0
  2185. package/dist/loading/resolve/headers-helper-trust.d.ts.map +1 -0
  2186. package/dist/loading/resolve/headers-helper-trust.js +55 -0
  2187. package/dist/loading/resolve/headers-helper-trust.js.map +1 -0
  2188. package/dist/loading/resolve/headers-helper.d.ts +56 -0
  2189. package/dist/loading/resolve/headers-helper.d.ts.map +1 -0
  2190. package/dist/loading/resolve/headers-helper.js +93 -0
  2191. package/dist/loading/resolve/headers-helper.js.map +1 -0
  2192. package/dist/loading/resolve/hook-command.d.ts +65 -0
  2193. package/dist/loading/resolve/hook-command.d.ts.map +1 -0
  2194. package/dist/loading/resolve/hook-command.js +141 -0
  2195. package/dist/loading/resolve/hook-command.js.map +1 -0
  2196. package/dist/loading/resolve/hook-space-path.d.ts +9 -0
  2197. package/dist/loading/resolve/hook-space-path.d.ts.map +1 -0
  2198. package/dist/loading/resolve/hook-space-path.js +40 -0
  2199. package/dist/loading/resolve/hook-space-path.js.map +1 -0
  2200. package/dist/loading/resolve/index.d.ts +40 -0
  2201. package/dist/loading/resolve/index.d.ts.map +1 -0
  2202. package/dist/loading/resolve/index.js +39 -0
  2203. package/dist/loading/resolve/index.js.map +1 -0
  2204. package/dist/loading/resolve/lsp-runtime.d.ts +57 -0
  2205. package/dist/loading/resolve/lsp-runtime.d.ts.map +1 -0
  2206. package/dist/loading/resolve/lsp-runtime.js +65 -0
  2207. package/dist/loading/resolve/lsp-runtime.js.map +1 -0
  2208. package/dist/loading/resolve/lsp-startup.d.ts +21 -0
  2209. package/dist/loading/resolve/lsp-startup.d.ts.map +1 -0
  2210. package/dist/loading/resolve/lsp-startup.js +23 -0
  2211. package/dist/loading/resolve/lsp-startup.js.map +1 -0
  2212. package/dist/loading/resolve/lsp.d.ts +66 -0
  2213. package/dist/loading/resolve/lsp.d.ts.map +1 -0
  2214. package/dist/loading/resolve/lsp.js +60 -0
  2215. package/dist/loading/resolve/lsp.js.map +1 -0
  2216. package/dist/loading/resolve/mcp.d.ts +72 -0
  2217. package/dist/loading/resolve/mcp.d.ts.map +1 -0
  2218. package/dist/loading/resolve/mcp.js +150 -0
  2219. package/dist/loading/resolve/mcp.js.map +1 -0
  2220. package/dist/loading/resolve/monitor-trigger.d.ts +59 -0
  2221. package/dist/loading/resolve/monitor-trigger.d.ts.map +1 -0
  2222. package/dist/loading/resolve/monitor-trigger.js +58 -0
  2223. package/dist/loading/resolve/monitor-trigger.js.map +1 -0
  2224. package/dist/loading/resolve/monitor.d.ts +44 -0
  2225. package/dist/loading/resolve/monitor.d.ts.map +1 -0
  2226. package/dist/loading/resolve/monitor.js +31 -0
  2227. package/dist/loading/resolve/monitor.js.map +1 -0
  2228. package/dist/loading/resolve/powershell-no-program.d.ts +11 -0
  2229. package/dist/loading/resolve/powershell-no-program.d.ts.map +1 -0
  2230. package/dist/loading/resolve/powershell-no-program.js +34 -0
  2231. package/dist/loading/resolve/powershell-no-program.js.map +1 -0
  2232. package/dist/loading/resolve/prepared.d.ts +14 -0
  2233. package/dist/loading/resolve/prepared.d.ts.map +1 -0
  2234. package/dist/loading/resolve/prepared.js +15 -0
  2235. package/dist/loading/resolve/prepared.js.map +1 -0
  2236. package/dist/loading/resolve/processes.d.ts +36 -0
  2237. package/dist/loading/resolve/processes.d.ts.map +1 -0
  2238. package/dist/loading/resolve/processes.js +43 -0
  2239. package/dist/loading/resolve/processes.js.map +1 -0
  2240. package/dist/loading/resolve/scope.d.ts +70 -0
  2241. package/dist/loading/resolve/scope.d.ts.map +1 -0
  2242. package/dist/loading/resolve/scope.js +2 -0
  2243. package/dist/loading/resolve/scope.js.map +1 -0
  2244. package/dist/loading/resolve/shell-exports.d.ts +18 -0
  2245. package/dist/loading/resolve/shell-exports.d.ts.map +1 -0
  2246. package/dist/loading/resolve/shell-exports.js +38 -0
  2247. package/dist/loading/resolve/shell-exports.js.map +1 -0
  2248. package/dist/loading/resolve/shell-guard-hook.d.ts +15 -0
  2249. package/dist/loading/resolve/shell-guard-hook.d.ts.map +1 -0
  2250. package/dist/loading/resolve/shell-guard-hook.js +13 -0
  2251. package/dist/loading/resolve/shell-guard-hook.js.map +1 -0
  2252. package/dist/loading/resolve/shell-guard-monitor.d.ts +16 -0
  2253. package/dist/loading/resolve/shell-guard-monitor.d.ts.map +1 -0
  2254. package/dist/loading/resolve/shell-guard-monitor.js +14 -0
  2255. package/dist/loading/resolve/shell-guard-monitor.js.map +1 -0
  2256. package/dist/loading/resolve/shell-guard.d.ts +22 -0
  2257. package/dist/loading/resolve/shell-guard.d.ts.map +1 -0
  2258. package/dist/loading/resolve/shell-guard.js +11 -0
  2259. package/dist/loading/resolve/shell-guard.js.map +1 -0
  2260. package/dist/loading/resolve/shell-prefix.d.ts +24 -0
  2261. package/dist/loading/resolve/shell-prefix.d.ts.map +1 -0
  2262. package/dist/loading/resolve/shell-prefix.js +32 -0
  2263. package/dist/loading/resolve/shell-prefix.js.map +1 -0
  2264. package/dist/loading/resolve/subprocess-scrub.d.ts +14 -0
  2265. package/dist/loading/resolve/subprocess-scrub.d.ts.map +1 -0
  2266. package/dist/loading/resolve/subprocess-scrub.js +52 -0
  2267. package/dist/loading/resolve/subprocess-scrub.js.map +1 -0
  2268. package/dist/loading/resolve/substitute.d.ts +62 -0
  2269. package/dist/loading/resolve/substitute.d.ts.map +1 -0
  2270. package/dist/loading/resolve/substitute.js +173 -0
  2271. package/dist/loading/resolve/substitute.js.map +1 -0
  2272. package/dist/loading/resolve/substituter.d.ts +19 -0
  2273. package/dist/loading/resolve/substituter.d.ts.map +1 -0
  2274. package/dist/loading/resolve/substituter.js +34 -0
  2275. package/dist/loading/resolve/substituter.js.map +1 -0
  2276. package/dist/loading/resolve/surfaces.d.ts +48 -0
  2277. package/dist/loading/resolve/surfaces.d.ts.map +1 -0
  2278. package/dist/loading/resolve/surfaces.js +127 -0
  2279. package/dist/loading/resolve/surfaces.js.map +1 -0
  2280. package/dist/loading/resolve/user-config-values.d.ts +5 -0
  2281. package/dist/loading/resolve/user-config-values.d.ts.map +1 -0
  2282. package/dist/loading/resolve/user-config-values.js +56 -0
  2283. package/dist/loading/resolve/user-config-values.js.map +1 -0
  2284. package/dist/loading/resolve/user-config.d.ts +44 -0
  2285. package/dist/loading/resolve/user-config.d.ts.map +1 -0
  2286. package/dist/loading/resolve/user-config.js +39 -0
  2287. package/dist/loading/resolve/user-config.js.map +1 -0
  2288. package/dist/loading/resolve/variables.d.ts +18 -0
  2289. package/dist/loading/resolve/variables.d.ts.map +1 -0
  2290. package/dist/loading/resolve/variables.js +51 -0
  2291. package/dist/loading/resolve/variables.js.map +1 -0
  2292. package/dist/loading/resolve/without-plugin.d.ts +9 -0
  2293. package/dist/loading/resolve/without-plugin.d.ts.map +1 -0
  2294. package/dist/loading/resolve/without-plugin.js +17 -0
  2295. package/dist/loading/resolve/without-plugin.js.map +1 -0
  2296. package/dist/loading/trust-gates.d.ts +77 -0
  2297. package/dist/loading/trust-gates.d.ts.map +1 -0
  2298. package/dist/loading/trust-gates.js +127 -0
  2299. package/dist/loading/trust-gates.js.map +1 -0
  2300. package/dist/loading/validate/components-only.d.ts +10 -0
  2301. package/dist/loading/validate/components-only.d.ts.map +1 -0
  2302. package/dist/loading/validate/components-only.js +68 -0
  2303. package/dist/loading/validate/components-only.js.map +1 -0
  2304. package/dist/loading/validate/components.d.ts +23 -0
  2305. package/dist/loading/validate/components.d.ts.map +1 -0
  2306. package/dist/loading/validate/components.js +98 -0
  2307. package/dist/loading/validate/components.js.map +1 -0
  2308. package/dist/loading/validate/index.d.ts +3 -0
  2309. package/dist/loading/validate/index.d.ts.map +1 -0
  2310. package/dist/loading/validate/index.js +3 -0
  2311. package/dist/loading/validate/index.js.map +1 -0
  2312. package/dist/loading/validate/json-files.d.ts +7 -0
  2313. package/dist/loading/validate/json-files.d.ts.map +1 -0
  2314. package/dist/loading/validate/json-files.js +87 -0
  2315. package/dist/loading/validate/json-files.js.map +1 -0
  2316. package/dist/loading/validate/links.d.ts +27 -0
  2317. package/dist/loading/validate/links.d.ts.map +1 -0
  2318. package/dist/loading/validate/links.js +46 -0
  2319. package/dist/loading/validate/links.js.map +1 -0
  2320. package/dist/loading/validate/marketplace-target.d.ts +9 -0
  2321. package/dist/loading/validate/marketplace-target.d.ts.map +1 -0
  2322. package/dist/loading/validate/marketplace-target.js +158 -0
  2323. package/dist/loading/validate/marketplace-target.js.map +1 -0
  2324. package/dist/loading/validate/paths.d.ts +8 -0
  2325. package/dist/loading/validate/paths.d.ts.map +1 -0
  2326. package/dist/loading/validate/paths.js +17 -0
  2327. package/dist/loading/validate/paths.js.map +1 -0
  2328. package/dist/loading/validate/plugin-contents.d.ts +11 -0
  2329. package/dist/loading/validate/plugin-contents.d.ts.map +1 -0
  2330. package/dist/loading/validate/plugin-contents.js +33 -0
  2331. package/dist/loading/validate/plugin-contents.js.map +1 -0
  2332. package/dist/loading/validate/plugin-target.d.ts +18 -0
  2333. package/dist/loading/validate/plugin-target.d.ts.map +1 -0
  2334. package/dist/loading/validate/plugin-target.js +53 -0
  2335. package/dist/loading/validate/plugin-target.js.map +1 -0
  2336. package/dist/loading/validate/report.d.ts +10 -0
  2337. package/dist/loading/validate/report.d.ts.map +1 -0
  2338. package/dist/loading/validate/report.js +3 -0
  2339. package/dist/loading/validate/report.js.map +1 -0
  2340. package/dist/loading/validate/validate-plugin.d.ts +17 -0
  2341. package/dist/loading/validate/validate-plugin.d.ts.map +1 -0
  2342. package/dist/loading/validate/validate-plugin.js +44 -0
  2343. package/dist/loading/validate/validate-plugin.js.map +1 -0
  2344. package/dist/loading/walk.d.ts +16 -0
  2345. package/dist/loading/walk.d.ts.map +1 -0
  2346. package/dist/loading/walk.js +204 -0
  2347. package/dist/loading/walk.js.map +1 -0
  2348. package/dist/loading/workspace-trust.d.ts +81 -0
  2349. package/dist/loading/workspace-trust.d.ts.map +1 -0
  2350. package/dist/loading/workspace-trust.js +83 -0
  2351. package/dist/loading/workspace-trust.js.map +1 -0
  2352. package/dist/marketplace/add-failures.d.ts +54 -0
  2353. package/dist/marketplace/add-failures.d.ts.map +1 -0
  2354. package/dist/marketplace/add-failures.js +104 -0
  2355. package/dist/marketplace/add-failures.js.map +1 -0
  2356. package/dist/marketplace/archive-scan.d.ts +10 -0
  2357. package/dist/marketplace/archive-scan.d.ts.map +1 -0
  2358. package/dist/marketplace/archive-scan.js +159 -0
  2359. package/dist/marketplace/archive-scan.js.map +1 -0
  2360. package/dist/marketplace/archive-source.d.ts +29 -0
  2361. package/dist/marketplace/archive-source.d.ts.map +1 -0
  2362. package/dist/marketplace/archive-source.js +106 -0
  2363. package/dist/marketplace/archive-source.js.map +1 -0
  2364. package/dist/marketplace/command-directory.d.ts +15 -0
  2365. package/dist/marketplace/command-directory.d.ts.map +1 -0
  2366. package/dist/marketplace/command-directory.js +63 -0
  2367. package/dist/marketplace/command-directory.js.map +1 -0
  2368. package/dist/marketplace/command-mode.d.ts +10 -0
  2369. package/dist/marketplace/command-mode.d.ts.map +1 -0
  2370. package/dist/marketplace/command-mode.js +10 -0
  2371. package/dist/marketplace/command-mode.js.map +1 -0
  2372. package/dist/marketplace/command-output.d.ts +20 -0
  2373. package/dist/marketplace/command-output.d.ts.map +1 -0
  2374. package/dist/marketplace/command-output.js +43 -0
  2375. package/dist/marketplace/command-output.js.map +1 -0
  2376. package/dist/marketplace/command-source.d.ts +41 -0
  2377. package/dist/marketplace/command-source.d.ts.map +1 -0
  2378. package/dist/marketplace/command-source.js +65 -0
  2379. package/dist/marketplace/command-source.js.map +1 -0
  2380. package/dist/marketplace/copy-plan.d.ts +81 -0
  2381. package/dist/marketplace/copy-plan.d.ts.map +1 -0
  2382. package/dist/marketplace/copy-plan.js +66 -0
  2383. package/dist/marketplace/copy-plan.js.map +1 -0
  2384. package/dist/marketplace/copy-sweep.d.ts +40 -0
  2385. package/dist/marketplace/copy-sweep.d.ts.map +1 -0
  2386. package/dist/marketplace/copy-sweep.js +45 -0
  2387. package/dist/marketplace/copy-sweep.js.map +1 -0
  2388. package/dist/marketplace/credential-variables.d.ts +7 -0
  2389. package/dist/marketplace/credential-variables.d.ts.map +1 -0
  2390. package/dist/marketplace/credential-variables.js +7 -0
  2391. package/dist/marketplace/credential-variables.js.map +1 -0
  2392. package/dist/marketplace/cross-marketplace.d.ts +47 -0
  2393. package/dist/marketplace/cross-marketplace.d.ts.map +1 -0
  2394. package/dist/marketplace/cross-marketplace.js +34 -0
  2395. package/dist/marketplace/cross-marketplace.js.map +1 -0
  2396. package/dist/marketplace/declared-source.d.ts +26 -0
  2397. package/dist/marketplace/declared-source.d.ts.map +1 -0
  2398. package/dist/marketplace/declared-source.js +29 -0
  2399. package/dist/marketplace/declared-source.js.map +1 -0
  2400. package/dist/marketplace/dependencies.d.ts +75 -0
  2401. package/dist/marketplace/dependencies.d.ts.map +1 -0
  2402. package/dist/marketplace/dependencies.js +179 -0
  2403. package/dist/marketplace/dependencies.js.map +1 -0
  2404. package/dist/marketplace/dependency-catalog.d.ts +19 -0
  2405. package/dist/marketplace/dependency-catalog.d.ts.map +1 -0
  2406. package/dist/marketplace/dependency-catalog.js +35 -0
  2407. package/dist/marketplace/dependency-catalog.js.map +1 -0
  2408. package/dist/marketplace/dependency-enable.d.ts +39 -0
  2409. package/dist/marketplace/dependency-enable.d.ts.map +1 -0
  2410. package/dist/marketplace/dependency-enable.js +60 -0
  2411. package/dist/marketplace/dependency-enable.js.map +1 -0
  2412. package/dist/marketplace/dependency-graph.d.ts +145 -0
  2413. package/dist/marketplace/dependency-graph.d.ts.map +1 -0
  2414. package/dist/marketplace/dependency-graph.js +106 -0
  2415. package/dist/marketplace/dependency-graph.js.map +1 -0
  2416. package/dist/marketplace/dependency-install-plan.d.ts +85 -0
  2417. package/dist/marketplace/dependency-install-plan.d.ts.map +1 -0
  2418. package/dist/marketplace/dependency-install-plan.js +179 -0
  2419. package/dist/marketplace/dependency-install-plan.js.map +1 -0
  2420. package/dist/marketplace/dependency-install-walk.d.ts +57 -0
  2421. package/dist/marketplace/dependency-install-walk.d.ts.map +1 -0
  2422. package/dist/marketplace/dependency-install-walk.js +144 -0
  2423. package/dist/marketplace/dependency-install-walk.js.map +1 -0
  2424. package/dist/marketplace/dependency-prune.d.ts +66 -0
  2425. package/dist/marketplace/dependency-prune.d.ts.map +1 -0
  2426. package/dist/marketplace/dependency-prune.js +99 -0
  2427. package/dist/marketplace/dependency-prune.js.map +1 -0
  2428. package/dist/marketplace/dependency-tags.d.ts +108 -0
  2429. package/dist/marketplace/dependency-tags.d.ts.map +1 -0
  2430. package/dist/marketplace/dependency-tags.js +157 -0
  2431. package/dist/marketplace/dependency-tags.js.map +1 -0
  2432. package/dist/marketplace/deprecated-marketplace.d.ts +15 -0
  2433. package/dist/marketplace/deprecated-marketplace.d.ts.map +1 -0
  2434. package/dist/marketplace/deprecated-marketplace.js +26 -0
  2435. package/dist/marketplace/deprecated-marketplace.js.map +1 -0
  2436. package/dist/marketplace/download-headers.d.ts +59 -0
  2437. package/dist/marketplace/download-headers.d.ts.map +1 -0
  2438. package/dist/marketplace/download-headers.js +90 -0
  2439. package/dist/marketplace/download-headers.js.map +1 -0
  2440. package/dist/marketplace/enablement-notes.d.ts +67 -0
  2441. package/dist/marketplace/enablement-notes.d.ts.map +1 -0
  2442. package/dist/marketplace/enablement-notes.js +70 -0
  2443. package/dist/marketplace/enablement-notes.js.map +1 -0
  2444. package/dist/marketplace/fetch-plan.d.ts +24 -0
  2445. package/dist/marketplace/fetch-plan.d.ts.map +1 -0
  2446. package/dist/marketplace/fetch-plan.js +186 -0
  2447. package/dist/marketplace/fetch-plan.js.map +1 -0
  2448. package/dist/marketplace/folder-collision.d.ts +36 -0
  2449. package/dist/marketplace/folder-collision.d.ts.map +1 -0
  2450. package/dist/marketplace/folder-collision.js +48 -0
  2451. package/dist/marketplace/folder-collision.js.map +1 -0
  2452. package/dist/marketplace/git-transport.d.ts +56 -0
  2453. package/dist/marketplace/git-transport.d.ts.map +1 -0
  2454. package/dist/marketplace/git-transport.js +53 -0
  2455. package/dist/marketplace/git-transport.js.map +1 -0
  2456. package/dist/marketplace/header-helper.d.ts +37 -0
  2457. package/dist/marketplace/header-helper.d.ts.map +1 -0
  2458. package/dist/marketplace/header-helper.js +93 -0
  2459. package/dist/marketplace/header-helper.js.map +1 -0
  2460. package/dist/marketplace/header-map.d.ts +13 -0
  2461. package/dist/marketplace/header-map.d.ts.map +1 -0
  2462. package/dist/marketplace/header-map.js +22 -0
  2463. package/dist/marketplace/header-map.js.map +1 -0
  2464. package/dist/marketplace/header-policy.d.ts +80 -0
  2465. package/dist/marketplace/header-policy.d.ts.map +1 -0
  2466. package/dist/marketplace/header-policy.js +175 -0
  2467. package/dist/marketplace/header-policy.js.map +1 -0
  2468. package/dist/marketplace/headless-report.d.ts +69 -0
  2469. package/dist/marketplace/headless-report.d.ts.map +1 -0
  2470. package/dist/marketplace/headless-report.js +50 -0
  2471. package/dist/marketplace/headless-report.js.map +1 -0
  2472. package/dist/marketplace/http-download.d.ts +26 -0
  2473. package/dist/marketplace/http-download.d.ts.map +1 -0
  2474. package/dist/marketplace/http-download.js +65 -0
  2475. package/dist/marketplace/http-download.js.map +1 -0
  2476. package/dist/marketplace/ignored-marketplace.d.ts +58 -0
  2477. package/dist/marketplace/ignored-marketplace.d.ts.map +1 -0
  2478. package/dist/marketplace/ignored-marketplace.js +106 -0
  2479. package/dist/marketplace/ignored-marketplace.js.map +1 -0
  2480. package/dist/marketplace/index.d.ts +39 -0
  2481. package/dist/marketplace/index.d.ts.map +1 -0
  2482. package/dist/marketplace/index.js +34 -0
  2483. package/dist/marketplace/index.js.map +1 -0
  2484. package/dist/marketplace/install-commands.d.ts +79 -0
  2485. package/dist/marketplace/install-commands.d.ts.map +1 -0
  2486. package/dist/marketplace/install-commands.js +82 -0
  2487. package/dist/marketplace/install-commands.js.map +1 -0
  2488. package/dist/marketplace/install-errors.d.ts +111 -0
  2489. package/dist/marketplace/install-errors.d.ts.map +1 -0
  2490. package/dist/marketplace/install-errors.js +146 -0
  2491. package/dist/marketplace/install-errors.js.map +1 -0
  2492. package/dist/marketplace/install-failures.d.ts +58 -0
  2493. package/dist/marketplace/install-failures.d.ts.map +1 -0
  2494. package/dist/marketplace/install-failures.js +97 -0
  2495. package/dist/marketplace/install-failures.js.map +1 -0
  2496. package/dist/marketplace/install-guidance.d.ts +12 -0
  2497. package/dist/marketplace/install-guidance.d.ts.map +1 -0
  2498. package/dist/marketplace/install-guidance.js +12 -0
  2499. package/dist/marketplace/install-guidance.js.map +1 -0
  2500. package/dist/marketplace/install-hosts.d.ts +58 -0
  2501. package/dist/marketplace/install-hosts.d.ts.map +1 -0
  2502. package/dist/marketplace/install-hosts.js +111 -0
  2503. package/dist/marketplace/install-hosts.js.map +1 -0
  2504. package/dist/marketplace/install-index.d.ts +25 -0
  2505. package/dist/marketplace/install-index.d.ts.map +1 -0
  2506. package/dist/marketplace/install-index.js +22 -0
  2507. package/dist/marketplace/install-index.js.map +1 -0
  2508. package/dist/marketplace/install-lifecycle-index.d.ts +21 -0
  2509. package/dist/marketplace/install-lifecycle-index.d.ts.map +1 -0
  2510. package/dist/marketplace/install-lifecycle-index.js +21 -0
  2511. package/dist/marketplace/install-lifecycle-index.js.map +1 -0
  2512. package/dist/marketplace/install-messages.d.ts +61 -0
  2513. package/dist/marketplace/install-messages.d.ts.map +1 -0
  2514. package/dist/marketplace/install-messages.js +68 -0
  2515. package/dist/marketplace/install-messages.js.map +1 -0
  2516. package/dist/marketplace/install-mode.d.ts +69 -0
  2517. package/dist/marketplace/install-mode.d.ts.map +1 -0
  2518. package/dist/marketplace/install-mode.js +87 -0
  2519. package/dist/marketplace/install-mode.js.map +1 -0
  2520. package/dist/marketplace/install-plan.d.ts +82 -0
  2521. package/dist/marketplace/install-plan.d.ts.map +1 -0
  2522. package/dist/marketplace/install-plan.js +135 -0
  2523. package/dist/marketplace/install-plan.js.map +1 -0
  2524. package/dist/marketplace/install-plans.d.ts +83 -0
  2525. package/dist/marketplace/install-plans.d.ts.map +1 -0
  2526. package/dist/marketplace/install-plans.js +62 -0
  2527. package/dist/marketplace/install-plans.js.map +1 -0
  2528. package/dist/marketplace/install-records-at.d.ts +18 -0
  2529. package/dist/marketplace/install-records-at.d.ts.map +1 -0
  2530. package/dist/marketplace/install-records-at.js +26 -0
  2531. package/dist/marketplace/install-records-at.js.map +1 -0
  2532. package/dist/marketplace/install-scopes.d.ts +50 -0
  2533. package/dist/marketplace/install-scopes.d.ts.map +1 -0
  2534. package/dist/marketplace/install-scopes.js +71 -0
  2535. package/dist/marketplace/install-scopes.js.map +1 -0
  2536. package/dist/marketplace/installed-plugins-store.d.ts +30 -0
  2537. package/dist/marketplace/installed-plugins-store.d.ts.map +1 -0
  2538. package/dist/marketplace/installed-plugins-store.js +45 -0
  2539. package/dist/marketplace/installed-plugins-store.js.map +1 -0
  2540. package/dist/marketplace/installed-plugins.d.ts +45 -0
  2541. package/dist/marketplace/installed-plugins.d.ts.map +1 -0
  2542. package/dist/marketplace/installed-plugins.js +142 -0
  2543. package/dist/marketplace/installed-plugins.js.map +1 -0
  2544. package/dist/marketplace/known-marketplaces.d.ts +56 -0
  2545. package/dist/marketplace/known-marketplaces.d.ts.map +1 -0
  2546. package/dist/marketplace/known-marketplaces.js +92 -0
  2547. package/dist/marketplace/known-marketplaces.js.map +1 -0
  2548. package/dist/marketplace/lfs-pointer.d.ts +22 -0
  2549. package/dist/marketplace/lfs-pointer.d.ts.map +1 -0
  2550. package/dist/marketplace/lfs-pointer.js +76 -0
  2551. package/dist/marketplace/lfs-pointer.js.map +1 -0
  2552. package/dist/marketplace/marketplace-catalog.d.ts +14 -0
  2553. package/dist/marketplace/marketplace-catalog.d.ts.map +1 -0
  2554. package/dist/marketplace/marketplace-catalog.js +31 -0
  2555. package/dist/marketplace/marketplace-catalog.js.map +1 -0
  2556. package/dist/marketplace/marketplace-download.d.ts +28 -0
  2557. package/dist/marketplace/marketplace-download.d.ts.map +1 -0
  2558. package/dist/marketplace/marketplace-download.js +38 -0
  2559. package/dist/marketplace/marketplace-download.js.map +1 -0
  2560. package/dist/marketplace/marketplace-fetch-plan.d.ts +14 -0
  2561. package/dist/marketplace/marketplace-fetch-plan.d.ts.map +1 -0
  2562. package/dist/marketplace/marketplace-fetch-plan.js +102 -0
  2563. package/dist/marketplace/marketplace-fetch-plan.js.map +1 -0
  2564. package/dist/marketplace/marketplace-input.d.ts +20 -0
  2565. package/dist/marketplace/marketplace-input.d.ts.map +1 -0
  2566. package/dist/marketplace/marketplace-input.js +131 -0
  2567. package/dist/marketplace/marketplace-input.js.map +1 -0
  2568. package/dist/marketplace/missing-plugin-diagnosis.d.ts +33 -0
  2569. package/dist/marketplace/missing-plugin-diagnosis.d.ts.map +1 -0
  2570. package/dist/marketplace/missing-plugin-diagnosis.js +24 -0
  2571. package/dist/marketplace/missing-plugin-diagnosis.js.map +1 -0
  2572. package/dist/marketplace/name-conflicts.d.ts +65 -0
  2573. package/dist/marketplace/name-conflicts.d.ts.map +1 -0
  2574. package/dist/marketplace/name-conflicts.js +104 -0
  2575. package/dist/marketplace/name-conflicts.js.map +1 -0
  2576. package/dist/marketplace/node-deps-checks.d.ts +20 -0
  2577. package/dist/marketplace/node-deps-checks.d.ts.map +1 -0
  2578. package/dist/marketplace/node-deps-checks.js +124 -0
  2579. package/dist/marketplace/node-deps-checks.js.map +1 -0
  2580. package/dist/marketplace/node-deps-failure.d.ts +53 -0
  2581. package/dist/marketplace/node-deps-failure.d.ts.map +1 -0
  2582. package/dist/marketplace/node-deps-failure.js +152 -0
  2583. package/dist/marketplace/node-deps-failure.js.map +1 -0
  2584. package/dist/marketplace/node-deps-lockfile.d.ts +35 -0
  2585. package/dist/marketplace/node-deps-lockfile.d.ts.map +1 -0
  2586. package/dist/marketplace/node-deps-lockfile.js +136 -0
  2587. package/dist/marketplace/node-deps-lockfile.js.map +1 -0
  2588. package/dist/marketplace/node-deps-spec.d.ts +56 -0
  2589. package/dist/marketplace/node-deps-spec.d.ts.map +1 -0
  2590. package/dist/marketplace/node-deps-spec.js +172 -0
  2591. package/dist/marketplace/node-deps-spec.js.map +1 -0
  2592. package/dist/marketplace/node-deps-types.d.ts +142 -0
  2593. package/dist/marketplace/node-deps-types.d.ts.map +1 -0
  2594. package/dist/marketplace/node-deps-types.js +15 -0
  2595. package/dist/marketplace/node-deps-types.js.map +1 -0
  2596. package/dist/marketplace/node-deps.d.ts +9 -0
  2597. package/dist/marketplace/node-deps.d.ts.map +1 -0
  2598. package/dist/marketplace/node-deps.js +76 -0
  2599. package/dist/marketplace/node-deps.js.map +1 -0
  2600. package/dist/marketplace/orphan-cleanup.d.ts +37 -0
  2601. package/dist/marketplace/orphan-cleanup.d.ts.map +1 -0
  2602. package/dist/marketplace/orphan-cleanup.js +55 -0
  2603. package/dist/marketplace/orphan-cleanup.js.map +1 -0
  2604. package/dist/marketplace/plugin-content.d.ts +8 -0
  2605. package/dist/marketplace/plugin-content.d.ts.map +1 -0
  2606. package/dist/marketplace/plugin-content.js +14 -0
  2607. package/dist/marketplace/plugin-content.js.map +1 -0
  2608. package/dist/marketplace/plugin-dir-dependencies.d.ts +22 -0
  2609. package/dist/marketplace/plugin-dir-dependencies.d.ts.map +1 -0
  2610. package/dist/marketplace/plugin-dir-dependencies.js +48 -0
  2611. package/dist/marketplace/plugin-dir-dependencies.js.map +1 -0
  2612. package/dist/marketplace/plugin-footprint.d.ts +59 -0
  2613. package/dist/marketplace/plugin-footprint.d.ts.map +1 -0
  2614. package/dist/marketplace/plugin-footprint.js +37 -0
  2615. package/dist/marketplace/plugin-footprint.js.map +1 -0
  2616. package/dist/marketplace/plugin-hints.d.ts +78 -0
  2617. package/dist/marketplace/plugin-hints.d.ts.map +1 -0
  2618. package/dist/marketplace/plugin-hints.js +107 -0
  2619. package/dist/marketplace/plugin-hints.js.map +1 -0
  2620. package/dist/marketplace/plugin-names.d.ts +35 -0
  2621. package/dist/marketplace/plugin-names.d.ts.map +1 -0
  2622. package/dist/marketplace/plugin-names.js +19 -0
  2623. package/dist/marketplace/plugin-names.js.map +1 -0
  2624. package/dist/marketplace/ports.d.ts +99 -0
  2625. package/dist/marketplace/ports.d.ts.map +1 -0
  2626. package/dist/marketplace/ports.js +2 -0
  2627. package/dist/marketplace/ports.js.map +1 -0
  2628. package/dist/marketplace/refused-name.d.ts +20 -0
  2629. package/dist/marketplace/refused-name.d.ts.map +1 -0
  2630. package/dist/marketplace/refused-name.js +31 -0
  2631. package/dist/marketplace/refused-name.js.map +1 -0
  2632. package/dist/marketplace/release-channels.d.ts +25 -0
  2633. package/dist/marketplace/release-channels.d.ts.map +1 -0
  2634. package/dist/marketplace/release-channels.js +55 -0
  2635. package/dist/marketplace/release-channels.js.map +1 -0
  2636. package/dist/marketplace/relevance-match.d.ts +49 -0
  2637. package/dist/marketplace/relevance-match.d.ts.map +1 -0
  2638. package/dist/marketplace/relevance-match.js +100 -0
  2639. package/dist/marketplace/relevance-match.js.map +1 -0
  2640. package/dist/marketplace/relevance-surface.d.ts +45 -0
  2641. package/dist/marketplace/relevance-surface.d.ts.map +1 -0
  2642. package/dist/marketplace/relevance-surface.js +37 -0
  2643. package/dist/marketplace/relevance-surface.js.map +1 -0
  2644. package/dist/marketplace/reload-summary.d.ts +79 -0
  2645. package/dist/marketplace/reload-summary.d.ts.map +1 -0
  2646. package/dist/marketplace/reload-summary.js +70 -0
  2647. package/dist/marketplace/reload-summary.js.map +1 -0
  2648. package/dist/marketplace/remote-plugins.d.ts +27 -0
  2649. package/dist/marketplace/remote-plugins.d.ts.map +1 -0
  2650. package/dist/marketplace/remote-plugins.js +43 -0
  2651. package/dist/marketplace/remote-plugins.js.map +1 -0
  2652. package/dist/marketplace/removal.d.ts +35 -0
  2653. package/dist/marketplace/removal.d.ts.map +1 -0
  2654. package/dist/marketplace/removal.js +26 -0
  2655. package/dist/marketplace/removal.js.map +1 -0
  2656. package/dist/marketplace/renames.d.ts +39 -0
  2657. package/dist/marketplace/renames.d.ts.map +1 -0
  2658. package/dist/marketplace/renames.js +123 -0
  2659. package/dist/marketplace/renames.js.map +1 -0
  2660. package/dist/marketplace/seed-registry.d.ts +27 -0
  2661. package/dist/marketplace/seed-registry.d.ts.map +1 -0
  2662. package/dist/marketplace/seed-registry.js +25 -0
  2663. package/dist/marketplace/seed-registry.js.map +1 -0
  2664. package/dist/marketplace/semver.d.ts +27 -0
  2665. package/dist/marketplace/semver.d.ts.map +1 -0
  2666. package/dist/marketplace/semver.js +51 -0
  2667. package/dist/marketplace/semver.js.map +1 -0
  2668. package/dist/marketplace/session-origins.d.ts +43 -0
  2669. package/dist/marketplace/session-origins.d.ts.map +1 -0
  2670. package/dist/marketplace/session-origins.js +39 -0
  2671. package/dist/marketplace/session-origins.js.map +1 -0
  2672. package/dist/marketplace/session-plugins.d.ts +50 -0
  2673. package/dist/marketplace/session-plugins.d.ts.map +1 -0
  2674. package/dist/marketplace/session-plugins.js +55 -0
  2675. package/dist/marketplace/session-plugins.js.map +1 -0
  2676. package/dist/marketplace/source-safety.d.ts +58 -0
  2677. package/dist/marketplace/source-safety.d.ts.map +1 -0
  2678. package/dist/marketplace/source-safety.js +173 -0
  2679. package/dist/marketplace/source-safety.js.map +1 -0
  2680. package/dist/marketplace/stage-report.d.ts +77 -0
  2681. package/dist/marketplace/stage-report.d.ts.map +1 -0
  2682. package/dist/marketplace/stage-report.js +71 -0
  2683. package/dist/marketplace/stage-report.js.map +1 -0
  2684. package/dist/marketplace/staged-commit.d.ts +22 -0
  2685. package/dist/marketplace/staged-commit.d.ts.map +1 -0
  2686. package/dist/marketplace/staged-commit.js +26 -0
  2687. package/dist/marketplace/staged-commit.js.map +1 -0
  2688. package/dist/marketplace/store-layout.d.ts +70 -0
  2689. package/dist/marketplace/store-layout.d.ts.map +1 -0
  2690. package/dist/marketplace/store-layout.js +75 -0
  2691. package/dist/marketplace/store-layout.js.map +1 -0
  2692. package/dist/marketplace/submodules.d.ts +34 -0
  2693. package/dist/marketplace/submodules.d.ts.map +1 -0
  2694. package/dist/marketplace/submodules.js +89 -0
  2695. package/dist/marketplace/submodules.js.map +1 -0
  2696. package/dist/marketplace/telemetry-names.d.ts +22 -0
  2697. package/dist/marketplace/telemetry-names.d.ts.map +1 -0
  2698. package/dist/marketplace/telemetry-names.js +27 -0
  2699. package/dist/marketplace/telemetry-names.js.map +1 -0
  2700. package/dist/marketplace/types.d.ts +155 -0
  2701. package/dist/marketplace/types.d.ts.map +1 -0
  2702. package/dist/marketplace/types.js +2 -0
  2703. package/dist/marketplace/types.js.map +1 -0
  2704. package/dist/marketplace/uninstall-records.d.ts +39 -0
  2705. package/dist/marketplace/uninstall-records.d.ts.map +1 -0
  2706. package/dist/marketplace/uninstall-records.js +42 -0
  2707. package/dist/marketplace/uninstall-records.js.map +1 -0
  2708. package/dist/marketplace/update-detection.d.ts +68 -0
  2709. package/dist/marketplace/update-detection.d.ts.map +1 -0
  2710. package/dist/marketplace/update-detection.js +72 -0
  2711. package/dist/marketplace/update-detection.js.map +1 -0
  2712. package/dist/marketplace/version-hash.d.ts +28 -0
  2713. package/dist/marketplace/version-hash.d.ts.map +1 -0
  2714. package/dist/marketplace/version-hash.js +72 -0
  2715. package/dist/marketplace/version-hash.js.map +1 -0
  2716. package/dist/marketplace/version-index.d.ts +7 -0
  2717. package/dist/marketplace/version-index.d.ts.map +1 -0
  2718. package/dist/marketplace/version-index.js +7 -0
  2719. package/dist/marketplace/version-index.js.map +1 -0
  2720. package/dist/marketplace/version-resolution.d.ts +68 -0
  2721. package/dist/marketplace/version-resolution.d.ts.map +1 -0
  2722. package/dist/marketplace/version-resolution.js +99 -0
  2723. package/dist/marketplace/version-resolution.js.map +1 -0
  2724. package/dist/marketplace/version-troubleshooting.d.ts +33 -0
  2725. package/dist/marketplace/version-troubleshooting.d.ts.map +1 -0
  2726. package/dist/marketplace/version-troubleshooting.js +25 -0
  2727. package/dist/marketplace/version-troubleshooting.js.map +1 -0
  2728. package/dist/mods/api/agent.d.ts +4 -0
  2729. package/dist/mods/api/agent.d.ts.map +1 -0
  2730. package/dist/mods/api/agent.js +44 -0
  2731. package/dist/mods/api/agent.js.map +1 -0
  2732. package/dist/mods/api/audio.d.ts +4 -0
  2733. package/dist/mods/api/audio.d.ts.map +1 -0
  2734. package/dist/mods/api/audio.js +41 -0
  2735. package/dist/mods/api/audio.js.map +1 -0
  2736. package/dist/mods/api/build.d.ts +60 -0
  2737. package/dist/mods/api/build.d.ts.map +1 -0
  2738. package/dist/mods/api/build.js +135 -0
  2739. package/dist/mods/api/build.js.map +1 -0
  2740. package/dist/mods/api/call.d.ts +83 -0
  2741. package/dist/mods/api/call.d.ts.map +1 -0
  2742. package/dist/mods/api/call.js +108 -0
  2743. package/dist/mods/api/call.js.map +1 -0
  2744. package/dist/mods/api/clock.d.ts +4 -0
  2745. package/dist/mods/api/clock.d.ts.map +1 -0
  2746. package/dist/mods/api/clock.js +72 -0
  2747. package/dist/mods/api/clock.js.map +1 -0
  2748. package/dist/mods/api/command.d.ts +17 -0
  2749. package/dist/mods/api/command.d.ts.map +1 -0
  2750. package/dist/mods/api/command.js +80 -0
  2751. package/dist/mods/api/command.js.map +1 -0
  2752. package/dist/mods/api/config.d.ts +8 -0
  2753. package/dist/mods/api/config.d.ts.map +1 -0
  2754. package/dist/mods/api/config.js +41 -0
  2755. package/dist/mods/api/config.js.map +1 -0
  2756. package/dist/mods/api/context-usage.d.ts +13 -0
  2757. package/dist/mods/api/context-usage.d.ts.map +1 -0
  2758. package/dist/mods/api/context-usage.js +18 -0
  2759. package/dist/mods/api/context-usage.js.map +1 -0
  2760. package/dist/mods/api/describe.d.ts +39 -0
  2761. package/dist/mods/api/describe.d.ts.map +1 -0
  2762. package/dist/mods/api/describe.js +59 -0
  2763. package/dist/mods/api/describe.js.map +1 -0
  2764. package/dist/mods/api/engine-create.d.ts +24 -0
  2765. package/dist/mods/api/engine-create.d.ts.map +1 -0
  2766. package/dist/mods/api/engine-create.js +74 -0
  2767. package/dist/mods/api/engine-create.js.map +1 -0
  2768. package/dist/mods/api/engine-settings.d.ts +21 -0
  2769. package/dist/mods/api/engine-settings.d.ts.map +1 -0
  2770. package/dist/mods/api/engine-settings.js +61 -0
  2771. package/dist/mods/api/engine-settings.js.map +1 -0
  2772. package/dist/mods/api/env.d.ts +5 -0
  2773. package/dist/mods/api/env.d.ts.map +1 -0
  2774. package/dist/mods/api/env.js +18 -0
  2775. package/dist/mods/api/env.js.map +1 -0
  2776. package/dist/mods/api/exec.d.ts +4 -0
  2777. package/dist/mods/api/exec.d.ts.map +1 -0
  2778. package/dist/mods/api/exec.js +146 -0
  2779. package/dist/mods/api/exec.js.map +1 -0
  2780. package/dist/mods/api/fetch-policy.d.ts +39 -0
  2781. package/dist/mods/api/fetch-policy.d.ts.map +1 -0
  2782. package/dist/mods/api/fetch-policy.js +33 -0
  2783. package/dist/mods/api/fetch-policy.js.map +1 -0
  2784. package/dist/mods/api/fs-ancestors.d.ts +3 -0
  2785. package/dist/mods/api/fs-ancestors.d.ts.map +1 -0
  2786. package/dist/mods/api/fs-ancestors.js +60 -0
  2787. package/dist/mods/api/fs-ancestors.js.map +1 -0
  2788. package/dist/mods/api/fs-ports.d.ts +67 -0
  2789. package/dist/mods/api/fs-ports.d.ts.map +1 -0
  2790. package/dist/mods/api/fs-ports.js +3 -0
  2791. package/dist/mods/api/fs-ports.js.map +1 -0
  2792. package/dist/mods/api/fs.d.ts +5 -0
  2793. package/dist/mods/api/fs.d.ts.map +1 -0
  2794. package/dist/mods/api/fs.js +98 -0
  2795. package/dist/mods/api/fs.js.map +1 -0
  2796. package/dist/mods/api/gate.d.ts +93 -0
  2797. package/dist/mods/api/gate.d.ts.map +1 -0
  2798. package/dist/mods/api/gate.js +130 -0
  2799. package/dist/mods/api/gate.js.map +1 -0
  2800. package/dist/mods/api/host-ports.d.ts +71 -0
  2801. package/dist/mods/api/host-ports.d.ts.map +1 -0
  2802. package/dist/mods/api/host-ports.js +55 -0
  2803. package/dist/mods/api/host-ports.js.map +1 -0
  2804. package/dist/mods/api/http-redirects.d.ts +14 -0
  2805. package/dist/mods/api/http-redirects.d.ts.map +1 -0
  2806. package/dist/mods/api/http-redirects.js +72 -0
  2807. package/dist/mods/api/http-redirects.js.map +1 -0
  2808. package/dist/mods/api/http.d.ts +5 -0
  2809. package/dist/mods/api/http.d.ts.map +1 -0
  2810. package/dist/mods/api/http.js +145 -0
  2811. package/dist/mods/api/http.js.map +1 -0
  2812. package/dist/mods/api/index.d.ts +23 -0
  2813. package/dist/mods/api/index.d.ts.map +1 -0
  2814. package/dist/mods/api/index.js +22 -0
  2815. package/dist/mods/api/index.js.map +1 -0
  2816. package/dist/mods/api/mcp.d.ts +4 -0
  2817. package/dist/mods/api/mcp.d.ts.map +1 -0
  2818. package/dist/mods/api/mcp.js +69 -0
  2819. package/dist/mods/api/mcp.js.map +1 -0
  2820. package/dist/mods/api/model-blocks.d.ts +34 -0
  2821. package/dist/mods/api/model-blocks.d.ts.map +1 -0
  2822. package/dist/mods/api/model-blocks.js +36 -0
  2823. package/dist/mods/api/model-blocks.js.map +1 -0
  2824. package/dist/mods/api/model.d.ts +4 -0
  2825. package/dist/mods/api/model.d.ts.map +1 -0
  2826. package/dist/mods/api/model.js +88 -0
  2827. package/dist/mods/api/model.js.map +1 -0
  2828. package/dist/mods/api/names.d.ts +11 -0
  2829. package/dist/mods/api/names.d.ts.map +1 -0
  2830. package/dist/mods/api/names.js +16 -0
  2831. package/dist/mods/api/names.js.map +1 -0
  2832. package/dist/mods/api/optional-port-types.d.ts +110 -0
  2833. package/dist/mods/api/optional-port-types.d.ts.map +1 -0
  2834. package/dist/mods/api/optional-port-types.js +2 -0
  2835. package/dist/mods/api/optional-port-types.js.map +1 -0
  2836. package/dist/mods/api/output-cut.d.ts +9 -0
  2837. package/dist/mods/api/output-cut.d.ts.map +1 -0
  2838. package/dist/mods/api/output-cut.js +10 -0
  2839. package/dist/mods/api/output-cut.js.map +1 -0
  2840. package/dist/mods/api/paths.d.ts +10 -0
  2841. package/dist/mods/api/paths.d.ts.map +1 -0
  2842. package/dist/mods/api/paths.js +17 -0
  2843. package/dist/mods/api/paths.js.map +1 -0
  2844. package/dist/mods/api/plugin.d.ts +5 -0
  2845. package/dist/mods/api/plugin.d.ts.map +1 -0
  2846. package/dist/mods/api/plugin.js +6 -0
  2847. package/dist/mods/api/plugin.js.map +1 -0
  2848. package/dist/mods/api/ports.d.ts +260 -0
  2849. package/dist/mods/api/ports.d.ts.map +1 -0
  2850. package/dist/mods/api/ports.js +3 -0
  2851. package/dist/mods/api/ports.js.map +1 -0
  2852. package/dist/mods/api/prompt.d.ts +4 -0
  2853. package/dist/mods/api/prompt.d.ts.map +1 -0
  2854. package/dist/mods/api/prompt.js +77 -0
  2855. package/dist/mods/api/prompt.js.map +1 -0
  2856. package/dist/mods/api/refusal.d.ts +26 -0
  2857. package/dist/mods/api/refusal.d.ts.map +1 -0
  2858. package/dist/mods/api/refusal.js +69 -0
  2859. package/dist/mods/api/refusal.js.map +1 -0
  2860. package/dist/mods/api/registries.d.ts +84 -0
  2861. package/dist/mods/api/registries.d.ts.map +1 -0
  2862. package/dist/mods/api/registries.js +82 -0
  2863. package/dist/mods/api/registries.js.map +1 -0
  2864. package/dist/mods/api/replay.d.ts +30 -0
  2865. package/dist/mods/api/replay.d.ts.map +1 -0
  2866. package/dist/mods/api/replay.js +63 -0
  2867. package/dist/mods/api/replay.js.map +1 -0
  2868. package/dist/mods/api/rules.d.ts +7 -0
  2869. package/dist/mods/api/rules.d.ts.map +1 -0
  2870. package/dist/mods/api/rules.js +26 -0
  2871. package/dist/mods/api/rules.js.map +1 -0
  2872. package/dist/mods/api/scope.d.ts +31 -0
  2873. package/dist/mods/api/scope.d.ts.map +1 -0
  2874. package/dist/mods/api/scope.js +30 -0
  2875. package/dist/mods/api/scope.js.map +1 -0
  2876. package/dist/mods/api/scoped-call.d.ts +9 -0
  2877. package/dist/mods/api/scoped-call.d.ts.map +1 -0
  2878. package/dist/mods/api/scoped-call.js +15 -0
  2879. package/dist/mods/api/scoped-call.js.map +1 -0
  2880. package/dist/mods/api/session.d.ts +4 -0
  2881. package/dist/mods/api/session.d.ts.map +1 -0
  2882. package/dist/mods/api/session.js +99 -0
  2883. package/dist/mods/api/session.js.map +1 -0
  2884. package/dist/mods/api/settings-layers.d.ts +17 -0
  2885. package/dist/mods/api/settings-layers.d.ts.map +1 -0
  2886. package/dist/mods/api/settings-layers.js +80 -0
  2887. package/dist/mods/api/settings-layers.js.map +1 -0
  2888. package/dist/mods/api/settings.d.ts +4 -0
  2889. package/dist/mods/api/settings.d.ts.map +1 -0
  2890. package/dist/mods/api/settings.js +53 -0
  2891. package/dist/mods/api/settings.js.map +1 -0
  2892. package/dist/mods/api/state-library-source.d.ts +11 -0
  2893. package/dist/mods/api/state-library-source.d.ts.map +1 -0
  2894. package/dist/mods/api/state-library-source.js +64 -0
  2895. package/dist/mods/api/state-library-source.js.map +1 -0
  2896. package/dist/mods/api/state-library.d.ts +52 -0
  2897. package/dist/mods/api/state-library.d.ts.map +1 -0
  2898. package/dist/mods/api/state-library.js +97 -0
  2899. package/dist/mods/api/state-library.js.map +1 -0
  2900. package/dist/mods/api/state.d.ts +53 -0
  2901. package/dist/mods/api/state.d.ts.map +1 -0
  2902. package/dist/mods/api/state.js +91 -0
  2903. package/dist/mods/api/state.js.map +1 -0
  2904. package/dist/mods/api/store.d.ts +9 -0
  2905. package/dist/mods/api/store.d.ts.map +1 -0
  2906. package/dist/mods/api/store.js +64 -0
  2907. package/dist/mods/api/store.js.map +1 -0
  2908. package/dist/mods/api/telemetry-origin.d.ts +4 -0
  2909. package/dist/mods/api/telemetry-origin.d.ts.map +1 -0
  2910. package/dist/mods/api/telemetry-origin.js +4 -0
  2911. package/dist/mods/api/telemetry-origin.js.map +1 -0
  2912. package/dist/mods/api/telemetry.d.ts +13 -0
  2913. package/dist/mods/api/telemetry.d.ts.map +1 -0
  2914. package/dist/mods/api/telemetry.js +63 -0
  2915. package/dist/mods/api/telemetry.js.map +1 -0
  2916. package/dist/mods/api/theme.d.ts +16 -0
  2917. package/dist/mods/api/theme.d.ts.map +1 -0
  2918. package/dist/mods/api/theme.js +83 -0
  2919. package/dist/mods/api/theme.js.map +1 -0
  2920. package/dist/mods/api/tool.d.ts +4 -0
  2921. package/dist/mods/api/tool.d.ts.map +1 -0
  2922. package/dist/mods/api/tool.js +47 -0
  2923. package/dist/mods/api/tool.js.map +1 -0
  2924. package/dist/mods/api/turn.d.ts +4 -0
  2925. package/dist/mods/api/turn.d.ts.map +1 -0
  2926. package/dist/mods/api/turn.js +8 -0
  2927. package/dist/mods/api/turn.js.map +1 -0
  2928. package/dist/mods/async-slot.d.ts +12 -0
  2929. package/dist/mods/async-slot.d.ts.map +1 -0
  2930. package/dist/mods/async-slot.js +22 -0
  2931. package/dist/mods/async-slot.js.map +1 -0
  2932. package/dist/mods/chain/api-guard.d.ts +13 -0
  2933. package/dist/mods/chain/api-guard.d.ts.map +1 -0
  2934. package/dist/mods/chain/api-guard.js +86 -0
  2935. package/dist/mods/chain/api-guard.js.map +1 -0
  2936. package/dist/mods/chain/context.d.ts +44 -0
  2937. package/dist/mods/chain/context.d.ts.map +1 -0
  2938. package/dist/mods/chain/context.js +11 -0
  2939. package/dist/mods/chain/context.js.map +1 -0
  2940. package/dist/mods/chain/core.d.ts +12 -0
  2941. package/dist/mods/chain/core.d.ts.map +1 -0
  2942. package/dist/mods/chain/core.js +33 -0
  2943. package/dist/mods/chain/core.js.map +1 -0
  2944. package/dist/mods/chain/dispatch.d.ts +27 -0
  2945. package/dist/mods/chain/dispatch.d.ts.map +1 -0
  2946. package/dist/mods/chain/dispatch.js +81 -0
  2947. package/dist/mods/chain/dispatch.js.map +1 -0
  2948. package/dist/mods/chain/downstream.d.ts +36 -0
  2949. package/dist/mods/chain/downstream.d.ts.map +1 -0
  2950. package/dist/mods/chain/downstream.js +48 -0
  2951. package/dist/mods/chain/downstream.js.map +1 -0
  2952. package/dist/mods/chain/failure.d.ts +59 -0
  2953. package/dist/mods/chain/failure.d.ts.map +1 -0
  2954. package/dist/mods/chain/failure.js +114 -0
  2955. package/dist/mods/chain/failure.js.map +1 -0
  2956. package/dist/mods/chain/frames.d.ts +22 -0
  2957. package/dist/mods/chain/frames.d.ts.map +1 -0
  2958. package/dist/mods/chain/frames.js +32 -0
  2959. package/dist/mods/chain/frames.js.map +1 -0
  2960. package/dist/mods/chain/guarded.d.ts +29 -0
  2961. package/dist/mods/chain/guarded.d.ts.map +1 -0
  2962. package/dist/mods/chain/guarded.js +47 -0
  2963. package/dist/mods/chain/guarded.js.map +1 -0
  2964. package/dist/mods/chain/hook-body.d.ts +7 -0
  2965. package/dist/mods/chain/hook-body.d.ts.map +1 -0
  2966. package/dist/mods/chain/hook-body.js +11 -0
  2967. package/dist/mods/chain/hook-body.js.map +1 -0
  2968. package/dist/mods/chain/index.d.ts +5 -0
  2969. package/dist/mods/chain/index.d.ts.map +1 -0
  2970. package/dist/mods/chain/index.js +5 -0
  2971. package/dist/mods/chain/index.js.map +1 -0
  2972. package/dist/mods/chain/invoke.d.ts +10 -0
  2973. package/dist/mods/chain/invoke.d.ts.map +1 -0
  2974. package/dist/mods/chain/invoke.js +223 -0
  2975. package/dist/mods/chain/invoke.js.map +1 -0
  2976. package/dist/mods/chain/judge.d.ts +26 -0
  2977. package/dist/mods/chain/judge.d.ts.map +1 -0
  2978. package/dist/mods/chain/judge.js +55 -0
  2979. package/dist/mods/chain/judge.js.map +1 -0
  2980. package/dist/mods/chain/linger.d.ts +13 -0
  2981. package/dist/mods/chain/linger.d.ts.map +1 -0
  2982. package/dist/mods/chain/linger.js +32 -0
  2983. package/dist/mods/chain/linger.js.map +1 -0
  2984. package/dist/mods/chain/link-trace.d.ts +47 -0
  2985. package/dist/mods/chain/link-trace.d.ts.map +1 -0
  2986. package/dist/mods/chain/link-trace.js +45 -0
  2987. package/dist/mods/chain/link-trace.js.map +1 -0
  2988. package/dist/mods/chain/match-local.d.ts +30 -0
  2989. package/dist/mods/chain/match-local.d.ts.map +1 -0
  2990. package/dist/mods/chain/match-local.js +83 -0
  2991. package/dist/mods/chain/match-local.js.map +1 -0
  2992. package/dist/mods/chain/matcher.d.ts +46 -0
  2993. package/dist/mods/chain/matcher.d.ts.map +1 -0
  2994. package/dist/mods/chain/matcher.js +116 -0
  2995. package/dist/mods/chain/matcher.js.map +1 -0
  2996. package/dist/mods/chain/nesting.d.ts +9 -0
  2997. package/dist/mods/chain/nesting.d.ts.map +1 -0
  2998. package/dist/mods/chain/nesting.js +13 -0
  2999. package/dist/mods/chain/nesting.js.map +1 -0
  3000. package/dist/mods/chain/next.d.ts +45 -0
  3001. package/dist/mods/chain/next.d.ts.map +1 -0
  3002. package/dist/mods/chain/next.js +140 -0
  3003. package/dist/mods/chain/next.js.map +1 -0
  3004. package/dist/mods/chain/only.d.ts +5 -0
  3005. package/dist/mods/chain/only.d.ts.map +1 -0
  3006. package/dist/mods/chain/only.js +3 -0
  3007. package/dist/mods/chain/only.js.map +1 -0
  3008. package/dist/mods/chain/reentry.d.ts +23 -0
  3009. package/dist/mods/chain/reentry.d.ts.map +1 -0
  3010. package/dist/mods/chain/reentry.js +18 -0
  3011. package/dist/mods/chain/reentry.js.map +1 -0
  3012. package/dist/mods/chain/registry.d.ts +33 -0
  3013. package/dist/mods/chain/registry.d.ts.map +1 -0
  3014. package/dist/mods/chain/registry.js +68 -0
  3015. package/dist/mods/chain/registry.js.map +1 -0
  3016. package/dist/mods/chain/rules.d.ts +12 -0
  3017. package/dist/mods/chain/rules.d.ts.map +1 -0
  3018. package/dist/mods/chain/rules.js +19 -0
  3019. package/dist/mods/chain/rules.js.map +1 -0
  3020. package/dist/mods/chain/select.d.ts +8 -0
  3021. package/dist/mods/chain/select.d.ts.map +1 -0
  3022. package/dist/mods/chain/select.js +18 -0
  3023. package/dist/mods/chain/select.js.map +1 -0
  3024. package/dist/mods/chain/tiers.d.ts +14 -0
  3025. package/dist/mods/chain/tiers.d.ts.map +1 -0
  3026. package/dist/mods/chain/tiers.js +34 -0
  3027. package/dist/mods/chain/tiers.js.map +1 -0
  3028. package/dist/mods/chain/trace.d.ts +30 -0
  3029. package/dist/mods/chain/trace.d.ts.map +1 -0
  3030. package/dist/mods/chain/trace.js +51 -0
  3031. package/dist/mods/chain/trace.js.map +1 -0
  3032. package/dist/mods/chain/validate.d.ts +16 -0
  3033. package/dist/mods/chain/validate.d.ts.map +1 -0
  3034. package/dist/mods/chain/validate.js +70 -0
  3035. package/dist/mods/chain/validate.js.map +1 -0
  3036. package/dist/mods/chain/wildcard.d.ts +19 -0
  3037. package/dist/mods/chain/wildcard.d.ts.map +1 -0
  3038. package/dist/mods/chain/wildcard.js +43 -0
  3039. package/dist/mods/chain/wildcard.js.map +1 -0
  3040. package/dist/mods/events/agent.d.ts +9 -0
  3041. package/dist/mods/events/agent.d.ts.map +1 -0
  3042. package/dist/mods/events/agent.js +28 -0
  3043. package/dist/mods/events/agent.js.map +1 -0
  3044. package/dist/mods/events/attribution.d.ts +4 -0
  3045. package/dist/mods/events/attribution.d.ts.map +1 -0
  3046. package/dist/mods/events/attribution.js +4 -0
  3047. package/dist/mods/events/attribution.js.map +1 -0
  3048. package/dist/mods/events/autocomplete.d.ts +8 -0
  3049. package/dist/mods/events/autocomplete.d.ts.map +1 -0
  3050. package/dist/mods/events/autocomplete.js +13 -0
  3051. package/dist/mods/events/autocomplete.js.map +1 -0
  3052. package/dist/mods/events/command.d.ts +29 -0
  3053. package/dist/mods/events/command.d.ts.map +1 -0
  3054. package/dist/mods/events/command.js +70 -0
  3055. package/dist/mods/events/command.js.map +1 -0
  3056. package/dist/mods/events/config.d.ts +9 -0
  3057. package/dist/mods/events/config.d.ts.map +1 -0
  3058. package/dist/mods/events/config.js +22 -0
  3059. package/dist/mods/events/config.js.map +1 -0
  3060. package/dist/mods/events/index.d.ts +67 -0
  3061. package/dist/mods/events/index.d.ts.map +1 -0
  3062. package/dist/mods/events/index.js +71 -0
  3063. package/dist/mods/events/index.js.map +1 -0
  3064. package/dist/mods/events/input-review.d.ts +28 -0
  3065. package/dist/mods/events/input-review.d.ts.map +1 -0
  3066. package/dist/mods/events/input-review.js +38 -0
  3067. package/dist/mods/events/input-review.js.map +1 -0
  3068. package/dist/mods/events/prompt-cache.d.ts +32 -0
  3069. package/dist/mods/events/prompt-cache.d.ts.map +1 -0
  3070. package/dist/mods/events/prompt-cache.js +9 -0
  3071. package/dist/mods/events/prompt-cache.js.map +1 -0
  3072. package/dist/mods/events/prompt.d.ts +28 -0
  3073. package/dist/mods/events/prompt.d.ts.map +1 -0
  3074. package/dist/mods/events/prompt.js +86 -0
  3075. package/dist/mods/events/prompt.js.map +1 -0
  3076. package/dist/mods/events/read-only.d.ts +21 -0
  3077. package/dist/mods/events/read-only.d.ts.map +1 -0
  3078. package/dist/mods/events/read-only.js +37 -0
  3079. package/dist/mods/events/read-only.js.map +1 -0
  3080. package/dist/mods/events/reasons.d.ts +22 -0
  3081. package/dist/mods/events/reasons.d.ts.map +1 -0
  3082. package/dist/mods/events/reasons.js +44 -0
  3083. package/dist/mods/events/reasons.js.map +1 -0
  3084. package/dist/mods/events/session.d.ts +9 -0
  3085. package/dist/mods/events/session.d.ts.map +1 -0
  3086. package/dist/mods/events/session.js +63 -0
  3087. package/dist/mods/events/session.js.map +1 -0
  3088. package/dist/mods/events/skill-prompt-event.d.ts +31 -0
  3089. package/dist/mods/events/skill-prompt-event.d.ts.map +1 -0
  3090. package/dist/mods/events/skill-prompt-event.js +23 -0
  3091. package/dist/mods/events/skill-prompt-event.js.map +1 -0
  3092. package/dist/mods/events/skill.d.ts +3 -0
  3093. package/dist/mods/events/skill.d.ts.map +1 -0
  3094. package/dist/mods/events/skill.js +33 -0
  3095. package/dist/mods/events/skill.js.map +1 -0
  3096. package/dist/mods/events/spec.d.ts +35 -0
  3097. package/dist/mods/events/spec.d.ts.map +1 -0
  3098. package/dist/mods/events/spec.js +51 -0
  3099. package/dist/mods/events/spec.js.map +1 -0
  3100. package/dist/mods/events/tool-check-merge.d.ts +36 -0
  3101. package/dist/mods/events/tool-check-merge.d.ts.map +1 -0
  3102. package/dist/mods/events/tool-check-merge.js +34 -0
  3103. package/dist/mods/events/tool-check-merge.js.map +1 -0
  3104. package/dist/mods/events/tool.d.ts +12 -0
  3105. package/dist/mods/events/tool.d.ts.map +1 -0
  3106. package/dist/mods/events/tool.js +35 -0
  3107. package/dist/mods/events/tool.js.map +1 -0
  3108. package/dist/mods/events/turn.d.ts +9 -0
  3109. package/dist/mods/events/turn.d.ts.map +1 -0
  3110. package/dist/mods/events/turn.js +44 -0
  3111. package/dist/mods/events/turn.js.map +1 -0
  3112. package/dist/mods/index.d.ts +10 -0
  3113. package/dist/mods/index.d.ts.map +1 -0
  3114. package/dist/mods/index.js +7 -0
  3115. package/dist/mods/index.js.map +1 -0
  3116. package/dist/mods/load/auto-mode-approval.d.ts +18 -0
  3117. package/dist/mods/load/auto-mode-approval.d.ts.map +1 -0
  3118. package/dist/mods/load/auto-mode-approval.js +3 -0
  3119. package/dist/mods/load/auto-mode-approval.js.map +1 -0
  3120. package/dist/mods/load/change-notice.d.ts +4 -0
  3121. package/dist/mods/load/change-notice.d.ts.map +1 -0
  3122. package/dist/mods/load/change-notice.js +17 -0
  3123. package/dist/mods/load/change-notice.js.map +1 -0
  3124. package/dist/mods/load/commands/active-line.d.ts +10 -0
  3125. package/dist/mods/load/commands/active-line.d.ts.map +1 -0
  3126. package/dist/mods/load/commands/active-line.js +12 -0
  3127. package/dist/mods/load/commands/active-line.js.map +1 -0
  3128. package/dist/mods/load/commands/scan-lead.d.ts +20 -0
  3129. package/dist/mods/load/commands/scan-lead.d.ts.map +1 -0
  3130. package/dist/mods/load/commands/scan-lead.js +54 -0
  3131. package/dist/mods/load/commands/scan-lead.js.map +1 -0
  3132. package/dist/mods/load/commands/scan-lines.d.ts +17 -0
  3133. package/dist/mods/load/commands/scan-lines.d.ts.map +1 -0
  3134. package/dist/mods/load/commands/scan-lines.js +83 -0
  3135. package/dist/mods/load/commands/scan-lines.js.map +1 -0
  3136. package/dist/mods/load/commands/validate-report.d.ts +49 -0
  3137. package/dist/mods/load/commands/validate-report.d.ts.map +1 -0
  3138. package/dist/mods/load/commands/validate-report.js +2 -0
  3139. package/dist/mods/load/commands/validate-report.js.map +1 -0
  3140. package/dist/mods/load/commands/validate.d.ts +5 -0
  3141. package/dist/mods/load/commands/validate.d.ts.map +1 -0
  3142. package/dist/mods/load/commands/validate.js +215 -0
  3143. package/dist/mods/load/commands/validate.js.map +1 -0
  3144. package/dist/mods/load/compile-output.d.ts +40 -0
  3145. package/dist/mods/load/compile-output.d.ts.map +1 -0
  3146. package/dist/mods/load/compile-output.js +58 -0
  3147. package/dist/mods/load/compile-output.js.map +1 -0
  3148. package/dist/mods/load/crash-recovery.d.ts +30 -0
  3149. package/dist/mods/load/crash-recovery.d.ts.map +1 -0
  3150. package/dist/mods/load/crash-recovery.js +55 -0
  3151. package/dist/mods/load/crash-recovery.js.map +1 -0
  3152. package/dist/mods/load/engine-faults.d.ts +21 -0
  3153. package/dist/mods/load/engine-faults.d.ts.map +1 -0
  3154. package/dist/mods/load/engine-faults.js +22 -0
  3155. package/dist/mods/load/engine-faults.js.map +1 -0
  3156. package/dist/mods/load/guard-notes.d.ts +4 -0
  3157. package/dist/mods/load/guard-notes.d.ts.map +1 -0
  3158. package/dist/mods/load/guard-notes.js +24 -0
  3159. package/dist/mods/load/guard-notes.js.map +1 -0
  3160. package/dist/mods/load/guard-protection.d.ts +17 -0
  3161. package/dist/mods/load/guard-protection.d.ts.map +1 -0
  3162. package/dist/mods/load/guard-protection.js +59 -0
  3163. package/dist/mods/load/guard-protection.js.map +1 -0
  3164. package/dist/mods/load/guard-surfaces.d.ts +4 -0
  3165. package/dist/mods/load/guard-surfaces.d.ts.map +1 -0
  3166. package/dist/mods/load/guard-surfaces.js +20 -0
  3167. package/dist/mods/load/guard-surfaces.js.map +1 -0
  3168. package/dist/mods/load/guard.d.ts +35 -0
  3169. package/dist/mods/load/guard.d.ts.map +1 -0
  3170. package/dist/mods/load/guard.js +136 -0
  3171. package/dist/mods/load/guard.js.map +1 -0
  3172. package/dist/mods/load/guest.d.ts +5 -0
  3173. package/dist/mods/load/guest.d.ts.map +1 -0
  3174. package/dist/mods/load/guest.js +58 -0
  3175. package/dist/mods/load/guest.js.map +1 -0
  3176. package/dist/mods/load/health.d.ts +30 -0
  3177. package/dist/mods/load/health.d.ts.map +1 -0
  3178. package/dist/mods/load/health.js +33 -0
  3179. package/dist/mods/load/health.js.map +1 -0
  3180. package/dist/mods/load/host-options.d.ts +72 -0
  3181. package/dist/mods/load/host-options.d.ts.map +1 -0
  3182. package/dist/mods/load/host-options.js +2 -0
  3183. package/dist/mods/load/host-options.js.map +1 -0
  3184. package/dist/mods/load/host-support.d.ts +101 -0
  3185. package/dist/mods/load/host-support.d.ts.map +1 -0
  3186. package/dist/mods/load/host-support.js +89 -0
  3187. package/dist/mods/load/host-support.js.map +1 -0
  3188. package/dist/mods/load/host.d.ts +90 -0
  3189. package/dist/mods/load/host.d.ts.map +1 -0
  3190. package/dist/mods/load/host.js +110 -0
  3191. package/dist/mods/load/host.js.map +1 -0
  3192. package/dist/mods/load/index.d.ts +29 -0
  3193. package/dist/mods/load/index.d.ts.map +1 -0
  3194. package/dist/mods/load/index.js +25 -0
  3195. package/dist/mods/load/index.js.map +1 -0
  3196. package/dist/mods/load/line-channel.d.ts +25 -0
  3197. package/dist/mods/load/line-channel.d.ts.map +1 -0
  3198. package/dist/mods/load/line-channel.js +45 -0
  3199. package/dist/mods/load/line-channel.js.map +1 -0
  3200. package/dist/mods/load/loader-io.d.ts +9 -0
  3201. package/dist/mods/load/loader-io.d.ts.map +1 -0
  3202. package/dist/mods/load/loader-io.js +20 -0
  3203. package/dist/mods/load/loader-io.js.map +1 -0
  3204. package/dist/mods/load/loader.d.ts +77 -0
  3205. package/dist/mods/load/loader.d.ts.map +1 -0
  3206. package/dist/mods/load/loader.js +134 -0
  3207. package/dist/mods/load/loader.js.map +1 -0
  3208. package/dist/mods/load/mod-set.d.ts +53 -0
  3209. package/dist/mods/load/mod-set.d.ts.map +1 -0
  3210. package/dist/mods/load/mod-set.js +187 -0
  3211. package/dist/mods/load/mod-set.js.map +1 -0
  3212. package/dist/mods/load/options.d.ts +14 -0
  3213. package/dist/mods/load/options.d.ts.map +1 -0
  3214. package/dist/mods/load/options.js +82 -0
  3215. package/dist/mods/load/options.js.map +1 -0
  3216. package/dist/mods/load/order.d.ts +53 -0
  3217. package/dist/mods/load/order.d.ts.map +1 -0
  3218. package/dist/mods/load/order.js +138 -0
  3219. package/dist/mods/load/order.js.map +1 -0
  3220. package/dist/mods/load/plugin-dirs.d.ts +26 -0
  3221. package/dist/mods/load/plugin-dirs.d.ts.map +1 -0
  3222. package/dist/mods/load/plugin-dirs.js +89 -0
  3223. package/dist/mods/load/plugin-dirs.js.map +1 -0
  3224. package/dist/mods/load/policy-input.d.ts +80 -0
  3225. package/dist/mods/load/policy-input.d.ts.map +1 -0
  3226. package/dist/mods/load/policy-input.js +56 -0
  3227. package/dist/mods/load/policy-input.js.map +1 -0
  3228. package/dist/mods/load/policy.d.ts +71 -0
  3229. package/dist/mods/load/policy.d.ts.map +1 -0
  3230. package/dist/mods/load/policy.js +152 -0
  3231. package/dist/mods/load/policy.js.map +1 -0
  3232. package/dist/mods/load/prepare.d.ts +29 -0
  3233. package/dist/mods/load/prepare.d.ts.map +1 -0
  3234. package/dist/mods/load/prepare.js +91 -0
  3235. package/dist/mods/load/prepare.js.map +1 -0
  3236. package/dist/mods/load/prompt-flow.d.ts +16 -0
  3237. package/dist/mods/load/prompt-flow.d.ts.map +1 -0
  3238. package/dist/mods/load/prompt-flow.js +12 -0
  3239. package/dist/mods/load/prompt-flow.js.map +1 -0
  3240. package/dist/mods/load/register-call.d.ts +32 -0
  3241. package/dist/mods/load/register-call.d.ts.map +1 -0
  3242. package/dist/mods/load/register-call.js +62 -0
  3243. package/dist/mods/load/register-call.js.map +1 -0
  3244. package/dist/mods/load/registered.d.ts +24 -0
  3245. package/dist/mods/load/registered.d.ts.map +1 -0
  3246. package/dist/mods/load/registered.js +12 -0
  3247. package/dist/mods/load/registered.js.map +1 -0
  3248. package/dist/mods/load/scan/ast.d.ts +44 -0
  3249. package/dist/mods/load/scan/ast.d.ts.map +1 -0
  3250. package/dist/mods/load/scan/ast.js +42 -0
  3251. package/dist/mods/load/scan/ast.js.map +1 -0
  3252. package/dist/mods/load/scan/client-modules.d.ts +33 -0
  3253. package/dist/mods/load/scan/client-modules.d.ts.map +1 -0
  3254. package/dist/mods/load/scan/client-modules.js +106 -0
  3255. package/dist/mods/load/scan/client-modules.js.map +1 -0
  3256. package/dist/mods/load/scan/engine-fold.d.ts +16 -0
  3257. package/dist/mods/load/scan/engine-fold.d.ts.map +1 -0
  3258. package/dist/mods/load/scan/engine-fold.js +80 -0
  3259. package/dist/mods/load/scan/engine-fold.js.map +1 -0
  3260. package/dist/mods/load/scan/event-names.d.ts +3 -0
  3261. package/dist/mods/load/scan/event-names.d.ts.map +1 -0
  3262. package/dist/mods/load/scan/event-names.js +20 -0
  3263. package/dist/mods/load/scan/event-names.js.map +1 -0
  3264. package/dist/mods/load/scan/file-rules.d.ts +16 -0
  3265. package/dist/mods/load/scan/file-rules.d.ts.map +1 -0
  3266. package/dist/mods/load/scan/file-rules.js +102 -0
  3267. package/dist/mods/load/scan/file-rules.js.map +1 -0
  3268. package/dist/mods/load/scan/found.d.ts +17 -0
  3269. package/dist/mods/load/scan/found.d.ts.map +1 -0
  3270. package/dist/mods/load/scan/found.js +11 -0
  3271. package/dist/mods/load/scan/found.js.map +1 -0
  3272. package/dist/mods/load/scan/index.d.ts +23 -0
  3273. package/dist/mods/load/scan/index.d.ts.map +1 -0
  3274. package/dist/mods/load/scan/index.js +108 -0
  3275. package/dist/mods/load/scan/index.js.map +1 -0
  3276. package/dist/mods/load/scan/issue-codes.d.ts +40 -0
  3277. package/dist/mods/load/scan/issue-codes.d.ts.map +1 -0
  3278. package/dist/mods/load/scan/issue-codes.js +58 -0
  3279. package/dist/mods/load/scan/issue-codes.js.map +1 -0
  3280. package/dist/mods/load/scan/matcher-label.d.ts +8 -0
  3281. package/dist/mods/load/scan/matcher-label.d.ts.map +1 -0
  3282. package/dist/mods/load/scan/matcher-label.js +53 -0
  3283. package/dist/mods/load/scan/matcher-label.js.map +1 -0
  3284. package/dist/mods/load/scan/messages.d.ts +16 -0
  3285. package/dist/mods/load/scan/messages.d.ts.map +1 -0
  3286. package/dist/mods/load/scan/messages.js +16 -0
  3287. package/dist/mods/load/scan/messages.js.map +1 -0
  3288. package/dist/mods/load/scan/on-rules.d.ts +32 -0
  3289. package/dist/mods/load/scan/on-rules.d.ts.map +1 -0
  3290. package/dist/mods/load/scan/on-rules.js +39 -0
  3291. package/dist/mods/load/scan/on-rules.js.map +1 -0
  3292. package/dist/mods/load/scan/register-export.d.ts +4 -0
  3293. package/dist/mods/load/scan/register-export.d.ts.map +1 -0
  3294. package/dist/mods/load/scan/register-export.js +39 -0
  3295. package/dist/mods/load/scan/register-export.js.map +1 -0
  3296. package/dist/mods/load/scan/rules.d.ts +23 -0
  3297. package/dist/mods/load/scan/rules.d.ts.map +1 -0
  3298. package/dist/mods/load/scan/rules.js +235 -0
  3299. package/dist/mods/load/scan/rules.js.map +1 -0
  3300. package/dist/mods/load/scan/state-sources.d.ts +18 -0
  3301. package/dist/mods/load/scan/state-sources.d.ts.map +1 -0
  3302. package/dist/mods/load/scan/state-sources.js +56 -0
  3303. package/dist/mods/load/scan/state-sources.js.map +1 -0
  3304. package/dist/mods/load/scan/top-level.d.ts +42 -0
  3305. package/dist/mods/load/scan/top-level.d.ts.map +1 -0
  3306. package/dist/mods/load/scan/top-level.js +137 -0
  3307. package/dist/mods/load/scan/top-level.js.map +1 -0
  3308. package/dist/mods/load/scan/uses.d.ts +63 -0
  3309. package/dist/mods/load/scan/uses.d.ts.map +1 -0
  3310. package/dist/mods/load/scan/uses.js +19 -0
  3311. package/dist/mods/load/scan/uses.js.map +1 -0
  3312. package/dist/mods/load/scan/walk.d.ts +12 -0
  3313. package/dist/mods/load/scan/walk.d.ts.map +1 -0
  3314. package/dist/mods/load/scan/walk.js +72 -0
  3315. package/dist/mods/load/scan/walk.js.map +1 -0
  3316. package/dist/mods/load/skip-reports.d.ts +18 -0
  3317. package/dist/mods/load/skip-reports.d.ts.map +1 -0
  3318. package/dist/mods/load/skip-reports.js +29 -0
  3319. package/dist/mods/load/skip-reports.js.map +1 -0
  3320. package/dist/mods/load/tool-flow.d.ts +45 -0
  3321. package/dist/mods/load/tool-flow.d.ts.map +1 -0
  3322. package/dist/mods/load/tool-flow.js +88 -0
  3323. package/dist/mods/load/tool-flow.js.map +1 -0
  3324. package/dist/mods/load/types-decl.d.ts +24 -0
  3325. package/dist/mods/load/types-decl.d.ts.map +1 -0
  3326. package/dist/mods/load/types-decl.js +108 -0
  3327. package/dist/mods/load/types-decl.js.map +1 -0
  3328. package/dist/mods/load/unanswered.d.ts +9 -0
  3329. package/dist/mods/load/unanswered.d.ts.map +1 -0
  3330. package/dist/mods/load/unanswered.js +21 -0
  3331. package/dist/mods/load/unanswered.js.map +1 -0
  3332. package/dist/mods/load/where-mods-run.d.ts +41 -0
  3333. package/dist/mods/load/where-mods-run.d.ts.map +1 -0
  3334. package/dist/mods/load/where-mods-run.js +67 -0
  3335. package/dist/mods/load/where-mods-run.js.map +1 -0
  3336. package/dist/mods/load/wiring.d.ts +53 -0
  3337. package/dist/mods/load/wiring.d.ts.map +1 -0
  3338. package/dist/mods/load/wiring.js +160 -0
  3339. package/dist/mods/load/wiring.js.map +1 -0
  3340. package/dist/mods/load/written-mods.d.ts +48 -0
  3341. package/dist/mods/load/written-mods.d.ts.map +1 -0
  3342. package/dist/mods/load/written-mods.js +96 -0
  3343. package/dist/mods/load/written-mods.js.map +1 -0
  3344. package/dist/mods/ports.d.ts +170 -0
  3345. package/dist/mods/ports.d.ts.map +1 -0
  3346. package/dist/mods/ports.js +2 -0
  3347. package/dist/mods/ports.js.map +1 -0
  3348. package/dist/mods/trace-types.d.ts +50 -0
  3349. package/dist/mods/trace-types.d.ts.map +1 -0
  3350. package/dist/mods/trace-types.js +2 -0
  3351. package/dist/mods/trace-types.js.map +1 -0
  3352. package/dist/mods/types.d.ts +231 -0
  3353. package/dist/mods/types.d.ts.map +1 -0
  3354. package/dist/mods/types.js +2 -0
  3355. package/dist/mods/types.js.map +1 -0
  3356. package/dist/mods/ui/controls/hotkeys.d.ts +28 -0
  3357. package/dist/mods/ui/controls/hotkeys.d.ts.map +1 -0
  3358. package/dist/mods/ui/controls/hotkeys.js +52 -0
  3359. package/dist/mods/ui/controls/hotkeys.js.map +1 -0
  3360. package/dist/mods/ui/controls/keys.d.ts +14 -0
  3361. package/dist/mods/ui/controls/keys.d.ts.map +1 -0
  3362. package/dist/mods/ui/controls/keys.js +25 -0
  3363. package/dist/mods/ui/controls/keys.js.map +1 -0
  3364. package/dist/mods/ui/controls/route.d.ts +49 -0
  3365. package/dist/mods/ui/controls/route.d.ts.map +1 -0
  3366. package/dist/mods/ui/controls/route.js +71 -0
  3367. package/dist/mods/ui/controls/route.js.map +1 -0
  3368. package/dist/mods/ui/elements/box.d.ts +14 -0
  3369. package/dist/mods/ui/elements/box.d.ts.map +1 -0
  3370. package/dist/mods/ui/elements/box.js +70 -0
  3371. package/dist/mods/ui/elements/box.js.map +1 -0
  3372. package/dist/mods/ui/elements/button.d.ts +12 -0
  3373. package/dist/mods/ui/elements/button.d.ts.map +1 -0
  3374. package/dist/mods/ui/elements/button.js +59 -0
  3375. package/dist/mods/ui/elements/button.js.map +1 -0
  3376. package/dist/mods/ui/elements/children.d.ts +7 -0
  3377. package/dist/mods/ui/elements/children.d.ts.map +1 -0
  3378. package/dist/mods/ui/elements/children.js +56 -0
  3379. package/dist/mods/ui/elements/children.js.map +1 -0
  3380. package/dist/mods/ui/elements/client.d.ts +13 -0
  3381. package/dist/mods/ui/elements/client.d.ts.map +1 -0
  3382. package/dist/mods/ui/elements/client.js +29 -0
  3383. package/dist/mods/ui/elements/client.js.map +1 -0
  3384. package/dist/mods/ui/elements/code.d.ts +3 -0
  3385. package/dist/mods/ui/elements/code.d.ts.map +1 -0
  3386. package/dist/mods/ui/elements/code.js +9 -0
  3387. package/dist/mods/ui/elements/code.js.map +1 -0
  3388. package/dist/mods/ui/elements/def.d.ts +31 -0
  3389. package/dist/mods/ui/elements/def.d.ts.map +1 -0
  3390. package/dist/mods/ui/elements/def.js +46 -0
  3391. package/dist/mods/ui/elements/def.js.map +1 -0
  3392. package/dist/mods/ui/elements/image.d.ts +12 -0
  3393. package/dist/mods/ui/elements/image.d.ts.map +1 -0
  3394. package/dist/mods/ui/elements/image.js +18 -0
  3395. package/dist/mods/ui/elements/image.js.map +1 -0
  3396. package/dist/mods/ui/elements/index.d.ts +13 -0
  3397. package/dist/mods/ui/elements/index.d.ts.map +1 -0
  3398. package/dist/mods/ui/elements/index.js +13 -0
  3399. package/dist/mods/ui/elements/index.js.map +1 -0
  3400. package/dist/mods/ui/elements/input.d.ts +3 -0
  3401. package/dist/mods/ui/elements/input.d.ts.map +1 -0
  3402. package/dist/mods/ui/elements/input.js +25 -0
  3403. package/dist/mods/ui/elements/input.js.map +1 -0
  3404. package/dist/mods/ui/elements/jsx.d.ts +16 -0
  3405. package/dist/mods/ui/elements/jsx.d.ts.map +1 -0
  3406. package/dist/mods/ui/elements/jsx.js +20 -0
  3407. package/dist/mods/ui/elements/jsx.js.map +1 -0
  3408. package/dist/mods/ui/elements/limits.d.ts +23 -0
  3409. package/dist/mods/ui/elements/limits.d.ts.map +1 -0
  3410. package/dist/mods/ui/elements/limits.js +66 -0
  3411. package/dist/mods/ui/elements/limits.js.map +1 -0
  3412. package/dist/mods/ui/elements/link.d.ts +11 -0
  3413. package/dist/mods/ui/elements/link.d.ts.map +1 -0
  3414. package/dist/mods/ui/elements/link.js +36 -0
  3415. package/dist/mods/ui/elements/link.js.map +1 -0
  3416. package/dist/mods/ui/elements/markdown.d.ts +4 -0
  3417. package/dist/mods/ui/elements/markdown.d.ts.map +1 -0
  3418. package/dist/mods/ui/elements/markdown.js +11 -0
  3419. package/dist/mods/ui/elements/markdown.js.map +1 -0
  3420. package/dist/mods/ui/elements/node.d.ts +38 -0
  3421. package/dist/mods/ui/elements/node.d.ts.map +1 -0
  3422. package/dist/mods/ui/elements/node.js +43 -0
  3423. package/dist/mods/ui/elements/node.js.map +1 -0
  3424. package/dist/mods/ui/elements/plain.d.ts +21 -0
  3425. package/dist/mods/ui/elements/plain.d.ts.map +1 -0
  3426. package/dist/mods/ui/elements/plain.js +32 -0
  3427. package/dist/mods/ui/elements/plain.js.map +1 -0
  3428. package/dist/mods/ui/elements/raster.d.ts +8 -0
  3429. package/dist/mods/ui/elements/raster.d.ts.map +1 -0
  3430. package/dist/mods/ui/elements/raster.js +43 -0
  3431. package/dist/mods/ui/elements/raster.js.map +1 -0
  3432. package/dist/mods/ui/elements/registry.d.ts +7 -0
  3433. package/dist/mods/ui/elements/registry.d.ts.map +1 -0
  3434. package/dist/mods/ui/elements/registry.js +28 -0
  3435. package/dist/mods/ui/elements/registry.js.map +1 -0
  3436. package/dist/mods/ui/elements/select.d.ts +3 -0
  3437. package/dist/mods/ui/elements/select.d.ts.map +1 -0
  3438. package/dist/mods/ui/elements/select.js +34 -0
  3439. package/dist/mods/ui/elements/select.js.map +1 -0
  3440. package/dist/mods/ui/elements/spacing.d.ts +15 -0
  3441. package/dist/mods/ui/elements/spacing.d.ts.map +1 -0
  3442. package/dist/mods/ui/elements/spacing.js +22 -0
  3443. package/dist/mods/ui/elements/spacing.js.map +1 -0
  3444. package/dist/mods/ui/elements/surface.d.ts +11 -0
  3445. package/dist/mods/ui/elements/surface.d.ts.map +1 -0
  3446. package/dist/mods/ui/elements/surface.js +26 -0
  3447. package/dist/mods/ui/elements/surface.js.map +1 -0
  3448. package/dist/mods/ui/elements/svg.d.ts +3 -0
  3449. package/dist/mods/ui/elements/svg.d.ts.map +1 -0
  3450. package/dist/mods/ui/elements/svg.js +10 -0
  3451. package/dist/mods/ui/elements/svg.js.map +1 -0
  3452. package/dist/mods/ui/elements/table.d.ts +22 -0
  3453. package/dist/mods/ui/elements/table.d.ts.map +1 -0
  3454. package/dist/mods/ui/elements/table.js +58 -0
  3455. package/dist/mods/ui/elements/table.js.map +1 -0
  3456. package/dist/mods/ui/elements/text.d.ts +18 -0
  3457. package/dist/mods/ui/elements/text.d.ts.map +1 -0
  3458. package/dist/mods/ui/elements/text.js +49 -0
  3459. package/dist/mods/ui/elements/text.js.map +1 -0
  3460. package/dist/mods/ui/elements/validate.d.ts +10 -0
  3461. package/dist/mods/ui/elements/validate.d.ts.map +1 -0
  3462. package/dist/mods/ui/elements/validate.js +60 -0
  3463. package/dist/mods/ui/elements/validate.js.map +1 -0
  3464. package/dist/mods/ui/index.d.ts +30 -0
  3465. package/dist/mods/ui/index.d.ts.map +1 -0
  3466. package/dist/mods/ui/index.js +28 -0
  3467. package/dist/mods/ui/index.js.map +1 -0
  3468. package/dist/mods/ui/keyboard/band.d.ts +22 -0
  3469. package/dist/mods/ui/keyboard/band.d.ts.map +1 -0
  3470. package/dist/mods/ui/keyboard/band.js +19 -0
  3471. package/dist/mods/ui/keyboard/band.js.map +1 -0
  3472. package/dist/mods/ui/keyboard/effects.d.ts +42 -0
  3473. package/dist/mods/ui/keyboard/effects.d.ts.map +1 -0
  3474. package/dist/mods/ui/keyboard/effects.js +18 -0
  3475. package/dist/mods/ui/keyboard/effects.js.map +1 -0
  3476. package/dist/mods/ui/keyboard/focus.d.ts +37 -0
  3477. package/dist/mods/ui/keyboard/focus.d.ts.map +1 -0
  3478. package/dist/mods/ui/keyboard/focus.js +33 -0
  3479. package/dist/mods/ui/keyboard/focus.js.map +1 -0
  3480. package/dist/mods/ui/keyboard/keys.d.ts +39 -0
  3481. package/dist/mods/ui/keyboard/keys.d.ts.map +1 -0
  3482. package/dist/mods/ui/keyboard/keys.js +117 -0
  3483. package/dist/mods/ui/keyboard/keys.js.map +1 -0
  3484. package/dist/mods/ui/keyboard/pane-size.d.ts +23 -0
  3485. package/dist/mods/ui/keyboard/pane-size.d.ts.map +1 -0
  3486. package/dist/mods/ui/keyboard/pane-size.js +22 -0
  3487. package/dist/mods/ui/keyboard/pane-size.js.map +1 -0
  3488. package/dist/mods/ui/keyboard/vscode.d.ts +38 -0
  3489. package/dist/mods/ui/keyboard/vscode.d.ts.map +1 -0
  3490. package/dist/mods/ui/keyboard/vscode.js +41 -0
  3491. package/dist/mods/ui/keyboard/vscode.js.map +1 -0
  3492. package/dist/mods/ui/panes/open.d.ts +18 -0
  3493. package/dist/mods/ui/panes/open.d.ts.map +1 -0
  3494. package/dist/mods/ui/panes/open.js +51 -0
  3495. package/dist/mods/ui/panes/open.js.map +1 -0
  3496. package/dist/mods/ui/panes/placement.d.ts +28 -0
  3497. package/dist/mods/ui/panes/placement.d.ts.map +1 -0
  3498. package/dist/mods/ui/panes/placement.js +24 -0
  3499. package/dist/mods/ui/panes/placement.js.map +1 -0
  3500. package/dist/mods/ui/panes/registry.d.ts +45 -0
  3501. package/dist/mods/ui/panes/registry.d.ts.map +1 -0
  3502. package/dist/mods/ui/panes/registry.js +65 -0
  3503. package/dist/mods/ui/panes/registry.js.map +1 -0
  3504. package/dist/mods/ui/placed/rows.d.ts +43 -0
  3505. package/dist/mods/ui/placed/rows.d.ts.map +1 -0
  3506. package/dist/mods/ui/placed/rows.js +57 -0
  3507. package/dist/mods/ui/placed/rows.js.map +1 -0
  3508. package/dist/mods/ui/ports.d.ts +89 -0
  3509. package/dist/mods/ui/ports.d.ts.map +1 -0
  3510. package/dist/mods/ui/ports.js +2 -0
  3511. package/dist/mods/ui/ports.js.map +1 -0
  3512. package/dist/mods/ui/redraw/gate.d.ts +23 -0
  3513. package/dist/mods/ui/redraw/gate.d.ts.map +1 -0
  3514. package/dist/mods/ui/redraw/gate.js +39 -0
  3515. package/dist/mods/ui/redraw/gate.js.map +1 -0
  3516. package/dist/mods/ui/redraw/invalidate.d.ts +16 -0
  3517. package/dist/mods/ui/redraw/invalidate.d.ts.map +1 -0
  3518. package/dist/mods/ui/redraw/invalidate.js +18 -0
  3519. package/dist/mods/ui/redraw/invalidate.js.map +1 -0
  3520. package/dist/mods/ui/redraw/subscribe.d.ts +20 -0
  3521. package/dist/mods/ui/redraw/subscribe.d.ts.map +1 -0
  3522. package/dist/mods/ui/redraw/subscribe.js +42 -0
  3523. package/dist/mods/ui/redraw/subscribe.js.map +1 -0
  3524. package/dist/mods/ui/redraw/unasked.d.ts +16 -0
  3525. package/dist/mods/ui/redraw/unasked.d.ts.map +1 -0
  3526. package/dist/mods/ui/redraw/unasked.js +15 -0
  3527. package/dist/mods/ui/redraw/unasked.js.map +1 -0
  3528. package/dist/mods/ui/rules.d.ts +10 -0
  3529. package/dist/mods/ui/rules.d.ts.map +1 -0
  3530. package/dist/mods/ui/rules.js +38 -0
  3531. package/dist/mods/ui/rules.js.map +1 -0
  3532. package/dist/mods/ui/runtime.d.ts +63 -0
  3533. package/dist/mods/ui/runtime.d.ts.map +1 -0
  3534. package/dist/mods/ui/runtime.js +83 -0
  3535. package/dist/mods/ui/runtime.js.map +1 -0
  3536. package/dist/mods/ui/sites/ask-question.d.ts +8 -0
  3537. package/dist/mods/ui/sites/ask-question.d.ts.map +1 -0
  3538. package/dist/mods/ui/sites/ask-question.js +7 -0
  3539. package/dist/mods/ui/sites/ask-question.js.map +1 -0
  3540. package/dist/mods/ui/sites/backdrop.d.ts +17 -0
  3541. package/dist/mods/ui/sites/backdrop.d.ts.map +1 -0
  3542. package/dist/mods/ui/sites/backdrop.js +22 -0
  3543. package/dist/mods/ui/sites/backdrop.js.map +1 -0
  3544. package/dist/mods/ui/sites/band.d.ts +6 -0
  3545. package/dist/mods/ui/sites/band.d.ts.map +1 -0
  3546. package/dist/mods/ui/sites/band.js +46 -0
  3547. package/dist/mods/ui/sites/band.js.map +1 -0
  3548. package/dist/mods/ui/sites/draw-fault.d.ts +8 -0
  3549. package/dist/mods/ui/sites/draw-fault.d.ts.map +1 -0
  3550. package/dist/mods/ui/sites/draw-fault.js +7 -0
  3551. package/dist/mods/ui/sites/draw-fault.js.map +1 -0
  3552. package/dist/mods/ui/sites/fold.d.ts +27 -0
  3553. package/dist/mods/ui/sites/fold.d.ts.map +1 -0
  3554. package/dist/mods/ui/sites/fold.js +30 -0
  3555. package/dist/mods/ui/sites/fold.js.map +1 -0
  3556. package/dist/mods/ui/sites/registry.d.ts +37 -0
  3557. package/dist/mods/ui/sites/registry.d.ts.map +1 -0
  3558. package/dist/mods/ui/sites/registry.js +45 -0
  3559. package/dist/mods/ui/sites/registry.js.map +1 -0
  3560. package/dist/mods/ui/sites/viewport.d.ts +13 -0
  3561. package/dist/mods/ui/sites/viewport.d.ts.map +1 -0
  3562. package/dist/mods/ui/sites/viewport.js +19 -0
  3563. package/dist/mods/ui/sites/viewport.js.map +1 -0
  3564. package/dist/mods/ui/tables.d.ts +27 -0
  3565. package/dist/mods/ui/tables.d.ts.map +1 -0
  3566. package/dist/mods/ui/tables.js +47 -0
  3567. package/dist/mods/ui/tables.js.map +1 -0
  3568. package/dist/mods/ui/toast.d.ts +57 -0
  3569. package/dist/mods/ui/toast.d.ts.map +1 -0
  3570. package/dist/mods/ui/toast.js +99 -0
  3571. package/dist/mods/ui/toast.js.map +1 -0
  3572. package/dist/mods/ui/ui-api.d.ts +23 -0
  3573. package/dist/mods/ui/ui-api.d.ts.map +1 -0
  3574. package/dist/mods/ui/ui-api.js +205 -0
  3575. package/dist/mods/ui/ui-api.js.map +1 -0
  3576. package/dist/mods/ui/ui-invalidate.d.ts +5 -0
  3577. package/dist/mods/ui/ui-invalidate.d.ts.map +1 -0
  3578. package/dist/mods/ui/ui-invalidate.js +38 -0
  3579. package/dist/mods/ui/ui-invalidate.js.map +1 -0
  3580. package/dist/mods/values.d.ts +4 -0
  3581. package/dist/mods/values.d.ts.map +1 -0
  3582. package/dist/mods/values.js +9 -0
  3583. package/dist/mods/values.js.map +1 -0
  3584. package/dist/ports/clock.d.ts +13 -0
  3585. package/dist/ports/clock.d.ts.map +1 -0
  3586. package/dist/ports/clock.js +2 -0
  3587. package/dist/ports/clock.js.map +1 -0
  3588. package/dist/ports/command-runner.d.ts +42 -0
  3589. package/dist/ports/command-runner.d.ts.map +1 -0
  3590. package/dist/ports/command-runner.js +2 -0
  3591. package/dist/ports/command-runner.js.map +1 -0
  3592. package/dist/ports/environment.d.ts +12 -0
  3593. package/dist/ports/environment.d.ts.map +1 -0
  3594. package/dist/ports/environment.js +2 -0
  3595. package/dist/ports/environment.js.map +1 -0
  3596. package/dist/ports/failure.d.ts +9 -0
  3597. package/dist/ports/failure.d.ts.map +1 -0
  3598. package/dist/ports/failure.js +2 -0
  3599. package/dist/ports/failure.js.map +1 -0
  3600. package/dist/ports/files.d.ts +52 -0
  3601. package/dist/ports/files.d.ts.map +1 -0
  3602. package/dist/ports/files.js +11 -0
  3603. package/dist/ports/files.js.map +1 -0
  3604. package/dist/ports/folder-scan.d.ts +47 -0
  3605. package/dist/ports/folder-scan.d.ts.map +1 -0
  3606. package/dist/ports/folder-scan.js +2 -0
  3607. package/dist/ports/folder-scan.js.map +1 -0
  3608. package/dist/ports/http-client.d.ts +34 -0
  3609. package/dist/ports/http-client.d.ts.map +1 -0
  3610. package/dist/ports/http-client.js +2 -0
  3611. package/dist/ports/http-client.js.map +1 -0
  3612. package/dist/ports/index.d.ts +18 -0
  3613. package/dist/ports/index.d.ts.map +1 -0
  3614. package/dist/ports/index.js +2 -0
  3615. package/dist/ports/index.js.map +1 -0
  3616. package/dist/ports/locations.d.ts +24 -0
  3617. package/dist/ports/locations.d.ts.map +1 -0
  3618. package/dist/ports/locations.js +2 -0
  3619. package/dist/ports/locations.js.map +1 -0
  3620. package/dist/ports/marketplace.d.ts +97 -0
  3621. package/dist/ports/marketplace.d.ts.map +1 -0
  3622. package/dist/ports/marketplace.js +2 -0
  3623. package/dist/ports/marketplace.js.map +1 -0
  3624. package/dist/ports/mcp-bundle.d.ts +44 -0
  3625. package/dist/ports/mcp-bundle.d.ts.map +1 -0
  3626. package/dist/ports/mcp-bundle.js +2 -0
  3627. package/dist/ports/mcp-bundle.js.map +1 -0
  3628. package/dist/ports/mcp-caller.d.ts +36 -0
  3629. package/dist/ports/mcp-caller.d.ts.map +1 -0
  3630. package/dist/ports/mcp-caller.js +2 -0
  3631. package/dist/ports/mcp-caller.js.map +1 -0
  3632. package/dist/ports/model-runner.d.ts +28 -0
  3633. package/dist/ports/model-runner.d.ts.map +1 -0
  3634. package/dist/ports/model-runner.js +2 -0
  3635. package/dist/ports/model-runner.js.map +1 -0
  3636. package/dist/ports/path-resolver.d.ts +17 -0
  3637. package/dist/ports/path-resolver.d.ts.map +1 -0
  3638. package/dist/ports/path-resolver.js +2 -0
  3639. package/dist/ports/path-resolver.js.map +1 -0
  3640. package/dist/ports/scratch-files.d.ts +9 -0
  3641. package/dist/ports/scratch-files.d.ts.map +1 -0
  3642. package/dist/ports/scratch-files.js +2 -0
  3643. package/dist/ports/scratch-files.js.map +1 -0
  3644. package/dist/protocol/effort.d.ts +21 -0
  3645. package/dist/protocol/effort.d.ts.map +1 -0
  3646. package/dist/protocol/effort.js +24 -0
  3647. package/dist/protocol/effort.js.map +1 -0
  3648. package/dist/protocol/exit-reasons.d.ts +13 -0
  3649. package/dist/protocol/exit-reasons.d.ts.map +1 -0
  3650. package/dist/protocol/exit-reasons.js +13 -0
  3651. package/dist/protocol/exit-reasons.js.map +1 -0
  3652. package/dist/protocol/hook-config.d.ts +23 -0
  3653. package/dist/protocol/hook-config.d.ts.map +1 -0
  3654. package/dist/protocol/hook-config.js +9 -0
  3655. package/dist/protocol/hook-config.js.map +1 -0
  3656. package/dist/protocol/hook-events.d.ts +24 -0
  3657. package/dist/protocol/hook-events.d.ts.map +1 -0
  3658. package/dist/protocol/hook-events.js +41 -0
  3659. package/dist/protocol/hook-events.js.map +1 -0
  3660. package/dist/protocol/is-record.d.ts +6 -0
  3661. package/dist/protocol/is-record.d.ts.map +1 -0
  3662. package/dist/protocol/is-record.js +6 -0
  3663. package/dist/protocol/is-record.js.map +1 -0
  3664. package/dist/protocol/mods-api-names.d.ts +95 -0
  3665. package/dist/protocol/mods-api-names.d.ts.map +1 -0
  3666. package/dist/protocol/mods-api-names.js +126 -0
  3667. package/dist/protocol/mods-api-names.js.map +1 -0
  3668. package/dist/protocol/mods-events.d.ts +104 -0
  3669. package/dist/protocol/mods-events.d.ts.map +1 -0
  3670. package/dist/protocol/mods-events.js +118 -0
  3671. package/dist/protocol/mods-events.js.map +1 -0
  3672. package/dist/protocol/mods-limits.d.ts +68 -0
  3673. package/dist/protocol/mods-limits.d.ts.map +1 -0
  3674. package/dist/protocol/mods-limits.js +74 -0
  3675. package/dist/protocol/mods-limits.js.map +1 -0
  3676. package/dist/protocol/mods-matcher.d.ts +14 -0
  3677. package/dist/protocol/mods-matcher.d.ts.map +1 -0
  3678. package/dist/protocol/mods-matcher.js +3 -0
  3679. package/dist/protocol/mods-matcher.js.map +1 -0
  3680. package/dist/protocol/mods-settings.d.ts +65 -0
  3681. package/dist/protocol/mods-settings.d.ts.map +1 -0
  3682. package/dist/protocol/mods-settings.js +38 -0
  3683. package/dist/protocol/mods-settings.js.map +1 -0
  3684. package/dist/protocol/mods-tiers.d.ts +8 -0
  3685. package/dist/protocol/mods-tiers.d.ts.map +1 -0
  3686. package/dist/protocol/mods-tiers.js +7 -0
  3687. package/dist/protocol/mods-tiers.js.map +1 -0
  3688. package/dist/protocol/mods-ui-names.d.ts +179 -0
  3689. package/dist/protocol/mods-ui-names.d.ts.map +1 -0
  3690. package/dist/protocol/mods-ui-names.js +198 -0
  3691. package/dist/protocol/mods-ui-names.js.map +1 -0
  3692. package/dist/protocol/official-tools.d.ts +12 -0
  3693. package/dist/protocol/official-tools.d.ts.map +1 -0
  3694. package/dist/protocol/official-tools.js +2 -0
  3695. package/dist/protocol/official-tools.js.map +1 -0
  3696. package/dist/protocol/official.d.ts +46 -0
  3697. package/dist/protocol/official.d.ts.map +1 -0
  3698. package/dist/protocol/official.js +2 -0
  3699. package/dist/protocol/official.js.map +1 -0
  3700. package/dist/protocol/permission-modes.d.ts +16 -0
  3701. package/dist/protocol/permission-modes.d.ts.map +1 -0
  3702. package/dist/protocol/permission-modes.js +30 -0
  3703. package/dist/protocol/permission-modes.js.map +1 -0
  3704. package/dist/protocol/settings-keys.d.ts +60 -0
  3705. package/dist/protocol/settings-keys.d.ts.map +1 -0
  3706. package/dist/protocol/settings-keys.js +133 -0
  3707. package/dist/protocol/settings-keys.js.map +1 -0
  3708. package/dist/protocol/tool-names.d.ts +29 -0
  3709. package/dist/protocol/tool-names.d.ts.map +1 -0
  3710. package/dist/protocol/tool-names.js +76 -0
  3711. package/dist/protocol/tool-names.js.map +1 -0
  3712. package/dist/protocol/type-equality.d.ts +8 -0
  3713. package/dist/protocol/type-equality.d.ts.map +1 -0
  3714. package/dist/protocol/type-equality.js +2 -0
  3715. package/dist/protocol/type-equality.js.map +1 -0
  3716. package/dist/rules/bash/bash.d.ts +4 -0
  3717. package/dist/rules/bash/bash.d.ts.map +1 -0
  3718. package/dist/rules/bash/bash.js +39 -0
  3719. package/dist/rules/bash/bash.js.map +1 -0
  3720. package/dist/rules/bash/dialect.d.ts +29 -0
  3721. package/dist/rules/bash/dialect.d.ts.map +1 -0
  3722. package/dist/rules/bash/dialect.js +24 -0
  3723. package/dist/rules/bash/dialect.js.map +1 -0
  3724. package/dist/rules/bash/exec-wrappers.d.ts +11 -0
  3725. package/dist/rules/bash/exec-wrappers.d.ts.map +1 -0
  3726. package/dist/rules/bash/exec-wrappers.js +44 -0
  3727. package/dist/rules/bash/exec-wrappers.js.map +1 -0
  3728. package/dist/rules/bash/heredoc.d.ts +27 -0
  3729. package/dist/rules/bash/heredoc.d.ts.map +1 -0
  3730. package/dist/rules/bash/heredoc.js +28 -0
  3731. package/dist/rules/bash/heredoc.js.map +1 -0
  3732. package/dist/rules/bash/if-eval.d.ts +16 -0
  3733. package/dist/rules/bash/if-eval.d.ts.map +1 -0
  3734. package/dist/rules/bash/if-eval.js +89 -0
  3735. package/dist/rules/bash/if-eval.js.map +1 -0
  3736. package/dist/rules/bash/keywords.d.ts +7 -0
  3737. package/dist/rules/bash/keywords.d.ts.map +1 -0
  3738. package/dist/rules/bash/keywords.js +35 -0
  3739. package/dist/rules/bash/keywords.js.map +1 -0
  3740. package/dist/rules/bash/powershell-aliases.d.ts +2 -0
  3741. package/dist/rules/bash/powershell-aliases.d.ts.map +1 -0
  3742. package/dist/rules/bash/powershell-aliases.js +54 -0
  3743. package/dist/rules/bash/powershell-aliases.js.map +1 -0
  3744. package/dist/rules/bash/powershell.d.ts +12 -0
  3745. package/dist/rules/bash/powershell.d.ts.map +1 -0
  3746. package/dist/rules/bash/powershell.js +50 -0
  3747. package/dist/rules/bash/powershell.js.map +1 -0
  3748. package/dist/rules/bash/safe-env.d.ts +9 -0
  3749. package/dist/rules/bash/safe-env.d.ts.map +1 -0
  3750. package/dist/rules/bash/safe-env.js +50 -0
  3751. package/dist/rules/bash/safe-env.js.map +1 -0
  3752. package/dist/rules/bash/scanner.d.ts +39 -0
  3753. package/dist/rules/bash/scanner.d.ts.map +1 -0
  3754. package/dist/rules/bash/scanner.js +268 -0
  3755. package/dist/rules/bash/scanner.js.map +1 -0
  3756. package/dist/rules/bash/shell.d.ts +38 -0
  3757. package/dist/rules/bash/shell.d.ts.map +1 -0
  3758. package/dist/rules/bash/shell.js +48 -0
  3759. package/dist/rules/bash/shell.js.map +1 -0
  3760. package/dist/rules/bash/split.d.ts +48 -0
  3761. package/dist/rules/bash/split.d.ts.map +1 -0
  3762. package/dist/rules/bash/split.js +45 -0
  3763. package/dist/rules/bash/split.js.map +1 -0
  3764. package/dist/rules/bash/text-pattern.d.ts +4 -0
  3765. package/dist/rules/bash/text-pattern.d.ts.map +1 -0
  3766. package/dist/rules/bash/text-pattern.js +9 -0
  3767. package/dist/rules/bash/text-pattern.js.map +1 -0
  3768. package/dist/rules/bash/unquote.d.ts +19 -0
  3769. package/dist/rules/bash/unquote.d.ts.map +1 -0
  3770. package/dist/rules/bash/unquote.js +129 -0
  3771. package/dist/rules/bash/unquote.js.map +1 -0
  3772. package/dist/rules/bash/wildcard-warning.d.ts +13 -0
  3773. package/dist/rules/bash/wildcard-warning.d.ts.map +1 -0
  3774. package/dist/rules/bash/wildcard-warning.js +63 -0
  3775. package/dist/rules/bash/wildcard-warning.js.map +1 -0
  3776. package/dist/rules/bash/wildcard.d.ts +17 -0
  3777. package/dist/rules/bash/wildcard.d.ts.map +1 -0
  3778. package/dist/rules/bash/wildcard.js +28 -0
  3779. package/dist/rules/bash/wildcard.js.map +1 -0
  3780. package/dist/rules/bash/words.d.ts +48 -0
  3781. package/dist/rules/bash/words.d.ts.map +1 -0
  3782. package/dist/rules/bash/words.js +116 -0
  3783. package/dist/rules/bash/words.js.map +1 -0
  3784. package/dist/rules/bash/wrappers.d.ts +21 -0
  3785. package/dist/rules/bash/wrappers.d.ts.map +1 -0
  3786. package/dist/rules/bash/wrappers.js +157 -0
  3787. package/dist/rules/bash/wrappers.js.map +1 -0
  3788. package/dist/rules/decide/approval-memory.d.ts +28 -0
  3789. package/dist/rules/decide/approval-memory.d.ts.map +1 -0
  3790. package/dist/rules/decide/approval-memory.js +54 -0
  3791. package/dist/rules/decide/approval-memory.js.map +1 -0
  3792. package/dist/rules/decide/auto-dropped.d.ts +7 -0
  3793. package/dist/rules/decide/auto-dropped.d.ts.map +1 -0
  3794. package/dist/rules/decide/auto-dropped.js +51 -0
  3795. package/dist/rules/decide/auto-dropped.js.map +1 -0
  3796. package/dist/rules/decide/behavior.d.ts +4 -0
  3797. package/dist/rules/decide/behavior.d.ts.map +1 -0
  3798. package/dist/rules/decide/behavior.js +4 -0
  3799. package/dist/rules/decide/behavior.js.map +1 -0
  3800. package/dist/rules/decide/block-exceptions.d.ts +13 -0
  3801. package/dist/rules/decide/block-exceptions.d.ts.map +1 -0
  3802. package/dist/rules/decide/block-exceptions.js +94 -0
  3803. package/dist/rules/decide/block-exceptions.js.map +1 -0
  3804. package/dist/rules/decide/classifier.d.ts +36 -0
  3805. package/dist/rules/decide/classifier.d.ts.map +1 -0
  3806. package/dist/rules/decide/classifier.js +37 -0
  3807. package/dist/rules/decide/classifier.js.map +1 -0
  3808. package/dist/rules/decide/context.d.ts +175 -0
  3809. package/dist/rules/decide/context.d.ts.map +1 -0
  3810. package/dist/rules/decide/context.js +2 -0
  3811. package/dist/rules/decide/context.js.map +1 -0
  3812. package/dist/rules/decide/critical-removal.d.ts +13 -0
  3813. package/dist/rules/decide/critical-removal.d.ts.map +1 -0
  3814. package/dist/rules/decide/critical-removal.js +179 -0
  3815. package/dist/rules/decide/critical-removal.js.map +1 -0
  3816. package/dist/rules/decide/decide.d.ts +15 -0
  3817. package/dist/rules/decide/decide.d.ts.map +1 -0
  3818. package/dist/rules/decide/decide.js +139 -0
  3819. package/dist/rules/decide/decide.js.map +1 -0
  3820. package/dist/rules/decide/facts.d.ts +60 -0
  3821. package/dist/rules/decide/facts.d.ts.map +1 -0
  3822. package/dist/rules/decide/facts.js +206 -0
  3823. package/dist/rules/decide/facts.js.map +1 -0
  3824. package/dist/rules/decide/file-targets.d.ts +39 -0
  3825. package/dist/rules/decide/file-targets.d.ts.map +1 -0
  3826. package/dist/rules/decide/file-targets.js +92 -0
  3827. package/dist/rules/decide/file-targets.js.map +1 -0
  3828. package/dist/rules/decide/fs-operands.d.ts +5 -0
  3829. package/dist/rules/decide/fs-operands.d.ts.map +1 -0
  3830. package/dist/rules/decide/fs-operands.js +77 -0
  3831. package/dist/rules/decide/fs-operands.js.map +1 -0
  3832. package/dist/rules/decide/hook-permission-updates.d.ts +17 -0
  3833. package/dist/rules/decide/hook-permission-updates.d.ts.map +1 -0
  3834. package/dist/rules/decide/hook-permission-updates.js +34 -0
  3835. package/dist/rules/decide/hook-permission-updates.js.map +1 -0
  3836. package/dist/rules/decide/hook-rewrite.d.ts +48 -0
  3837. package/dist/rules/decide/hook-rewrite.d.ts.map +1 -0
  3838. package/dist/rules/decide/hook-rewrite.js +59 -0
  3839. package/dist/rules/decide/hook-rewrite.js.map +1 -0
  3840. package/dist/rules/decide/hooks-and-mods.d.ts +18 -0
  3841. package/dist/rules/decide/hooks-and-mods.d.ts.map +1 -0
  3842. package/dist/rules/decide/hooks-and-mods.js +75 -0
  3843. package/dist/rules/decide/hooks-and-mods.js.map +1 -0
  3844. package/dist/rules/decide/modes.d.ts +41 -0
  3845. package/dist/rules/decide/modes.d.ts.map +1 -0
  3846. package/dist/rules/decide/modes.js +128 -0
  3847. package/dist/rules/decide/modes.js.map +1 -0
  3848. package/dist/rules/decide/no-approval-surface.d.ts +35 -0
  3849. package/dist/rules/decide/no-approval-surface.d.ts.map +1 -0
  3850. package/dist/rules/decide/no-approval-surface.js +36 -0
  3851. package/dist/rules/decide/no-approval-surface.js.map +1 -0
  3852. package/dist/rules/decide/powershell-edits.d.ts +9 -0
  3853. package/dist/rules/decide/powershell-edits.d.ts.map +1 -0
  3854. package/dist/rules/decide/powershell-edits.js +138 -0
  3855. package/dist/rules/decide/powershell-edits.js.map +1 -0
  3856. package/dist/rules/decide/powershell-removal.d.ts +4 -0
  3857. package/dist/rules/decide/powershell-removal.d.ts.map +1 -0
  3858. package/dist/rules/decide/powershell-removal.js +89 -0
  3859. package/dist/rules/decide/powershell-removal.js.map +1 -0
  3860. package/dist/rules/decide/protected-paths.d.ts +33 -0
  3861. package/dist/rules/decide/protected-paths.d.ts.map +1 -0
  3862. package/dist/rules/decide/protected-paths.js +169 -0
  3863. package/dist/rules/decide/protected-paths.js.map +1 -0
  3864. package/dist/rules/decide/read-only-set.d.ts +23 -0
  3865. package/dist/rules/decide/read-only-set.d.ts.map +1 -0
  3866. package/dist/rules/decide/read-only-set.js +155 -0
  3867. package/dist/rules/decide/read-only-set.js.map +1 -0
  3868. package/dist/rules/decide/redirects.d.ts +55 -0
  3869. package/dist/rules/decide/redirects.d.ts.map +1 -0
  3870. package/dist/rules/decide/redirects.js +154 -0
  3871. package/dist/rules/decide/redirects.js.map +1 -0
  3872. package/dist/rules/decide/rules-stage.d.ts +11 -0
  3873. package/dist/rules/decide/rules-stage.d.ts.map +1 -0
  3874. package/dist/rules/decide/rules-stage.js +29 -0
  3875. package/dist/rules/decide/rules-stage.js.map +1 -0
  3876. package/dist/rules/decide/scope.d.ts +6 -0
  3877. package/dist/rules/decide/scope.d.ts.map +1 -0
  3878. package/dist/rules/decide/scope.js +17 -0
  3879. package/dist/rules/decide/scope.js.map +1 -0
  3880. package/dist/rules/decide/sed-script.d.ts +7 -0
  3881. package/dist/rules/decide/sed-script.d.ts.map +1 -0
  3882. package/dist/rules/decide/sed-script.js +163 -0
  3883. package/dist/rules/decide/sed-script.js.map +1 -0
  3884. package/dist/rules/decide/shell-commands.d.ts +46 -0
  3885. package/dist/rules/decide/shell-commands.d.ts.map +1 -0
  3886. package/dist/rules/decide/shell-commands.js +191 -0
  3887. package/dist/rules/decide/shell-commands.js.map +1 -0
  3888. package/dist/rules/decide/shell-words.d.ts +23 -0
  3889. package/dist/rules/decide/shell-words.d.ts.map +1 -0
  3890. package/dist/rules/decide/shell-words.js +21 -0
  3891. package/dist/rules/decide/shell-words.js.map +1 -0
  3892. package/dist/rules/decide/unanswered.d.ts +20 -0
  3893. package/dist/rules/decide/unanswered.d.ts.map +1 -0
  3894. package/dist/rules/decide/unanswered.js +27 -0
  3895. package/dist/rules/decide/unanswered.js.map +1 -0
  3896. package/dist/rules/decide/write-block-messages.d.ts +21 -0
  3897. package/dist/rules/decide/write-block-messages.d.ts.map +1 -0
  3898. package/dist/rules/decide/write-block-messages.js +18 -0
  3899. package/dist/rules/decide/write-block-messages.js.map +1 -0
  3900. package/dist/rules/evaluate.d.ts +28 -0
  3901. package/dist/rules/evaluate.d.ts.map +1 -0
  3902. package/dist/rules/evaluate.js +52 -0
  3903. package/dist/rules/evaluate.js.map +1 -0
  3904. package/dist/rules/hook-matcher.d.ts +21 -0
  3905. package/dist/rules/hook-matcher.d.ts.map +1 -0
  3906. package/dist/rules/hook-matcher.js +45 -0
  3907. package/dist/rules/hook-matcher.js.map +1 -0
  3908. package/dist/rules/index.d.ts +60 -0
  3909. package/dist/rules/index.d.ts.map +1 -0
  3910. package/dist/rules/index.js +55 -0
  3911. package/dist/rules/index.js.map +1 -0
  3912. package/dist/rules/issues.d.ts +8 -0
  3913. package/dist/rules/issues.d.ts.map +1 -0
  3914. package/dist/rules/issues.js +44 -0
  3915. package/dist/rules/issues.js.map +1 -0
  3916. package/dist/rules/matchers.d.ts +14 -0
  3917. package/dist/rules/matchers.d.ts.map +1 -0
  3918. package/dist/rules/matchers.js +24 -0
  3919. package/dist/rules/matchers.js.map +1 -0
  3920. package/dist/rules/memo.d.ts +7 -0
  3921. package/dist/rules/memo.d.ts.map +1 -0
  3922. package/dist/rules/memo.js +22 -0
  3923. package/dist/rules/memo.js.map +1 -0
  3924. package/dist/rules/param.d.ts +18 -0
  3925. package/dist/rules/param.d.ts.map +1 -0
  3926. package/dist/rules/param.js +83 -0
  3927. package/dist/rules/param.js.map +1 -0
  3928. package/dist/rules/parse.d.ts +22 -0
  3929. package/dist/rules/parse.d.ts.map +1 -0
  3930. package/dist/rules/parse.js +111 -0
  3931. package/dist/rules/parse.js.map +1 -0
  3932. package/dist/rules/path/anchor.d.ts +33 -0
  3933. package/dist/rules/path/anchor.d.ts.map +1 -0
  3934. package/dist/rules/path/anchor.js +84 -0
  3935. package/dist/rules/path/anchor.js.map +1 -0
  3936. package/dist/rules/path/cd.d.ts +13 -0
  3937. package/dist/rules/path/cd.d.ts.map +1 -0
  3938. package/dist/rules/path/cd.js +45 -0
  3939. package/dist/rules/path/cd.js.map +1 -0
  3940. package/dist/rules/path/depth.d.ts +6 -0
  3941. package/dist/rules/path/depth.d.ts.map +1 -0
  3942. package/dist/rules/path/depth.js +24 -0
  3943. package/dist/rules/path/depth.js.map +1 -0
  3944. package/dist/rules/path/file-rules.d.ts +18 -0
  3945. package/dist/rules/path/file-rules.d.ts.map +1 -0
  3946. package/dist/rules/path/file-rules.js +130 -0
  3947. package/dist/rules/path/file-rules.js.map +1 -0
  3948. package/dist/rules/path/glob.d.ts +20 -0
  3949. package/dist/rules/path/glob.d.ts.map +1 -0
  3950. package/dist/rules/path/glob.js +48 -0
  3951. package/dist/rules/path/glob.js.map +1 -0
  3952. package/dist/rules/path/negation.d.ts +7 -0
  3953. package/dist/rules/path/negation.d.ts.map +1 -0
  3954. package/dist/rules/path/negation.js +50 -0
  3955. package/dist/rules/path/negation.js.map +1 -0
  3956. package/dist/rules/path/network.d.ts +9 -0
  3957. package/dist/rules/path/network.d.ts.map +1 -0
  3958. package/dist/rules/path/network.js +27 -0
  3959. package/dist/rules/path/network.js.map +1 -0
  3960. package/dist/rules/path/posix.d.ts +29 -0
  3961. package/dist/rules/path/posix.d.ts.map +1 -0
  3962. package/dist/rules/path/posix.js +75 -0
  3963. package/dist/rules/path/posix.js.map +1 -0
  3964. package/dist/rules/path/symlink.d.ts +25 -0
  3965. package/dist/rules/path/symlink.d.ts.map +1 -0
  3966. package/dist/rules/path/symlink.js +94 -0
  3967. package/dist/rules/path/symlink.js.map +1 -0
  3968. package/dist/rules/path/tools.d.ts +66 -0
  3969. package/dist/rules/path/tools.d.ts.map +1 -0
  3970. package/dist/rules/path/tools.js +88 -0
  3971. package/dist/rules/path/tools.js.map +1 -0
  3972. package/dist/rules/restricts.d.ts +12 -0
  3973. package/dist/rules/restricts.d.ts.map +1 -0
  3974. package/dist/rules/restricts.js +13 -0
  3975. package/dist/rules/restricts.js.map +1 -0
  3976. package/dist/rules/rule-warnings.d.ts +24 -0
  3977. package/dist/rules/rule-warnings.d.ts.map +1 -0
  3978. package/dist/rules/rule-warnings.js +58 -0
  3979. package/dist/rules/rule-warnings.js.map +1 -0
  3980. package/dist/rules/sources.d.ts +13 -0
  3981. package/dist/rules/sources.d.ts.map +1 -0
  3982. package/dist/rules/sources.js +19 -0
  3983. package/dist/rules/sources.js.map +1 -0
  3984. package/dist/rules/specifier-formats.d.ts +42 -0
  3985. package/dist/rules/specifier-formats.d.ts.map +1 -0
  3986. package/dist/rules/specifier-formats.js +81 -0
  3987. package/dist/rules/specifier-formats.js.map +1 -0
  3988. package/dist/rules/specifier-guards.d.ts +12 -0
  3989. package/dist/rules/specifier-guards.d.ts.map +1 -0
  3990. package/dist/rules/specifier-guards.js +7 -0
  3991. package/dist/rules/specifier-guards.js.map +1 -0
  3992. package/dist/rules/target/agent.d.ts +3 -0
  3993. package/dist/rules/target/agent.d.ts.map +1 -0
  3994. package/dist/rules/target/agent.js +30 -0
  3995. package/dist/rules/target/agent.js.map +1 -0
  3996. package/dist/rules/target/domain.d.ts +43 -0
  3997. package/dist/rules/target/domain.d.ts.map +1 -0
  3998. package/dist/rules/target/domain.js +150 -0
  3999. package/dist/rules/target/domain.js.map +1 -0
  4000. package/dist/rules/target/input.d.ts +11 -0
  4001. package/dist/rules/target/input.d.ts.map +1 -0
  4002. package/dist/rules/target/input.js +10 -0
  4003. package/dist/rules/target/input.js.map +1 -0
  4004. package/dist/rules/target/mcp.d.ts +14 -0
  4005. package/dist/rules/target/mcp.d.ts.map +1 -0
  4006. package/dist/rules/target/mcp.js +69 -0
  4007. package/dist/rules/target/mcp.js.map +1 -0
  4008. package/dist/rules/target/skill.d.ts +3 -0
  4009. package/dist/rules/target/skill.d.ts.map +1 -0
  4010. package/dist/rules/target/skill.js +44 -0
  4011. package/dist/rules/target/skill.js.map +1 -0
  4012. package/dist/rules/tool-pattern.d.ts +20 -0
  4013. package/dist/rules/tool-pattern.d.ts.map +1 -0
  4014. package/dist/rules/tool-pattern.js +35 -0
  4015. package/dist/rules/tool-pattern.js.map +1 -0
  4016. package/dist/rules/tools/availability.d.ts +52 -0
  4017. package/dist/rules/tools/availability.d.ts.map +1 -0
  4018. package/dist/rules/tools/availability.js +109 -0
  4019. package/dist/rules/tools/availability.js.map +1 -0
  4020. package/dist/rules/tools/catalog.d.ts +33 -0
  4021. package/dist/rules/tools/catalog.d.ts.map +1 -0
  4022. package/dist/rules/tools/catalog.js +79 -0
  4023. package/dist/rules/tools/catalog.js.map +1 -0
  4024. package/dist/rules/tools/host-tool-names.d.ts +37 -0
  4025. package/dist/rules/tools/host-tool-names.d.ts.map +1 -0
  4026. package/dist/rules/tools/host-tool-names.js +24 -0
  4027. package/dist/rules/tools/host-tool-names.js.map +1 -0
  4028. package/dist/rules/tools/inputs/ask-user-question.d.ts +43 -0
  4029. package/dist/rules/tools/inputs/ask-user-question.d.ts.map +1 -0
  4030. package/dist/rules/tools/inputs/ask-user-question.js +63 -0
  4031. package/dist/rules/tools/inputs/ask-user-question.js.map +1 -0
  4032. package/dist/rules/tools/inputs/exit-plan-mode.d.ts +7 -0
  4033. package/dist/rules/tools/inputs/exit-plan-mode.d.ts.map +1 -0
  4034. package/dist/rules/tools/inputs/exit-plan-mode.js +12 -0
  4035. package/dist/rules/tools/inputs/exit-plan-mode.js.map +1 -0
  4036. package/dist/rules/tools/inputs/field-schemas.d.ts +10 -0
  4037. package/dist/rules/tools/inputs/field-schemas.d.ts.map +1 -0
  4038. package/dist/rules/tools/inputs/field-schemas.js +16 -0
  4039. package/dist/rules/tools/inputs/field-schemas.js.map +1 -0
  4040. package/dist/rules/tools/inputs/fields.d.ts +43 -0
  4041. package/dist/rules/tools/inputs/fields.d.ts.map +1 -0
  4042. package/dist/rules/tools/inputs/fields.js +99 -0
  4043. package/dist/rules/tools/inputs/fields.js.map +1 -0
  4044. package/dist/rules/tools/inputs/grep.d.ts +4 -0
  4045. package/dist/rules/tools/inputs/grep.d.ts.map +1 -0
  4046. package/dist/rules/tools/inputs/grep.js +3 -0
  4047. package/dist/rules/tools/inputs/grep.js.map +1 -0
  4048. package/dist/rules/tools/inputs/parse-input.d.ts +15 -0
  4049. package/dist/rules/tools/inputs/parse-input.d.ts.map +1 -0
  4050. package/dist/rules/tools/inputs/parse-input.js +23 -0
  4051. package/dist/rules/tools/inputs/parse-input.js.map +1 -0
  4052. package/dist/rules/tools/inputs/roles.d.ts +2 -0
  4053. package/dist/rules/tools/inputs/roles.d.ts.map +1 -0
  4054. package/dist/rules/tools/inputs/roles.js +23 -0
  4055. package/dist/rules/tools/inputs/roles.js.map +1 -0
  4056. package/dist/rules/tools/inputs/schemas.d.ts +10 -0
  4057. package/dist/rules/tools/inputs/schemas.d.ts.map +1 -0
  4058. package/dist/rules/tools/inputs/schemas.js +23 -0
  4059. package/dist/rules/tools/inputs/schemas.js.map +1 -0
  4060. package/dist/rules/tools/inputs/tool-path.d.ts +17 -0
  4061. package/dist/rules/tools/inputs/tool-path.d.ts.map +1 -0
  4062. package/dist/rules/tools/inputs/tool-path.js +45 -0
  4063. package/dist/rules/tools/inputs/tool-path.js.map +1 -0
  4064. package/dist/rules/tools/inputs/web-search.d.ts +9 -0
  4065. package/dist/rules/tools/inputs/web-search.d.ts.map +1 -0
  4066. package/dist/rules/tools/inputs/web-search.js +14 -0
  4067. package/dist/rules/tools/inputs/web-search.js.map +1 -0
  4068. package/dist/rules/tools/names.d.ts +5 -0
  4069. package/dist/rules/tools/names.d.ts.map +1 -0
  4070. package/dist/rules/tools/names.js +9 -0
  4071. package/dist/rules/tools/names.js.map +1 -0
  4072. package/dist/rules/tools/responses/agent-response.d.ts +41 -0
  4073. package/dist/rules/tools/responses/agent-response.d.ts.map +1 -0
  4074. package/dist/rules/tools/responses/agent-response.js +110 -0
  4075. package/dist/rules/tools/responses/agent-response.js.map +1 -0
  4076. package/dist/rules/tools/responses/bash-edit-diff.d.ts +52 -0
  4077. package/dist/rules/tools/responses/bash-edit-diff.d.ts.map +1 -0
  4078. package/dist/rules/tools/responses/bash-edit-diff.js +84 -0
  4079. package/dist/rules/tools/responses/bash-edit-diff.js.map +1 -0
  4080. package/dist/rules/tools/responses/shape.d.ts +9 -0
  4081. package/dist/rules/tools/responses/shape.d.ts.map +1 -0
  4082. package/dist/rules/tools/responses/shape.js +11 -0
  4083. package/dist/rules/tools/responses/shape.js.map +1 -0
  4084. package/dist/rules/tools/responses/structured-patch.d.ts +12 -0
  4085. package/dist/rules/tools/responses/structured-patch.d.ts.map +1 -0
  4086. package/dist/rules/tools/responses/structured-patch.js +69 -0
  4087. package/dist/rules/tools/responses/structured-patch.js.map +1 -0
  4088. package/dist/rules/tools/rule-formats.d.ts +10 -0
  4089. package/dist/rules/tools/rule-formats.d.ts.map +1 -0
  4090. package/dist/rules/tools/rule-formats.js +18 -0
  4091. package/dist/rules/tools/rule-formats.js.map +1 -0
  4092. package/dist/rules/tools/semantics/bash-background.d.ts +26 -0
  4093. package/dist/rules/tools/semantics/bash-background.d.ts.map +1 -0
  4094. package/dist/rules/tools/semantics/bash-background.js +33 -0
  4095. package/dist/rules/tools/semantics/bash-background.js.map +1 -0
  4096. package/dist/rules/tools/semantics/bash-exit.d.ts +14 -0
  4097. package/dist/rules/tools/semantics/bash-exit.d.ts.map +1 -0
  4098. package/dist/rules/tools/semantics/bash-exit.js +72 -0
  4099. package/dist/rules/tools/semantics/bash-exit.js.map +1 -0
  4100. package/dist/rules/tools/semantics/bash-limits.d.ts +34 -0
  4101. package/dist/rules/tools/semantics/bash-limits.d.ts.map +1 -0
  4102. package/dist/rules/tools/semantics/bash-limits.js +48 -0
  4103. package/dist/rules/tools/semantics/bash-limits.js.map +1 -0
  4104. package/dist/rules/tools/semantics/bash-output.d.ts +36 -0
  4105. package/dist/rules/tools/semantics/bash-output.d.ts.map +1 -0
  4106. package/dist/rules/tools/semantics/bash-output.js +45 -0
  4107. package/dist/rules/tools/semantics/bash-output.js.map +1 -0
  4108. package/dist/rules/tools/semantics/edit.d.ts +23 -0
  4109. package/dist/rules/tools/semantics/edit.d.ts.map +1 -0
  4110. package/dist/rules/tools/semantics/edit.js +44 -0
  4111. package/dist/rules/tools/semantics/edit.js.map +1 -0
  4112. package/dist/rules/tools/semantics/encoding.d.ts +30 -0
  4113. package/dist/rules/tools/semantics/encoding.d.ts.map +1 -0
  4114. package/dist/rules/tools/semantics/encoding.js +54 -0
  4115. package/dist/rules/tools/semantics/encoding.js.map +1 -0
  4116. package/dist/rules/tools/semantics/env-number.d.ts +9 -0
  4117. package/dist/rules/tools/semantics/env-number.d.ts.map +1 -0
  4118. package/dist/rules/tools/semantics/env-number.js +17 -0
  4119. package/dist/rules/tools/semantics/env-number.js.map +1 -0
  4120. package/dist/rules/tools/semantics/glob-cap.d.ts +35 -0
  4121. package/dist/rules/tools/semantics/glob-cap.d.ts.map +1 -0
  4122. package/dist/rules/tools/semantics/glob-cap.js +43 -0
  4123. package/dist/rules/tools/semantics/glob-cap.js.map +1 -0
  4124. package/dist/rules/tools/semantics/grep-defaults.d.ts +43 -0
  4125. package/dist/rules/tools/semantics/grep-defaults.d.ts.map +1 -0
  4126. package/dist/rules/tools/semantics/grep-defaults.js +48 -0
  4127. package/dist/rules/tools/semantics/grep-defaults.js.map +1 -0
  4128. package/dist/rules/tools/semantics/read-limits.d.ts +53 -0
  4129. package/dist/rules/tools/semantics/read-limits.d.ts.map +1 -0
  4130. package/dist/rules/tools/semantics/read-limits.js +82 -0
  4131. package/dist/rules/tools/semantics/read-limits.js.map +1 -0
  4132. package/dist/rules/tools/semantics/read-window.d.ts +28 -0
  4133. package/dist/rules/tools/semantics/read-window.d.ts.map +1 -0
  4134. package/dist/rules/tools/semantics/read-window.js +51 -0
  4135. package/dist/rules/tools/semantics/read-window.js.map +1 -0
  4136. package/dist/rules/tools/semantics/web-fetch-timings.d.ts +22 -0
  4137. package/dist/rules/tools/semantics/web-fetch-timings.d.ts.map +1 -0
  4138. package/dist/rules/tools/semantics/web-fetch-timings.js +40 -0
  4139. package/dist/rules/tools/semantics/web-fetch-timings.js.map +1 -0
  4140. package/dist/rules/tools/semantics/web-fetch.d.ts +39 -0
  4141. package/dist/rules/tools/semantics/web-fetch.d.ts.map +1 -0
  4142. package/dist/rules/tools/semantics/web-fetch.js +63 -0
  4143. package/dist/rules/tools/semantics/web-fetch.js.map +1 -0
  4144. package/dist/rules/tools/semantics/web-search-limit.d.ts +34 -0
  4145. package/dist/rules/tools/semantics/web-search-limit.d.ts.map +1 -0
  4146. package/dist/rules/tools/semantics/web-search-limit.js +32 -0
  4147. package/dist/rules/tools/semantics/web-search-limit.js.map +1 -0
  4148. package/dist/rules/tools/semantics/web-search.d.ts +11 -0
  4149. package/dist/rules/tools/semantics/web-search.d.ts.map +1 -0
  4150. package/dist/rules/tools/semantics/web-search.js +22 -0
  4151. package/dist/rules/tools/semantics/web-search.js.map +1 -0
  4152. package/dist/rules/tools/shell-selection.d.ts +15 -0
  4153. package/dist/rules/tools/shell-selection.d.ts.map +1 -0
  4154. package/dist/rules/tools/shell-selection.js +6 -0
  4155. package/dist/rules/tools/shell-selection.js.map +1 -0
  4156. package/dist/rules/types.d.ts +149 -0
  4157. package/dist/rules/types.d.ts.map +1 -0
  4158. package/dist/rules/types.js +2 -0
  4159. package/dist/rules/types.js.map +1 -0
  4160. package/dist/settings/broken-file.d.ts +29 -0
  4161. package/dist/settings/broken-file.d.ts.map +1 -0
  4162. package/dist/settings/broken-file.js +65 -0
  4163. package/dist/settings/broken-file.js.map +1 -0
  4164. package/dist/settings/canonical.d.ts +8 -0
  4165. package/dist/settings/canonical.d.ts.map +1 -0
  4166. package/dist/settings/canonical.js +18 -0
  4167. package/dist/settings/canonical.js.map +1 -0
  4168. package/dist/settings/channels/allowlist.d.ts +27 -0
  4169. package/dist/settings/channels/allowlist.d.ts.map +1 -0
  4170. package/dist/settings/channels/allowlist.js +27 -0
  4171. package/dist/settings/channels/allowlist.js.map +1 -0
  4172. package/dist/settings/channels/channel-gate.d.ts +42 -0
  4173. package/dist/settings/channels/channel-gate.d.ts.map +1 -0
  4174. package/dist/settings/channels/channel-gate.js +38 -0
  4175. package/dist/settings/channels/channel-gate.js.map +1 -0
  4176. package/dist/settings/channels/contract.d.ts +69 -0
  4177. package/dist/settings/channels/contract.d.ts.map +1 -0
  4178. package/dist/settings/channels/contract.js +80 -0
  4179. package/dist/settings/channels/contract.js.map +1 -0
  4180. package/dist/settings/channels/index.d.ts +8 -0
  4181. package/dist/settings/channels/index.d.ts.map +1 -0
  4182. package/dist/settings/channels/index.js +8 -0
  4183. package/dist/settings/channels/index.js.map +1 -0
  4184. package/dist/settings/channels/policy.d.ts +17 -0
  4185. package/dist/settings/channels/policy.d.ts.map +1 -0
  4186. package/dist/settings/channels/policy.js +13 -0
  4187. package/dist/settings/channels/policy.js.map +1 -0
  4188. package/dist/settings/channels/relay.d.ts +34 -0
  4189. package/dist/settings/channels/relay.d.ts.map +1 -0
  4190. package/dist/settings/channels/relay.js +43 -0
  4191. package/dist/settings/channels/relay.js.map +1 -0
  4192. package/dist/settings/channels/sanitize.d.ts +22 -0
  4193. package/dist/settings/channels/sanitize.d.ts.map +1 -0
  4194. package/dist/settings/channels/sanitize.js +64 -0
  4195. package/dist/settings/channels/sanitize.js.map +1 -0
  4196. package/dist/settings/channels/verdict.d.ts +44 -0
  4197. package/dist/settings/channels/verdict.d.ts.map +1 -0
  4198. package/dist/settings/channels/verdict.js +43 -0
  4199. package/dist/settings/channels/verdict.js.map +1 -0
  4200. package/dist/settings/context.d.ts +59 -0
  4201. package/dist/settings/context.d.ts.map +1 -0
  4202. package/dist/settings/context.js +21 -0
  4203. package/dist/settings/context.js.map +1 -0
  4204. package/dist/settings/customization/index.d.ts +6 -0
  4205. package/dist/settings/customization/index.d.ts.map +1 -0
  4206. package/dist/settings/customization/index.js +6 -0
  4207. package/dist/settings/customization/index.js.map +1 -0
  4208. package/dist/settings/customization/policy.d.ts +32 -0
  4209. package/dist/settings/customization/policy.d.ts.map +1 -0
  4210. package/dist/settings/customization/policy.js +29 -0
  4211. package/dist/settings/customization/policy.js.map +1 -0
  4212. package/dist/settings/customization/preapproval.d.ts +19 -0
  4213. package/dist/settings/customization/preapproval.d.ts.map +1 -0
  4214. package/dist/settings/customization/preapproval.js +22 -0
  4215. package/dist/settings/customization/preapproval.js.map +1 -0
  4216. package/dist/settings/customization/sources.d.ts +27 -0
  4217. package/dist/settings/customization/sources.d.ts.map +1 -0
  4218. package/dist/settings/customization/sources.js +68 -0
  4219. package/dist/settings/customization/sources.js.map +1 -0
  4220. package/dist/settings/customization/surfaces.d.ts +17 -0
  4221. package/dist/settings/customization/surfaces.d.ts.map +1 -0
  4222. package/dist/settings/customization/surfaces.js +27 -0
  4223. package/dist/settings/customization/surfaces.js.map +1 -0
  4224. package/dist/settings/env/check-env.d.ts +4 -0
  4225. package/dist/settings/env/check-env.d.ts.map +1 -0
  4226. package/dist/settings/env/check-env.js +45 -0
  4227. package/dist/settings/env/check-env.js.map +1 -0
  4228. package/dist/settings/env/ignored-variables.d.ts +28 -0
  4229. package/dist/settings/env/ignored-variables.d.ts.map +1 -0
  4230. package/dist/settings/env/ignored-variables.js +172 -0
  4231. package/dist/settings/env/ignored-variables.js.map +1 -0
  4232. package/dist/settings/env/index.d.ts +5 -0
  4233. package/dist/settings/env/index.d.ts.map +1 -0
  4234. package/dist/settings/env/index.js +5 -0
  4235. package/dist/settings/env/index.js.map +1 -0
  4236. package/dist/settings/env/resolve-env.d.ts +82 -0
  4237. package/dist/settings/env/resolve-env.d.ts.map +1 -0
  4238. package/dist/settings/env/resolve-env.js +101 -0
  4239. package/dist/settings/env/resolve-env.js.map +1 -0
  4240. package/dist/settings/env/settings-env.d.ts +37 -0
  4241. package/dist/settings/env/settings-env.d.ts.map +1 -0
  4242. package/dist/settings/env/settings-env.js +29 -0
  4243. package/dist/settings/env/settings-env.js.map +1 -0
  4244. package/dist/settings/env/timing.d.ts +25 -0
  4245. package/dist/settings/env/timing.d.ts.map +1 -0
  4246. package/dist/settings/env/timing.js +34 -0
  4247. package/dist/settings/env/timing.js.map +1 -0
  4248. package/dist/settings/general/agent-keys.d.ts +19 -0
  4249. package/dist/settings/general/agent-keys.d.ts.map +1 -0
  4250. package/dist/settings/general/agent-keys.js +23 -0
  4251. package/dist/settings/general/agent-keys.js.map +1 -0
  4252. package/dist/settings/general/checks.d.ts +10 -0
  4253. package/dist/settings/general/checks.d.ts.map +1 -0
  4254. package/dist/settings/general/checks.js +109 -0
  4255. package/dist/settings/general/checks.js.map +1 -0
  4256. package/dist/settings/general/claude-json.d.ts +40 -0
  4257. package/dist/settings/general/claude-json.d.ts.map +1 -0
  4258. package/dist/settings/general/claude-json.js +48 -0
  4259. package/dist/settings/general/claude-json.js.map +1 -0
  4260. package/dist/settings/general/closed-fields.d.ts +5 -0
  4261. package/dist/settings/general/closed-fields.d.ts.map +1 -0
  4262. package/dist/settings/general/closed-fields.js +53 -0
  4263. package/dist/settings/general/closed-fields.js.map +1 -0
  4264. package/dist/settings/general/command-lines.d.ts +40 -0
  4265. package/dist/settings/general/command-lines.d.ts.map +1 -0
  4266. package/dist/settings/general/command-lines.js +53 -0
  4267. package/dist/settings/general/command-lines.js.map +1 -0
  4268. package/dist/settings/general/edit-effect.d.ts +57 -0
  4269. package/dist/settings/general/edit-effect.d.ts.map +1 -0
  4270. package/dist/settings/general/edit-effect.js +64 -0
  4271. package/dist/settings/general/edit-effect.js.map +1 -0
  4272. package/dist/settings/general/effort.d.ts +39 -0
  4273. package/dist/settings/general/effort.d.ts.map +1 -0
  4274. package/dist/settings/general/effort.js +58 -0
  4275. package/dist/settings/general/effort.js.map +1 -0
  4276. package/dist/settings/general/exceptions.d.ts +52 -0
  4277. package/dist/settings/general/exceptions.d.ts.map +1 -0
  4278. package/dist/settings/general/exceptions.js +46 -0
  4279. package/dist/settings/general/exceptions.js.map +1 -0
  4280. package/dist/settings/general/file-locations.d.ts +111 -0
  4281. package/dist/settings/general/file-locations.d.ts.map +1 -0
  4282. package/dist/settings/general/file-locations.js +108 -0
  4283. package/dist/settings/general/file-locations.js.map +1 -0
  4284. package/dist/settings/general/global-config.d.ts +8 -0
  4285. package/dist/settings/general/global-config.d.ts.map +1 -0
  4286. package/dist/settings/general/global-config.js +21 -0
  4287. package/dist/settings/general/global-config.js.map +1 -0
  4288. package/dist/settings/general/index.d.ts +19 -0
  4289. package/dist/settings/general/index.d.ts.map +1 -0
  4290. package/dist/settings/general/index.js +19 -0
  4291. package/dist/settings/general/index.js.map +1 -0
  4292. package/dist/settings/general/keys.d.ts +53 -0
  4293. package/dist/settings/general/keys.d.ts.map +1 -0
  4294. package/dist/settings/general/keys.js +44 -0
  4295. package/dist/settings/general/keys.js.map +1 -0
  4296. package/dist/settings/general/look-and-feel.d.ts +35 -0
  4297. package/dist/settings/general/look-and-feel.d.ts.map +1 -0
  4298. package/dist/settings/general/look-and-feel.js +57 -0
  4299. package/dist/settings/general/look-and-feel.js.map +1 -0
  4300. package/dist/settings/general/permission-rules.d.ts +46 -0
  4301. package/dist/settings/general/permission-rules.d.ts.map +1 -0
  4302. package/dist/settings/general/permission-rules.js +81 -0
  4303. package/dist/settings/general/permission-rules.js.map +1 -0
  4304. package/dist/settings/general/plugin-defaults.d.ts +31 -0
  4305. package/dist/settings/general/plugin-defaults.d.ts.map +1 -0
  4306. package/dist/settings/general/plugin-defaults.js +43 -0
  4307. package/dist/settings/general/plugin-defaults.js.map +1 -0
  4308. package/dist/settings/general/process-wrapper.d.ts +14 -0
  4309. package/dist/settings/general/process-wrapper.d.ts.map +1 -0
  4310. package/dist/settings/general/process-wrapper.js +48 -0
  4311. package/dist/settings/general/process-wrapper.js.map +1 -0
  4312. package/dist/settings/general/reach.d.ts +27 -0
  4313. package/dist/settings/general/reach.d.ts.map +1 -0
  4314. package/dist/settings/general/reach.js +40 -0
  4315. package/dist/settings/general/reach.js.map +1 -0
  4316. package/dist/settings/general/rows.d.ts +12 -0
  4317. package/dist/settings/general/rows.d.ts.map +1 -0
  4318. package/dist/settings/general/rows.js +143 -0
  4319. package/dist/settings/general/rows.js.map +1 -0
  4320. package/dist/settings/general/sandbox-check.d.ts +8 -0
  4321. package/dist/settings/general/sandbox-check.d.ts.map +1 -0
  4322. package/dist/settings/general/sandbox-check.js +110 -0
  4323. package/dist/settings/general/sandbox-check.js.map +1 -0
  4324. package/dist/settings/general/sandbox-credentials.d.ts +10 -0
  4325. package/dist/settings/general/sandbox-credentials.d.ts.map +1 -0
  4326. package/dist/settings/general/sandbox-credentials.js +110 -0
  4327. package/dist/settings/general/sandbox-credentials.js.map +1 -0
  4328. package/dist/settings/general/sandbox-fields.d.ts +37 -0
  4329. package/dist/settings/general/sandbox-fields.d.ts.map +1 -0
  4330. package/dist/settings/general/sandbox-fields.js +45 -0
  4331. package/dist/settings/general/sandbox-fields.js.map +1 -0
  4332. package/dist/settings/general/session-overrides.d.ts +42 -0
  4333. package/dist/settings/general/session-overrides.d.ts.map +1 -0
  4334. package/dist/settings/general/session-overrides.js +93 -0
  4335. package/dist/settings/general/session-overrides.js.map +1 -0
  4336. package/dist/settings/general/subagent-status-line.d.ts +66 -0
  4337. package/dist/settings/general/subagent-status-line.d.ts.map +1 -0
  4338. package/dist/settings/general/subagent-status-line.js +58 -0
  4339. package/dist/settings/general/subagent-status-line.js.map +1 -0
  4340. package/dist/settings/general/view.d.ts +18 -0
  4341. package/dist/settings/general/view.d.ts.map +1 -0
  4342. package/dist/settings/general/view.js +42 -0
  4343. package/dist/settings/general/view.js.map +1 -0
  4344. package/dist/settings/general/worktree-block.d.ts +63 -0
  4345. package/dist/settings/general/worktree-block.d.ts.map +1 -0
  4346. package/dist/settings/general/worktree-block.js +58 -0
  4347. package/dist/settings/general/worktree-block.js.map +1 -0
  4348. package/dist/settings/hooks/custom-commands.d.ts +41 -0
  4349. package/dist/settings/hooks/custom-commands.d.ts.map +1 -0
  4350. package/dist/settings/hooks/custom-commands.js +11 -0
  4351. package/dist/settings/hooks/custom-commands.js.map +1 -0
  4352. package/dist/settings/hooks/hook-gate.d.ts +26 -0
  4353. package/dist/settings/hooks/hook-gate.d.ts.map +1 -0
  4354. package/dist/settings/hooks/hook-gate.js +42 -0
  4355. package/dist/settings/hooks/hook-gate.js.map +1 -0
  4356. package/dist/settings/hooks/http-policy.d.ts +22 -0
  4357. package/dist/settings/hooks/http-policy.d.ts.map +1 -0
  4358. package/dist/settings/hooks/http-policy.js +22 -0
  4359. package/dist/settings/hooks/http-policy.js.map +1 -0
  4360. package/dist/settings/hooks/index.d.ts +7 -0
  4361. package/dist/settings/hooks/index.d.ts.map +1 -0
  4362. package/dist/settings/hooks/index.js +7 -0
  4363. package/dist/settings/hooks/index.js.map +1 -0
  4364. package/dist/settings/hooks/merge-groups.d.ts +20 -0
  4365. package/dist/settings/hooks/merge-groups.d.ts.map +1 -0
  4366. package/dist/settings/hooks/merge-groups.js +57 -0
  4367. package/dist/settings/hooks/merge-groups.js.map +1 -0
  4368. package/dist/settings/hooks/origin-stops.d.ts +4 -0
  4369. package/dist/settings/hooks/origin-stops.d.ts.map +1 -0
  4370. package/dist/settings/hooks/origin-stops.js +87 -0
  4371. package/dist/settings/hooks/origin-stops.js.map +1 -0
  4372. package/dist/settings/hooks/origins.d.ts +74 -0
  4373. package/dist/settings/hooks/origins.d.ts.map +1 -0
  4374. package/dist/settings/hooks/origins.js +8 -0
  4375. package/dist/settings/hooks/origins.js.map +1 -0
  4376. package/dist/settings/hooks/policy.d.ts +20 -0
  4377. package/dist/settings/hooks/policy.d.ts.map +1 -0
  4378. package/dist/settings/hooks/policy.js +14 -0
  4379. package/dist/settings/hooks/policy.js.map +1 -0
  4380. package/dist/settings/hooks/session-gates.d.ts +46 -0
  4381. package/dist/settings/hooks/session-gates.d.ts.map +1 -0
  4382. package/dist/settings/hooks/session-gates.js +37 -0
  4383. package/dist/settings/hooks/session-gates.js.map +1 -0
  4384. package/dist/settings/hooks/url-pattern.d.ts +2 -0
  4385. package/dist/settings/hooks/url-pattern.d.ts.map +1 -0
  4386. package/dist/settings/hooks/url-pattern.js +55 -0
  4387. package/dist/settings/hooks/url-pattern.js.map +1 -0
  4388. package/dist/settings/host-switches.d.ts +67 -0
  4389. package/dist/settings/host-switches.d.ts.map +1 -0
  4390. package/dist/settings/host-switches.js +84 -0
  4391. package/dist/settings/host-switches.js.map +1 -0
  4392. package/dist/settings/index.d.ts +17 -0
  4393. package/dist/settings/index.d.ts.map +1 -0
  4394. package/dist/settings/index.js +14 -0
  4395. package/dist/settings/index.js.map +1 -0
  4396. package/dist/settings/key-spec.d.ts +43 -0
  4397. package/dist/settings/key-spec.d.ts.map +1 -0
  4398. package/dist/settings/key-spec.js +241 -0
  4399. package/dist/settings/key-spec.js.map +1 -0
  4400. package/dist/settings/layers.d.ts +43 -0
  4401. package/dist/settings/layers.d.ts.map +1 -0
  4402. package/dist/settings/layers.js +54 -0
  4403. package/dist/settings/layers.js.map +1 -0
  4404. package/dist/settings/locations.d.ts +39 -0
  4405. package/dist/settings/locations.d.ts.map +1 -0
  4406. package/dist/settings/locations.js +25 -0
  4407. package/dist/settings/locations.js.map +1 -0
  4408. package/dist/settings/managed/admin-source.d.ts +109 -0
  4409. package/dist/settings/managed/admin-source.d.ts.map +1 -0
  4410. package/dist/settings/managed/admin-source.js +151 -0
  4411. package/dist/settings/managed/admin-source.js.map +1 -0
  4412. package/dist/settings/managed/applicability.d.ts +129 -0
  4413. package/dist/settings/managed/applicability.d.ts.map +1 -0
  4414. package/dist/settings/managed/applicability.js +158 -0
  4415. package/dist/settings/managed/applicability.js.map +1 -0
  4416. package/dist/settings/managed/approval.d.ts +19 -0
  4417. package/dist/settings/managed/approval.d.ts.map +1 -0
  4418. package/dist/settings/managed/approval.js +117 -0
  4419. package/dist/settings/managed/approval.js.map +1 -0
  4420. package/dist/settings/managed/combine.d.ts +20 -0
  4421. package/dist/settings/managed/combine.d.ts.map +1 -0
  4422. package/dist/settings/managed/combine.js +152 -0
  4423. package/dist/settings/managed/combine.js.map +1 -0
  4424. package/dist/settings/managed/compose.d.ts +67 -0
  4425. package/dist/settings/managed/compose.d.ts.map +1 -0
  4426. package/dist/settings/managed/compose.js +164 -0
  4427. package/dist/settings/managed/compose.js.map +1 -0
  4428. package/dist/settings/managed/cross-source.d.ts +24 -0
  4429. package/dist/settings/managed/cross-source.d.ts.map +1 -0
  4430. package/dist/settings/managed/cross-source.js +127 -0
  4431. package/dist/settings/managed/cross-source.js.map +1 -0
  4432. package/dist/settings/managed/delivery.d.ts +100 -0
  4433. package/dist/settings/managed/delivery.d.ts.map +1 -0
  4434. package/dist/settings/managed/delivery.js +117 -0
  4435. package/dist/settings/managed/delivery.js.map +1 -0
  4436. package/dist/settings/managed/drop-in.d.ts +44 -0
  4437. package/dist/settings/managed/drop-in.d.ts.map +1 -0
  4438. package/dist/settings/managed/drop-in.js +139 -0
  4439. package/dist/settings/managed/drop-in.js.map +1 -0
  4440. package/dist/settings/managed/helper-run.d.ts +51 -0
  4441. package/dist/settings/managed/helper-run.d.ts.map +1 -0
  4442. package/dist/settings/managed/helper-run.js +65 -0
  4443. package/dist/settings/managed/helper-run.js.map +1 -0
  4444. package/dist/settings/managed/index.d.ts +19 -0
  4445. package/dist/settings/managed/index.d.ts.map +1 -0
  4446. package/dist/settings/managed/index.js +17 -0
  4447. package/dist/settings/managed/index.js.map +1 -0
  4448. package/dist/settings/managed/limits.d.ts +77 -0
  4449. package/dist/settings/managed/limits.d.ts.map +1 -0
  4450. package/dist/settings/managed/limits.js +89 -0
  4451. package/dist/settings/managed/limits.js.map +1 -0
  4452. package/dist/settings/managed/load.d.ts +19 -0
  4453. package/dist/settings/managed/load.d.ts.map +1 -0
  4454. package/dist/settings/managed/load.js +24 -0
  4455. package/dist/settings/managed/load.js.map +1 -0
  4456. package/dist/settings/managed/login-keys.d.ts +29 -0
  4457. package/dist/settings/managed/login-keys.d.ts.map +1 -0
  4458. package/dist/settings/managed/login-keys.js +56 -0
  4459. package/dist/settings/managed/login-keys.js.map +1 -0
  4460. package/dist/settings/managed/parent.d.ts +38 -0
  4461. package/dist/settings/managed/parent.d.ts.map +1 -0
  4462. package/dist/settings/managed/parent.js +83 -0
  4463. package/dist/settings/managed/parent.js.map +1 -0
  4464. package/dist/settings/managed/policy-helper.d.ts +46 -0
  4465. package/dist/settings/managed/policy-helper.d.ts.map +1 -0
  4466. package/dist/settings/managed/policy-helper.js +133 -0
  4467. package/dist/settings/managed/policy-helper.js.map +1 -0
  4468. package/dist/settings/managed/ports.d.ts +27 -0
  4469. package/dist/settings/managed/ports.d.ts.map +1 -0
  4470. package/dist/settings/managed/ports.js +2 -0
  4471. package/dist/settings/managed/ports.js.map +1 -0
  4472. package/dist/settings/managed/sideload.d.ts +67 -0
  4473. package/dist/settings/managed/sideload.d.ts.map +1 -0
  4474. package/dist/settings/managed/sideload.js +69 -0
  4475. package/dist/settings/managed/sideload.js.map +1 -0
  4476. package/dist/settings/managed/startup-failure.d.ts +37 -0
  4477. package/dist/settings/managed/startup-failure.d.ts.map +1 -0
  4478. package/dist/settings/managed/startup-failure.js +28 -0
  4479. package/dist/settings/managed/startup-failure.js.map +1 -0
  4480. package/dist/settings/managed/wsl-chain.d.ts +36 -0
  4481. package/dist/settings/managed/wsl-chain.d.ts.map +1 -0
  4482. package/dist/settings/managed/wsl-chain.js +55 -0
  4483. package/dist/settings/managed/wsl-chain.js.map +1 -0
  4484. package/dist/settings/marketplaces/command-sources.d.ts +27 -0
  4485. package/dist/settings/marketplaces/command-sources.d.ts.map +1 -0
  4486. package/dist/settings/marketplaces/command-sources.js +25 -0
  4487. package/dist/settings/marketplaces/command-sources.js.map +1 -0
  4488. package/dist/settings/marketplaces/facts.d.ts +38 -0
  4489. package/dist/settings/marketplaces/facts.d.ts.map +1 -0
  4490. package/dist/settings/marketplaces/facts.js +90 -0
  4491. package/dist/settings/marketplaces/facts.js.map +1 -0
  4492. package/dist/settings/marketplaces/gate.d.ts +49 -0
  4493. package/dist/settings/marketplaces/gate.d.ts.map +1 -0
  4494. package/dist/settings/marketplaces/gate.js +153 -0
  4495. package/dist/settings/marketplaces/gate.js.map +1 -0
  4496. package/dist/settings/marketplaces/git-url.d.ts +23 -0
  4497. package/dist/settings/marketplaces/git-url.d.ts.map +1 -0
  4498. package/dist/settings/marketplaces/git-url.js +53 -0
  4499. package/dist/settings/marketplaces/git-url.js.map +1 -0
  4500. package/dist/settings/marketplaces/headers-helper.d.ts +13 -0
  4501. package/dist/settings/marketplaces/headers-helper.d.ts.map +1 -0
  4502. package/dist/settings/marketplaces/headers-helper.js +76 -0
  4503. package/dist/settings/marketplaces/headers-helper.js.map +1 -0
  4504. package/dist/settings/marketplaces/host-of.d.ts +8 -0
  4505. package/dist/settings/marketplaces/host-of.d.ts.map +1 -0
  4506. package/dist/settings/marketplaces/host-of.js +46 -0
  4507. package/dist/settings/marketplaces/host-of.js.map +1 -0
  4508. package/dist/settings/marketplaces/index.d.ts +8 -0
  4509. package/dist/settings/marketplaces/index.d.ts.map +1 -0
  4510. package/dist/settings/marketplaces/index.js +8 -0
  4511. package/dist/settings/marketplaces/index.js.map +1 -0
  4512. package/dist/settings/marketplaces/match-source.d.ts +22 -0
  4513. package/dist/settings/marketplaces/match-source.d.ts.map +1 -0
  4514. package/dist/settings/marketplaces/match-source.js +121 -0
  4515. package/dist/settings/marketplaces/match-source.js.map +1 -0
  4516. package/dist/settings/marketplaces/official-registration.d.ts +43 -0
  4517. package/dist/settings/marketplaces/official-registration.d.ts.map +1 -0
  4518. package/dist/settings/marketplaces/official-registration.js +28 -0
  4519. package/dist/settings/marketplaces/official-registration.js.map +1 -0
  4520. package/dist/settings/marketplaces/refusal-messages.d.ts +25 -0
  4521. package/dist/settings/marketplaces/refusal-messages.d.ts.map +1 -0
  4522. package/dist/settings/marketplaces/refusal-messages.js +26 -0
  4523. package/dist/settings/marketplaces/refusal-messages.js.map +1 -0
  4524. package/dist/settings/marketplaces/registry.d.ts +69 -0
  4525. package/dist/settings/marketplaces/registry.d.ts.map +1 -0
  4526. package/dist/settings/marketplaces/registry.js +124 -0
  4527. package/dist/settings/marketplaces/registry.js.map +1 -0
  4528. package/dist/settings/marketplaces/source-kinds.d.ts +22 -0
  4529. package/dist/settings/marketplaces/source-kinds.d.ts.map +1 -0
  4530. package/dist/settings/marketplaces/source-kinds.js +11 -0
  4531. package/dist/settings/marketplaces/source-kinds.js.map +1 -0
  4532. package/dist/settings/marketplaces/source-validate.d.ts +13 -0
  4533. package/dist/settings/marketplaces/source-validate.d.ts.map +1 -0
  4534. package/dist/settings/marketplaces/source-validate.js +73 -0
  4535. package/dist/settings/marketplaces/source-validate.js.map +1 -0
  4536. package/dist/settings/mcp/allow-deny.d.ts +48 -0
  4537. package/dist/settings/mcp/allow-deny.d.ts.map +1 -0
  4538. package/dist/settings/mcp/allow-deny.js +94 -0
  4539. package/dist/settings/mcp/allow-deny.js.map +1 -0
  4540. package/dist/settings/mcp/approvals.d.ts +52 -0
  4541. package/dist/settings/mcp/approvals.d.ts.map +1 -0
  4542. package/dist/settings/mcp/approvals.js +82 -0
  4543. package/dist/settings/mcp/approvals.js.map +1 -0
  4544. package/dist/settings/mcp/candidates.d.ts +21 -0
  4545. package/dist/settings/mcp/candidates.d.ts.map +1 -0
  4546. package/dist/settings/mcp/candidates.js +56 -0
  4547. package/dist/settings/mcp/candidates.js.map +1 -0
  4548. package/dist/settings/mcp/command-match.d.ts +10 -0
  4549. package/dist/settings/mcp/command-match.d.ts.map +1 -0
  4550. package/dist/settings/mcp/command-match.js +13 -0
  4551. package/dist/settings/mcp/command-match.js.map +1 -0
  4552. package/dist/settings/mcp/entries.d.ts +35 -0
  4553. package/dist/settings/mcp/entries.d.ts.map +1 -0
  4554. package/dist/settings/mcp/entries.js +73 -0
  4555. package/dist/settings/mcp/entries.js.map +1 -0
  4556. package/dist/settings/mcp/entry-env.d.ts +28 -0
  4557. package/dist/settings/mcp/entry-env.d.ts.map +1 -0
  4558. package/dist/settings/mcp/entry-env.js +56 -0
  4559. package/dist/settings/mcp/entry-env.js.map +1 -0
  4560. package/dist/settings/mcp/exclusive.d.ts +95 -0
  4561. package/dist/settings/mcp/exclusive.d.ts.map +1 -0
  4562. package/dist/settings/mcp/exclusive.js +161 -0
  4563. package/dist/settings/mcp/exclusive.js.map +1 -0
  4564. package/dist/settings/mcp/index.d.ts +15 -0
  4565. package/dist/settings/mcp/index.d.ts.map +1 -0
  4566. package/dist/settings/mcp/index.js +15 -0
  4567. package/dist/settings/mcp/index.js.map +1 -0
  4568. package/dist/settings/mcp/lists.d.ts +20 -0
  4569. package/dist/settings/mcp/lists.d.ts.map +1 -0
  4570. package/dist/settings/mcp/lists.js +27 -0
  4571. package/dist/settings/mcp/lists.js.map +1 -0
  4572. package/dist/settings/mcp/load-settings.d.ts +33 -0
  4573. package/dist/settings/mcp/load-settings.d.ts.map +1 -0
  4574. package/dist/settings/mcp/load-settings.js +19 -0
  4575. package/dist/settings/mcp/load-settings.js.map +1 -0
  4576. package/dist/settings/mcp/managed-entry.d.ts +9 -0
  4577. package/dist/settings/mcp/managed-entry.d.ts.map +1 -0
  4578. package/dist/settings/mcp/managed-entry.js +67 -0
  4579. package/dist/settings/mcp/managed-entry.js.map +1 -0
  4580. package/dist/settings/mcp/managed-file.d.ts +31 -0
  4581. package/dist/settings/mcp/managed-file.d.ts.map +1 -0
  4582. package/dist/settings/mcp/managed-file.js +46 -0
  4583. package/dist/settings/mcp/managed-file.js.map +1 -0
  4584. package/dist/settings/mcp/managed-servers.d.ts +33 -0
  4585. package/dist/settings/mcp/managed-servers.d.ts.map +1 -0
  4586. package/dist/settings/mcp/managed-servers.js +54 -0
  4587. package/dist/settings/mcp/managed-servers.js.map +1 -0
  4588. package/dist/settings/mcp/managed-timing.d.ts +50 -0
  4589. package/dist/settings/mcp/managed-timing.d.ts.map +1 -0
  4590. package/dist/settings/mcp/managed-timing.js +61 -0
  4591. package/dist/settings/mcp/managed-timing.js.map +1 -0
  4592. package/dist/settings/mcp/managed.d.ts +27 -0
  4593. package/dist/settings/mcp/managed.d.ts.map +1 -0
  4594. package/dist/settings/mcp/managed.js +55 -0
  4595. package/dist/settings/mcp/managed.js.map +1 -0
  4596. package/dist/settings/mcp/origins.d.ts +20 -0
  4597. package/dist/settings/mcp/origins.d.ts.map +1 -0
  4598. package/dist/settings/mcp/origins.js +39 -0
  4599. package/dist/settings/mcp/origins.js.map +1 -0
  4600. package/dist/settings/mcp/policy.d.ts +52 -0
  4601. package/dist/settings/mcp/policy.d.ts.map +1 -0
  4602. package/dist/settings/mcp/policy.js +30 -0
  4603. package/dist/settings/mcp/policy.js.map +1 -0
  4604. package/dist/settings/mcp/scope.d.ts +40 -0
  4605. package/dist/settings/mcp/scope.d.ts.map +1 -0
  4606. package/dist/settings/mcp/scope.js +66 -0
  4607. package/dist/settings/mcp/scope.js.map +1 -0
  4608. package/dist/settings/mcp/toggles.d.ts +26 -0
  4609. package/dist/settings/mcp/toggles.d.ts.map +1 -0
  4610. package/dist/settings/mcp/toggles.js +42 -0
  4611. package/dist/settings/mcp/toggles.js.map +1 -0
  4612. package/dist/settings/mcp/url-pattern.d.ts +11 -0
  4613. package/dist/settings/mcp/url-pattern.d.ts.map +1 -0
  4614. package/dist/settings/mcp/url-pattern.js +66 -0
  4615. package/dist/settings/mcp/url-pattern.js.map +1 -0
  4616. package/dist/settings/merge.d.ts +50 -0
  4617. package/dist/settings/merge.d.ts.map +1 -0
  4618. package/dist/settings/merge.js +110 -0
  4619. package/dist/settings/merge.js.map +1 -0
  4620. package/dist/settings/paths.d.ts +14 -0
  4621. package/dist/settings/paths.d.ts.map +1 -0
  4622. package/dist/settings/paths.js +28 -0
  4623. package/dist/settings/paths.js.map +1 -0
  4624. package/dist/settings/permissions/auto-mode.d.ts +33 -0
  4625. package/dist/settings/permissions/auto-mode.d.ts.map +1 -0
  4626. package/dist/settings/permissions/auto-mode.js +99 -0
  4627. package/dist/settings/permissions/auto-mode.js.map +1 -0
  4628. package/dist/settings/permissions/default-mode.d.ts +75 -0
  4629. package/dist/settings/permissions/default-mode.d.ts.map +1 -0
  4630. package/dist/settings/permissions/default-mode.js +181 -0
  4631. package/dist/settings/permissions/default-mode.js.map +1 -0
  4632. package/dist/settings/permissions/index.d.ts +7 -0
  4633. package/dist/settings/permissions/index.d.ts.map +1 -0
  4634. package/dist/settings/permissions/index.js +6 -0
  4635. package/dist/settings/permissions/index.js.map +1 -0
  4636. package/dist/settings/permissions/managed-only.d.ts +36 -0
  4637. package/dist/settings/permissions/managed-only.d.ts.map +1 -0
  4638. package/dist/settings/permissions/managed-only.js +116 -0
  4639. package/dist/settings/permissions/managed-only.js.map +1 -0
  4640. package/dist/settings/permissions/merge.d.ts +19 -0
  4641. package/dist/settings/permissions/merge.d.ts.map +1 -0
  4642. package/dist/settings/permissions/merge.js +102 -0
  4643. package/dist/settings/permissions/merge.js.map +1 -0
  4644. package/dist/settings/permissions/policy.d.ts +41 -0
  4645. package/dist/settings/permissions/policy.d.ts.map +1 -0
  4646. package/dist/settings/permissions/policy.js +29 -0
  4647. package/dist/settings/permissions/policy.js.map +1 -0
  4648. package/dist/settings/permissions/read.d.ts +8 -0
  4649. package/dist/settings/permissions/read.d.ts.map +1 -0
  4650. package/dist/settings/permissions/read.js +184 -0
  4651. package/dist/settings/permissions/read.js.map +1 -0
  4652. package/dist/settings/permissions/running-mode.d.ts +20 -0
  4653. package/dist/settings/permissions/running-mode.d.ts.map +1 -0
  4654. package/dist/settings/permissions/running-mode.js +34 -0
  4655. package/dist/settings/permissions/running-mode.js.map +1 -0
  4656. package/dist/settings/permissions/sandbox-read-block.d.ts +59 -0
  4657. package/dist/settings/permissions/sandbox-read-block.d.ts.map +1 -0
  4658. package/dist/settings/permissions/sandbox-read-block.js +55 -0
  4659. package/dist/settings/permissions/sandbox-read-block.js.map +1 -0
  4660. package/dist/settings/permissions/start-notices.d.ts +22 -0
  4661. package/dist/settings/permissions/start-notices.d.ts.map +1 -0
  4662. package/dist/settings/permissions/start-notices.js +13 -0
  4663. package/dist/settings/permissions/start-notices.js.map +1 -0
  4664. package/dist/settings/plugins/enabled-plugins.d.ts +32 -0
  4665. package/dist/settings/plugins/enabled-plugins.d.ts.map +1 -0
  4666. package/dist/settings/plugins/enabled-plugins.js +48 -0
  4667. package/dist/settings/plugins/enabled-plugins.js.map +1 -0
  4668. package/dist/settings/plugins/index.d.ts +10 -0
  4669. package/dist/settings/plugins/index.d.ts.map +1 -0
  4670. package/dist/settings/plugins/index.js +10 -0
  4671. package/dist/settings/plugins/index.js.map +1 -0
  4672. package/dist/settings/plugins/mod-order.d.ts +47 -0
  4673. package/dist/settings/plugins/mod-order.d.ts.map +1 -0
  4674. package/dist/settings/plugins/mod-order.js +103 -0
  4675. package/dist/settings/plugins/mod-order.js.map +1 -0
  4676. package/dist/settings/plugins/plugin-config.d.ts +28 -0
  4677. package/dist/settings/plugins/plugin-config.d.ts.map +1 -0
  4678. package/dist/settings/plugins/plugin-config.js +80 -0
  4679. package/dist/settings/plugins/plugin-config.js.map +1 -0
  4680. package/dist/settings/plugins/plugin-id.d.ts +25 -0
  4681. package/dist/settings/plugins/plugin-id.d.ts.map +1 -0
  4682. package/dist/settings/plugins/plugin-id.js +15 -0
  4683. package/dist/settings/plugins/plugin-id.js.map +1 -0
  4684. package/dist/settings/plugins/policy.d.ts +20 -0
  4685. package/dist/settings/plugins/policy.d.ts.map +1 -0
  4686. package/dist/settings/plugins/policy.js +18 -0
  4687. package/dist/settings/plugins/policy.js.map +1 -0
  4688. package/dist/settings/plugins/suggestions.d.ts +20 -0
  4689. package/dist/settings/plugins/suggestions.d.ts.map +1 -0
  4690. package/dist/settings/plugins/suggestions.js +46 -0
  4691. package/dist/settings/plugins/suggestions.js.map +1 -0
  4692. package/dist/settings/plugins/sync-plugins.d.ts +31 -0
  4693. package/dist/settings/plugins/sync-plugins.d.ts.map +1 -0
  4694. package/dist/settings/plugins/sync-plugins.js +31 -0
  4695. package/dist/settings/plugins/sync-plugins.js.map +1 -0
  4696. package/dist/settings/plugins/trust-warning.d.ts +9 -0
  4697. package/dist/settings/plugins/trust-warning.d.ts.map +1 -0
  4698. package/dist/settings/plugins/trust-warning.js +20 -0
  4699. package/dist/settings/plugins/trust-warning.js.map +1 -0
  4700. package/dist/settings/read-layer.d.ts +8 -0
  4701. package/dist/settings/read-layer.d.ts.map +1 -0
  4702. package/dist/settings/read-layer.js +128 -0
  4703. package/dist/settings/read-layer.js.map +1 -0
  4704. package/dist/settings/repair/closed.d.ts +30 -0
  4705. package/dist/settings/repair/closed.d.ts.map +1 -0
  4706. package/dist/settings/repair/closed.js +76 -0
  4707. package/dist/settings/repair/closed.js.map +1 -0
  4708. package/dist/settings/repair/hooks.d.ts +12 -0
  4709. package/dist/settings/repair/hooks.d.ts.map +1 -0
  4710. package/dist/settings/repair/hooks.js +56 -0
  4711. package/dist/settings/repair/hooks.js.map +1 -0
  4712. package/dist/settings/repair/kinds.d.ts +14 -0
  4713. package/dist/settings/repair/kinds.d.ts.map +1 -0
  4714. package/dist/settings/repair/kinds.js +74 -0
  4715. package/dist/settings/repair/kinds.js.map +1 -0
  4716. package/dist/settings/repair/lists.d.ts +28 -0
  4717. package/dist/settings/repair/lists.d.ts.map +1 -0
  4718. package/dist/settings/repair/lists.js +121 -0
  4719. package/dist/settings/repair/lists.js.map +1 -0
  4720. package/dist/settings/repair/network.d.ts +3 -0
  4721. package/dist/settings/repair/network.d.ts.map +1 -0
  4722. package/dist/settings/repair/network.js +65 -0
  4723. package/dist/settings/repair/network.js.map +1 -0
  4724. package/dist/settings/repair/support.d.ts +59 -0
  4725. package/dist/settings/repair/support.d.ts.map +1 -0
  4726. package/dist/settings/repair/support.js +59 -0
  4727. package/dist/settings/repair/support.js.map +1 -0
  4728. package/dist/settings/repair/values.d.ts +39 -0
  4729. package/dist/settings/repair/values.d.ts.map +1 -0
  4730. package/dist/settings/repair/values.js +115 -0
  4731. package/dist/settings/repair/values.js.map +1 -0
  4732. package/dist/settings/resolve.d.ts +64 -0
  4733. package/dist/settings/resolve.d.ts.map +1 -0
  4734. package/dist/settings/resolve.js +69 -0
  4735. package/dist/settings/resolve.js.map +1 -0
  4736. package/dist/settings/skills/bundled.d.ts +25 -0
  4737. package/dist/settings/skills/bundled.d.ts.map +1 -0
  4738. package/dist/settings/skills/bundled.js +24 -0
  4739. package/dist/settings/skills/bundled.js.map +1 -0
  4740. package/dist/settings/skills/index.d.ts +7 -0
  4741. package/dist/settings/skills/index.d.ts.map +1 -0
  4742. package/dist/settings/skills/index.js +7 -0
  4743. package/dist/settings/skills/index.js.map +1 -0
  4744. package/dist/settings/skills/overrides.d.ts +27 -0
  4745. package/dist/settings/skills/overrides.d.ts.map +1 -0
  4746. package/dist/settings/skills/overrides.js +53 -0
  4747. package/dist/settings/skills/overrides.js.map +1 -0
  4748. package/dist/settings/skills/policy.d.ts +26 -0
  4749. package/dist/settings/skills/policy.d.ts.map +1 -0
  4750. package/dist/settings/skills/policy.js +22 -0
  4751. package/dist/settings/skills/policy.js.map +1 -0
  4752. package/dist/settings/skills/shell.d.ts +18 -0
  4753. package/dist/settings/skills/shell.d.ts.map +1 -0
  4754. package/dist/settings/skills/shell.js +38 -0
  4755. package/dist/settings/skills/shell.js.map +1 -0
  4756. package/dist/settings/skills/sync-skills.d.ts +12 -0
  4757. package/dist/settings/skills/sync-skills.d.ts.map +1 -0
  4758. package/dist/settings/skills/sync-skills.js +11 -0
  4759. package/dist/settings/skills/sync-skills.js.map +1 -0
  4760. package/dist/settings/sources.d.ts +48 -0
  4761. package/dist/settings/sources.d.ts.map +1 -0
  4762. package/dist/settings/sources.js +80 -0
  4763. package/dist/settings/sources.js.map +1 -0
  4764. package/dist/settings/value-spec.d.ts +42 -0
  4765. package/dist/settings/value-spec.d.ts.map +1 -0
  4766. package/dist/settings/value-spec.js +2 -0
  4767. package/dist/settings/value-spec.js.map +1 -0
  4768. package/dist/settings/view.d.ts +19 -0
  4769. package/dist/settings/view.d.ts.map +1 -0
  4770. package/dist/settings/view.js +82 -0
  4771. package/dist/settings/view.js.map +1 -0
  4772. package/dist/settings/workflows/enablement.d.ts +55 -0
  4773. package/dist/settings/workflows/enablement.d.ts.map +1 -0
  4774. package/dist/settings/workflows/enablement.js +63 -0
  4775. package/dist/settings/workflows/enablement.js.map +1 -0
  4776. package/dist/settings/workflows/index.d.ts +6 -0
  4777. package/dist/settings/workflows/index.d.ts.map +1 -0
  4778. package/dist/settings/workflows/index.js +6 -0
  4779. package/dist/settings/workflows/index.js.map +1 -0
  4780. package/dist/settings/workflows/keyword.d.ts +43 -0
  4781. package/dist/settings/workflows/keyword.d.ts.map +1 -0
  4782. package/dist/settings/workflows/keyword.js +78 -0
  4783. package/dist/settings/workflows/keyword.js.map +1 -0
  4784. package/dist/settings/workflows/policy.d.ts +15 -0
  4785. package/dist/settings/workflows/policy.d.ts.map +1 -0
  4786. package/dist/settings/workflows/policy.js +13 -0
  4787. package/dist/settings/workflows/policy.js.map +1 -0
  4788. package/dist/settings/workflows/size.d.ts +55 -0
  4789. package/dist/settings/workflows/size.d.ts.map +1 -0
  4790. package/dist/settings/workflows/size.js +40 -0
  4791. package/dist/settings/workflows/size.js.map +1 -0
  4792. package/dist/skills/arguments.d.ts +13 -0
  4793. package/dist/skills/arguments.d.ts.map +1 -0
  4794. package/dist/skills/arguments.js +37 -0
  4795. package/dist/skills/arguments.js.map +1 -0
  4796. package/dist/skills/command-entries.d.ts +35 -0
  4797. package/dist/skills/command-entries.d.ts.map +1 -0
  4798. package/dist/skills/command-entries.js +69 -0
  4799. package/dist/skills/command-entries.js.map +1 -0
  4800. package/dist/skills/execution.d.ts +116 -0
  4801. package/dist/skills/execution.d.ts.map +1 -0
  4802. package/dist/skills/execution.js +150 -0
  4803. package/dist/skills/execution.js.map +1 -0
  4804. package/dist/skills/expand-policy.d.ts +38 -0
  4805. package/dist/skills/expand-policy.d.ts.map +1 -0
  4806. package/dist/skills/expand-policy.js +41 -0
  4807. package/dist/skills/expand-policy.js.map +1 -0
  4808. package/dist/skills/expand-shell.d.ts +42 -0
  4809. package/dist/skills/expand-shell.d.ts.map +1 -0
  4810. package/dist/skills/expand-shell.js +102 -0
  4811. package/dist/skills/expand-shell.js.map +1 -0
  4812. package/dist/skills/expand-types.d.ts +91 -0
  4813. package/dist/skills/expand-types.d.ts.map +1 -0
  4814. package/dist/skills/expand-types.js +2 -0
  4815. package/dist/skills/expand-types.js.map +1 -0
  4816. package/dist/skills/expand.d.ts +17 -0
  4817. package/dist/skills/expand.d.ts.map +1 -0
  4818. package/dist/skills/expand.js +122 -0
  4819. package/dist/skills/expand.js.map +1 -0
  4820. package/dist/skills/file-references.d.ts +34 -0
  4821. package/dist/skills/file-references.d.ts.map +1 -0
  4822. package/dist/skills/file-references.js +28 -0
  4823. package/dist/skills/file-references.js.map +1 -0
  4824. package/dist/skills/folder-line.d.ts +9 -0
  4825. package/dist/skills/folder-line.d.ts.map +1 -0
  4826. package/dist/skills/folder-line.js +9 -0
  4827. package/dist/skills/folder-line.js.map +1 -0
  4828. package/dist/skills/fork.d.ts +47 -0
  4829. package/dist/skills/fork.d.ts.map +1 -0
  4830. package/dist/skills/fork.js +27 -0
  4831. package/dist/skills/fork.js.map +1 -0
  4832. package/dist/skills/hook-limits.d.ts +40 -0
  4833. package/dist/skills/hook-limits.d.ts.map +1 -0
  4834. package/dist/skills/hook-limits.js +54 -0
  4835. package/dist/skills/hook-limits.js.map +1 -0
  4836. package/dist/skills/index.d.ts +30 -0
  4837. package/dist/skills/index.d.ts.map +1 -0
  4838. package/dist/skills/index.js +29 -0
  4839. package/dist/skills/index.js.map +1 -0
  4840. package/dist/skills/invocation.d.ts +60 -0
  4841. package/dist/skills/invocation.d.ts.map +1 -0
  4842. package/dist/skills/invocation.js +75 -0
  4843. package/dist/skills/invocation.js.map +1 -0
  4844. package/dist/skills/lifecycle.d.ts +78 -0
  4845. package/dist/skills/lifecycle.d.ts.map +1 -0
  4846. package/dist/skills/lifecycle.js +89 -0
  4847. package/dist/skills/lifecycle.js.map +1 -0
  4848. package/dist/skills/listing.d.ts +84 -0
  4849. package/dist/skills/listing.d.ts.map +1 -0
  4850. package/dist/skills/listing.js +142 -0
  4851. package/dist/skills/listing.js.map +1 -0
  4852. package/dist/skills/lookup.d.ts +25 -0
  4853. package/dist/skills/lookup.d.ts.map +1 -0
  4854. package/dist/skills/lookup.js +34 -0
  4855. package/dist/skills/lookup.js.map +1 -0
  4856. package/dist/skills/mention.d.ts +48 -0
  4857. package/dist/skills/mention.d.ts.map +1 -0
  4858. package/dist/skills/mention.js +70 -0
  4859. package/dist/skills/mention.js.map +1 -0
  4860. package/dist/skills/path-gate.d.ts +32 -0
  4861. package/dist/skills/path-gate.d.ts.map +1 -0
  4862. package/dist/skills/path-gate.js +160 -0
  4863. package/dist/skills/path-gate.js.map +1 -0
  4864. package/dist/skills/portable.d.ts +20 -0
  4865. package/dist/skills/portable.d.ts.map +1 -0
  4866. package/dist/skills/portable.js +58 -0
  4867. package/dist/skills/portable.js.map +1 -0
  4868. package/dist/skills/scan/container.d.ts +28 -0
  4869. package/dist/skills/scan/container.d.ts.map +1 -0
  4870. package/dist/skills/scan/container.js +33 -0
  4871. package/dist/skills/scan/container.js.map +1 -0
  4872. package/dist/skills/scan/file-location.d.ts +12 -0
  4873. package/dist/skills/scan/file-location.d.ts.map +1 -0
  4874. package/dist/skills/scan/file-location.js +23 -0
  4875. package/dist/skills/scan/file-location.js.map +1 -0
  4876. package/dist/skills/scan/head.d.ts +3 -0
  4877. package/dist/skills/scan/head.d.ts.map +1 -0
  4878. package/dist/skills/scan/head.js +16 -0
  4879. package/dist/skills/scan/head.js.map +1 -0
  4880. package/dist/skills/scan/locations.d.ts +56 -0
  4881. package/dist/skills/scan/locations.d.ts.map +1 -0
  4882. package/dist/skills/scan/locations.js +92 -0
  4883. package/dist/skills/scan/locations.js.map +1 -0
  4884. package/dist/skills/scan/names.d.ts +21 -0
  4885. package/dist/skills/scan/names.d.ts.map +1 -0
  4886. package/dist/skills/scan/names.js +37 -0
  4887. package/dist/skills/scan/names.js.map +1 -0
  4888. package/dist/skills/scan/nested.d.ts +19 -0
  4889. package/dist/skills/scan/nested.d.ts.map +1 -0
  4890. package/dist/skills/scan/nested.js +13 -0
  4891. package/dist/skills/scan/nested.js.map +1 -0
  4892. package/dist/skills/scan/read.d.ts +25 -0
  4893. package/dist/skills/scan/read.d.ts.map +1 -0
  4894. package/dist/skills/scan/read.js +105 -0
  4895. package/dist/skills/scan/read.js.map +1 -0
  4896. package/dist/skills/scan/resolve.d.ts +58 -0
  4897. package/dist/skills/scan/resolve.d.ts.map +1 -0
  4898. package/dist/skills/scan/resolve.js +155 -0
  4899. package/dist/skills/scan/resolve.js.map +1 -0
  4900. package/dist/skills/scan/scan-types.d.ts +53 -0
  4901. package/dist/skills/scan/scan-types.d.ts.map +1 -0
  4902. package/dist/skills/scan/scan-types.js +8 -0
  4903. package/dist/skills/scan/scan-types.js.map +1 -0
  4904. package/dist/skills/scan/scan.d.ts +16 -0
  4905. package/dist/skills/scan/scan.d.ts.map +1 -0
  4906. package/dist/skills/scan/scan.js +88 -0
  4907. package/dist/skills/scan/scan.js.map +1 -0
  4908. package/dist/skills/shell-arguments.d.ts +27 -0
  4909. package/dist/skills/shell-arguments.d.ts.map +1 -0
  4910. package/dist/skills/shell-arguments.js +86 -0
  4911. package/dist/skills/shell-arguments.js.map +1 -0
  4912. package/dist/skills/shell-ports.d.ts +30 -0
  4913. package/dist/skills/shell-ports.d.ts.map +1 -0
  4914. package/dist/skills/shell-ports.js +2 -0
  4915. package/dist/skills/shell-ports.js.map +1 -0
  4916. package/dist/skills/shell-refusal.d.ts +4 -0
  4917. package/dist/skills/shell-refusal.d.ts.map +1 -0
  4918. package/dist/skills/shell-refusal.js +33 -0
  4919. package/dist/skills/shell-refusal.js.map +1 -0
  4920. package/dist/skills/shell-result.d.ts +36 -0
  4921. package/dist/skills/shell-result.d.ts.map +1 -0
  4922. package/dist/skills/shell-result.js +86 -0
  4923. package/dist/skills/shell-result.js.map +1 -0
  4924. package/dist/skills/shell-run.d.ts +78 -0
  4925. package/dist/skills/shell-run.d.ts.map +1 -0
  4926. package/dist/skills/shell-run.js +100 -0
  4927. package/dist/skills/shell-run.js.map +1 -0
  4928. package/dist/skills/shell-scan.d.ts +21 -0
  4929. package/dist/skills/shell-scan.d.ts.map +1 -0
  4930. package/dist/skills/shell-scan.js +51 -0
  4931. package/dist/skills/shell-scan.js.map +1 -0
  4932. package/dist/skills/shell-variables.d.ts +20 -0
  4933. package/dist/skills/shell-variables.d.ts.map +1 -0
  4934. package/dist/skills/shell-variables.js +23 -0
  4935. package/dist/skills/shell-variables.js.map +1 -0
  4936. package/dist/skills/skill-rule.d.ts +10 -0
  4937. package/dist/skills/skill-rule.d.ts.map +1 -0
  4938. package/dist/skills/skill-rule.js +45 -0
  4939. package/dist/skills/skill-rule.js.map +1 -0
  4940. package/dist/skills/stack.d.ts +36 -0
  4941. package/dist/skills/stack.d.ts.map +1 -0
  4942. package/dist/skills/stack.js +28 -0
  4943. package/dist/skills/stack.js.map +1 -0
  4944. package/dist/skills/substitute.d.ts +60 -0
  4945. package/dist/skills/substitute.d.ts.map +1 -0
  4946. package/dist/skills/substitute.js +136 -0
  4947. package/dist/skills/substitute.js.map +1 -0
  4948. package/dist/skills/variables.d.ts +104 -0
  4949. package/dist/skills/variables.d.ts.map +1 -0
  4950. package/dist/skills/variables.js +142 -0
  4951. package/dist/skills/variables.js.map +1 -0
  4952. package/dist/skills/visibility.d.ts +35 -0
  4953. package/dist/skills/visibility.d.ts.map +1 -0
  4954. package/dist/skills/visibility.js +32 -0
  4955. package/dist/skills/visibility.js.map +1 -0
  4956. package/dist/testing/index.d.ts +7 -0
  4957. package/dist/testing/index.d.ts.map +1 -0
  4958. package/dist/testing/index.js +7 -0
  4959. package/dist/testing/index.js.map +1 -0
  4960. package/dist/testing/mods/claude.d.ts +4 -0
  4961. package/dist/testing/mods/claude.d.ts.map +1 -0
  4962. package/dist/testing/mods/claude.js +55 -0
  4963. package/dist/testing/mods/claude.js.map +1 -0
  4964. package/dist/testing/mods/expect.d.ts +55 -0
  4965. package/dist/testing/mods/expect.d.ts.map +1 -0
  4966. package/dist/testing/mods/expect.js +111 -0
  4967. package/dist/testing/mods/expect.js.map +1 -0
  4968. package/dist/testing/mods/fake-ports.d.ts +23 -0
  4969. package/dist/testing/mods/fake-ports.d.ts.map +1 -0
  4970. package/dist/testing/mods/fake-ports.js +138 -0
  4971. package/dist/testing/mods/fake-ports.js.map +1 -0
  4972. package/dist/testing/mods/fallbacks.d.ts +7 -0
  4973. package/dist/testing/mods/fallbacks.d.ts.map +1 -0
  4974. package/dist/testing/mods/fallbacks.js +35 -0
  4975. package/dist/testing/mods/fallbacks.js.map +1 -0
  4976. package/dist/testing/mods/index.d.ts +12 -0
  4977. package/dist/testing/mods/index.d.ts.map +1 -0
  4978. package/dist/testing/mods/index.js +11 -0
  4979. package/dist/testing/mods/index.js.map +1 -0
  4980. package/dist/testing/mods/inline-files.d.ts +22 -0
  4981. package/dist/testing/mods/inline-files.d.ts.map +1 -0
  4982. package/dist/testing/mods/inline-files.js +87 -0
  4983. package/dist/testing/mods/inline-files.js.map +1 -0
  4984. package/dist/testing/mods/inline-runtime.d.ts +21 -0
  4985. package/dist/testing/mods/inline-runtime.d.ts.map +1 -0
  4986. package/dist/testing/mods/inline-runtime.js +71 -0
  4987. package/dist/testing/mods/inline-runtime.js.map +1 -0
  4988. package/dist/testing/mods/kit.d.ts +55 -0
  4989. package/dist/testing/mods/kit.d.ts.map +1 -0
  4990. package/dist/testing/mods/kit.js +53 -0
  4991. package/dist/testing/mods/kit.js.map +1 -0
  4992. package/dist/testing/mods/mock-clock.d.ts +16 -0
  4993. package/dist/testing/mods/mock-clock.d.ts.map +1 -0
  4994. package/dist/testing/mods/mock-clock.js +53 -0
  4995. package/dist/testing/mods/mock-clock.js.map +1 -0
  4996. package/dist/testing/mods/mock.d.ts +28 -0
  4997. package/dist/testing/mods/mock.d.ts.map +1 -0
  4998. package/dist/testing/mods/mock.js +45 -0
  4999. package/dist/testing/mods/mock.js.map +1 -0
  5000. package/dist/testing/mods/mount.d.ts +48 -0
  5001. package/dist/testing/mods/mount.d.ts.map +1 -0
  5002. package/dist/testing/mods/mount.js +84 -0
  5003. package/dist/testing/mods/mount.js.map +1 -0
  5004. package/dist/testing/mods/ports.d.ts +23 -0
  5005. package/dist/testing/mods/ports.d.ts.map +1 -0
  5006. package/dist/testing/mods/ports.js +10 -0
  5007. package/dist/testing/mods/ports.js.map +1 -0
  5008. package/dist/testing/mods/runner.d.ts +34 -0
  5009. package/dist/testing/mods/runner.d.ts.map +1 -0
  5010. package/dist/testing/mods/runner.js +147 -0
  5011. package/dist/testing/mods/runner.js.map +1 -0
  5012. package/dist/testing/mods/stubs.d.ts +25 -0
  5013. package/dist/testing/mods/stubs.d.ts.map +1 -0
  5014. package/dist/testing/mods/stubs.js +73 -0
  5015. package/dist/testing/mods/stubs.js.map +1 -0
  5016. package/dist/testing/mods/world.d.ts +47 -0
  5017. package/dist/testing/mods/world.d.ts.map +1 -0
  5018. package/dist/testing/mods/world.js +145 -0
  5019. package/dist/testing/mods/world.js.map +1 -0
  5020. package/dist/testing/ports/clock.d.ts +11 -0
  5021. package/dist/testing/ports/clock.d.ts.map +1 -0
  5022. package/dist/testing/ports/clock.js +39 -0
  5023. package/dist/testing/ports/clock.js.map +1 -0
  5024. package/dist/testing/ports/environment.d.ts +8 -0
  5025. package/dist/testing/ports/environment.d.ts.map +1 -0
  5026. package/dist/testing/ports/environment.js +20 -0
  5027. package/dist/testing/ports/environment.js.map +1 -0
  5028. package/dist/testing/ports/files.d.ts +32 -0
  5029. package/dist/testing/ports/files.d.ts.map +1 -0
  5030. package/dist/testing/ports/files.js +151 -0
  5031. package/dist/testing/ports/files.js.map +1 -0
  5032. package/dist/testing/ports/folders.d.ts +24 -0
  5033. package/dist/testing/ports/folders.d.ts.map +1 -0
  5034. package/dist/testing/ports/folders.js +159 -0
  5035. package/dist/testing/ports/folders.js.map +1 -0
  5036. package/dist/testing/ports/http.d.ts +10 -0
  5037. package/dist/testing/ports/http.d.ts.map +1 -0
  5038. package/dist/testing/ports/http.js +42 -0
  5039. package/dist/testing/ports/http.js.map +1 -0
  5040. package/dist/testing/ports/index.d.ts +15 -0
  5041. package/dist/testing/ports/index.d.ts.map +1 -0
  5042. package/dist/testing/ports/index.js +15 -0
  5043. package/dist/testing/ports/index.js.map +1 -0
  5044. package/dist/testing/ports/locations.d.ts +16 -0
  5045. package/dist/testing/ports/locations.d.ts.map +1 -0
  5046. package/dist/testing/ports/locations.js +19 -0
  5047. package/dist/testing/ports/locations.js.map +1 -0
  5048. package/dist/testing/ports/mcp.d.ts +12 -0
  5049. package/dist/testing/ports/mcp.d.ts.map +1 -0
  5050. package/dist/testing/ports/mcp.js +15 -0
  5051. package/dist/testing/ports/mcp.js.map +1 -0
  5052. package/dist/testing/ports/model.d.ts +12 -0
  5053. package/dist/testing/ports/model.d.ts.map +1 -0
  5054. package/dist/testing/ports/model.js +17 -0
  5055. package/dist/testing/ports/model.js.map +1 -0
  5056. package/dist/testing/ports/runner.d.ts +11 -0
  5057. package/dist/testing/ports/runner.d.ts.map +1 -0
  5058. package/dist/testing/ports/runner.js +21 -0
  5059. package/dist/testing/ports/runner.js.map +1 -0
  5060. package/dist/testing/rows/index.d.ts +34 -0
  5061. package/dist/testing/rows/index.d.ts.map +1 -0
  5062. package/dist/testing/rows/index.js +75 -0
  5063. package/dist/testing/rows/index.js.map +1 -0
  5064. package/dist/updates/auto-update-pass.d.ts +53 -0
  5065. package/dist/updates/auto-update-pass.d.ts.map +1 -0
  5066. package/dist/updates/auto-update-pass.js +46 -0
  5067. package/dist/updates/auto-update-pass.js.map +1 -0
  5068. package/dist/updates/auto-update-precedence.d.ts +71 -0
  5069. package/dist/updates/auto-update-precedence.d.ts.map +1 -0
  5070. package/dist/updates/auto-update-precedence.js +71 -0
  5071. package/dist/updates/auto-update-precedence.js.map +1 -0
  5072. package/dist/updates/auto-update-skips.d.ts +31 -0
  5073. package/dist/updates/auto-update-skips.d.ts.map +1 -0
  5074. package/dist/updates/auto-update-skips.js +28 -0
  5075. package/dist/updates/auto-update-skips.js.map +1 -0
  5076. package/dist/updates/claude-code-version-policy.d.ts +101 -0
  5077. package/dist/updates/claude-code-version-policy.d.ts.map +1 -0
  5078. package/dist/updates/claude-code-version-policy.js +155 -0
  5079. package/dist/updates/claude-code-version-policy.js.map +1 -0
  5080. package/dist/updates/command-source-rerun.d.ts +98 -0
  5081. package/dist/updates/command-source-rerun.d.ts.map +1 -0
  5082. package/dist/updates/command-source-rerun.js +120 -0
  5083. package/dist/updates/command-source-rerun.js.map +1 -0
  5084. package/dist/updates/env-flags.d.ts +16 -0
  5085. package/dist/updates/env-flags.d.ts.map +1 -0
  5086. package/dist/updates/env-flags.js +16 -0
  5087. package/dist/updates/env-flags.js.map +1 -0
  5088. package/dist/updates/index.d.ts +10 -0
  5089. package/dist/updates/index.d.ts.map +1 -0
  5090. package/dist/updates/index.js +10 -0
  5091. package/dist/updates/index.js.map +1 -0
  5092. package/dist/updates/private-marketplace.d.ts +53 -0
  5093. package/dist/updates/private-marketplace.d.ts.map +1 -0
  5094. package/dist/updates/private-marketplace.js +40 -0
  5095. package/dist/updates/private-marketplace.js.map +1 -0
  5096. package/dist/updates/refresh-before-install.d.ts +72 -0
  5097. package/dist/updates/refresh-before-install.d.ts.map +1 -0
  5098. package/dist/updates/refresh-before-install.js +127 -0
  5099. package/dist/updates/refresh-before-install.js.map +1 -0
  5100. package/dist/updates/update-targets.d.ts +54 -0
  5101. package/dist/updates/update-targets.d.ts.map +1 -0
  5102. package/dist/updates/update-targets.js +54 -0
  5103. package/dist/updates/update-targets.js.map +1 -0
  5104. package/package.json +249 -4
  5105. package/src/agents/builtin-model.ts +61 -0
  5106. package/src/agents/catalog/builtin.ts +117 -0
  5107. package/src/agents/catalog/index.ts +51 -0
  5108. package/src/agents/catalog/invoke.ts +227 -0
  5109. package/src/agents/catalog/resolve.ts +220 -0
  5110. package/src/agents/catalog/scan.ts +166 -0
  5111. package/src/agents/catalog/scopes.ts +69 -0
  5112. package/src/agents/catalog/spawn.ts +129 -0
  5113. package/src/agents/catalog/types.ts +104 -0
  5114. package/src/agents/handback-denial.ts +18 -0
  5115. package/src/agents/hooks.ts +190 -0
  5116. package/src/agents/index.ts +111 -0
  5117. package/src/agents/launch-model.ts +175 -0
  5118. package/src/agents/launch.ts +186 -0
  5119. package/src/agents/mcp-scope.ts +200 -0
  5120. package/src/agents/memory.ts +143 -0
  5121. package/src/agents/model-choice.ts +86 -0
  5122. package/src/agents/model-value.ts +40 -0
  5123. package/src/agents/permission-baseline.ts +83 -0
  5124. package/src/agents/permission-mode.ts +81 -0
  5125. package/src/agents/preload-skills.ts +47 -0
  5126. package/src/agents/prompt-surface.ts +23 -0
  5127. package/src/agents/subagent-permission.ts +70 -0
  5128. package/src/agents/teammate.ts +125 -0
  5129. package/src/agents/tool-filters.ts +109 -0
  5130. package/src/agents/tool-list.ts +66 -0
  5131. package/src/agents/tool-resolution.ts +213 -0
  5132. package/src/agents/workflow/args.ts +29 -0
  5133. package/src/agents/workflow/attempts.ts +186 -0
  5134. package/src/agents/workflow/index.ts +24 -0
  5135. package/src/agents/workflow/limits.ts +93 -0
  5136. package/src/agents/workflow/relaunch.ts +93 -0
  5137. package/src/agents/workflow/replay.ts +138 -0
  5138. package/src/agents/workflow/saved-scan.ts +114 -0
  5139. package/src/agents/workflow/saved.ts +142 -0
  5140. package/src/agents/workflow/structured-output.ts +112 -0
  5141. package/src/agents/workflow/usage-limit.ts +82 -0
  5142. package/src/cli/background-session.ts +111 -0
  5143. package/src/cli/clean-configuration.ts +78 -0
  5144. package/src/cli/command-acceptance.ts +139 -0
  5145. package/src/cli/command-table.ts +142 -0
  5146. package/src/cli/configure-dialog.ts +41 -0
  5147. package/src/cli/configure-plan.ts +213 -0
  5148. package/src/cli/disable-plan.ts +111 -0
  5149. package/src/cli/enable-plan.ts +72 -0
  5150. package/src/cli/flags/add-dir.ts +82 -0
  5151. package/src/cli/flags/agents.ts +111 -0
  5152. package/src/cli/flags/channels.ts +77 -0
  5153. package/src/cli/flags/customizations.ts +62 -0
  5154. package/src/cli/flags/mcp.ts +151 -0
  5155. package/src/cli/flags/modes.ts +49 -0
  5156. package/src/cli/flags/plugins.ts +84 -0
  5157. package/src/cli/flags/registry.ts +41 -0
  5158. package/src/cli/flags/session.ts +58 -0
  5159. package/src/cli/flags/settings.ts +73 -0
  5160. package/src/cli/flags/sideload.ts +44 -0
  5161. package/src/cli/flags/subagent-prompt.ts +56 -0
  5162. package/src/cli/flags/types.ts +193 -0
  5163. package/src/cli/flags/values.ts +19 -0
  5164. package/src/cli/index.ts +259 -0
  5165. package/src/cli/install-config.ts +150 -0
  5166. package/src/cli/install-lookup.ts +133 -0
  5167. package/src/cli/install-plan.ts +295 -0
  5168. package/src/cli/install-refusals.ts +17 -0
  5169. package/src/cli/install-start.ts +163 -0
  5170. package/src/cli/lfs-pointer-line.ts +13 -0
  5171. package/src/cli/marketplace-add.ts +249 -0
  5172. package/src/cli/marketplace-list.ts +150 -0
  5173. package/src/cli/marketplace-remove.ts +181 -0
  5174. package/src/cli/marketplace-update.ts +140 -0
  5175. package/src/cli/plugin-details.ts +92 -0
  5176. package/src/cli/plugin-list.ts +217 -0
  5177. package/src/cli/plugin-ref.ts +30 -0
  5178. package/src/cli/prune-plan.ts +105 -0
  5179. package/src/cli/records-refusal.ts +22 -0
  5180. package/src/cli/result.ts +181 -0
  5181. package/src/cli/scope.ts +168 -0
  5182. package/src/cli/session-flags.ts +117 -0
  5183. package/src/cli/tag-plan.ts +111 -0
  5184. package/src/cli/toggle-target.ts +155 -0
  5185. package/src/cli/uninstall-data.ts +96 -0
  5186. package/src/cli/uninstall-flags.ts +15 -0
  5187. package/src/cli/uninstall-plan.ts +295 -0
  5188. package/src/cli/uninstall-refusal.ts +37 -0
  5189. package/src/cli/update-facts.ts +53 -0
  5190. package/src/cli/update-locate.ts +91 -0
  5191. package/src/cli/update-plan.ts +215 -0
  5192. package/src/cli/user-config-input.ts +108 -0
  5193. package/src/cli/validate-advice.ts +79 -0
  5194. package/src/cli/validate-run.ts +202 -0
  5195. package/src/convert/adapters/claude-code-runner-source.ts +166 -0
  5196. package/src/convert/adapters/core-profiles-source.ts +162 -0
  5197. package/src/convert/adapters/core-runner-source.ts +161 -0
  5198. package/src/convert/adapters/registration.ts +155 -0
  5199. package/src/convert/adapters/sources.ts +52 -0
  5200. package/src/convert/convert-package.ts +115 -0
  5201. package/src/convert/index.ts +12 -0
  5202. package/src/convert/judge.ts +41 -0
  5203. package/src/convert/namespaces.ts +59 -0
  5204. package/src/convert/notes.ts +46 -0
  5205. package/src/convert/overlay.ts +65 -0
  5206. package/src/convert/placeholders.ts +87 -0
  5207. package/src/convert/profiles.ts +45 -0
  5208. package/src/convert/skill-body.ts +37 -0
  5209. package/src/convert/to-claude-code/hooks.ts +155 -0
  5210. package/src/convert/to-claude-code/index.ts +46 -0
  5211. package/src/convert/to-claude-code/manifest.ts +80 -0
  5212. package/src/convert/to-claude-code/mcp.ts +115 -0
  5213. package/src/convert/to-claude-code/skills.ts +25 -0
  5214. package/src/convert/to-core/components.ts +58 -0
  5215. package/src/convert/to-core/hook-matchers.ts +55 -0
  5216. package/src/convert/to-core/hooks.ts +174 -0
  5217. package/src/convert/to-core/index.ts +59 -0
  5218. package/src/convert/to-core/manifest.ts +49 -0
  5219. package/src/convert/to-core/mcp.ts +145 -0
  5220. package/src/convert/to-core/skills.ts +65 -0
  5221. package/src/convert/types.ts +50 -0
  5222. package/src/entry/agents.ts +7 -0
  5223. package/src/entry/cli.ts +2 -0
  5224. package/src/entry/core.ts +4 -0
  5225. package/src/entry/elicitation.ts +24 -0
  5226. package/src/entry/format.ts +19 -0
  5227. package/src/entry/hooks.ts +17 -0
  5228. package/src/entry/layout.ts +2 -0
  5229. package/src/entry/loading.ts +2 -0
  5230. package/src/entry/marketplace.ts +5 -0
  5231. package/src/entry/mod-elements.ts +8 -0
  5232. package/src/entry/mod-isolate.ts +32 -0
  5233. package/src/entry/mods.ts +84 -0
  5234. package/src/entry/rules.ts +7 -0
  5235. package/src/entry/sdk.ts +4 -0
  5236. package/src/entry/settings.ts +26 -0
  5237. package/src/entry/skills.ts +2 -0
  5238. package/src/format/agent-field-read.ts +56 -0
  5239. package/src/format/agent-fields.ts +197 -0
  5240. package/src/format/agent-flag.ts +143 -0
  5241. package/src/format/agent-hooks-field.ts +19 -0
  5242. package/src/format/agent-name.ts +68 -0
  5243. package/src/format/agent-record.ts +93 -0
  5244. package/src/format/agent-scalars.ts +141 -0
  5245. package/src/format/agent-unrecognized.ts +61 -0
  5246. package/src/format/agent.ts +166 -0
  5247. package/src/format/bundled-skill.ts +48 -0
  5248. package/src/format/canonical-json.ts +20 -0
  5249. package/src/format/code-points.ts +10 -0
  5250. package/src/format/command.ts +211 -0
  5251. package/src/format/component-source.ts +19 -0
  5252. package/src/format/config-directory.ts +47 -0
  5253. package/src/format/core/command.ts +41 -0
  5254. package/src/format/core/document.ts +45 -0
  5255. package/src/format/core/dual.ts +121 -0
  5256. package/src/format/core/extensions.ts +34 -0
  5257. package/src/format/core/hooks.ts +153 -0
  5258. package/src/format/core/icon.ts +31 -0
  5259. package/src/format/core/index.ts +55 -0
  5260. package/src/format/core/manifest.ts +187 -0
  5261. package/src/format/core/mcp-server.ts +164 -0
  5262. package/src/format/core/mcp.ts +68 -0
  5263. package/src/format/core/name.ts +26 -0
  5264. package/src/format/core/placeholders.ts +88 -0
  5265. package/src/format/core/remote.ts +70 -0
  5266. package/src/format/core/skill.ts +89 -0
  5267. package/src/format/core/subprocess.ts +106 -0
  5268. package/src/format/core/versions.ts +47 -0
  5269. package/src/format/credential-env.ts +166 -0
  5270. package/src/format/defined.ts +15 -0
  5271. package/src/format/env-flag.ts +17 -0
  5272. package/src/format/env-number.ts +36 -0
  5273. package/src/format/frontmatter-render.ts +131 -0
  5274. package/src/format/frontmatter-values.ts +169 -0
  5275. package/src/format/frontmatter-write.ts +83 -0
  5276. package/src/format/frontmatter.ts +193 -0
  5277. package/src/format/helper-credentials.ts +48 -0
  5278. package/src/format/helper-headers.ts +33 -0
  5279. package/src/format/hooks-handlers.ts +143 -0
  5280. package/src/format/hooks-settings.ts +232 -0
  5281. package/src/format/host-errors.ts +195 -0
  5282. package/src/format/index.ts +206 -0
  5283. package/src/format/issues.ts +37 -0
  5284. package/src/format/js-literal.ts +204 -0
  5285. package/src/format/js-parse.ts +52 -0
  5286. package/src/format/js-tokens.ts +293 -0
  5287. package/src/format/layout.ts +195 -0
  5288. package/src/format/link-rule.ts +41 -0
  5289. package/src/format/listing.ts +21 -0
  5290. package/src/format/load-files.ts +33 -0
  5291. package/src/format/locate.ts +110 -0
  5292. package/src/format/lsp-config.ts +137 -0
  5293. package/src/format/lsp-schema.ts +63 -0
  5294. package/src/format/manifest-schema.ts +144 -0
  5295. package/src/format/manifest.ts +99 -0
  5296. package/src/format/marketplace/archive-url.ts +29 -0
  5297. package/src/format/marketplace/blocked-hosts.ts +81 -0
  5298. package/src/format/marketplace/display-fields.ts +63 -0
  5299. package/src/format/marketplace/entries.ts +209 -0
  5300. package/src/format/marketplace/entry-append.ts +77 -0
  5301. package/src/format/marketplace/entry-checks.ts +197 -0
  5302. package/src/format/marketplace/entry-merge.ts +208 -0
  5303. package/src/format/marketplace/entry-schema.ts +109 -0
  5304. package/src/format/marketplace/header-names.ts +40 -0
  5305. package/src/format/marketplace/ids.ts +120 -0
  5306. package/src/format/marketplace/index.ts +67 -0
  5307. package/src/format/marketplace/marketplace-name-lists.ts +76 -0
  5308. package/src/format/marketplace/marketplace-names.ts +276 -0
  5309. package/src/format/marketplace/marketplace-schema.ts +246 -0
  5310. package/src/format/marketplace/marketplace-source.ts +271 -0
  5311. package/src/format/marketplace/marketplace.ts +212 -0
  5312. package/src/format/marketplace/plugin-source-fields.ts +124 -0
  5313. package/src/format/marketplace/plugin-source-kinds.ts +141 -0
  5314. package/src/format/marketplace/plugin-source.ts +109 -0
  5315. package/src/format/marketplace/relevance.ts +116 -0
  5316. package/src/format/marketplace/renames.ts +74 -0
  5317. package/src/format/marketplace/schema-issues.ts +20 -0
  5318. package/src/format/marketplace/settings-source-plugins.ts +102 -0
  5319. package/src/format/marketplace/source-failures.ts +13 -0
  5320. package/src/format/marketplace/types.ts +239 -0
  5321. package/src/format/mcp-add-json.ts +220 -0
  5322. package/src/format/mcp-add.ts +259 -0
  5323. package/src/format/mcp-bundles.ts +118 -0
  5324. package/src/format/mcp-config.ts +240 -0
  5325. package/src/format/mcp-contract.ts +133 -0
  5326. package/src/format/mcp-elicitation-check.ts +116 -0
  5327. package/src/format/mcp-elicitation-form.ts +200 -0
  5328. package/src/format/mcp-elicitation.ts +179 -0
  5329. package/src/format/mcp-endpoint.ts +32 -0
  5330. package/src/format/mcp-env.ts +287 -0
  5331. package/src/format/mcp-knobs.ts +242 -0
  5332. package/src/format/mcp-oauth-schema.ts +20 -0
  5333. package/src/format/mcp-oauth.ts +250 -0
  5334. package/src/format/mcp-output.ts +226 -0
  5335. package/src/format/mcp-plugin-display.ts +56 -0
  5336. package/src/format/mcp-prompts.ts +83 -0
  5337. package/src/format/mcp-reload.ts +78 -0
  5338. package/src/format/mcp-reserved.ts +40 -0
  5339. package/src/format/mcp-schema-check.ts +187 -0
  5340. package/src/format/mcp-sources.ts +203 -0
  5341. package/src/format/mcp-startup.ts +258 -0
  5342. package/src/format/mcp-tool-schema.ts +242 -0
  5343. package/src/format/mcp-tool.ts +162 -0
  5344. package/src/format/mcpb-manifest.ts +170 -0
  5345. package/src/format/memory-rule.ts +53 -0
  5346. package/src/format/messages.ts +57 -0
  5347. package/src/format/mod-files.ts +113 -0
  5348. package/src/format/model-id.ts +13 -0
  5349. package/src/format/monitor-schema.ts +52 -0
  5350. package/src/format/monitors.ts +112 -0
  5351. package/src/format/names.ts +124 -0
  5352. package/src/format/output-style-command.ts +69 -0
  5353. package/src/format/output-style-select.ts +194 -0
  5354. package/src/format/output-style-system.ts +24 -0
  5355. package/src/format/output-style.ts +125 -0
  5356. package/src/format/path-escape.ts +83 -0
  5357. package/src/format/path-text.ts +96 -0
  5358. package/src/format/permission-rule-shape.ts +32 -0
  5359. package/src/format/plugin-settings.ts +70 -0
  5360. package/src/format/read-json.ts +56 -0
  5361. package/src/format/remote-mcp-credentials.ts +94 -0
  5362. package/src/format/settings-files.ts +15 -0
  5363. package/src/format/skill-field-readers.ts +96 -0
  5364. package/src/format/skill-fields.ts +176 -0
  5365. package/src/format/skill-name.ts +230 -0
  5366. package/src/format/skill-types.ts +246 -0
  5367. package/src/format/skill.ts +80 -0
  5368. package/src/format/strict-keys.ts +18 -0
  5369. package/src/format/theme-color.ts +63 -0
  5370. package/src/format/theme-tokens.ts +107 -0
  5371. package/src/format/theme-write.ts +45 -0
  5372. package/src/format/theme.ts +194 -0
  5373. package/src/format/token-estimate.ts +11 -0
  5374. package/src/format/user-config-options.ts +97 -0
  5375. package/src/format/user-config-refs.ts +44 -0
  5376. package/src/format/utf8.ts +20 -0
  5377. package/src/format/validate/component-frontmatter.ts +181 -0
  5378. package/src/format/validate/finding.ts +59 -0
  5379. package/src/format/validate/hook-handlers.ts +81 -0
  5380. package/src/format/validate/hooks-check.ts +89 -0
  5381. package/src/format/validate/inline-sources.ts +29 -0
  5382. package/src/format/validate/mcp-check.ts +170 -0
  5383. package/src/format/validate/mcp-remote-checks.ts +76 -0
  5384. package/src/format/validate/path-claims.ts +88 -0
  5385. package/src/format/validate/plugin-fields.ts +147 -0
  5386. package/src/format/validate/plugin-manifest.ts +164 -0
  5387. package/src/format/validate/plugin-name.ts +47 -0
  5388. package/src/format/validate/plugin-paths.ts +140 -0
  5389. package/src/format/validate/received.ts +17 -0
  5390. package/src/format/validate/shell-command.ts +47 -0
  5391. package/src/format/validate/unknown-fields.ts +138 -0
  5392. package/src/format/validate/zod-findings.ts +19 -0
  5393. package/src/format/versions.ts +28 -0
  5394. package/src/format/wildcard.ts +34 -0
  5395. package/src/format/workflow-meta-rewrite.ts +134 -0
  5396. package/src/format/workflow-meta.ts +216 -0
  5397. package/src/format/workflow-script.ts +205 -0
  5398. package/src/foundation/budget.ts +105 -0
  5399. package/src/foundation/folder-read.ts +33 -0
  5400. package/src/foundation/folder-walk.ts +133 -0
  5401. package/src/foundation/freeze.ts +72 -0
  5402. package/src/foundation/index.ts +14 -0
  5403. package/src/foundation/json-size.ts +20 -0
  5404. package/src/foundation/json-value.ts +18 -0
  5405. package/src/foundation/plain-data.ts +130 -0
  5406. package/src/foundation/project-directories.ts +22 -0
  5407. package/src/foundation/run-each.ts +18 -0
  5408. package/src/foundation/scope-folders.ts +218 -0
  5409. package/src/hooks/assemble.ts +139 -0
  5410. package/src/hooks/contracts.ts +148 -0
  5411. package/src/hooks/core/combine.ts +194 -0
  5412. package/src/hooks/core/input.ts +145 -0
  5413. package/src/hooks/core/output.ts +116 -0
  5414. package/src/hooks/core/profile-results.ts +170 -0
  5415. package/src/hooks/core/profiles.ts +104 -0
  5416. package/src/hooks/core/run.ts +66 -0
  5417. package/src/hooks/core/types.ts +66 -0
  5418. package/src/hooks/dispatch.ts +199 -0
  5419. package/src/hooks/engine.ts +142 -0
  5420. package/src/hooks/env-file/events.ts +36 -0
  5421. package/src/hooks/env-file/files.ts +82 -0
  5422. package/src/hooks/env-file/index.ts +15 -0
  5423. package/src/hooks/env-file/ports.ts +27 -0
  5424. package/src/hooks/env-file/powershell-reader.ts +118 -0
  5425. package/src/hooks/handlers/command/async.ts +94 -0
  5426. package/src/hooks/handlers/command/cwd-fallback.ts +38 -0
  5427. package/src/hooks/handlers/command/env.ts +65 -0
  5428. package/src/hooks/handlers/command/plan.ts +92 -0
  5429. package/src/hooks/handlers/command/run-command.ts +90 -0
  5430. package/src/hooks/handlers/command/shell.ts +13 -0
  5431. package/src/hooks/handlers/command/subprocess-env.ts +118 -0
  5432. package/src/hooks/handlers/context.ts +160 -0
  5433. package/src/hooks/handlers/index.ts +37 -0
  5434. package/src/hooks/handlers/registry.ts +58 -0
  5435. package/src/hooks/handlers/remote/agent.ts +31 -0
  5436. package/src/hooks/handlers/remote/concurrency.ts +54 -0
  5437. package/src/hooks/handlers/remote/failure-run.ts +35 -0
  5438. package/src/hooks/handlers/remote/http-env.ts +44 -0
  5439. package/src/hooks/handlers/remote/http-policy.ts +64 -0
  5440. package/src/hooks/handlers/remote/http.ts +52 -0
  5441. package/src/hooks/handlers/remote/mcp-input.ts +78 -0
  5442. package/src/hooks/handlers/remote/mcp-tool.ts +148 -0
  5443. package/src/hooks/handlers/remote/model-run.ts +46 -0
  5444. package/src/hooks/handlers/remote/ok-false.ts +139 -0
  5445. package/src/hooks/handlers/remote/prompt-response.ts +72 -0
  5446. package/src/hooks/handlers/remote/prompt-text.ts +25 -0
  5447. package/src/hooks/handlers/remote/prompt.ts +20 -0
  5448. package/src/hooks/handlers/remote/types.ts +44 -0
  5449. package/src/hooks/handlers/status.ts +43 -0
  5450. package/src/hooks/handlers/timeouts.ts +148 -0
  5451. package/src/hooks/index.ts +27 -0
  5452. package/src/hooks/input/background-tasks.ts +71 -0
  5453. package/src/hooks/input/build.ts +79 -0
  5454. package/src/hooks/input/common.ts +147 -0
  5455. package/src/hooks/input/conditional-fields.ts +126 -0
  5456. package/src/hooks/input/fact-read.ts +13 -0
  5457. package/src/hooks/input/facts-agents.ts +93 -0
  5458. package/src/hooks/input/facts-misc.ts +83 -0
  5459. package/src/hooks/input/facts-model.ts +30 -0
  5460. package/src/hooks/input/facts-session.ts +63 -0
  5461. package/src/hooks/input/facts-shared.ts +24 -0
  5462. package/src/hooks/input/facts-tools.ts +73 -0
  5463. package/src/hooks/input/facts.ts +66 -0
  5464. package/src/hooks/input/index.ts +5 -0
  5465. package/src/hooks/input/permission-mode.ts +13 -0
  5466. package/src/hooks/interrupt.ts +94 -0
  5467. package/src/hooks/outcome.ts +69 -0
  5468. package/src/hooks/output/background.ts +43 -0
  5469. package/src/hooks/output/caps.ts +89 -0
  5470. package/src/hooks/output/classifier-note.ts +85 -0
  5471. package/src/hooks/output/defer.ts +55 -0
  5472. package/src/hooks/output/effects.ts +86 -0
  5473. package/src/hooks/output/fields.ts +51 -0
  5474. package/src/hooks/output/finalize.ts +62 -0
  5475. package/src/hooks/output/index.ts +25 -0
  5476. package/src/hooks/output/limit.ts +143 -0
  5477. package/src/hooks/output/merge-gates.ts +165 -0
  5478. package/src/hooks/output/merge-rules.ts +48 -0
  5479. package/src/hooks/output/merge-simple.ts +269 -0
  5480. package/src/hooks/output/merge.ts +231 -0
  5481. package/src/hooks/output/messages.ts +47 -0
  5482. package/src/hooks/output/parse.ts +81 -0
  5483. package/src/hooks/output/permission-request-outcome.ts +41 -0
  5484. package/src/hooks/output/permission-update.ts +81 -0
  5485. package/src/hooks/output/pre-tool-use-outcome.ts +19 -0
  5486. package/src/hooks/output/reminder-tags.ts +9 -0
  5487. package/src/hooks/output/schemas-common.ts +38 -0
  5488. package/src/hooks/output/schemas-elicitation.ts +23 -0
  5489. package/src/hooks/output/schemas-misc.ts +41 -0
  5490. package/src/hooks/output/schemas-session.ts +67 -0
  5491. package/src/hooks/output/schemas-tool.ts +60 -0
  5492. package/src/hooks/output/schemas.ts +93 -0
  5493. package/src/hooks/output/stage.ts +23 -0
  5494. package/src/hooks/output/terminal-sequence.ts +59 -0
  5495. package/src/hooks/output/text-cap.ts +81 -0
  5496. package/src/hooks/output/tool-output.ts +30 -0
  5497. package/src/hooks/output/tool-shape.ts +106 -0
  5498. package/src/hooks/output/tool-shapes/index.ts +18 -0
  5499. package/src/hooks/output/tool-shapes/shapes-0.ts +213 -0
  5500. package/src/hooks/output/tool-shapes/shapes-1.ts +251 -0
  5501. package/src/hooks/output/tool-shapes/shapes-2.ts +172 -0
  5502. package/src/hooks/output/tool-shapes/shapes-3.ts +179 -0
  5503. package/src/hooks/output/tool-shapes/shapes-4.ts +230 -0
  5504. package/src/hooks/output/tool-shapes/shapes-5.ts +105 -0
  5505. package/src/hooks/output/watch-paths.ts +21 -0
  5506. package/src/hooks/output/worktree-path.ts +179 -0
  5507. package/src/hooks/register.ts +40 -0
  5508. package/src/hooks/registry.ts +15 -0
  5509. package/src/hooks/run-all.ts +186 -0
  5510. package/src/hooks/run-facts.ts +72 -0
  5511. package/src/hooks/select/dedupe.ts +21 -0
  5512. package/src/hooks/select/event-catalog.ts +91 -0
  5513. package/src/hooks/select/gates.ts +53 -0
  5514. package/src/hooks/select/if-guard.ts +84 -0
  5515. package/src/hooks/select/index.ts +23 -0
  5516. package/src/hooks/select/lock-gates.ts +75 -0
  5517. package/src/hooks/select/matcher-targets.ts +136 -0
  5518. package/src/hooks/select/matcher-values.ts +119 -0
  5519. package/src/hooks/select/matcher.ts +41 -0
  5520. package/src/hooks/select/mcp-client.ts +30 -0
  5521. package/src/hooks/select/mcp-tools.ts +78 -0
  5522. package/src/hooks/select/model-switch.ts +17 -0
  5523. package/src/hooks/select/once.ts +55 -0
  5524. package/src/hooks/select/select.ts +99 -0
  5525. package/src/hooks/select/watch-list.ts +80 -0
  5526. package/src/hooks/source-kind.ts +78 -0
  5527. package/src/hooks/verdict/background.ts +70 -0
  5528. package/src/hooks/verdict/blocked-prompt.ts +35 -0
  5529. package/src/hooks/verdict/debug-lines.ts +33 -0
  5530. package/src/hooks/verdict/exit-codes.ts +80 -0
  5531. package/src/hooks/verdict/exit2.ts +138 -0
  5532. package/src/hooks/verdict/exited.ts +270 -0
  5533. package/src/hooks/verdict/http-response.ts +59 -0
  5534. package/src/hooks/verdict/index.ts +39 -0
  5535. package/src/hooks/verdict/interpret.ts +138 -0
  5536. package/src/hooks/verdict/model-switch.ts +35 -0
  5537. package/src/hooks/verdict/model-verdict.ts +78 -0
  5538. package/src/hooks/verdict/notices.ts +83 -0
  5539. package/src/hooks/verdict/on-failure.ts +193 -0
  5540. package/src/hooks/verdict/plain-stdout.ts +16 -0
  5541. package/src/hooks/verdict/route.ts +67 -0
  5542. package/src/hooks/verdict/stdout-kind.ts +88 -0
  5543. package/src/hooks/verdict/stop-block-cap.ts +107 -0
  5544. package/src/hooks/verdict/subject.ts +23 -0
  5545. package/src/hooks/verdict/suspect-capture.ts +47 -0
  5546. package/src/hooks/verdict/types.ts +226 -0
  5547. package/src/host/background-queue.ts +84 -0
  5548. package/src/host/catalog.ts +165 -0
  5549. package/src/host/core-servers.ts +118 -0
  5550. package/src/host/core-skills.ts +52 -0
  5551. package/src/host/core-view.ts +55 -0
  5552. package/src/host/host.ts +58 -0
  5553. package/src/host/index.ts +73 -0
  5554. package/src/host/permission-rules.ts +69 -0
  5555. package/src/host/permission-session.ts +147 -0
  5556. package/src/host/plugin-dependencies.ts +115 -0
  5557. package/src/host/plugin-set.ts +105 -0
  5558. package/src/host/saved-approval.ts +31 -0
  5559. package/src/host/scope.ts +59 -0
  5560. package/src/host/sdk-hooks.ts +62 -0
  5561. package/src/host/sdk-output.ts +203 -0
  5562. package/src/host/session-agents.ts +241 -0
  5563. package/src/host/session-components.ts +180 -0
  5564. package/src/host/session-content.ts +60 -0
  5565. package/src/host/session-core-dispatch.ts +92 -0
  5566. package/src/host/session-core-hooks.ts +139 -0
  5567. package/src/host/session-core.ts +221 -0
  5568. package/src/host/session-directories.ts +34 -0
  5569. package/src/host/session-engine.ts +81 -0
  5570. package/src/host/session-environment.ts +110 -0
  5571. package/src/host/session-first-read.ts +32 -0
  5572. package/src/host/session-folder-resolution.ts +72 -0
  5573. package/src/host/session-folders.ts +201 -0
  5574. package/src/host/session-hook-scope.ts +192 -0
  5575. package/src/host/session-hooks.ts +178 -0
  5576. package/src/host/session-host-skills.ts +84 -0
  5577. package/src/host/session-mentions.ts +119 -0
  5578. package/src/host/session-monitors.ts +147 -0
  5579. package/src/host/session-permission-updates.ts +32 -0
  5580. package/src/host/session-registry.ts +150 -0
  5581. package/src/host/session-skill-catalog.ts +91 -0
  5582. package/src/host/session-skill-entries.ts +125 -0
  5583. package/src/host/session-skill-expand.ts +296 -0
  5584. package/src/host/session-skill-hooks.ts +92 -0
  5585. package/src/host/session-skill-preload.ts +81 -0
  5586. package/src/host/session-skill-readers.ts +44 -0
  5587. package/src/host/session-skills.ts +275 -0
  5588. package/src/host/session-start-repeats.ts +60 -0
  5589. package/src/host/session-tool-check.ts +112 -0
  5590. package/src/host/session-types.ts +170 -0
  5591. package/src/host/session-workflows.ts +50 -0
  5592. package/src/host/session.ts +128 -0
  5593. package/src/host/state.ts +243 -0
  5594. package/src/host/turn.ts +63 -0
  5595. package/src/host/types.ts +153 -0
  5596. package/src/index.ts +111 -0
  5597. package/src/loading/background-trust.ts +46 -0
  5598. package/src/loading/bin.ts +62 -0
  5599. package/src/loading/channels.ts +23 -0
  5600. package/src/loading/combine.ts +20 -0
  5601. package/src/loading/command-debug.ts +41 -0
  5602. package/src/loading/component-readers.ts +35 -0
  5603. package/src/loading/core/assets.ts +49 -0
  5604. package/src/loading/core/config.ts +132 -0
  5605. package/src/loading/core/dual-check.ts +45 -0
  5606. package/src/loading/core/entry-fields.ts +30 -0
  5607. package/src/loading/core/form.ts +59 -0
  5608. package/src/loading/core/index.ts +20 -0
  5609. package/src/loading/core/load-core.ts +49 -0
  5610. package/src/loading/core/load-package.ts +56 -0
  5611. package/src/loading/core/locations.ts +62 -0
  5612. package/src/loading/core/manifest-step.ts +30 -0
  5613. package/src/loading/core/model.ts +48 -0
  5614. package/src/loading/core/skills.ts +74 -0
  5615. package/src/loading/declared-shape.ts +22 -0
  5616. package/src/loading/discover-config.ts +113 -0
  5617. package/src/loading/discover-listed.ts +208 -0
  5618. package/src/loading/discover.ts +91 -0
  5619. package/src/loading/discovered.ts +64 -0
  5620. package/src/loading/folder-plugin.ts +148 -0
  5621. package/src/loading/ignored-folder.ts +27 -0
  5622. package/src/loading/index.ts +108 -0
  5623. package/src/loading/load-plugin.ts +253 -0
  5624. package/src/loading/local-settings-trust.ts +56 -0
  5625. package/src/loading/manifest-gate.ts +91 -0
  5626. package/src/loading/merge-hooks.ts +19 -0
  5627. package/src/loading/plugin-debug.ts +83 -0
  5628. package/src/loading/plugin-folder.ts +76 -0
  5629. package/src/loading/plugin-model.ts +96 -0
  5630. package/src/loading/plugin-scaffold.ts +81 -0
  5631. package/src/loading/ports.ts +15 -0
  5632. package/src/loading/reader-types.ts +60 -0
  5633. package/src/loading/readers-assets.ts +88 -0
  5634. package/src/loading/readers-config.ts +184 -0
  5635. package/src/loading/readers-text.ts +61 -0
  5636. package/src/loading/repository-limits.ts +116 -0
  5637. package/src/loading/repository-messages.ts +79 -0
  5638. package/src/loading/repository-trust.ts +147 -0
  5639. package/src/loading/repository-types.ts +9 -0
  5640. package/src/loading/resolve/bundle-scope.ts +57 -0
  5641. package/src/loading/resolve/channel.ts +94 -0
  5642. package/src/loading/resolve/content.ts +35 -0
  5643. package/src/loading/resolve/data-id.ts +7 -0
  5644. package/src/loading/resolve/deep.ts +69 -0
  5645. package/src/loading/resolve/exported-environment.ts +40 -0
  5646. package/src/loading/resolve/field-map.ts +52 -0
  5647. package/src/loading/resolve/field-runner.ts +81 -0
  5648. package/src/loading/resolve/headers-helper-origins.ts +164 -0
  5649. package/src/loading/resolve/headers-helper-run.ts +160 -0
  5650. package/src/loading/resolve/headers-helper-trust.ts +99 -0
  5651. package/src/loading/resolve/headers-helper.ts +180 -0
  5652. package/src/loading/resolve/hook-command.ts +263 -0
  5653. package/src/loading/resolve/hook-space-path.ts +49 -0
  5654. package/src/loading/resolve/index.ts +134 -0
  5655. package/src/loading/resolve/lsp-runtime.ts +109 -0
  5656. package/src/loading/resolve/lsp-startup.ts +42 -0
  5657. package/src/loading/resolve/lsp.ts +112 -0
  5658. package/src/loading/resolve/mcp.ts +246 -0
  5659. package/src/loading/resolve/monitor-trigger.ts +116 -0
  5660. package/src/loading/resolve/monitor.ts +77 -0
  5661. package/src/loading/resolve/powershell-no-program.ts +47 -0
  5662. package/src/loading/resolve/prepared.ts +25 -0
  5663. package/src/loading/resolve/processes.ts +108 -0
  5664. package/src/loading/resolve/scope.ts +75 -0
  5665. package/src/loading/resolve/shell-exports.ts +66 -0
  5666. package/src/loading/resolve/shell-guard-hook.ts +15 -0
  5667. package/src/loading/resolve/shell-guard-monitor.ts +16 -0
  5668. package/src/loading/resolve/shell-guard.ts +33 -0
  5669. package/src/loading/resolve/shell-prefix.ts +43 -0
  5670. package/src/loading/resolve/subprocess-scrub.ts +69 -0
  5671. package/src/loading/resolve/substitute.ts +285 -0
  5672. package/src/loading/resolve/substituter.ts +49 -0
  5673. package/src/loading/resolve/surfaces.ts +153 -0
  5674. package/src/loading/resolve/user-config-values.ts +65 -0
  5675. package/src/loading/resolve/user-config.ts +66 -0
  5676. package/src/loading/resolve/variables.ts +72 -0
  5677. package/src/loading/resolve/without-plugin.ts +18 -0
  5678. package/src/loading/trust-gates.ts +179 -0
  5679. package/src/loading/validate/components-only.ts +103 -0
  5680. package/src/loading/validate/components.ts +136 -0
  5681. package/src/loading/validate/index.ts +2 -0
  5682. package/src/loading/validate/json-files.ts +127 -0
  5683. package/src/loading/validate/links.ts +80 -0
  5684. package/src/loading/validate/marketplace-target.ts +229 -0
  5685. package/src/loading/validate/paths.ts +23 -0
  5686. package/src/loading/validate/plugin-contents.ts +67 -0
  5687. package/src/loading/validate/plugin-target.ts +87 -0
  5688. package/src/loading/validate/report.ts +11 -0
  5689. package/src/loading/validate/validate-plugin.ts +61 -0
  5690. package/src/loading/walk.ts +265 -0
  5691. package/src/loading/workspace-trust.ts +145 -0
  5692. package/src/marketplace/add-failures.ts +144 -0
  5693. package/src/marketplace/archive-scan.ts +203 -0
  5694. package/src/marketplace/archive-source.ts +155 -0
  5695. package/src/marketplace/command-directory.ts +108 -0
  5696. package/src/marketplace/command-mode.ts +17 -0
  5697. package/src/marketplace/command-output.ts +61 -0
  5698. package/src/marketplace/command-source.ts +117 -0
  5699. package/src/marketplace/copy-plan.ts +160 -0
  5700. package/src/marketplace/copy-sweep.ts +80 -0
  5701. package/src/marketplace/credential-variables.ts +6 -0
  5702. package/src/marketplace/cross-marketplace.ts +78 -0
  5703. package/src/marketplace/declared-source.ts +41 -0
  5704. package/src/marketplace/dependencies.ts +285 -0
  5705. package/src/marketplace/dependency-catalog.ts +47 -0
  5706. package/src/marketplace/dependency-enable.ts +127 -0
  5707. package/src/marketplace/dependency-graph.ts +265 -0
  5708. package/src/marketplace/dependency-install-plan.ts +282 -0
  5709. package/src/marketplace/dependency-install-walk.ts +234 -0
  5710. package/src/marketplace/dependency-prune.ts +146 -0
  5711. package/src/marketplace/dependency-tags.ts +266 -0
  5712. package/src/marketplace/deprecated-marketplace.ts +41 -0
  5713. package/src/marketplace/download-headers.ts +164 -0
  5714. package/src/marketplace/enablement-notes.ts +134 -0
  5715. package/src/marketplace/fetch-plan.ts +257 -0
  5716. package/src/marketplace/folder-collision.ts +88 -0
  5717. package/src/marketplace/git-transport.ts +89 -0
  5718. package/src/marketplace/header-helper.ts +151 -0
  5719. package/src/marketplace/header-map.ts +24 -0
  5720. package/src/marketplace/header-policy.ts +275 -0
  5721. package/src/marketplace/headless-report.ts +127 -0
  5722. package/src/marketplace/http-download.ts +96 -0
  5723. package/src/marketplace/ignored-marketplace.ts +189 -0
  5724. package/src/marketplace/index.ts +218 -0
  5725. package/src/marketplace/install-commands.ts +157 -0
  5726. package/src/marketplace/install-errors.ts +239 -0
  5727. package/src/marketplace/install-failures.ts +151 -0
  5728. package/src/marketplace/install-guidance.ts +75 -0
  5729. package/src/marketplace/install-hosts.ts +198 -0
  5730. package/src/marketplace/install-index.ts +156 -0
  5731. package/src/marketplace/install-lifecycle-index.ts +154 -0
  5732. package/src/marketplace/install-messages.ts +121 -0
  5733. package/src/marketplace/install-mode.ts +186 -0
  5734. package/src/marketplace/install-plan.ts +229 -0
  5735. package/src/marketplace/install-plans.ts +138 -0
  5736. package/src/marketplace/install-records-at.ts +49 -0
  5737. package/src/marketplace/install-scopes.ts +111 -0
  5738. package/src/marketplace/installed-plugins-store.ts +107 -0
  5739. package/src/marketplace/installed-plugins.ts +191 -0
  5740. package/src/marketplace/known-marketplaces.ts +151 -0
  5741. package/src/marketplace/lfs-pointer.ts +108 -0
  5742. package/src/marketplace/marketplace-catalog.ts +40 -0
  5743. package/src/marketplace/marketplace-download.ts +58 -0
  5744. package/src/marketplace/marketplace-fetch-plan.ts +142 -0
  5745. package/src/marketplace/marketplace-input.ts +168 -0
  5746. package/src/marketplace/missing-plugin-diagnosis.ts +40 -0
  5747. package/src/marketplace/name-conflicts.ts +171 -0
  5748. package/src/marketplace/node-deps-checks.ts +184 -0
  5749. package/src/marketplace/node-deps-failure.ts +243 -0
  5750. package/src/marketplace/node-deps-lockfile.ts +191 -0
  5751. package/src/marketplace/node-deps-spec.ts +279 -0
  5752. package/src/marketplace/node-deps-types.ts +135 -0
  5753. package/src/marketplace/node-deps.ts +93 -0
  5754. package/src/marketplace/orphan-cleanup.ts +85 -0
  5755. package/src/marketplace/plugin-content.ts +14 -0
  5756. package/src/marketplace/plugin-dir-dependencies.ts +78 -0
  5757. package/src/marketplace/plugin-footprint.ts +87 -0
  5758. package/src/marketplace/plugin-hints.ts +198 -0
  5759. package/src/marketplace/plugin-names.ts +48 -0
  5760. package/src/marketplace/ports.ts +109 -0
  5761. package/src/marketplace/refused-name.ts +53 -0
  5762. package/src/marketplace/release-channels.ts +117 -0
  5763. package/src/marketplace/relevance-match.ts +163 -0
  5764. package/src/marketplace/relevance-surface.ts +96 -0
  5765. package/src/marketplace/reload-summary.ts +121 -0
  5766. package/src/marketplace/remote-plugins.ts +71 -0
  5767. package/src/marketplace/removal.ts +55 -0
  5768. package/src/marketplace/renames.ts +184 -0
  5769. package/src/marketplace/seed-registry.ts +46 -0
  5770. package/src/marketplace/semver.ts +72 -0
  5771. package/src/marketplace/session-origins.ts +67 -0
  5772. package/src/marketplace/session-plugins.ts +84 -0
  5773. package/src/marketplace/source-safety.ts +237 -0
  5774. package/src/marketplace/stage-report.ts +154 -0
  5775. package/src/marketplace/staged-commit.ts +33 -0
  5776. package/src/marketplace/store-layout.ts +137 -0
  5777. package/src/marketplace/submodules.ts +135 -0
  5778. package/src/marketplace/telemetry-names.ts +46 -0
  5779. package/src/marketplace/types.ts +153 -0
  5780. package/src/marketplace/uninstall-records.ts +92 -0
  5781. package/src/marketplace/update-detection.ts +153 -0
  5782. package/src/marketplace/version-hash.ts +105 -0
  5783. package/src/marketplace/version-index.ts +26 -0
  5784. package/src/marketplace/version-resolution.ts +174 -0
  5785. package/src/marketplace/version-troubleshooting.ts +54 -0
  5786. package/src/mods/api/agent.ts +62 -0
  5787. package/src/mods/api/audio.ts +49 -0
  5788. package/src/mods/api/build.ts +191 -0
  5789. package/src/mods/api/call.ts +166 -0
  5790. package/src/mods/api/clock.ts +80 -0
  5791. package/src/mods/api/command.ts +113 -0
  5792. package/src/mods/api/config.ts +47 -0
  5793. package/src/mods/api/context-usage.ts +22 -0
  5794. package/src/mods/api/describe.ts +102 -0
  5795. package/src/mods/api/engine-create.ts +109 -0
  5796. package/src/mods/api/engine-settings.ts +84 -0
  5797. package/src/mods/api/env.ts +29 -0
  5798. package/src/mods/api/exec.ts +156 -0
  5799. package/src/mods/api/fetch-policy.ts +62 -0
  5800. package/src/mods/api/fs-ancestors.ts +68 -0
  5801. package/src/mods/api/fs-ports.ts +70 -0
  5802. package/src/mods/api/fs.ts +117 -0
  5803. package/src/mods/api/gate.ts +181 -0
  5804. package/src/mods/api/host-ports.ts +150 -0
  5805. package/src/mods/api/http-redirects.ts +85 -0
  5806. package/src/mods/api/http.ts +164 -0
  5807. package/src/mods/api/index.ts +102 -0
  5808. package/src/mods/api/mcp.ts +77 -0
  5809. package/src/mods/api/model-blocks.ts +47 -0
  5810. package/src/mods/api/model.ts +105 -0
  5811. package/src/mods/api/names.ts +17 -0
  5812. package/src/mods/api/optional-port-types.ts +111 -0
  5813. package/src/mods/api/output-cut.ts +16 -0
  5814. package/src/mods/api/paths.ts +19 -0
  5815. package/src/mods/api/plugin.ts +8 -0
  5816. package/src/mods/api/ports.ts +289 -0
  5817. package/src/mods/api/prompt.ts +111 -0
  5818. package/src/mods/api/refusal.ts +97 -0
  5819. package/src/mods/api/registries.ts +175 -0
  5820. package/src/mods/api/replay.ts +89 -0
  5821. package/src/mods/api/rules.ts +35 -0
  5822. package/src/mods/api/scope.ts +55 -0
  5823. package/src/mods/api/scoped-call.ts +17 -0
  5824. package/src/mods/api/session.ts +118 -0
  5825. package/src/mods/api/settings-layers.ts +116 -0
  5826. package/src/mods/api/settings.ts +65 -0
  5827. package/src/mods/api/state-library-source.ts +63 -0
  5828. package/src/mods/api/state-library.ts +160 -0
  5829. package/src/mods/api/state.ts +152 -0
  5830. package/src/mods/api/store.ts +91 -0
  5831. package/src/mods/api/telemetry-origin.ts +6 -0
  5832. package/src/mods/api/telemetry.ts +69 -0
  5833. package/src/mods/api/theme.ts +95 -0
  5834. package/src/mods/api/tool.ts +72 -0
  5835. package/src/mods/api/turn.ts +13 -0
  5836. package/src/mods/async-slot.ts +31 -0
  5837. package/src/mods/chain/api-guard.ts +102 -0
  5838. package/src/mods/chain/context.ts +50 -0
  5839. package/src/mods/chain/core.ts +33 -0
  5840. package/src/mods/chain/dispatch.ts +129 -0
  5841. package/src/mods/chain/downstream.ts +79 -0
  5842. package/src/mods/chain/failure.ts +150 -0
  5843. package/src/mods/chain/frames.ts +50 -0
  5844. package/src/mods/chain/guarded.ts +71 -0
  5845. package/src/mods/chain/hook-body.ts +11 -0
  5846. package/src/mods/chain/index.ts +5 -0
  5847. package/src/mods/chain/invoke.ts +276 -0
  5848. package/src/mods/chain/judge.ts +66 -0
  5849. package/src/mods/chain/linger.ts +45 -0
  5850. package/src/mods/chain/link-trace.ts +96 -0
  5851. package/src/mods/chain/match-local.ts +114 -0
  5852. package/src/mods/chain/matcher.ts +183 -0
  5853. package/src/mods/chain/nesting.ts +18 -0
  5854. package/src/mods/chain/next.ts +195 -0
  5855. package/src/mods/chain/only.ts +6 -0
  5856. package/src/mods/chain/reentry.ts +35 -0
  5857. package/src/mods/chain/registry.ts +119 -0
  5858. package/src/mods/chain/rules.ts +25 -0
  5859. package/src/mods/chain/select.ts +15 -0
  5860. package/src/mods/chain/tiers.ts +38 -0
  5861. package/src/mods/chain/trace.ts +76 -0
  5862. package/src/mods/chain/validate.ts +84 -0
  5863. package/src/mods/chain/wildcard.ts +60 -0
  5864. package/src/mods/events/agent.ts +33 -0
  5865. package/src/mods/events/attribution.ts +4 -0
  5866. package/src/mods/events/autocomplete.ts +17 -0
  5867. package/src/mods/events/command.ts +88 -0
  5868. package/src/mods/events/config.ts +26 -0
  5869. package/src/mods/events/index.ts +96 -0
  5870. package/src/mods/events/input-review.ts +52 -0
  5871. package/src/mods/events/prompt-cache.ts +38 -0
  5872. package/src/mods/events/prompt.ts +102 -0
  5873. package/src/mods/events/read-only.ts +57 -0
  5874. package/src/mods/events/reasons.ts +53 -0
  5875. package/src/mods/events/session.ts +70 -0
  5876. package/src/mods/events/skill-prompt-event.ts +49 -0
  5877. package/src/mods/events/skill.ts +36 -0
  5878. package/src/mods/events/spec.ts +75 -0
  5879. package/src/mods/events/tool-check-merge.ts +65 -0
  5880. package/src/mods/events/tool.ts +42 -0
  5881. package/src/mods/events/turn.ts +49 -0
  5882. package/src/mods/index.ts +9 -0
  5883. package/src/mods/load/auto-mode-approval.ts +19 -0
  5884. package/src/mods/load/change-notice.ts +19 -0
  5885. package/src/mods/load/commands/active-line.ts +12 -0
  5886. package/src/mods/load/commands/scan-lead.ts +77 -0
  5887. package/src/mods/load/commands/scan-lines.ts +100 -0
  5888. package/src/mods/load/commands/validate-report.ts +53 -0
  5889. package/src/mods/load/commands/validate.ts +285 -0
  5890. package/src/mods/load/compile-output.ts +99 -0
  5891. package/src/mods/load/crash-recovery.ts +86 -0
  5892. package/src/mods/load/engine-faults.ts +43 -0
  5893. package/src/mods/load/guard-notes.ts +30 -0
  5894. package/src/mods/load/guard-protection.ts +75 -0
  5895. package/src/mods/load/guard-surfaces.ts +23 -0
  5896. package/src/mods/load/guard.ts +170 -0
  5897. package/src/mods/load/guest.ts +72 -0
  5898. package/src/mods/load/health.ts +56 -0
  5899. package/src/mods/load/host-options.ts +79 -0
  5900. package/src/mods/load/host-support.ts +219 -0
  5901. package/src/mods/load/host.ts +251 -0
  5902. package/src/mods/load/index.ts +94 -0
  5903. package/src/mods/load/line-channel.ts +79 -0
  5904. package/src/mods/load/loader-io.ts +30 -0
  5905. package/src/mods/load/loader.ts +233 -0
  5906. package/src/mods/load/mod-set.ts +299 -0
  5907. package/src/mods/load/options.ts +96 -0
  5908. package/src/mods/load/order.ts +199 -0
  5909. package/src/mods/load/plugin-dirs.ts +96 -0
  5910. package/src/mods/load/policy-input.ts +161 -0
  5911. package/src/mods/load/policy.ts +220 -0
  5912. package/src/mods/load/prepare.ts +134 -0
  5913. package/src/mods/load/prompt-flow.ts +22 -0
  5914. package/src/mods/load/register-call.ts +98 -0
  5915. package/src/mods/load/registered.ts +43 -0
  5916. package/src/mods/load/scan/ast.ts +94 -0
  5917. package/src/mods/load/scan/client-modules.ts +152 -0
  5918. package/src/mods/load/scan/engine-fold.ts +109 -0
  5919. package/src/mods/load/scan/event-names.ts +22 -0
  5920. package/src/mods/load/scan/file-rules.ts +122 -0
  5921. package/src/mods/load/scan/found.ts +27 -0
  5922. package/src/mods/load/scan/index.ts +132 -0
  5923. package/src/mods/load/scan/issue-codes.ts +74 -0
  5924. package/src/mods/load/scan/matcher-label.ts +65 -0
  5925. package/src/mods/load/scan/messages.ts +18 -0
  5926. package/src/mods/load/scan/on-rules.ts +72 -0
  5927. package/src/mods/load/scan/register-export.ts +53 -0
  5928. package/src/mods/load/scan/rules.ts +293 -0
  5929. package/src/mods/load/scan/state-sources.ts +70 -0
  5930. package/src/mods/load/scan/top-level.ts +212 -0
  5931. package/src/mods/load/scan/uses.ts +86 -0
  5932. package/src/mods/load/scan/walk.ts +89 -0
  5933. package/src/mods/load/skip-reports.ts +47 -0
  5934. package/src/mods/load/tool-flow.ts +145 -0
  5935. package/src/mods/load/types-decl.ts +122 -0
  5936. package/src/mods/load/unanswered.ts +29 -0
  5937. package/src/mods/load/where-mods-run.ts +109 -0
  5938. package/src/mods/load/wiring.ts +266 -0
  5939. package/src/mods/load/written-mods.ts +152 -0
  5940. package/src/mods/ports.ts +180 -0
  5941. package/src/mods/trace-types.ts +60 -0
  5942. package/src/mods/types.ts +297 -0
  5943. package/src/mods/ui/controls/hotkeys.ts +83 -0
  5944. package/src/mods/ui/controls/keys.ts +33 -0
  5945. package/src/mods/ui/controls/route.ts +105 -0
  5946. package/src/mods/ui/elements/box.ts +85 -0
  5947. package/src/mods/ui/elements/button.ts +69 -0
  5948. package/src/mods/ui/elements/children.ts +62 -0
  5949. package/src/mods/ui/elements/client.ts +35 -0
  5950. package/src/mods/ui/elements/code.ts +14 -0
  5951. package/src/mods/ui/elements/def.ts +83 -0
  5952. package/src/mods/ui/elements/image.ts +28 -0
  5953. package/src/mods/ui/elements/index.ts +27 -0
  5954. package/src/mods/ui/elements/input.ts +37 -0
  5955. package/src/mods/ui/elements/jsx.ts +24 -0
  5956. package/src/mods/ui/elements/limits.ts +80 -0
  5957. package/src/mods/ui/elements/link.ts +41 -0
  5958. package/src/mods/ui/elements/markdown.ts +16 -0
  5959. package/src/mods/ui/elements/node.ts +80 -0
  5960. package/src/mods/ui/elements/plain.ts +52 -0
  5961. package/src/mods/ui/elements/raster.ts +54 -0
  5962. package/src/mods/ui/elements/registry.ts +30 -0
  5963. package/src/mods/ui/elements/select.ts +38 -0
  5964. package/src/mods/ui/elements/spacing.ts +34 -0
  5965. package/src/mods/ui/elements/surface.ts +27 -0
  5966. package/src/mods/ui/elements/svg.ts +12 -0
  5967. package/src/mods/ui/elements/table.ts +78 -0
  5968. package/src/mods/ui/elements/text.ts +77 -0
  5969. package/src/mods/ui/elements/validate.ts +66 -0
  5970. package/src/mods/ui/index.ts +47 -0
  5971. package/src/mods/ui/keyboard/band.ts +35 -0
  5972. package/src/mods/ui/keyboard/effects.ts +38 -0
  5973. package/src/mods/ui/keyboard/focus.ts +55 -0
  5974. package/src/mods/ui/keyboard/keys.ts +172 -0
  5975. package/src/mods/ui/keyboard/pane-size.ts +35 -0
  5976. package/src/mods/ui/keyboard/vscode.ts +62 -0
  5977. package/src/mods/ui/panes/open.ts +65 -0
  5978. package/src/mods/ui/panes/placement.ts +42 -0
  5979. package/src/mods/ui/panes/registry.ts +109 -0
  5980. package/src/mods/ui/placed/rows.ts +91 -0
  5981. package/src/mods/ui/ports.ts +92 -0
  5982. package/src/mods/ui/redraw/gate.ts +47 -0
  5983. package/src/mods/ui/redraw/invalidate.ts +32 -0
  5984. package/src/mods/ui/redraw/subscribe.ts +51 -0
  5985. package/src/mods/ui/redraw/unasked.ts +16 -0
  5986. package/src/mods/ui/rules.ts +49 -0
  5987. package/src/mods/ui/runtime.ts +148 -0
  5988. package/src/mods/ui/sites/ask-question.ts +8 -0
  5989. package/src/mods/ui/sites/backdrop.ts +27 -0
  5990. package/src/mods/ui/sites/band.ts +49 -0
  5991. package/src/mods/ui/sites/draw-fault.ts +9 -0
  5992. package/src/mods/ui/sites/fold.ts +57 -0
  5993. package/src/mods/ui/sites/registry.ts +76 -0
  5994. package/src/mods/ui/sites/viewport.ts +32 -0
  5995. package/src/mods/ui/tables.ts +76 -0
  5996. package/src/mods/ui/toast.ts +138 -0
  5997. package/src/mods/ui/ui-api.ts +296 -0
  5998. package/src/mods/ui/ui-invalidate.ts +49 -0
  5999. package/src/mods/values.ts +9 -0
  6000. package/src/ports/clock.ts +12 -0
  6001. package/src/ports/command-runner.ts +39 -0
  6002. package/src/ports/environment.ts +11 -0
  6003. package/src/ports/failure.ts +8 -0
  6004. package/src/ports/files.ts +55 -0
  6005. package/src/ports/folder-scan.ts +54 -0
  6006. package/src/ports/http-client.ts +37 -0
  6007. package/src/ports/index.ts +29 -0
  6008. package/src/ports/locations.ts +26 -0
  6009. package/src/ports/marketplace.ts +103 -0
  6010. package/src/ports/mcp-bundle.ts +51 -0
  6011. package/src/ports/mcp-caller.ts +40 -0
  6012. package/src/ports/model-runner.ts +31 -0
  6013. package/src/ports/path-resolver.ts +17 -0
  6014. package/src/ports/scratch-files.ts +8 -0
  6015. package/src/protocol/effort.ts +38 -0
  6016. package/src/protocol/exit-reasons.ts +23 -0
  6017. package/src/protocol/hook-config.ts +35 -0
  6018. package/src/protocol/hook-events.ts +61 -0
  6019. package/src/protocol/is-record.ts +6 -0
  6020. package/src/protocol/mods-api-names.ts +136 -0
  6021. package/src/protocol/mods-events.ts +198 -0
  6022. package/src/protocol/mods-limits.ts +75 -0
  6023. package/src/protocol/mods-matcher.ts +18 -0
  6024. package/src/protocol/mods-settings.ts +54 -0
  6025. package/src/protocol/mods-tiers.ts +7 -0
  6026. package/src/protocol/mods-ui-names.ts +235 -0
  6027. package/src/protocol/official-tools.ts +103 -0
  6028. package/src/protocol/official.ts +101 -0
  6029. package/src/protocol/permission-modes.ts +45 -0
  6030. package/src/protocol/settings-keys.ts +194 -0
  6031. package/src/protocol/tool-names.ts +94 -0
  6032. package/src/protocol/type-equality.ts +11 -0
  6033. package/src/rules/bash/bash.ts +43 -0
  6034. package/src/rules/bash/dialect.ts +46 -0
  6035. package/src/rules/bash/exec-wrappers.ts +46 -0
  6036. package/src/rules/bash/heredoc.ts +53 -0
  6037. package/src/rules/bash/if-eval.ts +107 -0
  6038. package/src/rules/bash/keywords.ts +36 -0
  6039. package/src/rules/bash/powershell-aliases.ts +58 -0
  6040. package/src/rules/bash/powershell.ts +64 -0
  6041. package/src/rules/bash/safe-env.ts +67 -0
  6042. package/src/rules/bash/scanner.ts +296 -0
  6043. package/src/rules/bash/shell.ts +99 -0
  6044. package/src/rules/bash/split.ts +83 -0
  6045. package/src/rules/bash/text-pattern.ts +13 -0
  6046. package/src/rules/bash/unquote.ts +161 -0
  6047. package/src/rules/bash/wildcard-warning.ts +84 -0
  6048. package/src/rules/bash/wildcard.ts +37 -0
  6049. package/src/rules/bash/words.ts +169 -0
  6050. package/src/rules/bash/wrappers.ts +213 -0
  6051. package/src/rules/decide/approval-memory.ts +80 -0
  6052. package/src/rules/decide/auto-dropped.ts +57 -0
  6053. package/src/rules/decide/behavior.ts +5 -0
  6054. package/src/rules/decide/block-exceptions.ts +120 -0
  6055. package/src/rules/decide/classifier.ts +79 -0
  6056. package/src/rules/decide/context.ts +180 -0
  6057. package/src/rules/decide/critical-removal.ts +237 -0
  6058. package/src/rules/decide/decide.ts +189 -0
  6059. package/src/rules/decide/facts.ts +299 -0
  6060. package/src/rules/decide/file-targets.ts +144 -0
  6061. package/src/rules/decide/fs-operands.ts +98 -0
  6062. package/src/rules/decide/hook-permission-updates.ts +70 -0
  6063. package/src/rules/decide/hook-rewrite.ts +97 -0
  6064. package/src/rules/decide/hooks-and-mods.ts +119 -0
  6065. package/src/rules/decide/modes.ts +181 -0
  6066. package/src/rules/decide/no-approval-surface.ts +62 -0
  6067. package/src/rules/decide/powershell-edits.ts +170 -0
  6068. package/src/rules/decide/powershell-removal.ts +103 -0
  6069. package/src/rules/decide/protected-paths.ts +244 -0
  6070. package/src/rules/decide/read-only-set.ts +184 -0
  6071. package/src/rules/decide/redirects.ts +252 -0
  6072. package/src/rules/decide/rules-stage.ts +47 -0
  6073. package/src/rules/decide/scope.ts +25 -0
  6074. package/src/rules/decide/sed-script.ts +187 -0
  6075. package/src/rules/decide/shell-commands.ts +269 -0
  6076. package/src/rules/decide/shell-words.ts +37 -0
  6077. package/src/rules/decide/unanswered.ts +43 -0
  6078. package/src/rules/decide/write-block-messages.ts +37 -0
  6079. package/src/rules/evaluate.ts +72 -0
  6080. package/src/rules/hook-matcher.ts +79 -0
  6081. package/src/rules/index.ts +209 -0
  6082. package/src/rules/issues.ts +62 -0
  6083. package/src/rules/matchers.ts +41 -0
  6084. package/src/rules/memo.ts +19 -0
  6085. package/src/rules/param.ts +94 -0
  6086. package/src/rules/parse.ts +145 -0
  6087. package/src/rules/path/anchor.ts +123 -0
  6088. package/src/rules/path/cd.ts +52 -0
  6089. package/src/rules/path/depth.ts +29 -0
  6090. package/src/rules/path/file-rules.ts +157 -0
  6091. package/src/rules/path/glob.ts +60 -0
  6092. package/src/rules/path/negation.ts +59 -0
  6093. package/src/rules/path/network.ts +32 -0
  6094. package/src/rules/path/posix.ts +101 -0
  6095. package/src/rules/path/symlink.ts +112 -0
  6096. package/src/rules/path/tools.ts +144 -0
  6097. package/src/rules/restricts.ts +14 -0
  6098. package/src/rules/rule-warnings.ts +91 -0
  6099. package/src/rules/sources.ts +20 -0
  6100. package/src/rules/specifier-formats.ts +119 -0
  6101. package/src/rules/specifier-guards.ts +15 -0
  6102. package/src/rules/target/agent.ts +34 -0
  6103. package/src/rules/target/domain.ts +184 -0
  6104. package/src/rules/target/input.ts +16 -0
  6105. package/src/rules/target/mcp.ts +91 -0
  6106. package/src/rules/target/skill.ts +53 -0
  6107. package/src/rules/tool-pattern.ts +41 -0
  6108. package/src/rules/tools/availability.ts +179 -0
  6109. package/src/rules/tools/catalog.ts +104 -0
  6110. package/src/rules/tools/host-tool-names.ts +65 -0
  6111. package/src/rules/tools/inputs/ask-user-question.ts +92 -0
  6112. package/src/rules/tools/inputs/exit-plan-mode.ts +11 -0
  6113. package/src/rules/tools/inputs/field-schemas.ts +24 -0
  6114. package/src/rules/tools/inputs/fields.ts +162 -0
  6115. package/src/rules/tools/inputs/grep.ts +3 -0
  6116. package/src/rules/tools/inputs/parse-input.ts +34 -0
  6117. package/src/rules/tools/inputs/roles.ts +28 -0
  6118. package/src/rules/tools/inputs/schemas.ts +27 -0
  6119. package/src/rules/tools/inputs/tool-path.ts +55 -0
  6120. package/src/rules/tools/inputs/web-search.ts +17 -0
  6121. package/src/rules/tools/names.ts +10 -0
  6122. package/src/rules/tools/responses/agent-response.ts +182 -0
  6123. package/src/rules/tools/responses/bash-edit-diff.ts +162 -0
  6124. package/src/rules/tools/responses/shape.ts +15 -0
  6125. package/src/rules/tools/responses/structured-patch.ts +79 -0
  6126. package/src/rules/tools/rule-formats.ts +19 -0
  6127. package/src/rules/tools/semantics/bash-background.ts +51 -0
  6128. package/src/rules/tools/semantics/bash-exit.ts +81 -0
  6129. package/src/rules/tools/semantics/bash-limits.ts +71 -0
  6130. package/src/rules/tools/semantics/bash-output.ts +74 -0
  6131. package/src/rules/tools/semantics/edit.ts +71 -0
  6132. package/src/rules/tools/semantics/encoding.ts +71 -0
  6133. package/src/rules/tools/semantics/env-number.ts +18 -0
  6134. package/src/rules/tools/semantics/glob-cap.ts +59 -0
  6135. package/src/rules/tools/semantics/grep-defaults.ts +83 -0
  6136. package/src/rules/tools/semantics/read-limits.ts +126 -0
  6137. package/src/rules/tools/semantics/read-window.ts +80 -0
  6138. package/src/rules/tools/semantics/web-fetch-timings.ts +49 -0
  6139. package/src/rules/tools/semantics/web-fetch.ts +86 -0
  6140. package/src/rules/tools/semantics/web-search-limit.ts +60 -0
  6141. package/src/rules/tools/semantics/web-search.ts +25 -0
  6142. package/src/rules/tools/shell-selection.ts +16 -0
  6143. package/src/rules/types.ts +163 -0
  6144. package/src/settings/broken-file.ts +80 -0
  6145. package/src/settings/canonical.ts +17 -0
  6146. package/src/settings/channels/allowlist.ts +51 -0
  6147. package/src/settings/channels/channel-gate.ts +80 -0
  6148. package/src/settings/channels/contract.ts +120 -0
  6149. package/src/settings/channels/index.ts +49 -0
  6150. package/src/settings/channels/policy.ts +34 -0
  6151. package/src/settings/channels/relay.ts +80 -0
  6152. package/src/settings/channels/sanitize.ts +79 -0
  6153. package/src/settings/channels/verdict.ts +97 -0
  6154. package/src/settings/context.ts +72 -0
  6155. package/src/settings/customization/index.ts +11 -0
  6156. package/src/settings/customization/policy.ts +56 -0
  6157. package/src/settings/customization/preapproval.ts +44 -0
  6158. package/src/settings/customization/sources.ts +155 -0
  6159. package/src/settings/customization/surfaces.ts +37 -0
  6160. package/src/settings/env/check-env.ts +47 -0
  6161. package/src/settings/env/ignored-variables.ts +205 -0
  6162. package/src/settings/env/index.ts +13 -0
  6163. package/src/settings/env/resolve-env.ts +190 -0
  6164. package/src/settings/env/settings-env.ts +68 -0
  6165. package/src/settings/env/timing.ts +61 -0
  6166. package/src/settings/general/agent-keys.ts +33 -0
  6167. package/src/settings/general/checks.ts +143 -0
  6168. package/src/settings/general/claude-json.ts +82 -0
  6169. package/src/settings/general/closed-fields.ts +89 -0
  6170. package/src/settings/general/command-lines.ts +86 -0
  6171. package/src/settings/general/edit-effect.ts +126 -0
  6172. package/src/settings/general/effort.ts +104 -0
  6173. package/src/settings/general/exceptions.ts +91 -0
  6174. package/src/settings/general/file-locations.ts +187 -0
  6175. package/src/settings/general/global-config.ts +20 -0
  6176. package/src/settings/general/index.ts +115 -0
  6177. package/src/settings/general/keys.ts +111 -0
  6178. package/src/settings/general/look-and-feel.ts +72 -0
  6179. package/src/settings/general/permission-rules.ts +136 -0
  6180. package/src/settings/general/plugin-defaults.ts +73 -0
  6181. package/src/settings/general/process-wrapper.ts +65 -0
  6182. package/src/settings/general/reach.ts +70 -0
  6183. package/src/settings/general/rows.ts +216 -0
  6184. package/src/settings/general/sandbox-check.ts +161 -0
  6185. package/src/settings/general/sandbox-credentials.ts +162 -0
  6186. package/src/settings/general/sandbox-fields.ts +73 -0
  6187. package/src/settings/general/session-overrides.ts +127 -0
  6188. package/src/settings/general/subagent-status-line.ts +121 -0
  6189. package/src/settings/general/view.ts +66 -0
  6190. package/src/settings/general/worktree-block.ts +116 -0
  6191. package/src/settings/hooks/custom-commands.ts +54 -0
  6192. package/src/settings/hooks/hook-gate.ts +88 -0
  6193. package/src/settings/hooks/http-policy.ts +45 -0
  6194. package/src/settings/hooks/index.ts +16 -0
  6195. package/src/settings/hooks/merge-groups.ts +65 -0
  6196. package/src/settings/hooks/origin-stops.ts +128 -0
  6197. package/src/settings/hooks/origins.ts +88 -0
  6198. package/src/settings/hooks/policy.ts +36 -0
  6199. package/src/settings/hooks/session-gates.ts +79 -0
  6200. package/src/settings/hooks/url-pattern.ts +60 -0
  6201. package/src/settings/host-switches.ts +127 -0
  6202. package/src/settings/index.ts +58 -0
  6203. package/src/settings/key-spec.ts +272 -0
  6204. package/src/settings/layers.ts +84 -0
  6205. package/src/settings/locations.ts +67 -0
  6206. package/src/settings/managed/admin-source.ts +264 -0
  6207. package/src/settings/managed/applicability.ts +269 -0
  6208. package/src/settings/managed/approval.ts +156 -0
  6209. package/src/settings/managed/combine.ts +208 -0
  6210. package/src/settings/managed/compose.ts +295 -0
  6211. package/src/settings/managed/cross-source.ts +195 -0
  6212. package/src/settings/managed/delivery.ts +198 -0
  6213. package/src/settings/managed/drop-in.ts +214 -0
  6214. package/src/settings/managed/helper-run.ts +115 -0
  6215. package/src/settings/managed/index.ts +151 -0
  6216. package/src/settings/managed/limits.ts +152 -0
  6217. package/src/settings/managed/load.ts +48 -0
  6218. package/src/settings/managed/login-keys.ts +71 -0
  6219. package/src/settings/managed/parent.ts +159 -0
  6220. package/src/settings/managed/policy-helper.ts +158 -0
  6221. package/src/settings/managed/ports.ts +29 -0
  6222. package/src/settings/managed/sideload.ts +134 -0
  6223. package/src/settings/managed/startup-failure.ts +46 -0
  6224. package/src/settings/managed/wsl-chain.ts +98 -0
  6225. package/src/settings/marketplaces/command-sources.ts +59 -0
  6226. package/src/settings/marketplaces/facts.ts +123 -0
  6227. package/src/settings/marketplaces/gate.ts +240 -0
  6228. package/src/settings/marketplaces/git-url.ts +64 -0
  6229. package/src/settings/marketplaces/headers-helper.ts +105 -0
  6230. package/src/settings/marketplaces/host-of.ts +48 -0
  6231. package/src/settings/marketplaces/index.ts +36 -0
  6232. package/src/settings/marketplaces/match-source.ts +178 -0
  6233. package/src/settings/marketplaces/official-registration.ts +59 -0
  6234. package/src/settings/marketplaces/refusal-messages.ts +42 -0
  6235. package/src/settings/marketplaces/registry.ts +229 -0
  6236. package/src/settings/marketplaces/source-kinds.ts +41 -0
  6237. package/src/settings/marketplaces/source-validate.ts +103 -0
  6238. package/src/settings/mcp/allow-deny.ts +161 -0
  6239. package/src/settings/mcp/approvals.ts +140 -0
  6240. package/src/settings/mcp/candidates.ts +68 -0
  6241. package/src/settings/mcp/command-match.ts +16 -0
  6242. package/src/settings/mcp/entries.ts +107 -0
  6243. package/src/settings/mcp/entry-env.ts +76 -0
  6244. package/src/settings/mcp/exclusive.ts +268 -0
  6245. package/src/settings/mcp/index.ts +95 -0
  6246. package/src/settings/mcp/lists.ts +38 -0
  6247. package/src/settings/mcp/load-settings.ts +45 -0
  6248. package/src/settings/mcp/managed-entry.ts +93 -0
  6249. package/src/settings/mcp/managed-file.ts +71 -0
  6250. package/src/settings/mcp/managed-servers.ts +93 -0
  6251. package/src/settings/mcp/managed-timing.ts +106 -0
  6252. package/src/settings/mcp/managed.ts +77 -0
  6253. package/src/settings/mcp/origins.ts +55 -0
  6254. package/src/settings/mcp/policy.ts +103 -0
  6255. package/src/settings/mcp/scope.ts +127 -0
  6256. package/src/settings/mcp/toggles.ts +79 -0
  6257. package/src/settings/mcp/url-pattern.ts +109 -0
  6258. package/src/settings/merge.ts +136 -0
  6259. package/src/settings/paths.ts +47 -0
  6260. package/src/settings/permissions/auto-mode.ts +161 -0
  6261. package/src/settings/permissions/default-mode.ts +299 -0
  6262. package/src/settings/permissions/index.ts +13 -0
  6263. package/src/settings/permissions/managed-only.ts +181 -0
  6264. package/src/settings/permissions/merge.ts +129 -0
  6265. package/src/settings/permissions/policy.ts +76 -0
  6266. package/src/settings/permissions/read.ts +234 -0
  6267. package/src/settings/permissions/running-mode.ts +47 -0
  6268. package/src/settings/permissions/sandbox-read-block.ts +110 -0
  6269. package/src/settings/permissions/start-notices.ts +25 -0
  6270. package/src/settings/plugins/enabled-plugins.ts +71 -0
  6271. package/src/settings/plugins/index.ts +26 -0
  6272. package/src/settings/plugins/mod-order.ts +173 -0
  6273. package/src/settings/plugins/plugin-config.ts +111 -0
  6274. package/src/settings/plugins/plugin-id.ts +39 -0
  6275. package/src/settings/plugins/policy.ts +35 -0
  6276. package/src/settings/plugins/suggestions.ts +66 -0
  6277. package/src/settings/plugins/sync-plugins.ts +48 -0
  6278. package/src/settings/plugins/trust-warning.ts +22 -0
  6279. package/src/settings/read-layer.ts +151 -0
  6280. package/src/settings/repair/closed.ts +98 -0
  6281. package/src/settings/repair/hooks.ts +60 -0
  6282. package/src/settings/repair/kinds.ts +101 -0
  6283. package/src/settings/repair/lists.ts +147 -0
  6284. package/src/settings/repair/network.ts +74 -0
  6285. package/src/settings/repair/support.ts +104 -0
  6286. package/src/settings/repair/values.ts +129 -0
  6287. package/src/settings/resolve.ts +119 -0
  6288. package/src/settings/skills/bundled.ts +44 -0
  6289. package/src/settings/skills/index.ts +16 -0
  6290. package/src/settings/skills/overrides.ts +97 -0
  6291. package/src/settings/skills/policy.ts +42 -0
  6292. package/src/settings/skills/shell.ts +47 -0
  6293. package/src/settings/skills/sync-skills.ts +13 -0
  6294. package/src/settings/sources.ts +142 -0
  6295. package/src/settings/value-spec.ts +42 -0
  6296. package/src/settings/view.ts +114 -0
  6297. package/src/settings/workflows/enablement.ts +116 -0
  6298. package/src/settings/workflows/index.ts +30 -0
  6299. package/src/settings/workflows/keyword.ts +116 -0
  6300. package/src/settings/workflows/policy.ts +28 -0
  6301. package/src/settings/workflows/size.ts +96 -0
  6302. package/src/skills/arguments.ts +43 -0
  6303. package/src/skills/command-entries.ts +121 -0
  6304. package/src/skills/execution.ts +299 -0
  6305. package/src/skills/expand-policy.ts +92 -0
  6306. package/src/skills/expand-shell.ts +146 -0
  6307. package/src/skills/expand-types.ts +104 -0
  6308. package/src/skills/expand.ts +200 -0
  6309. package/src/skills/file-references.ts +61 -0
  6310. package/src/skills/folder-line.ts +10 -0
  6311. package/src/skills/fork.ts +74 -0
  6312. package/src/skills/hook-limits.ts +73 -0
  6313. package/src/skills/index.ts +166 -0
  6314. package/src/skills/invocation.ts +141 -0
  6315. package/src/skills/lifecycle.ts +153 -0
  6316. package/src/skills/listing.ts +224 -0
  6317. package/src/skills/lookup.ts +53 -0
  6318. package/src/skills/mention.ts +107 -0
  6319. package/src/skills/path-gate.ts +202 -0
  6320. package/src/skills/portable.ts +69 -0
  6321. package/src/skills/scan/container.ts +59 -0
  6322. package/src/skills/scan/file-location.ts +33 -0
  6323. package/src/skills/scan/head.ts +27 -0
  6324. package/src/skills/scan/locations.ts +146 -0
  6325. package/src/skills/scan/names.ts +42 -0
  6326. package/src/skills/scan/nested.ts +36 -0
  6327. package/src/skills/scan/read.ts +129 -0
  6328. package/src/skills/scan/resolve.ts +259 -0
  6329. package/src/skills/scan/scan-types.ts +64 -0
  6330. package/src/skills/scan/scan.ts +128 -0
  6331. package/src/skills/shell-arguments.ts +114 -0
  6332. package/src/skills/shell-ports.ts +34 -0
  6333. package/src/skills/shell-refusal.ts +43 -0
  6334. package/src/skills/shell-result.ts +156 -0
  6335. package/src/skills/shell-run.ts +201 -0
  6336. package/src/skills/shell-scan.ts +80 -0
  6337. package/src/skills/shell-variables.ts +47 -0
  6338. package/src/skills/skill-rule.ts +52 -0
  6339. package/src/skills/stack.ts +68 -0
  6340. package/src/skills/substitute.ts +211 -0
  6341. package/src/skills/variables.ts +293 -0
  6342. package/src/skills/visibility.ts +65 -0
  6343. package/src/testing/index.ts +6 -0
  6344. package/src/testing/mods/claude.ts +70 -0
  6345. package/src/testing/mods/expect.ts +124 -0
  6346. package/src/testing/mods/fake-ports.ts +156 -0
  6347. package/src/testing/mods/fallbacks.ts +40 -0
  6348. package/src/testing/mods/index.ts +29 -0
  6349. package/src/testing/mods/inline-files.ts +110 -0
  6350. package/src/testing/mods/inline-runtime.ts +106 -0
  6351. package/src/testing/mods/kit.ts +108 -0
  6352. package/src/testing/mods/mock-clock.ts +79 -0
  6353. package/src/testing/mods/mock.ts +63 -0
  6354. package/src/testing/mods/mount.ts +137 -0
  6355. package/src/testing/mods/ports.ts +34 -0
  6356. package/src/testing/mods/runner.ts +209 -0
  6357. package/src/testing/mods/stubs.ts +105 -0
  6358. package/src/testing/mods/world.ts +236 -0
  6359. package/src/testing/ports/clock.ts +53 -0
  6360. package/src/testing/ports/environment.ts +24 -0
  6361. package/src/testing/ports/files.ts +174 -0
  6362. package/src/testing/ports/folders.ts +181 -0
  6363. package/src/testing/ports/http.ts +48 -0
  6364. package/src/testing/ports/index.ts +14 -0
  6365. package/src/testing/ports/locations.ts +39 -0
  6366. package/src/testing/ports/mcp.ts +34 -0
  6367. package/src/testing/ports/model.ts +32 -0
  6368. package/src/testing/ports/runner.ts +27 -0
  6369. package/src/testing/rows/index.ts +104 -0
  6370. package/src/updates/auto-update-pass.ts +102 -0
  6371. package/src/updates/auto-update-precedence.ts +135 -0
  6372. package/src/updates/auto-update-skips.ts +45 -0
  6373. package/src/updates/claude-code-version-policy.ts +264 -0
  6374. package/src/updates/command-source-rerun.ts +220 -0
  6375. package/src/updates/env-flags.ts +19 -0
  6376. package/src/updates/index.ts +93 -0
  6377. package/src/updates/private-marketplace.ts +94 -0
  6378. package/src/updates/refresh-before-install.ts +207 -0
  6379. package/src/updates/update-targets.ts +118 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3453 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## [0.2.0] - 2026-11-23
6
+
7
+ - The kit follows Agent Plugins Extended `0ed968b`, where the 48 disagreements its judgments
8
+ listed are settled (the spec's own ledger `v16-disagreements`); `spec/judgments.md` has none left.
9
+ What changed in behaviour:
10
+ - A `PostToolUse` `updatedToolOutput` is checked against every built-in tool's output type in
11
+ `sdk-tools.d.ts`, Read, Edit, Write and the rest included, every nested field (J7.138); the
12
+ shapes are written by the new `scripts/tool-output-shapes.ts`, and `CHECKED_TOOL_OUTPUTS` lists
13
+ the 43 tools. A tool without an output type still passes unchecked.
14
+ - A mod's matcher takes an object as a partial of an object field, and a value against an array
15
+ field holds when some element matches (§10.13.3); a non-RegExp object is no longer an issue.
16
+ - All `session.end` hooks share a clock that starts when the settings hooks finish and never
17
+ stops: a hook waiting on a `$` call when it runs out is skipped (§10.11).
18
+ - Registration refuses a non-generator hook on a streaming event with the static analysis's
19
+ message (`the hook on "turn.step" is not an async generator: ...`), and `$` passed to a function
20
+ the scan cannot follow fails with `$ itself is bound to a name ...` (§10.4.2, J10.2).
21
+ - The guard's two deny-rule messages end with `(allowModsToOverrideDenyRules)` (§10.42.2).
22
+ - The read block refuses an `LSP` call whose `filePath` is outside the working directories
23
+ (§13.12.2).
24
+ - `baselineDecision` asks for a read outside the working directories in `default`,
25
+ `acceptEdits`, `plan` and `auto` (§13.1, §13.9.4).
26
+ - An `npm` entry of `strictKnownMarketplaces` or `blockedMarketplaces` matches nothing (§14.8.3).
27
+ - `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` is on for any on spelling (`true`, `yes`, `on`; J3.16).
28
+ - A manifest `.json` MCP file that is missing draws no load issue; the validator still reports it
29
+ (§8.1 item 5).
30
+ - An install whose dependency has a `command` source or a `headersHelper` is refused until the
31
+ user installs that dependency by itself, as well as listing it in `leftOut` (§16.24).
32
+ - `claude plugin install`, `uninstall` and `update` refuse with `failureCode:
33
+ "install_records_unreadable"` while the new `unreadableRecords` fact is set (§16.6.2).
34
+ - `CLAUDE_CODE_SUBAGENT_MODEL` alone no longer moves the built-in Explore or Plan; with
35
+ `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` it does (§5.8.2).
36
+ - An invalid `--agents` value loads no agent at all, as Claude Code exits (§5.5.1).
37
+
38
+ - **Breaking (repository):** the library follows Agent Plugins Extended
39
+ (https://github.com/localixai/agent-plugins-extended), which mines Claude Code, and syncs from it.
40
+ `spec/` is the spec's `extend/conformance/` files at the commit `spec/SOURCE.json` pins
41
+ (`d215c3a`, Claude Code 2.1.321), with each file's SHA-256. New `bun run spec:sync [ref]` copies
42
+ them from the checkout beside this one or from GitHub (`git`, then `gh`); `check:spec` fails on a
43
+ hand edit, a stale copy, or an Agent SDK of another release. The mining scripts are gone from
44
+ here: `docs:pull`, `types:pull`, `types:extract`, `spec:extract`, `corpus:fetch` and the corpus
45
+ oracle runs. `bun run corpus` and `corpus:load` read the verdicts the spec recorded, from
46
+ `CORPUS_DIR` or the spec checkout's `extend/.cache/corpus`. The package's API is unchanged.
47
+ - **Repository:** no script here starts Claude Code any more. The spec runs it on fixtures and on
48
+ the corpus (`bun run oracle:record` in agent-plugins-extended) and records what it did; the
49
+ fixtures and their outcomes moved there and arrive in `spec/oracle/` through `bun run spec:sync`,
50
+ which now syncs whole folders (symbolic links kept). `oracle:runtime`, `oracle:settings`,
51
+ `corpus:runtime` and `bench:validate` compare the kit with the recorded outcomes;
52
+ `oracle:subprocess-scrub`, `oracle:remote-mcp-env`, `oracle:headers-helper-env` and
53
+ `oracle:model-content` are gone (their tests compare in `bun test`). `check:spec` SP5 checks
54
+ `tests/support/tool-table.ts` against the spec's `spec/tools-table.json` again.
55
+ - The converter's hook adapter derives profiles as `hooks/core` does (J18.16, J18.21): a text `Read`
56
+ gets no profile (no more `cat -n` numbering), a completed command with `returnCodeInterpretation`
57
+ gets none, and an MCP name with `__` more than once after `mcp__` gets none. It fires core
58
+ `UserPromptSubmit` on `system` and source-less turns and skips only `loop_wakeup` and
59
+ `schedule_wakeup` (J18.23); `coreToClaudeCode` lists each adapted `UserPromptSubmit` handler as
60
+ `not-converted` (it also runs on task notifications and automatic continuations).
61
+ - A failed core handler's notice labels it by `command` and `args` as written in `hooks.json`
62
+ (J18.22). `loadPluginPackage` given a core package's marketplace `entry` reports each component
63
+ field and `strict: false` as an error and loads the package from its own files (J18.15).
64
+ - New `matchClaudeAiMarketplace(list, entry)`: the policy facts of a marketplace hosted on claude.ai
65
+ (host `claude.ai`, a kind of its own), which only a `hostPattern` names; `checkClaudeAi` uses it.
66
+ - `--mcp-config`'s wait reads `MCP_TIMEOUT` as a positive whole number (`2e3`, `64_000`; J3.17).
67
+ - Six more numeric variables read scientific notation and digit separators (`2e3`, `64_000`; J3.17):
68
+ `MCP_TIMEOUT` in an `mcp_tool` hook's wait, `CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS`,
69
+ `MAX_STRUCTURED_OUTPUT_RETRIES` and `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS` as positive whole
70
+ numbers, `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` and the self-hosted `CLAUDE_CODE_MCP_STARTUP_WAIT_MS`
71
+ as whole numbers where `0` keeps its meaning (no cap, no wait). Surrounding white space no longer
72
+ passes in the first three.
73
+ - `validateMod` prints a refusal of the §10.4.2 rules at `modules.<entry>` as `<plugin>: <absolute
74
+ file>:<line>: <message>; $ is always spelled ...` (J10.2), from the new `ValidateInput.root`;
75
+ `ModScanIssue` carries `rule` and `line`.
76
+
77
+ - Core handlers follow Agent Plugins Extended chapter 18 as settled on 2026-11-17 (J18.7, J18.16,
78
+ J18.21, J18.22). `CoreCallFacts.externalSubmission` is replaced by `turnOrigin` (`external` or
79
+ `client`): a `UserPromptSubmit` turn whose `source` is `system` is classified by the origin the
80
+ host gives, and with a core `UserPromptSubmit` handler the dispatch throws without it instead of
81
+ skipping the turn. `file.read` text is `readText` exactly, and a read without it gets no profile
82
+ (no more `cat -n` numbering of `file.content`). An MCP call gets no profile without
83
+ `mcpToolName` when the text after `mcp__` holds `__` more than once, and a completed command with
84
+ `returnCodeInterpretation` gets none without the host's `exitCode`. A failed core handler's notice
85
+ carries a Claude Code exec-form hook's cause (`Failed with non-blocking status code: <first stderr
86
+ line>`, the launch error, `timed out`, on `UserPromptSubmit` `timed out after 30s; the hook's
87
+ output was discarded`); several core reasons join by one newline with empty ones left out.
88
+
89
+ - Conversion between the two plugin forms (Agent Plugins Extended §18.4), from `./core`:
90
+ `coreToClaudeCode` and `claudeCodeToCore` are pure over a loaded package or plugin and return the
91
+ files to write beside it (a dual package) with a note for every field, entry, file and behaviour
92
+ not carried over (`not-converted`), carried with a difference (`reported`) or stopping the
93
+ conversion (`stopped`); `convertPluginPackage` converts a root through the files port, loads a core
94
+ package with every extension namespace it carries, reports what the source loader skipped, refuses
95
+ to overwrite a file, and judges the output with `claude plugin validate` or the core loader before
96
+ a host writes it. Names are never changed (a name the target refuses stops); MCP servers follow
97
+ §18.3.3 with the environment bridged (J18.18); hook handlers convert only through a generated hook
98
+ adapter (`hooks/run-core-handler.mjs`, `hooks/run-claude-code-handler.mjs`, Node.js), which
99
+ translates inputs, tool profiles, results and exit statuses by §18.2 (J18.17) and which a converter
100
+ unwraps when it converts back, so the §18.3.5 example round-trips.
101
+ - New subpath `./core`: the core Agent Plugins form (Agent Plugins 1.1.0). `detectPluginForm`
102
+ decides a root's form by Agent Plugins Extended §1.3 (a dual package is a Claude Code plugin,
103
+ J1.1, J1.2); `loadPluginPackage` then loads it by `loadPlugin`, unchanged, or by the new
104
+ `loadCorePackage`, which implements core §4–§10: the closed manifest (unknown fields warned and
105
+ ignored, other violations fatal), `$schema` selection and the version match of `mcp.json` and
106
+ `hooks.json`, name and metadata rules, fixed locations, skills by Agent Skills, the three closed
107
+ MCP variants with command, `cwd`, `url` and header rules, the five hook events and closed
108
+ handlers, containment with the narrowest failure boundary, extension data and directories, icon
109
+ candidates. `coreServerProcess`, `coreHandlerProcess` and `coreEnvironment` give what a host
110
+ launches (`${PLUGIN_ROOT}`/`${PLUGIN_DATA}` in one non-recursive pass, `PLUGIN_ROOT` and
111
+ `PLUGIN_DATA` set last). `checkDualPackage` reports what of a dual package's manifests loads in one
112
+ form only (§18.3.1).
113
+ - Sessions run core packages beside Claude Code plugins (Agent Plugins Extended §18.1, §18.2):
114
+ `PluginHostOptions.corePackages`, `SessionOptions.corePackages` and `HostUpdate.corePackages`
115
+ take `HostCorePackage`s, plugins by id to settings, policy, conflicts and dependencies
116
+ (`HostedPlugin.core`). Their skills are `/<name>:<directory>` plugin skills that are never
117
+ expanded (arguments appended); their servers resolve under `plugin:<name>:<server>` with
118
+ `PLUGIN_ROOT`/`PLUGIN_DATA` and no `CLAUDE_PLUGIN_*` (`ResolvedMcpServer.core`); their handlers
119
+ run on the same occurrence as Claude Code's hooks (`SessionStart` on startup, clear and fork;
120
+ `UserPromptSubmit` for external prompts; `PostToolUse` also on non-interrupt failures; `Stop`),
121
+ with the core input and tool profiles, Claude Code first on `PreToolUse`, results combined
122
+ `deny` > `defer` > `ask` > `allow`, one Stop continuation under one cap, and a failed core handler
123
+ never blocking. `SessionDispatchOptions.core` (`CoreCallFacts`) gives what only the host knows.
124
+ - `readCoreHooks` returns each kept handler's index in the file (`positions`), so a handler a
125
+ later check skips is named `hooks.<Event>[i]` by its own index, not by its place among the
126
+ handlers kept before it.
127
+ - The hooks engine names the event in `<Event> hook needs quotes around a path with a space
128
+ (<script>)`: a command hook's plan passes its event to `resolveHookCommand`, the skipped run
129
+ carries the line (`SkippedRun.notice`) and the handler's verdict hands it on as its `notice`
130
+ (errors.md, "Hook needs quotes around a path with a space"; spec §17.18.8).
131
+
132
+ - Format, loading, skills and agents follow Agent Plugins Extended chapters 2–6, 8, 9 and 17 where
133
+ they did not: a manifest that is not JSON is `Invalid JSON syntax: <parse error>.` with its period;
134
+ `<component> path not found` names the absolute path when the host passes `roots` (§2.5); in a
135
+ folder without a manifest a `.claude/agents/` agent's frontmatter is read, with `At runtime this
136
+ agent does not load at all — ...` (J2.4); `support` and `privacy_policy` draw the many-tools
137
+ warning (J2.7); a list or map output style `name` reads as `a,b` / `[object Object]` (J6.2);
138
+ numeric variables read `2e3` and `64_000` (new `env-number`, J3.17); the four "set to 1"
139
+ variables (`CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD`, `CLAUDE_CODE_SAFE_MODE`,
140
+ `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`, `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`) take every on spelling
141
+ (J3.16); `uninstallRetention` takes `caseInsensitiveFileSystem` (J3.19); `ESTALE` is reported as
142
+ `EIO` (`reportedCheckCode`, J17.29); the cross-check parse warning names the entry's
143
+ root-relative `plugin.json`.
144
+ - MCP: a user server named `workspace`, `claude-in-chrome`, `computer-use`, `Claude Preview` or
145
+ `Claude Browser` is skipped with `"<name>" is a reserved MCP server name and was not loaded`
146
+ (`RESERVED_MCP_SERVER_NAMES`); `McpConnection.bareElicitationCapability` offers form mode only;
147
+ `registersAsChannel` keeps a v2 server on revision 2026-07-28 from registering as a channel; the
148
+ validator does not read an MCP file past 1,048,576 bytes (J8.27); a stdio server's
149
+ `ResolvedMcpServer.start` runs through `CLAUDE_CODE_SHELL_PREFIX` with the POSIX-quoted command
150
+ line (`mcpStdioStart`, `shellPrefixed`, `posixQuote`, J8.26).
151
+ - New: `outputStyleCommand` with the Remote Control and no-`local`-source refusals;
152
+ `pathEscapesInList` (`Path escapes plugin directory: <path> (<component>)`); an `asyncRewake`
153
+ shell-form hook with an unquoted path placeholder that resolves to a path with a space does not
154
+ run, `HookCommandResolution.notice` carrying `<Event> hook needs quotes around a path with a
155
+ space (<script>)` (`HookCommandOptions.event`); `forkModeOn` and `BackgroundInput.interactive` /
156
+ `forkSubagent` (`CLAUDE_CODE_FORK_SUBAGENT`), `agentTeamsOn`
157
+ (`CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`), `teammateSetup` and `restoreTeammate` (agent-teams.md).
158
+
159
+ - The mod validator's results all carry `gatingHooks` (`[]` when the file gates nothing): the
160
+ manifest, a `hooks.json` with issues and a module that cannot be read (J17.15).
161
+ `FileReport.gatingHooks` is required.
162
+ - `remote-settings.json` is protected only in the configuration directory: a file of that name in a
163
+ project is an ordinary write (§13.10).
164
+ - `untrustedSourceMessage(name, source?)` takes the source: for one that is not GitHub or git the
165
+ middle sentence reads `The name can only be used with GitHub sources from the 'anthropics'
166
+ organization.`; `untrustedSource` passes the entry's (§13.20 item 2).
167
+ - `SandboxBlock.denyWrite`: `hooks/` and `config` inside a linked worktree's common `.git` stay
168
+ write-denied to sandboxed commands (§13.12 item 4).
169
+ - `grantsFocus` in the VS Code panel keeps the terminal's rule as well (a command or a press,
170
+ nothing else focused), then adds the panel's (§10.27.1 item 2).
171
+ - The scan says `$ itself is bound to a name (bound, passed, spread, returned or read)` and `a
172
+ computed or optional member access on $`, Claude Code 2.1.325's words (J10.2).
173
+ - A `PreModelSwitch` hook that times out blocks with `PreModelSwitch hook <name> did not respond
174
+ before its timeout`; `MODEL_SWITCH_REASONS`, `cannotAskReason`, `managedHooksUncheckedReason` and
175
+ `modelSwitchBlocked` give the other reasons and the report line (§7.5.33).
176
+ - `CLAUDE_CODE_SHELL_PREFIX` wraps a shell-form Bash command hook as `<prefix> '<command>'`;
177
+ exec-form and PowerShell hooks run without it (§7.3.2.3 item 5, J7.66).
178
+ - The hooks-file validator refuses a `PreToolUse` or `PermissionRequest` key beside a `hooks`
179
+ object, as without one (oracle 2.1.325, J7.20).
180
+ - `decide`: `ModOutcome.overridesDenyRules` (`allowModsToOverrideDenyRules`) lifts, under policy,
181
+ the rules' outcomes, the read block and a hook's outside managed settings;
182
+ `PreToolUseHookOutcome.managed` marks a managed hook's block or ask, which no mod lifts; the
183
+ permission callback stays (§14.9.6, J14.14).
184
+ - `backgroundSessionTrust`: before a background session starts, `start`, the trust dialog, or
185
+ `Workspace not trusted. ...` and its two variants (§13.15 item 4).
186
+ - `claude plugin validate` of a mod lists `adds to $:` and `withholds from $:` for an
187
+ `engine.create` hook in the form oracle 2.1.325 reads (§10.4.3).
188
+ - `session.takeBackground()` and `onBackground` skip an async `SessionStart` hook's repeat of what
189
+ the session last handed on from it, unless a synchronous `SessionStart` hook added text since;
190
+ after a `compact` or `clear` start it delivers again (§7.3.3 item 7).
191
+
192
+ - `--mcp-config` with `-p`: a remote server whose tool list the discovery cache holds
193
+ (`FlagFacts.cachedToolLists`) skips the first-turn wait (`SessionPlan.mcpWaitSkips`); in a
194
+ self-hosted environment (`FlagFacts.selfHosted`) the wait is 2 seconds, or
195
+ `CLAUDE_CODE_MCP_STARTUP_WAIT_MS`, and covers stdio servers only (§17.15.3).
196
+ - The sandbox lock warning reads `The <N> entries in <file>` for every count, as §17.21 quotes it
197
+ (its row in `spec/judgments.md` changed).
198
+ - `MarketplaceGate.checkClaudeAi(name, scope)`: a marketplace hosted on claude.ai is matched by its
199
+ host; an allowlist `hostPattern` for `claude.ai` admits the organization's and default ones, not a
200
+ member's uploads or one of unstated scope (§15.8.1, §14.8.3).
201
+ - `initPluginFields` and `pluginInstallEvents`: the `plugins` / `plugin_errors` fields of
202
+ `system/init` and the `system/plugin_install` events, for a host to emit (§17.15.2). New official
203
+ types `InitPluginFields`, `SDKPluginInstallMessage`.
204
+ - `planRemotePlugins`: which plugins an SSH session's remote machine gets copied to
205
+ `~/.claude/remote/plugins/`, which a Windows one leaves out, and none for WSL (§16.5.6 item 5).
206
+ - `backgroundSessionFlags`, `agentViewFlags` and `planBackgrounding`: the flags a background session
207
+ and agent view keep, and which running work carries, waits for a relaunch or stops (§17.15.1
208
+ item 6).
209
+
210
+ - **BREAKING** A monitor `command` is pasted by default: its `${CLAUDE_PLUGIN_ROOT}`,
211
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` are written in as paths and none is in
212
+ `ResolvedMonitor.environment` or `MonitorStart.env`, referenced or not (Agent Plugins Extended
213
+ §9.2.4, J9.17). `shellPaths: 'environment-reference'` is the explicit opt-in for the reference
214
+ form; a `headersHelper` and a skill's `!` command keep the reference by default.
215
+ `shellPathsOf` takes the surface, and `shellExports` takes it first.
216
+ - **BREAKING** Only `remote-settings.json` of the configuration directory and the files the host
217
+ names in `ProtectedPathOptions.remoteSettingsFiles` are protected as the stored server-managed
218
+ settings; other `remote-settings*` files are no longer guessed (J13.35).
219
+ - **BREAKING** `validationJson`: `notes` entries are plain strings (new `notes` input, by file),
220
+ and `GatingHook.pattern` is a non-null string, the pattern given to `on` (J17.15).
221
+ - Marketplace validation uses the specification's messages: a command over 500 characters is
222
+ `command must not be longer than the install consent UI can display` (before the printable-ASCII
223
+ message when both break), and an archive `url` that does not parse draws `Invalid URL` beside the
224
+ https message (§15.6.5, §15.6.6, J15.8). The bare `Invalid input` cases of §15.6.7 are tested.
225
+ - `MultiEdit` rules are tested as an unknown tool: `matches no tool`, and for a path rule the
226
+ file-permission warning too (J13.34). The registry order comment of `hookEntries` now says the
227
+ settings files come first, highest precedence first, then plugins, then what registers (J7.2);
228
+ the empty and missing LSP `command` cases of §9.1.3 are tested.
229
+
230
+ - Mods follow Agent Plugins Extended chapter 10 and §14.9 where they did not: a mod Claude wrote
231
+ loads in a non-interactive run in `auto` and `bypassPermissions` modes; a module that hooks
232
+ `engine.create` loads without a types file (J10.3); `telemetry.mark` events carry no `to`, so a
233
+ `{ to: 'collector' }` hook never runs on one (J10.20); `$.state.set` while a `ui.render` hook
234
+ draws is refused and nothing is written (J10.112); a `Raster`'s `cells` must decode to exactly
235
+ `columns × rows × 3` numbers (J10.105); the mobile app draws no `Client` (J10.104, `drawsElement`);
236
+ a backdrop's `glass` is `{ blur, tint, opacity }` with its defaults filled in, or `false`; past 50
237
+ toasts held behind a dialog the oldest leaves (J10.107); `e.uses.calls` is sorted; a managed-enabled
238
+ plugin that counts as a user's gets the debug line `<id> is enabled by managed settings, but ...`.
239
+ - `claude plugin test` and `claude plugin validate` use Claude Code 2.1.325's words (J10.2): the
240
+ turned-off and no-hooks-module lines (`allowManagedHooksOnly` turns mods off too), the rule
241
+ messages, `on` twice without a matcher and a non-generator streaming hook refused, an imported
242
+ file not named like code refused, `$.state.get`/`set` refs checked against the declarations, the
243
+ lines `answers its own command:`, `hooks telemetry for:`, `state of other plugins, not checked`,
244
+ `types <path> declares ...`, the telemetry events and gating globs. A `hooks.json` with neither
245
+ `hooks` nor `modules` fails (J10.174). `--json` errors and warnings are `{ path, message }`
246
+ (`ReportEntry`, J17.15) and a gating hook's `pattern` is the event as `on` was given it. The debug
247
+ log gets `a hook returned a tree that does not validate: <reason>` and `ui.render (<site>): the
248
+ chain settled on a tree that does not validate`.
249
+ - Format and loading follow Agent Plugins Extended chapters 1–3, 6, 9 and 12.6 where they did not:
250
+ an inline `lspServers` map or monitors array with an unknown key or a bad value keeps the plugin
251
+ from loading, and `validatePlugin` reports each entry problem in the oracle's words
252
+ (`lspServers.go: Unrecognized key: "foo"`, `Command should not contain spaces. Use args array for
253
+ arguments.`, `Monitor names must be unique within a plugin`, the two `when` messages); a monitors
254
+ file with an invalid entry is skipped whole (J9.5, J9.7). `LSP_TRANSPORTS` moves to the LSP schema
255
+ module (same export).
256
+ - `userConfig` `options` get the full rule table with the oracle's messages and paths: a non-empty
257
+ list, values of 1 to 64 code points, no edge space, no control, invisible or bidi character, no
258
+ repeat in any case (J3.10).
259
+ - Output styles are read from the subfolders of `output-styles/` (J6.4); of two styles of one plugin
260
+ with one name only the last by path is kept (J6.7); the `/output-style` list shows the first body
261
+ line of a style without `description` (J6.3). A marketplace entry's `themes` join
262
+ `experimental.themes` when plugin.json uses it.
263
+ - A `hooks/hooks.json` that opens with a byte order mark loads no hooks (J2.3). A plugin's
264
+ `settings.json` that is not JSON or not an object is a warning (J12.10).
265
+ - Path messages: a declared path that is not there carries `PluginIssue.guidance`; the commands
266
+ debug line ends `: <path>. Expected .md files or SKILL.md in subdirectories.`; a backslash path
267
+ adds `— its path contains a backslash, which is not resolved reliably on this platform`; a
268
+ missing LSP binary is `Executable not found in $PATH: "<binary>"`.
269
+ - The `PluginFiles` port gains its error channel, `FileStat.checkFailed` (and `{ checkFailed }` in
270
+ `memoryFiles`): a path the system could not check is refused as `<component> path could not be
271
+ checked: <path> (<code>)` while the rest loads.
272
+ - Every on/off variable is read with the shared spellings (`1`, `true`, `yes`, `on`, any case):
273
+ `CLAUDE_CODE_SYNC_PLUGIN_INSTALL`, `CLAUDE_CODE_PLUGIN_PREFER_HTTPS`, `DO_NOT_TRACK`,
274
+ `CLAUDE_CODE_DISABLE_WORKFLOWS` and the rest (J3.16); `CLAUDE_CODE_PLUGIN_DIR_WATCH=0` turns
275
+ watching off in an interactive session too; a relative `CLAUDE_CODE_PLUGIN_DIRS` entry is skipped.
276
+ - On Windows a Git Bash hook gets the path variables with forward slashes in its environment (J3.6);
277
+ under `CLAUDE_CODE_MCP_ALLOWLIST_ENV` a stdio server keeps the plugin's exported variables
278
+ (`McpStdioEnvironmentInput.exported`, J3.22); the unquoted-placeholder warning names the
279
+ placeholders in order of appearance (J3.20).
280
+ - Validator frontmatter findings of §4.10 and §5.4.4: wrong-type `description`, an `allowed-tools`
281
+ list with a non-string, both `shell` errors, `metadata` on commands, a list `name` as `object`;
282
+ agents get only `name` and `description`. A command name over 256 characters is refused; an empty
283
+ agent `model` is dropped with a warning.
284
+ - A plugin whose own folder cannot be checked loads nothing (`plugin path could not be checked: .
285
+ (<code>)`); a `.claude-plugin/plugin.json` that cannot be checked, or (with `roots`) resolves
286
+ outside the plugin and its marketplace, loads nothing either: `Plugin not loaded: its manifest
287
+ <path> was not read, because <reason>` (spec §17.18.3, §17.18.5). A root `SKILL.md` that cannot be
288
+ checked is reported as `skills path could not be checked: SKILL.md (<code>)`.
289
+ - A `Read(...)` deny or ask rule is matched against an LSP call's `filePath`, a relative one against
290
+ the working directory, for every operation (spec §7.6.6, J7.210); an LSP call without `filePath`
291
+ is still covered whole.
292
+ - An option with only a `default` is not set (spec §3.4.4): the configuration dialog opens for it,
293
+ `plugin configure` lists it as `not set` and under `unconfigured`, and the install line counts it.
294
+ - `validatePlugin` reports no error for a remote MCP `url` written empty, a `not configured`
295
+ placeholder (spec §8.2).
296
+ - MCP: an `oauth` field of the wrong type or a non-https `authServerMetadataUrl` drops the entry and
297
+ is reported (J8.3); a remote entry whose `url` is written empty is a `not configured` placeholder
298
+ (`notConfigured`), not an error; `McpStartupServer.transport` limits `cached` to `http` and `sse`.
299
+
300
+ - Hooks follow Agent Plugins Extended chapter 7 where they did not: registry order is the settings
301
+ files' hooks, then the plugins' (J7.2); of several `WorktreeCreate` hooks the last answer in
302
+ handler order is the path, an HTTP `worktreePath` and a command hook's stdout alike (J7.143); a
303
+ relative `watchPaths` entry is resolved against the input's `cwd` (J7.131); only a hook that
304
+ itself blocks can set `suppressOriginalPrompt` (J7.144).
305
+ - A hook run reports the debug lines the docs quote as warnings: `Hook output does not start with
306
+ {, treating as plain text`, `Hook JSON output had unrecognized keys: <keys>`
307
+ (`ParseResult.unrecognizedKeys`), and a dropped async response field (`BackgroundDelivery.issues`).
308
+ - `outcome.runs` and `observer.finished` carry each run's `RunFacts`: matched value, handler label,
309
+ plugin, `RunEnding`, exit code, the timeout reached and the duration by the engine's `clock`.
310
+ - `hipaa` (`subprocessEnvironment`, `HookEngineOptions`, the host options) removes
311
+ `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` and `CLAUDE_CODE_OAUTH_TOKEN` from hooks and other
312
+ subprocesses under the HIPAA configuration.
313
+ - An unknown key of a hook matcher group or handler, or another handler type's field, is dropped
314
+ without a warning (J7.10).
315
+
316
+ - `ruleWarnings` returns the startup warnings of a rule list as values (`RuleWarning`: the rule as
317
+ written, its behaviour, source, kind and, for `never matches`, the replacement rule); a `Write`,
318
+ `NotebookEdit`, `MultiEdit` or `Glob` path rule now draws the `never matches` warning from every
319
+ source (a `Glob` allow rule of `--allowedTools` excepted), and `ruleIssues` reports it as
320
+ `Permission <behavior> rule (<source>): <rule> is not matched by file permission checks — …`.
321
+ - A `.claude/settings.local.json` outside a git repository counts as repository settings for the
322
+ read and write blocks: its `additionalDirectories` no longer let a file tool through. The new
323
+ `PolicyContext.localSettingsInRepository` says the file is in one (default `false`).
324
+ - `sandboxReadBlock` returns what the block re-opens (`reopened`, from the new
325
+ `SandboxBlockInput.reopened`) and, in a linked git worktree (`worktreeCommonGitDir`), the
326
+ repository's common `.git` as readable and writable (`readWrite`).
327
+ - `startupFetchFailure` says what a failed startup fetch of server-managed settings does: a gateway
328
+ `401` on an attended interactive launch with `forceRemoteSettingsRefresh` off prints
329
+ `Cloud gateway session expired — run /login to reconnect.` and opens signed out; any other gateway
330
+ failure exits.
331
+ - A managed drop-in merge keeps each list entry at its first occurrence in file order
332
+ (`managed-settings.json`, then the drop-ins alphabetically); it used to put the later file's
333
+ entries first.
334
+ - `officialMarketplaceRegistration` decides whether the official marketplace registers itself:
335
+ at the first interactive terminal session only, never in `-p`, a cloud-attached terminal or the
336
+ VS Code extension, and never again after a recorded blocked attempt or the opt-out variable.
337
+
338
+ - `plugin uninstall` that stops because a settings file still switches the plugin on prints the
339
+ documented text (`it is still switched on in <file>, although the settings change reported no
340
+ error. It is still installed. Take it out of "enabledPlugins" in that file yourself, then
341
+ uninstall it again.`) and its variants: `and the settings change failed (<error>)`, `<file> is
342
+ there and could not be read`, `<file> (not read: ...)`. **BREAKING** `AfterRemoval.settingsStillOn`
343
+ is a `StillSwitchedOn` (`{ file, cause }`), no longer the file alone.
344
+ - `plugin install --marketplace <source>` whose catalog is named after a marketplace added from
345
+ another source (`InstallFound.addedMarketplace.existingSource`) installs nothing, keeps the
346
+ existing marketplace and fails with `Marketplace "<name>" is already added from a different
347
+ source (<source>). ...` (`invalid_source`).
348
+ - `plugin list --json` leaves `installPath` out for a plugin loaded in place, which carries
349
+ `readFromFolder` (`ListedPlugin.installPath` is optional); the text form shows a session-only
350
+ plugin as `Path: <dir>` and `Status: ✔ loaded`.
351
+ - `plugin details` gives each kind its count: `Skills (2) a, b`, `Agents (0)`.
352
+ - A README line pasted with `--marketplace <owner>/<repo>` unchanged no longer clears the advice.
353
+ - `validate` reports a remote MCP `url` that is not a valid absolute URL (an error), a `ws://` URL
354
+ to a host that is not loopback and a header value that looks like a literal credential (warnings),
355
+ in `.mcp.json` and inline `mcpServers`.
356
+ - `validationJson` gives every file result `gatingHooks` (`GatingHook`: `module`, `pattern`,
357
+ `hook`, `hasCatch`), from the new `gatingHooks` input by file; `ValidationEntry` names the
358
+ `{ path, message }` entry.
359
+ - `marketplace remove` without `--scope` refuses a seed marketplace (`RemoveFacts.seeded`), naming
360
+ the seed directory (`seed_managed`).
361
+ - `marketplace add` reports how many LFS files a clone left as pointer files
362
+ (`AddFetched.lfsPointers`); `lfsPointerLine(count)` is the line, for `marketplace update` too.
363
+ - Marketplace validation names the field that breaks its rule, in the oracle's wording:
364
+ `source.sha: Must be a full 40-character lowercase git commit SHA` (after `Too small`/`Too big`
365
+ for another length), `source.sha256: Must be a 64-character hex SHA-256 digest`,
366
+ `source.timeout: Too small: expected number to be >0` / `Too big: expected number to be <=600`,
367
+ and an archive `source.url` that is not https or names a loopback, link-local or cloud-metadata
368
+ host: `Archive URLs must use https:// and must not point at a loopback, link-local, or
369
+ cloud-metadata host`. A non-ASCII command or a run of four spaces draws one message, `command
370
+ must be printable ASCII (letters, digits, punctuation, single spaces) with no runs of 4 or more
371
+ spaces`. `isBlockedHost` moves to `format/marketplace` (still exported from the marketplace entry).
372
+ - A `relevance.signals.hosts` entry must be lower-case letters, digits, `.` and `-`: an upper-case
373
+ host now invalidates the entry, with `must be a lowercase bare hostname (no scheme, port, or
374
+ path)`.
375
+ - A backslash after `./` in a relative source is no longer reported by `validate`; loading refuses
376
+ it with `Plugin source path refused: <path> does not stay inside its marketplace directory. ...`.
377
+ A bare name under a `pluginRoot` that climbs out or is absolute fails as `Invalid string: must
378
+ start with "./"`.
379
+ - `renames` chains that do not resolve give the reason `target-missing` or `cycle`; a target that
380
+ breaks the id grammar is `target-missing`, and a target that is itself a key is followed.
381
+ - `validate` reports `npm`, `pip`, `uv`, `cargo`, `github` and `gh` in lower case only; adding or
382
+ loading refuses every other casing. `claude-plugin-test` is `reserved for plugins loaded by claude
383
+ plugin test`.
384
+ - `refusedMarketplaceName(name, source)`: a registered marketplace whose name imitates an official
385
+ one stops loading, with `Claude Code refuses the marketplace name "<name>"` on each plugin, the
386
+ marketplace's own `Claude Code refuses this marketplace's name: it looks like one of Anthropic's
387
+ own`, and for a `settings` source the steps that keep it.
388
+ - `marketplace add` refuses an empty `#ref` on a git URL, an SSH address or shorthand with `Invalid
389
+ marketplace source format...`.
390
+ - **BREAKING** `@rsaryev/llx-plugin` → `@localix-ai/agent-plugins`. The project is renamed
391
+ `agent-plugins` and moves to the Localix Lab organisation: the package is
392
+ `@localix-ai/agent-plugins`, the repository `github.com/localixai/agent-plugins`, and the source
393
+ export condition `agent-plugins-source` (was `llx-plugin-source`). Import from the new name; the
394
+ subpaths are unchanged.
395
+ - **BREAKING** `afterBackgroundCheck(result, env, checkoutHoldsCatalog)`:
396
+ `CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1` keeps the checkout without a re-clone only when
397
+ it already contains `.claude-plugin/marketplace.json`; a marketplace never cloned, or cloned
398
+ partway, still gets the clone attempt.
399
+ - `clonePlan` carries `sshOptions`: the client's own `ssh` runs with `BatchMode=yes` and
400
+ `StrictHostKeyChecking=yes`; a user-named SSH program gets none added.
401
+ - The request-routing and client-identity header names dropped from an entry's `headers` are the
402
+ full set the validator warns for (`forwarded`, `x-real-ip`, `connection`, `via`, the `x-original-`
403
+ and `proxy-` prefixes and the rest), with `_` read as `-`, and the catalog validator, the archive
404
+ download and the settings-file filter share one copy.
405
+ - A `dependencies` string with two `@` and an object without `name` are `Invalid input` on the item,
406
+ in the manifest, the validator and `normalizeDependency`.
407
+ - **BREAKING** A disabled dependency is named as its entry declares it, a `--plugin-dir` copy too
408
+ (`Dependency "q2" is disabled — …`, never `q2@inline`); `InstalledDependency.id` is gone.
409
+ - An install of a relative entry from a marketplace added by URL is refused as `Cannot install <id>:
410
+ its marketplace entry path does not stay inside the marketplace directory (…)`, naming the plugin
411
+ given as `FetchPlanContext.pluginId`.
412
+ - `disableSideloadFlags`: the rejected flags are followed by `Plugins, custom agents, and MCP servers
413
+ can only be loaded from sources your administrator has approved.`, the Agent SDK `plugins` option
414
+ (`SideloadFacts.sdkPlugins`) is rejected too, and the CLI's `CLAUDE_CODE_PLUGIN_DIRS` refusal says
415
+ `: unset the variable` as the mods loader's does.
416
+
417
+ ### Fixed (security)
418
+
419
+ - A skill's frontmatter hooks now carry where the skill came from: a project skill's hooks wait
420
+ for workspace trust in an interactive session, a personal or project skill registers none under a
421
+ plugin-only lock on hooks, and a skill of the managed settings directory keeps its hooks under
422
+ `allowManagedHooksOnly` and that lock (hooks.md, "Hooks in skills and agents"). `HookPolicy.runs`
423
+ (`createHookPolicy`) now lets a managed-directory skill's or command's hooks run under
424
+ `allowManagedHooksOnly` too.
425
+ - A `PermissionRequest` hook's `setMode` to `bypassPermissions` is dropped from the session's
426
+ dispatch outcome unless bypass mode is available, and kept only in memory when it is
427
+ (`destination: "session"`); `permissionUpdatesInEffect` (`./rules`) applies the same rule for a
428
+ host. `--restricted` now leaves bypass out of `bypassAvailable` even with
429
+ `--allow-dangerously-skip-permissions`.
430
+ - `decide` denies a PowerShell `Remove-Item` on a system path or a wildcard, and `cmd` `rd`,
431
+ `rmdir`, `del` and `erase` on a system path, in every mode, `bypassPermissions` included (reason
432
+ `powershell-removal`; `DecideContext.powershellCmdRemovalDenyOff` for
433
+ `CLAUDE_CODE_DISABLE_POWERSHELL_CMD_RM_DENY`). A read of another organization's public artifact
434
+ (`DecideContext.foreignArtifact`) asks in every mode, auto included, and is denied in `dontAsk`
435
+ and `bypassPermissions` (reason `foreign-artifact`).
436
+ - The write block treats as settings files the files the session was started with (`--settings`,
437
+ `--agents`, `--mcp-config`), the stored server-managed settings and the files kept with it, and
438
+ any `.json` while `DecideContext.managedSettingsFolderUnresolved`; `writeBlockRefusal` and
439
+ `writeBlockShortRefusal` (`./rules`) give the refusals verbatim. The files kept beside
440
+ `remote-settings.json` in the configuration directory are protected paths
441
+ (`ProtectedPathOptions.remoteSettingsFiles` for others).
442
+ - Auto mode drops wildcarded `bash`, `sh` and `zsh` allow rules (and the legacy `:*` spelling of a
443
+ wildcarded interpreter), and sends a command carrying per-command allowed domains
444
+ (`PreparedCall.allowedDomains`) to the classifier even when an allow rule matches.
445
+ - `PermissionsPolicy.runningMode(current)` (`./settings`) moves a running auto session to `default`
446
+ with `auto mode disabled by settings` (`AUTO_MODE_DISABLED_NOTICE`) when managed settings set
447
+ `disableAutoMode`.
448
+ - The built-in mods guard turns a user's mod's approval of a call an `ask` rule covers into the
449
+ prompt (`decision: "ask"`) instead of a denial, and `allowModsToOverrideDenyRules` lets it past;
450
+ `ModsPolicyInput.managedMcp` makes a machine with only `managed-mcp.json` load the guard and close
451
+ the user's `prependPlugins` and `appendPlugins`.
452
+
453
+ ### Fixed (skills and agents)
454
+
455
+ - Outside a plugin a skill whose frontmatter `name` holds a character a command name can't hold
456
+ now loads under its folder name, with a warning, instead of being refused; a folder or frontmatter
457
+ `name` over 256 characters is refused the same way. A refused name's issue message is its
458
+ debug-log line, `[names] <name> is not offered` or `[names] <value> is not shown for <skill>`,
459
+ hidden characters spelled `\u{200B}` (errors.md, "Skill or command name refused").
460
+ - When a plugin named `anthropic-skills` and a synced skill share a name,
461
+ `/anthropic-skills:<name>` runs the synced skill (`skillLookup`).
462
+ - `scanSavedWorkflows` leaves out a workflow named `anthropic-skills` or `anthropic-skills:<name>`,
463
+ with an error at its file.
464
+
465
+ ## [0.1.1] - 2026-11-12
466
+
467
+ ### Added
468
+
469
+ #### format
470
+
471
+ - `customThemeId(slug, plugin?)` (`./format`) takes the plugin's name and writes
472
+ `custom:<plugin-name>:<slug>`, the preference `/theme` stores for a plugin's theme
473
+ (settings-reference.md, `theme`); `readThemeSetting` reads it back. Without `plugin` it is
474
+ `custom:<slug>` as before.
475
+ - `findOutputStyle(styles, argument)` (`./format`): the style the argument of `/output-style
476
+ <style>` names, a built-in or a custom one, without regard to case, or `undefined` when it names
477
+ none. `resolveOutputStyle` falls back to the setting and to Default, so it could not tell a host
478
+ that the argument matched nothing.
479
+
480
+ #### settings
481
+
482
+ - `subagentStatusLineInput(base, columns, tasks)`, `runSubagentStatusLine(line, { input, env },
483
+ runner, { signal })` and `readSubagentStatusRows(stdout, tasks)` (`./settings`), with the types
484
+ `SubagentStatusTask`, `SubagentStatusLineInput` and `SubagentStatusLineRun`: the run of the
485
+ `subagentStatusLine` that `session.subagentStatusLine()` selects (statusline.md, "Subagent status
486
+ lines"): the stdin object, one run through `CommandRunner`, and the rows it rewrote by task id
487
+ (`''` hides one). The refresh tick, the environment and drawing a row stay the host's. statusline.md
488
+ is outside the requirement set, so these are judgments (spec/judgments.md).
489
+
490
+ ## [0.1.0] - 2026-11-12
491
+
492
+ The first public release, on npm under the MIT license.
493
+
494
+ Grouped by area (format, settings, hooks, skills, agents, marketplace, mods, host, cli, and the
495
+ repository's own tooling). A **BREAKING** entry says what a host changes, old → new; it is listed
496
+ once, in Changed or Removed.
497
+
498
+ ### Added
499
+
500
+ #### format
501
+
502
+ - `writeFrontmatter(fields, body)` and `editFrontmatter(text, changes, body?)` (`./format`): the
503
+ inverse of `parseFrontmatter`, property-tested (2,000 seeded cases of every JSON value shape and
504
+ tricky text: reading back gives the same fields and body). An edit keeps a key's place, comments and
505
+ unknown keys, appends a new key, removes one with `undefined`, and refuses a block that does not
506
+ read (`FrontmatterEdit`). `renderSkillFile`, `renderCommandFile`, `renderAgentFile` write a file
507
+ from `SkillDraft` / `CommandDraft` / `AgentDraft` in the reference table's order; `readSkill`,
508
+ `readCommand` and `readAgent` read it back (judgment `frontmatterWriter`).
509
+ - Tests of the whole strict-mode table at `loadPlugin({ entry })`, and the evidence that Claude Code
510
+ merges the entry with `plugin.json` at load and writes no merged file (judgment `mergeAtLoad`).
511
+ - Resolved LSP servers, monitors and MCP servers (`ResolvedLspServer`, `ResolvedMonitor`,
512
+ `ResolvedMcpServer`, from `session.lspServers()`, `monitors()`, `mcpServers()`) carry
513
+ `pluginId: string`, the declaring plugin's id as the host names it, the same value as
514
+ `SessionSkill.source.pluginId`.
515
+ - `InvocableFrontmatter.frontmatter: Readonly<Record<string, unknown>>`: every skill and command
516
+ keeps its frontmatter as parsed, unknown keys included and values as written (`{}` when the YAML
517
+ does not parse); the kit gives no meaning to a key it does not know. `readInvocable` takes the keys
518
+ it leaves unread (`untaken`).
519
+ - `LoadPluginInput.entry?: MarketplaceEntry`: `loadPlugin` merges the marketplace entry with
520
+ `plugin.json` (`mergeEntryWithManifest`, `strict` included), so the entry's replaced hook events
521
+ and the default skills scan reach the load.
522
+ - `readMcpbOptions(block)`: a bundle's `user_config` block in the plugin option shape.
523
+ - `resolveMcpServers`, `resolveLspServers`, `resolveMonitors` and `ResolvedKind` (`./loading`), and
524
+ `NO_PROGRAM` and `onlyQuotedStrings`; `resolveHookCommand` takes `ofPlugin` and reports
525
+ `notStarted` for a command that names no program.
526
+ - `validate` checks a manifest's `userConfig` options (the option-key rule and the `options` list),
527
+ accepts `skills: "."` and an inline `experimental.monitors` array, and its `..` message names the
528
+ path.
529
+ - A host's elicitation dialog needs no code of its own: `elicitationFieldProblems(schema, values)` names the problem of each form field (bounds, lengths, `format`, the listed options, the number of options chosen), `ElicitationField` carries the `labels` of its options (`oneOf`/`anyOf` titles, `enumNames`), `default`, `format`, `minLength`, `maxLength`, `minItems` and `maxItems`, and the new `@rsaryev/llx-plugin/elicitation` entry exports these pure functions alone, so a browser bundle takes only them. An `ElicitationResult` hook's `cancel` now reaches the server with the values the user submitted, as hooks.md says; a `decline` still carries none.
530
+ - `readMcpbManifest`, `bundleServerOf`, `fillBundleSettings`, `requiredBundleSettings` and `missingBundleSettings` read an MCPB bundle's own manifest (name, server for the platform, `user_config`, variables), so a host that opens bundles keeps no manifest parser; `modelVisibleMcpTool` applies `_meta.ui.visibility` and `boundedMcpErrorText` bounds the error text of a failed call as an error result is bounded.
531
+ - A `./layout` subpath exports the standard layout registry without importing the full host,
532
+ parsers or hook/mod engines. Small folder classifiers can depend on this boundary alone.
533
+ - `prepareSubstituter` and `prepareContentSubstitution`: synchronous substitution for a host
534
+ that reads a body lazily, with the path variables asked for once when it prepares.
535
+ - Repository plugins and workspace trust: `decideRepositoryPlugin` (the folder itself must be trusted;
536
+ a parent's trust and `-p` never suffice; `~/.claude/skills/` is exempt; the primary directory, a
537
+ worktree's main checkout and a managed block), `loadRepositoryPlugin` and its component limits (MCP
538
+ servers wait for per-server approval, bundles and files outside the directory are skipped, monitors do
539
+ not load), `contentGate` (the table of what runs before a folder is trusted), `workspaceTrustKey`,
540
+ `workspaceTrustState`, `settingsHooksMayRun`, `localSettingsVerdict`, `projectEntryApplies` and the
541
+ `WorkspaceTrust` port. The folder-is-a-plugin probe (`probeFolder`: `@skills-dir` needs a manifest,
542
+ `--plugin-dir` does not), `planPluginScaffold` (`claude plugin init`) and `pluginDebugSteps`. An inline
543
+ (`settings`) marketplace on `strictKnownMarketplaces` now needs identical `plugins` as well as the name.
544
+ - `removedFromHeadersHelper(name)`: whether a `headersHelper` from a project `.mcp.json` or a plugin runs without `name` in its environment, as Claude Code observed by `bun run oracle:headers-helper-env`.
545
+ - `readsAsEmptyInRemoteMcp(name)`: whether a remote MCP server's `url` or `headers` reads `${name}` as empty, for a host that expands its own MCP configs.
546
+ - `classifyPluginFolder`: whether a `--plugin-dir` folder is one plugin or a folder of plugins,
547
+ with the edges Claude Code 2.1.319 applies.
548
+ - MCP startup and call-timing variables, pure over an environment lookup: `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`
549
+ (`McpTimeouts.idleMs`: 5 minutes for network servers, 30 for stdio, `0` off, raised to one second,
550
+ capped at the tool timeout, floored by the per-server `timeout`, none for IDE and SDK servers),
551
+ `mcpConnectionBatches` (`MCP_SERVER_CONNECTION_BATCH_SIZE`, `MCP_REMOTE_SERVER_CONNECTION_BATCH_SIZE`),
552
+ `mcpBackgrounding` (`CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS`, `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND`),
553
+ `mcpStartupWaitsFor` (`MCP_CONNECTION_NONBLOCKING`), `mcpFirstTurnWaitMs`
554
+ (`CLAUDE_CODE_MCP_STARTUP_WAIT_MS`), `mcpDiscoveryCache`, `mcpCacheEntryUse` and
555
+ `mcpCacheDiscardedAfterFailures` (`MCP_DISCOVERY_CACHE` and its `_TTL_S`, `_MAX_STALE_S` and
556
+ `_STRIKES`) and `mcpClientSettings` (`MCP_SDK_GENERATION`, `MCP_PROTOCOL_NEGOTIATION`).
557
+ - MCP contracts, pure over data: the `oauth` block, redirect, discovery and scopes; `claude mcp add`
558
+ and `add-json`; tool names, hints, root-combinator rewriting and invalid-schema exclusion; result
559
+ limits, persistence and images; MCP prompts; elicitation (modes, forms, URL cap, hooks); the
560
+ `MCP_TIMEOUT`, `MCP_TOOL_TIMEOUT`, `MCP_CONNECT_TIMEOUT_MS` and description-length knobs; reload
561
+ planning; redaction of a plugin server. An unset `${VAR}` in a plugin server is now the error
562
+ `Invalid MCP server config for "<name>": Missing environment variables: ...` instead of a warning.
563
+ - MCP `headersHelper` and the subprocess environment, pure over data. `planHeadersHelper` answers
564
+ where a server's helper runs (plugin root, project directory, primary working directory or the
565
+ configuration directory, by where the server was configured), with which environment (credential
566
+ variables removed for a project `.mcp.json`, a plugin and a project or `--add-dir` agent file;
567
+ `CLAUDE_CODE_MCP_SERVER_NAME`, `_URL` with `REDACTED` for a removed variable's live value, and
568
+ `CLAUDE_PLUGIN_ROOT` for a plugin), under 10 seconds, and whether it runs at all: a project or local
569
+ server in a folder without persisted trust (a parent's and the automatic `-p` or SDK trust do not
570
+ count) connects with its static headers and gets the `headersHelper not run` notice, an agent file's
571
+ server in an untrusted folder is not loaded; `persistedTrust` reads `hasTrustDialogAccepted`.
572
+ `runMcpHeadersHelper`, `connectionHeaders` and `attemptWithHeadersHelper` run it fresh each time,
573
+ let dynamic headers win, stop the OAuth fall back on an `Authorization` header and retry a 401 or 403
574
+ once. `scrubEnvironment` and `subprocessScrubEnabled` apply `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`'s
575
+ table (credential names and URLs with a password removed, registry URLs lose their userinfo, GitHub
576
+ tokens, proxies and `GIT_CONFIG_*` kept; the pre-2.1.251 behaviour by `version`). One credential
577
+ classifier (`isCredentialVariable`) serves all of them and the marketplace helper. A monitor
578
+ `command` can opt into `monitorPaths: 'environment-reference'`: the three path variables become
579
+ `${NAME}` references and `ResolvedMonitor.environment` supplies the values, so a path holding shell
580
+ metacharacters cannot inject.
581
+ - MCP settings: scope ranking, per-project toggles, project approvals and workspace trust, pure over
582
+ data the host read. `rankMcpServers` loads each server once from the highest of managed, local,
583
+ project, user, plugin and claude.ai connector (names across the three scopes, endpoints for plugins
584
+ and connectors, the whole winning entry, hidden duplicates reported); `claudeJsonServers` and
585
+ `projectFileServers` turn `~/.claude.json` and `.mcp.json` into candidates; `managedServerEntries`
586
+ reads `managedMcpServers` from managed layers only; `readProjectToggles`, `serverEnabled` and
587
+ `applyToggles` apply `disabledMcpServers` and `enabledMcpServers` (one list per kind of server);
588
+ `projectServerApproval` and `canPromptForProjectServers` decide `Pending approval` and `Rejected` for
589
+ `.mcp.json` servers with the untrusted-folder filter. The keys `enableAllProjectMcpServers`,
590
+ `enabledMcpjsonServers` and `disabledMcpjsonServers` join the policy keys, and `resolvePolicy`
591
+ returns an `mcp` area.
592
+ - MCP allow and deny lists: `createMcpServerPolicy` (and `resolvePolicy(...).mcp.serverPolicy()`)
593
+ decides whether a server may load from `allowedMcpServers`, `deniedMcpServers` and
594
+ `allowManagedMcpServersOnly`: the denylist of every file first and always, the allowlist of every file
595
+ or only the highest managed one under the lock (a `true` in any admin source locks), `serverUrl`
596
+ patterns with the port rule, exact `serverCommand` arrays, `serverName` only where the list has no
597
+ entry of the server's kind, `${VAR}` expansion of entries (pinned environment) and servers (live
598
+ environment), the servers that skip the allowlist, and the verdict with the messages users see.
599
+ Invalid entries are stripped per the fail-closed rules; the three keys join the policy keys.
600
+ - Themes: `readTheme` reads a custom theme file (`~/.claude/themes/<slug>.json`, `themes/<slug>.json`
601
+ in a plugin): `name` defaulting to the slug, `base` among the six presets (asserted against the SDK's
602
+ `theme` setting), `overrides` over the documented tokens with `#rrggbb`, `#rgb`, `rgb()`, `ansi256()` and
603
+ `ansi:<name>` colours; unknown tokens and invalid colours are dropped with an issue. `copyOfPluginTheme`
604
+ is the copy an edit of a plugin theme is saved as. `Plugin.themes` now holds the read `Theme` of each
605
+ file and the plugin it comes from (`PluginPath` is gone: `PluginTheme` and `PluginWorkflow` replace it).
606
+ - MCP: `${VAR}` for servers of the settings scopes, not only plugins' (`expandMcpServer`,
607
+ `expandEnvText`): `command`, `args` and `env` of a stdio server, `url` and `headers` of a remote
608
+ one, over a lookup function and no plugin. An empty string counts as set, an unset variable
609
+ without a default keeps its text with a missing-variable warning, a `url` that does not parse
610
+ after expansion drops the server, and the covered credential variables read as empty toward a
611
+ remote server with a debug line naming the ones the user set (`credential-env`, one list for
612
+ plugin and non-plugin servers). `displayReference` gives what `/mcp` and `claude mcp list` show
613
+ (the `${VAR}` by name; a managed server's host only) and `mcpEndpointKey` the endpoint two
614
+ servers are duplicates by (URL spellings that differ only in scheme or host case, default port or
615
+ a trailing slash are one; a command is its arguments too).
616
+ - Validating: `validatePlugin({ files, label?, signal? })` reproduces `claude plugin validate <dir>`
617
+ of the tracked Claude Code release over a `PluginFiles` folder: it picks the marketplace, the
618
+ plugin or a bare components folder as the CLI does and returns `{ target, issues }` with each
619
+ issue's `severity`, `file`, `path` and the CLI's own `message`. It checks the manifest (schema,
620
+ advice, unknown fields, declared paths, inline hooks and MCP servers, the map form of `commands`),
621
+ `hooks/hooks.json`, `.mcp.json`, the frontmatter of skills, agents and commands, `CLAUDE.md`, and,
622
+ for a marketplace, every entry and the manifest of each entry inside it; it never follows a
623
+ symlink and says so as the CLI does. Exports `ValidationIssue`, `ValidationReport`,
624
+ `ValidationTarget`, `VALIDATION_TARGETS`.
625
+ - Manifest rules the docs state and the kit did not apply: a `userConfig` option's `options` must sit
626
+ on a `string` field that is not `multiple` or `sensitive`, with a `default` from the list or
627
+ `required: true` (else the plugin fails to load); `types` is a `./` path to a `.d.ts` file inside the
628
+ plugin; a `channels` entry bound to a server that is not among the plugin's `mcpServers` is an
629
+ error issue. `resolveChannel` gives a channel its `displayName` (default: the server name) and
630
+ substitutes its `userConfig` into that server's `env`; `validateUserConfigValues` tells whether a
631
+ saved value meets `type`, `required`, `multiple`, `options`, `min` and `max`. The mods reference
632
+ tables the tests compare the kit with are a committed snapshot (`spec/docs-tables.json`), and
633
+ `check:spec` (SP5) compares it and the tools table with the pulled docs.
634
+ - Output styles: `readOutputStyle` (`name`, `description`, `keep-coding-instructions`,
635
+ `force-for-plugin`, `<plugin>:<name>` ids, a YAML error loads the style under its file name),
636
+ `resolveOutputStyle` (case-sensitive setting, case-insensitive `/output-style`, a forced plugin
637
+ style overrides both), `includeCodingInstructions` (full prompt only) and `listOutputStyles`.
638
+ - `readManifest` and `validateManifest` for `.claude-plugin/plugin.json`.
639
+ - A frontmatter parser (`parseFrontmatter`) and the value coercions of skills, commands and
640
+ agents (`readFlag`, `readText`, `readList`, `readTable`, `readEnum`).
641
+ - `readInteger` and a mode for `readList` (`separators`, `braces`), the frontmatter API exported
642
+ from the package, `line` and `column` on a frontmatter problem, `HttpRequest.as` and
643
+ `HttpResponse.bytes` for binary bodies, and symlinks and access recording in the `memoryFiles`
644
+ fake.
645
+ - Variable substitution in `loading/resolve`: `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
646
+ (created on first reference, `pluginDataId`), `${CLAUDE_PROJECT_DIR}`, `${user_config.KEY}`,
647
+ `${VAR}` and `${VAR:-default}` in one pass (`substituteTemplate`, `substituteDeep`), the
648
+ per-component policies (`SURFACE_POLICY`, `VARIABLE_FIELDS`), the environment a process receives
649
+ (`exportedEnvironment`, `CLAUDE_PLUGIN_OPTION_<KEY>`) and Windows path rendering.
650
+ - MCP servers of a plugin: `readMcpConfig` and `readMcpServer` (wrapper or bare `.mcp.json`; `ws` and
651
+ `headersHelper` on the official stdio, SSE and HTTP configs as `PluginMcpServer`),
652
+ `collectMcpServers` and `classifyMcpSource` (root `.mcp.json` first, then each `mcpServers` source
653
+ in order: `.json` file, inline map, `.mcpb`/`.dxt` bundle path or URL through the new optional
654
+ `McpBundleReader` port, "needs configuration" for a bundle with an unsatisfied required setting),
655
+ and `resolveMcpServer` (variables substituted per transport, credential variables read as empty,
656
+ `headersHelper` rejecting `${user_config.*}` with the documented error, its environment) with
657
+ the reusable `rejectUserConfigInShell` guard.
658
+ - `expandMcpServer(name, server, lookup, options?)` with `McpExpansionOptions.readsAsEmpty`
659
+ (`./format`): a host adds its own variable names to the ones that read as empty toward a remote
660
+ server; Claude Code's list still applies (judgment, docs/SECURITY.md).
661
+
662
+ #### settings
663
+
664
+ - `workspaceTrustSituation(isFolderTrusted, facts, options?)` (`./loading`): the column of the trust
665
+ table for a host that knows synchronously whether the dialog was accepted for a folder, the same
666
+ answer as `workspaceTrustState` with the same folders asked (no folder above a repository). Its
667
+ options type is `TrustStateOptions`.
668
+ - `configDirectoryOf(home, configDir, join)` and `globalConfigFileOf(home, configDir, join)`
669
+ (`./settings`): the one reading of `CLAUDE_CONFIG_DIR` the kit uses, for a host that resolves the
670
+ same directory outside a session (empty is unset; a value is taken as given, neither trimmed nor
671
+ `~`-expanded).
672
+ - `applyParentRules(view, context)` and `ParentSettingsContext` (`./settings`): the parent-settings
673
+ rule over a view the host built itself.
674
+ - `permissions.denyInsteadOfPrompting` (Claude Code 2.1.321): read from user, managed and
675
+ `--settings` files only, a `true` from user or `--settings` beats a managed `false`
676
+ (`PermissionsPolicy.denyInsteadOfPrompting`). `startPermissions` sets
677
+ `DecideContext.denyInsteadOfPrompting`, so `decide` denies a would-be prompt with the reason
678
+ `no-approval-surface` and the permission callback is not asked; a critical-path removal in auto mode
679
+ is denied at a terminal too. `permissionRequestDecision(decision, outcome)` lets a `PermissionRequest`
680
+ hook answer a prompt or a denial in place of one; `availableTools` leaves out `AskUserQuestion`,
681
+ `EnterPlanMode` and `ExitPlanMode` (`ToolSession.teammate` keeps the plan tools);
682
+ `autoRespondElicitation(output, { denyInsteadOfPrompting })` cancels a request no hook answers;
683
+ `settleClassification` takes `prompts`. The messages: `NO_APPROVAL_SURFACE_DENIAL`,
684
+ `NO_APPROVAL_SURFACE_DECISION_REASON`, and `createRefusalStreak()` with `REFUSAL_STOP_MESSAGE` and
685
+ `REFUSAL_STOP_RESULT` for the stop after 20 refused calls in a row in auto mode.
686
+ - `readChannelNotification(params)` reads the params of a channel notification (`content` string required, `meta` kept for identifier keys with string values), so a host does not write its own validator before `channelTag`.
687
+ - Managed MCP: `readManagedMcpFile` and `loadManagedMcpFile` read `managed-mcp.json` from the path of
688
+ each platform; `readManagedMcpServers` validates `managedMcpServers` entries (remote `https` only, no
689
+ program, no `${VAR}`, plain names and characters) with a notice for each dropped one;
690
+ `mcpLoadPlan` (and `resolvePolicy(...).mcp.loadPlan`) decides what loads under exclusive control: an
691
+ empty map blocks every other server, `claude mcp add` gets the enterprise-policy error, `--mcp-config`
692
+ and `--strict-mcp-config` exit on a workstation (a cloud session keeps the managed servers and warns),
693
+ connectors need `allowAllClaudeAiMcps`, Claude in Chrome needs `allowClaudeInChromeWithManagedMcp` from
694
+ device sources; `providedServersTiming` and `reconcileManagedServers` say when provided servers connect
695
+ and what a running session adds, reconnects or drops. The keys `managedMcpServers`,
696
+ `allowAllClaudeAiMcps`, `allowClaudeInChromeWithManagedMcp` and `disableClaudeAiConnectors` join the
697
+ policy keys, and `resolvePolicy` takes `deviceManaged` layers.
698
+ - The managed sources (`src/settings/managed`). `composeManaged(documents, { parentRestrictive })`
699
+ chooses among remote settings, the MDM policy (plist or HKLM), the managed files and the HKCU
700
+ registry as managed-settings.md ranks them: by default the highest source that delivers a policy
701
+ key, with `managedSourcesBehavior: "merge"` every admin source combined by kind of key (lists union,
702
+ locks take the strictest value, restriction allowlists and values taken whole from the highest
703
+ source, provided MCP servers by name, `env` per variable, login keys from the machine policy), and
704
+ the keys read from every admin source under both. `readAdminDocument` decides when a document is
705
+ present, empty, broken (fatal) or unreadable; `readFileDocument` merges `managed-settings.json` with
706
+ `managed-settings.d/` in alphabetical order; `wslChain` orders the Windows and `/etc/claude-code`
707
+ documents under `wslInheritsWindowsSettings`; `parentSettingsOf` applies `parentSettingsBehavior` and
708
+ the managed values that block a host's parent settings. `readPolicyHelper`, `readHelperOutput` and
709
+ `runPolicyHelper` (through the `CommandRunner` port and the new `HelperFileProbe` of this module)
710
+ judge a `policyHelper` and its failures; `withHelperSettings` makes its output the only managed
711
+ settings. The delivery catalog (`managedFilePaths`, `MECHANISM_TRAITS`, registry and plist names,
712
+ symlink verdict, `cacheAfterFetch`), `sourcesLoadedBy`, `reachOfPlace`, `serverChangeTiming`,
713
+ `startupFetchOf` and `fetchesRemoteSettings` answer where and when a policy applies.
714
+ `SettingsSources.managed` lets a host hand over every source so `loadSettingsLayers` composes the
715
+ tier, `resolvePolicy({ managed })` takes `hasManagedSettings` and `parentMerge` from it, and
716
+ `autoCompactWindow` joins the per-session overrides (`--autocompact`, `CLAUDE_CODE_AUTO_COMPACT_WINDOW`).
717
+ - The merge core. `createGeneralView(layers)` extends the policy view with `merged()`, the
718
+ whole of settings.md's precedence as one object: a block merges key by key, a list combines with the
719
+ duplicates removed (the highest file's entries first), any other value comes from the highest file,
720
+ and `fallbackModel`, `modelPicker` (user, managed and `--settings` only) and `availableModels` (a
721
+ managed list as-is) keep their own rules. The 12 keys whose managed value is not an override are rows
722
+ with a `ManagedException` (`disableClaudeAiConnectors`, `enableArtifact` and `disableArtifact`,
723
+ `isolatePeerMachines`, the two `block...Outside...` keys, `autoMode.classifyAllShell`,
724
+ `remoteControlAtStartup`, `crossSessionInbound`, `useAutoModeDuringPlan`, the two claude.ai sync keys
725
+ and `maxEffortLevel`); `get` applies one rule for all of them. `permissions.defaultMode` ignores
726
+ `auto` and `bypassPermissions` from project and local settings. `permissionRuleLists(view, trusted)`
727
+ adds up allow, ask and deny across scopes (a deny at any scope blocks, `allowManagedPermissionRulesOnly`
728
+ leaves managed rules only, a repository's allow rules and `additionalDirectories` wait for trust),
729
+ `effortLevelFor` resolves `modelSettings` one model at a time, `resolveSessionValue` orders a key's
730
+ flag, paired variable and settings value, `editEffect` and `loadsFileCreatedMidSession` say when an
731
+ edit reaches a running session, `reachOf`, `FILE_ORIGINS`, `WRITE_TARGET`, `userSettingsFile`,
732
+ `localSettingsFiles` and `globalGitExcludesFile` hold the scope and file-location facts of
733
+ settings.md, and `readClaudeJson` decides what a broken `~/.claude.json` costs. A global config key
734
+ is dropped from every settings file with a warning, and a source that does not parse is a Settings
735
+ Error (`problemKind`) naming the file.
736
+
737
+ #### hooks
738
+
739
+ - `escapeReminderTags(text)` (`./hooks`): the `<system-reminder>` tag escape `mergeOutputs` and
740
+ `limitDelivery` apply, for hook text a host writes into a reminder itself.
741
+ - `HookEngineOptions.onceClaims` with `createOnceClaims`, `withoutSpent` and `OnceClaims`: a host
742
+ that builds an engine more than once for one registry passes one that outlives them, as it does
743
+ `stopCap`. Also `SOURCE_POLICY`, `SourcePolicy` and `limitDelivery` (`./hooks`), and
744
+ `SessionDispatchOptions` (root).
745
+ - `session.hookEntries()` and `runnableHandlers(entries, session)`: the registered hooks that would run, with their source, for a read-only `/hooks` view.
746
+ - `locationsWithoutPlugin`: the scope a host gives `resolveHookCommand` for a settings hook.
747
+ - Hooks: `registerHooks` turns a hooks file into registry entries; Settings: `hookSessionGates` reads
748
+ `disableAllHooks`, `allowManagedHooksOnly`, the `hooks` lock, the HTTP allowlists and the settings
749
+ files' hooks off the policy view as the plain data a hook session takes.
750
+ - `selectAgentHooks`, `agentHookGroups` and `hooksTrustGate`: the frontmatter hooks of an agent that
751
+ fire for an event (only while the agent is active, the `PreToolUse` and `PostToolUse` matcher
752
+ over the tool name, a subagent's `Stop` converted to `SubagentStop`, none for a plugin agent,
753
+ project-level and `--add-dir` agents skipped until their folder is trusted); `readAgent` reads the
754
+ `hooks` field with every hook event accepted.
755
+ - `readHooksFile` and `readHooksSettings`: hook configuration read and validated as hooks.md
756
+ describes (events, matcher groups, the five handler types and their fields), into the official
757
+ `HooksSettings`; and `matchesMatcher`, the matcher grammar of hooks.md (match-all, exact list,
758
+ unanchored regular expression, the narrower set of `FileChanged` and `StopFailure`).
759
+ - Hook input (`hooks/input`): `buildHookInput` makes the JSON a hook reads from the session and the
760
+ event's facts: the common fields (`session_id`, `prompt_id` absent before the first prompt,
761
+ `scratchpad_dir`, `permission_mode` with Manual as `default`, `effort` on tool-context events,
762
+ `agent_id` and `agent_type`, `hook_event_name`), facts checked against the official input type of
763
+ each of the 33 events (a wrong type or value is an issue and no input), the conditional fields
764
+ (`SessionStart` cost fields for resume and fork, `InstructionsLoaded` `globs`, `trigger_file_path`
765
+ and `parent_file_path` by `load_reason`), and the `Stop` task and cron entries capped at 1000
766
+ characters with the `… [+N chars]` marker and per-type fields. `serializeHookInput` is the one
767
+ JSON text for stdin and an HTTP body.
768
+ - Command hook handler (`hooks/handlers`): `runHandler` runs a `command` hook through `CommandRunner`
769
+ in exec form (`args` present: the executable and one argument per element, no shell, placeholders
770
+ and `${user_config.*}` substituted as plain strings) or shell form (`bash` or `powershell`, the
771
+ placeholders rewritten to `${env:NAME}` for PowerShell, a plugin hook that references
772
+ `${user_config.*}` refused with the documented error), with the event JSON on stdin,
773
+ `CLAUDE_PROJECT_DIR`, `CLAUDE_PLUGIN_ROOT`, `CLAUDE_PLUGIN_DATA` and `CLAUDE_PLUGIN_OPTION_<KEY>`
774
+ exported, `OTEL_*` removed and the documented working-directory fallbacks. `async` and
775
+ `asyncRewake` hooks return a background run at once (no timeout for `async`, a wake text on exit
776
+ code 2 for `asyncRewake`). `planTimeouts` and `handlerTimeoutMs` compute the limit the port
777
+ enforces (600/600/600/30/60, lowered on `UserPromptSubmit`, `PreModelSwitch`, `PostModelSwitch`
778
+ and `MessageDisplay`, the shared `SessionEnd` budget), and `statusMessage` reaches the host's
779
+ observer when a hook starts.
780
+ - Remote hook handlers (`hooks/handlers/remote`): an `http` hook POSTs the hook input as JSON with
781
+ `Content-Type: application/json`, interpolating `$VAR` and `${VAR}` in header values only for the
782
+ names in `allowedEnvVars` (unlisted ones become empty strings); an `mcp_tool` hook calls the tool
783
+ on the server it names (a plugin server by its scoped name), substitutes `${path}` from the hook
784
+ input into the string arguments, waits for a connecting server only on events that can block or
785
+ change a result, and reports `isError` as a non-blocking error; `prompt` and `agent` hooks
786
+ substitute `$ARGUMENTS` (with the `\$` escape, the input appended when absent), pass `model` and
787
+ the 30 s and 60 s timeouts, and read the `ok` / `reason` / `impossible` answer. `okFalseEffect`
788
+ says what `ok: false` does on each of the 13 events (`continueOnBlock`, `impossible`, agent hooks),
789
+ and `runLimited` runs at most 12 prompt or agent hooks at once, in handler order.
790
+ - The hook verdict and engine: `interpretRun` reads a run as the docs do (the stdout against exit
791
+ code table, exit 2 on each of the 33 events, `onFailure` on `command` and `http` hooks, HTTP
792
+ response handling, `ok: false` of prompt and agent hooks, background deliveries), and
793
+ `createHookEngine` dispatches an event through select, input, run, read and merge into a
794
+ `HookOutcome`.
795
+ - Hook output (`hooks/output`): `parseHookOutput` reads a hook's JSON against the schema of its
796
+ event (the universal fields and a `hookSpecificOutput` bound to the official types, a value of the
797
+ wrong type is a validation failure, a key no schema names is dropped); `OUTPUT_CAPS` says which of
798
+ `continue`, `systemMessage`, `terminalSequence`, `decision` and the event's own fields each of the
799
+ 33 events honours; `mergeOutputs` merges every hook's output in registry order (`PreToolUse` deny >
800
+ defer > ask > allow, `PreModelSwitch` deny > ask > allow, `PermissionRequest`, `PostToolUse`
801
+ rewrites checked against the Bash, Glob, Grep, WebFetch and WebSearch output shapes, the classifier
802
+ note capped at 2,000 characters, `Elicitation` where any decline wins) into typed `effects`;
803
+ `allowedTerminalSequence` keeps `terminalSequence` to OSC 0/1/2/9/99/777 and BEL;
804
+ `parsePermissionUpdates` validates the six permission update entries (`manual` is `default`);
805
+ `createOutputStage` caps each string of a hook at 10,000 characters, saving the rest through
806
+ `ScratchFiles` with a 2,000-character preview, and is the engine's default output stage
807
+ (`HookPorts.scratch`); `OutputStage` gains `limit`, `merge` takes the event's facts, and
808
+ `MergedOutput` carries `issues`.
809
+ - Hook output (`hooks/output`): `SubagentStart` `hookSpecificOutput.additionalContext` is proven
810
+ as a requirement (accepted for that event only, carried from every hook, capped, and no decision
811
+ holds subagent creation back).
812
+
813
+ #### skills
814
+
815
+ - `PluginHostOptions.shellArguments?: 'pasted' | 'environment-reference'` (type `ShellArguments`,
816
+ `./skills`): default `pasted`, as Claude Code. Under `environment-reference` a skill's or
817
+ command's bash `!` command gets `$ARGUMENTS`, `$N` and `$name` as references to
818
+ `SKILL_ARGUMENTS` / `SKILL_ARGUMENT_<n>`, the values in its environment, so an argument holding
819
+ `; touch PWNED` or `$(…)` is data in every quoting; `ShellCall.command` has each value quoted
820
+ where it lands. PowerShell stays pasted (judgment `shellArguments`).
821
+ - A plugin skill whose folder fixes its name but whose frontmatter `name` differs answers to that
822
+ name too: `Skill.declaredCommand` (new, optional) is the command it gives (`alpha:fancy` for
823
+ `skills/greet/SKILL.md` with `name: fancy`), and `session.expandSkill('alpha:fancy')`,
824
+ `expandSkill('fancy')` and an agent's `skills: [fancy]` preload find the skill, which is still
825
+ listed only as `alpha:greet` (oracle 2.1.322; tests/host/preload-skill-alias.test.ts).
826
+ - `readMemoryRule(path, text, scope)` (`./format`) reads a `.claude/rules/**/*.md` file (memory.md,
827
+ "Rule frontmatter reference"); `ruleActivatesFor` and `ruleBase` (`./skills`) match its `paths` on
828
+ the skill gate's matcher, relative to the folder holding its `.claude` or, for a user rule, the
829
+ working directory (judgment `memoryRules`).
830
+ - `FILE_SCOPES`, `FileScope` and `isFileScope` (`./settings`); `scopeFilePath(scope, kind, folder,
831
+ name)` and `ScopeFileKind` (`./skills`); `skillPlugin`, `skillScope`, `SkillScope`, `skillKeywords`
832
+ (`./host`, `skillKeywords`); `sessionSkillFixture` and `catalogAgentFixture` (`./testing`), built
833
+ through the kit's own readers.
834
+ - `session.recordSkillInvocation(name)`: a skill or command the host ran without `expandSkill`
835
+ triggers its `on-skill-invoke` monitors.
836
+ - `session.skillContent(name, { signal }): Promise<SkillContent>` reads a skill or command for a
837
+ host that pins it: the body as written with its absolute `path` and `dir`, through the same lookup
838
+ as `expandSkill`, with no invocation step (`disable-model-invocation`, `skillOverrides`, `!`
839
+ commands, substitution and the base-directory line do not apply); an unknown name gives
840
+ `expandSkill`'s failure. `SkillContent` is exported. `preloadSkills` now hands the same content,
841
+ with the absolute `path` and `dir`.
842
+ - `skillTriggerNames(pluginId, skill)` (`./loading`): the names an `on-skill-invoke:` trigger may
843
+ use for a skill that ran. Only the plugin's own skill counts, written either namespaced
844
+ (`ops:deploy`) or bare (`deploy`, the docs' example; judgment J-L11). Before this, the session's
845
+ namespaced names could never match the docs' bare trigger.
846
+ - `SessionOptions.hostSkills?: () => readonly HostSkill[]`: the skills a host supplies itself, built
847
+ in or registered at run time by its extensions (`HostSkill`: `name`, `frontmatter?`, `file?`, `body`
848
+ as text or a `BodyReader`). They are Claude Code's bundled skills to the kit (origin
849
+ `{ kind: 'bundled' }`): in the catalog, the model listing, the menu, name lookup, mentions,
850
+ preload and `checkInvocation`, listed after the plugins and the folders; a folder skill of the
851
+ name replaces one, a synced skill's short name yields to one, `disableBundledSkills` and
852
+ `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` remove them, `skillOverrides` applies, and
853
+ `disableSkillShellExecution`, `allowManagedPermissionRulesOnly` and the plugin-only lock leave them
854
+ alone. A refused name or a second skill of one name is a `skillCatalog().issues` entry.
855
+ `readBundledSkill(head, body)` and types `BundledSkillHead`, `BundledSkillRead` (`./format`).
856
+ - Until the first `reloadSkills` (or `addDirectory`, `moveTo`), `skillCatalog().issues` and
857
+ `skills().issues` (new `SkillsListing.issues`) carry a warning that the skills folders are not
858
+ read; until the first `reloadAgents`, `agentCatalog().issues` carries the same warning for the
859
+ agents folders. A session without a folder port carries none.
860
+ - `session.messageMentions(message, { takesCommandArguments? }?): MessageMentions`: which skills a
861
+ message names (`mentions`, `leading`, `arguments`, `permitted`) without expanding them; it is the
862
+ read `expandMessage` makes, and `MessageExpansion` extends it.
863
+ - `readFileReferences(text, { cwd, locations })` and `attachesFileReferences(origin, isolated)`
864
+ (`./skills`), type `FileReference` (root, `./skills`).
865
+ - `PluginHostOptions.extraScopeFolders` (and `extraScopeFolders` of a scan context): folders beside
866
+ `.claude`, such as `.agents`, whose `skills/`, `commands/` and `agents/` load in every scope base;
867
+ within a scope the `.claude` folders win a shared name, the scopes keep their documented order, and
868
+ a skill folder there is never a skills-directory plugin.
869
+ - `skillLookup`, `SkillLookup`, `NamedInvocable`, `isLeading` and `LeadingMention` (`./skills`);
870
+ `TouchedFile.activated` (the skills a touched file activated, which `skills()` then lists);
871
+ `SessionOptions.permissionContext`; `ExpandRequest.commandEnvironment`;
872
+ `ExpandOptions.runningForks`.
873
+ - Export `findInjections` and `runInjections` (with their context, port and result types), so a host that binds skill arguments itself, for hostile input, still finds and runs the documented `` !`command` `` placeholders through the kit.
874
+ - Export `substituteArgumentPieces` from the package root, for a host that renders a skill's
875
+ injected commands itself and still needs the arguments counted over the authored text.
876
+ - Visibility, access, injection, lifecycle. `skills/visibility` holds the four `skillOverrides`
877
+ states as one registry that the listing, the menu and the invocation check read (`overrideMenuLabel` is
878
+ the `/skills` label); `skillNamesOf` gives the names a `Skill(...)` deny rule sees (nested unqualified
879
+ name, synced and plugin forms, aliases); `stackSkills` expands the first skill plus five stacked after it;
880
+ `invokeSkill`, `startTurn` and `reattachAfterCompaction` keep skill content, grants and the compaction
881
+ budget (5,000 tokens each, 25,000 in all); `launchFork` says what a `context: fork` skill starts;
882
+ `frontmatterIssues` gives the upload error for fields outside the Agent Skills spec. Injected commands
883
+ now follow the Bash tool: output past the inline ceiling is saved through `ExpandPorts.scratch` and
884
+ injected as a path and a preview (`bashOutputMaxChars`), a command moved to the background at its
885
+ timeout renders the skill with a note, exit 1 is classified like Claude's own commands, and
886
+ `disableSkillShellExecution` leaves managed skills alone. `Expansion.ignoredGrants` lists the grants
887
+ the managed settings withheld.
888
+ - The skills and command files outside plugins. `scanFolders`, `scanNested` and
889
+ `resolveFolderSkills` read `.claude/skills/<name>/SKILL.md` and `.claude/commands/**.md` of the managed
890
+ directory, `~`, the project and its parents up to the repository root (a linked worktree stops at its
891
+ top and may borrow the main checkout's), each added directory, the directories below the working
892
+ directory a touched file is in, and the skills synced from claude.ai, through a new `FolderScan` port
893
+ (`ports/folder-scan`, with the `folderScan` fake and the shared `foundation/folder-walk`). Names clash as
894
+ skills.md says: enterprise over personal over project, a skill over a command file, a nested or
895
+ added-directory skill under `<dir>:<name>`, a synced skill's short name yielding to any other command;
896
+ a symlinked skill folder loads once. A skill folder holding a plugin manifest is reported as a
897
+ `<name>@skills-dir` plugin. New `managed` skill origin.
898
+ - Commands: `readCommand` reads a flat command file (the older skill format: the skill frontmatter
899
+ except `name` and `paths`; the name is the path below `commands/` without the extension, folders
900
+ joined by `:`, after the plugin prefix) and `readCommandEntry` builds a command from an entry of
901
+ the manifest's `commands` object map (`source` or inline `content`, `description`, `argumentHint`,
902
+ `model`, `allowedTools`); `loadCommandEntries` reads each `source` through the `PluginFiles` port.
903
+ A missing source file, an entry with both or neither of `source` and `content`, a refused name
904
+ and a `source` outside the plugin folder are error issues for that entry only; an `allowedTools`
905
+ rule that does not parse is dropped with a warning. The loaded commands expand through
906
+ `expandSkill` and list through `menuEntries` like a skill.
907
+ - Dynamic context and `expandSkill`. `expandSkill` turns a skill or command into the text
908
+ the model receives plus its grants (`allowed-tools` with `${CLAUDE_*}` substituted in the Bash
909
+ rules, the docs' same-variable pattern), `disallowed-tools`, execution (inline or fork), model and
910
+ effort overrides (and `${CLAUDE_EFFORT}` as the level the skill runs at) and hooks. `!`cmd`` and
911
+ ```` ```! ```` placeholders are found in the original text and run through the `CommandRunner` port
912
+ (the `shell` field picks the tool, exit 1 of search and comparison commands is a result, a failure
913
+ or a refused permission check aborts the invocation, auto mode and forked skills as documented),
914
+ `disableSkillShellExecution` and synced skills replace or keep them as literal text, and output is
915
+ never re-scanned. `countSkillHooks`, `admitSkillHooks` and `hookSourceOf` apply the documented
916
+ limits on skill hooks. `substituteArgumentPieces` backs the expansion.
917
+ - Invocation, listing and execution. `invocationPolicy` and `checkInvocation` give the
918
+ default / `disable-model-invocation` / `user-invocable: false` matrix (who may run a skill, what
919
+ the model is told, the `/` menu, subagent preloading, a scheduled-task prompt) and apply
920
+ `skillOverrides` (not to plugin skills); `readSkillMentions` tells a leading `/name` from one
921
+ named in plain text. `modelListing` and `menuEntries` build the skill listing (description plus
922
+ `when_to_use` cut at 1,536 characters, `<` and `>` escaped, a budget that drops the least used
923
+ descriptions first) and the official `SlashCommand` rows. `skillActivatesFor` matches `paths`
924
+ (gitignore syntax and brace expansion, relative to the current directory, nothing outside it).
925
+ `resolveExecution`, `resolveTurnOverrides` and `resolveShell` decide inline or fork (agent,
926
+ background and the cases that wait for the result), the model and effort override of a turn or of
927
+ the forked subagent, and the shell tool of injected commands. `Skill.shellDeclared` and
928
+ `OriginTraits.honoursSkillOverrides` support them.
929
+ - Substitution in a skill's text. `substituteArguments` expands `$ARGUMENTS`,
930
+ `$ARGUMENTS[N]`, `$N` and `$name` over the original text in one pass (shell-style quoting through
931
+ `parseArguments`, `\$` escapes, an index with no argument stays as written, a named one becomes
932
+ empty, an argument value is never expanded, `ARGUMENTS: <value>` is appended when nothing
933
+ received the arguments). `buildVariables` and `substituteVariables` substitute `${CLAUDE_SESSION_ID}`,
934
+ `${CLAUDE_EFFORT}`, `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PROJECT_DIR}`, `${CLAUDE_PLUGIN_ROOT}` and
935
+ `${CLAUDE_PLUGIN_DATA}` through `loading/resolve` (the plugin pair for plugin skills only), for the
936
+ body and for the Bash rules of `allowed-tools`; `substitute` does both, arguments first.
937
+ `ORIGIN_TRAITS.substitutesSessionVariables`.
938
+ - `readSkill` reads a `SKILL.md` into a `Skill` (the shared `InvocableFrontmatter` of
939
+ skills and commands): `description` (else the first non-empty body line), `when_to_use`,
940
+ `argument-hint`, `arguments`, `disable-model-invocation`, `user-invocable`, `allowed-tools`,
941
+ `disallowed-tools`, `model`, `effort`, `context`, `agent`, `background`, `hooks` (through the
942
+ hooks reader), `paths`, `shell`, `metadata`, `license` and `compatibility`, with the documented
943
+ defaults; a YAML error loads the skill with its body and no fields, an unknown key is ignored.
944
+ `SKILL_FIELDS` and the `FIELD_READERS` registry, `ORIGIN_TRAITS`, `escapeAngleBrackets`.
945
+ - `resolveSkillName` gives a skill its command name: the directory or `name`, the plugin
946
+ prefix (not doubled when `name` carries it, the plugin-root `SKILL.md` falls back to the plugin
947
+ directory), `anthropic-skills:` for a synced skill, and the characters a name can't hold
948
+ (refused outside a plugin, hyphens in a plugin skill folder); `readSkill` uses it.
949
+
950
+ #### agents
951
+
952
+ - `SavedWorkflow.description?`: the `meta.description`, always set by `scanSavedWorkflows`.
953
+ - `spawnRefusal(catalog, spawnTypes, subagentType)` (`./agents`): the refusal of one Agent call
954
+ whose type the caller's `tools` does not allow, worded as `resolveSubagentType` over
955
+ `spawnableAgents`. Types compare exactly; an omitted type is `general-purpose`.
956
+ - `modelFamily(model)` (`./agents`): the family alias a model ID embeds (`claude-opus-5-5` is
957
+ `opus`), read as an `availableModels` family entry reads it, for `resolveSubagentModel`'s
958
+ `mainFamily`. The allowlist and the family share one reading (`format/model-id.ts`).
959
+ - A plugin's default `agent` (its `settings.json`, plugins/components.md, "Default settings") runs
960
+ as the session's main agent: `session.selectAgent({ flag }, overrides?)` takes the `agent` of the
961
+ session's settings, else the default of the plugin loaded last that sets one, found by the same
962
+ lookup (`--agent` over the setting over the plugin default; a user agent of the exact name wins
963
+ over the plugin's own), and says `from: 'flag' | 'setting' | 'plugin'` with `plugin` (the id).
964
+ `session.pluginDefaults(): PluginDefaults<DefaultsPlugin>` and
965
+ `session.subagentStatusLine(facts?): SubagentLineRead<DefaultsPlugin>` (a settings source's
966
+ `subagentStatusLine`, else the plugin default with its owner, under the trust and hook gates; a
967
+ plugin value never runs under `allowManagedHooksOnly`). `readSubagentStatusLine`,
968
+ `pluginDefaultsOf`, `valueWithPluginDefaults` and types `PluginDefaults`, `PluginWithDefaults`,
969
+ `SettingWithDefault`, `SubagentLineRead` (`./settings`); `AgentSetting`, `SessionAgentSource`
970
+ (`./agents`); `DefaultsPlugin`, `SessionPluginDefaults` (root).
971
+ - Types `PluginSource` (`{ kind: 'plugin'; pluginId }`) and `FolderSource<S>` (`{ kind: 'folder';
972
+ scope }`) (root, `./format`): the one source shape of skills and agents; `SkillSource` is built
973
+ from them.
974
+ - `catalogTier(source): CatalogTier` and types `CatalogTier` (`AgentSource | 'builtin'`) and
975
+ `AgentFolderScope` (`./agents`); `catalogAgentOf(record, pluginId?)` takes the host's plugin id.
976
+ - `selectSessionAgent` and `session.selectAgent` give `candidates: readonly CatalogAgent[]` with a
977
+ failure: the agents an ambiguous bare name could mean, scoped names in code-unit order (none for
978
+ an unknown name).
979
+ - `session.agents({ overrides })`: the `AgentOverrides` of `agentCatalog(overrides)`, so agents a
980
+ host registers at run time (the `--agents` flag, the SDK `agents` option) resolve with the rest.
981
+ - `session.preloadSkills(definition, { signal })` returns `{ preloaded, skipped }`: a subagent's
982
+ preloaded skills found by every name, as `expandSkill` finds them.
983
+ - Sub-agents: the catalog. `scanAgents` reads the `.claude/agents/` folders of the managed directory, the
984
+ project and its parents, the added directories and `~` through `FolderScan`, skipping the files Claude
985
+ Code skips; `readFlagAgents` reads the `--agents` JSON; `builtinAgents` lists Explore, Plan, general-purpose
986
+ and the other built-ins with the switches that remove them; `resolveAgents` picks one definition per name
987
+ by the documented priority and applies `Agent(name)` deny rules; `resolveSubagentType`, `spawnableAgents`
988
+ (the `Agent(types)` allowlist), `spawnDepthLimit`/`nestingAt`, `namedSubagent`, `agentMentions`,
989
+ `selectSessionAgent` and `resumeSessionAgent` decide who runs, who may spawn whom and how a subagent is
990
+ named. A session gets `reloadAgents`, `agentCatalog`, `SessionOptions.agents` and `permissionRules`, and
991
+ `session.agents()` now lists every subagent (with `source`; `builtin: false` leaves the built-ins out).
992
+ The working-directory-to-repository-root rule is shared with the skills scan (`foundation/project-directories`).
993
+ - Workflows: `readWorkflowMeta` and `rewriteWorkflowMeta` read and rewrite the literal `meta` block of a
994
+ saved script without running it, `inspectWorkflowScript` reports the `phases` the body does not use,
995
+ `Date.now()`, `Math.random()`, a no-argument `new Date()` and `import()`; `Plugin.workflows` holds the
996
+ read `meta` and runs as `/<plugin>:<meta.name>`. Pure run decisions in `agents/workflow`: the six-attempt
997
+ stall policy and its three errors, the 1,000-agent and 4,096-item caps, concurrency, which agents run
998
+ again on a relaunch, leaving the session and `nothing to resume`, the usage-limit wait, the `args`
999
+ global, and where a script is saved and which `/<name>` runs (`scanSavedWorkflows` over `FolderScan`).
1000
+ - `planPreloadedSkills`, `resolveAgentMcpServers` and `planAgentMemory`: what a subagent starts
1001
+ with beyond its prompt. The `skills` field preloads the first 32 distinct names, skipping a
1002
+ missing or disabled skill and one with `disable-model-invocation: true`; `mcpServers` splits
1003
+ references from inline definitions, ignores the field for a plugin agent, skips the inline
1004
+ servers of a project or `--add-dir` agent file until its folder is trusted and any server the
1005
+ host's `McpPolicy` blocks (`--strict-mcp-config` does not filter an `--agents` definition,
1006
+ managed restrictions always apply); `memory` plans the directory of its scope, none when auto
1007
+ memory is off, the first 200 lines or 25KB of `MEMORY.md` (`truncateMemoryIndex`) and the Read,
1008
+ Write and Edit tools to add.
1009
+ - `resolveSubagentModel` and `resolveSubagentEffort`: the model a subagent runs on (invocation
1010
+ parameter, then the definition with `inherit`, then `CLAUDE_CODE_SUBAGENT_MODEL`, then the main
1011
+ model; a family alias of the main model's family resolves to its exact model; the FORCE variable)
1012
+ and its effort (`CLAUDE_CODE_EFFORT_LEVEL`, then the invocation, then the field, then the session
1013
+ level only on the main model). `effectiveAutoCompactWindow` (the variable wins, the field only
1014
+ lowers, none for a main-session agent), `turnLimitOutcome` (`maxTurns` marks the output partial),
1015
+ `effectiveCacheTtl` (`experimental.cacheTtl`, `1h` ignored while on usage credits),
1016
+ `runsInBackground`, `claudeMdScopes` (`omitClaudeMd`), `worktreeDisposition` (`isolation`) and
1017
+ `mainSessionFirstTurn` (`initialPrompt`).
1018
+ - `resolveSubagentPermissionMode`: the mode a subagent runs in from its `permissionMode` and the
1019
+ main conversation's (a main `bypassPermissions`, `acceptEdits` or `auto` forces its mode, `plan`
1020
+ is held and `dontAsk` then denies instead of asking, under `default` or `dontAsk` the set mode
1021
+ applies except `bypassPermissions` and an unavailable `auto`, `manual` is `default`, unset
1022
+ inherits); `PERMISSION_MODE_TRAITS` and `baselineDecision` for what each mode runs without asking
1023
+ (`allow`, `ask`, `deny` or `classify`), typed over the official `PermissionMode` union.
1024
+ - `resolveSubagentTools`: the tools a subagent gets from `tools` and `disallowedTools` (inherit
1025
+ when omitted, `disallowedTools` first, a specifier removes the whole tool, `mcp__server`
1026
+ entries including servers whose name holds `__`, the always-removed list with `ExitPlanMode` kept
1027
+ for `plan`, the background built-in set, forks unfiltered, the `Agent(worker, researcher)`
1028
+ allowlist for the main thread with `Task(...)` as an alias) and the documented zero-tools
1029
+ refusal (`ToolRefusal`); `parseToolEntry` and `toolEntryMatches` for single entries.
1030
+ - Agent frontmatter fields in `readAgent`: `model`, `effort`, `maxTurns`, `autoCompactWindow` (a
1031
+ string such as `200k` reads as 200 and is dropped with `invalid autoCompactWindow`),
1032
+ `background`, `omitClaudeMd`, `isolation`, `color`, `initialPrompt` and `experimental.cacheTtl`,
1033
+ through a field registry typed over the 19 documented names (`AGENT_FIELDS`,
1034
+ `AGENT_FIELD_NAMES`) with the plugin supported and ignored lists (`PLUGIN_IGNORED_FIELDS`); a
1035
+ plugin agent reports the fields it ignores in `ignored`; fields Claude Code does not recognize
1036
+ are named with a likely intended name in `unrecognized`.
1037
+ - `readAgent` for agent files (`name` and `description`): the files Claude Code skips (no name is
1038
+ documentation, a bad name, no description or YAML that does not parse), the plugin fallbacks
1039
+ (file name, `Agent from <plugin> plugin`), `<plugin>:<subfolder>:<name>` scoped names
1040
+ (`scopedAgentName`), the name rules (`validAgentName`) and the `agent_type` hooks receive
1041
+ (`hookAgentType`).
1042
+
1043
+ #### marketplace
1044
+
1045
+ - `DependencyIssue.dependency` (the declared `name@marketplace` or `name`) and
1046
+ `DependencyIssue.cause` (`DependencyCause`: `'missing' | 'disabled' | 'out-of-range'`, new): a
1047
+ host that adds its own install hint reads the facts instead of parsing the message. The message
1048
+ stays `Dependency "<dep>" is not installed` with no `claude plugin install` suffix (judgment).
1049
+ - `catalogDependencies(entry, marketplace, manifest)`, `CatalogPlugin.manifestUnread` and
1050
+ `InstallPlan.needs`: an install plan over a catalog whose remote plugins' `plugin.json` is not
1051
+ fetched yet names the plugins to fetch; a host fetches them and plans again until `needs` is empty,
1052
+ which gives the plan of the whole catalog (judgment `installNeeds`). `ok` is false while `needs`
1053
+ is not empty.
1054
+ - `OFFICIAL_BUT_OFF` and `isOfficialButOff(name)` (`format/marketplace`): the one list of official
1055
+ marketplaces whose auto-update default is off, read by the registry's plan and the update pass
1056
+ (two copies before).
1057
+ - Marketplaces:
1058
+ - `Registration.autoUpdateFrom` (`SettingsFile`) names the settings file that set `autoUpdate`.
1059
+ - `installsAt(records, { projectPath?, platform })` gives the install records that apply in one
1060
+ directory.
1061
+ - `precheckUpdate(subject, installed)` is the update check before a fetch: `loaded in place`,
1062
+ `isUpdate` over a claude.ai record, else `fetch`.
1063
+ - `fetchMarketplaceFile(plan, { http }, { signal, headers? })` runs an `http-file` plan.
1064
+ - `readMarketplaceText` and `readMarketplaceDirectory` (with `MARKETPLACE_FILE`) read a
1065
+ catalog.
1066
+ - `MarketplaceMetadata.extra` keeps unknown `metadata` keys.
1067
+ - The archive download and the marketplace file download now share one redirect loop
1068
+ (`src/marketplace/http-download.ts`).
1069
+ - The `headersHelper` runner doc now says the configuration directory must exist first (oracle
1070
+ 2.1.322).
1071
+ - `usableVersion`, `winningScope`, `effectiveEnabled`, `isEnabled` and `UpdateVerdict`
1072
+ (`./marketplace`); `InstalledRecord.defaultEnabled` and `CatalogPlugin.defaultEnabled`;
1073
+ `EnabledEntry` (`./cli`).
1074
+ - `pluginDirDependencyIssues(plugins)` (`./marketplace`): the `--plugin-dir` plugins of a session
1075
+ that do not load because a dependency is not among them, a chain included; the example agent
1076
+ skips them and loads a folder of plugins as `--plugin-dir` does.
1077
+ - Export `rangesOverlap(ranges)`: whether any version satisfies every range, so a host does not fetch a dependency at a combined range no version meets, and `combineRanges` reports the conflict.
1078
+ - The install and cache lifecycle: `decideInstallMode` (in place, copied or linked, and the printed
1079
+ directory refusals), `planTreeCopy` (the symlink rule of a cache copy), `escapedPathIssue`,
1080
+ `planInstallStart` and `planInstallFinish` (fetch plan, cache folder, record change, orphaned
1081
+ version folders), the troubleshooting messages of a failed install (`install-failures`),
1082
+ `commitStagedPlugin`, `selectUninstall` (the Windows spelling rule), `readLfsPointer`, the
1083
+ session-only plugins (`readPluginDirectory`, `fetchSessionArchives`, `folderChanges`, `@inline`,
1084
+ `@skills-dir`) and the install commands per surface (`planInstallCommand`, `installSummary`).
1085
+ Ports: `ArchiveReader.scan` lists a zip's entries (the kit derives the totals and checks the paths
1086
+ and links itself, so `ArchiveReader.stats` is gone), `SourceFetcher` may return a staged directory,
1087
+ and the new `StagedDirectory` port moves it into the cache. Git fetch plans carry
1088
+ `lfs: 'pointer-files'`; an npm `package` refusal and an archive digest mismatch are the
1089
+ documented messages.
1090
+ - Plugin versions and names: `resolvePluginVersion` (manifest, entry, then the source's commit,
1091
+ digest or `unknown`; command sources hashed, the entry's version ignored), `copyModeHash`,
1092
+ `linkModeHash`, `subdirectoryPathHash`, `unknownVersionSteps`, `pluginNames`, `lookupPlugin`,
1093
+ `folderCollisions` and `listingFields`, with the strict-mode and display-field merge rules proven.
1094
+ - The Node.js package dependencies of a plugin: `planNodeDepsInstall` (a copied plugin with a
1095
+ `package.json` and `bun.lock`, `npm-shrinkwrap.json` or `package-lock.json` gets a frozen,
1096
+ script-free install in a separate folder under a 60-second timeout; in-place and link-mode plugins,
1097
+ unsupported or unreadable lockfiles, a missing package manager, overrides, patches, non-registry
1098
+ dependencies, `http` downloads and a `package.json` that differs from the lockfile skip it),
1099
+ `nodeDepsRun`, `readLockfile`, `readPackageJson`, `nodeDepsNote` (the `are not installed` and
1100
+ `were not installed, because ...` notes, a warning: the plugin loads), `installOutcome` and the
1101
+ registry-only rule (`classifySpecifier`, `dependencyRefusal`, `downloadLinkRefusal`) that the npm
1102
+ source's `package` check now shares.
1103
+ - Marketplace dependencies: a pure dependency graph over plain facts. `installClosure` plans the
1104
+ transitive install of a plugin's dependencies (dependencies first, each step with who asked, every
1105
+ range, what the ranges resolve against and the shown `2.1.0-8713c5b11005` version; cycles end, a
1106
+ diamond combines its ranges, a conflict or an allowlist refusal installs nothing, a `command`
1107
+ source and a `headersHelper` entry are left to the user); `enablePlan` (missing, policy-blocked and
1108
+ higher-scope `false` dependencies), `disableDecision` (the dependents to disable first and the
1109
+ chained command), `orphanedAutoInstalled`, `planPrune` and `planUninstall` (`--prune`, the range
1110
+ released with the last constraining plugin); `checkDeclaredDependency` for the
1111
+ `--plugin-dir` copy. The dependencies guide is now proven section by section.
1112
+ - Updates: a new `updates` module with the refresh before an install (`refreshBeforeInstall`: named
1113
+ and bare references, the five skips, the managed block that also refuses the install,
1114
+ `refreshFailed`), the auto-update precedence (`marketplaceAutoUpdate`, `autoUpdatePassAllowed`,
1115
+ `toggleDecision`, the plugins a pass skips, the first-pass delay on the `Clock`), the background
1116
+ check of a private marketplace, the re-runs of a `command` source and the Errors-tab entry of a
1117
+ changed command (`commandSourceRuns`, `afterCommandRun`), `Update plugins now` (`planUpdate`) and
1118
+ the version policy of Claude Code (`readVersionPolicy`, `pickAllowedVersion`, `startGate`,
1119
+ `channelSwitch`: `autoUpdatesChannel`, `minimumVersion`, `requiredMinimumVersion`,
1120
+ `requiredMaximumVersion`). `scripts/check-layers.ts` gives the module its layer.
1121
+ - The version of a plugin as Claude Code computes it (`resolvePluginVersion`: manifest,
1122
+ then entry, then the source type's default, a command source from its hash), when a new copy is
1123
+ made (`isUpdate`, `checkForUpdate`, `loadsInPlace`: only a differing version, never for a plugin
1124
+ loaded in place, the claude.ai-recorded version for a synced plugin) and the check of a
1125
+ release-channel pair (`checkReleaseChannels`). The renames migration, `forceRemoveDeletedPlugins`,
1126
+ release tags and the `ref`/`sha`/`#ref` hold on a version are now proven against the pages that
1127
+ describe them (plugins/host-marketplace.md, plugins/publish.md, plugins/org.md).
1128
+ - Install records: the state Claude Code keeps under the plugins root, and the texts it prints about it
1129
+ (plugins/loading.md, plugins/troubleshooting.md, plugins/install.md, plugins/cli-reference.md).
1130
+ `createStoreLayout` and `resolvePluginsRoot` name every path (`cache/<marketplace>/<plugin>/<version>`,
1131
+ `data/<id>`, `marketplaces/<name>`, `synced/`, `.trash/`, the JSON records, the dated copies);
1132
+ `parseInstalledPlugins` reads `installed_plugins.json` and decides what is rebuilt, set aside or
1133
+ left unwritten, `loadInstalledPlugins` carries it out through the new `PluginStateStore` port;
1134
+ `parseKnownMarketplaces` reads `known_marketplaces.json` (a source is `kind: 'directory'` or
1135
+ `'file'`, never `local`) with `installLocationFor` and `sameMarketplaceSource`; `stageReport` says
1136
+ how far a plugin got (declared, fetched, loaded) and `planMarketplaceStartup` what happens to
1137
+ marketplaces missing on disk at the start; `decideEnabledFetch` and `overriddenUserDisable` answer
1138
+ "enabled in project settings but not installed" and "disabled but still loads"; the exact
1139
+ troubleshooting texts (`pluginNotFound`, `notCached`, `ignoredLine`, `failedToInstall`,
1140
+ `refuseForUnreadableRecords`, ...); plans for the panel, marketplaces, plugins with dependencies
1141
+ (`planInstall`, `planEnable`, `planDisable`, `planUninstall`, `planPrune`), scopes (`scopeReach`,
1142
+ `defaultScope`), `/reload-plugins` (`reloadSummary`, `reloadGate`) and the 14-day orphan sweep
1143
+ (`orphanSweep`). Pure decisions; effects only through ports.
1144
+
1145
+ #### mods
1146
+
1147
+ - `MOD_SCAN_ISSUE_CODES`, `ModScanIssue`, `ModScanIssueCode`: every `ModScan.issues` item has a
1148
+ stable `code` (judgment `scanIssueCodes`), so a host need not match the message.
1149
+ - `commandRunEnd(registeredBy, command, host)`: the one end of `command.run` for both doors
1150
+ (`ModsHost.runCommand` and `$.command.run`). A command a mod registered that no hook answered ends
1151
+ in `unansweredCommandReply` and never reaches the `commands.run` port, so a host port that
1152
+ dispatches back into `runCommand` can no longer run it twice (judgment `modCommandEnd`). The
1153
+ `ModCommands.run` doc states the contract: the command's body only.
1154
+ - `ModsHost.endSession(reason, options?)` fires `session.end` with `sessionId` and `resume: { id }`
1155
+ from the session port's id (declarations 2.1.321, :12106; `sessionEndResume`). `SessionEndReason`.
1156
+ - `command.run` carries `origin` and `presentation` (`CommandPresentation`, `commandPresentation`,
1157
+ `ModsApiOptions.presentation`); `ModsHost.runCommand(command, args, options)` takes
1158
+ `RunCommandOptions` (`FireOptions` and `origin?: CommandOrigin`, default `{ kind: 'unclassified' }`).
1159
+ The D9 difference `command.run`'s `presentation` is gone (`commandRunPins`).
1160
+ - `$.command.list()` rows carry `source` and `plugin` (`CommandListing`, `CommandSource`); the
1161
+ optional port `commands.list()` gives the host's own commands, listed first.
1162
+ - `$.ui.panes()` rows carry `isShown` and `isFocused`; `ModInterface.shownPane()` and
1163
+ `focusedPane()` (optional) say which (`panesShown`).
1164
+ - JSX takes `key` on every tag; an element whose props declare none drops it (`jsxKey`).
1165
+ - `$.http.fetch` `init.auth` and `init.socketPath`, passed as `FetchRequest.auth` and
1166
+ `FetchRequest.socketPath`; a relative `socketPath` or one with NUL is refused; `compress` changes
1167
+ nothing and a `{ base64 }` body stays refused (`httpInit`).
1168
+ - The members of `$` and the engine event the declarations add over the reference page (2.1.321,
1169
+ spec/judgments.md D1, settled): `$.prompt.paint(request)` fires `prompt.paint` and answers
1170
+ `{ isPainted, text, cursor }`; `$.prompt.media({ id, offset? })` fires no event and answers the
1171
+ slice, `{ unreadable }` or `{ deny }`; `$.session.surface()` is the first of `surfaces()` or
1172
+ `null`; `$.session.identity()` fires `session.identity` for a mod of managed settings (tier
1173
+ `prepend` or `append`) and answers `{ deny }` to any other; `$.ui.cancelNotify(key)` fires
1174
+ `ui.cancelNotify { key }` and answers `{ isSent }`; the engine event `prompt.change`
1175
+ (`{ text, cursor, origin }`, answered `{ text }`, observe only). New optional ports with declared
1176
+ defaults (`ModOptionalPorts`): `account` (`identity()`, default `{ kind: 'none', isVerified:
1177
+ false }`), `promptBox` (`paint(request, plugin)`, default nothing painted; `media(request,
1178
+ plugin)`, default `{ deny }`) and `notifications` (`cancel(key, plugin)`, default `{ isSent:
1179
+ false }`); types `SessionIdentity`, `ModAccount`, `PromptPainted`, `PromptMedia`, `ModPromptBox`,
1180
+ `ModNotifications`. New names: `DECLARED_API_MEMBERS`, `MODS_API_REFERENCE`,
1181
+ `DECLARED_EVENT_NAMES`, `ENGINE_EVENT_NAMES`, `DeclaredEventName`, `EngineEventName`.
1182
+ - `ModsHost.registered` (`ModsRegistered`): what mods registered, as a host reads it:
1183
+ `commands()`, `tools()`, `agents()` (frozen copies), `command(name)`, `tool(fullName)`,
1184
+ `agent(name)` and `onChange(listener)` → stop, told `'commands'`, `'tools'` or `'agents'` after
1185
+ each change. Also `registeredView(registries)`, `RegisteredKind`, and `ModRegistries.onChange`.
1186
+ - The scan reads a `Client` written in JSX, `h(Client, { module })` (claude-code/index.d.ts:16450:
1187
+ JSX compiles to bare `h(...)` calls), as `Client({ module })`, spans included.
1188
+ - The scan accepts every ES form that exports a top-level function of the entry as `register`:
1189
+ `export { register }`, `export { draw as register }`, `export { draw as 'register' }` (what a
1190
+ bundler emits), before or after the function, beside `export function` and `export const`.
1191
+ - `./mods/elements` and `./mods/isolate` export `UI_SURFACES` and `UiSurface`; `./mods/isolate`
1192
+ re-exports every name of `./mods/elements`.
1193
+ - `./mods/isolate` also exports `elementFn(name)` and `elementNameOf(value)` (the element
1194
+ constructors, one shared function per element, and the name of one), `h(tag, props, ...children)`
1195
+ and `Fragment` (a column `Box`, claude-code/index.d.ts:16469) for JSX, `matchesEvent(matcher, e)`
1196
+ and `acceptsField` (a hook's matcher, as the chain tests it), `isHookBody`, `deepFreeze`,
1197
+ `frozenCopy` and `plainDataProblem`; the same names are in `./mods`, and the import-walk test still
1198
+ shows nothing under the entry imports a `node:` or `bun` module or a package. Proven in
1199
+ tests/mods/ui/jsx.test.ts, tests/mods/chain/match-local.test.ts and tests/entry/mod-isolate.test.ts.
1200
+ - `ModScan.surfaceModuleSpans`: `{ module, start, end }` per surface module a `Client` names, the
1201
+ offsets of its string literal (quotes included) in the hooks module, so a host can rewrite the
1202
+ path where it bundles. `surfaceModules` is unchanged. Proven in tests/mods/load/scan-client.test.ts.
1203
+ - `createModsHost` takes `ModHostPortsInput`: the ports by group (`ModPlatformPorts`,
1204
+ `ModSessionPorts`, `ModOptionalPorts`), with `mcp`, `audio`, `theme` and `telemetry` optional. A
1205
+ missing one answers as the declarations say where the capability is missing
1206
+ (`OPTIONAL_PORT_DEFAULTS`, `withDefaultPorts`). `ModHostPorts` is the full set, as before. Proven in
1207
+ tests/mods/api/optional-ports.test.ts.
1208
+ - `ApiMember.ownTime` (`describeApi`) and the export `OWN_TIME_CALLS`: `$.clock.sleep` is the one
1209
+ call whose time counts against the calling hook's budget (claude-code/index.d.ts:3641, :6589), for
1210
+ a host that routes calls from another realm through `HookCall.api`.
1211
+ - `next.event`, `next.is(pattern, e)` and `next.trace` (`TraceEntry`, `TraceOutcome`), as declared;
1212
+ `HookCall.name` and `HookCall.trace()`; `selects`, `SKIP_TIERS`.
1213
+ - `TIERS` and `INSTRUCTION_FILE_KINDS` in `claude-code` (`STATE_LIBRARY_SOURCE`, `./mods/isolate`).
1214
+ - `describe(name, body)` in `claude-code/testing`; titles join with ` > `.
1215
+ - `Text` takes `dir` (`ltr`, `rtl`).
1216
+ - `StateListener`: `createStateStore` listeners get the member `id`; a family member's write redraws
1217
+ only what read that member.
1218
+ - `splitHandlers` and `joinHandlers`: a drawn tree as JSON with its controls' callbacks apart by
1219
+ key, and back.
1220
+ - `ModScan.surfaceModules`: the surface modules a hooks module's `Client` elements name, read off
1221
+ the source as Claude Code 2.1.322 reads them (a string literal, relative, inside the plugin);
1222
+ `validateMod` prints them and fails a missing one.
1223
+ - `@rsaryev/llx-plugin/mods/isolate`: the `$.state` helpers, `STATE_LIBRARY_SOURCE` and the
1224
+ element checks for code inside an isolate, with no `node:`, `bun` or package import below it.
1225
+ - `./mods/elements`: the element table of mods and the checks of a drawn tree, a leaf for a UI
1226
+ process (no host, no port, no `node:` import); the same names stay in `./mods`.
1227
+ - `EVENT_RULES`, `API_RULES`, `uiRules`, `REGISTER_RULES`, `EventRule` and `EventRuleBook` (`./mods`).
1228
+ - `ModsHostOptions.fetchPolicy` and `ModsApiOptions.fetchPolicy` (`FetchPolicyFacts`): `$.http.fetch`
1229
+ follows the organization's WebFetch policy and `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
1230
+ - The mobile app is a mods surface: `UI_SURFACES` holds `mobile` and the `Backdrop` site is raised
1231
+ in it (`backdropRender(backdrop, 'mobile')`, `e.surface` `mobile`). It draws what the Desktop app
1232
+ draws: `ELEMENT_COLUMN_OF` maps each surface to its column of the elements table (judgment).
1233
+ - `$.theme.set({ backdrop: { id, colorScheme?, glass? } })` and `$.theme.clear()`, and the
1234
+ `Backdrop` render site: the session holds one backdrop whichever mod set it
1235
+ (`ModRegistries.backdrop`), the host says whether an app draws it and hears each change (the
1236
+ `theme` port, `ModTheme`), and `backdropRender` builds the site's event (`requestId` `backdrop`).
1237
+ - `breakPromptCache`: `prompt.section` and `tool.describe` answers carry it, `$.ui.invalidate` takes
1238
+ `'prompt.section'` and `'tool.describe'` (the host runs those hooks again through
1239
+ `ModInterface.rerun`), and `nextTurnText` says what Claude reads on the next turn and whether the
1240
+ prompt cache starts over.
1241
+ - `$.ui.place({ id })` and the `Placed` render site: the kit keeps each mod's rows (500 at most),
1242
+ resolves `{ isPlaced: true, requestId }` or `{ isPlaced: false, reason }`, and the host says
1243
+ whether it draws placed rows (`ModInterface.drawsPlacedRows`) and when rows go away
1244
+ (`ModsUi.placed.rewind`, `compact`, `end`). `$.ui.view(view)` passes to the host's
1245
+ `ModInterface.view`.
1246
+ - Mods chain for a host that keeps one chain for many mods: `ModPluginInfo.position` (where a mod runs among the mods of its tier, whenever it registered), `DispatchOptions.only` takes a set of mod names, `ModChain.hears(event, only?)` says whether a mod has a hook for an event, and `DispatchOptions.trace` reports the hooks of a dispatch and what each did (`DispatchTrace`, `HookStep`), so a host registers each mod once and scopes an event to the mods of a project instead of building a chain for every event.
1247
+ - `STATE_LIBRARY_SOURCE` is the JavaScript text of `atom`, `read` and `update` for a host that bundles them into an isolate; `atom` now returns a frozen value. `contextUsage({ tokens, window })` builds the `context` of `$.session.usage()` and `session.measure`.
1248
+ - `settleModApi` and `runScopedModCall` share the built-in API's namespace lending and turn-start
1249
+ admission with hosts supplying their own API adapters; no second engine-create policy is needed.
1250
+ - Enforce managed hook protection in the chain before user matchers/callbacks, retain original
1251
+ metadata across trusted rewrites, and expose the documented per-mod guarded-hook notes.
1252
+ Built-in and organization tiers keep access. Add lifecycle and readonly-origin regressions.
1253
+ - Supply the canonical, fail-closed settings merge by default to the mods settings bridge.
1254
+ Add full-artifact agent skill preloads, output-style system-prompt parts, LSP process preflight
1255
+ plans and debug-only empty-command-directory diagnostics.
1256
+ - Mods, `describeApi` and the guide of the mods API (reference.md, overview.md, interface.md, api.md).
1257
+ `describeApi(api)` describes a mod's `$` as plain data (namespace, member, kind, whether it answers
1258
+ later, the event a call fires) so a host that runs mods in another realm can rebuild it.
1259
+ `ModsHost.resetState()` resets every `$.state` value for `/clear`, `/resume` and `/branch` and redraws
1260
+ what read them; `ModsHost.input.notice(kind, deliver)` holds a subagent's finish notice and the notice
1261
+ that a monitor ended until the user's next input and drops a monitor's events while the session is
1262
+ stopped. A `$.store.set` or `delete` no longer loses a write of another session that was in flight: the
1263
+ changes of one plugin's store go one at a time. Tests prove the "Mods API calls" rule on the
1264
+ reference's own examples, the six things a mod can reach, the `$.state` declaration, manifest `types`
1265
+ field, atom rules, the load again after `/clear` of test.md, and the store sharing of interface.md.
1266
+ - Mods, crash behaviour and refused calls (troubleshoot.md, api.md). `ModRuntime.onCrash` lets a
1267
+ runtime that shares one worker tell the host the worker stopped: the mod it traced the stop to is
1268
+ unloaded (`<mod> was unloaded: it crashed the hooks worker`), the others get a fresh copy of their
1269
+ module, and the third stop that cannot be traced unloads every mod that is not built in
1270
+ (`hooks: mods that run in the hooks worker are off for this session: it crashed 3 times`;
1271
+ `reload()` turns them back on). The `$.prompt.submit`, `$.command.run` and `$.agent.spawn` calls a
1272
+ fresh copy's `session.start` repeats resolve with the first copy's result and are not made again,
1273
+ with the line `its session.start ran again in a fresh copy`. A registration from a module that is
1274
+ no longer loaded rejects (`$.agent.register refused: the hooks module that made the call is no
1275
+ longer loaded`). `createRunGate` and `ModsHost.input` model the session's input (`interrupt`,
1276
+ `userInput`, `endInput`, `--max-turns`, `--max-budget-usd`): refused calls return what the page's
1277
+ table says, and a prompt or command still queued when the user stops the turn is dropped.
1278
+ `ModsHostOptions.onNotice` receives the lines that come outside a call to the host.
1279
+ - Mods, per-mod load and unload, and where mods run. `createModsHost` keys a mod by its name: `load`
1280
+ of a plugin already loaded replaces it and no longer adds a second copy. New `loadMod(plugin)` loads
1281
+ one plugin among the loaded ones (tier from policy, last in its tier, a note when the policy would
1282
+ have put it earlier, the built-in guard first when policy needs it) and `unloadMod(name)` turns one
1283
+ off (idempotent, drops the mod from the approval ledger and the refusal book, and `reload` does not
1284
+ bring it back). `ModLoadReport.notices` carries the lines a person reads with where each is read
1285
+ (`modLineChannel`: transcript, stderr of `claude -p --plugin-dir`, debug log; a refusal by another
1286
+ mod in the debug log of a `claude -p` run and in the transcript of an interactive session that
1287
+ loads a plugin directory or hot-reloads; `hotReload` is a getter, read on every line). `whereModsRun` gives overview.md's table (hooks and drawing per place,
1288
+ the VS Code versions) and `decideModLoad` refuses an installed plugin in a WSL session of the Desktop
1289
+ app and, in the cloud, one that does not reach the session; `modsVersionProblem` names the first
1290
+ versions that load mods. `writtenModRefusal` says why a mod Claude wrote cannot load,
1291
+ `createHotReloadGate` is the hot-reloading question (off after three unanswered), and `changeNotice`
1292
+ words the transcript line of a change that did not load. Tests for the 29 requirements of the
1293
+ overview, create and troubleshoot pages on loading, enabling, refusals and where mods run.
1294
+ - Mods, two seams of load. `ModCompiler.compile` returns `{ scan?, run?, issues }`: `scan` is an ES
1295
+ module the static scan reads (`claude plugin validate`, `plugin.register`'s `e.uses`), `run` is the
1296
+ code and format (`esm`, `cjs`, `iife`...) the host chose for its engine, which `ModRuntime.load` now
1297
+ receives with its `format`. A compiler whose run output is an ES module may return it alone; a CommonJS
1298
+ scan output is refused with a message that names both outputs. New `MatcherEngine` port
1299
+ (`createModChain({ matcherEngine, matcherMs })`, `createModsHost` likewise): the regular expressions of
1300
+ hook matchers are tested there, under a limit, instead of on the host thread, and a test the engine
1301
+ refuses or does not answer is no match plus a skipped-hook line. The lines of skipped hooks follow
1302
+ troubleshoot.md: the transcript or stderr gets the first of each mod, event and kind (`throw`,
1303
+ `timeout`, `wrong-shape`) until the mod reloads, the debug log gets every occurrence (`HookReport.kind`).
1304
+ A runtime or compiler that throws is a `hooks module did not load` line, a stack overflow the
1305
+ documented reason (`engineStackIssue`, `the engine ran out of stack linking the file and its imports`,
1306
+ `...loading the file (code nested too deep): <message>`), the parser's reason has no line number, and
1307
+ a `Client` error with no message is `the module failed without a message`. `DispatchOptions.before` is
1308
+ where the managed `PreToolUse` hooks run, ahead of the first mod. 19 requirements of the mods events,
1309
+ overview, create and troubleshoot pages are now proven (18: the linking reason is a judgment, see the
1310
+ review fixes).
1311
+
1312
+ #### host
1313
+
1314
+ - `docs/SECURITY.md`: where the kit is deliberately stricter than Claude Code (path variables in a
1315
+ `!` command, a plugin's `headersHelper` and a monitor `command`), with what Claude Code does, an
1316
+ input that shows the hole, the corpus cost and the `shellPaths: 'pasted'` option; the security
1317
+ fixes that are not deviations; and the risks the host owns (running hook commands, `$ARGUMENTS`
1318
+ and `${user_config.*}` in `!` commands, trust prompts, the ports). Linked from README.md and
1319
+ docs/API.md.
1320
+ - `pluginsWithDependencies(plugins)` (root entry): the load-time dependency verdict a session
1321
+ applies, as a pure function for a host that starts plugins outside a session. Each plugin is given
1322
+ as `{ id, plugin, enabled }`; back come `plugins` (`{ id, name, enabled }`, as `session.plugins`)
1323
+ with every plugin whose dependency is not installed, disabled or outside its range off,
1324
+ transitively, and `issues`, one `DependencyIssue` per such plugin under its id, carrying the
1325
+ `errorType` (`dependency-unsatisfied`, `dependency-version-unsatisfied`) to match on instead of
1326
+ the text. The host state calls the same `withDependencies`, so the two cannot disagree
1327
+ (tests/host/plugin-dependencies.test.ts compares them).
1328
+ - `SessionOptions.parentSession`: a subagent's session opened with its parent's shares the parent's
1329
+ monitor ledger (a plugin monitor "runs in the background for the whole session",
1330
+ components.md), so what the parent handed out is not started again, and a skill the subagent runs
1331
+ triggers its monitors once for both. A session the host did not open throws
1332
+ `parentSession: not a session this host opened`. Proven in tests/host/session-monitors.test.ts.
1333
+ - `availableTools` reads host tool names: `ToolSession.names` (a `HostToolNames`) is read the same
1334
+ way `resolveSubagentTools` reads `ToolPool.names`. A host tool goes when a bare deny removes any of
1335
+ its Claude Code names. `SessionOptions.toolNames` now says, and a test shows, that an MCP tool
1336
+ called by its `mcp__<server>__<tool>` name needs no entry, a per-run server included.
1337
+ - `mergeToolCheck` takes the verdict `{ tightenOnly }` in place of `{ mode }`, and
1338
+ `hookTightensOnly(mode)` gives it, for a host with no `PermissionMode` to hand.
1339
+ - A host tool may stand for several Claude Code tools, and a call's Claude Code name may depend on
1340
+ its input: `HostToolNames.toClaude` takes a list (`Search: ['Grep', 'Glob']`), and
1341
+ `HostToolNames.callName(hostTool, input)` names one call. `ToolNames` gains `claudeNames(hostTool)`,
1342
+ and `claudeName(hostTool, input?)` reads the input. Every consumer reads the call's name the same
1343
+ way: a dispatched event's `tool_name` (from `tool_input`), `checkTool`'s rules (from the input that
1344
+ runs), `resolveSubagentTools` (an entry naming any of the names grants the host tool, a
1345
+ `disallowedTools` entry naming any of them removes it), and the mods tool events through the new
1346
+ `ModToolFlow.names` (`tool.call`/`tool.check` and their matchers see the Claude Code name, the
1347
+ host's callbacks its own).
1348
+ - `session.monitorLedger()` and `SessionOptions.monitorLedger`: a session reopened over the same chat
1349
+ continues from the previous one's handed-out monitors and skill invocations, so nothing starts
1350
+ twice. `MonitorLedgerState` is exported.
1351
+ - One monitor lifecycle in the session: `session.monitorsToStart(options?):
1352
+ Promise<Resolved<MonitorStart>>` returns each monitor of the enabled plugins once: the `always`
1353
+ ones (at open, and for a plugin an update enabled), and the `on-skill-invoke:<skill>` ones whose
1354
+ skill a successful `expandSkill` ran, which the session records itself. Each `MonitorStart` is
1355
+ `{ monitor, cwd, env }`: the session directory, and `subprocessEnvironment('monitor')` with the
1356
+ monitor's path variables. `session.monitorsToStop(event)` gives the `MonitorId`s
1357
+ (`{ pluginId, name }`) to stop: none for `'plugin-disabled'`, all for `'session-ended'`. Types
1358
+ `MonitorPart`, `MonitorStart`, `MonitorStartOptions`, `MonitorId` (root), `MonitorStopEvent`,
1359
+ `InvokedSkill` (`./loading`).
1360
+ - `HostToolNames` (`{ toClaude?; missing? }`), `toolNamesOf(names): ToolNames` (`./rules`),
1361
+ `ToolPool.names` and `SessionOptions.toolNames`: a host whose tools carry other names states once
1362
+ how they correspond to Claude Code's; subagent tool resolution, hook matching (`tool_name`,
1363
+ `matcher`, `if`) and `checkTool`'s permission decision read the Claude Code name, and
1364
+ `resolveSubagentTools` returns the host's names.
1365
+ - `SubagentModel.kind: 'inherit' | 'alias' | 'full-id'`: what `resolveSubagentModel`'s `model` is,
1366
+ for a host that routes models itself (`'inherit'` whenever it is the main model).
1367
+ - `CLAUDE_CONFIG_DIR` moves every user-scope folder the kit reads (env-vars.md, claude-directory.md;
1368
+ probed against Claude Code 2.1.322): the personal skills, commands, synced skills and agents of a
1369
+ session follow it, read from the session's `Environment` port with the user and managed settings
1370
+ `env` over it. `ScopeRequest.configDir`, `MemoryContext.configDir`; a session's own
1371
+ `DecideContext` protects the configuration directory. `extraScopeFolders` stay below the home.
1372
+ - `session.skillCatalog({ activated? }?): SkillCatalog` (`{ skills: readonly SessionSkill[]; issues }`):
1373
+ every skill and command the session can invoke, with every name it answers to, its source
1374
+ (`{ kind: 'plugin', pluginId }`, `{ kind: 'folder', scope }` or `{ kind: 'host' }`), its validated
1375
+ head, its `skillOverrides` state, `policy`, `listed`, `dormant`, and where it lives: `file` and
1376
+ `directory`, absolute for every source, `directory` being the value of `${CLAUDE_SKILL_DIR}`
1377
+ (`SkillPlace`; a command has no directory, an inline manifest command no file). `skills()` is
1378
+ built from these rows and `expandSkill` finds them by the same names; no port is called (a plugin
1379
+ root is asked once per host generation, when the entries are built). Types `SessionSkill`,
1380
+ `SkillCatalog`, `SkillSource`, `HostSource`, `SkillPlace`, `SkillCatalogOptions` (root, `./host`);
1381
+ `listedAs` and `isDormant` (`./skills`).
1382
+ - `SessionOptions.settings?: PolicyView`: a session's own settings (its project's user, project and
1383
+ local layers, plus any `flagSettings` layer of the host), replacing the host's for that session:
1384
+ which plugins run and everything they expose. `PluginSession.plugins` lists the host's plugins
1385
+ with whether they run in the session.
1386
+ - `readCatalog(plugin): PluginCatalog` is exported (root and `./host`).
1387
+ - `SessionOptions.plugins?: readonly HostPlugin[]`: a session's own plugins (its project's installs,
1388
+ `--plugin-dir` plugins), beside the host's in that session only; one under a host plugin's id
1389
+ replaces it there. `SessionOptions.userConfig`: a session's saved values, replacing the host's.
1390
+ `PluginSession.issues`: the issues of the session's plugin set.
1391
+ - Copies of one manifest name from different origins follow plugins/loading.md "Name conflicts"
1392
+ in the host and in each session (managed, `@inline`, installed, `@skills-dir`, `@synced`).
1393
+ - `session.checkTool(call, { ..., resolver? })`: with a `PathResolver`, the symlink check runs over
1394
+ the input that runs (`prepareCall`, and `resolveRuleDirectories` when the context has no
1395
+ `realDirectories`); a path that cannot be resolved is `decision: { outcome: 'deny', reason:
1396
+ 'unresolvable-path' }` with `ToolCheck.refused` holding the `PortFailure`. `DecisionReason` gains
1397
+ `unresolvable-path`.
1398
+ - `SessionOptions.locations?: Locations`: a session's project folder and plugin folders, replacing
1399
+ the host's `ports.locations` for everything the session resolves (hooks, skills, agents, MCP and LSP
1400
+ servers, monitors, folder reads). Its `pluginRoot(id)` answers for the session's own plugins.
1401
+ - `./package.json` is exported. Every other subpath has a `llx-plugin-source` condition (the
1402
+ `src` entry, for a path-linked host's tsc through `customConditions`) and a `default`.
1403
+ - `@rsaryev/llx-plugin/sdk`: `sdkHooks(session)` gives the `hooks` option of a Claude Agent SDK query that runs the session's plugin hooks, and `toSdkHookOutput(outcome)` writes a merged outcome as one SDK callback's JSON.
1404
+ - `session.checkTool(call, { toolUseId, permissionContext, signal })`: the `PreToolUse` hooks, then
1405
+ `decide` over the input they return, in one call (`{ hook, input, decision }`).
1406
+ - `policyContext(facts)`: a `PolicyContext` whose missing facts grant the least.
1407
+ - `structuredPatchOf(diff)` turns a unified diff into the `structuredPatch` hunks of an `Edit` or `Write` result, so a host that reports tool results to `PostToolUse` hooks does not parse diffs itself.
1408
+ - `bashFileTargets(command, paths)` reads the files a Bash line names for `Read` and `Edit` rules (file commands and redirection targets), so a host does not keep its own list of them.
1409
+ - `SessionOptions.ports`: a session binds its own hook ports (model evaluators, MCP caller, observer), so one `PluginHost` can serve many sessions; `withTurn({ ports })` binds those of one run.
1410
+ - Interactive user-config dialog plans, the published default plugin trust warning, and monitor
1411
+ release gating and shutdown decisions. Add spec proofs for saved configuration, trust refusals,
1412
+ manifest prose and documented validator diagnostics without changing the requirement registry.
1413
+ - Host: `HostPorts.folders`, `SessionOptions.addedDirectories`, `session.reloadSkills` (the first read and
1414
+ `/reload-skills`) and `session.touchFile`; `strictPluginOnlyCustomization` for skills is applied to the
1415
+ folders. A plugin skill is also typed by its frontmatter `name` without the prefix when no command uses
1416
+ it. `readSkillMentions` takes the listed `names`, so `/apps/web:deploy` is one word.
1417
+ - Host: `SessionOptions.takenCommands` (the host's built-in commands, bundled skills and MCP prompts a
1418
+ synced skill's short name yields to); `session.addDirectory` (`/add-dir`) and `session.moveTo` (`/cd`),
1419
+ which read the folders again on a live session and keep its skill hooks, `once` keys and nested
1420
+ directories; `session.skillSources()` with each listed folder skill's scope, origin, names and the names
1421
+ it gave up (`yielded`, `heldBy`) and the `shadowed` ones, for the `claude.ai sync` group of `/skills`.
1422
+ - Host: `session.withTurn(turn)` returns the same session for one turn. A turn replaces only the
1423
+ `permissionMode`, `effort`, `cwd`, `additionalDirectories`, `permissions` (the shell answer),
1424
+ `promptId`, `scratchpadDir`, `agent`, `folderTrustAccepted` and `interactive` it names, and shares
1425
+ what must outlive a turn: the skills' registered hooks, the `once` keys already consumed and the
1426
+ limits on skill hooks. The session it is called on does not change.
1427
+ - Host: `SessionOptions` carries `promptId`, `scratchpadDir`, `agent` (`id`, `type`) and
1428
+ `folderTrustAccepted` into the hook input (`prompt_id`, `scratchpad_dir`, `agent_id`,
1429
+ `agent_type`) and the workspace-trust gate of a project subagent's hooks.
1430
+ - Host: `expandSkill` registers a skill's frontmatter hooks into the session (they keep running for
1431
+ the rest of it, `once` removes one after its first successful run, a skill past 1,024 hooks or
1432
+ 16,384 matcher characters for its source "registers none of its hooks"); a manifest command's
1433
+ invalid `allowedTools` rule is reported as `loadCommandEntries` reports it; `allowManagedPermissionRulesOnly`
1434
+ in a managed layer takes away the `allowed-tools` grant of project, personal, synced and
1435
+ skills-directory skills.
1436
+ - Host: `createPluginHost({ plugins, ports, settings?, userConfig? })` and `host.openSession(...)`,
1437
+ the public entry that composes the loaded plugins, the skills, hooks, agents, settings and ports. A
1438
+ session lists skills and commands as `<plugin>:<name>` (invocation flags, budget), expands them
1439
+ (`$ARGUMENTS`, `${CLAUDE_PLUGIN_ROOT}`, shell placeholders through the runner, the shell policy of
1440
+ the settings), dispatches any hook event typed per event over every enabled plugin and the
1441
+ settings files (matchers, `if` through the rules module, `disableAllHooks`, `allowManagedHooksOnly`,
1442
+ the `hooks` lock, the HTTP allowlists), and resolves agents, MCP and LSP servers, monitors and
1443
+ output styles with the plugin variables and saved options. Enablement follows the host, then
1444
+ `enabledPlugins`, with managed settings that turn a plugin off winning.
1445
+ - Testing: `@rsaryev/llx-plugin/testing` publishes the fakes of the ports (`memoryFiles`,
1446
+ `scriptedRunner`, `recordingHttp`, `fakeModel`, `fakeMcp`, `fixedClock`, `locations`,
1447
+ `fakeEnvironment`, `memoryScratch`); `tests/support/ports.ts` re-exports them, one copy.
1448
+ - Official types re-exported from `@anthropic-ai/claude-agent-sdk`, with `HOOK_EVENTS` and
1449
+ `HOOK_HANDLER_TYPES` asserted equal to the SDK's unions.
1450
+ - The ports a host implements (`PluginFiles`, `CommandRunner`, `HttpClient`, `ModelRunner`,
1451
+ `McpCaller`, `Locations`, `Environment`, `Clock`, `ScratchFiles`), type-only, and in-memory fakes
1452
+ of each for tests.
1453
+ - `EFFORT_LEVELS`, asserted equal to the SDK's `EffortLevel`, and the official `EffortLevel`,
1454
+ `SlashCommand` and `ResolvedSettingSource` types re-exported.
1455
+ - Permission rules (`rules`): `parseRule` and `formatRule` for `Tool` and `Tool(specifier)` (literal
1456
+ parentheses, `Bash(*)` as bare, `domain:` and `Tool(param:value)` specifiers, the malformed-rule
1457
+ message), `matchRule` for bare rules, tool-name globs (with the allow-glob anchoring rule) and
1458
+ input-parameter rules, `evaluateRules` in deny, ask, allow order, and `ruleIssues` for the
1459
+ matches-no-tool warning. `PERMISSION_MODES`, `PERMISSION_BEHAVIORS`, `normalizePermissionMode`
1460
+ (`manual` is `default`), `DOCUMENTED_TOOLS`, and the SDK's tool input and output types.
1461
+ - Bash and PowerShell rules: the wildcard patterns of permissions.md (the `*` anywhere, the bare
1462
+ command before a trailing ` *`, the `:*` suffix), compound commands (every subcommand for an
1463
+ allow rule, any for deny and ask, including `$()`, backticks, subshells and loop bodies),
1464
+ the fixed wrapper list and safe environment assignments, exec wrappers and `find` actions that
1465
+ a prefix rule cannot approve, PowerShell aliases and case-insensitive matching, the
1466
+ wildcard-before-subcommand startup warning, and `evaluateIf` for the `if` field of hooks.
1467
+ `splitCommand`, `stripWrappers`, `matchBashPattern` and `requiresPromptDespitePrefixRule` are
1468
+ exported.
1469
+ - Path rules (`rules/path`): `Read(...)` and `Edit(...)` patterns with the four anchors (`//`, `~/`,
1470
+ `/` per settings source, `path` and `./path`), gitignore matching through `ignore`, the allow versus
1471
+ deny/ask depth rule for a single directory segment, `!` negation within one source, Windows POSIX
1472
+ paths, routing (Edit covers Write and NotebookEdit, Read covers Grep and Glob, an Edit allow implies
1473
+ read, a Read deny covers Edit and Write, Write/Glob/Grep/NotebookEdit path rules never match), the
1474
+ symlink two-path rule through a new `PathResolver` port (`prepareCall`, `resolveRuleDirectories`,
1475
+ `PathContext.realDirectories`), `readsNetworkPath` and `matchCdRule`.
1476
+ - Target rules (`rules/target`): `WebFetch(domain:...)` against the hostname of the call's `url`
1477
+ (case-insensitive, trailing dot stripped, `*.`, bare `*`, a `*` elsewhere limited to one label,
1478
+ bracketed IPv6), `matchDomainPattern`, and the sandbox domain list a `domain:` rule adds to as data
1479
+ (`sandboxDomainEntry`, `sandboxDomainLists`; a bare `WebFetch` adds nothing); `Agent(Name)`
1480
+ against `subagent_type`; `Skill(name)` and `Skill(name *)` with the namespace rule and the names a
1481
+ deny rule sees; MCP rule forms (`mcp__server`, `mcp__server__*`, `mcp__server__tool`) with the
1482
+ deny-or-ask versus allow difference for a server whose name holds `__`, `normalizeMcpServerName`,
1483
+ `pluginMcpServerName`, `mcpToolName`, `mcpToolRuleMatches`, and the Cowork tools a bare `Bash` or
1484
+ `WebFetch` deny rule also blocks.
1485
+
1486
+ #### cli
1487
+
1488
+ - Plugin release-tag planning and completion reporting, including validation, version agreement,
1489
+ force, dry-run, annotated messages, remote selection and local-tag preservation after a failed push.
1490
+ - CLI lifecycle commands: `claude plugin install`, `update`, `enable`, `disable`, `prune`,
1491
+ `uninstall` and `configure` as plans over ports. `startInstall`/`planInstall` run the install
1492
+ ladder (already installed at that scope exits 0 with the exact line, a command-source or
1493
+ `headersHelper` entry prints its command and needs `-y` or the `--accept-command` sha256, `Aborted.`
1494
+ and `Aborted — the command was not run.`, `-y` ignored inside a session, the `shownCommand` of a
1495
+ refused `--json` run, `--config` and `<server>.<key>` validated against `userConfig`, the
1496
+ `--marketplace` source added first, the refresh before the install and the dependency closure);
1497
+ `decideAcceptance` counts a sha256 only for the exact command, plugin and the catalog the run read
1498
+ after its own refresh. `planPluginUpdate` detects the scope (local, project, user, managed), matches
1499
+ a bare name and refuses an ambiguous one, reports `already at the latest version` and retries an
1500
+ unfinished dependency install in the cached copy. `planEnable`/`planDisable` write the scope the
1501
+ first mention or an override names, cascade to dependencies and refuse for dependents, a blocked or
1502
+ higher-scope-false dependency or a required synced plugin. `planPruneCommand` covers `--dry-run`,
1503
+ the terminal and `-y` matrix. `startUninstall`/`concludeUninstall` add G8: from the last scope the
1504
+ plugin's options, secrets and data directory go, except with `--keep-data`, for another plugin on the
1505
+ same folder, or when the install records cannot be read back (`savedKept`), with `keptData`,
1506
+ `settings_still_on` and `--prune`. `planConfigure` lists options without saved values, saves
1507
+ `--values-stdin` whole or not at all, and never prints a sensitive value. 27 requirements are proven
1508
+ and the choices the docs leave open are in `spec/judgments.md`.
1509
+ - CLI: a new `cli` module (layer 5) that models the plugin and marketplace commands as plans over
1510
+ ports. `renderCommand` gives the human line, the exit code and the last-line JSON object of a
1511
+ command (`command`, `outcome`, `message`, `failureCode`, a usage error that prints no result line);
1512
+ `chooseScope` and `writeScope` the scope grammar; `resolveCommand` the command table with its
1513
+ aliases; `startMarketplaceAdd`/`concludeMarketplaceAdd`, `planMarketplaceList`,
1514
+ `planMarketplaceRemove` and `planMarketplaceUpdate` the four marketplace commands; and
1515
+ `planSessionFlags` the 20 session flags of `claude` (`--plugin-dir`, `--plugin-url`, `--bare`,
1516
+ `--safe-mode`, `--restricted`, `--setting-sources`, `--settings`, `--disable-slash-commands`,
1517
+ `--add-dir`, `--agent`, `--agents`, the subagent-prompt flags, `--channels`, the development
1518
+ channels, `--mcp-config`, `--strict-mcp-config`, `--permission-mode`, `--tools`) with the refusals
1519
+ that exit `1` without starting. `scripts/check-layers.ts` gives the module its layer.
1520
+
1521
+ #### repository
1522
+
1523
+ - The package declares Node.js 22 or later (`engines`): the built `dist` calls
1524
+ `Promise.withResolvers`. Getting started says how long `--omit=optional` keeps the Agent SDK's
1525
+ binary out, that the SDK peers missing under `skipLibCheck` read as `any`, and that a registry
1526
+ install reads the declarations rather than the source condition.
1527
+ - The declarations check covers every declared call of `$` (88): its arguments against the declared
1528
+ parameters, the op event it fires against the declared input, and its result against the declared
1529
+ result (docs/API.md, "Mods declarations").
1530
+ - The mods declarations as evidence (AGENTS.md, E2a): `bun run types:pull` gets the
1531
+ `claude-code` declarations of the pinned release in a private `HOME`, `bun run types:extract`
1532
+ reads them with the TypeScript checker into `spec/mods-declarations.json`, `check:spec` (SP8)
1533
+ holds the snapshot to the release, and `tests/mods/declarations/surface.test.ts` fails on any
1534
+ difference between the kit and the declarations not judged in `spec/judgments.md` (D1 to D5).
1535
+ - Reach 100% of the in-scope requirements (2713 of 2713): host switches (`CLAUDE_CODE_*` variables,
1536
+ telemetry opt-out), channel contract and permission relay, shell redirection checks, marketplace
1537
+ add failures, name conflicts, relevance hints and telemetry names, `plugin list`/`details`/`validate`
1538
+ builders, mods keyboard and VS Code rules, managed-settings limits, seed registry and the managed
1539
+ approval-dialog list. Judgments are recorded in `spec/judgments.md`.
1540
+ - Audit the owner-approved plugin-host scope separately from native Claude Code UI, services,
1541
+ scheduling/model runtime and SDK-client behavior; publish every filtered table row in the
1542
+ generated exclusion log and regression-test that new plugin sections stay in scope.
1543
+ - `bun run oracle:runtime`: what a Claude Code session registers from a plugin (`init` event of
1544
+ `claude -p --plugin-dir`, no model call) against the kit's session, for 32 fixtures
1545
+ (then in this repository; now the spec's, synced to `spec/oracle/runtime`); each fixture's
1546
+ `expected.json` is committed, so `bun test` checks it without `claude`.
1547
+ - `bun run corpus:load`: the kit's loading compared with Claude Code's own (`claude plugin
1548
+ details` over `--plugin-dir`) on every corpus plugin, per component.
1549
+ - `bun run mutation <module>`: StrykerJS mutation testing of one module against its own tests,
1550
+ with a JSON report in `.cache/mutation/`.
1551
+ - `bun run bench`: times `loadPlugin` (from disk and from memory), host assembly, the skill
1552
+ listing and `PreToolUse` dispatch over the real plugins of the corpus.
1553
+ - Spec: the same-name table of skills.md names its rows by phrase (`PageScope.phrases`), which adds six
1554
+ requirements (bundled skill, built-in command, added directory, two added directories, plugin skill,
1555
+ synced short name).
1556
+ - Spec: every page of the docs is classified (SP7). The 24 pages that document hooks, memory,
1557
+ worktrees, status lines, headless runs, model settings, server-managed settings, agent teams,
1558
+ goals, scheduling, auto mode, tools, the error catalogue and the Agent SDK's plugin, hook, skill,
1559
+ subagent, permission and MCP behaviour are audited section by section, and the other 156 are
1560
+ listed in `spec/out-of-scope-pages.json` with a reason docs/SPEC.md explains. A page that
1561
+ appears in a new release fails `check:spec` until it is classified.
1562
+ - Spec: the requirement set now counts the docs' prose, not only their tables. Every heading of
1563
+ the plugin, mods, skills, subagents, hooks, MCP, managed MCP, settings, managed settings,
1564
+ permissions, environment, CLI, workflows, themes, output styles and channels pages is either
1565
+ read as requirements (one per section, one per listed rule) or listed in
1566
+ `spec/out-of-scope.json` with a reason (docs/SPEC.md, "Sections and scope"). New categories:
1567
+ `install`, `updates`, `trust`, `policy`, `settings-merge`, `mcp-settings`, `themes`,
1568
+ `workflows`, `cli`. The compatibility percentage drops accordingly: the new requirements are
1569
+ unproven until a test names them.
1570
+ - Evidence: the oracle (the official CLI of the same release, run as a black box) is a recognised
1571
+ source in docs/SPEC.md and AGENTS.md (E5a) for message wording and validator-only checks; every
1572
+ behaviour taken from it is a row `oracle 2.1.319` in spec/judgments.md with an input of its own.
1573
+ - Corpus: `bun run corpus` compares the oracle with `validatePlugin` (verdict agreement, findings
1574
+ with the same severity and message, findings at the same file and path, what the kit misses or
1575
+ adds) and prints `loadPlugin`'s verdict on a separate line.
1576
+ - The corpus: `corpus:fetch` fetches every plugin of the official and community marketplaces
1577
+ through the kit's own marketplace reader and fetch plans; `corpus` compares the kit with
1578
+ `claude plugin validate --json` plugin by plugin.
1579
+ - The evidence pipeline: `docs:pull` mirrors the official Claude Code docs, `spec:extract` turns
1580
+ them into `spec/requirements.json`, and `compat` reports the share each test run proves.
1581
+ - `docs/api/`: one table per public entry (`docs/api/root.md`, `docs/api/loading.md`, ...) with every export, its kind and one line, linked from docs/API.md. The docs gate's DOC3 (`scripts/docs/export-tables.ts`, over `scripts/lib/public-exports.ts`, which resolves each entry through its barrels with `oxc-parser`) fails when an export has no row, a row names no export or the wrong kind, or a doc imports a name an entry does not export.
1582
+
1583
+ ### Changed
1584
+
1585
+ #### format
1586
+
1587
+ - **BREAKING** `loadPlugin` and `collectMcpServers` `bundleSettings` → gone. Bundle settings are read when a server is resolved, not at load: `loadPlugin` and
1588
+ `collectMcpServers` take no `bundleSettings`; a bundled server's values come from the scope's
1589
+ `userConfig.values` under `<server>.<key>` (a session fills them from `pluginConfigs.<id>.mcpServers`
1590
+ and `userConfig`), and `Bundled MCP server "<name>" was not started: it needs configuration` is an
1591
+ issue of `resolveMcpServers` / `resolveChannel` / `session.mcpServers()`.
1592
+ - **BREAKING** `McpBundleSetting` and `McpbOption` → gone. `McpBundle.userConfig` is the bundle's raw `user_config` block; `McpBundleSetting` and
1593
+ `McpbOption` are removed (`McpbManifest.options` is `Record<string, UserConfigOption>`).
1594
+ - **BREAKING** `resolveChannel` over a servers map → over a `Plugin` (`{ mcpServers, mcpBundles }`). `resolveChannel(channel, plugin, scope)` takes `{ mcpServers, mcpBundles }` (a `Plugin`) in place
1595
+ of the servers map.
1596
+ - **BREAKING** `fillBundleSettings` → gone. `bundleServerOf` leaves a bundle's `${user_config.<key>}` as written (no `<server>.<key>` rewrite);
1597
+ `fillBundleSettings` is removed: the kit answers the references when it resolves the server.
1598
+ - **BREAKING** `headersHelperEnvironment` → `planHeadersHelper(resolved.headersHelper, origin, trust, context)`. An MCP server's `headersHelper` resolves to a `HelperServer`; plan its run with
1599
+ `planHeadersHelper(resolved.headersHelper, origin, trust, context)` instead of reading
1600
+ `headersHelperEnvironment`.
1601
+ - The `headersHelper` refusal line names `$CLAUDE_CONFIG_DIR/.claude.json` when the variable is set.
1602
+ - `requiredBundleSettings` takes `{ name, options }` (an `McpbManifest` still does).
1603
+ - `Plugin.mcpBundles` (new, required): each bundled server's own settings (`McpBundleConfig`, `{ userConfig }`). `resolveMcpServers` and `resolveProcesses` read it.
1604
+ - `resolveProcesses(plugin, scope)` needs the plugin's `manifest`; a server bound by a channel takes
1605
+ that channel's `userConfig`. Issue paths are indexed (`lspServers.go.args[0]`).
1606
+ - `exportedEnvironment(component, scope, substitution?)` takes an optional
1607
+ `Pick<Substituter, 'variable'>` to answer the variables.
1608
+ - A host release written `v2.1.319`, `2.1.320-beta` or with trailing text satisfies the v2.1.310
1609
+ flag-free monitor minimum.
1610
+
1611
+ #### settings
1612
+
1613
+ - **BREAKING** `SCOPE_PRECEDENCE` → `SCOPES_BY_PRECEDENCE`. `SCOPE_PRECEDENCE` is renamed `SCOPES_BY_PRECEDENCE` (`['managed', 'local', 'project', 'user']`).
1614
+ - **BREAKING** `createHookPolicy(view, locks, context)` → `createHookPolicy(view, context)`. `createHookPolicy(view, context)` (`./settings`) takes no `locks`: the `hooks` surface of
1615
+ `strictPluginOnlyCustomization` is read from the view.
1616
+ - **BREAKING** `NotAppliedVariable.reason` → `.why`; `envIgnored` → `ignoredBecause(...) !== undefined`. `resolveSettingsEnv(...).ignored` entries are `NotAppliedVariable` `{ name, scope, why }`, `why` a
1617
+ `NotApplied` (an `IgnoreReason` such as `storage`, `identity` or `launch-only`, or
1618
+ `launch-environment`, `shell-keeps-it`, `awaiting-trust`). Read `.why` instead of
1619
+ `.reason`; `ignoredBecause(scope, name, value) !== undefined` replaces `envIgnored`.
1620
+ - **BREAKING** `resolveSettingsEnv(...).issues` → gone. `resolveSettingsEnv` no longer returns `issues`; an `env` value that is not a string reaches the
1621
+ environment as its text (`String(value)`, as Claude Code sets it) instead of being left out.
1622
+ - `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB` with surrounding blanks turns the scrub on.
1623
+ - Settings (changed): `unionArrays` drops duplicate entries, as managed-settings.md says of combined
1624
+ lists; a user, project, local or `--settings` source that is not a JSON object is an error issue
1625
+ ("Settings Error: ...") rather than a warning, and still skipped.
1626
+
1627
+ #### hooks
1628
+
1629
+ - **BREAKING** `SkipKind` → also `'linger'`. `SkipKind` gains `'linger'`: a hook still running `HookBudget.lingerMs` (5000 ms,
1630
+ claude-code/index.d.ts:5435) after its `next.signal` aborted is reported once, `<mod>: <event> hook
1631
+ lingering: still running 5000 ms after next.signal aborted`. `MOD_LIMITS.lingerMs` is new.
1632
+ - **BREAKING** `<mod>: <event> hook threw <error>` → `<mod>: <event> hook skipped: next(e) rejected and the hook did not catch it: <error>`. A hook that does not catch a rejected `next(e)` is reported `<mod>: <event> hook
1633
+ skipped: next(e) rejected and the hook did not catch it: <error>` instead of `threw <error>`, which
1634
+ read as the hook's own fault (a refusal by Claude Code's gate, for one). It is still a `throw`
1635
+ report and a `.catch` handler still answers.
1636
+ - **BREAKING** `HookEngineOptions.shellPaths`, `DispatchConfig.shellPaths` and `RunContext.shellPaths` → gone. A bash shell-form hook always keeps `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
1637
+ and `${CLAUDE_PROJECT_DIR}` as braced references with the paths in its environment, as Claude Code
1638
+ 2.1.322 does; `shellPaths: 'pasted'` pastes only where Claude Code pastes (a monitor `command`, an
1639
+ MCP `headersHelper`, a skill's `!` command). `HookEngineOptions.shellPaths`,
1640
+ `DispatchConfig.shellPaths` and `RunContext.shellPaths` are removed, and the `hook-shell` surface
1641
+ is no longer one `shellPaths` sets.
1642
+ - A PowerShell hook reports every bare `$CLAUDE_*` path variable once, not only the first.
1643
+
1644
+ #### skills
1645
+
1646
+ - **BREAKING** `SkillOrigin` → also `{ kind: 'bundled' }`. `SkillOrigin` gains `{ kind: 'bundled' }`, so a registry over `SkillOriginKind` needs the
1647
+ key. `SessionOptions.takenCommands` no longer needs the host's bundled skills when they are given
1648
+ as `hostSkills`.
1649
+ - **BREAKING** `stackSkills` over rows → over a `SkillLookup`, returning `{ skills, arguments, mentions }`. `stackSkills(message, lookup, options?)` takes a `SkillLookup` (`skillLookup(rows)`) and returns
1650
+ `{ skills, arguments, mentions }`; `StackOptions.takesCommandArguments` names the host commands
1651
+ (`/loop`) that end a stack.
1652
+ - **BREAKING** `Invocable` with its body → `InvocableHead` and a `BodyReader`. The folder scan is metadata-first: `ScannedEntry` and `ResolvedFolderSkill` hold the skill or command
1653
+ without its body (`SkillHead`, `CommandHead`, `InvocableHead`) and a `BodyReader` (`readBody(signal?)`)
1654
+ that reads the body through the host's `FolderScan` port when the skill runs, fresh each time. A port
1655
+ that refuses a file now skips that file with a warning instead of failing the scan, and a session
1656
+ expands an edited folder skill without a reload. `Invocable` is `InvocableHead`, and `stackSkills` keeps
1657
+ the caller's skill type.
1658
+ - `${CLAUDE_SKILL_DIR}` keeps a skill directory that is already absolute: a session expands a skill
1659
+ with the row's `directory`, so the plugin root is asked once per host generation instead of at
1660
+ each expansion.
1661
+ - A skill's `!` command is decided by the session's permission rules plus the skill's
1662
+ `allowed-tools` (`SessionOptions.permissionContext`) instead of always asking, and runs with the
1663
+ session's Bash or PowerShell subprocess environment.
1664
+ - `session.expandMessage(message, { signal, invoker?, takesCommandArguments? })` finds skills by
1665
+ aliases and declared names, as `expandSkill` does; `permitted` holds the listed commands.
1666
+ - `paths` globs of a skill are compiled once per skill.
1667
+
1668
+ #### agents
1669
+
1670
+ - **BREAKING** `session.selectAgent` also took the `agent` setting → `{ flag }` only; `selectSessionAgent` `setting` text → `AgentSetting`. `session.selectAgent` takes `{ flag }` only; the `agent` setting comes from the
1671
+ session's settings and the plugin defaults. `selectSessionAgent`'s `setting` is an
1672
+ `AgentSetting` (`{ name; plugin? }`), not a string. `valueWithPluginDefaults` returns
1673
+ `{ value, plugin? }` (or `undefined`), and `pluginDefaultsOf` gives `owners` by key.
1674
+ - **BREAKING** `CatalogAgent.source` tier string → `CatalogSource` object. `CatalogAgent.source` (`CatalogSource`) is an object, `{ kind: 'plugin', pluginId }`,
1675
+ `{ kind: 'folder', scope }`, `{ kind: 'flag' }` or `{ kind: 'builtin' }`, not the tier string;
1676
+ `catalogTier(source)` gives the old value. `SessionAgent.source` follows.
1677
+ - **BREAKING** `ScopeRule.bases` and `AgentFolder.bases` → `places`, `SCOPE_BASES.home` → `SCOPE_PLACES.user`. The skills scan's `ScopeRule.bases` and the agents scan's `AgentFolder.bases` are
1678
+ `places` (`ScopePlaces`: each base with its folder), and `SCOPE_BASES.home` is gone: the user
1679
+ scope is `SCOPE_PLACES.user`. `SavedScanRequest.configDir` is the inherited
1680
+ `ScopeRequest.configDir`.
1681
+ - `session.preloadSkills(definition, { signal, source })`: with the agent's `CatalogAgent.source`, a
1682
+ bare name in a plugin agent's `skills` finds its own plugin's `<plugin>:<name>` first, else the
1683
+ first plugin's in load order (oracle 2.1.322). Without `source`, the agent is read as one of no plugin.
1684
+ - `AgentToolFields` reads `tools` and `disallowedTools` as readonly lists, so a host's readonly agent record is accepted as it is.
1685
+ - `readFlagAgents` loads a `--agents` name with `:` and one over 256 characters, as Claude Code
1686
+ 2.1.322 does; its bare name is the part after the last `:` (`--agent name` finds `ns:name`). Only
1687
+ an empty name is refused beside the documented `-`.
1688
+
1689
+ #### marketplace
1690
+
1691
+ - **BREAKING** a plugin with unmet `dependencies` ran → it is off (`enabled: false`). A plugin whose `dependencies` are not met no longer runs: `enabled: false`
1692
+ with `Dependency "<dep>" is not installed`, `... is disabled — enable it or remove the dependency`
1693
+ or `Requires "<dep>" <range>, installed <version>` under its id, and what needs it stops too
1694
+ (plugins/troubleshooting.md, "Dependency errors"; oracle 2.1.322). Give every installed plugin,
1695
+ the disabled ones with `enabled: false`.
1696
+ - **BREAKING** `UninstallStart.remove` → also `requiredBy`, and the success line ends `— warning: required by …`. `UninstallStart` `remove` gains `requiredBy` (the names of the enabled
1697
+ plugins that depend on it), and the success line ends `— warning: required by a, c` (oracle
1698
+ 2.1.322; the uninstall is not refused).
1699
+ - **BREAKING** `InstallRun` → also `{ before, needs }`. `InstallRun` (`planInstall`) gains `{ before, needs }`, returned when a
1700
+ dependency's `plugin.json` must be fetched before the plan is final.
1701
+ - **BREAKING** `checkForUpdate` returned the outcome string → async, returns `UpdateVerdict` `{ check, version }`. `checkForUpdate(subject, installed, sha256)` (`./marketplace`) is async and returns an
1702
+ `UpdateVerdict` `{ check, version }` (`check` is `new copy`, `unchanged` or `loaded in place`); it
1703
+ computes the version itself through `resolvePluginVersion`. Pass the `Sha256` port and read
1704
+ `.check` where the old call returned the outcome string.
1705
+
1706
+ #### mods
1707
+
1708
+ - **BREAKING** `HookFailure` loses `cause` and gains `budget`; `REENTRY_CAUSES`, `ReentryCause` and the `'re-entry'` skip kind → gone. A mod's `.catch` handler sees only the failures the declarations
1709
+ give it (claude-code/index.d.ts 2.1.321; oracle 2.1.322 agrees). `HookFailure` is
1710
+ `{ kind: 'throw' | 'timeout'; message?: string; budget: number }`: `cause` is removed, `message`
1711
+ is absent on a timeout unless a `next()` rejected first, and `budget` (the handler's 1000 ms) is
1712
+ new. `HOOK_FAILURE_KINDS` is `['throw', 'timeout']`; `REENTRY_CAUSES` and `ReentryCause` are
1713
+ removed; `ReentryInfo` loses `rewritten` and `lent`; `SkipKind` loses `'re-entry'`. A hook skipped
1714
+ on re-entry runs no `.catch` handler and is not reported: Claude Code's behaviour runs in its place.
1715
+ - **BREAKING** `ModRegistries.commandRuns` optional → required. `ModRegistries.commandRuns` is required (the `CommandRunDepth` of `runCommand`): a
1716
+ `core` or `ModCommands.run` that calls `runCommand` for the same command again runs its core with
1717
+ no second `command.run` (claude-code/index.d.ts:1834, "one slash command about to run"); a third
1718
+ nesting rejects `/<name>: its body ran runCommand for itself again; refused`. Needs
1719
+ `ModsHostOptions.asyncContext`.
1720
+ - **BREAKING** `RenderEvent.requestId` optional → required. A `ui.render` event always has a `requestId` (`RenderEvent.requestId` optional →
1721
+ required): a site of one instance gets the host's or the site's name.
1722
+ - **BREAKING** a `command.run` hook's rewritten `e.command` was looked up → refused. A `command.run` hook that rewrites `e.command` or changes `e.presentation` is refused,
1723
+ and the host's core gets the event's `origin` and `presentation`; the lookup of a rewritten command
1724
+ is gone (claude-code/index.d.ts:1836: "A rewrite is refused").
1725
+ - **BREAKING** an aborted dispatch ran the core → rejects with the abort's reason. A dispatch whose signal aborted rejects with the abort's reason instead of running the
1726
+ core (`abortedCore`).
1727
+ - **BREAKING** `$.ui.panes()` listed every mod's panes → only the calling mod's. `$.ui.panes()` lists only the calling mod's panes, and `title` is the id when the pane
1728
+ was opened without one.
1729
+ - **BREAKING** the scan accepted `export let register`, re-exports and `export *` → refuses them. The scan refuses `export let register`, `export var register`, a class or variable
1730
+ exported as `register`, a re-export and `export *`, each with its own line, and an
1731
+ `h(Client, ...)` whose props are no object literal or name no `module`: Claude Code 2.1.321
1732
+ refuses them (oracle, `registerExport`, `clientProps`). The line of a file with no `register`
1733
+ reads `no export named register (export function register(on, options) {...})`.
1734
+ - **BREAKING** op events without the declared facts → with `origin`, `wait`, `door`, `trigger`, `previous` and `provider`. Op events carry the declared facts the kit has (spec/judgments.md D9): `origin`
1735
+ (`{ kind: 'plugin', name }`) on `prompt.submit`, `prompt.fill`, `prompt.suggest`, `session.send`,
1736
+ `session.append`, `command.run`, `config.set`, `ui.focus` and `ui.scroll`; `wait: false` on
1737
+ `prompt.submit`; `door: 'note'` on `session.append`; `trigger: 'plugin'` on `session.compact`;
1738
+ `previous` and `provider` on `config.set`, which now reads `config.list()` first (a host's
1739
+ `config` port must answer `list` for `$.config.set`). Each is removed before the port is called.
1740
+ - **BREAKING** `ModHostPorts` `account`, `promptBox`, `notifications` optional → required. `ModHostPorts` (the filled type) requires `account`, `promptBox` and `notifications`; a
1741
+ host that builds it directly adds them or uses `withDefaultPorts` (`ModHostPortsInput` leaves
1742
+ them optional). `MODS_API` lists the declared members after the reference page's
1743
+ (`MODS_API_REFERENCE` is the page alone); `ModRegistries` has `onChange`, and
1744
+ `createRegistries()` builds listeners for it.
1745
+ - **BREAKING** the calls of `$` in the kit's own forms → the declared forms. The calls of `$` take and answer what the declarations (2.1.321) give, found by the
1746
+ declarations check of every call's parameters, op event and result:
1747
+ - `$.mcp.call(server, tool, args?)` positional (was `{ server, tool, input }`); event
1748
+ `{ server, tool, args }`; it answers `{ content, isError, structuredContent? }`.
1749
+ `$.mcp.connect` resolves `{ isConnected: false, reason: 'unlisted' | 'failed', message }` (was a
1750
+ throw for an unlisted server) and `{ isConnected: true, server }`.
1751
+ - `$.model.classify(text, labels, options?)` positional (was one object); at least 2 labels.
1752
+ - `$.audio.play(clip, options?)`: `clip` is `{ asset } | { url } | { base64, mime }`, options
1753
+ `{ shouldLoop?, gain? (0 to 4), signal? }` (a loop needs the signal); event `{ clip,
1754
+ shouldLoop, gain? }`; port `ModAudio.play(request, signal)`.
1755
+ - `$.http.fetch(url, init?)`: event `{ url, init: { method, headers, body? } }` (was flat).
1756
+ - `$.process.run(argv, init?)` takes `env` and `stdin`; `$.process.spawn({ argv, cwd?, env?,
1757
+ input? })` (was `(argv, init)`), whose end is `{ code, signal }`; a child ended by a signal
1758
+ reads `exitCode: 1` (was a throw). Port: `ModSpawner.spawn` takes `input` and may answer
1759
+ `signal`.
1760
+ - `$.fs.read(path, { as? })`: `as: 'bytes'` answers `{ base64 }` (port `read(path, signal,
1761
+ as?)`, `base64` on its answer); `$.fs.stat(path, { resolve? })` gives `mtimeMs` and, with
1762
+ `resolve`, `realPath`; `$.fs.list` entries give `mtimeMs`; `$.fs.ancestors` answers the
1763
+ instruction files (`FsAncestor`) from the optional port `ModFs.instructions` or a walk.
1764
+ - `$.env.set(name, value?)`: `undefined` unsets; it answers `{}`. Port `env.set(name, value:
1765
+ string | undefined)`.
1766
+ - `$.turn.abort({ turnId })`; port `turns.abort(turnId?)`.
1767
+ - `$.telemetry.log(entry)` takes `{ event, props?, to? }` (`to` `anthropic` when left out);
1768
+ `$.telemetry.mark({ feature, kind, reason?, props? })` (was a string); port
1769
+ `telemetry.mark(feature, mark?)` (`TelemetryMark`).
1770
+ - `$.session.version()` answers `{ version, base? }`; `$.session.authorize()` takes nothing;
1771
+ `$.session.append({ message, agentId? })`; `$.session.compact()`, `session.append` and
1772
+ `config.set` ports may answer an object, which is the call's result.
1773
+ - `$.prompt.submit` takes `context` and answers `{ ..., text, context? }`; `$.prompt.fill(text
1774
+ | { text, mode?, decorations?, cursor? })`, port `prompts.fill(text, fill?)` answering
1775
+ `{ isFilled, refusal?, text?, cursor? }`.
1776
+ - `$.ui.log(text, { to? })` (`debug` goes to the debug log); `$.ui.copy({ text, surface? })`
1777
+ answers `{ isCopied, reason? }` (`no-clipboard` when the host gives none); `$.ui.selection()`
1778
+ answers `{ text, requestId? }` (port may answer `UiSelection`); `$.ui.notice(tool_use_id,
1779
+ text?)`; `$.ui.blit`, `$.ui.focus`, `$.ui.scroll` answer `{}` when the host gives nothing;
1780
+ `$.ui.invalidate` also takes `prompt.context`, `prompt.attachment`, `command.describe` and
1781
+ `config.describe` (`ModInterface.rerun(event: RerunEvent)`).
1782
+ - `$.agent.register`, `$.command.register` and `$.tool.register` answer `{ agent }`, `{ command }`
1783
+ and `{ tool }`; `$.tool.register`'s `inputSchema` defaults to `{ type: 'object' }`;
1784
+ `$.theme.set` answers `requestId` when drawn; `$.config.set`'s value is a string, number,
1785
+ boolean or string array; a hook's `{ deny }` resolves `session.append`, `config.set` and
1786
+ `session.identity`.
1787
+ - `McpToolResult` takes `content` (`McpContentBlock`) and `structuredContent`.
1788
+ - **BREAKING** `$.ui.notice`, `invalidate`, `log`, `toast` and `status` returned a promise → `undefined` at once. `$.ui.notice`, `$.ui.invalidate`, `$.ui.log`, `$.ui.toast` and `$.ui.status` return
1789
+ `undefined` at once, as declared (`=> void`, claude-code/index.d.ts:2400, :2416, :2470, :2503,
1790
+ :2550; was D3). A misused argument throws where the call is made; a `{ deny }` or a failure of the
1791
+ event goes to the debug log (`<mod>: $.ui.log failed: ...`). New: `FIRED_CALLS`, `AT_ONCE_CALLS`,
1792
+ `ModsFiredMember`, `FiredEventName`; `describeApi` gives them `kind: 'sync'`; a nesting problem in
1793
+ the argument of any call that answers at once (`ui.resolve` and the timers too) now throws instead
1794
+ of returning a rejected promise. In the test kit an unstubbed `$.ui.toast`, `log` or `status` no
1795
+ longer rejects with `no implementation for <name>`; the line goes to the debug log.
1796
+ - **BREAKING** a hook that returned `undefined` passed → fails as `wrong-shape`, and `next()` with no argument rejects. What a hook returns follows the declarations (`Next`, claude-code/index.d.ts:6963;
1797
+ `StreamHookBody`, :13444). A function hook that returns `undefined` now fails as `wrong-shape`
1798
+ (`it returned nothing: return next(e) or a result`): its `.catch` handler answers, else its latest
1799
+ `next`'s result stands, else it is skipped. `next()` with no argument rejects, naming the hook and
1800
+ the mod; `next(undefined)` passes `undefined` on. On a streaming event `next(e)` is a
1801
+ `ModHookStream` (`NextOutput` changed): an async generator with a `result` promise that settles at
1802
+ the stream's end and rejects when it is closed early. Proven in
1803
+ tests/mods/chain/declared-next.test.ts.
1804
+ - **BREAKING** a mod's call skipped the whole mod → only the calling hook. Who a mod's call reaches. Only the calling hook is skipped as `re-entry`; the mod's other
1805
+ hooks see the call, and a call from the mod's code outside its hooks skips every hook of the mod
1806
+ (before, the whole mod was skipped). One of the engine's own events (`EventCalls`, :5011) now
1807
+ reaches every mod's hooks, not only those at or above the caller; a call the host serves
1808
+ (`OpEventOf`, :7292) still reaches only those. New export `isEngineOwnEvent(name)`. Proven in
1809
+ tests/mods/chain/caller-reach.test.ts.
1810
+ - **BREAKING** `ModNext.event`, `is`, `trace`, `HookCall.name`, `trace` and `TestKit.describe` optional → required. `ModNext` requires `event`, `is` and `trace`, `HookCall` requires `name` and `trace`,
1811
+ and `TestKit` requires `describe`; `SkipTier` takes `user`, so `next.to('user')` runs from a
1812
+ `prepend` hook (declarations 2.1.321).
1813
+ - **BREAKING** the results of `prompt.fill`, `prompt.suggest` and `prompt.mention` → the declared shapes. The results of `prompt.fill` (`{ isFilled?, refusal? }`), `prompt.suggest`
1814
+ (`{ isShown? }`) and `prompt.mention` (`{ deny?, type?, context? }`) are the declared ones.
1815
+ - **BREAKING** `Box` `flexBasis` accepted → refused. `Box` refuses `flexBasis`, which is not declared.
1816
+ - **BREAKING** `$.state.get` answered the value → `{ value, version }`, and `atom(...)` → `{ ref, initial, shape? }`. `$.state` values are versioned, as Claude Code 2.1.322 answers them: `$.state.get`
1817
+ answers `{ value, version }` (`{ version: 0 }` while unwritten), `$.state.set(ref, value, {
1818
+ ifVersion })` answers `{ isSet, version }` and writes nothing on a stale version, and a reference
1819
+ may carry `id` for a family's member. `StateStore.get(ref)` and `set(ref, value, ifVersion?)` take
1820
+ a `StateRef`; `atom(...)` is now `{ ref, initial, shape? }`. The state helpers gain `derive` and
1821
+ `memberOf` and the `shape` option, in both the kit and `STATE_LIBRARY_SOURCE`; `update` answers
1822
+ the new value.
1823
+ - **BREAKING** `createEventRules()`, `withApiRules`, `withUiRules`, `withRegisterRules` → `EVENT_RULES`, `API_RULES`, `uiRules()`, `REGISTER_RULES`. Mods rules are books: `createModChain({ clock, rules: [EVENT_RULES, API_RULES, uiRules()] })`.
1824
+ `EVENT_RULES`, `API_RULES`, `uiRules()` and `REGISTER_RULES` replace `createEventRules()`,
1825
+ `withApiRules(rules)`, `withUiRules(rules)` and `withRegisterRules(rules)`; an event named in two
1826
+ books throws. The rule type is `EventRule` (one per event) in an `EventRuleBook`.
1827
+ - Deviation: `require()` in a hooks module stays refused at load although Claude Code 2.1.321
1828
+ validates and loads it (oracle: `claude plugin validate` and a `--plugin-dir` load agree). On Bun a
1829
+ written `require` reaches any file or package past the import rules. Recorded in docs/SECURITY.md
1830
+ ("`require()` in a hooks module"), spec/judgments.md (`requireCall`) and
1831
+ tests/mods/load/scan-require.test.ts; 0 mods of the corpus are affected; no option. A dynamic
1832
+ `import()` is refused by both. docs/SECURITY.md also says the scan is no sandbox (`Running a mod's
1833
+ code` under "Risks the host owns").
1834
+ - `$.http.fetch` `auth` is https only, is dropped on a redirect to another origin, and counts as
1835
+ carrying the session's credentials under `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
1836
+ - `ModsHostOptions.asyncContext` (new, optional; `() => new AsyncLocalStorage()` on Node or Bun):
1837
+ a mod's call skips only the calling hook (claude-code/index.d.ts:7298, "The calling hook alone is
1838
+ skipped"). Without it every running hook of the mod is skipped, as before.
1839
+ - `ModsHost.dispose()` also forgets the plugins it was given: a disposed host still referenced held
1840
+ every plugin's files. Run one mods host per session (claude-code/index.d.ts:4606, :10174).
1841
+ - `ModsHostOptions` moved to `src/mods/load/host-options.ts`; it is exported where it was.
1842
+ - `fakePorts().appended` rows leave out `door` and `origin`, as the port receives them.
1843
+ - `on` takes every pattern the declarations do (`Glob`, claude-code/index.d.ts:5346; `Namespace`,
1844
+ :6893; `Negation`, :6955): `*`, `ns.*` over any namespace of the events (`ui.*`, `tool.*`,
1845
+ `telemetry.*`, not only `classic.*`), and `!` before a name or a glob (`!*` is refused). `*` and a
1846
+ negation select no telemetry event, and a hook on `telemetry.*` needs the telemetry filter as one on
1847
+ a telemetry event does. `next.is` uses the same rule. Proven in
1848
+ tests/mods/chain/patterns.test.ts.
1849
+ - An element's `children` are flattened at any depth; `false`, `null`, `undefined` and `true` are
1850
+ dropped, and a number becomes its string (`RenderChildren`, :10224).
1851
+ - `update` writes through `$.state.set(ref, value, { ifVersion })` and applies its change again when
1852
+ another write beat it; an atom keeps a reference's `id`.
1853
+ - `MOD_TIERS` lives in `src/protocol/mods-tiers.ts` (still exported from `mods-events`).
1854
+ - `./mods` re-exports only `createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`, `jsonBytes`
1855
+ and their types from the foundation.
1856
+ - `resolveTypesPath` returns `undefined` when there is no types path.
1857
+
1858
+ #### host
1859
+
1860
+ - **BREAKING** `SubstitutionScope.monitorPaths` → `shellPaths`, `MonitorPaths` → `ShellPaths`, `PluginHostOptions.hookExecution.shellPaths` and `HookCommandOptions.shellPaths` → `PluginHostOptions.shellPaths`. One option, `PluginHostOptions.shellPaths?: 'environment-reference' | 'pasted'`
1861
+ (default `'environment-reference'`), sets the path form of every shell-parsed string a session
1862
+ resolves. `SubstitutionScope.monitorPaths` is now `SubstitutionScope.shellPaths` and covers bash
1863
+ hooks, monitors and `headersHelper`. `PluginHostOptions.hookExecution.shellPaths` and
1864
+ `HookCommandOptions.shellPaths` are removed (see the bash hook entry). A host that needs the docs' literal text passes `shellPaths: 'pasted'`. Type
1865
+ `MonitorPaths` is now `ShellPaths`.
1866
+ - **BREAKING** `monitorsToStop` over `MonitorStart` → generic over what the host keeps. `monitorsToStop(started, event)` is generic over what the host keeps
1867
+ (`<T>(started: Iterable<T>, event: MonitorStopEvent) => T[]`).
1868
+ - **BREAKING** `SessionOptions.hookPorts` and `TurnOptions.hookPorts` → `ports`. `SessionOptions.hookPorts` and `TurnOptions.hookPorts` are renamed `ports` (same type,
1869
+ `Partial<Omit<HookPorts, 'locations'>>`): they now feed everything the session resolves, not only
1870
+ its hooks.
1871
+ - **BREAKING** `EnvFileStore.path` and `clear` without the session → with the session id first; `createEnvFiles` requires `sessionId`. `EnvFileStore.path(sessionId, kind, signal)` and `clear(sessionId, kind, signal)` take the session
1872
+ id, and `createEnvFiles(store, { sessionId, launchScript? })` requires it: one store serves every
1873
+ session of a host, keyed by `SessionOptions.sessionId`. Key the files by the id (for example
1874
+ `<dir>/<sessionId>/<kind>-env.sh`).
1875
+ - **BREAKING** `SessionOptions.permissions` and `TurnOptions.permissions` → `shellPermission`; `session.checkTool` `permissions` → `permissionContext`. Renamed: `SessionOptions.permissions` and `TurnOptions.permissions` are `shellPermission` (the
1876
+ answer for a skill's `!` command, a `ShellPermission`); the `permissions` option of
1877
+ `session.checkTool` is `permissionContext` (`startPermissions(...).context`).
1878
+ - **BREAKING** `folderTrusted`, `parentTrusted`, `nonInteractive` → one `trust` (`TrustSituation`). Workspace trust is one `TrustSituation` (`trusted`, `parent-trusted`, `non-interactive`,
1879
+ `dialog`): `workspaceTrustState(trust, facts, { nonInteractive?, signal? })` returns it,
1880
+ `settingsHooksMayRun(situation)` takes it, and `decideRepositoryPlugin` and `LocalSettingsFacts`
1881
+ take `trust` instead of `folderTrusted`, `parentTrusted` and `nonInteractive`.
1882
+ - **BREAKING** `session.dispatch` options → `SessionDispatchOptions`. `session.dispatch(event, facts, options)` takes `SessionDispatchOptions`: `{ signal, interrupt?,
1883
+ taskCompletedBy?, sourcesOnly? }`.
1884
+ - **BREAKING** the output-style helpers in `./skills` → `./format`; elicitation names → `./elicitation` only; layout names → `./layout` only. The output-style helpers (`resolveOutputStyle`, `includeCodingInstructions`, `listOutputStyles`,
1885
+ `outputStyleSystem`, `BUILTIN_OUTPUT_STYLES`, `DEFAULT_OUTPUT_STYLE_ID` and their types) moved from
1886
+ `./skills` to `./format`. The elicitation names are exported by `./elicitation` only, the layout
1887
+ names (`STANDARD_LAYOUT`, `COMPONENT_KINDS`, `declaredKey`...) by `./layout` only, `MatcherValue`
1888
+ by `./hooks` only (`./mods` has `ModMatcherValue`), and `ModelCall` by `./mods` only (`./testing`
1889
+ has `RecordedModelCall`). `PreloadedSkills` is the root's session type.
1890
+ - **BREAKING** `isRecord` from `format/validate/received.ts` and the marketplace schema → `protocol/is-record.ts`. `isRecord` has one home, `protocol/is-record.ts`; `format/validate/received.ts` and the
1891
+ marketplace schema no longer export it.
1892
+ - **BREAKING** `@rsaryev/claude-plugin-kit` → `@rsaryev/llx-plugin`. The project is renamed `llx-plugin`: the package is `@rsaryev/llx-plugin` and the repository
1893
+ `github.com/rsaryev/llx-plugin`. Import from the new name; the subpaths are unchanged.
1894
+ - **BREAKING** 1609 root values → 27; every domain at its subpath. The root exports what a host loop calls (27 values, down from 1609); every domain has its whole
1895
+ surface at a subpath: `./loading`, `./format`, `./skills`, `./hooks`, `./rules`, `./settings`,
1896
+ `./marketplace`, `./agents`, `./mods`, `./cli` (docs/API.md, "Entry points").
1897
+ - **BREAKING** the four `SURFACES` → `POLICY_SURFACES`, `LAUNCH_SURFACES`, `SUBSTITUTION_SURFACES`, `UI_SURFACES`. Names that meant different things are named by meaning: `POLICY_SURFACES`, `LAUNCH_SURFACES`,
1898
+ `SUBSTITUTION_SURFACES` and `UI_SURFACES` for the four `SURFACES`; `readAgentSetting`,
1899
+ `readThemeSetting` and `readOutputStyleSetting` for the general setting readers;
1900
+ `PLUGIN_TELEMETRY_EVENTS` for the plugin telemetry names.
1901
+ - **BREAKING** a cancellable function's `signal` anywhere → `{ signal }` as its last argument. Every kit function that can be cancelled takes `{ signal }` as its last argument
1902
+ (`loadSettingsLayers(sources, { signal, scopes })`, `fetchArchive(plan, ports, { signal })` and 20 more);
1903
+ port methods keep the signal as their last parameter.
1904
+ - `SAFE_ENVIRONMENT_VARIABLES` is replaced by `src/rules/bash/safe-env.ts`
1905
+ (`isSafeAssignment`, `assignedVariable`), and `redirectFacts` and `fileTargetFacts` by
1906
+ `targetFacts(commandTargets(command), ctx, resolvedPaths)`; `Target.tee` is `Target.source`.
1907
+ - An empty `CLAUDE_CONFIG_DIR` counts as unset everywhere (`settingsLocations`, saved workflows,
1908
+ agent memory), as it already did for the plugin store and `headersHelper`.
1909
+ - `session.onBackground` listeners get a second argument, `BackgroundSource`
1910
+ `{ sessionId, handlerId, outcome, exitCode? }`, `outcome` being `completed`, `cancelled`,
1911
+ `timed-out` or `failed`.
1912
+ - `withTurn(turn)`: a `TurnOptions` field given as `undefined` is ignored, as in `HostUpdate`.
1913
+ - Two plugins given to the host under one id: the first is kept and the other is an error issue,
1914
+ `A plugin with this id was given before: this one is not loaded`.
1915
+ - The root entry exports the types its functions name (`Expansion`, `FolderScan`, `ShellPermission`,
1916
+ `HookPorts`, `SessionLimits`, `BackgroundSource` and the rest listed in docs/API.md).
1917
+ - The optional peers: `@anthropic-ai/claude-agent-sdk` and `@modelcontextprotocol/sdk` are marked
1918
+ optional (`peerDependenciesMeta`), so a host that uses neither need not install them.
1919
+
1920
+ #### cli
1921
+
1922
+ - **BREAKING** `planCli*` aliases → `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` of `./cli`. `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` and `MarketplaceUpdatePlan`
1923
+ are exported by `./cli` only; the `planCli*` aliases are gone, so import the plain names from
1924
+ `./cli`. `planMarketplaceUpdate` takes `UpdateArguments.surface: 'session'` for the
1925
+ `✔ Updated N marketplace(s)` line, and `planMarketplaceRemove` also returns `dropEnabledEntries`,
1926
+ the `enabledPlugins` entries of the removed marketplace (from `facts.enabledEntries`).
1927
+ - **BREAKING** `pluginFoldersOf` over a listing (`pluginDirFolders`, `PluginDirListing`) → over what `readPluginDirectory` read. `pluginFoldersOf(request, reading, hostVersion?)` (`./cli`) takes what `readPluginDirectory` read
1928
+ instead of a listing; `pluginDirFolders` and `PluginDirListing` are gone, so one rule decides
1929
+ whether a folder is a plugin or holds plugins.
1930
+ - `claude plugin validate` prints the `calls`, `env` and `state` lines as Claude Code 2.1.321 does:
1931
+ sorted, writes before reads, `nothing` on an unused side, `calls: nothing on $`; `derive` and
1932
+ `memberOf` count as the atoms they read (oracle 2.1.321).
1933
+ - `planInstall` (`./cli`): `InstallEffects.enable` is false for a plugin already installed and
1934
+ follows `defaultEnabled` otherwise; the success line lists the dependencies it installed
1935
+ (` (+ N dependencies: a@m, b@m)`).
1936
+
1937
+ #### repository
1938
+
1939
+ - One definition per repeated text: the three settings file paths are `SETTINGS_FILE`
1940
+ (`src/format/settings-files.ts`), read by the install scopes, the enablement notes, the settings
1941
+ file locations, the session's settings locations and the wildcard warning; the two load failures
1942
+ of a marketplace source are `SOURCE_FAILURE` (`src/format/marketplace/source-failures.ts`), read by
1943
+ the load status, the policy-list notice and the fetch plan; a marketplace value of the wrong type
1944
+ is reported by one `mismatch`. The two glob engines are named for their dialect:
1945
+ `gitignoreMatches` (path rules, skill `paths`) and `relevanceGlobMatches` (plugin relevance).
1946
+ spec/judgments.md records that the launch-only variables are dropped from every settings file.
1947
+
1948
+ ### Fixed
1949
+
1950
+ #### format
1951
+
1952
+ - MCP bundles: a bundled server's `${user_config.KEY}` is answered from that bundle's saved settings
1953
+ (`bundleSettings`), else the setting's default, in the one substitution pass, so a saved value
1954
+ holding `${HOME}` or `${user_config.other}` is never expanded again; one with neither stays as
1955
+ written with a warning, as a plugin option does. It no longer resolves against the plugin's own
1956
+ `userConfig`.
1957
+ - MCP bundles: a required bundle setting saved as empty text keeps the server from starting, the
1958
+ same rule (`missingBundleSettings`) the host's dialog uses.
1959
+ - MCP sources: a declared `./.mcp.json`, or a file listed twice, loads once.
1960
+ - `readPluginDirectory` (now at the root) classifies a folder with the one folder-of-plugins rule.
1961
+ - Reading frontmatter no longer writes YAML parser warnings to the host's process (a key that is a
1962
+ collection, as in `{ SKILL_NAME }: x`); the key is read as its text, as before.
1963
+ - An abort stops: `loadPlugin` and `validatePlugin` reject with the signal's reason and call the port no
1964
+ more once it aborts (before, a port that ignored the signal was read to the end, and one that honoured
1965
+ it was still called by the other branches); a command hook whose signal is aborted is `cancelled`
1966
+ instead of a non-blocking error, and one aborted before the start spawns nothing.
1967
+ - One containment check for every plugin path: `locate` moved to `format/locate.ts`, and the MCP
1968
+ sources (`.mcp.json`, a declared `.json` file, a bundle path) now go through it. An absolute or
1969
+ backslash `mcpServers` path, or one that is a symlink leading outside the plugin, is rejected as
1970
+ `path escapes plugin directory` instead of being read; `rootRelative` drops `.` and empty segments,
1971
+ so `.//x` is read as `x` and no port is handed an absolute path. `collectMcpServers` takes
1972
+ `platform` and `roots`, and `loadPlugin` passes them.
1973
+ - Declare the MCP SDK as a peer: the public protocol declarations reference its official types,
1974
+ so consumer projects must not depend on this checkout's development dependencies to find them.
1975
+ - A remote MCP server's `url` and `headers` read as empty the credential names Claude Code empties (61 names and 5 name families, without regard to case), not only the five the docs give as examples; `bun run oracle:remote-mcp-env` re-observes them.
1976
+ - Loading, as Claude Code 2.1.319 does (`bun run corpus:load`, whole-inventory agreement from
1977
+ 82.7% to 96%): a guard hook that cannot be read, or an unreadable inline `mcpServers` entry of
1978
+ the manifest, keeps the plugin from loading; a plugin's hooks do not load an unknown event; a
1979
+ skill folder reached twice loads once; a skill folder named by a manifest path or the plugin
1980
+ root takes its frontmatter `name`; a `SKILL.md` directly in `skills/` is no skill.
1981
+ - MCP contracts review: `claude mcp add` and `add-json` refuse a name already stored at the scope
1982
+ (`McpAddOptions.existing`, `readMcpAdd`'s third argument, `mcpAddKey`) with `MCP server <name> already
1983
+ exists in <scope> config`; the session-token-rejected state of a connector is for a `401` only, a
1984
+ `403` flags it; the shapes of a tool, a prompt and the elicitation capability are the MCP SDK's
1985
+ (`Tool`, `Prompt`, `PromptArgument`, `ClientCapabilities`, re-exported by `protocol/official.ts`) and
1986
+ `prepareMcpTool` takes an input schema of any type (`McpListedTool`); result limits read the SDK's
1987
+ content parts directly; `as` casts are gone from the add readers and the tests. The tests assert what
1988
+ their titles claim: the elicitation form validation moved out of `spec(...)`, titles that claimed
1989
+ more than they checked were trimmed, the `/cd` and `https://` echoes were removed with judgments
1990
+ recording what is the host's, and the 11,001-character error boundary is covered.
1991
+ - MCP `headersHelper` review: a project or local server with no helper in an untrusted folder no
1992
+ longer gets the `headersHelper not run` notice (an agent file's server stays unloaded);
1993
+ `CLAUDE_CODE_MCP_SERVER_URL` redacts only the removed variables the URL expanded
1994
+ (`HelperServer.expandedVariables`), so a short unrelated value such as `8` no longer corrupts it;
1995
+ `attemptWithHeadersHelper` takes the server name and reports errors.md's `Server rejected the
1996
+ Authorization header minted by the configured headersHelper (HTTP <status>)` when a connection is
1997
+ rejected after the helper supplied `Authorization`, and `produce` now gives the helper's headers
1998
+ alone (`send` merges the static ones); the origin rules carry `providesPluginRoot` instead of a
1999
+ comparison with `'plugin'`; the monitor opt-in tests moved out of `spec(...)`, the PowerShell path
2000
+ test asserts the native exported path, and the helper tests assert the per-cause messages, the
2001
+ re-plan on a re-run and that every settings scope is an origin; the `docs/API.md` snippet narrows
2002
+ its union.
2003
+ - MCP allow and deny lists review: `PolicyEnv` is exported once and replaces the three hand-declared
2004
+ environment types; `createMcpServerPolicy` documents that it reads the lists at creation and a host
2005
+ rebuilds it when settings change before a reconnect. The tests no longer claim the reconnect line, the
2006
+ managed-set requirement is proven by its own denylist and `managed-mcp.json` tests, and the judgments
2007
+ on layered `env` filling, `headersHelper`, empty `serverUrl` entries, per-source `serverName` rules and
2008
+ an empty managed allowlist under the lock now have tests.
2009
+ - MCP settings review: `managedServerEntries(layers, { desktopManaged })` reads no managed entry in the
2010
+ Claude Desktop Code tab on a third-party deployment or in Cowork sessions and warns that the key is
2011
+ not read there; the rank of a managed server is proven under "How provided servers load" with a
2012
+ negative case; the approval and rejection of parent and `--add-dir` settings, the `listed in`
2013
+ commands and the enterprise-blocked status are recorded as judgments; the tests of toggles, user
2014
+ scope and plugin or connector duplicates by command now assert what they claim.
2015
+ - MCP: `displayHeaders(server, scope)` gives the header names `claude mcp get` shows for a server
2016
+ the organization provides (managed-mcp.md, "What users can see and change"), and the tests of
2017
+ `displayReference`, the credential debug line and the endpoint key now assert what they claim.
2018
+ - Format: Claude Code's own leniency about frontmatter and hooks, found by running `claude plugin
2019
+ validate` on real plugins. A block plain YAML refuses is retried with the value of each top-level
2020
+ line quoted when it holds a character plain YAML cannot (`description: Does X: then Y`,
2021
+ `argument-hint: [a] [b]`, `tools: *`), a duplicate key loads with the later value, and plugin
2022
+ hooks drop an entry they cannot read with a warning (an error under `PreToolUse` and
2023
+ `PermissionRequest`, where a missing guard fails the file) instead of failing the whole file;
2024
+ `settings.json` hooks keep failing whole, as settings.md says.
2025
+ - The entries are read and reported beside an unsound top level; the "no description"
2026
+ and "no plugins" warnings and the entry version cross-check are made only when the schema passes
2027
+ (a reserved name does not stop the cross-check); unknown-field hints skip the keys the validator
2028
+ only lets through and never suggest a key more than half the misspelling's length away.
2029
+ - Validator wording: the messages of a reserved or non-kebab plugin name, a name Claude Desktop
2030
+ rejects, a missing required field and a version mismatch are the official CLI's, not shortened
2031
+ ones; the docs-quoted part of each is still asserted under `spec()`.
2032
+ - `listOutputStyles` marks one row current: a custom style that reuses a built-in id or an earlier
2033
+ style's id is no longer listed, matching what `resolveOutputStyle` selects.
2034
+ - LSP servers of a plugin: `readLspConfig` and `readLspServer` (the 14 fields of manifest-reference's
2035
+ `lspServers` table as a strict object; `command` without spaces unless it starts with `/`,
2036
+ `extensionToLanguage` with dot-prefixed keys, positive and zero-or-more integers; one invalid entry
2037
+ skips the whole map with `Invalid LSP server config for ".lsp.json"`), `mergeLspSources` (a later
2038
+ server replaces an earlier one), `resolveLspServer` (`command`, `args`, `env` and `workspaceFolder`
2039
+ substituted, the three path variables exported, defaults `requestTimeout` 60000, `restartOnCrash`
2040
+ and `diagnostics` true, `transport` always `stdio`), and the runtime decisions the host reads:
2041
+ `lspRestartDecision`, `languageIdFor`, `lspExtensionConflicts`, `initializeOptionsOf` and
2042
+ `didChangeConfigurationOf`.
2043
+ - Monitors of a plugin: `readMonitors` (the four fields of manifest-reference's `monitors` table as a
2044
+ strict entry; unique names; `when` read as `always` or `on-skill-invoke:<skill>`, anything else an
2045
+ error), `resolveMonitor` (path variables and `${ENV_VAR}` in `command`, `${user_config.*}` refused
2046
+ with the errors.md message, nothing exported) and `monitorsToStart`, the pure engine that says which
2047
+ monitors an event starts: `always` on session start and plugin reload, a skill monitor the first
2048
+ time its skill runs, none in non-interactive mode.
2049
+ - `loadPlugin`: a plugin folder through `PluginFiles` to a typed `Plugin`, with the optional
2050
+ manifest, every component found by the standard layout registry (`STANDARD_LAYOUT`), the
2051
+ `replace`, `add` and `merge` rule of each manifest key (`COMBINE`), the `Default <folder>/ folder
2052
+ is ignored` warning, containment and existence checks (`<component> path escapes plugin
2053
+ directory`, `<component> path not found`), `settings.json` over the manifest `settings`
2054
+ (`readPluginSettings`), the `bin/` decisions (`binPathEntries`, `pathWithPluginBins`,
2055
+ `distribution`), the `COMPONENT_READERS` seam, and `resolveProcesses` for MCP servers, language
2056
+ servers and monitors.
2057
+ - Layout discovery: a `skills` entry that is a file and an `agents` entry that is a directory are
2058
+ now errors instead of being dropped or scanned silently (manifest-reference, "Path-only fields");
2059
+ a manifest `hooks` path that names `hooks/hooks.json` no longer loads the file twice, so its hooks
2060
+ run once; the symlinked-folder, duplicate-file and path-shape decisions are recorded in
2061
+ `spec/judgments.md`. New tests cover the `bin/` decisions, the depth cap with a really looping
2062
+ folder, single-file `workflows` and `experimental.themes`, the symlink escape of default
2063
+ `monitors/monitors.json`, `settings.json` and a root `SKILL.md`, and exact issues for invalid LSP,
2064
+ monitor and settings files.
2065
+ - Skill, command and agent content: the `user_config` policy applied to a command body is now
2066
+ recorded as the kit's reading (the page words it for skill and agent content and lists commands
2067
+ only in the one table row) in `spec/judgments.md` and the `substituteContent` doc comment.
2068
+ - Monitors: the duplicate-name error and the first-wins rule, the error for any other `when` string,
2069
+ and the host-owned `description` display and `command` process behaviour are recorded in
2070
+ `spec/judgments.md` (the docs say only "Identifier unique within the plugin"); the `description`
2071
+ test no longer claims the task panel, and the option-variable test now checks the
2072
+ `CLAUDE_PLUGIN_OPTION_` prefix against a scope with configured options.
2073
+ - LSP: a refused `extensionToLanguage` now names the keys that lack a dot; `languageIdFor` and
2074
+ `lspExtensionConflicts` document a plugin-qualified key (`plugin:server`) so two plugins with the
2075
+ same server name stay apart; the integer-like-name ordering limit and the host-owned timeouts are
2076
+ recorded in `spec/judgments.md`.
2077
+ - MCP servers: an entry with `type: "streamable-http"` now reads as `http` (mcp.md, "Option 2");
2078
+ an entry with a `url` and no `type` is dropped with the message mcp.md quotes instead of an
2079
+ unrelated stdio error (and no longer reads as stdio when it also has a `command`, so a stray `url`
2080
+ can no longer reach the resolver and throw); a `type: "sdk"` entry is skipped with the quoted
2081
+ message; `isRemoteMcpServer` follows the transport and not the presence of a `url`.
2082
+ - `readFlag` no longer reads `constructor` or `__proto__` as a flag, and `readList` no longer splits
2083
+ a glob such as `src/**/*.{ts,tsx}` or a path with a space.
2084
+ - Variable substitution: a remote MCP server now reads the documented credential variables
2085
+ (`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `AWS_BEARER_TOKEN_BEDROCK`, `HTTPS_PROXY`,
2086
+ `NPM_TOKEN`) as empty in `url` and `headers`; `UserConfigValue` is derived from the SDK's
2087
+ `Settings`; `substituteDeep` returns `unknown` instead of an unchecked cast; the table "Where each
2088
+ variable resolves" is asserted row by row, and the path variables are checked against the port
2089
+ calls they make.
2090
+ - Marketplace entries and the strict-mode merge (`marketplace`): `createEntryReader` and `readEntry`
2091
+ read each `plugins[i]` of `marketplace.json` alone (`name` as an install id with the documented
2092
+ messages, `source` handed to the plugin source parser, `description`, `version`, `category`,
2093
+ `tags`, `strict`, `dependencies`, `defaultEnabled`, `displayName`, `metadata`, every other
2094
+ `plugin.json` field, unknown keys, the archive-only `headers` and `headersHelper` reports, the
2095
+ version-versus-plugin.json warning, duplicate names, the quoted `relevance`, `metadata` and
2096
+ `experimental` warnings, and the typed `relevance` model with its limits and the `signals.hosts`
2097
+ rule); `mergeEntryWithManifest` combines an entry with the plugin's `plugin.json` as the strict-mode
2098
+ table says (the entry is the manifest without one; strict appends the component fields and the
2099
+ entry's hooks replace the manifest's per event; strict false with components is the
2100
+ `has conflicting manifests` error; the entry-only fields are ignored beside a `plugin.json`;
2101
+ `defaultEnabled` and the display fields come from the entry, `version` from the manifest, the
2102
+ entry name is the install id and the manifest name the namespace; a root-source entry that lists
2103
+ skills does not scan the default `skills/`; hooks as a path or an array are reported as not yet
2104
+ supported in a marketplace entry). `EntrySlot.mode`, `ReadMode` and duplicate-name detection join
2105
+ the marketplace assembly.
2106
+
2107
+ #### settings
2108
+
2109
+ - `resolveChannel` for a channel bound to a bundled server reads that bundle's settings.
2110
+ - Security: a settings file could set `CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`,
2111
+ `CLAUDE_CODE_WARN_DISK_FREE_GIB` and `CLAUDE_CODE_WARN_MEMORY_FREE_GIB` through
2112
+ `resolveSettingsEnv`, and so through the host. The exported resolver was a second one
2113
+ (`settings/env.ts`) with its own `HOST_OWNED` list, which lacked these three of the variables
2114
+ Claude Code reads from the launch environment only; the `launch-only` list of `settings/env`
2115
+ had them. There is now one resolver and one list: every launch-only name is dropped from every
2116
+ file, managed included, as `launch-only`.
2117
+ - Managed approval and agent-key environment flags are read trimmed and in any casing
2118
+ (`isTruthyEnv` / `isFalsyEnv`), as the other on/off variables are.
2119
+ - A parent-settings key that is removed no longer leaves an empty block.
2120
+ - An `env` value that is not a string is read as the text claude sets (`{"PORT": 8080}` is `"8080"`,
2121
+ `null` is `"null"`) with a warning, instead of being dropped (oracle 2.1.321).
2122
+ - Managed MCP review: the startup exits follow the page's order (`--mcp-config` before
2123
+ `--strict-mcp-config`, a judgment when both apply); `/mcp` toggles no longer reach the servers of
2124
+ `managed-mcp.json` (the page documents them for provided servers only); an entry that fails several
2125
+ checks gets the notice of the first in the page's order; `reconcileManagedServers` and the hooks
2126
+ merge share one `canonical` helper (plain key sort, no locale); the plan-level tests now cover the
2127
+ allowlist split between file and provided servers, same-name precedence, `desktopManaged`, an empty
2128
+ map with connectors or Chrome allowed, and the connectors switch together with `allowAllClaudeAiMcps`.
2129
+ - Managed-only and fail-closed key classes (managed-settings.md, "Keys only a managed source can
2130
+ set", "Keys that fail closed", "Invalid values inside `sandbox`"). Sixteen more keys have rows
2131
+ (`allowedMcpServers`, `allowedProviders`, `availableModelsMatch`, `deniedModels`,
2132
+ `forceLoginOrgUUID`, `gatewayInternalNetworks`, `disableSideloadFlags` and the control keys among
2133
+ them); a managed-only key in a user, project, local or `--settings` file is dropped with a warning.
2134
+ In the policy tier an unreadable value reads as the table's fallback: an empty allowlist for the
2135
+ MCP, provider, model, channel, marketplace and hook lists, `exact` for `availableModelsMatch`,
2136
+ `refuse` for `crossSessionInbound`, no organization for `forceLoginOrgUUID`, `true` for a lock; a
2137
+ `sandbox` block is repaired field by field and `sandbox.credentials` entry by entry; `permissions`
2138
+ and `autoMode` withhold their grants while a deny list cannot be read (`gatewaySignInRefused`,
2139
+ `PolicyLayer.invalid`). An unrecognized `crossSessionInbound` in a user, project, local or
2140
+ `--settings` file holds inbound messages even under a source that says `accept`, with the warning
2141
+ of errors.md. New `sideloadVerdict` and `addPluginsRefusal` for `disableSideloadFlags`. A `null`
2142
+ removes a general key as it removes a policy key.
2143
+ - Managed key classes, review of the fail-closed findings. A managed `forceLoginOrgUUID` list with
2144
+ one non-text entry is unreadable whole and admits no organization. `gatewayInternalNetworks`
2145
+ refuses the ranges claude-apps-gateway.md names (loopback, link-local, CGNAT, the VPN and NAT64
2146
+ ranges, the three documentation ranges, `0.0.0.0/8`, `192.88.99.0/24`, multicast). `disableAutoMode`
2147
+ and `skipDangerousModePermissionPrompt` fail closed (`"disable"` and `false`), `forceRemoteSettingsRefresh`
2148
+ reads as `true` when unreadable, every restrictive lock of `permissions` is repaired in a managed
2149
+ source, and `worktree` and `attribution` are repaired per field. `sandbox.credentials` enforces the
2150
+ `name` rule and the per-list mask field rules, the warning of a degraded `files` entry notes the
2151
+ unenforced read block, and `sandbox.filesystem.disabled` is pinned to managed settings by a
2152
+ `deny` entry or a `sandbox.filesystem` block; `allowManagedMcpServersOnly` makes only the managed
2153
+ `allowedMcpServers` count. An empty list in a managed `sandbox` block stays. `merged()` carries the
2154
+ hold of an unrecognized `crossSessionInbound`. `sideloadRefusal` and `pluginDirsOf` delegate to
2155
+ `sideloadVerdict`, so `--agents`, `--mcp-config` and `CLAUDE_CODE_PLUGIN_DIRS` exit at startup as the
2156
+ docs say; new `midSessionMcpUpdates` for cloud sessions.
2157
+ - Managed sources, review of the composition findings. An unreadable source now carries the
2158
+ underlying error (`{ unreadable: 'denied' | 'failed', reason }`), and the exit message names the
2159
+ failed path or registry value in its `Detail:` line as errors.md shows it. An unlistable
2160
+ `managed-settings.d/` reports `Managed settings drop-in directory could not be read: <reason>`, a
2161
+ warning when the operating system denied the read and an error otherwise; a failure that exits
2162
+ outranks a denial elsewhere in the file source. The helper's `forceRemoteSettingsRefresh` is no
2163
+ longer left in the helper layer, and `PolicyHelper` and `ManagedBehavior` take their types from the
2164
+ SDK. Tests prove every cross-source key, every key of the merge table rows and the login-key gateway
2165
+ rules; the delivery and applicability stubs that echoed constants are now recorded as judgments.
2166
+ `docs/API.md` states the order in which a host wires the policy helper.
2167
+ - Settings merge core, review of the permission, effort, source and file-location findings. The
2168
+ local file's allow rules and directories wait for trust only when it is tracked in git or `.claude`
2169
+ is a symlink (`permissionRuleLists(view, trusted, local)`); a host's parent `Read(!...)` and
2170
+ `Edit(!...)` deny and ask rules are dropped with and without the lock. A managed document that does
2171
+ not parse is fatal (`loadSettingsLayers` returns `fatal` and no layer, and `SettingsSources.label`
2172
+ names the source in the message). `effortLevel` and `modelSettings` take low, medium, high and xhigh
2173
+ only (from the SDK type, no `max`); new `effectiveCap` and `capEffort` apply `maxEffortLevel` with
2174
+ its per-model entry. General keys are value-checked (a wrong type, a malformed permission rule,
2175
+ the telemetry export variables of a repository's `env`); `--permission-mode`, `--effort` for
2176
+ `modelSettings` and the `availableModels` gate on `--model` join the session overrides;
2177
+ `managedChangeAdvice` answers "A managed change hasn't reached you". New `permissionRulesOf`
2178
+ (host) parses the lists with the source of each file.
2179
+ - Permissions: the settings keys and the starting mode. `permissions`, `allowManagedPermissionRulesOnly`,
2180
+ `autoMode`, `disableAutoMode`, `skipAutoPermissionPrompt`, `skipDangerousModePermissionPrompt` and
2181
+ `useAutoModeDuringPlan` are policy keys (per-field repair, fail-closed in the policy tier, the merge and
2182
+ scope of each) behind `resolvePolicy(...).permissions`, with `startingMode` (flag, `defaultMode`, built-in
2183
+ default, the locks, the background bypass notice), `settingsLocations`, and `startPermissions`, which
2184
+ builds the `DecideContext`. `decide` gains `cannotPrompt` (a `-p` run denies what would prompt),
2185
+ `connectorToolsSetToAsk`, `preapprovedFetchDomain` and `repositoryDirectories`; `approvalMemory` tabulates
2186
+ "don't ask again".
2187
+ - `resolveSettingsEnv` and `applySettingsEnv`, the `env` block (merge per variable, trust, the
2188
+ variables project and local files cannot set, the host-owned identity variables).
2189
+ - Settings layers (`settings`): `readSettingsLayer` turns the JSON of one source (managed, parent,
2190
+ `--settings`, local, project, `--add-dir`, user) into a layer: marketplace key aliases read as
2191
+ their canonical key, a key its Scope line does not allow dropped with a warning, an unreadable
2192
+ value repaired as managed-settings.md says (empty allowlists, `true` locks, `strictPluginOnlyCustomization`
2193
+ as `true`, invalid entries stripped). `createPolicyView` answers `get`, `winner` and
2194
+ `eachFromHighest` over the ordered layers with one merge rule per key (`KEY_SPECS`), and
2195
+ `loadSettingsLayers` reads layers from a host's `SettingsSources`. `mergeHooks` combines the
2196
+ `hooks` of every file without letting a file remove a managed hook, and runs a handler defined in
2197
+ two files once. `POLICY_KEYS`, `PLUGIN_ONLY_SURFACES`, `SKILL_OVERRIDE_STATES`, `WORKFLOW_SIZES`,
2198
+ `MARKETPLACE_SOURCE_KINDS` and `MarketplaceSource` are asserted equal to the SDK's types.
2199
+ - The plugin keys of the settings (`settings/plugins`): `enabledPlugin` and `forceEnabledByManaged`
2200
+ (`enabledPlugins` precedence, managed block and hide, `defaultEnabled`, `@synced`), `pluginConfig`
2201
+ (`pluginConfigs`, user and managed only, the `@builtin` id aliases), `modOrder` (`prependPlugins`
2202
+ and `appendPlugins`, the built-in guard), `syncDecision` (`syncClaudeAiPlugins`), `trustWarning`
2203
+ (`pluginTrustMessage`) and `createPluginSettingsPolicy`.
2204
+ - Hook policy (`settings/hooks`): `createHookPolicy(view, locks, context)` answers `disableAllHooks`
2205
+ and `allowManagedHooksOnly` as `runs(origin)` for every origin of a hook (managed settings, SDK
2206
+ callbacks, user, project, local and `--settings` files, plugins and their mods, frontmatter), with
2207
+ the value left after precedence deciding the reach, force-enabled plugins matched by their full
2208
+ `plugin@marketplace` id, command-sourced plugins and built-in mods; `commandsDisabled`,
2209
+ `commandSettingsNarrowedToManaged`, `monitorsRun` and `goalCommandAvailable` give what follows the
2210
+ hooks. `httpHook(url, allowedEnvVars)` applies `allowedHttpHookUrls` (`matchUrlPattern`: `*`,
2211
+ host case and trailing dot) and `httpHookAllowedEnvVars` (the outer limit on a hook's list), both
2212
+ merged across files. The Agent SDK's `managedSettings` rules (ignored beside an administrator
2213
+ unless `parentSettingsBehavior` is `merge`; an empty allowlist ignored when the administrator ships
2214
+ hooks or enables a plugin) are applied before any decision.
2215
+ - Channel keys (`settings/channels`): `createChannelSettingsPolicy(view, context)` answers
2216
+ `channelsEnabled` as `gate()` (blocked on Team and Enterprise, and on Console with managed
2217
+ settings, until managed `true`; open on Console without managed settings and on Pro, Max and
2218
+ Ultra; `false` is unset; users cannot lift it) and `allowedChannelPlugins` as `allowlist()` and
2219
+ `allowed(entry)` (the managed list replaces the host's default and is taken whole, an
2220
+ empty list blocks every plugin, an invalid value is an empty list, the string form equals the
2221
+ object; an entry carries the flag it came from, and the development flag skips the list for its own
2222
+ entries only, a bare `server:<name>` included, never for a closed gate, and only in an interactive
2223
+ session).
2224
+ - Customization lock and the composed policy (`settings/customization`, `settings/resolve`):
2225
+ `createCustomizationPolicy(view, context)` reads `strictPluginOnlyCustomization` (`true` locks all
2226
+ four kinds, an array the kinds it names, an unreadable value `true`, an unknown name locks nothing
2227
+ and is counted) and answers `loads(surface, origin)` for skills, agents, hooks and MCP servers from
2228
+ the origins each sub-key entry lists, `skillsDirPlugins()` (stopped by a lock on any kind or the
2229
+ marketplace lists), `skillAllowedToolsPreapproved(skill)` and the documented `claude mcp add`
2230
+ refusal. `suggestionMarketplaces(view, registered)` answers `pluginSuggestionMarketplaces` (managed
2231
+ only, registered, source declared in the same managed settings, the official name alone).
2232
+ `resolvePolicy({ layers, context })` and `PolicyContext` compose every area over one view and feed
2233
+ the customization lock into the hook policy.
2234
+ - Settings, customization lock: `McpOrigin` has `localConfig` beside `userConfig`, since local-scope MCP
2235
+ servers live in `~/.claude.json`, which the `mcp` lock stops loading from (the judgment that put the
2236
+ local scope in no table was wrong); tests now build the frontmatter hooks of a skills-directory plugin,
2237
+ the `--settings` and SDK-option hooks under a hooks lock, a parent's `strictKnownMarketplaces` as a
2238
+ non-declaration of a suggestion source, and the parent-lock composition; two tests that restated the
2239
+ origin table or cited a plain-skill fallback the kit does not implement are removed or renamed, and the
2240
+ fallback is recorded as a host decision.
2241
+ - Settings, channel keys: `allowed(entry)` takes the flag each entry came from (`channels` or
2242
+ `development`), so a session with both kinds bypasses the list for the development entries only;
2243
+ a bare `server:<name>` development entry needs no plugin or marketplace; the closed gate carries
2244
+ `serverConnects: true` (the MCP server stays connected, only channel messages stop); `ChannelPluginRef`
2245
+ is the SDK's `allowedChannelPlugins` element type, declared once in `protocol/official.ts` and shared
2246
+ with the settings repair; the host's duty to refuse a channel server that negotiates protocol
2247
+ revision 2026-07-28 is recorded as a judgment; `null` and unreadable `channelsEnabled` and
2248
+ `allowedChannelPlugins` values are tested.
2249
+ - Settings, hook policy: `allowedHttpHookUrls` pattern `http://localhost:*` now also matches
2250
+ `http://localhost/x` (a wildcard port also stands for no port), as the docs example says; a
2251
+ `disableAllHooks: true` in the SDK's `managedSettings` is a lock that binds as
2252
+ `allowManagedHooksOnly: true` (an administrator's `false` no longer lifts it, plugin monitors and
2253
+ agent frontmatter follow it, command sources stay enabled), and a non-Boolean value there other than
2254
+ `false` and `"false"` binds the same way with a warning instead of being dropped; `monitorsRun`
2255
+ takes the plugin id and matches managed `enabledPlugins` on the whole `plugin@marketplace`; tests
2256
+ cover `--settings` and SDK-option hooks and `--add-dir` and synced frontmatter under the `hooks`
2257
+ lock, `disableCommandPluginSources: true` alone, and the managed origin under the HTTP allowlists.
2258
+ - Settings, plugin keys: a `--add-dir` directory now ranks below user settings and only its `true`
2259
+ `enabledPlugins` entry counts (plugins/loading.md), so it neither turns a plugin off nor overrides
2260
+ another file; the built-in guard's `pluginConfigs` options are read from managed settings only;
2261
+ `modOrder` reports the organization's mods that no list names (`unlisted`); a `pluginConfigs`
2262
+ entry that is not an object is dropped with a warning instead of shadowing a lower file; the
2263
+ option value types come from the SDK; tests no longer restate a constant or a neighbour.
2264
+ - The policy view returns each key's value through a merge strategy typed over the key,
2265
+ with no cast; the `hooks` of a user, project, local or `--settings` file drop only the entries
2266
+ that fail (a bad handler, group or event) and keep the rest, while a managed source still ignores
2267
+ the whole field; the same handler under two matchers is recorded as an open requirement of the
2268
+ hooks engine instead of being presented as proven; the unused `PolicyContext` type is removed
2269
+ until the resolvers need it; one shared `isRecord` guard.
2270
+ - ResolveEnv resolves settings environment values with scope, trust and launch-environment rules; envChange and envAfterCd model later application without unsetting removed variables. General readers cover agent view, theme, teammate mode, worktree settings, processWrapper argv parsing, command-line hook gates and plugin defaults. The host supplies the startup-safe variable classification and performs process execution.
2271
+
2272
+ #### hooks
2273
+
2274
+ - `CLAUDE_ENV_FILE`: two sessions of one host no longer share one file; each session's hooks write,
2275
+ clear and run the files of its own session id.
2276
+ - Security: a hook whose run port throws no longer drops a sibling hook's deny or block. It is read
2277
+ as a hook that could not start (`not-started`, `Hook could not run: <message>`) through the
2278
+ on-failure table, and the other hooks' decisions stand.
2279
+ - Security: the Stop block cap now holds in a session. The session built a new engine, with a fresh
2280
+ counter, for each dispatch, so a Stop hook could keep the turn going forever; the session now keeps
2281
+ one counter (and one set of `once` claims) for its whole life.
2282
+ - A `once` hook is held while a dispatch runs it, so a concurrent dispatch leaves it out, and is
2283
+ dropped only after its first successful run (a background one when its process ends).
2284
+ - Background `additionalContext` and `systemMessage` get the 10,000-character cap (spilled to
2285
+ `ScratchFiles`, else cut with a marker), and `additionalContext` the `<system-reminder>` escape.
2286
+ - `addHooks`, or a skill registering hooks, for a plugin that no longer runs or that the plugin-only
2287
+ lock silences registers nothing.
2288
+ - A winning `defer` drops every hook's `updatedInput`; prompt and agent hooks still waiting for a
2289
+ slot when the signal aborts report `cancelled`; an observer callback that throws is dropped.
2290
+ - One subprocess scrub, proven against claude 2.1.321: hooks used a second copy that read only `=1` as on
2291
+ and kept `MY_AUTH`, `FOO_KEY`, `SSH_AUTH_SOCK`, JWT values and lower-case GitHub tokens wrongly; the
2292
+ other copy removed `MONKEY`, `TOKENIZER`, `AUTHOR` by substring and kept PEM keys. Both now go through
2293
+ `scrubAction` (whole words of the name in any case, URL passwords, PEM private keys and JWTs by value,
2294
+ `YARN_REGISTRY` among the registry URLs), 72 of 72 probed variables as claude leaves them.
2295
+ `scrubHookEnvironment` and `scrubRequested` are removed: `scrubEnvironment(env)` and
2296
+ `subprocessScrubEnabled(env)` serve every kind; `ScrubOptions.version` is optional.
2297
+ - The warning for a hook type an event does not support reads `A hook of type http is not supported
2298
+ on …` (was `A http hook …`).
2299
+ - Background hook deliveries carry their command's exit code, so hosts can keep a failed `once`
2300
+ hook registered instead of consuming it as a success.
2301
+ - Command hooks and `subprocessEnvironment` for Bash set `CLAUDE_EFFORT` to the session's effort level.
2302
+ - Hooks: the per-event contracts. Every `<Event> input` section, the decision-control table, the
2303
+ response schema of prompt hooks and the context, interaction, elicitation, defer and terminal sections
2304
+ of hooks.md are proven by tests against the docs' own examples and scripts. New: `resolveWorktreePath`
2305
+ (the path of a `WorktreeCreate` hook: last non-empty line, ANSI stripped, relative resolution, `.`/`..`
2306
+ and symlink refusals), `resolveDefer`, `preToolUseHookOutcome`, `DispatchRequest.taskCompletedBy` and
2307
+ `effects.stopCondition` for `TaskCompleted`; a `terminalSequence` is dropped outside an interactive
2308
+ session and a `PermissionDenied` `retry` when the classifier produced no verdict.
2309
+ - Hooks: `CLAUDE_ENV_FILE`. The `EnvFileStore` port and `createEnvFiles` give `SessionStart` and `Setup`
2310
+ hooks the file that lasts the session and `CwdChanged` and `FileChanged` hooks the file a `CwdChanged`
2311
+ event clears, never a hook that runs PowerShell nor another event; `readPowershellVariables` reads the
2312
+ plain `export`, `declare -x` and `NAME=value` lines PowerShell commands receive (none, with the
2313
+ `Session environment is not all plain assignments` issue, when a line is another kind; on Windows
2314
+ without a value that holds `/` or `\`). A host session takes `envFiles` and `processId` and reads
2315
+ `session.hookEnvironment`.
2316
+ - Hooks: the process environment. `CLAUDE_CODE_SESSION_ID` (the input's `session_id`), `CLAUDECODE`,
2317
+ `CLAUDE_CODE_CHILD_SESSION` and `CLAUDE_PID` are set; the settings files' `env` is written over the
2318
+ inherited environment; `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1` removes credentials by the docs' table
2319
+ (`scrubEnvironment`) before the `OTEL_*` removal.
2320
+ - Hooks: a shell-form hook that PowerShell runs by default whose command is only quoted strings fails with
2321
+ `PowerShell started no program` and the fixes instead of printing it.
2322
+ - Hooks: runtime outcomes of a run. `UserPromptSubmit` block messages end with `Original prompt:` unless
2323
+ `suppressOriginalPrompt`; `DispatchRequest.interrupt` (`esc`, `enter`, `ctrl-enter` on `PostToolUse`)
2324
+ and `HookOutcome.interrupted` (an interrupted prompt check); the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`
2325
+ cap on consecutive `Stop` and `SubagentStop` holds (`createStopBlockCap`); `refusing to honor the
2326
+ suspect capture` for a runner that reports `outputHeldOpen`; `This hook comes from the <plugin>
2327
+ plugin.` on a plugin's exit-2 block; `checkPluginDirectories`; `BackgroundDelivery.outcome`.
2328
+ - Hooks (review of the per-event contracts): `effects.deferCondition` is removed, `resolveDefer` is the
2329
+ one way to know whether a `defer` applies; `effects.stopCondition` of a `TaskCompleted` now comes from
2330
+ its own merger and the teammate-stop rule of an `ok: false` hook from `EXIT2_RULES`, not from an event
2331
+ name; the tests no longer assert echoes of their own input, claims the host owns (`hook_response`,
2332
+ the debug log, the pasted-text expansion) or titles that overstate what they check; added tests for
2333
+ `ElicitationResult` `mode` and `elicitation_id`, the value sets of `PreModelSwitch` and
2334
+ `PostModelSwitch`, `UserPromptExpansion.command_source`, the `PreToolUse` exit-2 path through
2335
+ `decide`, and the `WorktreeCreate` path reading; the judgments for these are in `spec/judgments.md`.
2336
+ - Hooks (review of the runtime outcomes): the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` count resets when
2337
+ Claude calls a tool (`PreToolUse`, `PostToolUse`, `PostToolUseFailure`, with or without a hook) and
2338
+ when a Stop holds nothing, no longer on `stop_hook_active`; `StopBlockCap.reset` and
2339
+ `HookEngineOptions.stopCap` let a host that rebuilds its engine keep the counter; `Ctrl+Enter`'s
2340
+ 10-second cap kills command hooks only; `HookObserver.finished` carries `exitCode`; `HeldOpenResult`
2341
+ types a runner's `outputHeldOpen`; `checkPluginDirectories` is on by default; the plugin sentence is
2342
+ left off a block whose stderr is not the message, and a plugin is named by its manifest name, else
2343
+ its id, everywhere.
2344
+ - Hooks: `onFailure: "block"` blocked on a failure of a hook with only `asyncRewake` set, which is a
2345
+ background hook like one with `async`.
2346
+ - Hooks and settings (review of the exec stream): the scrub keeps `http_proxy` and `https_proxy` in lower
2347
+ case as it keeps `HTTP_PROXY` and `HTTPS_PROXY`; `subprocessEnvironment` and
2348
+ `session.subprocessEnvironment(kind)` build the environment of a hook, Bash, PowerShell, stdio MCP or
2349
+ Monitor process, and `scrubEnvironment` and `scrubRequested` are exported as `docs/API.md` says; on a
2350
+ Windows host the settings `env` reads off values and the launch environment without regard to case;
2351
+ the judgments of the scrub, the managed layer order, the `CLAUDE_ENV_FILE` of exec-form hooks and the
2352
+ PowerShell reader are recorded and tested outside `spec(...)`.
2353
+ - Hook output tests (`SubagentStart.additionalContext`): the title no longer claims `continue` is
2354
+ dropped (it is carried); the matcher, the `<system-reminder>` escape, the cap boundary, the
2355
+ 2,000-character preview, the independence of hooks under the cap and the `hookEventName` failure
2356
+ are now asserted.
2357
+ - Hook verdict and engine: a block now says who is shown its text (`BlockInfo.to`: `claude`, `user`,
2358
+ `user-and-claude` or `none`), and on the events whose docs show it to no one (`ConfigChange`,
2359
+ `Elicitation`, `ElicitationResult`, `WorktreeCreate`, `WorktreeRemove`) `reason` and `message` are
2360
+ empty, the debug-log events keeping the hook's line in `debug`; a `PostToolBatch` stop leaves a
2361
+ notice for the transcript and feedback for Claude; on `Elicitation` and `ElicitationResult` only
2362
+ `hookSpecificOutput` is dropped from a run that did not exit 0 (`systemMessage` and `continue`
2363
+ still count); a `UserPromptSubmit` command, HTTP or MCP tool hook that times out leaves a notice
2364
+ with the timeout and the discarded output; a `continue: false` block no longer replaces an exit-2
2365
+ reason; tests assert the route per event against the docs, the `<Event> hook error` notice of
2366
+ `SessionStart`, `SubagentStart` and `PostModelSwitch`, and the judgments of assembling blocks.
2367
+ - Hook output: a `Stop` or `SubagentStop` hook that returns `continue: false` with
2368
+ `additionalContext` stops instead of keeping the turn going; `decision` is `block` on every event,
2369
+ and the deprecated `approve` is valid on `PreToolUse` only (any other value fails validation); a
2370
+ `PreToolUse` `deny` from one hook drops another hook's `updatedInput`, as an exit-2 deny does; the
2371
+ 10,000-character cap no longer spills a `systemMessage` or specific field the event discards; the
2372
+ merge and the cap use the checked output instead of parsing it again; the tool output mirrors and
2373
+ `GateEffects` are bound to more of the official types; tests assert where a block's text goes
2374
+ (`block.to`) per event, the `WorktreeCreate` path, the `PreCompact`, `TaskCreated` and
2375
+ `PostToolUseFailure` blocks, the `TeammateIdle`, `TaskCompleted` and `SubagentStart` rows, and the
2376
+ control characters in an OSC body; the judgments behind those rules are recorded.
2377
+ - Remote hook handlers: an `http` hook now honours the two settings allowlists through
2378
+ `RunContext.httpPolicy` (`allowedHttpHookUrls` skips a hook whose URL matches no `*` pattern, with a
2379
+ warning at `hooks.<Event>.url`; `httpHookAllowedEnvVars` narrows `allowedEnvVars` to the names on
2380
+ both lists); an `mcp_tool` hook returns `cancelled` when the session aborts while it waits for the
2381
+ server, instead of a "not connected" error, and with the optional `ports.clock` the wait and the
2382
+ call share one hook `timeout` (`timed-out` when the wait used it up); tests assert all 33 values
2383
+ of `WAITS_FOR_SERVER`, the exact appended prompt, malformed and reason-less replies for agent hooks
2384
+ too, and keep judgment tests out of the `spec(...)` blocks of other ids.
2385
+ - Agent hooks: a Monitor command (matcher input `Monitor`) is also matched as `Bash` on
2386
+ `PreToolUse` and `PermissionRequest`, never on `PostToolUse` (hooks.md, "Match Monitor
2387
+ commands"); the `--agents` (flag) trust exemption, the `FileChanged` and `StopFailure` narrow
2388
+ grammar and the ignored matcher of events without matcher support are now proven under their
2389
+ `hooks.matcher.*` ids, and `spec/judgments.md` keeps only the managed-agent exemption there.
2390
+ - `readHooksFile` accepts a mod-only file (`modules` with no `hooks`), `readHooksSettings` keeps a
2391
+ JSON-parsed `__proto__` event as an own key, a matcher that does not compile is no longer
2392
+ warned about on an event without matcher support, and a non-finite `timeout` reports "expected a
2393
+ positive, finite number of seconds".
2394
+ - Hook selection (`hooks/select`): `createHookRegistry` and `selectHandlers` pick the handlers an
2395
+ event runs: the event catalog (cadence, supported handler types per event, `EndConversation`
2396
+ skipping both tool events), the field each event's matcher filters on (`MATCHER_TARGETS`, with
2397
+ the narrow grammar of `FileChanged` and `StopFailure`, the canonical model of a model switch, and
2398
+ the events that ignore a matcher), the documented matcher values tied to the SDK unions, `if`
2399
+ evaluated on tool events only, Monitor commands matched by a `Bash` matcher, settings-handler
2400
+ dedupe, `disableAllHooks` with managed precedence, workspace and folder trust, plugin enablement,
2401
+ `once` for skill frontmatter, and the `FileChanged` watch list.
2402
+ - Hook selection (`hooks/select`): an `mcp_tool` hook on `Setup`, and on `SessionStart` at launch
2403
+ (startup, resume, fork), is skipped and reported as a warning, because the MCP servers are not
2404
+ available yet, and it runs after `/clear` or a compaction; an `if` of `Edit(src/**)` matches only
2405
+ the `src` directory in the working directory (`Edit(**/src/**)` for any depth) instead of any
2406
+ depth, and two rules joined with `&&` or `||` are reported as one rule that cannot match;
2407
+ `allowManagedHooksOnly` and the `strictPluginOnlyCustomization` hooks lock gate handlers by
2408
+ source (`allowManagedHooksOnly`, `forceEnabledPlugins` and `pluginOnlyHooks` on the session); the
2409
+ `FileChanged` watch list (`fileChangedWatchList(entries, session)`) skips handlers that cannot
2410
+ run; the session's `effort` takes the SDK type.
2411
+ - Hook input (`hooks/input`): `HookSession.permissionMode` takes the host's own text, so the
2412
+ Manual label (sent as `"default"`) and a text that names no mode (warned, not sent) are reachable
2413
+ through the typed API; `duration_ms`, `seconds_since_last_response` and
2414
+ `estimated_cache_write_usd` accept any number, as the docs type them, while `context_tokens` and
2415
+ `index` stay whole numbers (a judgment); issue paths write an array index as `[n]`
2416
+ (`hooks.Stop.input.background_tasks[0].id`), as the warnings and the select stage do; the input
2417
+ build no longer relies on casts beyond one commented join, and tests now cover `mcp_server`,
2418
+ `permission_suggestions`, `tool_calls`, the optional titles and the Elicitation and ConfigChange
2419
+ enums.
2420
+ - Command handler: an `asyncRewake` hook that exits with code 2 and writes only blank output no
2421
+ longer wakes Claude with an empty reminder; the `OTEL_` exporter variables are removed in any
2422
+ case on a Windows host; the handler registry dispatches without a type assertion; the PowerShell
2423
+ rewrite of a settings hook's plugin placeholders, the override of inherited variables, and the
2424
+ host-chosen default shell are recorded as judgments. Tests: judgments moved out of `spec(...)`,
2425
+ and added for `${user_config.*}` in `command`, Git Bash path normalization and Windows exported
2426
+ paths.
2427
+ - Command hooks and Markdown content of a plugin: `resolveHookCommand` (exec form substitutes
2428
+ `command` and each `args` element including `${user_config.*}`; shell form through bash or
2429
+ PowerShell refuses `${user_config.*}` with the documented error, `${env:NAME}` placeholders for
2430
+ PowerShell, the path and option variables the process receives) and `substituteContent` (path
2431
+ variables and non-sensitive options in a skill, command or agent body, a placeholder for a
2432
+ sensitive one), with the `HOOK_GUARD` message.
2433
+ - Hook output exposes classifierContext with its shared 2,000-character cap and classifierTrust; notes for unrecorded read-only lookups are discarded. reviewHookRewrite decides whether a changed call applies, is denied, or drops a further rewrite on a repeat. afterHandbackDenial counts the three retry notices; the host delivers them.
2434
+
2435
+ #### skills
2436
+
2437
+ - A skill's or command's `!` command pasted `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PLUGIN_ROOT}`,
2438
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` into the text the shell runs, so a plugin or
2439
+ project folder named `x$(touch PWNED)` ran `touch` once the command was allowed (Claude Code 2.1.322
2440
+ does the same). Under the default `shellPaths` the shell now gets the braced references
2441
+ (PowerShell `${env:NAME}`) and the process environment the paths the command names; `'pasted'`
2442
+ keeps the old text. The refusal check, the permission check, the `allowed-tools` grants and auto
2443
+ mode's instruction still read the command with the paths written in, so permission decisions do
2444
+ not change. `$ARGUMENTS` is still pasted. Proven through the public session in
2445
+ tests/host/skill-shell-paths.test.ts. API changes: `PlannedCommand` gains `shellCommand` and
2446
+ `environment` (what `CommandRunner` gets), and `PlannedCommand.command` and `ShellCall.command` are
2447
+ the text that is checked; `SkillSession.shellPaths`, and `ExpandSession` takes `shellPaths`;
2448
+ `SubstitutionScope.extraPaths`, the names in `extra` that are paths; the substitution surfaces
2449
+ `skill-bash` and `skill-powershell`; `shellExports(referenced, scope, ask)` reads `extra` and
2450
+ `extraPaths` of `scope` too, and is exported from `loading/resolve` with `surfacePolicy`;
2451
+ `renderPluginVariable` takes any variable name.
2452
+ - `Expansion.references`: the files a local skill's or command's expanded text names with `@`,
2453
+ which Claude Code attaches (skills.md, "How Claude Code handles the body of a synced skill"). The
2454
+ kit reported none, so a host attached nothing; a synced skill's stay literal outside an isolated
2455
+ session. `expandMessage` reads a workflow's name as no skill, as `skillCatalog` lists it, and
2456
+ `skills()` no longer lists a row whose command reaches another row.
2457
+ - A skill's `!` command gets `CLAUDE_EFFORT`, and skill expansion and the workflow switch use the
2458
+ turn's `hookPorts` instead of the session's.
2459
+ - A `commands` path naming `./skills/` loads each skill folder once.
2460
+ - A folder with a `SKILL.md` inside a `commands` folder is a skill named by its folder, not a
2461
+ `folder:SKILL` command, and it is listed ahead of `skills/` (Claude Code 2.1.319).
2462
+ - A skill named by its own frontmatter (a root `SKILL.md`, a listed skill folder) drops the plugin's
2463
+ own prefix and turns every character outside `[A-Za-z0-9_-]` into `-`, as Claude Code does.
2464
+ - A skill with neither `description` nor `when_to_use` is not listed to the model; it stays a `/`
2465
+ command and the Skill tool still runs it.
2466
+ - The model's skill listing joins `description` and `when_to_use` with ` - `, as Claude Code does.
2467
+ - The kit sorts every folder listing itself (`format/listing.ts`, by code unit): a port whose `list`
2468
+ is unsorted or locale-sorted no longer changes the order of skills, commands and agents, which
2469
+ duplicate wins, or which skills keep their description in the listing budget. `PluginFiles.list`
2470
+ may return entries in any order.
2471
+ - An expanded skill's text opens with `Base directory for this skill: <folder>`, and a sensitive option in skill or command content reads `[sensitive option '<key>' not available in skill content]` whether or not it is saved, as Claude Code sends the model (`bun run oracle:model-content`).
2472
+ - Of a file or skill folder and a link to it, the entry itself stays whatever their name order (a
2473
+ skill folder no longer keeps folder order); of links only, the first in folder order.
2474
+ - A symlinked folder inside `commands/` or `agents/` is no longer entered, as in Claude Code
2475
+ 2.1.322; a skills scan still follows a linked skill folder, with the containment check.
2476
+ - Session registration, as Claude Code 2.1.319 does (`bun run oracle:runtime`): a plugin skill a scan
2477
+ finds is named after its folder, not its frontmatter `name`; two agents with one `name` register
2478
+ once; a skill and a command with one name are one menu entry, the command; a plugin whose manifest
2479
+ sets `defaultEnabled: false` is off until `enabledPlugins` turns it on.
2480
+ - Skills review: a `Skill(name)` allow or ask rule matches the invoked name and the skill's own name (a
2481
+ deny rule still sees every name); the file an injected command's oversized output is saved to is cut at
2482
+ 64 MiB, between two UTF-8 characters, and the note says so; judgments record the host mapping of Claude's
2483
+ `args`, the SDK command lists, and how `&` and entities in a description are handled.
2484
+ - Commands: review fixes. The judgments the kit makes about commands (blank entry fields, a source
2485
+ that is never read, `${CLAUDE_PLUGIN_ROOT}` in an entry's `allowedTools`, `name` and `paths`
2486
+ dropped silently, trimming, only a `.md` extension stripped from a file name, no extension rule
2487
+ for a `source`) are recorded in spec/judgments.md and tested outside `spec()`, so they no longer
2488
+ count toward the compatibility percentage; the "exactly one of `source` or `content`" message is
2489
+ shared between the manifest schema and `readCommandEntry`.
2490
+ - Review fixes for invocation, listing and execution. A skill named after plain text now
2491
+ permits the model's run of a `disable-model-invocation` skill (`permittedByMention`);
2492
+ `readSkillMentions` stacks up to six skills at the start of a message with the shared trailing
2493
+ arguments (`stacked`, the host's `stackable` stop rule, `interactive: false` for `-p`); the
2494
+ listing budget falls back to 8,000 characters instead of no limit, and a path-scoped skill is
2495
+ listed by name until its paths activate it; `paths` brace expansion shares the documented budget of
2496
+ 1,000 patterns and 4 MiB (a pattern over it is used unexpanded) and an uncompilable pattern matches
2497
+ nothing instead of throwing; `TurnSession.supportedEfforts` clamps the effort to the highest
2498
+ supported level at or below; a scheduled fire and a preload get their own refusal text.
2499
+ - A refused name or folder is reported once by field (`folder name has ...`, not `folder
2500
+ folder name has ...`); outside a plugin a name or folder `anthropic-skills` or
2501
+ `anthropic-skills:<name>`, and a user or project folder `synced` (any case), refuse the skill.
2502
+ - `substituteArguments` no longer expands a `$` inside a declared argument name a second
2503
+ time (`$a$b $b` with `a$b` and `b` declared gave `xy y`, now `x y`). `substituteAllowedTools`
2504
+ substitutes the Bash rules of `allowed-tools` (the docs' "same variable in both places"), where
2505
+ `substituteVariables` was only documented to; the judgments record the escaped-placeholder
2506
+ append, three backslashes, `$ARGUMENTS[x]` and `${user_config.*}` in typed arguments.
2507
+ - Review fixes for `expandSkill`. A skill that declares hooks under the hooks lock keeps
2508
+ its `allowed-tools` pre-approval when it runs through `context: fork`; the plugin sources the
2509
+ managed settings treat like folders are modelled (`ExpandSession.pluginSource`:
2510
+ `skills-directory` loses hooks under the lock and its grant under `allowManagedPermissionRulesOnly`,
2511
+ `inline-managed-session` loses its grant); an injected command's timeout is
2512
+ `BASH_DEFAULT_TIMEOUT_MS` (default 2 minutes) and the timeout message names it; the permission
2513
+ check receives the same CRLF-normalised command the shell runs. The judgments record who owns
2514
+ `EndConversation` in `disallowed`, output past the inline ceiling, and the bundled and managed
2515
+ skills `disableSkillShellExecution` leaves alone.
2516
+ - Skill keys (`settings/skills`): `createSkillSettingsPolicy(view, context)` answers
2517
+ `skillOverrides` as `visibility(name, subject)` (the four states over what Claude sees, the `/`
2518
+ menu and the Remote Control and SDK command lists, the `skillOverrides` error for an `off` skill,
2519
+ plugin skills untouched, bundled-skill alias entries from managed settings and `--settings` files
2520
+ that can only restrict further), `disableBundledSkills` with `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS`
2521
+ (neither undoes the other), `disableSkillShellExecution` as a per-origin verdict with the
2522
+ `[shell command execution disabled by policy]` replacement (a managed `true` is never overridden),
2523
+ and `syncClaudeAiSkills` as the same decision `syncClaudeAiPlugins` gives.
2524
+ - An unquoted `argument-hint: [topic: foo | bar]` is written back as that text instead of
2525
+ being dropped; the unknown-event warning of a skill's `hooks` no longer repeats the `hooks.`
2526
+ prefix; the shell list is checked against the host's `ShellKind`; the judgments cover an
2527
+ unbalanced list delimiter, an unknown hook event kept with a warning, the comma split of
2528
+ `arguments` and the skill folder of a Windows path.
2529
+ - Memory index: `truncateMemoryIndex` strips a block-level HTML comment only when it opens a line
2530
+ and ends on the line of its own first `-->`, and not inside fenced code, so text between two
2531
+ comments is no longer dropped and `truncated` stays honest; the `skills` tests prove `Skill` in
2532
+ `tools` is no preload, and the comma-separated `skills` string is a recorded judgment.
2533
+ - Settings, skills: the `disableBundledSkills` decision now says built-in commands and `/doctor` stay
2534
+ typable (`builtInCommandsTypable`); tests cover a `--settings` own-name entry that does not beat an
2535
+ alias, the same alias set in managed and `--settings` files, a parent `true` against a lower
2536
+ `false`, and a parent `false` under a managed `true`; the repair of an unknown `skillOverrides`
2537
+ state is recorded in `spec/judgments.md`, and the non-Boolean managed
2538
+ `disableSkillShellExecution` test sits with the judgments.
2539
+
2540
+ #### agents
2541
+
2542
+ - A saved workflow, agent or command file the host refuses to read is skipped with a warning
2543
+ instead of rejecting the whole scan.
2544
+ - A plugin's workflows are `/<plugin>:<meta.name>` rows of `session.skills().menu` and of the model
2545
+ listing, ahead of the skills, unless workflows are off; `session.skills().workflows` names them
2546
+ for the host to run, and `PluginHostOptions.workflows` gives the plan and organization switch.
2547
+ - A link inside a plugin to another agent, command or skill folder of the same plugin registers it once, as Claude Code does (runtime fixture `symlinked-duplicates`).
2548
+ - Sub-agent catalog review: a `Task(...)` deny rule works as an alias of `Agent(...)`; `readFlagAgents`
2549
+ reports the schema problems of every definition before the `-` names and cuts more than 20 lines to
2550
+ `…and N more`; `resolveSubagentModel` takes `builtin: { name, connection }` and runs Explore on the `opus`
2551
+ alias for a Fable main model over a subscription, Console or LLM gateway; `AgentOverrides` let a host pass
2552
+ its deny rules, `--agents` value and `interactive` per call to `agentCatalog` and `reloadAgents`, and
2553
+ `session.selectAgent` picks the session agent; the judgments file keeps all its earlier rows again.
2554
+ - Workflows and themes (review findings): `stallWindowMs` takes the host's risen default as `defaultMs`, which
2555
+ loses to `stallMs` and to `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS`; a lexical problem in the body of a script
2556
+ (an unterminated string, template or comment) no longer discards a valid `meta`, and a rewrite of such a
2557
+ script works; a rewrite adds a field with the line ending of a CRLF block; `rewriteWorkflowMeta` lives in
2558
+ `workflow-meta-rewrite` and `MetaPatch.phases` takes object entries; `WorkflowMeta` gains `phaseEntries`
2559
+ and `whenToUse`; `Theme.extraOverrides` keeps the tokens the reference omits, so a copy of a plugin theme or
2560
+ a rewrite loses none; `PluginTheme.qualifiedName` is gone (a theme has no `<plugin>:` name);
2561
+ `planReplay`/`replayAgent` compare an options fingerprint too (`AgentCall`, `options-differ`); a
2562
+ schema that contradicts itself (`checkAgentSchema`) and the validation attempts (`afterInvalidOutput`,
2563
+ `structuredOutputAttempts`); `themeColorToHex`; the order of two same-named workflows in one folder no
2564
+ longer depends on the host locale; the literal reader returns a result instead of throwing;
2565
+ `relaunchAfter` replaces the constant `continuesOnItsOwn`, and `startsNewAgents` is gone from the usage-limit
2566
+ decision. Tests assert behaviour instead of reading constants back; the unrecorded judgments have rows.
2567
+ - Agents: one subagent tool resolution. `resolveCatalogSubagentTools` is gone; `resolveSubagentTools`
2568
+ keeps what it did that the other did not (`ExitWorktree` withheld from a subagent in its own working
2569
+ directory, the `Glob` and `Grep` a `tools` list names without `Bash`), and the `tools.tool.*` tests
2570
+ that proved the tools table through it now run on `resolveSubagentTools`.
2571
+ - Workflow keys (`settings/workflows`): `createWorkflowSettingsPolicy(view, context)` answers
2572
+ `disableWorkflows` and `enableWorkflows` as `enablement()` (off by `disableWorkflows` in any file,
2573
+ `CLAUDE_CODE_DISABLE_WORKFLOWS=1` or the organization's toggle, none undone by `enableWorkflows:
2574
+ true`; on by default except on Pro; what goes with workflows; the `/config` row),
2575
+ `workflowKeywordTriggerEnabled` as `keyword(prompt)` (the `ultracode` keyword triggers only in a
2576
+ prompt a person typed, never for `-p`, a scheduled task, an unstamped SDK prompt or a relayed
2577
+ event) and `workflowSizeGuideline` as `size()` (agent count advice, precedence over the `/config`
2578
+ choice, the `Large workflow` threshold).
2579
+ - Settings, workflow keys: the decision no longer carries `inProgressRunsContinue`, a constant that
2580
+ described no run state (the duty to let a run finish is recorded as a host duty); the size
2581
+ decision returns `largeWorkflowThreshold` and the new `largeWorkflowTokens` (1.5 million) as
2582
+ `undefined` while the host says `ultracode` is on, as the docs say the `Large workflow` warning
2583
+ does not show then; tests table every prompt surface and every non-human SDK origin with its
2584
+ expected verdict and reason, and show that `workflowKeywordTriggerEnabled: false` leaves
2585
+ `/effort ultracode` and the workflow surfaces as they are.
2586
+ - Agent launch: `worktreeDisposition` takes `{ isolation, hasChanges }` and returns `none` for an
2587
+ agent without `isolation: worktree`; `ClaudeMdScopes` gains `nested` (a subdirectory's CLAUDE.md
2588
+ and path-scoped rules still load with `omitClaudeMd`); the model, effort, background and
2589
+ auto-compact tests now prove what the docs say (resolved model per value, documented-only
2590
+ cases), the judgments sit in their own blocks, and `spec/judgments.md` records the
2591
+ `CLAUDE_CODE_EFFORT_LEVEL=auto` effect on subagents, the host-side `k`/`M` suffixes of
2592
+ `CLAUDE_CODE_AUTO_COMPACT_WINDOW`, the `agent.spawn` model and the Explore and Plan subagents.
2593
+ - `resolveSubagentTools`: a `tools` list naming `SubagentHandback` is no longer refused when the
2594
+ host grants it (`handback`), in the foreground or the background; `SubagentRun.teammate` keeps
2595
+ the task and cron tools in a background run; `AgentToolFields` derives from the SDK's
2596
+ `AgentDefinition`; the tests state their expected lists, cover `Task` and `Agent(type)` in
2597
+ `disallowedTools`, and the Glob/Grep grant is recorded as the host's.
2598
+ - Agent fields: a quoted fraction such as `autoCompactWindow: "200000.5"` is dropped with
2599
+ `invalid autoCompactWindow` instead of truncating to 200000; `background` and `omitClaudeMd`
2600
+ accept a YAML boolean or the text `true` or `false` only (not `yes`, `on`, `1`); an empty
2601
+ inline `mcpServers` definition (`- {}`) is dropped; a plugin agent now has a test for each of
2602
+ `tools`, `disallowedTools`, `skills` and `memory`; the judgments say why plugin-ignored fields
2603
+ are not "unrecognized".
2604
+ - Agent files: a project, user or managed file with a name that breaks a rule now has each rule's
2605
+ own wording tested; a plugin agent in a file named `.md` is named `.md`, not an empty string; a
2606
+ `--add-dir` directory reads as `project`, and `flag` is no source of a file read (`readAgent`).
2607
+ - Split subagent context by responsibility: persistent memory, preloaded skills and scoped MCP servers; add folder trust diagnostics and model allowlist substitution. The host still owns provider resolution, connections and prompt assembly.
2608
+
2609
+ #### marketplace
2610
+
2611
+ - Security: `isBlockedHost` refuses the whole 0.0.0.0/8 block (it refused only `0.0.0.0`) and
2612
+ ignores any number of trailing dots on a host (it ignored one), so `0.1.2.3` and `localhost..`
2613
+ are blocked like `0.0.0.0` and `localhost`.
2614
+ - Security: `unsafeEntryIssue` (and so `fetchArchive`) finds a link of an archive by its name
2615
+ without regard to letter case, Unicode normalization or trailing dots and spaces, and refuses a
2616
+ link that shares such a name with another entry. On a file system that folds names (APFS, NTFS)
2617
+ a zip with a link `A` and an entry `a/B` was accepted and then written through the link, outside
2618
+ the plugin directory. A host that unzips still checks the real path of the folder it writes
2619
+ into (docs/SECURITY.md, "Risks the host owns").
2620
+ - `fetchArchive` finds the plugin root of a zip macOS Finder made: the `__MACOSX` folder beside the
2621
+ one wrapping directory is not counted, so the root is that directory (it was refused with "no
2622
+ plugin root").
2623
+ - Security: an npm plugin source can no longer smuggle another source through its version. The
2624
+ version appended to `package` and the `version` field must be a semver version, a range or a
2625
+ URL-safe dist-tag; a git address, folder, `file:` path, alias or tarball there is refused with its
2626
+ reason, and the package name must follow npm's naming rule.
2627
+ - Security: an `archive` source can no longer escape the plugin directory through a chain of
2628
+ symbolic links. A link target is resolved through the archive's other link entries (at most 40
2629
+ hops; a loop or an absolute target is refused), and an entry written through a link entry is
2630
+ refused (`The archive entry "<path>" is written through the symbolic link "<link>"`).
2631
+ - `MARKETPLACE_SOURCE_KINDS` has one definition (`format/marketplace` re-exports the settings list).
2632
+ - Node.js package dependencies (review fixes): a lockfile download link that does not use `https`
2633
+ (`ftp:`, another scheme, none) is refused, not only `http`; a `bun.lock` id with a link is a
2634
+ tarball dependency and so no registry package; a registry package that is not pinned to an exact
2635
+ version in the lockfile gets no install (`unpinned-dependency`); the install-folder guard compares
2636
+ Windows paths and ignores case; a `package.json` that is not a JSON object is its own reason
2637
+ (`package-json-unreadable`). A skip is now a union over its reason with typed fields instead of a
2638
+ `detail` list, `skipReasonText` gives its clause, `LOCKFILE_NAMES` and `UNSUPPORTED_LOCKFILES` are
2639
+ exported, and `stage.moveBack.replaceExisting` says an existing `node_modules` is replaced. Tests
2640
+ assert the documented link-mode and npm-source sentences, every reason's whole clause, and the
2641
+ plan-level cases for workspace, linked and git dependencies.
2642
+ - Install and cache lifecycle (review fixes): an install of a source kind the kit cannot fetch is
2643
+ refused with `This plugin uses a source type your Claude Code version does not support...`; a
2644
+ link-mode install without the printed directory or its entries, or with an entry name that is
2645
+ empty, `.`, `..` or holds a `/`, plans nothing, and a plan reports `copy` and `mustStayAt`; a
2646
+ version that cannot name a folder no longer refuses a plugin loaded in place; two spellings of one
2647
+ project folder on Windows are one install (`planInstallFinish` takes `platform`); `dirsToOrphan`
2648
+ and `orphanSweep` take the store layout and skip folders outside the cache, and `selectUninstall`
2649
+ (now taking `plugin` and `layout`) returns the `orphaned` folders and the not-installed issue and
2650
+ removes nothing at project or local scope without a folder; `planTreeCopy` skips a link that
2651
+ closes a cycle (`copying`), and its too-large message names the limit given; the loader's
2652
+ `locate` now decides every declared path through `escapedPathIssue` (moved to `format/path-escape`;
2653
+ a backslash on macOS and Linux, a drive path, and links between plugins of one marketplace;
2654
+ `loadPlugin` and `discoverComponents` take `platform` and `roots`); `lfsPointerIssues` warns for
2655
+ each pointer file of a cloned plugin and CRLF pointers are read; `StagedDirectory.commit` takes
2656
+ a `StagedCommit` with the `TreePlan`; the host surfaces gained the desktop app and VS Code, what
2657
+ `/plugin` opens, the scope choices, when an install applies and the official marketplace at the
2658
+ first interactive start (`planPluginCommand`, `planPluginApply`, `scopeChoices`,
2659
+ `marketplacesAddedAtStart`; `INSTALL_HOSTS` is no longer public).
2660
+ - Plugin versions (review fixes): a stated or computed version that is not one folder name (`../x`,
2661
+ `a/b`) no longer reaches the cache path (`isVersionSegment`; it is skipped for the next source of a
2662
+ version, else `unknown`); a `git-subdir` input always carries its `subdir`; `inGitMarketplace` is
2663
+ now `inGitRepository` (the plugin directory or its marketplace); `unknownVersionSteps` takes
2664
+ `{ name, marketplace }` and reruns each scope once; the SP2 gate reads ids that hold quotes, so the
2665
+ folder-collision section is proven; links, empty directories, `strict` and same-event hook
2666
+ replacement gained tests.
2667
+ - Install records and plans (review fixes): a `__proto__` key in `installed_plugins.json` or
2668
+ `known_marketplaces.json` is kept like any other (it was dropped); the default plugins root honours
2669
+ `CLAUDE_CONFIG_DIR`; a session prints `✔ Updated N marketplaces` where a shell prints `Successfully
2670
+ updated ...`, and a shell `marketplace remove` needs its name; dependency plans work per scope (a
2671
+ dependency installed only at another scope is installed at the target scope, a plugin already
2672
+ installed there says `is already installed (scope: ...)`, `defaultEnabled: false` stays off) and
2673
+ `planEnable` fails for a dependency the organization's policy blocks or that is `false` above the
2674
+ target scope; an install decides `Plugin is now active.` or `Run /reload-plugins to apply.` from
2675
+ the prompt-cache and activation facts, and closing the panel queues the reload while a response
2676
+ streams; the untrusted-source and refused-name cases of an ignored marketplace come from
2677
+ `loadNameIssues` with the entry's source; an empty `known_marketplaces.json` reports the documented
2678
+ `JSON Parse error: Unexpected EOF`; the dated copies age out on `cleanupPeriodDays` (`PluginStateStore`
2679
+ gains `modifiedAt` and `remove`; the host serialises rewrites of the records); the tests that echoed
2680
+ constants now assert the documented decisions (a real SHA-256, failing writes, the `--json` line).
2681
+ - CLI plugin lifecycle: `plugin install --marketplace` runs the name checks of `marketplace add` on the
2682
+ marketplace it just added (an impersonating or reserved name, the `claudeai-` prefix, the
2683
+ download-folder rule) and refuses with `invalid_name` (`InstallFound.addedMarketplace.registered`);
2684
+ a bundled MCP server whose bundle is referenced by URL is `InstallOptions.unreadServers`: its keys
2685
+ are not listed and the not-applied line says to configure it in `/plugin`; the `invalid_config`
2686
+ failure lists its keys in `invalidKeys`, not `refused`; `plugin configure --values-stdin --json`
2687
+ leaves `unconfigured` out when `ConfigureFacts.readBack` is `false`; `uninstall --keep-data` keeps
2688
+ the data folder of a plugin `--prune` removes too; the unused `json` field of `ToggleArguments` and
2689
+ `DisableArguments` is gone. The accept-command, configure, `--prune`, scope and enable-dependency
2690
+ tests assert the refusal, the shown command, the pruned cleanup and each missing dependency; the
2691
+ codes and usage errors the docs do not quote, and the deferral of `install_records_unreadable`, are
2692
+ recorded in spec/judgments.md.
2693
+ - Marketplace dependencies: `installClosure` no longer reports a false conflict when an installed
2694
+ root's marketplace entry changed a range (the root's installed range is replaced by its new one,
2695
+ and so is that of any plugin the walk reads from the catalog); a dependency already installed and
2696
+ enabled still has its own missing dependencies planned; an `--plugin-dir` copy meets an entry that
2697
+ names a marketplace only from Claude Code 2.1.242 (`InstallRequest.hostVersion`,
2698
+ `DeclaredDependency.namesMarketplace`); the allowlist bypass and the met check read the plugin's
2699
+ `enabledPlugins` at the install scope, not the winning scope's. The five install operations plan
2700
+ identically (recorded in `spec/judgments.md`) and the tests assert that through the facts, the
2701
+ bundle test runs under `auto-update` and `reload-plugins`, the force-moved tag, `=2.1.0` and
2702
+ no-version tests assert the decision the docs describe, and `Create a release tag` is no longer
2703
+ counted as proven until `claude plugin tag` exists. `docs/API.md` has one
2704
+ `resolveDependencyVersion` row.
2705
+ - Marketplace updates: `checkForUpdate` now derives `loaded in place` from `loadsInPlace(source,
2706
+ origin)` instead of trusting the host, and its claude.ai subject has no manifest version field;
2707
+ `upToDateMessage` gives the `already at the latest version` wording; the SHA-256 of a downloaded
2708
+ archive is computed through the `Sha256` port (`archiveFacts`); `sourceFactsOf` and
2709
+ `versionCacheSegment` replace per-host switches; the blank-version rule is one helper. The
2710
+ version, release-channel, renames and release tests assert what each docs section adds, and the
2711
+ host-side messages and negatives are recorded in `spec/judgments.md`.
2712
+ - Updates: the version policy ignores `autoUpdatesChannel` and `minimumVersion` from a `--add-dir`
2713
+ directory (`scopeCarries`); `channelSwitch` takes `from` and asks only for `latest` to `stable`;
2714
+ a command source's install or changed-command update is held until the user accepts
2715
+ (`runsAfterAnswer`) and an in-place reload carries the reload notice; `backgroundCheckResult`
2716
+ maps credentials and the remote to a check result, and a provider token never authenticates;
2717
+ `toggleLabel` derives from `AutoUpdateFacts`; `planUpdate` updates only an installed plugin;
2718
+ `KnownMarketplace.seeded` is optional. The tests assert each skip for both install commands, the
2719
+ fleet-wide `DISABLE_AUTOUPDATER` against command sources, and the disabled-plugin runs, and
2720
+ `spec/judgments.md` records the whitespace-tolerant flags and the failing-open start gate.
2721
+ - Marketplace contracts: the `Marketplace`, `MarketplaceEntry`, `PluginSource` and
2722
+ `MarketplaceSource` shapes (with the closed `PLUGIN_SOURCE_KINDS` and `MARKETPLACE_SOURCE_KINDS`
2723
+ lists), the fetch plans (`FetchPlan`, `MarketplaceFetchPlan`, `ArchiveLimits`), the ports only
2724
+ marketplaces need (`Sha256`, `ArchiveReader`, `GitTags`, `SourceFetcher`), and the plugin id
2725
+ grammar shared by names, rename targets and dependencies (`PLUGIN_ID_PART`, `pluginIdIssues` with
2726
+ the documented "Claude Code cannot install plugin" and "cannot contain spaces" messages,
2727
+ `desktopNameIssues` for the Claude Desktop warnings).
2728
+ - Plugin sources and their fetch plans (`marketplace`): `parsePluginSource` reads an entry's
2729
+ `source` (a relative path, `"."`, a bare name under `metadata.pluginRoot`, and the `github`,
2730
+ `url`, `git-subdir`, `npm`, `archive` and `command` objects with the documented field rules and
2731
+ messages: `Invalid string: must start with "./"`, `Path contains ".."`, the `unsupported`
2732
+ placeholder, `sha` of 40 lowercase hex, `sha256` of 64 hex, a command of printable ASCII, 500
2733
+ characters at most, with no run of four spaces, `timeout` 1 to 600 and `mode`); `planPluginFetch`
2734
+ turns a source into a `FetchPlan` (a relative path resolves from the marketplace root and not
2735
+ for a `url` or `settings` marketplace, `sha` wins over `ref`, `git-subdir` is a sparse and, over
2736
+ https or SSH, partial clone, npm never runs install scripts or installs dependencies, the npm
2737
+ refusals for git addresses, folders, `npm:` aliases, tarball links and http registries, an archive
2738
+ over https that is not a loopback, link-local or cloud-metadata host with its download and
2739
+ extraction limits, a command through `sh` or `cmd.exe` from the home directory, link mode refused
2740
+ on Windows); `runCommandSource` and `fetchArchive` run the two engines through `CommandRunner`,
2741
+ `HttpClient`, `Sha256`, `ArchiveReader` and the new `PluginDirectories` port and refuse every
2742
+ failure the docs list.
2743
+ - Archive download headers (`marketplace`): `archiveDownloadHeaders` and `resolveHeaders` merge a
2744
+ marketplace `url` source's `headers` (sent to its own origin only) with an entry's (replacing by
2745
+ name), command output over `headers` within a place, and drop `Host`, `Cookie` and `X-Forwarded-*`
2746
+ from catalog and project entries; `helperAllowed` decides whether a `headersHelper` runs
2747
+ (`https://` marketplace URL, settings file and trust, `--add-dir`, `disableCommandPluginSources`
2748
+ and `allowManagedHooksOnly`, single install or update the user accepted); `runHeadersHelper` runs
2749
+ it through `CommandRunner` (10 seconds, JSON object of strings, no credential variables for a
2750
+ catalog or project command) and `helperCache` reuses a `url` source's output for 60 seconds. Entry
2751
+ validation also warns about routing headers and a `headersHelper` without a `sha256` pin.
2752
+ - Marketplace sources (`marketplace`): `parseMarketplaceSource` reads the `source` object of
2753
+ `extraKnownMarketplaces` or an entry of `strictKnownMarketplaces` and `blockedMarketplaces`
2754
+ (`url`, `github`, `git`, `npm`, `file`, `directory`, `settings`, and the policy-only `skills-dir`,
2755
+ `hostPattern`, `pathPattern`) with every field (`path` defaulting to
2756
+ `.claude-plugin/marketplace.json`, `ref`, `sparsePaths`, the no-op `skipLfs`, a settings source's
2757
+ `name` equal to its key and not reserved, its inline `plugins` as remote entries, the `owner/*`
2758
+ wildcard in policy lists only) and the `loadStatus` `extraKnownMarketplaces` gives it;
2759
+ `planMarketplaceFetch` turns a source into a git clone, a 5 MiB and 10 second file download, an
2760
+ in-place read with the root two levels up, or an inline catalog; `parseMarketplaceInput` builds
2761
+ the source `claude plugin marketplace add` builds from what you type, with `--sparse`.
2762
+ - Marketplace renames and removal (`marketplace`): `validateRenames` (also run by
2763
+ `validateMarketplace`) rejects a `renames` chain that cycles or ends outside `plugins` and a target
2764
+ that is not a plugin name; `resolveRename`, `renameNotice`, `migrateSettingsKeys` and
2765
+ `migrateSettingsScopes` follow the chain from the oldest name and rewrite or drop the old keys of
2766
+ `enabledPlugins` and `pluginConfigs` (managed settings are left and their notice recurs);
2767
+ `removedPlugins` decides what `forceRemoveDeletedPlugins` uninstalls and flags.
2768
+ - Marketplace dependencies (`marketplace`): `normalizeDependency` reads a `dependencies` item
2769
+ (`"name"`, `"name@marketplace"` or an object with `name`, `marketplace` and a node-semver
2770
+ `version`), `releaseTag`, `parseReleaseTag`, `selectTag` and `combineRanges` resolve ranges against
2771
+ `<name>--v<version>` tags (pre-releases only with `^2.0.0-0`, conflicts reported as `has
2772
+ conflicting version requirements`), `resolveDependencyVersion` applies the source-kind rules (own
2773
+ repository fails with `has no git tag satisfying`, relative path falls back to the current copy,
2774
+ `npm`, `archive` and `command` check the plugin.json version), `checkInstalledDependency` and
2775
+ `checkDependency` give the quoted `is not installed`, `is disabled` and `Requires "<dep>" <range>,
2776
+ installed <version>` messages (local copies skip the range; claude.ai plugins meet a dependency
2777
+ only for `@synced` plugins), and `crossMarketplaceDecision` applies the root marketplace's
2778
+ `allowCrossMarketplaceDependenciesOn`. Adds the `semver` dependency.
2779
+ - `readMarketplace` and `validateMarketplace` read every entry by default (the entry reader over
2780
+ `parsePluginSource`), so a marketplace file loads end to end and its entries feed `planPluginFetch`,
2781
+ `resolveRename`, `normalizeDependency` and `crossMarketplaceDecision`; `unreadEntry` is removed.
2782
+ - Marketplace dependencies (`marketplace`): a dependency `name` and `marketplace` must satisfy the
2783
+ plugin id grammar (`a@b@c` and blank names are errors); the `@synced` note is added only for an
2784
+ enabled claude.ai plugin; `combineRanges` takes the dependency and names it by id; the new
2785
+ `autoUpdateDecision` skips an update whose current copy falls outside any installed range or whose
2786
+ ranges conflict; dependency issues carry the `errorType` of `claude plugin list --json`
2787
+ (`DependencyIssue`); `crossMarketplaceDecision` accepts the declaring plugin's marketplace and
2788
+ ignores its list; weak and misfiled dependency tests are replaced or moved outside `spec(...)`.
2789
+ - Marketplace renames and removal (`marketplace`): `migrateSettingsKeys` and `migrateSettingsScopes`
2790
+ keep the type of the values they carry; `InstallScope` derives from the SDK's setting sources;
2791
+ `Renames` is the one type of the map; tests now prove the notice appears once, managed settings
2792
+ are left as given, a registered name that differs from the file's is used, and the first of two
2793
+ old keys rewritten to one new key wins; the judgments record these, the host's **Flagged**
2794
+ heading, and that renames chains are checked only by `validate`.
2795
+ - Archive download headers: a `headersHelper` command runs only for the command and archive URL
2796
+ the user accepted (`AcceptedCommand`, replacing a bare flag; a change in the query string alone
2797
+ does not count unless the host sets `queryCounts`); an empty `CLAUDE_CONFIG_DIR` is unset;
2798
+ concurrent downloads on one origin share one command run; the entry and `url` source header
2799
+ types are taken from `MarketplaceEntry` and `MarketplaceSource`.
2800
+ - Plugin sources and fetch plans: the archive compression ratio is judged against the length of
2801
+ the zip the kit downloaded and not against a size the host reports; a local plan carries a
2802
+ `submodules` rule (`none`, `plugin-subtree`, `whole-repository`) with `selectSubmodules` and
2803
+ `submodulePaths` for the git submodules a marketplace clone fetches; a `git-subdir` path with a
2804
+ drive letter or a UNC prefix is refused as absolute; the object source parsers read each field
2805
+ with a typed reader instead of a cast; the relative path tests assert the backslash message
2806
+ (also for a trailing backslash), a symlink counts as one entry at exactly 20,000 and 20,001, and
2807
+ a tarball link outside the default registry's path prefix is refused; the `sha256` lower casing
2808
+ and the placeholder `headers` of an archive plan are recorded as judgments.
2809
+ - Marketplace entries: the `source` spec block proves only the entry-level behaviour (the parser's
2810
+ messages belong to the plugin source parser); `headers` and `headersHelper` count under their own
2811
+ ids, with a non-string helper dropping the entry; `effectiveTopic` gives the `relevance.topic`
2812
+ default and `effectiveDisplayName` the name users see; `dependencies` has negative cases for a
2813
+ non-string `version` and `marketplace`; the entry reserved-name check no longer filters the
2814
+ manifest's advice by its wording (`nameReservedIssues` is separate from the kebab-case advice); the
2815
+ version and no-effect headers warnings are recorded as reported when loading too.
2816
+ - Marketplace file and names: a name with a non-ASCII character impersonates an official
2817
+ marketplace even when it spells a reserved name (`claude–code–plugins` with en dashes);
2818
+ `renames` keeps a `"__proto__"` entry from parsed JSON instead of dropping it; the name tests
2819
+ assert the exact reserved-name, Claude Desktop and non-anthropics `git` messages, and
2820
+ `metadata.pluginRoot` has its own spec block.
2821
+ - Marketplace contracts: `ArchiveReader.stats` and `GitTags.list` report a corrupt zip, an
2822
+ unreachable git host or a fired signal as a `PortFailure` instead of a rejection (`stats` now
2823
+ takes a required `signal`); `MarketplaceSource` carries `skipLfs` on `github` and `git` and
2824
+ `version` and `registry` on `npm`, and a type-level test ties its kinds and fields to the SDK's.
2825
+ - Marketplace sources: a source object that does not parse (a missing or mistyped required field,
2826
+ a `settings` name that differs from its key) reports the load status `Unsupported marketplace
2827
+ source type` instead of `loads`; `marketplace add` clones a `/_git/` URL even with a query string;
2828
+ the `http-file` plan carries the redirect rule of a `url` source (a different origin must use
2829
+ `https`, blocked hosts are refused, no configured header is sent); a relative `file` path has a
2830
+ root (`.` for fewer than two directories, the drive for `C:\m.json`); issue paths of a source
2831
+ plan are relative to the source object; one GitHub `owner/repo` rule serves plugin sources,
2832
+ marketplace sources and `marketplace add`; `--sparse`, `owner/*` and the `url` source's
2833
+ relative-path refusal count under their requirement ids, and the settings duplicate, `strict`,
2834
+ `npm` `version` and `registry`, and policy-warning tests assert their paths and messages.
2835
+ - Marketplace gate (`settings/marketplaces`): `createMarketplaceGate(view)` answers
2836
+ `strictKnownMarketplaces` and `blockedMarketplaces` as verdicts (add, install, update, refresh,
2837
+ auto-update, session start, a marketplace that cannot be found, `skills-dir`), and
2838
+ `matchMarketplaceSource` is the shared matcher: exact entries, owner wildcards (case-sensitive on
2839
+ the allowlist, case-insensitive on the blocklist), `hostPattern` host extraction, `pathPattern`,
2840
+ canonical git URLs and `url` entries on the blocklist, `[]` as a lockdown, and the blocklist
2841
+ checked first.
2842
+ - Marketplace registry and command sources (`settings/marketplaces`):
2843
+ `createMarketplaceRegistry(view, context).registrations()` plans `extraKnownMarketplaces` (whole-entry
2844
+ replacement across files, workspace trust for project, local and `--add-dir` entries, the allowlist
2845
+ and blocklist checked on the entry that wins, `settings` source rules, `headersHelper` ignored from
2846
+ `--add-dir`, `autoUpdate` defaults, the official marketplace implied by `enabledPlugins`), and
2847
+ `createCommandSourcePolicy(view)` answers `disableCommandPluginSources` (falling back to
2848
+ `allowManagedHooksOnly`) for command-sourced plugins and marketplace `headersHelper` commands.
2849
+ - Settings, marketplace registry: `autoUpdate` defaults off for `knowledge-work-plugins` and
2850
+ `first-party-plugins` whatever the host lists as official; routing and identity headers (`Host`,
2851
+ `Cookie`, `X-Forwarded-*`) are dropped from an inline plugin entry's `headers` in a project, local
2852
+ or `--add-dir` file, `Authorization` kept; a `url` source that does not start with `https://`
2853
+ loses its `headersHelper`; `autoUpdateFixed` is set only for a registered managed entry; the
2854
+ inline plugin source kinds are typed over the SDK's union so a new kind fails to compile.
2855
+ - Settings, marketplace gate: the blocked-source message quotes the source (`Marketplace source
2856
+ '<source>' is blocked by enterprise policy`); an empty allowlist ends it with `No external
2857
+ marketplaces are allowed.`; the load-time messages carry the docs' guidance line; a `github`
2858
+ shorthand refused by an allowlist that admits a host by hostname adds the `Tip:`;
2859
+ `skillsDirectoryPlugins()` reports `strictPluginOnlyCustomization` as the reason when any
2860
+ customization type is locked; tests assert whole messages and cover a pinned `ref` or `path` and
2861
+ both lists set.
2862
+ - Marketplace file and names (`marketplace`): `readMarketplace` and `validateMarketplace` read the
2863
+ top level of `marketplace.json` (`name`, `owner`, `plugins`, `$schema`, `description`, `version`,
2864
+ `metadata`, the removal and rename keys) as Claude Code loads it and as `claude plugin validate`
2865
+ reports it, hand each entry to an `EntryReader` alone, and report unknown keys; the reserved-name
2866
+ rules (`marketplaceNameIssues`: official, community and directory names with the
2867
+ `github.com/anthropics/` exemption, impersonation, another spelling, `inline`, `npm`, JavaScript
2868
+ member names, `claudeai-`, the download-folder clash); `effectiveDescription` and
2869
+ `effectiveVersion`.
2870
+
2871
+ #### mods
2872
+
2873
+ - A mods dispatch whose `signal` aborted ran Claude Code's own behaviour when its hook failed
2874
+ after the abort (the hook was skipped and the core ran), when a `.catch` handler passed the event
2875
+ on, or when a hook called `next(e)` late. It now rejects with the abort's reason and no core runs
2876
+ (claude-code/index.d.ts:6999, :10821; spec/judgments.md `abortedCore`). A hook that fails while the
2877
+ call is live is still skipped, as declared.
2878
+ - Mods `cutOutput` cuts by bytes, so a real trailing U+FFFD stays and `isTruncated` is true only
2879
+ when the text got shorter.
2880
+ - A mod's `types` file or hooks module linked out of the plugin is refused, not read.
2881
+ - A pre-release mods minimum version (`1.2.0-beta`) comes before its release.
2882
+ - The host's event object is no longer frozen in place; a pass-through hook is no longer
2883
+ reported for an inner mod's drop; a reload keeps the mods' order; a RegExp matcher from another
2884
+ realm no longer matches everything; junk children of a box and non-http redirects are refused;
2885
+ host dispose aborts work under a host-given signal; a failing `onLoaded` no longer leaves hooks
2886
+ registered; `command.run` uses the rewritten command.
2887
+ - Mods tool orchestration now compares rewritten frames with the model's original input, skips
2888
+ prompts after decisive permission results, and never reports a failed tool as successful.
2889
+ - Mods, the events prose, the reference fields and the settings hook. `toolReadOnlyReport` gives
2890
+ `e.isReadOnly` of `tool.check` (`true` or absent, never `false`); `inputChangedDenial` denies a call
2891
+ whose input a hook changed after auto mode's review (`a hook changed this call's input after the model
2892
+ wrote it`); `withheldResultText` and `promptDroppedText` word what Claude and the user read of a
2893
+ withheld result and a dropped prompt; `settingsLayersForMods` builds `e.layers` (`plugin`, `user`,
2894
+ `project`, `local`, `flag`, `policy`, lowest first) and `readEngineSettings` forwards the chain's debug
2895
+ lines (`answered settings.read without next()`); a `settings.read` hook must answer `{ value }` or
2896
+ `{ deny }`; `ModsHost.runCommand` answers a registered command no `command.run` hook answered
2897
+ (`<mod> registered /tally but no command.run hook answered it`); a call a stopped session refuses
2898
+ raises the toast `Stopped: type a message to continue; a mod cannot resume work after Stop`; the
2899
+ built-in guard names a mod that tried to lift a deny rule once, in the debug log and the transcript;
2900
+ `turn.step` carries `turnId`; the test kit fires `settings.read` with empty `layers`. 48 requirements
2901
+ of events.md, reference.md and troubleshoot.md are proven, each with the docs' own example.
2902
+ - Mods, review of `describeApi`, state reset and the mods API guide tests. `RunGate.userInput()` and
2903
+ `StateStore.reset()` deliver to every held notice and every write listener even when one throws,
2904
+ then report the failure (the error as thrown, several as an `AggregateError`); `runEach` in the
2905
+ foundation does it. `docs/API.md` says a `value` member of `describeApi` carries no value (the host
2906
+ copies it from the live `$`) and no arity. The test kit types `$.ui.mount` (`TestDollar`) and exports
2907
+ `MountHandle` and `MountSpec`. Tests: every one of the 79 calls of the table gets `next(e)`,
2908
+ `{ value }` and `{ deny }` from sample arguments (a call without a sample fails), a hook of a mod
2909
+ that runs after the caller never sees its call, `$.prompt.submit` without `asUser` reaches the port
2910
+ without it, `$.model.complete` asks no question and uses the Claude API's usage fields, the Add one
2911
+ button of hello-tabs runs through the pane, `types` left out or pointing at a missing file, and a
2912
+ write inside `ui.render` and the unchecked type of a declared value are recorded as judgments.
2913
+ - Mods, review of crash behaviour and refused calls. `ModSession.send` receives the reason the
2914
+ session refuses new work (`send(to, text, signal, refusal?)`) and `unsentReason.subagent` /
2915
+ `unsentReason.teammate` word the `{ isDelivered: false, reason }` of the page's table. `ModTools.call`
2916
+ receives `held()` and `HELD_AT_TIMEOUT` words the line of a foreground Bash or PowerShell command
2917
+ ended at its timeout while input is held. `ModsHost.input.setLimits(limits)` changes
2918
+ `--max-turns` and `--max-budget-usd` for the next run of a long-lived host. Changes to the mod set
2919
+ (`load`, `reload`, a stop of the worker...) run one at a time, so a stop during `reload()` or two
2920
+ stops in a row no longer rewrite the loaded mods together; a mod that is unloaded or unloaded for
2921
+ a crash is forgotten by the replay ledger; a fresh copy the loader has no record of says so instead
2922
+ of vanishing. Judgments record the latest-release-only model of the version-gated behaviour, the
2923
+ host's part of "Work your mod started before the interruption" and the order of a replayed call
2924
+ among the mods before it. Tests: a spawned subagent's turns reach the `--max-turns` count, a stop
2925
+ traced to a built-in mod is untraced, and casts and a stray comment left the test support.
2926
+ - Mods, review of per-mod load and where mods run. A refusal by another mod reaches the transcript of
2927
+ an interactive session that loads a plugin directory or hot-reloads (it was the debug log in every
2928
+ session). `ModsHostOptions.hotReload` is a getter, so the answer to the hot-reloading question moves
2929
+ later lines to the transcript at once. `modsVersionProblem` words an unreadable version as `this is
2930
+ an unreadable version (latest)`. Tests: the page's own `register.js` runs and its redraw is seen,
2931
+ edits take effect only in a watched directory, the whole change-notice lines, the hot-reloading
2932
+ answers and their state, the refused mod stays off the `mods active` line, and the WSL and
2933
+ feature-flag defaults.
2934
+ - Mods, review fixes of the load seams. `createModsHost(...).fire` and `fireStream` take `before` (where
2935
+ managed `PreToolUse` hooks run, ahead of the first mod), which only the raw chain could set. A
2936
+ stack overflow is a `RangeError` or a message in an engine's words (`maximum call stack size
2937
+ exceeded`, `too much recursion`, `stack overflow`, `not enough stack space`), no longer any error
2938
+ that mentions a stack. `claude plugin validate` reports the scan problem of a compiler output, not an
2939
+ unrelated compiler issue. Tests: the order of managed, other settings and plugin `PreToolUse` hooks
2940
+ is driven through the host with the hook engine; `prependPlugins`, the built-in guard's run order,
2941
+ the filter with every field matching, deep freezing of events, the `my-mod:` log line through the
2942
+ real `$.ui.log`, the six `$` and import rules (each with its own reason, in
2943
+ `check-reads-wording.test.ts` where the page gives no wording), a blank `Client` error and the drawn
2944
+ failure node are now asserted; the linking reason, a session with no `modules` key and the compiler
2945
+ outputs of `validate` moved out of `spec(...)` as judgments, with new rows in `spec/judgments.md`.
2946
+ - Mods hook chain (`mods/chain`): `createModChain` runs hooks as middleware by tier (`prepend`, `user`,
2947
+ `append`, `builtin`, then Claude Code) with `e` deeply frozen, `next(e)`, `next.signal`,
2948
+ `next.origin`, `next.budget`, `next.to(e, tier)`, matchers, `*` and `classic.*`, the failure
2949
+ policy with `.catch` handlers (`next.error`, `next.error.cause`, `next.called`), re-entry, the
2950
+ 10 s, 50 ms (`prompt.edit`), 1 s (`.catch`) and shared `session.end` time limits measured on the
2951
+ `Clock` port (a hook's time stops inside `next` and mods API calls except `$.clock.sleep`), the
2952
+ 28000-level nesting limits, async generator hooks for `turn.step` and `process.spawn`, and the
2953
+ telemetry events' `{ to: 'collector' }` filter. Foundations for the other parts of mods:
2954
+ `MOD_LIMITS`, `MOD_EVENT_NAMES` (48 events), `MODS_API`, `MOD_TIERS`, `foundation`
2955
+ (`createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`), and the mods ports (`ModRuntime`,
2956
+ `ModCompiler`, `ModStore`, `TelemetrySink`, `ModWatcher`, `DenyRuleChecker`).
2957
+ - Mods events (`mods/events`): `EVENT_SPECS` for the tool, prompt, command, `/config`, turn, session
2958
+ and subagent events (the documented input fields and the shapes a hook can answer with),
2959
+ `createEventRules` for the chain (`createModChain({ clock, rules })`: a result of the wrong shape
2960
+ fails the hook, a `drop` after `next` was answered fails it, `skill.prompt` refuses a change
2961
+ other than `text` and `frontmatter`, a resumed `agent.spawn` ignores a change, `session.append`
2962
+ takes only a changed `message.content`, a `drop` or `config.set` `deny` reason is cut at 4,096
2963
+ characters), `eventResultProblem`, `eventInputProblem`, `clampReason`, `mergeToolCheck` (plan mode
2964
+ lets a mod tighten a call that is not read-only, not approve it), `skillPromptEvent` (source,
2965
+ plugin name, path, frontmatter and its problem) and `autocompleteRows`.
2966
+ - Mods API (`mods/api`): `createModsApi` builds the `$` of one mod from ports. Every call is an
2967
+ event through the chain and then a port (`$.fs`, `$.process`, `$.http`, `$.model`, `$.store`,
2968
+ `$.state`, `$.session`, `$.prompt`, `$.turn`, `$.config`, `$.settings`, `$.env`, `$.clock`,
2969
+ `$.mcp`, `$.audio`, `$.telemetry`, `$.command`, `$.tool`, `$.agent`, `$.plugin`), with the
2970
+ documented limits: 4 MiB for a file, a request body, a response, command output and the store,
2971
+ `isStdoutTruncated` and `isStderrTruncated`, the 30 second and 10 minute timeouts, five redirects
2972
+ and the dropped headers, `HEAD` and the `Content-Length` reason, `maxTokens` 1024 to 64,000 with
2973
+ prompt blocks and cache breakpoints, the newest 4,096 messages, and names of up to 64 letters,
2974
+ digits, `_` and `-` (`isValidModName`). `engine.create` adds or withholds a namespace and lends
2975
+ its methods the caller's context; `settings.read` has layers, sources and the own-read versus
2976
+ mod-read origin (`readEngineSettings`); registries of commands, tools (as `mcp__<plugin>__<name>`)
2977
+ and subagent types; `$.state` with `atom`, `read` and `update`; `withApiRules` composes the shape
2978
+ of API calls with `createEventRules()`; `AGENT_STATUSES`; and the ports behind it (`ModFs`,
2979
+ `ModFetcher`, `ModSpawner`, `ModModels`, `ModSession`...).
2980
+ - The interface part of mods (`createModsUi`, `withUiRules`, `uiApi`): the 12 elements with their
2981
+ props, the apps that draw them and the props the VS Code extension ignores, the 15 render sites,
2982
+ tree validation (`treeProblem`, the documented `a tree Pane refuses:` lines) and the size limits
2983
+ (nesting 32, 20,000 nodes, `Raster` cells, `Image` bytes, 100,000 characters of text),
2984
+ `foldRender` (a tree, `next(e)`'s reference, the band and `AskUserQuestion` rules), panes
2985
+ (`$.ui.open` placement at 144 and 110 columns, `ui.close` origins), controls routed by key
2986
+ (`routeControl`, hotkeys, `action`, the collapsed band), the redraw throttle (10 and 30 a
2987
+ second, coalesced), `$.ui.toast` (4 seconds, `timeoutMs`, classic and fullscreen) and `$.ui`.
2988
+ - Mods loading (`createModsHost`, `decideModLoad`, `orderMods`, `scanHooksModule`, `validateMod`, `activeModsLine`): which hooks modules load and in which tier under `disableAllHooks`, `allowManagedHooksOnly`, `disableSideloadFlags`, `prependPlugins`, `appendPlugins`, `pluginConfigs`, `CLAUDE_CODE_PLUGIN_DIRS` and the built-in guard `sec-default@builtin` (`allowManagedModsOnly`, `allowModsToOverrideDenyRules`); the `plugin.register` refusal; `/reload-plugins`; the static scan with the 2,000-scope limit; and the file names of a mod (`hooks/hooks.json`, `hooks/register.js`, `types/index.d.ts`, `.test.ts`).
2989
+ - The mods test kit (`modsTesting`): `runModTests` for `claude plugin test [directory]` with Bun-style output, the 5-second limit and `timeoutMs`; `createTestKit` for `claude-code/testing` (`test`, `tier`, `expect`, `mock.clock`, `mock.store`, `mock.env`, `mock.session`, `$.ui.mount`); the `ModTestRuntime` port and the in-process `inlineRuntime` and `inlineTests`.
2990
+ - Mods loading, policy, scan and test kit: the test kit fails a mods API call no stub answers with
2991
+ `no implementation for <name>` (not only `fs.read`), leaves `ui.invalidate`, `$.state` and
2992
+ `session.append` to itself, and reads `hooks.json` as JSON instead of searching its text; an
2993
+ inline mod written as method shorthand (`register(on) { ... }`, also `async`) loads; the host
2994
+ fires `session.start` for each loaded mod after `load` and `reload`, a reload leaves the mods
2995
+ the host registered itself, and `reloadMod(name)` keeps the version loaded before when a save
2996
+ breaks the module (`reload failed, the previous version stays loaded:`); an id in both
2997
+ `prependPlugins` and `appendPlugins` is prepended; the rollout switch refuses installed mods with
2998
+ the documented `for installed plugins` lines; `isTrusted: false` keeps mods out until the trust
2999
+ prompt is answered; `disableSideloadFlags` also rejects `--plugin-url`; the loader asks for the
3000
+ types file where `claude plugin validate` does and an import that leaves the plugin directory is
3001
+ refused; `validate` leaves out a file with nothing to report; the debug line lists the events;
3002
+ `ModsSettingsFile` is typed from the SDK's `Settings`; the judgments row for gating events names
3003
+ the five events of events.md.
3004
+ - Mods interface: `$.ui.ask` goes through a `tool.call` of `AskUserQuestion` and reads
3005
+ `result.answers`, so the documented stub works and a dismissed question rejects; `ui.message` and
3006
+ `ui.fault` reach only the mod that drew the `Client` (`DispatchOptions.only`); a toast raised
3007
+ during a hold of toasts waits for the hold to end instead of timing out, and only the terminal
3008
+ holds; a failed `Client` has its dimmed line (`clientFailure`); a hook that answers `ui.render`
3009
+ without `next` writes `<mod> (<tier>) answered ui.render without next()` to the debug log;
3010
+ `drawsAsLink` accepts a missing `/` before a query or fragment; hotkeys press only while the pane
3011
+ or band has keyboard focus and no `Input` does; a `ui.render` hook that writes a value it read no
3012
+ longer redraws in a loop.
3013
+ - Mods API: `$.clock.after` and `$.clock.every` return their timer at once (`timer.cancel()` needs
3014
+ no `await`, and also stops a timer whose event is still in the chain); a hook on a mods API call
3015
+ intercepts only the calls of the mods that run after it (`DispatchOptions.caller`); a pass-through
3016
+ hook on `process.spawn` is no longer reported as failed; `$.http.fetch` lower-cases response header
3017
+ names (a `Content-Length` in any case is honoured) and cuts `text` to 4 MiB of bytes itself;
3018
+ `asUser: false` is a plain submit; `effort` is an SDK `EffortLevel`; `$.fs.list` and `stat`
3019
+ carry only the documented fields; `$.agent.list` rows are checked against the reference's
3020
+ statuses; casts on JSON data are replaced by parses. The maximum process timeout and `maxTokens`
3021
+ are proven under `spec(...)`, the tests that only echoed a stub are now real, and the new
3022
+ judgments are rows in `spec/judgments.md`.
3023
+ - Mods events: `mergeToolCheck` honours `e.ceiling` (`ask` caps a mod's `allow` at `ask`, as
3024
+ permissions.md says for connector tools an organization set to `ask`); `SESSION_END_REASONS` now
3025
+ lives in `src/protocol/exit-reasons.ts`, tied to the SDK's `ExitReason`; tests prove that a hook's
3026
+ `next(e)` rejects when a session message is not delivered, and the ordering, resumed-run and
3027
+ input-shape assertions moved out of `spec(...)` into judgments (new rows in `spec/judgments.md`).
3028
+ - Mods chain: a synchronous mods API call gives the hook's time budget back, so a hook's own
3029
+ 10 s, 50 ms or 1 s limit still fires after one; `walkPlainData` measures a sub-structure
3030
+ reached twice at its deepest place, so a shared sub-tree can no longer slip past the 28,000-level
3031
+ limits; a hook whose `.catch` handler fails too is reported with the hook's own reason, as if it
3032
+ had no handler; the host passes `rewritten` and `lent` flags in `ReentryInfo` and the chain
3033
+ picks `next.error.cause` (`rewritten` wins); `plugin.name` and `plugin.root` are values and no
3034
+ longer events (`API_EVENT_NAMES`, `ApiEventName`); `register` no longer takes the `core` tier.
3035
+ The speculative ports `ModSurface`, `ModEnv`, `ModWatcher`, `ModTurnPort` are removed, and the
3036
+ mods name and limit tables are compared with the pulled reference.
3037
+ - Preserve a refusal of the engine settings read even when an outer hook returns a value; use a typed plugin-layer merge, isolate engine toast ownership and cover a timeout after next.
3038
+
3039
+ #### host
3040
+
3041
+ - A project or plugin folder whose name holds shell syntax ran it. The path variables were
3042
+ pasted into strings a shell parses, inside the docs' double quotes, which do not stop `$(...)`, a
3043
+ backtick or a `"`: a project folder named `x$(touch PWNED)` ran `touch` from a bash shell-form hook,
3044
+ a monitor `command` and an MCP `headersHelper`. `SubstitutionScope.monitorPaths` was never set by
3045
+ the session (`scopeOf`), and `PluginHostOptions` had no way to set it. Now, by default
3046
+ (`shellPaths: 'environment-reference'`), those three write `${CLAUDE_PLUGIN_ROOT}`,
3047
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` as braced references, and the values go in the
3048
+ process environment: a hook's, `ResolvedMonitor.environment` (and `MonitorStart.env`), and
3049
+ `HelperServer.paths` for `planHeadersHelper`. Proven through the public session in
3050
+ tests/host/shell-paths.test.ts. Exec-form hooks, PowerShell hooks (`${env:NAME}`), MCP stdio and LSP
3051
+ servers had no shell to inject into; the kit substitutes nothing in `statusLine`,
3052
+ `subagentStatusLine`, `fileSuggestion` or `apiKeyHelper`.
3053
+ - A file a path-checked Bash file command names (`cat`, `ls`, `grep`, `touch`, `cp`, ...) outside
3054
+ the working directories needs approval in every mode, as in Claude Code 2.1.322: a prefix rule
3055
+ (`Bash(cat *)`) and a bare `Read` allow do not cover it, a path-specific `Read`/`Edit` allow does,
3056
+ a `Read`/`Edit` deny denies, and a tool-wide `Bash` allow or `bypassPermissions` runs it. So do an
3057
+ operand a variable hides, a `..` after a directory segment and a symlink the host resolved
3058
+ outside. The prompt is the mode's: `auto` classifies, `dontAsk` denies (`mode-dontask`, before:
3059
+ the redirect prompt's reason). A tool-wide `Bash` allow now covers redirect targets too. Commands
3060
+ Claude Code does not path-check (`less`, `xxd`, `du`, `chmod`, `ln`, ...) still obey `Read`/`Edit`
3061
+ deny and ask rules (docs/SECURITY.md). `sed -e SCRIPT` and `grep -e PATTERN` no longer read the
3062
+ script as a file.
3063
+ - The read-only set sees through only what Claude Code 2.1.322 does, in its order: known-safe
3064
+ assignments with a value each accepts (`LANG=C`, `TZ=UTC`, `COLUMNS=80`; `LANG=x`, `FOO=1` and any
3065
+ expanding value are asked), `noglob`, `command` (`-p`, `--`) or `builtin`, and `timeout` with a bare
3066
+ duration. `nice`, `time`, `nohup`, `stdbuf`, `xargs` and `timeout` options in front are asked, and
3067
+ `git` or `cd` behind any wrapper is asked. Allow rules strip by the same value checks.
3068
+ - A session's MCP servers and monitors expanded `${VAR}`, and its built-in subagent switches read
3069
+ their variables, from the host's environment port while its hooks and skills used the session's
3070
+ (`ports.environment`, a turn's over it). One view of the session's ports now feeds all of them, and
3071
+ its environment has the settings `env` written over it as Claude Code writes it into its process
3072
+ (env-vars.md, "Set variables in settings files"): a settings value now answers `${VAR}` in a
3073
+ server's config and an http hook's `allowedEnvVars`; `NO_COLOR` and `FORCE_COLOR` stay
3074
+ subprocess-only.
3075
+ - A session's MCP and LSP servers, monitors and plugin agent prompts resolved `${CLAUDE_PROJECT_DIR}`,
3076
+ `${CLAUDE_PLUGIN_ROOT}` and `${CLAUDE_PLUGIN_DATA}` with the host's locations while its hooks used
3077
+ `hookPorts.locations`: every part now reads the session's (`SessionOptions.locations`), and a turn
3078
+ can no longer move `CLAUDE_PROJECT_DIR` (hooks.md, "Worktrees are different").
3079
+ - Security: a `./` or bare deny or ask rule (`Read(./private/**)`) under a current directory reached
3080
+ through a link (`/var/proj` is `/private/var/proj` on macOS) missed a read by the real spelling and a
3081
+ link inside the project into the denied folder. `resolveRuleDirectories` now maps each deny or ask
3082
+ rule's anchor (current directory, home, settings source folder) to its real location as well as the
3083
+ directory the rule names, so the `~/` rule of a linked home also holds before its folder exists.
3084
+ - A working directory or `additionalDirectories` entry reached through a link counted the files below
3085
+ its real location as outside the working directories (prompts, `blockReadsOutsideWorkingDirectories`
3086
+ denials): `resolveRuleDirectories` maps the working directories too, and the scope checks read them.
3087
+ - `session.checkTool` decided a hook's `updatedInput` with the `resolvedPaths` of the input Claude
3088
+ sent. With the new `resolver` option it prepares the input that runs (see Added).
3089
+ - The source type-checks under a consumer's `erasableSyntaxOnly` (no parameter properties); the
3090
+ kit's tsconfig turns it on.
3091
+ - Security: Bash permission rules can no longer be bypassed by spelling. A deny or ask rule also
3092
+ matches the command's spoken form (name unquoted, words one space apart, redirections and line
3093
+ continuations dropped: `rm\t-rf /`, `>out rm x`, `r\<newline>m`). Comments, here-documents,
3094
+ `$'…'`, redirections glued to words (`x>/f`, `2>&1>/f`, `{fd}>`) and function definitions are
3095
+ read as Bash reads them, so a hidden subcommand meets the rules; a line that defines a function is
3096
+ never read-only. In `acceptEdits`, a `sed` script that writes, runs or reads other files and
3097
+ `mv`/`cp -t DIR` are no longer auto-approved; `which` stays read-only only with `-a`. `decide`
3098
+ now checks the files a Bash line reads and writes (`bashFileTargets`, with `ls`, `find`, `du`)
3099
+ against the `Read` and `Edit` rules. `~/` in a tool path expands to the home directory, Windows
3100
+ paths compare without case and trailing dots or spaces, a Glob with an absolute or `~` pattern is
3101
+ checked at its directory, and `readsNetworkPath` also checks resolved forms (`../../net/x`,
3102
+ `/net/./x`). No public name changed.
3103
+ - `withTurn({ cwd })` in the session's own `cwd` keeps the session's skill folders; a turn in
3104
+ another `cwd` must call `reloadSkills` (or `moveTo` to move the session).
3105
+ - Plain data: bytes (an ArrayBuffer view) are a leaf, not walked as a container.
3106
+ - A token estimate counts code points, so a character outside the BMP counts once.
3107
+ - An output redirect to a file in the working directories asks in default mode, even under a `Bash`
3108
+ allow rule, unless an `Edit` rule allows the file; `acceptEdits` accepts it as an edit there. An
3109
+ input redirect in scope keeps a command read-only, and `mkdir d > log` is an `acceptEdits` command.
3110
+ - `node -v`, `node --version`, `python --version` and `python3 --version` are read-only.
3111
+ - Security: a Bash rule matches a command whose name is quoted or escaped. A `deny` rule
3112
+ `Bash(rm *)` no longer lets `"rm" -rf x`, `'rm'`, `r"m"` or `\rm` through, a critical removal
3113
+ (`"rm" -rf /`) asks in `bypassPermissions`, and `Bash(watch *)` no longer approves `"watch" rm x`.
3114
+ An allow rule approves a quoted script path, as claude does (`"$ROOT/setup.sh" go`).
3115
+ - `git diff`, `git log` and `git show` with `--output` are no longer read-only commands: they write a
3116
+ file. `git branch` with only listing flags (`--show-current`, `-a`, `-v`, …) is read-only.
3117
+ - `parseRule` reads `Task(...)` as `Agent(...)`, as sub-agents.md says the renamed tool still works.
3118
+ - A `PermissionRequest` deny keeps its `interrupt` through the dispatch.
3119
+ - Host: `SkillsReload.plugins` leaves out skills-directory plugins while `strictPluginOnlyCustomization`,
3120
+ `strictKnownMarketplaces` or `blockedMarketplaces` stop them; reads of the folders (`reloadSkills`,
3121
+ `touchFile`, `addDirectory`, `moveTo`) run one after another, so a touched file's skills are no longer
3122
+ overwritten by a reload that was reading at the same time.
3123
+ - Permissions (review of the settings keys and the session): `autoMode.classifyAllShell` now acts, as
3124
+ `DecideContext.classifyAllShell` (filled by `startPermissions`) that suspends every Bash and PowerShell
3125
+ allow rule in auto mode; an enforced mod can no longer lift a default-mode prompt that a permission
3126
+ callback would be asked about; `approvalMemory(tool, { rulesLocked })` and the new `savedApproval` hide
3127
+ the always-allow choices under `allowManagedPermissionRulesOnly` and name the file a rule is saved to;
3128
+ `startPermissions` takes `interactive` for hosts with their own approval interface and returns `notices`
3129
+ (the HIPAA terminal notice, verbatim); judgments recorded for the fail-closed block flags, the
3130
+ unmodelled `Artifact` read in bypass mode and the first-time `auto` notice; `mergePermissionBlocks`
3131
+ builds its blocks without a type assertion; weak or echoing tests were rewritten and lint warnings in
3132
+ the new tests fixed.
3133
+ - Host: an update path. `host.update({ plugins?, settings?, parentSettings?, userConfig? })` replaces
3134
+ those parts, re-runs the pure `createHostState` over the merged options (`mergeHostOptions`) and
3135
+ returns the new `{ plugins, issues }`; `host.plugins` and `host.issues` are live getters and
3136
+ `host.generation` counts the updates. Sessions and their `withTurn` and `runScoped` views read a
3137
+ `HostStateCell` at each use instead of a state captured at open: the plugin and settings hooks are
3138
+ rebuilt, the skill, agent and session hooks stay unless their plugin no longer runs or the new
3139
+ plugin-only lock silences them (`pluginOnlyAllows`, exported by the hooks module), the gates, skill
3140
+ list, policies and catalogs are read per call, the skill-hook limit ledger is summed again from the
3141
+ survivors, consumed `once` keys stay consumed and the dynamic watch list is kept. `readCatalog`
3142
+ caches by `Plugin` identity, so an unchanged plugin is not read again.
3143
+ - Host: model limits and message expansion. `SessionOptions.limits` and `TurnOptions.limits`
3144
+ (`SessionLimits`: model allowlist, `maxEffort`, `supportedEfforts`) reach `session.expandSkill`,
3145
+ so `Expansion.turn` carries the allowlisted model and the capped effort. `session.expandMessage`
3146
+ reads the mentions of a typed message (`stackableOf` over the catalog, the turn's interactivity)
3147
+ and expands the direct and stacked skills in order with the shared arguments; named mentions come
3148
+ back as `permitted`, and `expandSkill` takes `permittedByMention` for the model's call.
3149
+ - Host: scoped hooks, `hasHooks`, the watch list and background deliveries. `session.addHooks(prefix,
3150
+ hooks, source, options?)` and `removeHooks(prefix)` register hooks of a run, an agent or a skill
3151
+ (replacing by prefix, never stacking; the handle's `remove()`); `lifetime: 'turn'` ends when
3152
+ `session.runScoped(turn, run)` settles. `session.hasHooks(event)` is true when a handler that
3153
+ passes the gates would run. `session.fileChangedWatchList()` joins the matchers' literal names with
3154
+ the `watchPaths` of SessionStart, CwdChanged and FileChanged outputs (replaced by each, `[]` clears
3155
+ it). `session.takeBackground()` and the pure `settleDeliveries` turn `HookOutcome.background` into
3156
+ `{ additionalContext, systemMessages, wake? }`, a wake surfaced apart for `asyncRewake` exit 2.
3157
+ `mergeWatchPaths` and `hasRunnableHandler` belong to the hooks module.
3158
+ - Host: review fixes of the update path. `host.update` builds the next state before it replaces the
3159
+ merged options, so a state that throws leaves the host as it was; `mergeHostOptions` merges each
3160
+ part by key and keeps its types; `HostedPlugin` moves to `src/host/types.ts`. Tests now cover
3161
+ `parentSettings`, `userConfig` replacing every plugin's saved values and an update that lands during
3162
+ an in-flight `dispatch`.
3163
+ - Host: review fixes of model limits. A stray `sed -i` backup of the skill-limits test is removed, the
3164
+ T2 layout check now fails on any file under `tests/` that is not a `.ts` file, and the skill hook
3165
+ registration closure declares its return type instead of casting `[]`.
3166
+ - Host: review fixes of scoped hooks. `session.onBackground(listener)` tells an idle host of each
3167
+ background delivery, an `asyncRewake` exit 2 wake included, without polling. A view kept past
3168
+ `runScoped` now refuses `lifetime: 'turn'` registrations instead of leaking them for the session.
3169
+ The judgments say the host drains the background queue and owns the async `SessionStart` repeat
3170
+ check; tests cover the stdout wake fallback and a typed hooks literal replaces `JSON.parse`.
3171
+ - Host: review fixes of `withTurn`. The session core no longer carries an unused watch-list slot
3172
+ (it returns with `fileChangedWatchList` support, with a test). Tests now prove that a turn cannot
3173
+ change `trusted` (settings hooks stay held back or released as the session says), that a turn's
3174
+ `scratchpadDir` replaces the session's in the hook input, and that a turn's `interactive` decides
3175
+ whether a forked skill waits; the step on a turn's `additionalDirectories` is dropped because an
3176
+ `if` path rule never reads them.
3177
+ - The tool catalog (`TOOL_CATALOG`, `isKnownTool`, `KNOWN_TOOLS`, `toolRequiresPermission`): the
3178
+ "Permission required" column and the rule format of each of the 46 documented tools, now the
3179
+ source of `ruleFormatOf`; `availableTools` (bare deny rules and globs remove a tool, the
3180
+ `EndConversation` exception, Glob and Grep absent by default on posix) and `resolveSubagentTools`
3181
+ (`tools`, `disallowedTools`, the filters of the tools available to subagents, the zero-tools
3182
+ refusal as an issue).
3183
+ - Tool inputs (`rules/tools/inputs`): `parseToolInput` reads a hook's `tool_input` against the
3184
+ hooks.md table of its tool (Bash, PowerShell, Write, Edit, Read, Glob, Grep, WebFetch, WebSearch,
3185
+ Agent, AskUserQuestion, ExitPlanMode) and reports a wrong type or a missing required field as an
3186
+ issue at `tool_input.<field>`; `TOOL_INPUT_FIELDS` gives each field its type, optionality, role
3187
+ (primary, subject, param, structured) and source (SDK or docs only), and the roles now decide
3188
+ which parameter rules are ignored; `answerQuestions` answers AskUserQuestion for `updatedInput`
3189
+ (labels joined with commas); `effectiveExitPlanModeInput` drops the ignored `allowedPrompts`;
3190
+ `effectiveSearchMode` (an absent `mode` is the full search); `expandToolPath` and
3191
+ `expandToolInputPath` give `Write`, `Edit` and `Read` the absolute `file_path` a hook receives
3192
+ (backslashes on Windows).
3193
+ - Tool semantics (`rules/tools/semantics`): pure functions for the behaviour tools-reference.md
3194
+ states exactly. `applyEdit` (exact replacement, one occurrence unless `replace_all`, `$&` kept
3195
+ literal, refusals as issues), `editEncodingIssue` and `writeEncodingIssue` (the non-UTF-8 and
3196
+ `U+FFFD` guards, the documented message verbatim), `effectiveBashTimeout` (120000 default, 600000
3197
+ ceiling, the larger of the two variables), `backgroundTimeLimit`, `bashOutputLimits` and
3198
+ `windowBashOutput` (30,000 inline, 10,000 for a failure, `bashOutputMaxChars`), `classifyBashExit`
3199
+ (exit 1 is valid only for `grep`, `rg`, `egrep`, `fgrep`, `find`, `diff`, `test`, `[`, `git diff`,
3200
+ `git grep`), `readWindow` (offset, limit, the empty-file and past-the-end notices),
3201
+ `checkWebFetchUrl` (localhost and dotless hosts refused with the documented message, `http`
3202
+ upgraded) and `sliceFetched` (100,000-character window, unread count, next offset),
3203
+ `validateWebSearchDomains` (the two lists cannot be combined), `effectiveGrepOutputMode` and
3204
+ `capGlobMatches` (100 files and a truncation flag).
3205
+ - Tool responses (`rules/tools/responses`): `parseAgentResponse` reads the `tool_response` of an
3206
+ Agent call as the `completed` or `async_launched` member of a union typed from the SDK's
3207
+ `AgentOutput` (a launch exposes no usage fields, `modelsUsed` is set only after a swap and its
3208
+ repeats are collapsed, `resolvedModel` may differ from the request). `parseBashEditDiff` reads
3209
+ `tool_response.bashEditDiff` (at most 200 `changedFiles`, at most 5 `files`, `moreFiles`,
3210
+ `unavailable`, `skipped`, `shared`) with warnings for broken limits, and `bashEditDiffTrust` says
3211
+ whether a list is complete and attributable.
3212
+ - Tool responses: `parseAgentResponse` keeps `modelsUsed` as received instead of collapsing repeats
3213
+ and dropping short lists; `parseBashEditDiff` no longer warns on a file marked both created and
3214
+ deleted, and accepts a `hunks` of any shape. Agent tests now cover non-text content blocks and each
3215
+ launch field, and the two judgments moved out of `spec()`.
3216
+ - Tool semantics: the limits tools-reference.md states are decided by pure functions instead of
3217
+ only the empty-file and default cases. Read: `classifyReadTarget` (binary extensions, images over
3218
+ 128 MB, notebooks over 100 MB), `classifyReadSize` and `readTokenLimit` (256 KB whole-file
3219
+ refusal, 25,000 tokens or `CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS`, `PARTIAL view`, `allow_large`).
3220
+ Glob: `validateGlobInput` (null byte) and `globRespectsIgnore`. Grep: `windowGrepContent`
3221
+ (`No entries at this offset`), `windowGrepCounts` and `totalGrepCount`, `effectiveGrepMultiline`,
3222
+ with `GREP_OUTPUT_MODES` declared once in `rules/tools/inputs`. Bash: `shouldMoveToBackground`
3223
+ and the moved, cwd and stop notices, `BASH_DEFAULT_TIMEOUT_MS` for a moved command, and
3224
+ `classifyPowerShellExit` (`findstr`); `! grep` at exit 1 is now a failure and the `!`, assignment,
3225
+ `&` and subshell cases are recorded as judgments. WebSearch: `webSearchLimits` and
3226
+ `webSearchAllowance`. WebFetch: `webFetchTimings` and `redirectNotice`. The Edit tests assert
3227
+ which refusal (not found or found N times) they expect.
3228
+ - Tool inputs: the optionality of Bash and PowerShell `run_in_background`, Edit `replace_all` and
3229
+ Grep `-i` and `multiline` (the tables mark none optional) is recorded as a judgment and tested
3230
+ outside the spec; `answerQuestions` derives its input type from the SDK's `AskUserQuestionInput`
3231
+ (`multiSelect` stays optional, as hooks.md says); WebSearch domain lists reject non-string
3232
+ elements at `tool_input.<field>.<index>` and ExitPlanMode `allowedPrompts` must be an array,
3233
+ both recorded as judgments.
3234
+ - Permission modes: the dead `classifier` trait is dropped from `PERMISSION_MODE_TRAITS` and its
3235
+ tautology test with it; `BaselineDecision` derives from the SDK's `PermissionBehavior`;
3236
+ `SubagentPermissionInput.set` takes `string` (raw host text that is no mode counts as unset);
3237
+ `spec/judgments.md` records the host-owned subagent classifier review, read-only Bash as a
3238
+ `read` and the `dontAsk` always-deny cases.
3239
+ - Permission rules: `Agent(acme:reviewer)` and `Skill(deploy:deploy)` deny rules are names, not
3240
+ parameter rules on a field called `acme` or `deploy`; only the fields of the SDK's `AgentInput`
3241
+ (and `skill`) read `name:value` as a parameter.
3242
+ - Bash rules: a here-string (`<<< 'x'`) no longer opens a quoted here-document that hid the lines
3243
+ after it from deny and allow rules; a hook `if` that names Bash now runs for a Monitor call (the
3244
+ hook gets the Monitor input), and a Monitor rule still does not run for a Bash call; `if` finds
3245
+ `$()`, backticks and `$VAR` with the quote-aware scanner, so an apostrophe inside double quotes
3246
+ no longer hides one; an unreadable `if` is reported at `hooks.if`; the command field is tied to
3247
+ the SDK's `BashInput` and `MonitorInput`.
3248
+ - Permission rules: an `mcp__` rule with parentheses is skipped only when it comes from a settings
3249
+ file, so a deny rule from the command line or the session matches an MCP tool parameter;
3250
+ `RuleSource` gains `managed` and `embedder-managed`; a `Skill(skill:<name>)` deny rule matches
3251
+ every name the host reports in `PreparedCall.skillNames`; the primary content field is per tool
3252
+ (`url` is only `WebFetch`'s); the default matchers fail closed for deny and ask rules; the
3253
+ matches-no-tool warning repeats the rule as written (`PermissionRule.text`); the command tools'
3254
+ parameter names are checked against the SDK input types.
3255
+ - Tool availability: `--tools ""` removes `EndConversation` when no MCP tool remains, the `default`
3256
+ entry of `--tools` means the default set, `--restricted` removes `PowerShell`, `Monitor` and
3257
+ `WebFetch` as well as `Bash` unless `--tools` names them, a Bash deny rule turns `PowerShell` off
3258
+ on Windows with Git Bash (`gitBash`, `powerShellOptIn`), and
3259
+ `blockWritesOutsideWorkingDirectories` removes the worktree tools; a subagent whose `tools` glob
3260
+ covers `Bash` no longer gets `Glob` and `Grep` back; the catalog test no longer reads the removed
3261
+ tools from production data.
3262
+ - Path rules: an `Edit` rule now covers the legacy `MultiEdit` (and a `Read` deny rule blocks it),
3263
+ while `MultiEdit(docs/**)` is accepted and never matches; a `Read` deny or ask rule reaches every
3264
+ LSP call and no `!` carve-out reopens one; `Read(./.env)` names the `.env` of the current directory
3265
+ only, not one at any depth; a file named `..hidden` is matched by a rule instead of being taken for
3266
+ a parent climb; `Read(src/**/*.ts)` as a deny or ask rule reaches a nested `src`; a `/` rule with
3267
+ no usable text guards its anchor, not the filesystem root.
3268
+ - Permission rules: a deny or ask `WebFetch(domain:...)` rule now applies to an artifact read (an
3269
+ `Artifact` call with `action: read`) when it covers `claude.ai` or `*.claudeusercontent.com`,
3270
+ while a bare `WebFetch` rule and an allow rule do not; an `Agent(general-purpose)` deny or ask
3271
+ rule now covers a call that leaves `subagent_type` out, and `Agent(fork)` names a fork; a
3272
+ `domain:` rule with non-ASCII labels (`bücher.de`) matches the punycode host; the Cowork twin
3273
+ and the Agent, Skill and WebFetch matchers read behaviour and specifier form through a registry
3274
+ and a named guard, and their input fields are tied to the SDK's `AgentInput`, `WebFetchInput`
3275
+ and `ArtifactInput`.
3276
+ - Permission modes (`rules/decide`), review fixes: a double-quoted `sh -c` script (also after
3277
+ `find -exec`) is read after the invoking shell expands it, a single-quoted one binds `$1` only
3278
+ when an argument follows; `cd logs && rm -rf a/*`, a backslash-only target, a volume-GUID path,
3279
+ the `\\?\C:\`, `\\localhost\C$` and 8.3 home spellings are critical paths; a command that does
3280
+ not parse gets the critical-path outcome in every mode. `ps`, `file` and `docker` join the
3281
+ read-only set with their documented prompt cases, a UNC argument on Windows and a write to a
3282
+ special shell variable (`for IFS in`, `unset PATH`) prompt. Under
3283
+ `blockReadsOutsideWorkingDirectories` a Bash command that reads outside the working directories,
3284
+ or that the parser cannot trace, prompts in every mode; under `blockWritesOutsideWorkingDirectories`
3285
+ settings files are refused inside the working directories too and plan files, the scratchpad and
3286
+ auto-memory Markdown stay writable. `--restricted` makes a classified protected-path write ask,
3287
+ the target of a symlinked settings file is its own option and asks in auto and plan, `dev-mods` and
3288
+ `CLAUDE_CONFIG_DIR` are protected, Bash `rm`, `mv` and `cp` go through the symlink check, and
3289
+ `acceptEdits` approves `Set-Content`, `Add-Content`, `Clear-Content` and `Remove-Item` in scope.
3290
+ `HookPermissionDecision` is re-exported from the SDK, and hook decisions and rule behaviors are
3291
+ read through registries.
3292
+ - Permission modes (`rules/decide`): `decide(call, context)` answers allow, ask, deny or classify
3293
+ for one call in `default`, `acceptEdits`, `plan`, `auto`, `dontAsk` and `bypassPermissions`: deny,
3294
+ then ask, then allow with a compound Bash command allowed subcommand by subcommand, a PreToolUse
3295
+ hook's block, deny, ask and allow, a mod's block and approval (with managed settings or a Team or
3296
+ Enterprise login a mod cannot undo a deny rule, an ask rule or a hook's block), the read-only
3297
+ command set, `acceptEdits` filesystem commands in scope, protected paths and their exceptions per
3298
+ mode, critical-path `rm` and `rmdir` removals per mode, network-path reads, tools that require user
3299
+ interaction, `permissions.block{Reads,Writes}OutsideWorkingDirectories`, plan mode's bypass and
3300
+ auto-during-plan cases, and the broad allow rules auto mode drops. The `PermissionClassifier` port
3301
+ and `settleClassification` carry a `classify` decision to the host's reviewer.
3302
+
3303
+ #### cli
3304
+
3305
+ - CLI session flags: what an `--add-dir` directory loads is derived from the whole plan, so
3306
+ `--safe-mode`, `--disable-slash-commands`, `--setting-sources` without `project` (and `--restricted`)
3307
+ remove what they remove from it too, `--bare` keeps only skills, and `CLAUDE.local.md` is its own
3308
+ kind that needs `local` (`addDirLoads` takes `skipped` and `settingScopes`); `--agents` validation is
3309
+ skipped by `CLAUDE_CODE_SAFE_MODE=1` and, for an inline value, by `--resume` and `--continue`
3310
+ (`FlagFacts.resume`, `continuing`); `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT=1` forwards subagent text; a
3311
+ `--mcp-config` value holds space-separated files; `--bare` reports `readsStoredCredentials: false`;
3312
+ `--agent` overrides the `agent` setting in the plan (`FlagFacts.agentSetting`). A `fields` key named
3313
+ `command`, `outcome` or `message` no longer replaces the result's own, and `marketplace add` and
3314
+ `remove` match the reserved name the same way. The `--bare`, `--add-dir`, `--agent`,
3315
+ `--forward-subagent-text`, owner/repo and Windows path tests assert the plan, the failure codes
3316
+ of marketplace update and remove are judgments outside `spec(...)`, and the shared JSON, word and
3317
+ record helpers replace three copies.
3318
+
3319
+ #### repository
3320
+
3321
+ - Integrate all eight second-wave streams without discarding the oracle fixtures or their naming
3322
+ and credential rules. Preserve scanned skills, agents and environment files across compatible
3323
+ turn views while applying host updates immediately.
3324
+ - The spec gate preserves apostrophes and quoted words inside requirement IDs, and checks static template literals too.
3325
+ - Corpus: the loading comparison leaves out what `plugin details` does not list (nested agents
3326
+ and commands, single files a manifest path names, inline commands), which a runtime session
3327
+ still loads.
3328
+ - Tests: the troubleshooting tests name the budget, the per-entry cap and the host-supplied plugin root
3329
+ they exercise; judgments of the folder scan (dot-folders, `taken`, exact local names, bare plugin names,
3330
+ `additionalDirectories`, the main checkout's commands) and every class of refused name have their own
3331
+ tests.
3332
+ - Spec: the committed snapshot of the mods reference tables (`spec/docs-tables.json`) keeps only a
3333
+ short label and the amounts of each row of the Limits table, not the page's sentences, so the
3334
+ repository holds facts and identifiers only.
3335
+ - The layer check now rejects `Date`, timers, `fetch`, `crypto`, `performance` and `globalThis` in
3336
+ `src/`, as the docs state.
3337
+
3338
+ ### Performance
3339
+
3340
+ Counted by the deterministic benchmarks (`bun run bench:update`, docs/TESTING.md, "Benchmarks");
3341
+ every result is the same.
3342
+
3343
+ #### format
3344
+
3345
+ - `validatePlugin` reads `hooks/hooks.json` and `.mcp.json` once instead of twice (once for the
3346
+ byte order mark, once for the text): a plugin of 16 of each component reads 7,957 bytes instead of
3347
+ 11,023 and 49 files instead of 51.
3348
+ - One load asks the host's port for the `stat` or `exists` of a path once: repeated port calls on the
3349
+ community corpus fell from 4.2% to 0.1% of all calls (69,148 instead of 72,130), with the same result.
3350
+ - `parseFrontmatter` reads a file line by line up to the closing `---` instead of splitting the whole
3351
+ file: 44% faster on the 67,907 Markdown files of claude-plugins-community, same result on each.
3352
+
3353
+ #### hooks
3354
+
3355
+ - A hook's `matcher` is read once per matcher text (an exact list or a compiled pattern) instead of
3356
+ at every dispatch: twenty `PreToolUse` dispatches over 16 plugins run no regular expression where
3357
+ each one ran 96 matches.
3358
+
3359
+ #### skills
3360
+
3361
+ - The `${VAR}` substitution of a skill compiles its pattern once per list of names, not once per
3362
+ expansion.
3363
+ - A skill with no `description` reads its first non-empty line without splitting the whole body:
3364
+ building a host over one such skill of 256 lines runs 29 regular-expression matches instead of
3365
+ 7,708, and the whole corpus host 3.9 million instead of 6.1 million.
3366
+
3367
+ #### agents
3368
+
3369
+ - With no plugin workflow to list, a session no longer takes a snapshot of its environment to decide
3370
+ whether the workflow commands are on: `session.skills()` asked again takes none instead of 2, and
3371
+ `expandSkill` 3 instead of 5.
3372
+
3373
+ #### host
3374
+
3375
+ - A folder scan of a session (`reloadSkills`, `reloadAgents`) and a session's own decide context
3376
+ read `CLAUDE_CONFIG_DIR`: one more `environment.get` and `environment.snapshot` each (the settings
3377
+ `env` over the port), and the decide context one `locations.joinPath` for the protected
3378
+ configuration directory (the `expandSkill` and `folders.skills` baselines, every size). A cost
3379
+ added for a documented behaviour, not a regression.
3380
+
3381
+ ### Removed
3382
+
3383
+ #### format
3384
+
3385
+ - **BREAKING** `LOCAL_TRUST`, `LocalTrust`, `WorkspaceTrustState` → `TrustSituation`; `headersHelperEnvironment`, `helperVariables` → `planHeadersHelper`. `LOCAL_TRUST`, `LocalTrust` and `WorkspaceTrustState` (use `TrustSituation`),
3386
+ `headersHelperEnvironment` and `helperVariables` (use `planHeadersHelper`).
3387
+ - **BREAKING** (on paper) 1 internal helper `./elicitation` exported → not exported: `ELICITATION_URL_ARGUMENT_CAP`. No host or example imported it; it is used only inside the kit (docs/api/ lists what stays).
3388
+ - **BREAKING** (on paper) 42 internal helpers `./format` exported → not exported: `agentFileName`, `agentNameProblem`, `blocksLoading`, `BundledSkillRead`, `DEFAULT_THEME_BASE`, `DEFAULT_TYPES_PATH`, `defaultFolderIgnored`, `firstContentLine`, `formatThemeColor`, `HOOKS_MODULE_EXTENSIONS`, `IntegerBounds`, `InvocableRead`, `isRemoteMcpServer`, `ListOptions`, `MCP_DEFAULT_MAX_OUTPUT_TOKENS`, `MCP_JSON_LIMIT_BYTES`, `MCP_MESSAGE_BYTES`, `MCP_OUTPUT_WARNING_TOKENS`, `MCP_TEXT_PERSIST_CHARS`, `MCPB_CACHE_DIR`, `MCPB_OPTION_TYPES`, `McpbOptionType`, `NOT_A_TABLE`, `NOT_EXPANDED_TOWARD_REMOTE`, `ORIGIN_TRAITS`, `OriginTraits`, `pathEscapes`, `pathNotFound`, `readBundledSkill`, `readEnum`, `readFlag`, `readInteger`, `readInvocable`, `readList`, `readSkillFields`, `readTable`, `readThemeColor`, `sameMcpConfiguration`, `SkillOriginKind`, `themeFileText`, `TRAVERSAL`, `XTERM_ANSI_PALETTE`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3389
+ - **BREAKING** (on paper) 18 internal helpers `./loading` exported → not exported: `BUNDLES_NOT_LOADED`, `HEADERS_HELPER_TIMEOUT_MS`, `isPluginVariable`, `isRepositorySupplied`, `LSP_DEFAULTS`, `MONITORS_NOT_LOADED`, `optionEnvironment`, `pluginVariableValue`, `PreparedSubstituter`, `prepareSubstituter`, `readsAsEmptyInRemoteMcp`, `removedFromHeadersHelper`, `shellExports`, `substituter`, `surfacePolicy`, `userConfigText`, `userConfigValue`, `WORKTREE_NOTE`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3390
+
3391
+ #### settings
3392
+
3393
+ - **BREAKING** `mergeSettingsHooks` → `createPolicyView(layers).get('hooks')`; `HookLocks`, `MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES` and the rest → gone. `mergeSettingsHooks` (read `createPolicyView(layers).get('hooks') ?? {}`), `HookLocks`,
3394
+ `MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES`, `REQUEST_ID_ALPHABET`, `LEGACY_WINDOWS_PATH`,
3395
+ `TRUST_MESSAGE_JOINER` and `composeEnvironments`. The merge kind `anyFalse` and the scope rule
3396
+ `userFlagOrManaged` are gone.
3397
+ - **BREAKING** `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable`, `envIgnored` → `NotAppliedVariable`, `ignoredBecause`. `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable` (use
3398
+ `NotAppliedVariable`) and `envIgnored` (use `ignoredBecause(...) !== undefined`).
3399
+ - **BREAKING** (on paper) 66 internal helpers `./settings` exported → not exported: `AGENT_VIEW_ENV`, `agentsMdIdForms`, `appliesAtStartup`, `BUNDLED_SKILLS_ENV`, `BYPASS_AS_ROOT`, `BYPASS_IGNORED_NOTICE`, `BypassAcceptance`, `bypassAcceptance`, `CHROME_BLOCKED_ERROR`, `CHROME_SERVER_NAME`, `CONTROL_KEYS`, `createCommandGates`, `createHttpHookPolicy`, `DEFAULT_MAX_CONCURRENT_SUBAGENTS`, `DEFAULT_PLUGIN_GIT_TIMEOUT_MS`, `deliversPolicyKey`, `elide`, `EXCLUSIVE_ADD_ERROR`, `FileShape`, `guardIdForms`, `HELPER_DEFAULT_TIMEOUT_MS`, `HELPER_MIN_REFRESH_MS`, `HELPER_MIN_TIMEOUT_MS`, `HELPER_OUTPUT_CAP_BYTES`, `HIPAA_AUTO_NOTICE`, `hookSessionGates`, `HookSessionGates`, `IdForms`, `inputPreview`, `isGuardPluginId`, `isListed`, `LOGIN_KEYS`, `LoginKey`, `MANAGED_MCP_FILE_PATHS`, `MANAGED_SIDELOAD_FLAGS`, `managedSourceLoaded`, `maskCredentials`, `MCP_ADD_REFUSAL`, `MCP_CONFIG_EXIT`, `mergeDropIns`, `OFFICIAL_MARKETPLACE`, `orderedLayers`, `ParsedPluginId`, `parseLauncher`, `parsePluginId`, `parseTheme`, `pluginDefaultsOf`, `PROCESS_WRAPPER_ENV`, `readManagedDocuments`, `REGISTRY_VALUE`, `relayDescription`, `sanitizeRelayText`, `SCOPE_RANK`, `SettingWithDefault`, `shellDisabled`, `SideloadFlag`, `SkillOverrideState`, `spellingsOf`, `STRICT_MCP_CONFIG_EXIT`, `SUBPROCESS_ONLY`, `turnsTelemetryOff`, `UnreadableVerdict`, `unreadableVerdict`, `valueWithPluginDefaults`, `verdictIssue`, `WORKFLOWS_ENV`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3400
+
3401
+ #### hooks
3402
+
3403
+ - **BREAKING** (on paper) 27 internal helpers `./hooks` exported → not exported: `AGENT_HOOK_TOOLS`, `CLASSIFIER_CAP`, `DEFAULT_STOP_BLOCK_CAP`, `envFileClearedBy`, `factSchemaOf`, `HandlerEntry`, `HANDLERS`, `HookDeclaration`, `interruptPlan`, `InterruptPlan`, `isUnrecordedCall`, `lastPathLine`, `limitOutputs`, `MAX_MODEL_HOOKS_AT_ONCE`, `NOT_PLAIN_ASSIGNMENTS`, `OK_FALSE_RULES`, `ORIGINAL_PROMPT`, `permissionUpdateSchema`, `pluginOnlyAllows`, `PREVIEW_LENGTH`, `registerHooks`, `shellHasEnvFile`, `stopBlockCap`, `SUSPECT_CAPTURE`, `TEXT_CAP`, `withOriginalPrompt`, `worktreeCandidate`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3404
+
3405
+ #### skills
3406
+
3407
+ - **BREAKING** `stackableOf`, `preloadAgentSkills`, the agents `PreloadedSkills`, `AgentScanRequest`, `AgentFolderContext` → `stackSkills`, `session.preloadSkills`. `stackableOf` (use `stackSkills` over a `skillLookup`), `preloadAgentSkills` and the
3408
+ agents `PreloadedSkills` (use `session.preloadSkills(definition, { signal })`),
3409
+ `AgentScanRequest` and `AgentFolderContext`.
3410
+ - **BREAKING** (on paper) 11 internal helpers `./skills` exported → not exported: `AGENT_SKILLS_FIELDS`, `commandEntryGrants`, `isStrictlyBelow`, `NO_HOOKS_YET`, `OVERRIDE_STATES`, `overrideState`, `REATTACH_TOKENS_PER_SKILL`, `REATTACH_TOKENS_TOTAL`, `scanScope`, `SKILL_HOOK_LIMITS`, `skillPathIn`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3411
+
3412
+ #### agents
3413
+
3414
+ - **BREAKING** (on paper) 23 internal helpers `./agents` exported → not exported: `AGENT_SCOPE_RULES`, `AgentFolder`, `AGENTS_FOLDER`, `AgentScopeRule`, `BUILTIN_AGENT_NAMES`, `BUILTIN_PRIORITY`, `BuiltinAgentName`, `DEFAULT_CONCURRENCY`, `DEFAULT_SPAWN_DEPTH`, `DEFAULT_STALL_MS`, `DEFAULT_STRUCTURED_OUTPUT_ATTEMPTS`, `HANDBACK_DENIALS_TOLD`, `isBuiltinAgent`, `MAX_AGENTS_PER_RUN`, `MAX_ATTEMPTS`, `MAX_FAN_OUT_ITEMS`, `MAX_RESTARTS`, `MAX_USAGE_WAITS`, `PermissionModeInput`, `REPLAY_START`, `STALL_ENV`, `STRUCTURED_OUTPUT_ENV`, `trustKeyOf`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3415
+
3416
+ #### marketplace
3417
+
3418
+ - **BREAKING** `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment` and their types → `resolvePluginVersion(input, sha256)`. `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment`,
3419
+ `SourceFacts`, `KnownFacts`, `PluginVersionInput` and `RepositoryRoot`. Call
3420
+ `resolvePluginVersion(input, sha256)` and pass the archive's `archiveDigest`; `usableVersion` is
3421
+ the folder-name rule.
3422
+ - **BREAKING** `planInstalledUninstall`, `planInstalledPrune` and their types → `winningScope`, `effectiveEnabled`, `isEnabled` and the `./cli` plans. The installed-graph planners `planInstalledUninstall` and `planInstalledPrune`, with
3423
+ `PluginNode`, `DisablePlan`, `EnableOverride` and `InstalledGraph*Plan`. Use `winningScope`,
3424
+ `effectiveEnabled` and `isEnabled` over `GraphFacts`, and the `./cli` plans.
3425
+ - **BREAKING** `marketplaceTabUpdate`, `planMarketplaceRemoval` → `planUpdate({ kind: 'marketplace-tab' })`, `planMarketplaceRemove`. `marketplaceTabUpdate` and `planMarketplaceRemoval` with `MarketplaceTabPlugin`,
3426
+ `MarketplaceRemovalFacts` and `MarketplaceRemovalPlan`. The tab's update is
3427
+ `planUpdate({ kind: 'marketplace-tab', marketplace })`; removal is `planMarketplaceRemove` of
3428
+ `./cli`. `CliMarketplaceUpdatePlan` is `MarketplaceUpdatePlan`.
3429
+ - **BREAKING** `FailureCause` → `NodeDepsFailureCause` (marketplace) and `WorkflowFailureCause` (agents). `FailureCause`, which `./marketplace` and `./agents` both exported under one name for two types,
3430
+ is renamed: the marketplace's dependency check cause is `NodeDepsFailureCause` and the agents'
3431
+ workflow cause is `WorkflowFailureCause`.
3432
+ - **BREAKING** (on paper) 47 internal helpers `./marketplace` exported → not exported: `ADD_OFFICIAL`, `commandHosts`, `commandName`, `cwdMatches`, `DeclaredSourceFacts`, `declaredSourceMismatch`, `declaredSourceRefusal`, `DEPRECATED_MARKETPLACE`, `DIRECTORY_LISTING_FIELDS`, `FIRST_PASS_MAX_DELAY_MS`, `globMatches`, `HINT_PROMPT_LIMIT`, `hookConflictNotes`, `idPartRefusal`, `INSTALL_SCOPES`, `INSTALLED_PLUGINS_VERSION`, `isOfficialButOff`, `isWritableScope`, `listNote`, `MANIFEST_SIZE_LIMIT`, `MARKETPLACE_KEYS`, `MAX_POINTER_BYTES`, `METADATA_KEYS`, `NameCandidate`, `nameHolder`, `NameVerdict`, `NO_PROMPT_ENVIRONMENT`, `NOT_A_LINK`, `NOT_REFRESHED`, `NOTICE_TOTAL_LIMIT`, `OFFICIAL_BUT_OFF`, `OFFICIAL_MARKETPLACE_ADD`, `officialInstallCommand`, `PLUGIN_ACTIVE`, `PluginOrigin`, `PLUGINS_CHANGED`, `PluginSourceOf`, `rebuiltNote`, `REFRESH_WINDOW_MS`, `RELOAD_TO_APPLY`, `resolveNameConflict`, `sessionDirectoryIssue`, `SESSIONS_BETWEEN_SUGGESTIONS`, `setAsideNote`, `shorthandTransport`, `showsContextCost`, `supportedHint`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3433
+
3434
+ #### mods
3435
+
3436
+ - **BREAKING** `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`, `EventRules`, `eventResultProblem` → gone. `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`,
3437
+ `EventRules` and `eventResultProblem` (see Changed). `eventInputProblem` stays.
3438
+ - **BREAKING** the `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData`, `PlainDataStats` → gone. The `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData` and
3439
+ `PlainDataStats`.
3440
+ - **BREAKING** (on paper) 43 internal helpers `./mods` exported → not exported: `BAND_FORBIDDEN_PROPS`, `bandProblem`, `buttonKey`, `callLabel`, `clientFailureLine`, `clipText`, `clipVscodeStatus`, `clipVscodeToast`, `countsAsOrganizations`, `createElementTables`, `createInvalidator`, `createScope`, `declaredState`, `drawnNode`, `drawnProps`, `faultReason`, `GUARD_CANDIDATE`, `guardLoads`, `hookLabel`, `isGuardId`, `isSpacingStep`, `logLine`, `maxPaneColumns`, `measureTree`, `NAMED_KEYS`, `NamedKey`, `nestingMessage`, `nestingProblem`, `NO_MESSAGE`, `openGate`, `OPTIONS_DO_NOT_FIT`, `parseToast`, `pluginDirsOf`, `REGISTER_EVENT`, `RegisterEvent`, `resolveTables`, `scanLines`, `statusLine`, `THEME_CLEARED`, `TOAST_TIMEOUT_PROBLEM`, `toolFullName`, `TreeSize`, `UNANSWERED_LIMIT`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3441
+ - **BREAKING** (on paper) 10 internal helpers `./mods/elements` exported → not exported: `buttonKey`, `clientFailureLine`, `clipText`, `drawnNode`, `drawnProps`, `faultReason`, `isSpacingStep`, `measureTree`, `NO_MESSAGE`, `TreeSize`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3442
+ - **BREAKING** (on paper) 10 internal helpers `./mods/isolate` exported → not exported: `buttonKey`, `clientFailureLine`, `clipText`, `drawnNode`, `drawnProps`, `faultReason`, `isSpacingStep`, `measureTree`, `NO_MESSAGE`, `TreeSize`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3443
+
3444
+ #### host
3445
+
3446
+ - **BREAKING** (on paper) 1 internal helper the root exported → not exported: `blocksLoading`. No host or example imported it; it is used only inside the kit (docs/api/ lists what stays).
3447
+ - **BREAKING** (on paper) 13 internal helpers `./rules` exported → not exported: `APPROVAL_MEMORY`, `CHANGED_INPUT_DENIAL`, `FETCH_WINDOW_CHARACTERS`, `GLOB_RESULT_CAP`, `InputToolName`, `LOCAL_HOST_MESSAGE`, `MAX_CHANGED_FILES`, `MAX_DIFFED_FILES`, `NO_ENTRIES_AT_OFFSET`, `PROMPT_DENIALS`, `TOOL_TYPES`, `ToolType`, `toolTypeOf`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
3448
+
3449
+ #### cli
3450
+
3451
+ - **BREAKING** `planCliInstall`, `planCliEnable`, `planCliDisable`, `planCliMarketplaceUpdate` → the plain names of `./cli`. `planCliInstall`, `planCliEnable`, `planCliDisable` and `planCliMarketplaceUpdate`: import
3452
+ `planInstall`, `planEnable`, `planDisable` and `planMarketplaceUpdate` from `./cli`.
3453
+ - **BREAKING** (on paper) 33 internal helpers `./cli` exported → not exported: `ABORTED`, `ABORTED_NOT_RUN`, `availableJson`, `CliPluginRef`, `Contribution`, `convertText`, `DATA_PRESERVED`, `DEFAULT_MCP_TIMEOUT_MS`, `FlagContext`, `humanBytes`, `installedJson`, `knownKeys`, `listText`, `MANAGED_UNDER_SAFE_MODE`, `matchingIds`, `NAME_OR_ALL`, `nameOf`, `notAppliedLines`, `ONLY_DISPLAYED`, `parseConfigFlags`, `parsePluginRef`, `PROMPT`, `qualifiedCommands`, `readmeInstallsPlugin`, `RESERVED_QUIET_NAME`, `roundTokens`, `SAVE_FAILED`, `SAVED_MESSAGE`, `SETTINGS_FILE_LIMIT`, `sideloadMessage`, `ToggleCommand`, `validationVerdict`, `ValidationVerdict`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).