@localix-ai/agent-plugins 0.0.0-stage → 0.3.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 (6659) hide show
  1. package/CHANGELOG.md +3839 -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 +29 -0
  9. package/dist/agents/catalog/builtin.d.ts.map +1 -0
  10. package/dist/agents/catalog/builtin.js +99 -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 +46 -0
  25. package/dist/agents/catalog/scan.d.ts.map +1 -0
  26. package/dist/agents/catalog/scan.js +86 -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 +21 -0
  49. package/dist/agents/index.d.ts.map +1 -0
  50. package/dist/agents/index.js +21 -0
  51. package/dist/agents/index.js.map +1 -0
  52. package/dist/agents/launch-model.d.ts +102 -0
  53. package/dist/agents/launch-model.d.ts.map +1 -0
  54. package/dist/agents/launch-model.js +106 -0
  55. package/dist/agents/launch-model.js.map +1 -0
  56. package/dist/agents/launch.d.ts +117 -0
  57. package/dist/agents/launch.d.ts.map +1 -0
  58. package/dist/agents/launch.js +125 -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 +53 -0
  69. package/dist/agents/model-choice.d.ts.map +1 -0
  70. package/dist/agents/model-choice.js +49 -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/task-list.d.ts +24 -0
  97. package/dist/agents/task-list.d.ts.map +1 -0
  98. package/dist/agents/task-list.js +12 -0
  99. package/dist/agents/task-list.js.map +1 -0
  100. package/dist/agents/teammate.d.ts +60 -0
  101. package/dist/agents/teammate.d.ts.map +1 -0
  102. package/dist/agents/teammate.js +65 -0
  103. package/dist/agents/teammate.js.map +1 -0
  104. package/dist/agents/tool-filters.d.ts +47 -0
  105. package/dist/agents/tool-filters.d.ts.map +1 -0
  106. package/dist/agents/tool-filters.js +79 -0
  107. package/dist/agents/tool-filters.js.map +1 -0
  108. package/dist/agents/tool-list.d.ts +30 -0
  109. package/dist/agents/tool-list.d.ts.map +1 -0
  110. package/dist/agents/tool-list.js +41 -0
  111. package/dist/agents/tool-list.js.map +1 -0
  112. package/dist/agents/tool-resolution.d.ts +53 -0
  113. package/dist/agents/tool-resolution.d.ts.map +1 -0
  114. package/dist/agents/tool-resolution.js +143 -0
  115. package/dist/agents/tool-resolution.js.map +1 -0
  116. package/dist/agents/workflow/args.d.ts +20 -0
  117. package/dist/agents/workflow/args.d.ts.map +1 -0
  118. package/dist/agents/workflow/args.js +19 -0
  119. package/dist/agents/workflow/args.js.map +1 -0
  120. package/dist/agents/workflow/attempts.d.ts +79 -0
  121. package/dist/agents/workflow/attempts.d.ts.map +1 -0
  122. package/dist/agents/workflow/attempts.js +110 -0
  123. package/dist/agents/workflow/attempts.js.map +1 -0
  124. package/dist/agents/workflow/index.d.ts +11 -0
  125. package/dist/agents/workflow/index.d.ts.map +1 -0
  126. package/dist/agents/workflow/index.js +11 -0
  127. package/dist/agents/workflow/index.js.map +1 -0
  128. package/dist/agents/workflow/limits.d.ts +42 -0
  129. package/dist/agents/workflow/limits.d.ts.map +1 -0
  130. package/dist/agents/workflow/limits.js +69 -0
  131. package/dist/agents/workflow/limits.js.map +1 -0
  132. package/dist/agents/workflow/relaunch.d.ts +58 -0
  133. package/dist/agents/workflow/relaunch.d.ts.map +1 -0
  134. package/dist/agents/workflow/relaunch.js +57 -0
  135. package/dist/agents/workflow/relaunch.js.map +1 -0
  136. package/dist/agents/workflow/replay.d.ts +66 -0
  137. package/dist/agents/workflow/replay.d.ts.map +1 -0
  138. package/dist/agents/workflow/replay.js +93 -0
  139. package/dist/agents/workflow/replay.js.map +1 -0
  140. package/dist/agents/workflow/saved-scan.d.ts +22 -0
  141. package/dist/agents/workflow/saved-scan.d.ts.map +1 -0
  142. package/dist/agents/workflow/saved-scan.js +68 -0
  143. package/dist/agents/workflow/saved-scan.js.map +1 -0
  144. package/dist/agents/workflow/saved.d.ts +69 -0
  145. package/dist/agents/workflow/saved.d.ts.map +1 -0
  146. package/dist/agents/workflow/saved.js +77 -0
  147. package/dist/agents/workflow/saved.js.map +1 -0
  148. package/dist/agents/workflow/structured-output.d.ts +27 -0
  149. package/dist/agents/workflow/structured-output.d.ts.map +1 -0
  150. package/dist/agents/workflow/structured-output.js +91 -0
  151. package/dist/agents/workflow/structured-output.js.map +1 -0
  152. package/dist/agents/workflow/usage-limit.d.ts +53 -0
  153. package/dist/agents/workflow/usage-limit.d.ts.map +1 -0
  154. package/dist/agents/workflow/usage-limit.js +80 -0
  155. package/dist/agents/workflow/usage-limit.js.map +1 -0
  156. package/dist/cli/background-session.d.ts +31 -0
  157. package/dist/cli/background-session.d.ts.map +1 -0
  158. package/dist/cli/background-session.js +73 -0
  159. package/dist/cli/background-session.js.map +1 -0
  160. package/dist/cli/clean-configuration.d.ts +39 -0
  161. package/dist/cli/clean-configuration.d.ts.map +1 -0
  162. package/dist/cli/clean-configuration.js +51 -0
  163. package/dist/cli/clean-configuration.js.map +1 -0
  164. package/dist/cli/command-acceptance.d.ts +75 -0
  165. package/dist/cli/command-acceptance.d.ts.map +1 -0
  166. package/dist/cli/command-acceptance.js +59 -0
  167. package/dist/cli/command-acceptance.js.map +1 -0
  168. package/dist/cli/command-table.d.ts +48 -0
  169. package/dist/cli/command-table.d.ts.map +1 -0
  170. package/dist/cli/command-table.js +100 -0
  171. package/dist/cli/command-table.js.map +1 -0
  172. package/dist/cli/configure-dialog.d.ts +20 -0
  173. package/dist/cli/configure-dialog.d.ts.map +1 -0
  174. package/dist/cli/configure-dialog.js +28 -0
  175. package/dist/cli/configure-dialog.js.map +1 -0
  176. package/dist/cli/configure-plan.d.ts +49 -0
  177. package/dist/cli/configure-plan.d.ts.map +1 -0
  178. package/dist/cli/configure-plan.js +137 -0
  179. package/dist/cli/configure-plan.js.map +1 -0
  180. package/dist/cli/disable-plan.d.ts +20 -0
  181. package/dist/cli/disable-plan.d.ts.map +1 -0
  182. package/dist/cli/disable-plan.js +73 -0
  183. package/dist/cli/disable-plan.js.map +1 -0
  184. package/dist/cli/enable-plan.d.ts +26 -0
  185. package/dist/cli/enable-plan.d.ts.map +1 -0
  186. package/dist/cli/enable-plan.js +37 -0
  187. package/dist/cli/enable-plan.js.map +1 -0
  188. package/dist/cli/flags/add-dir.d.ts +28 -0
  189. package/dist/cli/flags/add-dir.d.ts.map +1 -0
  190. package/dist/cli/flags/add-dir.js +58 -0
  191. package/dist/cli/flags/add-dir.js.map +1 -0
  192. package/dist/cli/flags/agents.d.ts +18 -0
  193. package/dist/cli/flags/agents.d.ts.map +1 -0
  194. package/dist/cli/flags/agents.js +101 -0
  195. package/dist/cli/flags/agents.js.map +1 -0
  196. package/dist/cli/flags/channels.d.ts +4 -0
  197. package/dist/cli/flags/channels.d.ts.map +1 -0
  198. package/dist/cli/flags/channels.js +50 -0
  199. package/dist/cli/flags/channels.js.map +1 -0
  200. package/dist/cli/flags/customizations.d.ts +24 -0
  201. package/dist/cli/flags/customizations.d.ts.map +1 -0
  202. package/dist/cli/flags/customizations.js +52 -0
  203. package/dist/cli/flags/customizations.js.map +1 -0
  204. package/dist/cli/flags/mcp.d.ts +25 -0
  205. package/dist/cli/flags/mcp.d.ts.map +1 -0
  206. package/dist/cli/flags/mcp.js +110 -0
  207. package/dist/cli/flags/mcp.js.map +1 -0
  208. package/dist/cli/flags/modes.d.ts +26 -0
  209. package/dist/cli/flags/modes.d.ts.map +1 -0
  210. package/dist/cli/flags/modes.js +43 -0
  211. package/dist/cli/flags/modes.js.map +1 -0
  212. package/dist/cli/flags/plugins.d.ts +13 -0
  213. package/dist/cli/flags/plugins.d.ts.map +1 -0
  214. package/dist/cli/flags/plugins.js +64 -0
  215. package/dist/cli/flags/plugins.js.map +1 -0
  216. package/dist/cli/flags/registry.d.ts +9 -0
  217. package/dist/cli/flags/registry.d.ts.map +1 -0
  218. package/dist/cli/flags/registry.js +36 -0
  219. package/dist/cli/flags/registry.js.map +1 -0
  220. package/dist/cli/flags/session.d.ts +4 -0
  221. package/dist/cli/flags/session.d.ts.map +1 -0
  222. package/dist/cli/flags/session.js +47 -0
  223. package/dist/cli/flags/session.js.map +1 -0
  224. package/dist/cli/flags/settings.d.ts +6 -0
  225. package/dist/cli/flags/settings.d.ts.map +1 -0
  226. package/dist/cli/flags/settings.js +65 -0
  227. package/dist/cli/flags/settings.js.map +1 -0
  228. package/dist/cli/flags/sideload.d.ts +22 -0
  229. package/dist/cli/flags/sideload.d.ts.map +1 -0
  230. package/dist/cli/flags/sideload.js +36 -0
  231. package/dist/cli/flags/sideload.js.map +1 -0
  232. package/dist/cli/flags/subagent-prompt.d.ts +8 -0
  233. package/dist/cli/flags/subagent-prompt.d.ts.map +1 -0
  234. package/dist/cli/flags/subagent-prompt.js +47 -0
  235. package/dist/cli/flags/subagent-prompt.js.map +1 -0
  236. package/dist/cli/flags/types.d.ts +143 -0
  237. package/dist/cli/flags/types.d.ts.map +1 -0
  238. package/dist/cli/flags/types.js +49 -0
  239. package/dist/cli/flags/types.js.map +1 -0
  240. package/dist/cli/flags/values.d.ts +16 -0
  241. package/dist/cli/flags/values.d.ts.map +1 -0
  242. package/dist/cli/flags/values.js +7 -0
  243. package/dist/cli/flags/values.js.map +1 -0
  244. package/dist/cli/index.d.ts +49 -0
  245. package/dist/cli/index.d.ts.map +1 -0
  246. package/dist/cli/index.js +46 -0
  247. package/dist/cli/index.js.map +1 -0
  248. package/dist/cli/install-command-outcome.d.ts +31 -0
  249. package/dist/cli/install-command-outcome.d.ts.map +1 -0
  250. package/dist/cli/install-command-outcome.js +34 -0
  251. package/dist/cli/install-command-outcome.js.map +1 -0
  252. package/dist/cli/install-command-step.d.ts +13 -0
  253. package/dist/cli/install-command-step.d.ts.map +1 -0
  254. package/dist/cli/install-command-step.js +52 -0
  255. package/dist/cli/install-command-step.js.map +1 -0
  256. package/dist/cli/install-config.d.ts +54 -0
  257. package/dist/cli/install-config.d.ts.map +1 -0
  258. package/dist/cli/install-config.js +76 -0
  259. package/dist/cli/install-config.js.map +1 -0
  260. package/dist/cli/install-engines.d.ts +27 -0
  261. package/dist/cli/install-engines.d.ts.map +1 -0
  262. package/dist/cli/install-engines.js +29 -0
  263. package/dist/cli/install-engines.js.map +1 -0
  264. package/dist/cli/install-lookup.d.ts +23 -0
  265. package/dist/cli/install-lookup.d.ts.map +1 -0
  266. package/dist/cli/install-lookup.js +98 -0
  267. package/dist/cli/install-lookup.js.map +1 -0
  268. package/dist/cli/install-plan.d.ts +94 -0
  269. package/dist/cli/install-plan.d.ts.map +1 -0
  270. package/dist/cli/install-plan.js +105 -0
  271. package/dist/cli/install-plan.js.map +1 -0
  272. package/dist/cli/install-refusals.d.ts +11 -0
  273. package/dist/cli/install-refusals.d.ts.map +1 -0
  274. package/dist/cli/install-refusals.js +19 -0
  275. package/dist/cli/install-refusals.js.map +1 -0
  276. package/dist/cli/install-start.d.ts +64 -0
  277. package/dist/cli/install-start.d.ts.map +1 -0
  278. package/dist/cli/install-start.js +85 -0
  279. package/dist/cli/install-start.js.map +1 -0
  280. package/dist/cli/install-success.d.ts +17 -0
  281. package/dist/cli/install-success.d.ts.map +1 -0
  282. package/dist/cli/install-success.js +13 -0
  283. package/dist/cli/install-success.js.map +1 -0
  284. package/dist/cli/lfs-pointer-line.d.ts +9 -0
  285. package/dist/cli/lfs-pointer-line.d.ts.map +1 -0
  286. package/dist/cli/lfs-pointer-line.js +14 -0
  287. package/dist/cli/lfs-pointer-line.js.map +1 -0
  288. package/dist/cli/marketplace-add.d.ts +84 -0
  289. package/dist/cli/marketplace-add.d.ts.map +1 -0
  290. package/dist/cli/marketplace-add.js +127 -0
  291. package/dist/cli/marketplace-add.js.map +1 -0
  292. package/dist/cli/marketplace-list.d.ts +46 -0
  293. package/dist/cli/marketplace-list.d.ts.map +1 -0
  294. package/dist/cli/marketplace-list.js +76 -0
  295. package/dist/cli/marketplace-list.js.map +1 -0
  296. package/dist/cli/marketplace-remove.d.ts +69 -0
  297. package/dist/cli/marketplace-remove.d.ts.map +1 -0
  298. package/dist/cli/marketplace-remove.js +71 -0
  299. package/dist/cli/marketplace-remove.js.map +1 -0
  300. package/dist/cli/marketplace-update.d.ts +45 -0
  301. package/dist/cli/marketplace-update.d.ts.map +1 -0
  302. package/dist/cli/marketplace-update.js +59 -0
  303. package/dist/cli/marketplace-update.js.map +1 -0
  304. package/dist/cli/plugin-details.d.ts +38 -0
  305. package/dist/cli/plugin-details.d.ts.map +1 -0
  306. package/dist/cli/plugin-details.js +47 -0
  307. package/dist/cli/plugin-details.js.map +1 -0
  308. package/dist/cli/plugin-list.d.ts +77 -0
  309. package/dist/cli/plugin-list.d.ts.map +1 -0
  310. package/dist/cli/plugin-list.js +127 -0
  311. package/dist/cli/plugin-list.js.map +1 -0
  312. package/dist/cli/plugin-ref.d.ts +19 -0
  313. package/dist/cli/plugin-ref.d.ts.map +1 -0
  314. package/dist/cli/plugin-ref.js +25 -0
  315. package/dist/cli/plugin-ref.js.map +1 -0
  316. package/dist/cli/prune-plan.d.ts +39 -0
  317. package/dist/cli/prune-plan.d.ts.map +1 -0
  318. package/dist/cli/prune-plan.js +57 -0
  319. package/dist/cli/prune-plan.js.map +1 -0
  320. package/dist/cli/records-refusal.d.ts +11 -0
  321. package/dist/cli/records-refusal.d.ts.map +1 -0
  322. package/dist/cli/records-refusal.js +16 -0
  323. package/dist/cli/records-refusal.js.map +1 -0
  324. package/dist/cli/restore-set-aside.d.ts +38 -0
  325. package/dist/cli/restore-set-aside.d.ts.map +1 -0
  326. package/dist/cli/restore-set-aside.js +25 -0
  327. package/dist/cli/restore-set-aside.js.map +1 -0
  328. package/dist/cli/result.d.ts +81 -0
  329. package/dist/cli/result.d.ts.map +1 -0
  330. package/dist/cli/result.js +86 -0
  331. package/dist/cli/result.js.map +1 -0
  332. package/dist/cli/scope.d.ts +72 -0
  333. package/dist/cli/scope.d.ts.map +1 -0
  334. package/dist/cli/scope.js +105 -0
  335. package/dist/cli/scope.js.map +1 -0
  336. package/dist/cli/session-flags.d.ts +7 -0
  337. package/dist/cli/session-flags.d.ts.map +1 -0
  338. package/dist/cli/session-flags.js +92 -0
  339. package/dist/cli/session-flags.js.map +1 -0
  340. package/dist/cli/tag-plan.d.ts +50 -0
  341. package/dist/cli/tag-plan.d.ts.map +1 -0
  342. package/dist/cli/tag-plan.js +68 -0
  343. package/dist/cli/tag-plan.js.map +1 -0
  344. package/dist/cli/toggle-target.d.ts +43 -0
  345. package/dist/cli/toggle-target.d.ts.map +1 -0
  346. package/dist/cli/toggle-target.js +69 -0
  347. package/dist/cli/toggle-target.js.map +1 -0
  348. package/dist/cli/uninstall-data.d.ts +59 -0
  349. package/dist/cli/uninstall-data.d.ts.map +1 -0
  350. package/dist/cli/uninstall-data.js +44 -0
  351. package/dist/cli/uninstall-data.js.map +1 -0
  352. package/dist/cli/uninstall-flags.d.ts +10 -0
  353. package/dist/cli/uninstall-flags.d.ts.map +1 -0
  354. package/dist/cli/uninstall-flags.js +10 -0
  355. package/dist/cli/uninstall-flags.js.map +1 -0
  356. package/dist/cli/uninstall-plan.d.ts +88 -0
  357. package/dist/cli/uninstall-plan.d.ts.map +1 -0
  358. package/dist/cli/uninstall-plan.js +141 -0
  359. package/dist/cli/uninstall-plan.js.map +1 -0
  360. package/dist/cli/uninstall-refusal.d.ts +21 -0
  361. package/dist/cli/uninstall-refusal.d.ts.map +1 -0
  362. package/dist/cli/uninstall-refusal.js +17 -0
  363. package/dist/cli/uninstall-refusal.js.map +1 -0
  364. package/dist/cli/update-dependencies.d.ts +31 -0
  365. package/dist/cli/update-dependencies.d.ts.map +1 -0
  366. package/dist/cli/update-dependencies.js +35 -0
  367. package/dist/cli/update-dependencies.js.map +1 -0
  368. package/dist/cli/update-facts.d.ts +61 -0
  369. package/dist/cli/update-facts.d.ts.map +1 -0
  370. package/dist/cli/update-facts.js +2 -0
  371. package/dist/cli/update-facts.js.map +1 -0
  372. package/dist/cli/update-locate.d.ts +20 -0
  373. package/dist/cli/update-locate.d.ts.map +1 -0
  374. package/dist/cli/update-locate.js +53 -0
  375. package/dist/cli/update-locate.js.map +1 -0
  376. package/dist/cli/update-plan.d.ts +68 -0
  377. package/dist/cli/update-plan.d.ts.map +1 -0
  378. package/dist/cli/update-plan.js +141 -0
  379. package/dist/cli/update-plan.js.map +1 -0
  380. package/dist/cli/user-config-input.d.ts +34 -0
  381. package/dist/cli/user-config-input.d.ts.map +1 -0
  382. package/dist/cli/user-config-input.js +61 -0
  383. package/dist/cli/user-config-input.js.map +1 -0
  384. package/dist/cli/validate-advice.d.ts +25 -0
  385. package/dist/cli/validate-advice.d.ts.map +1 -0
  386. package/dist/cli/validate-advice.js +63 -0
  387. package/dist/cli/validate-advice.js.map +1 -0
  388. package/dist/cli/validate-lists.d.ts +66 -0
  389. package/dist/cli/validate-lists.d.ts.map +1 -0
  390. package/dist/cli/validate-lists.js +107 -0
  391. package/dist/cli/validate-lists.js.map +1 -0
  392. package/dist/cli/validate-run.d.ts +93 -0
  393. package/dist/cli/validate-run.d.ts.map +1 -0
  394. package/dist/cli/validate-run.js +123 -0
  395. package/dist/cli/validate-run.js.map +1 -0
  396. package/dist/convert/adapters/claude-code-runner-source.d.ts +14 -0
  397. package/dist/convert/adapters/claude-code-runner-source.d.ts.map +1 -0
  398. package/dist/convert/adapters/claude-code-runner-source.js +167 -0
  399. package/dist/convert/adapters/claude-code-runner-source.js.map +1 -0
  400. package/dist/convert/adapters/core-profiles-source.d.ts +13 -0
  401. package/dist/convert/adapters/core-profiles-source.d.ts.map +1 -0
  402. package/dist/convert/adapters/core-profiles-source.js +163 -0
  403. package/dist/convert/adapters/core-profiles-source.js.map +1 -0
  404. package/dist/convert/adapters/core-runner-source.d.ts +12 -0
  405. package/dist/convert/adapters/core-runner-source.d.ts.map +1 -0
  406. package/dist/convert/adapters/core-runner-source.js +162 -0
  407. package/dist/convert/adapters/core-runner-source.js.map +1 -0
  408. package/dist/convert/adapters/registration.d.ts +40 -0
  409. package/dist/convert/adapters/registration.d.ts.map +1 -0
  410. package/dist/convert/adapters/registration.js +116 -0
  411. package/dist/convert/adapters/registration.js.map +1 -0
  412. package/dist/convert/adapters/sources.d.ts +14 -0
  413. package/dist/convert/adapters/sources.d.ts.map +1 -0
  414. package/dist/convert/adapters/sources.js +46 -0
  415. package/dist/convert/adapters/sources.js.map +1 -0
  416. package/dist/convert/convert-package.d.ts +19 -0
  417. package/dist/convert/convert-package.d.ts.map +1 -0
  418. package/dist/convert/convert-package.js +76 -0
  419. package/dist/convert/convert-package.js.map +1 -0
  420. package/dist/convert/index.d.ts +6 -0
  421. package/dist/convert/index.d.ts.map +1 -0
  422. package/dist/convert/index.js +6 -0
  423. package/dist/convert/index.js.map +1 -0
  424. package/dist/convert/judge.d.ts +20 -0
  425. package/dist/convert/judge.d.ts.map +1 -0
  426. package/dist/convert/judge.js +30 -0
  427. package/dist/convert/judge.js.map +1 -0
  428. package/dist/convert/namespaces.d.ts +5 -0
  429. package/dist/convert/namespaces.d.ts.map +1 -0
  430. package/dist/convert/namespaces.js +48 -0
  431. package/dist/convert/namespaces.js.map +1 -0
  432. package/dist/convert/notes.d.ts +10 -0
  433. package/dist/convert/notes.d.ts.map +1 -0
  434. package/dist/convert/notes.js +33 -0
  435. package/dist/convert/notes.js.map +1 -0
  436. package/dist/convert/overlay.d.ts +4 -0
  437. package/dist/convert/overlay.d.ts.map +1 -0
  438. package/dist/convert/overlay.js +60 -0
  439. package/dist/convert/overlay.js.map +1 -0
  440. package/dist/convert/placeholders.d.ts +19 -0
  441. package/dist/convert/placeholders.d.ts.map +1 -0
  442. package/dist/convert/placeholders.js +60 -0
  443. package/dist/convert/placeholders.js.map +1 -0
  444. package/dist/convert/profiles.d.ts +16 -0
  445. package/dist/convert/profiles.d.ts.map +1 -0
  446. package/dist/convert/profiles.js +35 -0
  447. package/dist/convert/profiles.js.map +1 -0
  448. package/dist/convert/skill-body.d.ts +3 -0
  449. package/dist/convert/skill-body.d.ts.map +1 -0
  450. package/dist/convert/skill-body.js +32 -0
  451. package/dist/convert/skill-body.js.map +1 -0
  452. package/dist/convert/to-claude-code/hooks.d.ts +25 -0
  453. package/dist/convert/to-claude-code/hooks.d.ts.map +1 -0
  454. package/dist/convert/to-claude-code/hooks.js +94 -0
  455. package/dist/convert/to-claude-code/hooks.js.map +1 -0
  456. package/dist/convert/to-claude-code/index.d.ts +10 -0
  457. package/dist/convert/to-claude-code/index.d.ts.map +1 -0
  458. package/dist/convert/to-claude-code/index.js +34 -0
  459. package/dist/convert/to-claude-code/index.js.map +1 -0
  460. package/dist/convert/to-claude-code/manifest.d.ts +19 -0
  461. package/dist/convert/to-claude-code/manifest.d.ts.map +1 -0
  462. package/dist/convert/to-claude-code/manifest.js +51 -0
  463. package/dist/convert/to-claude-code/manifest.js.map +1 -0
  464. package/dist/convert/to-claude-code/mcp.d.ts +20 -0
  465. package/dist/convert/to-claude-code/mcp.d.ts.map +1 -0
  466. package/dist/convert/to-claude-code/mcp.js +69 -0
  467. package/dist/convert/to-claude-code/mcp.js.map +1 -0
  468. package/dist/convert/to-claude-code/skills.d.ts +9 -0
  469. package/dist/convert/to-claude-code/skills.d.ts.map +1 -0
  470. package/dist/convert/to-claude-code/skills.js +19 -0
  471. package/dist/convert/to-claude-code/skills.js.map +1 -0
  472. package/dist/convert/to-core/components.d.ts +19 -0
  473. package/dist/convert/to-core/components.d.ts.map +1 -0
  474. package/dist/convert/to-core/components.js +31 -0
  475. package/dist/convert/to-core/components.js.map +1 -0
  476. package/dist/convert/to-core/hook-matchers.d.ts +17 -0
  477. package/dist/convert/to-core/hook-matchers.d.ts.map +1 -0
  478. package/dist/convert/to-core/hook-matchers.js +35 -0
  479. package/dist/convert/to-core/hook-matchers.js.map +1 -0
  480. package/dist/convert/to-core/hooks.d.ts +24 -0
  481. package/dist/convert/to-core/hooks.d.ts.map +1 -0
  482. package/dist/convert/to-core/hooks.js +118 -0
  483. package/dist/convert/to-core/hooks.js.map +1 -0
  484. package/dist/convert/to-core/index.d.ts +17 -0
  485. package/dist/convert/to-core/index.d.ts.map +1 -0
  486. package/dist/convert/to-core/index.js +37 -0
  487. package/dist/convert/to-core/index.js.map +1 -0
  488. package/dist/convert/to-core/manifest.d.ts +16 -0
  489. package/dist/convert/to-core/manifest.d.ts.map +1 -0
  490. package/dist/convert/to-core/manifest.js +29 -0
  491. package/dist/convert/to-core/manifest.js.map +1 -0
  492. package/dist/convert/to-core/mcp.d.ts +22 -0
  493. package/dist/convert/to-core/mcp.d.ts.map +1 -0
  494. package/dist/convert/to-core/mcp.js +100 -0
  495. package/dist/convert/to-core/mcp.js.map +1 -0
  496. package/dist/convert/to-core/skills.d.ts +4 -0
  497. package/dist/convert/to-core/skills.d.ts.map +1 -0
  498. package/dist/convert/to-core/skills.js +43 -0
  499. package/dist/convert/to-core/skills.js.map +1 -0
  500. package/dist/convert/types.d.ts +45 -0
  501. package/dist/convert/types.d.ts.map +1 -0
  502. package/dist/convert/types.js +13 -0
  503. package/dist/convert/types.js.map +1 -0
  504. package/dist/entry/agents.d.ts +8 -0
  505. package/dist/entry/agents.d.ts.map +1 -0
  506. package/dist/entry/agents.js +8 -0
  507. package/dist/entry/agents.js.map +1 -0
  508. package/dist/entry/cli.d.ts +3 -0
  509. package/dist/entry/cli.d.ts.map +1 -0
  510. package/dist/entry/cli.js +3 -0
  511. package/dist/entry/cli.js.map +1 -0
  512. package/dist/entry/core.d.ts +5 -0
  513. package/dist/entry/core.d.ts.map +1 -0
  514. package/dist/entry/core.js +5 -0
  515. package/dist/entry/core.js.map +1 -0
  516. package/dist/entry/elicitation.d.ts +3 -0
  517. package/dist/entry/elicitation.d.ts.map +1 -0
  518. package/dist/entry/elicitation.js +3 -0
  519. package/dist/entry/elicitation.js.map +1 -0
  520. package/dist/entry/format.d.ts +7 -0
  521. package/dist/entry/format.d.ts.map +1 -0
  522. package/dist/entry/format.js +7 -0
  523. package/dist/entry/format.js.map +1 -0
  524. package/dist/entry/hooks.d.ts +7 -0
  525. package/dist/entry/hooks.d.ts.map +1 -0
  526. package/dist/entry/hooks.js +5 -0
  527. package/dist/entry/hooks.js.map +1 -0
  528. package/dist/entry/layout.d.ts +3 -0
  529. package/dist/entry/layout.d.ts.map +1 -0
  530. package/dist/entry/layout.js +3 -0
  531. package/dist/entry/layout.js.map +1 -0
  532. package/dist/entry/loading.d.ts +3 -0
  533. package/dist/entry/loading.d.ts.map +1 -0
  534. package/dist/entry/loading.js +3 -0
  535. package/dist/entry/loading.js.map +1 -0
  536. package/dist/entry/marketplace.d.ts +6 -0
  537. package/dist/entry/marketplace.d.ts.map +1 -0
  538. package/dist/entry/marketplace.js +5 -0
  539. package/dist/entry/marketplace.js.map +1 -0
  540. package/dist/entry/mod-elements.d.ts +9 -0
  541. package/dist/entry/mod-elements.d.ts.map +1 -0
  542. package/dist/entry/mod-elements.js +9 -0
  543. package/dist/entry/mod-elements.js.map +1 -0
  544. package/dist/entry/mod-isolate.d.ts +19 -0
  545. package/dist/entry/mod-isolate.d.ts.map +1 -0
  546. package/dist/entry/mod-isolate.js +19 -0
  547. package/dist/entry/mod-isolate.js.map +1 -0
  548. package/dist/entry/mods.d.ts +11 -0
  549. package/dist/entry/mods.d.ts.map +1 -0
  550. package/dist/entry/mods.js +12 -0
  551. package/dist/entry/mods.js.map +1 -0
  552. package/dist/entry/rules.d.ts +4 -0
  553. package/dist/entry/rules.d.ts.map +1 -0
  554. package/dist/entry/rules.js +4 -0
  555. package/dist/entry/rules.js.map +1 -0
  556. package/dist/entry/sdk.d.ts +5 -0
  557. package/dist/entry/sdk.d.ts.map +1 -0
  558. package/dist/entry/sdk.js +4 -0
  559. package/dist/entry/sdk.js.map +1 -0
  560. package/dist/entry/settings.d.ts +15 -0
  561. package/dist/entry/settings.d.ts.map +1 -0
  562. package/dist/entry/settings.js +15 -0
  563. package/dist/entry/settings.js.map +1 -0
  564. package/dist/entry/skills.d.ts +3 -0
  565. package/dist/entry/skills.d.ts.map +1 -0
  566. package/dist/entry/skills.js +3 -0
  567. package/dist/entry/skills.js.map +1 -0
  568. package/dist/format/add-dir-gate.d.ts +27 -0
  569. package/dist/format/add-dir-gate.d.ts.map +1 -0
  570. package/dist/format/add-dir-gate.js +16 -0
  571. package/dist/format/add-dir-gate.js.map +1 -0
  572. package/dist/format/agent-field-read.d.ts +26 -0
  573. package/dist/format/agent-field-read.d.ts.map +1 -0
  574. package/dist/format/agent-field-read.js +27 -0
  575. package/dist/format/agent-field-read.js.map +1 -0
  576. package/dist/format/agent-fields.d.ts +64 -0
  577. package/dist/format/agent-fields.d.ts.map +1 -0
  578. package/dist/format/agent-fields.js +117 -0
  579. package/dist/format/agent-fields.js.map +1 -0
  580. package/dist/format/agent-flag.d.ts +16 -0
  581. package/dist/format/agent-flag.d.ts.map +1 -0
  582. package/dist/format/agent-flag.js +111 -0
  583. package/dist/format/agent-flag.js.map +1 -0
  584. package/dist/format/agent-hooks-field.d.ts +10 -0
  585. package/dist/format/agent-hooks-field.d.ts.map +1 -0
  586. package/dist/format/agent-hooks-field.js +16 -0
  587. package/dist/format/agent-hooks-field.js.map +1 -0
  588. package/dist/format/agent-name.d.ts +26 -0
  589. package/dist/format/agent-name.d.ts.map +1 -0
  590. package/dist/format/agent-name.js +53 -0
  591. package/dist/format/agent-name.js.map +1 -0
  592. package/dist/format/agent-record.d.ts +84 -0
  593. package/dist/format/agent-record.d.ts.map +1 -0
  594. package/dist/format/agent-record.js +6 -0
  595. package/dist/format/agent-record.js.map +1 -0
  596. package/dist/format/agent-scalars.d.ts +50 -0
  597. package/dist/format/agent-scalars.d.ts.map +1 -0
  598. package/dist/format/agent-scalars.js +106 -0
  599. package/dist/format/agent-scalars.js.map +1 -0
  600. package/dist/format/agent-unrecognized.d.ts +8 -0
  601. package/dist/format/agent-unrecognized.d.ts.map +1 -0
  602. package/dist/format/agent-unrecognized.js +47 -0
  603. package/dist/format/agent-unrecognized.js.map +1 -0
  604. package/dist/format/agent.d.ts +19 -0
  605. package/dist/format/agent.d.ts.map +1 -0
  606. package/dist/format/agent.js +140 -0
  607. package/dist/format/agent.js.map +1 -0
  608. package/dist/format/bundled-skill.d.ts +29 -0
  609. package/dist/format/bundled-skill.d.ts.map +1 -0
  610. package/dist/format/bundled-skill.js +26 -0
  611. package/dist/format/bundled-skill.js.map +1 -0
  612. package/dist/format/canonical-json.d.ts +8 -0
  613. package/dist/format/canonical-json.d.ts.map +1 -0
  614. package/dist/format/canonical-json.js +21 -0
  615. package/dist/format/canonical-json.js.map +1 -0
  616. package/dist/format/code-points.d.ts +7 -0
  617. package/dist/format/code-points.d.ts.map +1 -0
  618. package/dist/format/code-points.js +12 -0
  619. package/dist/format/code-points.js.map +1 -0
  620. package/dist/format/command.d.ts +37 -0
  621. package/dist/format/command.d.ts.map +1 -0
  622. package/dist/format/command.js +141 -0
  623. package/dist/format/command.js.map +1 -0
  624. package/dist/format/component-source.d.ts +18 -0
  625. package/dist/format/component-source.d.ts.map +1 -0
  626. package/dist/format/component-source.js +9 -0
  627. package/dist/format/component-source.js.map +1 -0
  628. package/dist/format/config-directory.d.ts +31 -0
  629. package/dist/format/config-directory.d.ts.map +1 -0
  630. package/dist/format/config-directory.js +19 -0
  631. package/dist/format/config-directory.js.map +1 -0
  632. package/dist/format/core/command.d.ts +5 -0
  633. package/dist/format/core/command.d.ts.map +1 -0
  634. package/dist/format/core/command.js +39 -0
  635. package/dist/format/core/command.js.map +1 -0
  636. package/dist/format/core/document.d.ts +14 -0
  637. package/dist/format/core/document.d.ts.map +1 -0
  638. package/dist/format/core/document.js +36 -0
  639. package/dist/format/core/document.js.map +1 -0
  640. package/dist/format/core/dual.d.ts +16 -0
  641. package/dist/format/core/dual.d.ts.map +1 -0
  642. package/dist/format/core/dual.js +84 -0
  643. package/dist/format/core/dual.js.map +1 -0
  644. package/dist/format/core/extensions.d.ts +16 -0
  645. package/dist/format/core/extensions.d.ts.map +1 -0
  646. package/dist/format/core/extensions.js +19 -0
  647. package/dist/format/core/extensions.js.map +1 -0
  648. package/dist/format/core/hooks.d.ts +36 -0
  649. package/dist/format/core/hooks.d.ts.map +1 -0
  650. package/dist/format/core/hooks.js +108 -0
  651. package/dist/format/core/hooks.js.map +1 -0
  652. package/dist/format/core/icon.d.ts +7 -0
  653. package/dist/format/core/icon.d.ts.map +1 -0
  654. package/dist/format/core/icon.js +25 -0
  655. package/dist/format/core/icon.js.map +1 -0
  656. package/dist/format/core/index.d.ts +16 -0
  657. package/dist/format/core/index.d.ts.map +1 -0
  658. package/dist/format/core/index.js +16 -0
  659. package/dist/format/core/index.js.map +1 -0
  660. package/dist/format/core/manifest.d.ts +43 -0
  661. package/dist/format/core/manifest.d.ts.map +1 -0
  662. package/dist/format/core/manifest.js +119 -0
  663. package/dist/format/core/manifest.js.map +1 -0
  664. package/dist/format/core/mcp-server.d.ts +32 -0
  665. package/dist/format/core/mcp-server.d.ts.map +1 -0
  666. package/dist/format/core/mcp-server.js +116 -0
  667. package/dist/format/core/mcp-server.js.map +1 -0
  668. package/dist/format/core/mcp.d.ts +24 -0
  669. package/dist/format/core/mcp.d.ts.map +1 -0
  670. package/dist/format/core/mcp.js +33 -0
  671. package/dist/format/core/mcp.js.map +1 -0
  672. package/dist/format/core/name.d.ts +8 -0
  673. package/dist/format/core/name.d.ts.map +1 -0
  674. package/dist/format/core/name.js +24 -0
  675. package/dist/format/core/name.js.map +1 -0
  676. package/dist/format/core/placeholders.d.ts +39 -0
  677. package/dist/format/core/placeholders.d.ts.map +1 -0
  678. package/dist/format/core/placeholders.js +43 -0
  679. package/dist/format/core/placeholders.js.map +1 -0
  680. package/dist/format/core/remote.d.ts +5 -0
  681. package/dist/format/core/remote.d.ts.map +1 -0
  682. package/dist/format/core/remote.js +70 -0
  683. package/dist/format/core/remote.js.map +1 -0
  684. package/dist/format/core/skill.d.ts +21 -0
  685. package/dist/format/core/skill.d.ts.map +1 -0
  686. package/dist/format/core/skill.js +53 -0
  687. package/dist/format/core/skill.js.map +1 -0
  688. package/dist/format/core/subprocess.d.ts +39 -0
  689. package/dist/format/core/subprocess.d.ts.map +1 -0
  690. package/dist/format/core/subprocess.js +61 -0
  691. package/dist/format/core/subprocess.js.map +1 -0
  692. package/dist/format/core/versions.d.ts +29 -0
  693. package/dist/format/core/versions.d.ts.map +1 -0
  694. package/dist/format/core/versions.js +35 -0
  695. package/dist/format/core/versions.js.map +1 -0
  696. package/dist/format/credential-env.d.ts +35 -0
  697. package/dist/format/credential-env.d.ts.map +1 -0
  698. package/dist/format/credential-env.js +137 -0
  699. package/dist/format/credential-env.js.map +1 -0
  700. package/dist/format/defined.d.ts +9 -0
  701. package/dist/format/defined.d.ts.map +1 -0
  702. package/dist/format/defined.js +17 -0
  703. package/dist/format/defined.js.map +1 -0
  704. package/dist/format/engines.d.ts +63 -0
  705. package/dist/format/engines.d.ts.map +1 -0
  706. package/dist/format/engines.js +78 -0
  707. package/dist/format/engines.js.map +1 -0
  708. package/dist/format/env-flag.d.ts +11 -0
  709. package/dist/format/env-flag.d.ts.map +1 -0
  710. package/dist/format/env-flag.js +14 -0
  711. package/dist/format/env-flag.js.map +1 -0
  712. package/dist/format/env-number.d.ts +15 -0
  713. package/dist/format/env-number.d.ts.map +1 -0
  714. package/dist/format/env-number.js +34 -0
  715. package/dist/format/env-number.js.map +1 -0
  716. package/dist/format/frontmatter-render.d.ts +39 -0
  717. package/dist/format/frontmatter-render.d.ts.map +1 -0
  718. package/dist/format/frontmatter-render.js +77 -0
  719. package/dist/format/frontmatter-render.js.map +1 -0
  720. package/dist/format/frontmatter-values.d.ts +49 -0
  721. package/dist/format/frontmatter-values.d.ts.map +1 -0
  722. package/dist/format/frontmatter-values.js +124 -0
  723. package/dist/format/frontmatter-values.js.map +1 -0
  724. package/dist/format/frontmatter-write.d.ts +23 -0
  725. package/dist/format/frontmatter-write.d.ts.map +1 -0
  726. package/dist/format/frontmatter-write.js +63 -0
  727. package/dist/format/frontmatter-write.js.map +1 -0
  728. package/dist/format/frontmatter.d.ts +54 -0
  729. package/dist/format/frontmatter.d.ts.map +1 -0
  730. package/dist/format/frontmatter.js +132 -0
  731. package/dist/format/frontmatter.js.map +1 -0
  732. package/dist/format/helper-credentials.d.ts +3 -0
  733. package/dist/format/helper-credentials.d.ts.map +1 -0
  734. package/dist/format/helper-credentials.js +45 -0
  735. package/dist/format/helper-credentials.js.map +1 -0
  736. package/dist/format/helper-headers.d.ts +16 -0
  737. package/dist/format/helper-headers.d.ts.map +1 -0
  738. package/dist/format/helper-headers.js +20 -0
  739. package/dist/format/helper-headers.js.map +1 -0
  740. package/dist/format/hooks-handlers.d.ts +10 -0
  741. package/dist/format/hooks-handlers.d.ts.map +1 -0
  742. package/dist/format/hooks-handlers.js +117 -0
  743. package/dist/format/hooks-handlers.js.map +1 -0
  744. package/dist/format/hooks-settings.d.ts +40 -0
  745. package/dist/format/hooks-settings.d.ts.map +1 -0
  746. package/dist/format/hooks-settings.js +174 -0
  747. package/dist/format/hooks-settings.js.map +1 -0
  748. package/dist/format/host-errors.d.ts +94 -0
  749. package/dist/format/host-errors.d.ts.map +1 -0
  750. package/dist/format/host-errors.js +107 -0
  751. package/dist/format/host-errors.js.map +1 -0
  752. package/dist/format/index.d.ts +48 -0
  753. package/dist/format/index.d.ts.map +1 -0
  754. package/dist/format/index.js +42 -0
  755. package/dist/format/index.js.map +1 -0
  756. package/dist/format/issues.d.ts +23 -0
  757. package/dist/format/issues.d.ts.map +1 -0
  758. package/dist/format/issues.js +20 -0
  759. package/dist/format/issues.js.map +1 -0
  760. package/dist/format/js-literal.d.ts +39 -0
  761. package/dist/format/js-literal.d.ts.map +1 -0
  762. package/dist/format/js-literal.js +159 -0
  763. package/dist/format/js-literal.js.map +1 -0
  764. package/dist/format/js-parse.d.ts +25 -0
  765. package/dist/format/js-parse.d.ts.map +1 -0
  766. package/dist/format/js-parse.js +31 -0
  767. package/dist/format/js-parse.js.map +1 -0
  768. package/dist/format/js-tokens.d.ts +37 -0
  769. package/dist/format/js-tokens.d.ts.map +1 -0
  770. package/dist/format/js-tokens.js +270 -0
  771. package/dist/format/js-tokens.js.map +1 -0
  772. package/dist/format/layout.d.ts +49 -0
  773. package/dist/format/layout.d.ts.map +1 -0
  774. package/dist/format/layout.js +159 -0
  775. package/dist/format/layout.js.map +1 -0
  776. package/dist/format/link-rule.d.ts +21 -0
  777. package/dist/format/link-rule.d.ts.map +1 -0
  778. package/dist/format/link-rule.js +27 -0
  779. package/dist/format/link-rule.js.map +1 -0
  780. package/dist/format/listing.d.ts +10 -0
  781. package/dist/format/listing.d.ts.map +1 -0
  782. package/dist/format/listing.js +16 -0
  783. package/dist/format/listing.js.map +1 -0
  784. package/dist/format/load-files.d.ts +11 -0
  785. package/dist/format/load-files.d.ts.map +1 -0
  786. package/dist/format/load-files.js +30 -0
  787. package/dist/format/load-files.js.map +1 -0
  788. package/dist/format/locate.d.ts +47 -0
  789. package/dist/format/locate.d.ts.map +1 -0
  790. package/dist/format/locate.js +74 -0
  791. package/dist/format/locate.js.map +1 -0
  792. package/dist/format/lsp-config.d.ts +69 -0
  793. package/dist/format/lsp-config.d.ts.map +1 -0
  794. package/dist/format/lsp-config.js +74 -0
  795. package/dist/format/lsp-config.js.map +1 -0
  796. package/dist/format/lsp-schema.d.ts +73 -0
  797. package/dist/format/lsp-schema.d.ts.map +1 -0
  798. package/dist/format/lsp-schema.js +55 -0
  799. package/dist/format/lsp-schema.js.map +1 -0
  800. package/dist/format/manifest-schema.d.ts +354 -0
  801. package/dist/format/manifest-schema.d.ts.map +1 -0
  802. package/dist/format/manifest-schema.js +122 -0
  803. package/dist/format/manifest-schema.js.map +1 -0
  804. package/dist/format/manifest.d.ts +23 -0
  805. package/dist/format/manifest.d.ts.map +1 -0
  806. package/dist/format/manifest.js +148 -0
  807. package/dist/format/manifest.js.map +1 -0
  808. package/dist/format/marketplace/archive-url.d.ts +4 -0
  809. package/dist/format/marketplace/archive-url.d.ts.map +1 -0
  810. package/dist/format/marketplace/archive-url.js +27 -0
  811. package/dist/format/marketplace/archive-url.js.map +1 -0
  812. package/dist/format/marketplace/blocked-hosts.d.ts +11 -0
  813. package/dist/format/marketplace/blocked-hosts.d.ts.map +1 -0
  814. package/dist/format/marketplace/blocked-hosts.js +79 -0
  815. package/dist/format/marketplace/blocked-hosts.js.map +1 -0
  816. package/dist/format/marketplace/display-fields.d.ts +19 -0
  817. package/dist/format/marketplace/display-fields.d.ts.map +1 -0
  818. package/dist/format/marketplace/display-fields.js +32 -0
  819. package/dist/format/marketplace/display-fields.js.map +1 -0
  820. package/dist/format/marketplace/entries.d.ts +20 -0
  821. package/dist/format/marketplace/entries.d.ts.map +1 -0
  822. package/dist/format/marketplace/entries.js +167 -0
  823. package/dist/format/marketplace/entries.js.map +1 -0
  824. package/dist/format/marketplace/entry-append.d.ts +31 -0
  825. package/dist/format/marketplace/entry-append.d.ts.map +1 -0
  826. package/dist/format/marketplace/entry-append.js +44 -0
  827. package/dist/format/marketplace/entry-append.js.map +1 -0
  828. package/dist/format/marketplace/entry-checks.d.ts +44 -0
  829. package/dist/format/marketplace/entry-checks.d.ts.map +1 -0
  830. package/dist/format/marketplace/entry-checks.js +123 -0
  831. package/dist/format/marketplace/entry-checks.js.map +1 -0
  832. package/dist/format/marketplace/entry-display.d.ts +22 -0
  833. package/dist/format/marketplace/entry-display.d.ts.map +1 -0
  834. package/dist/format/marketplace/entry-display.js +60 -0
  835. package/dist/format/marketplace/entry-display.js.map +1 -0
  836. package/dist/format/marketplace/entry-merge.d.ts +41 -0
  837. package/dist/format/marketplace/entry-merge.d.ts.map +1 -0
  838. package/dist/format/marketplace/entry-merge.js +143 -0
  839. package/dist/format/marketplace/entry-merge.js.map +1 -0
  840. package/dist/format/marketplace/entry-schema.d.ts +143 -0
  841. package/dist/format/marketplace/entry-schema.d.ts.map +1 -0
  842. package/dist/format/marketplace/entry-schema.js +89 -0
  843. package/dist/format/marketplace/entry-schema.js.map +1 -0
  844. package/dist/format/marketplace/header-names.d.ts +3 -0
  845. package/dist/format/marketplace/header-names.d.ts.map +1 -0
  846. package/dist/format/marketplace/header-names.js +40 -0
  847. package/dist/format/marketplace/header-names.js.map +1 -0
  848. package/dist/format/marketplace/ids.d.ts +30 -0
  849. package/dist/format/marketplace/ids.d.ts.map +1 -0
  850. package/dist/format/marketplace/ids.js +80 -0
  851. package/dist/format/marketplace/ids.js.map +1 -0
  852. package/dist/format/marketplace/index.d.ts +16 -0
  853. package/dist/format/marketplace/index.d.ts.map +1 -0
  854. package/dist/format/marketplace/index.js +16 -0
  855. package/dist/format/marketplace/index.js.map +1 -0
  856. package/dist/format/marketplace/marketplace-name-lists.d.ts +23 -0
  857. package/dist/format/marketplace/marketplace-name-lists.d.ts.map +1 -0
  858. package/dist/format/marketplace/marketplace-name-lists.js +60 -0
  859. package/dist/format/marketplace/marketplace-name-lists.js.map +1 -0
  860. package/dist/format/marketplace/marketplace-names.d.ts +31 -0
  861. package/dist/format/marketplace/marketplace-names.d.ts.map +1 -0
  862. package/dist/format/marketplace/marketplace-names.js +200 -0
  863. package/dist/format/marketplace/marketplace-names.js.map +1 -0
  864. package/dist/format/marketplace/marketplace-schema.d.ts +50 -0
  865. package/dist/format/marketplace/marketplace-schema.d.ts.map +1 -0
  866. package/dist/format/marketplace/marketplace-schema.js +193 -0
  867. package/dist/format/marketplace/marketplace-schema.js.map +1 -0
  868. package/dist/format/marketplace/marketplace-source.d.ts +23 -0
  869. package/dist/format/marketplace/marketplace-source.d.ts.map +1 -0
  870. package/dist/format/marketplace/marketplace-source.js +200 -0
  871. package/dist/format/marketplace/marketplace-source.js.map +1 -0
  872. package/dist/format/marketplace/marketplace.d.ts +39 -0
  873. package/dist/format/marketplace/marketplace.d.ts.map +1 -0
  874. package/dist/format/marketplace/marketplace.js +138 -0
  875. package/dist/format/marketplace/marketplace.js.map +1 -0
  876. package/dist/format/marketplace/plugin-source-fields.d.ts +46 -0
  877. package/dist/format/marketplace/plugin-source-fields.d.ts.map +1 -0
  878. package/dist/format/marketplace/plugin-source-fields.js +63 -0
  879. package/dist/format/marketplace/plugin-source-fields.js.map +1 -0
  880. package/dist/format/marketplace/plugin-source-kinds.d.ts +23 -0
  881. package/dist/format/marketplace/plugin-source-kinds.d.ts.map +1 -0
  882. package/dist/format/marketplace/plugin-source-kinds.js +116 -0
  883. package/dist/format/marketplace/plugin-source-kinds.js.map +1 -0
  884. package/dist/format/marketplace/plugin-source.d.ts +5 -0
  885. package/dist/format/marketplace/plugin-source.d.ts.map +1 -0
  886. package/dist/format/marketplace/plugin-source.js +95 -0
  887. package/dist/format/marketplace/plugin-source.js.map +1 -0
  888. package/dist/format/marketplace/relevance.d.ts +18 -0
  889. package/dist/format/marketplace/relevance.d.ts.map +1 -0
  890. package/dist/format/marketplace/relevance.js +89 -0
  891. package/dist/format/marketplace/relevance.js.map +1 -0
  892. package/dist/format/marketplace/renames.d.ts +37 -0
  893. package/dist/format/marketplace/renames.d.ts.map +1 -0
  894. package/dist/format/marketplace/renames.js +44 -0
  895. package/dist/format/marketplace/renames.js.map +1 -0
  896. package/dist/format/marketplace/schema-issues.d.ts +5 -0
  897. package/dist/format/marketplace/schema-issues.d.ts.map +1 -0
  898. package/dist/format/marketplace/schema-issues.js +17 -0
  899. package/dist/format/marketplace/schema-issues.js.map +1 -0
  900. package/dist/format/marketplace/settings-source-plugins.d.ts +8 -0
  901. package/dist/format/marketplace/settings-source-plugins.d.ts.map +1 -0
  902. package/dist/format/marketplace/settings-source-plugins.js +86 -0
  903. package/dist/format/marketplace/settings-source-plugins.js.map +1 -0
  904. package/dist/format/marketplace/source-failures.d.ts +12 -0
  905. package/dist/format/marketplace/source-failures.d.ts.map +1 -0
  906. package/dist/format/marketplace/source-failures.js +12 -0
  907. package/dist/format/marketplace/source-failures.js.map +1 -0
  908. package/dist/format/marketplace/types.d.ts +226 -0
  909. package/dist/format/marketplace/types.d.ts.map +1 -0
  910. package/dist/format/marketplace/types.js +30 -0
  911. package/dist/format/marketplace/types.js.map +1 -0
  912. package/dist/format/mcp-add-json.d.ts +67 -0
  913. package/dist/format/mcp-add-json.d.ts.map +1 -0
  914. package/dist/format/mcp-add-json.js +153 -0
  915. package/dist/format/mcp-add-json.js.map +1 -0
  916. package/dist/format/mcp-add.d.ts +11 -0
  917. package/dist/format/mcp-add.d.ts.map +1 -0
  918. package/dist/format/mcp-add.js +213 -0
  919. package/dist/format/mcp-add.js.map +1 -0
  920. package/dist/format/mcp-bundles.d.ts +35 -0
  921. package/dist/format/mcp-bundles.d.ts.map +1 -0
  922. package/dist/format/mcp-bundles.js +82 -0
  923. package/dist/format/mcp-bundles.js.map +1 -0
  924. package/dist/format/mcp-config.d.ts +78 -0
  925. package/dist/format/mcp-config.d.ts.map +1 -0
  926. package/dist/format/mcp-config.js +149 -0
  927. package/dist/format/mcp-config.js.map +1 -0
  928. package/dist/format/mcp-contract.d.ts +21 -0
  929. package/dist/format/mcp-contract.d.ts.map +1 -0
  930. package/dist/format/mcp-contract.js +21 -0
  931. package/dist/format/mcp-contract.js.map +1 -0
  932. package/dist/format/mcp-elicitation-check.d.ts +4 -0
  933. package/dist/format/mcp-elicitation-check.d.ts.map +1 -0
  934. package/dist/format/mcp-elicitation-check.js +89 -0
  935. package/dist/format/mcp-elicitation-check.js.map +1 -0
  936. package/dist/format/mcp-elicitation-form.d.ts +48 -0
  937. package/dist/format/mcp-elicitation-form.d.ts.map +1 -0
  938. package/dist/format/mcp-elicitation-form.js +108 -0
  939. package/dist/format/mcp-elicitation-form.js.map +1 -0
  940. package/dist/format/mcp-elicitation.d.ts +74 -0
  941. package/dist/format/mcp-elicitation.d.ts.map +1 -0
  942. package/dist/format/mcp-elicitation.js +90 -0
  943. package/dist/format/mcp-elicitation.js.map +1 -0
  944. package/dist/format/mcp-endpoint.d.ts +4 -0
  945. package/dist/format/mcp-endpoint.d.ts.map +1 -0
  946. package/dist/format/mcp-endpoint.js +29 -0
  947. package/dist/format/mcp-endpoint.js.map +1 -0
  948. package/dist/format/mcp-env.d.ts +117 -0
  949. package/dist/format/mcp-env.d.ts.map +1 -0
  950. package/dist/format/mcp-env.js +175 -0
  951. package/dist/format/mcp-env.js.map +1 -0
  952. package/dist/format/mcp-knobs.d.ts +88 -0
  953. package/dist/format/mcp-knobs.d.ts.map +1 -0
  954. package/dist/format/mcp-knobs.js +171 -0
  955. package/dist/format/mcp-knobs.js.map +1 -0
  956. package/dist/format/mcp-oauth-schema.d.ts +8 -0
  957. package/dist/format/mcp-oauth-schema.d.ts.map +1 -0
  958. package/dist/format/mcp-oauth-schema.js +17 -0
  959. package/dist/format/mcp-oauth-schema.js.map +1 -0
  960. package/dist/format/mcp-oauth.d.ts +106 -0
  961. package/dist/format/mcp-oauth.d.ts.map +1 -0
  962. package/dist/format/mcp-oauth.js +146 -0
  963. package/dist/format/mcp-oauth.js.map +1 -0
  964. package/dist/format/mcp-output.d.ts +72 -0
  965. package/dist/format/mcp-output.d.ts.map +1 -0
  966. package/dist/format/mcp-output.js +140 -0
  967. package/dist/format/mcp-output.js.map +1 -0
  968. package/dist/format/mcp-plugin-display.d.ts +18 -0
  969. package/dist/format/mcp-plugin-display.d.ts.map +1 -0
  970. package/dist/format/mcp-plugin-display.js +35 -0
  971. package/dist/format/mcp-plugin-display.js.map +1 -0
  972. package/dist/format/mcp-prompts.d.ts +47 -0
  973. package/dist/format/mcp-prompts.d.ts.map +1 -0
  974. package/dist/format/mcp-prompts.js +45 -0
  975. package/dist/format/mcp-prompts.js.map +1 -0
  976. package/dist/format/mcp-reload.d.ts +41 -0
  977. package/dist/format/mcp-reload.d.ts.map +1 -0
  978. package/dist/format/mcp-reload.js +41 -0
  979. package/dist/format/mcp-reload.js.map +1 -0
  980. package/dist/format/mcp-reserved.d.ts +14 -0
  981. package/dist/format/mcp-reserved.d.ts.map +1 -0
  982. package/dist/format/mcp-reserved.js +36 -0
  983. package/dist/format/mcp-reserved.js.map +1 -0
  984. package/dist/format/mcp-schema-check.d.ts +6 -0
  985. package/dist/format/mcp-schema-check.d.ts.map +1 -0
  986. package/dist/format/mcp-schema-check.js +151 -0
  987. package/dist/format/mcp-schema-check.js.map +1 -0
  988. package/dist/format/mcp-sources.d.ts +40 -0
  989. package/dist/format/mcp-sources.d.ts.map +1 -0
  990. package/dist/format/mcp-sources.js +147 -0
  991. package/dist/format/mcp-sources.js.map +1 -0
  992. package/dist/format/mcp-startup.d.ts +110 -0
  993. package/dist/format/mcp-startup.d.ts.map +1 -0
  994. package/dist/format/mcp-startup.js +158 -0
  995. package/dist/format/mcp-startup.js.map +1 -0
  996. package/dist/format/mcp-task-timing.d.ts +29 -0
  997. package/dist/format/mcp-task-timing.d.ts.map +1 -0
  998. package/dist/format/mcp-task-timing.js +22 -0
  999. package/dist/format/mcp-task-timing.js.map +1 -0
  1000. package/dist/format/mcp-tool-schema.d.ts +66 -0
  1001. package/dist/format/mcp-tool-schema.d.ts.map +1 -0
  1002. package/dist/format/mcp-tool-schema.js +190 -0
  1003. package/dist/format/mcp-tool-schema.js.map +1 -0
  1004. package/dist/format/mcp-tool.d.ts +79 -0
  1005. package/dist/format/mcp-tool.d.ts.map +1 -0
  1006. package/dist/format/mcp-tool.js +114 -0
  1007. package/dist/format/mcp-tool.js.map +1 -0
  1008. package/dist/format/mcpb-manifest.d.ts +69 -0
  1009. package/dist/format/mcpb-manifest.d.ts.map +1 -0
  1010. package/dist/format/mcpb-manifest.js +110 -0
  1011. package/dist/format/mcpb-manifest.js.map +1 -0
  1012. package/dist/format/memory-rule.d.ts +34 -0
  1013. package/dist/format/memory-rule.d.ts.map +1 -0
  1014. package/dist/format/memory-rule.js +22 -0
  1015. package/dist/format/memory-rule.js.map +1 -0
  1016. package/dist/format/messages.d.ts +31 -0
  1017. package/dist/format/messages.d.ts.map +1 -0
  1018. package/dist/format/messages.js +38 -0
  1019. package/dist/format/messages.js.map +1 -0
  1020. package/dist/format/mod-files.d.ts +27 -0
  1021. package/dist/format/mod-files.d.ts.map +1 -0
  1022. package/dist/format/mod-files.js +93 -0
  1023. package/dist/format/mod-files.js.map +1 -0
  1024. package/dist/format/model-id.d.ts +10 -0
  1025. package/dist/format/model-id.d.ts.map +1 -0
  1026. package/dist/format/model-id.js +14 -0
  1027. package/dist/format/model-id.js.map +1 -0
  1028. package/dist/format/monitor-schema.d.ts +30 -0
  1029. package/dist/format/monitor-schema.d.ts.map +1 -0
  1030. package/dist/format/monitor-schema.js +43 -0
  1031. package/dist/format/monitor-schema.js.map +1 -0
  1032. package/dist/format/monitors.d.ts +54 -0
  1033. package/dist/format/monitors.d.ts.map +1 -0
  1034. package/dist/format/monitors.js +69 -0
  1035. package/dist/format/monitors.js.map +1 -0
  1036. package/dist/format/names.d.ts +30 -0
  1037. package/dist/format/names.d.ts.map +1 -0
  1038. package/dist/format/names.js +95 -0
  1039. package/dist/format/names.js.map +1 -0
  1040. package/dist/format/network.d.ts +6 -0
  1041. package/dist/format/network.d.ts.map +1 -0
  1042. package/dist/format/network.js +37 -0
  1043. package/dist/format/network.js.map +1 -0
  1044. package/dist/format/output-style-command.d.ts +41 -0
  1045. package/dist/format/output-style-command.d.ts.map +1 -0
  1046. package/dist/format/output-style-command.js +28 -0
  1047. package/dist/format/output-style-command.js.map +1 -0
  1048. package/dist/format/output-style-select.d.ts +76 -0
  1049. package/dist/format/output-style-select.d.ts.map +1 -0
  1050. package/dist/format/output-style-select.js +117 -0
  1051. package/dist/format/output-style-select.js.map +1 -0
  1052. package/dist/format/output-style-system.d.ts +11 -0
  1053. package/dist/format/output-style-system.d.ts.map +1 -0
  1054. package/dist/format/output-style-system.js +13 -0
  1055. package/dist/format/output-style-system.js.map +1 -0
  1056. package/dist/format/output-style.d.ts +47 -0
  1057. package/dist/format/output-style.d.ts.map +1 -0
  1058. package/dist/format/output-style.js +78 -0
  1059. package/dist/format/output-style.js.map +1 -0
  1060. package/dist/format/path-escape.d.ts +43 -0
  1061. package/dist/format/path-escape.d.ts.map +1 -0
  1062. package/dist/format/path-escape.js +32 -0
  1063. package/dist/format/path-escape.js.map +1 -0
  1064. package/dist/format/path-text.d.ts +46 -0
  1065. package/dist/format/path-text.d.ts.map +1 -0
  1066. package/dist/format/path-text.js +84 -0
  1067. package/dist/format/path-text.js.map +1 -0
  1068. package/dist/format/permission-rule-shape.d.ts +20 -0
  1069. package/dist/format/permission-rule-shape.d.ts.map +1 -0
  1070. package/dist/format/permission-rule-shape.js +20 -0
  1071. package/dist/format/permission-rule-shape.js.map +1 -0
  1072. package/dist/format/plugin-notes.d.ts +15 -0
  1073. package/dist/format/plugin-notes.d.ts.map +1 -0
  1074. package/dist/format/plugin-notes.js +13 -0
  1075. package/dist/format/plugin-notes.js.map +1 -0
  1076. package/dist/format/plugin-settings.d.ts +30 -0
  1077. package/dist/format/plugin-settings.d.ts.map +1 -0
  1078. package/dist/format/plugin-settings.js +47 -0
  1079. package/dist/format/plugin-settings.js.map +1 -0
  1080. package/dist/format/read-json.d.ts +26 -0
  1081. package/dist/format/read-json.d.ts.map +1 -0
  1082. package/dist/format/read-json.js +37 -0
  1083. package/dist/format/read-json.js.map +1 -0
  1084. package/dist/format/remote-mcp-credentials.d.ts +12 -0
  1085. package/dist/format/remote-mcp-credentials.d.ts.map +1 -0
  1086. package/dist/format/remote-mcp-credentials.js +92 -0
  1087. package/dist/format/remote-mcp-credentials.js.map +1 -0
  1088. package/dist/format/server-paths.d.ts +7 -0
  1089. package/dist/format/server-paths.d.ts.map +1 -0
  1090. package/dist/format/server-paths.js +43 -0
  1091. package/dist/format/server-paths.js.map +1 -0
  1092. package/dist/format/settings-files.d.ts +16 -0
  1093. package/dist/format/settings-files.d.ts.map +1 -0
  1094. package/dist/format/settings-files.js +16 -0
  1095. package/dist/format/settings-files.js.map +1 -0
  1096. package/dist/format/skill-field-readers.d.ts +34 -0
  1097. package/dist/format/skill-field-readers.d.ts.map +1 -0
  1098. package/dist/format/skill-field-readers.js +70 -0
  1099. package/dist/format/skill-field-readers.js.map +1 -0
  1100. package/dist/format/skill-fields.d.ts +53 -0
  1101. package/dist/format/skill-fields.d.ts.map +1 -0
  1102. package/dist/format/skill-fields.js +136 -0
  1103. package/dist/format/skill-fields.js.map +1 -0
  1104. package/dist/format/skill-name.d.ts +41 -0
  1105. package/dist/format/skill-name.d.ts.map +1 -0
  1106. package/dist/format/skill-name.js +148 -0
  1107. package/dist/format/skill-name.js.map +1 -0
  1108. package/dist/format/skill-types.d.ts +196 -0
  1109. package/dist/format/skill-types.d.ts.map +1 -0
  1110. package/dist/format/skill-types.js +54 -0
  1111. package/dist/format/skill-types.js.map +1 -0
  1112. package/dist/format/skill.d.ts +19 -0
  1113. package/dist/format/skill.d.ts.map +1 -0
  1114. package/dist/format/skill.js +62 -0
  1115. package/dist/format/skill.js.map +1 -0
  1116. package/dist/format/strict-keys.d.ts +11 -0
  1117. package/dist/format/strict-keys.d.ts.map +1 -0
  1118. package/dist/format/strict-keys.js +19 -0
  1119. package/dist/format/strict-keys.js.map +1 -0
  1120. package/dist/format/theme-color.d.ts +17 -0
  1121. package/dist/format/theme-color.d.ts.map +1 -0
  1122. package/dist/format/theme-color.js +48 -0
  1123. package/dist/format/theme-color.js.map +1 -0
  1124. package/dist/format/theme-tokens.d.ts +13 -0
  1125. package/dist/format/theme-tokens.d.ts.map +1 -0
  1126. package/dist/format/theme-tokens.js +100 -0
  1127. package/dist/format/theme-tokens.js.map +1 -0
  1128. package/dist/format/theme-write.d.ts +14 -0
  1129. package/dist/format/theme-write.d.ts.map +1 -0
  1130. package/dist/format/theme-write.js +34 -0
  1131. package/dist/format/theme-write.js.map +1 -0
  1132. package/dist/format/theme.d.ts +60 -0
  1133. package/dist/format/theme.d.ts.map +1 -0
  1134. package/dist/format/theme.js +131 -0
  1135. package/dist/format/theme.js.map +1 -0
  1136. package/dist/format/token-estimate.d.ts +10 -0
  1137. package/dist/format/token-estimate.d.ts.map +1 -0
  1138. package/dist/format/token-estimate.js +10 -0
  1139. package/dist/format/token-estimate.js.map +1 -0
  1140. package/dist/format/user-config-options.d.ts +23 -0
  1141. package/dist/format/user-config-options.d.ts.map +1 -0
  1142. package/dist/format/user-config-options.js +79 -0
  1143. package/dist/format/user-config-options.js.map +1 -0
  1144. package/dist/format/user-config-refs.d.ts +21 -0
  1145. package/dist/format/user-config-refs.d.ts.map +1 -0
  1146. package/dist/format/user-config-refs.js +32 -0
  1147. package/dist/format/user-config-refs.js.map +1 -0
  1148. package/dist/format/utf8.d.ts +5 -0
  1149. package/dist/format/utf8.d.ts.map +1 -0
  1150. package/dist/format/utf8.js +20 -0
  1151. package/dist/format/utf8.js.map +1 -0
  1152. package/dist/format/validate/component-frontmatter.d.ts +13 -0
  1153. package/dist/format/validate/component-frontmatter.d.ts.map +1 -0
  1154. package/dist/format/validate/component-frontmatter.js +124 -0
  1155. package/dist/format/validate/component-frontmatter.js.map +1 -0
  1156. package/dist/format/validate/finding.d.ts +25 -0
  1157. package/dist/format/validate/finding.d.ts.map +1 -0
  1158. package/dist/format/validate/finding.js +30 -0
  1159. package/dist/format/validate/finding.js.map +1 -0
  1160. package/dist/format/validate/hook-handlers.d.ts +5 -0
  1161. package/dist/format/validate/hook-handlers.d.ts.map +1 -0
  1162. package/dist/format/validate/hook-handlers.js +78 -0
  1163. package/dist/format/validate/hook-handlers.js.map +1 -0
  1164. package/dist/format/validate/hooks-check.d.ts +13 -0
  1165. package/dist/format/validate/hooks-check.d.ts.map +1 -0
  1166. package/dist/format/validate/hooks-check.js +67 -0
  1167. package/dist/format/validate/hooks-check.js.map +1 -0
  1168. package/dist/format/validate/inline-sources.d.ts +10 -0
  1169. package/dist/format/validate/inline-sources.d.ts.map +1 -0
  1170. package/dist/format/validate/inline-sources.js +27 -0
  1171. package/dist/format/validate/inline-sources.js.map +1 -0
  1172. package/dist/format/validate/mcp-check.d.ts +9 -0
  1173. package/dist/format/validate/mcp-check.d.ts.map +1 -0
  1174. package/dist/format/validate/mcp-check.js +130 -0
  1175. package/dist/format/validate/mcp-check.js.map +1 -0
  1176. package/dist/format/validate/mcp-remote-checks.d.ts +4 -0
  1177. package/dist/format/validate/mcp-remote-checks.d.ts.map +1 -0
  1178. package/dist/format/validate/mcp-remote-checks.js +61 -0
  1179. package/dist/format/validate/mcp-remote-checks.js.map +1 -0
  1180. package/dist/format/validate/path-claims.d.ts +20 -0
  1181. package/dist/format/validate/path-claims.d.ts.map +1 -0
  1182. package/dist/format/validate/path-claims.js +59 -0
  1183. package/dist/format/validate/path-claims.js.map +1 -0
  1184. package/dist/format/validate/plugin-fields.d.ts +17 -0
  1185. package/dist/format/validate/plugin-fields.d.ts.map +1 -0
  1186. package/dist/format/validate/plugin-fields.js +136 -0
  1187. package/dist/format/validate/plugin-fields.js.map +1 -0
  1188. package/dist/format/validate/plugin-manifest.d.ts +32 -0
  1189. package/dist/format/validate/plugin-manifest.d.ts.map +1 -0
  1190. package/dist/format/validate/plugin-manifest.js +114 -0
  1191. package/dist/format/validate/plugin-manifest.js.map +1 -0
  1192. package/dist/format/validate/plugin-name.d.ts +15 -0
  1193. package/dist/format/validate/plugin-name.d.ts.map +1 -0
  1194. package/dist/format/validate/plugin-name.js +34 -0
  1195. package/dist/format/validate/plugin-name.js.map +1 -0
  1196. package/dist/format/validate/plugin-paths.d.ts +93 -0
  1197. package/dist/format/validate/plugin-paths.d.ts.map +1 -0
  1198. package/dist/format/validate/plugin-paths.js +83 -0
  1199. package/dist/format/validate/plugin-paths.js.map +1 -0
  1200. package/dist/format/validate/received.d.ts +9 -0
  1201. package/dist/format/validate/received.d.ts.map +1 -0
  1202. package/dist/format/validate/received.js +20 -0
  1203. package/dist/format/validate/received.js.map +1 -0
  1204. package/dist/format/validate/settings-deprecation.d.ts +4 -0
  1205. package/dist/format/validate/settings-deprecation.d.ts.map +1 -0
  1206. package/dist/format/validate/settings-deprecation.js +25 -0
  1207. package/dist/format/validate/settings-deprecation.js.map +1 -0
  1208. package/dist/format/validate/shell-command.d.ts +3 -0
  1209. package/dist/format/validate/shell-command.d.ts.map +1 -0
  1210. package/dist/format/validate/shell-command.js +44 -0
  1211. package/dist/format/validate/shell-command.js.map +1 -0
  1212. package/dist/format/validate/unknown-fields.d.ts +7 -0
  1213. package/dist/format/validate/unknown-fields.d.ts.map +1 -0
  1214. package/dist/format/validate/unknown-fields.js +94 -0
  1215. package/dist/format/validate/unknown-fields.js.map +1 -0
  1216. package/dist/format/validate/zod-findings.d.ts +7 -0
  1217. package/dist/format/validate/zod-findings.d.ts.map +1 -0
  1218. package/dist/format/validate/zod-findings.js +10 -0
  1219. package/dist/format/validate/zod-findings.js.map +1 -0
  1220. package/dist/format/versions.d.ts +5 -0
  1221. package/dist/format/versions.d.ts.map +1 -0
  1222. package/dist/format/versions.js +23 -0
  1223. package/dist/format/versions.js.map +1 -0
  1224. package/dist/format/wildcard.d.ts +16 -0
  1225. package/dist/format/wildcard.d.ts.map +1 -0
  1226. package/dist/format/wildcard.js +33 -0
  1227. package/dist/format/wildcard.js.map +1 -0
  1228. package/dist/format/workflow-meta-rewrite.d.ts +24 -0
  1229. package/dist/format/workflow-meta-rewrite.d.ts.map +1 -0
  1230. package/dist/format/workflow-meta-rewrite.js +101 -0
  1231. package/dist/format/workflow-meta-rewrite.js.map +1 -0
  1232. package/dist/format/workflow-meta.d.ts +57 -0
  1233. package/dist/format/workflow-meta.d.ts.map +1 -0
  1234. package/dist/format/workflow-meta.js +139 -0
  1235. package/dist/format/workflow-meta.js.map +1 -0
  1236. package/dist/format/workflow-script.d.ts +33 -0
  1237. package/dist/format/workflow-script.d.ts.map +1 -0
  1238. package/dist/format/workflow-script.js +136 -0
  1239. package/dist/format/workflow-script.js.map +1 -0
  1240. package/dist/foundation/budget.d.ts +30 -0
  1241. package/dist/foundation/budget.d.ts.map +1 -0
  1242. package/dist/foundation/budget.js +82 -0
  1243. package/dist/foundation/budget.js.map +1 -0
  1244. package/dist/foundation/folder-read.d.ts +16 -0
  1245. package/dist/foundation/folder-read.d.ts.map +1 -0
  1246. package/dist/foundation/folder-read.js +16 -0
  1247. package/dist/foundation/folder-read.js.map +1 -0
  1248. package/dist/foundation/folder-walk.d.ts +38 -0
  1249. package/dist/foundation/folder-walk.d.ts.map +1 -0
  1250. package/dist/foundation/folder-walk.js +77 -0
  1251. package/dist/foundation/folder-walk.js.map +1 -0
  1252. package/dist/foundation/freeze.d.ts +19 -0
  1253. package/dist/foundation/freeze.d.ts.map +1 -0
  1254. package/dist/foundation/freeze.js +67 -0
  1255. package/dist/foundation/freeze.js.map +1 -0
  1256. package/dist/foundation/index.d.ts +8 -0
  1257. package/dist/foundation/index.d.ts.map +1 -0
  1258. package/dist/foundation/index.js +8 -0
  1259. package/dist/foundation/index.js.map +1 -0
  1260. package/dist/foundation/json-size.d.ts +5 -0
  1261. package/dist/foundation/json-size.d.ts.map +1 -0
  1262. package/dist/foundation/json-size.js +21 -0
  1263. package/dist/foundation/json-size.js.map +1 -0
  1264. package/dist/foundation/json-value.d.ts +8 -0
  1265. package/dist/foundation/json-value.d.ts.map +1 -0
  1266. package/dist/foundation/json-value.js +17 -0
  1267. package/dist/foundation/json-value.js.map +1 -0
  1268. package/dist/foundation/plain-data.d.ts +37 -0
  1269. package/dist/foundation/plain-data.d.ts.map +1 -0
  1270. package/dist/foundation/plain-data.js +73 -0
  1271. package/dist/foundation/plain-data.js.map +1 -0
  1272. package/dist/foundation/project-directories.d.ts +11 -0
  1273. package/dist/foundation/project-directories.d.ts.map +1 -0
  1274. package/dist/foundation/project-directories.js +18 -0
  1275. package/dist/foundation/project-directories.js.map +1 -0
  1276. package/dist/foundation/run-each.d.ts +7 -0
  1277. package/dist/foundation/run-each.d.ts.map +1 -0
  1278. package/dist/foundation/run-each.js +22 -0
  1279. package/dist/foundation/run-each.js.map +1 -0
  1280. package/dist/foundation/scope-folders.d.ts +107 -0
  1281. package/dist/foundation/scope-folders.d.ts.map +1 -0
  1282. package/dist/foundation/scope-folders.js +90 -0
  1283. package/dist/foundation/scope-folders.js.map +1 -0
  1284. package/dist/hooks/assemble.d.ts +13 -0
  1285. package/dist/hooks/assemble.d.ts.map +1 -0
  1286. package/dist/hooks/assemble.js +108 -0
  1287. package/dist/hooks/assemble.js.map +1 -0
  1288. package/dist/hooks/contracts.d.ts +137 -0
  1289. package/dist/hooks/contracts.d.ts.map +1 -0
  1290. package/dist/hooks/contracts.js +2 -0
  1291. package/dist/hooks/contracts.js.map +1 -0
  1292. package/dist/hooks/core/combine.d.ts +21 -0
  1293. package/dist/hooks/core/combine.d.ts.map +1 -0
  1294. package/dist/hooks/core/combine.js +146 -0
  1295. package/dist/hooks/core/combine.js.map +1 -0
  1296. package/dist/hooks/core/input.d.ts +22 -0
  1297. package/dist/hooks/core/input.d.ts.map +1 -0
  1298. package/dist/hooks/core/input.js +102 -0
  1299. package/dist/hooks/core/input.js.map +1 -0
  1300. package/dist/hooks/core/output.d.ts +11 -0
  1301. package/dist/hooks/core/output.d.ts.map +1 -0
  1302. package/dist/hooks/core/output.js +80 -0
  1303. package/dist/hooks/core/output.js.map +1 -0
  1304. package/dist/hooks/core/profile-results.d.ts +20 -0
  1305. package/dist/hooks/core/profile-results.d.ts.map +1 -0
  1306. package/dist/hooks/core/profile-results.js +116 -0
  1307. package/dist/hooks/core/profile-results.js.map +1 -0
  1308. package/dist/hooks/core/profiles.d.ts +16 -0
  1309. package/dist/hooks/core/profiles.d.ts.map +1 -0
  1310. package/dist/hooks/core/profiles.js +73 -0
  1311. package/dist/hooks/core/profiles.js.map +1 -0
  1312. package/dist/hooks/core/run.d.ts +16 -0
  1313. package/dist/hooks/core/run.d.ts.map +1 -0
  1314. package/dist/hooks/core/run.js +45 -0
  1315. package/dist/hooks/core/run.js.map +1 -0
  1316. package/dist/hooks/core/types.d.ts +64 -0
  1317. package/dist/hooks/core/types.d.ts.map +1 -0
  1318. package/dist/hooks/core/types.js +2 -0
  1319. package/dist/hooks/core/types.js.map +1 -0
  1320. package/dist/hooks/dispatch.d.ts +55 -0
  1321. package/dist/hooks/dispatch.d.ts.map +1 -0
  1322. package/dist/hooks/dispatch.js +129 -0
  1323. package/dist/hooks/dispatch.js.map +1 -0
  1324. package/dist/hooks/engine.d.ts +72 -0
  1325. package/dist/hooks/engine.d.ts.map +1 -0
  1326. package/dist/hooks/engine.js +55 -0
  1327. package/dist/hooks/engine.js.map +1 -0
  1328. package/dist/hooks/env-file/events.d.ts +8 -0
  1329. package/dist/hooks/env-file/events.d.ts.map +1 -0
  1330. package/dist/hooks/env-file/events.js +26 -0
  1331. package/dist/hooks/env-file/events.js.map +1 -0
  1332. package/dist/hooks/env-file/files.d.ts +41 -0
  1333. package/dist/hooks/env-file/files.d.ts.map +1 -0
  1334. package/dist/hooks/env-file/files.js +33 -0
  1335. package/dist/hooks/env-file/files.js.map +1 -0
  1336. package/dist/hooks/env-file/index.d.ts +6 -0
  1337. package/dist/hooks/env-file/index.d.ts.map +1 -0
  1338. package/dist/hooks/env-file/index.js +6 -0
  1339. package/dist/hooks/env-file/index.js.map +1 -0
  1340. package/dist/hooks/env-file/ports.d.ts +27 -0
  1341. package/dist/hooks/env-file/ports.d.ts.map +1 -0
  1342. package/dist/hooks/env-file/ports.js +15 -0
  1343. package/dist/hooks/env-file/ports.js.map +1 -0
  1344. package/dist/hooks/env-file/powershell-reader.d.ts +37 -0
  1345. package/dist/hooks/env-file/powershell-reader.d.ts.map +1 -0
  1346. package/dist/hooks/env-file/powershell-reader.js +88 -0
  1347. package/dist/hooks/env-file/powershell-reader.js.map +1 -0
  1348. package/dist/hooks/handlers/command/async.d.ts +46 -0
  1349. package/dist/hooks/handlers/command/async.d.ts.map +1 -0
  1350. package/dist/hooks/handlers/command/async.js +54 -0
  1351. package/dist/hooks/handlers/command/async.js.map +1 -0
  1352. package/dist/hooks/handlers/command/cwd-fallback.d.ts +15 -0
  1353. package/dist/hooks/handlers/command/cwd-fallback.d.ts.map +1 -0
  1354. package/dist/hooks/handlers/command/cwd-fallback.js +23 -0
  1355. package/dist/hooks/handlers/command/cwd-fallback.js.map +1 -0
  1356. package/dist/hooks/handlers/command/env.d.ts +7 -0
  1357. package/dist/hooks/handlers/command/env.d.ts.map +1 -0
  1358. package/dist/hooks/handlers/command/env.js +50 -0
  1359. package/dist/hooks/handlers/command/env.js.map +1 -0
  1360. package/dist/hooks/handlers/command/plan.d.ts +23 -0
  1361. package/dist/hooks/handlers/command/plan.d.ts.map +1 -0
  1362. package/dist/hooks/handlers/command/plan.js +53 -0
  1363. package/dist/hooks/handlers/command/plan.js.map +1 -0
  1364. package/dist/hooks/handlers/command/run-command.d.ts +3 -0
  1365. package/dist/hooks/handlers/command/run-command.d.ts.map +1 -0
  1366. package/dist/hooks/handlers/command/run-command.js +73 -0
  1367. package/dist/hooks/handlers/command/run-command.js.map +1 -0
  1368. package/dist/hooks/handlers/command/shell.d.ts +9 -0
  1369. package/dist/hooks/handlers/command/shell.d.ts.map +1 -0
  1370. package/dist/hooks/handlers/command/shell.js +7 -0
  1371. package/dist/hooks/handlers/command/shell.js.map +1 -0
  1372. package/dist/hooks/handlers/command/subprocess-env.d.ts +48 -0
  1373. package/dist/hooks/handlers/command/subprocess-env.d.ts.map +1 -0
  1374. package/dist/hooks/handlers/command/subprocess-env.js +81 -0
  1375. package/dist/hooks/handlers/command/subprocess-env.js.map +1 -0
  1376. package/dist/hooks/handlers/context.d.ts +146 -0
  1377. package/dist/hooks/handlers/context.d.ts.map +1 -0
  1378. package/dist/hooks/handlers/context.js +2 -0
  1379. package/dist/hooks/handlers/context.js.map +1 -0
  1380. package/dist/hooks/handlers/index.d.ts +14 -0
  1381. package/dist/hooks/handlers/index.d.ts.map +1 -0
  1382. package/dist/hooks/handlers/index.js +7 -0
  1383. package/dist/hooks/handlers/index.js.map +1 -0
  1384. package/dist/hooks/handlers/registry.d.ts +12 -0
  1385. package/dist/hooks/handlers/registry.d.ts.map +1 -0
  1386. package/dist/hooks/handlers/registry.js +34 -0
  1387. package/dist/hooks/handlers/registry.js.map +1 -0
  1388. package/dist/hooks/handlers/remote/agent.d.ts +11 -0
  1389. package/dist/hooks/handlers/remote/agent.d.ts.map +1 -0
  1390. package/dist/hooks/handlers/remote/agent.js +25 -0
  1391. package/dist/hooks/handlers/remote/agent.js.map +1 -0
  1392. package/dist/hooks/handlers/remote/concurrency.d.ts +19 -0
  1393. package/dist/hooks/handlers/remote/concurrency.d.ts.map +1 -0
  1394. package/dist/hooks/handlers/remote/concurrency.js +48 -0
  1395. package/dist/hooks/handlers/remote/concurrency.js.map +1 -0
  1396. package/dist/hooks/handlers/remote/failure-run.d.ts +19 -0
  1397. package/dist/hooks/handlers/remote/failure-run.d.ts.map +1 -0
  1398. package/dist/hooks/handlers/remote/failure-run.js +26 -0
  1399. package/dist/hooks/handlers/remote/failure-run.js.map +1 -0
  1400. package/dist/hooks/handlers/remote/http-env.d.ts +4 -0
  1401. package/dist/hooks/handlers/remote/http-env.d.ts.map +1 -0
  1402. package/dist/hooks/handlers/remote/http-env.js +29 -0
  1403. package/dist/hooks/handlers/remote/http-env.js.map +1 -0
  1404. package/dist/hooks/handlers/remote/http-policy.d.ts +36 -0
  1405. package/dist/hooks/handlers/remote/http-policy.d.ts.map +1 -0
  1406. package/dist/hooks/handlers/remote/http-policy.js +39 -0
  1407. package/dist/hooks/handlers/remote/http-policy.js.map +1 -0
  1408. package/dist/hooks/handlers/remote/http.d.ts +3 -0
  1409. package/dist/hooks/handlers/remote/http.d.ts.map +1 -0
  1410. package/dist/hooks/handlers/remote/http.js +42 -0
  1411. package/dist/hooks/handlers/remote/http.js.map +1 -0
  1412. package/dist/hooks/handlers/remote/mcp-input.d.ts +9 -0
  1413. package/dist/hooks/handlers/remote/mcp-input.d.ts.map +1 -0
  1414. package/dist/hooks/handlers/remote/mcp-input.js +61 -0
  1415. package/dist/hooks/handlers/remote/mcp-input.js.map +1 -0
  1416. package/dist/hooks/handlers/remote/mcp-tool.d.ts +25 -0
  1417. package/dist/hooks/handlers/remote/mcp-tool.d.ts.map +1 -0
  1418. package/dist/hooks/handlers/remote/mcp-tool.js +142 -0
  1419. package/dist/hooks/handlers/remote/mcp-tool.js.map +1 -0
  1420. package/dist/hooks/handlers/remote/model-run.d.ts +14 -0
  1421. package/dist/hooks/handlers/remote/model-run.d.ts.map +1 -0
  1422. package/dist/hooks/handlers/remote/model-run.js +27 -0
  1423. package/dist/hooks/handlers/remote/model-run.js.map +1 -0
  1424. package/dist/hooks/handlers/remote/ok-false.d.ts +63 -0
  1425. package/dist/hooks/handlers/remote/ok-false.d.ts.map +1 -0
  1426. package/dist/hooks/handlers/remote/ok-false.js +43 -0
  1427. package/dist/hooks/handlers/remote/ok-false.js.map +1 -0
  1428. package/dist/hooks/handlers/remote/prompt-response.d.ts +23 -0
  1429. package/dist/hooks/handlers/remote/prompt-response.d.ts.map +1 -0
  1430. package/dist/hooks/handlers/remote/prompt-response.js +60 -0
  1431. package/dist/hooks/handlers/remote/prompt-response.js.map +1 -0
  1432. package/dist/hooks/handlers/remote/prompt-text.d.ts +13 -0
  1433. package/dist/hooks/handlers/remote/prompt-text.d.ts.map +1 -0
  1434. package/dist/hooks/handlers/remote/prompt-text.js +23 -0
  1435. package/dist/hooks/handlers/remote/prompt-text.js.map +1 -0
  1436. package/dist/hooks/handlers/remote/prompt.d.ts +8 -0
  1437. package/dist/hooks/handlers/remote/prompt.d.ts.map +1 -0
  1438. package/dist/hooks/handlers/remote/prompt.js +17 -0
  1439. package/dist/hooks/handlers/remote/prompt.js.map +1 -0
  1440. package/dist/hooks/handlers/remote/types.d.ts +47 -0
  1441. package/dist/hooks/handlers/remote/types.d.ts.map +1 -0
  1442. package/dist/hooks/handlers/remote/types.js +9 -0
  1443. package/dist/hooks/handlers/remote/types.js.map +1 -0
  1444. package/dist/hooks/handlers/status.d.ts +25 -0
  1445. package/dist/hooks/handlers/status.d.ts.map +1 -0
  1446. package/dist/hooks/handlers/status.js +22 -0
  1447. package/dist/hooks/handlers/status.js.map +1 -0
  1448. package/dist/hooks/handlers/timeouts.d.ts +22 -0
  1449. package/dist/hooks/handlers/timeouts.d.ts.map +1 -0
  1450. package/dist/hooks/handlers/timeouts.js +101 -0
  1451. package/dist/hooks/handlers/timeouts.js.map +1 -0
  1452. package/dist/hooks/index.d.ts +16 -0
  1453. package/dist/hooks/index.d.ts.map +1 -0
  1454. package/dist/hooks/index.js +11 -0
  1455. package/dist/hooks/index.js.map +1 -0
  1456. package/dist/hooks/input/background-tasks.d.ts +19 -0
  1457. package/dist/hooks/input/background-tasks.d.ts.map +1 -0
  1458. package/dist/hooks/input/background-tasks.js +51 -0
  1459. package/dist/hooks/input/background-tasks.js.map +1 -0
  1460. package/dist/hooks/input/build.d.ts +24 -0
  1461. package/dist/hooks/input/build.d.ts.map +1 -0
  1462. package/dist/hooks/input/build.js +46 -0
  1463. package/dist/hooks/input/build.js.map +1 -0
  1464. package/dist/hooks/input/common.d.ts +23 -0
  1465. package/dist/hooks/input/common.d.ts.map +1 -0
  1466. package/dist/hooks/input/common.js +124 -0
  1467. package/dist/hooks/input/common.js.map +1 -0
  1468. package/dist/hooks/input/conditional-fields.d.ts +16 -0
  1469. package/dist/hooks/input/conditional-fields.d.ts.map +1 -0
  1470. package/dist/hooks/input/conditional-fields.js +72 -0
  1471. package/dist/hooks/input/conditional-fields.js.map +1 -0
  1472. package/dist/hooks/input/fact-read.d.ts +9 -0
  1473. package/dist/hooks/input/fact-read.d.ts.map +1 -0
  1474. package/dist/hooks/input/fact-read.js +12 -0
  1475. package/dist/hooks/input/fact-read.js.map +1 -0
  1476. package/dist/hooks/input/facts-agents.d.ts +88 -0
  1477. package/dist/hooks/input/facts-agents.d.ts.map +1 -0
  1478. package/dist/hooks/input/facts-agents.js +89 -0
  1479. package/dist/hooks/input/facts-agents.js.map +1 -0
  1480. package/dist/hooks/input/facts-misc.d.ts +86 -0
  1481. package/dist/hooks/input/facts-misc.d.ts.map +1 -0
  1482. package/dist/hooks/input/facts-misc.js +71 -0
  1483. package/dist/hooks/input/facts-misc.js.map +1 -0
  1484. package/dist/hooks/input/facts-model.d.ts +48 -0
  1485. package/dist/hooks/input/facts-model.d.ts.map +1 -0
  1486. package/dist/hooks/input/facts-model.js +26 -0
  1487. package/dist/hooks/input/facts-model.js.map +1 -0
  1488. package/dist/hooks/input/facts-session.d.ts +80 -0
  1489. package/dist/hooks/input/facts-session.d.ts.map +1 -0
  1490. package/dist/hooks/input/facts-session.js +52 -0
  1491. package/dist/hooks/input/facts-session.js.map +1 -0
  1492. package/dist/hooks/input/facts-shared.d.ts +21 -0
  1493. package/dist/hooks/input/facts-shared.d.ts.map +1 -0
  1494. package/dist/hooks/input/facts-shared.js +20 -0
  1495. package/dist/hooks/input/facts-shared.js.map +1 -0
  1496. package/dist/hooks/input/facts-tools.d.ts +62 -0
  1497. package/dist/hooks/input/facts-tools.d.ts.map +1 -0
  1498. package/dist/hooks/input/facts-tools.js +60 -0
  1499. package/dist/hooks/input/facts-tools.js.map +1 -0
  1500. package/dist/hooks/input/facts.d.ts +368 -0
  1501. package/dist/hooks/input/facts.d.ts.map +1 -0
  1502. package/dist/hooks/input/facts.js +49 -0
  1503. package/dist/hooks/input/facts.js.map +1 -0
  1504. package/dist/hooks/input/index.d.ts +5 -0
  1505. package/dist/hooks/input/index.d.ts.map +1 -0
  1506. package/dist/hooks/input/index.js +3 -0
  1507. package/dist/hooks/input/index.js.map +1 -0
  1508. package/dist/hooks/input/permission-mode.d.ts +10 -0
  1509. package/dist/hooks/input/permission-mode.d.ts.map +1 -0
  1510. package/dist/hooks/input/permission-mode.js +12 -0
  1511. package/dist/hooks/input/permission-mode.js.map +1 -0
  1512. package/dist/hooks/interrupt.d.ts +42 -0
  1513. package/dist/hooks/interrupt.d.ts.map +1 -0
  1514. package/dist/hooks/interrupt.js +54 -0
  1515. package/dist/hooks/interrupt.js.map +1 -0
  1516. package/dist/hooks/outcome.d.ts +93 -0
  1517. package/dist/hooks/outcome.d.ts.map +1 -0
  1518. package/dist/hooks/outcome.js +2 -0
  1519. package/dist/hooks/outcome.js.map +1 -0
  1520. package/dist/hooks/output/background.d.ts +22 -0
  1521. package/dist/hooks/output/background.d.ts.map +1 -0
  1522. package/dist/hooks/output/background.js +19 -0
  1523. package/dist/hooks/output/background.js.map +1 -0
  1524. package/dist/hooks/output/caps.d.ts +30 -0
  1525. package/dist/hooks/output/caps.d.ts.map +1 -0
  1526. package/dist/hooks/output/caps.js +79 -0
  1527. package/dist/hooks/output/caps.js.map +1 -0
  1528. package/dist/hooks/output/classifier-note.d.ts +31 -0
  1529. package/dist/hooks/output/classifier-note.d.ts.map +1 -0
  1530. package/dist/hooks/output/classifier-note.js +62 -0
  1531. package/dist/hooks/output/classifier-note.js.map +1 -0
  1532. package/dist/hooks/output/cowork-answers.d.ts +15 -0
  1533. package/dist/hooks/output/cowork-answers.d.ts.map +1 -0
  1534. package/dist/hooks/output/cowork-answers.js +19 -0
  1535. package/dist/hooks/output/cowork-answers.js.map +1 -0
  1536. package/dist/hooks/output/defer.d.ts +33 -0
  1537. package/dist/hooks/output/defer.d.ts.map +1 -0
  1538. package/dist/hooks/output/defer.js +21 -0
  1539. package/dist/hooks/output/defer.js.map +1 -0
  1540. package/dist/hooks/output/effects.d.ts +75 -0
  1541. package/dist/hooks/output/effects.d.ts.map +1 -0
  1542. package/dist/hooks/output/effects.js +2 -0
  1543. package/dist/hooks/output/effects.js.map +1 -0
  1544. package/dist/hooks/output/fields.d.ts +11 -0
  1545. package/dist/hooks/output/fields.d.ts.map +1 -0
  1546. package/dist/hooks/output/fields.js +30 -0
  1547. package/dist/hooks/output/fields.js.map +1 -0
  1548. package/dist/hooks/output/finalize.d.ts +5 -0
  1549. package/dist/hooks/output/finalize.d.ts.map +1 -0
  1550. package/dist/hooks/output/finalize.js +42 -0
  1551. package/dist/hooks/output/finalize.js.map +1 -0
  1552. package/dist/hooks/output/index.d.ts +25 -0
  1553. package/dist/hooks/output/index.d.ts.map +1 -0
  1554. package/dist/hooks/output/index.js +17 -0
  1555. package/dist/hooks/output/index.js.map +1 -0
  1556. package/dist/hooks/output/limit.d.ts +22 -0
  1557. package/dist/hooks/output/limit.d.ts.map +1 -0
  1558. package/dist/hooks/output/limit.js +88 -0
  1559. package/dist/hooks/output/limit.js.map +1 -0
  1560. package/dist/hooks/output/merge-gates.d.ts +10 -0
  1561. package/dist/hooks/output/merge-gates.d.ts.map +1 -0
  1562. package/dist/hooks/output/merge-gates.js +126 -0
  1563. package/dist/hooks/output/merge-gates.js.map +1 -0
  1564. package/dist/hooks/output/merge-rules.d.ts +41 -0
  1565. package/dist/hooks/output/merge-rules.d.ts.map +1 -0
  1566. package/dist/hooks/output/merge-rules.js +5 -0
  1567. package/dist/hooks/output/merge-rules.js.map +1 -0
  1568. package/dist/hooks/output/merge-simple.d.ts +45 -0
  1569. package/dist/hooks/output/merge-simple.d.ts.map +1 -0
  1570. package/dist/hooks/output/merge-simple.js +220 -0
  1571. package/dist/hooks/output/merge-simple.js.map +1 -0
  1572. package/dist/hooks/output/merge.d.ts +5 -0
  1573. package/dist/hooks/output/merge.d.ts.map +1 -0
  1574. package/dist/hooks/output/merge.js +160 -0
  1575. package/dist/hooks/output/merge.js.map +1 -0
  1576. package/dist/hooks/output/messages.d.ts +10 -0
  1577. package/dist/hooks/output/messages.d.ts.map +1 -0
  1578. package/dist/hooks/output/messages.js +21 -0
  1579. package/dist/hooks/output/messages.js.map +1 -0
  1580. package/dist/hooks/output/parse.d.ts +20 -0
  1581. package/dist/hooks/output/parse.d.ts.map +1 -0
  1582. package/dist/hooks/output/parse.js +54 -0
  1583. package/dist/hooks/output/parse.js.map +1 -0
  1584. package/dist/hooks/output/permission-request-outcome.d.ts +13 -0
  1585. package/dist/hooks/output/permission-request-outcome.d.ts.map +1 -0
  1586. package/dist/hooks/output/permission-request-outcome.js +30 -0
  1587. package/dist/hooks/output/permission-request-outcome.js.map +1 -0
  1588. package/dist/hooks/output/permission-update.d.ts +96 -0
  1589. package/dist/hooks/output/permission-update.d.ts.map +1 -0
  1590. package/dist/hooks/output/permission-update.js +62 -0
  1591. package/dist/hooks/output/permission-update.js.map +1 -0
  1592. package/dist/hooks/output/pre-tool-use-outcome.d.ts +10 -0
  1593. package/dist/hooks/output/pre-tool-use-outcome.d.ts.map +1 -0
  1594. package/dist/hooks/output/pre-tool-use-outcome.js +15 -0
  1595. package/dist/hooks/output/pre-tool-use-outcome.js.map +1 -0
  1596. package/dist/hooks/output/reminder-tags.d.ts +2 -0
  1597. package/dist/hooks/output/reminder-tags.d.ts.map +1 -0
  1598. package/dist/hooks/output/reminder-tags.js +8 -0
  1599. package/dist/hooks/output/reminder-tags.js.map +1 -0
  1600. package/dist/hooks/output/schemas-common.d.ts +21 -0
  1601. package/dist/hooks/output/schemas-common.d.ts.map +1 -0
  1602. package/dist/hooks/output/schemas-common.js +31 -0
  1603. package/dist/hooks/output/schemas-common.js.map +1 -0
  1604. package/dist/hooks/output/schemas-elicitation.d.ts +20 -0
  1605. package/dist/hooks/output/schemas-elicitation.d.ts.map +1 -0
  1606. package/dist/hooks/output/schemas-elicitation.js +19 -0
  1607. package/dist/hooks/output/schemas-elicitation.js.map +1 -0
  1608. package/dist/hooks/output/schemas-misc.d.ts +31 -0
  1609. package/dist/hooks/output/schemas-misc.d.ts.map +1 -0
  1610. package/dist/hooks/output/schemas-misc.js +34 -0
  1611. package/dist/hooks/output/schemas-misc.js.map +1 -0
  1612. package/dist/hooks/output/schemas-session.d.ts +45 -0
  1613. package/dist/hooks/output/schemas-session.d.ts.map +1 -0
  1614. package/dist/hooks/output/schemas-session.js +55 -0
  1615. package/dist/hooks/output/schemas-session.js.map +1 -0
  1616. package/dist/hooks/output/schemas-tool.d.ts +129 -0
  1617. package/dist/hooks/output/schemas-tool.d.ts.map +1 -0
  1618. package/dist/hooks/output/schemas-tool.js +51 -0
  1619. package/dist/hooks/output/schemas-tool.js.map +1 -0
  1620. package/dist/hooks/output/schemas.d.ts +32 -0
  1621. package/dist/hooks/output/schemas.d.ts.map +1 -0
  1622. package/dist/hooks/output/schemas.js +60 -0
  1623. package/dist/hooks/output/schemas.js.map +1 -0
  1624. package/dist/hooks/output/stage.d.ts +9 -0
  1625. package/dist/hooks/output/stage.d.ts.map +1 -0
  1626. package/dist/hooks/output/stage.js +15 -0
  1627. package/dist/hooks/output/stage.js.map +1 -0
  1628. package/dist/hooks/output/terminal-sequence.d.ts +10 -0
  1629. package/dist/hooks/output/terminal-sequence.d.ts.map +1 -0
  1630. package/dist/hooks/output/terminal-sequence.js +61 -0
  1631. package/dist/hooks/output/terminal-sequence.js.map +1 -0
  1632. package/dist/hooks/output/text-cap.d.ts +24 -0
  1633. package/dist/hooks/output/text-cap.d.ts.map +1 -0
  1634. package/dist/hooks/output/text-cap.js +55 -0
  1635. package/dist/hooks/output/text-cap.js.map +1 -0
  1636. package/dist/hooks/output/tool-output.d.ts +15 -0
  1637. package/dist/hooks/output/tool-output.d.ts.map +1 -0
  1638. package/dist/hooks/output/tool-output.js +65 -0
  1639. package/dist/hooks/output/tool-output.js.map +1 -0
  1640. package/dist/hooks/output/tool-shape.d.ts +27 -0
  1641. package/dist/hooks/output/tool-shape.d.ts.map +1 -0
  1642. package/dist/hooks/output/tool-shape.js +74 -0
  1643. package/dist/hooks/output/tool-shape.js.map +1 -0
  1644. package/dist/hooks/output/tool-shapes/index.d.ts +4 -0
  1645. package/dist/hooks/output/tool-shapes/index.d.ts.map +1 -0
  1646. package/dist/hooks/output/tool-shapes/index.js +18 -0
  1647. package/dist/hooks/output/tool-shapes/index.js.map +1 -0
  1648. package/dist/hooks/output/tool-shapes/shapes-0.d.ts +3 -0
  1649. package/dist/hooks/output/tool-shapes/shapes-0.d.ts.map +1 -0
  1650. package/dist/hooks/output/tool-shapes/shapes-0.js +211 -0
  1651. package/dist/hooks/output/tool-shapes/shapes-0.js.map +1 -0
  1652. package/dist/hooks/output/tool-shapes/shapes-1.d.ts +3 -0
  1653. package/dist/hooks/output/tool-shapes/shapes-1.d.ts.map +1 -0
  1654. package/dist/hooks/output/tool-shapes/shapes-1.js +252 -0
  1655. package/dist/hooks/output/tool-shapes/shapes-1.js.map +1 -0
  1656. package/dist/hooks/output/tool-shapes/shapes-2.d.ts +3 -0
  1657. package/dist/hooks/output/tool-shapes/shapes-2.d.ts.map +1 -0
  1658. package/dist/hooks/output/tool-shapes/shapes-2.js +170 -0
  1659. package/dist/hooks/output/tool-shapes/shapes-2.js.map +1 -0
  1660. package/dist/hooks/output/tool-shapes/shapes-3.d.ts +3 -0
  1661. package/dist/hooks/output/tool-shapes/shapes-3.d.ts.map +1 -0
  1662. package/dist/hooks/output/tool-shapes/shapes-3.js +178 -0
  1663. package/dist/hooks/output/tool-shapes/shapes-3.js.map +1 -0
  1664. package/dist/hooks/output/tool-shapes/shapes-4.d.ts +3 -0
  1665. package/dist/hooks/output/tool-shapes/shapes-4.d.ts.map +1 -0
  1666. package/dist/hooks/output/tool-shapes/shapes-4.js +239 -0
  1667. package/dist/hooks/output/tool-shapes/shapes-4.js.map +1 -0
  1668. package/dist/hooks/output/tool-shapes/shapes-5.d.ts +3 -0
  1669. package/dist/hooks/output/tool-shapes/shapes-5.d.ts.map +1 -0
  1670. package/dist/hooks/output/tool-shapes/shapes-5.js +111 -0
  1671. package/dist/hooks/output/tool-shapes/shapes-5.js.map +1 -0
  1672. package/dist/hooks/output/watch-paths.d.ts +10 -0
  1673. package/dist/hooks/output/watch-paths.d.ts.map +1 -0
  1674. package/dist/hooks/output/watch-paths.js +17 -0
  1675. package/dist/hooks/output/watch-paths.js.map +1 -0
  1676. package/dist/hooks/output/worktree-path.d.ts +58 -0
  1677. package/dist/hooks/output/worktree-path.d.ts.map +1 -0
  1678. package/dist/hooks/output/worktree-path.js +146 -0
  1679. package/dist/hooks/output/worktree-path.js.map +1 -0
  1680. package/dist/hooks/register.d.ts +19 -0
  1681. package/dist/hooks/register.d.ts.map +1 -0
  1682. package/dist/hooks/register.js +25 -0
  1683. package/dist/hooks/register.js.map +1 -0
  1684. package/dist/hooks/registry.d.ts +4 -0
  1685. package/dist/hooks/registry.d.ts.map +1 -0
  1686. package/dist/hooks/registry.js +15 -0
  1687. package/dist/hooks/registry.js.map +1 -0
  1688. package/dist/hooks/run-all.d.ts +21 -0
  1689. package/dist/hooks/run-all.d.ts.map +1 -0
  1690. package/dist/hooks/run-all.js +132 -0
  1691. package/dist/hooks/run-all.js.map +1 -0
  1692. package/dist/hooks/run-facts.d.ts +15 -0
  1693. package/dist/hooks/run-facts.d.ts.map +1 -0
  1694. package/dist/hooks/run-facts.js +57 -0
  1695. package/dist/hooks/run-facts.js.map +1 -0
  1696. package/dist/hooks/select/dedupe.d.ts +4 -0
  1697. package/dist/hooks/select/dedupe.d.ts.map +1 -0
  1698. package/dist/hooks/select/dedupe.js +18 -0
  1699. package/dist/hooks/select/dedupe.js.map +1 -0
  1700. package/dist/hooks/select/event-catalog.d.ts +31 -0
  1701. package/dist/hooks/select/event-catalog.d.ts.map +1 -0
  1702. package/dist/hooks/select/event-catalog.js +58 -0
  1703. package/dist/hooks/select/event-catalog.js.map +1 -0
  1704. package/dist/hooks/select/gates.d.ts +4 -0
  1705. package/dist/hooks/select/gates.d.ts.map +1 -0
  1706. package/dist/hooks/select/gates.js +42 -0
  1707. package/dist/hooks/select/gates.js.map +1 -0
  1708. package/dist/hooks/select/if-guard.d.ts +27 -0
  1709. package/dist/hooks/select/if-guard.d.ts.map +1 -0
  1710. package/dist/hooks/select/if-guard.js +51 -0
  1711. package/dist/hooks/select/if-guard.js.map +1 -0
  1712. package/dist/hooks/select/index.d.ts +14 -0
  1713. package/dist/hooks/select/index.d.ts.map +1 -0
  1714. package/dist/hooks/select/index.js +9 -0
  1715. package/dist/hooks/select/index.js.map +1 -0
  1716. package/dist/hooks/select/lock-gates.d.ts +9 -0
  1717. package/dist/hooks/select/lock-gates.d.ts.map +1 -0
  1718. package/dist/hooks/select/lock-gates.js +54 -0
  1719. package/dist/hooks/select/lock-gates.js.map +1 -0
  1720. package/dist/hooks/select/matcher-targets.d.ts +38 -0
  1721. package/dist/hooks/select/matcher-targets.d.ts.map +1 -0
  1722. package/dist/hooks/select/matcher-targets.js +80 -0
  1723. package/dist/hooks/select/matcher-targets.js.map +1 -0
  1724. package/dist/hooks/select/matcher-values.d.ts +53 -0
  1725. package/dist/hooks/select/matcher-values.d.ts.map +1 -0
  1726. package/dist/hooks/select/matcher-values.js +73 -0
  1727. package/dist/hooks/select/matcher-values.js.map +1 -0
  1728. package/dist/hooks/select/matcher.d.ts +14 -0
  1729. package/dist/hooks/select/matcher.d.ts.map +1 -0
  1730. package/dist/hooks/select/matcher.js +19 -0
  1731. package/dist/hooks/select/matcher.js.map +1 -0
  1732. package/dist/hooks/select/mcp-client.d.ts +8 -0
  1733. package/dist/hooks/select/mcp-client.d.ts.map +1 -0
  1734. package/dist/hooks/select/mcp-client.js +19 -0
  1735. package/dist/hooks/select/mcp-client.js.map +1 -0
  1736. package/dist/hooks/select/mcp-tools.d.ts +13 -0
  1737. package/dist/hooks/select/mcp-tools.d.ts.map +1 -0
  1738. package/dist/hooks/select/mcp-tools.js +70 -0
  1739. package/dist/hooks/select/mcp-tools.js.map +1 -0
  1740. package/dist/hooks/select/model-switch.d.ts +9 -0
  1741. package/dist/hooks/select/model-switch.d.ts.map +1 -0
  1742. package/dist/hooks/select/model-switch.js +14 -0
  1743. package/dist/hooks/select/model-switch.js.map +1 -0
  1744. package/dist/hooks/select/once.d.ts +25 -0
  1745. package/dist/hooks/select/once.d.ts.map +1 -0
  1746. package/dist/hooks/select/once.js +33 -0
  1747. package/dist/hooks/select/once.js.map +1 -0
  1748. package/dist/hooks/select/select.d.ts +20 -0
  1749. package/dist/hooks/select/select.d.ts.map +1 -0
  1750. package/dist/hooks/select/select.js +64 -0
  1751. package/dist/hooks/select/select.js.map +1 -0
  1752. package/dist/hooks/select/watch-list.d.ts +37 -0
  1753. package/dist/hooks/select/watch-list.d.ts.map +1 -0
  1754. package/dist/hooks/select/watch-list.js +54 -0
  1755. package/dist/hooks/select/watch-list.js.map +1 -0
  1756. package/dist/hooks/source-kind.d.ts +41 -0
  1757. package/dist/hooks/source-kind.d.ts.map +1 -0
  1758. package/dist/hooks/source-kind.js +46 -0
  1759. package/dist/hooks/source-kind.js.map +1 -0
  1760. package/dist/hooks/verdict/background.d.ts +4 -0
  1761. package/dist/hooks/verdict/background.d.ts.map +1 -0
  1762. package/dist/hooks/verdict/background.js +58 -0
  1763. package/dist/hooks/verdict/background.js.map +1 -0
  1764. package/dist/hooks/verdict/blocked-prompt.d.ts +4 -0
  1765. package/dist/hooks/verdict/blocked-prompt.d.ts.map +1 -0
  1766. package/dist/hooks/verdict/blocked-prompt.js +28 -0
  1767. package/dist/hooks/verdict/blocked-prompt.js.map +1 -0
  1768. package/dist/hooks/verdict/debug-lines.d.ts +10 -0
  1769. package/dist/hooks/verdict/debug-lines.d.ts.map +1 -0
  1770. package/dist/hooks/verdict/debug-lines.js +19 -0
  1771. package/dist/hooks/verdict/debug-lines.js.map +1 -0
  1772. package/dist/hooks/verdict/exit-codes.d.ts +49 -0
  1773. package/dist/hooks/verdict/exit-codes.d.ts.map +1 -0
  1774. package/dist/hooks/verdict/exit-codes.js +25 -0
  1775. package/dist/hooks/verdict/exit-codes.js.map +1 -0
  1776. package/dist/hooks/verdict/exit2.d.ts +54 -0
  1777. package/dist/hooks/verdict/exit2.d.ts.map +1 -0
  1778. package/dist/hooks/verdict/exit2.js +61 -0
  1779. package/dist/hooks/verdict/exit2.js.map +1 -0
  1780. package/dist/hooks/verdict/exited.d.ts +5 -0
  1781. package/dist/hooks/verdict/exited.d.ts.map +1 -0
  1782. package/dist/hooks/verdict/exited.js +186 -0
  1783. package/dist/hooks/verdict/exited.js.map +1 -0
  1784. package/dist/hooks/verdict/http-response.d.ts +6 -0
  1785. package/dist/hooks/verdict/http-response.d.ts.map +1 -0
  1786. package/dist/hooks/verdict/http-response.js +48 -0
  1787. package/dist/hooks/verdict/http-response.js.map +1 -0
  1788. package/dist/hooks/verdict/index.d.ts +13 -0
  1789. package/dist/hooks/verdict/index.d.ts.map +1 -0
  1790. package/dist/hooks/verdict/index.js +7 -0
  1791. package/dist/hooks/verdict/index.js.map +1 -0
  1792. package/dist/hooks/verdict/interpret.d.ts +23 -0
  1793. package/dist/hooks/verdict/interpret.d.ts.map +1 -0
  1794. package/dist/hooks/verdict/interpret.js +79 -0
  1795. package/dist/hooks/verdict/interpret.js.map +1 -0
  1796. package/dist/hooks/verdict/mcp-answer.d.ts +5 -0
  1797. package/dist/hooks/verdict/mcp-answer.d.ts.map +1 -0
  1798. package/dist/hooks/verdict/mcp-answer.js +57 -0
  1799. package/dist/hooks/verdict/mcp-answer.js.map +1 -0
  1800. package/dist/hooks/verdict/model-switch.d.ts +28 -0
  1801. package/dist/hooks/verdict/model-switch.d.ts.map +1 -0
  1802. package/dist/hooks/verdict/model-switch.js +30 -0
  1803. package/dist/hooks/verdict/model-switch.js.map +1 -0
  1804. package/dist/hooks/verdict/model-verdict.d.ts +7 -0
  1805. package/dist/hooks/verdict/model-verdict.d.ts.map +1 -0
  1806. package/dist/hooks/verdict/model-verdict.js +66 -0
  1807. package/dist/hooks/verdict/model-verdict.js.map +1 -0
  1808. package/dist/hooks/verdict/notices.d.ts +51 -0
  1809. package/dist/hooks/verdict/notices.d.ts.map +1 -0
  1810. package/dist/hooks/verdict/notices.js +58 -0
  1811. package/dist/hooks/verdict/notices.js.map +1 -0
  1812. package/dist/hooks/verdict/on-failure.d.ts +38 -0
  1813. package/dist/hooks/verdict/on-failure.d.ts.map +1 -0
  1814. package/dist/hooks/verdict/on-failure.js +176 -0
  1815. package/dist/hooks/verdict/on-failure.js.map +1 -0
  1816. package/dist/hooks/verdict/plain-stdout.d.ts +12 -0
  1817. package/dist/hooks/verdict/plain-stdout.d.ts.map +1 -0
  1818. package/dist/hooks/verdict/plain-stdout.js +15 -0
  1819. package/dist/hooks/verdict/plain-stdout.js.map +1 -0
  1820. package/dist/hooks/verdict/route.d.ts +15 -0
  1821. package/dist/hooks/verdict/route.d.ts.map +1 -0
  1822. package/dist/hooks/verdict/route.js +38 -0
  1823. package/dist/hooks/verdict/route.js.map +1 -0
  1824. package/dist/hooks/verdict/stdout-kind.d.ts +34 -0
  1825. package/dist/hooks/verdict/stdout-kind.d.ts.map +1 -0
  1826. package/dist/hooks/verdict/stdout-kind.js +56 -0
  1827. package/dist/hooks/verdict/stdout-kind.js.map +1 -0
  1828. package/dist/hooks/verdict/stop-block-cap.d.ts +16 -0
  1829. package/dist/hooks/verdict/stop-block-cap.d.ts.map +1 -0
  1830. package/dist/hooks/verdict/stop-block-cap.js +82 -0
  1831. package/dist/hooks/verdict/stop-block-cap.js.map +1 -0
  1832. package/dist/hooks/verdict/subject.d.ts +25 -0
  1833. package/dist/hooks/verdict/subject.d.ts.map +1 -0
  1834. package/dist/hooks/verdict/subject.js +2 -0
  1835. package/dist/hooks/verdict/subject.js.map +1 -0
  1836. package/dist/hooks/verdict/suspect-capture.d.ts +4 -0
  1837. package/dist/hooks/verdict/suspect-capture.d.ts.map +1 -0
  1838. package/dist/hooks/verdict/suspect-capture.js +41 -0
  1839. package/dist/hooks/verdict/suspect-capture.js.map +1 -0
  1840. package/dist/hooks/verdict/types.d.ts +188 -0
  1841. package/dist/hooks/verdict/types.d.ts.map +1 -0
  1842. package/dist/hooks/verdict/types.js +2 -0
  1843. package/dist/hooks/verdict/types.js.map +1 -0
  1844. package/dist/host/background-queue.d.ts +33 -0
  1845. package/dist/host/background-queue.d.ts.map +1 -0
  1846. package/dist/host/background-queue.js +44 -0
  1847. package/dist/host/background-queue.js.map +1 -0
  1848. package/dist/host/catalog.d.ts +21 -0
  1849. package/dist/host/catalog.d.ts.map +1 -0
  1850. package/dist/host/catalog.js +116 -0
  1851. package/dist/host/catalog.js.map +1 -0
  1852. package/dist/host/core-servers.d.ts +29 -0
  1853. package/dist/host/core-servers.d.ts.map +1 -0
  1854. package/dist/host/core-servers.js +74 -0
  1855. package/dist/host/core-servers.js.map +1 -0
  1856. package/dist/host/core-skills.d.ts +4 -0
  1857. package/dist/host/core-skills.d.ts.map +1 -0
  1858. package/dist/host/core-skills.js +45 -0
  1859. package/dist/host/core-skills.js.map +1 -0
  1860. package/dist/host/core-view.d.ts +8 -0
  1861. package/dist/host/core-view.d.ts.map +1 -0
  1862. package/dist/host/core-view.js +49 -0
  1863. package/dist/host/core-view.js.map +1 -0
  1864. package/dist/host/host.d.ts +31 -0
  1865. package/dist/host/host.d.ts.map +1 -0
  1866. package/dist/host/host.js +33 -0
  1867. package/dist/host/host.js.map +1 -0
  1868. package/dist/host/index.d.ts +32 -0
  1869. package/dist/host/index.d.ts.map +1 -0
  1870. package/dist/host/index.js +9 -0
  1871. package/dist/host/index.js.map +1 -0
  1872. package/dist/host/permission-rules.d.ts +26 -0
  1873. package/dist/host/permission-rules.d.ts.map +1 -0
  1874. package/dist/host/permission-rules.js +33 -0
  1875. package/dist/host/permission-rules.js.map +1 -0
  1876. package/dist/host/permission-session.d.ts +46 -0
  1877. package/dist/host/permission-session.d.ts.map +1 -0
  1878. package/dist/host/permission-session.js +83 -0
  1879. package/dist/host/permission-session.js.map +1 -0
  1880. package/dist/host/plugin-dependencies.d.ts +20 -0
  1881. package/dist/host/plugin-dependencies.d.ts.map +1 -0
  1882. package/dist/host/plugin-dependencies.js +98 -0
  1883. package/dist/host/plugin-dependencies.js.map +1 -0
  1884. package/dist/host/plugin-set.d.ts +32 -0
  1885. package/dist/host/plugin-set.d.ts.map +1 -0
  1886. package/dist/host/plugin-set.js +87 -0
  1887. package/dist/host/plugin-set.js.map +1 -0
  1888. package/dist/host/saved-approval.d.ts +20 -0
  1889. package/dist/host/saved-approval.d.ts.map +1 -0
  1890. package/dist/host/saved-approval.js +15 -0
  1891. package/dist/host/saved-approval.js.map +1 -0
  1892. package/dist/host/scope.d.ts +30 -0
  1893. package/dist/host/scope.d.ts.map +1 -0
  1894. package/dist/host/scope.js +41 -0
  1895. package/dist/host/scope.js.map +1 -0
  1896. package/dist/host/sdk-hooks.d.ts +21 -0
  1897. package/dist/host/sdk-hooks.d.ts.map +1 -0
  1898. package/dist/host/sdk-hooks.js +26 -0
  1899. package/dist/host/sdk-hooks.js.map +1 -0
  1900. package/dist/host/sdk-output.d.ts +17 -0
  1901. package/dist/host/sdk-output.d.ts.map +1 -0
  1902. package/dist/host/sdk-output.js +147 -0
  1903. package/dist/host/sdk-output.js.map +1 -0
  1904. package/dist/host/session-agents.d.ts +76 -0
  1905. package/dist/host/session-agents.d.ts.map +1 -0
  1906. package/dist/host/session-agents.js +110 -0
  1907. package/dist/host/session-agents.js.map +1 -0
  1908. package/dist/host/session-bare-repository.d.ts +13 -0
  1909. package/dist/host/session-bare-repository.d.ts.map +1 -0
  1910. package/dist/host/session-bare-repository.js +32 -0
  1911. package/dist/host/session-bare-repository.js.map +1 -0
  1912. package/dist/host/session-components.d.ts +56 -0
  1913. package/dist/host/session-components.d.ts.map +1 -0
  1914. package/dist/host/session-components.js +76 -0
  1915. package/dist/host/session-components.js.map +1 -0
  1916. package/dist/host/session-content.d.ts +13 -0
  1917. package/dist/host/session-content.d.ts.map +1 -0
  1918. package/dist/host/session-content.js +47 -0
  1919. package/dist/host/session-content.js.map +1 -0
  1920. package/dist/host/session-core-dispatch.d.ts +28 -0
  1921. package/dist/host/session-core-dispatch.d.ts.map +1 -0
  1922. package/dist/host/session-core-dispatch.js +60 -0
  1923. package/dist/host/session-core-dispatch.js.map +1 -0
  1924. package/dist/host/session-core-hooks.d.ts +38 -0
  1925. package/dist/host/session-core-hooks.d.ts.map +1 -0
  1926. package/dist/host/session-core-hooks.js +71 -0
  1927. package/dist/host/session-core-hooks.js.map +1 -0
  1928. package/dist/host/session-core.d.ts +115 -0
  1929. package/dist/host/session-core.d.ts.map +1 -0
  1930. package/dist/host/session-core.js +100 -0
  1931. package/dist/host/session-core.js.map +1 -0
  1932. package/dist/host/session-directories.d.ts +18 -0
  1933. package/dist/host/session-directories.d.ts.map +1 -0
  1934. package/dist/host/session-directories.js +18 -0
  1935. package/dist/host/session-directories.js.map +1 -0
  1936. package/dist/host/session-engine.d.ts +11 -0
  1937. package/dist/host/session-engine.d.ts.map +1 -0
  1938. package/dist/host/session-engine.js +68 -0
  1939. package/dist/host/session-engine.js.map +1 -0
  1940. package/dist/host/session-environment.d.ts +20 -0
  1941. package/dist/host/session-environment.d.ts.map +1 -0
  1942. package/dist/host/session-environment.js +82 -0
  1943. package/dist/host/session-environment.js.map +1 -0
  1944. package/dist/host/session-first-read.d.ts +17 -0
  1945. package/dist/host/session-first-read.d.ts.map +1 -0
  1946. package/dist/host/session-first-read.js +14 -0
  1947. package/dist/host/session-first-read.js.map +1 -0
  1948. package/dist/host/session-folder-resolution.d.ts +15 -0
  1949. package/dist/host/session-folder-resolution.d.ts.map +1 -0
  1950. package/dist/host/session-folder-resolution.js +65 -0
  1951. package/dist/host/session-folder-resolution.js.map +1 -0
  1952. package/dist/host/session-folders.d.ts +71 -0
  1953. package/dist/host/session-folders.d.ts.map +1 -0
  1954. package/dist/host/session-folders.js +100 -0
  1955. package/dist/host/session-folders.js.map +1 -0
  1956. package/dist/host/session-hook-scope.d.ts +74 -0
  1957. package/dist/host/session-hook-scope.d.ts.map +1 -0
  1958. package/dist/host/session-hook-scope.js +93 -0
  1959. package/dist/host/session-hook-scope.js.map +1 -0
  1960. package/dist/host/session-hooks.d.ts +48 -0
  1961. package/dist/host/session-hooks.d.ts.map +1 -0
  1962. package/dist/host/session-hooks.js +109 -0
  1963. package/dist/host/session-hooks.js.map +1 -0
  1964. package/dist/host/session-host-skills.d.ts +36 -0
  1965. package/dist/host/session-host-skills.d.ts.map +1 -0
  1966. package/dist/host/session-host-skills.js +55 -0
  1967. package/dist/host/session-host-skills.js.map +1 -0
  1968. package/dist/host/session-mentions.d.ts +60 -0
  1969. package/dist/host/session-mentions.d.ts.map +1 -0
  1970. package/dist/host/session-mentions.js +53 -0
  1971. package/dist/host/session-mentions.js.map +1 -0
  1972. package/dist/host/session-monitors.d.ts +58 -0
  1973. package/dist/host/session-monitors.d.ts.map +1 -0
  1974. package/dist/host/session-monitors.js +65 -0
  1975. package/dist/host/session-monitors.js.map +1 -0
  1976. package/dist/host/session-permission-updates.d.ts +10 -0
  1977. package/dist/host/session-permission-updates.d.ts.map +1 -0
  1978. package/dist/host/session-permission-updates.js +26 -0
  1979. package/dist/host/session-permission-updates.js.map +1 -0
  1980. package/dist/host/session-registry.d.ts +34 -0
  1981. package/dist/host/session-registry.d.ts.map +1 -0
  1982. package/dist/host/session-registry.js +126 -0
  1983. package/dist/host/session-registry.js.map +1 -0
  1984. package/dist/host/session-skill-catalog.d.ts +53 -0
  1985. package/dist/host/session-skill-catalog.d.ts.map +1 -0
  1986. package/dist/host/session-skill-catalog.js +25 -0
  1987. package/dist/host/session-skill-catalog.js.map +1 -0
  1988. package/dist/host/session-skill-entries.d.ts +46 -0
  1989. package/dist/host/session-skill-entries.d.ts.map +1 -0
  1990. package/dist/host/session-skill-entries.js +81 -0
  1991. package/dist/host/session-skill-entries.js.map +1 -0
  1992. package/dist/host/session-skill-expand.d.ts +65 -0
  1993. package/dist/host/session-skill-expand.d.ts.map +1 -0
  1994. package/dist/host/session-skill-expand.js +179 -0
  1995. package/dist/host/session-skill-expand.js.map +1 -0
  1996. package/dist/host/session-skill-hooks.d.ts +20 -0
  1997. package/dist/host/session-skill-hooks.d.ts.map +1 -0
  1998. package/dist/host/session-skill-hooks.js +74 -0
  1999. package/dist/host/session-skill-hooks.js.map +1 -0
  2000. package/dist/host/session-skill-permission.d.ts +9 -0
  2001. package/dist/host/session-skill-permission.d.ts.map +1 -0
  2002. package/dist/host/session-skill-permission.js +21 -0
  2003. package/dist/host/session-skill-permission.js.map +1 -0
  2004. package/dist/host/session-skill-preload.d.ts +25 -0
  2005. package/dist/host/session-skill-preload.d.ts.map +1 -0
  2006. package/dist/host/session-skill-preload.js +48 -0
  2007. package/dist/host/session-skill-preload.js.map +1 -0
  2008. package/dist/host/session-skill-readers.d.ts +26 -0
  2009. package/dist/host/session-skill-readers.d.ts.map +1 -0
  2010. package/dist/host/session-skill-readers.js +22 -0
  2011. package/dist/host/session-skill-readers.js.map +1 -0
  2012. package/dist/host/session-skills.d.ts +125 -0
  2013. package/dist/host/session-skills.d.ts.map +1 -0
  2014. package/dist/host/session-skills.js +132 -0
  2015. package/dist/host/session-skills.js.map +1 -0
  2016. package/dist/host/session-start-repeats.d.ts +18 -0
  2017. package/dist/host/session-start-repeats.d.ts.map +1 -0
  2018. package/dist/host/session-start-repeats.js +32 -0
  2019. package/dist/host/session-start-repeats.js.map +1 -0
  2020. package/dist/host/session-tool-check.d.ts +44 -0
  2021. package/dist/host/session-tool-check.d.ts.map +1 -0
  2022. package/dist/host/session-tool-check.js +43 -0
  2023. package/dist/host/session-tool-check.js.map +1 -0
  2024. package/dist/host/session-types.d.ts +182 -0
  2025. package/dist/host/session-types.d.ts.map +1 -0
  2026. package/dist/host/session-types.js +2 -0
  2027. package/dist/host/session-types.js.map +1 -0
  2028. package/dist/host/session-workflows.d.ts +20 -0
  2029. package/dist/host/session-workflows.d.ts.map +1 -0
  2030. package/dist/host/session-workflows.js +32 -0
  2031. package/dist/host/session-workflows.js.map +1 -0
  2032. package/dist/host/session.d.ts +42 -0
  2033. package/dist/host/session.d.ts.map +1 -0
  2034. package/dist/host/session.js +75 -0
  2035. package/dist/host/session.js.map +1 -0
  2036. package/dist/host/state.d.ts +63 -0
  2037. package/dist/host/state.d.ts.map +1 -0
  2038. package/dist/host/state.js +157 -0
  2039. package/dist/host/state.js.map +1 -0
  2040. package/dist/host/turn.d.ts +24 -0
  2041. package/dist/host/turn.d.ts.map +1 -0
  2042. package/dist/host/turn.js +27 -0
  2043. package/dist/host/turn.js.map +1 -0
  2044. package/dist/host/types.d.ts +144 -0
  2045. package/dist/host/types.d.ts.map +1 -0
  2046. package/dist/host/types.js +2 -0
  2047. package/dist/host/types.js.map +1 -0
  2048. package/dist/index.d.ts +35 -0
  2049. package/dist/index.d.ts.map +1 -0
  2050. package/dist/index.js +13 -0
  2051. package/dist/index.js.map +1 -0
  2052. package/dist/loading/background-trust.d.ts +37 -0
  2053. package/dist/loading/background-trust.d.ts.map +1 -0
  2054. package/dist/loading/background-trust.js +27 -0
  2055. package/dist/loading/background-trust.js.map +1 -0
  2056. package/dist/loading/bin.d.ts +27 -0
  2057. package/dist/loading/bin.d.ts.map +1 -0
  2058. package/dist/loading/bin.js +37 -0
  2059. package/dist/loading/bin.js.map +1 -0
  2060. package/dist/loading/channels.d.ts +12 -0
  2061. package/dist/loading/channels.d.ts.map +1 -0
  2062. package/dist/loading/channels.js +15 -0
  2063. package/dist/loading/channels.js.map +1 -0
  2064. package/dist/loading/combine.d.ts +18 -0
  2065. package/dist/loading/combine.d.ts.map +1 -0
  2066. package/dist/loading/combine.js +6 -0
  2067. package/dist/loading/combine.js.map +1 -0
  2068. package/dist/loading/command-debug.d.ts +9 -0
  2069. package/dist/loading/command-debug.d.ts.map +1 -0
  2070. package/dist/loading/command-debug.js +27 -0
  2071. package/dist/loading/command-debug.js.map +1 -0
  2072. package/dist/loading/component-readers.d.ts +15 -0
  2073. package/dist/loading/component-readers.d.ts.map +1 -0
  2074. package/dist/loading/component-readers.js +28 -0
  2075. package/dist/loading/component-readers.js.map +1 -0
  2076. package/dist/loading/core/assets.d.ts +6 -0
  2077. package/dist/loading/core/assets.d.ts.map +1 -0
  2078. package/dist/loading/core/assets.js +38 -0
  2079. package/dist/loading/core/assets.js.map +1 -0
  2080. package/dist/loading/core/config.d.ts +19 -0
  2081. package/dist/loading/core/config.d.ts.map +1 -0
  2082. package/dist/loading/core/config.js +93 -0
  2083. package/dist/loading/core/config.js.map +1 -0
  2084. package/dist/loading/core/dual-check.d.ts +16 -0
  2085. package/dist/loading/core/dual-check.d.ts.map +1 -0
  2086. package/dist/loading/core/dual-check.js +34 -0
  2087. package/dist/loading/core/dual-check.js.map +1 -0
  2088. package/dist/loading/core/entry-fields.d.ts +13 -0
  2089. package/dist/loading/core/entry-fields.d.ts.map +1 -0
  2090. package/dist/loading/core/entry-fields.js +22 -0
  2091. package/dist/loading/core/entry-fields.js.map +1 -0
  2092. package/dist/loading/core/form.d.ts +34 -0
  2093. package/dist/loading/core/form.d.ts.map +1 -0
  2094. package/dist/loading/core/form.js +46 -0
  2095. package/dist/loading/core/form.js.map +1 -0
  2096. package/dist/loading/core/index.d.ts +7 -0
  2097. package/dist/loading/core/index.d.ts.map +1 -0
  2098. package/dist/loading/core/index.js +6 -0
  2099. package/dist/loading/core/index.js.map +1 -0
  2100. package/dist/loading/core/load-core.d.ts +11 -0
  2101. package/dist/loading/core/load-core.d.ts.map +1 -0
  2102. package/dist/loading/core/load-core.js +48 -0
  2103. package/dist/loading/core/load-core.js.map +1 -0
  2104. package/dist/loading/core/load-package.d.ts +25 -0
  2105. package/dist/loading/core/load-package.d.ts.map +1 -0
  2106. package/dist/loading/core/load-package.js +29 -0
  2107. package/dist/loading/core/load-package.js.map +1 -0
  2108. package/dist/loading/core/locations.d.ts +29 -0
  2109. package/dist/loading/core/locations.d.ts.map +1 -0
  2110. package/dist/loading/core/locations.js +32 -0
  2111. package/dist/loading/core/locations.js.map +1 -0
  2112. package/dist/loading/core/manifest-step.d.ts +4 -0
  2113. package/dist/loading/core/manifest-step.d.ts.map +1 -0
  2114. package/dist/loading/core/manifest-step.js +24 -0
  2115. package/dist/loading/core/manifest-step.js.map +1 -0
  2116. package/dist/loading/core/model.d.ts +45 -0
  2117. package/dist/loading/core/model.d.ts.map +1 -0
  2118. package/dist/loading/core/model.js +2 -0
  2119. package/dist/loading/core/model.js.map +1 -0
  2120. package/dist/loading/core/skills.d.ts +17 -0
  2121. package/dist/loading/core/skills.d.ts.map +1 -0
  2122. package/dist/loading/core/skills.js +50 -0
  2123. package/dist/loading/core/skills.js.map +1 -0
  2124. package/dist/loading/declared-shape.d.ts +14 -0
  2125. package/dist/loading/declared-shape.d.ts.map +1 -0
  2126. package/dist/loading/declared-shape.js +11 -0
  2127. package/dist/loading/declared-shape.js.map +1 -0
  2128. package/dist/loading/discover-config.d.ts +16 -0
  2129. package/dist/loading/discover-config.d.ts.map +1 -0
  2130. package/dist/loading/discover-config.js +90 -0
  2131. package/dist/loading/discover-config.js.map +1 -0
  2132. package/dist/loading/discover-listed.d.ts +10 -0
  2133. package/dist/loading/discover-listed.d.ts.map +1 -0
  2134. package/dist/loading/discover-listed.js +165 -0
  2135. package/dist/loading/discover-listed.js.map +1 -0
  2136. package/dist/loading/discover.d.ts +20 -0
  2137. package/dist/loading/discover.d.ts.map +1 -0
  2138. package/dist/loading/discover.js +71 -0
  2139. package/dist/loading/discover.js.map +1 -0
  2140. package/dist/loading/discovered.d.ts +66 -0
  2141. package/dist/loading/discovered.d.ts.map +1 -0
  2142. package/dist/loading/discovered.js +2 -0
  2143. package/dist/loading/discovered.js.map +1 -0
  2144. package/dist/loading/folder-plugin.d.ts +64 -0
  2145. package/dist/loading/folder-plugin.d.ts.map +1 -0
  2146. package/dist/loading/folder-plugin.js +89 -0
  2147. package/dist/loading/folder-plugin.js.map +1 -0
  2148. package/dist/loading/ignored-folder.d.ts +11 -0
  2149. package/dist/loading/ignored-folder.d.ts.map +1 -0
  2150. package/dist/loading/ignored-folder.js +22 -0
  2151. package/dist/loading/ignored-folder.js.map +1 -0
  2152. package/dist/loading/index.d.ts +38 -0
  2153. package/dist/loading/index.d.ts.map +1 -0
  2154. package/dist/loading/index.js +21 -0
  2155. package/dist/loading/index.js.map +1 -0
  2156. package/dist/loading/load-notes.d.ts +21 -0
  2157. package/dist/loading/load-notes.d.ts.map +1 -0
  2158. package/dist/loading/load-notes.js +34 -0
  2159. package/dist/loading/load-notes.js.map +1 -0
  2160. package/dist/loading/load-plugin.d.ts +63 -0
  2161. package/dist/loading/load-plugin.d.ts.map +1 -0
  2162. package/dist/loading/load-plugin.js +205 -0
  2163. package/dist/loading/load-plugin.js.map +1 -0
  2164. package/dist/loading/local-settings-trust.d.ts +35 -0
  2165. package/dist/loading/local-settings-trust.d.ts.map +1 -0
  2166. package/dist/loading/local-settings-trust.js +27 -0
  2167. package/dist/loading/local-settings-trust.js.map +1 -0
  2168. package/dist/loading/manifest-gate.d.ts +23 -0
  2169. package/dist/loading/manifest-gate.d.ts.map +1 -0
  2170. package/dist/loading/manifest-gate.js +55 -0
  2171. package/dist/loading/manifest-gate.js.map +1 -0
  2172. package/dist/loading/merge-hooks.d.ts +10 -0
  2173. package/dist/loading/merge-hooks.d.ts.map +1 -0
  2174. package/dist/loading/merge-hooks.js +18 -0
  2175. package/dist/loading/merge-hooks.js.map +1 -0
  2176. package/dist/loading/plugin-debug.d.ts +35 -0
  2177. package/dist/loading/plugin-debug.d.ts.map +1 -0
  2178. package/dist/loading/plugin-debug.js +55 -0
  2179. package/dist/loading/plugin-debug.js.map +1 -0
  2180. package/dist/loading/plugin-folder.d.ts +35 -0
  2181. package/dist/loading/plugin-folder.d.ts.map +1 -0
  2182. package/dist/loading/plugin-folder.js +52 -0
  2183. package/dist/loading/plugin-folder.js.map +1 -0
  2184. package/dist/loading/plugin-model.d.ts +100 -0
  2185. package/dist/loading/plugin-model.d.ts.map +1 -0
  2186. package/dist/loading/plugin-model.js +2 -0
  2187. package/dist/loading/plugin-model.js.map +1 -0
  2188. package/dist/loading/plugin-scaffold.d.ts +39 -0
  2189. package/dist/loading/plugin-scaffold.d.ts.map +1 -0
  2190. package/dist/loading/plugin-scaffold.js +43 -0
  2191. package/dist/loading/plugin-scaffold.js.map +1 -0
  2192. package/dist/loading/ports.d.ts +15 -0
  2193. package/dist/loading/ports.d.ts.map +1 -0
  2194. package/dist/loading/ports.js +6 -0
  2195. package/dist/loading/ports.js.map +1 -0
  2196. package/dist/loading/reader-types.d.ts +54 -0
  2197. package/dist/loading/reader-types.d.ts.map +1 -0
  2198. package/dist/loading/reader-types.js +2 -0
  2199. package/dist/loading/reader-types.js.map +1 -0
  2200. package/dist/loading/readers-assets.d.ts +5 -0
  2201. package/dist/loading/readers-assets.d.ts.map +1 -0
  2202. package/dist/loading/readers-assets.js +53 -0
  2203. package/dist/loading/readers-assets.js.map +1 -0
  2204. package/dist/loading/readers-config.d.ts +12 -0
  2205. package/dist/loading/readers-config.d.ts.map +1 -0
  2206. package/dist/loading/readers-config.js +122 -0
  2207. package/dist/loading/readers-config.js.map +1 -0
  2208. package/dist/loading/readers-text.d.ts +10 -0
  2209. package/dist/loading/readers-text.d.ts.map +1 -0
  2210. package/dist/loading/readers-text.js +51 -0
  2211. package/dist/loading/readers-text.js.map +1 -0
  2212. package/dist/loading/repository-limits.d.ts +51 -0
  2213. package/dist/loading/repository-limits.d.ts.map +1 -0
  2214. package/dist/loading/repository-limits.js +88 -0
  2215. package/dist/loading/repository-limits.js.map +1 -0
  2216. package/dist/loading/repository-messages.d.ts +14 -0
  2217. package/dist/loading/repository-messages.d.ts.map +1 -0
  2218. package/dist/loading/repository-messages.js +38 -0
  2219. package/dist/loading/repository-messages.js.map +1 -0
  2220. package/dist/loading/repository-trust.d.ts +53 -0
  2221. package/dist/loading/repository-trust.d.ts.map +1 -0
  2222. package/dist/loading/repository-trust.js +78 -0
  2223. package/dist/loading/repository-trust.js.map +1 -0
  2224. package/dist/loading/repository-types.d.ts +7 -0
  2225. package/dist/loading/repository-types.d.ts.map +1 -0
  2226. package/dist/loading/repository-types.js +2 -0
  2227. package/dist/loading/repository-types.js.map +1 -0
  2228. package/dist/loading/resolve/bundle-scope.d.ts +18 -0
  2229. package/dist/loading/resolve/bundle-scope.d.ts.map +1 -0
  2230. package/dist/loading/resolve/bundle-scope.js +33 -0
  2231. package/dist/loading/resolve/bundle-scope.js.map +1 -0
  2232. package/dist/loading/resolve/channel.d.ts +45 -0
  2233. package/dist/loading/resolve/channel.d.ts.map +1 -0
  2234. package/dist/loading/resolve/channel.js +58 -0
  2235. package/dist/loading/resolve/channel.js.map +1 -0
  2236. package/dist/loading/resolve/content.d.ts +23 -0
  2237. package/dist/loading/resolve/content.d.ts.map +1 -0
  2238. package/dist/loading/resolve/content.js +26 -0
  2239. package/dist/loading/resolve/content.js.map +1 -0
  2240. package/dist/loading/resolve/data-id.d.ts +7 -0
  2241. package/dist/loading/resolve/data-id.d.ts.map +1 -0
  2242. package/dist/loading/resolve/data-id.js +7 -0
  2243. package/dist/loading/resolve/data-id.js.map +1 -0
  2244. package/dist/loading/resolve/deep.d.ts +18 -0
  2245. package/dist/loading/resolve/deep.d.ts.map +1 -0
  2246. package/dist/loading/resolve/deep.js +37 -0
  2247. package/dist/loading/resolve/deep.js.map +1 -0
  2248. package/dist/loading/resolve/exported-environment.d.ts +12 -0
  2249. package/dist/loading/resolve/exported-environment.d.ts.map +1 -0
  2250. package/dist/loading/resolve/exported-environment.js +23 -0
  2251. package/dist/loading/resolve/exported-environment.js.map +1 -0
  2252. package/dist/loading/resolve/field-map.d.ts +21 -0
  2253. package/dist/loading/resolve/field-map.d.ts.map +1 -0
  2254. package/dist/loading/resolve/field-map.js +30 -0
  2255. package/dist/loading/resolve/field-map.js.map +1 -0
  2256. package/dist/loading/resolve/field-runner.d.ts +28 -0
  2257. package/dist/loading/resolve/field-runner.d.ts.map +1 -0
  2258. package/dist/loading/resolve/field-runner.js +45 -0
  2259. package/dist/loading/resolve/field-runner.js.map +1 -0
  2260. package/dist/loading/resolve/headers-helper-origins.d.ts +49 -0
  2261. package/dist/loading/resolve/headers-helper-origins.d.ts.map +1 -0
  2262. package/dist/loading/resolve/headers-helper-origins.js +121 -0
  2263. package/dist/loading/resolve/headers-helper-origins.js.map +1 -0
  2264. package/dist/loading/resolve/headers-helper-run.d.ts +61 -0
  2265. package/dist/loading/resolve/headers-helper-run.d.ts.map +1 -0
  2266. package/dist/loading/resolve/headers-helper-run.js +106 -0
  2267. package/dist/loading/resolve/headers-helper-run.js.map +1 -0
  2268. package/dist/loading/resolve/headers-helper-trust.d.ts +41 -0
  2269. package/dist/loading/resolve/headers-helper-trust.d.ts.map +1 -0
  2270. package/dist/loading/resolve/headers-helper-trust.js +55 -0
  2271. package/dist/loading/resolve/headers-helper-trust.js.map +1 -0
  2272. package/dist/loading/resolve/headers-helper.d.ts +56 -0
  2273. package/dist/loading/resolve/headers-helper.d.ts.map +1 -0
  2274. package/dist/loading/resolve/headers-helper.js +93 -0
  2275. package/dist/loading/resolve/headers-helper.js.map +1 -0
  2276. package/dist/loading/resolve/hook-command.d.ts +65 -0
  2277. package/dist/loading/resolve/hook-command.d.ts.map +1 -0
  2278. package/dist/loading/resolve/hook-command.js +141 -0
  2279. package/dist/loading/resolve/hook-command.js.map +1 -0
  2280. package/dist/loading/resolve/hook-space-path.d.ts +9 -0
  2281. package/dist/loading/resolve/hook-space-path.d.ts.map +1 -0
  2282. package/dist/loading/resolve/hook-space-path.js +40 -0
  2283. package/dist/loading/resolve/hook-space-path.js.map +1 -0
  2284. package/dist/loading/resolve/index.d.ts +40 -0
  2285. package/dist/loading/resolve/index.d.ts.map +1 -0
  2286. package/dist/loading/resolve/index.js +39 -0
  2287. package/dist/loading/resolve/index.js.map +1 -0
  2288. package/dist/loading/resolve/lsp-runtime.d.ts +57 -0
  2289. package/dist/loading/resolve/lsp-runtime.d.ts.map +1 -0
  2290. package/dist/loading/resolve/lsp-runtime.js +65 -0
  2291. package/dist/loading/resolve/lsp-runtime.js.map +1 -0
  2292. package/dist/loading/resolve/lsp-startup.d.ts +21 -0
  2293. package/dist/loading/resolve/lsp-startup.d.ts.map +1 -0
  2294. package/dist/loading/resolve/lsp-startup.js +23 -0
  2295. package/dist/loading/resolve/lsp-startup.js.map +1 -0
  2296. package/dist/loading/resolve/lsp.d.ts +66 -0
  2297. package/dist/loading/resolve/lsp.d.ts.map +1 -0
  2298. package/dist/loading/resolve/lsp.js +60 -0
  2299. package/dist/loading/resolve/lsp.js.map +1 -0
  2300. package/dist/loading/resolve/mcp.d.ts +72 -0
  2301. package/dist/loading/resolve/mcp.d.ts.map +1 -0
  2302. package/dist/loading/resolve/mcp.js +150 -0
  2303. package/dist/loading/resolve/mcp.js.map +1 -0
  2304. package/dist/loading/resolve/monitor-trigger.d.ts +59 -0
  2305. package/dist/loading/resolve/monitor-trigger.d.ts.map +1 -0
  2306. package/dist/loading/resolve/monitor-trigger.js +58 -0
  2307. package/dist/loading/resolve/monitor-trigger.js.map +1 -0
  2308. package/dist/loading/resolve/monitor.d.ts +44 -0
  2309. package/dist/loading/resolve/monitor.d.ts.map +1 -0
  2310. package/dist/loading/resolve/monitor.js +31 -0
  2311. package/dist/loading/resolve/monitor.js.map +1 -0
  2312. package/dist/loading/resolve/powershell-no-program.d.ts +11 -0
  2313. package/dist/loading/resolve/powershell-no-program.d.ts.map +1 -0
  2314. package/dist/loading/resolve/powershell-no-program.js +34 -0
  2315. package/dist/loading/resolve/powershell-no-program.js.map +1 -0
  2316. package/dist/loading/resolve/prepared.d.ts +14 -0
  2317. package/dist/loading/resolve/prepared.d.ts.map +1 -0
  2318. package/dist/loading/resolve/prepared.js +15 -0
  2319. package/dist/loading/resolve/prepared.js.map +1 -0
  2320. package/dist/loading/resolve/processes.d.ts +36 -0
  2321. package/dist/loading/resolve/processes.d.ts.map +1 -0
  2322. package/dist/loading/resolve/processes.js +43 -0
  2323. package/dist/loading/resolve/processes.js.map +1 -0
  2324. package/dist/loading/resolve/scope.d.ts +70 -0
  2325. package/dist/loading/resolve/scope.d.ts.map +1 -0
  2326. package/dist/loading/resolve/scope.js +2 -0
  2327. package/dist/loading/resolve/scope.js.map +1 -0
  2328. package/dist/loading/resolve/shell-exports.d.ts +18 -0
  2329. package/dist/loading/resolve/shell-exports.d.ts.map +1 -0
  2330. package/dist/loading/resolve/shell-exports.js +38 -0
  2331. package/dist/loading/resolve/shell-exports.js.map +1 -0
  2332. package/dist/loading/resolve/shell-guard-hook.d.ts +15 -0
  2333. package/dist/loading/resolve/shell-guard-hook.d.ts.map +1 -0
  2334. package/dist/loading/resolve/shell-guard-hook.js +13 -0
  2335. package/dist/loading/resolve/shell-guard-hook.js.map +1 -0
  2336. package/dist/loading/resolve/shell-guard-monitor.d.ts +16 -0
  2337. package/dist/loading/resolve/shell-guard-monitor.d.ts.map +1 -0
  2338. package/dist/loading/resolve/shell-guard-monitor.js +14 -0
  2339. package/dist/loading/resolve/shell-guard-monitor.js.map +1 -0
  2340. package/dist/loading/resolve/shell-guard.d.ts +22 -0
  2341. package/dist/loading/resolve/shell-guard.d.ts.map +1 -0
  2342. package/dist/loading/resolve/shell-guard.js +11 -0
  2343. package/dist/loading/resolve/shell-guard.js.map +1 -0
  2344. package/dist/loading/resolve/shell-prefix.d.ts +24 -0
  2345. package/dist/loading/resolve/shell-prefix.d.ts.map +1 -0
  2346. package/dist/loading/resolve/shell-prefix.js +32 -0
  2347. package/dist/loading/resolve/shell-prefix.js.map +1 -0
  2348. package/dist/loading/resolve/subprocess-scrub.d.ts +14 -0
  2349. package/dist/loading/resolve/subprocess-scrub.d.ts.map +1 -0
  2350. package/dist/loading/resolve/subprocess-scrub.js +52 -0
  2351. package/dist/loading/resolve/subprocess-scrub.js.map +1 -0
  2352. package/dist/loading/resolve/substitute.d.ts +62 -0
  2353. package/dist/loading/resolve/substitute.d.ts.map +1 -0
  2354. package/dist/loading/resolve/substitute.js +173 -0
  2355. package/dist/loading/resolve/substitute.js.map +1 -0
  2356. package/dist/loading/resolve/substituter.d.ts +19 -0
  2357. package/dist/loading/resolve/substituter.d.ts.map +1 -0
  2358. package/dist/loading/resolve/substituter.js +34 -0
  2359. package/dist/loading/resolve/substituter.js.map +1 -0
  2360. package/dist/loading/resolve/surfaces.d.ts +48 -0
  2361. package/dist/loading/resolve/surfaces.d.ts.map +1 -0
  2362. package/dist/loading/resolve/surfaces.js +127 -0
  2363. package/dist/loading/resolve/surfaces.js.map +1 -0
  2364. package/dist/loading/resolve/user-config-values.d.ts +5 -0
  2365. package/dist/loading/resolve/user-config-values.d.ts.map +1 -0
  2366. package/dist/loading/resolve/user-config-values.js +56 -0
  2367. package/dist/loading/resolve/user-config-values.js.map +1 -0
  2368. package/dist/loading/resolve/user-config.d.ts +44 -0
  2369. package/dist/loading/resolve/user-config.d.ts.map +1 -0
  2370. package/dist/loading/resolve/user-config.js +39 -0
  2371. package/dist/loading/resolve/user-config.js.map +1 -0
  2372. package/dist/loading/resolve/variables.d.ts +18 -0
  2373. package/dist/loading/resolve/variables.d.ts.map +1 -0
  2374. package/dist/loading/resolve/variables.js +51 -0
  2375. package/dist/loading/resolve/variables.js.map +1 -0
  2376. package/dist/loading/resolve/without-plugin.d.ts +9 -0
  2377. package/dist/loading/resolve/without-plugin.d.ts.map +1 -0
  2378. package/dist/loading/resolve/without-plugin.js +17 -0
  2379. package/dist/loading/resolve/without-plugin.js.map +1 -0
  2380. package/dist/loading/trust-gates.d.ts +77 -0
  2381. package/dist/loading/trust-gates.d.ts.map +1 -0
  2382. package/dist/loading/trust-gates.js +127 -0
  2383. package/dist/loading/trust-gates.js.map +1 -0
  2384. package/dist/loading/validate/components-only.d.ts +10 -0
  2385. package/dist/loading/validate/components-only.d.ts.map +1 -0
  2386. package/dist/loading/validate/components-only.js +68 -0
  2387. package/dist/loading/validate/components-only.js.map +1 -0
  2388. package/dist/loading/validate/components.d.ts +23 -0
  2389. package/dist/loading/validate/components.d.ts.map +1 -0
  2390. package/dist/loading/validate/components.js +98 -0
  2391. package/dist/loading/validate/components.js.map +1 -0
  2392. package/dist/loading/validate/index.d.ts +3 -0
  2393. package/dist/loading/validate/index.d.ts.map +1 -0
  2394. package/dist/loading/validate/index.js +3 -0
  2395. package/dist/loading/validate/index.js.map +1 -0
  2396. package/dist/loading/validate/json-files.d.ts +7 -0
  2397. package/dist/loading/validate/json-files.d.ts.map +1 -0
  2398. package/dist/loading/validate/json-files.js +87 -0
  2399. package/dist/loading/validate/json-files.js.map +1 -0
  2400. package/dist/loading/validate/links.d.ts +27 -0
  2401. package/dist/loading/validate/links.d.ts.map +1 -0
  2402. package/dist/loading/validate/links.js +46 -0
  2403. package/dist/loading/validate/links.js.map +1 -0
  2404. package/dist/loading/validate/marketplace-target.d.ts +9 -0
  2405. package/dist/loading/validate/marketplace-target.d.ts.map +1 -0
  2406. package/dist/loading/validate/marketplace-target.js +176 -0
  2407. package/dist/loading/validate/marketplace-target.js.map +1 -0
  2408. package/dist/loading/validate/paths.d.ts +8 -0
  2409. package/dist/loading/validate/paths.d.ts.map +1 -0
  2410. package/dist/loading/validate/paths.js +17 -0
  2411. package/dist/loading/validate/paths.js.map +1 -0
  2412. package/dist/loading/validate/plugin-contents.d.ts +11 -0
  2413. package/dist/loading/validate/plugin-contents.d.ts.map +1 -0
  2414. package/dist/loading/validate/plugin-contents.js +41 -0
  2415. package/dist/loading/validate/plugin-contents.js.map +1 -0
  2416. package/dist/loading/validate/plugin-target.d.ts +18 -0
  2417. package/dist/loading/validate/plugin-target.d.ts.map +1 -0
  2418. package/dist/loading/validate/plugin-target.js +53 -0
  2419. package/dist/loading/validate/plugin-target.js.map +1 -0
  2420. package/dist/loading/validate/report.d.ts +10 -0
  2421. package/dist/loading/validate/report.d.ts.map +1 -0
  2422. package/dist/loading/validate/report.js +3 -0
  2423. package/dist/loading/validate/report.js.map +1 -0
  2424. package/dist/loading/validate/validate-plugin.d.ts +17 -0
  2425. package/dist/loading/validate/validate-plugin.d.ts.map +1 -0
  2426. package/dist/loading/validate/validate-plugin.js +44 -0
  2427. package/dist/loading/validate/validate-plugin.js.map +1 -0
  2428. package/dist/loading/walk.d.ts +16 -0
  2429. package/dist/loading/walk.d.ts.map +1 -0
  2430. package/dist/loading/walk.js +204 -0
  2431. package/dist/loading/walk.js.map +1 -0
  2432. package/dist/loading/workspace-trust.d.ts +81 -0
  2433. package/dist/loading/workspace-trust.d.ts.map +1 -0
  2434. package/dist/loading/workspace-trust.js +83 -0
  2435. package/dist/loading/workspace-trust.js.map +1 -0
  2436. package/dist/marketplace/add-failures.d.ts +54 -0
  2437. package/dist/marketplace/add-failures.d.ts.map +1 -0
  2438. package/dist/marketplace/add-failures.js +104 -0
  2439. package/dist/marketplace/add-failures.js.map +1 -0
  2440. package/dist/marketplace/archive-scan.d.ts +10 -0
  2441. package/dist/marketplace/archive-scan.d.ts.map +1 -0
  2442. package/dist/marketplace/archive-scan.js +159 -0
  2443. package/dist/marketplace/archive-scan.js.map +1 -0
  2444. package/dist/marketplace/archive-source.d.ts +29 -0
  2445. package/dist/marketplace/archive-source.d.ts.map +1 -0
  2446. package/dist/marketplace/archive-source.js +106 -0
  2447. package/dist/marketplace/archive-source.js.map +1 -0
  2448. package/dist/marketplace/command-directory.d.ts +15 -0
  2449. package/dist/marketplace/command-directory.d.ts.map +1 -0
  2450. package/dist/marketplace/command-directory.js +63 -0
  2451. package/dist/marketplace/command-directory.js.map +1 -0
  2452. package/dist/marketplace/command-mode.d.ts +10 -0
  2453. package/dist/marketplace/command-mode.d.ts.map +1 -0
  2454. package/dist/marketplace/command-mode.js +10 -0
  2455. package/dist/marketplace/command-mode.js.map +1 -0
  2456. package/dist/marketplace/command-output.d.ts +20 -0
  2457. package/dist/marketplace/command-output.d.ts.map +1 -0
  2458. package/dist/marketplace/command-output.js +43 -0
  2459. package/dist/marketplace/command-output.js.map +1 -0
  2460. package/dist/marketplace/command-source.d.ts +41 -0
  2461. package/dist/marketplace/command-source.d.ts.map +1 -0
  2462. package/dist/marketplace/command-source.js +65 -0
  2463. package/dist/marketplace/command-source.js.map +1 -0
  2464. package/dist/marketplace/copy-plan.d.ts +81 -0
  2465. package/dist/marketplace/copy-plan.d.ts.map +1 -0
  2466. package/dist/marketplace/copy-plan.js +66 -0
  2467. package/dist/marketplace/copy-plan.js.map +1 -0
  2468. package/dist/marketplace/copy-sweep.d.ts +40 -0
  2469. package/dist/marketplace/copy-sweep.d.ts.map +1 -0
  2470. package/dist/marketplace/copy-sweep.js +45 -0
  2471. package/dist/marketplace/copy-sweep.js.map +1 -0
  2472. package/dist/marketplace/credential-variables.d.ts +7 -0
  2473. package/dist/marketplace/credential-variables.d.ts.map +1 -0
  2474. package/dist/marketplace/credential-variables.js +7 -0
  2475. package/dist/marketplace/credential-variables.js.map +1 -0
  2476. package/dist/marketplace/cross-marketplace.d.ts +47 -0
  2477. package/dist/marketplace/cross-marketplace.d.ts.map +1 -0
  2478. package/dist/marketplace/cross-marketplace.js +34 -0
  2479. package/dist/marketplace/cross-marketplace.js.map +1 -0
  2480. package/dist/marketplace/declared-source.d.ts +26 -0
  2481. package/dist/marketplace/declared-source.d.ts.map +1 -0
  2482. package/dist/marketplace/declared-source.js +29 -0
  2483. package/dist/marketplace/declared-source.js.map +1 -0
  2484. package/dist/marketplace/dependencies.d.ts +75 -0
  2485. package/dist/marketplace/dependencies.d.ts.map +1 -0
  2486. package/dist/marketplace/dependencies.js +179 -0
  2487. package/dist/marketplace/dependencies.js.map +1 -0
  2488. package/dist/marketplace/dependency-catalog.d.ts +19 -0
  2489. package/dist/marketplace/dependency-catalog.d.ts.map +1 -0
  2490. package/dist/marketplace/dependency-catalog.js +35 -0
  2491. package/dist/marketplace/dependency-catalog.js.map +1 -0
  2492. package/dist/marketplace/dependency-enable.d.ts +39 -0
  2493. package/dist/marketplace/dependency-enable.d.ts.map +1 -0
  2494. package/dist/marketplace/dependency-enable.js +60 -0
  2495. package/dist/marketplace/dependency-enable.js.map +1 -0
  2496. package/dist/marketplace/dependency-graph.d.ts +150 -0
  2497. package/dist/marketplace/dependency-graph.d.ts.map +1 -0
  2498. package/dist/marketplace/dependency-graph.js +106 -0
  2499. package/dist/marketplace/dependency-graph.js.map +1 -0
  2500. package/dist/marketplace/dependency-install-plan.d.ts +86 -0
  2501. package/dist/marketplace/dependency-install-plan.d.ts.map +1 -0
  2502. package/dist/marketplace/dependency-install-plan.js +181 -0
  2503. package/dist/marketplace/dependency-install-plan.js.map +1 -0
  2504. package/dist/marketplace/dependency-install-walk.d.ts +57 -0
  2505. package/dist/marketplace/dependency-install-walk.d.ts.map +1 -0
  2506. package/dist/marketplace/dependency-install-walk.js +144 -0
  2507. package/dist/marketplace/dependency-install-walk.js.map +1 -0
  2508. package/dist/marketplace/dependency-prune.d.ts +66 -0
  2509. package/dist/marketplace/dependency-prune.d.ts.map +1 -0
  2510. package/dist/marketplace/dependency-prune.js +99 -0
  2511. package/dist/marketplace/dependency-prune.js.map +1 -0
  2512. package/dist/marketplace/dependency-tags.d.ts +108 -0
  2513. package/dist/marketplace/dependency-tags.d.ts.map +1 -0
  2514. package/dist/marketplace/dependency-tags.js +157 -0
  2515. package/dist/marketplace/dependency-tags.js.map +1 -0
  2516. package/dist/marketplace/deprecated-marketplace.d.ts +15 -0
  2517. package/dist/marketplace/deprecated-marketplace.d.ts.map +1 -0
  2518. package/dist/marketplace/deprecated-marketplace.js +26 -0
  2519. package/dist/marketplace/deprecated-marketplace.js.map +1 -0
  2520. package/dist/marketplace/download-headers.d.ts +59 -0
  2521. package/dist/marketplace/download-headers.d.ts.map +1 -0
  2522. package/dist/marketplace/download-headers.js +90 -0
  2523. package/dist/marketplace/download-headers.js.map +1 -0
  2524. package/dist/marketplace/enablement-notes.d.ts +82 -0
  2525. package/dist/marketplace/enablement-notes.d.ts.map +1 -0
  2526. package/dist/marketplace/enablement-notes.js +93 -0
  2527. package/dist/marketplace/enablement-notes.js.map +1 -0
  2528. package/dist/marketplace/fetch-plan.d.ts +24 -0
  2529. package/dist/marketplace/fetch-plan.d.ts.map +1 -0
  2530. package/dist/marketplace/fetch-plan.js +186 -0
  2531. package/dist/marketplace/fetch-plan.js.map +1 -0
  2532. package/dist/marketplace/folder-collision.d.ts +36 -0
  2533. package/dist/marketplace/folder-collision.d.ts.map +1 -0
  2534. package/dist/marketplace/folder-collision.js +48 -0
  2535. package/dist/marketplace/folder-collision.js.map +1 -0
  2536. package/dist/marketplace/git-transport.d.ts +56 -0
  2537. package/dist/marketplace/git-transport.d.ts.map +1 -0
  2538. package/dist/marketplace/git-transport.js +53 -0
  2539. package/dist/marketplace/git-transport.js.map +1 -0
  2540. package/dist/marketplace/header-helper.d.ts +37 -0
  2541. package/dist/marketplace/header-helper.d.ts.map +1 -0
  2542. package/dist/marketplace/header-helper.js +93 -0
  2543. package/dist/marketplace/header-helper.js.map +1 -0
  2544. package/dist/marketplace/header-map.d.ts +13 -0
  2545. package/dist/marketplace/header-map.d.ts.map +1 -0
  2546. package/dist/marketplace/header-map.js +22 -0
  2547. package/dist/marketplace/header-map.js.map +1 -0
  2548. package/dist/marketplace/header-policy.d.ts +80 -0
  2549. package/dist/marketplace/header-policy.d.ts.map +1 -0
  2550. package/dist/marketplace/header-policy.js +175 -0
  2551. package/dist/marketplace/header-policy.js.map +1 -0
  2552. package/dist/marketplace/headless-report.d.ts +81 -0
  2553. package/dist/marketplace/headless-report.d.ts.map +1 -0
  2554. package/dist/marketplace/headless-report.js +60 -0
  2555. package/dist/marketplace/headless-report.js.map +1 -0
  2556. package/dist/marketplace/http-download.d.ts +26 -0
  2557. package/dist/marketplace/http-download.d.ts.map +1 -0
  2558. package/dist/marketplace/http-download.js +65 -0
  2559. package/dist/marketplace/http-download.js.map +1 -0
  2560. package/dist/marketplace/ignored-marketplace.d.ts +58 -0
  2561. package/dist/marketplace/ignored-marketplace.d.ts.map +1 -0
  2562. package/dist/marketplace/ignored-marketplace.js +106 -0
  2563. package/dist/marketplace/ignored-marketplace.js.map +1 -0
  2564. package/dist/marketplace/index.d.ts +39 -0
  2565. package/dist/marketplace/index.d.ts.map +1 -0
  2566. package/dist/marketplace/index.js +34 -0
  2567. package/dist/marketplace/index.js.map +1 -0
  2568. package/dist/marketplace/install-commands.d.ts +84 -0
  2569. package/dist/marketplace/install-commands.d.ts.map +1 -0
  2570. package/dist/marketplace/install-commands.js +85 -0
  2571. package/dist/marketplace/install-commands.js.map +1 -0
  2572. package/dist/marketplace/install-errors.d.ts +112 -0
  2573. package/dist/marketplace/install-errors.d.ts.map +1 -0
  2574. package/dist/marketplace/install-errors.js +147 -0
  2575. package/dist/marketplace/install-errors.js.map +1 -0
  2576. package/dist/marketplace/install-failures.d.ts +58 -0
  2577. package/dist/marketplace/install-failures.d.ts.map +1 -0
  2578. package/dist/marketplace/install-failures.js +97 -0
  2579. package/dist/marketplace/install-failures.js.map +1 -0
  2580. package/dist/marketplace/install-guidance.d.ts +12 -0
  2581. package/dist/marketplace/install-guidance.d.ts.map +1 -0
  2582. package/dist/marketplace/install-guidance.js +12 -0
  2583. package/dist/marketplace/install-guidance.js.map +1 -0
  2584. package/dist/marketplace/install-hosts.d.ts +58 -0
  2585. package/dist/marketplace/install-hosts.d.ts.map +1 -0
  2586. package/dist/marketplace/install-hosts.js +111 -0
  2587. package/dist/marketplace/install-hosts.js.map +1 -0
  2588. package/dist/marketplace/install-index.d.ts +25 -0
  2589. package/dist/marketplace/install-index.d.ts.map +1 -0
  2590. package/dist/marketplace/install-index.js +22 -0
  2591. package/dist/marketplace/install-index.js.map +1 -0
  2592. package/dist/marketplace/install-lifecycle-index.d.ts +23 -0
  2593. package/dist/marketplace/install-lifecycle-index.d.ts.map +1 -0
  2594. package/dist/marketplace/install-lifecycle-index.js +23 -0
  2595. package/dist/marketplace/install-lifecycle-index.js.map +1 -0
  2596. package/dist/marketplace/install-messages.d.ts +61 -0
  2597. package/dist/marketplace/install-messages.d.ts.map +1 -0
  2598. package/dist/marketplace/install-messages.js +68 -0
  2599. package/dist/marketplace/install-messages.js.map +1 -0
  2600. package/dist/marketplace/install-mode.d.ts +69 -0
  2601. package/dist/marketplace/install-mode.d.ts.map +1 -0
  2602. package/dist/marketplace/install-mode.js +87 -0
  2603. package/dist/marketplace/install-mode.js.map +1 -0
  2604. package/dist/marketplace/install-plan.d.ts +84 -0
  2605. package/dist/marketplace/install-plan.d.ts.map +1 -0
  2606. package/dist/marketplace/install-plan.js +140 -0
  2607. package/dist/marketplace/install-plan.js.map +1 -0
  2608. package/dist/marketplace/install-plans.d.ts +83 -0
  2609. package/dist/marketplace/install-plans.d.ts.map +1 -0
  2610. package/dist/marketplace/install-plans.js +61 -0
  2611. package/dist/marketplace/install-plans.js.map +1 -0
  2612. package/dist/marketplace/install-records-at.d.ts +18 -0
  2613. package/dist/marketplace/install-records-at.d.ts.map +1 -0
  2614. package/dist/marketplace/install-records-at.js +26 -0
  2615. package/dist/marketplace/install-records-at.js.map +1 -0
  2616. package/dist/marketplace/install-scopes.d.ts +50 -0
  2617. package/dist/marketplace/install-scopes.d.ts.map +1 -0
  2618. package/dist/marketplace/install-scopes.js +71 -0
  2619. package/dist/marketplace/install-scopes.js.map +1 -0
  2620. package/dist/marketplace/installed-plugins-store.d.ts +30 -0
  2621. package/dist/marketplace/installed-plugins-store.d.ts.map +1 -0
  2622. package/dist/marketplace/installed-plugins-store.js +45 -0
  2623. package/dist/marketplace/installed-plugins-store.js.map +1 -0
  2624. package/dist/marketplace/installed-plugins.d.ts +45 -0
  2625. package/dist/marketplace/installed-plugins.d.ts.map +1 -0
  2626. package/dist/marketplace/installed-plugins.js +142 -0
  2627. package/dist/marketplace/installed-plugins.js.map +1 -0
  2628. package/dist/marketplace/known-marketplaces.d.ts +56 -0
  2629. package/dist/marketplace/known-marketplaces.d.ts.map +1 -0
  2630. package/dist/marketplace/known-marketplaces.js +92 -0
  2631. package/dist/marketplace/known-marketplaces.js.map +1 -0
  2632. package/dist/marketplace/lfs-pointer.d.ts +22 -0
  2633. package/dist/marketplace/lfs-pointer.d.ts.map +1 -0
  2634. package/dist/marketplace/lfs-pointer.js +76 -0
  2635. package/dist/marketplace/lfs-pointer.js.map +1 -0
  2636. package/dist/marketplace/managed-take-back.d.ts +25 -0
  2637. package/dist/marketplace/managed-take-back.d.ts.map +1 -0
  2638. package/dist/marketplace/managed-take-back.js +24 -0
  2639. package/dist/marketplace/managed-take-back.js.map +1 -0
  2640. package/dist/marketplace/marketplace-catalog.d.ts +14 -0
  2641. package/dist/marketplace/marketplace-catalog.d.ts.map +1 -0
  2642. package/dist/marketplace/marketplace-catalog.js +31 -0
  2643. package/dist/marketplace/marketplace-catalog.js.map +1 -0
  2644. package/dist/marketplace/marketplace-download.d.ts +28 -0
  2645. package/dist/marketplace/marketplace-download.d.ts.map +1 -0
  2646. package/dist/marketplace/marketplace-download.js +38 -0
  2647. package/dist/marketplace/marketplace-download.js.map +1 -0
  2648. package/dist/marketplace/marketplace-fetch-plan.d.ts +14 -0
  2649. package/dist/marketplace/marketplace-fetch-plan.d.ts.map +1 -0
  2650. package/dist/marketplace/marketplace-fetch-plan.js +104 -0
  2651. package/dist/marketplace/marketplace-fetch-plan.js.map +1 -0
  2652. package/dist/marketplace/marketplace-input.d.ts +20 -0
  2653. package/dist/marketplace/marketplace-input.d.ts.map +1 -0
  2654. package/dist/marketplace/marketplace-input.js +131 -0
  2655. package/dist/marketplace/marketplace-input.js.map +1 -0
  2656. package/dist/marketplace/missing-plugin-diagnosis.d.ts +33 -0
  2657. package/dist/marketplace/missing-plugin-diagnosis.d.ts.map +1 -0
  2658. package/dist/marketplace/missing-plugin-diagnosis.js +24 -0
  2659. package/dist/marketplace/missing-plugin-diagnosis.js.map +1 -0
  2660. package/dist/marketplace/name-conflicts.d.ts +65 -0
  2661. package/dist/marketplace/name-conflicts.d.ts.map +1 -0
  2662. package/dist/marketplace/name-conflicts.js +104 -0
  2663. package/dist/marketplace/name-conflicts.js.map +1 -0
  2664. package/dist/marketplace/node-deps-checks.d.ts +20 -0
  2665. package/dist/marketplace/node-deps-checks.d.ts.map +1 -0
  2666. package/dist/marketplace/node-deps-checks.js +124 -0
  2667. package/dist/marketplace/node-deps-checks.js.map +1 -0
  2668. package/dist/marketplace/node-deps-failure.d.ts +53 -0
  2669. package/dist/marketplace/node-deps-failure.d.ts.map +1 -0
  2670. package/dist/marketplace/node-deps-failure.js +152 -0
  2671. package/dist/marketplace/node-deps-failure.js.map +1 -0
  2672. package/dist/marketplace/node-deps-lockfile.d.ts +35 -0
  2673. package/dist/marketplace/node-deps-lockfile.d.ts.map +1 -0
  2674. package/dist/marketplace/node-deps-lockfile.js +136 -0
  2675. package/dist/marketplace/node-deps-lockfile.js.map +1 -0
  2676. package/dist/marketplace/node-deps-spec.d.ts +56 -0
  2677. package/dist/marketplace/node-deps-spec.d.ts.map +1 -0
  2678. package/dist/marketplace/node-deps-spec.js +172 -0
  2679. package/dist/marketplace/node-deps-spec.js.map +1 -0
  2680. package/dist/marketplace/node-deps-types.d.ts +142 -0
  2681. package/dist/marketplace/node-deps-types.d.ts.map +1 -0
  2682. package/dist/marketplace/node-deps-types.js +15 -0
  2683. package/dist/marketplace/node-deps-types.js.map +1 -0
  2684. package/dist/marketplace/node-deps.d.ts +9 -0
  2685. package/dist/marketplace/node-deps.d.ts.map +1 -0
  2686. package/dist/marketplace/node-deps.js +76 -0
  2687. package/dist/marketplace/node-deps.js.map +1 -0
  2688. package/dist/marketplace/orphan-cleanup.d.ts +37 -0
  2689. package/dist/marketplace/orphan-cleanup.d.ts.map +1 -0
  2690. package/dist/marketplace/orphan-cleanup.js +55 -0
  2691. package/dist/marketplace/orphan-cleanup.js.map +1 -0
  2692. package/dist/marketplace/plugin-content.d.ts +8 -0
  2693. package/dist/marketplace/plugin-content.d.ts.map +1 -0
  2694. package/dist/marketplace/plugin-content.js +14 -0
  2695. package/dist/marketplace/plugin-content.js.map +1 -0
  2696. package/dist/marketplace/plugin-dir-dependencies.d.ts +22 -0
  2697. package/dist/marketplace/plugin-dir-dependencies.d.ts.map +1 -0
  2698. package/dist/marketplace/plugin-dir-dependencies.js +48 -0
  2699. package/dist/marketplace/plugin-dir-dependencies.js.map +1 -0
  2700. package/dist/marketplace/plugin-footprint.d.ts +59 -0
  2701. package/dist/marketplace/plugin-footprint.d.ts.map +1 -0
  2702. package/dist/marketplace/plugin-footprint.js +37 -0
  2703. package/dist/marketplace/plugin-footprint.js.map +1 -0
  2704. package/dist/marketplace/plugin-hints.d.ts +78 -0
  2705. package/dist/marketplace/plugin-hints.d.ts.map +1 -0
  2706. package/dist/marketplace/plugin-hints.js +107 -0
  2707. package/dist/marketplace/plugin-hints.js.map +1 -0
  2708. package/dist/marketplace/plugin-names.d.ts +35 -0
  2709. package/dist/marketplace/plugin-names.d.ts.map +1 -0
  2710. package/dist/marketplace/plugin-names.js +19 -0
  2711. package/dist/marketplace/plugin-names.js.map +1 -0
  2712. package/dist/marketplace/ports.d.ts +99 -0
  2713. package/dist/marketplace/ports.d.ts.map +1 -0
  2714. package/dist/marketplace/ports.js +2 -0
  2715. package/dist/marketplace/ports.js.map +1 -0
  2716. package/dist/marketplace/refused-name.d.ts +20 -0
  2717. package/dist/marketplace/refused-name.d.ts.map +1 -0
  2718. package/dist/marketplace/refused-name.js +31 -0
  2719. package/dist/marketplace/refused-name.js.map +1 -0
  2720. package/dist/marketplace/release-channels.d.ts +25 -0
  2721. package/dist/marketplace/release-channels.d.ts.map +1 -0
  2722. package/dist/marketplace/release-channels.js +55 -0
  2723. package/dist/marketplace/release-channels.js.map +1 -0
  2724. package/dist/marketplace/relevance-match.d.ts +49 -0
  2725. package/dist/marketplace/relevance-match.d.ts.map +1 -0
  2726. package/dist/marketplace/relevance-match.js +100 -0
  2727. package/dist/marketplace/relevance-match.js.map +1 -0
  2728. package/dist/marketplace/relevance-surface.d.ts +45 -0
  2729. package/dist/marketplace/relevance-surface.d.ts.map +1 -0
  2730. package/dist/marketplace/relevance-surface.js +37 -0
  2731. package/dist/marketplace/relevance-surface.js.map +1 -0
  2732. package/dist/marketplace/reload-summary.d.ts +84 -0
  2733. package/dist/marketplace/reload-summary.d.ts.map +1 -0
  2734. package/dist/marketplace/reload-summary.js +75 -0
  2735. package/dist/marketplace/reload-summary.js.map +1 -0
  2736. package/dist/marketplace/remote-plugins.d.ts +27 -0
  2737. package/dist/marketplace/remote-plugins.d.ts.map +1 -0
  2738. package/dist/marketplace/remote-plugins.js +43 -0
  2739. package/dist/marketplace/remote-plugins.js.map +1 -0
  2740. package/dist/marketplace/removal.d.ts +35 -0
  2741. package/dist/marketplace/removal.d.ts.map +1 -0
  2742. package/dist/marketplace/removal.js +26 -0
  2743. package/dist/marketplace/removal.js.map +1 -0
  2744. package/dist/marketplace/renames.d.ts +39 -0
  2745. package/dist/marketplace/renames.d.ts.map +1 -0
  2746. package/dist/marketplace/renames.js +123 -0
  2747. package/dist/marketplace/renames.js.map +1 -0
  2748. package/dist/marketplace/seed-registry.d.ts +29 -0
  2749. package/dist/marketplace/seed-registry.d.ts.map +1 -0
  2750. package/dist/marketplace/seed-registry.js +27 -0
  2751. package/dist/marketplace/seed-registry.js.map +1 -0
  2752. package/dist/marketplace/semver.d.ts +27 -0
  2753. package/dist/marketplace/semver.d.ts.map +1 -0
  2754. package/dist/marketplace/semver.js +51 -0
  2755. package/dist/marketplace/semver.js.map +1 -0
  2756. package/dist/marketplace/session-origins.d.ts +43 -0
  2757. package/dist/marketplace/session-origins.d.ts.map +1 -0
  2758. package/dist/marketplace/session-origins.js +39 -0
  2759. package/dist/marketplace/session-origins.js.map +1 -0
  2760. package/dist/marketplace/session-plugins.d.ts +50 -0
  2761. package/dist/marketplace/session-plugins.d.ts.map +1 -0
  2762. package/dist/marketplace/session-plugins.js +55 -0
  2763. package/dist/marketplace/session-plugins.js.map +1 -0
  2764. package/dist/marketplace/source-safety.d.ts +58 -0
  2765. package/dist/marketplace/source-safety.d.ts.map +1 -0
  2766. package/dist/marketplace/source-safety.js +173 -0
  2767. package/dist/marketplace/source-safety.js.map +1 -0
  2768. package/dist/marketplace/stage-report.d.ts +77 -0
  2769. package/dist/marketplace/stage-report.d.ts.map +1 -0
  2770. package/dist/marketplace/stage-report.js +71 -0
  2771. package/dist/marketplace/stage-report.js.map +1 -0
  2772. package/dist/marketplace/staged-commit.d.ts +22 -0
  2773. package/dist/marketplace/staged-commit.d.ts.map +1 -0
  2774. package/dist/marketplace/staged-commit.js +26 -0
  2775. package/dist/marketplace/staged-commit.js.map +1 -0
  2776. package/dist/marketplace/store-layout.d.ts +76 -0
  2777. package/dist/marketplace/store-layout.d.ts.map +1 -0
  2778. package/dist/marketplace/store-layout.js +80 -0
  2779. package/dist/marketplace/store-layout.js.map +1 -0
  2780. package/dist/marketplace/submodules.d.ts +34 -0
  2781. package/dist/marketplace/submodules.d.ts.map +1 -0
  2782. package/dist/marketplace/submodules.js +89 -0
  2783. package/dist/marketplace/submodules.js.map +1 -0
  2784. package/dist/marketplace/telemetry-names.d.ts +22 -0
  2785. package/dist/marketplace/telemetry-names.d.ts.map +1 -0
  2786. package/dist/marketplace/telemetry-names.js +27 -0
  2787. package/dist/marketplace/telemetry-names.js.map +1 -0
  2788. package/dist/marketplace/types.d.ts +160 -0
  2789. package/dist/marketplace/types.d.ts.map +1 -0
  2790. package/dist/marketplace/types.js +2 -0
  2791. package/dist/marketplace/types.js.map +1 -0
  2792. package/dist/marketplace/uninstall-records.d.ts +39 -0
  2793. package/dist/marketplace/uninstall-records.d.ts.map +1 -0
  2794. package/dist/marketplace/uninstall-records.js +42 -0
  2795. package/dist/marketplace/uninstall-records.js.map +1 -0
  2796. package/dist/marketplace/update-detection.d.ts +68 -0
  2797. package/dist/marketplace/update-detection.d.ts.map +1 -0
  2798. package/dist/marketplace/update-detection.js +72 -0
  2799. package/dist/marketplace/update-detection.js.map +1 -0
  2800. package/dist/marketplace/version-hash.d.ts +28 -0
  2801. package/dist/marketplace/version-hash.d.ts.map +1 -0
  2802. package/dist/marketplace/version-hash.js +72 -0
  2803. package/dist/marketplace/version-hash.js.map +1 -0
  2804. package/dist/marketplace/version-index.d.ts +7 -0
  2805. package/dist/marketplace/version-index.d.ts.map +1 -0
  2806. package/dist/marketplace/version-index.js +7 -0
  2807. package/dist/marketplace/version-index.js.map +1 -0
  2808. package/dist/marketplace/version-resolution.d.ts +68 -0
  2809. package/dist/marketplace/version-resolution.d.ts.map +1 -0
  2810. package/dist/marketplace/version-resolution.js +99 -0
  2811. package/dist/marketplace/version-resolution.js.map +1 -0
  2812. package/dist/marketplace/version-troubleshooting.d.ts +33 -0
  2813. package/dist/marketplace/version-troubleshooting.d.ts.map +1 -0
  2814. package/dist/marketplace/version-troubleshooting.js +25 -0
  2815. package/dist/marketplace/version-troubleshooting.js.map +1 -0
  2816. package/dist/mods/api/agent.d.ts +4 -0
  2817. package/dist/mods/api/agent.d.ts.map +1 -0
  2818. package/dist/mods/api/agent.js +72 -0
  2819. package/dist/mods/api/agent.js.map +1 -0
  2820. package/dist/mods/api/audio.d.ts +4 -0
  2821. package/dist/mods/api/audio.d.ts.map +1 -0
  2822. package/dist/mods/api/audio.js +55 -0
  2823. package/dist/mods/api/audio.js.map +1 -0
  2824. package/dist/mods/api/build.d.ts +60 -0
  2825. package/dist/mods/api/build.d.ts.map +1 -0
  2826. package/dist/mods/api/build.js +139 -0
  2827. package/dist/mods/api/build.js.map +1 -0
  2828. package/dist/mods/api/call.d.ts +83 -0
  2829. package/dist/mods/api/call.d.ts.map +1 -0
  2830. package/dist/mods/api/call.js +115 -0
  2831. package/dist/mods/api/call.js.map +1 -0
  2832. package/dist/mods/api/clock.d.ts +4 -0
  2833. package/dist/mods/api/clock.d.ts.map +1 -0
  2834. package/dist/mods/api/clock.js +72 -0
  2835. package/dist/mods/api/clock.js.map +1 -0
  2836. package/dist/mods/api/command.d.ts +28 -0
  2837. package/dist/mods/api/command.d.ts.map +1 -0
  2838. package/dist/mods/api/command.js +98 -0
  2839. package/dist/mods/api/command.js.map +1 -0
  2840. package/dist/mods/api/config.d.ts +8 -0
  2841. package/dist/mods/api/config.d.ts.map +1 -0
  2842. package/dist/mods/api/config.js +41 -0
  2843. package/dist/mods/api/config.js.map +1 -0
  2844. package/dist/mods/api/context-usage.d.ts +13 -0
  2845. package/dist/mods/api/context-usage.d.ts.map +1 -0
  2846. package/dist/mods/api/context-usage.js +18 -0
  2847. package/dist/mods/api/context-usage.js.map +1 -0
  2848. package/dist/mods/api/declared-port-types.d.ts +116 -0
  2849. package/dist/mods/api/declared-port-types.d.ts.map +1 -0
  2850. package/dist/mods/api/declared-port-types.js +31 -0
  2851. package/dist/mods/api/declared-port-types.js.map +1 -0
  2852. package/dist/mods/api/describe.d.ts +39 -0
  2853. package/dist/mods/api/describe.d.ts.map +1 -0
  2854. package/dist/mods/api/describe.js +59 -0
  2855. package/dist/mods/api/describe.js.map +1 -0
  2856. package/dist/mods/api/engine-create.d.ts +26 -0
  2857. package/dist/mods/api/engine-create.d.ts.map +1 -0
  2858. package/dist/mods/api/engine-create.js +80 -0
  2859. package/dist/mods/api/engine-create.js.map +1 -0
  2860. package/dist/mods/api/engine-settings.d.ts +21 -0
  2861. package/dist/mods/api/engine-settings.d.ts.map +1 -0
  2862. package/dist/mods/api/engine-settings.js +61 -0
  2863. package/dist/mods/api/engine-settings.js.map +1 -0
  2864. package/dist/mods/api/env.d.ts +5 -0
  2865. package/dist/mods/api/env.d.ts.map +1 -0
  2866. package/dist/mods/api/env.js +18 -0
  2867. package/dist/mods/api/env.js.map +1 -0
  2868. package/dist/mods/api/exec.d.ts +4 -0
  2869. package/dist/mods/api/exec.d.ts.map +1 -0
  2870. package/dist/mods/api/exec.js +149 -0
  2871. package/dist/mods/api/exec.js.map +1 -0
  2872. package/dist/mods/api/fetch-policy.d.ts +39 -0
  2873. package/dist/mods/api/fetch-policy.d.ts.map +1 -0
  2874. package/dist/mods/api/fetch-policy.js +33 -0
  2875. package/dist/mods/api/fetch-policy.js.map +1 -0
  2876. package/dist/mods/api/fs-ancestors.d.ts +3 -0
  2877. package/dist/mods/api/fs-ancestors.d.ts.map +1 -0
  2878. package/dist/mods/api/fs-ancestors.js +60 -0
  2879. package/dist/mods/api/fs-ancestors.js.map +1 -0
  2880. package/dist/mods/api/fs-ports.d.ts +73 -0
  2881. package/dist/mods/api/fs-ports.d.ts.map +1 -0
  2882. package/dist/mods/api/fs-ports.js +3 -0
  2883. package/dist/mods/api/fs-ports.js.map +1 -0
  2884. package/dist/mods/api/fs.d.ts +5 -0
  2885. package/dist/mods/api/fs.d.ts.map +1 -0
  2886. package/dist/mods/api/fs.js +117 -0
  2887. package/dist/mods/api/fs.js.map +1 -0
  2888. package/dist/mods/api/gate.d.ts +93 -0
  2889. package/dist/mods/api/gate.d.ts.map +1 -0
  2890. package/dist/mods/api/gate.js +130 -0
  2891. package/dist/mods/api/gate.js.map +1 -0
  2892. package/dist/mods/api/host-ports.d.ts +72 -0
  2893. package/dist/mods/api/host-ports.d.ts.map +1 -0
  2894. package/dist/mods/api/host-ports.js +70 -0
  2895. package/dist/mods/api/host-ports.js.map +1 -0
  2896. package/dist/mods/api/http-redirects.d.ts +14 -0
  2897. package/dist/mods/api/http-redirects.d.ts.map +1 -0
  2898. package/dist/mods/api/http-redirects.js +72 -0
  2899. package/dist/mods/api/http-redirects.js.map +1 -0
  2900. package/dist/mods/api/http.d.ts +5 -0
  2901. package/dist/mods/api/http.d.ts.map +1 -0
  2902. package/dist/mods/api/http.js +145 -0
  2903. package/dist/mods/api/http.js.map +1 -0
  2904. package/dist/mods/api/index.d.ts +24 -0
  2905. package/dist/mods/api/index.d.ts.map +1 -0
  2906. package/dist/mods/api/index.js +23 -0
  2907. package/dist/mods/api/index.js.map +1 -0
  2908. package/dist/mods/api/mcp.d.ts +4 -0
  2909. package/dist/mods/api/mcp.d.ts.map +1 -0
  2910. package/dist/mods/api/mcp.js +74 -0
  2911. package/dist/mods/api/mcp.js.map +1 -0
  2912. package/dist/mods/api/model-blocks.d.ts +34 -0
  2913. package/dist/mods/api/model-blocks.d.ts.map +1 -0
  2914. package/dist/mods/api/model-blocks.js +36 -0
  2915. package/dist/mods/api/model-blocks.js.map +1 -0
  2916. package/dist/mods/api/model.d.ts +4 -0
  2917. package/dist/mods/api/model.d.ts.map +1 -0
  2918. package/dist/mods/api/model.js +88 -0
  2919. package/dist/mods/api/model.js.map +1 -0
  2920. package/dist/mods/api/names.d.ts +11 -0
  2921. package/dist/mods/api/names.d.ts.map +1 -0
  2922. package/dist/mods/api/names.js +16 -0
  2923. package/dist/mods/api/names.js.map +1 -0
  2924. package/dist/mods/api/optional-port-types.d.ts +144 -0
  2925. package/dist/mods/api/optional-port-types.d.ts.map +1 -0
  2926. package/dist/mods/api/optional-port-types.js +2 -0
  2927. package/dist/mods/api/optional-port-types.js.map +1 -0
  2928. package/dist/mods/api/output-cut.d.ts +9 -0
  2929. package/dist/mods/api/output-cut.d.ts.map +1 -0
  2930. package/dist/mods/api/output-cut.js +10 -0
  2931. package/dist/mods/api/output-cut.js.map +1 -0
  2932. package/dist/mods/api/paths.d.ts +10 -0
  2933. package/dist/mods/api/paths.d.ts.map +1 -0
  2934. package/dist/mods/api/paths.js +17 -0
  2935. package/dist/mods/api/paths.js.map +1 -0
  2936. package/dist/mods/api/plugin.d.ts +5 -0
  2937. package/dist/mods/api/plugin.d.ts.map +1 -0
  2938. package/dist/mods/api/plugin.js +6 -0
  2939. package/dist/mods/api/plugin.js.map +1 -0
  2940. package/dist/mods/api/ports.d.ts +223 -0
  2941. package/dist/mods/api/ports.d.ts.map +1 -0
  2942. package/dist/mods/api/ports.js +3 -0
  2943. package/dist/mods/api/ports.js.map +1 -0
  2944. package/dist/mods/api/prompt.d.ts +4 -0
  2945. package/dist/mods/api/prompt.d.ts.map +1 -0
  2946. package/dist/mods/api/prompt.js +77 -0
  2947. package/dist/mods/api/prompt.js.map +1 -0
  2948. package/dist/mods/api/refusal.d.ts +26 -0
  2949. package/dist/mods/api/refusal.d.ts.map +1 -0
  2950. package/dist/mods/api/refusal.js +69 -0
  2951. package/dist/mods/api/refusal.js.map +1 -0
  2952. package/dist/mods/api/registries.d.ts +83 -0
  2953. package/dist/mods/api/registries.d.ts.map +1 -0
  2954. package/dist/mods/api/registries.js +82 -0
  2955. package/dist/mods/api/registries.js.map +1 -0
  2956. package/dist/mods/api/replay.d.ts +30 -0
  2957. package/dist/mods/api/replay.d.ts.map +1 -0
  2958. package/dist/mods/api/replay.js +63 -0
  2959. package/dist/mods/api/replay.js.map +1 -0
  2960. package/dist/mods/api/rules.d.ts +7 -0
  2961. package/dist/mods/api/rules.d.ts.map +1 -0
  2962. package/dist/mods/api/rules.js +26 -0
  2963. package/dist/mods/api/rules.js.map +1 -0
  2964. package/dist/mods/api/scope.d.ts +31 -0
  2965. package/dist/mods/api/scope.d.ts.map +1 -0
  2966. package/dist/mods/api/scope.js +30 -0
  2967. package/dist/mods/api/scope.js.map +1 -0
  2968. package/dist/mods/api/scoped-call.d.ts +9 -0
  2969. package/dist/mods/api/scoped-call.d.ts.map +1 -0
  2970. package/dist/mods/api/scoped-call.js +15 -0
  2971. package/dist/mods/api/scoped-call.js.map +1 -0
  2972. package/dist/mods/api/session-ports.d.ts +54 -0
  2973. package/dist/mods/api/session-ports.d.ts.map +1 -0
  2974. package/dist/mods/api/session-ports.js +2 -0
  2975. package/dist/mods/api/session-ports.js.map +1 -0
  2976. package/dist/mods/api/session.d.ts +4 -0
  2977. package/dist/mods/api/session.d.ts.map +1 -0
  2978. package/dist/mods/api/session.js +125 -0
  2979. package/dist/mods/api/session.js.map +1 -0
  2980. package/dist/mods/api/settings-layers.d.ts +17 -0
  2981. package/dist/mods/api/settings-layers.d.ts.map +1 -0
  2982. package/dist/mods/api/settings-layers.js +80 -0
  2983. package/dist/mods/api/settings-layers.js.map +1 -0
  2984. package/dist/mods/api/settings.d.ts +4 -0
  2985. package/dist/mods/api/settings.d.ts.map +1 -0
  2986. package/dist/mods/api/settings.js +53 -0
  2987. package/dist/mods/api/settings.js.map +1 -0
  2988. package/dist/mods/api/state-library-source.d.ts +11 -0
  2989. package/dist/mods/api/state-library-source.d.ts.map +1 -0
  2990. package/dist/mods/api/state-library-source.js +64 -0
  2991. package/dist/mods/api/state-library-source.js.map +1 -0
  2992. package/dist/mods/api/state-library.d.ts +52 -0
  2993. package/dist/mods/api/state-library.d.ts.map +1 -0
  2994. package/dist/mods/api/state-library.js +97 -0
  2995. package/dist/mods/api/state-library.js.map +1 -0
  2996. package/dist/mods/api/state.d.ts +53 -0
  2997. package/dist/mods/api/state.d.ts.map +1 -0
  2998. package/dist/mods/api/state.js +91 -0
  2999. package/dist/mods/api/state.js.map +1 -0
  3000. package/dist/mods/api/store.d.ts +9 -0
  3001. package/dist/mods/api/store.d.ts.map +1 -0
  3002. package/dist/mods/api/store.js +64 -0
  3003. package/dist/mods/api/store.js.map +1 -0
  3004. package/dist/mods/api/telemetry-origin.d.ts +4 -0
  3005. package/dist/mods/api/telemetry-origin.d.ts.map +1 -0
  3006. package/dist/mods/api/telemetry-origin.js +4 -0
  3007. package/dist/mods/api/telemetry-origin.js.map +1 -0
  3008. package/dist/mods/api/telemetry.d.ts +13 -0
  3009. package/dist/mods/api/telemetry.d.ts.map +1 -0
  3010. package/dist/mods/api/telemetry.js +63 -0
  3011. package/dist/mods/api/telemetry.js.map +1 -0
  3012. package/dist/mods/api/theme.d.ts +23 -0
  3013. package/dist/mods/api/theme.d.ts.map +1 -0
  3014. package/dist/mods/api/theme.js +169 -0
  3015. package/dist/mods/api/theme.js.map +1 -0
  3016. package/dist/mods/api/tool.d.ts +4 -0
  3017. package/dist/mods/api/tool.d.ts.map +1 -0
  3018. package/dist/mods/api/tool.js +47 -0
  3019. package/dist/mods/api/tool.js.map +1 -0
  3020. package/dist/mods/api/turn.d.ts +4 -0
  3021. package/dist/mods/api/turn.d.ts.map +1 -0
  3022. package/dist/mods/api/turn.js +8 -0
  3023. package/dist/mods/api/turn.js.map +1 -0
  3024. package/dist/mods/api/vcs.d.ts +4 -0
  3025. package/dist/mods/api/vcs.d.ts.map +1 -0
  3026. package/dist/mods/api/vcs.js +60 -0
  3027. package/dist/mods/api/vcs.js.map +1 -0
  3028. package/dist/mods/api/wasm.d.ts +4 -0
  3029. package/dist/mods/api/wasm.d.ts.map +1 -0
  3030. package/dist/mods/api/wasm.js +69 -0
  3031. package/dist/mods/api/wasm.js.map +1 -0
  3032. package/dist/mods/async-slot.d.ts +12 -0
  3033. package/dist/mods/async-slot.d.ts.map +1 -0
  3034. package/dist/mods/async-slot.js +22 -0
  3035. package/dist/mods/async-slot.js.map +1 -0
  3036. package/dist/mods/chain/api-guard.d.ts +22 -0
  3037. package/dist/mods/chain/api-guard.d.ts.map +1 -0
  3038. package/dist/mods/chain/api-guard.js +102 -0
  3039. package/dist/mods/chain/api-guard.js.map +1 -0
  3040. package/dist/mods/chain/context.d.ts +50 -0
  3041. package/dist/mods/chain/context.d.ts.map +1 -0
  3042. package/dist/mods/chain/context.js +17 -0
  3043. package/dist/mods/chain/context.js.map +1 -0
  3044. package/dist/mods/chain/core.d.ts +12 -0
  3045. package/dist/mods/chain/core.d.ts.map +1 -0
  3046. package/dist/mods/chain/core.js +33 -0
  3047. package/dist/mods/chain/core.js.map +1 -0
  3048. package/dist/mods/chain/default-matcher.d.ts +11 -0
  3049. package/dist/mods/chain/default-matcher.d.ts.map +1 -0
  3050. package/dist/mods/chain/default-matcher.js +61 -0
  3051. package/dist/mods/chain/default-matcher.js.map +1 -0
  3052. package/dist/mods/chain/dispatch.d.ts +27 -0
  3053. package/dist/mods/chain/dispatch.d.ts.map +1 -0
  3054. package/dist/mods/chain/dispatch.js +99 -0
  3055. package/dist/mods/chain/dispatch.js.map +1 -0
  3056. package/dist/mods/chain/downstream.d.ts +36 -0
  3057. package/dist/mods/chain/downstream.d.ts.map +1 -0
  3058. package/dist/mods/chain/downstream.js +48 -0
  3059. package/dist/mods/chain/downstream.js.map +1 -0
  3060. package/dist/mods/chain/failure.d.ts +61 -0
  3061. package/dist/mods/chain/failure.d.ts.map +1 -0
  3062. package/dist/mods/chain/failure.js +120 -0
  3063. package/dist/mods/chain/failure.js.map +1 -0
  3064. package/dist/mods/chain/frames.d.ts +22 -0
  3065. package/dist/mods/chain/frames.d.ts.map +1 -0
  3066. package/dist/mods/chain/frames.js +32 -0
  3067. package/dist/mods/chain/frames.js.map +1 -0
  3068. package/dist/mods/chain/guarded.d.ts +31 -0
  3069. package/dist/mods/chain/guarded.d.ts.map +1 -0
  3070. package/dist/mods/chain/guarded.js +51 -0
  3071. package/dist/mods/chain/guarded.js.map +1 -0
  3072. package/dist/mods/chain/hook-body.d.ts +7 -0
  3073. package/dist/mods/chain/hook-body.d.ts.map +1 -0
  3074. package/dist/mods/chain/hook-body.js +11 -0
  3075. package/dist/mods/chain/hook-body.js.map +1 -0
  3076. package/dist/mods/chain/index.d.ts +5 -0
  3077. package/dist/mods/chain/index.d.ts.map +1 -0
  3078. package/dist/mods/chain/index.js +5 -0
  3079. package/dist/mods/chain/index.js.map +1 -0
  3080. package/dist/mods/chain/invoke.d.ts +10 -0
  3081. package/dist/mods/chain/invoke.d.ts.map +1 -0
  3082. package/dist/mods/chain/invoke.js +243 -0
  3083. package/dist/mods/chain/invoke.js.map +1 -0
  3084. package/dist/mods/chain/judge.d.ts +26 -0
  3085. package/dist/mods/chain/judge.d.ts.map +1 -0
  3086. package/dist/mods/chain/judge.js +55 -0
  3087. package/dist/mods/chain/judge.js.map +1 -0
  3088. package/dist/mods/chain/linger.d.ts +13 -0
  3089. package/dist/mods/chain/linger.d.ts.map +1 -0
  3090. package/dist/mods/chain/linger.js +32 -0
  3091. package/dist/mods/chain/linger.js.map +1 -0
  3092. package/dist/mods/chain/link-trace.d.ts +47 -0
  3093. package/dist/mods/chain/link-trace.d.ts.map +1 -0
  3094. package/dist/mods/chain/link-trace.js +45 -0
  3095. package/dist/mods/chain/link-trace.js.map +1 -0
  3096. package/dist/mods/chain/match-local.d.ts +30 -0
  3097. package/dist/mods/chain/match-local.d.ts.map +1 -0
  3098. package/dist/mods/chain/match-local.js +83 -0
  3099. package/dist/mods/chain/match-local.js.map +1 -0
  3100. package/dist/mods/chain/matcher.d.ts +46 -0
  3101. package/dist/mods/chain/matcher.d.ts.map +1 -0
  3102. package/dist/mods/chain/matcher.js +116 -0
  3103. package/dist/mods/chain/matcher.js.map +1 -0
  3104. package/dist/mods/chain/nesting.d.ts +9 -0
  3105. package/dist/mods/chain/nesting.d.ts.map +1 -0
  3106. package/dist/mods/chain/nesting.js +13 -0
  3107. package/dist/mods/chain/nesting.js.map +1 -0
  3108. package/dist/mods/chain/next.d.ts +45 -0
  3109. package/dist/mods/chain/next.d.ts.map +1 -0
  3110. package/dist/mods/chain/next.js +140 -0
  3111. package/dist/mods/chain/next.js.map +1 -0
  3112. package/dist/mods/chain/only.d.ts +5 -0
  3113. package/dist/mods/chain/only.d.ts.map +1 -0
  3114. package/dist/mods/chain/only.js +3 -0
  3115. package/dist/mods/chain/only.js.map +1 -0
  3116. package/dist/mods/chain/reentry.d.ts +23 -0
  3117. package/dist/mods/chain/reentry.d.ts.map +1 -0
  3118. package/dist/mods/chain/reentry.js +18 -0
  3119. package/dist/mods/chain/reentry.js.map +1 -0
  3120. package/dist/mods/chain/registry.d.ts +33 -0
  3121. package/dist/mods/chain/registry.d.ts.map +1 -0
  3122. package/dist/mods/chain/registry.js +68 -0
  3123. package/dist/mods/chain/registry.js.map +1 -0
  3124. package/dist/mods/chain/rules.d.ts +12 -0
  3125. package/dist/mods/chain/rules.d.ts.map +1 -0
  3126. package/dist/mods/chain/rules.js +19 -0
  3127. package/dist/mods/chain/rules.js.map +1 -0
  3128. package/dist/mods/chain/select.d.ts +8 -0
  3129. package/dist/mods/chain/select.d.ts.map +1 -0
  3130. package/dist/mods/chain/select.js +18 -0
  3131. package/dist/mods/chain/select.js.map +1 -0
  3132. package/dist/mods/chain/tiers.d.ts +14 -0
  3133. package/dist/mods/chain/tiers.d.ts.map +1 -0
  3134. package/dist/mods/chain/tiers.js +34 -0
  3135. package/dist/mods/chain/tiers.js.map +1 -0
  3136. package/dist/mods/chain/trace.d.ts +30 -0
  3137. package/dist/mods/chain/trace.d.ts.map +1 -0
  3138. package/dist/mods/chain/trace.js +51 -0
  3139. package/dist/mods/chain/trace.js.map +1 -0
  3140. package/dist/mods/chain/validate.d.ts +16 -0
  3141. package/dist/mods/chain/validate.d.ts.map +1 -0
  3142. package/dist/mods/chain/validate.js +71 -0
  3143. package/dist/mods/chain/validate.js.map +1 -0
  3144. package/dist/mods/chain/wildcard.d.ts +19 -0
  3145. package/dist/mods/chain/wildcard.d.ts.map +1 -0
  3146. package/dist/mods/chain/wildcard.js +43 -0
  3147. package/dist/mods/chain/wildcard.js.map +1 -0
  3148. package/dist/mods/events/agent.d.ts +9 -0
  3149. package/dist/mods/events/agent.d.ts.map +1 -0
  3150. package/dist/mods/events/agent.js +32 -0
  3151. package/dist/mods/events/agent.js.map +1 -0
  3152. package/dist/mods/events/attribution.d.ts +4 -0
  3153. package/dist/mods/events/attribution.d.ts.map +1 -0
  3154. package/dist/mods/events/attribution.js +4 -0
  3155. package/dist/mods/events/attribution.js.map +1 -0
  3156. package/dist/mods/events/autocomplete.d.ts +8 -0
  3157. package/dist/mods/events/autocomplete.d.ts.map +1 -0
  3158. package/dist/mods/events/autocomplete.js +13 -0
  3159. package/dist/mods/events/autocomplete.js.map +1 -0
  3160. package/dist/mods/events/command.d.ts +29 -0
  3161. package/dist/mods/events/command.d.ts.map +1 -0
  3162. package/dist/mods/events/command.js +70 -0
  3163. package/dist/mods/events/command.js.map +1 -0
  3164. package/dist/mods/events/config.d.ts +9 -0
  3165. package/dist/mods/events/config.d.ts.map +1 -0
  3166. package/dist/mods/events/config.js +22 -0
  3167. package/dist/mods/events/config.js.map +1 -0
  3168. package/dist/mods/events/declared.d.ts +12 -0
  3169. package/dist/mods/events/declared.d.ts.map +1 -0
  3170. package/dist/mods/events/declared.js +43 -0
  3171. package/dist/mods/events/declared.js.map +1 -0
  3172. package/dist/mods/events/index.d.ts +73 -0
  3173. package/dist/mods/events/index.d.ts.map +1 -0
  3174. package/dist/mods/events/index.js +74 -0
  3175. package/dist/mods/events/index.js.map +1 -0
  3176. package/dist/mods/events/input-review.d.ts +28 -0
  3177. package/dist/mods/events/input-review.d.ts.map +1 -0
  3178. package/dist/mods/events/input-review.js +38 -0
  3179. package/dist/mods/events/input-review.js.map +1 -0
  3180. package/dist/mods/events/pinned.d.ts +7 -0
  3181. package/dist/mods/events/pinned.d.ts.map +1 -0
  3182. package/dist/mods/events/pinned.js +21 -0
  3183. package/dist/mods/events/pinned.js.map +1 -0
  3184. package/dist/mods/events/prompt-cache.d.ts +32 -0
  3185. package/dist/mods/events/prompt-cache.d.ts.map +1 -0
  3186. package/dist/mods/events/prompt-cache.js +9 -0
  3187. package/dist/mods/events/prompt-cache.js.map +1 -0
  3188. package/dist/mods/events/prompt.d.ts +28 -0
  3189. package/dist/mods/events/prompt.d.ts.map +1 -0
  3190. package/dist/mods/events/prompt.js +86 -0
  3191. package/dist/mods/events/prompt.js.map +1 -0
  3192. package/dist/mods/events/read-only.d.ts +21 -0
  3193. package/dist/mods/events/read-only.d.ts.map +1 -0
  3194. package/dist/mods/events/read-only.js +37 -0
  3195. package/dist/mods/events/read-only.js.map +1 -0
  3196. package/dist/mods/events/reasons.d.ts +22 -0
  3197. package/dist/mods/events/reasons.d.ts.map +1 -0
  3198. package/dist/mods/events/reasons.js +44 -0
  3199. package/dist/mods/events/reasons.js.map +1 -0
  3200. package/dist/mods/events/session.d.ts +9 -0
  3201. package/dist/mods/events/session.d.ts.map +1 -0
  3202. package/dist/mods/events/session.js +76 -0
  3203. package/dist/mods/events/session.js.map +1 -0
  3204. package/dist/mods/events/skill-prompt-event.d.ts +31 -0
  3205. package/dist/mods/events/skill-prompt-event.d.ts.map +1 -0
  3206. package/dist/mods/events/skill-prompt-event.js +23 -0
  3207. package/dist/mods/events/skill-prompt-event.js.map +1 -0
  3208. package/dist/mods/events/skill.d.ts +3 -0
  3209. package/dist/mods/events/skill.d.ts.map +1 -0
  3210. package/dist/mods/events/skill.js +33 -0
  3211. package/dist/mods/events/skill.js.map +1 -0
  3212. package/dist/mods/events/spec.d.ts +37 -0
  3213. package/dist/mods/events/spec.d.ts.map +1 -0
  3214. package/dist/mods/events/spec.js +51 -0
  3215. package/dist/mods/events/spec.js.map +1 -0
  3216. package/dist/mods/events/tool-check-merge.d.ts +36 -0
  3217. package/dist/mods/events/tool-check-merge.d.ts.map +1 -0
  3218. package/dist/mods/events/tool-check-merge.js +34 -0
  3219. package/dist/mods/events/tool-check-merge.js.map +1 -0
  3220. package/dist/mods/events/tool.d.ts +12 -0
  3221. package/dist/mods/events/tool.d.ts.map +1 -0
  3222. package/dist/mods/events/tool.js +75 -0
  3223. package/dist/mods/events/tool.js.map +1 -0
  3224. package/dist/mods/events/turn.d.ts +9 -0
  3225. package/dist/mods/events/turn.d.ts.map +1 -0
  3226. package/dist/mods/events/turn.js +55 -0
  3227. package/dist/mods/events/turn.js.map +1 -0
  3228. package/dist/mods/index.d.ts +10 -0
  3229. package/dist/mods/index.d.ts.map +1 -0
  3230. package/dist/mods/index.js +7 -0
  3231. package/dist/mods/index.js.map +1 -0
  3232. package/dist/mods/load/auto-mode-approval.d.ts +15 -0
  3233. package/dist/mods/load/auto-mode-approval.d.ts.map +1 -0
  3234. package/dist/mods/load/auto-mode-approval.js +3 -0
  3235. package/dist/mods/load/auto-mode-approval.js.map +1 -0
  3236. package/dist/mods/load/change-notice.d.ts +4 -0
  3237. package/dist/mods/load/change-notice.d.ts.map +1 -0
  3238. package/dist/mods/load/change-notice.js +17 -0
  3239. package/dist/mods/load/change-notice.js.map +1 -0
  3240. package/dist/mods/load/commands/active-line.d.ts +10 -0
  3241. package/dist/mods/load/commands/active-line.d.ts.map +1 -0
  3242. package/dist/mods/load/commands/active-line.js +12 -0
  3243. package/dist/mods/load/commands/active-line.js.map +1 -0
  3244. package/dist/mods/load/commands/module-facts.d.ts +22 -0
  3245. package/dist/mods/load/commands/module-facts.d.ts.map +1 -0
  3246. package/dist/mods/load/commands/module-facts.js +18 -0
  3247. package/dist/mods/load/commands/module-facts.js.map +1 -0
  3248. package/dist/mods/load/commands/scan-lead.d.ts +22 -0
  3249. package/dist/mods/load/commands/scan-lead.d.ts.map +1 -0
  3250. package/dist/mods/load/commands/scan-lead.js +57 -0
  3251. package/dist/mods/load/commands/scan-lead.js.map +1 -0
  3252. package/dist/mods/load/commands/scan-lines.d.ts +17 -0
  3253. package/dist/mods/load/commands/scan-lines.d.ts.map +1 -0
  3254. package/dist/mods/load/commands/scan-lines.js +114 -0
  3255. package/dist/mods/load/commands/scan-lines.js.map +1 -0
  3256. package/dist/mods/load/commands/sha256.d.ts +7 -0
  3257. package/dist/mods/load/commands/sha256.d.ts.map +1 -0
  3258. package/dist/mods/load/commands/sha256.js +75 -0
  3259. package/dist/mods/load/commands/sha256.js.map +1 -0
  3260. package/dist/mods/load/commands/validate-report.d.ts +58 -0
  3261. package/dist/mods/load/commands/validate-report.d.ts.map +1 -0
  3262. package/dist/mods/load/commands/validate-report.js +2 -0
  3263. package/dist/mods/load/commands/validate-report.js.map +1 -0
  3264. package/dist/mods/load/commands/validate.d.ts +5 -0
  3265. package/dist/mods/load/commands/validate.d.ts.map +1 -0
  3266. package/dist/mods/load/commands/validate.js +222 -0
  3267. package/dist/mods/load/commands/validate.js.map +1 -0
  3268. package/dist/mods/load/commands/wasm-read.d.ts +21 -0
  3269. package/dist/mods/load/commands/wasm-read.d.ts.map +1 -0
  3270. package/dist/mods/load/commands/wasm-read.js +169 -0
  3271. package/dist/mods/load/commands/wasm-read.js.map +1 -0
  3272. package/dist/mods/load/compile-output.d.ts +40 -0
  3273. package/dist/mods/load/compile-output.d.ts.map +1 -0
  3274. package/dist/mods/load/compile-output.js +58 -0
  3275. package/dist/mods/load/compile-output.js.map +1 -0
  3276. package/dist/mods/load/crash-recovery.d.ts +30 -0
  3277. package/dist/mods/load/crash-recovery.d.ts.map +1 -0
  3278. package/dist/mods/load/crash-recovery.js +55 -0
  3279. package/dist/mods/load/crash-recovery.js.map +1 -0
  3280. package/dist/mods/load/engine-faults.d.ts +21 -0
  3281. package/dist/mods/load/engine-faults.d.ts.map +1 -0
  3282. package/dist/mods/load/engine-faults.js +22 -0
  3283. package/dist/mods/load/engine-faults.js.map +1 -0
  3284. package/dist/mods/load/guard-notes.d.ts +4 -0
  3285. package/dist/mods/load/guard-notes.d.ts.map +1 -0
  3286. package/dist/mods/load/guard-notes.js +24 -0
  3287. package/dist/mods/load/guard-notes.js.map +1 -0
  3288. package/dist/mods/load/guard-protection.d.ts +24 -0
  3289. package/dist/mods/load/guard-protection.d.ts.map +1 -0
  3290. package/dist/mods/load/guard-protection.js +64 -0
  3291. package/dist/mods/load/guard-protection.js.map +1 -0
  3292. package/dist/mods/load/guard-surfaces.d.ts +4 -0
  3293. package/dist/mods/load/guard-surfaces.d.ts.map +1 -0
  3294. package/dist/mods/load/guard-surfaces.js +22 -0
  3295. package/dist/mods/load/guard-surfaces.js.map +1 -0
  3296. package/dist/mods/load/guard-tools.d.ts +25 -0
  3297. package/dist/mods/load/guard-tools.d.ts.map +1 -0
  3298. package/dist/mods/load/guard-tools.js +29 -0
  3299. package/dist/mods/load/guard-tools.js.map +1 -0
  3300. package/dist/mods/load/guard.d.ts +38 -0
  3301. package/dist/mods/load/guard.d.ts.map +1 -0
  3302. package/dist/mods/load/guard.js +147 -0
  3303. package/dist/mods/load/guard.js.map +1 -0
  3304. package/dist/mods/load/guest.d.ts +5 -0
  3305. package/dist/mods/load/guest.d.ts.map +1 -0
  3306. package/dist/mods/load/guest.js +58 -0
  3307. package/dist/mods/load/guest.js.map +1 -0
  3308. package/dist/mods/load/health.d.ts +30 -0
  3309. package/dist/mods/load/health.d.ts.map +1 -0
  3310. package/dist/mods/load/health.js +33 -0
  3311. package/dist/mods/load/health.js.map +1 -0
  3312. package/dist/mods/load/host-options.d.ts +72 -0
  3313. package/dist/mods/load/host-options.d.ts.map +1 -0
  3314. package/dist/mods/load/host-options.js +2 -0
  3315. package/dist/mods/load/host-options.js.map +1 -0
  3316. package/dist/mods/load/host-support.d.ts +114 -0
  3317. package/dist/mods/load/host-support.d.ts.map +1 -0
  3318. package/dist/mods/load/host-support.js +110 -0
  3319. package/dist/mods/load/host-support.js.map +1 -0
  3320. package/dist/mods/load/host.d.ts +103 -0
  3321. package/dist/mods/load/host.d.ts.map +1 -0
  3322. package/dist/mods/load/host.js +111 -0
  3323. package/dist/mods/load/host.js.map +1 -0
  3324. package/dist/mods/load/in-turn.d.ts +6 -0
  3325. package/dist/mods/load/in-turn.d.ts.map +1 -0
  3326. package/dist/mods/load/in-turn.js +13 -0
  3327. package/dist/mods/load/in-turn.js.map +1 -0
  3328. package/dist/mods/load/index.d.ts +32 -0
  3329. package/dist/mods/load/index.d.ts.map +1 -0
  3330. package/dist/mods/load/index.js +26 -0
  3331. package/dist/mods/load/index.js.map +1 -0
  3332. package/dist/mods/load/line-channel.d.ts +25 -0
  3333. package/dist/mods/load/line-channel.d.ts.map +1 -0
  3334. package/dist/mods/load/line-channel.js +45 -0
  3335. package/dist/mods/load/line-channel.js.map +1 -0
  3336. package/dist/mods/load/loader-io.d.ts +9 -0
  3337. package/dist/mods/load/loader-io.d.ts.map +1 -0
  3338. package/dist/mods/load/loader-io.js +20 -0
  3339. package/dist/mods/load/loader-io.js.map +1 -0
  3340. package/dist/mods/load/loader.d.ts +88 -0
  3341. package/dist/mods/load/loader.d.ts.map +1 -0
  3342. package/dist/mods/load/loader.js +138 -0
  3343. package/dist/mods/load/loader.js.map +1 -0
  3344. package/dist/mods/load/mod-set.d.ts +56 -0
  3345. package/dist/mods/load/mod-set.d.ts.map +1 -0
  3346. package/dist/mods/load/mod-set.js +178 -0
  3347. package/dist/mods/load/mod-set.js.map +1 -0
  3348. package/dist/mods/load/options.d.ts +14 -0
  3349. package/dist/mods/load/options.d.ts.map +1 -0
  3350. package/dist/mods/load/options.js +82 -0
  3351. package/dist/mods/load/options.js.map +1 -0
  3352. package/dist/mods/load/order.d.ts +53 -0
  3353. package/dist/mods/load/order.d.ts.map +1 -0
  3354. package/dist/mods/load/order.js +138 -0
  3355. package/dist/mods/load/order.js.map +1 -0
  3356. package/dist/mods/load/plugin-dirs.d.ts +36 -0
  3357. package/dist/mods/load/plugin-dirs.d.ts.map +1 -0
  3358. package/dist/mods/load/plugin-dirs.js +94 -0
  3359. package/dist/mods/load/plugin-dirs.js.map +1 -0
  3360. package/dist/mods/load/policy-input.d.ts +80 -0
  3361. package/dist/mods/load/policy-input.d.ts.map +1 -0
  3362. package/dist/mods/load/policy-input.js +56 -0
  3363. package/dist/mods/load/policy-input.js.map +1 -0
  3364. package/dist/mods/load/policy.d.ts +75 -0
  3365. package/dist/mods/load/policy.d.ts.map +1 -0
  3366. package/dist/mods/load/policy.js +180 -0
  3367. package/dist/mods/load/policy.js.map +1 -0
  3368. package/dist/mods/load/prepare.d.ts +33 -0
  3369. package/dist/mods/load/prepare.d.ts.map +1 -0
  3370. package/dist/mods/load/prepare.js +109 -0
  3371. package/dist/mods/load/prepare.js.map +1 -0
  3372. package/dist/mods/load/prompt-flow.d.ts +16 -0
  3373. package/dist/mods/load/prompt-flow.d.ts.map +1 -0
  3374. package/dist/mods/load/prompt-flow.js +12 -0
  3375. package/dist/mods/load/prompt-flow.js.map +1 -0
  3376. package/dist/mods/load/provides.d.ts +25 -0
  3377. package/dist/mods/load/provides.d.ts.map +1 -0
  3378. package/dist/mods/load/provides.js +128 -0
  3379. package/dist/mods/load/provides.js.map +1 -0
  3380. package/dist/mods/load/register-ask.d.ts +32 -0
  3381. package/dist/mods/load/register-ask.d.ts.map +1 -0
  3382. package/dist/mods/load/register-ask.js +45 -0
  3383. package/dist/mods/load/register-ask.js.map +1 -0
  3384. package/dist/mods/load/register-call.d.ts +42 -0
  3385. package/dist/mods/load/register-call.d.ts.map +1 -0
  3386. package/dist/mods/load/register-call.js +108 -0
  3387. package/dist/mods/load/register-call.js.map +1 -0
  3388. package/dist/mods/load/register-event.d.ts +70 -0
  3389. package/dist/mods/load/register-event.d.ts.map +1 -0
  3390. package/dist/mods/load/register-event.js +35 -0
  3391. package/dist/mods/load/register-event.js.map +1 -0
  3392. package/dist/mods/load/registered.d.ts +24 -0
  3393. package/dist/mods/load/registered.d.ts.map +1 -0
  3394. package/dist/mods/load/registered.js +12 -0
  3395. package/dist/mods/load/registered.js.map +1 -0
  3396. package/dist/mods/load/scan/ast.d.ts +44 -0
  3397. package/dist/mods/load/scan/ast.d.ts.map +1 -0
  3398. package/dist/mods/load/scan/ast.js +42 -0
  3399. package/dist/mods/load/scan/ast.js.map +1 -0
  3400. package/dist/mods/load/scan/client-modules.d.ts +35 -0
  3401. package/dist/mods/load/scan/client-modules.d.ts.map +1 -0
  3402. package/dist/mods/load/scan/client-modules.js +106 -0
  3403. package/dist/mods/load/scan/client-modules.js.map +1 -0
  3404. package/dist/mods/load/scan/engine-fold.d.ts +16 -0
  3405. package/dist/mods/load/scan/engine-fold.d.ts.map +1 -0
  3406. package/dist/mods/load/scan/engine-fold.js +80 -0
  3407. package/dist/mods/load/scan/engine-fold.js.map +1 -0
  3408. package/dist/mods/load/scan/event-names.d.ts +3 -0
  3409. package/dist/mods/load/scan/event-names.d.ts.map +1 -0
  3410. package/dist/mods/load/scan/event-names.js +22 -0
  3411. package/dist/mods/load/scan/event-names.js.map +1 -0
  3412. package/dist/mods/load/scan/file-rules.d.ts +16 -0
  3413. package/dist/mods/load/scan/file-rules.d.ts.map +1 -0
  3414. package/dist/mods/load/scan/file-rules.js +102 -0
  3415. package/dist/mods/load/scan/file-rules.js.map +1 -0
  3416. package/dist/mods/load/scan/found.d.ts +22 -0
  3417. package/dist/mods/load/scan/found.d.ts.map +1 -0
  3418. package/dist/mods/load/scan/found.js +14 -0
  3419. package/dist/mods/load/scan/found.js.map +1 -0
  3420. package/dist/mods/load/scan/hosts.d.ts +5 -0
  3421. package/dist/mods/load/scan/hosts.d.ts.map +1 -0
  3422. package/dist/mods/load/scan/hosts.js +44 -0
  3423. package/dist/mods/load/scan/hosts.js.map +1 -0
  3424. package/dist/mods/load/scan/index.d.ts +24 -0
  3425. package/dist/mods/load/scan/index.d.ts.map +1 -0
  3426. package/dist/mods/load/scan/index.js +115 -0
  3427. package/dist/mods/load/scan/index.js.map +1 -0
  3428. package/dist/mods/load/scan/issue-codes.d.ts +40 -0
  3429. package/dist/mods/load/scan/issue-codes.d.ts.map +1 -0
  3430. package/dist/mods/load/scan/issue-codes.js +58 -0
  3431. package/dist/mods/load/scan/issue-codes.js.map +1 -0
  3432. package/dist/mods/load/scan/matcher-label.d.ts +8 -0
  3433. package/dist/mods/load/scan/matcher-label.d.ts.map +1 -0
  3434. package/dist/mods/load/scan/matcher-label.js +53 -0
  3435. package/dist/mods/load/scan/matcher-label.js.map +1 -0
  3436. package/dist/mods/load/scan/messages.d.ts +16 -0
  3437. package/dist/mods/load/scan/messages.d.ts.map +1 -0
  3438. package/dist/mods/load/scan/messages.js +16 -0
  3439. package/dist/mods/load/scan/messages.js.map +1 -0
  3440. package/dist/mods/load/scan/on-rules.d.ts +32 -0
  3441. package/dist/mods/load/scan/on-rules.d.ts.map +1 -0
  3442. package/dist/mods/load/scan/on-rules.js +39 -0
  3443. package/dist/mods/load/scan/on-rules.js.map +1 -0
  3444. package/dist/mods/load/scan/register-export.d.ts +4 -0
  3445. package/dist/mods/load/scan/register-export.d.ts.map +1 -0
  3446. package/dist/mods/load/scan/register-export.js +39 -0
  3447. package/dist/mods/load/scan/register-export.js.map +1 -0
  3448. package/dist/mods/load/scan/rules.d.ts +23 -0
  3449. package/dist/mods/load/scan/rules.d.ts.map +1 -0
  3450. package/dist/mods/load/scan/rules.js +239 -0
  3451. package/dist/mods/load/scan/rules.js.map +1 -0
  3452. package/dist/mods/load/scan/state-sources.d.ts +18 -0
  3453. package/dist/mods/load/scan/state-sources.d.ts.map +1 -0
  3454. package/dist/mods/load/scan/state-sources.js +56 -0
  3455. package/dist/mods/load/scan/state-sources.js.map +1 -0
  3456. package/dist/mods/load/scan/top-level.d.ts +42 -0
  3457. package/dist/mods/load/scan/top-level.d.ts.map +1 -0
  3458. package/dist/mods/load/scan/top-level.js +137 -0
  3459. package/dist/mods/load/scan/top-level.js.map +1 -0
  3460. package/dist/mods/load/scan/uses.d.ts +71 -0
  3461. package/dist/mods/load/scan/uses.d.ts.map +1 -0
  3462. package/dist/mods/load/scan/uses.js +21 -0
  3463. package/dist/mods/load/scan/uses.js.map +1 -0
  3464. package/dist/mods/load/scan/walk.d.ts +12 -0
  3465. package/dist/mods/load/scan/walk.d.ts.map +1 -0
  3466. package/dist/mods/load/scan/walk.js +72 -0
  3467. package/dist/mods/load/scan/walk.js.map +1 -0
  3468. package/dist/mods/load/scan/wasm-paths.d.ts +17 -0
  3469. package/dist/mods/load/scan/wasm-paths.d.ts.map +1 -0
  3470. package/dist/mods/load/scan/wasm-paths.js +16 -0
  3471. package/dist/mods/load/scan/wasm-paths.js.map +1 -0
  3472. package/dist/mods/load/skip-reports.d.ts +18 -0
  3473. package/dist/mods/load/skip-reports.d.ts.map +1 -0
  3474. package/dist/mods/load/skip-reports.js +29 -0
  3475. package/dist/mods/load/skip-reports.js.map +1 -0
  3476. package/dist/mods/load/tool-flow.d.ts +45 -0
  3477. package/dist/mods/load/tool-flow.d.ts.map +1 -0
  3478. package/dist/mods/load/tool-flow.js +101 -0
  3479. package/dist/mods/load/tool-flow.js.map +1 -0
  3480. package/dist/mods/load/types-decl.d.ts +24 -0
  3481. package/dist/mods/load/types-decl.d.ts.map +1 -0
  3482. package/dist/mods/load/types-decl.js +108 -0
  3483. package/dist/mods/load/types-decl.js.map +1 -0
  3484. package/dist/mods/load/unanswered.d.ts +9 -0
  3485. package/dist/mods/load/unanswered.d.ts.map +1 -0
  3486. package/dist/mods/load/unanswered.js +21 -0
  3487. package/dist/mods/load/unanswered.js.map +1 -0
  3488. package/dist/mods/load/wasm-files.d.ts +35 -0
  3489. package/dist/mods/load/wasm-files.d.ts.map +1 -0
  3490. package/dist/mods/load/wasm-files.js +40 -0
  3491. package/dist/mods/load/wasm-files.js.map +1 -0
  3492. package/dist/mods/load/where-mods-run.d.ts +41 -0
  3493. package/dist/mods/load/where-mods-run.d.ts.map +1 -0
  3494. package/dist/mods/load/where-mods-run.js +67 -0
  3495. package/dist/mods/load/where-mods-run.js.map +1 -0
  3496. package/dist/mods/load/wiring.d.ts +53 -0
  3497. package/dist/mods/load/wiring.d.ts.map +1 -0
  3498. package/dist/mods/load/wiring.js +172 -0
  3499. package/dist/mods/load/wiring.js.map +1 -0
  3500. package/dist/mods/load/written-mods.d.ts +61 -0
  3501. package/dist/mods/load/written-mods.d.ts.map +1 -0
  3502. package/dist/mods/load/written-mods.js +97 -0
  3503. package/dist/mods/load/written-mods.js.map +1 -0
  3504. package/dist/mods/ports.d.ts +170 -0
  3505. package/dist/mods/ports.d.ts.map +1 -0
  3506. package/dist/mods/ports.js +2 -0
  3507. package/dist/mods/ports.js.map +1 -0
  3508. package/dist/mods/trace-types.d.ts +50 -0
  3509. package/dist/mods/trace-types.d.ts.map +1 -0
  3510. package/dist/mods/trace-types.js +2 -0
  3511. package/dist/mods/trace-types.js.map +1 -0
  3512. package/dist/mods/types.d.ts +232 -0
  3513. package/dist/mods/types.d.ts.map +1 -0
  3514. package/dist/mods/types.js +2 -0
  3515. package/dist/mods/types.js.map +1 -0
  3516. package/dist/mods/ui/controls/hotkeys.d.ts +36 -0
  3517. package/dist/mods/ui/controls/hotkeys.d.ts.map +1 -0
  3518. package/dist/mods/ui/controls/hotkeys.js +79 -0
  3519. package/dist/mods/ui/controls/hotkeys.js.map +1 -0
  3520. package/dist/mods/ui/controls/keys.d.ts +14 -0
  3521. package/dist/mods/ui/controls/keys.d.ts.map +1 -0
  3522. package/dist/mods/ui/controls/keys.js +25 -0
  3523. package/dist/mods/ui/controls/keys.js.map +1 -0
  3524. package/dist/mods/ui/controls/route.d.ts +49 -0
  3525. package/dist/mods/ui/controls/route.d.ts.map +1 -0
  3526. package/dist/mods/ui/controls/route.js +71 -0
  3527. package/dist/mods/ui/controls/route.js.map +1 -0
  3528. package/dist/mods/ui/elements/box.d.ts +14 -0
  3529. package/dist/mods/ui/elements/box.d.ts.map +1 -0
  3530. package/dist/mods/ui/elements/box.js +73 -0
  3531. package/dist/mods/ui/elements/box.js.map +1 -0
  3532. package/dist/mods/ui/elements/button.d.ts +12 -0
  3533. package/dist/mods/ui/elements/button.d.ts.map +1 -0
  3534. package/dist/mods/ui/elements/button.js +59 -0
  3535. package/dist/mods/ui/elements/button.js.map +1 -0
  3536. package/dist/mods/ui/elements/children.d.ts +7 -0
  3537. package/dist/mods/ui/elements/children.d.ts.map +1 -0
  3538. package/dist/mods/ui/elements/children.js +56 -0
  3539. package/dist/mods/ui/elements/children.js.map +1 -0
  3540. package/dist/mods/ui/elements/client.d.ts +13 -0
  3541. package/dist/mods/ui/elements/client.d.ts.map +1 -0
  3542. package/dist/mods/ui/elements/client.js +29 -0
  3543. package/dist/mods/ui/elements/client.js.map +1 -0
  3544. package/dist/mods/ui/elements/code.d.ts +3 -0
  3545. package/dist/mods/ui/elements/code.d.ts.map +1 -0
  3546. package/dist/mods/ui/elements/code.js +9 -0
  3547. package/dist/mods/ui/elements/code.js.map +1 -0
  3548. package/dist/mods/ui/elements/def.d.ts +31 -0
  3549. package/dist/mods/ui/elements/def.d.ts.map +1 -0
  3550. package/dist/mods/ui/elements/def.js +46 -0
  3551. package/dist/mods/ui/elements/def.js.map +1 -0
  3552. package/dist/mods/ui/elements/image.d.ts +12 -0
  3553. package/dist/mods/ui/elements/image.d.ts.map +1 -0
  3554. package/dist/mods/ui/elements/image.js +18 -0
  3555. package/dist/mods/ui/elements/image.js.map +1 -0
  3556. package/dist/mods/ui/elements/index.d.ts +13 -0
  3557. package/dist/mods/ui/elements/index.d.ts.map +1 -0
  3558. package/dist/mods/ui/elements/index.js +13 -0
  3559. package/dist/mods/ui/elements/index.js.map +1 -0
  3560. package/dist/mods/ui/elements/input.d.ts +3 -0
  3561. package/dist/mods/ui/elements/input.d.ts.map +1 -0
  3562. package/dist/mods/ui/elements/input.js +25 -0
  3563. package/dist/mods/ui/elements/input.js.map +1 -0
  3564. package/dist/mods/ui/elements/jsx.d.ts +16 -0
  3565. package/dist/mods/ui/elements/jsx.d.ts.map +1 -0
  3566. package/dist/mods/ui/elements/jsx.js +20 -0
  3567. package/dist/mods/ui/elements/jsx.js.map +1 -0
  3568. package/dist/mods/ui/elements/limits.d.ts +23 -0
  3569. package/dist/mods/ui/elements/limits.d.ts.map +1 -0
  3570. package/dist/mods/ui/elements/limits.js +68 -0
  3571. package/dist/mods/ui/elements/limits.js.map +1 -0
  3572. package/dist/mods/ui/elements/link.d.ts +11 -0
  3573. package/dist/mods/ui/elements/link.d.ts.map +1 -0
  3574. package/dist/mods/ui/elements/link.js +36 -0
  3575. package/dist/mods/ui/elements/link.js.map +1 -0
  3576. package/dist/mods/ui/elements/markdown.d.ts +4 -0
  3577. package/dist/mods/ui/elements/markdown.d.ts.map +1 -0
  3578. package/dist/mods/ui/elements/markdown.js +11 -0
  3579. package/dist/mods/ui/elements/markdown.js.map +1 -0
  3580. package/dist/mods/ui/elements/node.d.ts +38 -0
  3581. package/dist/mods/ui/elements/node.d.ts.map +1 -0
  3582. package/dist/mods/ui/elements/node.js +43 -0
  3583. package/dist/mods/ui/elements/node.js.map +1 -0
  3584. package/dist/mods/ui/elements/plain.d.ts +21 -0
  3585. package/dist/mods/ui/elements/plain.d.ts.map +1 -0
  3586. package/dist/mods/ui/elements/plain.js +32 -0
  3587. package/dist/mods/ui/elements/plain.js.map +1 -0
  3588. package/dist/mods/ui/elements/progress.d.ts +8 -0
  3589. package/dist/mods/ui/elements/progress.d.ts.map +1 -0
  3590. package/dist/mods/ui/elements/progress.js +17 -0
  3591. package/dist/mods/ui/elements/progress.js.map +1 -0
  3592. package/dist/mods/ui/elements/prop-size.d.ts +10 -0
  3593. package/dist/mods/ui/elements/prop-size.d.ts.map +1 -0
  3594. package/dist/mods/ui/elements/prop-size.js +34 -0
  3595. package/dist/mods/ui/elements/prop-size.js.map +1 -0
  3596. package/dist/mods/ui/elements/raster.d.ts +8 -0
  3597. package/dist/mods/ui/elements/raster.d.ts.map +1 -0
  3598. package/dist/mods/ui/elements/raster.js +43 -0
  3599. package/dist/mods/ui/elements/raster.js.map +1 -0
  3600. package/dist/mods/ui/elements/registry.d.ts +7 -0
  3601. package/dist/mods/ui/elements/registry.d.ts.map +1 -0
  3602. package/dist/mods/ui/elements/registry.js +32 -0
  3603. package/dist/mods/ui/elements/registry.js.map +1 -0
  3604. package/dist/mods/ui/elements/select.d.ts +3 -0
  3605. package/dist/mods/ui/elements/select.d.ts.map +1 -0
  3606. package/dist/mods/ui/elements/select.js +34 -0
  3607. package/dist/mods/ui/elements/select.js.map +1 -0
  3608. package/dist/mods/ui/elements/shader-place.d.ts +8 -0
  3609. package/dist/mods/ui/elements/shader-place.d.ts.map +1 -0
  3610. package/dist/mods/ui/elements/shader-place.js +36 -0
  3611. package/dist/mods/ui/elements/shader-place.js.map +1 -0
  3612. package/dist/mods/ui/elements/shader.d.ts +11 -0
  3613. package/dist/mods/ui/elements/shader.d.ts.map +1 -0
  3614. package/dist/mods/ui/elements/shader.js +28 -0
  3615. package/dist/mods/ui/elements/shader.js.map +1 -0
  3616. package/dist/mods/ui/elements/spacing.d.ts +15 -0
  3617. package/dist/mods/ui/elements/spacing.d.ts.map +1 -0
  3618. package/dist/mods/ui/elements/spacing.js +22 -0
  3619. package/dist/mods/ui/elements/spacing.js.map +1 -0
  3620. package/dist/mods/ui/elements/surface.d.ts +11 -0
  3621. package/dist/mods/ui/elements/surface.d.ts.map +1 -0
  3622. package/dist/mods/ui/elements/surface.js +26 -0
  3623. package/dist/mods/ui/elements/surface.js.map +1 -0
  3624. package/dist/mods/ui/elements/svg.d.ts +6 -0
  3625. package/dist/mods/ui/elements/svg.d.ts.map +1 -0
  3626. package/dist/mods/ui/elements/svg.js +12 -0
  3627. package/dist/mods/ui/elements/svg.js.map +1 -0
  3628. package/dist/mods/ui/elements/table.d.ts +22 -0
  3629. package/dist/mods/ui/elements/table.d.ts.map +1 -0
  3630. package/dist/mods/ui/elements/table.js +60 -0
  3631. package/dist/mods/ui/elements/table.js.map +1 -0
  3632. package/dist/mods/ui/elements/text.d.ts +18 -0
  3633. package/dist/mods/ui/elements/text.d.ts.map +1 -0
  3634. package/dist/mods/ui/elements/text.js +55 -0
  3635. package/dist/mods/ui/elements/text.js.map +1 -0
  3636. package/dist/mods/ui/elements/validate.d.ts +10 -0
  3637. package/dist/mods/ui/elements/validate.d.ts.map +1 -0
  3638. package/dist/mods/ui/elements/validate.js +62 -0
  3639. package/dist/mods/ui/elements/validate.js.map +1 -0
  3640. package/dist/mods/ui/index.d.ts +31 -0
  3641. package/dist/mods/ui/index.d.ts.map +1 -0
  3642. package/dist/mods/ui/index.js +28 -0
  3643. package/dist/mods/ui/index.js.map +1 -0
  3644. package/dist/mods/ui/keyboard/band.d.ts +22 -0
  3645. package/dist/mods/ui/keyboard/band.d.ts.map +1 -0
  3646. package/dist/mods/ui/keyboard/band.js +19 -0
  3647. package/dist/mods/ui/keyboard/band.js.map +1 -0
  3648. package/dist/mods/ui/keyboard/effects.d.ts +42 -0
  3649. package/dist/mods/ui/keyboard/effects.d.ts.map +1 -0
  3650. package/dist/mods/ui/keyboard/effects.js +18 -0
  3651. package/dist/mods/ui/keyboard/effects.js.map +1 -0
  3652. package/dist/mods/ui/keyboard/focus.d.ts +37 -0
  3653. package/dist/mods/ui/keyboard/focus.d.ts.map +1 -0
  3654. package/dist/mods/ui/keyboard/focus.js +33 -0
  3655. package/dist/mods/ui/keyboard/focus.js.map +1 -0
  3656. package/dist/mods/ui/keyboard/keys.d.ts +42 -0
  3657. package/dist/mods/ui/keyboard/keys.d.ts.map +1 -0
  3658. package/dist/mods/ui/keyboard/keys.js +117 -0
  3659. package/dist/mods/ui/keyboard/keys.js.map +1 -0
  3660. package/dist/mods/ui/keyboard/pane-size.d.ts +23 -0
  3661. package/dist/mods/ui/keyboard/pane-size.d.ts.map +1 -0
  3662. package/dist/mods/ui/keyboard/pane-size.js +22 -0
  3663. package/dist/mods/ui/keyboard/pane-size.js.map +1 -0
  3664. package/dist/mods/ui/keyboard/vscode.d.ts +38 -0
  3665. package/dist/mods/ui/keyboard/vscode.d.ts.map +1 -0
  3666. package/dist/mods/ui/keyboard/vscode.js +41 -0
  3667. package/dist/mods/ui/keyboard/vscode.js.map +1 -0
  3668. package/dist/mods/ui/panes/open.d.ts +20 -0
  3669. package/dist/mods/ui/panes/open.d.ts.map +1 -0
  3670. package/dist/mods/ui/panes/open.js +53 -0
  3671. package/dist/mods/ui/panes/open.js.map +1 -0
  3672. package/dist/mods/ui/panes/pane-request.d.ts +9 -0
  3673. package/dist/mods/ui/panes/pane-request.d.ts.map +1 -0
  3674. package/dist/mods/ui/panes/pane-request.js +19 -0
  3675. package/dist/mods/ui/panes/pane-request.js.map +1 -0
  3676. package/dist/mods/ui/panes/placement.d.ts +28 -0
  3677. package/dist/mods/ui/panes/placement.d.ts.map +1 -0
  3678. package/dist/mods/ui/panes/placement.js +24 -0
  3679. package/dist/mods/ui/panes/placement.js.map +1 -0
  3680. package/dist/mods/ui/panes/registry.d.ts +45 -0
  3681. package/dist/mods/ui/panes/registry.d.ts.map +1 -0
  3682. package/dist/mods/ui/panes/registry.js +69 -0
  3683. package/dist/mods/ui/panes/registry.js.map +1 -0
  3684. package/dist/mods/ui/placed/rows.d.ts +43 -0
  3685. package/dist/mods/ui/placed/rows.d.ts.map +1 -0
  3686. package/dist/mods/ui/placed/rows.js +57 -0
  3687. package/dist/mods/ui/placed/rows.js.map +1 -0
  3688. package/dist/mods/ui/ports.d.ts +89 -0
  3689. package/dist/mods/ui/ports.d.ts.map +1 -0
  3690. package/dist/mods/ui/ports.js +2 -0
  3691. package/dist/mods/ui/ports.js.map +1 -0
  3692. package/dist/mods/ui/redraw/gate.d.ts +23 -0
  3693. package/dist/mods/ui/redraw/gate.d.ts.map +1 -0
  3694. package/dist/mods/ui/redraw/gate.js +39 -0
  3695. package/dist/mods/ui/redraw/gate.js.map +1 -0
  3696. package/dist/mods/ui/redraw/invalidate.d.ts +16 -0
  3697. package/dist/mods/ui/redraw/invalidate.d.ts.map +1 -0
  3698. package/dist/mods/ui/redraw/invalidate.js +18 -0
  3699. package/dist/mods/ui/redraw/invalidate.js.map +1 -0
  3700. package/dist/mods/ui/redraw/subscribe.d.ts +20 -0
  3701. package/dist/mods/ui/redraw/subscribe.d.ts.map +1 -0
  3702. package/dist/mods/ui/redraw/subscribe.js +42 -0
  3703. package/dist/mods/ui/redraw/subscribe.js.map +1 -0
  3704. package/dist/mods/ui/redraw/unasked.d.ts +16 -0
  3705. package/dist/mods/ui/redraw/unasked.d.ts.map +1 -0
  3706. package/dist/mods/ui/redraw/unasked.js +15 -0
  3707. package/dist/mods/ui/redraw/unasked.js.map +1 -0
  3708. package/dist/mods/ui/rules.d.ts +10 -0
  3709. package/dist/mods/ui/rules.d.ts.map +1 -0
  3710. package/dist/mods/ui/rules.js +41 -0
  3711. package/dist/mods/ui/rules.js.map +1 -0
  3712. package/dist/mods/ui/runtime.d.ts +69 -0
  3713. package/dist/mods/ui/runtime.d.ts.map +1 -0
  3714. package/dist/mods/ui/runtime.js +99 -0
  3715. package/dist/mods/ui/runtime.js.map +1 -0
  3716. package/dist/mods/ui/sites/agent-row.d.ts +7 -0
  3717. package/dist/mods/ui/sites/agent-row.d.ts.map +1 -0
  3718. package/dist/mods/ui/sites/agent-row.js +22 -0
  3719. package/dist/mods/ui/sites/agent-row.js.map +1 -0
  3720. package/dist/mods/ui/sites/ask-question.d.ts +8 -0
  3721. package/dist/mods/ui/sites/ask-question.d.ts.map +1 -0
  3722. package/dist/mods/ui/sites/ask-question.js +7 -0
  3723. package/dist/mods/ui/sites/ask-question.js.map +1 -0
  3724. package/dist/mods/ui/sites/backdrop.d.ts +17 -0
  3725. package/dist/mods/ui/sites/backdrop.d.ts.map +1 -0
  3726. package/dist/mods/ui/sites/backdrop.js +22 -0
  3727. package/dist/mods/ui/sites/backdrop.js.map +1 -0
  3728. package/dist/mods/ui/sites/band-list.d.ts +10 -0
  3729. package/dist/mods/ui/sites/band-list.d.ts.map +1 -0
  3730. package/dist/mods/ui/sites/band-list.js +41 -0
  3731. package/dist/mods/ui/sites/band-list.js.map +1 -0
  3732. package/dist/mods/ui/sites/band-rows.d.ts +33 -0
  3733. package/dist/mods/ui/sites/band-rows.d.ts.map +1 -0
  3734. package/dist/mods/ui/sites/band-rows.js +61 -0
  3735. package/dist/mods/ui/sites/band-rows.js.map +1 -0
  3736. package/dist/mods/ui/sites/band.d.ts +6 -0
  3737. package/dist/mods/ui/sites/band.d.ts.map +1 -0
  3738. package/dist/mods/ui/sites/band.js +46 -0
  3739. package/dist/mods/ui/sites/band.js.map +1 -0
  3740. package/dist/mods/ui/sites/draw-fault.d.ts +8 -0
  3741. package/dist/mods/ui/sites/draw-fault.d.ts.map +1 -0
  3742. package/dist/mods/ui/sites/draw-fault.js +7 -0
  3743. package/dist/mods/ui/sites/draw-fault.js.map +1 -0
  3744. package/dist/mods/ui/sites/fold.d.ts +29 -0
  3745. package/dist/mods/ui/sites/fold.d.ts.map +1 -0
  3746. package/dist/mods/ui/sites/fold.js +30 -0
  3747. package/dist/mods/ui/sites/fold.js.map +1 -0
  3748. package/dist/mods/ui/sites/registry.d.ts +44 -0
  3749. package/dist/mods/ui/sites/registry.d.ts.map +1 -0
  3750. package/dist/mods/ui/sites/registry.js +52 -0
  3751. package/dist/mods/ui/sites/registry.js.map +1 -0
  3752. package/dist/mods/ui/sites/viewport.d.ts +13 -0
  3753. package/dist/mods/ui/sites/viewport.d.ts.map +1 -0
  3754. package/dist/mods/ui/sites/viewport.js +19 -0
  3755. package/dist/mods/ui/sites/viewport.js.map +1 -0
  3756. package/dist/mods/ui/tables.d.ts +27 -0
  3757. package/dist/mods/ui/tables.d.ts.map +1 -0
  3758. package/dist/mods/ui/tables.js +47 -0
  3759. package/dist/mods/ui/tables.js.map +1 -0
  3760. package/dist/mods/ui/toast.d.ts +57 -0
  3761. package/dist/mods/ui/toast.d.ts.map +1 -0
  3762. package/dist/mods/ui/toast.js +99 -0
  3763. package/dist/mods/ui/toast.js.map +1 -0
  3764. package/dist/mods/ui/ui-api.d.ts +23 -0
  3765. package/dist/mods/ui/ui-api.d.ts.map +1 -0
  3766. package/dist/mods/ui/ui-api.js +205 -0
  3767. package/dist/mods/ui/ui-api.js.map +1 -0
  3768. package/dist/mods/ui/ui-invalidate.d.ts +5 -0
  3769. package/dist/mods/ui/ui-invalidate.d.ts.map +1 -0
  3770. package/dist/mods/ui/ui-invalidate.js +38 -0
  3771. package/dist/mods/ui/ui-invalidate.js.map +1 -0
  3772. package/dist/mods/values.d.ts +4 -0
  3773. package/dist/mods/values.d.ts.map +1 -0
  3774. package/dist/mods/values.js +9 -0
  3775. package/dist/mods/values.js.map +1 -0
  3776. package/dist/ports/clock.d.ts +13 -0
  3777. package/dist/ports/clock.d.ts.map +1 -0
  3778. package/dist/ports/clock.js +2 -0
  3779. package/dist/ports/clock.js.map +1 -0
  3780. package/dist/ports/command-runner.d.ts +42 -0
  3781. package/dist/ports/command-runner.d.ts.map +1 -0
  3782. package/dist/ports/command-runner.js +2 -0
  3783. package/dist/ports/command-runner.js.map +1 -0
  3784. package/dist/ports/environment.d.ts +12 -0
  3785. package/dist/ports/environment.d.ts.map +1 -0
  3786. package/dist/ports/environment.js +2 -0
  3787. package/dist/ports/environment.js.map +1 -0
  3788. package/dist/ports/failure.d.ts +9 -0
  3789. package/dist/ports/failure.d.ts.map +1 -0
  3790. package/dist/ports/failure.js +2 -0
  3791. package/dist/ports/failure.js.map +1 -0
  3792. package/dist/ports/files.d.ts +52 -0
  3793. package/dist/ports/files.d.ts.map +1 -0
  3794. package/dist/ports/files.js +11 -0
  3795. package/dist/ports/files.js.map +1 -0
  3796. package/dist/ports/folder-scan.d.ts +47 -0
  3797. package/dist/ports/folder-scan.d.ts.map +1 -0
  3798. package/dist/ports/folder-scan.js +2 -0
  3799. package/dist/ports/folder-scan.js.map +1 -0
  3800. package/dist/ports/http-client.d.ts +34 -0
  3801. package/dist/ports/http-client.d.ts.map +1 -0
  3802. package/dist/ports/http-client.js +2 -0
  3803. package/dist/ports/http-client.js.map +1 -0
  3804. package/dist/ports/index.d.ts +18 -0
  3805. package/dist/ports/index.d.ts.map +1 -0
  3806. package/dist/ports/index.js +2 -0
  3807. package/dist/ports/index.js.map +1 -0
  3808. package/dist/ports/locations.d.ts +24 -0
  3809. package/dist/ports/locations.d.ts.map +1 -0
  3810. package/dist/ports/locations.js +2 -0
  3811. package/dist/ports/locations.js.map +1 -0
  3812. package/dist/ports/marketplace.d.ts +97 -0
  3813. package/dist/ports/marketplace.d.ts.map +1 -0
  3814. package/dist/ports/marketplace.js +2 -0
  3815. package/dist/ports/marketplace.js.map +1 -0
  3816. package/dist/ports/mcp-bundle.d.ts +45 -0
  3817. package/dist/ports/mcp-bundle.d.ts.map +1 -0
  3818. package/dist/ports/mcp-bundle.js +2 -0
  3819. package/dist/ports/mcp-bundle.js.map +1 -0
  3820. package/dist/ports/mcp-caller.d.ts +43 -0
  3821. package/dist/ports/mcp-caller.d.ts.map +1 -0
  3822. package/dist/ports/mcp-caller.js +2 -0
  3823. package/dist/ports/mcp-caller.js.map +1 -0
  3824. package/dist/ports/model-runner.d.ts +28 -0
  3825. package/dist/ports/model-runner.d.ts.map +1 -0
  3826. package/dist/ports/model-runner.js +2 -0
  3827. package/dist/ports/model-runner.js.map +1 -0
  3828. package/dist/ports/path-resolver.d.ts +17 -0
  3829. package/dist/ports/path-resolver.d.ts.map +1 -0
  3830. package/dist/ports/path-resolver.js +2 -0
  3831. package/dist/ports/path-resolver.js.map +1 -0
  3832. package/dist/ports/scratch-files.d.ts +9 -0
  3833. package/dist/ports/scratch-files.d.ts.map +1 -0
  3834. package/dist/ports/scratch-files.js +2 -0
  3835. package/dist/ports/scratch-files.js.map +1 -0
  3836. package/dist/protocol/effort.d.ts +21 -0
  3837. package/dist/protocol/effort.d.ts.map +1 -0
  3838. package/dist/protocol/effort.js +24 -0
  3839. package/dist/protocol/effort.js.map +1 -0
  3840. package/dist/protocol/exit-reasons.d.ts +13 -0
  3841. package/dist/protocol/exit-reasons.d.ts.map +1 -0
  3842. package/dist/protocol/exit-reasons.js +13 -0
  3843. package/dist/protocol/exit-reasons.js.map +1 -0
  3844. package/dist/protocol/hook-config.d.ts +23 -0
  3845. package/dist/protocol/hook-config.d.ts.map +1 -0
  3846. package/dist/protocol/hook-config.js +9 -0
  3847. package/dist/protocol/hook-config.js.map +1 -0
  3848. package/dist/protocol/hook-events.d.ts +24 -0
  3849. package/dist/protocol/hook-events.d.ts.map +1 -0
  3850. package/dist/protocol/hook-events.js +41 -0
  3851. package/dist/protocol/hook-events.js.map +1 -0
  3852. package/dist/protocol/is-record.d.ts +6 -0
  3853. package/dist/protocol/is-record.d.ts.map +1 -0
  3854. package/dist/protocol/is-record.js +6 -0
  3855. package/dist/protocol/is-record.js.map +1 -0
  3856. package/dist/protocol/mods-api-names.d.ts +107 -0
  3857. package/dist/protocol/mods-api-names.d.ts.map +1 -0
  3858. package/dist/protocol/mods-api-names.js +138 -0
  3859. package/dist/protocol/mods-api-names.js.map +1 -0
  3860. package/dist/protocol/mods-events.d.ts +107 -0
  3861. package/dist/protocol/mods-events.d.ts.map +1 -0
  3862. package/dist/protocol/mods-events.js +127 -0
  3863. package/dist/protocol/mods-events.js.map +1 -0
  3864. package/dist/protocol/mods-limits.d.ts +76 -0
  3865. package/dist/protocol/mods-limits.d.ts.map +1 -0
  3866. package/dist/protocol/mods-limits.js +82 -0
  3867. package/dist/protocol/mods-limits.js.map +1 -0
  3868. package/dist/protocol/mods-matcher.d.ts +14 -0
  3869. package/dist/protocol/mods-matcher.d.ts.map +1 -0
  3870. package/dist/protocol/mods-matcher.js +3 -0
  3871. package/dist/protocol/mods-matcher.js.map +1 -0
  3872. package/dist/protocol/mods-settings.d.ts +65 -0
  3873. package/dist/protocol/mods-settings.d.ts.map +1 -0
  3874. package/dist/protocol/mods-settings.js +38 -0
  3875. package/dist/protocol/mods-settings.js.map +1 -0
  3876. package/dist/protocol/mods-tiers.d.ts +8 -0
  3877. package/dist/protocol/mods-tiers.d.ts.map +1 -0
  3878. package/dist/protocol/mods-tiers.js +7 -0
  3879. package/dist/protocol/mods-tiers.js.map +1 -0
  3880. package/dist/protocol/mods-ui-names.d.ts +210 -0
  3881. package/dist/protocol/mods-ui-names.d.ts.map +1 -0
  3882. package/dist/protocol/mods-ui-names.js +252 -0
  3883. package/dist/protocol/mods-ui-names.js.map +1 -0
  3884. package/dist/protocol/official-tools.d.ts +12 -0
  3885. package/dist/protocol/official-tools.d.ts.map +1 -0
  3886. package/dist/protocol/official-tools.js +2 -0
  3887. package/dist/protocol/official-tools.js.map +1 -0
  3888. package/dist/protocol/official.d.ts +46 -0
  3889. package/dist/protocol/official.d.ts.map +1 -0
  3890. package/dist/protocol/official.js +2 -0
  3891. package/dist/protocol/official.js.map +1 -0
  3892. package/dist/protocol/permission-modes.d.ts +16 -0
  3893. package/dist/protocol/permission-modes.d.ts.map +1 -0
  3894. package/dist/protocol/permission-modes.js +30 -0
  3895. package/dist/protocol/permission-modes.js.map +1 -0
  3896. package/dist/protocol/settings-keys.d.ts +60 -0
  3897. package/dist/protocol/settings-keys.d.ts.map +1 -0
  3898. package/dist/protocol/settings-keys.js +133 -0
  3899. package/dist/protocol/settings-keys.js.map +1 -0
  3900. package/dist/protocol/tool-names.d.ts +36 -0
  3901. package/dist/protocol/tool-names.d.ts.map +1 -0
  3902. package/dist/protocol/tool-names.js +95 -0
  3903. package/dist/protocol/tool-names.js.map +1 -0
  3904. package/dist/protocol/type-equality.d.ts +8 -0
  3905. package/dist/protocol/type-equality.d.ts.map +1 -0
  3906. package/dist/protocol/type-equality.js +2 -0
  3907. package/dist/protocol/type-equality.js.map +1 -0
  3908. package/dist/rules/bash/bash.d.ts +4 -0
  3909. package/dist/rules/bash/bash.d.ts.map +1 -0
  3910. package/dist/rules/bash/bash.js +39 -0
  3911. package/dist/rules/bash/bash.js.map +1 -0
  3912. package/dist/rules/bash/dialect.d.ts +29 -0
  3913. package/dist/rules/bash/dialect.d.ts.map +1 -0
  3914. package/dist/rules/bash/dialect.js +24 -0
  3915. package/dist/rules/bash/dialect.js.map +1 -0
  3916. package/dist/rules/bash/exec-wrappers.d.ts +11 -0
  3917. package/dist/rules/bash/exec-wrappers.d.ts.map +1 -0
  3918. package/dist/rules/bash/exec-wrappers.js +44 -0
  3919. package/dist/rules/bash/exec-wrappers.js.map +1 -0
  3920. package/dist/rules/bash/heredoc.d.ts +27 -0
  3921. package/dist/rules/bash/heredoc.d.ts.map +1 -0
  3922. package/dist/rules/bash/heredoc.js +28 -0
  3923. package/dist/rules/bash/heredoc.js.map +1 -0
  3924. package/dist/rules/bash/if-eval.d.ts +16 -0
  3925. package/dist/rules/bash/if-eval.d.ts.map +1 -0
  3926. package/dist/rules/bash/if-eval.js +89 -0
  3927. package/dist/rules/bash/if-eval.js.map +1 -0
  3928. package/dist/rules/bash/keywords.d.ts +7 -0
  3929. package/dist/rules/bash/keywords.d.ts.map +1 -0
  3930. package/dist/rules/bash/keywords.js +35 -0
  3931. package/dist/rules/bash/keywords.js.map +1 -0
  3932. package/dist/rules/bash/powershell-aliases.d.ts +2 -0
  3933. package/dist/rules/bash/powershell-aliases.d.ts.map +1 -0
  3934. package/dist/rules/bash/powershell-aliases.js +54 -0
  3935. package/dist/rules/bash/powershell-aliases.js.map +1 -0
  3936. package/dist/rules/bash/powershell.d.ts +12 -0
  3937. package/dist/rules/bash/powershell.d.ts.map +1 -0
  3938. package/dist/rules/bash/powershell.js +50 -0
  3939. package/dist/rules/bash/powershell.js.map +1 -0
  3940. package/dist/rules/bash/safe-env.d.ts +9 -0
  3941. package/dist/rules/bash/safe-env.d.ts.map +1 -0
  3942. package/dist/rules/bash/safe-env.js +50 -0
  3943. package/dist/rules/bash/safe-env.js.map +1 -0
  3944. package/dist/rules/bash/scanner.d.ts +39 -0
  3945. package/dist/rules/bash/scanner.d.ts.map +1 -0
  3946. package/dist/rules/bash/scanner.js +268 -0
  3947. package/dist/rules/bash/scanner.js.map +1 -0
  3948. package/dist/rules/bash/shell.d.ts +38 -0
  3949. package/dist/rules/bash/shell.d.ts.map +1 -0
  3950. package/dist/rules/bash/shell.js +48 -0
  3951. package/dist/rules/bash/shell.js.map +1 -0
  3952. package/dist/rules/bash/split.d.ts +48 -0
  3953. package/dist/rules/bash/split.d.ts.map +1 -0
  3954. package/dist/rules/bash/split.js +45 -0
  3955. package/dist/rules/bash/split.js.map +1 -0
  3956. package/dist/rules/bash/text-pattern.d.ts +4 -0
  3957. package/dist/rules/bash/text-pattern.d.ts.map +1 -0
  3958. package/dist/rules/bash/text-pattern.js +9 -0
  3959. package/dist/rules/bash/text-pattern.js.map +1 -0
  3960. package/dist/rules/bash/unquote.d.ts +19 -0
  3961. package/dist/rules/bash/unquote.d.ts.map +1 -0
  3962. package/dist/rules/bash/unquote.js +129 -0
  3963. package/dist/rules/bash/unquote.js.map +1 -0
  3964. package/dist/rules/bash/wildcard-warning.d.ts +13 -0
  3965. package/dist/rules/bash/wildcard-warning.d.ts.map +1 -0
  3966. package/dist/rules/bash/wildcard-warning.js +63 -0
  3967. package/dist/rules/bash/wildcard-warning.js.map +1 -0
  3968. package/dist/rules/bash/wildcard.d.ts +17 -0
  3969. package/dist/rules/bash/wildcard.d.ts.map +1 -0
  3970. package/dist/rules/bash/wildcard.js +28 -0
  3971. package/dist/rules/bash/wildcard.js.map +1 -0
  3972. package/dist/rules/bash/words.d.ts +48 -0
  3973. package/dist/rules/bash/words.d.ts.map +1 -0
  3974. package/dist/rules/bash/words.js +116 -0
  3975. package/dist/rules/bash/words.js.map +1 -0
  3976. package/dist/rules/bash/wrappers.d.ts +23 -0
  3977. package/dist/rules/bash/wrappers.d.ts.map +1 -0
  3978. package/dist/rules/bash/wrappers.js +159 -0
  3979. package/dist/rules/bash/wrappers.js.map +1 -0
  3980. package/dist/rules/decide/approval-memory.d.ts +28 -0
  3981. package/dist/rules/decide/approval-memory.d.ts.map +1 -0
  3982. package/dist/rules/decide/approval-memory.js +54 -0
  3983. package/dist/rules/decide/approval-memory.js.map +1 -0
  3984. package/dist/rules/decide/auto-dropped.d.ts +7 -0
  3985. package/dist/rules/decide/auto-dropped.d.ts.map +1 -0
  3986. package/dist/rules/decide/auto-dropped.js +70 -0
  3987. package/dist/rules/decide/auto-dropped.js.map +1 -0
  3988. package/dist/rules/decide/behavior.d.ts +4 -0
  3989. package/dist/rules/decide/behavior.d.ts.map +1 -0
  3990. package/dist/rules/decide/behavior.js +4 -0
  3991. package/dist/rules/decide/behavior.js.map +1 -0
  3992. package/dist/rules/decide/block-exceptions.d.ts +13 -0
  3993. package/dist/rules/decide/block-exceptions.d.ts.map +1 -0
  3994. package/dist/rules/decide/block-exceptions.js +94 -0
  3995. package/dist/rules/decide/block-exceptions.js.map +1 -0
  3996. package/dist/rules/decide/classifier.d.ts +36 -0
  3997. package/dist/rules/decide/classifier.d.ts.map +1 -0
  3998. package/dist/rules/decide/classifier.js +37 -0
  3999. package/dist/rules/decide/classifier.js.map +1 -0
  4000. package/dist/rules/decide/context.d.ts +178 -0
  4001. package/dist/rules/decide/context.d.ts.map +1 -0
  4002. package/dist/rules/decide/context.js +2 -0
  4003. package/dist/rules/decide/context.js.map +1 -0
  4004. package/dist/rules/decide/critical-removal.d.ts +13 -0
  4005. package/dist/rules/decide/critical-removal.d.ts.map +1 -0
  4006. package/dist/rules/decide/critical-removal.js +179 -0
  4007. package/dist/rules/decide/critical-removal.js.map +1 -0
  4008. package/dist/rules/decide/decide.d.ts +15 -0
  4009. package/dist/rules/decide/decide.d.ts.map +1 -0
  4010. package/dist/rules/decide/decide.js +150 -0
  4011. package/dist/rules/decide/decide.js.map +1 -0
  4012. package/dist/rules/decide/facts.d.ts +60 -0
  4013. package/dist/rules/decide/facts.d.ts.map +1 -0
  4014. package/dist/rules/decide/facts.js +206 -0
  4015. package/dist/rules/decide/facts.js.map +1 -0
  4016. package/dist/rules/decide/file-targets.d.ts +39 -0
  4017. package/dist/rules/decide/file-targets.d.ts.map +1 -0
  4018. package/dist/rules/decide/file-targets.js +92 -0
  4019. package/dist/rules/decide/file-targets.js.map +1 -0
  4020. package/dist/rules/decide/fs-operands.d.ts +5 -0
  4021. package/dist/rules/decide/fs-operands.d.ts.map +1 -0
  4022. package/dist/rules/decide/fs-operands.js +77 -0
  4023. package/dist/rules/decide/fs-operands.js.map +1 -0
  4024. package/dist/rules/decide/hook-permission-updates.d.ts +17 -0
  4025. package/dist/rules/decide/hook-permission-updates.d.ts.map +1 -0
  4026. package/dist/rules/decide/hook-permission-updates.js +34 -0
  4027. package/dist/rules/decide/hook-permission-updates.js.map +1 -0
  4028. package/dist/rules/decide/hook-rewrite.d.ts +48 -0
  4029. package/dist/rules/decide/hook-rewrite.d.ts.map +1 -0
  4030. package/dist/rules/decide/hook-rewrite.js +59 -0
  4031. package/dist/rules/decide/hook-rewrite.js.map +1 -0
  4032. package/dist/rules/decide/hooks-and-mods.d.ts +18 -0
  4033. package/dist/rules/decide/hooks-and-mods.d.ts.map +1 -0
  4034. package/dist/rules/decide/hooks-and-mods.js +75 -0
  4035. package/dist/rules/decide/hooks-and-mods.js.map +1 -0
  4036. package/dist/rules/decide/modes.d.ts +48 -0
  4037. package/dist/rules/decide/modes.d.ts.map +1 -0
  4038. package/dist/rules/decide/modes.js +133 -0
  4039. package/dist/rules/decide/modes.js.map +1 -0
  4040. package/dist/rules/decide/no-approval-surface.d.ts +35 -0
  4041. package/dist/rules/decide/no-approval-surface.d.ts.map +1 -0
  4042. package/dist/rules/decide/no-approval-surface.js +36 -0
  4043. package/dist/rules/decide/no-approval-surface.js.map +1 -0
  4044. package/dist/rules/decide/powershell-edits.d.ts +9 -0
  4045. package/dist/rules/decide/powershell-edits.d.ts.map +1 -0
  4046. package/dist/rules/decide/powershell-edits.js +138 -0
  4047. package/dist/rules/decide/powershell-edits.js.map +1 -0
  4048. package/dist/rules/decide/powershell-removal.d.ts +4 -0
  4049. package/dist/rules/decide/powershell-removal.d.ts.map +1 -0
  4050. package/dist/rules/decide/powershell-removal.js +89 -0
  4051. package/dist/rules/decide/powershell-removal.js.map +1 -0
  4052. package/dist/rules/decide/protected-paths.d.ts +33 -0
  4053. package/dist/rules/decide/protected-paths.d.ts.map +1 -0
  4054. package/dist/rules/decide/protected-paths.js +169 -0
  4055. package/dist/rules/decide/protected-paths.js.map +1 -0
  4056. package/dist/rules/decide/read-only-set.d.ts +23 -0
  4057. package/dist/rules/decide/read-only-set.d.ts.map +1 -0
  4058. package/dist/rules/decide/read-only-set.js +155 -0
  4059. package/dist/rules/decide/read-only-set.js.map +1 -0
  4060. package/dist/rules/decide/redirects.d.ts +55 -0
  4061. package/dist/rules/decide/redirects.d.ts.map +1 -0
  4062. package/dist/rules/decide/redirects.js +154 -0
  4063. package/dist/rules/decide/redirects.js.map +1 -0
  4064. package/dist/rules/decide/rules-stage.d.ts +11 -0
  4065. package/dist/rules/decide/rules-stage.d.ts.map +1 -0
  4066. package/dist/rules/decide/rules-stage.js +29 -0
  4067. package/dist/rules/decide/rules-stage.js.map +1 -0
  4068. package/dist/rules/decide/scope.d.ts +6 -0
  4069. package/dist/rules/decide/scope.d.ts.map +1 -0
  4070. package/dist/rules/decide/scope.js +17 -0
  4071. package/dist/rules/decide/scope.js.map +1 -0
  4072. package/dist/rules/decide/sed-script.d.ts +7 -0
  4073. package/dist/rules/decide/sed-script.d.ts.map +1 -0
  4074. package/dist/rules/decide/sed-script.js +163 -0
  4075. package/dist/rules/decide/sed-script.js.map +1 -0
  4076. package/dist/rules/decide/shell-commands.d.ts +46 -0
  4077. package/dist/rules/decide/shell-commands.d.ts.map +1 -0
  4078. package/dist/rules/decide/shell-commands.js +191 -0
  4079. package/dist/rules/decide/shell-commands.js.map +1 -0
  4080. package/dist/rules/decide/shell-words.d.ts +23 -0
  4081. package/dist/rules/decide/shell-words.d.ts.map +1 -0
  4082. package/dist/rules/decide/shell-words.js +21 -0
  4083. package/dist/rules/decide/shell-words.js.map +1 -0
  4084. package/dist/rules/decide/unanswered.d.ts +20 -0
  4085. package/dist/rules/decide/unanswered.d.ts.map +1 -0
  4086. package/dist/rules/decide/unanswered.js +27 -0
  4087. package/dist/rules/decide/unanswered.js.map +1 -0
  4088. package/dist/rules/decide/write-block-messages.d.ts +21 -0
  4089. package/dist/rules/decide/write-block-messages.d.ts.map +1 -0
  4090. package/dist/rules/decide/write-block-messages.js +18 -0
  4091. package/dist/rules/decide/write-block-messages.js.map +1 -0
  4092. package/dist/rules/evaluate.d.ts +28 -0
  4093. package/dist/rules/evaluate.d.ts.map +1 -0
  4094. package/dist/rules/evaluate.js +52 -0
  4095. package/dist/rules/evaluate.js.map +1 -0
  4096. package/dist/rules/hook-matcher.d.ts +21 -0
  4097. package/dist/rules/hook-matcher.d.ts.map +1 -0
  4098. package/dist/rules/hook-matcher.js +45 -0
  4099. package/dist/rules/hook-matcher.js.map +1 -0
  4100. package/dist/rules/index.d.ts +60 -0
  4101. package/dist/rules/index.d.ts.map +1 -0
  4102. package/dist/rules/index.js +55 -0
  4103. package/dist/rules/index.js.map +1 -0
  4104. package/dist/rules/issues.d.ts +8 -0
  4105. package/dist/rules/issues.d.ts.map +1 -0
  4106. package/dist/rules/issues.js +44 -0
  4107. package/dist/rules/issues.js.map +1 -0
  4108. package/dist/rules/matchers.d.ts +14 -0
  4109. package/dist/rules/matchers.d.ts.map +1 -0
  4110. package/dist/rules/matchers.js +24 -0
  4111. package/dist/rules/matchers.js.map +1 -0
  4112. package/dist/rules/memo.d.ts +7 -0
  4113. package/dist/rules/memo.d.ts.map +1 -0
  4114. package/dist/rules/memo.js +22 -0
  4115. package/dist/rules/memo.js.map +1 -0
  4116. package/dist/rules/param.d.ts +18 -0
  4117. package/dist/rules/param.d.ts.map +1 -0
  4118. package/dist/rules/param.js +83 -0
  4119. package/dist/rules/param.js.map +1 -0
  4120. package/dist/rules/parse.d.ts +22 -0
  4121. package/dist/rules/parse.d.ts.map +1 -0
  4122. package/dist/rules/parse.js +111 -0
  4123. package/dist/rules/parse.js.map +1 -0
  4124. package/dist/rules/path/anchor.d.ts +33 -0
  4125. package/dist/rules/path/anchor.d.ts.map +1 -0
  4126. package/dist/rules/path/anchor.js +84 -0
  4127. package/dist/rules/path/anchor.js.map +1 -0
  4128. package/dist/rules/path/cd.d.ts +13 -0
  4129. package/dist/rules/path/cd.d.ts.map +1 -0
  4130. package/dist/rules/path/cd.js +45 -0
  4131. package/dist/rules/path/cd.js.map +1 -0
  4132. package/dist/rules/path/depth.d.ts +6 -0
  4133. package/dist/rules/path/depth.d.ts.map +1 -0
  4134. package/dist/rules/path/depth.js +24 -0
  4135. package/dist/rules/path/depth.js.map +1 -0
  4136. package/dist/rules/path/file-rules.d.ts +18 -0
  4137. package/dist/rules/path/file-rules.d.ts.map +1 -0
  4138. package/dist/rules/path/file-rules.js +130 -0
  4139. package/dist/rules/path/file-rules.js.map +1 -0
  4140. package/dist/rules/path/glob.d.ts +20 -0
  4141. package/dist/rules/path/glob.d.ts.map +1 -0
  4142. package/dist/rules/path/glob.js +48 -0
  4143. package/dist/rules/path/glob.js.map +1 -0
  4144. package/dist/rules/path/negation.d.ts +7 -0
  4145. package/dist/rules/path/negation.d.ts.map +1 -0
  4146. package/dist/rules/path/negation.js +50 -0
  4147. package/dist/rules/path/negation.js.map +1 -0
  4148. package/dist/rules/path/network.d.ts +9 -0
  4149. package/dist/rules/path/network.d.ts.map +1 -0
  4150. package/dist/rules/path/network.js +27 -0
  4151. package/dist/rules/path/network.js.map +1 -0
  4152. package/dist/rules/path/posix.d.ts +29 -0
  4153. package/dist/rules/path/posix.d.ts.map +1 -0
  4154. package/dist/rules/path/posix.js +75 -0
  4155. package/dist/rules/path/posix.js.map +1 -0
  4156. package/dist/rules/path/symlink.d.ts +25 -0
  4157. package/dist/rules/path/symlink.d.ts.map +1 -0
  4158. package/dist/rules/path/symlink.js +94 -0
  4159. package/dist/rules/path/symlink.js.map +1 -0
  4160. package/dist/rules/path/tools.d.ts +66 -0
  4161. package/dist/rules/path/tools.d.ts.map +1 -0
  4162. package/dist/rules/path/tools.js +88 -0
  4163. package/dist/rules/path/tools.js.map +1 -0
  4164. package/dist/rules/restricts.d.ts +12 -0
  4165. package/dist/rules/restricts.d.ts.map +1 -0
  4166. package/dist/rules/restricts.js +13 -0
  4167. package/dist/rules/restricts.js.map +1 -0
  4168. package/dist/rules/rule-warnings.d.ts +24 -0
  4169. package/dist/rules/rule-warnings.d.ts.map +1 -0
  4170. package/dist/rules/rule-warnings.js +58 -0
  4171. package/dist/rules/rule-warnings.js.map +1 -0
  4172. package/dist/rules/sources.d.ts +13 -0
  4173. package/dist/rules/sources.d.ts.map +1 -0
  4174. package/dist/rules/sources.js +19 -0
  4175. package/dist/rules/sources.js.map +1 -0
  4176. package/dist/rules/specifier-formats.d.ts +42 -0
  4177. package/dist/rules/specifier-formats.d.ts.map +1 -0
  4178. package/dist/rules/specifier-formats.js +81 -0
  4179. package/dist/rules/specifier-formats.js.map +1 -0
  4180. package/dist/rules/specifier-guards.d.ts +12 -0
  4181. package/dist/rules/specifier-guards.d.ts.map +1 -0
  4182. package/dist/rules/specifier-guards.js +7 -0
  4183. package/dist/rules/specifier-guards.js.map +1 -0
  4184. package/dist/rules/target/agent.d.ts +3 -0
  4185. package/dist/rules/target/agent.d.ts.map +1 -0
  4186. package/dist/rules/target/agent.js +30 -0
  4187. package/dist/rules/target/agent.js.map +1 -0
  4188. package/dist/rules/target/domain.d.ts +43 -0
  4189. package/dist/rules/target/domain.d.ts.map +1 -0
  4190. package/dist/rules/target/domain.js +150 -0
  4191. package/dist/rules/target/domain.js.map +1 -0
  4192. package/dist/rules/target/input.d.ts +11 -0
  4193. package/dist/rules/target/input.d.ts.map +1 -0
  4194. package/dist/rules/target/input.js +10 -0
  4195. package/dist/rules/target/input.js.map +1 -0
  4196. package/dist/rules/target/mcp.d.ts +14 -0
  4197. package/dist/rules/target/mcp.d.ts.map +1 -0
  4198. package/dist/rules/target/mcp.js +69 -0
  4199. package/dist/rules/target/mcp.js.map +1 -0
  4200. package/dist/rules/target/skill.d.ts +3 -0
  4201. package/dist/rules/target/skill.d.ts.map +1 -0
  4202. package/dist/rules/target/skill.js +44 -0
  4203. package/dist/rules/target/skill.js.map +1 -0
  4204. package/dist/rules/tool-pattern.d.ts +20 -0
  4205. package/dist/rules/tool-pattern.d.ts.map +1 -0
  4206. package/dist/rules/tool-pattern.js +35 -0
  4207. package/dist/rules/tool-pattern.js.map +1 -0
  4208. package/dist/rules/tools/availability.d.ts +52 -0
  4209. package/dist/rules/tools/availability.d.ts.map +1 -0
  4210. package/dist/rules/tools/availability.js +109 -0
  4211. package/dist/rules/tools/availability.js.map +1 -0
  4212. package/dist/rules/tools/catalog.d.ts +33 -0
  4213. package/dist/rules/tools/catalog.d.ts.map +1 -0
  4214. package/dist/rules/tools/catalog.js +89 -0
  4215. package/dist/rules/tools/catalog.js.map +1 -0
  4216. package/dist/rules/tools/host-tool-names.d.ts +37 -0
  4217. package/dist/rules/tools/host-tool-names.d.ts.map +1 -0
  4218. package/dist/rules/tools/host-tool-names.js +24 -0
  4219. package/dist/rules/tools/host-tool-names.js.map +1 -0
  4220. package/dist/rules/tools/inputs/ask-user-question.d.ts +43 -0
  4221. package/dist/rules/tools/inputs/ask-user-question.d.ts.map +1 -0
  4222. package/dist/rules/tools/inputs/ask-user-question.js +63 -0
  4223. package/dist/rules/tools/inputs/ask-user-question.js.map +1 -0
  4224. package/dist/rules/tools/inputs/exit-plan-mode.d.ts +7 -0
  4225. package/dist/rules/tools/inputs/exit-plan-mode.d.ts.map +1 -0
  4226. package/dist/rules/tools/inputs/exit-plan-mode.js +12 -0
  4227. package/dist/rules/tools/inputs/exit-plan-mode.js.map +1 -0
  4228. package/dist/rules/tools/inputs/field-schemas.d.ts +10 -0
  4229. package/dist/rules/tools/inputs/field-schemas.d.ts.map +1 -0
  4230. package/dist/rules/tools/inputs/field-schemas.js +16 -0
  4231. package/dist/rules/tools/inputs/field-schemas.js.map +1 -0
  4232. package/dist/rules/tools/inputs/fields.d.ts +43 -0
  4233. package/dist/rules/tools/inputs/fields.d.ts.map +1 -0
  4234. package/dist/rules/tools/inputs/fields.js +99 -0
  4235. package/dist/rules/tools/inputs/fields.js.map +1 -0
  4236. package/dist/rules/tools/inputs/grep.d.ts +4 -0
  4237. package/dist/rules/tools/inputs/grep.d.ts.map +1 -0
  4238. package/dist/rules/tools/inputs/grep.js +3 -0
  4239. package/dist/rules/tools/inputs/grep.js.map +1 -0
  4240. package/dist/rules/tools/inputs/parse-input.d.ts +15 -0
  4241. package/dist/rules/tools/inputs/parse-input.d.ts.map +1 -0
  4242. package/dist/rules/tools/inputs/parse-input.js +23 -0
  4243. package/dist/rules/tools/inputs/parse-input.js.map +1 -0
  4244. package/dist/rules/tools/inputs/roles.d.ts +2 -0
  4245. package/dist/rules/tools/inputs/roles.d.ts.map +1 -0
  4246. package/dist/rules/tools/inputs/roles.js +23 -0
  4247. package/dist/rules/tools/inputs/roles.js.map +1 -0
  4248. package/dist/rules/tools/inputs/schemas.d.ts +10 -0
  4249. package/dist/rules/tools/inputs/schemas.d.ts.map +1 -0
  4250. package/dist/rules/tools/inputs/schemas.js +23 -0
  4251. package/dist/rules/tools/inputs/schemas.js.map +1 -0
  4252. package/dist/rules/tools/inputs/tool-path.d.ts +17 -0
  4253. package/dist/rules/tools/inputs/tool-path.d.ts.map +1 -0
  4254. package/dist/rules/tools/inputs/tool-path.js +45 -0
  4255. package/dist/rules/tools/inputs/tool-path.js.map +1 -0
  4256. package/dist/rules/tools/inputs/web-search.d.ts +9 -0
  4257. package/dist/rules/tools/inputs/web-search.d.ts.map +1 -0
  4258. package/dist/rules/tools/inputs/web-search.js +14 -0
  4259. package/dist/rules/tools/inputs/web-search.js.map +1 -0
  4260. package/dist/rules/tools/names.d.ts +5 -0
  4261. package/dist/rules/tools/names.d.ts.map +1 -0
  4262. package/dist/rules/tools/names.js +9 -0
  4263. package/dist/rules/tools/names.js.map +1 -0
  4264. package/dist/rules/tools/responses/agent-response.d.ts +41 -0
  4265. package/dist/rules/tools/responses/agent-response.d.ts.map +1 -0
  4266. package/dist/rules/tools/responses/agent-response.js +110 -0
  4267. package/dist/rules/tools/responses/agent-response.js.map +1 -0
  4268. package/dist/rules/tools/responses/bash-edit-diff.d.ts +52 -0
  4269. package/dist/rules/tools/responses/bash-edit-diff.d.ts.map +1 -0
  4270. package/dist/rules/tools/responses/bash-edit-diff.js +84 -0
  4271. package/dist/rules/tools/responses/bash-edit-diff.js.map +1 -0
  4272. package/dist/rules/tools/responses/shape.d.ts +9 -0
  4273. package/dist/rules/tools/responses/shape.d.ts.map +1 -0
  4274. package/dist/rules/tools/responses/shape.js +11 -0
  4275. package/dist/rules/tools/responses/shape.js.map +1 -0
  4276. package/dist/rules/tools/responses/structured-patch.d.ts +12 -0
  4277. package/dist/rules/tools/responses/structured-patch.d.ts.map +1 -0
  4278. package/dist/rules/tools/responses/structured-patch.js +69 -0
  4279. package/dist/rules/tools/responses/structured-patch.js.map +1 -0
  4280. package/dist/rules/tools/rule-formats.d.ts +10 -0
  4281. package/dist/rules/tools/rule-formats.d.ts.map +1 -0
  4282. package/dist/rules/tools/rule-formats.js +18 -0
  4283. package/dist/rules/tools/rule-formats.js.map +1 -0
  4284. package/dist/rules/tools/semantics/bash-background.d.ts +26 -0
  4285. package/dist/rules/tools/semantics/bash-background.d.ts.map +1 -0
  4286. package/dist/rules/tools/semantics/bash-background.js +33 -0
  4287. package/dist/rules/tools/semantics/bash-background.js.map +1 -0
  4288. package/dist/rules/tools/semantics/bash-exit.d.ts +14 -0
  4289. package/dist/rules/tools/semantics/bash-exit.d.ts.map +1 -0
  4290. package/dist/rules/tools/semantics/bash-exit.js +72 -0
  4291. package/dist/rules/tools/semantics/bash-exit.js.map +1 -0
  4292. package/dist/rules/tools/semantics/bash-limits.d.ts +34 -0
  4293. package/dist/rules/tools/semantics/bash-limits.d.ts.map +1 -0
  4294. package/dist/rules/tools/semantics/bash-limits.js +48 -0
  4295. package/dist/rules/tools/semantics/bash-limits.js.map +1 -0
  4296. package/dist/rules/tools/semantics/bash-output.d.ts +36 -0
  4297. package/dist/rules/tools/semantics/bash-output.d.ts.map +1 -0
  4298. package/dist/rules/tools/semantics/bash-output.js +45 -0
  4299. package/dist/rules/tools/semantics/bash-output.js.map +1 -0
  4300. package/dist/rules/tools/semantics/edit.d.ts +23 -0
  4301. package/dist/rules/tools/semantics/edit.d.ts.map +1 -0
  4302. package/dist/rules/tools/semantics/edit.js +44 -0
  4303. package/dist/rules/tools/semantics/edit.js.map +1 -0
  4304. package/dist/rules/tools/semantics/encoding.d.ts +30 -0
  4305. package/dist/rules/tools/semantics/encoding.d.ts.map +1 -0
  4306. package/dist/rules/tools/semantics/encoding.js +54 -0
  4307. package/dist/rules/tools/semantics/encoding.js.map +1 -0
  4308. package/dist/rules/tools/semantics/env-number.d.ts +9 -0
  4309. package/dist/rules/tools/semantics/env-number.d.ts.map +1 -0
  4310. package/dist/rules/tools/semantics/env-number.js +17 -0
  4311. package/dist/rules/tools/semantics/env-number.js.map +1 -0
  4312. package/dist/rules/tools/semantics/glob-cap.d.ts +35 -0
  4313. package/dist/rules/tools/semantics/glob-cap.d.ts.map +1 -0
  4314. package/dist/rules/tools/semantics/glob-cap.js +43 -0
  4315. package/dist/rules/tools/semantics/glob-cap.js.map +1 -0
  4316. package/dist/rules/tools/semantics/grep-defaults.d.ts +43 -0
  4317. package/dist/rules/tools/semantics/grep-defaults.d.ts.map +1 -0
  4318. package/dist/rules/tools/semantics/grep-defaults.js +48 -0
  4319. package/dist/rules/tools/semantics/grep-defaults.js.map +1 -0
  4320. package/dist/rules/tools/semantics/read-limits.d.ts +53 -0
  4321. package/dist/rules/tools/semantics/read-limits.d.ts.map +1 -0
  4322. package/dist/rules/tools/semantics/read-limits.js +82 -0
  4323. package/dist/rules/tools/semantics/read-limits.js.map +1 -0
  4324. package/dist/rules/tools/semantics/read-window.d.ts +28 -0
  4325. package/dist/rules/tools/semantics/read-window.d.ts.map +1 -0
  4326. package/dist/rules/tools/semantics/read-window.js +51 -0
  4327. package/dist/rules/tools/semantics/read-window.js.map +1 -0
  4328. package/dist/rules/tools/semantics/web-fetch-timings.d.ts +22 -0
  4329. package/dist/rules/tools/semantics/web-fetch-timings.d.ts.map +1 -0
  4330. package/dist/rules/tools/semantics/web-fetch-timings.js +40 -0
  4331. package/dist/rules/tools/semantics/web-fetch-timings.js.map +1 -0
  4332. package/dist/rules/tools/semantics/web-fetch.d.ts +39 -0
  4333. package/dist/rules/tools/semantics/web-fetch.d.ts.map +1 -0
  4334. package/dist/rules/tools/semantics/web-fetch.js +63 -0
  4335. package/dist/rules/tools/semantics/web-fetch.js.map +1 -0
  4336. package/dist/rules/tools/semantics/web-search-limit.d.ts +34 -0
  4337. package/dist/rules/tools/semantics/web-search-limit.d.ts.map +1 -0
  4338. package/dist/rules/tools/semantics/web-search-limit.js +32 -0
  4339. package/dist/rules/tools/semantics/web-search-limit.js.map +1 -0
  4340. package/dist/rules/tools/semantics/web-search.d.ts +11 -0
  4341. package/dist/rules/tools/semantics/web-search.d.ts.map +1 -0
  4342. package/dist/rules/tools/semantics/web-search.js +22 -0
  4343. package/dist/rules/tools/semantics/web-search.js.map +1 -0
  4344. package/dist/rules/tools/shell-selection.d.ts +15 -0
  4345. package/dist/rules/tools/shell-selection.d.ts.map +1 -0
  4346. package/dist/rules/tools/shell-selection.js +6 -0
  4347. package/dist/rules/tools/shell-selection.js.map +1 -0
  4348. package/dist/rules/types.d.ts +155 -0
  4349. package/dist/rules/types.d.ts.map +1 -0
  4350. package/dist/rules/types.js +2 -0
  4351. package/dist/rules/types.js.map +1 -0
  4352. package/dist/settings/add-dir-layer.d.ts +17 -0
  4353. package/dist/settings/add-dir-layer.d.ts.map +1 -0
  4354. package/dist/settings/add-dir-layer.js +20 -0
  4355. package/dist/settings/add-dir-layer.js.map +1 -0
  4356. package/dist/settings/broken-file.d.ts +29 -0
  4357. package/dist/settings/broken-file.d.ts.map +1 -0
  4358. package/dist/settings/broken-file.js +65 -0
  4359. package/dist/settings/broken-file.js.map +1 -0
  4360. package/dist/settings/canonical.d.ts +8 -0
  4361. package/dist/settings/canonical.d.ts.map +1 -0
  4362. package/dist/settings/canonical.js +18 -0
  4363. package/dist/settings/canonical.js.map +1 -0
  4364. package/dist/settings/channels/allowlist.d.ts +27 -0
  4365. package/dist/settings/channels/allowlist.d.ts.map +1 -0
  4366. package/dist/settings/channels/allowlist.js +27 -0
  4367. package/dist/settings/channels/allowlist.js.map +1 -0
  4368. package/dist/settings/channels/channel-gate.d.ts +42 -0
  4369. package/dist/settings/channels/channel-gate.d.ts.map +1 -0
  4370. package/dist/settings/channels/channel-gate.js +38 -0
  4371. package/dist/settings/channels/channel-gate.js.map +1 -0
  4372. package/dist/settings/channels/contract.d.ts +69 -0
  4373. package/dist/settings/channels/contract.d.ts.map +1 -0
  4374. package/dist/settings/channels/contract.js +80 -0
  4375. package/dist/settings/channels/contract.js.map +1 -0
  4376. package/dist/settings/channels/index.d.ts +8 -0
  4377. package/dist/settings/channels/index.d.ts.map +1 -0
  4378. package/dist/settings/channels/index.js +8 -0
  4379. package/dist/settings/channels/index.js.map +1 -0
  4380. package/dist/settings/channels/policy.d.ts +17 -0
  4381. package/dist/settings/channels/policy.d.ts.map +1 -0
  4382. package/dist/settings/channels/policy.js +13 -0
  4383. package/dist/settings/channels/policy.js.map +1 -0
  4384. package/dist/settings/channels/relay.d.ts +34 -0
  4385. package/dist/settings/channels/relay.d.ts.map +1 -0
  4386. package/dist/settings/channels/relay.js +43 -0
  4387. package/dist/settings/channels/relay.js.map +1 -0
  4388. package/dist/settings/channels/sanitize.d.ts +22 -0
  4389. package/dist/settings/channels/sanitize.d.ts.map +1 -0
  4390. package/dist/settings/channels/sanitize.js +64 -0
  4391. package/dist/settings/channels/sanitize.js.map +1 -0
  4392. package/dist/settings/channels/verdict.d.ts +44 -0
  4393. package/dist/settings/channels/verdict.d.ts.map +1 -0
  4394. package/dist/settings/channels/verdict.js +43 -0
  4395. package/dist/settings/channels/verdict.js.map +1 -0
  4396. package/dist/settings/context.d.ts +59 -0
  4397. package/dist/settings/context.d.ts.map +1 -0
  4398. package/dist/settings/context.js +21 -0
  4399. package/dist/settings/context.js.map +1 -0
  4400. package/dist/settings/customization/index.d.ts +6 -0
  4401. package/dist/settings/customization/index.d.ts.map +1 -0
  4402. package/dist/settings/customization/index.js +6 -0
  4403. package/dist/settings/customization/index.js.map +1 -0
  4404. package/dist/settings/customization/policy.d.ts +32 -0
  4405. package/dist/settings/customization/policy.d.ts.map +1 -0
  4406. package/dist/settings/customization/policy.js +29 -0
  4407. package/dist/settings/customization/policy.js.map +1 -0
  4408. package/dist/settings/customization/preapproval.d.ts +19 -0
  4409. package/dist/settings/customization/preapproval.d.ts.map +1 -0
  4410. package/dist/settings/customization/preapproval.js +22 -0
  4411. package/dist/settings/customization/preapproval.js.map +1 -0
  4412. package/dist/settings/customization/sources.d.ts +27 -0
  4413. package/dist/settings/customization/sources.d.ts.map +1 -0
  4414. package/dist/settings/customization/sources.js +68 -0
  4415. package/dist/settings/customization/sources.js.map +1 -0
  4416. package/dist/settings/customization/surfaces.d.ts +17 -0
  4417. package/dist/settings/customization/surfaces.d.ts.map +1 -0
  4418. package/dist/settings/customization/surfaces.js +27 -0
  4419. package/dist/settings/customization/surfaces.js.map +1 -0
  4420. package/dist/settings/env/check-env.d.ts +4 -0
  4421. package/dist/settings/env/check-env.d.ts.map +1 -0
  4422. package/dist/settings/env/check-env.js +45 -0
  4423. package/dist/settings/env/check-env.js.map +1 -0
  4424. package/dist/settings/env/code-mode.d.ts +21 -0
  4425. package/dist/settings/env/code-mode.d.ts.map +1 -0
  4426. package/dist/settings/env/code-mode.js +8 -0
  4427. package/dist/settings/env/code-mode.js.map +1 -0
  4428. package/dist/settings/env/ignored-variables.d.ts +28 -0
  4429. package/dist/settings/env/ignored-variables.d.ts.map +1 -0
  4430. package/dist/settings/env/ignored-variables.js +179 -0
  4431. package/dist/settings/env/ignored-variables.js.map +1 -0
  4432. package/dist/settings/env/index.d.ts +6 -0
  4433. package/dist/settings/env/index.d.ts.map +1 -0
  4434. package/dist/settings/env/index.js +6 -0
  4435. package/dist/settings/env/index.js.map +1 -0
  4436. package/dist/settings/env/resolve-env.d.ts +82 -0
  4437. package/dist/settings/env/resolve-env.d.ts.map +1 -0
  4438. package/dist/settings/env/resolve-env.js +101 -0
  4439. package/dist/settings/env/resolve-env.js.map +1 -0
  4440. package/dist/settings/env/settings-env.d.ts +37 -0
  4441. package/dist/settings/env/settings-env.d.ts.map +1 -0
  4442. package/dist/settings/env/settings-env.js +29 -0
  4443. package/dist/settings/env/settings-env.js.map +1 -0
  4444. package/dist/settings/env/timing.d.ts +25 -0
  4445. package/dist/settings/env/timing.d.ts.map +1 -0
  4446. package/dist/settings/env/timing.js +34 -0
  4447. package/dist/settings/env/timing.js.map +1 -0
  4448. package/dist/settings/general/agent-keys.d.ts +19 -0
  4449. package/dist/settings/general/agent-keys.d.ts.map +1 -0
  4450. package/dist/settings/general/agent-keys.js +23 -0
  4451. package/dist/settings/general/agent-keys.js.map +1 -0
  4452. package/dist/settings/general/checks.d.ts +10 -0
  4453. package/dist/settings/general/checks.d.ts.map +1 -0
  4454. package/dist/settings/general/checks.js +108 -0
  4455. package/dist/settings/general/checks.js.map +1 -0
  4456. package/dist/settings/general/claude-json.d.ts +40 -0
  4457. package/dist/settings/general/claude-json.d.ts.map +1 -0
  4458. package/dist/settings/general/claude-json.js +48 -0
  4459. package/dist/settings/general/claude-json.js.map +1 -0
  4460. package/dist/settings/general/closed-fields.d.ts +5 -0
  4461. package/dist/settings/general/closed-fields.d.ts.map +1 -0
  4462. package/dist/settings/general/closed-fields.js +53 -0
  4463. package/dist/settings/general/closed-fields.js.map +1 -0
  4464. package/dist/settings/general/command-lines.d.ts +21 -0
  4465. package/dist/settings/general/command-lines.d.ts.map +1 -0
  4466. package/dist/settings/general/command-lines.js +39 -0
  4467. package/dist/settings/general/command-lines.js.map +1 -0
  4468. package/dist/settings/general/edit-effect.d.ts +66 -0
  4469. package/dist/settings/general/edit-effect.d.ts.map +1 -0
  4470. package/dist/settings/general/edit-effect.js +71 -0
  4471. package/dist/settings/general/edit-effect.js.map +1 -0
  4472. package/dist/settings/general/effort.d.ts +39 -0
  4473. package/dist/settings/general/effort.d.ts.map +1 -0
  4474. package/dist/settings/general/effort.js +58 -0
  4475. package/dist/settings/general/effort.js.map +1 -0
  4476. package/dist/settings/general/exceptions.d.ts +52 -0
  4477. package/dist/settings/general/exceptions.d.ts.map +1 -0
  4478. package/dist/settings/general/exceptions.js +46 -0
  4479. package/dist/settings/general/exceptions.js.map +1 -0
  4480. package/dist/settings/general/file-locations.d.ts +111 -0
  4481. package/dist/settings/general/file-locations.d.ts.map +1 -0
  4482. package/dist/settings/general/file-locations.js +108 -0
  4483. package/dist/settings/general/file-locations.js.map +1 -0
  4484. package/dist/settings/general/global-config.d.ts +8 -0
  4485. package/dist/settings/general/global-config.d.ts.map +1 -0
  4486. package/dist/settings/general/global-config.js +21 -0
  4487. package/dist/settings/general/global-config.js.map +1 -0
  4488. package/dist/settings/general/index.d.ts +18 -0
  4489. package/dist/settings/general/index.d.ts.map +1 -0
  4490. package/dist/settings/general/index.js +18 -0
  4491. package/dist/settings/general/index.js.map +1 -0
  4492. package/dist/settings/general/keys.d.ts +52 -0
  4493. package/dist/settings/general/keys.d.ts.map +1 -0
  4494. package/dist/settings/general/keys.js +43 -0
  4495. package/dist/settings/general/keys.js.map +1 -0
  4496. package/dist/settings/general/look-and-feel.d.ts +35 -0
  4497. package/dist/settings/general/look-and-feel.d.ts.map +1 -0
  4498. package/dist/settings/general/look-and-feel.js +57 -0
  4499. package/dist/settings/general/look-and-feel.js.map +1 -0
  4500. package/dist/settings/general/permission-rules.d.ts +46 -0
  4501. package/dist/settings/general/permission-rules.d.ts.map +1 -0
  4502. package/dist/settings/general/permission-rules.js +81 -0
  4503. package/dist/settings/general/permission-rules.js.map +1 -0
  4504. package/dist/settings/general/plugin-defaults.d.ts +42 -0
  4505. package/dist/settings/general/plugin-defaults.d.ts.map +1 -0
  4506. package/dist/settings/general/plugin-defaults.js +44 -0
  4507. package/dist/settings/general/plugin-defaults.js.map +1 -0
  4508. package/dist/settings/general/process-wrapper.d.ts +14 -0
  4509. package/dist/settings/general/process-wrapper.d.ts.map +1 -0
  4510. package/dist/settings/general/process-wrapper.js +48 -0
  4511. package/dist/settings/general/process-wrapper.js.map +1 -0
  4512. package/dist/settings/general/reach.d.ts +27 -0
  4513. package/dist/settings/general/reach.d.ts.map +1 -0
  4514. package/dist/settings/general/reach.js +40 -0
  4515. package/dist/settings/general/reach.js.map +1 -0
  4516. package/dist/settings/general/rows.d.ts +12 -0
  4517. package/dist/settings/general/rows.d.ts.map +1 -0
  4518. package/dist/settings/general/rows.js +142 -0
  4519. package/dist/settings/general/rows.js.map +1 -0
  4520. package/dist/settings/general/sandbox-check.d.ts +8 -0
  4521. package/dist/settings/general/sandbox-check.d.ts.map +1 -0
  4522. package/dist/settings/general/sandbox-check.js +110 -0
  4523. package/dist/settings/general/sandbox-check.js.map +1 -0
  4524. package/dist/settings/general/sandbox-credentials.d.ts +10 -0
  4525. package/dist/settings/general/sandbox-credentials.d.ts.map +1 -0
  4526. package/dist/settings/general/sandbox-credentials.js +110 -0
  4527. package/dist/settings/general/sandbox-credentials.js.map +1 -0
  4528. package/dist/settings/general/sandbox-fields.d.ts +37 -0
  4529. package/dist/settings/general/sandbox-fields.d.ts.map +1 -0
  4530. package/dist/settings/general/sandbox-fields.js +45 -0
  4531. package/dist/settings/general/sandbox-fields.js.map +1 -0
  4532. package/dist/settings/general/session-overrides.d.ts +42 -0
  4533. package/dist/settings/general/session-overrides.d.ts.map +1 -0
  4534. package/dist/settings/general/session-overrides.js +93 -0
  4535. package/dist/settings/general/session-overrides.js.map +1 -0
  4536. package/dist/settings/general/view.d.ts +18 -0
  4537. package/dist/settings/general/view.d.ts.map +1 -0
  4538. package/dist/settings/general/view.js +42 -0
  4539. package/dist/settings/general/view.js.map +1 -0
  4540. package/dist/settings/general/worktree-block.d.ts +63 -0
  4541. package/dist/settings/general/worktree-block.d.ts.map +1 -0
  4542. package/dist/settings/general/worktree-block.js +58 -0
  4543. package/dist/settings/general/worktree-block.js.map +1 -0
  4544. package/dist/settings/hooks/custom-commands.d.ts +40 -0
  4545. package/dist/settings/hooks/custom-commands.d.ts.map +1 -0
  4546. package/dist/settings/hooks/custom-commands.js +11 -0
  4547. package/dist/settings/hooks/custom-commands.js.map +1 -0
  4548. package/dist/settings/hooks/hook-gate.d.ts +26 -0
  4549. package/dist/settings/hooks/hook-gate.d.ts.map +1 -0
  4550. package/dist/settings/hooks/hook-gate.js +42 -0
  4551. package/dist/settings/hooks/hook-gate.js.map +1 -0
  4552. package/dist/settings/hooks/http-policy.d.ts +35 -0
  4553. package/dist/settings/hooks/http-policy.d.ts.map +1 -0
  4554. package/dist/settings/hooks/http-policy.js +41 -0
  4555. package/dist/settings/hooks/http-policy.js.map +1 -0
  4556. package/dist/settings/hooks/index.d.ts +7 -0
  4557. package/dist/settings/hooks/index.d.ts.map +1 -0
  4558. package/dist/settings/hooks/index.js +7 -0
  4559. package/dist/settings/hooks/index.js.map +1 -0
  4560. package/dist/settings/hooks/merge-groups.d.ts +20 -0
  4561. package/dist/settings/hooks/merge-groups.d.ts.map +1 -0
  4562. package/dist/settings/hooks/merge-groups.js +57 -0
  4563. package/dist/settings/hooks/merge-groups.js.map +1 -0
  4564. package/dist/settings/hooks/origin-stops.d.ts +4 -0
  4565. package/dist/settings/hooks/origin-stops.d.ts.map +1 -0
  4566. package/dist/settings/hooks/origin-stops.js +87 -0
  4567. package/dist/settings/hooks/origin-stops.js.map +1 -0
  4568. package/dist/settings/hooks/origins.d.ts +74 -0
  4569. package/dist/settings/hooks/origins.d.ts.map +1 -0
  4570. package/dist/settings/hooks/origins.js +8 -0
  4571. package/dist/settings/hooks/origins.js.map +1 -0
  4572. package/dist/settings/hooks/policy.d.ts +20 -0
  4573. package/dist/settings/hooks/policy.d.ts.map +1 -0
  4574. package/dist/settings/hooks/policy.js +14 -0
  4575. package/dist/settings/hooks/policy.js.map +1 -0
  4576. package/dist/settings/hooks/session-gates.d.ts +51 -0
  4577. package/dist/settings/hooks/session-gates.d.ts.map +1 -0
  4578. package/dist/settings/hooks/session-gates.js +33 -0
  4579. package/dist/settings/hooks/session-gates.js.map +1 -0
  4580. package/dist/settings/hooks/url-pattern.d.ts +2 -0
  4581. package/dist/settings/hooks/url-pattern.d.ts.map +1 -0
  4582. package/dist/settings/hooks/url-pattern.js +55 -0
  4583. package/dist/settings/hooks/url-pattern.js.map +1 -0
  4584. package/dist/settings/host-switches.d.ts +67 -0
  4585. package/dist/settings/host-switches.d.ts.map +1 -0
  4586. package/dist/settings/host-switches.js +84 -0
  4587. package/dist/settings/host-switches.js.map +1 -0
  4588. package/dist/settings/index.d.ts +18 -0
  4589. package/dist/settings/index.d.ts.map +1 -0
  4590. package/dist/settings/index.js +15 -0
  4591. package/dist/settings/index.js.map +1 -0
  4592. package/dist/settings/key-spec.d.ts +43 -0
  4593. package/dist/settings/key-spec.d.ts.map +1 -0
  4594. package/dist/settings/key-spec.js +241 -0
  4595. package/dist/settings/key-spec.js.map +1 -0
  4596. package/dist/settings/layers.d.ts +43 -0
  4597. package/dist/settings/layers.d.ts.map +1 -0
  4598. package/dist/settings/layers.js +54 -0
  4599. package/dist/settings/layers.js.map +1 -0
  4600. package/dist/settings/locations.d.ts +39 -0
  4601. package/dist/settings/locations.d.ts.map +1 -0
  4602. package/dist/settings/locations.js +25 -0
  4603. package/dist/settings/locations.js.map +1 -0
  4604. package/dist/settings/managed/admin-source.d.ts +109 -0
  4605. package/dist/settings/managed/admin-source.d.ts.map +1 -0
  4606. package/dist/settings/managed/admin-source.js +151 -0
  4607. package/dist/settings/managed/admin-source.js.map +1 -0
  4608. package/dist/settings/managed/applicability.d.ts +129 -0
  4609. package/dist/settings/managed/applicability.d.ts.map +1 -0
  4610. package/dist/settings/managed/applicability.js +158 -0
  4611. package/dist/settings/managed/applicability.js.map +1 -0
  4612. package/dist/settings/managed/approval.d.ts +19 -0
  4613. package/dist/settings/managed/approval.d.ts.map +1 -0
  4614. package/dist/settings/managed/approval.js +117 -0
  4615. package/dist/settings/managed/approval.js.map +1 -0
  4616. package/dist/settings/managed/combine.d.ts +20 -0
  4617. package/dist/settings/managed/combine.d.ts.map +1 -0
  4618. package/dist/settings/managed/combine.js +152 -0
  4619. package/dist/settings/managed/combine.js.map +1 -0
  4620. package/dist/settings/managed/compose.d.ts +61 -0
  4621. package/dist/settings/managed/compose.d.ts.map +1 -0
  4622. package/dist/settings/managed/compose.js +143 -0
  4623. package/dist/settings/managed/compose.js.map +1 -0
  4624. package/dist/settings/managed/cross-source.d.ts +24 -0
  4625. package/dist/settings/managed/cross-source.d.ts.map +1 -0
  4626. package/dist/settings/managed/cross-source.js +127 -0
  4627. package/dist/settings/managed/cross-source.js.map +1 -0
  4628. package/dist/settings/managed/delivery.d.ts +100 -0
  4629. package/dist/settings/managed/delivery.d.ts.map +1 -0
  4630. package/dist/settings/managed/delivery.js +117 -0
  4631. package/dist/settings/managed/delivery.js.map +1 -0
  4632. package/dist/settings/managed/drop-in.d.ts +44 -0
  4633. package/dist/settings/managed/drop-in.d.ts.map +1 -0
  4634. package/dist/settings/managed/drop-in.js +139 -0
  4635. package/dist/settings/managed/drop-in.js.map +1 -0
  4636. package/dist/settings/managed/helper-run.d.ts +51 -0
  4637. package/dist/settings/managed/helper-run.d.ts.map +1 -0
  4638. package/dist/settings/managed/helper-run.js +65 -0
  4639. package/dist/settings/managed/helper-run.js.map +1 -0
  4640. package/dist/settings/managed/helper-settings.d.ts +9 -0
  4641. package/dist/settings/managed/helper-settings.d.ts.map +1 -0
  4642. package/dist/settings/managed/helper-settings.js +26 -0
  4643. package/dist/settings/managed/helper-settings.js.map +1 -0
  4644. package/dist/settings/managed/index.d.ts +22 -0
  4645. package/dist/settings/managed/index.d.ts.map +1 -0
  4646. package/dist/settings/managed/index.js +20 -0
  4647. package/dist/settings/managed/index.js.map +1 -0
  4648. package/dist/settings/managed/limits.d.ts +77 -0
  4649. package/dist/settings/managed/limits.d.ts.map +1 -0
  4650. package/dist/settings/managed/limits.js +89 -0
  4651. package/dist/settings/managed/limits.js.map +1 -0
  4652. package/dist/settings/managed/load.d.ts +19 -0
  4653. package/dist/settings/managed/load.d.ts.map +1 -0
  4654. package/dist/settings/managed/load.js +24 -0
  4655. package/dist/settings/managed/load.js.map +1 -0
  4656. package/dist/settings/managed/login-keys.d.ts +33 -0
  4657. package/dist/settings/managed/login-keys.d.ts.map +1 -0
  4658. package/dist/settings/managed/login-keys.js +73 -0
  4659. package/dist/settings/managed/login-keys.js.map +1 -0
  4660. package/dist/settings/managed/parent.d.ts +38 -0
  4661. package/dist/settings/managed/parent.d.ts.map +1 -0
  4662. package/dist/settings/managed/parent.js +83 -0
  4663. package/dist/settings/managed/parent.js.map +1 -0
  4664. package/dist/settings/managed/policy-helper.d.ts +46 -0
  4665. package/dist/settings/managed/policy-helper.d.ts.map +1 -0
  4666. package/dist/settings/managed/policy-helper.js +133 -0
  4667. package/dist/settings/managed/policy-helper.js.map +1 -0
  4668. package/dist/settings/managed/ports.d.ts +34 -0
  4669. package/dist/settings/managed/ports.d.ts.map +1 -0
  4670. package/dist/settings/managed/ports.js +2 -0
  4671. package/dist/settings/managed/ports.js.map +1 -0
  4672. package/dist/settings/managed/server-cache.d.ts +56 -0
  4673. package/dist/settings/managed/server-cache.d.ts.map +1 -0
  4674. package/dist/settings/managed/server-cache.js +27 -0
  4675. package/dist/settings/managed/server-cache.js.map +1 -0
  4676. package/dist/settings/managed/server-groups.d.ts +34 -0
  4677. package/dist/settings/managed/server-groups.d.ts.map +1 -0
  4678. package/dist/settings/managed/server-groups.js +28 -0
  4679. package/dist/settings/managed/server-groups.js.map +1 -0
  4680. package/dist/settings/managed/sideload.d.ts +67 -0
  4681. package/dist/settings/managed/sideload.d.ts.map +1 -0
  4682. package/dist/settings/managed/sideload.js +69 -0
  4683. package/dist/settings/managed/sideload.js.map +1 -0
  4684. package/dist/settings/managed/startup-failure.d.ts +37 -0
  4685. package/dist/settings/managed/startup-failure.d.ts.map +1 -0
  4686. package/dist/settings/managed/startup-failure.js +28 -0
  4687. package/dist/settings/managed/startup-failure.js.map +1 -0
  4688. package/dist/settings/managed/wsl-chain.d.ts +36 -0
  4689. package/dist/settings/managed/wsl-chain.d.ts.map +1 -0
  4690. package/dist/settings/managed/wsl-chain.js +55 -0
  4691. package/dist/settings/managed/wsl-chain.js.map +1 -0
  4692. package/dist/settings/marketplaces/command-sources.d.ts +27 -0
  4693. package/dist/settings/marketplaces/command-sources.d.ts.map +1 -0
  4694. package/dist/settings/marketplaces/command-sources.js +25 -0
  4695. package/dist/settings/marketplaces/command-sources.js.map +1 -0
  4696. package/dist/settings/marketplaces/facts.d.ts +38 -0
  4697. package/dist/settings/marketplaces/facts.d.ts.map +1 -0
  4698. package/dist/settings/marketplaces/facts.js +90 -0
  4699. package/dist/settings/marketplaces/facts.js.map +1 -0
  4700. package/dist/settings/marketplaces/gate.d.ts +49 -0
  4701. package/dist/settings/marketplaces/gate.d.ts.map +1 -0
  4702. package/dist/settings/marketplaces/gate.js +153 -0
  4703. package/dist/settings/marketplaces/gate.js.map +1 -0
  4704. package/dist/settings/marketplaces/git-url.d.ts +23 -0
  4705. package/dist/settings/marketplaces/git-url.d.ts.map +1 -0
  4706. package/dist/settings/marketplaces/git-url.js +53 -0
  4707. package/dist/settings/marketplaces/git-url.js.map +1 -0
  4708. package/dist/settings/marketplaces/headers-helper.d.ts +13 -0
  4709. package/dist/settings/marketplaces/headers-helper.d.ts.map +1 -0
  4710. package/dist/settings/marketplaces/headers-helper.js +76 -0
  4711. package/dist/settings/marketplaces/headers-helper.js.map +1 -0
  4712. package/dist/settings/marketplaces/host-of.d.ts +8 -0
  4713. package/dist/settings/marketplaces/host-of.d.ts.map +1 -0
  4714. package/dist/settings/marketplaces/host-of.js +46 -0
  4715. package/dist/settings/marketplaces/host-of.js.map +1 -0
  4716. package/dist/settings/marketplaces/index.d.ts +8 -0
  4717. package/dist/settings/marketplaces/index.d.ts.map +1 -0
  4718. package/dist/settings/marketplaces/index.js +8 -0
  4719. package/dist/settings/marketplaces/index.js.map +1 -0
  4720. package/dist/settings/marketplaces/match-source.d.ts +22 -0
  4721. package/dist/settings/marketplaces/match-source.d.ts.map +1 -0
  4722. package/dist/settings/marketplaces/match-source.js +121 -0
  4723. package/dist/settings/marketplaces/match-source.js.map +1 -0
  4724. package/dist/settings/marketplaces/official-registration.d.ts +43 -0
  4725. package/dist/settings/marketplaces/official-registration.d.ts.map +1 -0
  4726. package/dist/settings/marketplaces/official-registration.js +28 -0
  4727. package/dist/settings/marketplaces/official-registration.js.map +1 -0
  4728. package/dist/settings/marketplaces/refusal-messages.d.ts +25 -0
  4729. package/dist/settings/marketplaces/refusal-messages.d.ts.map +1 -0
  4730. package/dist/settings/marketplaces/refusal-messages.js +26 -0
  4731. package/dist/settings/marketplaces/refusal-messages.js.map +1 -0
  4732. package/dist/settings/marketplaces/registry.d.ts +69 -0
  4733. package/dist/settings/marketplaces/registry.d.ts.map +1 -0
  4734. package/dist/settings/marketplaces/registry.js +124 -0
  4735. package/dist/settings/marketplaces/registry.js.map +1 -0
  4736. package/dist/settings/marketplaces/source-kinds.d.ts +22 -0
  4737. package/dist/settings/marketplaces/source-kinds.d.ts.map +1 -0
  4738. package/dist/settings/marketplaces/source-kinds.js +11 -0
  4739. package/dist/settings/marketplaces/source-kinds.js.map +1 -0
  4740. package/dist/settings/marketplaces/source-validate.d.ts +13 -0
  4741. package/dist/settings/marketplaces/source-validate.d.ts.map +1 -0
  4742. package/dist/settings/marketplaces/source-validate.js +73 -0
  4743. package/dist/settings/marketplaces/source-validate.js.map +1 -0
  4744. package/dist/settings/mcp/allow-deny.d.ts +48 -0
  4745. package/dist/settings/mcp/allow-deny.d.ts.map +1 -0
  4746. package/dist/settings/mcp/allow-deny.js +94 -0
  4747. package/dist/settings/mcp/allow-deny.js.map +1 -0
  4748. package/dist/settings/mcp/approvals.d.ts +52 -0
  4749. package/dist/settings/mcp/approvals.d.ts.map +1 -0
  4750. package/dist/settings/mcp/approvals.js +82 -0
  4751. package/dist/settings/mcp/approvals.js.map +1 -0
  4752. package/dist/settings/mcp/candidates.d.ts +21 -0
  4753. package/dist/settings/mcp/candidates.d.ts.map +1 -0
  4754. package/dist/settings/mcp/candidates.js +56 -0
  4755. package/dist/settings/mcp/candidates.js.map +1 -0
  4756. package/dist/settings/mcp/command-match.d.ts +10 -0
  4757. package/dist/settings/mcp/command-match.d.ts.map +1 -0
  4758. package/dist/settings/mcp/command-match.js +13 -0
  4759. package/dist/settings/mcp/command-match.js.map +1 -0
  4760. package/dist/settings/mcp/entries.d.ts +35 -0
  4761. package/dist/settings/mcp/entries.d.ts.map +1 -0
  4762. package/dist/settings/mcp/entries.js +73 -0
  4763. package/dist/settings/mcp/entries.js.map +1 -0
  4764. package/dist/settings/mcp/entry-env.d.ts +28 -0
  4765. package/dist/settings/mcp/entry-env.d.ts.map +1 -0
  4766. package/dist/settings/mcp/entry-env.js +56 -0
  4767. package/dist/settings/mcp/entry-env.js.map +1 -0
  4768. package/dist/settings/mcp/exclusive.d.ts +99 -0
  4769. package/dist/settings/mcp/exclusive.d.ts.map +1 -0
  4770. package/dist/settings/mcp/exclusive.js +163 -0
  4771. package/dist/settings/mcp/exclusive.js.map +1 -0
  4772. package/dist/settings/mcp/index.d.ts +15 -0
  4773. package/dist/settings/mcp/index.d.ts.map +1 -0
  4774. package/dist/settings/mcp/index.js +15 -0
  4775. package/dist/settings/mcp/index.js.map +1 -0
  4776. package/dist/settings/mcp/lists.d.ts +20 -0
  4777. package/dist/settings/mcp/lists.d.ts.map +1 -0
  4778. package/dist/settings/mcp/lists.js +27 -0
  4779. package/dist/settings/mcp/lists.js.map +1 -0
  4780. package/dist/settings/mcp/load-settings.d.ts +33 -0
  4781. package/dist/settings/mcp/load-settings.d.ts.map +1 -0
  4782. package/dist/settings/mcp/load-settings.js +19 -0
  4783. package/dist/settings/mcp/load-settings.js.map +1 -0
  4784. package/dist/settings/mcp/managed-entry.d.ts +9 -0
  4785. package/dist/settings/mcp/managed-entry.d.ts.map +1 -0
  4786. package/dist/settings/mcp/managed-entry.js +67 -0
  4787. package/dist/settings/mcp/managed-entry.js.map +1 -0
  4788. package/dist/settings/mcp/managed-file.d.ts +31 -0
  4789. package/dist/settings/mcp/managed-file.d.ts.map +1 -0
  4790. package/dist/settings/mcp/managed-file.js +46 -0
  4791. package/dist/settings/mcp/managed-file.js.map +1 -0
  4792. package/dist/settings/mcp/managed-servers.d.ts +33 -0
  4793. package/dist/settings/mcp/managed-servers.d.ts.map +1 -0
  4794. package/dist/settings/mcp/managed-servers.js +54 -0
  4795. package/dist/settings/mcp/managed-servers.js.map +1 -0
  4796. package/dist/settings/mcp/managed-timing.d.ts +50 -0
  4797. package/dist/settings/mcp/managed-timing.d.ts.map +1 -0
  4798. package/dist/settings/mcp/managed-timing.js +61 -0
  4799. package/dist/settings/mcp/managed-timing.js.map +1 -0
  4800. package/dist/settings/mcp/managed.d.ts +27 -0
  4801. package/dist/settings/mcp/managed.d.ts.map +1 -0
  4802. package/dist/settings/mcp/managed.js +55 -0
  4803. package/dist/settings/mcp/managed.js.map +1 -0
  4804. package/dist/settings/mcp/origins.d.ts +20 -0
  4805. package/dist/settings/mcp/origins.d.ts.map +1 -0
  4806. package/dist/settings/mcp/origins.js +39 -0
  4807. package/dist/settings/mcp/origins.js.map +1 -0
  4808. package/dist/settings/mcp/policy.d.ts +52 -0
  4809. package/dist/settings/mcp/policy.d.ts.map +1 -0
  4810. package/dist/settings/mcp/policy.js +30 -0
  4811. package/dist/settings/mcp/policy.js.map +1 -0
  4812. package/dist/settings/mcp/scope.d.ts +45 -0
  4813. package/dist/settings/mcp/scope.d.ts.map +1 -0
  4814. package/dist/settings/mcp/scope.js +71 -0
  4815. package/dist/settings/mcp/scope.js.map +1 -0
  4816. package/dist/settings/mcp/toggles.d.ts +26 -0
  4817. package/dist/settings/mcp/toggles.d.ts.map +1 -0
  4818. package/dist/settings/mcp/toggles.js +42 -0
  4819. package/dist/settings/mcp/toggles.js.map +1 -0
  4820. package/dist/settings/mcp/url-pattern.d.ts +11 -0
  4821. package/dist/settings/mcp/url-pattern.d.ts.map +1 -0
  4822. package/dist/settings/mcp/url-pattern.js +66 -0
  4823. package/dist/settings/mcp/url-pattern.js.map +1 -0
  4824. package/dist/settings/merge.d.ts +50 -0
  4825. package/dist/settings/merge.d.ts.map +1 -0
  4826. package/dist/settings/merge.js +110 -0
  4827. package/dist/settings/merge.js.map +1 -0
  4828. package/dist/settings/paths.d.ts +14 -0
  4829. package/dist/settings/paths.d.ts.map +1 -0
  4830. package/dist/settings/paths.js +28 -0
  4831. package/dist/settings/paths.js.map +1 -0
  4832. package/dist/settings/permissions/auto-mode.d.ts +33 -0
  4833. package/dist/settings/permissions/auto-mode.d.ts.map +1 -0
  4834. package/dist/settings/permissions/auto-mode.js +99 -0
  4835. package/dist/settings/permissions/auto-mode.js.map +1 -0
  4836. package/dist/settings/permissions/default-mode.d.ts +74 -0
  4837. package/dist/settings/permissions/default-mode.d.ts.map +1 -0
  4838. package/dist/settings/permissions/default-mode.js +181 -0
  4839. package/dist/settings/permissions/default-mode.js.map +1 -0
  4840. package/dist/settings/permissions/index.d.ts +7 -0
  4841. package/dist/settings/permissions/index.d.ts.map +1 -0
  4842. package/dist/settings/permissions/index.js +6 -0
  4843. package/dist/settings/permissions/index.js.map +1 -0
  4844. package/dist/settings/permissions/managed-only.d.ts +36 -0
  4845. package/dist/settings/permissions/managed-only.d.ts.map +1 -0
  4846. package/dist/settings/permissions/managed-only.js +116 -0
  4847. package/dist/settings/permissions/managed-only.js.map +1 -0
  4848. package/dist/settings/permissions/merge.d.ts +19 -0
  4849. package/dist/settings/permissions/merge.d.ts.map +1 -0
  4850. package/dist/settings/permissions/merge.js +102 -0
  4851. package/dist/settings/permissions/merge.js.map +1 -0
  4852. package/dist/settings/permissions/policy.d.ts +41 -0
  4853. package/dist/settings/permissions/policy.d.ts.map +1 -0
  4854. package/dist/settings/permissions/policy.js +29 -0
  4855. package/dist/settings/permissions/policy.js.map +1 -0
  4856. package/dist/settings/permissions/read.d.ts +8 -0
  4857. package/dist/settings/permissions/read.d.ts.map +1 -0
  4858. package/dist/settings/permissions/read.js +184 -0
  4859. package/dist/settings/permissions/read.js.map +1 -0
  4860. package/dist/settings/permissions/running-mode.d.ts +20 -0
  4861. package/dist/settings/permissions/running-mode.d.ts.map +1 -0
  4862. package/dist/settings/permissions/running-mode.js +34 -0
  4863. package/dist/settings/permissions/running-mode.js.map +1 -0
  4864. package/dist/settings/permissions/sandbox-read-block.d.ts +59 -0
  4865. package/dist/settings/permissions/sandbox-read-block.d.ts.map +1 -0
  4866. package/dist/settings/permissions/sandbox-read-block.js +55 -0
  4867. package/dist/settings/permissions/sandbox-read-block.js.map +1 -0
  4868. package/dist/settings/permissions/start-notices.d.ts +22 -0
  4869. package/dist/settings/permissions/start-notices.d.ts.map +1 -0
  4870. package/dist/settings/permissions/start-notices.js +13 -0
  4871. package/dist/settings/permissions/start-notices.js.map +1 -0
  4872. package/dist/settings/plugins/enabled-plugins.d.ts +32 -0
  4873. package/dist/settings/plugins/enabled-plugins.d.ts.map +1 -0
  4874. package/dist/settings/plugins/enabled-plugins.js +48 -0
  4875. package/dist/settings/plugins/enabled-plugins.js.map +1 -0
  4876. package/dist/settings/plugins/index.d.ts +10 -0
  4877. package/dist/settings/plugins/index.d.ts.map +1 -0
  4878. package/dist/settings/plugins/index.js +10 -0
  4879. package/dist/settings/plugins/index.js.map +1 -0
  4880. package/dist/settings/plugins/mod-order.d.ts +47 -0
  4881. package/dist/settings/plugins/mod-order.d.ts.map +1 -0
  4882. package/dist/settings/plugins/mod-order.js +103 -0
  4883. package/dist/settings/plugins/mod-order.js.map +1 -0
  4884. package/dist/settings/plugins/plugin-config.d.ts +28 -0
  4885. package/dist/settings/plugins/plugin-config.d.ts.map +1 -0
  4886. package/dist/settings/plugins/plugin-config.js +80 -0
  4887. package/dist/settings/plugins/plugin-config.js.map +1 -0
  4888. package/dist/settings/plugins/plugin-id.d.ts +25 -0
  4889. package/dist/settings/plugins/plugin-id.d.ts.map +1 -0
  4890. package/dist/settings/plugins/plugin-id.js +15 -0
  4891. package/dist/settings/plugins/plugin-id.js.map +1 -0
  4892. package/dist/settings/plugins/policy.d.ts +20 -0
  4893. package/dist/settings/plugins/policy.d.ts.map +1 -0
  4894. package/dist/settings/plugins/policy.js +18 -0
  4895. package/dist/settings/plugins/policy.js.map +1 -0
  4896. package/dist/settings/plugins/suggestions.d.ts +20 -0
  4897. package/dist/settings/plugins/suggestions.d.ts.map +1 -0
  4898. package/dist/settings/plugins/suggestions.js +46 -0
  4899. package/dist/settings/plugins/suggestions.js.map +1 -0
  4900. package/dist/settings/plugins/sync-plugins.d.ts +31 -0
  4901. package/dist/settings/plugins/sync-plugins.d.ts.map +1 -0
  4902. package/dist/settings/plugins/sync-plugins.js +31 -0
  4903. package/dist/settings/plugins/sync-plugins.js.map +1 -0
  4904. package/dist/settings/plugins/trust-warning.d.ts +9 -0
  4905. package/dist/settings/plugins/trust-warning.d.ts.map +1 -0
  4906. package/dist/settings/plugins/trust-warning.js +20 -0
  4907. package/dist/settings/plugins/trust-warning.js.map +1 -0
  4908. package/dist/settings/read-layer.d.ts +8 -0
  4909. package/dist/settings/read-layer.d.ts.map +1 -0
  4910. package/dist/settings/read-layer.js +128 -0
  4911. package/dist/settings/read-layer.js.map +1 -0
  4912. package/dist/settings/repair/closed.d.ts +30 -0
  4913. package/dist/settings/repair/closed.d.ts.map +1 -0
  4914. package/dist/settings/repair/closed.js +76 -0
  4915. package/dist/settings/repair/closed.js.map +1 -0
  4916. package/dist/settings/repair/hooks.d.ts +12 -0
  4917. package/dist/settings/repair/hooks.d.ts.map +1 -0
  4918. package/dist/settings/repair/hooks.js +56 -0
  4919. package/dist/settings/repair/hooks.js.map +1 -0
  4920. package/dist/settings/repair/kinds.d.ts +14 -0
  4921. package/dist/settings/repair/kinds.d.ts.map +1 -0
  4922. package/dist/settings/repair/kinds.js +74 -0
  4923. package/dist/settings/repair/kinds.js.map +1 -0
  4924. package/dist/settings/repair/lists.d.ts +28 -0
  4925. package/dist/settings/repair/lists.d.ts.map +1 -0
  4926. package/dist/settings/repair/lists.js +121 -0
  4927. package/dist/settings/repair/lists.js.map +1 -0
  4928. package/dist/settings/repair/network.d.ts +3 -0
  4929. package/dist/settings/repair/network.d.ts.map +1 -0
  4930. package/dist/settings/repair/network.js +65 -0
  4931. package/dist/settings/repair/network.js.map +1 -0
  4932. package/dist/settings/repair/support.d.ts +59 -0
  4933. package/dist/settings/repair/support.d.ts.map +1 -0
  4934. package/dist/settings/repair/support.js +59 -0
  4935. package/dist/settings/repair/support.js.map +1 -0
  4936. package/dist/settings/repair/values.d.ts +39 -0
  4937. package/dist/settings/repair/values.d.ts.map +1 -0
  4938. package/dist/settings/repair/values.js +115 -0
  4939. package/dist/settings/repair/values.js.map +1 -0
  4940. package/dist/settings/resolve.d.ts +64 -0
  4941. package/dist/settings/resolve.d.ts.map +1 -0
  4942. package/dist/settings/resolve.js +69 -0
  4943. package/dist/settings/resolve.js.map +1 -0
  4944. package/dist/settings/skills/bundled.d.ts +25 -0
  4945. package/dist/settings/skills/bundled.d.ts.map +1 -0
  4946. package/dist/settings/skills/bundled.js +24 -0
  4947. package/dist/settings/skills/bundled.js.map +1 -0
  4948. package/dist/settings/skills/index.d.ts +7 -0
  4949. package/dist/settings/skills/index.d.ts.map +1 -0
  4950. package/dist/settings/skills/index.js +7 -0
  4951. package/dist/settings/skills/index.js.map +1 -0
  4952. package/dist/settings/skills/overrides.d.ts +27 -0
  4953. package/dist/settings/skills/overrides.d.ts.map +1 -0
  4954. package/dist/settings/skills/overrides.js +53 -0
  4955. package/dist/settings/skills/overrides.js.map +1 -0
  4956. package/dist/settings/skills/policy.d.ts +26 -0
  4957. package/dist/settings/skills/policy.d.ts.map +1 -0
  4958. package/dist/settings/skills/policy.js +22 -0
  4959. package/dist/settings/skills/policy.js.map +1 -0
  4960. package/dist/settings/skills/shell.d.ts +18 -0
  4961. package/dist/settings/skills/shell.d.ts.map +1 -0
  4962. package/dist/settings/skills/shell.js +38 -0
  4963. package/dist/settings/skills/shell.js.map +1 -0
  4964. package/dist/settings/skills/sync-skills.d.ts +12 -0
  4965. package/dist/settings/skills/sync-skills.d.ts.map +1 -0
  4966. package/dist/settings/skills/sync-skills.js +11 -0
  4967. package/dist/settings/skills/sync-skills.js.map +1 -0
  4968. package/dist/settings/sources.d.ts +48 -0
  4969. package/dist/settings/sources.d.ts.map +1 -0
  4970. package/dist/settings/sources.js +80 -0
  4971. package/dist/settings/sources.js.map +1 -0
  4972. package/dist/settings/value-spec.d.ts +42 -0
  4973. package/dist/settings/value-spec.d.ts.map +1 -0
  4974. package/dist/settings/value-spec.js +2 -0
  4975. package/dist/settings/value-spec.js.map +1 -0
  4976. package/dist/settings/view.d.ts +19 -0
  4977. package/dist/settings/view.d.ts.map +1 -0
  4978. package/dist/settings/view.js +82 -0
  4979. package/dist/settings/view.js.map +1 -0
  4980. package/dist/settings/workflows/enablement.d.ts +55 -0
  4981. package/dist/settings/workflows/enablement.d.ts.map +1 -0
  4982. package/dist/settings/workflows/enablement.js +63 -0
  4983. package/dist/settings/workflows/enablement.js.map +1 -0
  4984. package/dist/settings/workflows/index.d.ts +6 -0
  4985. package/dist/settings/workflows/index.d.ts.map +1 -0
  4986. package/dist/settings/workflows/index.js +6 -0
  4987. package/dist/settings/workflows/index.js.map +1 -0
  4988. package/dist/settings/workflows/keyword.d.ts +43 -0
  4989. package/dist/settings/workflows/keyword.d.ts.map +1 -0
  4990. package/dist/settings/workflows/keyword.js +78 -0
  4991. package/dist/settings/workflows/keyword.js.map +1 -0
  4992. package/dist/settings/workflows/policy.d.ts +15 -0
  4993. package/dist/settings/workflows/policy.d.ts.map +1 -0
  4994. package/dist/settings/workflows/policy.js +13 -0
  4995. package/dist/settings/workflows/policy.js.map +1 -0
  4996. package/dist/settings/workflows/size.d.ts +55 -0
  4997. package/dist/settings/workflows/size.d.ts.map +1 -0
  4998. package/dist/settings/workflows/size.js +40 -0
  4999. package/dist/settings/workflows/size.js.map +1 -0
  5000. package/dist/skills/arguments.d.ts +13 -0
  5001. package/dist/skills/arguments.d.ts.map +1 -0
  5002. package/dist/skills/arguments.js +37 -0
  5003. package/dist/skills/arguments.js.map +1 -0
  5004. package/dist/skills/bare-repository.d.ts +9 -0
  5005. package/dist/skills/bare-repository.d.ts.map +1 -0
  5006. package/dist/skills/bare-repository.js +11 -0
  5007. package/dist/skills/bare-repository.js.map +1 -0
  5008. package/dist/skills/command-entries.d.ts +35 -0
  5009. package/dist/skills/command-entries.d.ts.map +1 -0
  5010. package/dist/skills/command-entries.js +69 -0
  5011. package/dist/skills/command-entries.js.map +1 -0
  5012. package/dist/skills/execution.d.ts +116 -0
  5013. package/dist/skills/execution.d.ts.map +1 -0
  5014. package/dist/skills/execution.js +150 -0
  5015. package/dist/skills/execution.js.map +1 -0
  5016. package/dist/skills/expand-policy.d.ts +38 -0
  5017. package/dist/skills/expand-policy.d.ts.map +1 -0
  5018. package/dist/skills/expand-policy.js +41 -0
  5019. package/dist/skills/expand-policy.js.map +1 -0
  5020. package/dist/skills/expand-shell.d.ts +42 -0
  5021. package/dist/skills/expand-shell.d.ts.map +1 -0
  5022. package/dist/skills/expand-shell.js +103 -0
  5023. package/dist/skills/expand-shell.js.map +1 -0
  5024. package/dist/skills/expand-types.d.ts +96 -0
  5025. package/dist/skills/expand-types.d.ts.map +1 -0
  5026. package/dist/skills/expand-types.js +2 -0
  5027. package/dist/skills/expand-types.js.map +1 -0
  5028. package/dist/skills/expand.d.ts +17 -0
  5029. package/dist/skills/expand.d.ts.map +1 -0
  5030. package/dist/skills/expand.js +122 -0
  5031. package/dist/skills/expand.js.map +1 -0
  5032. package/dist/skills/file-references.d.ts +34 -0
  5033. package/dist/skills/file-references.d.ts.map +1 -0
  5034. package/dist/skills/file-references.js +28 -0
  5035. package/dist/skills/file-references.js.map +1 -0
  5036. package/dist/skills/folder-line.d.ts +9 -0
  5037. package/dist/skills/folder-line.d.ts.map +1 -0
  5038. package/dist/skills/folder-line.js +9 -0
  5039. package/dist/skills/folder-line.js.map +1 -0
  5040. package/dist/skills/fork.d.ts +47 -0
  5041. package/dist/skills/fork.d.ts.map +1 -0
  5042. package/dist/skills/fork.js +27 -0
  5043. package/dist/skills/fork.js.map +1 -0
  5044. package/dist/skills/hook-limits.d.ts +40 -0
  5045. package/dist/skills/hook-limits.d.ts.map +1 -0
  5046. package/dist/skills/hook-limits.js +54 -0
  5047. package/dist/skills/hook-limits.js.map +1 -0
  5048. package/dist/skills/index.d.ts +31 -0
  5049. package/dist/skills/index.d.ts.map +1 -0
  5050. package/dist/skills/index.js +30 -0
  5051. package/dist/skills/index.js.map +1 -0
  5052. package/dist/skills/invocation.d.ts +60 -0
  5053. package/dist/skills/invocation.d.ts.map +1 -0
  5054. package/dist/skills/invocation.js +76 -0
  5055. package/dist/skills/invocation.js.map +1 -0
  5056. package/dist/skills/lifecycle.d.ts +78 -0
  5057. package/dist/skills/lifecycle.d.ts.map +1 -0
  5058. package/dist/skills/lifecycle.js +89 -0
  5059. package/dist/skills/lifecycle.js.map +1 -0
  5060. package/dist/skills/listing.d.ts +84 -0
  5061. package/dist/skills/listing.d.ts.map +1 -0
  5062. package/dist/skills/listing.js +142 -0
  5063. package/dist/skills/listing.js.map +1 -0
  5064. package/dist/skills/lookup.d.ts +25 -0
  5065. package/dist/skills/lookup.d.ts.map +1 -0
  5066. package/dist/skills/lookup.js +34 -0
  5067. package/dist/skills/lookup.js.map +1 -0
  5068. package/dist/skills/mention.d.ts +48 -0
  5069. package/dist/skills/mention.d.ts.map +1 -0
  5070. package/dist/skills/mention.js +70 -0
  5071. package/dist/skills/mention.js.map +1 -0
  5072. package/dist/skills/path-gate.d.ts +41 -0
  5073. package/dist/skills/path-gate.d.ts.map +1 -0
  5074. package/dist/skills/path-gate.js +175 -0
  5075. package/dist/skills/path-gate.js.map +1 -0
  5076. package/dist/skills/portable.d.ts +20 -0
  5077. package/dist/skills/portable.d.ts.map +1 -0
  5078. package/dist/skills/portable.js +58 -0
  5079. package/dist/skills/portable.js.map +1 -0
  5080. package/dist/skills/scan/container.d.ts +28 -0
  5081. package/dist/skills/scan/container.d.ts.map +1 -0
  5082. package/dist/skills/scan/container.js +33 -0
  5083. package/dist/skills/scan/container.js.map +1 -0
  5084. package/dist/skills/scan/file-location.d.ts +12 -0
  5085. package/dist/skills/scan/file-location.d.ts.map +1 -0
  5086. package/dist/skills/scan/file-location.js +23 -0
  5087. package/dist/skills/scan/file-location.js.map +1 -0
  5088. package/dist/skills/scan/head.d.ts +3 -0
  5089. package/dist/skills/scan/head.d.ts.map +1 -0
  5090. package/dist/skills/scan/head.js +16 -0
  5091. package/dist/skills/scan/head.js.map +1 -0
  5092. package/dist/skills/scan/locations.d.ts +56 -0
  5093. package/dist/skills/scan/locations.d.ts.map +1 -0
  5094. package/dist/skills/scan/locations.js +92 -0
  5095. package/dist/skills/scan/locations.js.map +1 -0
  5096. package/dist/skills/scan/names.d.ts +21 -0
  5097. package/dist/skills/scan/names.d.ts.map +1 -0
  5098. package/dist/skills/scan/names.js +37 -0
  5099. package/dist/skills/scan/names.js.map +1 -0
  5100. package/dist/skills/scan/nested.d.ts +19 -0
  5101. package/dist/skills/scan/nested.d.ts.map +1 -0
  5102. package/dist/skills/scan/nested.js +13 -0
  5103. package/dist/skills/scan/nested.js.map +1 -0
  5104. package/dist/skills/scan/read.d.ts +25 -0
  5105. package/dist/skills/scan/read.d.ts.map +1 -0
  5106. package/dist/skills/scan/read.js +105 -0
  5107. package/dist/skills/scan/read.js.map +1 -0
  5108. package/dist/skills/scan/resolve.d.ts +58 -0
  5109. package/dist/skills/scan/resolve.d.ts.map +1 -0
  5110. package/dist/skills/scan/resolve.js +155 -0
  5111. package/dist/skills/scan/resolve.js.map +1 -0
  5112. package/dist/skills/scan/scan-types.d.ts +53 -0
  5113. package/dist/skills/scan/scan-types.d.ts.map +1 -0
  5114. package/dist/skills/scan/scan-types.js +8 -0
  5115. package/dist/skills/scan/scan-types.js.map +1 -0
  5116. package/dist/skills/scan/scan.d.ts +16 -0
  5117. package/dist/skills/scan/scan.d.ts.map +1 -0
  5118. package/dist/skills/scan/scan.js +88 -0
  5119. package/dist/skills/scan/scan.js.map +1 -0
  5120. package/dist/skills/shell-arguments.d.ts +27 -0
  5121. package/dist/skills/shell-arguments.d.ts.map +1 -0
  5122. package/dist/skills/shell-arguments.js +86 -0
  5123. package/dist/skills/shell-arguments.js.map +1 -0
  5124. package/dist/skills/shell-ports.d.ts +30 -0
  5125. package/dist/skills/shell-ports.d.ts.map +1 -0
  5126. package/dist/skills/shell-ports.js +2 -0
  5127. package/dist/skills/shell-ports.js.map +1 -0
  5128. package/dist/skills/shell-refusal.d.ts +4 -0
  5129. package/dist/skills/shell-refusal.d.ts.map +1 -0
  5130. package/dist/skills/shell-refusal.js +33 -0
  5131. package/dist/skills/shell-refusal.js.map +1 -0
  5132. package/dist/skills/shell-result.d.ts +36 -0
  5133. package/dist/skills/shell-result.d.ts.map +1 -0
  5134. package/dist/skills/shell-result.js +86 -0
  5135. package/dist/skills/shell-result.js.map +1 -0
  5136. package/dist/skills/shell-run.d.ts +83 -0
  5137. package/dist/skills/shell-run.d.ts.map +1 -0
  5138. package/dist/skills/shell-run.js +117 -0
  5139. package/dist/skills/shell-run.js.map +1 -0
  5140. package/dist/skills/shell-scan.d.ts +21 -0
  5141. package/dist/skills/shell-scan.d.ts.map +1 -0
  5142. package/dist/skills/shell-scan.js +51 -0
  5143. package/dist/skills/shell-scan.js.map +1 -0
  5144. package/dist/skills/shell-variables.d.ts +20 -0
  5145. package/dist/skills/shell-variables.d.ts.map +1 -0
  5146. package/dist/skills/shell-variables.js +23 -0
  5147. package/dist/skills/shell-variables.js.map +1 -0
  5148. package/dist/skills/skill-rule.d.ts +10 -0
  5149. package/dist/skills/skill-rule.d.ts.map +1 -0
  5150. package/dist/skills/skill-rule.js +45 -0
  5151. package/dist/skills/skill-rule.js.map +1 -0
  5152. package/dist/skills/stack.d.ts +36 -0
  5153. package/dist/skills/stack.d.ts.map +1 -0
  5154. package/dist/skills/stack.js +28 -0
  5155. package/dist/skills/stack.js.map +1 -0
  5156. package/dist/skills/substitute.d.ts +60 -0
  5157. package/dist/skills/substitute.d.ts.map +1 -0
  5158. package/dist/skills/substitute.js +136 -0
  5159. package/dist/skills/substitute.js.map +1 -0
  5160. package/dist/skills/variables.d.ts +104 -0
  5161. package/dist/skills/variables.d.ts.map +1 -0
  5162. package/dist/skills/variables.js +142 -0
  5163. package/dist/skills/variables.js.map +1 -0
  5164. package/dist/skills/visibility.d.ts +35 -0
  5165. package/dist/skills/visibility.d.ts.map +1 -0
  5166. package/dist/skills/visibility.js +32 -0
  5167. package/dist/skills/visibility.js.map +1 -0
  5168. package/dist/testing/index.d.ts +7 -0
  5169. package/dist/testing/index.d.ts.map +1 -0
  5170. package/dist/testing/index.js +7 -0
  5171. package/dist/testing/index.js.map +1 -0
  5172. package/dist/testing/mods/claude.d.ts +4 -0
  5173. package/dist/testing/mods/claude.d.ts.map +1 -0
  5174. package/dist/testing/mods/claude.js +55 -0
  5175. package/dist/testing/mods/claude.js.map +1 -0
  5176. package/dist/testing/mods/expect-equal.d.ts +24 -0
  5177. package/dist/testing/mods/expect-equal.d.ts.map +1 -0
  5178. package/dist/testing/mods/expect-equal.js +55 -0
  5179. package/dist/testing/mods/expect-equal.js.map +1 -0
  5180. package/dist/testing/mods/expect-matchers.d.ts +111 -0
  5181. package/dist/testing/mods/expect-matchers.d.ts.map +1 -0
  5182. package/dist/testing/mods/expect-matchers.js +111 -0
  5183. package/dist/testing/mods/expect-matchers.js.map +1 -0
  5184. package/dist/testing/mods/expect.d.ts +38 -0
  5185. package/dist/testing/mods/expect.d.ts.map +1 -0
  5186. package/dist/testing/mods/expect.js +84 -0
  5187. package/dist/testing/mods/expect.js.map +1 -0
  5188. package/dist/testing/mods/fake-ports.d.ts +23 -0
  5189. package/dist/testing/mods/fake-ports.d.ts.map +1 -0
  5190. package/dist/testing/mods/fake-ports.js +150 -0
  5191. package/dist/testing/mods/fake-ports.js.map +1 -0
  5192. package/dist/testing/mods/fallbacks.d.ts +7 -0
  5193. package/dist/testing/mods/fallbacks.d.ts.map +1 -0
  5194. package/dist/testing/mods/fallbacks.js +35 -0
  5195. package/dist/testing/mods/fallbacks.js.map +1 -0
  5196. package/dist/testing/mods/index.d.ts +12 -0
  5197. package/dist/testing/mods/index.d.ts.map +1 -0
  5198. package/dist/testing/mods/index.js +11 -0
  5199. package/dist/testing/mods/index.js.map +1 -0
  5200. package/dist/testing/mods/inline-files.d.ts +22 -0
  5201. package/dist/testing/mods/inline-files.d.ts.map +1 -0
  5202. package/dist/testing/mods/inline-files.js +87 -0
  5203. package/dist/testing/mods/inline-files.js.map +1 -0
  5204. package/dist/testing/mods/inline-runtime.d.ts +21 -0
  5205. package/dist/testing/mods/inline-runtime.d.ts.map +1 -0
  5206. package/dist/testing/mods/inline-runtime.js +71 -0
  5207. package/dist/testing/mods/inline-runtime.js.map +1 -0
  5208. package/dist/testing/mods/kit.d.ts +55 -0
  5209. package/dist/testing/mods/kit.d.ts.map +1 -0
  5210. package/dist/testing/mods/kit.js +58 -0
  5211. package/dist/testing/mods/kit.js.map +1 -0
  5212. package/dist/testing/mods/mock-clock.d.ts +16 -0
  5213. package/dist/testing/mods/mock-clock.d.ts.map +1 -0
  5214. package/dist/testing/mods/mock-clock.js +53 -0
  5215. package/dist/testing/mods/mock-clock.js.map +1 -0
  5216. package/dist/testing/mods/mock.d.ts +29 -0
  5217. package/dist/testing/mods/mock.d.ts.map +1 -0
  5218. package/dist/testing/mods/mock.js +45 -0
  5219. package/dist/testing/mods/mock.js.map +1 -0
  5220. package/dist/testing/mods/mount.d.ts +50 -0
  5221. package/dist/testing/mods/mount.d.ts.map +1 -0
  5222. package/dist/testing/mods/mount.js +111 -0
  5223. package/dist/testing/mods/mount.js.map +1 -0
  5224. package/dist/testing/mods/ports.d.ts +23 -0
  5225. package/dist/testing/mods/ports.d.ts.map +1 -0
  5226. package/dist/testing/mods/ports.js +10 -0
  5227. package/dist/testing/mods/ports.js.map +1 -0
  5228. package/dist/testing/mods/runner.d.ts +34 -0
  5229. package/dist/testing/mods/runner.d.ts.map +1 -0
  5230. package/dist/testing/mods/runner.js +147 -0
  5231. package/dist/testing/mods/runner.js.map +1 -0
  5232. package/dist/testing/mods/stub-matcher.d.ts +9 -0
  5233. package/dist/testing/mods/stub-matcher.d.ts.map +1 -0
  5234. package/dist/testing/mods/stub-matcher.js +24 -0
  5235. package/dist/testing/mods/stub-matcher.js.map +1 -0
  5236. package/dist/testing/mods/stubs.d.ts +28 -0
  5237. package/dist/testing/mods/stubs.d.ts.map +1 -0
  5238. package/dist/testing/mods/stubs.js +78 -0
  5239. package/dist/testing/mods/stubs.js.map +1 -0
  5240. package/dist/testing/mods/world.d.ts +48 -0
  5241. package/dist/testing/mods/world.d.ts.map +1 -0
  5242. package/dist/testing/mods/world.js +145 -0
  5243. package/dist/testing/mods/world.js.map +1 -0
  5244. package/dist/testing/ports/clock.d.ts +11 -0
  5245. package/dist/testing/ports/clock.d.ts.map +1 -0
  5246. package/dist/testing/ports/clock.js +39 -0
  5247. package/dist/testing/ports/clock.js.map +1 -0
  5248. package/dist/testing/ports/environment.d.ts +8 -0
  5249. package/dist/testing/ports/environment.d.ts.map +1 -0
  5250. package/dist/testing/ports/environment.js +20 -0
  5251. package/dist/testing/ports/environment.js.map +1 -0
  5252. package/dist/testing/ports/files.d.ts +32 -0
  5253. package/dist/testing/ports/files.d.ts.map +1 -0
  5254. package/dist/testing/ports/files.js +151 -0
  5255. package/dist/testing/ports/files.js.map +1 -0
  5256. package/dist/testing/ports/folders.d.ts +24 -0
  5257. package/dist/testing/ports/folders.d.ts.map +1 -0
  5258. package/dist/testing/ports/folders.js +159 -0
  5259. package/dist/testing/ports/folders.js.map +1 -0
  5260. package/dist/testing/ports/http.d.ts +10 -0
  5261. package/dist/testing/ports/http.d.ts.map +1 -0
  5262. package/dist/testing/ports/http.js +42 -0
  5263. package/dist/testing/ports/http.js.map +1 -0
  5264. package/dist/testing/ports/index.d.ts +15 -0
  5265. package/dist/testing/ports/index.d.ts.map +1 -0
  5266. package/dist/testing/ports/index.js +15 -0
  5267. package/dist/testing/ports/index.js.map +1 -0
  5268. package/dist/testing/ports/locations.d.ts +16 -0
  5269. package/dist/testing/ports/locations.d.ts.map +1 -0
  5270. package/dist/testing/ports/locations.js +19 -0
  5271. package/dist/testing/ports/locations.js.map +1 -0
  5272. package/dist/testing/ports/mcp.d.ts +12 -0
  5273. package/dist/testing/ports/mcp.d.ts.map +1 -0
  5274. package/dist/testing/ports/mcp.js +15 -0
  5275. package/dist/testing/ports/mcp.js.map +1 -0
  5276. package/dist/testing/ports/model.d.ts +12 -0
  5277. package/dist/testing/ports/model.d.ts.map +1 -0
  5278. package/dist/testing/ports/model.js +17 -0
  5279. package/dist/testing/ports/model.js.map +1 -0
  5280. package/dist/testing/ports/runner.d.ts +11 -0
  5281. package/dist/testing/ports/runner.d.ts.map +1 -0
  5282. package/dist/testing/ports/runner.js +21 -0
  5283. package/dist/testing/ports/runner.js.map +1 -0
  5284. package/dist/testing/rows/index.d.ts +34 -0
  5285. package/dist/testing/rows/index.d.ts.map +1 -0
  5286. package/dist/testing/rows/index.js +75 -0
  5287. package/dist/testing/rows/index.js.map +1 -0
  5288. package/dist/updates/auto-update-pass.d.ts +53 -0
  5289. package/dist/updates/auto-update-pass.d.ts.map +1 -0
  5290. package/dist/updates/auto-update-pass.js +46 -0
  5291. package/dist/updates/auto-update-pass.js.map +1 -0
  5292. package/dist/updates/auto-update-precedence.d.ts +71 -0
  5293. package/dist/updates/auto-update-precedence.d.ts.map +1 -0
  5294. package/dist/updates/auto-update-precedence.js +71 -0
  5295. package/dist/updates/auto-update-precedence.js.map +1 -0
  5296. package/dist/updates/auto-update-skips.d.ts +31 -0
  5297. package/dist/updates/auto-update-skips.d.ts.map +1 -0
  5298. package/dist/updates/auto-update-skips.js +28 -0
  5299. package/dist/updates/auto-update-skips.js.map +1 -0
  5300. package/dist/updates/claude-code-version-policy.d.ts +101 -0
  5301. package/dist/updates/claude-code-version-policy.d.ts.map +1 -0
  5302. package/dist/updates/claude-code-version-policy.js +155 -0
  5303. package/dist/updates/claude-code-version-policy.js.map +1 -0
  5304. package/dist/updates/command-source-rerun.d.ts +98 -0
  5305. package/dist/updates/command-source-rerun.d.ts.map +1 -0
  5306. package/dist/updates/command-source-rerun.js +120 -0
  5307. package/dist/updates/command-source-rerun.js.map +1 -0
  5308. package/dist/updates/env-flags.d.ts +16 -0
  5309. package/dist/updates/env-flags.d.ts.map +1 -0
  5310. package/dist/updates/env-flags.js +16 -0
  5311. package/dist/updates/env-flags.js.map +1 -0
  5312. package/dist/updates/index.d.ts +10 -0
  5313. package/dist/updates/index.d.ts.map +1 -0
  5314. package/dist/updates/index.js +10 -0
  5315. package/dist/updates/index.js.map +1 -0
  5316. package/dist/updates/private-marketplace.d.ts +53 -0
  5317. package/dist/updates/private-marketplace.d.ts.map +1 -0
  5318. package/dist/updates/private-marketplace.js +40 -0
  5319. package/dist/updates/private-marketplace.js.map +1 -0
  5320. package/dist/updates/refresh-before-install.d.ts +72 -0
  5321. package/dist/updates/refresh-before-install.d.ts.map +1 -0
  5322. package/dist/updates/refresh-before-install.js +127 -0
  5323. package/dist/updates/refresh-before-install.js.map +1 -0
  5324. package/dist/updates/update-targets.d.ts +54 -0
  5325. package/dist/updates/update-targets.d.ts.map +1 -0
  5326. package/dist/updates/update-targets.js +54 -0
  5327. package/dist/updates/update-targets.js.map +1 -0
  5328. package/package.json +249 -4
  5329. package/src/agents/builtin-model.ts +61 -0
  5330. package/src/agents/catalog/builtin.ts +140 -0
  5331. package/src/agents/catalog/index.ts +51 -0
  5332. package/src/agents/catalog/invoke.ts +227 -0
  5333. package/src/agents/catalog/resolve.ts +220 -0
  5334. package/src/agents/catalog/scan.ts +170 -0
  5335. package/src/agents/catalog/scopes.ts +69 -0
  5336. package/src/agents/catalog/spawn.ts +129 -0
  5337. package/src/agents/catalog/types.ts +104 -0
  5338. package/src/agents/handback-denial.ts +18 -0
  5339. package/src/agents/hooks.ts +190 -0
  5340. package/src/agents/index.ts +114 -0
  5341. package/src/agents/launch-model.ts +216 -0
  5342. package/src/agents/launch.ts +209 -0
  5343. package/src/agents/mcp-scope.ts +200 -0
  5344. package/src/agents/memory.ts +143 -0
  5345. package/src/agents/model-choice.ts +99 -0
  5346. package/src/agents/model-value.ts +40 -0
  5347. package/src/agents/permission-baseline.ts +83 -0
  5348. package/src/agents/permission-mode.ts +81 -0
  5349. package/src/agents/preload-skills.ts +47 -0
  5350. package/src/agents/prompt-surface.ts +23 -0
  5351. package/src/agents/subagent-permission.ts +70 -0
  5352. package/src/agents/task-list.ts +31 -0
  5353. package/src/agents/teammate.ts +125 -0
  5354. package/src/agents/tool-filters.ts +123 -0
  5355. package/src/agents/tool-list.ts +66 -0
  5356. package/src/agents/tool-resolution.ts +230 -0
  5357. package/src/agents/workflow/args.ts +29 -0
  5358. package/src/agents/workflow/attempts.ts +186 -0
  5359. package/src/agents/workflow/index.ts +24 -0
  5360. package/src/agents/workflow/limits.ts +93 -0
  5361. package/src/agents/workflow/relaunch.ts +93 -0
  5362. package/src/agents/workflow/replay.ts +156 -0
  5363. package/src/agents/workflow/saved-scan.ts +114 -0
  5364. package/src/agents/workflow/saved.ts +142 -0
  5365. package/src/agents/workflow/structured-output.ts +112 -0
  5366. package/src/agents/workflow/usage-limit.ts +121 -0
  5367. package/src/cli/background-session.ts +111 -0
  5368. package/src/cli/clean-configuration.ts +78 -0
  5369. package/src/cli/command-acceptance.ts +139 -0
  5370. package/src/cli/command-table.ts +144 -0
  5371. package/src/cli/configure-dialog.ts +41 -0
  5372. package/src/cli/configure-plan.ts +213 -0
  5373. package/src/cli/disable-plan.ts +111 -0
  5374. package/src/cli/enable-plan.ts +72 -0
  5375. package/src/cli/flags/add-dir.ts +82 -0
  5376. package/src/cli/flags/agents.ts +111 -0
  5377. package/src/cli/flags/channels.ts +77 -0
  5378. package/src/cli/flags/customizations.ts +62 -0
  5379. package/src/cli/flags/mcp.ts +151 -0
  5380. package/src/cli/flags/modes.ts +49 -0
  5381. package/src/cli/flags/plugins.ts +84 -0
  5382. package/src/cli/flags/registry.ts +41 -0
  5383. package/src/cli/flags/session.ts +59 -0
  5384. package/src/cli/flags/settings.ts +73 -0
  5385. package/src/cli/flags/sideload.ts +44 -0
  5386. package/src/cli/flags/subagent-prompt.ts +56 -0
  5387. package/src/cli/flags/types.ts +193 -0
  5388. package/src/cli/flags/values.ts +19 -0
  5389. package/src/cli/index.ts +284 -0
  5390. package/src/cli/install-command-outcome.ts +69 -0
  5391. package/src/cli/install-command-step.ts +91 -0
  5392. package/src/cli/install-config.ts +150 -0
  5393. package/src/cli/install-engines.ts +58 -0
  5394. package/src/cli/install-lookup.ts +133 -0
  5395. package/src/cli/install-plan.ts +219 -0
  5396. package/src/cli/install-refusals.ts +24 -0
  5397. package/src/cli/install-start.ts +163 -0
  5398. package/src/cli/install-success.ts +32 -0
  5399. package/src/cli/lfs-pointer-line.ts +13 -0
  5400. package/src/cli/marketplace-add.ts +249 -0
  5401. package/src/cli/marketplace-list.ts +150 -0
  5402. package/src/cli/marketplace-remove.ts +181 -0
  5403. package/src/cli/marketplace-update.ts +148 -0
  5404. package/src/cli/plugin-details.ts +92 -0
  5405. package/src/cli/plugin-list.ts +217 -0
  5406. package/src/cli/plugin-ref.ts +30 -0
  5407. package/src/cli/prune-plan.ts +105 -0
  5408. package/src/cli/records-refusal.ts +22 -0
  5409. package/src/cli/restore-set-aside.ts +70 -0
  5410. package/src/cli/result.ts +196 -0
  5411. package/src/cli/scope.ts +168 -0
  5412. package/src/cli/session-flags.ts +117 -0
  5413. package/src/cli/tag-plan.ts +111 -0
  5414. package/src/cli/toggle-target.ts +155 -0
  5415. package/src/cli/uninstall-data.ts +111 -0
  5416. package/src/cli/uninstall-flags.ts +15 -0
  5417. package/src/cli/uninstall-plan.ts +295 -0
  5418. package/src/cli/uninstall-refusal.ts +37 -0
  5419. package/src/cli/update-dependencies.ts +62 -0
  5420. package/src/cli/update-facts.ts +65 -0
  5421. package/src/cli/update-locate.ts +91 -0
  5422. package/src/cli/update-plan.ts +259 -0
  5423. package/src/cli/user-config-input.ts +108 -0
  5424. package/src/cli/validate-advice.ts +79 -0
  5425. package/src/cli/validate-lists.ts +172 -0
  5426. package/src/cli/validate-run.ts +219 -0
  5427. package/src/convert/adapters/claude-code-runner-source.ts +166 -0
  5428. package/src/convert/adapters/core-profiles-source.ts +162 -0
  5429. package/src/convert/adapters/core-runner-source.ts +161 -0
  5430. package/src/convert/adapters/registration.ts +155 -0
  5431. package/src/convert/adapters/sources.ts +52 -0
  5432. package/src/convert/convert-package.ts +115 -0
  5433. package/src/convert/index.ts +12 -0
  5434. package/src/convert/judge.ts +41 -0
  5435. package/src/convert/namespaces.ts +59 -0
  5436. package/src/convert/notes.ts +46 -0
  5437. package/src/convert/overlay.ts +65 -0
  5438. package/src/convert/placeholders.ts +87 -0
  5439. package/src/convert/profiles.ts +45 -0
  5440. package/src/convert/skill-body.ts +37 -0
  5441. package/src/convert/to-claude-code/hooks.ts +155 -0
  5442. package/src/convert/to-claude-code/index.ts +46 -0
  5443. package/src/convert/to-claude-code/manifest.ts +80 -0
  5444. package/src/convert/to-claude-code/mcp.ts +115 -0
  5445. package/src/convert/to-claude-code/skills.ts +25 -0
  5446. package/src/convert/to-core/components.ts +58 -0
  5447. package/src/convert/to-core/hook-matchers.ts +55 -0
  5448. package/src/convert/to-core/hooks.ts +174 -0
  5449. package/src/convert/to-core/index.ts +59 -0
  5450. package/src/convert/to-core/manifest.ts +49 -0
  5451. package/src/convert/to-core/mcp.ts +145 -0
  5452. package/src/convert/to-core/skills.ts +65 -0
  5453. package/src/convert/types.ts +50 -0
  5454. package/src/entry/agents.ts +7 -0
  5455. package/src/entry/cli.ts +2 -0
  5456. package/src/entry/core.ts +4 -0
  5457. package/src/entry/elicitation.ts +24 -0
  5458. package/src/entry/format.ts +19 -0
  5459. package/src/entry/hooks.ts +17 -0
  5460. package/src/entry/layout.ts +2 -0
  5461. package/src/entry/loading.ts +2 -0
  5462. package/src/entry/marketplace.ts +5 -0
  5463. package/src/entry/mod-elements.ts +8 -0
  5464. package/src/entry/mod-isolate.ts +32 -0
  5465. package/src/entry/mods.ts +85 -0
  5466. package/src/entry/rules.ts +7 -0
  5467. package/src/entry/sdk.ts +4 -0
  5468. package/src/entry/settings.ts +26 -0
  5469. package/src/entry/skills.ts +2 -0
  5470. package/src/format/add-dir-gate.ts +44 -0
  5471. package/src/format/agent-field-read.ts +56 -0
  5472. package/src/format/agent-fields.ts +197 -0
  5473. package/src/format/agent-flag.ts +143 -0
  5474. package/src/format/agent-hooks-field.ts +19 -0
  5475. package/src/format/agent-name.ts +68 -0
  5476. package/src/format/agent-record.ts +93 -0
  5477. package/src/format/agent-scalars.ts +140 -0
  5478. package/src/format/agent-unrecognized.ts +61 -0
  5479. package/src/format/agent.ts +166 -0
  5480. package/src/format/bundled-skill.ts +48 -0
  5481. package/src/format/canonical-json.ts +20 -0
  5482. package/src/format/code-points.ts +10 -0
  5483. package/src/format/command.ts +211 -0
  5484. package/src/format/component-source.ts +19 -0
  5485. package/src/format/config-directory.ts +47 -0
  5486. package/src/format/core/command.ts +41 -0
  5487. package/src/format/core/document.ts +45 -0
  5488. package/src/format/core/dual.ts +121 -0
  5489. package/src/format/core/extensions.ts +34 -0
  5490. package/src/format/core/hooks.ts +153 -0
  5491. package/src/format/core/icon.ts +31 -0
  5492. package/src/format/core/index.ts +55 -0
  5493. package/src/format/core/manifest.ts +187 -0
  5494. package/src/format/core/mcp-server.ts +164 -0
  5495. package/src/format/core/mcp.ts +68 -0
  5496. package/src/format/core/name.ts +26 -0
  5497. package/src/format/core/placeholders.ts +88 -0
  5498. package/src/format/core/remote.ts +70 -0
  5499. package/src/format/core/skill.ts +89 -0
  5500. package/src/format/core/subprocess.ts +106 -0
  5501. package/src/format/core/versions.ts +47 -0
  5502. package/src/format/credential-env.ts +166 -0
  5503. package/src/format/defined.ts +15 -0
  5504. package/src/format/engines.ts +139 -0
  5505. package/src/format/env-flag.ts +17 -0
  5506. package/src/format/env-number.ts +36 -0
  5507. package/src/format/frontmatter-render.ts +131 -0
  5508. package/src/format/frontmatter-values.ts +169 -0
  5509. package/src/format/frontmatter-write.ts +83 -0
  5510. package/src/format/frontmatter.ts +193 -0
  5511. package/src/format/helper-credentials.ts +48 -0
  5512. package/src/format/helper-headers.ts +33 -0
  5513. package/src/format/hooks-handlers.ts +145 -0
  5514. package/src/format/hooks-settings.ts +232 -0
  5515. package/src/format/host-errors.ts +195 -0
  5516. package/src/format/index.ts +218 -0
  5517. package/src/format/issues.ts +37 -0
  5518. package/src/format/js-literal.ts +204 -0
  5519. package/src/format/js-parse.ts +52 -0
  5520. package/src/format/js-tokens.ts +293 -0
  5521. package/src/format/layout.ts +195 -0
  5522. package/src/format/link-rule.ts +41 -0
  5523. package/src/format/listing.ts +21 -0
  5524. package/src/format/load-files.ts +33 -0
  5525. package/src/format/locate.ts +110 -0
  5526. package/src/format/lsp-config.ts +137 -0
  5527. package/src/format/lsp-schema.ts +63 -0
  5528. package/src/format/manifest-schema.ts +147 -0
  5529. package/src/format/manifest.ts +190 -0
  5530. package/src/format/marketplace/archive-url.ts +29 -0
  5531. package/src/format/marketplace/blocked-hosts.ts +81 -0
  5532. package/src/format/marketplace/display-fields.ts +63 -0
  5533. package/src/format/marketplace/entries.ts +219 -0
  5534. package/src/format/marketplace/entry-append.ts +77 -0
  5535. package/src/format/marketplace/entry-checks.ts +197 -0
  5536. package/src/format/marketplace/entry-display.ts +78 -0
  5537. package/src/format/marketplace/entry-merge.ts +208 -0
  5538. package/src/format/marketplace/entry-schema.ts +112 -0
  5539. package/src/format/marketplace/header-names.ts +40 -0
  5540. package/src/format/marketplace/ids.ts +120 -0
  5541. package/src/format/marketplace/index.ts +67 -0
  5542. package/src/format/marketplace/marketplace-name-lists.ts +66 -0
  5543. package/src/format/marketplace/marketplace-names.ts +275 -0
  5544. package/src/format/marketplace/marketplace-schema.ts +246 -0
  5545. package/src/format/marketplace/marketplace-source.ts +271 -0
  5546. package/src/format/marketplace/marketplace.ts +212 -0
  5547. package/src/format/marketplace/plugin-source-fields.ts +124 -0
  5548. package/src/format/marketplace/plugin-source-kinds.ts +141 -0
  5549. package/src/format/marketplace/plugin-source.ts +117 -0
  5550. package/src/format/marketplace/relevance.ts +116 -0
  5551. package/src/format/marketplace/renames.ts +74 -0
  5552. package/src/format/marketplace/schema-issues.ts +20 -0
  5553. package/src/format/marketplace/settings-source-plugins.ts +103 -0
  5554. package/src/format/marketplace/source-failures.ts +13 -0
  5555. package/src/format/marketplace/types.ts +250 -0
  5556. package/src/format/mcp-add-json.ts +220 -0
  5557. package/src/format/mcp-add.ts +259 -0
  5558. package/src/format/mcp-bundles.ts +118 -0
  5559. package/src/format/mcp-config.ts +240 -0
  5560. package/src/format/mcp-contract.ts +141 -0
  5561. package/src/format/mcp-elicitation-check.ts +116 -0
  5562. package/src/format/mcp-elicitation-form.ts +200 -0
  5563. package/src/format/mcp-elicitation.ts +179 -0
  5564. package/src/format/mcp-endpoint.ts +32 -0
  5565. package/src/format/mcp-env.ts +287 -0
  5566. package/src/format/mcp-knobs.ts +242 -0
  5567. package/src/format/mcp-oauth-schema.ts +20 -0
  5568. package/src/format/mcp-oauth.ts +250 -0
  5569. package/src/format/mcp-output.ts +226 -0
  5570. package/src/format/mcp-plugin-display.ts +56 -0
  5571. package/src/format/mcp-prompts.ts +83 -0
  5572. package/src/format/mcp-reload.ts +78 -0
  5573. package/src/format/mcp-reserved.ts +40 -0
  5574. package/src/format/mcp-schema-check.ts +187 -0
  5575. package/src/format/mcp-sources.ts +203 -0
  5576. package/src/format/mcp-startup.ts +258 -0
  5577. package/src/format/mcp-task-timing.ts +42 -0
  5578. package/src/format/mcp-tool-schema.ts +258 -0
  5579. package/src/format/mcp-tool.ts +162 -0
  5580. package/src/format/mcpb-manifest.ts +170 -0
  5581. package/src/format/memory-rule.ts +53 -0
  5582. package/src/format/messages.ts +57 -0
  5583. package/src/format/mod-files.ts +113 -0
  5584. package/src/format/model-id.ts +13 -0
  5585. package/src/format/monitor-schema.ts +52 -0
  5586. package/src/format/monitors.ts +112 -0
  5587. package/src/format/names.ts +124 -0
  5588. package/src/format/network.ts +48 -0
  5589. package/src/format/output-style-command.ts +69 -0
  5590. package/src/format/output-style-select.ts +194 -0
  5591. package/src/format/output-style-system.ts +24 -0
  5592. package/src/format/output-style.ts +125 -0
  5593. package/src/format/path-escape.ts +83 -0
  5594. package/src/format/path-text.ts +96 -0
  5595. package/src/format/permission-rule-shape.ts +32 -0
  5596. package/src/format/plugin-notes.ts +21 -0
  5597. package/src/format/plugin-settings.ts +74 -0
  5598. package/src/format/read-json.ts +56 -0
  5599. package/src/format/remote-mcp-credentials.ts +94 -0
  5600. package/src/format/server-paths.ts +50 -0
  5601. package/src/format/settings-files.ts +15 -0
  5602. package/src/format/skill-field-readers.ts +96 -0
  5603. package/src/format/skill-fields.ts +176 -0
  5604. package/src/format/skill-name.ts +230 -0
  5605. package/src/format/skill-types.ts +246 -0
  5606. package/src/format/skill.ts +80 -0
  5607. package/src/format/strict-keys.ts +18 -0
  5608. package/src/format/theme-color.ts +63 -0
  5609. package/src/format/theme-tokens.ts +107 -0
  5610. package/src/format/theme-write.ts +45 -0
  5611. package/src/format/theme.ts +194 -0
  5612. package/src/format/token-estimate.ts +11 -0
  5613. package/src/format/user-config-options.ts +97 -0
  5614. package/src/format/user-config-refs.ts +44 -0
  5615. package/src/format/utf8.ts +20 -0
  5616. package/src/format/validate/component-frontmatter.ts +181 -0
  5617. package/src/format/validate/finding.ts +59 -0
  5618. package/src/format/validate/hook-handlers.ts +81 -0
  5619. package/src/format/validate/hooks-check.ts +89 -0
  5620. package/src/format/validate/inline-sources.ts +29 -0
  5621. package/src/format/validate/mcp-check.ts +170 -0
  5622. package/src/format/validate/mcp-remote-checks.ts +76 -0
  5623. package/src/format/validate/path-claims.ts +88 -0
  5624. package/src/format/validate/plugin-fields.ts +163 -0
  5625. package/src/format/validate/plugin-manifest.ts +168 -0
  5626. package/src/format/validate/plugin-name.ts +47 -0
  5627. package/src/format/validate/plugin-paths.ts +140 -0
  5628. package/src/format/validate/received.ts +17 -0
  5629. package/src/format/validate/settings-deprecation.ts +26 -0
  5630. package/src/format/validate/shell-command.ts +47 -0
  5631. package/src/format/validate/unknown-fields.ts +130 -0
  5632. package/src/format/validate/zod-findings.ts +19 -0
  5633. package/src/format/versions.ts +28 -0
  5634. package/src/format/wildcard.ts +34 -0
  5635. package/src/format/workflow-meta-rewrite.ts +134 -0
  5636. package/src/format/workflow-meta.ts +216 -0
  5637. package/src/format/workflow-script.ts +205 -0
  5638. package/src/foundation/budget.ts +105 -0
  5639. package/src/foundation/folder-read.ts +33 -0
  5640. package/src/foundation/folder-walk.ts +133 -0
  5641. package/src/foundation/freeze.ts +72 -0
  5642. package/src/foundation/index.ts +14 -0
  5643. package/src/foundation/json-size.ts +20 -0
  5644. package/src/foundation/json-value.ts +18 -0
  5645. package/src/foundation/plain-data.ts +130 -0
  5646. package/src/foundation/project-directories.ts +22 -0
  5647. package/src/foundation/run-each.ts +18 -0
  5648. package/src/foundation/scope-folders.ts +224 -0
  5649. package/src/hooks/assemble.ts +149 -0
  5650. package/src/hooks/contracts.ts +148 -0
  5651. package/src/hooks/core/combine.ts +194 -0
  5652. package/src/hooks/core/input.ts +145 -0
  5653. package/src/hooks/core/output.ts +116 -0
  5654. package/src/hooks/core/profile-results.ts +170 -0
  5655. package/src/hooks/core/profiles.ts +104 -0
  5656. package/src/hooks/core/run.ts +66 -0
  5657. package/src/hooks/core/types.ts +66 -0
  5658. package/src/hooks/dispatch.ts +230 -0
  5659. package/src/hooks/engine.ts +142 -0
  5660. package/src/hooks/env-file/events.ts +36 -0
  5661. package/src/hooks/env-file/files.ts +82 -0
  5662. package/src/hooks/env-file/index.ts +15 -0
  5663. package/src/hooks/env-file/ports.ts +27 -0
  5664. package/src/hooks/env-file/powershell-reader.ts +118 -0
  5665. package/src/hooks/handlers/command/async.ts +94 -0
  5666. package/src/hooks/handlers/command/cwd-fallback.ts +38 -0
  5667. package/src/hooks/handlers/command/env.ts +65 -0
  5668. package/src/hooks/handlers/command/plan.ts +92 -0
  5669. package/src/hooks/handlers/command/run-command.ts +90 -0
  5670. package/src/hooks/handlers/command/shell.ts +13 -0
  5671. package/src/hooks/handlers/command/subprocess-env.ts +118 -0
  5672. package/src/hooks/handlers/context.ts +163 -0
  5673. package/src/hooks/handlers/index.ts +37 -0
  5674. package/src/hooks/handlers/registry.ts +58 -0
  5675. package/src/hooks/handlers/remote/agent.ts +31 -0
  5676. package/src/hooks/handlers/remote/concurrency.ts +54 -0
  5677. package/src/hooks/handlers/remote/failure-run.ts +35 -0
  5678. package/src/hooks/handlers/remote/http-env.ts +44 -0
  5679. package/src/hooks/handlers/remote/http-policy.ts +78 -0
  5680. package/src/hooks/handlers/remote/http.ts +52 -0
  5681. package/src/hooks/handlers/remote/mcp-input.ts +78 -0
  5682. package/src/hooks/handlers/remote/mcp-tool.ts +174 -0
  5683. package/src/hooks/handlers/remote/model-run.ts +46 -0
  5684. package/src/hooks/handlers/remote/ok-false.ts +139 -0
  5685. package/src/hooks/handlers/remote/prompt-response.ts +72 -0
  5686. package/src/hooks/handlers/remote/prompt-text.ts +25 -0
  5687. package/src/hooks/handlers/remote/prompt.ts +20 -0
  5688. package/src/hooks/handlers/remote/types.ts +53 -0
  5689. package/src/hooks/handlers/status.ts +43 -0
  5690. package/src/hooks/handlers/timeouts.ts +148 -0
  5691. package/src/hooks/index.ts +27 -0
  5692. package/src/hooks/input/background-tasks.ts +71 -0
  5693. package/src/hooks/input/build.ts +79 -0
  5694. package/src/hooks/input/common.ts +147 -0
  5695. package/src/hooks/input/conditional-fields.ts +126 -0
  5696. package/src/hooks/input/fact-read.ts +13 -0
  5697. package/src/hooks/input/facts-agents.ts +104 -0
  5698. package/src/hooks/input/facts-misc.ts +83 -0
  5699. package/src/hooks/input/facts-model.ts +30 -0
  5700. package/src/hooks/input/facts-session.ts +63 -0
  5701. package/src/hooks/input/facts-shared.ts +24 -0
  5702. package/src/hooks/input/facts-tools.ts +73 -0
  5703. package/src/hooks/input/facts.ts +66 -0
  5704. package/src/hooks/input/index.ts +5 -0
  5705. package/src/hooks/input/permission-mode.ts +13 -0
  5706. package/src/hooks/interrupt.ts +94 -0
  5707. package/src/hooks/outcome.ts +100 -0
  5708. package/src/hooks/output/background.ts +43 -0
  5709. package/src/hooks/output/caps.ts +90 -0
  5710. package/src/hooks/output/classifier-note.ts +85 -0
  5711. package/src/hooks/output/cowork-answers.ts +19 -0
  5712. package/src/hooks/output/defer.ts +55 -0
  5713. package/src/hooks/output/effects.ts +86 -0
  5714. package/src/hooks/output/fields.ts +51 -0
  5715. package/src/hooks/output/finalize.ts +62 -0
  5716. package/src/hooks/output/index.ts +25 -0
  5717. package/src/hooks/output/limit.ts +143 -0
  5718. package/src/hooks/output/merge-gates.ts +165 -0
  5719. package/src/hooks/output/merge-rules.ts +48 -0
  5720. package/src/hooks/output/merge-simple.ts +272 -0
  5721. package/src/hooks/output/merge.ts +233 -0
  5722. package/src/hooks/output/messages.ts +47 -0
  5723. package/src/hooks/output/parse.ts +81 -0
  5724. package/src/hooks/output/permission-request-outcome.ts +41 -0
  5725. package/src/hooks/output/permission-update.ts +81 -0
  5726. package/src/hooks/output/pre-tool-use-outcome.ts +19 -0
  5727. package/src/hooks/output/reminder-tags.ts +9 -0
  5728. package/src/hooks/output/schemas-common.ts +38 -0
  5729. package/src/hooks/output/schemas-elicitation.ts +23 -0
  5730. package/src/hooks/output/schemas-misc.ts +41 -0
  5731. package/src/hooks/output/schemas-session.ts +67 -0
  5732. package/src/hooks/output/schemas-tool.ts +60 -0
  5733. package/src/hooks/output/schemas.ts +93 -0
  5734. package/src/hooks/output/stage.ts +23 -0
  5735. package/src/hooks/output/terminal-sequence.ts +59 -0
  5736. package/src/hooks/output/text-cap.ts +81 -0
  5737. package/src/hooks/output/tool-output.ts +76 -0
  5738. package/src/hooks/output/tool-shape.ts +106 -0
  5739. package/src/hooks/output/tool-shapes/index.ts +18 -0
  5740. package/src/hooks/output/tool-shapes/shapes-0.ts +213 -0
  5741. package/src/hooks/output/tool-shapes/shapes-1.ts +254 -0
  5742. package/src/hooks/output/tool-shapes/shapes-2.ts +172 -0
  5743. package/src/hooks/output/tool-shapes/shapes-3.ts +180 -0
  5744. package/src/hooks/output/tool-shapes/shapes-4.ts +241 -0
  5745. package/src/hooks/output/tool-shapes/shapes-5.ts +113 -0
  5746. package/src/hooks/output/watch-paths.ts +21 -0
  5747. package/src/hooks/output/worktree-path.ts +179 -0
  5748. package/src/hooks/register.ts +40 -0
  5749. package/src/hooks/registry.ts +15 -0
  5750. package/src/hooks/run-all.ts +187 -0
  5751. package/src/hooks/run-facts.ts +72 -0
  5752. package/src/hooks/select/dedupe.ts +21 -0
  5753. package/src/hooks/select/event-catalog.ts +94 -0
  5754. package/src/hooks/select/gates.ts +53 -0
  5755. package/src/hooks/select/if-guard.ts +84 -0
  5756. package/src/hooks/select/index.ts +23 -0
  5757. package/src/hooks/select/lock-gates.ts +75 -0
  5758. package/src/hooks/select/matcher-targets.ts +136 -0
  5759. package/src/hooks/select/matcher-values.ts +118 -0
  5760. package/src/hooks/select/matcher.ts +41 -0
  5761. package/src/hooks/select/mcp-client.ts +30 -0
  5762. package/src/hooks/select/mcp-tools.ts +78 -0
  5763. package/src/hooks/select/model-switch.ts +17 -0
  5764. package/src/hooks/select/once.ts +55 -0
  5765. package/src/hooks/select/select.ts +99 -0
  5766. package/src/hooks/select/watch-list.ts +80 -0
  5767. package/src/hooks/source-kind.ts +78 -0
  5768. package/src/hooks/verdict/background.ts +70 -0
  5769. package/src/hooks/verdict/blocked-prompt.ts +35 -0
  5770. package/src/hooks/verdict/debug-lines.ts +33 -0
  5771. package/src/hooks/verdict/exit-codes.ts +80 -0
  5772. package/src/hooks/verdict/exit2.ts +143 -0
  5773. package/src/hooks/verdict/exited.ts +270 -0
  5774. package/src/hooks/verdict/http-response.ts +59 -0
  5775. package/src/hooks/verdict/index.ts +39 -0
  5776. package/src/hooks/verdict/interpret.ts +138 -0
  5777. package/src/hooks/verdict/mcp-answer.ts +64 -0
  5778. package/src/hooks/verdict/model-switch.ts +35 -0
  5779. package/src/hooks/verdict/model-verdict.ts +78 -0
  5780. package/src/hooks/verdict/notices.ts +83 -0
  5781. package/src/hooks/verdict/on-failure.ts +237 -0
  5782. package/src/hooks/verdict/plain-stdout.ts +16 -0
  5783. package/src/hooks/verdict/route.ts +67 -0
  5784. package/src/hooks/verdict/stdout-kind.ts +88 -0
  5785. package/src/hooks/verdict/stop-block-cap.ts +107 -0
  5786. package/src/hooks/verdict/subject.ts +25 -0
  5787. package/src/hooks/verdict/suspect-capture.ts +53 -0
  5788. package/src/hooks/verdict/types.ts +226 -0
  5789. package/src/host/background-queue.ts +84 -0
  5790. package/src/host/catalog.ts +165 -0
  5791. package/src/host/core-servers.ts +118 -0
  5792. package/src/host/core-skills.ts +52 -0
  5793. package/src/host/core-view.ts +55 -0
  5794. package/src/host/host.ts +58 -0
  5795. package/src/host/index.ts +73 -0
  5796. package/src/host/permission-rules.ts +69 -0
  5797. package/src/host/permission-session.ts +147 -0
  5798. package/src/host/plugin-dependencies.ts +115 -0
  5799. package/src/host/plugin-set.ts +105 -0
  5800. package/src/host/saved-approval.ts +31 -0
  5801. package/src/host/scope.ts +59 -0
  5802. package/src/host/sdk-hooks.ts +62 -0
  5803. package/src/host/sdk-output.ts +203 -0
  5804. package/src/host/session-agents.ts +230 -0
  5805. package/src/host/session-bare-repository.ts +38 -0
  5806. package/src/host/session-components.ts +180 -0
  5807. package/src/host/session-content.ts +60 -0
  5808. package/src/host/session-core-dispatch.ts +92 -0
  5809. package/src/host/session-core-hooks.ts +139 -0
  5810. package/src/host/session-core.ts +221 -0
  5811. package/src/host/session-directories.ts +34 -0
  5812. package/src/host/session-engine.ts +82 -0
  5813. package/src/host/session-environment.ts +110 -0
  5814. package/src/host/session-first-read.ts +32 -0
  5815. package/src/host/session-folder-resolution.ts +72 -0
  5816. package/src/host/session-folders.ts +201 -0
  5817. package/src/host/session-hook-scope.ts +192 -0
  5818. package/src/host/session-hooks.ts +193 -0
  5819. package/src/host/session-host-skills.ts +84 -0
  5820. package/src/host/session-mentions.ts +119 -0
  5821. package/src/host/session-monitors.ts +147 -0
  5822. package/src/host/session-permission-updates.ts +32 -0
  5823. package/src/host/session-registry.ts +162 -0
  5824. package/src/host/session-skill-catalog.ts +91 -0
  5825. package/src/host/session-skill-entries.ts +125 -0
  5826. package/src/host/session-skill-expand.ts +278 -0
  5827. package/src/host/session-skill-hooks.ts +92 -0
  5828. package/src/host/session-skill-permission.ts +29 -0
  5829. package/src/host/session-skill-preload.ts +81 -0
  5830. package/src/host/session-skill-readers.ts +44 -0
  5831. package/src/host/session-skills.ts +288 -0
  5832. package/src/host/session-start-repeats.ts +60 -0
  5833. package/src/host/session-tool-check.ts +112 -0
  5834. package/src/host/session-types.ts +177 -0
  5835. package/src/host/session-workflows.ts +50 -0
  5836. package/src/host/session.ts +127 -0
  5837. package/src/host/state.ts +243 -0
  5838. package/src/host/turn.ts +63 -0
  5839. package/src/host/types.ts +153 -0
  5840. package/src/index.ts +114 -0
  5841. package/src/loading/background-trust.ts +46 -0
  5842. package/src/loading/bin.ts +62 -0
  5843. package/src/loading/channels.ts +23 -0
  5844. package/src/loading/combine.ts +20 -0
  5845. package/src/loading/command-debug.ts +41 -0
  5846. package/src/loading/component-readers.ts +35 -0
  5847. package/src/loading/core/assets.ts +49 -0
  5848. package/src/loading/core/config.ts +132 -0
  5849. package/src/loading/core/dual-check.ts +45 -0
  5850. package/src/loading/core/entry-fields.ts +30 -0
  5851. package/src/loading/core/form.ts +59 -0
  5852. package/src/loading/core/index.ts +20 -0
  5853. package/src/loading/core/load-core.ts +49 -0
  5854. package/src/loading/core/load-package.ts +56 -0
  5855. package/src/loading/core/locations.ts +62 -0
  5856. package/src/loading/core/manifest-step.ts +30 -0
  5857. package/src/loading/core/model.ts +48 -0
  5858. package/src/loading/core/skills.ts +74 -0
  5859. package/src/loading/declared-shape.ts +22 -0
  5860. package/src/loading/discover-config.ts +113 -0
  5861. package/src/loading/discover-listed.ts +208 -0
  5862. package/src/loading/discover.ts +91 -0
  5863. package/src/loading/discovered.ts +64 -0
  5864. package/src/loading/folder-plugin.ts +148 -0
  5865. package/src/loading/ignored-folder.ts +27 -0
  5866. package/src/loading/index.ts +108 -0
  5867. package/src/loading/load-notes.ts +62 -0
  5868. package/src/loading/load-plugin.ts +286 -0
  5869. package/src/loading/local-settings-trust.ts +56 -0
  5870. package/src/loading/manifest-gate.ts +91 -0
  5871. package/src/loading/merge-hooks.ts +19 -0
  5872. package/src/loading/plugin-debug.ts +83 -0
  5873. package/src/loading/plugin-folder.ts +79 -0
  5874. package/src/loading/plugin-model.ts +104 -0
  5875. package/src/loading/plugin-scaffold.ts +81 -0
  5876. package/src/loading/ports.ts +15 -0
  5877. package/src/loading/reader-types.ts +60 -0
  5878. package/src/loading/readers-assets.ts +88 -0
  5879. package/src/loading/readers-config.ts +184 -0
  5880. package/src/loading/readers-text.ts +61 -0
  5881. package/src/loading/repository-limits.ts +116 -0
  5882. package/src/loading/repository-messages.ts +79 -0
  5883. package/src/loading/repository-trust.ts +147 -0
  5884. package/src/loading/repository-types.ts +9 -0
  5885. package/src/loading/resolve/bundle-scope.ts +57 -0
  5886. package/src/loading/resolve/channel.ts +94 -0
  5887. package/src/loading/resolve/content.ts +35 -0
  5888. package/src/loading/resolve/data-id.ts +7 -0
  5889. package/src/loading/resolve/deep.ts +69 -0
  5890. package/src/loading/resolve/exported-environment.ts +40 -0
  5891. package/src/loading/resolve/field-map.ts +52 -0
  5892. package/src/loading/resolve/field-runner.ts +81 -0
  5893. package/src/loading/resolve/headers-helper-origins.ts +164 -0
  5894. package/src/loading/resolve/headers-helper-run.ts +160 -0
  5895. package/src/loading/resolve/headers-helper-trust.ts +99 -0
  5896. package/src/loading/resolve/headers-helper.ts +180 -0
  5897. package/src/loading/resolve/hook-command.ts +263 -0
  5898. package/src/loading/resolve/hook-space-path.ts +49 -0
  5899. package/src/loading/resolve/index.ts +134 -0
  5900. package/src/loading/resolve/lsp-runtime.ts +109 -0
  5901. package/src/loading/resolve/lsp-startup.ts +42 -0
  5902. package/src/loading/resolve/lsp.ts +112 -0
  5903. package/src/loading/resolve/mcp.ts +246 -0
  5904. package/src/loading/resolve/monitor-trigger.ts +116 -0
  5905. package/src/loading/resolve/monitor.ts +77 -0
  5906. package/src/loading/resolve/powershell-no-program.ts +47 -0
  5907. package/src/loading/resolve/prepared.ts +25 -0
  5908. package/src/loading/resolve/processes.ts +108 -0
  5909. package/src/loading/resolve/scope.ts +75 -0
  5910. package/src/loading/resolve/shell-exports.ts +66 -0
  5911. package/src/loading/resolve/shell-guard-hook.ts +15 -0
  5912. package/src/loading/resolve/shell-guard-monitor.ts +16 -0
  5913. package/src/loading/resolve/shell-guard.ts +33 -0
  5914. package/src/loading/resolve/shell-prefix.ts +43 -0
  5915. package/src/loading/resolve/subprocess-scrub.ts +69 -0
  5916. package/src/loading/resolve/substitute.ts +285 -0
  5917. package/src/loading/resolve/substituter.ts +49 -0
  5918. package/src/loading/resolve/surfaces.ts +153 -0
  5919. package/src/loading/resolve/user-config-values.ts +65 -0
  5920. package/src/loading/resolve/user-config.ts +66 -0
  5921. package/src/loading/resolve/variables.ts +72 -0
  5922. package/src/loading/resolve/without-plugin.ts +18 -0
  5923. package/src/loading/trust-gates.ts +179 -0
  5924. package/src/loading/validate/components-only.ts +103 -0
  5925. package/src/loading/validate/components.ts +136 -0
  5926. package/src/loading/validate/index.ts +2 -0
  5927. package/src/loading/validate/json-files.ts +127 -0
  5928. package/src/loading/validate/links.ts +80 -0
  5929. package/src/loading/validate/marketplace-target.ts +257 -0
  5930. package/src/loading/validate/paths.ts +23 -0
  5931. package/src/loading/validate/plugin-contents.ts +79 -0
  5932. package/src/loading/validate/plugin-target.ts +87 -0
  5933. package/src/loading/validate/report.ts +11 -0
  5934. package/src/loading/validate/validate-plugin.ts +61 -0
  5935. package/src/loading/walk.ts +265 -0
  5936. package/src/loading/workspace-trust.ts +145 -0
  5937. package/src/marketplace/add-failures.ts +144 -0
  5938. package/src/marketplace/archive-scan.ts +203 -0
  5939. package/src/marketplace/archive-source.ts +155 -0
  5940. package/src/marketplace/command-directory.ts +108 -0
  5941. package/src/marketplace/command-mode.ts +17 -0
  5942. package/src/marketplace/command-output.ts +61 -0
  5943. package/src/marketplace/command-source.ts +117 -0
  5944. package/src/marketplace/copy-plan.ts +160 -0
  5945. package/src/marketplace/copy-sweep.ts +80 -0
  5946. package/src/marketplace/credential-variables.ts +6 -0
  5947. package/src/marketplace/cross-marketplace.ts +78 -0
  5948. package/src/marketplace/declared-source.ts +41 -0
  5949. package/src/marketplace/dependencies.ts +285 -0
  5950. package/src/marketplace/dependency-catalog.ts +47 -0
  5951. package/src/marketplace/dependency-enable.ts +127 -0
  5952. package/src/marketplace/dependency-graph.ts +270 -0
  5953. package/src/marketplace/dependency-install-plan.ts +284 -0
  5954. package/src/marketplace/dependency-install-walk.ts +234 -0
  5955. package/src/marketplace/dependency-prune.ts +146 -0
  5956. package/src/marketplace/dependency-tags.ts +266 -0
  5957. package/src/marketplace/deprecated-marketplace.ts +41 -0
  5958. package/src/marketplace/download-headers.ts +164 -0
  5959. package/src/marketplace/enablement-notes.ts +171 -0
  5960. package/src/marketplace/fetch-plan.ts +257 -0
  5961. package/src/marketplace/folder-collision.ts +88 -0
  5962. package/src/marketplace/git-transport.ts +89 -0
  5963. package/src/marketplace/header-helper.ts +151 -0
  5964. package/src/marketplace/header-map.ts +24 -0
  5965. package/src/marketplace/header-policy.ts +275 -0
  5966. package/src/marketplace/headless-report.ts +152 -0
  5967. package/src/marketplace/http-download.ts +96 -0
  5968. package/src/marketplace/ignored-marketplace.ts +189 -0
  5969. package/src/marketplace/index.ts +218 -0
  5970. package/src/marketplace/install-commands.ts +166 -0
  5971. package/src/marketplace/install-errors.ts +240 -0
  5972. package/src/marketplace/install-failures.ts +151 -0
  5973. package/src/marketplace/install-guidance.ts +75 -0
  5974. package/src/marketplace/install-hosts.ts +198 -0
  5975. package/src/marketplace/install-index.ts +156 -0
  5976. package/src/marketplace/install-lifecycle-index.ts +164 -0
  5977. package/src/marketplace/install-messages.ts +121 -0
  5978. package/src/marketplace/install-mode.ts +186 -0
  5979. package/src/marketplace/install-plan.ts +236 -0
  5980. package/src/marketplace/install-plans.ts +137 -0
  5981. package/src/marketplace/install-records-at.ts +49 -0
  5982. package/src/marketplace/install-scopes.ts +111 -0
  5983. package/src/marketplace/installed-plugins-store.ts +107 -0
  5984. package/src/marketplace/installed-plugins.ts +191 -0
  5985. package/src/marketplace/known-marketplaces.ts +151 -0
  5986. package/src/marketplace/lfs-pointer.ts +108 -0
  5987. package/src/marketplace/managed-take-back.ts +38 -0
  5988. package/src/marketplace/marketplace-catalog.ts +40 -0
  5989. package/src/marketplace/marketplace-download.ts +58 -0
  5990. package/src/marketplace/marketplace-fetch-plan.ts +144 -0
  5991. package/src/marketplace/marketplace-input.ts +168 -0
  5992. package/src/marketplace/missing-plugin-diagnosis.ts +40 -0
  5993. package/src/marketplace/name-conflicts.ts +171 -0
  5994. package/src/marketplace/node-deps-checks.ts +184 -0
  5995. package/src/marketplace/node-deps-failure.ts +243 -0
  5996. package/src/marketplace/node-deps-lockfile.ts +191 -0
  5997. package/src/marketplace/node-deps-spec.ts +279 -0
  5998. package/src/marketplace/node-deps-types.ts +135 -0
  5999. package/src/marketplace/node-deps.ts +93 -0
  6000. package/src/marketplace/orphan-cleanup.ts +85 -0
  6001. package/src/marketplace/plugin-content.ts +14 -0
  6002. package/src/marketplace/plugin-dir-dependencies.ts +78 -0
  6003. package/src/marketplace/plugin-footprint.ts +87 -0
  6004. package/src/marketplace/plugin-hints.ts +198 -0
  6005. package/src/marketplace/plugin-names.ts +48 -0
  6006. package/src/marketplace/ports.ts +109 -0
  6007. package/src/marketplace/refused-name.ts +53 -0
  6008. package/src/marketplace/release-channels.ts +117 -0
  6009. package/src/marketplace/relevance-match.ts +163 -0
  6010. package/src/marketplace/relevance-surface.ts +96 -0
  6011. package/src/marketplace/reload-summary.ts +132 -0
  6012. package/src/marketplace/remote-plugins.ts +71 -0
  6013. package/src/marketplace/removal.ts +55 -0
  6014. package/src/marketplace/renames.ts +184 -0
  6015. package/src/marketplace/seed-registry.ts +48 -0
  6016. package/src/marketplace/semver.ts +72 -0
  6017. package/src/marketplace/session-origins.ts +67 -0
  6018. package/src/marketplace/session-plugins.ts +84 -0
  6019. package/src/marketplace/source-safety.ts +237 -0
  6020. package/src/marketplace/stage-report.ts +154 -0
  6021. package/src/marketplace/staged-commit.ts +33 -0
  6022. package/src/marketplace/store-layout.ts +150 -0
  6023. package/src/marketplace/submodules.ts +135 -0
  6024. package/src/marketplace/telemetry-names.ts +46 -0
  6025. package/src/marketplace/types.ts +158 -0
  6026. package/src/marketplace/uninstall-records.ts +92 -0
  6027. package/src/marketplace/update-detection.ts +153 -0
  6028. package/src/marketplace/version-hash.ts +105 -0
  6029. package/src/marketplace/version-index.ts +26 -0
  6030. package/src/marketplace/version-resolution.ts +174 -0
  6031. package/src/marketplace/version-troubleshooting.ts +54 -0
  6032. package/src/mods/api/agent.ts +90 -0
  6033. package/src/mods/api/audio.ts +62 -0
  6034. package/src/mods/api/build.ts +195 -0
  6035. package/src/mods/api/call.ts +173 -0
  6036. package/src/mods/api/clock.ts +80 -0
  6037. package/src/mods/api/command.ts +133 -0
  6038. package/src/mods/api/config.ts +47 -0
  6039. package/src/mods/api/context-usage.ts +22 -0
  6040. package/src/mods/api/declared-port-types.ts +155 -0
  6041. package/src/mods/api/describe.ts +102 -0
  6042. package/src/mods/api/engine-create.ts +116 -0
  6043. package/src/mods/api/engine-settings.ts +84 -0
  6044. package/src/mods/api/env.ts +29 -0
  6045. package/src/mods/api/exec.ts +160 -0
  6046. package/src/mods/api/fetch-policy.ts +62 -0
  6047. package/src/mods/api/fs-ancestors.ts +68 -0
  6048. package/src/mods/api/fs-ports.ts +78 -0
  6049. package/src/mods/api/fs.ts +136 -0
  6050. package/src/mods/api/gate.ts +180 -0
  6051. package/src/mods/api/host-ports.ts +167 -0
  6052. package/src/mods/api/http-redirects.ts +85 -0
  6053. package/src/mods/api/http.ts +164 -0
  6054. package/src/mods/api/index.ts +108 -0
  6055. package/src/mods/api/mcp.ts +85 -0
  6056. package/src/mods/api/model-blocks.ts +47 -0
  6057. package/src/mods/api/model.ts +105 -0
  6058. package/src/mods/api/names.ts +17 -0
  6059. package/src/mods/api/optional-port-types.ts +143 -0
  6060. package/src/mods/api/output-cut.ts +16 -0
  6061. package/src/mods/api/paths.ts +19 -0
  6062. package/src/mods/api/plugin.ts +8 -0
  6063. package/src/mods/api/ports.ts +273 -0
  6064. package/src/mods/api/prompt.ts +111 -0
  6065. package/src/mods/api/refusal.ts +97 -0
  6066. package/src/mods/api/registries.ts +174 -0
  6067. package/src/mods/api/replay.ts +89 -0
  6068. package/src/mods/api/rules.ts +35 -0
  6069. package/src/mods/api/scope.ts +55 -0
  6070. package/src/mods/api/scoped-call.ts +17 -0
  6071. package/src/mods/api/session-ports.ts +57 -0
  6072. package/src/mods/api/session.ts +143 -0
  6073. package/src/mods/api/settings-layers.ts +116 -0
  6074. package/src/mods/api/settings.ts +65 -0
  6075. package/src/mods/api/state-library-source.ts +63 -0
  6076. package/src/mods/api/state-library.ts +160 -0
  6077. package/src/mods/api/state.ts +152 -0
  6078. package/src/mods/api/store.ts +91 -0
  6079. package/src/mods/api/telemetry-origin.ts +6 -0
  6080. package/src/mods/api/telemetry.ts +69 -0
  6081. package/src/mods/api/theme.ts +194 -0
  6082. package/src/mods/api/tool.ts +72 -0
  6083. package/src/mods/api/turn.ts +13 -0
  6084. package/src/mods/api/vcs.ts +71 -0
  6085. package/src/mods/api/wasm.ts +74 -0
  6086. package/src/mods/async-slot.ts +31 -0
  6087. package/src/mods/chain/api-guard.ts +130 -0
  6088. package/src/mods/chain/context.ts +65 -0
  6089. package/src/mods/chain/core.ts +33 -0
  6090. package/src/mods/chain/default-matcher.ts +69 -0
  6091. package/src/mods/chain/dispatch.ts +147 -0
  6092. package/src/mods/chain/downstream.ts +79 -0
  6093. package/src/mods/chain/failure.ts +157 -0
  6094. package/src/mods/chain/frames.ts +50 -0
  6095. package/src/mods/chain/guarded.ts +77 -0
  6096. package/src/mods/chain/hook-body.ts +11 -0
  6097. package/src/mods/chain/index.ts +5 -0
  6098. package/src/mods/chain/invoke.ts +296 -0
  6099. package/src/mods/chain/judge.ts +66 -0
  6100. package/src/mods/chain/linger.ts +45 -0
  6101. package/src/mods/chain/link-trace.ts +96 -0
  6102. package/src/mods/chain/match-local.ts +114 -0
  6103. package/src/mods/chain/matcher.ts +183 -0
  6104. package/src/mods/chain/nesting.ts +18 -0
  6105. package/src/mods/chain/next.ts +195 -0
  6106. package/src/mods/chain/only.ts +6 -0
  6107. package/src/mods/chain/reentry.ts +35 -0
  6108. package/src/mods/chain/registry.ts +119 -0
  6109. package/src/mods/chain/rules.ts +25 -0
  6110. package/src/mods/chain/select.ts +15 -0
  6111. package/src/mods/chain/tiers.ts +38 -0
  6112. package/src/mods/chain/trace.ts +76 -0
  6113. package/src/mods/chain/validate.ts +85 -0
  6114. package/src/mods/chain/wildcard.ts +60 -0
  6115. package/src/mods/events/agent.ts +37 -0
  6116. package/src/mods/events/attribution.ts +4 -0
  6117. package/src/mods/events/autocomplete.ts +17 -0
  6118. package/src/mods/events/command.ts +88 -0
  6119. package/src/mods/events/config.ts +26 -0
  6120. package/src/mods/events/declared.ts +51 -0
  6121. package/src/mods/events/index.ts +99 -0
  6122. package/src/mods/events/input-review.ts +52 -0
  6123. package/src/mods/events/pinned.ts +23 -0
  6124. package/src/mods/events/prompt-cache.ts +38 -0
  6125. package/src/mods/events/prompt.ts +102 -0
  6126. package/src/mods/events/read-only.ts +57 -0
  6127. package/src/mods/events/reasons.ts +53 -0
  6128. package/src/mods/events/session.ts +92 -0
  6129. package/src/mods/events/skill-prompt-event.ts +49 -0
  6130. package/src/mods/events/skill.ts +36 -0
  6131. package/src/mods/events/spec.ts +77 -0
  6132. package/src/mods/events/tool-check-merge.ts +65 -0
  6133. package/src/mods/events/tool.ts +87 -0
  6134. package/src/mods/events/turn.ts +65 -0
  6135. package/src/mods/index.ts +9 -0
  6136. package/src/mods/load/auto-mode-approval.ts +15 -0
  6137. package/src/mods/load/change-notice.ts +19 -0
  6138. package/src/mods/load/commands/active-line.ts +12 -0
  6139. package/src/mods/load/commands/module-facts.ts +32 -0
  6140. package/src/mods/load/commands/scan-lead.ts +81 -0
  6141. package/src/mods/load/commands/scan-lines.ts +132 -0
  6142. package/src/mods/load/commands/sha256.ts +80 -0
  6143. package/src/mods/load/commands/validate-report.ts +62 -0
  6144. package/src/mods/load/commands/validate.ts +293 -0
  6145. package/src/mods/load/commands/wasm-read.ts +183 -0
  6146. package/src/mods/load/compile-output.ts +99 -0
  6147. package/src/mods/load/crash-recovery.ts +86 -0
  6148. package/src/mods/load/engine-faults.ts +43 -0
  6149. package/src/mods/load/guard-notes.ts +30 -0
  6150. package/src/mods/load/guard-protection.ts +85 -0
  6151. package/src/mods/load/guard-surfaces.ts +25 -0
  6152. package/src/mods/load/guard-tools.ts +45 -0
  6153. package/src/mods/load/guard.ts +183 -0
  6154. package/src/mods/load/guest.ts +72 -0
  6155. package/src/mods/load/health.ts +56 -0
  6156. package/src/mods/load/host-options.ts +79 -0
  6157. package/src/mods/load/host-support.ts +259 -0
  6158. package/src/mods/load/host.ts +271 -0
  6159. package/src/mods/load/in-turn.ts +12 -0
  6160. package/src/mods/load/index.ts +114 -0
  6161. package/src/mods/load/line-channel.ts +79 -0
  6162. package/src/mods/load/loader-io.ts +30 -0
  6163. package/src/mods/load/loader.ts +246 -0
  6164. package/src/mods/load/mod-set.ts +290 -0
  6165. package/src/mods/load/options.ts +96 -0
  6166. package/src/mods/load/order.ts +199 -0
  6167. package/src/mods/load/plugin-dirs.ts +117 -0
  6168. package/src/mods/load/policy-input.ts +161 -0
  6169. package/src/mods/load/policy.ts +256 -0
  6170. package/src/mods/load/prepare.ts +164 -0
  6171. package/src/mods/load/prompt-flow.ts +22 -0
  6172. package/src/mods/load/provides.ts +134 -0
  6173. package/src/mods/load/register-ask.ts +82 -0
  6174. package/src/mods/load/register-call.ts +158 -0
  6175. package/src/mods/load/register-event.ts +104 -0
  6176. package/src/mods/load/registered.ts +43 -0
  6177. package/src/mods/load/scan/ast.ts +94 -0
  6178. package/src/mods/load/scan/client-modules.ts +152 -0
  6179. package/src/mods/load/scan/engine-fold.ts +109 -0
  6180. package/src/mods/load/scan/event-names.ts +24 -0
  6181. package/src/mods/load/scan/file-rules.ts +122 -0
  6182. package/src/mods/load/scan/found.ts +35 -0
  6183. package/src/mods/load/scan/hosts.ts +40 -0
  6184. package/src/mods/load/scan/index.ts +140 -0
  6185. package/src/mods/load/scan/issue-codes.ts +74 -0
  6186. package/src/mods/load/scan/matcher-label.ts +65 -0
  6187. package/src/mods/load/scan/messages.ts +18 -0
  6188. package/src/mods/load/scan/on-rules.ts +72 -0
  6189. package/src/mods/load/scan/register-export.ts +53 -0
  6190. package/src/mods/load/scan/rules.ts +297 -0
  6191. package/src/mods/load/scan/state-sources.ts +70 -0
  6192. package/src/mods/load/scan/top-level.ts +212 -0
  6193. package/src/mods/load/scan/uses.ts +96 -0
  6194. package/src/mods/load/scan/walk.ts +89 -0
  6195. package/src/mods/load/scan/wasm-paths.ts +35 -0
  6196. package/src/mods/load/skip-reports.ts +47 -0
  6197. package/src/mods/load/tool-flow.ts +159 -0
  6198. package/src/mods/load/types-decl.ts +122 -0
  6199. package/src/mods/load/unanswered.ts +29 -0
  6200. package/src/mods/load/wasm-files.ts +77 -0
  6201. package/src/mods/load/where-mods-run.ts +109 -0
  6202. package/src/mods/load/wiring.ts +289 -0
  6203. package/src/mods/load/written-mods.ts +167 -0
  6204. package/src/mods/ports.ts +180 -0
  6205. package/src/mods/trace-types.ts +60 -0
  6206. package/src/mods/types.ts +298 -0
  6207. package/src/mods/ui/controls/hotkeys.ts +117 -0
  6208. package/src/mods/ui/controls/keys.ts +33 -0
  6209. package/src/mods/ui/controls/route.ts +105 -0
  6210. package/src/mods/ui/elements/box.ts +90 -0
  6211. package/src/mods/ui/elements/button.ts +69 -0
  6212. package/src/mods/ui/elements/children.ts +62 -0
  6213. package/src/mods/ui/elements/client.ts +35 -0
  6214. package/src/mods/ui/elements/code.ts +14 -0
  6215. package/src/mods/ui/elements/def.ts +83 -0
  6216. package/src/mods/ui/elements/image.ts +28 -0
  6217. package/src/mods/ui/elements/index.ts +27 -0
  6218. package/src/mods/ui/elements/input.ts +37 -0
  6219. package/src/mods/ui/elements/jsx.ts +24 -0
  6220. package/src/mods/ui/elements/limits.ts +82 -0
  6221. package/src/mods/ui/elements/link.ts +41 -0
  6222. package/src/mods/ui/elements/markdown.ts +16 -0
  6223. package/src/mods/ui/elements/node.ts +80 -0
  6224. package/src/mods/ui/elements/plain.ts +52 -0
  6225. package/src/mods/ui/elements/progress.ts +19 -0
  6226. package/src/mods/ui/elements/prop-size.ts +41 -0
  6227. package/src/mods/ui/elements/raster.ts +54 -0
  6228. package/src/mods/ui/elements/registry.ts +34 -0
  6229. package/src/mods/ui/elements/select.ts +38 -0
  6230. package/src/mods/ui/elements/shader-place.ts +38 -0
  6231. package/src/mods/ui/elements/shader.ts +36 -0
  6232. package/src/mods/ui/elements/spacing.ts +34 -0
  6233. package/src/mods/ui/elements/surface.ts +27 -0
  6234. package/src/mods/ui/elements/svg.ts +16 -0
  6235. package/src/mods/ui/elements/table.ts +80 -0
  6236. package/src/mods/ui/elements/text.ts +86 -0
  6237. package/src/mods/ui/elements/validate.ts +68 -0
  6238. package/src/mods/ui/index.ts +48 -0
  6239. package/src/mods/ui/keyboard/band.ts +35 -0
  6240. package/src/mods/ui/keyboard/effects.ts +38 -0
  6241. package/src/mods/ui/keyboard/focus.ts +55 -0
  6242. package/src/mods/ui/keyboard/keys.ts +174 -0
  6243. package/src/mods/ui/keyboard/pane-size.ts +35 -0
  6244. package/src/mods/ui/keyboard/vscode.ts +62 -0
  6245. package/src/mods/ui/panes/open.ts +69 -0
  6246. package/src/mods/ui/panes/pane-request.ts +19 -0
  6247. package/src/mods/ui/panes/placement.ts +42 -0
  6248. package/src/mods/ui/panes/registry.ts +113 -0
  6249. package/src/mods/ui/placed/rows.ts +91 -0
  6250. package/src/mods/ui/ports.ts +92 -0
  6251. package/src/mods/ui/redraw/gate.ts +47 -0
  6252. package/src/mods/ui/redraw/invalidate.ts +32 -0
  6253. package/src/mods/ui/redraw/subscribe.ts +51 -0
  6254. package/src/mods/ui/redraw/unasked.ts +16 -0
  6255. package/src/mods/ui/rules.ts +53 -0
  6256. package/src/mods/ui/runtime.ts +179 -0
  6257. package/src/mods/ui/sites/agent-row.ts +24 -0
  6258. package/src/mods/ui/sites/ask-question.ts +8 -0
  6259. package/src/mods/ui/sites/backdrop.ts +27 -0
  6260. package/src/mods/ui/sites/band-list.ts +40 -0
  6261. package/src/mods/ui/sites/band-rows.ts +100 -0
  6262. package/src/mods/ui/sites/band.ts +49 -0
  6263. package/src/mods/ui/sites/draw-fault.ts +9 -0
  6264. package/src/mods/ui/sites/fold.ts +57 -0
  6265. package/src/mods/ui/sites/registry.ts +92 -0
  6266. package/src/mods/ui/sites/viewport.ts +32 -0
  6267. package/src/mods/ui/tables.ts +76 -0
  6268. package/src/mods/ui/toast.ts +138 -0
  6269. package/src/mods/ui/ui-api.ts +296 -0
  6270. package/src/mods/ui/ui-invalidate.ts +49 -0
  6271. package/src/mods/values.ts +9 -0
  6272. package/src/ports/clock.ts +12 -0
  6273. package/src/ports/command-runner.ts +39 -0
  6274. package/src/ports/environment.ts +11 -0
  6275. package/src/ports/failure.ts +8 -0
  6276. package/src/ports/files.ts +55 -0
  6277. package/src/ports/folder-scan.ts +54 -0
  6278. package/src/ports/http-client.ts +37 -0
  6279. package/src/ports/index.ts +29 -0
  6280. package/src/ports/locations.ts +26 -0
  6281. package/src/ports/marketplace.ts +103 -0
  6282. package/src/ports/mcp-bundle.ts +52 -0
  6283. package/src/ports/mcp-caller.ts +47 -0
  6284. package/src/ports/model-runner.ts +31 -0
  6285. package/src/ports/path-resolver.ts +17 -0
  6286. package/src/ports/scratch-files.ts +8 -0
  6287. package/src/protocol/effort.ts +38 -0
  6288. package/src/protocol/exit-reasons.ts +23 -0
  6289. package/src/protocol/hook-config.ts +35 -0
  6290. package/src/protocol/hook-events.ts +61 -0
  6291. package/src/protocol/is-record.ts +6 -0
  6292. package/src/protocol/mods-api-names.ts +149 -0
  6293. package/src/protocol/mods-events.ts +207 -0
  6294. package/src/protocol/mods-limits.ts +83 -0
  6295. package/src/protocol/mods-matcher.ts +18 -0
  6296. package/src/protocol/mods-settings.ts +54 -0
  6297. package/src/protocol/mods-tiers.ts +7 -0
  6298. package/src/protocol/mods-ui-names.ts +290 -0
  6299. package/src/protocol/official-tools.ts +103 -0
  6300. package/src/protocol/official.ts +102 -0
  6301. package/src/protocol/permission-modes.ts +45 -0
  6302. package/src/protocol/settings-keys.ts +194 -0
  6303. package/src/protocol/tool-names.ts +116 -0
  6304. package/src/protocol/type-equality.ts +11 -0
  6305. package/src/rules/bash/bash.ts +43 -0
  6306. package/src/rules/bash/dialect.ts +46 -0
  6307. package/src/rules/bash/exec-wrappers.ts +46 -0
  6308. package/src/rules/bash/heredoc.ts +53 -0
  6309. package/src/rules/bash/if-eval.ts +107 -0
  6310. package/src/rules/bash/keywords.ts +36 -0
  6311. package/src/rules/bash/powershell-aliases.ts +58 -0
  6312. package/src/rules/bash/powershell.ts +64 -0
  6313. package/src/rules/bash/safe-env.ts +67 -0
  6314. package/src/rules/bash/scanner.ts +296 -0
  6315. package/src/rules/bash/shell.ts +99 -0
  6316. package/src/rules/bash/split.ts +83 -0
  6317. package/src/rules/bash/text-pattern.ts +13 -0
  6318. package/src/rules/bash/unquote.ts +161 -0
  6319. package/src/rules/bash/wildcard-warning.ts +84 -0
  6320. package/src/rules/bash/wildcard.ts +37 -0
  6321. package/src/rules/bash/words.ts +169 -0
  6322. package/src/rules/bash/wrappers.ts +216 -0
  6323. package/src/rules/decide/approval-memory.ts +80 -0
  6324. package/src/rules/decide/auto-dropped.ts +80 -0
  6325. package/src/rules/decide/behavior.ts +5 -0
  6326. package/src/rules/decide/block-exceptions.ts +120 -0
  6327. package/src/rules/decide/classifier.ts +79 -0
  6328. package/src/rules/decide/context.ts +183 -0
  6329. package/src/rules/decide/critical-removal.ts +237 -0
  6330. package/src/rules/decide/decide.ts +203 -0
  6331. package/src/rules/decide/facts.ts +299 -0
  6332. package/src/rules/decide/file-targets.ts +144 -0
  6333. package/src/rules/decide/fs-operands.ts +98 -0
  6334. package/src/rules/decide/hook-permission-updates.ts +70 -0
  6335. package/src/rules/decide/hook-rewrite.ts +97 -0
  6336. package/src/rules/decide/hooks-and-mods.ts +119 -0
  6337. package/src/rules/decide/modes.ts +193 -0
  6338. package/src/rules/decide/no-approval-surface.ts +62 -0
  6339. package/src/rules/decide/powershell-edits.ts +170 -0
  6340. package/src/rules/decide/powershell-removal.ts +103 -0
  6341. package/src/rules/decide/protected-paths.ts +244 -0
  6342. package/src/rules/decide/read-only-set.ts +184 -0
  6343. package/src/rules/decide/redirects.ts +252 -0
  6344. package/src/rules/decide/rules-stage.ts +47 -0
  6345. package/src/rules/decide/scope.ts +25 -0
  6346. package/src/rules/decide/sed-script.ts +187 -0
  6347. package/src/rules/decide/shell-commands.ts +269 -0
  6348. package/src/rules/decide/shell-words.ts +37 -0
  6349. package/src/rules/decide/unanswered.ts +43 -0
  6350. package/src/rules/decide/write-block-messages.ts +37 -0
  6351. package/src/rules/evaluate.ts +72 -0
  6352. package/src/rules/hook-matcher.ts +79 -0
  6353. package/src/rules/index.ts +209 -0
  6354. package/src/rules/issues.ts +62 -0
  6355. package/src/rules/matchers.ts +41 -0
  6356. package/src/rules/memo.ts +19 -0
  6357. package/src/rules/param.ts +94 -0
  6358. package/src/rules/parse.ts +145 -0
  6359. package/src/rules/path/anchor.ts +123 -0
  6360. package/src/rules/path/cd.ts +52 -0
  6361. package/src/rules/path/depth.ts +29 -0
  6362. package/src/rules/path/file-rules.ts +157 -0
  6363. package/src/rules/path/glob.ts +60 -0
  6364. package/src/rules/path/negation.ts +59 -0
  6365. package/src/rules/path/network.ts +32 -0
  6366. package/src/rules/path/posix.ts +101 -0
  6367. package/src/rules/path/symlink.ts +112 -0
  6368. package/src/rules/path/tools.ts +144 -0
  6369. package/src/rules/restricts.ts +14 -0
  6370. package/src/rules/rule-warnings.ts +91 -0
  6371. package/src/rules/sources.ts +20 -0
  6372. package/src/rules/specifier-formats.ts +119 -0
  6373. package/src/rules/specifier-guards.ts +15 -0
  6374. package/src/rules/target/agent.ts +34 -0
  6375. package/src/rules/target/domain.ts +184 -0
  6376. package/src/rules/target/input.ts +16 -0
  6377. package/src/rules/target/mcp.ts +91 -0
  6378. package/src/rules/target/skill.ts +53 -0
  6379. package/src/rules/tool-pattern.ts +41 -0
  6380. package/src/rules/tools/availability.ts +179 -0
  6381. package/src/rules/tools/catalog.ts +114 -0
  6382. package/src/rules/tools/host-tool-names.ts +65 -0
  6383. package/src/rules/tools/inputs/ask-user-question.ts +92 -0
  6384. package/src/rules/tools/inputs/exit-plan-mode.ts +11 -0
  6385. package/src/rules/tools/inputs/field-schemas.ts +24 -0
  6386. package/src/rules/tools/inputs/fields.ts +162 -0
  6387. package/src/rules/tools/inputs/grep.ts +3 -0
  6388. package/src/rules/tools/inputs/parse-input.ts +34 -0
  6389. package/src/rules/tools/inputs/roles.ts +28 -0
  6390. package/src/rules/tools/inputs/schemas.ts +27 -0
  6391. package/src/rules/tools/inputs/tool-path.ts +55 -0
  6392. package/src/rules/tools/inputs/web-search.ts +17 -0
  6393. package/src/rules/tools/names.ts +10 -0
  6394. package/src/rules/tools/responses/agent-response.ts +182 -0
  6395. package/src/rules/tools/responses/bash-edit-diff.ts +162 -0
  6396. package/src/rules/tools/responses/shape.ts +15 -0
  6397. package/src/rules/tools/responses/structured-patch.ts +79 -0
  6398. package/src/rules/tools/rule-formats.ts +19 -0
  6399. package/src/rules/tools/semantics/bash-background.ts +51 -0
  6400. package/src/rules/tools/semantics/bash-exit.ts +81 -0
  6401. package/src/rules/tools/semantics/bash-limits.ts +71 -0
  6402. package/src/rules/tools/semantics/bash-output.ts +74 -0
  6403. package/src/rules/tools/semantics/edit.ts +71 -0
  6404. package/src/rules/tools/semantics/encoding.ts +71 -0
  6405. package/src/rules/tools/semantics/env-number.ts +18 -0
  6406. package/src/rules/tools/semantics/glob-cap.ts +59 -0
  6407. package/src/rules/tools/semantics/grep-defaults.ts +83 -0
  6408. package/src/rules/tools/semantics/read-limits.ts +126 -0
  6409. package/src/rules/tools/semantics/read-window.ts +80 -0
  6410. package/src/rules/tools/semantics/web-fetch-timings.ts +49 -0
  6411. package/src/rules/tools/semantics/web-fetch.ts +86 -0
  6412. package/src/rules/tools/semantics/web-search-limit.ts +60 -0
  6413. package/src/rules/tools/semantics/web-search.ts +25 -0
  6414. package/src/rules/tools/shell-selection.ts +16 -0
  6415. package/src/rules/types.ts +169 -0
  6416. package/src/settings/add-dir-layer.ts +34 -0
  6417. package/src/settings/broken-file.ts +80 -0
  6418. package/src/settings/canonical.ts +17 -0
  6419. package/src/settings/channels/allowlist.ts +51 -0
  6420. package/src/settings/channels/channel-gate.ts +80 -0
  6421. package/src/settings/channels/contract.ts +120 -0
  6422. package/src/settings/channels/index.ts +49 -0
  6423. package/src/settings/channels/policy.ts +34 -0
  6424. package/src/settings/channels/relay.ts +80 -0
  6425. package/src/settings/channels/sanitize.ts +79 -0
  6426. package/src/settings/channels/verdict.ts +97 -0
  6427. package/src/settings/context.ts +72 -0
  6428. package/src/settings/customization/index.ts +11 -0
  6429. package/src/settings/customization/policy.ts +56 -0
  6430. package/src/settings/customization/preapproval.ts +44 -0
  6431. package/src/settings/customization/sources.ts +155 -0
  6432. package/src/settings/customization/surfaces.ts +37 -0
  6433. package/src/settings/env/check-env.ts +47 -0
  6434. package/src/settings/env/code-mode.ts +26 -0
  6435. package/src/settings/env/ignored-variables.ts +212 -0
  6436. package/src/settings/env/index.ts +14 -0
  6437. package/src/settings/env/resolve-env.ts +190 -0
  6438. package/src/settings/env/settings-env.ts +68 -0
  6439. package/src/settings/env/timing.ts +61 -0
  6440. package/src/settings/general/agent-keys.ts +33 -0
  6441. package/src/settings/general/checks.ts +142 -0
  6442. package/src/settings/general/claude-json.ts +82 -0
  6443. package/src/settings/general/closed-fields.ts +89 -0
  6444. package/src/settings/general/command-lines.ts +58 -0
  6445. package/src/settings/general/edit-effect.ts +139 -0
  6446. package/src/settings/general/effort.ts +104 -0
  6447. package/src/settings/general/exceptions.ts +91 -0
  6448. package/src/settings/general/file-locations.ts +187 -0
  6449. package/src/settings/general/global-config.ts +20 -0
  6450. package/src/settings/general/index.ts +106 -0
  6451. package/src/settings/general/keys.ts +109 -0
  6452. package/src/settings/general/look-and-feel.ts +72 -0
  6453. package/src/settings/general/permission-rules.ts +136 -0
  6454. package/src/settings/general/plugin-defaults.ts +84 -0
  6455. package/src/settings/general/process-wrapper.ts +65 -0
  6456. package/src/settings/general/reach.ts +70 -0
  6457. package/src/settings/general/rows.ts +215 -0
  6458. package/src/settings/general/sandbox-check.ts +161 -0
  6459. package/src/settings/general/sandbox-credentials.ts +162 -0
  6460. package/src/settings/general/sandbox-fields.ts +73 -0
  6461. package/src/settings/general/session-overrides.ts +127 -0
  6462. package/src/settings/general/view.ts +66 -0
  6463. package/src/settings/general/worktree-block.ts +116 -0
  6464. package/src/settings/hooks/custom-commands.ts +53 -0
  6465. package/src/settings/hooks/hook-gate.ts +88 -0
  6466. package/src/settings/hooks/http-policy.ts +82 -0
  6467. package/src/settings/hooks/index.ts +21 -0
  6468. package/src/settings/hooks/merge-groups.ts +65 -0
  6469. package/src/settings/hooks/origin-stops.ts +128 -0
  6470. package/src/settings/hooks/origins.ts +88 -0
  6471. package/src/settings/hooks/policy.ts +36 -0
  6472. package/src/settings/hooks/session-gates.ts +85 -0
  6473. package/src/settings/hooks/url-pattern.ts +60 -0
  6474. package/src/settings/host-switches.ts +127 -0
  6475. package/src/settings/index.ts +59 -0
  6476. package/src/settings/key-spec.ts +272 -0
  6477. package/src/settings/layers.ts +84 -0
  6478. package/src/settings/locations.ts +67 -0
  6479. package/src/settings/managed/admin-source.ts +264 -0
  6480. package/src/settings/managed/applicability.ts +269 -0
  6481. package/src/settings/managed/approval.ts +156 -0
  6482. package/src/settings/managed/combine.ts +208 -0
  6483. package/src/settings/managed/compose.ts +271 -0
  6484. package/src/settings/managed/cross-source.ts +195 -0
  6485. package/src/settings/managed/delivery.ts +198 -0
  6486. package/src/settings/managed/drop-in.ts +214 -0
  6487. package/src/settings/managed/helper-run.ts +115 -0
  6488. package/src/settings/managed/helper-settings.ts +36 -0
  6489. package/src/settings/managed/index.ts +166 -0
  6490. package/src/settings/managed/limits.ts +152 -0
  6491. package/src/settings/managed/load.ts +48 -0
  6492. package/src/settings/managed/login-keys.ts +94 -0
  6493. package/src/settings/managed/parent.ts +159 -0
  6494. package/src/settings/managed/policy-helper.ts +158 -0
  6495. package/src/settings/managed/ports.ts +36 -0
  6496. package/src/settings/managed/server-cache.ts +69 -0
  6497. package/src/settings/managed/server-groups.ts +63 -0
  6498. package/src/settings/managed/sideload.ts +134 -0
  6499. package/src/settings/managed/startup-failure.ts +46 -0
  6500. package/src/settings/managed/wsl-chain.ts +98 -0
  6501. package/src/settings/marketplaces/command-sources.ts +59 -0
  6502. package/src/settings/marketplaces/facts.ts +123 -0
  6503. package/src/settings/marketplaces/gate.ts +240 -0
  6504. package/src/settings/marketplaces/git-url.ts +64 -0
  6505. package/src/settings/marketplaces/headers-helper.ts +105 -0
  6506. package/src/settings/marketplaces/host-of.ts +48 -0
  6507. package/src/settings/marketplaces/index.ts +36 -0
  6508. package/src/settings/marketplaces/match-source.ts +178 -0
  6509. package/src/settings/marketplaces/official-registration.ts +59 -0
  6510. package/src/settings/marketplaces/refusal-messages.ts +42 -0
  6511. package/src/settings/marketplaces/registry.ts +229 -0
  6512. package/src/settings/marketplaces/source-kinds.ts +41 -0
  6513. package/src/settings/marketplaces/source-validate.ts +103 -0
  6514. package/src/settings/mcp/allow-deny.ts +161 -0
  6515. package/src/settings/mcp/approvals.ts +140 -0
  6516. package/src/settings/mcp/candidates.ts +68 -0
  6517. package/src/settings/mcp/command-match.ts +16 -0
  6518. package/src/settings/mcp/entries.ts +107 -0
  6519. package/src/settings/mcp/entry-env.ts +76 -0
  6520. package/src/settings/mcp/exclusive.ts +273 -0
  6521. package/src/settings/mcp/index.ts +95 -0
  6522. package/src/settings/mcp/lists.ts +38 -0
  6523. package/src/settings/mcp/load-settings.ts +45 -0
  6524. package/src/settings/mcp/managed-entry.ts +93 -0
  6525. package/src/settings/mcp/managed-file.ts +71 -0
  6526. package/src/settings/mcp/managed-servers.ts +93 -0
  6527. package/src/settings/mcp/managed-timing.ts +106 -0
  6528. package/src/settings/mcp/managed.ts +77 -0
  6529. package/src/settings/mcp/origins.ts +55 -0
  6530. package/src/settings/mcp/policy.ts +103 -0
  6531. package/src/settings/mcp/scope.ts +137 -0
  6532. package/src/settings/mcp/toggles.ts +79 -0
  6533. package/src/settings/mcp/url-pattern.ts +109 -0
  6534. package/src/settings/merge.ts +136 -0
  6535. package/src/settings/paths.ts +47 -0
  6536. package/src/settings/permissions/auto-mode.ts +161 -0
  6537. package/src/settings/permissions/default-mode.ts +299 -0
  6538. package/src/settings/permissions/index.ts +13 -0
  6539. package/src/settings/permissions/managed-only.ts +181 -0
  6540. package/src/settings/permissions/merge.ts +129 -0
  6541. package/src/settings/permissions/policy.ts +76 -0
  6542. package/src/settings/permissions/read.ts +234 -0
  6543. package/src/settings/permissions/running-mode.ts +47 -0
  6544. package/src/settings/permissions/sandbox-read-block.ts +110 -0
  6545. package/src/settings/permissions/start-notices.ts +25 -0
  6546. package/src/settings/plugins/enabled-plugins.ts +71 -0
  6547. package/src/settings/plugins/index.ts +26 -0
  6548. package/src/settings/plugins/mod-order.ts +173 -0
  6549. package/src/settings/plugins/plugin-config.ts +111 -0
  6550. package/src/settings/plugins/plugin-id.ts +39 -0
  6551. package/src/settings/plugins/policy.ts +35 -0
  6552. package/src/settings/plugins/suggestions.ts +66 -0
  6553. package/src/settings/plugins/sync-plugins.ts +48 -0
  6554. package/src/settings/plugins/trust-warning.ts +22 -0
  6555. package/src/settings/read-layer.ts +151 -0
  6556. package/src/settings/repair/closed.ts +98 -0
  6557. package/src/settings/repair/hooks.ts +60 -0
  6558. package/src/settings/repair/kinds.ts +101 -0
  6559. package/src/settings/repair/lists.ts +147 -0
  6560. package/src/settings/repair/network.ts +74 -0
  6561. package/src/settings/repair/support.ts +104 -0
  6562. package/src/settings/repair/values.ts +129 -0
  6563. package/src/settings/resolve.ts +119 -0
  6564. package/src/settings/skills/bundled.ts +44 -0
  6565. package/src/settings/skills/index.ts +16 -0
  6566. package/src/settings/skills/overrides.ts +97 -0
  6567. package/src/settings/skills/policy.ts +42 -0
  6568. package/src/settings/skills/shell.ts +47 -0
  6569. package/src/settings/skills/sync-skills.ts +13 -0
  6570. package/src/settings/sources.ts +142 -0
  6571. package/src/settings/value-spec.ts +42 -0
  6572. package/src/settings/view.ts +114 -0
  6573. package/src/settings/workflows/enablement.ts +116 -0
  6574. package/src/settings/workflows/index.ts +30 -0
  6575. package/src/settings/workflows/keyword.ts +116 -0
  6576. package/src/settings/workflows/policy.ts +28 -0
  6577. package/src/settings/workflows/size.ts +96 -0
  6578. package/src/skills/arguments.ts +43 -0
  6579. package/src/skills/bare-repository.ts +12 -0
  6580. package/src/skills/command-entries.ts +121 -0
  6581. package/src/skills/execution.ts +299 -0
  6582. package/src/skills/expand-policy.ts +92 -0
  6583. package/src/skills/expand-shell.ts +147 -0
  6584. package/src/skills/expand-types.ts +109 -0
  6585. package/src/skills/expand.ts +200 -0
  6586. package/src/skills/file-references.ts +61 -0
  6587. package/src/skills/folder-line.ts +10 -0
  6588. package/src/skills/fork.ts +74 -0
  6589. package/src/skills/hook-limits.ts +73 -0
  6590. package/src/skills/index.ts +167 -0
  6591. package/src/skills/invocation.ts +142 -0
  6592. package/src/skills/lifecycle.ts +153 -0
  6593. package/src/skills/listing.ts +224 -0
  6594. package/src/skills/lookup.ts +53 -0
  6595. package/src/skills/mention.ts +107 -0
  6596. package/src/skills/path-gate.ts +224 -0
  6597. package/src/skills/portable.ts +69 -0
  6598. package/src/skills/scan/container.ts +59 -0
  6599. package/src/skills/scan/file-location.ts +33 -0
  6600. package/src/skills/scan/head.ts +27 -0
  6601. package/src/skills/scan/locations.ts +146 -0
  6602. package/src/skills/scan/names.ts +42 -0
  6603. package/src/skills/scan/nested.ts +36 -0
  6604. package/src/skills/scan/read.ts +129 -0
  6605. package/src/skills/scan/resolve.ts +259 -0
  6606. package/src/skills/scan/scan-types.ts +64 -0
  6607. package/src/skills/scan/scan.ts +128 -0
  6608. package/src/skills/shell-arguments.ts +114 -0
  6609. package/src/skills/shell-ports.ts +34 -0
  6610. package/src/skills/shell-refusal.ts +43 -0
  6611. package/src/skills/shell-result.ts +156 -0
  6612. package/src/skills/shell-run.ts +224 -0
  6613. package/src/skills/shell-scan.ts +80 -0
  6614. package/src/skills/shell-variables.ts +47 -0
  6615. package/src/skills/skill-rule.ts +52 -0
  6616. package/src/skills/stack.ts +68 -0
  6617. package/src/skills/substitute.ts +211 -0
  6618. package/src/skills/variables.ts +293 -0
  6619. package/src/skills/visibility.ts +65 -0
  6620. package/src/testing/index.ts +6 -0
  6621. package/src/testing/mods/claude.ts +70 -0
  6622. package/src/testing/mods/expect-equal.ts +66 -0
  6623. package/src/testing/mods/expect-matchers.ts +127 -0
  6624. package/src/testing/mods/expect.ts +162 -0
  6625. package/src/testing/mods/fake-ports.ts +168 -0
  6626. package/src/testing/mods/fallbacks.ts +40 -0
  6627. package/src/testing/mods/index.ts +29 -0
  6628. package/src/testing/mods/inline-files.ts +110 -0
  6629. package/src/testing/mods/inline-runtime.ts +106 -0
  6630. package/src/testing/mods/kit.ts +112 -0
  6631. package/src/testing/mods/mock-clock.ts +79 -0
  6632. package/src/testing/mods/mock.ts +64 -0
  6633. package/src/testing/mods/mount.ts +168 -0
  6634. package/src/testing/mods/ports.ts +34 -0
  6635. package/src/testing/mods/runner.ts +209 -0
  6636. package/src/testing/mods/stub-matcher.ts +28 -0
  6637. package/src/testing/mods/stubs.ts +120 -0
  6638. package/src/testing/mods/world.ts +238 -0
  6639. package/src/testing/ports/clock.ts +53 -0
  6640. package/src/testing/ports/environment.ts +24 -0
  6641. package/src/testing/ports/files.ts +174 -0
  6642. package/src/testing/ports/folders.ts +181 -0
  6643. package/src/testing/ports/http.ts +48 -0
  6644. package/src/testing/ports/index.ts +14 -0
  6645. package/src/testing/ports/locations.ts +39 -0
  6646. package/src/testing/ports/mcp.ts +34 -0
  6647. package/src/testing/ports/model.ts +32 -0
  6648. package/src/testing/ports/runner.ts +27 -0
  6649. package/src/testing/rows/index.ts +104 -0
  6650. package/src/updates/auto-update-pass.ts +102 -0
  6651. package/src/updates/auto-update-precedence.ts +135 -0
  6652. package/src/updates/auto-update-skips.ts +45 -0
  6653. package/src/updates/claude-code-version-policy.ts +264 -0
  6654. package/src/updates/command-source-rerun.ts +220 -0
  6655. package/src/updates/env-flags.ts +19 -0
  6656. package/src/updates/index.ts +93 -0
  6657. package/src/updates/private-marketplace.ts +94 -0
  6658. package/src/updates/refresh-before-install.ts +207 -0
  6659. package/src/updates/update-targets.ts +118 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3839 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## [0.3.0] - 2026-11-23
6
+
7
+ - The kit follows Agent Plugins Extended `28f235d` (`1.1.0+claude-code.2.1.330`): Claude Code
8
+ 2.1.330, after 2.1.321, and the Agent SDK types 0.3.330 (the peer range is now
9
+ `>=0.3.330 <0.4.0`). `bun run compat`: 100%, 2,803 of 2,803 requirements proven, over 17,505
10
+ tests. The spec now leaves out of scope thirteen sections about Claude Code's own session, apps
11
+ and built-in content (four of Code Mode's limits, the Desktop app's colour flows, the built-in
12
+ charts mod). The `PostToolUse` `updatedToolOutput` shapes are regenerated from the 0.3.330
13
+ `sdk-tools.d.ts`.
14
+
15
+ ### Breaking
16
+
17
+ What a host changes, old → new.
18
+
19
+ - Removed with `subagentStatusLine`, which 2.1.323 dropped (§12.6, §12.7.1, J12.17):
20
+ `session.subagentStatusLine()`, and from `./settings` `readSubagentStatusLine`,
21
+ `runSubagentStatusLine`, `readSubagentStatusRows`, `subagentStatusLineInput` and the types
22
+ `SubagentLineRead`, `SubagentStatusLineInput`, `SubagentStatusLineRun`, `SubagentStatusTask`.
23
+ `COMMAND_LINE_KEYS` holds only `statusLine` and `fileSuggestion`, and `PluginSettings` is
24
+ `Pick<Settings, 'agent'>`. A settings file that still holds the key loads with no issue; a
25
+ plugin's copy is dropped at load like any other key.
26
+ - `AUTO_COMPACT_RANGE` → `AUTO_COMPACT_MIN` (`./format`): `autoCompactWindow` takes any whole
27
+ number of 100000 or more, with no upper bound (§5.10).
28
+ - `ANY_CASING_NAMES` is gone (`./marketplace`): marketplaces named `npm`, `pip`, `uv`, `cargo`,
29
+ `github` or `gh` are accepted like any other name (§15.3.2 item 5, J15.3).
30
+ - `REMOVED_STATUS` → `NEEDS_ATTENTION`, and `RemovedPlugin.status` → `listedUnder`: plugins a
31
+ marketplace removed are listed under **Needs attention** (§16.21.1).
32
+ - `UninstallOption.key` is removed: the uninstall question for a plugin the project turns on is a
33
+ list with no single-letter answers (§16.4.4).
34
+ - Mods' theme (§10.25.6, §10.25.7, J10.113): `BackdropBoard` → `ThemeBoard`,
35
+ `ModRegistries.backdrop` → `ModRegistries.theme`, and `ModTheme.changed(backdrop)` →
36
+ `changed(theme)`, which hears a `SessionTheme`. `SessionBackdrop`, the `Backdrop` site's props,
37
+ is `{ scene, plugin, glass?, overrideColorScheme? }`; `sceneBackdrop(theme)` gives it for a
38
+ scene and nothing for a still ground.
39
+ - `REGISTER_RULES` → `registerRules(createRefusalBook())`, which also checks a `provides` a hook
40
+ passes to `next` (§10.19.5).
41
+ - `ModsHost.watchesPluginDirs(isInteractive)` and `watchesPluginDirs` → `reloadsOnSave(source,
42
+ { isInteractiveTerminal, takesMorePrompts })`, `source` being `plugin-dir` or `skills-dir`
43
+ (§10.8.2).
44
+ - `ModApprovalFacts` is `{ guardLoaded }`: `permissionPromptTool` and `canUseTool` are gone, since
45
+ where the built-in guard loads a user's mod's approval never skips auto mode's classifier
46
+ (§14.9.2 item 4).
47
+ - `DecideContext.requiresPermission(toolName)` → `requiresPermission(toolName, input)`, for the
48
+ conditional cells of the 2.1.330 tools table: `Skill` "Some skills" and `EnterWorktree` "Some
49
+ worktrees" are No, `ExitWorktree` is Yes (§7.6.2). A host that answered from the old column
50
+ answers these three again.
51
+ - `RunContext.httpPolicy` (`HttpHookPolicy`) gains `managed`: the top-level lists now cover every
52
+ HTTP hook but those of managed settings, and `managed` covers those (§7.3.4 item 3, §12.7.1,
53
+ J12.18). A host that passes only the top level leaves managed hooks unlimited.
54
+ `hookSessionGates` returns `managedHttpPolicy` beside `httpPolicy`, and
55
+ `HookPolicy.httpHook(url, vars, { managed })` takes the hook's origin.
56
+ - In the test kit, a `ui.render` stub at the band needs `{ plugin: '<mod>' }` (or `'*'`) to answer a
57
+ mod's row: stubs take a matcher, `on(name, matcher, hook)` (§10.12).
58
+
59
+ ### New host duties
60
+
61
+ Optional ports and fields: the kit applies the 2.1.330 behaviour each serves only when the host
62
+ fills it.
63
+
64
+ - Mods' ports `agentCalls`, `sessionFacts`, `hookEnv`, `wasm` and `vcs` (`ModOptionalPorts`,
65
+ `DeclaredOptionalPorts`) for the new members of `$`; each has a declared default (docs/API.md,
66
+ "Mods declarations").
67
+ - The mod runtime's globals (`ModRuntime`): `performance.now()`, and a frozen `WebAssembly` that
68
+ instantiates only the modules the `wasm` port compiled; `inlineRuntime` is for tests, not a
69
+ sandbox (docs/API.md, "Mods"; docs/SECURITY.md, "Running a mod's code").
70
+ - `ModsHost.stop(isTurnRunning)` on the user's Esc, Ctrl+C or Stop, before the host aborts;
71
+ `ModPlugin.register` with a plugin's other parts for `plugin.register`; `FireOptions.answered` to
72
+ learn which mod held back a server in `mcp.connect`; `ManagedModData.managedTools` where the
73
+ guard loads (docs/API.md, "Mods", "Managed hook filtering").
74
+ - `SessionOptions.webFetchAgent` (and `AgentOverrides.webFetchAgent`) when the session reads web
75
+ pages through the built-in `web-fetch` agent; `BuiltinPolicy.webFetch` for `builtinAgents`
76
+ (docs/API.md, "Host and sessions", "Sub-agents: the catalog").
77
+ - `dispatch(..., { failedCall, fromCode, webFetchAgent, coworkCloud })` and
78
+ `PreparedCall.fromCode` for Code Mode and the cases below (docs/API.md, "Host and sessions",
79
+ "Hooks", "Permission settings").
80
+ - `SubagentModelInput.parentModel` and `parentFamily`, `checkAgainstAllowlist`'s `inherited` and
81
+ `nested`, and `resolveSubagentEffort`'s `spawner`, `subagentDefault` and `forkOrTeammate` for a
82
+ nested subagent (docs/API.md, "Sub-agents: how it is launched").
83
+ - `reloadAgents`' `watch` lists agents folders that do not exist yet: the host watches for their
84
+ creation (§5.4.1).
85
+ - `loadPlugin({ clientVersion, localFolder })` to apply `engines` (docs/API.md, "Loading");
86
+ `createStoreLayout(root, join, defaultRoot)` when `CLAUDE_CODE_PLUGIN_CACHE_DIR` moves the
87
+ plugins root; `McpBundleReader` extracts into `mcpb/` under the plugins root (docs/API.md,
88
+ "Install", "MCP servers").
89
+ - `HelperHost.managedEnv` for the policy helper's environment;
90
+ `McpSessionFacts.connectorsAbovePlugins` for a `claude -p`, Agent SDK or VS Code session
91
+ (docs/API.md, "Settings", "MCP settings").
92
+ - `facts.graph` for `claude plugin update` to install missing dependencies (docs/API.md, "CLI").
93
+
94
+ ### Packages and manifest
95
+
96
+ - A `plugin.json` display field of the wrong type (`$schema`, `displayName`, `description`,
97
+ `author`, `homepage`, `repository`, `license`, `keywords`), and a malformed `metadata`,
98
+ `experimental` or `icon`, is dropped and the plugin loads, with a `manifest-field-ignored` note in
99
+ the new `LoadedPlugin.notes` (`PLUGIN_NOTE_TYPES`; §2.1 item 3, J2.6). The validator still
100
+ reports each as an error.
101
+ - `engines` (§2.4): given `clientVersion`, `loadPlugin` refuses a plugin outside its
102
+ `engines["claude-code"]` range unless `localFolder`, which loads with `engine-range-exempt`; an
103
+ invalid range loads with `engine-range-invalid`. `readEngines`, `engineVerdict`, `engineRefuses`
104
+ and `newestFittingVersion` are in `./format`.
105
+ - `network` (§2.4): `declaredHosts` gives the hosts of `{ hosts: [...] }`.
106
+ - An `mcpServers` or `lspServers` path that is absolute or has a `..` part is not read: the plugin
107
+ loads without that file's servers, with `mcp-servers path not read: <path> is absolute or has a
108
+ ".." part` (§17.18.12). Before, the whole plugin failed.
109
+ - `readPluginDirectory` skips subfolders whose name starts with `.`, even with a manifest (§16.8
110
+ item 4). A path the system could not check reads `<component> path couldn't be checked: <path>
111
+ (<code>)` (§17.18).
112
+ - A plugin that sets the deprecated `agent` default loads with a `plugin-agent-setting-deprecated`
113
+ note (§12.6 item 2, J2.9).
114
+
115
+ ### Skills, agents and output styles
116
+
117
+ - A `SKILL.md` directly in a plugin's default `skills/` folder makes `skills/` itself the one
118
+ skill, named by its frontmatter `name` or else `skills`; its child folders no longer load
119
+ (§4.2.1, J4.2).
120
+ - A skill's injected commands in a repository that looks bare (`looksLikeBareRepository`: a `HEAD`
121
+ file beside `refs` or `commondir`): a Bash command that contains `git` or does not parse is
122
+ checked without the skill's `allowed-tools`, so it aborts unless a rule allows it.
123
+ `session.expandSkill` finds out by itself through `HostPorts.folders` for a body with `!`;
124
+ `bareRepository` on the request overrides it (§4.8.5 item 3).
125
+ - A skill's `paths` stay relative to the main conversation's start directory after a `cd` into a
126
+ subdirectory of it (`PathGateOptions.primaryWorkingDirectory`, §4.7.3).
127
+ - A skill's hooks end with the conversation: removed after a `SessionEnd` of any reason and before a
128
+ `SessionStart` of source `clear` or `resume`, kept over a compaction; their share of the
129
+ per-session limits goes with them (§7.1.4 item 2).
130
+ - A nested subagent runs on the spawning subagent's model, which stands where the main model stands
131
+ for `inherit`, an unset `model`, the family alias rule and the Explore rule (§5.8.2, §5.8.3); an
132
+ alias in `CLAUDE_CODE_SUBAGENT_MODEL` still selects its version and `inherit` there is unset
133
+ (J5.20). `checkAgainstAllowlist` falls back to that model, warns `replaced` only for a top-level
134
+ subagent, and does not check `web-fetch`, which runs on the starting conversation's model when
135
+ its own is blocked (§5.8.4).
136
+ - `resolveSubagentEffort` adds the spawner's level, then `CLAUDE_CODE_SUBAGENT_EFFORT`, after the
137
+ field and the parameter and before the session level; neither applies to a fork, a forked skill
138
+ or a teammate (§5.8.7).
139
+ - With `CLAUDE_CODE_AUTO_COMPACT_WINDOW` set, a subagent's window is the lowest of the field, its
140
+ model's (`AutoCompactInput.modelWindow`) and the variable's (§5.10).
141
+ - New `subagentThinking(main)` (§5.8.6; `ThinkingConfig` re-exported from the root),
142
+ `subagentTaskRow({ model, effort })` and `offersSubagentHistory(env)`
143
+ (`CLAUDE_CODE_SUBAGENT_HISTORY=0`; §5.8.2, §5.12.3), and `spawnerWaitsForNested`: in `-p` and the
144
+ SDK a spawner waits only for a foreground nested subagent (§5.12.2).
145
+ - `propose_skills` is withheld from every subagent; a background subagent keeps `ListPlugins`,
146
+ `ListSkills`, `SearchPlugins` and `SearchSkills`, and every other built-in leaves it (§5.7.1,
147
+ J5.19).
148
+ - The built-in `web-fetch` agent (`haiku`, `WebFetch` only, no CLAUDE.md) always runs in the
149
+ foreground; the session's catalog holds it with `webFetchAgent`, `Agent(web-fetch)` still denies
150
+ it, and with `SubagentRun.webFetchAgent` a subagent the Agent tool starts gets `WebFetch` back
151
+ while forks and teammates have none (§5.7.1, §5.12.4, §7.6.3 item 8).
152
+
153
+ ### Hooks
154
+
155
+ - `mcp_tool` hooks take `onFailure` (2.1.328): `isError: true`, a server not connected and an
156
+ answer the client could not read are failures, and `"block"` turns them into a block; under
157
+ `"block"` on an event that can block, a non-empty answer setting no output field (`reason` alone
158
+ does not count) fails too (§7.3.5, §7.4.3, J7.212). An unreadable answer (`callTool` failing with
159
+ `message-too-large` or `missing-text`) is a hook error naming the tool and the server, which
160
+ refuses a `PreToolUse` call whatever `onFailure` says (§7.3.5 item 3).
161
+ - `TaskCompleted` and `TeammateIdle` read a top-level `decision: "block"`: the task stays open or
162
+ the teammate keeps working, the reason going to Claude (§7.5.21, §7.5.24, J7.121).
163
+ - `failedCall` dispatches `PostToolUse` for a failed call with the error text as `tool_response`;
164
+ only managed settings' hooks run for it (§7.5.11, J7.215).
165
+ - Code Mode (J7.213, J7.214): with `fromCode`, a `PreToolUse` hook that times out, or an agent hook
166
+ that ends without a decision, refuses the call with `the hook did not finish` when `onFailure` is
167
+ unset; a `PostToolUse` rewrite of `REPL` output is accepted only in code-mode.md's shape, with
168
+ `refusedCalls` put back from the original. A `UserPromptSubmit` with `fromCode` runs no hook,
169
+ managed ones included, and lets the code output through (§7.6.11.3 items 4 and 5).
170
+ - `webFetchAgent` on `SubagentStart` and `SubagentStop` runs only managed settings' hooks; the
171
+ `PreToolUse` and `PostToolUse` hooks matching `WebFetch` still run for its fetches (§7.5.18,
172
+ §7.5.19).
173
+ - With `coworkCloud`, a `PostToolUse` `updatedToolOutput` for `AskUserQuestion` or `ExitPlanMode`
174
+ is left out of the outcome (§7.5.13).
175
+ - A `Stop` or `SubagentStop` hook that exits 2 and prints `continue: false` ends the turn; on
176
+ `PreToolUse` the call stays blocked (§7.4.1.2). A failing command hook on `Notification` shows no
177
+ `hook error` notice (§7.4.1.3 item 2).
178
+ - `StopFailure` has no `overloaded` value: the SDK's `overloaded` reaches the hook as
179
+ `server_error` and is no longer a documented matcher value (§7.5.23).
180
+ - The suspect-capture refusal includes `stdio went quiet` (§7.4.2 item 5).
181
+
182
+ ### MCP
183
+
184
+ - `mcpToolPolicy('off' | 'pending' | 'arrived')`: with feature-flag fetching off the root-level
185
+ rewrite runs and the input-schema checks exclude a tool; only while flags are pending is a
186
+ combinator tool skipped and an invalid one sent (§8.8).
187
+ - `recommendedMcpTaskTiming` gives the `ttlMs` and `pollIntervalMs` a plugin's server should send
188
+ (§8.10).
189
+ - `rankMcpServers` and `mcpLoadPlan` take `connectorsAbovePlugins`: claude.ai connectors rank above
190
+ plugin servers (§8.11.1).
191
+ - MCP bundles are extracted into `mcpb/` under the plugins root, not `.mcpb-cache/` in the plugin
192
+ (`StoreLayout.mcpb()`); an uninstall deletes them with the plugin's options unless another plugin
193
+ uses an identical bundle (`uninstallRetention` `bundles`, `mcpbDelete`; §2.9, §16.6, §17.5.1).
194
+
195
+ ### Mods
196
+
197
+ - New members of `$` (§10.7.1): `$.agent.call` (a tool run as the agent's own call through
198
+ `agent.call`; `Workflow` refused) and `$.agent.limits`; `$.session.info` and
199
+ `$.session.machine` (J10.8); `$.process.hookEnv`; `$.wasm.compile` (up to 64 MiB, through
200
+ `wasm.compile`; §10.35); `$.vcs` (experimental: `detect`, `diff`, `isolate`, `list`, `release`,
201
+ `status` over `vcs.*` events; §10.19.8, J10.23). `$.fs.read(path, { offset, length })` reads a
202
+ range, held to 4 MiB; `$.session.messages({ last, after })` returns entries with their `uuid`;
203
+ `$.audio.speak(text, { voice, signal })`; `SessionIdentity.contextEmail`.
204
+ - `$.theme.set` takes the 2.1.330 theme: a backdrop is a scene (`{ scene, glass? }`) or a still
205
+ ground (`{ color }`, `{ gradient }`, `{ vector }`), `overrideColorScheme` beside it, and the
206
+ Desktop app's `colors`, `sound` and `style` passed as given. A set replaces the whole theme, an
207
+ unknown attribute is refused by name, and `backdrop.id` and `backdrop.colorScheme` are refused.
208
+ Turning off a mod stops it setting its colours again (§10.25.7 item 4).
209
+ - New events: `tool.judge` (auto mode's classifier asked; `next(e)` asks it once, `{ decision }`
210
+ decides in its place; §10.16.5), `tool.run` (an allowed call about to run; `{ result }` answers
211
+ for the tool, `{ deny }` fails the call; `runModToolCall` fires it after `tool.check`;
212
+ §10.16.6), `session.stop` with `isTurnRunning` (§10.19.2), and the declarations' `tool.offer`,
213
+ `agent.report` and `ui.pointer` (J10.22).
214
+ - `plugin` is a default matcher key: a hook on `ui.press`, `ui.input`, `ui.select`, `ui.focus` or
215
+ `ui.render` without it runs only for its own mod's controls and drawings; `{ plugin: '<name>' }`
216
+ names another mod, `'*'` every mod (§10.13.3). A `tool.check` for a mod's own `$` call (`e.op`)
217
+ reaches only hooks whose matcher names `op`; `e.ceiling` may be `deny` (§10.16.3).
218
+ `tool.describe`'s `mcpServer` is pinned (§10.16.4).
219
+ - Event fields of 2.1.330: `agent.offer` `agentId`, `session.compact` messages' `uuid`,
220
+ `turn.complete` `usage` `ephemeral_5m_input_tokens` and `ephemeral_1h_input_tokens`,
221
+ `session.measure` `cost.hasUnknownPrice`, and `mcp.connect` `provider` (`{ plugin, tier }`;
222
+ §10.18, §10.19).
223
+ - `plugin.register` carries `name`, `root`, `version`, `tier`, `provenance`,
224
+ `requiredByOrganization`, `uses` (with `hosts` a module's `$.http.fetch` and `$.audio.play`
225
+ spell), `provides`, `unread` and `hosts`, and fires for a plugin with no hooks module too
226
+ (§10.8.1, §10.19.5). A policy mod keeps parts out by removing entries from `e.provides`;
227
+ emptying `modules` logs `<plugin>: hooks module left out by <mod>`, and the load report's
228
+ `keptOut` lists what was kept out (§14.9.8).
229
+ - `isTextDisplayOnly` stays on a command's answer only when a hook answered without `next` for a
230
+ command registered without `immediate` (`displayOnlyReply`), for `$.command.run` and
231
+ `ModsHost.runCommand` alike (§10.30.1).
232
+ - `CLAUDE_CODE_PLUGIN_DIR_WATCH`: unset, a skills-directory mod reloads on save in any session of
233
+ more than one prompt and a `--plugin-dir` mod only in an interactive terminal; `1` makes
234
+ `--plugin-dir` mods reload as skills-directory ones; `0` turns reloading off (§10.8.2). A reload
235
+ that leaves no version running writes `<mod>: reload failed: <reason>` (§10.41.7).
236
+ - A mod Claude writes is refused for having no approver in `dontAsk` mode or in the `claude -p` run
237
+ that writes it in `default` or `acceptEdits`; the untrusted-workspace gate is for interactive
238
+ sessions only. `writtenModAsks(policy, session)` says whether the client asks first (§10.8.4).
239
+ - Only a `prepend` or `append` mod may withhold a namespace at `engine.create` (`mayWithhold`,
240
+ §10.19.5).
241
+ - A `ui.render` hook is skipped after waiting 30 seconds on `$` calls for one event, a
242
+ `plugin.register` hook after 10 (`$.ui.ask` not counted): `timed out: waited on $ calls past its
243
+ <ms> ms limit` (§10.11). `MOD_LIMITS` adds `renderWaitMs`, `registerWaitMs`, `propDepth` and
244
+ `propValues`: a tree past 100 nested lists and objects or 1,000,000 values is refused.
245
+ - The band above the prompt draws one row per mod (2.1.323): `ModsUi.drawBand(request, mods)` asks
246
+ `AbovePrompt` once for each mod that hooks `ui.render` and stacks the rows through the new
247
+ `AbovePromptList` site, whose hooks may hide, reorder or wrap them (`BandDrawn`, `BandRequest`,
248
+ `BandRow`; §10.21). The rows share one tree's limits, and a row past them is left out while the
249
+ others draw; two rows on the same hotkey press neither (§10.10.5 item 4).
250
+ - New render sites `AgentRow` and `ContextMenu` (declarations only, J10.24); elements `Progress`
251
+ and `Shader` (in a `Backdrop` only, over one `Svg`), `Text` `maxLines` and `wrap` `end`, `middle`
252
+ and `clip`, `Box` `overflowX` (§10.9, §10.10). `$.ui.open({ placement: 'widget' })` asks the
253
+ Desktop app for a widget, and opening a pane another mod has open rejects (§10.25.1). A `Pane`'s
254
+ `ui.render` carries its mod as `e.plugin`; the drawn rows' sites take the row's id.
255
+ - The stopped-turn toast reads `stopped · type a message to continue` (§10.43.2).
256
+ - The static analysis reads the files `$.wasm.compile` names by a literal (`ModScan.wasmFiles`):
257
+ a missing one is an error that keeps the module from loading, one that does not parse a warning
258
+ (§10.4.2).
259
+
260
+ ### Workflows
261
+
262
+ - An agent saved as `failed-at-limit` runs again on a relaunch while completed agents keep their
263
+ results, unless an agent after it returned a result (§11.8). `usageLimitDecision` adds the
264
+ desktop Code tab (`desktop-code-tab` pauses, `desktop-other` does not), usage-based billing, the
265
+ non-essential traffic switch and the Code tab's auto-continue (§11.9). Workflow agents resolve
266
+ effort in the subagents' order.
267
+
268
+ ### Settings
269
+
270
+ - A plugin's `agent` default still applies; `PluginDefaults.warnings` (and
271
+ `session.pluginDefaults().warnings`) gives one startup warning per enabled plugin that sets it. A
272
+ plugin `settings.json` holding only `subagentStatusLine` no longer wins over the manifest's
273
+ `settings` (§12.6, J12.10, J12.14).
274
+ - `OTEL_RESOURCE_INCLUDE_HOST` is dropped from project and local `env`, and
275
+ `CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT` and `CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK`
276
+ from every file's (§12.7.4). `codeModeOn`: `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` turns Code Mode
277
+ on only from the launch environment, user settings or `--settings`; project and local files never
278
+ set it.
279
+ - `editEffect({ ..., savedHere: true })`: in the session that saved a rule or setting itself the
280
+ change is in force at once and `ConfigChange` does not run; other sessions still get the hook
281
+ (§7.5.25).
282
+ - `readAddDirLayer`: a `--add-dir` directory's settings give `enabledPlugins` and
283
+ `extraKnownMarketplaces` only when its setting sources load, an interactive terminal skips an
284
+ untrusted directory's entries, and its marketplaces wait for saved trust (`addDirReads`;
285
+ §16.4.6).
286
+
287
+ ### Permissions and trust
288
+
289
+ - The tools table follows 2.1.330: `ListPlugins`, `ListSkills`, `propose_skills`,
290
+ `SearchPlugins`, `SearchSkills`, `SuggestPluginInstall` and `SuggestSkills` are added, the new
291
+ `DOCS_ONLY_TOOLS` lists the documented tools the SDK lacks, and `SetGoal` replaces `ProposeGoal`
292
+ among the SDK-only names (§7.6.2).
293
+ - In auto mode, and in plan mode while the classifier reviews commands, a `SendMessage` goes to the
294
+ classifier unless an allow rule matches it or a `PreToolUse` hook allows it (§13.9.4 item 5).
295
+ - Entering auto mode also suspends a wrapper followed only by a wildcard (`Bash(timeout *)`), a
296
+ shell rule that starts with a wildcard (`Bash(* --version)`) and a wildcarded absolute or home
297
+ path (`Bash($HOME/bin/*)`) (§13.9.4 item 3).
298
+ - Code Mode: a call with `PreparedCall.fromCode` meets deny and ask rules under its usual name and,
299
+ in auto mode, runs without its own classifier review; actions no mode auto-approves still prompt
300
+ (§7.6.11).
301
+ - `--restricted` refuses `bypassPermissions` with `Error: bypassPermissions not supported in
302
+ restricted mode` (§13.9.6 item 2).
303
+
304
+ ### Policy
305
+
306
+ - `enforceAnthropicSignIn` (2.1.329) is read only from the managed settings file or the MDM
307
+ policy, even beneath server-managed settings and beside a `policyHelper`; never from
308
+ server-managed settings, HKCU or the helper (§14.2.8, §14.3.5). The policy helper's environment
309
+ is the launching shell's plus the managed `env`, never user settings' or `--settings`' (§14.2.5).
310
+ - `startupOnFailedFetch` and `SERVER_CACHE_LIFETIME_MS`: after a failed startup fetch the
311
+ server-managed cache applies only within 24 hours of the last successful fetch (`using cached
312
+ policy`); later the session starts without it, or exits under `forceRemoteSettingsRefresh`.
313
+ `serverFetchProxy` gives the fetch's `HTTPS_PROXY` (§14.3.2).
314
+ - `deliveredConfiguration`: the server-managed group configuration a member receives (the
315
+ highest-ranked of their groups, else the catch-all, else none) (§14.3.7).
316
+ - Where the built-in guard loads: a user's mod's approval no longer skips auto mode's classifier
317
+ (§14.9.2 item 4); a user's `telemetry.log` hooks do not run (§14.9.4); Claude Code's own
318
+ `http.fetch` requests (`next.origin` `engine`, `HookAccess.origin`) reach only the organization's
319
+ mods (§10.19.7); managed MCP servers' tools stay in the client's `tool.list` pool and a user's
320
+ `tool.offer` hook does not run for them (§14.9.2 item 3). Its messages drop the
321
+ `(allowModsToOverrideDenyRules)` suffix (§10.42.2).
322
+ - A mod from a remote marketplace counts as the organization's when managed settings enable it,
323
+ declare its marketplace (`ModCandidate.managed.isMarketplaceManaged`) and list it in
324
+ `prependPlugins` or `appendPlugins` (§14.9.5).
325
+
326
+ ### Marketplaces, install, dependencies and updates
327
+
328
+ - A marketplace entry with a display field of the wrong type, or a `homepage` that is not a URL,
329
+ stays listed and its install fails with `This plugin's marketplace entry is invalid: <field>:
330
+ <problem>, ...` (`failureCode: "invalid_entry"`, `MarketplaceEntry.invalid`,
331
+ `invalidEntryMessage`; §15.5.3, J15.15).
332
+ - An entry's `engines` is read and validated, and ignored at load when malformed (§15.4, §15.7).
333
+ `planInstall` refuses a plugin outside its range (`InstallFound.engines`, `failureCode:
334
+ "engine_range"`) and adds a note to a local-folder install; `planPluginUpdate` does not move to a
335
+ version outside it (`UpdatableInstall.engines`).
336
+ - A source `ref` that is a full commit SHA pins the marketplace (`pinned: true` on the git fetch
337
+ plan; `pinnedCommit` in `planMarketplaceUpdate`), and is refused for an official reserved name
338
+ (§15.7, §17.14.4).
339
+ - A plugin only the repository's settings turn on, listed by a relative path in a git marketplace,
340
+ no longer loads at session start: it loads at `/reload-plugins`, or for one `-p` run with
341
+ `CLAUDE_CODE_SYNC_PLUGIN_INSTALL=1`; from a local-path marketplace it still loads at start
342
+ (`EnabledFacts.marketplaceOnMachine`, `moment`; `EnabledFetchDecision.sessionOnly`,
343
+ `addMarketplaceFirst`; §16.4.2).
344
+ - The `/plugin` texts: `Couldn't install: <plugin> (<reason>)`, `No plugins yet` on an empty
345
+ Discover tab, and `Plugin "<name>" is on in project settings but isn't installed here` (§16.31,
346
+ §16.4.2).
347
+ - `managedTakeBack`: whether managed settings' marketplace replaces a user's of the same name, or
348
+ why it stays (§16.31). `plugin_errors` entries a managed `enabledPlugins` entry dropped carry
349
+ `managed_lock` (`PluginNotLoaded.managedLock`; §17.15.2).
350
+ - `claude plugin update` installs the declared dependencies a plugin is missing
351
+ (`UpdateRun.dependencies`), names the rest on `Dependencies still unresolved: <ids>`, and installs
352
+ none while `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` is set; `DEPENDENCY_INSTALL_OPERATIONS`
353
+ gains `update` (§16.24.1, §16.30). `reloadSummary` reports dependencies installed but not applied
354
+ (`ReloadCounts.unappliedDependencies`; §16.12 item 1).
355
+ - `synced/` and `.trash/` stay under `~/.claude/plugins` when `CLAUDE_CODE_PLUGIN_CACHE_DIR` moves
356
+ the plugins root (§16.6).
357
+ - A bare source name under a `metadata.pluginRoot` that leaves the marketplace also reports why it
358
+ cannot resolve (J15.6).
359
+
360
+ ### CLI and validator
361
+
362
+ - `renderCommand(output, { terminal: true })` and `shellInstallLines` print success lines as a
363
+ 2.1.330 terminal does (`Installed plugin: ...`, `Added marketplace: ...` and the rest); piped
364
+ output and the `--json` `message` keep `Successfully ...` (§17.2.1, J17.33).
365
+ - New `planRestoreSetAside` for `claude plugin restore-set-aside <plugin>@<marketplace>
366
+ [--discard]`, in `COMMAND_TABLE` (§17.10.1, J17.34), and `concludeCommandInstall` for the end of
367
+ an install whose entry runs a command: `commandPrinted`, and `commandFailed` with `failureCode:
368
+ "command_failed"` (§17.2.2).
369
+ - `planMarketplaceList` prints a directory source as `Source: Folder (<path>)` (J17.18).
370
+ - `claude plugin validate` lists after a plugin's findings what it provides and the hosts it can
371
+ reach (`pluginProvides`, `pluginHosts`, `validationLists`, `validationListLines`, `provides` and
372
+ `hosts` in `validationJson`; §17.13.4, J17.36). It checks `engines["claude-code"]` and warns
373
+ about a malformed `engines` or `network` and the deprecated `agent` and `subagentStatusLine`
374
+ plugin defaults (§2.4, J2.9). On a marketplace it reads the hooks files of the plugins it lists by
375
+ relative path (§17.13.3, J17.35).
376
+ - `validateMod` prints `wasm <path>: <n> bytes, sha256 <hex>` and the file's imports and exports;
377
+ its `--json` result carries `wasm` and `modules` (§10.4.3). It marks a hook on another mod's
378
+ controls that leaves out a default matcher key with ` (default matcher key: plugin, component)`
379
+ and lists `tool.run` and `tool.judge` as gating hooks.
380
+
381
+ ### Testing kit
382
+
383
+ - `expect` offers every check of the declarations' `Matchers` (`toStrictEqual`, `toHaveLength`,
384
+ `toHaveProperty`, `toThrow` by class or message and the rest), `.resolves`, `.rejects`, a leading
385
+ message, and `expect.any`, `anything`, `stringContaining`, `stringMatching`, `objectContaining`
386
+ and `arrayContaining` (§10.12).
387
+ - A mount whose `ui.render` hook returns `next(e)` succeeds without a stub: `next(e)` answers Claude
388
+ Code's own drawing (before, it failed `no implementation for ui.render`). A mounted drawing's
389
+ `keepsBeneath()` says whether the tree holds what `next(e)` answered.
390
+
391
+ ## [0.2.0] - 2026-11-23
392
+
393
+ - The kit follows Agent Plugins Extended `0ed968b`, where the 48 disagreements its judgments
394
+ listed are settled (the spec's own ledger `v16-disagreements`); `spec/judgments.md` has none left.
395
+ What changed in behaviour:
396
+ - A `PostToolUse` `updatedToolOutput` is checked against every built-in tool's output type in
397
+ `sdk-tools.d.ts`, Read, Edit, Write and the rest included, every nested field (J7.138); the
398
+ shapes are written by the new `scripts/tool-output-shapes.ts`, and `CHECKED_TOOL_OUTPUTS` lists
399
+ the 43 tools. A tool without an output type still passes unchecked.
400
+ - A mod's matcher takes an object as a partial of an object field, and a value against an array
401
+ field holds when some element matches (§10.13.3); a non-RegExp object is no longer an issue.
402
+ - All `session.end` hooks share a clock that starts when the settings hooks finish and never
403
+ stops: a hook waiting on a `$` call when it runs out is skipped (§10.11).
404
+ - Registration refuses a non-generator hook on a streaming event with the static analysis's
405
+ message (`the hook on "turn.step" is not an async generator: ...`), and `$` passed to a function
406
+ the scan cannot follow fails with `$ itself is bound to a name ...` (§10.4.2, J10.2).
407
+ - The guard's two deny-rule messages end with `(allowModsToOverrideDenyRules)` (§10.42.2).
408
+ - The read block refuses an `LSP` call whose `filePath` is outside the working directories
409
+ (§13.12.2).
410
+ - `baselineDecision` asks for a read outside the working directories in `default`,
411
+ `acceptEdits`, `plan` and `auto` (§13.1, §13.9.4).
412
+ - An `npm` entry of `strictKnownMarketplaces` or `blockedMarketplaces` matches nothing (§14.8.3).
413
+ - `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` is on for any on spelling (`true`, `yes`, `on`; J3.16).
414
+ - A manifest `.json` MCP file that is missing draws no load issue; the validator still reports it
415
+ (§8.1 item 5).
416
+ - An install whose dependency has a `command` source or a `headersHelper` is refused until the
417
+ user installs that dependency by itself, as well as listing it in `leftOut` (§16.24).
418
+ - `claude plugin install`, `uninstall` and `update` refuse with `failureCode:
419
+ "install_records_unreadable"` while the new `unreadableRecords` fact is set (§16.6.2).
420
+ - `CLAUDE_CODE_SUBAGENT_MODEL` alone no longer moves the built-in Explore or Plan; with
421
+ `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` it does (§5.8.2).
422
+ - An invalid `--agents` value loads no agent at all, as Claude Code exits (§5.5.1).
423
+
424
+ - **Breaking (repository):** the library follows Agent Plugins Extended
425
+ (https://github.com/localixai/agent-plugins-extended), which mines Claude Code, and syncs from it.
426
+ `spec/` is the spec's `extend/conformance/` files at the commit `spec/SOURCE.json` pins
427
+ (`d215c3a`, Claude Code 2.1.321), with each file's SHA-256. New `bun run spec:sync [ref]` copies
428
+ them from the checkout beside this one or from GitHub (`git`, then `gh`); `check:spec` fails on a
429
+ hand edit, a stale copy, or an Agent SDK of another release. The mining scripts are gone from
430
+ here: `docs:pull`, `types:pull`, `types:extract`, `spec:extract`, `corpus:fetch` and the corpus
431
+ oracle runs. `bun run corpus` and `corpus:load` read the verdicts the spec recorded, from
432
+ `CORPUS_DIR` or the spec checkout's `extend/.cache/corpus`. The package's API is unchanged.
433
+ - **Repository:** no script here starts Claude Code any more. The spec runs it on fixtures and on
434
+ the corpus (`bun run oracle:record` in agent-plugins-extended) and records what it did; the
435
+ fixtures and their outcomes moved there and arrive in `spec/oracle/` through `bun run spec:sync`,
436
+ which now syncs whole folders (symbolic links kept). `oracle:runtime`, `oracle:settings`,
437
+ `corpus:runtime` and `bench:validate` compare the kit with the recorded outcomes;
438
+ `oracle:subprocess-scrub`, `oracle:remote-mcp-env`, `oracle:headers-helper-env` and
439
+ `oracle:model-content` are gone (their tests compare in `bun test`). `check:spec` SP5 checks
440
+ `tests/support/tool-table.ts` against the spec's `spec/tools-table.json` again.
441
+ - The converter's hook adapter derives profiles as `hooks/core` does (J18.16, J18.21): a text `Read`
442
+ gets no profile (no more `cat -n` numbering), a completed command with `returnCodeInterpretation`
443
+ gets none, and an MCP name with `__` more than once after `mcp__` gets none. It fires core
444
+ `UserPromptSubmit` on `system` and source-less turns and skips only `loop_wakeup` and
445
+ `schedule_wakeup` (J18.23); `coreToClaudeCode` lists each adapted `UserPromptSubmit` handler as
446
+ `not-converted` (it also runs on task notifications and automatic continuations).
447
+ - A failed core handler's notice labels it by `command` and `args` as written in `hooks.json`
448
+ (J18.22). `loadPluginPackage` given a core package's marketplace `entry` reports each component
449
+ field and `strict: false` as an error and loads the package from its own files (J18.15).
450
+ - New `matchClaudeAiMarketplace(list, entry)`: the policy facts of a marketplace hosted on claude.ai
451
+ (host `claude.ai`, a kind of its own), which only a `hostPattern` names; `checkClaudeAi` uses it.
452
+ - `--mcp-config`'s wait reads `MCP_TIMEOUT` as a positive whole number (`2e3`, `64_000`; J3.17).
453
+ - Six more numeric variables read scientific notation and digit separators (`2e3`, `64_000`; J3.17):
454
+ `MCP_TIMEOUT` in an `mcp_tool` hook's wait, `CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS`,
455
+ `MAX_STRUCTURED_OUTPUT_RETRIES` and `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS` as positive whole
456
+ numbers, `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` and the self-hosted `CLAUDE_CODE_MCP_STARTUP_WAIT_MS`
457
+ as whole numbers where `0` keeps its meaning (no cap, no wait). Surrounding white space no longer
458
+ passes in the first three.
459
+ - `validateMod` prints a refusal of the §10.4.2 rules at `modules.<entry>` as `<plugin>: <absolute
460
+ file>:<line>: <message>; $ is always spelled ...` (J10.2), from the new `ValidateInput.root`;
461
+ `ModScanIssue` carries `rule` and `line`.
462
+
463
+ - Core handlers follow Agent Plugins Extended chapter 18 as settled on 2026-11-17 (J18.7, J18.16,
464
+ J18.21, J18.22). `CoreCallFacts.externalSubmission` is replaced by `turnOrigin` (`external` or
465
+ `client`): a `UserPromptSubmit` turn whose `source` is `system` is classified by the origin the
466
+ host gives, and with a core `UserPromptSubmit` handler the dispatch throws without it instead of
467
+ skipping the turn. `file.read` text is `readText` exactly, and a read without it gets no profile
468
+ (no more `cat -n` numbering of `file.content`). An MCP call gets no profile without
469
+ `mcpToolName` when the text after `mcp__` holds `__` more than once, and a completed command with
470
+ `returnCodeInterpretation` gets none without the host's `exitCode`. A failed core handler's notice
471
+ carries a Claude Code exec-form hook's cause (`Failed with non-blocking status code: <first stderr
472
+ line>`, the launch error, `timed out`, on `UserPromptSubmit` `timed out after 30s; the hook's
473
+ output was discarded`); several core reasons join by one newline with empty ones left out.
474
+
475
+ - Conversion between the two plugin forms (Agent Plugins Extended §18.4), from `./core`:
476
+ `coreToClaudeCode` and `claudeCodeToCore` are pure over a loaded package or plugin and return the
477
+ files to write beside it (a dual package) with a note for every field, entry, file and behaviour
478
+ not carried over (`not-converted`), carried with a difference (`reported`) or stopping the
479
+ conversion (`stopped`); `convertPluginPackage` converts a root through the files port, loads a core
480
+ package with every extension namespace it carries, reports what the source loader skipped, refuses
481
+ to overwrite a file, and judges the output with `claude plugin validate` or the core loader before
482
+ a host writes it. Names are never changed (a name the target refuses stops); MCP servers follow
483
+ §18.3.3 with the environment bridged (J18.18); hook handlers convert only through a generated hook
484
+ adapter (`hooks/run-core-handler.mjs`, `hooks/run-claude-code-handler.mjs`, Node.js), which
485
+ translates inputs, tool profiles, results and exit statuses by §18.2 (J18.17) and which a converter
486
+ unwraps when it converts back, so the §18.3.5 example round-trips.
487
+ - New subpath `./core`: the core Agent Plugins form (Agent Plugins 1.1.0). `detectPluginForm`
488
+ decides a root's form by Agent Plugins Extended §1.3 (a dual package is a Claude Code plugin,
489
+ J1.1, J1.2); `loadPluginPackage` then loads it by `loadPlugin`, unchanged, or by the new
490
+ `loadCorePackage`, which implements core §4–§10: the closed manifest (unknown fields warned and
491
+ ignored, other violations fatal), `$schema` selection and the version match of `mcp.json` and
492
+ `hooks.json`, name and metadata rules, fixed locations, skills by Agent Skills, the three closed
493
+ MCP variants with command, `cwd`, `url` and header rules, the five hook events and closed
494
+ handlers, containment with the narrowest failure boundary, extension data and directories, icon
495
+ candidates. `coreServerProcess`, `coreHandlerProcess` and `coreEnvironment` give what a host
496
+ launches (`${PLUGIN_ROOT}`/`${PLUGIN_DATA}` in one non-recursive pass, `PLUGIN_ROOT` and
497
+ `PLUGIN_DATA` set last). `checkDualPackage` reports what of a dual package's manifests loads in one
498
+ form only (§18.3.1).
499
+ - Sessions run core packages beside Claude Code plugins (Agent Plugins Extended §18.1, §18.2):
500
+ `PluginHostOptions.corePackages`, `SessionOptions.corePackages` and `HostUpdate.corePackages`
501
+ take `HostCorePackage`s, plugins by id to settings, policy, conflicts and dependencies
502
+ (`HostedPlugin.core`). Their skills are `/<name>:<directory>` plugin skills that are never
503
+ expanded (arguments appended); their servers resolve under `plugin:<name>:<server>` with
504
+ `PLUGIN_ROOT`/`PLUGIN_DATA` and no `CLAUDE_PLUGIN_*` (`ResolvedMcpServer.core`); their handlers
505
+ run on the same occurrence as Claude Code's hooks (`SessionStart` on startup, clear and fork;
506
+ `UserPromptSubmit` for external prompts; `PostToolUse` also on non-interrupt failures; `Stop`),
507
+ with the core input and tool profiles, Claude Code first on `PreToolUse`, results combined
508
+ `deny` > `defer` > `ask` > `allow`, one Stop continuation under one cap, and a failed core handler
509
+ never blocking. `SessionDispatchOptions.core` (`CoreCallFacts`) gives what only the host knows.
510
+ - `readCoreHooks` returns each kept handler's index in the file (`positions`), so a handler a
511
+ later check skips is named `hooks.<Event>[i]` by its own index, not by its place among the
512
+ handlers kept before it.
513
+ - The hooks engine names the event in `<Event> hook needs quotes around a path with a space
514
+ (<script>)`: a command hook's plan passes its event to `resolveHookCommand`, the skipped run
515
+ carries the line (`SkippedRun.notice`) and the handler's verdict hands it on as its `notice`
516
+ (errors.md, "Hook needs quotes around a path with a space"; spec §17.18.8).
517
+
518
+ - Format, loading, skills and agents follow Agent Plugins Extended chapters 2–6, 8, 9 and 17 where
519
+ they did not: a manifest that is not JSON is `Invalid JSON syntax: <parse error>.` with its period;
520
+ `<component> path not found` names the absolute path when the host passes `roots` (§2.5); in a
521
+ folder without a manifest a `.claude/agents/` agent's frontmatter is read, with `At runtime this
522
+ agent does not load at all — ...` (J2.4); `support` and `privacy_policy` draw the many-tools
523
+ warning (J2.7); a list or map output style `name` reads as `a,b` / `[object Object]` (J6.2);
524
+ numeric variables read `2e3` and `64_000` (new `env-number`, J3.17); the four "set to 1"
525
+ variables (`CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD`, `CLAUDE_CODE_SAFE_MODE`,
526
+ `CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`, `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`) take every on spelling
527
+ (J3.16); `uninstallRetention` takes `caseInsensitiveFileSystem` (J3.19); `ESTALE` is reported as
528
+ `EIO` (`reportedCheckCode`, J17.29); the cross-check parse warning names the entry's
529
+ root-relative `plugin.json`.
530
+ - MCP: a user server named `workspace`, `claude-in-chrome`, `computer-use`, `Claude Preview` or
531
+ `Claude Browser` is skipped with `"<name>" is a reserved MCP server name and was not loaded`
532
+ (`RESERVED_MCP_SERVER_NAMES`); `McpConnection.bareElicitationCapability` offers form mode only;
533
+ `registersAsChannel` keeps a v2 server on revision 2026-07-28 from registering as a channel; the
534
+ validator does not read an MCP file past 1,048,576 bytes (J8.27); a stdio server's
535
+ `ResolvedMcpServer.start` runs through `CLAUDE_CODE_SHELL_PREFIX` with the POSIX-quoted command
536
+ line (`mcpStdioStart`, `shellPrefixed`, `posixQuote`, J8.26).
537
+ - New: `outputStyleCommand` with the Remote Control and no-`local`-source refusals;
538
+ `pathEscapesInList` (`Path escapes plugin directory: <path> (<component>)`); an `asyncRewake`
539
+ shell-form hook with an unquoted path placeholder that resolves to a path with a space does not
540
+ run, `HookCommandResolution.notice` carrying `<Event> hook needs quotes around a path with a
541
+ space (<script>)` (`HookCommandOptions.event`); `forkModeOn` and `BackgroundInput.interactive` /
542
+ `forkSubagent` (`CLAUDE_CODE_FORK_SUBAGENT`), `agentTeamsOn`
543
+ (`CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`), `teammateSetup` and `restoreTeammate` (agent-teams.md).
544
+
545
+ - The mod validator's results all carry `gatingHooks` (`[]` when the file gates nothing): the
546
+ manifest, a `hooks.json` with issues and a module that cannot be read (J17.15).
547
+ `FileReport.gatingHooks` is required.
548
+ - `remote-settings.json` is protected only in the configuration directory: a file of that name in a
549
+ project is an ordinary write (§13.10).
550
+ - `untrustedSourceMessage(name, source?)` takes the source: for one that is not GitHub or git the
551
+ middle sentence reads `The name can only be used with GitHub sources from the 'anthropics'
552
+ organization.`; `untrustedSource` passes the entry's (§13.20 item 2).
553
+ - `SandboxBlock.denyWrite`: `hooks/` and `config` inside a linked worktree's common `.git` stay
554
+ write-denied to sandboxed commands (§13.12 item 4).
555
+ - `grantsFocus` in the VS Code panel keeps the terminal's rule as well (a command or a press,
556
+ nothing else focused), then adds the panel's (§10.27.1 item 2).
557
+ - The scan says `$ itself is bound to a name (bound, passed, spread, returned or read)` and `a
558
+ computed or optional member access on $`, Claude Code 2.1.325's words (J10.2).
559
+ - A `PreModelSwitch` hook that times out blocks with `PreModelSwitch hook <name> did not respond
560
+ before its timeout`; `MODEL_SWITCH_REASONS`, `cannotAskReason`, `managedHooksUncheckedReason` and
561
+ `modelSwitchBlocked` give the other reasons and the report line (§7.5.33).
562
+ - `CLAUDE_CODE_SHELL_PREFIX` wraps a shell-form Bash command hook as `<prefix> '<command>'`;
563
+ exec-form and PowerShell hooks run without it (§7.3.2.3 item 5, J7.66).
564
+ - The hooks-file validator refuses a `PreToolUse` or `PermissionRequest` key beside a `hooks`
565
+ object, as without one (oracle 2.1.325, J7.20).
566
+ - `decide`: `ModOutcome.overridesDenyRules` (`allowModsToOverrideDenyRules`) lifts, under policy,
567
+ the rules' outcomes, the read block and a hook's outside managed settings;
568
+ `PreToolUseHookOutcome.managed` marks a managed hook's block or ask, which no mod lifts; the
569
+ permission callback stays (§14.9.6, J14.14).
570
+ - `backgroundSessionTrust`: before a background session starts, `start`, the trust dialog, or
571
+ `Workspace not trusted. ...` and its two variants (§13.15 item 4).
572
+ - `claude plugin validate` of a mod lists `adds to $:` and `withholds from $:` for an
573
+ `engine.create` hook in the form oracle 2.1.325 reads (§10.4.3).
574
+ - `session.takeBackground()` and `onBackground` skip an async `SessionStart` hook's repeat of what
575
+ the session last handed on from it, unless a synchronous `SessionStart` hook added text since;
576
+ after a `compact` or `clear` start it delivers again (§7.3.3 item 7).
577
+
578
+ - `--mcp-config` with `-p`: a remote server whose tool list the discovery cache holds
579
+ (`FlagFacts.cachedToolLists`) skips the first-turn wait (`SessionPlan.mcpWaitSkips`); in a
580
+ self-hosted environment (`FlagFacts.selfHosted`) the wait is 2 seconds, or
581
+ `CLAUDE_CODE_MCP_STARTUP_WAIT_MS`, and covers stdio servers only (§17.15.3).
582
+ - The sandbox lock warning reads `The <N> entries in <file>` for every count, as §17.21 quotes it
583
+ (its row in `spec/judgments.md` changed).
584
+ - `MarketplaceGate.checkClaudeAi(name, scope)`: a marketplace hosted on claude.ai is matched by its
585
+ host; an allowlist `hostPattern` for `claude.ai` admits the organization's and default ones, not a
586
+ member's uploads or one of unstated scope (§15.8.1, §14.8.3).
587
+ - `initPluginFields` and `pluginInstallEvents`: the `plugins` / `plugin_errors` fields of
588
+ `system/init` and the `system/plugin_install` events, for a host to emit (§17.15.2). New official
589
+ types `InitPluginFields`, `SDKPluginInstallMessage`.
590
+ - `planRemotePlugins`: which plugins an SSH session's remote machine gets copied to
591
+ `~/.claude/remote/plugins/`, which a Windows one leaves out, and none for WSL (§16.5.6 item 5).
592
+ - `backgroundSessionFlags`, `agentViewFlags` and `planBackgrounding`: the flags a background session
593
+ and agent view keep, and which running work carries, waits for a relaunch or stops (§17.15.1
594
+ item 6).
595
+
596
+ - **BREAKING** A monitor `command` is pasted by default: its `${CLAUDE_PLUGIN_ROOT}`,
597
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` are written in as paths and none is in
598
+ `ResolvedMonitor.environment` or `MonitorStart.env`, referenced or not (Agent Plugins Extended
599
+ §9.2.4, J9.17). `shellPaths: 'environment-reference'` is the explicit opt-in for the reference
600
+ form; a `headersHelper` and a skill's `!` command keep the reference by default.
601
+ `shellPathsOf` takes the surface, and `shellExports` takes it first.
602
+ - **BREAKING** Only `remote-settings.json` of the configuration directory and the files the host
603
+ names in `ProtectedPathOptions.remoteSettingsFiles` are protected as the stored server-managed
604
+ settings; other `remote-settings*` files are no longer guessed (J13.35).
605
+ - **BREAKING** `validationJson`: `notes` entries are plain strings (new `notes` input, by file),
606
+ and `GatingHook.pattern` is a non-null string, the pattern given to `on` (J17.15).
607
+ - Marketplace validation uses the specification's messages: a command over 500 characters is
608
+ `command must not be longer than the install consent UI can display` (before the printable-ASCII
609
+ message when both break), and an archive `url` that does not parse draws `Invalid URL` beside the
610
+ https message (§15.6.5, §15.6.6, J15.8). The bare `Invalid input` cases of §15.6.7 are tested.
611
+ - `MultiEdit` rules are tested as an unknown tool: `matches no tool`, and for a path rule the
612
+ file-permission warning too (J13.34). The registry order comment of `hookEntries` now says the
613
+ settings files come first, highest precedence first, then plugins, then what registers (J7.2);
614
+ the empty and missing LSP `command` cases of §9.1.3 are tested.
615
+
616
+ - Mods follow Agent Plugins Extended chapter 10 and §14.9 where they did not: a mod Claude wrote
617
+ loads in a non-interactive run in `auto` and `bypassPermissions` modes; a module that hooks
618
+ `engine.create` loads without a types file (J10.3); `telemetry.mark` events carry no `to`, so a
619
+ `{ to: 'collector' }` hook never runs on one (J10.20); `$.state.set` while a `ui.render` hook
620
+ draws is refused and nothing is written (J10.112); a `Raster`'s `cells` must decode to exactly
621
+ `columns × rows × 3` numbers (J10.105); the mobile app draws no `Client` (J10.104, `drawsElement`);
622
+ a backdrop's `glass` is `{ blur, tint, opacity }` with its defaults filled in, or `false`; past 50
623
+ toasts held behind a dialog the oldest leaves (J10.107); `e.uses.calls` is sorted; a managed-enabled
624
+ plugin that counts as a user's gets the debug line `<id> is enabled by managed settings, but ...`.
625
+ - `claude plugin test` and `claude plugin validate` use Claude Code 2.1.325's words (J10.2): the
626
+ turned-off and no-hooks-module lines (`allowManagedHooksOnly` turns mods off too), the rule
627
+ messages, `on` twice without a matcher and a non-generator streaming hook refused, an imported
628
+ file not named like code refused, `$.state.get`/`set` refs checked against the declarations, the
629
+ lines `answers its own command:`, `hooks telemetry for:`, `state of other plugins, not checked`,
630
+ `types <path> declares ...`, the telemetry events and gating globs. A `hooks.json` with neither
631
+ `hooks` nor `modules` fails (J10.174). `--json` errors and warnings are `{ path, message }`
632
+ (`ReportEntry`, J17.15) and a gating hook's `pattern` is the event as `on` was given it. The debug
633
+ log gets `a hook returned a tree that does not validate: <reason>` and `ui.render (<site>): the
634
+ chain settled on a tree that does not validate`.
635
+ - Format and loading follow Agent Plugins Extended chapters 1–3, 6, 9 and 12.6 where they did not:
636
+ an inline `lspServers` map or monitors array with an unknown key or a bad value keeps the plugin
637
+ from loading, and `validatePlugin` reports each entry problem in the oracle's words
638
+ (`lspServers.go: Unrecognized key: "foo"`, `Command should not contain spaces. Use args array for
639
+ arguments.`, `Monitor names must be unique within a plugin`, the two `when` messages); a monitors
640
+ file with an invalid entry is skipped whole (J9.5, J9.7). `LSP_TRANSPORTS` moves to the LSP schema
641
+ module (same export).
642
+ - `userConfig` `options` get the full rule table with the oracle's messages and paths: a non-empty
643
+ list, values of 1 to 64 code points, no edge space, no control, invisible or bidi character, no
644
+ repeat in any case (J3.10).
645
+ - Output styles are read from the subfolders of `output-styles/` (J6.4); of two styles of one plugin
646
+ with one name only the last by path is kept (J6.7); the `/output-style` list shows the first body
647
+ line of a style without `description` (J6.3). A marketplace entry's `themes` join
648
+ `experimental.themes` when plugin.json uses it.
649
+ - A `hooks/hooks.json` that opens with a byte order mark loads no hooks (J2.3). A plugin's
650
+ `settings.json` that is not JSON or not an object is a warning (J12.10).
651
+ - Path messages: a declared path that is not there carries `PluginIssue.guidance`; the commands
652
+ debug line ends `: <path>. Expected .md files or SKILL.md in subdirectories.`; a backslash path
653
+ adds `— its path contains a backslash, which is not resolved reliably on this platform`; a
654
+ missing LSP binary is `Executable not found in $PATH: "<binary>"`.
655
+ - The `PluginFiles` port gains its error channel, `FileStat.checkFailed` (and `{ checkFailed }` in
656
+ `memoryFiles`): a path the system could not check is refused as `<component> path could not be
657
+ checked: <path> (<code>)` while the rest loads.
658
+ - Every on/off variable is read with the shared spellings (`1`, `true`, `yes`, `on`, any case):
659
+ `CLAUDE_CODE_SYNC_PLUGIN_INSTALL`, `CLAUDE_CODE_PLUGIN_PREFER_HTTPS`, `DO_NOT_TRACK`,
660
+ `CLAUDE_CODE_DISABLE_WORKFLOWS` and the rest (J3.16); `CLAUDE_CODE_PLUGIN_DIR_WATCH=0` turns
661
+ watching off in an interactive session too; a relative `CLAUDE_CODE_PLUGIN_DIRS` entry is skipped.
662
+ - On Windows a Git Bash hook gets the path variables with forward slashes in its environment (J3.6);
663
+ under `CLAUDE_CODE_MCP_ALLOWLIST_ENV` a stdio server keeps the plugin's exported variables
664
+ (`McpStdioEnvironmentInput.exported`, J3.22); the unquoted-placeholder warning names the
665
+ placeholders in order of appearance (J3.20).
666
+ - Validator frontmatter findings of §4.10 and §5.4.4: wrong-type `description`, an `allowed-tools`
667
+ list with a non-string, both `shell` errors, `metadata` on commands, a list `name` as `object`;
668
+ agents get only `name` and `description`. A command name over 256 characters is refused; an empty
669
+ agent `model` is dropped with a warning.
670
+ - A plugin whose own folder cannot be checked loads nothing (`plugin path could not be checked: .
671
+ (<code>)`); a `.claude-plugin/plugin.json` that cannot be checked, or (with `roots`) resolves
672
+ outside the plugin and its marketplace, loads nothing either: `Plugin not loaded: its manifest
673
+ <path> was not read, because <reason>` (spec §17.18.3, §17.18.5). A root `SKILL.md` that cannot be
674
+ checked is reported as `skills path could not be checked: SKILL.md (<code>)`.
675
+ - A `Read(...)` deny or ask rule is matched against an LSP call's `filePath`, a relative one against
676
+ the working directory, for every operation (spec §7.6.6, J7.210); an LSP call without `filePath`
677
+ is still covered whole.
678
+ - An option with only a `default` is not set (spec §3.4.4): the configuration dialog opens for it,
679
+ `plugin configure` lists it as `not set` and under `unconfigured`, and the install line counts it.
680
+ - `validatePlugin` reports no error for a remote MCP `url` written empty, a `not configured`
681
+ placeholder (spec §8.2).
682
+ - MCP: an `oauth` field of the wrong type or a non-https `authServerMetadataUrl` drops the entry and
683
+ is reported (J8.3); a remote entry whose `url` is written empty is a `not configured` placeholder
684
+ (`notConfigured`), not an error; `McpStartupServer.transport` limits `cached` to `http` and `sse`.
685
+
686
+ - Hooks follow Agent Plugins Extended chapter 7 where they did not: registry order is the settings
687
+ files' hooks, then the plugins' (J7.2); of several `WorktreeCreate` hooks the last answer in
688
+ handler order is the path, an HTTP `worktreePath` and a command hook's stdout alike (J7.143); a
689
+ relative `watchPaths` entry is resolved against the input's `cwd` (J7.131); only a hook that
690
+ itself blocks can set `suppressOriginalPrompt` (J7.144).
691
+ - A hook run reports the debug lines the docs quote as warnings: `Hook output does not start with
692
+ {, treating as plain text`, `Hook JSON output had unrecognized keys: <keys>`
693
+ (`ParseResult.unrecognizedKeys`), and a dropped async response field (`BackgroundDelivery.issues`).
694
+ - `outcome.runs` and `observer.finished` carry each run's `RunFacts`: matched value, handler label,
695
+ plugin, `RunEnding`, exit code, the timeout reached and the duration by the engine's `clock`.
696
+ - `hipaa` (`subprocessEnvironment`, `HookEngineOptions`, the host options) removes
697
+ `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` and `CLAUDE_CODE_OAUTH_TOKEN` from hooks and other
698
+ subprocesses under the HIPAA configuration.
699
+ - An unknown key of a hook matcher group or handler, or another handler type's field, is dropped
700
+ without a warning (J7.10).
701
+
702
+ - `ruleWarnings` returns the startup warnings of a rule list as values (`RuleWarning`: the rule as
703
+ written, its behaviour, source, kind and, for `never matches`, the replacement rule); a `Write`,
704
+ `NotebookEdit`, `MultiEdit` or `Glob` path rule now draws the `never matches` warning from every
705
+ source (a `Glob` allow rule of `--allowedTools` excepted), and `ruleIssues` reports it as
706
+ `Permission <behavior> rule (<source>): <rule> is not matched by file permission checks — …`.
707
+ - A `.claude/settings.local.json` outside a git repository counts as repository settings for the
708
+ read and write blocks: its `additionalDirectories` no longer let a file tool through. The new
709
+ `PolicyContext.localSettingsInRepository` says the file is in one (default `false`).
710
+ - `sandboxReadBlock` returns what the block re-opens (`reopened`, from the new
711
+ `SandboxBlockInput.reopened`) and, in a linked git worktree (`worktreeCommonGitDir`), the
712
+ repository's common `.git` as readable and writable (`readWrite`).
713
+ - `startupFetchFailure` says what a failed startup fetch of server-managed settings does: a gateway
714
+ `401` on an attended interactive launch with `forceRemoteSettingsRefresh` off prints
715
+ `Cloud gateway session expired — run /login to reconnect.` and opens signed out; any other gateway
716
+ failure exits.
717
+ - A managed drop-in merge keeps each list entry at its first occurrence in file order
718
+ (`managed-settings.json`, then the drop-ins alphabetically); it used to put the later file's
719
+ entries first.
720
+ - `officialMarketplaceRegistration` decides whether the official marketplace registers itself:
721
+ at the first interactive terminal session only, never in `-p`, a cloud-attached terminal or the
722
+ VS Code extension, and never again after a recorded blocked attempt or the opt-out variable.
723
+
724
+ - `plugin uninstall` that stops because a settings file still switches the plugin on prints the
725
+ documented text (`it is still switched on in <file>, although the settings change reported no
726
+ error. It is still installed. Take it out of "enabledPlugins" in that file yourself, then
727
+ uninstall it again.`) and its variants: `and the settings change failed (<error>)`, `<file> is
728
+ there and could not be read`, `<file> (not read: ...)`. **BREAKING** `AfterRemoval.settingsStillOn`
729
+ is a `StillSwitchedOn` (`{ file, cause }`), no longer the file alone.
730
+ - `plugin install --marketplace <source>` whose catalog is named after a marketplace added from
731
+ another source (`InstallFound.addedMarketplace.existingSource`) installs nothing, keeps the
732
+ existing marketplace and fails with `Marketplace "<name>" is already added from a different
733
+ source (<source>). ...` (`invalid_source`).
734
+ - `plugin list --json` leaves `installPath` out for a plugin loaded in place, which carries
735
+ `readFromFolder` (`ListedPlugin.installPath` is optional); the text form shows a session-only
736
+ plugin as `Path: <dir>` and `Status: ✔ loaded`.
737
+ - `plugin details` gives each kind its count: `Skills (2) a, b`, `Agents (0)`.
738
+ - A README line pasted with `--marketplace <owner>/<repo>` unchanged no longer clears the advice.
739
+ - `validate` reports a remote MCP `url` that is not a valid absolute URL (an error), a `ws://` URL
740
+ to a host that is not loopback and a header value that looks like a literal credential (warnings),
741
+ in `.mcp.json` and inline `mcpServers`.
742
+ - `validationJson` gives every file result `gatingHooks` (`GatingHook`: `module`, `pattern`,
743
+ `hook`, `hasCatch`), from the new `gatingHooks` input by file; `ValidationEntry` names the
744
+ `{ path, message }` entry.
745
+ - `marketplace remove` without `--scope` refuses a seed marketplace (`RemoveFacts.seeded`), naming
746
+ the seed directory (`seed_managed`).
747
+ - `marketplace add` reports how many LFS files a clone left as pointer files
748
+ (`AddFetched.lfsPointers`); `lfsPointerLine(count)` is the line, for `marketplace update` too.
749
+ - Marketplace validation names the field that breaks its rule, in the oracle's wording:
750
+ `source.sha: Must be a full 40-character lowercase git commit SHA` (after `Too small`/`Too big`
751
+ for another length), `source.sha256: Must be a 64-character hex SHA-256 digest`,
752
+ `source.timeout: Too small: expected number to be >0` / `Too big: expected number to be <=600`,
753
+ and an archive `source.url` that is not https or names a loopback, link-local or cloud-metadata
754
+ host: `Archive URLs must use https:// and must not point at a loopback, link-local, or
755
+ cloud-metadata host`. A non-ASCII command or a run of four spaces draws one message, `command
756
+ must be printable ASCII (letters, digits, punctuation, single spaces) with no runs of 4 or more
757
+ spaces`. `isBlockedHost` moves to `format/marketplace` (still exported from the marketplace entry).
758
+ - A `relevance.signals.hosts` entry must be lower-case letters, digits, `.` and `-`: an upper-case
759
+ host now invalidates the entry, with `must be a lowercase bare hostname (no scheme, port, or
760
+ path)`.
761
+ - A backslash after `./` in a relative source is no longer reported by `validate`; loading refuses
762
+ it with `Plugin source path refused: <path> does not stay inside its marketplace directory. ...`.
763
+ A bare name under a `pluginRoot` that climbs out or is absolute fails as `Invalid string: must
764
+ start with "./"`.
765
+ - `renames` chains that do not resolve give the reason `target-missing` or `cycle`; a target that
766
+ breaks the id grammar is `target-missing`, and a target that is itself a key is followed.
767
+ - `validate` reports `npm`, `pip`, `uv`, `cargo`, `github` and `gh` in lower case only; adding or
768
+ loading refuses every other casing. `claude-plugin-test` is `reserved for plugins loaded by claude
769
+ plugin test`.
770
+ - `refusedMarketplaceName(name, source)`: a registered marketplace whose name imitates an official
771
+ one stops loading, with `Claude Code refuses the marketplace name "<name>"` on each plugin, the
772
+ marketplace's own `Claude Code refuses this marketplace's name: it looks like one of Anthropic's
773
+ own`, and for a `settings` source the steps that keep it.
774
+ - `marketplace add` refuses an empty `#ref` on a git URL, an SSH address or shorthand with `Invalid
775
+ marketplace source format...`.
776
+ - **BREAKING** `@rsaryev/llx-plugin` → `@localix-ai/agent-plugins`. The project is renamed
777
+ `agent-plugins` and moves to the Localix Lab organisation: the package is
778
+ `@localix-ai/agent-plugins`, the repository `github.com/localixai/agent-plugins`, and the source
779
+ export condition `agent-plugins-source` (was `llx-plugin-source`). Import from the new name; the
780
+ subpaths are unchanged.
781
+ - **BREAKING** `afterBackgroundCheck(result, env, checkoutHoldsCatalog)`:
782
+ `CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1` keeps the checkout without a re-clone only when
783
+ it already contains `.claude-plugin/marketplace.json`; a marketplace never cloned, or cloned
784
+ partway, still gets the clone attempt.
785
+ - `clonePlan` carries `sshOptions`: the client's own `ssh` runs with `BatchMode=yes` and
786
+ `StrictHostKeyChecking=yes`; a user-named SSH program gets none added.
787
+ - The request-routing and client-identity header names dropped from an entry's `headers` are the
788
+ full set the validator warns for (`forwarded`, `x-real-ip`, `connection`, `via`, the `x-original-`
789
+ and `proxy-` prefixes and the rest), with `_` read as `-`, and the catalog validator, the archive
790
+ download and the settings-file filter share one copy.
791
+ - A `dependencies` string with two `@` and an object without `name` are `Invalid input` on the item,
792
+ in the manifest, the validator and `normalizeDependency`.
793
+ - **BREAKING** A disabled dependency is named as its entry declares it, a `--plugin-dir` copy too
794
+ (`Dependency "q2" is disabled — …`, never `q2@inline`); `InstalledDependency.id` is gone.
795
+ - An install of a relative entry from a marketplace added by URL is refused as `Cannot install <id>:
796
+ its marketplace entry path does not stay inside the marketplace directory (…)`, naming the plugin
797
+ given as `FetchPlanContext.pluginId`.
798
+ - `disableSideloadFlags`: the rejected flags are followed by `Plugins, custom agents, and MCP servers
799
+ can only be loaded from sources your administrator has approved.`, the Agent SDK `plugins` option
800
+ (`SideloadFacts.sdkPlugins`) is rejected too, and the CLI's `CLAUDE_CODE_PLUGIN_DIRS` refusal says
801
+ `: unset the variable` as the mods loader's does.
802
+
803
+ ### Fixed (security)
804
+
805
+ - A skill's frontmatter hooks now carry where the skill came from: a project skill's hooks wait
806
+ for workspace trust in an interactive session, a personal or project skill registers none under a
807
+ plugin-only lock on hooks, and a skill of the managed settings directory keeps its hooks under
808
+ `allowManagedHooksOnly` and that lock (hooks.md, "Hooks in skills and agents"). `HookPolicy.runs`
809
+ (`createHookPolicy`) now lets a managed-directory skill's or command's hooks run under
810
+ `allowManagedHooksOnly` too.
811
+ - A `PermissionRequest` hook's `setMode` to `bypassPermissions` is dropped from the session's
812
+ dispatch outcome unless bypass mode is available, and kept only in memory when it is
813
+ (`destination: "session"`); `permissionUpdatesInEffect` (`./rules`) applies the same rule for a
814
+ host. `--restricted` now leaves bypass out of `bypassAvailable` even with
815
+ `--allow-dangerously-skip-permissions`.
816
+ - `decide` denies a PowerShell `Remove-Item` on a system path or a wildcard, and `cmd` `rd`,
817
+ `rmdir`, `del` and `erase` on a system path, in every mode, `bypassPermissions` included (reason
818
+ `powershell-removal`; `DecideContext.powershellCmdRemovalDenyOff` for
819
+ `CLAUDE_CODE_DISABLE_POWERSHELL_CMD_RM_DENY`). A read of another organization's public artifact
820
+ (`DecideContext.foreignArtifact`) asks in every mode, auto included, and is denied in `dontAsk`
821
+ and `bypassPermissions` (reason `foreign-artifact`).
822
+ - The write block treats as settings files the files the session was started with (`--settings`,
823
+ `--agents`, `--mcp-config`), the stored server-managed settings and the files kept with it, and
824
+ any `.json` while `DecideContext.managedSettingsFolderUnresolved`; `writeBlockRefusal` and
825
+ `writeBlockShortRefusal` (`./rules`) give the refusals verbatim. The files kept beside
826
+ `remote-settings.json` in the configuration directory are protected paths
827
+ (`ProtectedPathOptions.remoteSettingsFiles` for others).
828
+ - Auto mode drops wildcarded `bash`, `sh` and `zsh` allow rules (and the legacy `:*` spelling of a
829
+ wildcarded interpreter), and sends a command carrying per-command allowed domains
830
+ (`PreparedCall.allowedDomains`) to the classifier even when an allow rule matches.
831
+ - `PermissionsPolicy.runningMode(current)` (`./settings`) moves a running auto session to `default`
832
+ with `auto mode disabled by settings` (`AUTO_MODE_DISABLED_NOTICE`) when managed settings set
833
+ `disableAutoMode`.
834
+ - The built-in mods guard turns a user's mod's approval of a call an `ask` rule covers into the
835
+ prompt (`decision: "ask"`) instead of a denial, and `allowModsToOverrideDenyRules` lets it past;
836
+ `ModsPolicyInput.managedMcp` makes a machine with only `managed-mcp.json` load the guard and close
837
+ the user's `prependPlugins` and `appendPlugins`.
838
+
839
+ ### Fixed (skills and agents)
840
+
841
+ - Outside a plugin a skill whose frontmatter `name` holds a character a command name can't hold
842
+ now loads under its folder name, with a warning, instead of being refused; a folder or frontmatter
843
+ `name` over 256 characters is refused the same way. A refused name's issue message is its
844
+ debug-log line, `[names] <name> is not offered` or `[names] <value> is not shown for <skill>`,
845
+ hidden characters spelled `\u{200B}` (errors.md, "Skill or command name refused").
846
+ - When a plugin named `anthropic-skills` and a synced skill share a name,
847
+ `/anthropic-skills:<name>` runs the synced skill (`skillLookup`).
848
+ - `scanSavedWorkflows` leaves out a workflow named `anthropic-skills` or `anthropic-skills:<name>`,
849
+ with an error at its file.
850
+
851
+ ## [0.1.1] - 2026-11-12
852
+
853
+ ### Added
854
+
855
+ #### format
856
+
857
+ - `customThemeId(slug, plugin?)` (`./format`) takes the plugin's name and writes
858
+ `custom:<plugin-name>:<slug>`, the preference `/theme` stores for a plugin's theme
859
+ (settings-reference.md, `theme`); `readThemeSetting` reads it back. Without `plugin` it is
860
+ `custom:<slug>` as before.
861
+ - `findOutputStyle(styles, argument)` (`./format`): the style the argument of `/output-style
862
+ <style>` names, a built-in or a custom one, without regard to case, or `undefined` when it names
863
+ none. `resolveOutputStyle` falls back to the setting and to Default, so it could not tell a host
864
+ that the argument matched nothing.
865
+
866
+ #### settings
867
+
868
+ - `subagentStatusLineInput(base, columns, tasks)`, `runSubagentStatusLine(line, { input, env },
869
+ runner, { signal })` and `readSubagentStatusRows(stdout, tasks)` (`./settings`), with the types
870
+ `SubagentStatusTask`, `SubagentStatusLineInput` and `SubagentStatusLineRun`: the run of the
871
+ `subagentStatusLine` that `session.subagentStatusLine()` selects (statusline.md, "Subagent status
872
+ lines"): the stdin object, one run through `CommandRunner`, and the rows it rewrote by task id
873
+ (`''` hides one). The refresh tick, the environment and drawing a row stay the host's. statusline.md
874
+ is outside the requirement set, so these are judgments (spec/judgments.md).
875
+
876
+ ## [0.1.0] - 2026-11-12
877
+
878
+ The first public release, on npm under the MIT license.
879
+
880
+ Grouped by area (format, settings, hooks, skills, agents, marketplace, mods, host, cli, and the
881
+ repository's own tooling). A **BREAKING** entry says what a host changes, old → new; it is listed
882
+ once, in Changed or Removed.
883
+
884
+ ### Added
885
+
886
+ #### format
887
+
888
+ - `writeFrontmatter(fields, body)` and `editFrontmatter(text, changes, body?)` (`./format`): the
889
+ inverse of `parseFrontmatter`, property-tested (2,000 seeded cases of every JSON value shape and
890
+ tricky text: reading back gives the same fields and body). An edit keeps a key's place, comments and
891
+ unknown keys, appends a new key, removes one with `undefined`, and refuses a block that does not
892
+ read (`FrontmatterEdit`). `renderSkillFile`, `renderCommandFile`, `renderAgentFile` write a file
893
+ from `SkillDraft` / `CommandDraft` / `AgentDraft` in the reference table's order; `readSkill`,
894
+ `readCommand` and `readAgent` read it back (judgment `frontmatterWriter`).
895
+ - Tests of the whole strict-mode table at `loadPlugin({ entry })`, and the evidence that Claude Code
896
+ merges the entry with `plugin.json` at load and writes no merged file (judgment `mergeAtLoad`).
897
+ - Resolved LSP servers, monitors and MCP servers (`ResolvedLspServer`, `ResolvedMonitor`,
898
+ `ResolvedMcpServer`, from `session.lspServers()`, `monitors()`, `mcpServers()`) carry
899
+ `pluginId: string`, the declaring plugin's id as the host names it, the same value as
900
+ `SessionSkill.source.pluginId`.
901
+ - `InvocableFrontmatter.frontmatter: Readonly<Record<string, unknown>>`: every skill and command
902
+ keeps its frontmatter as parsed, unknown keys included and values as written (`{}` when the YAML
903
+ does not parse); the kit gives no meaning to a key it does not know. `readInvocable` takes the keys
904
+ it leaves unread (`untaken`).
905
+ - `LoadPluginInput.entry?: MarketplaceEntry`: `loadPlugin` merges the marketplace entry with
906
+ `plugin.json` (`mergeEntryWithManifest`, `strict` included), so the entry's replaced hook events
907
+ and the default skills scan reach the load.
908
+ - `readMcpbOptions(block)`: a bundle's `user_config` block in the plugin option shape.
909
+ - `resolveMcpServers`, `resolveLspServers`, `resolveMonitors` and `ResolvedKind` (`./loading`), and
910
+ `NO_PROGRAM` and `onlyQuotedStrings`; `resolveHookCommand` takes `ofPlugin` and reports
911
+ `notStarted` for a command that names no program.
912
+ - `validate` checks a manifest's `userConfig` options (the option-key rule and the `options` list),
913
+ accepts `skills: "."` and an inline `experimental.monitors` array, and its `..` message names the
914
+ path.
915
+ - 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.
916
+ - `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.
917
+ - A `./layout` subpath exports the standard layout registry without importing the full host,
918
+ parsers or hook/mod engines. Small folder classifiers can depend on this boundary alone.
919
+ - `prepareSubstituter` and `prepareContentSubstitution`: synchronous substitution for a host
920
+ that reads a body lazily, with the path variables asked for once when it prepares.
921
+ - Repository plugins and workspace trust: `decideRepositoryPlugin` (the folder itself must be trusted;
922
+ a parent's trust and `-p` never suffice; `~/.claude/skills/` is exempt; the primary directory, a
923
+ worktree's main checkout and a managed block), `loadRepositoryPlugin` and its component limits (MCP
924
+ servers wait for per-server approval, bundles and files outside the directory are skipped, monitors do
925
+ not load), `contentGate` (the table of what runs before a folder is trusted), `workspaceTrustKey`,
926
+ `workspaceTrustState`, `settingsHooksMayRun`, `localSettingsVerdict`, `projectEntryApplies` and the
927
+ `WorkspaceTrust` port. The folder-is-a-plugin probe (`probeFolder`: `@skills-dir` needs a manifest,
928
+ `--plugin-dir` does not), `planPluginScaffold` (`claude plugin init`) and `pluginDebugSteps`. An inline
929
+ (`settings`) marketplace on `strictKnownMarketplaces` now needs identical `plugins` as well as the name.
930
+ - `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`.
931
+ - `readsAsEmptyInRemoteMcp(name)`: whether a remote MCP server's `url` or `headers` reads `${name}` as empty, for a host that expands its own MCP configs.
932
+ - `classifyPluginFolder`: whether a `--plugin-dir` folder is one plugin or a folder of plugins,
933
+ with the edges Claude Code 2.1.319 applies.
934
+ - MCP startup and call-timing variables, pure over an environment lookup: `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`
935
+ (`McpTimeouts.idleMs`: 5 minutes for network servers, 30 for stdio, `0` off, raised to one second,
936
+ capped at the tool timeout, floored by the per-server `timeout`, none for IDE and SDK servers),
937
+ `mcpConnectionBatches` (`MCP_SERVER_CONNECTION_BATCH_SIZE`, `MCP_REMOTE_SERVER_CONNECTION_BATCH_SIZE`),
938
+ `mcpBackgrounding` (`CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS`, `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND`),
939
+ `mcpStartupWaitsFor` (`MCP_CONNECTION_NONBLOCKING`), `mcpFirstTurnWaitMs`
940
+ (`CLAUDE_CODE_MCP_STARTUP_WAIT_MS`), `mcpDiscoveryCache`, `mcpCacheEntryUse` and
941
+ `mcpCacheDiscardedAfterFailures` (`MCP_DISCOVERY_CACHE` and its `_TTL_S`, `_MAX_STALE_S` and
942
+ `_STRIKES`) and `mcpClientSettings` (`MCP_SDK_GENERATION`, `MCP_PROTOCOL_NEGOTIATION`).
943
+ - MCP contracts, pure over data: the `oauth` block, redirect, discovery and scopes; `claude mcp add`
944
+ and `add-json`; tool names, hints, root-combinator rewriting and invalid-schema exclusion; result
945
+ limits, persistence and images; MCP prompts; elicitation (modes, forms, URL cap, hooks); the
946
+ `MCP_TIMEOUT`, `MCP_TOOL_TIMEOUT`, `MCP_CONNECT_TIMEOUT_MS` and description-length knobs; reload
947
+ planning; redaction of a plugin server. An unset `${VAR}` in a plugin server is now the error
948
+ `Invalid MCP server config for "<name>": Missing environment variables: ...` instead of a warning.
949
+ - MCP `headersHelper` and the subprocess environment, pure over data. `planHeadersHelper` answers
950
+ where a server's helper runs (plugin root, project directory, primary working directory or the
951
+ configuration directory, by where the server was configured), with which environment (credential
952
+ variables removed for a project `.mcp.json`, a plugin and a project or `--add-dir` agent file;
953
+ `CLAUDE_CODE_MCP_SERVER_NAME`, `_URL` with `REDACTED` for a removed variable's live value, and
954
+ `CLAUDE_PLUGIN_ROOT` for a plugin), under 10 seconds, and whether it runs at all: a project or local
955
+ server in a folder without persisted trust (a parent's and the automatic `-p` or SDK trust do not
956
+ count) connects with its static headers and gets the `headersHelper not run` notice, an agent file's
957
+ server in an untrusted folder is not loaded; `persistedTrust` reads `hasTrustDialogAccepted`.
958
+ `runMcpHeadersHelper`, `connectionHeaders` and `attemptWithHeadersHelper` run it fresh each time,
959
+ let dynamic headers win, stop the OAuth fall back on an `Authorization` header and retry a 401 or 403
960
+ once. `scrubEnvironment` and `subprocessScrubEnabled` apply `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`'s
961
+ table (credential names and URLs with a password removed, registry URLs lose their userinfo, GitHub
962
+ tokens, proxies and `GIT_CONFIG_*` kept; the pre-2.1.251 behaviour by `version`). One credential
963
+ classifier (`isCredentialVariable`) serves all of them and the marketplace helper. A monitor
964
+ `command` can opt into `monitorPaths: 'environment-reference'`: the three path variables become
965
+ `${NAME}` references and `ResolvedMonitor.environment` supplies the values, so a path holding shell
966
+ metacharacters cannot inject.
967
+ - MCP settings: scope ranking, per-project toggles, project approvals and workspace trust, pure over
968
+ data the host read. `rankMcpServers` loads each server once from the highest of managed, local,
969
+ project, user, plugin and claude.ai connector (names across the three scopes, endpoints for plugins
970
+ and connectors, the whole winning entry, hidden duplicates reported); `claudeJsonServers` and
971
+ `projectFileServers` turn `~/.claude.json` and `.mcp.json` into candidates; `managedServerEntries`
972
+ reads `managedMcpServers` from managed layers only; `readProjectToggles`, `serverEnabled` and
973
+ `applyToggles` apply `disabledMcpServers` and `enabledMcpServers` (one list per kind of server);
974
+ `projectServerApproval` and `canPromptForProjectServers` decide `Pending approval` and `Rejected` for
975
+ `.mcp.json` servers with the untrusted-folder filter. The keys `enableAllProjectMcpServers`,
976
+ `enabledMcpjsonServers` and `disabledMcpjsonServers` join the policy keys, and `resolvePolicy`
977
+ returns an `mcp` area.
978
+ - MCP allow and deny lists: `createMcpServerPolicy` (and `resolvePolicy(...).mcp.serverPolicy()`)
979
+ decides whether a server may load from `allowedMcpServers`, `deniedMcpServers` and
980
+ `allowManagedMcpServersOnly`: the denylist of every file first and always, the allowlist of every file
981
+ or only the highest managed one under the lock (a `true` in any admin source locks), `serverUrl`
982
+ patterns with the port rule, exact `serverCommand` arrays, `serverName` only where the list has no
983
+ entry of the server's kind, `${VAR}` expansion of entries (pinned environment) and servers (live
984
+ environment), the servers that skip the allowlist, and the verdict with the messages users see.
985
+ Invalid entries are stripped per the fail-closed rules; the three keys join the policy keys.
986
+ - Themes: `readTheme` reads a custom theme file (`~/.claude/themes/<slug>.json`, `themes/<slug>.json`
987
+ in a plugin): `name` defaulting to the slug, `base` among the six presets (asserted against the SDK's
988
+ `theme` setting), `overrides` over the documented tokens with `#rrggbb`, `#rgb`, `rgb()`, `ansi256()` and
989
+ `ansi:<name>` colours; unknown tokens and invalid colours are dropped with an issue. `copyOfPluginTheme`
990
+ is the copy an edit of a plugin theme is saved as. `Plugin.themes` now holds the read `Theme` of each
991
+ file and the plugin it comes from (`PluginPath` is gone: `PluginTheme` and `PluginWorkflow` replace it).
992
+ - MCP: `${VAR}` for servers of the settings scopes, not only plugins' (`expandMcpServer`,
993
+ `expandEnvText`): `command`, `args` and `env` of a stdio server, `url` and `headers` of a remote
994
+ one, over a lookup function and no plugin. An empty string counts as set, an unset variable
995
+ without a default keeps its text with a missing-variable warning, a `url` that does not parse
996
+ after expansion drops the server, and the covered credential variables read as empty toward a
997
+ remote server with a debug line naming the ones the user set (`credential-env`, one list for
998
+ plugin and non-plugin servers). `displayReference` gives what `/mcp` and `claude mcp list` show
999
+ (the `${VAR}` by name; a managed server's host only) and `mcpEndpointKey` the endpoint two
1000
+ servers are duplicates by (URL spellings that differ only in scheme or host case, default port or
1001
+ a trailing slash are one; a command is its arguments too).
1002
+ - Validating: `validatePlugin({ files, label?, signal? })` reproduces `claude plugin validate <dir>`
1003
+ of the tracked Claude Code release over a `PluginFiles` folder: it picks the marketplace, the
1004
+ plugin or a bare components folder as the CLI does and returns `{ target, issues }` with each
1005
+ issue's `severity`, `file`, `path` and the CLI's own `message`. It checks the manifest (schema,
1006
+ advice, unknown fields, declared paths, inline hooks and MCP servers, the map form of `commands`),
1007
+ `hooks/hooks.json`, `.mcp.json`, the frontmatter of skills, agents and commands, `CLAUDE.md`, and,
1008
+ for a marketplace, every entry and the manifest of each entry inside it; it never follows a
1009
+ symlink and says so as the CLI does. Exports `ValidationIssue`, `ValidationReport`,
1010
+ `ValidationTarget`, `VALIDATION_TARGETS`.
1011
+ - Manifest rules the docs state and the kit did not apply: a `userConfig` option's `options` must sit
1012
+ on a `string` field that is not `multiple` or `sensitive`, with a `default` from the list or
1013
+ `required: true` (else the plugin fails to load); `types` is a `./` path to a `.d.ts` file inside the
1014
+ plugin; a `channels` entry bound to a server that is not among the plugin's `mcpServers` is an
1015
+ error issue. `resolveChannel` gives a channel its `displayName` (default: the server name) and
1016
+ substitutes its `userConfig` into that server's `env`; `validateUserConfigValues` tells whether a
1017
+ saved value meets `type`, `required`, `multiple`, `options`, `min` and `max`. The mods reference
1018
+ tables the tests compare the kit with are a committed snapshot (`spec/docs-tables.json`), and
1019
+ `check:spec` (SP5) compares it and the tools table with the pulled docs.
1020
+ - Output styles: `readOutputStyle` (`name`, `description`, `keep-coding-instructions`,
1021
+ `force-for-plugin`, `<plugin>:<name>` ids, a YAML error loads the style under its file name),
1022
+ `resolveOutputStyle` (case-sensitive setting, case-insensitive `/output-style`, a forced plugin
1023
+ style overrides both), `includeCodingInstructions` (full prompt only) and `listOutputStyles`.
1024
+ - `readManifest` and `validateManifest` for `.claude-plugin/plugin.json`.
1025
+ - A frontmatter parser (`parseFrontmatter`) and the value coercions of skills, commands and
1026
+ agents (`readFlag`, `readText`, `readList`, `readTable`, `readEnum`).
1027
+ - `readInteger` and a mode for `readList` (`separators`, `braces`), the frontmatter API exported
1028
+ from the package, `line` and `column` on a frontmatter problem, `HttpRequest.as` and
1029
+ `HttpResponse.bytes` for binary bodies, and symlinks and access recording in the `memoryFiles`
1030
+ fake.
1031
+ - Variable substitution in `loading/resolve`: `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
1032
+ (created on first reference, `pluginDataId`), `${CLAUDE_PROJECT_DIR}`, `${user_config.KEY}`,
1033
+ `${VAR}` and `${VAR:-default}` in one pass (`substituteTemplate`, `substituteDeep`), the
1034
+ per-component policies (`SURFACE_POLICY`, `VARIABLE_FIELDS`), the environment a process receives
1035
+ (`exportedEnvironment`, `CLAUDE_PLUGIN_OPTION_<KEY>`) and Windows path rendering.
1036
+ - MCP servers of a plugin: `readMcpConfig` and `readMcpServer` (wrapper or bare `.mcp.json`; `ws` and
1037
+ `headersHelper` on the official stdio, SSE and HTTP configs as `PluginMcpServer`),
1038
+ `collectMcpServers` and `classifyMcpSource` (root `.mcp.json` first, then each `mcpServers` source
1039
+ in order: `.json` file, inline map, `.mcpb`/`.dxt` bundle path or URL through the new optional
1040
+ `McpBundleReader` port, "needs configuration" for a bundle with an unsatisfied required setting),
1041
+ and `resolveMcpServer` (variables substituted per transport, credential variables read as empty,
1042
+ `headersHelper` rejecting `${user_config.*}` with the documented error, its environment) with
1043
+ the reusable `rejectUserConfigInShell` guard.
1044
+ - `expandMcpServer(name, server, lookup, options?)` with `McpExpansionOptions.readsAsEmpty`
1045
+ (`./format`): a host adds its own variable names to the ones that read as empty toward a remote
1046
+ server; Claude Code's list still applies (judgment, docs/SECURITY.md).
1047
+
1048
+ #### settings
1049
+
1050
+ - `workspaceTrustSituation(isFolderTrusted, facts, options?)` (`./loading`): the column of the trust
1051
+ table for a host that knows synchronously whether the dialog was accepted for a folder, the same
1052
+ answer as `workspaceTrustState` with the same folders asked (no folder above a repository). Its
1053
+ options type is `TrustStateOptions`.
1054
+ - `configDirectoryOf(home, configDir, join)` and `globalConfigFileOf(home, configDir, join)`
1055
+ (`./settings`): the one reading of `CLAUDE_CONFIG_DIR` the kit uses, for a host that resolves the
1056
+ same directory outside a session (empty is unset; a value is taken as given, neither trimmed nor
1057
+ `~`-expanded).
1058
+ - `applyParentRules(view, context)` and `ParentSettingsContext` (`./settings`): the parent-settings
1059
+ rule over a view the host built itself.
1060
+ - `permissions.denyInsteadOfPrompting` (Claude Code 2.1.321): read from user, managed and
1061
+ `--settings` files only, a `true` from user or `--settings` beats a managed `false`
1062
+ (`PermissionsPolicy.denyInsteadOfPrompting`). `startPermissions` sets
1063
+ `DecideContext.denyInsteadOfPrompting`, so `decide` denies a would-be prompt with the reason
1064
+ `no-approval-surface` and the permission callback is not asked; a critical-path removal in auto mode
1065
+ is denied at a terminal too. `permissionRequestDecision(decision, outcome)` lets a `PermissionRequest`
1066
+ hook answer a prompt or a denial in place of one; `availableTools` leaves out `AskUserQuestion`,
1067
+ `EnterPlanMode` and `ExitPlanMode` (`ToolSession.teammate` keeps the plan tools);
1068
+ `autoRespondElicitation(output, { denyInsteadOfPrompting })` cancels a request no hook answers;
1069
+ `settleClassification` takes `prompts`. The messages: `NO_APPROVAL_SURFACE_DENIAL`,
1070
+ `NO_APPROVAL_SURFACE_DECISION_REASON`, and `createRefusalStreak()` with `REFUSAL_STOP_MESSAGE` and
1071
+ `REFUSAL_STOP_RESULT` for the stop after 20 refused calls in a row in auto mode.
1072
+ - `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`.
1073
+ - Managed MCP: `readManagedMcpFile` and `loadManagedMcpFile` read `managed-mcp.json` from the path of
1074
+ each platform; `readManagedMcpServers` validates `managedMcpServers` entries (remote `https` only, no
1075
+ program, no `${VAR}`, plain names and characters) with a notice for each dropped one;
1076
+ `mcpLoadPlan` (and `resolvePolicy(...).mcp.loadPlan`) decides what loads under exclusive control: an
1077
+ empty map blocks every other server, `claude mcp add` gets the enterprise-policy error, `--mcp-config`
1078
+ and `--strict-mcp-config` exit on a workstation (a cloud session keeps the managed servers and warns),
1079
+ connectors need `allowAllClaudeAiMcps`, Claude in Chrome needs `allowClaudeInChromeWithManagedMcp` from
1080
+ device sources; `providedServersTiming` and `reconcileManagedServers` say when provided servers connect
1081
+ and what a running session adds, reconnects or drops. The keys `managedMcpServers`,
1082
+ `allowAllClaudeAiMcps`, `allowClaudeInChromeWithManagedMcp` and `disableClaudeAiConnectors` join the
1083
+ policy keys, and `resolvePolicy` takes `deviceManaged` layers.
1084
+ - The managed sources (`src/settings/managed`). `composeManaged(documents, { parentRestrictive })`
1085
+ chooses among remote settings, the MDM policy (plist or HKLM), the managed files and the HKCU
1086
+ registry as managed-settings.md ranks them: by default the highest source that delivers a policy
1087
+ key, with `managedSourcesBehavior: "merge"` every admin source combined by kind of key (lists union,
1088
+ locks take the strictest value, restriction allowlists and values taken whole from the highest
1089
+ source, provided MCP servers by name, `env` per variable, login keys from the machine policy), and
1090
+ the keys read from every admin source under both. `readAdminDocument` decides when a document is
1091
+ present, empty, broken (fatal) or unreadable; `readFileDocument` merges `managed-settings.json` with
1092
+ `managed-settings.d/` in alphabetical order; `wslChain` orders the Windows and `/etc/claude-code`
1093
+ documents under `wslInheritsWindowsSettings`; `parentSettingsOf` applies `parentSettingsBehavior` and
1094
+ the managed values that block a host's parent settings. `readPolicyHelper`, `readHelperOutput` and
1095
+ `runPolicyHelper` (through the `CommandRunner` port and the new `HelperFileProbe` of this module)
1096
+ judge a `policyHelper` and its failures; `withHelperSettings` makes its output the only managed
1097
+ settings. The delivery catalog (`managedFilePaths`, `MECHANISM_TRAITS`, registry and plist names,
1098
+ symlink verdict, `cacheAfterFetch`), `sourcesLoadedBy`, `reachOfPlace`, `serverChangeTiming`,
1099
+ `startupFetchOf` and `fetchesRemoteSettings` answer where and when a policy applies.
1100
+ `SettingsSources.managed` lets a host hand over every source so `loadSettingsLayers` composes the
1101
+ tier, `resolvePolicy({ managed })` takes `hasManagedSettings` and `parentMerge` from it, and
1102
+ `autoCompactWindow` joins the per-session overrides (`--autocompact`, `CLAUDE_CODE_AUTO_COMPACT_WINDOW`).
1103
+ - The merge core. `createGeneralView(layers)` extends the policy view with `merged()`, the
1104
+ whole of settings.md's precedence as one object: a block merges key by key, a list combines with the
1105
+ duplicates removed (the highest file's entries first), any other value comes from the highest file,
1106
+ and `fallbackModel`, `modelPicker` (user, managed and `--settings` only) and `availableModels` (a
1107
+ managed list as-is) keep their own rules. The 12 keys whose managed value is not an override are rows
1108
+ with a `ManagedException` (`disableClaudeAiConnectors`, `enableArtifact` and `disableArtifact`,
1109
+ `isolatePeerMachines`, the two `block...Outside...` keys, `autoMode.classifyAllShell`,
1110
+ `remoteControlAtStartup`, `crossSessionInbound`, `useAutoModeDuringPlan`, the two claude.ai sync keys
1111
+ and `maxEffortLevel`); `get` applies one rule for all of them. `permissions.defaultMode` ignores
1112
+ `auto` and `bypassPermissions` from project and local settings. `permissionRuleLists(view, trusted)`
1113
+ adds up allow, ask and deny across scopes (a deny at any scope blocks, `allowManagedPermissionRulesOnly`
1114
+ leaves managed rules only, a repository's allow rules and `additionalDirectories` wait for trust),
1115
+ `effortLevelFor` resolves `modelSettings` one model at a time, `resolveSessionValue` orders a key's
1116
+ flag, paired variable and settings value, `editEffect` and `loadsFileCreatedMidSession` say when an
1117
+ edit reaches a running session, `reachOf`, `FILE_ORIGINS`, `WRITE_TARGET`, `userSettingsFile`,
1118
+ `localSettingsFiles` and `globalGitExcludesFile` hold the scope and file-location facts of
1119
+ settings.md, and `readClaudeJson` decides what a broken `~/.claude.json` costs. A global config key
1120
+ is dropped from every settings file with a warning, and a source that does not parse is a Settings
1121
+ Error (`problemKind`) naming the file.
1122
+
1123
+ #### hooks
1124
+
1125
+ - `escapeReminderTags(text)` (`./hooks`): the `<system-reminder>` tag escape `mergeOutputs` and
1126
+ `limitDelivery` apply, for hook text a host writes into a reminder itself.
1127
+ - `HookEngineOptions.onceClaims` with `createOnceClaims`, `withoutSpent` and `OnceClaims`: a host
1128
+ that builds an engine more than once for one registry passes one that outlives them, as it does
1129
+ `stopCap`. Also `SOURCE_POLICY`, `SourcePolicy` and `limitDelivery` (`./hooks`), and
1130
+ `SessionDispatchOptions` (root).
1131
+ - `session.hookEntries()` and `runnableHandlers(entries, session)`: the registered hooks that would run, with their source, for a read-only `/hooks` view.
1132
+ - `locationsWithoutPlugin`: the scope a host gives `resolveHookCommand` for a settings hook.
1133
+ - Hooks: `registerHooks` turns a hooks file into registry entries; Settings: `hookSessionGates` reads
1134
+ `disableAllHooks`, `allowManagedHooksOnly`, the `hooks` lock, the HTTP allowlists and the settings
1135
+ files' hooks off the policy view as the plain data a hook session takes.
1136
+ - `selectAgentHooks`, `agentHookGroups` and `hooksTrustGate`: the frontmatter hooks of an agent that
1137
+ fire for an event (only while the agent is active, the `PreToolUse` and `PostToolUse` matcher
1138
+ over the tool name, a subagent's `Stop` converted to `SubagentStop`, none for a plugin agent,
1139
+ project-level and `--add-dir` agents skipped until their folder is trusted); `readAgent` reads the
1140
+ `hooks` field with every hook event accepted.
1141
+ - `readHooksFile` and `readHooksSettings`: hook configuration read and validated as hooks.md
1142
+ describes (events, matcher groups, the five handler types and their fields), into the official
1143
+ `HooksSettings`; and `matchesMatcher`, the matcher grammar of hooks.md (match-all, exact list,
1144
+ unanchored regular expression, the narrower set of `FileChanged` and `StopFailure`).
1145
+ - Hook input (`hooks/input`): `buildHookInput` makes the JSON a hook reads from the session and the
1146
+ event's facts: the common fields (`session_id`, `prompt_id` absent before the first prompt,
1147
+ `scratchpad_dir`, `permission_mode` with Manual as `default`, `effort` on tool-context events,
1148
+ `agent_id` and `agent_type`, `hook_event_name`), facts checked against the official input type of
1149
+ each of the 33 events (a wrong type or value is an issue and no input), the conditional fields
1150
+ (`SessionStart` cost fields for resume and fork, `InstructionsLoaded` `globs`, `trigger_file_path`
1151
+ and `parent_file_path` by `load_reason`), and the `Stop` task and cron entries capped at 1000
1152
+ characters with the `… [+N chars]` marker and per-type fields. `serializeHookInput` is the one
1153
+ JSON text for stdin and an HTTP body.
1154
+ - Command hook handler (`hooks/handlers`): `runHandler` runs a `command` hook through `CommandRunner`
1155
+ in exec form (`args` present: the executable and one argument per element, no shell, placeholders
1156
+ and `${user_config.*}` substituted as plain strings) or shell form (`bash` or `powershell`, the
1157
+ placeholders rewritten to `${env:NAME}` for PowerShell, a plugin hook that references
1158
+ `${user_config.*}` refused with the documented error), with the event JSON on stdin,
1159
+ `CLAUDE_PROJECT_DIR`, `CLAUDE_PLUGIN_ROOT`, `CLAUDE_PLUGIN_DATA` and `CLAUDE_PLUGIN_OPTION_<KEY>`
1160
+ exported, `OTEL_*` removed and the documented working-directory fallbacks. `async` and
1161
+ `asyncRewake` hooks return a background run at once (no timeout for `async`, a wake text on exit
1162
+ code 2 for `asyncRewake`). `planTimeouts` and `handlerTimeoutMs` compute the limit the port
1163
+ enforces (600/600/600/30/60, lowered on `UserPromptSubmit`, `PreModelSwitch`, `PostModelSwitch`
1164
+ and `MessageDisplay`, the shared `SessionEnd` budget), and `statusMessage` reaches the host's
1165
+ observer when a hook starts.
1166
+ - Remote hook handlers (`hooks/handlers/remote`): an `http` hook POSTs the hook input as JSON with
1167
+ `Content-Type: application/json`, interpolating `$VAR` and `${VAR}` in header values only for the
1168
+ names in `allowedEnvVars` (unlisted ones become empty strings); an `mcp_tool` hook calls the tool
1169
+ on the server it names (a plugin server by its scoped name), substitutes `${path}` from the hook
1170
+ input into the string arguments, waits for a connecting server only on events that can block or
1171
+ change a result, and reports `isError` as a non-blocking error; `prompt` and `agent` hooks
1172
+ substitute `$ARGUMENTS` (with the `\$` escape, the input appended when absent), pass `model` and
1173
+ the 30 s and 60 s timeouts, and read the `ok` / `reason` / `impossible` answer. `okFalseEffect`
1174
+ says what `ok: false` does on each of the 13 events (`continueOnBlock`, `impossible`, agent hooks),
1175
+ and `runLimited` runs at most 12 prompt or agent hooks at once, in handler order.
1176
+ - The hook verdict and engine: `interpretRun` reads a run as the docs do (the stdout against exit
1177
+ code table, exit 2 on each of the 33 events, `onFailure` on `command` and `http` hooks, HTTP
1178
+ response handling, `ok: false` of prompt and agent hooks, background deliveries), and
1179
+ `createHookEngine` dispatches an event through select, input, run, read and merge into a
1180
+ `HookOutcome`.
1181
+ - Hook output (`hooks/output`): `parseHookOutput` reads a hook's JSON against the schema of its
1182
+ event (the universal fields and a `hookSpecificOutput` bound to the official types, a value of the
1183
+ wrong type is a validation failure, a key no schema names is dropped); `OUTPUT_CAPS` says which of
1184
+ `continue`, `systemMessage`, `terminalSequence`, `decision` and the event's own fields each of the
1185
+ 33 events honours; `mergeOutputs` merges every hook's output in registry order (`PreToolUse` deny >
1186
+ defer > ask > allow, `PreModelSwitch` deny > ask > allow, `PermissionRequest`, `PostToolUse`
1187
+ rewrites checked against the Bash, Glob, Grep, WebFetch and WebSearch output shapes, the classifier
1188
+ note capped at 2,000 characters, `Elicitation` where any decline wins) into typed `effects`;
1189
+ `allowedTerminalSequence` keeps `terminalSequence` to OSC 0/1/2/9/99/777 and BEL;
1190
+ `parsePermissionUpdates` validates the six permission update entries (`manual` is `default`);
1191
+ `createOutputStage` caps each string of a hook at 10,000 characters, saving the rest through
1192
+ `ScratchFiles` with a 2,000-character preview, and is the engine's default output stage
1193
+ (`HookPorts.scratch`); `OutputStage` gains `limit`, `merge` takes the event's facts, and
1194
+ `MergedOutput` carries `issues`.
1195
+ - Hook output (`hooks/output`): `SubagentStart` `hookSpecificOutput.additionalContext` is proven
1196
+ as a requirement (accepted for that event only, carried from every hook, capped, and no decision
1197
+ holds subagent creation back).
1198
+
1199
+ #### skills
1200
+
1201
+ - `PluginHostOptions.shellArguments?: 'pasted' | 'environment-reference'` (type `ShellArguments`,
1202
+ `./skills`): default `pasted`, as Claude Code. Under `environment-reference` a skill's or
1203
+ command's bash `!` command gets `$ARGUMENTS`, `$N` and `$name` as references to
1204
+ `SKILL_ARGUMENTS` / `SKILL_ARGUMENT_<n>`, the values in its environment, so an argument holding
1205
+ `; touch PWNED` or `$(…)` is data in every quoting; `ShellCall.command` has each value quoted
1206
+ where it lands. PowerShell stays pasted (judgment `shellArguments`).
1207
+ - A plugin skill whose folder fixes its name but whose frontmatter `name` differs answers to that
1208
+ name too: `Skill.declaredCommand` (new, optional) is the command it gives (`alpha:fancy` for
1209
+ `skills/greet/SKILL.md` with `name: fancy`), and `session.expandSkill('alpha:fancy')`,
1210
+ `expandSkill('fancy')` and an agent's `skills: [fancy]` preload find the skill, which is still
1211
+ listed only as `alpha:greet` (oracle 2.1.322; tests/host/preload-skill-alias.test.ts).
1212
+ - `readMemoryRule(path, text, scope)` (`./format`) reads a `.claude/rules/**/*.md` file (memory.md,
1213
+ "Rule frontmatter reference"); `ruleActivatesFor` and `ruleBase` (`./skills`) match its `paths` on
1214
+ the skill gate's matcher, relative to the folder holding its `.claude` or, for a user rule, the
1215
+ working directory (judgment `memoryRules`).
1216
+ - `FILE_SCOPES`, `FileScope` and `isFileScope` (`./settings`); `scopeFilePath(scope, kind, folder,
1217
+ name)` and `ScopeFileKind` (`./skills`); `skillPlugin`, `skillScope`, `SkillScope`, `skillKeywords`
1218
+ (`./host`, `skillKeywords`); `sessionSkillFixture` and `catalogAgentFixture` (`./testing`), built
1219
+ through the kit's own readers.
1220
+ - `session.recordSkillInvocation(name)`: a skill or command the host ran without `expandSkill`
1221
+ triggers its `on-skill-invoke` monitors.
1222
+ - `session.skillContent(name, { signal }): Promise<SkillContent>` reads a skill or command for a
1223
+ host that pins it: the body as written with its absolute `path` and `dir`, through the same lookup
1224
+ as `expandSkill`, with no invocation step (`disable-model-invocation`, `skillOverrides`, `!`
1225
+ commands, substitution and the base-directory line do not apply); an unknown name gives
1226
+ `expandSkill`'s failure. `SkillContent` is exported. `preloadSkills` now hands the same content,
1227
+ with the absolute `path` and `dir`.
1228
+ - `skillTriggerNames(pluginId, skill)` (`./loading`): the names an `on-skill-invoke:` trigger may
1229
+ use for a skill that ran. Only the plugin's own skill counts, written either namespaced
1230
+ (`ops:deploy`) or bare (`deploy`, the docs' example; judgment J-L11). Before this, the session's
1231
+ namespaced names could never match the docs' bare trigger.
1232
+ - `SessionOptions.hostSkills?: () => readonly HostSkill[]`: the skills a host supplies itself, built
1233
+ in or registered at run time by its extensions (`HostSkill`: `name`, `frontmatter?`, `file?`, `body`
1234
+ as text or a `BodyReader`). They are Claude Code's bundled skills to the kit (origin
1235
+ `{ kind: 'bundled' }`): in the catalog, the model listing, the menu, name lookup, mentions,
1236
+ preload and `checkInvocation`, listed after the plugins and the folders; a folder skill of the
1237
+ name replaces one, a synced skill's short name yields to one, `disableBundledSkills` and
1238
+ `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` remove them, `skillOverrides` applies, and
1239
+ `disableSkillShellExecution`, `allowManagedPermissionRulesOnly` and the plugin-only lock leave them
1240
+ alone. A refused name or a second skill of one name is a `skillCatalog().issues` entry.
1241
+ `readBundledSkill(head, body)` and types `BundledSkillHead`, `BundledSkillRead` (`./format`).
1242
+ - Until the first `reloadSkills` (or `addDirectory`, `moveTo`), `skillCatalog().issues` and
1243
+ `skills().issues` (new `SkillsListing.issues`) carry a warning that the skills folders are not
1244
+ read; until the first `reloadAgents`, `agentCatalog().issues` carries the same warning for the
1245
+ agents folders. A session without a folder port carries none.
1246
+ - `session.messageMentions(message, { takesCommandArguments? }?): MessageMentions`: which skills a
1247
+ message names (`mentions`, `leading`, `arguments`, `permitted`) without expanding them; it is the
1248
+ read `expandMessage` makes, and `MessageExpansion` extends it.
1249
+ - `readFileReferences(text, { cwd, locations })` and `attachesFileReferences(origin, isolated)`
1250
+ (`./skills`), type `FileReference` (root, `./skills`).
1251
+ - `PluginHostOptions.extraScopeFolders` (and `extraScopeFolders` of a scan context): folders beside
1252
+ `.claude`, such as `.agents`, whose `skills/`, `commands/` and `agents/` load in every scope base;
1253
+ within a scope the `.claude` folders win a shared name, the scopes keep their documented order, and
1254
+ a skill folder there is never a skills-directory plugin.
1255
+ - `skillLookup`, `SkillLookup`, `NamedInvocable`, `isLeading` and `LeadingMention` (`./skills`);
1256
+ `TouchedFile.activated` (the skills a touched file activated, which `skills()` then lists);
1257
+ `SessionOptions.permissionContext`; `ExpandRequest.commandEnvironment`;
1258
+ `ExpandOptions.runningForks`.
1259
+ - 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.
1260
+ - Export `substituteArgumentPieces` from the package root, for a host that renders a skill's
1261
+ injected commands itself and still needs the arguments counted over the authored text.
1262
+ - Visibility, access, injection, lifecycle. `skills/visibility` holds the four `skillOverrides`
1263
+ states as one registry that the listing, the menu and the invocation check read (`overrideMenuLabel` is
1264
+ the `/skills` label); `skillNamesOf` gives the names a `Skill(...)` deny rule sees (nested unqualified
1265
+ name, synced and plugin forms, aliases); `stackSkills` expands the first skill plus five stacked after it;
1266
+ `invokeSkill`, `startTurn` and `reattachAfterCompaction` keep skill content, grants and the compaction
1267
+ budget (5,000 tokens each, 25,000 in all); `launchFork` says what a `context: fork` skill starts;
1268
+ `frontmatterIssues` gives the upload error for fields outside the Agent Skills spec. Injected commands
1269
+ now follow the Bash tool: output past the inline ceiling is saved through `ExpandPorts.scratch` and
1270
+ injected as a path and a preview (`bashOutputMaxChars`), a command moved to the background at its
1271
+ timeout renders the skill with a note, exit 1 is classified like Claude's own commands, and
1272
+ `disableSkillShellExecution` leaves managed skills alone. `Expansion.ignoredGrants` lists the grants
1273
+ the managed settings withheld.
1274
+ - The skills and command files outside plugins. `scanFolders`, `scanNested` and
1275
+ `resolveFolderSkills` read `.claude/skills/<name>/SKILL.md` and `.claude/commands/**.md` of the managed
1276
+ directory, `~`, the project and its parents up to the repository root (a linked worktree stops at its
1277
+ top and may borrow the main checkout's), each added directory, the directories below the working
1278
+ directory a touched file is in, and the skills synced from claude.ai, through a new `FolderScan` port
1279
+ (`ports/folder-scan`, with the `folderScan` fake and the shared `foundation/folder-walk`). Names clash as
1280
+ skills.md says: enterprise over personal over project, a skill over a command file, a nested or
1281
+ added-directory skill under `<dir>:<name>`, a synced skill's short name yielding to any other command;
1282
+ a symlinked skill folder loads once. A skill folder holding a plugin manifest is reported as a
1283
+ `<name>@skills-dir` plugin. New `managed` skill origin.
1284
+ - Commands: `readCommand` reads a flat command file (the older skill format: the skill frontmatter
1285
+ except `name` and `paths`; the name is the path below `commands/` without the extension, folders
1286
+ joined by `:`, after the plugin prefix) and `readCommandEntry` builds a command from an entry of
1287
+ the manifest's `commands` object map (`source` or inline `content`, `description`, `argumentHint`,
1288
+ `model`, `allowedTools`); `loadCommandEntries` reads each `source` through the `PluginFiles` port.
1289
+ A missing source file, an entry with both or neither of `source` and `content`, a refused name
1290
+ and a `source` outside the plugin folder are error issues for that entry only; an `allowedTools`
1291
+ rule that does not parse is dropped with a warning. The loaded commands expand through
1292
+ `expandSkill` and list through `menuEntries` like a skill.
1293
+ - Dynamic context and `expandSkill`. `expandSkill` turns a skill or command into the text
1294
+ the model receives plus its grants (`allowed-tools` with `${CLAUDE_*}` substituted in the Bash
1295
+ rules, the docs' same-variable pattern), `disallowed-tools`, execution (inline or fork), model and
1296
+ effort overrides (and `${CLAUDE_EFFORT}` as the level the skill runs at) and hooks. `!`cmd`` and
1297
+ ```` ```! ```` placeholders are found in the original text and run through the `CommandRunner` port
1298
+ (the `shell` field picks the tool, exit 1 of search and comparison commands is a result, a failure
1299
+ or a refused permission check aborts the invocation, auto mode and forked skills as documented),
1300
+ `disableSkillShellExecution` and synced skills replace or keep them as literal text, and output is
1301
+ never re-scanned. `countSkillHooks`, `admitSkillHooks` and `hookSourceOf` apply the documented
1302
+ limits on skill hooks. `substituteArgumentPieces` backs the expansion.
1303
+ - Invocation, listing and execution. `invocationPolicy` and `checkInvocation` give the
1304
+ default / `disable-model-invocation` / `user-invocable: false` matrix (who may run a skill, what
1305
+ the model is told, the `/` menu, subagent preloading, a scheduled-task prompt) and apply
1306
+ `skillOverrides` (not to plugin skills); `readSkillMentions` tells a leading `/name` from one
1307
+ named in plain text. `modelListing` and `menuEntries` build the skill listing (description plus
1308
+ `when_to_use` cut at 1,536 characters, `<` and `>` escaped, a budget that drops the least used
1309
+ descriptions first) and the official `SlashCommand` rows. `skillActivatesFor` matches `paths`
1310
+ (gitignore syntax and brace expansion, relative to the current directory, nothing outside it).
1311
+ `resolveExecution`, `resolveTurnOverrides` and `resolveShell` decide inline or fork (agent,
1312
+ background and the cases that wait for the result), the model and effort override of a turn or of
1313
+ the forked subagent, and the shell tool of injected commands. `Skill.shellDeclared` and
1314
+ `OriginTraits.honoursSkillOverrides` support them.
1315
+ - Substitution in a skill's text. `substituteArguments` expands `$ARGUMENTS`,
1316
+ `$ARGUMENTS[N]`, `$N` and `$name` over the original text in one pass (shell-style quoting through
1317
+ `parseArguments`, `\$` escapes, an index with no argument stays as written, a named one becomes
1318
+ empty, an argument value is never expanded, `ARGUMENTS: <value>` is appended when nothing
1319
+ received the arguments). `buildVariables` and `substituteVariables` substitute `${CLAUDE_SESSION_ID}`,
1320
+ `${CLAUDE_EFFORT}`, `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PROJECT_DIR}`, `${CLAUDE_PLUGIN_ROOT}` and
1321
+ `${CLAUDE_PLUGIN_DATA}` through `loading/resolve` (the plugin pair for plugin skills only), for the
1322
+ body and for the Bash rules of `allowed-tools`; `substitute` does both, arguments first.
1323
+ `ORIGIN_TRAITS.substitutesSessionVariables`.
1324
+ - `readSkill` reads a `SKILL.md` into a `Skill` (the shared `InvocableFrontmatter` of
1325
+ skills and commands): `description` (else the first non-empty body line), `when_to_use`,
1326
+ `argument-hint`, `arguments`, `disable-model-invocation`, `user-invocable`, `allowed-tools`,
1327
+ `disallowed-tools`, `model`, `effort`, `context`, `agent`, `background`, `hooks` (through the
1328
+ hooks reader), `paths`, `shell`, `metadata`, `license` and `compatibility`, with the documented
1329
+ defaults; a YAML error loads the skill with its body and no fields, an unknown key is ignored.
1330
+ `SKILL_FIELDS` and the `FIELD_READERS` registry, `ORIGIN_TRAITS`, `escapeAngleBrackets`.
1331
+ - `resolveSkillName` gives a skill its command name: the directory or `name`, the plugin
1332
+ prefix (not doubled when `name` carries it, the plugin-root `SKILL.md` falls back to the plugin
1333
+ directory), `anthropic-skills:` for a synced skill, and the characters a name can't hold
1334
+ (refused outside a plugin, hyphens in a plugin skill folder); `readSkill` uses it.
1335
+
1336
+ #### agents
1337
+
1338
+ - `SavedWorkflow.description?`: the `meta.description`, always set by `scanSavedWorkflows`.
1339
+ - `spawnRefusal(catalog, spawnTypes, subagentType)` (`./agents`): the refusal of one Agent call
1340
+ whose type the caller's `tools` does not allow, worded as `resolveSubagentType` over
1341
+ `spawnableAgents`. Types compare exactly; an omitted type is `general-purpose`.
1342
+ - `modelFamily(model)` (`./agents`): the family alias a model ID embeds (`claude-opus-5-5` is
1343
+ `opus`), read as an `availableModels` family entry reads it, for `resolveSubagentModel`'s
1344
+ `mainFamily`. The allowlist and the family share one reading (`format/model-id.ts`).
1345
+ - A plugin's default `agent` (its `settings.json`, plugins/components.md, "Default settings") runs
1346
+ as the session's main agent: `session.selectAgent({ flag }, overrides?)` takes the `agent` of the
1347
+ session's settings, else the default of the plugin loaded last that sets one, found by the same
1348
+ lookup (`--agent` over the setting over the plugin default; a user agent of the exact name wins
1349
+ over the plugin's own), and says `from: 'flag' | 'setting' | 'plugin'` with `plugin` (the id).
1350
+ `session.pluginDefaults(): PluginDefaults<DefaultsPlugin>` and
1351
+ `session.subagentStatusLine(facts?): SubagentLineRead<DefaultsPlugin>` (a settings source's
1352
+ `subagentStatusLine`, else the plugin default with its owner, under the trust and hook gates; a
1353
+ plugin value never runs under `allowManagedHooksOnly`). `readSubagentStatusLine`,
1354
+ `pluginDefaultsOf`, `valueWithPluginDefaults` and types `PluginDefaults`, `PluginWithDefaults`,
1355
+ `SettingWithDefault`, `SubagentLineRead` (`./settings`); `AgentSetting`, `SessionAgentSource`
1356
+ (`./agents`); `DefaultsPlugin`, `SessionPluginDefaults` (root).
1357
+ - Types `PluginSource` (`{ kind: 'plugin'; pluginId }`) and `FolderSource<S>` (`{ kind: 'folder';
1358
+ scope }`) (root, `./format`): the one source shape of skills and agents; `SkillSource` is built
1359
+ from them.
1360
+ - `catalogTier(source): CatalogTier` and types `CatalogTier` (`AgentSource | 'builtin'`) and
1361
+ `AgentFolderScope` (`./agents`); `catalogAgentOf(record, pluginId?)` takes the host's plugin id.
1362
+ - `selectSessionAgent` and `session.selectAgent` give `candidates: readonly CatalogAgent[]` with a
1363
+ failure: the agents an ambiguous bare name could mean, scoped names in code-unit order (none for
1364
+ an unknown name).
1365
+ - `session.agents({ overrides })`: the `AgentOverrides` of `agentCatalog(overrides)`, so agents a
1366
+ host registers at run time (the `--agents` flag, the SDK `agents` option) resolve with the rest.
1367
+ - `session.preloadSkills(definition, { signal })` returns `{ preloaded, skipped }`: a subagent's
1368
+ preloaded skills found by every name, as `expandSkill` finds them.
1369
+ - Sub-agents: the catalog. `scanAgents` reads the `.claude/agents/` folders of the managed directory, the
1370
+ project and its parents, the added directories and `~` through `FolderScan`, skipping the files Claude
1371
+ Code skips; `readFlagAgents` reads the `--agents` JSON; `builtinAgents` lists Explore, Plan, general-purpose
1372
+ and the other built-ins with the switches that remove them; `resolveAgents` picks one definition per name
1373
+ by the documented priority and applies `Agent(name)` deny rules; `resolveSubagentType`, `spawnableAgents`
1374
+ (the `Agent(types)` allowlist), `spawnDepthLimit`/`nestingAt`, `namedSubagent`, `agentMentions`,
1375
+ `selectSessionAgent` and `resumeSessionAgent` decide who runs, who may spawn whom and how a subagent is
1376
+ named. A session gets `reloadAgents`, `agentCatalog`, `SessionOptions.agents` and `permissionRules`, and
1377
+ `session.agents()` now lists every subagent (with `source`; `builtin: false` leaves the built-ins out).
1378
+ The working-directory-to-repository-root rule is shared with the skills scan (`foundation/project-directories`).
1379
+ - Workflows: `readWorkflowMeta` and `rewriteWorkflowMeta` read and rewrite the literal `meta` block of a
1380
+ saved script without running it, `inspectWorkflowScript` reports the `phases` the body does not use,
1381
+ `Date.now()`, `Math.random()`, a no-argument `new Date()` and `import()`; `Plugin.workflows` holds the
1382
+ read `meta` and runs as `/<plugin>:<meta.name>`. Pure run decisions in `agents/workflow`: the six-attempt
1383
+ stall policy and its three errors, the 1,000-agent and 4,096-item caps, concurrency, which agents run
1384
+ again on a relaunch, leaving the session and `nothing to resume`, the usage-limit wait, the `args`
1385
+ global, and where a script is saved and which `/<name>` runs (`scanSavedWorkflows` over `FolderScan`).
1386
+ - `planPreloadedSkills`, `resolveAgentMcpServers` and `planAgentMemory`: what a subagent starts
1387
+ with beyond its prompt. The `skills` field preloads the first 32 distinct names, skipping a
1388
+ missing or disabled skill and one with `disable-model-invocation: true`; `mcpServers` splits
1389
+ references from inline definitions, ignores the field for a plugin agent, skips the inline
1390
+ servers of a project or `--add-dir` agent file until its folder is trusted and any server the
1391
+ host's `McpPolicy` blocks (`--strict-mcp-config` does not filter an `--agents` definition,
1392
+ managed restrictions always apply); `memory` plans the directory of its scope, none when auto
1393
+ memory is off, the first 200 lines or 25KB of `MEMORY.md` (`truncateMemoryIndex`) and the Read,
1394
+ Write and Edit tools to add.
1395
+ - `resolveSubagentModel` and `resolveSubagentEffort`: the model a subagent runs on (invocation
1396
+ parameter, then the definition with `inherit`, then `CLAUDE_CODE_SUBAGENT_MODEL`, then the main
1397
+ model; a family alias of the main model's family resolves to its exact model; the FORCE variable)
1398
+ and its effort (`CLAUDE_CODE_EFFORT_LEVEL`, then the invocation, then the field, then the session
1399
+ level only on the main model). `effectiveAutoCompactWindow` (the variable wins, the field only
1400
+ lowers, none for a main-session agent), `turnLimitOutcome` (`maxTurns` marks the output partial),
1401
+ `effectiveCacheTtl` (`experimental.cacheTtl`, `1h` ignored while on usage credits),
1402
+ `runsInBackground`, `claudeMdScopes` (`omitClaudeMd`), `worktreeDisposition` (`isolation`) and
1403
+ `mainSessionFirstTurn` (`initialPrompt`).
1404
+ - `resolveSubagentPermissionMode`: the mode a subagent runs in from its `permissionMode` and the
1405
+ main conversation's (a main `bypassPermissions`, `acceptEdits` or `auto` forces its mode, `plan`
1406
+ is held and `dontAsk` then denies instead of asking, under `default` or `dontAsk` the set mode
1407
+ applies except `bypassPermissions` and an unavailable `auto`, `manual` is `default`, unset
1408
+ inherits); `PERMISSION_MODE_TRAITS` and `baselineDecision` for what each mode runs without asking
1409
+ (`allow`, `ask`, `deny` or `classify`), typed over the official `PermissionMode` union.
1410
+ - `resolveSubagentTools`: the tools a subagent gets from `tools` and `disallowedTools` (inherit
1411
+ when omitted, `disallowedTools` first, a specifier removes the whole tool, `mcp__server`
1412
+ entries including servers whose name holds `__`, the always-removed list with `ExitPlanMode` kept
1413
+ for `plan`, the background built-in set, forks unfiltered, the `Agent(worker, researcher)`
1414
+ allowlist for the main thread with `Task(...)` as an alias) and the documented zero-tools
1415
+ refusal (`ToolRefusal`); `parseToolEntry` and `toolEntryMatches` for single entries.
1416
+ - Agent frontmatter fields in `readAgent`: `model`, `effort`, `maxTurns`, `autoCompactWindow` (a
1417
+ string such as `200k` reads as 200 and is dropped with `invalid autoCompactWindow`),
1418
+ `background`, `omitClaudeMd`, `isolation`, `color`, `initialPrompt` and `experimental.cacheTtl`,
1419
+ through a field registry typed over the 19 documented names (`AGENT_FIELDS`,
1420
+ `AGENT_FIELD_NAMES`) with the plugin supported and ignored lists (`PLUGIN_IGNORED_FIELDS`); a
1421
+ plugin agent reports the fields it ignores in `ignored`; fields Claude Code does not recognize
1422
+ are named with a likely intended name in `unrecognized`.
1423
+ - `readAgent` for agent files (`name` and `description`): the files Claude Code skips (no name is
1424
+ documentation, a bad name, no description or YAML that does not parse), the plugin fallbacks
1425
+ (file name, `Agent from <plugin> plugin`), `<plugin>:<subfolder>:<name>` scoped names
1426
+ (`scopedAgentName`), the name rules (`validAgentName`) and the `agent_type` hooks receive
1427
+ (`hookAgentType`).
1428
+
1429
+ #### marketplace
1430
+
1431
+ - `DependencyIssue.dependency` (the declared `name@marketplace` or `name`) and
1432
+ `DependencyIssue.cause` (`DependencyCause`: `'missing' | 'disabled' | 'out-of-range'`, new): a
1433
+ host that adds its own install hint reads the facts instead of parsing the message. The message
1434
+ stays `Dependency "<dep>" is not installed` with no `claude plugin install` suffix (judgment).
1435
+ - `catalogDependencies(entry, marketplace, manifest)`, `CatalogPlugin.manifestUnread` and
1436
+ `InstallPlan.needs`: an install plan over a catalog whose remote plugins' `plugin.json` is not
1437
+ fetched yet names the plugins to fetch; a host fetches them and plans again until `needs` is empty,
1438
+ which gives the plan of the whole catalog (judgment `installNeeds`). `ok` is false while `needs`
1439
+ is not empty.
1440
+ - `OFFICIAL_BUT_OFF` and `isOfficialButOff(name)` (`format/marketplace`): the one list of official
1441
+ marketplaces whose auto-update default is off, read by the registry's plan and the update pass
1442
+ (two copies before).
1443
+ - Marketplaces:
1444
+ - `Registration.autoUpdateFrom` (`SettingsFile`) names the settings file that set `autoUpdate`.
1445
+ - `installsAt(records, { projectPath?, platform })` gives the install records that apply in one
1446
+ directory.
1447
+ - `precheckUpdate(subject, installed)` is the update check before a fetch: `loaded in place`,
1448
+ `isUpdate` over a claude.ai record, else `fetch`.
1449
+ - `fetchMarketplaceFile(plan, { http }, { signal, headers? })` runs an `http-file` plan.
1450
+ - `readMarketplaceText` and `readMarketplaceDirectory` (with `MARKETPLACE_FILE`) read a
1451
+ catalog.
1452
+ - `MarketplaceMetadata.extra` keeps unknown `metadata` keys.
1453
+ - The archive download and the marketplace file download now share one redirect loop
1454
+ (`src/marketplace/http-download.ts`).
1455
+ - The `headersHelper` runner doc now says the configuration directory must exist first (oracle
1456
+ 2.1.322).
1457
+ - `usableVersion`, `winningScope`, `effectiveEnabled`, `isEnabled` and `UpdateVerdict`
1458
+ (`./marketplace`); `InstalledRecord.defaultEnabled` and `CatalogPlugin.defaultEnabled`;
1459
+ `EnabledEntry` (`./cli`).
1460
+ - `pluginDirDependencyIssues(plugins)` (`./marketplace`): the `--plugin-dir` plugins of a session
1461
+ that do not load because a dependency is not among them, a chain included; the example agent
1462
+ skips them and loads a folder of plugins as `--plugin-dir` does.
1463
+ - 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.
1464
+ - The install and cache lifecycle: `decideInstallMode` (in place, copied or linked, and the printed
1465
+ directory refusals), `planTreeCopy` (the symlink rule of a cache copy), `escapedPathIssue`,
1466
+ `planInstallStart` and `planInstallFinish` (fetch plan, cache folder, record change, orphaned
1467
+ version folders), the troubleshooting messages of a failed install (`install-failures`),
1468
+ `commitStagedPlugin`, `selectUninstall` (the Windows spelling rule), `readLfsPointer`, the
1469
+ session-only plugins (`readPluginDirectory`, `fetchSessionArchives`, `folderChanges`, `@inline`,
1470
+ `@skills-dir`) and the install commands per surface (`planInstallCommand`, `installSummary`).
1471
+ Ports: `ArchiveReader.scan` lists a zip's entries (the kit derives the totals and checks the paths
1472
+ and links itself, so `ArchiveReader.stats` is gone), `SourceFetcher` may return a staged directory,
1473
+ and the new `StagedDirectory` port moves it into the cache. Git fetch plans carry
1474
+ `lfs: 'pointer-files'`; an npm `package` refusal and an archive digest mismatch are the
1475
+ documented messages.
1476
+ - Plugin versions and names: `resolvePluginVersion` (manifest, entry, then the source's commit,
1477
+ digest or `unknown`; command sources hashed, the entry's version ignored), `copyModeHash`,
1478
+ `linkModeHash`, `subdirectoryPathHash`, `unknownVersionSteps`, `pluginNames`, `lookupPlugin`,
1479
+ `folderCollisions` and `listingFields`, with the strict-mode and display-field merge rules proven.
1480
+ - The Node.js package dependencies of a plugin: `planNodeDepsInstall` (a copied plugin with a
1481
+ `package.json` and `bun.lock`, `npm-shrinkwrap.json` or `package-lock.json` gets a frozen,
1482
+ script-free install in a separate folder under a 60-second timeout; in-place and link-mode plugins,
1483
+ unsupported or unreadable lockfiles, a missing package manager, overrides, patches, non-registry
1484
+ dependencies, `http` downloads and a `package.json` that differs from the lockfile skip it),
1485
+ `nodeDepsRun`, `readLockfile`, `readPackageJson`, `nodeDepsNote` (the `are not installed` and
1486
+ `were not installed, because ...` notes, a warning: the plugin loads), `installOutcome` and the
1487
+ registry-only rule (`classifySpecifier`, `dependencyRefusal`, `downloadLinkRefusal`) that the npm
1488
+ source's `package` check now shares.
1489
+ - Marketplace dependencies: a pure dependency graph over plain facts. `installClosure` plans the
1490
+ transitive install of a plugin's dependencies (dependencies first, each step with who asked, every
1491
+ range, what the ranges resolve against and the shown `2.1.0-8713c5b11005` version; cycles end, a
1492
+ diamond combines its ranges, a conflict or an allowlist refusal installs nothing, a `command`
1493
+ source and a `headersHelper` entry are left to the user); `enablePlan` (missing, policy-blocked and
1494
+ higher-scope `false` dependencies), `disableDecision` (the dependents to disable first and the
1495
+ chained command), `orphanedAutoInstalled`, `planPrune` and `planUninstall` (`--prune`, the range
1496
+ released with the last constraining plugin); `checkDeclaredDependency` for the
1497
+ `--plugin-dir` copy. The dependencies guide is now proven section by section.
1498
+ - Updates: a new `updates` module with the refresh before an install (`refreshBeforeInstall`: named
1499
+ and bare references, the five skips, the managed block that also refuses the install,
1500
+ `refreshFailed`), the auto-update precedence (`marketplaceAutoUpdate`, `autoUpdatePassAllowed`,
1501
+ `toggleDecision`, the plugins a pass skips, the first-pass delay on the `Clock`), the background
1502
+ check of a private marketplace, the re-runs of a `command` source and the Errors-tab entry of a
1503
+ changed command (`commandSourceRuns`, `afterCommandRun`), `Update plugins now` (`planUpdate`) and
1504
+ the version policy of Claude Code (`readVersionPolicy`, `pickAllowedVersion`, `startGate`,
1505
+ `channelSwitch`: `autoUpdatesChannel`, `minimumVersion`, `requiredMinimumVersion`,
1506
+ `requiredMaximumVersion`). `scripts/check-layers.ts` gives the module its layer.
1507
+ - The version of a plugin as Claude Code computes it (`resolvePluginVersion`: manifest,
1508
+ then entry, then the source type's default, a command source from its hash), when a new copy is
1509
+ made (`isUpdate`, `checkForUpdate`, `loadsInPlace`: only a differing version, never for a plugin
1510
+ loaded in place, the claude.ai-recorded version for a synced plugin) and the check of a
1511
+ release-channel pair (`checkReleaseChannels`). The renames migration, `forceRemoveDeletedPlugins`,
1512
+ release tags and the `ref`/`sha`/`#ref` hold on a version are now proven against the pages that
1513
+ describe them (plugins/host-marketplace.md, plugins/publish.md, plugins/org.md).
1514
+ - Install records: the state Claude Code keeps under the plugins root, and the texts it prints about it
1515
+ (plugins/loading.md, plugins/troubleshooting.md, plugins/install.md, plugins/cli-reference.md).
1516
+ `createStoreLayout` and `resolvePluginsRoot` name every path (`cache/<marketplace>/<plugin>/<version>`,
1517
+ `data/<id>`, `marketplaces/<name>`, `synced/`, `.trash/`, the JSON records, the dated copies);
1518
+ `parseInstalledPlugins` reads `installed_plugins.json` and decides what is rebuilt, set aside or
1519
+ left unwritten, `loadInstalledPlugins` carries it out through the new `PluginStateStore` port;
1520
+ `parseKnownMarketplaces` reads `known_marketplaces.json` (a source is `kind: 'directory'` or
1521
+ `'file'`, never `local`) with `installLocationFor` and `sameMarketplaceSource`; `stageReport` says
1522
+ how far a plugin got (declared, fetched, loaded) and `planMarketplaceStartup` what happens to
1523
+ marketplaces missing on disk at the start; `decideEnabledFetch` and `overriddenUserDisable` answer
1524
+ "enabled in project settings but not installed" and "disabled but still loads"; the exact
1525
+ troubleshooting texts (`pluginNotFound`, `notCached`, `ignoredLine`, `failedToInstall`,
1526
+ `refuseForUnreadableRecords`, ...); plans for the panel, marketplaces, plugins with dependencies
1527
+ (`planInstall`, `planEnable`, `planDisable`, `planUninstall`, `planPrune`), scopes (`scopeReach`,
1528
+ `defaultScope`), `/reload-plugins` (`reloadSummary`, `reloadGate`) and the 14-day orphan sweep
1529
+ (`orphanSweep`). Pure decisions; effects only through ports.
1530
+
1531
+ #### mods
1532
+
1533
+ - `MOD_SCAN_ISSUE_CODES`, `ModScanIssue`, `ModScanIssueCode`: every `ModScan.issues` item has a
1534
+ stable `code` (judgment `scanIssueCodes`), so a host need not match the message.
1535
+ - `commandRunEnd(registeredBy, command, host)`: the one end of `command.run` for both doors
1536
+ (`ModsHost.runCommand` and `$.command.run`). A command a mod registered that no hook answered ends
1537
+ in `unansweredCommandReply` and never reaches the `commands.run` port, so a host port that
1538
+ dispatches back into `runCommand` can no longer run it twice (judgment `modCommandEnd`). The
1539
+ `ModCommands.run` doc states the contract: the command's body only.
1540
+ - `ModsHost.endSession(reason, options?)` fires `session.end` with `sessionId` and `resume: { id }`
1541
+ from the session port's id (declarations 2.1.321, :12106; `sessionEndResume`). `SessionEndReason`.
1542
+ - `command.run` carries `origin` and `presentation` (`CommandPresentation`, `commandPresentation`,
1543
+ `ModsApiOptions.presentation`); `ModsHost.runCommand(command, args, options)` takes
1544
+ `RunCommandOptions` (`FireOptions` and `origin?: CommandOrigin`, default `{ kind: 'unclassified' }`).
1545
+ The D9 difference `command.run`'s `presentation` is gone (`commandRunPins`).
1546
+ - `$.command.list()` rows carry `source` and `plugin` (`CommandListing`, `CommandSource`); the
1547
+ optional port `commands.list()` gives the host's own commands, listed first.
1548
+ - `$.ui.panes()` rows carry `isShown` and `isFocused`; `ModInterface.shownPane()` and
1549
+ `focusedPane()` (optional) say which (`panesShown`).
1550
+ - JSX takes `key` on every tag; an element whose props declare none drops it (`jsxKey`).
1551
+ - `$.http.fetch` `init.auth` and `init.socketPath`, passed as `FetchRequest.auth` and
1552
+ `FetchRequest.socketPath`; a relative `socketPath` or one with NUL is refused; `compress` changes
1553
+ nothing and a `{ base64 }` body stays refused (`httpInit`).
1554
+ - The members of `$` and the engine event the declarations add over the reference page (2.1.321,
1555
+ spec/judgments.md D1, settled): `$.prompt.paint(request)` fires `prompt.paint` and answers
1556
+ `{ isPainted, text, cursor }`; `$.prompt.media({ id, offset? })` fires no event and answers the
1557
+ slice, `{ unreadable }` or `{ deny }`; `$.session.surface()` is the first of `surfaces()` or
1558
+ `null`; `$.session.identity()` fires `session.identity` for a mod of managed settings (tier
1559
+ `prepend` or `append`) and answers `{ deny }` to any other; `$.ui.cancelNotify(key)` fires
1560
+ `ui.cancelNotify { key }` and answers `{ isSent }`; the engine event `prompt.change`
1561
+ (`{ text, cursor, origin }`, answered `{ text }`, observe only). New optional ports with declared
1562
+ defaults (`ModOptionalPorts`): `account` (`identity()`, default `{ kind: 'none', isVerified:
1563
+ false }`), `promptBox` (`paint(request, plugin)`, default nothing painted; `media(request,
1564
+ plugin)`, default `{ deny }`) and `notifications` (`cancel(key, plugin)`, default `{ isSent:
1565
+ false }`); types `SessionIdentity`, `ModAccount`, `PromptPainted`, `PromptMedia`, `ModPromptBox`,
1566
+ `ModNotifications`. New names: `DECLARED_API_MEMBERS`, `MODS_API_REFERENCE`,
1567
+ `DECLARED_EVENT_NAMES`, `ENGINE_EVENT_NAMES`, `DeclaredEventName`, `EngineEventName`.
1568
+ - `ModsHost.registered` (`ModsRegistered`): what mods registered, as a host reads it:
1569
+ `commands()`, `tools()`, `agents()` (frozen copies), `command(name)`, `tool(fullName)`,
1570
+ `agent(name)` and `onChange(listener)` → stop, told `'commands'`, `'tools'` or `'agents'` after
1571
+ each change. Also `registeredView(registries)`, `RegisteredKind`, and `ModRegistries.onChange`.
1572
+ - The scan reads a `Client` written in JSX, `h(Client, { module })` (claude-code/index.d.ts:16450:
1573
+ JSX compiles to bare `h(...)` calls), as `Client({ module })`, spans included.
1574
+ - The scan accepts every ES form that exports a top-level function of the entry as `register`:
1575
+ `export { register }`, `export { draw as register }`, `export { draw as 'register' }` (what a
1576
+ bundler emits), before or after the function, beside `export function` and `export const`.
1577
+ - `./mods/elements` and `./mods/isolate` export `UI_SURFACES` and `UiSurface`; `./mods/isolate`
1578
+ re-exports every name of `./mods/elements`.
1579
+ - `./mods/isolate` also exports `elementFn(name)` and `elementNameOf(value)` (the element
1580
+ constructors, one shared function per element, and the name of one), `h(tag, props, ...children)`
1581
+ and `Fragment` (a column `Box`, claude-code/index.d.ts:16469) for JSX, `matchesEvent(matcher, e)`
1582
+ and `acceptsField` (a hook's matcher, as the chain tests it), `isHookBody`, `deepFreeze`,
1583
+ `frozenCopy` and `plainDataProblem`; the same names are in `./mods`, and the import-walk test still
1584
+ shows nothing under the entry imports a `node:` or `bun` module or a package. Proven in
1585
+ tests/mods/ui/jsx.test.ts, tests/mods/chain/match-local.test.ts and tests/entry/mod-isolate.test.ts.
1586
+ - `ModScan.surfaceModuleSpans`: `{ module, start, end }` per surface module a `Client` names, the
1587
+ offsets of its string literal (quotes included) in the hooks module, so a host can rewrite the
1588
+ path where it bundles. `surfaceModules` is unchanged. Proven in tests/mods/load/scan-client.test.ts.
1589
+ - `createModsHost` takes `ModHostPortsInput`: the ports by group (`ModPlatformPorts`,
1590
+ `ModSessionPorts`, `ModOptionalPorts`), with `mcp`, `audio`, `theme` and `telemetry` optional. A
1591
+ missing one answers as the declarations say where the capability is missing
1592
+ (`OPTIONAL_PORT_DEFAULTS`, `withDefaultPorts`). `ModHostPorts` is the full set, as before. Proven in
1593
+ tests/mods/api/optional-ports.test.ts.
1594
+ - `ApiMember.ownTime` (`describeApi`) and the export `OWN_TIME_CALLS`: `$.clock.sleep` is the one
1595
+ call whose time counts against the calling hook's budget (claude-code/index.d.ts:3641, :6589), for
1596
+ a host that routes calls from another realm through `HookCall.api`.
1597
+ - `next.event`, `next.is(pattern, e)` and `next.trace` (`TraceEntry`, `TraceOutcome`), as declared;
1598
+ `HookCall.name` and `HookCall.trace()`; `selects`, `SKIP_TIERS`.
1599
+ - `TIERS` and `INSTRUCTION_FILE_KINDS` in `claude-code` (`STATE_LIBRARY_SOURCE`, `./mods/isolate`).
1600
+ - `describe(name, body)` in `claude-code/testing`; titles join with ` > `.
1601
+ - `Text` takes `dir` (`ltr`, `rtl`).
1602
+ - `StateListener`: `createStateStore` listeners get the member `id`; a family member's write redraws
1603
+ only what read that member.
1604
+ - `splitHandlers` and `joinHandlers`: a drawn tree as JSON with its controls' callbacks apart by
1605
+ key, and back.
1606
+ - `ModScan.surfaceModules`: the surface modules a hooks module's `Client` elements name, read off
1607
+ the source as Claude Code 2.1.322 reads them (a string literal, relative, inside the plugin);
1608
+ `validateMod` prints them and fails a missing one.
1609
+ - `@rsaryev/llx-plugin/mods/isolate`: the `$.state` helpers, `STATE_LIBRARY_SOURCE` and the
1610
+ element checks for code inside an isolate, with no `node:`, `bun` or package import below it.
1611
+ - `./mods/elements`: the element table of mods and the checks of a drawn tree, a leaf for a UI
1612
+ process (no host, no port, no `node:` import); the same names stay in `./mods`.
1613
+ - `EVENT_RULES`, `API_RULES`, `uiRules`, `REGISTER_RULES`, `EventRule` and `EventRuleBook` (`./mods`).
1614
+ - `ModsHostOptions.fetchPolicy` and `ModsApiOptions.fetchPolicy` (`FetchPolicyFacts`): `$.http.fetch`
1615
+ follows the organization's WebFetch policy and `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
1616
+ - The mobile app is a mods surface: `UI_SURFACES` holds `mobile` and the `Backdrop` site is raised
1617
+ in it (`backdropRender(backdrop, 'mobile')`, `e.surface` `mobile`). It draws what the Desktop app
1618
+ draws: `ELEMENT_COLUMN_OF` maps each surface to its column of the elements table (judgment).
1619
+ - `$.theme.set({ backdrop: { id, colorScheme?, glass? } })` and `$.theme.clear()`, and the
1620
+ `Backdrop` render site: the session holds one backdrop whichever mod set it
1621
+ (`ModRegistries.backdrop`), the host says whether an app draws it and hears each change (the
1622
+ `theme` port, `ModTheme`), and `backdropRender` builds the site's event (`requestId` `backdrop`).
1623
+ - `breakPromptCache`: `prompt.section` and `tool.describe` answers carry it, `$.ui.invalidate` takes
1624
+ `'prompt.section'` and `'tool.describe'` (the host runs those hooks again through
1625
+ `ModInterface.rerun`), and `nextTurnText` says what Claude reads on the next turn and whether the
1626
+ prompt cache starts over.
1627
+ - `$.ui.place({ id })` and the `Placed` render site: the kit keeps each mod's rows (500 at most),
1628
+ resolves `{ isPlaced: true, requestId }` or `{ isPlaced: false, reason }`, and the host says
1629
+ whether it draws placed rows (`ModInterface.drawsPlacedRows`) and when rows go away
1630
+ (`ModsUi.placed.rewind`, `compact`, `end`). `$.ui.view(view)` passes to the host's
1631
+ `ModInterface.view`.
1632
+ - 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.
1633
+ - `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`.
1634
+ - `settleModApi` and `runScopedModCall` share the built-in API's namespace lending and turn-start
1635
+ admission with hosts supplying their own API adapters; no second engine-create policy is needed.
1636
+ - Enforce managed hook protection in the chain before user matchers/callbacks, retain original
1637
+ metadata across trusted rewrites, and expose the documented per-mod guarded-hook notes.
1638
+ Built-in and organization tiers keep access. Add lifecycle and readonly-origin regressions.
1639
+ - Supply the canonical, fail-closed settings merge by default to the mods settings bridge.
1640
+ Add full-artifact agent skill preloads, output-style system-prompt parts, LSP process preflight
1641
+ plans and debug-only empty-command-directory diagnostics.
1642
+ - Mods, `describeApi` and the guide of the mods API (reference.md, overview.md, interface.md, api.md).
1643
+ `describeApi(api)` describes a mod's `$` as plain data (namespace, member, kind, whether it answers
1644
+ later, the event a call fires) so a host that runs mods in another realm can rebuild it.
1645
+ `ModsHost.resetState()` resets every `$.state` value for `/clear`, `/resume` and `/branch` and redraws
1646
+ what read them; `ModsHost.input.notice(kind, deliver)` holds a subagent's finish notice and the notice
1647
+ that a monitor ended until the user's next input and drops a monitor's events while the session is
1648
+ stopped. A `$.store.set` or `delete` no longer loses a write of another session that was in flight: the
1649
+ changes of one plugin's store go one at a time. Tests prove the "Mods API calls" rule on the
1650
+ reference's own examples, the six things a mod can reach, the `$.state` declaration, manifest `types`
1651
+ field, atom rules, the load again after `/clear` of test.md, and the store sharing of interface.md.
1652
+ - Mods, crash behaviour and refused calls (troubleshoot.md, api.md). `ModRuntime.onCrash` lets a
1653
+ runtime that shares one worker tell the host the worker stopped: the mod it traced the stop to is
1654
+ unloaded (`<mod> was unloaded: it crashed the hooks worker`), the others get a fresh copy of their
1655
+ module, and the third stop that cannot be traced unloads every mod that is not built in
1656
+ (`hooks: mods that run in the hooks worker are off for this session: it crashed 3 times`;
1657
+ `reload()` turns them back on). The `$.prompt.submit`, `$.command.run` and `$.agent.spawn` calls a
1658
+ fresh copy's `session.start` repeats resolve with the first copy's result and are not made again,
1659
+ with the line `its session.start ran again in a fresh copy`. A registration from a module that is
1660
+ no longer loaded rejects (`$.agent.register refused: the hooks module that made the call is no
1661
+ longer loaded`). `createRunGate` and `ModsHost.input` model the session's input (`interrupt`,
1662
+ `userInput`, `endInput`, `--max-turns`, `--max-budget-usd`): refused calls return what the page's
1663
+ table says, and a prompt or command still queued when the user stops the turn is dropped.
1664
+ `ModsHostOptions.onNotice` receives the lines that come outside a call to the host.
1665
+ - Mods, per-mod load and unload, and where mods run. `createModsHost` keys a mod by its name: `load`
1666
+ of a plugin already loaded replaces it and no longer adds a second copy. New `loadMod(plugin)` loads
1667
+ one plugin among the loaded ones (tier from policy, last in its tier, a note when the policy would
1668
+ have put it earlier, the built-in guard first when policy needs it) and `unloadMod(name)` turns one
1669
+ off (idempotent, drops the mod from the approval ledger and the refusal book, and `reload` does not
1670
+ bring it back). `ModLoadReport.notices` carries the lines a person reads with where each is read
1671
+ (`modLineChannel`: transcript, stderr of `claude -p --plugin-dir`, debug log; a refusal by another
1672
+ mod in the debug log of a `claude -p` run and in the transcript of an interactive session that
1673
+ 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,
1674
+ the VS Code versions) and `decideModLoad` refuses an installed plugin in a WSL session of the Desktop
1675
+ app and, in the cloud, one that does not reach the session; `modsVersionProblem` names the first
1676
+ versions that load mods. `writtenModRefusal` says why a mod Claude wrote cannot load,
1677
+ `createHotReloadGate` is the hot-reloading question (off after three unanswered), and `changeNotice`
1678
+ words the transcript line of a change that did not load. Tests for the 29 requirements of the
1679
+ overview, create and troubleshoot pages on loading, enabling, refusals and where mods run.
1680
+ - Mods, two seams of load. `ModCompiler.compile` returns `{ scan?, run?, issues }`: `scan` is an ES
1681
+ module the static scan reads (`claude plugin validate`, `plugin.register`'s `e.uses`), `run` is the
1682
+ code and format (`esm`, `cjs`, `iife`...) the host chose for its engine, which `ModRuntime.load` now
1683
+ receives with its `format`. A compiler whose run output is an ES module may return it alone; a CommonJS
1684
+ scan output is refused with a message that names both outputs. New `MatcherEngine` port
1685
+ (`createModChain({ matcherEngine, matcherMs })`, `createModsHost` likewise): the regular expressions of
1686
+ hook matchers are tested there, under a limit, instead of on the host thread, and a test the engine
1687
+ refuses or does not answer is no match plus a skipped-hook line. The lines of skipped hooks follow
1688
+ troubleshoot.md: the transcript or stderr gets the first of each mod, event and kind (`throw`,
1689
+ `timeout`, `wrong-shape`) until the mod reloads, the debug log gets every occurrence (`HookReport.kind`).
1690
+ A runtime or compiler that throws is a `hooks module did not load` line, a stack overflow the
1691
+ documented reason (`engineStackIssue`, `the engine ran out of stack linking the file and its imports`,
1692
+ `...loading the file (code nested too deep): <message>`), the parser's reason has no line number, and
1693
+ a `Client` error with no message is `the module failed without a message`. `DispatchOptions.before` is
1694
+ where the managed `PreToolUse` hooks run, ahead of the first mod. 19 requirements of the mods events,
1695
+ overview, create and troubleshoot pages are now proven (18: the linking reason is a judgment, see the
1696
+ review fixes).
1697
+
1698
+ #### host
1699
+
1700
+ - `docs/SECURITY.md`: where the kit is deliberately stricter than Claude Code (path variables in a
1701
+ `!` command, a plugin's `headersHelper` and a monitor `command`), with what Claude Code does, an
1702
+ input that shows the hole, the corpus cost and the `shellPaths: 'pasted'` option; the security
1703
+ fixes that are not deviations; and the risks the host owns (running hook commands, `$ARGUMENTS`
1704
+ and `${user_config.*}` in `!` commands, trust prompts, the ports). Linked from README.md and
1705
+ docs/API.md.
1706
+ - `pluginsWithDependencies(plugins)` (root entry): the load-time dependency verdict a session
1707
+ applies, as a pure function for a host that starts plugins outside a session. Each plugin is given
1708
+ as `{ id, plugin, enabled }`; back come `plugins` (`{ id, name, enabled }`, as `session.plugins`)
1709
+ with every plugin whose dependency is not installed, disabled or outside its range off,
1710
+ transitively, and `issues`, one `DependencyIssue` per such plugin under its id, carrying the
1711
+ `errorType` (`dependency-unsatisfied`, `dependency-version-unsatisfied`) to match on instead of
1712
+ the text. The host state calls the same `withDependencies`, so the two cannot disagree
1713
+ (tests/host/plugin-dependencies.test.ts compares them).
1714
+ - `SessionOptions.parentSession`: a subagent's session opened with its parent's shares the parent's
1715
+ monitor ledger (a plugin monitor "runs in the background for the whole session",
1716
+ components.md), so what the parent handed out is not started again, and a skill the subagent runs
1717
+ triggers its monitors once for both. A session the host did not open throws
1718
+ `parentSession: not a session this host opened`. Proven in tests/host/session-monitors.test.ts.
1719
+ - `availableTools` reads host tool names: `ToolSession.names` (a `HostToolNames`) is read the same
1720
+ way `resolveSubagentTools` reads `ToolPool.names`. A host tool goes when a bare deny removes any of
1721
+ its Claude Code names. `SessionOptions.toolNames` now says, and a test shows, that an MCP tool
1722
+ called by its `mcp__<server>__<tool>` name needs no entry, a per-run server included.
1723
+ - `mergeToolCheck` takes the verdict `{ tightenOnly }` in place of `{ mode }`, and
1724
+ `hookTightensOnly(mode)` gives it, for a host with no `PermissionMode` to hand.
1725
+ - A host tool may stand for several Claude Code tools, and a call's Claude Code name may depend on
1726
+ its input: `HostToolNames.toClaude` takes a list (`Search: ['Grep', 'Glob']`), and
1727
+ `HostToolNames.callName(hostTool, input)` names one call. `ToolNames` gains `claudeNames(hostTool)`,
1728
+ and `claudeName(hostTool, input?)` reads the input. Every consumer reads the call's name the same
1729
+ way: a dispatched event's `tool_name` (from `tool_input`), `checkTool`'s rules (from the input that
1730
+ runs), `resolveSubagentTools` (an entry naming any of the names grants the host tool, a
1731
+ `disallowedTools` entry naming any of them removes it), and the mods tool events through the new
1732
+ `ModToolFlow.names` (`tool.call`/`tool.check` and their matchers see the Claude Code name, the
1733
+ host's callbacks its own).
1734
+ - `session.monitorLedger()` and `SessionOptions.monitorLedger`: a session reopened over the same chat
1735
+ continues from the previous one's handed-out monitors and skill invocations, so nothing starts
1736
+ twice. `MonitorLedgerState` is exported.
1737
+ - One monitor lifecycle in the session: `session.monitorsToStart(options?):
1738
+ Promise<Resolved<MonitorStart>>` returns each monitor of the enabled plugins once: the `always`
1739
+ ones (at open, and for a plugin an update enabled), and the `on-skill-invoke:<skill>` ones whose
1740
+ skill a successful `expandSkill` ran, which the session records itself. Each `MonitorStart` is
1741
+ `{ monitor, cwd, env }`: the session directory, and `subprocessEnvironment('monitor')` with the
1742
+ monitor's path variables. `session.monitorsToStop(event)` gives the `MonitorId`s
1743
+ (`{ pluginId, name }`) to stop: none for `'plugin-disabled'`, all for `'session-ended'`. Types
1744
+ `MonitorPart`, `MonitorStart`, `MonitorStartOptions`, `MonitorId` (root), `MonitorStopEvent`,
1745
+ `InvokedSkill` (`./loading`).
1746
+ - `HostToolNames` (`{ toClaude?; missing? }`), `toolNamesOf(names): ToolNames` (`./rules`),
1747
+ `ToolPool.names` and `SessionOptions.toolNames`: a host whose tools carry other names states once
1748
+ how they correspond to Claude Code's; subagent tool resolution, hook matching (`tool_name`,
1749
+ `matcher`, `if`) and `checkTool`'s permission decision read the Claude Code name, and
1750
+ `resolveSubagentTools` returns the host's names.
1751
+ - `SubagentModel.kind: 'inherit' | 'alias' | 'full-id'`: what `resolveSubagentModel`'s `model` is,
1752
+ for a host that routes models itself (`'inherit'` whenever it is the main model).
1753
+ - `CLAUDE_CONFIG_DIR` moves every user-scope folder the kit reads (env-vars.md, claude-directory.md;
1754
+ probed against Claude Code 2.1.322): the personal skills, commands, synced skills and agents of a
1755
+ session follow it, read from the session's `Environment` port with the user and managed settings
1756
+ `env` over it. `ScopeRequest.configDir`, `MemoryContext.configDir`; a session's own
1757
+ `DecideContext` protects the configuration directory. `extraScopeFolders` stay below the home.
1758
+ - `session.skillCatalog({ activated? }?): SkillCatalog` (`{ skills: readonly SessionSkill[]; issues }`):
1759
+ every skill and command the session can invoke, with every name it answers to, its source
1760
+ (`{ kind: 'plugin', pluginId }`, `{ kind: 'folder', scope }` or `{ kind: 'host' }`), its validated
1761
+ head, its `skillOverrides` state, `policy`, `listed`, `dormant`, and where it lives: `file` and
1762
+ `directory`, absolute for every source, `directory` being the value of `${CLAUDE_SKILL_DIR}`
1763
+ (`SkillPlace`; a command has no directory, an inline manifest command no file). `skills()` is
1764
+ built from these rows and `expandSkill` finds them by the same names; no port is called (a plugin
1765
+ root is asked once per host generation, when the entries are built). Types `SessionSkill`,
1766
+ `SkillCatalog`, `SkillSource`, `HostSource`, `SkillPlace`, `SkillCatalogOptions` (root, `./host`);
1767
+ `listedAs` and `isDormant` (`./skills`).
1768
+ - `SessionOptions.settings?: PolicyView`: a session's own settings (its project's user, project and
1769
+ local layers, plus any `flagSettings` layer of the host), replacing the host's for that session:
1770
+ which plugins run and everything they expose. `PluginSession.plugins` lists the host's plugins
1771
+ with whether they run in the session.
1772
+ - `readCatalog(plugin): PluginCatalog` is exported (root and `./host`).
1773
+ - `SessionOptions.plugins?: readonly HostPlugin[]`: a session's own plugins (its project's installs,
1774
+ `--plugin-dir` plugins), beside the host's in that session only; one under a host plugin's id
1775
+ replaces it there. `SessionOptions.userConfig`: a session's saved values, replacing the host's.
1776
+ `PluginSession.issues`: the issues of the session's plugin set.
1777
+ - Copies of one manifest name from different origins follow plugins/loading.md "Name conflicts"
1778
+ in the host and in each session (managed, `@inline`, installed, `@skills-dir`, `@synced`).
1779
+ - `session.checkTool(call, { ..., resolver? })`: with a `PathResolver`, the symlink check runs over
1780
+ the input that runs (`prepareCall`, and `resolveRuleDirectories` when the context has no
1781
+ `realDirectories`); a path that cannot be resolved is `decision: { outcome: 'deny', reason:
1782
+ 'unresolvable-path' }` with `ToolCheck.refused` holding the `PortFailure`. `DecisionReason` gains
1783
+ `unresolvable-path`.
1784
+ - `SessionOptions.locations?: Locations`: a session's project folder and plugin folders, replacing
1785
+ the host's `ports.locations` for everything the session resolves (hooks, skills, agents, MCP and LSP
1786
+ servers, monitors, folder reads). Its `pluginRoot(id)` answers for the session's own plugins.
1787
+ - `./package.json` is exported. Every other subpath has a `llx-plugin-source` condition (the
1788
+ `src` entry, for a path-linked host's tsc through `customConditions`) and a `default`.
1789
+ - `@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.
1790
+ - `session.checkTool(call, { toolUseId, permissionContext, signal })`: the `PreToolUse` hooks, then
1791
+ `decide` over the input they return, in one call (`{ hook, input, decision }`).
1792
+ - `policyContext(facts)`: a `PolicyContext` whose missing facts grant the least.
1793
+ - `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.
1794
+ - `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.
1795
+ - `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.
1796
+ - Interactive user-config dialog plans, the published default plugin trust warning, and monitor
1797
+ release gating and shutdown decisions. Add spec proofs for saved configuration, trust refusals,
1798
+ manifest prose and documented validator diagnostics without changing the requirement registry.
1799
+ - Host: `HostPorts.folders`, `SessionOptions.addedDirectories`, `session.reloadSkills` (the first read and
1800
+ `/reload-skills`) and `session.touchFile`; `strictPluginOnlyCustomization` for skills is applied to the
1801
+ folders. A plugin skill is also typed by its frontmatter `name` without the prefix when no command uses
1802
+ it. `readSkillMentions` takes the listed `names`, so `/apps/web:deploy` is one word.
1803
+ - Host: `SessionOptions.takenCommands` (the host's built-in commands, bundled skills and MCP prompts a
1804
+ synced skill's short name yields to); `session.addDirectory` (`/add-dir`) and `session.moveTo` (`/cd`),
1805
+ which read the folders again on a live session and keep its skill hooks, `once` keys and nested
1806
+ directories; `session.skillSources()` with each listed folder skill's scope, origin, names and the names
1807
+ it gave up (`yielded`, `heldBy`) and the `shadowed` ones, for the `claude.ai sync` group of `/skills`.
1808
+ - Host: `session.withTurn(turn)` returns the same session for one turn. A turn replaces only the
1809
+ `permissionMode`, `effort`, `cwd`, `additionalDirectories`, `permissions` (the shell answer),
1810
+ `promptId`, `scratchpadDir`, `agent`, `folderTrustAccepted` and `interactive` it names, and shares
1811
+ what must outlive a turn: the skills' registered hooks, the `once` keys already consumed and the
1812
+ limits on skill hooks. The session it is called on does not change.
1813
+ - Host: `SessionOptions` carries `promptId`, `scratchpadDir`, `agent` (`id`, `type`) and
1814
+ `folderTrustAccepted` into the hook input (`prompt_id`, `scratchpad_dir`, `agent_id`,
1815
+ `agent_type`) and the workspace-trust gate of a project subagent's hooks.
1816
+ - Host: `expandSkill` registers a skill's frontmatter hooks into the session (they keep running for
1817
+ the rest of it, `once` removes one after its first successful run, a skill past 1,024 hooks or
1818
+ 16,384 matcher characters for its source "registers none of its hooks"); a manifest command's
1819
+ invalid `allowedTools` rule is reported as `loadCommandEntries` reports it; `allowManagedPermissionRulesOnly`
1820
+ in a managed layer takes away the `allowed-tools` grant of project, personal, synced and
1821
+ skills-directory skills.
1822
+ - Host: `createPluginHost({ plugins, ports, settings?, userConfig? })` and `host.openSession(...)`,
1823
+ the public entry that composes the loaded plugins, the skills, hooks, agents, settings and ports. A
1824
+ session lists skills and commands as `<plugin>:<name>` (invocation flags, budget), expands them
1825
+ (`$ARGUMENTS`, `${CLAUDE_PLUGIN_ROOT}`, shell placeholders through the runner, the shell policy of
1826
+ the settings), dispatches any hook event typed per event over every enabled plugin and the
1827
+ settings files (matchers, `if` through the rules module, `disableAllHooks`, `allowManagedHooksOnly`,
1828
+ the `hooks` lock, the HTTP allowlists), and resolves agents, MCP and LSP servers, monitors and
1829
+ output styles with the plugin variables and saved options. Enablement follows the host, then
1830
+ `enabledPlugins`, with managed settings that turn a plugin off winning.
1831
+ - Testing: `@rsaryev/llx-plugin/testing` publishes the fakes of the ports (`memoryFiles`,
1832
+ `scriptedRunner`, `recordingHttp`, `fakeModel`, `fakeMcp`, `fixedClock`, `locations`,
1833
+ `fakeEnvironment`, `memoryScratch`); `tests/support/ports.ts` re-exports them, one copy.
1834
+ - Official types re-exported from `@anthropic-ai/claude-agent-sdk`, with `HOOK_EVENTS` and
1835
+ `HOOK_HANDLER_TYPES` asserted equal to the SDK's unions.
1836
+ - The ports a host implements (`PluginFiles`, `CommandRunner`, `HttpClient`, `ModelRunner`,
1837
+ `McpCaller`, `Locations`, `Environment`, `Clock`, `ScratchFiles`), type-only, and in-memory fakes
1838
+ of each for tests.
1839
+ - `EFFORT_LEVELS`, asserted equal to the SDK's `EffortLevel`, and the official `EffortLevel`,
1840
+ `SlashCommand` and `ResolvedSettingSource` types re-exported.
1841
+ - Permission rules (`rules`): `parseRule` and `formatRule` for `Tool` and `Tool(specifier)` (literal
1842
+ parentheses, `Bash(*)` as bare, `domain:` and `Tool(param:value)` specifiers, the malformed-rule
1843
+ message), `matchRule` for bare rules, tool-name globs (with the allow-glob anchoring rule) and
1844
+ input-parameter rules, `evaluateRules` in deny, ask, allow order, and `ruleIssues` for the
1845
+ matches-no-tool warning. `PERMISSION_MODES`, `PERMISSION_BEHAVIORS`, `normalizePermissionMode`
1846
+ (`manual` is `default`), `DOCUMENTED_TOOLS`, and the SDK's tool input and output types.
1847
+ - Bash and PowerShell rules: the wildcard patterns of permissions.md (the `*` anywhere, the bare
1848
+ command before a trailing ` *`, the `:*` suffix), compound commands (every subcommand for an
1849
+ allow rule, any for deny and ask, including `$()`, backticks, subshells and loop bodies),
1850
+ the fixed wrapper list and safe environment assignments, exec wrappers and `find` actions that
1851
+ a prefix rule cannot approve, PowerShell aliases and case-insensitive matching, the
1852
+ wildcard-before-subcommand startup warning, and `evaluateIf` for the `if` field of hooks.
1853
+ `splitCommand`, `stripWrappers`, `matchBashPattern` and `requiresPromptDespitePrefixRule` are
1854
+ exported.
1855
+ - Path rules (`rules/path`): `Read(...)` and `Edit(...)` patterns with the four anchors (`//`, `~/`,
1856
+ `/` per settings source, `path` and `./path`), gitignore matching through `ignore`, the allow versus
1857
+ deny/ask depth rule for a single directory segment, `!` negation within one source, Windows POSIX
1858
+ paths, routing (Edit covers Write and NotebookEdit, Read covers Grep and Glob, an Edit allow implies
1859
+ read, a Read deny covers Edit and Write, Write/Glob/Grep/NotebookEdit path rules never match), the
1860
+ symlink two-path rule through a new `PathResolver` port (`prepareCall`, `resolveRuleDirectories`,
1861
+ `PathContext.realDirectories`), `readsNetworkPath` and `matchCdRule`.
1862
+ - Target rules (`rules/target`): `WebFetch(domain:...)` against the hostname of the call's `url`
1863
+ (case-insensitive, trailing dot stripped, `*.`, bare `*`, a `*` elsewhere limited to one label,
1864
+ bracketed IPv6), `matchDomainPattern`, and the sandbox domain list a `domain:` rule adds to as data
1865
+ (`sandboxDomainEntry`, `sandboxDomainLists`; a bare `WebFetch` adds nothing); `Agent(Name)`
1866
+ against `subagent_type`; `Skill(name)` and `Skill(name *)` with the namespace rule and the names a
1867
+ deny rule sees; MCP rule forms (`mcp__server`, `mcp__server__*`, `mcp__server__tool`) with the
1868
+ deny-or-ask versus allow difference for a server whose name holds `__`, `normalizeMcpServerName`,
1869
+ `pluginMcpServerName`, `mcpToolName`, `mcpToolRuleMatches`, and the Cowork tools a bare `Bash` or
1870
+ `WebFetch` deny rule also blocks.
1871
+
1872
+ #### cli
1873
+
1874
+ - Plugin release-tag planning and completion reporting, including validation, version agreement,
1875
+ force, dry-run, annotated messages, remote selection and local-tag preservation after a failed push.
1876
+ - CLI lifecycle commands: `claude plugin install`, `update`, `enable`, `disable`, `prune`,
1877
+ `uninstall` and `configure` as plans over ports. `startInstall`/`planInstall` run the install
1878
+ ladder (already installed at that scope exits 0 with the exact line, a command-source or
1879
+ `headersHelper` entry prints its command and needs `-y` or the `--accept-command` sha256, `Aborted.`
1880
+ and `Aborted — the command was not run.`, `-y` ignored inside a session, the `shownCommand` of a
1881
+ refused `--json` run, `--config` and `<server>.<key>` validated against `userConfig`, the
1882
+ `--marketplace` source added first, the refresh before the install and the dependency closure);
1883
+ `decideAcceptance` counts a sha256 only for the exact command, plugin and the catalog the run read
1884
+ after its own refresh. `planPluginUpdate` detects the scope (local, project, user, managed), matches
1885
+ a bare name and refuses an ambiguous one, reports `already at the latest version` and retries an
1886
+ unfinished dependency install in the cached copy. `planEnable`/`planDisable` write the scope the
1887
+ first mention or an override names, cascade to dependencies and refuse for dependents, a blocked or
1888
+ higher-scope-false dependency or a required synced plugin. `planPruneCommand` covers `--dry-run`,
1889
+ the terminal and `-y` matrix. `startUninstall`/`concludeUninstall` add G8: from the last scope the
1890
+ plugin's options, secrets and data directory go, except with `--keep-data`, for another plugin on the
1891
+ same folder, or when the install records cannot be read back (`savedKept`), with `keptData`,
1892
+ `settings_still_on` and `--prune`. `planConfigure` lists options without saved values, saves
1893
+ `--values-stdin` whole or not at all, and never prints a sensitive value. 27 requirements are proven
1894
+ and the choices the docs leave open are in `spec/judgments.md`.
1895
+ - CLI: a new `cli` module (layer 5) that models the plugin and marketplace commands as plans over
1896
+ ports. `renderCommand` gives the human line, the exit code and the last-line JSON object of a
1897
+ command (`command`, `outcome`, `message`, `failureCode`, a usage error that prints no result line);
1898
+ `chooseScope` and `writeScope` the scope grammar; `resolveCommand` the command table with its
1899
+ aliases; `startMarketplaceAdd`/`concludeMarketplaceAdd`, `planMarketplaceList`,
1900
+ `planMarketplaceRemove` and `planMarketplaceUpdate` the four marketplace commands; and
1901
+ `planSessionFlags` the 20 session flags of `claude` (`--plugin-dir`, `--plugin-url`, `--bare`,
1902
+ `--safe-mode`, `--restricted`, `--setting-sources`, `--settings`, `--disable-slash-commands`,
1903
+ `--add-dir`, `--agent`, `--agents`, the subagent-prompt flags, `--channels`, the development
1904
+ channels, `--mcp-config`, `--strict-mcp-config`, `--permission-mode`, `--tools`) with the refusals
1905
+ that exit `1` without starting. `scripts/check-layers.ts` gives the module its layer.
1906
+
1907
+ #### repository
1908
+
1909
+ - The package declares Node.js 22 or later (`engines`): the built `dist` calls
1910
+ `Promise.withResolvers`. Getting started says how long `--omit=optional` keeps the Agent SDK's
1911
+ binary out, that the SDK peers missing under `skipLibCheck` read as `any`, and that a registry
1912
+ install reads the declarations rather than the source condition.
1913
+ - The declarations check covers every declared call of `$` (88): its arguments against the declared
1914
+ parameters, the op event it fires against the declared input, and its result against the declared
1915
+ result (docs/API.md, "Mods declarations").
1916
+ - The mods declarations as evidence (AGENTS.md, E2a): `bun run types:pull` gets the
1917
+ `claude-code` declarations of the pinned release in a private `HOME`, `bun run types:extract`
1918
+ reads them with the TypeScript checker into `spec/mods-declarations.json`, `check:spec` (SP8)
1919
+ holds the snapshot to the release, and `tests/mods/declarations/surface.test.ts` fails on any
1920
+ difference between the kit and the declarations not judged in `spec/judgments.md` (D1 to D5).
1921
+ - Reach 100% of the in-scope requirements (2713 of 2713): host switches (`CLAUDE_CODE_*` variables,
1922
+ telemetry opt-out), channel contract and permission relay, shell redirection checks, marketplace
1923
+ add failures, name conflicts, relevance hints and telemetry names, `plugin list`/`details`/`validate`
1924
+ builders, mods keyboard and VS Code rules, managed-settings limits, seed registry and the managed
1925
+ approval-dialog list. Judgments are recorded in `spec/judgments.md`.
1926
+ - Audit the owner-approved plugin-host scope separately from native Claude Code UI, services,
1927
+ scheduling/model runtime and SDK-client behavior; publish every filtered table row in the
1928
+ generated exclusion log and regression-test that new plugin sections stay in scope.
1929
+ - `bun run oracle:runtime`: what a Claude Code session registers from a plugin (`init` event of
1930
+ `claude -p --plugin-dir`, no model call) against the kit's session, for 32 fixtures
1931
+ (then in this repository; now the spec's, synced to `spec/oracle/runtime`); each fixture's
1932
+ `expected.json` is committed, so `bun test` checks it without `claude`.
1933
+ - `bun run corpus:load`: the kit's loading compared with Claude Code's own (`claude plugin
1934
+ details` over `--plugin-dir`) on every corpus plugin, per component.
1935
+ - `bun run mutation <module>`: StrykerJS mutation testing of one module against its own tests,
1936
+ with a JSON report in `.cache/mutation/`.
1937
+ - `bun run bench`: times `loadPlugin` (from disk and from memory), host assembly, the skill
1938
+ listing and `PreToolUse` dispatch over the real plugins of the corpus.
1939
+ - Spec: the same-name table of skills.md names its rows by phrase (`PageScope.phrases`), which adds six
1940
+ requirements (bundled skill, built-in command, added directory, two added directories, plugin skill,
1941
+ synced short name).
1942
+ - Spec: every page of the docs is classified (SP7). The 24 pages that document hooks, memory,
1943
+ worktrees, status lines, headless runs, model settings, server-managed settings, agent teams,
1944
+ goals, scheduling, auto mode, tools, the error catalogue and the Agent SDK's plugin, hook, skill,
1945
+ subagent, permission and MCP behaviour are audited section by section, and the other 156 are
1946
+ listed in `spec/out-of-scope-pages.json` with a reason docs/SPEC.md explains. A page that
1947
+ appears in a new release fails `check:spec` until it is classified.
1948
+ - Spec: the requirement set now counts the docs' prose, not only their tables. Every heading of
1949
+ the plugin, mods, skills, subagents, hooks, MCP, managed MCP, settings, managed settings,
1950
+ permissions, environment, CLI, workflows, themes, output styles and channels pages is either
1951
+ read as requirements (one per section, one per listed rule) or listed in
1952
+ `spec/out-of-scope.json` with a reason (docs/SPEC.md, "Sections and scope"). New categories:
1953
+ `install`, `updates`, `trust`, `policy`, `settings-merge`, `mcp-settings`, `themes`,
1954
+ `workflows`, `cli`. The compatibility percentage drops accordingly: the new requirements are
1955
+ unproven until a test names them.
1956
+ - Evidence: the oracle (the official CLI of the same release, run as a black box) is a recognised
1957
+ source in docs/SPEC.md and AGENTS.md (E5a) for message wording and validator-only checks; every
1958
+ behaviour taken from it is a row `oracle 2.1.319` in spec/judgments.md with an input of its own.
1959
+ - Corpus: `bun run corpus` compares the oracle with `validatePlugin` (verdict agreement, findings
1960
+ with the same severity and message, findings at the same file and path, what the kit misses or
1961
+ adds) and prints `loadPlugin`'s verdict on a separate line.
1962
+ - The corpus: `corpus:fetch` fetches every plugin of the official and community marketplaces
1963
+ through the kit's own marketplace reader and fetch plans; `corpus` compares the kit with
1964
+ `claude plugin validate --json` plugin by plugin.
1965
+ - The evidence pipeline: `docs:pull` mirrors the official Claude Code docs, `spec:extract` turns
1966
+ them into `spec/requirements.json`, and `compat` reports the share each test run proves.
1967
+ - `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.
1968
+
1969
+ ### Changed
1970
+
1971
+ #### format
1972
+
1973
+ - **BREAKING** `loadPlugin` and `collectMcpServers` `bundleSettings` → gone. Bundle settings are read when a server is resolved, not at load: `loadPlugin` and
1974
+ `collectMcpServers` take no `bundleSettings`; a bundled server's values come from the scope's
1975
+ `userConfig.values` under `<server>.<key>` (a session fills them from `pluginConfigs.<id>.mcpServers`
1976
+ and `userConfig`), and `Bundled MCP server "<name>" was not started: it needs configuration` is an
1977
+ issue of `resolveMcpServers` / `resolveChannel` / `session.mcpServers()`.
1978
+ - **BREAKING** `McpBundleSetting` and `McpbOption` → gone. `McpBundle.userConfig` is the bundle's raw `user_config` block; `McpBundleSetting` and
1979
+ `McpbOption` are removed (`McpbManifest.options` is `Record<string, UserConfigOption>`).
1980
+ - **BREAKING** `resolveChannel` over a servers map → over a `Plugin` (`{ mcpServers, mcpBundles }`). `resolveChannel(channel, plugin, scope)` takes `{ mcpServers, mcpBundles }` (a `Plugin`) in place
1981
+ of the servers map.
1982
+ - **BREAKING** `fillBundleSettings` → gone. `bundleServerOf` leaves a bundle's `${user_config.<key>}` as written (no `<server>.<key>` rewrite);
1983
+ `fillBundleSettings` is removed: the kit answers the references when it resolves the server.
1984
+ - **BREAKING** `headersHelperEnvironment` → `planHeadersHelper(resolved.headersHelper, origin, trust, context)`. An MCP server's `headersHelper` resolves to a `HelperServer`; plan its run with
1985
+ `planHeadersHelper(resolved.headersHelper, origin, trust, context)` instead of reading
1986
+ `headersHelperEnvironment`.
1987
+ - The `headersHelper` refusal line names `$CLAUDE_CONFIG_DIR/.claude.json` when the variable is set.
1988
+ - `requiredBundleSettings` takes `{ name, options }` (an `McpbManifest` still does).
1989
+ - `Plugin.mcpBundles` (new, required): each bundled server's own settings (`McpBundleConfig`, `{ userConfig }`). `resolveMcpServers` and `resolveProcesses` read it.
1990
+ - `resolveProcesses(plugin, scope)` needs the plugin's `manifest`; a server bound by a channel takes
1991
+ that channel's `userConfig`. Issue paths are indexed (`lspServers.go.args[0]`).
1992
+ - `exportedEnvironment(component, scope, substitution?)` takes an optional
1993
+ `Pick<Substituter, 'variable'>` to answer the variables.
1994
+ - A host release written `v2.1.319`, `2.1.320-beta` or with trailing text satisfies the v2.1.310
1995
+ flag-free monitor minimum.
1996
+
1997
+ #### settings
1998
+
1999
+ - **BREAKING** `SCOPE_PRECEDENCE` → `SCOPES_BY_PRECEDENCE`. `SCOPE_PRECEDENCE` is renamed `SCOPES_BY_PRECEDENCE` (`['managed', 'local', 'project', 'user']`).
2000
+ - **BREAKING** `createHookPolicy(view, locks, context)` → `createHookPolicy(view, context)`. `createHookPolicy(view, context)` (`./settings`) takes no `locks`: the `hooks` surface of
2001
+ `strictPluginOnlyCustomization` is read from the view.
2002
+ - **BREAKING** `NotAppliedVariable.reason` → `.why`; `envIgnored` → `ignoredBecause(...) !== undefined`. `resolveSettingsEnv(...).ignored` entries are `NotAppliedVariable` `{ name, scope, why }`, `why` a
2003
+ `NotApplied` (an `IgnoreReason` such as `storage`, `identity` or `launch-only`, or
2004
+ `launch-environment`, `shell-keeps-it`, `awaiting-trust`). Read `.why` instead of
2005
+ `.reason`; `ignoredBecause(scope, name, value) !== undefined` replaces `envIgnored`.
2006
+ - **BREAKING** `resolveSettingsEnv(...).issues` → gone. `resolveSettingsEnv` no longer returns `issues`; an `env` value that is not a string reaches the
2007
+ environment as its text (`String(value)`, as Claude Code sets it) instead of being left out.
2008
+ - `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB` with surrounding blanks turns the scrub on.
2009
+ - Settings (changed): `unionArrays` drops duplicate entries, as managed-settings.md says of combined
2010
+ lists; a user, project, local or `--settings` source that is not a JSON object is an error issue
2011
+ ("Settings Error: ...") rather than a warning, and still skipped.
2012
+
2013
+ #### hooks
2014
+
2015
+ - **BREAKING** `SkipKind` → also `'linger'`. `SkipKind` gains `'linger'`: a hook still running `HookBudget.lingerMs` (5000 ms,
2016
+ claude-code/index.d.ts:5435) after its `next.signal` aborted is reported once, `<mod>: <event> hook
2017
+ lingering: still running 5000 ms after next.signal aborted`. `MOD_LIMITS.lingerMs` is new.
2018
+ - **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
2019
+ skipped: next(e) rejected and the hook did not catch it: <error>` instead of `threw <error>`, which
2020
+ read as the hook's own fault (a refusal by Claude Code's gate, for one). It is still a `throw`
2021
+ report and a `.catch` handler still answers.
2022
+ - **BREAKING** `HookEngineOptions.shellPaths`, `DispatchConfig.shellPaths` and `RunContext.shellPaths` → gone. A bash shell-form hook always keeps `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
2023
+ and `${CLAUDE_PROJECT_DIR}` as braced references with the paths in its environment, as Claude Code
2024
+ 2.1.322 does; `shellPaths: 'pasted'` pastes only where Claude Code pastes (a monitor `command`, an
2025
+ MCP `headersHelper`, a skill's `!` command). `HookEngineOptions.shellPaths`,
2026
+ `DispatchConfig.shellPaths` and `RunContext.shellPaths` are removed, and the `hook-shell` surface
2027
+ is no longer one `shellPaths` sets.
2028
+ - A PowerShell hook reports every bare `$CLAUDE_*` path variable once, not only the first.
2029
+
2030
+ #### skills
2031
+
2032
+ - **BREAKING** `SkillOrigin` → also `{ kind: 'bundled' }`. `SkillOrigin` gains `{ kind: 'bundled' }`, so a registry over `SkillOriginKind` needs the
2033
+ key. `SessionOptions.takenCommands` no longer needs the host's bundled skills when they are given
2034
+ as `hostSkills`.
2035
+ - **BREAKING** `stackSkills` over rows → over a `SkillLookup`, returning `{ skills, arguments, mentions }`. `stackSkills(message, lookup, options?)` takes a `SkillLookup` (`skillLookup(rows)`) and returns
2036
+ `{ skills, arguments, mentions }`; `StackOptions.takesCommandArguments` names the host commands
2037
+ (`/loop`) that end a stack.
2038
+ - **BREAKING** `Invocable` with its body → `InvocableHead` and a `BodyReader`. The folder scan is metadata-first: `ScannedEntry` and `ResolvedFolderSkill` hold the skill or command
2039
+ without its body (`SkillHead`, `CommandHead`, `InvocableHead`) and a `BodyReader` (`readBody(signal?)`)
2040
+ that reads the body through the host's `FolderScan` port when the skill runs, fresh each time. A port
2041
+ that refuses a file now skips that file with a warning instead of failing the scan, and a session
2042
+ expands an edited folder skill without a reload. `Invocable` is `InvocableHead`, and `stackSkills` keeps
2043
+ the caller's skill type.
2044
+ - `${CLAUDE_SKILL_DIR}` keeps a skill directory that is already absolute: a session expands a skill
2045
+ with the row's `directory`, so the plugin root is asked once per host generation instead of at
2046
+ each expansion.
2047
+ - A skill's `!` command is decided by the session's permission rules plus the skill's
2048
+ `allowed-tools` (`SessionOptions.permissionContext`) instead of always asking, and runs with the
2049
+ session's Bash or PowerShell subprocess environment.
2050
+ - `session.expandMessage(message, { signal, invoker?, takesCommandArguments? })` finds skills by
2051
+ aliases and declared names, as `expandSkill` does; `permitted` holds the listed commands.
2052
+ - `paths` globs of a skill are compiled once per skill.
2053
+
2054
+ #### agents
2055
+
2056
+ - **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
2057
+ session's settings and the plugin defaults. `selectSessionAgent`'s `setting` is an
2058
+ `AgentSetting` (`{ name; plugin? }`), not a string. `valueWithPluginDefaults` returns
2059
+ `{ value, plugin? }` (or `undefined`), and `pluginDefaultsOf` gives `owners` by key.
2060
+ - **BREAKING** `CatalogAgent.source` tier string → `CatalogSource` object. `CatalogAgent.source` (`CatalogSource`) is an object, `{ kind: 'plugin', pluginId }`,
2061
+ `{ kind: 'folder', scope }`, `{ kind: 'flag' }` or `{ kind: 'builtin' }`, not the tier string;
2062
+ `catalogTier(source)` gives the old value. `SessionAgent.source` follows.
2063
+ - **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
2064
+ `places` (`ScopePlaces`: each base with its folder), and `SCOPE_BASES.home` is gone: the user
2065
+ scope is `SCOPE_PLACES.user`. `SavedScanRequest.configDir` is the inherited
2066
+ `ScopeRequest.configDir`.
2067
+ - `session.preloadSkills(definition, { signal, source })`: with the agent's `CatalogAgent.source`, a
2068
+ bare name in a plugin agent's `skills` finds its own plugin's `<plugin>:<name>` first, else the
2069
+ first plugin's in load order (oracle 2.1.322). Without `source`, the agent is read as one of no plugin.
2070
+ - `AgentToolFields` reads `tools` and `disallowedTools` as readonly lists, so a host's readonly agent record is accepted as it is.
2071
+ - `readFlagAgents` loads a `--agents` name with `:` and one over 256 characters, as Claude Code
2072
+ 2.1.322 does; its bare name is the part after the last `:` (`--agent name` finds `ns:name`). Only
2073
+ an empty name is refused beside the documented `-`.
2074
+
2075
+ #### marketplace
2076
+
2077
+ - **BREAKING** a plugin with unmet `dependencies` ran → it is off (`enabled: false`). A plugin whose `dependencies` are not met no longer runs: `enabled: false`
2078
+ with `Dependency "<dep>" is not installed`, `... is disabled — enable it or remove the dependency`
2079
+ or `Requires "<dep>" <range>, installed <version>` under its id, and what needs it stops too
2080
+ (plugins/troubleshooting.md, "Dependency errors"; oracle 2.1.322). Give every installed plugin,
2081
+ the disabled ones with `enabled: false`.
2082
+ - **BREAKING** `UninstallStart.remove` → also `requiredBy`, and the success line ends `— warning: required by …`. `UninstallStart` `remove` gains `requiredBy` (the names of the enabled
2083
+ plugins that depend on it), and the success line ends `— warning: required by a, c` (oracle
2084
+ 2.1.322; the uninstall is not refused).
2085
+ - **BREAKING** `InstallRun` → also `{ before, needs }`. `InstallRun` (`planInstall`) gains `{ before, needs }`, returned when a
2086
+ dependency's `plugin.json` must be fetched before the plan is final.
2087
+ - **BREAKING** `checkForUpdate` returned the outcome string → async, returns `UpdateVerdict` `{ check, version }`. `checkForUpdate(subject, installed, sha256)` (`./marketplace`) is async and returns an
2088
+ `UpdateVerdict` `{ check, version }` (`check` is `new copy`, `unchanged` or `loaded in place`); it
2089
+ computes the version itself through `resolvePluginVersion`. Pass the `Sha256` port and read
2090
+ `.check` where the old call returned the outcome string.
2091
+
2092
+ #### mods
2093
+
2094
+ - **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
2095
+ give it (claude-code/index.d.ts 2.1.321; oracle 2.1.322 agrees). `HookFailure` is
2096
+ `{ kind: 'throw' | 'timeout'; message?: string; budget: number }`: `cause` is removed, `message`
2097
+ is absent on a timeout unless a `next()` rejected first, and `budget` (the handler's 1000 ms) is
2098
+ new. `HOOK_FAILURE_KINDS` is `['throw', 'timeout']`; `REENTRY_CAUSES` and `ReentryCause` are
2099
+ removed; `ReentryInfo` loses `rewritten` and `lent`; `SkipKind` loses `'re-entry'`. A hook skipped
2100
+ on re-entry runs no `.catch` handler and is not reported: Claude Code's behaviour runs in its place.
2101
+ - **BREAKING** `ModRegistries.commandRuns` optional → required. `ModRegistries.commandRuns` is required (the `CommandRunDepth` of `runCommand`): a
2102
+ `core` or `ModCommands.run` that calls `runCommand` for the same command again runs its core with
2103
+ no second `command.run` (claude-code/index.d.ts:1834, "one slash command about to run"); a third
2104
+ nesting rejects `/<name>: its body ran runCommand for itself again; refused`. Needs
2105
+ `ModsHostOptions.asyncContext`.
2106
+ - **BREAKING** `RenderEvent.requestId` optional → required. A `ui.render` event always has a `requestId` (`RenderEvent.requestId` optional →
2107
+ required): a site of one instance gets the host's or the site's name.
2108
+ - **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,
2109
+ and the host's core gets the event's `origin` and `presentation`; the lookup of a rewritten command
2110
+ is gone (claude-code/index.d.ts:1836: "A rewrite is refused").
2111
+ - **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
2112
+ core (`abortedCore`).
2113
+ - **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
2114
+ was opened without one.
2115
+ - **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
2116
+ exported as `register`, a re-export and `export *`, each with its own line, and an
2117
+ `h(Client, ...)` whose props are no object literal or name no `module`: Claude Code 2.1.321
2118
+ refuses them (oracle, `registerExport`, `clientProps`). The line of a file with no `register`
2119
+ reads `no export named register (export function register(on, options) {...})`.
2120
+ - **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`
2121
+ (`{ kind: 'plugin', name }`) on `prompt.submit`, `prompt.fill`, `prompt.suggest`, `session.send`,
2122
+ `session.append`, `command.run`, `config.set`, `ui.focus` and `ui.scroll`; `wait: false` on
2123
+ `prompt.submit`; `door: 'note'` on `session.append`; `trigger: 'plugin'` on `session.compact`;
2124
+ `previous` and `provider` on `config.set`, which now reads `config.list()` first (a host's
2125
+ `config` port must answer `list` for `$.config.set`). Each is removed before the port is called.
2126
+ - **BREAKING** `ModHostPorts` `account`, `promptBox`, `notifications` optional → required. `ModHostPorts` (the filled type) requires `account`, `promptBox` and `notifications`; a
2127
+ host that builds it directly adds them or uses `withDefaultPorts` (`ModHostPortsInput` leaves
2128
+ them optional). `MODS_API` lists the declared members after the reference page's
2129
+ (`MODS_API_REFERENCE` is the page alone); `ModRegistries` has `onChange`, and
2130
+ `createRegistries()` builds listeners for it.
2131
+ - **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
2132
+ declarations check of every call's parameters, op event and result:
2133
+ - `$.mcp.call(server, tool, args?)` positional (was `{ server, tool, input }`); event
2134
+ `{ server, tool, args }`; it answers `{ content, isError, structuredContent? }`.
2135
+ `$.mcp.connect` resolves `{ isConnected: false, reason: 'unlisted' | 'failed', message }` (was a
2136
+ throw for an unlisted server) and `{ isConnected: true, server }`.
2137
+ - `$.model.classify(text, labels, options?)` positional (was one object); at least 2 labels.
2138
+ - `$.audio.play(clip, options?)`: `clip` is `{ asset } | { url } | { base64, mime }`, options
2139
+ `{ shouldLoop?, gain? (0 to 4), signal? }` (a loop needs the signal); event `{ clip,
2140
+ shouldLoop, gain? }`; port `ModAudio.play(request, signal)`.
2141
+ - `$.http.fetch(url, init?)`: event `{ url, init: { method, headers, body? } }` (was flat).
2142
+ - `$.process.run(argv, init?)` takes `env` and `stdin`; `$.process.spawn({ argv, cwd?, env?,
2143
+ input? })` (was `(argv, init)`), whose end is `{ code, signal }`; a child ended by a signal
2144
+ reads `exitCode: 1` (was a throw). Port: `ModSpawner.spawn` takes `input` and may answer
2145
+ `signal`.
2146
+ - `$.fs.read(path, { as? })`: `as: 'bytes'` answers `{ base64 }` (port `read(path, signal,
2147
+ as?)`, `base64` on its answer); `$.fs.stat(path, { resolve? })` gives `mtimeMs` and, with
2148
+ `resolve`, `realPath`; `$.fs.list` entries give `mtimeMs`; `$.fs.ancestors` answers the
2149
+ instruction files (`FsAncestor`) from the optional port `ModFs.instructions` or a walk.
2150
+ - `$.env.set(name, value?)`: `undefined` unsets; it answers `{}`. Port `env.set(name, value:
2151
+ string | undefined)`.
2152
+ - `$.turn.abort({ turnId })`; port `turns.abort(turnId?)`.
2153
+ - `$.telemetry.log(entry)` takes `{ event, props?, to? }` (`to` `anthropic` when left out);
2154
+ `$.telemetry.mark({ feature, kind, reason?, props? })` (was a string); port
2155
+ `telemetry.mark(feature, mark?)` (`TelemetryMark`).
2156
+ - `$.session.version()` answers `{ version, base? }`; `$.session.authorize()` takes nothing;
2157
+ `$.session.append({ message, agentId? })`; `$.session.compact()`, `session.append` and
2158
+ `config.set` ports may answer an object, which is the call's result.
2159
+ - `$.prompt.submit` takes `context` and answers `{ ..., text, context? }`; `$.prompt.fill(text
2160
+ | { text, mode?, decorations?, cursor? })`, port `prompts.fill(text, fill?)` answering
2161
+ `{ isFilled, refusal?, text?, cursor? }`.
2162
+ - `$.ui.log(text, { to? })` (`debug` goes to the debug log); `$.ui.copy({ text, surface? })`
2163
+ answers `{ isCopied, reason? }` (`no-clipboard` when the host gives none); `$.ui.selection()`
2164
+ answers `{ text, requestId? }` (port may answer `UiSelection`); `$.ui.notice(tool_use_id,
2165
+ text?)`; `$.ui.blit`, `$.ui.focus`, `$.ui.scroll` answer `{}` when the host gives nothing;
2166
+ `$.ui.invalidate` also takes `prompt.context`, `prompt.attachment`, `command.describe` and
2167
+ `config.describe` (`ModInterface.rerun(event: RerunEvent)`).
2168
+ - `$.agent.register`, `$.command.register` and `$.tool.register` answer `{ agent }`, `{ command }`
2169
+ and `{ tool }`; `$.tool.register`'s `inputSchema` defaults to `{ type: 'object' }`;
2170
+ `$.theme.set` answers `requestId` when drawn; `$.config.set`'s value is a string, number,
2171
+ boolean or string array; a hook's `{ deny }` resolves `session.append`, `config.set` and
2172
+ `session.identity`.
2173
+ - `McpToolResult` takes `content` (`McpContentBlock`) and `structuredContent`.
2174
+ - **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
2175
+ `undefined` at once, as declared (`=> void`, claude-code/index.d.ts:2400, :2416, :2470, :2503,
2176
+ :2550; was D3). A misused argument throws where the call is made; a `{ deny }` or a failure of the
2177
+ event goes to the debug log (`<mod>: $.ui.log failed: ...`). New: `FIRED_CALLS`, `AT_ONCE_CALLS`,
2178
+ `ModsFiredMember`, `FiredEventName`; `describeApi` gives them `kind: 'sync'`; a nesting problem in
2179
+ the argument of any call that answers at once (`ui.resolve` and the timers too) now throws instead
2180
+ of returning a rejected promise. In the test kit an unstubbed `$.ui.toast`, `log` or `status` no
2181
+ longer rejects with `no implementation for <name>`; the line goes to the debug log.
2182
+ - **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;
2183
+ `StreamHookBody`, :13444). A function hook that returns `undefined` now fails as `wrong-shape`
2184
+ (`it returned nothing: return next(e) or a result`): its `.catch` handler answers, else its latest
2185
+ `next`'s result stands, else it is skipped. `next()` with no argument rejects, naming the hook and
2186
+ the mod; `next(undefined)` passes `undefined` on. On a streaming event `next(e)` is a
2187
+ `ModHookStream` (`NextOutput` changed): an async generator with a `result` promise that settles at
2188
+ the stream's end and rejects when it is closed early. Proven in
2189
+ tests/mods/chain/declared-next.test.ts.
2190
+ - **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
2191
+ hooks see the call, and a call from the mod's code outside its hooks skips every hook of the mod
2192
+ (before, the whole mod was skipped). One of the engine's own events (`EventCalls`, :5011) now
2193
+ reaches every mod's hooks, not only those at or above the caller; a call the host serves
2194
+ (`OpEventOf`, :7292) still reaches only those. New export `isEngineOwnEvent(name)`. Proven in
2195
+ tests/mods/chain/caller-reach.test.ts.
2196
+ - **BREAKING** `ModNext.event`, `is`, `trace`, `HookCall.name`, `trace` and `TestKit.describe` optional → required. `ModNext` requires `event`, `is` and `trace`, `HookCall` requires `name` and `trace`,
2197
+ and `TestKit` requires `describe`; `SkipTier` takes `user`, so `next.to('user')` runs from a
2198
+ `prepend` hook (declarations 2.1.321).
2199
+ - **BREAKING** the results of `prompt.fill`, `prompt.suggest` and `prompt.mention` → the declared shapes. The results of `prompt.fill` (`{ isFilled?, refusal? }`), `prompt.suggest`
2200
+ (`{ isShown? }`) and `prompt.mention` (`{ deny?, type?, context? }`) are the declared ones.
2201
+ - **BREAKING** `Box` `flexBasis` accepted → refused. `Box` refuses `flexBasis`, which is not declared.
2202
+ - **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`
2203
+ answers `{ value, version }` (`{ version: 0 }` while unwritten), `$.state.set(ref, value, {
2204
+ ifVersion })` answers `{ isSet, version }` and writes nothing on a stale version, and a reference
2205
+ may carry `id` for a family's member. `StateStore.get(ref)` and `set(ref, value, ifVersion?)` take
2206
+ a `StateRef`; `atom(...)` is now `{ ref, initial, shape? }`. The state helpers gain `derive` and
2207
+ `memberOf` and the `shape` option, in both the kit and `STATE_LIBRARY_SOURCE`; `update` answers
2208
+ the new value.
2209
+ - **BREAKING** `createEventRules()`, `withApiRules`, `withUiRules`, `withRegisterRules` → `EVENT_RULES`, `API_RULES`, `uiRules()`, `REGISTER_RULES`. Mods rules are books: `createModChain({ clock, rules: [EVENT_RULES, API_RULES, uiRules()] })`.
2210
+ `EVENT_RULES`, `API_RULES`, `uiRules()` and `REGISTER_RULES` replace `createEventRules()`,
2211
+ `withApiRules(rules)`, `withUiRules(rules)` and `withRegisterRules(rules)`; an event named in two
2212
+ books throws. The rule type is `EventRule` (one per event) in an `EventRuleBook`.
2213
+ - Deviation: `require()` in a hooks module stays refused at load although Claude Code 2.1.321
2214
+ validates and loads it (oracle: `claude plugin validate` and a `--plugin-dir` load agree). On Bun a
2215
+ written `require` reaches any file or package past the import rules. Recorded in docs/SECURITY.md
2216
+ ("`require()` in a hooks module"), spec/judgments.md (`requireCall`) and
2217
+ tests/mods/load/scan-require.test.ts; 0 mods of the corpus are affected; no option. A dynamic
2218
+ `import()` is refused by both. docs/SECURITY.md also says the scan is no sandbox (`Running a mod's
2219
+ code` under "Risks the host owns").
2220
+ - `$.http.fetch` `auth` is https only, is dropped on a redirect to another origin, and counts as
2221
+ carrying the session's credentials under `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
2222
+ - `ModsHostOptions.asyncContext` (new, optional; `() => new AsyncLocalStorage()` on Node or Bun):
2223
+ a mod's call skips only the calling hook (claude-code/index.d.ts:7298, "The calling hook alone is
2224
+ skipped"). Without it every running hook of the mod is skipped, as before.
2225
+ - `ModsHost.dispose()` also forgets the plugins it was given: a disposed host still referenced held
2226
+ every plugin's files. Run one mods host per session (claude-code/index.d.ts:4606, :10174).
2227
+ - `ModsHostOptions` moved to `src/mods/load/host-options.ts`; it is exported where it was.
2228
+ - `fakePorts().appended` rows leave out `door` and `origin`, as the port receives them.
2229
+ - `on` takes every pattern the declarations do (`Glob`, claude-code/index.d.ts:5346; `Namespace`,
2230
+ :6893; `Negation`, :6955): `*`, `ns.*` over any namespace of the events (`ui.*`, `tool.*`,
2231
+ `telemetry.*`, not only `classic.*`), and `!` before a name or a glob (`!*` is refused). `*` and a
2232
+ negation select no telemetry event, and a hook on `telemetry.*` needs the telemetry filter as one on
2233
+ a telemetry event does. `next.is` uses the same rule. Proven in
2234
+ tests/mods/chain/patterns.test.ts.
2235
+ - An element's `children` are flattened at any depth; `false`, `null`, `undefined` and `true` are
2236
+ dropped, and a number becomes its string (`RenderChildren`, :10224).
2237
+ - `update` writes through `$.state.set(ref, value, { ifVersion })` and applies its change again when
2238
+ another write beat it; an atom keeps a reference's `id`.
2239
+ - `MOD_TIERS` lives in `src/protocol/mods-tiers.ts` (still exported from `mods-events`).
2240
+ - `./mods` re-exports only `createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`, `jsonBytes`
2241
+ and their types from the foundation.
2242
+ - `resolveTypesPath` returns `undefined` when there is no types path.
2243
+
2244
+ #### host
2245
+
2246
+ - **BREAKING** `SubstitutionScope.monitorPaths` → `shellPaths`, `MonitorPaths` → `ShellPaths`, `PluginHostOptions.hookExecution.shellPaths` and `HookCommandOptions.shellPaths` → `PluginHostOptions.shellPaths`. One option, `PluginHostOptions.shellPaths?: 'environment-reference' | 'pasted'`
2247
+ (default `'environment-reference'`), sets the path form of every shell-parsed string a session
2248
+ resolves. `SubstitutionScope.monitorPaths` is now `SubstitutionScope.shellPaths` and covers bash
2249
+ hooks, monitors and `headersHelper`. `PluginHostOptions.hookExecution.shellPaths` and
2250
+ `HookCommandOptions.shellPaths` are removed (see the bash hook entry). A host that needs the docs' literal text passes `shellPaths: 'pasted'`. Type
2251
+ `MonitorPaths` is now `ShellPaths`.
2252
+ - **BREAKING** `monitorsToStop` over `MonitorStart` → generic over what the host keeps. `monitorsToStop(started, event)` is generic over what the host keeps
2253
+ (`<T>(started: Iterable<T>, event: MonitorStopEvent) => T[]`).
2254
+ - **BREAKING** `SessionOptions.hookPorts` and `TurnOptions.hookPorts` → `ports`. `SessionOptions.hookPorts` and `TurnOptions.hookPorts` are renamed `ports` (same type,
2255
+ `Partial<Omit<HookPorts, 'locations'>>`): they now feed everything the session resolves, not only
2256
+ its hooks.
2257
+ - **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
2258
+ id, and `createEnvFiles(store, { sessionId, launchScript? })` requires it: one store serves every
2259
+ session of a host, keyed by `SessionOptions.sessionId`. Key the files by the id (for example
2260
+ `<dir>/<sessionId>/<kind>-env.sh`).
2261
+ - **BREAKING** `SessionOptions.permissions` and `TurnOptions.permissions` → `shellPermission`; `session.checkTool` `permissions` → `permissionContext`. Renamed: `SessionOptions.permissions` and `TurnOptions.permissions` are `shellPermission` (the
2262
+ answer for a skill's `!` command, a `ShellPermission`); the `permissions` option of
2263
+ `session.checkTool` is `permissionContext` (`startPermissions(...).context`).
2264
+ - **BREAKING** `folderTrusted`, `parentTrusted`, `nonInteractive` → one `trust` (`TrustSituation`). Workspace trust is one `TrustSituation` (`trusted`, `parent-trusted`, `non-interactive`,
2265
+ `dialog`): `workspaceTrustState(trust, facts, { nonInteractive?, signal? })` returns it,
2266
+ `settingsHooksMayRun(situation)` takes it, and `decideRepositoryPlugin` and `LocalSettingsFacts`
2267
+ take `trust` instead of `folderTrusted`, `parentTrusted` and `nonInteractive`.
2268
+ - **BREAKING** `session.dispatch` options → `SessionDispatchOptions`. `session.dispatch(event, facts, options)` takes `SessionDispatchOptions`: `{ signal, interrupt?,
2269
+ taskCompletedBy?, sourcesOnly? }`.
2270
+ - **BREAKING** the output-style helpers in `./skills` → `./format`; elicitation names → `./elicitation` only; layout names → `./layout` only. The output-style helpers (`resolveOutputStyle`, `includeCodingInstructions`, `listOutputStyles`,
2271
+ `outputStyleSystem`, `BUILTIN_OUTPUT_STYLES`, `DEFAULT_OUTPUT_STYLE_ID` and their types) moved from
2272
+ `./skills` to `./format`. The elicitation names are exported by `./elicitation` only, the layout
2273
+ names (`STANDARD_LAYOUT`, `COMPONENT_KINDS`, `declaredKey`...) by `./layout` only, `MatcherValue`
2274
+ by `./hooks` only (`./mods` has `ModMatcherValue`), and `ModelCall` by `./mods` only (`./testing`
2275
+ has `RecordedModelCall`). `PreloadedSkills` is the root's session type.
2276
+ - **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
2277
+ marketplace schema no longer export it.
2278
+ - **BREAKING** `@rsaryev/claude-plugin-kit` → `@rsaryev/llx-plugin`. The project is renamed `llx-plugin`: the package is `@rsaryev/llx-plugin` and the repository
2279
+ `github.com/rsaryev/llx-plugin`. Import from the new name; the subpaths are unchanged.
2280
+ - **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
2281
+ surface at a subpath: `./loading`, `./format`, `./skills`, `./hooks`, `./rules`, `./settings`,
2282
+ `./marketplace`, `./agents`, `./mods`, `./cli` (docs/API.md, "Entry points").
2283
+ - **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`,
2284
+ `SUBSTITUTION_SURFACES` and `UI_SURFACES` for the four `SURFACES`; `readAgentSetting`,
2285
+ `readThemeSetting` and `readOutputStyleSetting` for the general setting readers;
2286
+ `PLUGIN_TELEMETRY_EVENTS` for the plugin telemetry names.
2287
+ - **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
2288
+ (`loadSettingsLayers(sources, { signal, scopes })`, `fetchArchive(plan, ports, { signal })` and 20 more);
2289
+ port methods keep the signal as their last parameter.
2290
+ - `SAFE_ENVIRONMENT_VARIABLES` is replaced by `src/rules/bash/safe-env.ts`
2291
+ (`isSafeAssignment`, `assignedVariable`), and `redirectFacts` and `fileTargetFacts` by
2292
+ `targetFacts(commandTargets(command), ctx, resolvedPaths)`; `Target.tee` is `Target.source`.
2293
+ - An empty `CLAUDE_CONFIG_DIR` counts as unset everywhere (`settingsLocations`, saved workflows,
2294
+ agent memory), as it already did for the plugin store and `headersHelper`.
2295
+ - `session.onBackground` listeners get a second argument, `BackgroundSource`
2296
+ `{ sessionId, handlerId, outcome, exitCode? }`, `outcome` being `completed`, `cancelled`,
2297
+ `timed-out` or `failed`.
2298
+ - `withTurn(turn)`: a `TurnOptions` field given as `undefined` is ignored, as in `HostUpdate`.
2299
+ - Two plugins given to the host under one id: the first is kept and the other is an error issue,
2300
+ `A plugin with this id was given before: this one is not loaded`.
2301
+ - The root entry exports the types its functions name (`Expansion`, `FolderScan`, `ShellPermission`,
2302
+ `HookPorts`, `SessionLimits`, `BackgroundSource` and the rest listed in docs/API.md).
2303
+ - The optional peers: `@anthropic-ai/claude-agent-sdk` and `@modelcontextprotocol/sdk` are marked
2304
+ optional (`peerDependenciesMeta`), so a host that uses neither need not install them.
2305
+
2306
+ #### cli
2307
+
2308
+ - **BREAKING** `planCli*` aliases → `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` of `./cli`. `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` and `MarketplaceUpdatePlan`
2309
+ are exported by `./cli` only; the `planCli*` aliases are gone, so import the plain names from
2310
+ `./cli`. `planMarketplaceUpdate` takes `UpdateArguments.surface: 'session'` for the
2311
+ `✔ Updated N marketplace(s)` line, and `planMarketplaceRemove` also returns `dropEnabledEntries`,
2312
+ the `enabledPlugins` entries of the removed marketplace (from `facts.enabledEntries`).
2313
+ - **BREAKING** `pluginFoldersOf` over a listing (`pluginDirFolders`, `PluginDirListing`) → over what `readPluginDirectory` read. `pluginFoldersOf(request, reading, hostVersion?)` (`./cli`) takes what `readPluginDirectory` read
2314
+ instead of a listing; `pluginDirFolders` and `PluginDirListing` are gone, so one rule decides
2315
+ whether a folder is a plugin or holds plugins.
2316
+ - `claude plugin validate` prints the `calls`, `env` and `state` lines as Claude Code 2.1.321 does:
2317
+ sorted, writes before reads, `nothing` on an unused side, `calls: nothing on $`; `derive` and
2318
+ `memberOf` count as the atoms they read (oracle 2.1.321).
2319
+ - `planInstall` (`./cli`): `InstallEffects.enable` is false for a plugin already installed and
2320
+ follows `defaultEnabled` otherwise; the success line lists the dependencies it installed
2321
+ (` (+ N dependencies: a@m, b@m)`).
2322
+
2323
+ #### repository
2324
+
2325
+ - One definition per repeated text: the three settings file paths are `SETTINGS_FILE`
2326
+ (`src/format/settings-files.ts`), read by the install scopes, the enablement notes, the settings
2327
+ file locations, the session's settings locations and the wildcard warning; the two load failures
2328
+ of a marketplace source are `SOURCE_FAILURE` (`src/format/marketplace/source-failures.ts`), read by
2329
+ the load status, the policy-list notice and the fetch plan; a marketplace value of the wrong type
2330
+ is reported by one `mismatch`. The two glob engines are named for their dialect:
2331
+ `gitignoreMatches` (path rules, skill `paths`) and `relevanceGlobMatches` (plugin relevance).
2332
+ spec/judgments.md records that the launch-only variables are dropped from every settings file.
2333
+
2334
+ ### Fixed
2335
+
2336
+ #### format
2337
+
2338
+ - MCP bundles: a bundled server's `${user_config.KEY}` is answered from that bundle's saved settings
2339
+ (`bundleSettings`), else the setting's default, in the one substitution pass, so a saved value
2340
+ holding `${HOME}` or `${user_config.other}` is never expanded again; one with neither stays as
2341
+ written with a warning, as a plugin option does. It no longer resolves against the plugin's own
2342
+ `userConfig`.
2343
+ - MCP bundles: a required bundle setting saved as empty text keeps the server from starting, the
2344
+ same rule (`missingBundleSettings`) the host's dialog uses.
2345
+ - MCP sources: a declared `./.mcp.json`, or a file listed twice, loads once.
2346
+ - `readPluginDirectory` (now at the root) classifies a folder with the one folder-of-plugins rule.
2347
+ - Reading frontmatter no longer writes YAML parser warnings to the host's process (a key that is a
2348
+ collection, as in `{ SKILL_NAME }: x`); the key is read as its text, as before.
2349
+ - An abort stops: `loadPlugin` and `validatePlugin` reject with the signal's reason and call the port no
2350
+ more once it aborts (before, a port that ignored the signal was read to the end, and one that honoured
2351
+ it was still called by the other branches); a command hook whose signal is aborted is `cancelled`
2352
+ instead of a non-blocking error, and one aborted before the start spawns nothing.
2353
+ - One containment check for every plugin path: `locate` moved to `format/locate.ts`, and the MCP
2354
+ sources (`.mcp.json`, a declared `.json` file, a bundle path) now go through it. An absolute or
2355
+ backslash `mcpServers` path, or one that is a symlink leading outside the plugin, is rejected as
2356
+ `path escapes plugin directory` instead of being read; `rootRelative` drops `.` and empty segments,
2357
+ so `.//x` is read as `x` and no port is handed an absolute path. `collectMcpServers` takes
2358
+ `platform` and `roots`, and `loadPlugin` passes them.
2359
+ - Declare the MCP SDK as a peer: the public protocol declarations reference its official types,
2360
+ so consumer projects must not depend on this checkout's development dependencies to find them.
2361
+ - 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.
2362
+ - Loading, as Claude Code 2.1.319 does (`bun run corpus:load`, whole-inventory agreement from
2363
+ 82.7% to 96%): a guard hook that cannot be read, or an unreadable inline `mcpServers` entry of
2364
+ the manifest, keeps the plugin from loading; a plugin's hooks do not load an unknown event; a
2365
+ skill folder reached twice loads once; a skill folder named by a manifest path or the plugin
2366
+ root takes its frontmatter `name`; a `SKILL.md` directly in `skills/` is no skill.
2367
+ - MCP contracts review: `claude mcp add` and `add-json` refuse a name already stored at the scope
2368
+ (`McpAddOptions.existing`, `readMcpAdd`'s third argument, `mcpAddKey`) with `MCP server <name> already
2369
+ exists in <scope> config`; the session-token-rejected state of a connector is for a `401` only, a
2370
+ `403` flags it; the shapes of a tool, a prompt and the elicitation capability are the MCP SDK's
2371
+ (`Tool`, `Prompt`, `PromptArgument`, `ClientCapabilities`, re-exported by `protocol/official.ts`) and
2372
+ `prepareMcpTool` takes an input schema of any type (`McpListedTool`); result limits read the SDK's
2373
+ content parts directly; `as` casts are gone from the add readers and the tests. The tests assert what
2374
+ their titles claim: the elicitation form validation moved out of `spec(...)`, titles that claimed
2375
+ more than they checked were trimmed, the `/cd` and `https://` echoes were removed with judgments
2376
+ recording what is the host's, and the 11,001-character error boundary is covered.
2377
+ - MCP `headersHelper` review: a project or local server with no helper in an untrusted folder no
2378
+ longer gets the `headersHelper not run` notice (an agent file's server stays unloaded);
2379
+ `CLAUDE_CODE_MCP_SERVER_URL` redacts only the removed variables the URL expanded
2380
+ (`HelperServer.expandedVariables`), so a short unrelated value such as `8` no longer corrupts it;
2381
+ `attemptWithHeadersHelper` takes the server name and reports errors.md's `Server rejected the
2382
+ Authorization header minted by the configured headersHelper (HTTP <status>)` when a connection is
2383
+ rejected after the helper supplied `Authorization`, and `produce` now gives the helper's headers
2384
+ alone (`send` merges the static ones); the origin rules carry `providesPluginRoot` instead of a
2385
+ comparison with `'plugin'`; the monitor opt-in tests moved out of `spec(...)`, the PowerShell path
2386
+ test asserts the native exported path, and the helper tests assert the per-cause messages, the
2387
+ re-plan on a re-run and that every settings scope is an origin; the `docs/API.md` snippet narrows
2388
+ its union.
2389
+ - MCP allow and deny lists review: `PolicyEnv` is exported once and replaces the three hand-declared
2390
+ environment types; `createMcpServerPolicy` documents that it reads the lists at creation and a host
2391
+ rebuilds it when settings change before a reconnect. The tests no longer claim the reconnect line, the
2392
+ managed-set requirement is proven by its own denylist and `managed-mcp.json` tests, and the judgments
2393
+ on layered `env` filling, `headersHelper`, empty `serverUrl` entries, per-source `serverName` rules and
2394
+ an empty managed allowlist under the lock now have tests.
2395
+ - MCP settings review: `managedServerEntries(layers, { desktopManaged })` reads no managed entry in the
2396
+ Claude Desktop Code tab on a third-party deployment or in Cowork sessions and warns that the key is
2397
+ not read there; the rank of a managed server is proven under "How provided servers load" with a
2398
+ negative case; the approval and rejection of parent and `--add-dir` settings, the `listed in`
2399
+ commands and the enterprise-blocked status are recorded as judgments; the tests of toggles, user
2400
+ scope and plugin or connector duplicates by command now assert what they claim.
2401
+ - MCP: `displayHeaders(server, scope)` gives the header names `claude mcp get` shows for a server
2402
+ the organization provides (managed-mcp.md, "What users can see and change"), and the tests of
2403
+ `displayReference`, the credential debug line and the endpoint key now assert what they claim.
2404
+ - Format: Claude Code's own leniency about frontmatter and hooks, found by running `claude plugin
2405
+ validate` on real plugins. A block plain YAML refuses is retried with the value of each top-level
2406
+ line quoted when it holds a character plain YAML cannot (`description: Does X: then Y`,
2407
+ `argument-hint: [a] [b]`, `tools: *`), a duplicate key loads with the later value, and plugin
2408
+ hooks drop an entry they cannot read with a warning (an error under `PreToolUse` and
2409
+ `PermissionRequest`, where a missing guard fails the file) instead of failing the whole file;
2410
+ `settings.json` hooks keep failing whole, as settings.md says.
2411
+ - The entries are read and reported beside an unsound top level; the "no description"
2412
+ and "no plugins" warnings and the entry version cross-check are made only when the schema passes
2413
+ (a reserved name does not stop the cross-check); unknown-field hints skip the keys the validator
2414
+ only lets through and never suggest a key more than half the misspelling's length away.
2415
+ - Validator wording: the messages of a reserved or non-kebab plugin name, a name Claude Desktop
2416
+ rejects, a missing required field and a version mismatch are the official CLI's, not shortened
2417
+ ones; the docs-quoted part of each is still asserted under `spec()`.
2418
+ - `listOutputStyles` marks one row current: a custom style that reuses a built-in id or an earlier
2419
+ style's id is no longer listed, matching what `resolveOutputStyle` selects.
2420
+ - LSP servers of a plugin: `readLspConfig` and `readLspServer` (the 14 fields of manifest-reference's
2421
+ `lspServers` table as a strict object; `command` without spaces unless it starts with `/`,
2422
+ `extensionToLanguage` with dot-prefixed keys, positive and zero-or-more integers; one invalid entry
2423
+ skips the whole map with `Invalid LSP server config for ".lsp.json"`), `mergeLspSources` (a later
2424
+ server replaces an earlier one), `resolveLspServer` (`command`, `args`, `env` and `workspaceFolder`
2425
+ substituted, the three path variables exported, defaults `requestTimeout` 60000, `restartOnCrash`
2426
+ and `diagnostics` true, `transport` always `stdio`), and the runtime decisions the host reads:
2427
+ `lspRestartDecision`, `languageIdFor`, `lspExtensionConflicts`, `initializeOptionsOf` and
2428
+ `didChangeConfigurationOf`.
2429
+ - Monitors of a plugin: `readMonitors` (the four fields of manifest-reference's `monitors` table as a
2430
+ strict entry; unique names; `when` read as `always` or `on-skill-invoke:<skill>`, anything else an
2431
+ error), `resolveMonitor` (path variables and `${ENV_VAR}` in `command`, `${user_config.*}` refused
2432
+ with the errors.md message, nothing exported) and `monitorsToStart`, the pure engine that says which
2433
+ monitors an event starts: `always` on session start and plugin reload, a skill monitor the first
2434
+ time its skill runs, none in non-interactive mode.
2435
+ - `loadPlugin`: a plugin folder through `PluginFiles` to a typed `Plugin`, with the optional
2436
+ manifest, every component found by the standard layout registry (`STANDARD_LAYOUT`), the
2437
+ `replace`, `add` and `merge` rule of each manifest key (`COMBINE`), the `Default <folder>/ folder
2438
+ is ignored` warning, containment and existence checks (`<component> path escapes plugin
2439
+ directory`, `<component> path not found`), `settings.json` over the manifest `settings`
2440
+ (`readPluginSettings`), the `bin/` decisions (`binPathEntries`, `pathWithPluginBins`,
2441
+ `distribution`), the `COMPONENT_READERS` seam, and `resolveProcesses` for MCP servers, language
2442
+ servers and monitors.
2443
+ - Layout discovery: a `skills` entry that is a file and an `agents` entry that is a directory are
2444
+ now errors instead of being dropped or scanned silently (manifest-reference, "Path-only fields");
2445
+ a manifest `hooks` path that names `hooks/hooks.json` no longer loads the file twice, so its hooks
2446
+ run once; the symlinked-folder, duplicate-file and path-shape decisions are recorded in
2447
+ `spec/judgments.md`. New tests cover the `bin/` decisions, the depth cap with a really looping
2448
+ folder, single-file `workflows` and `experimental.themes`, the symlink escape of default
2449
+ `monitors/monitors.json`, `settings.json` and a root `SKILL.md`, and exact issues for invalid LSP,
2450
+ monitor and settings files.
2451
+ - Skill, command and agent content: the `user_config` policy applied to a command body is now
2452
+ recorded as the kit's reading (the page words it for skill and agent content and lists commands
2453
+ only in the one table row) in `spec/judgments.md` and the `substituteContent` doc comment.
2454
+ - Monitors: the duplicate-name error and the first-wins rule, the error for any other `when` string,
2455
+ and the host-owned `description` display and `command` process behaviour are recorded in
2456
+ `spec/judgments.md` (the docs say only "Identifier unique within the plugin"); the `description`
2457
+ test no longer claims the task panel, and the option-variable test now checks the
2458
+ `CLAUDE_PLUGIN_OPTION_` prefix against a scope with configured options.
2459
+ - LSP: a refused `extensionToLanguage` now names the keys that lack a dot; `languageIdFor` and
2460
+ `lspExtensionConflicts` document a plugin-qualified key (`plugin:server`) so two plugins with the
2461
+ same server name stay apart; the integer-like-name ordering limit and the host-owned timeouts are
2462
+ recorded in `spec/judgments.md`.
2463
+ - MCP servers: an entry with `type: "streamable-http"` now reads as `http` (mcp.md, "Option 2");
2464
+ an entry with a `url` and no `type` is dropped with the message mcp.md quotes instead of an
2465
+ unrelated stdio error (and no longer reads as stdio when it also has a `command`, so a stray `url`
2466
+ can no longer reach the resolver and throw); a `type: "sdk"` entry is skipped with the quoted
2467
+ message; `isRemoteMcpServer` follows the transport and not the presence of a `url`.
2468
+ - `readFlag` no longer reads `constructor` or `__proto__` as a flag, and `readList` no longer splits
2469
+ a glob such as `src/**/*.{ts,tsx}` or a path with a space.
2470
+ - Variable substitution: a remote MCP server now reads the documented credential variables
2471
+ (`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `AWS_BEARER_TOKEN_BEDROCK`, `HTTPS_PROXY`,
2472
+ `NPM_TOKEN`) as empty in `url` and `headers`; `UserConfigValue` is derived from the SDK's
2473
+ `Settings`; `substituteDeep` returns `unknown` instead of an unchecked cast; the table "Where each
2474
+ variable resolves" is asserted row by row, and the path variables are checked against the port
2475
+ calls they make.
2476
+ - Marketplace entries and the strict-mode merge (`marketplace`): `createEntryReader` and `readEntry`
2477
+ read each `plugins[i]` of `marketplace.json` alone (`name` as an install id with the documented
2478
+ messages, `source` handed to the plugin source parser, `description`, `version`, `category`,
2479
+ `tags`, `strict`, `dependencies`, `defaultEnabled`, `displayName`, `metadata`, every other
2480
+ `plugin.json` field, unknown keys, the archive-only `headers` and `headersHelper` reports, the
2481
+ version-versus-plugin.json warning, duplicate names, the quoted `relevance`, `metadata` and
2482
+ `experimental` warnings, and the typed `relevance` model with its limits and the `signals.hosts`
2483
+ rule); `mergeEntryWithManifest` combines an entry with the plugin's `plugin.json` as the strict-mode
2484
+ table says (the entry is the manifest without one; strict appends the component fields and the
2485
+ entry's hooks replace the manifest's per event; strict false with components is the
2486
+ `has conflicting manifests` error; the entry-only fields are ignored beside a `plugin.json`;
2487
+ `defaultEnabled` and the display fields come from the entry, `version` from the manifest, the
2488
+ entry name is the install id and the manifest name the namespace; a root-source entry that lists
2489
+ skills does not scan the default `skills/`; hooks as a path or an array are reported as not yet
2490
+ supported in a marketplace entry). `EntrySlot.mode`, `ReadMode` and duplicate-name detection join
2491
+ the marketplace assembly.
2492
+
2493
+ #### settings
2494
+
2495
+ - `resolveChannel` for a channel bound to a bundled server reads that bundle's settings.
2496
+ - Security: a settings file could set `CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`,
2497
+ `CLAUDE_CODE_WARN_DISK_FREE_GIB` and `CLAUDE_CODE_WARN_MEMORY_FREE_GIB` through
2498
+ `resolveSettingsEnv`, and so through the host. The exported resolver was a second one
2499
+ (`settings/env.ts`) with its own `HOST_OWNED` list, which lacked these three of the variables
2500
+ Claude Code reads from the launch environment only; the `launch-only` list of `settings/env`
2501
+ had them. There is now one resolver and one list: every launch-only name is dropped from every
2502
+ file, managed included, as `launch-only`.
2503
+ - Managed approval and agent-key environment flags are read trimmed and in any casing
2504
+ (`isTruthyEnv` / `isFalsyEnv`), as the other on/off variables are.
2505
+ - A parent-settings key that is removed no longer leaves an empty block.
2506
+ - An `env` value that is not a string is read as the text claude sets (`{"PORT": 8080}` is `"8080"`,
2507
+ `null` is `"null"`) with a warning, instead of being dropped (oracle 2.1.321).
2508
+ - Managed MCP review: the startup exits follow the page's order (`--mcp-config` before
2509
+ `--strict-mcp-config`, a judgment when both apply); `/mcp` toggles no longer reach the servers of
2510
+ `managed-mcp.json` (the page documents them for provided servers only); an entry that fails several
2511
+ checks gets the notice of the first in the page's order; `reconcileManagedServers` and the hooks
2512
+ merge share one `canonical` helper (plain key sort, no locale); the plan-level tests now cover the
2513
+ allowlist split between file and provided servers, same-name precedence, `desktopManaged`, an empty
2514
+ map with connectors or Chrome allowed, and the connectors switch together with `allowAllClaudeAiMcps`.
2515
+ - Managed-only and fail-closed key classes (managed-settings.md, "Keys only a managed source can
2516
+ set", "Keys that fail closed", "Invalid values inside `sandbox`"). Sixteen more keys have rows
2517
+ (`allowedMcpServers`, `allowedProviders`, `availableModelsMatch`, `deniedModels`,
2518
+ `forceLoginOrgUUID`, `gatewayInternalNetworks`, `disableSideloadFlags` and the control keys among
2519
+ them); a managed-only key in a user, project, local or `--settings` file is dropped with a warning.
2520
+ In the policy tier an unreadable value reads as the table's fallback: an empty allowlist for the
2521
+ MCP, provider, model, channel, marketplace and hook lists, `exact` for `availableModelsMatch`,
2522
+ `refuse` for `crossSessionInbound`, no organization for `forceLoginOrgUUID`, `true` for a lock; a
2523
+ `sandbox` block is repaired field by field and `sandbox.credentials` entry by entry; `permissions`
2524
+ and `autoMode` withhold their grants while a deny list cannot be read (`gatewaySignInRefused`,
2525
+ `PolicyLayer.invalid`). An unrecognized `crossSessionInbound` in a user, project, local or
2526
+ `--settings` file holds inbound messages even under a source that says `accept`, with the warning
2527
+ of errors.md. New `sideloadVerdict` and `addPluginsRefusal` for `disableSideloadFlags`. A `null`
2528
+ removes a general key as it removes a policy key.
2529
+ - Managed key classes, review of the fail-closed findings. A managed `forceLoginOrgUUID` list with
2530
+ one non-text entry is unreadable whole and admits no organization. `gatewayInternalNetworks`
2531
+ refuses the ranges claude-apps-gateway.md names (loopback, link-local, CGNAT, the VPN and NAT64
2532
+ ranges, the three documentation ranges, `0.0.0.0/8`, `192.88.99.0/24`, multicast). `disableAutoMode`
2533
+ and `skipDangerousModePermissionPrompt` fail closed (`"disable"` and `false`), `forceRemoteSettingsRefresh`
2534
+ reads as `true` when unreadable, every restrictive lock of `permissions` is repaired in a managed
2535
+ source, and `worktree` and `attribution` are repaired per field. `sandbox.credentials` enforces the
2536
+ `name` rule and the per-list mask field rules, the warning of a degraded `files` entry notes the
2537
+ unenforced read block, and `sandbox.filesystem.disabled` is pinned to managed settings by a
2538
+ `deny` entry or a `sandbox.filesystem` block; `allowManagedMcpServersOnly` makes only the managed
2539
+ `allowedMcpServers` count. An empty list in a managed `sandbox` block stays. `merged()` carries the
2540
+ hold of an unrecognized `crossSessionInbound`. `sideloadRefusal` and `pluginDirsOf` delegate to
2541
+ `sideloadVerdict`, so `--agents`, `--mcp-config` and `CLAUDE_CODE_PLUGIN_DIRS` exit at startup as the
2542
+ docs say; new `midSessionMcpUpdates` for cloud sessions.
2543
+ - Managed sources, review of the composition findings. An unreadable source now carries the
2544
+ underlying error (`{ unreadable: 'denied' | 'failed', reason }`), and the exit message names the
2545
+ failed path or registry value in its `Detail:` line as errors.md shows it. An unlistable
2546
+ `managed-settings.d/` reports `Managed settings drop-in directory could not be read: <reason>`, a
2547
+ warning when the operating system denied the read and an error otherwise; a failure that exits
2548
+ outranks a denial elsewhere in the file source. The helper's `forceRemoteSettingsRefresh` is no
2549
+ longer left in the helper layer, and `PolicyHelper` and `ManagedBehavior` take their types from the
2550
+ SDK. Tests prove every cross-source key, every key of the merge table rows and the login-key gateway
2551
+ rules; the delivery and applicability stubs that echoed constants are now recorded as judgments.
2552
+ `docs/API.md` states the order in which a host wires the policy helper.
2553
+ - Settings merge core, review of the permission, effort, source and file-location findings. The
2554
+ local file's allow rules and directories wait for trust only when it is tracked in git or `.claude`
2555
+ is a symlink (`permissionRuleLists(view, trusted, local)`); a host's parent `Read(!...)` and
2556
+ `Edit(!...)` deny and ask rules are dropped with and without the lock. A managed document that does
2557
+ not parse is fatal (`loadSettingsLayers` returns `fatal` and no layer, and `SettingsSources.label`
2558
+ names the source in the message). `effortLevel` and `modelSettings` take low, medium, high and xhigh
2559
+ only (from the SDK type, no `max`); new `effectiveCap` and `capEffort` apply `maxEffortLevel` with
2560
+ its per-model entry. General keys are value-checked (a wrong type, a malformed permission rule,
2561
+ the telemetry export variables of a repository's `env`); `--permission-mode`, `--effort` for
2562
+ `modelSettings` and the `availableModels` gate on `--model` join the session overrides;
2563
+ `managedChangeAdvice` answers "A managed change hasn't reached you". New `permissionRulesOf`
2564
+ (host) parses the lists with the source of each file.
2565
+ - Permissions: the settings keys and the starting mode. `permissions`, `allowManagedPermissionRulesOnly`,
2566
+ `autoMode`, `disableAutoMode`, `skipAutoPermissionPrompt`, `skipDangerousModePermissionPrompt` and
2567
+ `useAutoModeDuringPlan` are policy keys (per-field repair, fail-closed in the policy tier, the merge and
2568
+ scope of each) behind `resolvePolicy(...).permissions`, with `startingMode` (flag, `defaultMode`, built-in
2569
+ default, the locks, the background bypass notice), `settingsLocations`, and `startPermissions`, which
2570
+ builds the `DecideContext`. `decide` gains `cannotPrompt` (a `-p` run denies what would prompt),
2571
+ `connectorToolsSetToAsk`, `preapprovedFetchDomain` and `repositoryDirectories`; `approvalMemory` tabulates
2572
+ "don't ask again".
2573
+ - `resolveSettingsEnv` and `applySettingsEnv`, the `env` block (merge per variable, trust, the
2574
+ variables project and local files cannot set, the host-owned identity variables).
2575
+ - Settings layers (`settings`): `readSettingsLayer` turns the JSON of one source (managed, parent,
2576
+ `--settings`, local, project, `--add-dir`, user) into a layer: marketplace key aliases read as
2577
+ their canonical key, a key its Scope line does not allow dropped with a warning, an unreadable
2578
+ value repaired as managed-settings.md says (empty allowlists, `true` locks, `strictPluginOnlyCustomization`
2579
+ as `true`, invalid entries stripped). `createPolicyView` answers `get`, `winner` and
2580
+ `eachFromHighest` over the ordered layers with one merge rule per key (`KEY_SPECS`), and
2581
+ `loadSettingsLayers` reads layers from a host's `SettingsSources`. `mergeHooks` combines the
2582
+ `hooks` of every file without letting a file remove a managed hook, and runs a handler defined in
2583
+ two files once. `POLICY_KEYS`, `PLUGIN_ONLY_SURFACES`, `SKILL_OVERRIDE_STATES`, `WORKFLOW_SIZES`,
2584
+ `MARKETPLACE_SOURCE_KINDS` and `MarketplaceSource` are asserted equal to the SDK's types.
2585
+ - The plugin keys of the settings (`settings/plugins`): `enabledPlugin` and `forceEnabledByManaged`
2586
+ (`enabledPlugins` precedence, managed block and hide, `defaultEnabled`, `@synced`), `pluginConfig`
2587
+ (`pluginConfigs`, user and managed only, the `@builtin` id aliases), `modOrder` (`prependPlugins`
2588
+ and `appendPlugins`, the built-in guard), `syncDecision` (`syncClaudeAiPlugins`), `trustWarning`
2589
+ (`pluginTrustMessage`) and `createPluginSettingsPolicy`.
2590
+ - Hook policy (`settings/hooks`): `createHookPolicy(view, locks, context)` answers `disableAllHooks`
2591
+ and `allowManagedHooksOnly` as `runs(origin)` for every origin of a hook (managed settings, SDK
2592
+ callbacks, user, project, local and `--settings` files, plugins and their mods, frontmatter), with
2593
+ the value left after precedence deciding the reach, force-enabled plugins matched by their full
2594
+ `plugin@marketplace` id, command-sourced plugins and built-in mods; `commandsDisabled`,
2595
+ `commandSettingsNarrowedToManaged`, `monitorsRun` and `goalCommandAvailable` give what follows the
2596
+ hooks. `httpHook(url, allowedEnvVars)` applies `allowedHttpHookUrls` (`matchUrlPattern`: `*`,
2597
+ host case and trailing dot) and `httpHookAllowedEnvVars` (the outer limit on a hook's list), both
2598
+ merged across files. The Agent SDK's `managedSettings` rules (ignored beside an administrator
2599
+ unless `parentSettingsBehavior` is `merge`; an empty allowlist ignored when the administrator ships
2600
+ hooks or enables a plugin) are applied before any decision.
2601
+ - Channel keys (`settings/channels`): `createChannelSettingsPolicy(view, context)` answers
2602
+ `channelsEnabled` as `gate()` (blocked on Team and Enterprise, and on Console with managed
2603
+ settings, until managed `true`; open on Console without managed settings and on Pro, Max and
2604
+ Ultra; `false` is unset; users cannot lift it) and `allowedChannelPlugins` as `allowlist()` and
2605
+ `allowed(entry)` (the managed list replaces the host's default and is taken whole, an
2606
+ empty list blocks every plugin, an invalid value is an empty list, the string form equals the
2607
+ object; an entry carries the flag it came from, and the development flag skips the list for its own
2608
+ entries only, a bare `server:<name>` included, never for a closed gate, and only in an interactive
2609
+ session).
2610
+ - Customization lock and the composed policy (`settings/customization`, `settings/resolve`):
2611
+ `createCustomizationPolicy(view, context)` reads `strictPluginOnlyCustomization` (`true` locks all
2612
+ four kinds, an array the kinds it names, an unreadable value `true`, an unknown name locks nothing
2613
+ and is counted) and answers `loads(surface, origin)` for skills, agents, hooks and MCP servers from
2614
+ the origins each sub-key entry lists, `skillsDirPlugins()` (stopped by a lock on any kind or the
2615
+ marketplace lists), `skillAllowedToolsPreapproved(skill)` and the documented `claude mcp add`
2616
+ refusal. `suggestionMarketplaces(view, registered)` answers `pluginSuggestionMarketplaces` (managed
2617
+ only, registered, source declared in the same managed settings, the official name alone).
2618
+ `resolvePolicy({ layers, context })` and `PolicyContext` compose every area over one view and feed
2619
+ the customization lock into the hook policy.
2620
+ - Settings, customization lock: `McpOrigin` has `localConfig` beside `userConfig`, since local-scope MCP
2621
+ servers live in `~/.claude.json`, which the `mcp` lock stops loading from (the judgment that put the
2622
+ local scope in no table was wrong); tests now build the frontmatter hooks of a skills-directory plugin,
2623
+ the `--settings` and SDK-option hooks under a hooks lock, a parent's `strictKnownMarketplaces` as a
2624
+ non-declaration of a suggestion source, and the parent-lock composition; two tests that restated the
2625
+ origin table or cited a plain-skill fallback the kit does not implement are removed or renamed, and the
2626
+ fallback is recorded as a host decision.
2627
+ - Settings, channel keys: `allowed(entry)` takes the flag each entry came from (`channels` or
2628
+ `development`), so a session with both kinds bypasses the list for the development entries only;
2629
+ a bare `server:<name>` development entry needs no plugin or marketplace; the closed gate carries
2630
+ `serverConnects: true` (the MCP server stays connected, only channel messages stop); `ChannelPluginRef`
2631
+ is the SDK's `allowedChannelPlugins` element type, declared once in `protocol/official.ts` and shared
2632
+ with the settings repair; the host's duty to refuse a channel server that negotiates protocol
2633
+ revision 2026-07-28 is recorded as a judgment; `null` and unreadable `channelsEnabled` and
2634
+ `allowedChannelPlugins` values are tested.
2635
+ - Settings, hook policy: `allowedHttpHookUrls` pattern `http://localhost:*` now also matches
2636
+ `http://localhost/x` (a wildcard port also stands for no port), as the docs example says; a
2637
+ `disableAllHooks: true` in the SDK's `managedSettings` is a lock that binds as
2638
+ `allowManagedHooksOnly: true` (an administrator's `false` no longer lifts it, plugin monitors and
2639
+ agent frontmatter follow it, command sources stay enabled), and a non-Boolean value there other than
2640
+ `false` and `"false"` binds the same way with a warning instead of being dropped; `monitorsRun`
2641
+ takes the plugin id and matches managed `enabledPlugins` on the whole `plugin@marketplace`; tests
2642
+ cover `--settings` and SDK-option hooks and `--add-dir` and synced frontmatter under the `hooks`
2643
+ lock, `disableCommandPluginSources: true` alone, and the managed origin under the HTTP allowlists.
2644
+ - Settings, plugin keys: a `--add-dir` directory now ranks below user settings and only its `true`
2645
+ `enabledPlugins` entry counts (plugins/loading.md), so it neither turns a plugin off nor overrides
2646
+ another file; the built-in guard's `pluginConfigs` options are read from managed settings only;
2647
+ `modOrder` reports the organization's mods that no list names (`unlisted`); a `pluginConfigs`
2648
+ entry that is not an object is dropped with a warning instead of shadowing a lower file; the
2649
+ option value types come from the SDK; tests no longer restate a constant or a neighbour.
2650
+ - The policy view returns each key's value through a merge strategy typed over the key,
2651
+ with no cast; the `hooks` of a user, project, local or `--settings` file drop only the entries
2652
+ that fail (a bad handler, group or event) and keep the rest, while a managed source still ignores
2653
+ the whole field; the same handler under two matchers is recorded as an open requirement of the
2654
+ hooks engine instead of being presented as proven; the unused `PolicyContext` type is removed
2655
+ until the resolvers need it; one shared `isRecord` guard.
2656
+ - 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.
2657
+
2658
+ #### hooks
2659
+
2660
+ - `CLAUDE_ENV_FILE`: two sessions of one host no longer share one file; each session's hooks write,
2661
+ clear and run the files of its own session id.
2662
+ - Security: a hook whose run port throws no longer drops a sibling hook's deny or block. It is read
2663
+ as a hook that could not start (`not-started`, `Hook could not run: <message>`) through the
2664
+ on-failure table, and the other hooks' decisions stand.
2665
+ - Security: the Stop block cap now holds in a session. The session built a new engine, with a fresh
2666
+ counter, for each dispatch, so a Stop hook could keep the turn going forever; the session now keeps
2667
+ one counter (and one set of `once` claims) for its whole life.
2668
+ - A `once` hook is held while a dispatch runs it, so a concurrent dispatch leaves it out, and is
2669
+ dropped only after its first successful run (a background one when its process ends).
2670
+ - Background `additionalContext` and `systemMessage` get the 10,000-character cap (spilled to
2671
+ `ScratchFiles`, else cut with a marker), and `additionalContext` the `<system-reminder>` escape.
2672
+ - `addHooks`, or a skill registering hooks, for a plugin that no longer runs or that the plugin-only
2673
+ lock silences registers nothing.
2674
+ - A winning `defer` drops every hook's `updatedInput`; prompt and agent hooks still waiting for a
2675
+ slot when the signal aborts report `cancelled`; an observer callback that throws is dropped.
2676
+ - One subprocess scrub, proven against claude 2.1.321: hooks used a second copy that read only `=1` as on
2677
+ and kept `MY_AUTH`, `FOO_KEY`, `SSH_AUTH_SOCK`, JWT values and lower-case GitHub tokens wrongly; the
2678
+ other copy removed `MONKEY`, `TOKENIZER`, `AUTHOR` by substring and kept PEM keys. Both now go through
2679
+ `scrubAction` (whole words of the name in any case, URL passwords, PEM private keys and JWTs by value,
2680
+ `YARN_REGISTRY` among the registry URLs), 72 of 72 probed variables as claude leaves them.
2681
+ `scrubHookEnvironment` and `scrubRequested` are removed: `scrubEnvironment(env)` and
2682
+ `subprocessScrubEnabled(env)` serve every kind; `ScrubOptions.version` is optional.
2683
+ - The warning for a hook type an event does not support reads `A hook of type http is not supported
2684
+ on …` (was `A http hook …`).
2685
+ - Background hook deliveries carry their command's exit code, so hosts can keep a failed `once`
2686
+ hook registered instead of consuming it as a success.
2687
+ - Command hooks and `subprocessEnvironment` for Bash set `CLAUDE_EFFORT` to the session's effort level.
2688
+ - Hooks: the per-event contracts. Every `<Event> input` section, the decision-control table, the
2689
+ response schema of prompt hooks and the context, interaction, elicitation, defer and terminal sections
2690
+ of hooks.md are proven by tests against the docs' own examples and scripts. New: `resolveWorktreePath`
2691
+ (the path of a `WorktreeCreate` hook: last non-empty line, ANSI stripped, relative resolution, `.`/`..`
2692
+ and symlink refusals), `resolveDefer`, `preToolUseHookOutcome`, `DispatchRequest.taskCompletedBy` and
2693
+ `effects.stopCondition` for `TaskCompleted`; a `terminalSequence` is dropped outside an interactive
2694
+ session and a `PermissionDenied` `retry` when the classifier produced no verdict.
2695
+ - Hooks: `CLAUDE_ENV_FILE`. The `EnvFileStore` port and `createEnvFiles` give `SessionStart` and `Setup`
2696
+ hooks the file that lasts the session and `CwdChanged` and `FileChanged` hooks the file a `CwdChanged`
2697
+ event clears, never a hook that runs PowerShell nor another event; `readPowershellVariables` reads the
2698
+ plain `export`, `declare -x` and `NAME=value` lines PowerShell commands receive (none, with the
2699
+ `Session environment is not all plain assignments` issue, when a line is another kind; on Windows
2700
+ without a value that holds `/` or `\`). A host session takes `envFiles` and `processId` and reads
2701
+ `session.hookEnvironment`.
2702
+ - Hooks: the process environment. `CLAUDE_CODE_SESSION_ID` (the input's `session_id`), `CLAUDECODE`,
2703
+ `CLAUDE_CODE_CHILD_SESSION` and `CLAUDE_PID` are set; the settings files' `env` is written over the
2704
+ inherited environment; `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1` removes credentials by the docs' table
2705
+ (`scrubEnvironment`) before the `OTEL_*` removal.
2706
+ - Hooks: a shell-form hook that PowerShell runs by default whose command is only quoted strings fails with
2707
+ `PowerShell started no program` and the fixes instead of printing it.
2708
+ - Hooks: runtime outcomes of a run. `UserPromptSubmit` block messages end with `Original prompt:` unless
2709
+ `suppressOriginalPrompt`; `DispatchRequest.interrupt` (`esc`, `enter`, `ctrl-enter` on `PostToolUse`)
2710
+ and `HookOutcome.interrupted` (an interrupted prompt check); the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`
2711
+ cap on consecutive `Stop` and `SubagentStop` holds (`createStopBlockCap`); `refusing to honor the
2712
+ suspect capture` for a runner that reports `outputHeldOpen`; `This hook comes from the <plugin>
2713
+ plugin.` on a plugin's exit-2 block; `checkPluginDirectories`; `BackgroundDelivery.outcome`.
2714
+ - Hooks (review of the per-event contracts): `effects.deferCondition` is removed, `resolveDefer` is the
2715
+ one way to know whether a `defer` applies; `effects.stopCondition` of a `TaskCompleted` now comes from
2716
+ its own merger and the teammate-stop rule of an `ok: false` hook from `EXIT2_RULES`, not from an event
2717
+ name; the tests no longer assert echoes of their own input, claims the host owns (`hook_response`,
2718
+ the debug log, the pasted-text expansion) or titles that overstate what they check; added tests for
2719
+ `ElicitationResult` `mode` and `elicitation_id`, the value sets of `PreModelSwitch` and
2720
+ `PostModelSwitch`, `UserPromptExpansion.command_source`, the `PreToolUse` exit-2 path through
2721
+ `decide`, and the `WorktreeCreate` path reading; the judgments for these are in `spec/judgments.md`.
2722
+ - Hooks (review of the runtime outcomes): the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` count resets when
2723
+ Claude calls a tool (`PreToolUse`, `PostToolUse`, `PostToolUseFailure`, with or without a hook) and
2724
+ when a Stop holds nothing, no longer on `stop_hook_active`; `StopBlockCap.reset` and
2725
+ `HookEngineOptions.stopCap` let a host that rebuilds its engine keep the counter; `Ctrl+Enter`'s
2726
+ 10-second cap kills command hooks only; `HookObserver.finished` carries `exitCode`; `HeldOpenResult`
2727
+ types a runner's `outputHeldOpen`; `checkPluginDirectories` is on by default; the plugin sentence is
2728
+ left off a block whose stderr is not the message, and a plugin is named by its manifest name, else
2729
+ its id, everywhere.
2730
+ - Hooks: `onFailure: "block"` blocked on a failure of a hook with only `asyncRewake` set, which is a
2731
+ background hook like one with `async`.
2732
+ - Hooks and settings (review of the exec stream): the scrub keeps `http_proxy` and `https_proxy` in lower
2733
+ case as it keeps `HTTP_PROXY` and `HTTPS_PROXY`; `subprocessEnvironment` and
2734
+ `session.subprocessEnvironment(kind)` build the environment of a hook, Bash, PowerShell, stdio MCP or
2735
+ Monitor process, and `scrubEnvironment` and `scrubRequested` are exported as `docs/API.md` says; on a
2736
+ Windows host the settings `env` reads off values and the launch environment without regard to case;
2737
+ the judgments of the scrub, the managed layer order, the `CLAUDE_ENV_FILE` of exec-form hooks and the
2738
+ PowerShell reader are recorded and tested outside `spec(...)`.
2739
+ - Hook output tests (`SubagentStart.additionalContext`): the title no longer claims `continue` is
2740
+ dropped (it is carried); the matcher, the `<system-reminder>` escape, the cap boundary, the
2741
+ 2,000-character preview, the independence of hooks under the cap and the `hookEventName` failure
2742
+ are now asserted.
2743
+ - Hook verdict and engine: a block now says who is shown its text (`BlockInfo.to`: `claude`, `user`,
2744
+ `user-and-claude` or `none`), and on the events whose docs show it to no one (`ConfigChange`,
2745
+ `Elicitation`, `ElicitationResult`, `WorktreeCreate`, `WorktreeRemove`) `reason` and `message` are
2746
+ empty, the debug-log events keeping the hook's line in `debug`; a `PostToolBatch` stop leaves a
2747
+ notice for the transcript and feedback for Claude; on `Elicitation` and `ElicitationResult` only
2748
+ `hookSpecificOutput` is dropped from a run that did not exit 0 (`systemMessage` and `continue`
2749
+ still count); a `UserPromptSubmit` command, HTTP or MCP tool hook that times out leaves a notice
2750
+ with the timeout and the discarded output; a `continue: false` block no longer replaces an exit-2
2751
+ reason; tests assert the route per event against the docs, the `<Event> hook error` notice of
2752
+ `SessionStart`, `SubagentStart` and `PostModelSwitch`, and the judgments of assembling blocks.
2753
+ - Hook output: a `Stop` or `SubagentStop` hook that returns `continue: false` with
2754
+ `additionalContext` stops instead of keeping the turn going; `decision` is `block` on every event,
2755
+ and the deprecated `approve` is valid on `PreToolUse` only (any other value fails validation); a
2756
+ `PreToolUse` `deny` from one hook drops another hook's `updatedInput`, as an exit-2 deny does; the
2757
+ 10,000-character cap no longer spills a `systemMessage` or specific field the event discards; the
2758
+ merge and the cap use the checked output instead of parsing it again; the tool output mirrors and
2759
+ `GateEffects` are bound to more of the official types; tests assert where a block's text goes
2760
+ (`block.to`) per event, the `WorktreeCreate` path, the `PreCompact`, `TaskCreated` and
2761
+ `PostToolUseFailure` blocks, the `TeammateIdle`, `TaskCompleted` and `SubagentStart` rows, and the
2762
+ control characters in an OSC body; the judgments behind those rules are recorded.
2763
+ - Remote hook handlers: an `http` hook now honours the two settings allowlists through
2764
+ `RunContext.httpPolicy` (`allowedHttpHookUrls` skips a hook whose URL matches no `*` pattern, with a
2765
+ warning at `hooks.<Event>.url`; `httpHookAllowedEnvVars` narrows `allowedEnvVars` to the names on
2766
+ both lists); an `mcp_tool` hook returns `cancelled` when the session aborts while it waits for the
2767
+ server, instead of a "not connected" error, and with the optional `ports.clock` the wait and the
2768
+ call share one hook `timeout` (`timed-out` when the wait used it up); tests assert all 33 values
2769
+ of `WAITS_FOR_SERVER`, the exact appended prompt, malformed and reason-less replies for agent hooks
2770
+ too, and keep judgment tests out of the `spec(...)` blocks of other ids.
2771
+ - Agent hooks: a Monitor command (matcher input `Monitor`) is also matched as `Bash` on
2772
+ `PreToolUse` and `PermissionRequest`, never on `PostToolUse` (hooks.md, "Match Monitor
2773
+ commands"); the `--agents` (flag) trust exemption, the `FileChanged` and `StopFailure` narrow
2774
+ grammar and the ignored matcher of events without matcher support are now proven under their
2775
+ `hooks.matcher.*` ids, and `spec/judgments.md` keeps only the managed-agent exemption there.
2776
+ - `readHooksFile` accepts a mod-only file (`modules` with no `hooks`), `readHooksSettings` keeps a
2777
+ JSON-parsed `__proto__` event as an own key, a matcher that does not compile is no longer
2778
+ warned about on an event without matcher support, and a non-finite `timeout` reports "expected a
2779
+ positive, finite number of seconds".
2780
+ - Hook selection (`hooks/select`): `createHookRegistry` and `selectHandlers` pick the handlers an
2781
+ event runs: the event catalog (cadence, supported handler types per event, `EndConversation`
2782
+ skipping both tool events), the field each event's matcher filters on (`MATCHER_TARGETS`, with
2783
+ the narrow grammar of `FileChanged` and `StopFailure`, the canonical model of a model switch, and
2784
+ the events that ignore a matcher), the documented matcher values tied to the SDK unions, `if`
2785
+ evaluated on tool events only, Monitor commands matched by a `Bash` matcher, settings-handler
2786
+ dedupe, `disableAllHooks` with managed precedence, workspace and folder trust, plugin enablement,
2787
+ `once` for skill frontmatter, and the `FileChanged` watch list.
2788
+ - Hook selection (`hooks/select`): an `mcp_tool` hook on `Setup`, and on `SessionStart` at launch
2789
+ (startup, resume, fork), is skipped and reported as a warning, because the MCP servers are not
2790
+ available yet, and it runs after `/clear` or a compaction; an `if` of `Edit(src/**)` matches only
2791
+ the `src` directory in the working directory (`Edit(**/src/**)` for any depth) instead of any
2792
+ depth, and two rules joined with `&&` or `||` are reported as one rule that cannot match;
2793
+ `allowManagedHooksOnly` and the `strictPluginOnlyCustomization` hooks lock gate handlers by
2794
+ source (`allowManagedHooksOnly`, `forceEnabledPlugins` and `pluginOnlyHooks` on the session); the
2795
+ `FileChanged` watch list (`fileChangedWatchList(entries, session)`) skips handlers that cannot
2796
+ run; the session's `effort` takes the SDK type.
2797
+ - Hook input (`hooks/input`): `HookSession.permissionMode` takes the host's own text, so the
2798
+ Manual label (sent as `"default"`) and a text that names no mode (warned, not sent) are reachable
2799
+ through the typed API; `duration_ms`, `seconds_since_last_response` and
2800
+ `estimated_cache_write_usd` accept any number, as the docs type them, while `context_tokens` and
2801
+ `index` stay whole numbers (a judgment); issue paths write an array index as `[n]`
2802
+ (`hooks.Stop.input.background_tasks[0].id`), as the warnings and the select stage do; the input
2803
+ build no longer relies on casts beyond one commented join, and tests now cover `mcp_server`,
2804
+ `permission_suggestions`, `tool_calls`, the optional titles and the Elicitation and ConfigChange
2805
+ enums.
2806
+ - Command handler: an `asyncRewake` hook that exits with code 2 and writes only blank output no
2807
+ longer wakes Claude with an empty reminder; the `OTEL_` exporter variables are removed in any
2808
+ case on a Windows host; the handler registry dispatches without a type assertion; the PowerShell
2809
+ rewrite of a settings hook's plugin placeholders, the override of inherited variables, and the
2810
+ host-chosen default shell are recorded as judgments. Tests: judgments moved out of `spec(...)`,
2811
+ and added for `${user_config.*}` in `command`, Git Bash path normalization and Windows exported
2812
+ paths.
2813
+ - Command hooks and Markdown content of a plugin: `resolveHookCommand` (exec form substitutes
2814
+ `command` and each `args` element including `${user_config.*}`; shell form through bash or
2815
+ PowerShell refuses `${user_config.*}` with the documented error, `${env:NAME}` placeholders for
2816
+ PowerShell, the path and option variables the process receives) and `substituteContent` (path
2817
+ variables and non-sensitive options in a skill, command or agent body, a placeholder for a
2818
+ sensitive one), with the `HOOK_GUARD` message.
2819
+ - 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.
2820
+
2821
+ #### skills
2822
+
2823
+ - A skill's or command's `!` command pasted `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PLUGIN_ROOT}`,
2824
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` into the text the shell runs, so a plugin or
2825
+ project folder named `x$(touch PWNED)` ran `touch` once the command was allowed (Claude Code 2.1.322
2826
+ does the same). Under the default `shellPaths` the shell now gets the braced references
2827
+ (PowerShell `${env:NAME}`) and the process environment the paths the command names; `'pasted'`
2828
+ keeps the old text. The refusal check, the permission check, the `allowed-tools` grants and auto
2829
+ mode's instruction still read the command with the paths written in, so permission decisions do
2830
+ not change. `$ARGUMENTS` is still pasted. Proven through the public session in
2831
+ tests/host/skill-shell-paths.test.ts. API changes: `PlannedCommand` gains `shellCommand` and
2832
+ `environment` (what `CommandRunner` gets), and `PlannedCommand.command` and `ShellCall.command` are
2833
+ the text that is checked; `SkillSession.shellPaths`, and `ExpandSession` takes `shellPaths`;
2834
+ `SubstitutionScope.extraPaths`, the names in `extra` that are paths; the substitution surfaces
2835
+ `skill-bash` and `skill-powershell`; `shellExports(referenced, scope, ask)` reads `extra` and
2836
+ `extraPaths` of `scope` too, and is exported from `loading/resolve` with `surfacePolicy`;
2837
+ `renderPluginVariable` takes any variable name.
2838
+ - `Expansion.references`: the files a local skill's or command's expanded text names with `@`,
2839
+ which Claude Code attaches (skills.md, "How Claude Code handles the body of a synced skill"). The
2840
+ kit reported none, so a host attached nothing; a synced skill's stay literal outside an isolated
2841
+ session. `expandMessage` reads a workflow's name as no skill, as `skillCatalog` lists it, and
2842
+ `skills()` no longer lists a row whose command reaches another row.
2843
+ - A skill's `!` command gets `CLAUDE_EFFORT`, and skill expansion and the workflow switch use the
2844
+ turn's `hookPorts` instead of the session's.
2845
+ - A `commands` path naming `./skills/` loads each skill folder once.
2846
+ - A folder with a `SKILL.md` inside a `commands` folder is a skill named by its folder, not a
2847
+ `folder:SKILL` command, and it is listed ahead of `skills/` (Claude Code 2.1.319).
2848
+ - A skill named by its own frontmatter (a root `SKILL.md`, a listed skill folder) drops the plugin's
2849
+ own prefix and turns every character outside `[A-Za-z0-9_-]` into `-`, as Claude Code does.
2850
+ - A skill with neither `description` nor `when_to_use` is not listed to the model; it stays a `/`
2851
+ command and the Skill tool still runs it.
2852
+ - The model's skill listing joins `description` and `when_to_use` with ` - `, as Claude Code does.
2853
+ - The kit sorts every folder listing itself (`format/listing.ts`, by code unit): a port whose `list`
2854
+ is unsorted or locale-sorted no longer changes the order of skills, commands and agents, which
2855
+ duplicate wins, or which skills keep their description in the listing budget. `PluginFiles.list`
2856
+ may return entries in any order.
2857
+ - 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`).
2858
+ - Of a file or skill folder and a link to it, the entry itself stays whatever their name order (a
2859
+ skill folder no longer keeps folder order); of links only, the first in folder order.
2860
+ - A symlinked folder inside `commands/` or `agents/` is no longer entered, as in Claude Code
2861
+ 2.1.322; a skills scan still follows a linked skill folder, with the containment check.
2862
+ - Session registration, as Claude Code 2.1.319 does (`bun run oracle:runtime`): a plugin skill a scan
2863
+ finds is named after its folder, not its frontmatter `name`; two agents with one `name` register
2864
+ once; a skill and a command with one name are one menu entry, the command; a plugin whose manifest
2865
+ sets `defaultEnabled: false` is off until `enabledPlugins` turns it on.
2866
+ - Skills review: a `Skill(name)` allow or ask rule matches the invoked name and the skill's own name (a
2867
+ deny rule still sees every name); the file an injected command's oversized output is saved to is cut at
2868
+ 64 MiB, between two UTF-8 characters, and the note says so; judgments record the host mapping of Claude's
2869
+ `args`, the SDK command lists, and how `&` and entities in a description are handled.
2870
+ - Commands: review fixes. The judgments the kit makes about commands (blank entry fields, a source
2871
+ that is never read, `${CLAUDE_PLUGIN_ROOT}` in an entry's `allowedTools`, `name` and `paths`
2872
+ dropped silently, trimming, only a `.md` extension stripped from a file name, no extension rule
2873
+ for a `source`) are recorded in spec/judgments.md and tested outside `spec()`, so they no longer
2874
+ count toward the compatibility percentage; the "exactly one of `source` or `content`" message is
2875
+ shared between the manifest schema and `readCommandEntry`.
2876
+ - Review fixes for invocation, listing and execution. A skill named after plain text now
2877
+ permits the model's run of a `disable-model-invocation` skill (`permittedByMention`);
2878
+ `readSkillMentions` stacks up to six skills at the start of a message with the shared trailing
2879
+ arguments (`stacked`, the host's `stackable` stop rule, `interactive: false` for `-p`); the
2880
+ listing budget falls back to 8,000 characters instead of no limit, and a path-scoped skill is
2881
+ listed by name until its paths activate it; `paths` brace expansion shares the documented budget of
2882
+ 1,000 patterns and 4 MiB (a pattern over it is used unexpanded) and an uncompilable pattern matches
2883
+ nothing instead of throwing; `TurnSession.supportedEfforts` clamps the effort to the highest
2884
+ supported level at or below; a scheduled fire and a preload get their own refusal text.
2885
+ - A refused name or folder is reported once by field (`folder name has ...`, not `folder
2886
+ folder name has ...`); outside a plugin a name or folder `anthropic-skills` or
2887
+ `anthropic-skills:<name>`, and a user or project folder `synced` (any case), refuse the skill.
2888
+ - `substituteArguments` no longer expands a `$` inside a declared argument name a second
2889
+ time (`$a$b $b` with `a$b` and `b` declared gave `xy y`, now `x y`). `substituteAllowedTools`
2890
+ substitutes the Bash rules of `allowed-tools` (the docs' "same variable in both places"), where
2891
+ `substituteVariables` was only documented to; the judgments record the escaped-placeholder
2892
+ append, three backslashes, `$ARGUMENTS[x]` and `${user_config.*}` in typed arguments.
2893
+ - Review fixes for `expandSkill`. A skill that declares hooks under the hooks lock keeps
2894
+ its `allowed-tools` pre-approval when it runs through `context: fork`; the plugin sources the
2895
+ managed settings treat like folders are modelled (`ExpandSession.pluginSource`:
2896
+ `skills-directory` loses hooks under the lock and its grant under `allowManagedPermissionRulesOnly`,
2897
+ `inline-managed-session` loses its grant); an injected command's timeout is
2898
+ `BASH_DEFAULT_TIMEOUT_MS` (default 2 minutes) and the timeout message names it; the permission
2899
+ check receives the same CRLF-normalised command the shell runs. The judgments record who owns
2900
+ `EndConversation` in `disallowed`, output past the inline ceiling, and the bundled and managed
2901
+ skills `disableSkillShellExecution` leaves alone.
2902
+ - Skill keys (`settings/skills`): `createSkillSettingsPolicy(view, context)` answers
2903
+ `skillOverrides` as `visibility(name, subject)` (the four states over what Claude sees, the `/`
2904
+ menu and the Remote Control and SDK command lists, the `skillOverrides` error for an `off` skill,
2905
+ plugin skills untouched, bundled-skill alias entries from managed settings and `--settings` files
2906
+ that can only restrict further), `disableBundledSkills` with `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS`
2907
+ (neither undoes the other), `disableSkillShellExecution` as a per-origin verdict with the
2908
+ `[shell command execution disabled by policy]` replacement (a managed `true` is never overridden),
2909
+ and `syncClaudeAiSkills` as the same decision `syncClaudeAiPlugins` gives.
2910
+ - An unquoted `argument-hint: [topic: foo | bar]` is written back as that text instead of
2911
+ being dropped; the unknown-event warning of a skill's `hooks` no longer repeats the `hooks.`
2912
+ prefix; the shell list is checked against the host's `ShellKind`; the judgments cover an
2913
+ unbalanced list delimiter, an unknown hook event kept with a warning, the comma split of
2914
+ `arguments` and the skill folder of a Windows path.
2915
+ - Memory index: `truncateMemoryIndex` strips a block-level HTML comment only when it opens a line
2916
+ and ends on the line of its own first `-->`, and not inside fenced code, so text between two
2917
+ comments is no longer dropped and `truncated` stays honest; the `skills` tests prove `Skill` in
2918
+ `tools` is no preload, and the comma-separated `skills` string is a recorded judgment.
2919
+ - Settings, skills: the `disableBundledSkills` decision now says built-in commands and `/doctor` stay
2920
+ typable (`builtInCommandsTypable`); tests cover a `--settings` own-name entry that does not beat an
2921
+ alias, the same alias set in managed and `--settings` files, a parent `true` against a lower
2922
+ `false`, and a parent `false` under a managed `true`; the repair of an unknown `skillOverrides`
2923
+ state is recorded in `spec/judgments.md`, and the non-Boolean managed
2924
+ `disableSkillShellExecution` test sits with the judgments.
2925
+
2926
+ #### agents
2927
+
2928
+ - A saved workflow, agent or command file the host refuses to read is skipped with a warning
2929
+ instead of rejecting the whole scan.
2930
+ - A plugin's workflows are `/<plugin>:<meta.name>` rows of `session.skills().menu` and of the model
2931
+ listing, ahead of the skills, unless workflows are off; `session.skills().workflows` names them
2932
+ for the host to run, and `PluginHostOptions.workflows` gives the plan and organization switch.
2933
+ - 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`).
2934
+ - Sub-agent catalog review: a `Task(...)` deny rule works as an alias of `Agent(...)`; `readFlagAgents`
2935
+ reports the schema problems of every definition before the `-` names and cuts more than 20 lines to
2936
+ `…and N more`; `resolveSubagentModel` takes `builtin: { name, connection }` and runs Explore on the `opus`
2937
+ alias for a Fable main model over a subscription, Console or LLM gateway; `AgentOverrides` let a host pass
2938
+ its deny rules, `--agents` value and `interactive` per call to `agentCatalog` and `reloadAgents`, and
2939
+ `session.selectAgent` picks the session agent; the judgments file keeps all its earlier rows again.
2940
+ - Workflows and themes (review findings): `stallWindowMs` takes the host's risen default as `defaultMs`, which
2941
+ loses to `stallMs` and to `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS`; a lexical problem in the body of a script
2942
+ (an unterminated string, template or comment) no longer discards a valid `meta`, and a rewrite of such a
2943
+ script works; a rewrite adds a field with the line ending of a CRLF block; `rewriteWorkflowMeta` lives in
2944
+ `workflow-meta-rewrite` and `MetaPatch.phases` takes object entries; `WorkflowMeta` gains `phaseEntries`
2945
+ and `whenToUse`; `Theme.extraOverrides` keeps the tokens the reference omits, so a copy of a plugin theme or
2946
+ a rewrite loses none; `PluginTheme.qualifiedName` is gone (a theme has no `<plugin>:` name);
2947
+ `planReplay`/`replayAgent` compare an options fingerprint too (`AgentCall`, `options-differ`); a
2948
+ schema that contradicts itself (`checkAgentSchema`) and the validation attempts (`afterInvalidOutput`,
2949
+ `structuredOutputAttempts`); `themeColorToHex`; the order of two same-named workflows in one folder no
2950
+ longer depends on the host locale; the literal reader returns a result instead of throwing;
2951
+ `relaunchAfter` replaces the constant `continuesOnItsOwn`, and `startsNewAgents` is gone from the usage-limit
2952
+ decision. Tests assert behaviour instead of reading constants back; the unrecorded judgments have rows.
2953
+ - Agents: one subagent tool resolution. `resolveCatalogSubagentTools` is gone; `resolveSubagentTools`
2954
+ keeps what it did that the other did not (`ExitWorktree` withheld from a subagent in its own working
2955
+ directory, the `Glob` and `Grep` a `tools` list names without `Bash`), and the `tools.tool.*` tests
2956
+ that proved the tools table through it now run on `resolveSubagentTools`.
2957
+ - Workflow keys (`settings/workflows`): `createWorkflowSettingsPolicy(view, context)` answers
2958
+ `disableWorkflows` and `enableWorkflows` as `enablement()` (off by `disableWorkflows` in any file,
2959
+ `CLAUDE_CODE_DISABLE_WORKFLOWS=1` or the organization's toggle, none undone by `enableWorkflows:
2960
+ true`; on by default except on Pro; what goes with workflows; the `/config` row),
2961
+ `workflowKeywordTriggerEnabled` as `keyword(prompt)` (the `ultracode` keyword triggers only in a
2962
+ prompt a person typed, never for `-p`, a scheduled task, an unstamped SDK prompt or a relayed
2963
+ event) and `workflowSizeGuideline` as `size()` (agent count advice, precedence over the `/config`
2964
+ choice, the `Large workflow` threshold).
2965
+ - Settings, workflow keys: the decision no longer carries `inProgressRunsContinue`, a constant that
2966
+ described no run state (the duty to let a run finish is recorded as a host duty); the size
2967
+ decision returns `largeWorkflowThreshold` and the new `largeWorkflowTokens` (1.5 million) as
2968
+ `undefined` while the host says `ultracode` is on, as the docs say the `Large workflow` warning
2969
+ does not show then; tests table every prompt surface and every non-human SDK origin with its
2970
+ expected verdict and reason, and show that `workflowKeywordTriggerEnabled: false` leaves
2971
+ `/effort ultracode` and the workflow surfaces as they are.
2972
+ - Agent launch: `worktreeDisposition` takes `{ isolation, hasChanges }` and returns `none` for an
2973
+ agent without `isolation: worktree`; `ClaudeMdScopes` gains `nested` (a subdirectory's CLAUDE.md
2974
+ and path-scoped rules still load with `omitClaudeMd`); the model, effort, background and
2975
+ auto-compact tests now prove what the docs say (resolved model per value, documented-only
2976
+ cases), the judgments sit in their own blocks, and `spec/judgments.md` records the
2977
+ `CLAUDE_CODE_EFFORT_LEVEL=auto` effect on subagents, the host-side `k`/`M` suffixes of
2978
+ `CLAUDE_CODE_AUTO_COMPACT_WINDOW`, the `agent.spawn` model and the Explore and Plan subagents.
2979
+ - `resolveSubagentTools`: a `tools` list naming `SubagentHandback` is no longer refused when the
2980
+ host grants it (`handback`), in the foreground or the background; `SubagentRun.teammate` keeps
2981
+ the task and cron tools in a background run; `AgentToolFields` derives from the SDK's
2982
+ `AgentDefinition`; the tests state their expected lists, cover `Task` and `Agent(type)` in
2983
+ `disallowedTools`, and the Glob/Grep grant is recorded as the host's.
2984
+ - Agent fields: a quoted fraction such as `autoCompactWindow: "200000.5"` is dropped with
2985
+ `invalid autoCompactWindow` instead of truncating to 200000; `background` and `omitClaudeMd`
2986
+ accept a YAML boolean or the text `true` or `false` only (not `yes`, `on`, `1`); an empty
2987
+ inline `mcpServers` definition (`- {}`) is dropped; a plugin agent now has a test for each of
2988
+ `tools`, `disallowedTools`, `skills` and `memory`; the judgments say why plugin-ignored fields
2989
+ are not "unrecognized".
2990
+ - Agent files: a project, user or managed file with a name that breaks a rule now has each rule's
2991
+ own wording tested; a plugin agent in a file named `.md` is named `.md`, not an empty string; a
2992
+ `--add-dir` directory reads as `project`, and `flag` is no source of a file read (`readAgent`).
2993
+ - 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.
2994
+
2995
+ #### marketplace
2996
+
2997
+ - Security: `isBlockedHost` refuses the whole 0.0.0.0/8 block (it refused only `0.0.0.0`) and
2998
+ ignores any number of trailing dots on a host (it ignored one), so `0.1.2.3` and `localhost..`
2999
+ are blocked like `0.0.0.0` and `localhost`.
3000
+ - Security: `unsafeEntryIssue` (and so `fetchArchive`) finds a link of an archive by its name
3001
+ without regard to letter case, Unicode normalization or trailing dots and spaces, and refuses a
3002
+ link that shares such a name with another entry. On a file system that folds names (APFS, NTFS)
3003
+ a zip with a link `A` and an entry `a/B` was accepted and then written through the link, outside
3004
+ the plugin directory. A host that unzips still checks the real path of the folder it writes
3005
+ into (docs/SECURITY.md, "Risks the host owns").
3006
+ - `fetchArchive` finds the plugin root of a zip macOS Finder made: the `__MACOSX` folder beside the
3007
+ one wrapping directory is not counted, so the root is that directory (it was refused with "no
3008
+ plugin root").
3009
+ - Security: an npm plugin source can no longer smuggle another source through its version. The
3010
+ version appended to `package` and the `version` field must be a semver version, a range or a
3011
+ URL-safe dist-tag; a git address, folder, `file:` path, alias or tarball there is refused with its
3012
+ reason, and the package name must follow npm's naming rule.
3013
+ - Security: an `archive` source can no longer escape the plugin directory through a chain of
3014
+ symbolic links. A link target is resolved through the archive's other link entries (at most 40
3015
+ hops; a loop or an absolute target is refused), and an entry written through a link entry is
3016
+ refused (`The archive entry "<path>" is written through the symbolic link "<link>"`).
3017
+ - `MARKETPLACE_SOURCE_KINDS` has one definition (`format/marketplace` re-exports the settings list).
3018
+ - Node.js package dependencies (review fixes): a lockfile download link that does not use `https`
3019
+ (`ftp:`, another scheme, none) is refused, not only `http`; a `bun.lock` id with a link is a
3020
+ tarball dependency and so no registry package; a registry package that is not pinned to an exact
3021
+ version in the lockfile gets no install (`unpinned-dependency`); the install-folder guard compares
3022
+ Windows paths and ignores case; a `package.json` that is not a JSON object is its own reason
3023
+ (`package-json-unreadable`). A skip is now a union over its reason with typed fields instead of a
3024
+ `detail` list, `skipReasonText` gives its clause, `LOCKFILE_NAMES` and `UNSUPPORTED_LOCKFILES` are
3025
+ exported, and `stage.moveBack.replaceExisting` says an existing `node_modules` is replaced. Tests
3026
+ assert the documented link-mode and npm-source sentences, every reason's whole clause, and the
3027
+ plan-level cases for workspace, linked and git dependencies.
3028
+ - Install and cache lifecycle (review fixes): an install of a source kind the kit cannot fetch is
3029
+ refused with `This plugin uses a source type your Claude Code version does not support...`; a
3030
+ link-mode install without the printed directory or its entries, or with an entry name that is
3031
+ empty, `.`, `..` or holds a `/`, plans nothing, and a plan reports `copy` and `mustStayAt`; a
3032
+ version that cannot name a folder no longer refuses a plugin loaded in place; two spellings of one
3033
+ project folder on Windows are one install (`planInstallFinish` takes `platform`); `dirsToOrphan`
3034
+ and `orphanSweep` take the store layout and skip folders outside the cache, and `selectUninstall`
3035
+ (now taking `plugin` and `layout`) returns the `orphaned` folders and the not-installed issue and
3036
+ removes nothing at project or local scope without a folder; `planTreeCopy` skips a link that
3037
+ closes a cycle (`copying`), and its too-large message names the limit given; the loader's
3038
+ `locate` now decides every declared path through `escapedPathIssue` (moved to `format/path-escape`;
3039
+ a backslash on macOS and Linux, a drive path, and links between plugins of one marketplace;
3040
+ `loadPlugin` and `discoverComponents` take `platform` and `roots`); `lfsPointerIssues` warns for
3041
+ each pointer file of a cloned plugin and CRLF pointers are read; `StagedDirectory.commit` takes
3042
+ a `StagedCommit` with the `TreePlan`; the host surfaces gained the desktop app and VS Code, what
3043
+ `/plugin` opens, the scope choices, when an install applies and the official marketplace at the
3044
+ first interactive start (`planPluginCommand`, `planPluginApply`, `scopeChoices`,
3045
+ `marketplacesAddedAtStart`; `INSTALL_HOSTS` is no longer public).
3046
+ - Plugin versions (review fixes): a stated or computed version that is not one folder name (`../x`,
3047
+ `a/b`) no longer reaches the cache path (`isVersionSegment`; it is skipped for the next source of a
3048
+ version, else `unknown`); a `git-subdir` input always carries its `subdir`; `inGitMarketplace` is
3049
+ now `inGitRepository` (the plugin directory or its marketplace); `unknownVersionSteps` takes
3050
+ `{ name, marketplace }` and reruns each scope once; the SP2 gate reads ids that hold quotes, so the
3051
+ folder-collision section is proven; links, empty directories, `strict` and same-event hook
3052
+ replacement gained tests.
3053
+ - Install records and plans (review fixes): a `__proto__` key in `installed_plugins.json` or
3054
+ `known_marketplaces.json` is kept like any other (it was dropped); the default plugins root honours
3055
+ `CLAUDE_CONFIG_DIR`; a session prints `✔ Updated N marketplaces` where a shell prints `Successfully
3056
+ updated ...`, and a shell `marketplace remove` needs its name; dependency plans work per scope (a
3057
+ dependency installed only at another scope is installed at the target scope, a plugin already
3058
+ installed there says `is already installed (scope: ...)`, `defaultEnabled: false` stays off) and
3059
+ `planEnable` fails for a dependency the organization's policy blocks or that is `false` above the
3060
+ target scope; an install decides `Plugin is now active.` or `Run /reload-plugins to apply.` from
3061
+ the prompt-cache and activation facts, and closing the panel queues the reload while a response
3062
+ streams; the untrusted-source and refused-name cases of an ignored marketplace come from
3063
+ `loadNameIssues` with the entry's source; an empty `known_marketplaces.json` reports the documented
3064
+ `JSON Parse error: Unexpected EOF`; the dated copies age out on `cleanupPeriodDays` (`PluginStateStore`
3065
+ gains `modifiedAt` and `remove`; the host serialises rewrites of the records); the tests that echoed
3066
+ constants now assert the documented decisions (a real SHA-256, failing writes, the `--json` line).
3067
+ - CLI plugin lifecycle: `plugin install --marketplace` runs the name checks of `marketplace add` on the
3068
+ marketplace it just added (an impersonating or reserved name, the `claudeai-` prefix, the
3069
+ download-folder rule) and refuses with `invalid_name` (`InstallFound.addedMarketplace.registered`);
3070
+ a bundled MCP server whose bundle is referenced by URL is `InstallOptions.unreadServers`: its keys
3071
+ are not listed and the not-applied line says to configure it in `/plugin`; the `invalid_config`
3072
+ failure lists its keys in `invalidKeys`, not `refused`; `plugin configure --values-stdin --json`
3073
+ leaves `unconfigured` out when `ConfigureFacts.readBack` is `false`; `uninstall --keep-data` keeps
3074
+ the data folder of a plugin `--prune` removes too; the unused `json` field of `ToggleArguments` and
3075
+ `DisableArguments` is gone. The accept-command, configure, `--prune`, scope and enable-dependency
3076
+ tests assert the refusal, the shown command, the pruned cleanup and each missing dependency; the
3077
+ codes and usage errors the docs do not quote, and the deferral of `install_records_unreadable`, are
3078
+ recorded in spec/judgments.md.
3079
+ - Marketplace dependencies: `installClosure` no longer reports a false conflict when an installed
3080
+ root's marketplace entry changed a range (the root's installed range is replaced by its new one,
3081
+ and so is that of any plugin the walk reads from the catalog); a dependency already installed and
3082
+ enabled still has its own missing dependencies planned; an `--plugin-dir` copy meets an entry that
3083
+ names a marketplace only from Claude Code 2.1.242 (`InstallRequest.hostVersion`,
3084
+ `DeclaredDependency.namesMarketplace`); the allowlist bypass and the met check read the plugin's
3085
+ `enabledPlugins` at the install scope, not the winning scope's. The five install operations plan
3086
+ identically (recorded in `spec/judgments.md`) and the tests assert that through the facts, the
3087
+ bundle test runs under `auto-update` and `reload-plugins`, the force-moved tag, `=2.1.0` and
3088
+ no-version tests assert the decision the docs describe, and `Create a release tag` is no longer
3089
+ counted as proven until `claude plugin tag` exists. `docs/API.md` has one
3090
+ `resolveDependencyVersion` row.
3091
+ - Marketplace updates: `checkForUpdate` now derives `loaded in place` from `loadsInPlace(source,
3092
+ origin)` instead of trusting the host, and its claude.ai subject has no manifest version field;
3093
+ `upToDateMessage` gives the `already at the latest version` wording; the SHA-256 of a downloaded
3094
+ archive is computed through the `Sha256` port (`archiveFacts`); `sourceFactsOf` and
3095
+ `versionCacheSegment` replace per-host switches; the blank-version rule is one helper. The
3096
+ version, release-channel, renames and release tests assert what each docs section adds, and the
3097
+ host-side messages and negatives are recorded in `spec/judgments.md`.
3098
+ - Updates: the version policy ignores `autoUpdatesChannel` and `minimumVersion` from a `--add-dir`
3099
+ directory (`scopeCarries`); `channelSwitch` takes `from` and asks only for `latest` to `stable`;
3100
+ a command source's install or changed-command update is held until the user accepts
3101
+ (`runsAfterAnswer`) and an in-place reload carries the reload notice; `backgroundCheckResult`
3102
+ maps credentials and the remote to a check result, and a provider token never authenticates;
3103
+ `toggleLabel` derives from `AutoUpdateFacts`; `planUpdate` updates only an installed plugin;
3104
+ `KnownMarketplace.seeded` is optional. The tests assert each skip for both install commands, the
3105
+ fleet-wide `DISABLE_AUTOUPDATER` against command sources, and the disabled-plugin runs, and
3106
+ `spec/judgments.md` records the whitespace-tolerant flags and the failing-open start gate.
3107
+ - Marketplace contracts: the `Marketplace`, `MarketplaceEntry`, `PluginSource` and
3108
+ `MarketplaceSource` shapes (with the closed `PLUGIN_SOURCE_KINDS` and `MARKETPLACE_SOURCE_KINDS`
3109
+ lists), the fetch plans (`FetchPlan`, `MarketplaceFetchPlan`, `ArchiveLimits`), the ports only
3110
+ marketplaces need (`Sha256`, `ArchiveReader`, `GitTags`, `SourceFetcher`), and the plugin id
3111
+ grammar shared by names, rename targets and dependencies (`PLUGIN_ID_PART`, `pluginIdIssues` with
3112
+ the documented "Claude Code cannot install plugin" and "cannot contain spaces" messages,
3113
+ `desktopNameIssues` for the Claude Desktop warnings).
3114
+ - Plugin sources and their fetch plans (`marketplace`): `parsePluginSource` reads an entry's
3115
+ `source` (a relative path, `"."`, a bare name under `metadata.pluginRoot`, and the `github`,
3116
+ `url`, `git-subdir`, `npm`, `archive` and `command` objects with the documented field rules and
3117
+ messages: `Invalid string: must start with "./"`, `Path contains ".."`, the `unsupported`
3118
+ placeholder, `sha` of 40 lowercase hex, `sha256` of 64 hex, a command of printable ASCII, 500
3119
+ characters at most, with no run of four spaces, `timeout` 1 to 600 and `mode`); `planPluginFetch`
3120
+ turns a source into a `FetchPlan` (a relative path resolves from the marketplace root and not
3121
+ for a `url` or `settings` marketplace, `sha` wins over `ref`, `git-subdir` is a sparse and, over
3122
+ https or SSH, partial clone, npm never runs install scripts or installs dependencies, the npm
3123
+ refusals for git addresses, folders, `npm:` aliases, tarball links and http registries, an archive
3124
+ over https that is not a loopback, link-local or cloud-metadata host with its download and
3125
+ extraction limits, a command through `sh` or `cmd.exe` from the home directory, link mode refused
3126
+ on Windows); `runCommandSource` and `fetchArchive` run the two engines through `CommandRunner`,
3127
+ `HttpClient`, `Sha256`, `ArchiveReader` and the new `PluginDirectories` port and refuse every
3128
+ failure the docs list.
3129
+ - Archive download headers (`marketplace`): `archiveDownloadHeaders` and `resolveHeaders` merge a
3130
+ marketplace `url` source's `headers` (sent to its own origin only) with an entry's (replacing by
3131
+ name), command output over `headers` within a place, and drop `Host`, `Cookie` and `X-Forwarded-*`
3132
+ from catalog and project entries; `helperAllowed` decides whether a `headersHelper` runs
3133
+ (`https://` marketplace URL, settings file and trust, `--add-dir`, `disableCommandPluginSources`
3134
+ and `allowManagedHooksOnly`, single install or update the user accepted); `runHeadersHelper` runs
3135
+ it through `CommandRunner` (10 seconds, JSON object of strings, no credential variables for a
3136
+ catalog or project command) and `helperCache` reuses a `url` source's output for 60 seconds. Entry
3137
+ validation also warns about routing headers and a `headersHelper` without a `sha256` pin.
3138
+ - Marketplace sources (`marketplace`): `parseMarketplaceSource` reads the `source` object of
3139
+ `extraKnownMarketplaces` or an entry of `strictKnownMarketplaces` and `blockedMarketplaces`
3140
+ (`url`, `github`, `git`, `npm`, `file`, `directory`, `settings`, and the policy-only `skills-dir`,
3141
+ `hostPattern`, `pathPattern`) with every field (`path` defaulting to
3142
+ `.claude-plugin/marketplace.json`, `ref`, `sparsePaths`, the no-op `skipLfs`, a settings source's
3143
+ `name` equal to its key and not reserved, its inline `plugins` as remote entries, the `owner/*`
3144
+ wildcard in policy lists only) and the `loadStatus` `extraKnownMarketplaces` gives it;
3145
+ `planMarketplaceFetch` turns a source into a git clone, a 5 MiB and 10 second file download, an
3146
+ in-place read with the root two levels up, or an inline catalog; `parseMarketplaceInput` builds
3147
+ the source `claude plugin marketplace add` builds from what you type, with `--sparse`.
3148
+ - Marketplace renames and removal (`marketplace`): `validateRenames` (also run by
3149
+ `validateMarketplace`) rejects a `renames` chain that cycles or ends outside `plugins` and a target
3150
+ that is not a plugin name; `resolveRename`, `renameNotice`, `migrateSettingsKeys` and
3151
+ `migrateSettingsScopes` follow the chain from the oldest name and rewrite or drop the old keys of
3152
+ `enabledPlugins` and `pluginConfigs` (managed settings are left and their notice recurs);
3153
+ `removedPlugins` decides what `forceRemoveDeletedPlugins` uninstalls and flags.
3154
+ - Marketplace dependencies (`marketplace`): `normalizeDependency` reads a `dependencies` item
3155
+ (`"name"`, `"name@marketplace"` or an object with `name`, `marketplace` and a node-semver
3156
+ `version`), `releaseTag`, `parseReleaseTag`, `selectTag` and `combineRanges` resolve ranges against
3157
+ `<name>--v<version>` tags (pre-releases only with `^2.0.0-0`, conflicts reported as `has
3158
+ conflicting version requirements`), `resolveDependencyVersion` applies the source-kind rules (own
3159
+ repository fails with `has no git tag satisfying`, relative path falls back to the current copy,
3160
+ `npm`, `archive` and `command` check the plugin.json version), `checkInstalledDependency` and
3161
+ `checkDependency` give the quoted `is not installed`, `is disabled` and `Requires "<dep>" <range>,
3162
+ installed <version>` messages (local copies skip the range; claude.ai plugins meet a dependency
3163
+ only for `@synced` plugins), and `crossMarketplaceDecision` applies the root marketplace's
3164
+ `allowCrossMarketplaceDependenciesOn`. Adds the `semver` dependency.
3165
+ - `readMarketplace` and `validateMarketplace` read every entry by default (the entry reader over
3166
+ `parsePluginSource`), so a marketplace file loads end to end and its entries feed `planPluginFetch`,
3167
+ `resolveRename`, `normalizeDependency` and `crossMarketplaceDecision`; `unreadEntry` is removed.
3168
+ - Marketplace dependencies (`marketplace`): a dependency `name` and `marketplace` must satisfy the
3169
+ plugin id grammar (`a@b@c` and blank names are errors); the `@synced` note is added only for an
3170
+ enabled claude.ai plugin; `combineRanges` takes the dependency and names it by id; the new
3171
+ `autoUpdateDecision` skips an update whose current copy falls outside any installed range or whose
3172
+ ranges conflict; dependency issues carry the `errorType` of `claude plugin list --json`
3173
+ (`DependencyIssue`); `crossMarketplaceDecision` accepts the declaring plugin's marketplace and
3174
+ ignores its list; weak and misfiled dependency tests are replaced or moved outside `spec(...)`.
3175
+ - Marketplace renames and removal (`marketplace`): `migrateSettingsKeys` and `migrateSettingsScopes`
3176
+ keep the type of the values they carry; `InstallScope` derives from the SDK's setting sources;
3177
+ `Renames` is the one type of the map; tests now prove the notice appears once, managed settings
3178
+ are left as given, a registered name that differs from the file's is used, and the first of two
3179
+ old keys rewritten to one new key wins; the judgments record these, the host's **Flagged**
3180
+ heading, and that renames chains are checked only by `validate`.
3181
+ - Archive download headers: a `headersHelper` command runs only for the command and archive URL
3182
+ the user accepted (`AcceptedCommand`, replacing a bare flag; a change in the query string alone
3183
+ does not count unless the host sets `queryCounts`); an empty `CLAUDE_CONFIG_DIR` is unset;
3184
+ concurrent downloads on one origin share one command run; the entry and `url` source header
3185
+ types are taken from `MarketplaceEntry` and `MarketplaceSource`.
3186
+ - Plugin sources and fetch plans: the archive compression ratio is judged against the length of
3187
+ the zip the kit downloaded and not against a size the host reports; a local plan carries a
3188
+ `submodules` rule (`none`, `plugin-subtree`, `whole-repository`) with `selectSubmodules` and
3189
+ `submodulePaths` for the git submodules a marketplace clone fetches; a `git-subdir` path with a
3190
+ drive letter or a UNC prefix is refused as absolute; the object source parsers read each field
3191
+ with a typed reader instead of a cast; the relative path tests assert the backslash message
3192
+ (also for a trailing backslash), a symlink counts as one entry at exactly 20,000 and 20,001, and
3193
+ a tarball link outside the default registry's path prefix is refused; the `sha256` lower casing
3194
+ and the placeholder `headers` of an archive plan are recorded as judgments.
3195
+ - Marketplace entries: the `source` spec block proves only the entry-level behaviour (the parser's
3196
+ messages belong to the plugin source parser); `headers` and `headersHelper` count under their own
3197
+ ids, with a non-string helper dropping the entry; `effectiveTopic` gives the `relevance.topic`
3198
+ default and `effectiveDisplayName` the name users see; `dependencies` has negative cases for a
3199
+ non-string `version` and `marketplace`; the entry reserved-name check no longer filters the
3200
+ manifest's advice by its wording (`nameReservedIssues` is separate from the kebab-case advice); the
3201
+ version and no-effect headers warnings are recorded as reported when loading too.
3202
+ - Marketplace file and names: a name with a non-ASCII character impersonates an official
3203
+ marketplace even when it spells a reserved name (`claude–code–plugins` with en dashes);
3204
+ `renames` keeps a `"__proto__"` entry from parsed JSON instead of dropping it; the name tests
3205
+ assert the exact reserved-name, Claude Desktop and non-anthropics `git` messages, and
3206
+ `metadata.pluginRoot` has its own spec block.
3207
+ - Marketplace contracts: `ArchiveReader.stats` and `GitTags.list` report a corrupt zip, an
3208
+ unreachable git host or a fired signal as a `PortFailure` instead of a rejection (`stats` now
3209
+ takes a required `signal`); `MarketplaceSource` carries `skipLfs` on `github` and `git` and
3210
+ `version` and `registry` on `npm`, and a type-level test ties its kinds and fields to the SDK's.
3211
+ - Marketplace sources: a source object that does not parse (a missing or mistyped required field,
3212
+ a `settings` name that differs from its key) reports the load status `Unsupported marketplace
3213
+ source type` instead of `loads`; `marketplace add` clones a `/_git/` URL even with a query string;
3214
+ the `http-file` plan carries the redirect rule of a `url` source (a different origin must use
3215
+ `https`, blocked hosts are refused, no configured header is sent); a relative `file` path has a
3216
+ root (`.` for fewer than two directories, the drive for `C:\m.json`); issue paths of a source
3217
+ plan are relative to the source object; one GitHub `owner/repo` rule serves plugin sources,
3218
+ marketplace sources and `marketplace add`; `--sparse`, `owner/*` and the `url` source's
3219
+ relative-path refusal count under their requirement ids, and the settings duplicate, `strict`,
3220
+ `npm` `version` and `registry`, and policy-warning tests assert their paths and messages.
3221
+ - Marketplace gate (`settings/marketplaces`): `createMarketplaceGate(view)` answers
3222
+ `strictKnownMarketplaces` and `blockedMarketplaces` as verdicts (add, install, update, refresh,
3223
+ auto-update, session start, a marketplace that cannot be found, `skills-dir`), and
3224
+ `matchMarketplaceSource` is the shared matcher: exact entries, owner wildcards (case-sensitive on
3225
+ the allowlist, case-insensitive on the blocklist), `hostPattern` host extraction, `pathPattern`,
3226
+ canonical git URLs and `url` entries on the blocklist, `[]` as a lockdown, and the blocklist
3227
+ checked first.
3228
+ - Marketplace registry and command sources (`settings/marketplaces`):
3229
+ `createMarketplaceRegistry(view, context).registrations()` plans `extraKnownMarketplaces` (whole-entry
3230
+ replacement across files, workspace trust for project, local and `--add-dir` entries, the allowlist
3231
+ and blocklist checked on the entry that wins, `settings` source rules, `headersHelper` ignored from
3232
+ `--add-dir`, `autoUpdate` defaults, the official marketplace implied by `enabledPlugins`), and
3233
+ `createCommandSourcePolicy(view)` answers `disableCommandPluginSources` (falling back to
3234
+ `allowManagedHooksOnly`) for command-sourced plugins and marketplace `headersHelper` commands.
3235
+ - Settings, marketplace registry: `autoUpdate` defaults off for `knowledge-work-plugins` and
3236
+ `first-party-plugins` whatever the host lists as official; routing and identity headers (`Host`,
3237
+ `Cookie`, `X-Forwarded-*`) are dropped from an inline plugin entry's `headers` in a project, local
3238
+ or `--add-dir` file, `Authorization` kept; a `url` source that does not start with `https://`
3239
+ loses its `headersHelper`; `autoUpdateFixed` is set only for a registered managed entry; the
3240
+ inline plugin source kinds are typed over the SDK's union so a new kind fails to compile.
3241
+ - Settings, marketplace gate: the blocked-source message quotes the source (`Marketplace source
3242
+ '<source>' is blocked by enterprise policy`); an empty allowlist ends it with `No external
3243
+ marketplaces are allowed.`; the load-time messages carry the docs' guidance line; a `github`
3244
+ shorthand refused by an allowlist that admits a host by hostname adds the `Tip:`;
3245
+ `skillsDirectoryPlugins()` reports `strictPluginOnlyCustomization` as the reason when any
3246
+ customization type is locked; tests assert whole messages and cover a pinned `ref` or `path` and
3247
+ both lists set.
3248
+ - Marketplace file and names (`marketplace`): `readMarketplace` and `validateMarketplace` read the
3249
+ top level of `marketplace.json` (`name`, `owner`, `plugins`, `$schema`, `description`, `version`,
3250
+ `metadata`, the removal and rename keys) as Claude Code loads it and as `claude plugin validate`
3251
+ reports it, hand each entry to an `EntryReader` alone, and report unknown keys; the reserved-name
3252
+ rules (`marketplaceNameIssues`: official, community and directory names with the
3253
+ `github.com/anthropics/` exemption, impersonation, another spelling, `inline`, `npm`, JavaScript
3254
+ member names, `claudeai-`, the download-folder clash); `effectiveDescription` and
3255
+ `effectiveVersion`.
3256
+
3257
+ #### mods
3258
+
3259
+ - A mods dispatch whose `signal` aborted ran Claude Code's own behaviour when its hook failed
3260
+ after the abort (the hook was skipped and the core ran), when a `.catch` handler passed the event
3261
+ on, or when a hook called `next(e)` late. It now rejects with the abort's reason and no core runs
3262
+ (claude-code/index.d.ts:6999, :10821; spec/judgments.md `abortedCore`). A hook that fails while the
3263
+ call is live is still skipped, as declared.
3264
+ - Mods `cutOutput` cuts by bytes, so a real trailing U+FFFD stays and `isTruncated` is true only
3265
+ when the text got shorter.
3266
+ - A mod's `types` file or hooks module linked out of the plugin is refused, not read.
3267
+ - A pre-release mods minimum version (`1.2.0-beta`) comes before its release.
3268
+ - The host's event object is no longer frozen in place; a pass-through hook is no longer
3269
+ reported for an inner mod's drop; a reload keeps the mods' order; a RegExp matcher from another
3270
+ realm no longer matches everything; junk children of a box and non-http redirects are refused;
3271
+ host dispose aborts work under a host-given signal; a failing `onLoaded` no longer leaves hooks
3272
+ registered; `command.run` uses the rewritten command.
3273
+ - Mods tool orchestration now compares rewritten frames with the model's original input, skips
3274
+ prompts after decisive permission results, and never reports a failed tool as successful.
3275
+ - Mods, the events prose, the reference fields and the settings hook. `toolReadOnlyReport` gives
3276
+ `e.isReadOnly` of `tool.check` (`true` or absent, never `false`); `inputChangedDenial` denies a call
3277
+ whose input a hook changed after auto mode's review (`a hook changed this call's input after the model
3278
+ wrote it`); `withheldResultText` and `promptDroppedText` word what Claude and the user read of a
3279
+ withheld result and a dropped prompt; `settingsLayersForMods` builds `e.layers` (`plugin`, `user`,
3280
+ `project`, `local`, `flag`, `policy`, lowest first) and `readEngineSettings` forwards the chain's debug
3281
+ lines (`answered settings.read without next()`); a `settings.read` hook must answer `{ value }` or
3282
+ `{ deny }`; `ModsHost.runCommand` answers a registered command no `command.run` hook answered
3283
+ (`<mod> registered /tally but no command.run hook answered it`); a call a stopped session refuses
3284
+ raises the toast `Stopped: type a message to continue; a mod cannot resume work after Stop`; the
3285
+ built-in guard names a mod that tried to lift a deny rule once, in the debug log and the transcript;
3286
+ `turn.step` carries `turnId`; the test kit fires `settings.read` with empty `layers`. 48 requirements
3287
+ of events.md, reference.md and troubleshoot.md are proven, each with the docs' own example.
3288
+ - Mods, review of `describeApi`, state reset and the mods API guide tests. `RunGate.userInput()` and
3289
+ `StateStore.reset()` deliver to every held notice and every write listener even when one throws,
3290
+ then report the failure (the error as thrown, several as an `AggregateError`); `runEach` in the
3291
+ foundation does it. `docs/API.md` says a `value` member of `describeApi` carries no value (the host
3292
+ copies it from the live `$`) and no arity. The test kit types `$.ui.mount` (`TestDollar`) and exports
3293
+ `MountHandle` and `MountSpec`. Tests: every one of the 79 calls of the table gets `next(e)`,
3294
+ `{ value }` and `{ deny }` from sample arguments (a call without a sample fails), a hook of a mod
3295
+ that runs after the caller never sees its call, `$.prompt.submit` without `asUser` reaches the port
3296
+ without it, `$.model.complete` asks no question and uses the Claude API's usage fields, the Add one
3297
+ button of hello-tabs runs through the pane, `types` left out or pointing at a missing file, and a
3298
+ write inside `ui.render` and the unchecked type of a declared value are recorded as judgments.
3299
+ - Mods, review of crash behaviour and refused calls. `ModSession.send` receives the reason the
3300
+ session refuses new work (`send(to, text, signal, refusal?)`) and `unsentReason.subagent` /
3301
+ `unsentReason.teammate` word the `{ isDelivered: false, reason }` of the page's table. `ModTools.call`
3302
+ receives `held()` and `HELD_AT_TIMEOUT` words the line of a foreground Bash or PowerShell command
3303
+ ended at its timeout while input is held. `ModsHost.input.setLimits(limits)` changes
3304
+ `--max-turns` and `--max-budget-usd` for the next run of a long-lived host. Changes to the mod set
3305
+ (`load`, `reload`, a stop of the worker...) run one at a time, so a stop during `reload()` or two
3306
+ stops in a row no longer rewrite the loaded mods together; a mod that is unloaded or unloaded for
3307
+ a crash is forgotten by the replay ledger; a fresh copy the loader has no record of says so instead
3308
+ of vanishing. Judgments record the latest-release-only model of the version-gated behaviour, the
3309
+ host's part of "Work your mod started before the interruption" and the order of a replayed call
3310
+ among the mods before it. Tests: a spawned subagent's turns reach the `--max-turns` count, a stop
3311
+ traced to a built-in mod is untraced, and casts and a stray comment left the test support.
3312
+ - Mods, review of per-mod load and where mods run. A refusal by another mod reaches the transcript of
3313
+ an interactive session that loads a plugin directory or hot-reloads (it was the debug log in every
3314
+ session). `ModsHostOptions.hotReload` is a getter, so the answer to the hot-reloading question moves
3315
+ later lines to the transcript at once. `modsVersionProblem` words an unreadable version as `this is
3316
+ an unreadable version (latest)`. Tests: the page's own `register.js` runs and its redraw is seen,
3317
+ edits take effect only in a watched directory, the whole change-notice lines, the hot-reloading
3318
+ answers and their state, the refused mod stays off the `mods active` line, and the WSL and
3319
+ feature-flag defaults.
3320
+ - Mods, review fixes of the load seams. `createModsHost(...).fire` and `fireStream` take `before` (where
3321
+ managed `PreToolUse` hooks run, ahead of the first mod), which only the raw chain could set. A
3322
+ stack overflow is a `RangeError` or a message in an engine's words (`maximum call stack size
3323
+ exceeded`, `too much recursion`, `stack overflow`, `not enough stack space`), no longer any error
3324
+ that mentions a stack. `claude plugin validate` reports the scan problem of a compiler output, not an
3325
+ unrelated compiler issue. Tests: the order of managed, other settings and plugin `PreToolUse` hooks
3326
+ is driven through the host with the hook engine; `prependPlugins`, the built-in guard's run order,
3327
+ the filter with every field matching, deep freezing of events, the `my-mod:` log line through the
3328
+ real `$.ui.log`, the six `$` and import rules (each with its own reason, in
3329
+ `check-reads-wording.test.ts` where the page gives no wording), a blank `Client` error and the drawn
3330
+ failure node are now asserted; the linking reason, a session with no `modules` key and the compiler
3331
+ outputs of `validate` moved out of `spec(...)` as judgments, with new rows in `spec/judgments.md`.
3332
+ - Mods hook chain (`mods/chain`): `createModChain` runs hooks as middleware by tier (`prepend`, `user`,
3333
+ `append`, `builtin`, then Claude Code) with `e` deeply frozen, `next(e)`, `next.signal`,
3334
+ `next.origin`, `next.budget`, `next.to(e, tier)`, matchers, `*` and `classic.*`, the failure
3335
+ policy with `.catch` handlers (`next.error`, `next.error.cause`, `next.called`), re-entry, the
3336
+ 10 s, 50 ms (`prompt.edit`), 1 s (`.catch`) and shared `session.end` time limits measured on the
3337
+ `Clock` port (a hook's time stops inside `next` and mods API calls except `$.clock.sleep`), the
3338
+ 28000-level nesting limits, async generator hooks for `turn.step` and `process.spawn`, and the
3339
+ telemetry events' `{ to: 'collector' }` filter. Foundations for the other parts of mods:
3340
+ `MOD_LIMITS`, `MOD_EVENT_NAMES` (48 events), `MODS_API`, `MOD_TIERS`, `foundation`
3341
+ (`createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`), and the mods ports (`ModRuntime`,
3342
+ `ModCompiler`, `ModStore`, `TelemetrySink`, `ModWatcher`, `DenyRuleChecker`).
3343
+ - Mods events (`mods/events`): `EVENT_SPECS` for the tool, prompt, command, `/config`, turn, session
3344
+ and subagent events (the documented input fields and the shapes a hook can answer with),
3345
+ `createEventRules` for the chain (`createModChain({ clock, rules })`: a result of the wrong shape
3346
+ fails the hook, a `drop` after `next` was answered fails it, `skill.prompt` refuses a change
3347
+ other than `text` and `frontmatter`, a resumed `agent.spawn` ignores a change, `session.append`
3348
+ takes only a changed `message.content`, a `drop` or `config.set` `deny` reason is cut at 4,096
3349
+ characters), `eventResultProblem`, `eventInputProblem`, `clampReason`, `mergeToolCheck` (plan mode
3350
+ lets a mod tighten a call that is not read-only, not approve it), `skillPromptEvent` (source,
3351
+ plugin name, path, frontmatter and its problem) and `autocompleteRows`.
3352
+ - Mods API (`mods/api`): `createModsApi` builds the `$` of one mod from ports. Every call is an
3353
+ event through the chain and then a port (`$.fs`, `$.process`, `$.http`, `$.model`, `$.store`,
3354
+ `$.state`, `$.session`, `$.prompt`, `$.turn`, `$.config`, `$.settings`, `$.env`, `$.clock`,
3355
+ `$.mcp`, `$.audio`, `$.telemetry`, `$.command`, `$.tool`, `$.agent`, `$.plugin`), with the
3356
+ documented limits: 4 MiB for a file, a request body, a response, command output and the store,
3357
+ `isStdoutTruncated` and `isStderrTruncated`, the 30 second and 10 minute timeouts, five redirects
3358
+ and the dropped headers, `HEAD` and the `Content-Length` reason, `maxTokens` 1024 to 64,000 with
3359
+ prompt blocks and cache breakpoints, the newest 4,096 messages, and names of up to 64 letters,
3360
+ digits, `_` and `-` (`isValidModName`). `engine.create` adds or withholds a namespace and lends
3361
+ its methods the caller's context; `settings.read` has layers, sources and the own-read versus
3362
+ mod-read origin (`readEngineSettings`); registries of commands, tools (as `mcp__<plugin>__<name>`)
3363
+ and subagent types; `$.state` with `atom`, `read` and `update`; `withApiRules` composes the shape
3364
+ of API calls with `createEventRules()`; `AGENT_STATUSES`; and the ports behind it (`ModFs`,
3365
+ `ModFetcher`, `ModSpawner`, `ModModels`, `ModSession`...).
3366
+ - The interface part of mods (`createModsUi`, `withUiRules`, `uiApi`): the 12 elements with their
3367
+ props, the apps that draw them and the props the VS Code extension ignores, the 15 render sites,
3368
+ tree validation (`treeProblem`, the documented `a tree Pane refuses:` lines) and the size limits
3369
+ (nesting 32, 20,000 nodes, `Raster` cells, `Image` bytes, 100,000 characters of text),
3370
+ `foldRender` (a tree, `next(e)`'s reference, the band and `AskUserQuestion` rules), panes
3371
+ (`$.ui.open` placement at 144 and 110 columns, `ui.close` origins), controls routed by key
3372
+ (`routeControl`, hotkeys, `action`, the collapsed band), the redraw throttle (10 and 30 a
3373
+ second, coalesced), `$.ui.toast` (4 seconds, `timeoutMs`, classic and fullscreen) and `$.ui`.
3374
+ - 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`).
3375
+ - 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`.
3376
+ - Mods loading, policy, scan and test kit: the test kit fails a mods API call no stub answers with
3377
+ `no implementation for <name>` (not only `fs.read`), leaves `ui.invalidate`, `$.state` and
3378
+ `session.append` to itself, and reads `hooks.json` as JSON instead of searching its text; an
3379
+ inline mod written as method shorthand (`register(on) { ... }`, also `async`) loads; the host
3380
+ fires `session.start` for each loaded mod after `load` and `reload`, a reload leaves the mods
3381
+ the host registered itself, and `reloadMod(name)` keeps the version loaded before when a save
3382
+ breaks the module (`reload failed, the previous version stays loaded:`); an id in both
3383
+ `prependPlugins` and `appendPlugins` is prepended; the rollout switch refuses installed mods with
3384
+ the documented `for installed plugins` lines; `isTrusted: false` keeps mods out until the trust
3385
+ prompt is answered; `disableSideloadFlags` also rejects `--plugin-url`; the loader asks for the
3386
+ types file where `claude plugin validate` does and an import that leaves the plugin directory is
3387
+ refused; `validate` leaves out a file with nothing to report; the debug line lists the events;
3388
+ `ModsSettingsFile` is typed from the SDK's `Settings`; the judgments row for gating events names
3389
+ the five events of events.md.
3390
+ - Mods interface: `$.ui.ask` goes through a `tool.call` of `AskUserQuestion` and reads
3391
+ `result.answers`, so the documented stub works and a dismissed question rejects; `ui.message` and
3392
+ `ui.fault` reach only the mod that drew the `Client` (`DispatchOptions.only`); a toast raised
3393
+ during a hold of toasts waits for the hold to end instead of timing out, and only the terminal
3394
+ holds; a failed `Client` has its dimmed line (`clientFailure`); a hook that answers `ui.render`
3395
+ without `next` writes `<mod> (<tier>) answered ui.render without next()` to the debug log;
3396
+ `drawsAsLink` accepts a missing `/` before a query or fragment; hotkeys press only while the pane
3397
+ or band has keyboard focus and no `Input` does; a `ui.render` hook that writes a value it read no
3398
+ longer redraws in a loop.
3399
+ - Mods API: `$.clock.after` and `$.clock.every` return their timer at once (`timer.cancel()` needs
3400
+ no `await`, and also stops a timer whose event is still in the chain); a hook on a mods API call
3401
+ intercepts only the calls of the mods that run after it (`DispatchOptions.caller`); a pass-through
3402
+ hook on `process.spawn` is no longer reported as failed; `$.http.fetch` lower-cases response header
3403
+ names (a `Content-Length` in any case is honoured) and cuts `text` to 4 MiB of bytes itself;
3404
+ `asUser: false` is a plain submit; `effort` is an SDK `EffortLevel`; `$.fs.list` and `stat`
3405
+ carry only the documented fields; `$.agent.list` rows are checked against the reference's
3406
+ statuses; casts on JSON data are replaced by parses. The maximum process timeout and `maxTokens`
3407
+ are proven under `spec(...)`, the tests that only echoed a stub are now real, and the new
3408
+ judgments are rows in `spec/judgments.md`.
3409
+ - Mods events: `mergeToolCheck` honours `e.ceiling` (`ask` caps a mod's `allow` at `ask`, as
3410
+ permissions.md says for connector tools an organization set to `ask`); `SESSION_END_REASONS` now
3411
+ lives in `src/protocol/exit-reasons.ts`, tied to the SDK's `ExitReason`; tests prove that a hook's
3412
+ `next(e)` rejects when a session message is not delivered, and the ordering, resumed-run and
3413
+ input-shape assertions moved out of `spec(...)` into judgments (new rows in `spec/judgments.md`).
3414
+ - Mods chain: a synchronous mods API call gives the hook's time budget back, so a hook's own
3415
+ 10 s, 50 ms or 1 s limit still fires after one; `walkPlainData` measures a sub-structure
3416
+ reached twice at its deepest place, so a shared sub-tree can no longer slip past the 28,000-level
3417
+ limits; a hook whose `.catch` handler fails too is reported with the hook's own reason, as if it
3418
+ had no handler; the host passes `rewritten` and `lent` flags in `ReentryInfo` and the chain
3419
+ picks `next.error.cause` (`rewritten` wins); `plugin.name` and `plugin.root` are values and no
3420
+ longer events (`API_EVENT_NAMES`, `ApiEventName`); `register` no longer takes the `core` tier.
3421
+ The speculative ports `ModSurface`, `ModEnv`, `ModWatcher`, `ModTurnPort` are removed, and the
3422
+ mods name and limit tables are compared with the pulled reference.
3423
+ - 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.
3424
+
3425
+ #### host
3426
+
3427
+ - A project or plugin folder whose name holds shell syntax ran it. The path variables were
3428
+ pasted into strings a shell parses, inside the docs' double quotes, which do not stop `$(...)`, a
3429
+ backtick or a `"`: a project folder named `x$(touch PWNED)` ran `touch` from a bash shell-form hook,
3430
+ a monitor `command` and an MCP `headersHelper`. `SubstitutionScope.monitorPaths` was never set by
3431
+ the session (`scopeOf`), and `PluginHostOptions` had no way to set it. Now, by default
3432
+ (`shellPaths: 'environment-reference'`), those three write `${CLAUDE_PLUGIN_ROOT}`,
3433
+ `${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` as braced references, and the values go in the
3434
+ process environment: a hook's, `ResolvedMonitor.environment` (and `MonitorStart.env`), and
3435
+ `HelperServer.paths` for `planHeadersHelper`. Proven through the public session in
3436
+ tests/host/shell-paths.test.ts. Exec-form hooks, PowerShell hooks (`${env:NAME}`), MCP stdio and LSP
3437
+ servers had no shell to inject into; the kit substitutes nothing in `statusLine`,
3438
+ `subagentStatusLine`, `fileSuggestion` or `apiKeyHelper`.
3439
+ - A file a path-checked Bash file command names (`cat`, `ls`, `grep`, `touch`, `cp`, ...) outside
3440
+ the working directories needs approval in every mode, as in Claude Code 2.1.322: a prefix rule
3441
+ (`Bash(cat *)`) and a bare `Read` allow do not cover it, a path-specific `Read`/`Edit` allow does,
3442
+ a `Read`/`Edit` deny denies, and a tool-wide `Bash` allow or `bypassPermissions` runs it. So do an
3443
+ operand a variable hides, a `..` after a directory segment and a symlink the host resolved
3444
+ outside. The prompt is the mode's: `auto` classifies, `dontAsk` denies (`mode-dontask`, before:
3445
+ the redirect prompt's reason). A tool-wide `Bash` allow now covers redirect targets too. Commands
3446
+ Claude Code does not path-check (`less`, `xxd`, `du`, `chmod`, `ln`, ...) still obey `Read`/`Edit`
3447
+ deny and ask rules (docs/SECURITY.md). `sed -e SCRIPT` and `grep -e PATTERN` no longer read the
3448
+ script as a file.
3449
+ - The read-only set sees through only what Claude Code 2.1.322 does, in its order: known-safe
3450
+ assignments with a value each accepts (`LANG=C`, `TZ=UTC`, `COLUMNS=80`; `LANG=x`, `FOO=1` and any
3451
+ expanding value are asked), `noglob`, `command` (`-p`, `--`) or `builtin`, and `timeout` with a bare
3452
+ duration. `nice`, `time`, `nohup`, `stdbuf`, `xargs` and `timeout` options in front are asked, and
3453
+ `git` or `cd` behind any wrapper is asked. Allow rules strip by the same value checks.
3454
+ - A session's MCP servers and monitors expanded `${VAR}`, and its built-in subagent switches read
3455
+ their variables, from the host's environment port while its hooks and skills used the session's
3456
+ (`ports.environment`, a turn's over it). One view of the session's ports now feeds all of them, and
3457
+ its environment has the settings `env` written over it as Claude Code writes it into its process
3458
+ (env-vars.md, "Set variables in settings files"): a settings value now answers `${VAR}` in a
3459
+ server's config and an http hook's `allowedEnvVars`; `NO_COLOR` and `FORCE_COLOR` stay
3460
+ subprocess-only.
3461
+ - A session's MCP and LSP servers, monitors and plugin agent prompts resolved `${CLAUDE_PROJECT_DIR}`,
3462
+ `${CLAUDE_PLUGIN_ROOT}` and `${CLAUDE_PLUGIN_DATA}` with the host's locations while its hooks used
3463
+ `hookPorts.locations`: every part now reads the session's (`SessionOptions.locations`), and a turn
3464
+ can no longer move `CLAUDE_PROJECT_DIR` (hooks.md, "Worktrees are different").
3465
+ - Security: a `./` or bare deny or ask rule (`Read(./private/**)`) under a current directory reached
3466
+ through a link (`/var/proj` is `/private/var/proj` on macOS) missed a read by the real spelling and a
3467
+ link inside the project into the denied folder. `resolveRuleDirectories` now maps each deny or ask
3468
+ rule's anchor (current directory, home, settings source folder) to its real location as well as the
3469
+ directory the rule names, so the `~/` rule of a linked home also holds before its folder exists.
3470
+ - A working directory or `additionalDirectories` entry reached through a link counted the files below
3471
+ its real location as outside the working directories (prompts, `blockReadsOutsideWorkingDirectories`
3472
+ denials): `resolveRuleDirectories` maps the working directories too, and the scope checks read them.
3473
+ - `session.checkTool` decided a hook's `updatedInput` with the `resolvedPaths` of the input Claude
3474
+ sent. With the new `resolver` option it prepares the input that runs (see Added).
3475
+ - The source type-checks under a consumer's `erasableSyntaxOnly` (no parameter properties); the
3476
+ kit's tsconfig turns it on.
3477
+ - Security: Bash permission rules can no longer be bypassed by spelling. A deny or ask rule also
3478
+ matches the command's spoken form (name unquoted, words one space apart, redirections and line
3479
+ continuations dropped: `rm\t-rf /`, `>out rm x`, `r\<newline>m`). Comments, here-documents,
3480
+ `$'…'`, redirections glued to words (`x>/f`, `2>&1>/f`, `{fd}>`) and function definitions are
3481
+ read as Bash reads them, so a hidden subcommand meets the rules; a line that defines a function is
3482
+ never read-only. In `acceptEdits`, a `sed` script that writes, runs or reads other files and
3483
+ `mv`/`cp -t DIR` are no longer auto-approved; `which` stays read-only only with `-a`. `decide`
3484
+ now checks the files a Bash line reads and writes (`bashFileTargets`, with `ls`, `find`, `du`)
3485
+ against the `Read` and `Edit` rules. `~/` in a tool path expands to the home directory, Windows
3486
+ paths compare without case and trailing dots or spaces, a Glob with an absolute or `~` pattern is
3487
+ checked at its directory, and `readsNetworkPath` also checks resolved forms (`../../net/x`,
3488
+ `/net/./x`). No public name changed.
3489
+ - `withTurn({ cwd })` in the session's own `cwd` keeps the session's skill folders; a turn in
3490
+ another `cwd` must call `reloadSkills` (or `moveTo` to move the session).
3491
+ - Plain data: bytes (an ArrayBuffer view) are a leaf, not walked as a container.
3492
+ - A token estimate counts code points, so a character outside the BMP counts once.
3493
+ - An output redirect to a file in the working directories asks in default mode, even under a `Bash`
3494
+ allow rule, unless an `Edit` rule allows the file; `acceptEdits` accepts it as an edit there. An
3495
+ input redirect in scope keeps a command read-only, and `mkdir d > log` is an `acceptEdits` command.
3496
+ - `node -v`, `node --version`, `python --version` and `python3 --version` are read-only.
3497
+ - Security: a Bash rule matches a command whose name is quoted or escaped. A `deny` rule
3498
+ `Bash(rm *)` no longer lets `"rm" -rf x`, `'rm'`, `r"m"` or `\rm` through, a critical removal
3499
+ (`"rm" -rf /`) asks in `bypassPermissions`, and `Bash(watch *)` no longer approves `"watch" rm x`.
3500
+ An allow rule approves a quoted script path, as claude does (`"$ROOT/setup.sh" go`).
3501
+ - `git diff`, `git log` and `git show` with `--output` are no longer read-only commands: they write a
3502
+ file. `git branch` with only listing flags (`--show-current`, `-a`, `-v`, …) is read-only.
3503
+ - `parseRule` reads `Task(...)` as `Agent(...)`, as sub-agents.md says the renamed tool still works.
3504
+ - A `PermissionRequest` deny keeps its `interrupt` through the dispatch.
3505
+ - Host: `SkillsReload.plugins` leaves out skills-directory plugins while `strictPluginOnlyCustomization`,
3506
+ `strictKnownMarketplaces` or `blockedMarketplaces` stop them; reads of the folders (`reloadSkills`,
3507
+ `touchFile`, `addDirectory`, `moveTo`) run one after another, so a touched file's skills are no longer
3508
+ overwritten by a reload that was reading at the same time.
3509
+ - Permissions (review of the settings keys and the session): `autoMode.classifyAllShell` now acts, as
3510
+ `DecideContext.classifyAllShell` (filled by `startPermissions`) that suspends every Bash and PowerShell
3511
+ allow rule in auto mode; an enforced mod can no longer lift a default-mode prompt that a permission
3512
+ callback would be asked about; `approvalMemory(tool, { rulesLocked })` and the new `savedApproval` hide
3513
+ the always-allow choices under `allowManagedPermissionRulesOnly` and name the file a rule is saved to;
3514
+ `startPermissions` takes `interactive` for hosts with their own approval interface and returns `notices`
3515
+ (the HIPAA terminal notice, verbatim); judgments recorded for the fail-closed block flags, the
3516
+ unmodelled `Artifact` read in bypass mode and the first-time `auto` notice; `mergePermissionBlocks`
3517
+ builds its blocks without a type assertion; weak or echoing tests were rewritten and lint warnings in
3518
+ the new tests fixed.
3519
+ - Host: an update path. `host.update({ plugins?, settings?, parentSettings?, userConfig? })` replaces
3520
+ those parts, re-runs the pure `createHostState` over the merged options (`mergeHostOptions`) and
3521
+ returns the new `{ plugins, issues }`; `host.plugins` and `host.issues` are live getters and
3522
+ `host.generation` counts the updates. Sessions and their `withTurn` and `runScoped` views read a
3523
+ `HostStateCell` at each use instead of a state captured at open: the plugin and settings hooks are
3524
+ rebuilt, the skill, agent and session hooks stay unless their plugin no longer runs or the new
3525
+ plugin-only lock silences them (`pluginOnlyAllows`, exported by the hooks module), the gates, skill
3526
+ list, policies and catalogs are read per call, the skill-hook limit ledger is summed again from the
3527
+ survivors, consumed `once` keys stay consumed and the dynamic watch list is kept. `readCatalog`
3528
+ caches by `Plugin` identity, so an unchanged plugin is not read again.
3529
+ - Host: model limits and message expansion. `SessionOptions.limits` and `TurnOptions.limits`
3530
+ (`SessionLimits`: model allowlist, `maxEffort`, `supportedEfforts`) reach `session.expandSkill`,
3531
+ so `Expansion.turn` carries the allowlisted model and the capped effort. `session.expandMessage`
3532
+ reads the mentions of a typed message (`stackableOf` over the catalog, the turn's interactivity)
3533
+ and expands the direct and stacked skills in order with the shared arguments; named mentions come
3534
+ back as `permitted`, and `expandSkill` takes `permittedByMention` for the model's call.
3535
+ - Host: scoped hooks, `hasHooks`, the watch list and background deliveries. `session.addHooks(prefix,
3536
+ hooks, source, options?)` and `removeHooks(prefix)` register hooks of a run, an agent or a skill
3537
+ (replacing by prefix, never stacking; the handle's `remove()`); `lifetime: 'turn'` ends when
3538
+ `session.runScoped(turn, run)` settles. `session.hasHooks(event)` is true when a handler that
3539
+ passes the gates would run. `session.fileChangedWatchList()` joins the matchers' literal names with
3540
+ the `watchPaths` of SessionStart, CwdChanged and FileChanged outputs (replaced by each, `[]` clears
3541
+ it). `session.takeBackground()` and the pure `settleDeliveries` turn `HookOutcome.background` into
3542
+ `{ additionalContext, systemMessages, wake? }`, a wake surfaced apart for `asyncRewake` exit 2.
3543
+ `mergeWatchPaths` and `hasRunnableHandler` belong to the hooks module.
3544
+ - Host: review fixes of the update path. `host.update` builds the next state before it replaces the
3545
+ merged options, so a state that throws leaves the host as it was; `mergeHostOptions` merges each
3546
+ part by key and keeps its types; `HostedPlugin` moves to `src/host/types.ts`. Tests now cover
3547
+ `parentSettings`, `userConfig` replacing every plugin's saved values and an update that lands during
3548
+ an in-flight `dispatch`.
3549
+ - Host: review fixes of model limits. A stray `sed -i` backup of the skill-limits test is removed, the
3550
+ T2 layout check now fails on any file under `tests/` that is not a `.ts` file, and the skill hook
3551
+ registration closure declares its return type instead of casting `[]`.
3552
+ - Host: review fixes of scoped hooks. `session.onBackground(listener)` tells an idle host of each
3553
+ background delivery, an `asyncRewake` exit 2 wake included, without polling. A view kept past
3554
+ `runScoped` now refuses `lifetime: 'turn'` registrations instead of leaking them for the session.
3555
+ The judgments say the host drains the background queue and owns the async `SessionStart` repeat
3556
+ check; tests cover the stdout wake fallback and a typed hooks literal replaces `JSON.parse`.
3557
+ - Host: review fixes of `withTurn`. The session core no longer carries an unused watch-list slot
3558
+ (it returns with `fileChangedWatchList` support, with a test). Tests now prove that a turn cannot
3559
+ change `trusted` (settings hooks stay held back or released as the session says), that a turn's
3560
+ `scratchpadDir` replaces the session's in the hook input, and that a turn's `interactive` decides
3561
+ whether a forked skill waits; the step on a turn's `additionalDirectories` is dropped because an
3562
+ `if` path rule never reads them.
3563
+ - The tool catalog (`TOOL_CATALOG`, `isKnownTool`, `KNOWN_TOOLS`, `toolRequiresPermission`): the
3564
+ "Permission required" column and the rule format of each of the 46 documented tools, now the
3565
+ source of `ruleFormatOf`; `availableTools` (bare deny rules and globs remove a tool, the
3566
+ `EndConversation` exception, Glob and Grep absent by default on posix) and `resolveSubagentTools`
3567
+ (`tools`, `disallowedTools`, the filters of the tools available to subagents, the zero-tools
3568
+ refusal as an issue).
3569
+ - Tool inputs (`rules/tools/inputs`): `parseToolInput` reads a hook's `tool_input` against the
3570
+ hooks.md table of its tool (Bash, PowerShell, Write, Edit, Read, Glob, Grep, WebFetch, WebSearch,
3571
+ Agent, AskUserQuestion, ExitPlanMode) and reports a wrong type or a missing required field as an
3572
+ issue at `tool_input.<field>`; `TOOL_INPUT_FIELDS` gives each field its type, optionality, role
3573
+ (primary, subject, param, structured) and source (SDK or docs only), and the roles now decide
3574
+ which parameter rules are ignored; `answerQuestions` answers AskUserQuestion for `updatedInput`
3575
+ (labels joined with commas); `effectiveExitPlanModeInput` drops the ignored `allowedPrompts`;
3576
+ `effectiveSearchMode` (an absent `mode` is the full search); `expandToolPath` and
3577
+ `expandToolInputPath` give `Write`, `Edit` and `Read` the absolute `file_path` a hook receives
3578
+ (backslashes on Windows).
3579
+ - Tool semantics (`rules/tools/semantics`): pure functions for the behaviour tools-reference.md
3580
+ states exactly. `applyEdit` (exact replacement, one occurrence unless `replace_all`, `$&` kept
3581
+ literal, refusals as issues), `editEncodingIssue` and `writeEncodingIssue` (the non-UTF-8 and
3582
+ `U+FFFD` guards, the documented message verbatim), `effectiveBashTimeout` (120000 default, 600000
3583
+ ceiling, the larger of the two variables), `backgroundTimeLimit`, `bashOutputLimits` and
3584
+ `windowBashOutput` (30,000 inline, 10,000 for a failure, `bashOutputMaxChars`), `classifyBashExit`
3585
+ (exit 1 is valid only for `grep`, `rg`, `egrep`, `fgrep`, `find`, `diff`, `test`, `[`, `git diff`,
3586
+ `git grep`), `readWindow` (offset, limit, the empty-file and past-the-end notices),
3587
+ `checkWebFetchUrl` (localhost and dotless hosts refused with the documented message, `http`
3588
+ upgraded) and `sliceFetched` (100,000-character window, unread count, next offset),
3589
+ `validateWebSearchDomains` (the two lists cannot be combined), `effectiveGrepOutputMode` and
3590
+ `capGlobMatches` (100 files and a truncation flag).
3591
+ - Tool responses (`rules/tools/responses`): `parseAgentResponse` reads the `tool_response` of an
3592
+ Agent call as the `completed` or `async_launched` member of a union typed from the SDK's
3593
+ `AgentOutput` (a launch exposes no usage fields, `modelsUsed` is set only after a swap and its
3594
+ repeats are collapsed, `resolvedModel` may differ from the request). `parseBashEditDiff` reads
3595
+ `tool_response.bashEditDiff` (at most 200 `changedFiles`, at most 5 `files`, `moreFiles`,
3596
+ `unavailable`, `skipped`, `shared`) with warnings for broken limits, and `bashEditDiffTrust` says
3597
+ whether a list is complete and attributable.
3598
+ - Tool responses: `parseAgentResponse` keeps `modelsUsed` as received instead of collapsing repeats
3599
+ and dropping short lists; `parseBashEditDiff` no longer warns on a file marked both created and
3600
+ deleted, and accepts a `hunks` of any shape. Agent tests now cover non-text content blocks and each
3601
+ launch field, and the two judgments moved out of `spec()`.
3602
+ - Tool semantics: the limits tools-reference.md states are decided by pure functions instead of
3603
+ only the empty-file and default cases. Read: `classifyReadTarget` (binary extensions, images over
3604
+ 128 MB, notebooks over 100 MB), `classifyReadSize` and `readTokenLimit` (256 KB whole-file
3605
+ refusal, 25,000 tokens or `CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS`, `PARTIAL view`, `allow_large`).
3606
+ Glob: `validateGlobInput` (null byte) and `globRespectsIgnore`. Grep: `windowGrepContent`
3607
+ (`No entries at this offset`), `windowGrepCounts` and `totalGrepCount`, `effectiveGrepMultiline`,
3608
+ with `GREP_OUTPUT_MODES` declared once in `rules/tools/inputs`. Bash: `shouldMoveToBackground`
3609
+ and the moved, cwd and stop notices, `BASH_DEFAULT_TIMEOUT_MS` for a moved command, and
3610
+ `classifyPowerShellExit` (`findstr`); `! grep` at exit 1 is now a failure and the `!`, assignment,
3611
+ `&` and subshell cases are recorded as judgments. WebSearch: `webSearchLimits` and
3612
+ `webSearchAllowance`. WebFetch: `webFetchTimings` and `redirectNotice`. The Edit tests assert
3613
+ which refusal (not found or found N times) they expect.
3614
+ - Tool inputs: the optionality of Bash and PowerShell `run_in_background`, Edit `replace_all` and
3615
+ Grep `-i` and `multiline` (the tables mark none optional) is recorded as a judgment and tested
3616
+ outside the spec; `answerQuestions` derives its input type from the SDK's `AskUserQuestionInput`
3617
+ (`multiSelect` stays optional, as hooks.md says); WebSearch domain lists reject non-string
3618
+ elements at `tool_input.<field>.<index>` and ExitPlanMode `allowedPrompts` must be an array,
3619
+ both recorded as judgments.
3620
+ - Permission modes: the dead `classifier` trait is dropped from `PERMISSION_MODE_TRAITS` and its
3621
+ tautology test with it; `BaselineDecision` derives from the SDK's `PermissionBehavior`;
3622
+ `SubagentPermissionInput.set` takes `string` (raw host text that is no mode counts as unset);
3623
+ `spec/judgments.md` records the host-owned subagent classifier review, read-only Bash as a
3624
+ `read` and the `dontAsk` always-deny cases.
3625
+ - Permission rules: `Agent(acme:reviewer)` and `Skill(deploy:deploy)` deny rules are names, not
3626
+ parameter rules on a field called `acme` or `deploy`; only the fields of the SDK's `AgentInput`
3627
+ (and `skill`) read `name:value` as a parameter.
3628
+ - Bash rules: a here-string (`<<< 'x'`) no longer opens a quoted here-document that hid the lines
3629
+ after it from deny and allow rules; a hook `if` that names Bash now runs for a Monitor call (the
3630
+ hook gets the Monitor input), and a Monitor rule still does not run for a Bash call; `if` finds
3631
+ `$()`, backticks and `$VAR` with the quote-aware scanner, so an apostrophe inside double quotes
3632
+ no longer hides one; an unreadable `if` is reported at `hooks.if`; the command field is tied to
3633
+ the SDK's `BashInput` and `MonitorInput`.
3634
+ - Permission rules: an `mcp__` rule with parentheses is skipped only when it comes from a settings
3635
+ file, so a deny rule from the command line or the session matches an MCP tool parameter;
3636
+ `RuleSource` gains `managed` and `embedder-managed`; a `Skill(skill:<name>)` deny rule matches
3637
+ every name the host reports in `PreparedCall.skillNames`; the primary content field is per tool
3638
+ (`url` is only `WebFetch`'s); the default matchers fail closed for deny and ask rules; the
3639
+ matches-no-tool warning repeats the rule as written (`PermissionRule.text`); the command tools'
3640
+ parameter names are checked against the SDK input types.
3641
+ - Tool availability: `--tools ""` removes `EndConversation` when no MCP tool remains, the `default`
3642
+ entry of `--tools` means the default set, `--restricted` removes `PowerShell`, `Monitor` and
3643
+ `WebFetch` as well as `Bash` unless `--tools` names them, a Bash deny rule turns `PowerShell` off
3644
+ on Windows with Git Bash (`gitBash`, `powerShellOptIn`), and
3645
+ `blockWritesOutsideWorkingDirectories` removes the worktree tools; a subagent whose `tools` glob
3646
+ covers `Bash` no longer gets `Glob` and `Grep` back; the catalog test no longer reads the removed
3647
+ tools from production data.
3648
+ - Path rules: an `Edit` rule now covers the legacy `MultiEdit` (and a `Read` deny rule blocks it),
3649
+ while `MultiEdit(docs/**)` is accepted and never matches; a `Read` deny or ask rule reaches every
3650
+ LSP call and no `!` carve-out reopens one; `Read(./.env)` names the `.env` of the current directory
3651
+ only, not one at any depth; a file named `..hidden` is matched by a rule instead of being taken for
3652
+ a parent climb; `Read(src/**/*.ts)` as a deny or ask rule reaches a nested `src`; a `/` rule with
3653
+ no usable text guards its anchor, not the filesystem root.
3654
+ - Permission rules: a deny or ask `WebFetch(domain:...)` rule now applies to an artifact read (an
3655
+ `Artifact` call with `action: read`) when it covers `claude.ai` or `*.claudeusercontent.com`,
3656
+ while a bare `WebFetch` rule and an allow rule do not; an `Agent(general-purpose)` deny or ask
3657
+ rule now covers a call that leaves `subagent_type` out, and `Agent(fork)` names a fork; a
3658
+ `domain:` rule with non-ASCII labels (`bücher.de`) matches the punycode host; the Cowork twin
3659
+ and the Agent, Skill and WebFetch matchers read behaviour and specifier form through a registry
3660
+ and a named guard, and their input fields are tied to the SDK's `AgentInput`, `WebFetchInput`
3661
+ and `ArtifactInput`.
3662
+ - Permission modes (`rules/decide`), review fixes: a double-quoted `sh -c` script (also after
3663
+ `find -exec`) is read after the invoking shell expands it, a single-quoted one binds `$1` only
3664
+ when an argument follows; `cd logs && rm -rf a/*`, a backslash-only target, a volume-GUID path,
3665
+ the `\\?\C:\`, `\\localhost\C$` and 8.3 home spellings are critical paths; a command that does
3666
+ not parse gets the critical-path outcome in every mode. `ps`, `file` and `docker` join the
3667
+ read-only set with their documented prompt cases, a UNC argument on Windows and a write to a
3668
+ special shell variable (`for IFS in`, `unset PATH`) prompt. Under
3669
+ `blockReadsOutsideWorkingDirectories` a Bash command that reads outside the working directories,
3670
+ or that the parser cannot trace, prompts in every mode; under `blockWritesOutsideWorkingDirectories`
3671
+ settings files are refused inside the working directories too and plan files, the scratchpad and
3672
+ auto-memory Markdown stay writable. `--restricted` makes a classified protected-path write ask,
3673
+ the target of a symlinked settings file is its own option and asks in auto and plan, `dev-mods` and
3674
+ `CLAUDE_CONFIG_DIR` are protected, Bash `rm`, `mv` and `cp` go through the symlink check, and
3675
+ `acceptEdits` approves `Set-Content`, `Add-Content`, `Clear-Content` and `Remove-Item` in scope.
3676
+ `HookPermissionDecision` is re-exported from the SDK, and hook decisions and rule behaviors are
3677
+ read through registries.
3678
+ - Permission modes (`rules/decide`): `decide(call, context)` answers allow, ask, deny or classify
3679
+ for one call in `default`, `acceptEdits`, `plan`, `auto`, `dontAsk` and `bypassPermissions`: deny,
3680
+ then ask, then allow with a compound Bash command allowed subcommand by subcommand, a PreToolUse
3681
+ hook's block, deny, ask and allow, a mod's block and approval (with managed settings or a Team or
3682
+ Enterprise login a mod cannot undo a deny rule, an ask rule or a hook's block), the read-only
3683
+ command set, `acceptEdits` filesystem commands in scope, protected paths and their exceptions per
3684
+ mode, critical-path `rm` and `rmdir` removals per mode, network-path reads, tools that require user
3685
+ interaction, `permissions.block{Reads,Writes}OutsideWorkingDirectories`, plan mode's bypass and
3686
+ auto-during-plan cases, and the broad allow rules auto mode drops. The `PermissionClassifier` port
3687
+ and `settleClassification` carry a `classify` decision to the host's reviewer.
3688
+
3689
+ #### cli
3690
+
3691
+ - CLI session flags: what an `--add-dir` directory loads is derived from the whole plan, so
3692
+ `--safe-mode`, `--disable-slash-commands`, `--setting-sources` without `project` (and `--restricted`)
3693
+ remove what they remove from it too, `--bare` keeps only skills, and `CLAUDE.local.md` is its own
3694
+ kind that needs `local` (`addDirLoads` takes `skipped` and `settingScopes`); `--agents` validation is
3695
+ skipped by `CLAUDE_CODE_SAFE_MODE=1` and, for an inline value, by `--resume` and `--continue`
3696
+ (`FlagFacts.resume`, `continuing`); `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT=1` forwards subagent text; a
3697
+ `--mcp-config` value holds space-separated files; `--bare` reports `readsStoredCredentials: false`;
3698
+ `--agent` overrides the `agent` setting in the plan (`FlagFacts.agentSetting`). A `fields` key named
3699
+ `command`, `outcome` or `message` no longer replaces the result's own, and `marketplace add` and
3700
+ `remove` match the reserved name the same way. The `--bare`, `--add-dir`, `--agent`,
3701
+ `--forward-subagent-text`, owner/repo and Windows path tests assert the plan, the failure codes
3702
+ of marketplace update and remove are judgments outside `spec(...)`, and the shared JSON, word and
3703
+ record helpers replace three copies.
3704
+
3705
+ #### repository
3706
+
3707
+ - Integrate all eight second-wave streams without discarding the oracle fixtures or their naming
3708
+ and credential rules. Preserve scanned skills, agents and environment files across compatible
3709
+ turn views while applying host updates immediately.
3710
+ - The spec gate preserves apostrophes and quoted words inside requirement IDs, and checks static template literals too.
3711
+ - Corpus: the loading comparison leaves out what `plugin details` does not list (nested agents
3712
+ and commands, single files a manifest path names, inline commands), which a runtime session
3713
+ still loads.
3714
+ - Tests: the troubleshooting tests name the budget, the per-entry cap and the host-supplied plugin root
3715
+ they exercise; judgments of the folder scan (dot-folders, `taken`, exact local names, bare plugin names,
3716
+ `additionalDirectories`, the main checkout's commands) and every class of refused name have their own
3717
+ tests.
3718
+ - Spec: the committed snapshot of the mods reference tables (`spec/docs-tables.json`) keeps only a
3719
+ short label and the amounts of each row of the Limits table, not the page's sentences, so the
3720
+ repository holds facts and identifiers only.
3721
+ - The layer check now rejects `Date`, timers, `fetch`, `crypto`, `performance` and `globalThis` in
3722
+ `src/`, as the docs state.
3723
+
3724
+ ### Performance
3725
+
3726
+ Counted by the deterministic benchmarks (`bun run bench:update`, docs/TESTING.md, "Benchmarks");
3727
+ every result is the same.
3728
+
3729
+ #### format
3730
+
3731
+ - `validatePlugin` reads `hooks/hooks.json` and `.mcp.json` once instead of twice (once for the
3732
+ byte order mark, once for the text): a plugin of 16 of each component reads 7,957 bytes instead of
3733
+ 11,023 and 49 files instead of 51.
3734
+ - One load asks the host's port for the `stat` or `exists` of a path once: repeated port calls on the
3735
+ community corpus fell from 4.2% to 0.1% of all calls (69,148 instead of 72,130), with the same result.
3736
+ - `parseFrontmatter` reads a file line by line up to the closing `---` instead of splitting the whole
3737
+ file: 44% faster on the 67,907 Markdown files of claude-plugins-community, same result on each.
3738
+
3739
+ #### hooks
3740
+
3741
+ - A hook's `matcher` is read once per matcher text (an exact list or a compiled pattern) instead of
3742
+ at every dispatch: twenty `PreToolUse` dispatches over 16 plugins run no regular expression where
3743
+ each one ran 96 matches.
3744
+
3745
+ #### skills
3746
+
3747
+ - The `${VAR}` substitution of a skill compiles its pattern once per list of names, not once per
3748
+ expansion.
3749
+ - A skill with no `description` reads its first non-empty line without splitting the whole body:
3750
+ building a host over one such skill of 256 lines runs 29 regular-expression matches instead of
3751
+ 7,708, and the whole corpus host 3.9 million instead of 6.1 million.
3752
+
3753
+ #### agents
3754
+
3755
+ - With no plugin workflow to list, a session no longer takes a snapshot of its environment to decide
3756
+ whether the workflow commands are on: `session.skills()` asked again takes none instead of 2, and
3757
+ `expandSkill` 3 instead of 5.
3758
+
3759
+ #### host
3760
+
3761
+ - A folder scan of a session (`reloadSkills`, `reloadAgents`) and a session's own decide context
3762
+ read `CLAUDE_CONFIG_DIR`: one more `environment.get` and `environment.snapshot` each (the settings
3763
+ `env` over the port), and the decide context one `locations.joinPath` for the protected
3764
+ configuration directory (the `expandSkill` and `folders.skills` baselines, every size). A cost
3765
+ added for a documented behaviour, not a regression.
3766
+
3767
+ ### Removed
3768
+
3769
+ #### format
3770
+
3771
+ - **BREAKING** `LOCAL_TRUST`, `LocalTrust`, `WorkspaceTrustState` → `TrustSituation`; `headersHelperEnvironment`, `helperVariables` → `planHeadersHelper`. `LOCAL_TRUST`, `LocalTrust` and `WorkspaceTrustState` (use `TrustSituation`),
3772
+ `headersHelperEnvironment` and `helperVariables` (use `planHeadersHelper`).
3773
+ - **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).
3774
+ - **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).
3775
+ - **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).
3776
+
3777
+ #### settings
3778
+
3779
+ - **BREAKING** `mergeSettingsHooks` → `createPolicyView(layers).get('hooks')`; `HookLocks`, `MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES` and the rest → gone. `mergeSettingsHooks` (read `createPolicyView(layers).get('hooks') ?? {}`), `HookLocks`,
3780
+ `MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES`, `REQUEST_ID_ALPHABET`, `LEGACY_WINDOWS_PATH`,
3781
+ `TRUST_MESSAGE_JOINER` and `composeEnvironments`. The merge kind `anyFalse` and the scope rule
3782
+ `userFlagOrManaged` are gone.
3783
+ - **BREAKING** `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable`, `envIgnored` → `NotAppliedVariable`, `ignoredBecause`. `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable` (use
3784
+ `NotAppliedVariable`) and `envIgnored` (use `ignoredBecause(...) !== undefined`).
3785
+ - **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).
3786
+
3787
+ #### hooks
3788
+
3789
+ - **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).
3790
+
3791
+ #### skills
3792
+
3793
+ - **BREAKING** `stackableOf`, `preloadAgentSkills`, the agents `PreloadedSkills`, `AgentScanRequest`, `AgentFolderContext` → `stackSkills`, `session.preloadSkills`. `stackableOf` (use `stackSkills` over a `skillLookup`), `preloadAgentSkills` and the
3794
+ agents `PreloadedSkills` (use `session.preloadSkills(definition, { signal })`),
3795
+ `AgentScanRequest` and `AgentFolderContext`.
3796
+ - **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).
3797
+
3798
+ #### agents
3799
+
3800
+ - **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).
3801
+
3802
+ #### marketplace
3803
+
3804
+ - **BREAKING** `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment` and their types → `resolvePluginVersion(input, sha256)`. `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment`,
3805
+ `SourceFacts`, `KnownFacts`, `PluginVersionInput` and `RepositoryRoot`. Call
3806
+ `resolvePluginVersion(input, sha256)` and pass the archive's `archiveDigest`; `usableVersion` is
3807
+ the folder-name rule.
3808
+ - **BREAKING** `planInstalledUninstall`, `planInstalledPrune` and their types → `winningScope`, `effectiveEnabled`, `isEnabled` and the `./cli` plans. The installed-graph planners `planInstalledUninstall` and `planInstalledPrune`, with
3809
+ `PluginNode`, `DisablePlan`, `EnableOverride` and `InstalledGraph*Plan`. Use `winningScope`,
3810
+ `effectiveEnabled` and `isEnabled` over `GraphFacts`, and the `./cli` plans.
3811
+ - **BREAKING** `marketplaceTabUpdate`, `planMarketplaceRemoval` → `planUpdate({ kind: 'marketplace-tab' })`, `planMarketplaceRemove`. `marketplaceTabUpdate` and `planMarketplaceRemoval` with `MarketplaceTabPlugin`,
3812
+ `MarketplaceRemovalFacts` and `MarketplaceRemovalPlan`. The tab's update is
3813
+ `planUpdate({ kind: 'marketplace-tab', marketplace })`; removal is `planMarketplaceRemove` of
3814
+ `./cli`. `CliMarketplaceUpdatePlan` is `MarketplaceUpdatePlan`.
3815
+ - **BREAKING** `FailureCause` → `NodeDepsFailureCause` (marketplace) and `WorkflowFailureCause` (agents). `FailureCause`, which `./marketplace` and `./agents` both exported under one name for two types,
3816
+ is renamed: the marketplace's dependency check cause is `NodeDepsFailureCause` and the agents'
3817
+ workflow cause is `WorkflowFailureCause`.
3818
+ - **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).
3819
+
3820
+ #### mods
3821
+
3822
+ - **BREAKING** `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`, `EventRules`, `eventResultProblem` → gone. `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`,
3823
+ `EventRules` and `eventResultProblem` (see Changed). `eventInputProblem` stays.
3824
+ - **BREAKING** the `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData`, `PlainDataStats` → gone. The `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData` and
3825
+ `PlainDataStats`.
3826
+ - **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).
3827
+ - **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).
3828
+ - **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).
3829
+
3830
+ #### host
3831
+
3832
+ - **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).
3833
+ - **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).
3834
+
3835
+ #### cli
3836
+
3837
+ - **BREAKING** `planCliInstall`, `planCliEnable`, `planCliDisable`, `planCliMarketplaceUpdate` → the plain names of `./cli`. `planCliInstall`, `planCliEnable`, `planCliDisable` and `planCliMarketplaceUpdate`: import
3838
+ `planInstall`, `planEnable`, `planDisable` and `planMarketplaceUpdate` from `./cli`.
3839
+ - **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).