@ai-agent-forge/agent-forge 0.88.0 → 0.88.2

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 (445) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/bundled-plugins/agent-loop-policy/agent-forge.json +19 -0
  3. package/bundled-plugins/agent-loop-policy/dist/entry.d.ts +28 -0
  4. package/bundled-plugins/agent-loop-policy/dist/entry.d.ts.map +1 -0
  5. package/bundled-plugins/agent-loop-policy/dist/entry.js +69 -0
  6. package/bundled-plugins/agent-loop-policy/dist/entry.js.map +1 -0
  7. package/bundled-plugins/agent-loop-policy/dist/loop-guard.d.ts +199 -0
  8. package/bundled-plugins/agent-loop-policy/dist/loop-guard.d.ts.map +1 -0
  9. package/bundled-plugins/agent-loop-policy/dist/loop-guard.js +208 -0
  10. package/bundled-plugins/agent-loop-policy/dist/loop-guard.js.map +1 -0
  11. package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.d.ts +17 -0
  12. package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.d.ts.map +1 -0
  13. package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.js +18 -0
  14. package/bundled-plugins/agent-loop-policy/dist/run-loop-strategy.js.map +1 -0
  15. package/bundled-plugins/agent-loop-policy/plugin.json +7 -0
  16. package/bundled-plugins/coding-tools/agent-forge.json +19 -0
  17. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/bash.d.ts +5 -44
  18. package/bundled-plugins/coding-tools/dist/bash.d.ts.map +1 -0
  19. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/bash.js +15 -119
  20. package/bundled-plugins/coding-tools/dist/bash.js.map +1 -0
  21. package/bundled-plugins/coding-tools/dist/capability.d.ts +25 -0
  22. package/bundled-plugins/coding-tools/dist/capability.d.ts.map +1 -0
  23. package/bundled-plugins/coding-tools/dist/capability.js +98 -0
  24. package/bundled-plugins/coding-tools/dist/capability.js.map +1 -0
  25. package/bundled-plugins/coding-tools/dist/config.d.ts +8 -0
  26. package/bundled-plugins/coding-tools/dist/config.d.ts.map +1 -0
  27. package/bundled-plugins/coding-tools/dist/config.js +8 -0
  28. package/bundled-plugins/coding-tools/dist/config.js.map +1 -0
  29. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/edit.d.ts +3 -3
  30. package/bundled-plugins/coding-tools/dist/edit.d.ts.map +1 -0
  31. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/edit.js +12 -10
  32. package/bundled-plugins/coding-tools/dist/edit.js.map +1 -0
  33. package/bundled-plugins/coding-tools/dist/entry.d.ts +14 -0
  34. package/bundled-plugins/coding-tools/dist/entry.d.ts.map +1 -0
  35. package/bundled-plugins/coding-tools/dist/entry.js +23 -0
  36. package/bundled-plugins/coding-tools/dist/entry.js.map +1 -0
  37. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/find.d.ts +4 -4
  38. package/bundled-plugins/coding-tools/dist/find.d.ts.map +1 -0
  39. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/find.js +10 -8
  40. package/bundled-plugins/coding-tools/dist/find.js.map +1 -0
  41. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/grep.d.ts +3 -3
  42. package/bundled-plugins/coding-tools/dist/grep.d.ts.map +1 -0
  43. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/grep.js +10 -8
  44. package/bundled-plugins/coding-tools/dist/grep.js.map +1 -0
  45. package/bundled-plugins/coding-tools/dist/index.d.ts +17 -0
  46. package/bundled-plugins/coding-tools/dist/index.d.ts.map +1 -0
  47. package/bundled-plugins/coding-tools/dist/index.js +17 -0
  48. package/bundled-plugins/coding-tools/dist/index.js.map +1 -0
  49. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.d.ts +3 -3
  50. package/bundled-plugins/coding-tools/dist/ls.d.ts.map +1 -0
  51. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.js +8 -6
  52. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/ls.js.map +1 -1
  53. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/powershell.d.ts +2 -1
  54. package/bundled-plugins/coding-tools/dist/powershell.d.ts.map +1 -0
  55. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/powershell.js +6 -3
  56. package/bundled-plugins/coding-tools/dist/powershell.js.map +1 -0
  57. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/read.d.ts +3 -3
  58. package/bundled-plugins/coding-tools/dist/read.d.ts.map +1 -0
  59. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/read.js +15 -13
  60. package/bundled-plugins/coding-tools/dist/read.js.map +1 -0
  61. package/bundled-plugins/coding-tools/dist/types.d.ts +74 -0
  62. package/bundled-plugins/coding-tools/dist/types.d.ts.map +1 -0
  63. package/bundled-plugins/coding-tools/dist/types.js +28 -0
  64. package/bundled-plugins/coding-tools/dist/types.js.map +1 -0
  65. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/write.d.ts +2 -2
  66. package/bundled-plugins/coding-tools/dist/write.d.ts.map +1 -0
  67. package/{dist/core/tools → bundled-plugins/coding-tools/dist}/write.js +11 -9
  68. package/bundled-plugins/coding-tools/dist/write.js.map +1 -0
  69. package/bundled-plugins/coding-tools/plugin.json +10 -0
  70. package/bundled-plugins/compaction-policy/agent-forge.json +19 -0
  71. package/bundled-plugins/compaction-policy/dist/branch-summary-policy.d.ts +6 -0
  72. package/bundled-plugins/compaction-policy/dist/branch-summary-policy.d.ts.map +1 -0
  73. package/bundled-plugins/compaction-policy/dist/branch-summary-policy.js +19 -0
  74. package/bundled-plugins/compaction-policy/dist/branch-summary-policy.js.map +1 -0
  75. package/bundled-plugins/compaction-policy/dist/compaction-policy.d.ts +6 -0
  76. package/bundled-plugins/compaction-policy/dist/compaction-policy.d.ts.map +1 -0
  77. package/bundled-plugins/compaction-policy/dist/compaction-policy.js +38 -0
  78. package/bundled-plugins/compaction-policy/dist/compaction-policy.js.map +1 -0
  79. package/bundled-plugins/compaction-policy/dist/entry.d.ts +13 -0
  80. package/bundled-plugins/compaction-policy/dist/entry.d.ts.map +1 -0
  81. package/bundled-plugins/compaction-policy/dist/entry.js +23 -0
  82. package/bundled-plugins/compaction-policy/dist/entry.js.map +1 -0
  83. package/bundled-plugins/compaction-policy/plugin.json +10 -0
  84. package/bundled-plugins/mcp-http/dist/index.d.ts +8 -0
  85. package/bundled-plugins/mcp-http/dist/index.d.ts.map +1 -0
  86. package/bundled-plugins/mcp-http/dist/index.js +8 -0
  87. package/bundled-plugins/mcp-http/dist/index.js.map +1 -0
  88. package/bundled-plugins/mcp-http/dist/mcp-http.d.ts.map +1 -0
  89. package/{dist/plugins → bundled-plugins/mcp-http/dist}/mcp-http.js +1 -1
  90. package/bundled-plugins/mcp-http/dist/mcp-http.js.map +1 -0
  91. package/bundled-plugins/overflow-policy/agent-forge.json +19 -0
  92. package/bundled-plugins/overflow-policy/dist/entry.d.ts +16 -0
  93. package/bundled-plugins/overflow-policy/dist/entry.d.ts.map +1 -0
  94. package/bundled-plugins/overflow-policy/dist/entry.js +35 -0
  95. package/bundled-plugins/overflow-policy/dist/entry.js.map +1 -0
  96. package/bundled-plugins/overflow-policy/plugin.json +10 -0
  97. package/bundled-plugins/provider-failover/agent-forge.json +19 -0
  98. package/bundled-plugins/provider-failover/dist/entry.d.ts +8 -0
  99. package/bundled-plugins/provider-failover/dist/entry.d.ts.map +1 -0
  100. package/bundled-plugins/provider-failover/dist/entry.js +8 -0
  101. package/bundled-plugins/provider-failover/dist/entry.js.map +1 -0
  102. package/bundled-plugins/provider-failover/dist/provider-failover.d.ts +122 -0
  103. package/bundled-plugins/provider-failover/dist/provider-failover.d.ts.map +1 -0
  104. package/{dist/core/extensions → bundled-plugins/provider-failover/dist}/provider-failover.js +143 -56
  105. package/bundled-plugins/provider-failover/dist/provider-failover.js.map +1 -0
  106. package/bundled-plugins/provider-failover/plugin.json +7 -0
  107. package/bundled-plugins/retry-policy/agent-forge.json +19 -0
  108. package/bundled-plugins/retry-policy/dist/entry.d.ts +16 -0
  109. package/bundled-plugins/retry-policy/dist/entry.d.ts.map +1 -0
  110. package/bundled-plugins/retry-policy/dist/entry.js +34 -0
  111. package/bundled-plugins/retry-policy/dist/entry.js.map +1 -0
  112. package/bundled-plugins/retry-policy/plugin.json +10 -0
  113. package/dist/bundle/.build-manifest.json +109 -155
  114. package/dist/bundle/chunks/{anthropic-messages-ALDZBUKI.js → anthropic-messages-PLAKXR73.js} +1 -1
  115. package/dist/bundle/chunks/{azure-openai-responses-A2WJWZFB.js → azure-openai-responses-OUWQ2AZD.js} +1 -1
  116. package/dist/bundle/chunks/chunk-44I47ACN.js +13 -0
  117. package/dist/bundle/chunks/chunk-6F5JWGKE.js +4 -0
  118. package/dist/bundle/chunks/{chunk-CIX3FSBK.js → chunk-A3JYRWB6.js} +1 -1
  119. package/dist/bundle/chunks/{chunk-SQFG22WN.js → chunk-AC2FIS4G.js} +1 -1
  120. package/dist/bundle/chunks/chunk-HTC5K5SM.js +866 -0
  121. package/dist/bundle/chunks/{chunk-YJCQVXW5.js → chunk-HTEVUY7F.js} +1 -1
  122. package/dist/bundle/chunks/{chunk-Y7HXTASS.js → chunk-HV64ASMT.js} +1 -1
  123. package/dist/bundle/chunks/chunk-LSP24WNH.js +665 -0
  124. package/dist/bundle/chunks/{chunk-7ZY7IXZD.js → chunk-TRDNDS6A.js} +1 -1
  125. package/dist/bundle/chunks/{google-generative-ai-NIB4WONV.js → google-generative-ai-DLII6DAT.js} +1 -1
  126. package/dist/bundle/chunks/{google-vertex-DCPYUEUO.js → google-vertex-G7BZL7GM.js} +1 -1
  127. package/dist/bundle/chunks/image-resize-worker.js +4 -4
  128. package/dist/bundle/chunks/{mistral-conversations-OC6LA5XL.js → mistral-conversations-JXUK24ID.js} +1 -1
  129. package/dist/bundle/chunks/{openai-codex-responses-IO2X4Y7L.js → openai-codex-responses-5GSGFIPG.js} +1 -1
  130. package/dist/bundle/chunks/{openai-completions-XYQQHETU.js → openai-completions-EI2I6DTG.js} +1 -1
  131. package/dist/bundle/chunks/{openai-responses-DLIRN3CI.js → openai-responses-AUJQ3NWT.js} +1 -1
  132. package/dist/bundle/chunks/{pi-messages-E6RRYBO7.js → pi-messages-PWU2VJMR.js} +1 -1
  133. package/dist/bundle/chunks/virtual-modules-MRXD3RWG.js +5 -0
  134. package/dist/bundle/cli.js +1 -1
  135. package/dist/bundle/client.js +1 -1
  136. package/dist/bundle/index.js +3 -3
  137. package/dist/bundle/rpc-entry.js +1 -1
  138. package/dist/capabilities/builtin.d.ts +1 -1
  139. package/dist/capabilities/builtin.d.ts.map +1 -1
  140. package/dist/capabilities/builtin.js +5 -0
  141. package/dist/capabilities/builtin.js.map +1 -1
  142. package/dist/cli/plugin-command.d.ts.map +1 -1
  143. package/dist/cli/plugin-command.js +25 -3
  144. package/dist/cli/plugin-command.js.map +1 -1
  145. package/dist/config.d.ts +2 -3
  146. package/dist/config.d.ts.map +1 -1
  147. package/dist/config.js +2 -4
  148. package/dist/config.js.map +1 -1
  149. package/dist/core/agent-session-bash.d.ts +1 -1
  150. package/dist/core/agent-session-bash.d.ts.map +1 -1
  151. package/dist/core/agent-session-bash.js +1 -1
  152. package/dist/core/agent-session-bash.js.map +1 -1
  153. package/dist/core/agent-session-compaction.d.ts.map +1 -1
  154. package/dist/core/agent-session-compaction.js +14 -1
  155. package/dist/core/agent-session-compaction.js.map +1 -1
  156. package/dist/core/agent-session-internal.d.ts +3 -1
  157. package/dist/core/agent-session-internal.d.ts.map +1 -1
  158. package/dist/core/agent-session-internal.js.map +1 -1
  159. package/dist/core/agent-session-loop.d.ts +4 -3
  160. package/dist/core/agent-session-loop.d.ts.map +1 -1
  161. package/dist/core/agent-session-loop.js +9 -6
  162. package/dist/core/agent-session-loop.js.map +1 -1
  163. package/dist/core/agent-session-retry.d.ts +1 -1
  164. package/dist/core/agent-session-retry.d.ts.map +1 -1
  165. package/dist/core/agent-session-retry.js +32 -3
  166. package/dist/core/agent-session-retry.js.map +1 -1
  167. package/dist/core/agent-session-services.d.ts +2 -0
  168. package/dist/core/agent-session-services.d.ts.map +1 -1
  169. package/dist/core/agent-session-services.js +31 -9
  170. package/dist/core/agent-session-services.js.map +1 -1
  171. package/dist/core/agent-session-store.d.ts.map +1 -1
  172. package/dist/core/agent-session-store.js +6 -1
  173. package/dist/core/agent-session-store.js.map +1 -1
  174. package/dist/core/agent-session-tools.d.ts.map +1 -1
  175. package/dist/core/agent-session-tools.js +18 -1
  176. package/dist/core/agent-session-tools.js.map +1 -1
  177. package/dist/core/agent-session.d.ts +34 -11
  178. package/dist/core/agent-session.d.ts.map +1 -1
  179. package/dist/core/agent-session.js +114 -38
  180. package/dist/core/agent-session.js.map +1 -1
  181. package/dist/core/bash-executor.d.ts +1 -1
  182. package/dist/core/bash-executor.d.ts.map +1 -1
  183. package/dist/core/bash-executor.js.map +1 -1
  184. package/dist/core/extensions/bootstrap-agent-loop.d.ts +23 -151
  185. package/dist/core/extensions/bootstrap-agent-loop.d.ts.map +1 -1
  186. package/dist/core/extensions/bootstrap-agent-loop.js +28 -290
  187. package/dist/core/extensions/bootstrap-agent-loop.js.map +1 -1
  188. package/dist/core/extensions/capability-runtime-types.d.ts +5 -3
  189. package/dist/core/extensions/capability-runtime-types.d.ts.map +1 -1
  190. package/dist/core/extensions/capability-runtime-types.js.map +1 -1
  191. package/dist/core/extensions/capability-runtime.d.ts.map +1 -1
  192. package/dist/core/extensions/capability-runtime.js +42 -6
  193. package/dist/core/extensions/capability-runtime.js.map +1 -1
  194. package/dist/core/extensions/index.d.ts +12 -5
  195. package/dist/core/extensions/index.d.ts.map +1 -1
  196. package/dist/core/extensions/index.js +12 -5
  197. package/dist/core/extensions/index.js.map +1 -1
  198. package/dist/core/extensions/virtual-modules.d.ts.map +1 -1
  199. package/dist/core/extensions/virtual-modules.js +65 -0
  200. package/dist/core/extensions/virtual-modules.js.map +1 -1
  201. package/dist/core/facade/coding-agent-facade.d.ts +1 -1
  202. package/dist/core/facade/coding-agent-facade.d.ts.map +1 -1
  203. package/dist/core/facade/coding-agent-facade.js.map +1 -1
  204. package/dist/core/i18n/locales/zh-cn/cli.d.ts.map +1 -1
  205. package/dist/core/i18n/locales/zh-cn/cli.js +2 -0
  206. package/dist/core/i18n/locales/zh-cn/cli.js.map +1 -1
  207. package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts +1 -1
  208. package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts.map +1 -1
  209. package/dist/core/i18n/locales/zh-cn/core-contract-core.js +1 -1
  210. package/dist/core/i18n/locales/zh-cn/core-contract-core.js.map +1 -1
  211. package/dist/core/i18n/locales/zh-cn/core-contract-extensions.d.ts.map +1 -1
  212. package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js +2 -4
  213. package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js.map +1 -1
  214. package/dist/core/i18n/locales/zh-cn/core-errors.d.ts.map +1 -1
  215. package/dist/core/i18n/locales/zh-cn/core-errors.js +3 -1
  216. package/dist/core/i18n/locales/zh-cn/core-errors.js.map +1 -1
  217. package/dist/core/i18n/locales/zh-cn/index.d.ts.map +1 -1
  218. package/dist/core/i18n/locales/zh-cn/index.js +2 -0
  219. package/dist/core/i18n/locales/zh-cn/index.js.map +1 -1
  220. package/dist/core/i18n/locales/zh-cn/interactive-mode.d.ts.map +1 -1
  221. package/dist/core/i18n/locales/zh-cn/interactive-mode.js +5 -0
  222. package/dist/core/i18n/locales/zh-cn/interactive-mode.js.map +1 -1
  223. package/dist/core/i18n/locales/zh-cn/session-cleanup.d.ts +7 -0
  224. package/dist/core/i18n/locales/zh-cn/session-cleanup.d.ts.map +1 -0
  225. package/dist/core/i18n/locales/zh-cn/session-cleanup.js +15 -0
  226. package/dist/core/i18n/locales/zh-cn/session-cleanup.js.map +1 -0
  227. package/dist/core/i18n/locales/zh-cn/slash-commands.d.ts.map +1 -1
  228. package/dist/core/i18n/locales/zh-cn/slash-commands.js +1 -0
  229. package/dist/core/i18n/locales/zh-cn/slash-commands.js.map +1 -1
  230. package/dist/core/sdk.d.ts +10 -3
  231. package/dist/core/sdk.d.ts.map +1 -1
  232. package/dist/core/sdk.js +287 -78
  233. package/dist/core/sdk.js.map +1 -1
  234. package/dist/core/session-cleanup.d.ts +49 -0
  235. package/dist/core/session-cleanup.d.ts.map +1 -0
  236. package/dist/core/session-cleanup.js +159 -0
  237. package/dist/core/session-cleanup.js.map +1 -0
  238. package/dist/core/session-index.d.ts +75 -0
  239. package/dist/core/session-index.d.ts.map +1 -0
  240. package/dist/core/session-index.js +455 -0
  241. package/dist/core/session-index.js.map +1 -0
  242. package/dist/core/session-manager.d.ts +9 -0
  243. package/dist/core/session-manager.d.ts.map +1 -1
  244. package/dist/core/session-manager.js +202 -47
  245. package/dist/core/session-manager.js.map +1 -1
  246. package/dist/core/slash-commands.d.ts.map +1 -1
  247. package/dist/core/slash-commands.js +5 -0
  248. package/dist/core/slash-commands.js.map +1 -1
  249. package/dist/core/system-prompt.d.ts.map +1 -1
  250. package/dist/core/system-prompt.js +12 -1
  251. package/dist/core/system-prompt.js.map +1 -1
  252. package/dist/core/tools/bash-operations.d.ts +41 -0
  253. package/dist/core/tools/bash-operations.d.ts.map +1 -0
  254. package/dist/core/tools/bash-operations.js +113 -0
  255. package/dist/core/tools/bash-operations.js.map +1 -0
  256. package/dist/core/tools/capability-mount.d.ts +40 -0
  257. package/dist/core/tools/capability-mount.d.ts.map +1 -0
  258. package/dist/core/tools/capability-mount.js +112 -0
  259. package/dist/core/tools/capability-mount.js.map +1 -0
  260. package/dist/core/tools/index.d.ts +12 -36
  261. package/dist/core/tools/index.d.ts.map +1 -1
  262. package/dist/core/tools/index.js +1 -117
  263. package/dist/core/tools/index.js.map +1 -1
  264. package/dist/core/tools/readme-path.d.ts +3 -0
  265. package/dist/core/tools/readme-path.d.ts.map +1 -0
  266. package/dist/core/tools/readme-path.js +15 -0
  267. package/dist/core/tools/readme-path.js.map +1 -0
  268. package/dist/index.d.ts +3 -19
  269. package/dist/index.d.ts.map +1 -1
  270. package/dist/index.js +6 -39
  271. package/dist/index.js.map +1 -1
  272. package/dist/main.d.ts.map +1 -1
  273. package/dist/main.js +1 -0
  274. package/dist/main.js.map +1 -1
  275. package/dist/modes/interactive/components/assistant-message.d.ts +3 -0
  276. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  277. package/dist/modes/interactive/components/assistant-message.js +27 -5
  278. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  279. package/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -1
  280. package/dist/modes/interactive/components/session-selector-search.js +5 -1
  281. package/dist/modes/interactive/components/session-selector-search.js.map +1 -1
  282. package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
  283. package/dist/modes/interactive/components/session-selector.js +9 -0
  284. package/dist/modes/interactive/components/session-selector.js.map +1 -1
  285. package/dist/modes/interactive/components/tool-execution.d.ts +17 -1
  286. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  287. package/dist/modes/interactive/components/tool-execution.js +52 -25
  288. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  289. package/dist/modes/interactive/components/tool-run-group.d.ts +44 -0
  290. package/dist/modes/interactive/components/tool-run-group.d.ts.map +1 -0
  291. package/dist/modes/interactive/components/tool-run-group.js +121 -0
  292. package/dist/modes/interactive/components/tool-run-group.js.map +1 -0
  293. package/dist/modes/interactive/interactive-commands.d.ts +2 -0
  294. package/dist/modes/interactive/interactive-commands.d.ts.map +1 -1
  295. package/dist/modes/interactive/interactive-commands.js +7 -0
  296. package/dist/modes/interactive/interactive-commands.js.map +1 -1
  297. package/dist/modes/interactive/interactive-mode.d.ts +18 -0
  298. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  299. package/dist/modes/interactive/interactive-mode.js +85 -3
  300. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  301. package/dist/plugins/ecosystem/cli.d.ts.map +1 -1
  302. package/dist/plugins/ecosystem/cli.js +20 -5
  303. package/dist/plugins/ecosystem/cli.js.map +1 -1
  304. package/dist/plugins/ecosystem/node-npm-registry-source.d.ts +7 -2
  305. package/dist/plugins/ecosystem/node-npm-registry-source.d.ts.map +1 -1
  306. package/dist/plugins/ecosystem/node-npm-registry-source.js +64 -9
  307. package/dist/plugins/ecosystem/node-npm-registry-source.js.map +1 -1
  308. package/dist/plugins/ecosystem/node-plugin-acquisition-host.d.ts.map +1 -1
  309. package/dist/plugins/ecosystem/node-plugin-acquisition-host.js +6 -0
  310. package/dist/plugins/ecosystem/node-plugin-acquisition-host.js.map +1 -1
  311. package/dist/plugins/ecosystem/node-plugin-bootstrap.d.ts +7 -1
  312. package/dist/plugins/ecosystem/node-plugin-bootstrap.d.ts.map +1 -1
  313. package/dist/plugins/ecosystem/node-plugin-bootstrap.js +50 -3
  314. package/dist/plugins/ecosystem/node-plugin-bootstrap.js.map +1 -1
  315. package/dist/plugins/ecosystem/plugin-bootstrap.d.ts +28 -16
  316. package/dist/plugins/ecosystem/plugin-bootstrap.d.ts.map +1 -1
  317. package/dist/plugins/ecosystem/plugin-bootstrap.js +35 -33
  318. package/dist/plugins/ecosystem/plugin-bootstrap.js.map +1 -1
  319. package/dist/profile/plugin-profiles.d.ts +1 -1
  320. package/dist/profile/plugin-profiles.d.ts.map +1 -1
  321. package/dist/profile/plugin-profiles.js +18 -0
  322. package/dist/profile/plugin-profiles.js.map +1 -1
  323. package/dist/profiles/builtin-suites.d.ts +19 -5
  324. package/dist/profiles/builtin-suites.d.ts.map +1 -1
  325. package/dist/profiles/builtin-suites.js +26 -6
  326. package/dist/profiles/builtin-suites.js.map +1 -1
  327. package/docs/settings.md +354 -354
  328. package/docs/usage.md +292 -292
  329. package/examples/extensions/bash-spawn-hook/index.ts +7 -2
  330. package/examples/extensions/built-in-tool-renderer/index.ts +4 -2
  331. package/examples/extensions/minimal-mode/index.ts +2 -2
  332. package/examples/extensions/truncated-tool/index.ts +1 -1
  333. package/examples/extensions/with-deps/package-lock.json +2 -2
  334. package/examples/extensions/with-deps/package.json +1 -1
  335. package/examples/extensions/with-deps/plugin.json +1 -1
  336. package/package.json +3 -2
  337. package/dist/bundle/chunks/chunk-6ZKDNZHA.js +0 -145
  338. package/dist/bundle/chunks/chunk-HLJEVRWP.js +0 -13
  339. package/dist/bundle/chunks/chunk-YGHQME4V.js +0 -1456
  340. package/dist/bundle/chunks/virtual-modules-KZ5DRH7Q.js +0 -2
  341. package/dist/core/extensions/bootstrap-branch-summary-policy.d.ts +0 -7
  342. package/dist/core/extensions/bootstrap-branch-summary-policy.d.ts.map +0 -1
  343. package/dist/core/extensions/bootstrap-branch-summary-policy.js +0 -28
  344. package/dist/core/extensions/bootstrap-branch-summary-policy.js.map +0 -1
  345. package/dist/core/extensions/bootstrap-compaction-policy.d.ts +0 -7
  346. package/dist/core/extensions/bootstrap-compaction-policy.d.ts.map +0 -1
  347. package/dist/core/extensions/bootstrap-compaction-policy.js +0 -48
  348. package/dist/core/extensions/bootstrap-compaction-policy.js.map +0 -1
  349. package/dist/core/extensions/bootstrap-overflow-policy.d.ts +0 -7
  350. package/dist/core/extensions/bootstrap-overflow-policy.d.ts.map +0 -1
  351. package/dist/core/extensions/bootstrap-overflow-policy.js +0 -30
  352. package/dist/core/extensions/bootstrap-overflow-policy.js.map +0 -1
  353. package/dist/core/extensions/bootstrap-retry-policy.d.ts +0 -7
  354. package/dist/core/extensions/bootstrap-retry-policy.d.ts.map +0 -1
  355. package/dist/core/extensions/bootstrap-retry-policy.js +0 -29
  356. package/dist/core/extensions/bootstrap-retry-policy.js.map +0 -1
  357. package/dist/core/extensions/bootstrap-tools.d.ts +0 -20
  358. package/dist/core/extensions/bootstrap-tools.d.ts.map +0 -1
  359. package/dist/core/extensions/bootstrap-tools.js +0 -36
  360. package/dist/core/extensions/bootstrap-tools.js.map +0 -1
  361. package/dist/core/extensions/provider-failover.d.ts +0 -110
  362. package/dist/core/extensions/provider-failover.d.ts.map +0 -1
  363. package/dist/core/extensions/provider-failover.js.map +0 -1
  364. package/dist/core/tools/bash.d.ts.map +0 -1
  365. package/dist/core/tools/bash.js.map +0 -1
  366. package/dist/core/tools/edit.d.ts.map +0 -1
  367. package/dist/core/tools/edit.js.map +0 -1
  368. package/dist/core/tools/find.d.ts.map +0 -1
  369. package/dist/core/tools/find.js.map +0 -1
  370. package/dist/core/tools/grep.d.ts.map +0 -1
  371. package/dist/core/tools/grep.js.map +0 -1
  372. package/dist/core/tools/ls.d.ts.map +0 -1
  373. package/dist/core/tools/powershell.d.ts.map +0 -1
  374. package/dist/core/tools/powershell.js.map +0 -1
  375. package/dist/core/tools/read.d.ts.map +0 -1
  376. package/dist/core/tools/read.js.map +0 -1
  377. package/dist/core/tools/write.d.ts.map +0 -1
  378. package/dist/core/tools/write.js.map +0 -1
  379. package/dist/plugins/mcp-http.d.ts.map +0 -1
  380. package/dist/plugins/mcp-http.js.map +0 -1
  381. package/dist/profile/child-facade.d.ts +0 -44
  382. package/dist/profile/child-facade.d.ts.map +0 -1
  383. package/dist/profile/child-facade.js +0 -56
  384. package/dist/profile/child-facade.js.map +0 -1
  385. package/dist/profile/dependency-wiring.d.ts +0 -48
  386. package/dist/profile/dependency-wiring.d.ts.map +0 -1
  387. package/dist/profile/dependency-wiring.js +0 -56
  388. package/dist/profile/dependency-wiring.js.map +0 -1
  389. package/dist/profile/domain-recovery.d.ts +0 -60
  390. package/dist/profile/domain-recovery.d.ts.map +0 -1
  391. package/dist/profile/domain-recovery.js +0 -94
  392. package/dist/profile/domain-recovery.js.map +0 -1
  393. package/dist/profile/first-roles.d.ts +0 -30
  394. package/dist/profile/first-roles.d.ts.map +0 -1
  395. package/dist/profile/first-roles.js +0 -83
  396. package/dist/profile/first-roles.js.map +0 -1
  397. package/dist/profile/goal-plugin.d.ts +0 -38
  398. package/dist/profile/goal-plugin.d.ts.map +0 -1
  399. package/dist/profile/goal-plugin.js +0 -132
  400. package/dist/profile/goal-plugin.js.map +0 -1
  401. package/dist/profile/plan-plugin.d.ts +0 -44
  402. package/dist/profile/plan-plugin.d.ts.map +0 -1
  403. package/dist/profile/plan-plugin.js +0 -157
  404. package/dist/profile/plan-plugin.js.map +0 -1
  405. package/dist/profile/policy-manifest.d.ts +0 -53
  406. package/dist/profile/policy-manifest.d.ts.map +0 -1
  407. package/dist/profile/policy-manifest.js +0 -53
  408. package/dist/profile/policy-manifest.js.map +0 -1
  409. package/dist/profile/role-assembly.d.ts +0 -47
  410. package/dist/profile/role-assembly.d.ts.map +0 -1
  411. package/dist/profile/role-assembly.js +0 -31
  412. package/dist/profile/role-assembly.js.map +0 -1
  413. package/dist/profile/role-catalog.d.ts +0 -43
  414. package/dist/profile/role-catalog.d.ts.map +0 -1
  415. package/dist/profile/role-catalog.js +0 -132
  416. package/dist/profile/role-catalog.js.map +0 -1
  417. package/dist/profile/role-orchestrator.d.ts +0 -123
  418. package/dist/profile/role-orchestrator.d.ts.map +0 -1
  419. package/dist/profile/role-orchestrator.js +0 -195
  420. package/dist/profile/role-orchestrator.js.map +0 -1
  421. package/dist/profile/role-runner.d.ts +0 -99
  422. package/dist/profile/role-runner.d.ts.map +0 -1
  423. package/dist/profile/role-runner.js +0 -79
  424. package/dist/profile/role-runner.js.map +0 -1
  425. package/dist/profile/root-facade.d.ts +0 -36
  426. package/dist/profile/root-facade.d.ts.map +0 -1
  427. package/dist/profile/root-facade.js +0 -49
  428. package/dist/profile/root-facade.js.map +0 -1
  429. package/dist/profile/skill-discovery-wiring.d.ts +0 -58
  430. package/dist/profile/skill-discovery-wiring.d.ts.map +0 -1
  431. package/dist/profile/skill-discovery-wiring.js +0 -80
  432. package/dist/profile/skill-discovery-wiring.js.map +0 -1
  433. package/dist/profile/state-store.d.ts +0 -62
  434. package/dist/profile/state-store.d.ts.map +0 -1
  435. package/dist/profile/state-store.js +0 -144
  436. package/dist/profile/state-store.js.map +0 -1
  437. package/dist/profile/todo-plugin.d.ts +0 -37
  438. package/dist/profile/todo-plugin.d.ts.map +0 -1
  439. package/dist/profile/todo-plugin.js +0 -137
  440. package/dist/profile/todo-plugin.js.map +0 -1
  441. package/examples/extensions/mcp-stdio/index.d.ts +0 -64
  442. package/examples/extensions/mcp-stdio/index.d.ts.map +0 -1
  443. package/examples/extensions/mcp-stdio/index.js +0 -292
  444. package/examples/extensions/mcp-stdio/index.js.map +0 -1
  445. /package/{dist/plugins → bundled-plugins/mcp-http/dist}/mcp-http.d.ts +0 -0
@@ -6,13 +6,20 @@ export type { ToolDefinition, ToolExecuteContext, ToolInfo, ToolRenderContext, T
6
6
  export { defineTool } from "../tools/tool-definition.ts";
7
7
  export { type AgentCompositionLifecycleBinding, type AgentCompositionLifecycleDispatcher, type AgentCompositionLifecycleEvent, type AgentCompositionLifecycleEventName, type AgentCompositionLifecycleTerminalStatus, AgentCompositionRuntime, type AgentCompositionRuntimeOptions, createAgentCompositionRuntime, } from "./agent-composition.ts";
8
8
  export { type AgentLoopWiringV1, BOOTSTRAP_AGENT_LOOP_PLUGIN_ID, DEFAULT_RUN_LOOP_STRATEGY_NAME, installBootstrapAgentLoop, } from "./bootstrap-agent-loop.ts";
9
- export { BOOTSTRAP_BRANCH_SUMMARY_PLUGIN_ID, DEFAULT_BRANCH_SUMMARY_POLICY_NAME, installBootstrapBranchSummaryPolicy, } from "./bootstrap-branch-summary-policy.ts";
10
- export { BOOTSTRAP_COMPACTION_PLUGIN_ID, DEFAULT_COMPACTION_POLICY_NAME, installBootstrapCompactionPolicy, } from "./bootstrap-compaction-policy.ts";
9
+ /**
10
+ * 默认策略名(D-082 批 3):四个内嵌默认策略(retry / overflow / compaction /
11
+ * branch summary)的安装器已退役为 bundled 插件包
12
+ * (`agent-forge.plugin.retry-policy` / `agent-forge.plugin.overflow-policy` /
13
+ * `agent-forge.plugin.compaction-policy`,branch summary 随 compaction 包),
14
+ * 会话的缺省策略名解析仍由宿主持有——四个名字逐字等于退役内嵌实现的注册名,
15
+ * 第三方同名注册即可替换。
16
+ */
17
+ export declare const DEFAULT_BRANCH_SUMMARY_POLICY_NAME = "default";
18
+ export declare const DEFAULT_COMPACTION_POLICY_NAME = "default";
19
+ export declare const DEFAULT_OVERFLOW_POLICY_NAME = "default";
20
+ export declare const DEFAULT_RETRY_POLICY_NAME = "default";
11
21
  export { AGENT_END_EVENT_ID, AGENT_END_EVENT_VERSION, AGENT_SETTLED_EVENT_ID, AGENT_SETTLED_EVENT_VERSION, AGENT_START_EVENT_ID, AGENT_START_EVENT_VERSION, type AgentEndEventDataV1, type AgentLifecycleEventDataV1, agentEndEventDefinition, agentSettledEventDefinition, agentStartEventDefinition, BEFORE_AGENT_START_EVENT_ID, BEFORE_AGENT_START_EVENT_VERSION, BEFORE_AGENT_START_EVENT_VERSION_V2, type BeforeAgentStartEventDataV1, type BeforeAgentStartEventDataV2, BOOTSTRAP_LIFECYCLE_PLUGIN_ID, beforeAgentStartEventDefinition, beforeAgentStartV2EventDefinition, CAPABILITY_CALL_EVENT_ID, CAPABILITY_CALL_EVENT_VERSION, type CapabilityCallEventDataV1, type CapabilityCallEventNameV1, type CapabilityCallStatusV1, CONTEXT_ASSEMBLED_EVENT_ID, CONTEXT_ASSEMBLED_EVENT_VERSION, type ContextAssembledEventDataV1, contextAssembledEventDefinition, INPUT_RECEIVED_EVENT_ID, INPUT_RECEIVED_EVENT_VERSION, type InputReceivedEventDataV1, inputReceivedEventDefinition, installBootstrapLifecycle, MESSAGE_END_EVENT_ID, MESSAGE_END_EVENT_VERSION, MESSAGE_START_EVENT_ID, MESSAGE_START_EVENT_VERSION, type MessageBoundaryEventDataV1, MODEL_RESPONSE_EVENT_ID, MODEL_RESPONSE_EVENT_VERSION, MODEL_SELECT_EVENT_ID, MODEL_SELECT_EVENT_VERSION, MODEL_STREAM_EVENT_ID, MODEL_STREAM_EVENT_VERSION, type ModelResponseEventDataV1, type ModelSelectEventDataV1, type ModelStreamEventDataV1, type ModelStreamEventNameV1, modelSelectEventDefinition, OPERATION_CANCEL_EVENT_ID, OPERATION_CANCEL_EVENT_VERSION, OPERATION_END_EVENT_ID, OPERATION_END_EVENT_VERSION, OPERATION_START_EVENT_ID, OPERATION_START_EVENT_VERSION, OPERATION_STEP_EVENT_ID, OPERATION_STEP_EVENT_VERSION, type OperationCancelEventDataV1, type OperationEndEventDataV1, type OperationStartEventDataV1, type OperationStepEventDataV1, PLUGIN_DISPOSE_EVENT_ID, PLUGIN_DISPOSE_EVENT_VERSION, PLUGIN_READY_EVENT_ID, PLUGIN_READY_EVENT_VERSION, type PluginDisposeEventDataV1, type PluginReadyEventDataV1, RESOURCES_DISCOVER_EVENT_ID, RESOURCES_DISCOVER_EVENT_VERSION, RESOURCES_DISCOVER_EVENT_VERSION_V2, type ResourcesDiscoverEventDataV1, type ResourcesDiscoverEventDataV2, resourcesDiscoverEventDefinition, resourcesDiscoverV2EventDefinition, SESSION_COMPACTION_COMMIT_EVENT_ID, SESSION_COMPACTION_COMMIT_EVENT_VERSION, SESSION_CONTEXT_REPLACED_EVENT_ID, SESSION_CONTEXT_REPLACED_EVENT_VERSION, SESSION_ENTRY_APPENDED_EVENT_ID, SESSION_ENTRY_APPENDED_EVENT_VERSION, SESSION_INFO_CHANGED_EVENT_ID, SESSION_INFO_CHANGED_EVENT_VERSION, SESSION_RELOAD_EVENT_ID, SESSION_RELOAD_EVENT_VERSION, SESSION_START_EVENT_ID, SESSION_START_EVENT_VERSION, type SessionCompactionCommitEventDataV1, type SessionContextReplacedEventDataV1, type SessionEntryAppendedEventDataV1, type SessionInfoChangedEventDataV1, type SessionReloadEventDataV1, type SessionStartEventDataV1, sessionEntryAppendedEventDefinition, sessionInfoChangedEventDefinition, sessionStartEventDefinition, THINKING_LEVEL_SELECT_EVENT_ID, THINKING_LEVEL_SELECT_EVENT_VERSION, type ThinkingLevelSelectEventDataV1, TOOL_CALL_EVENT_ID, TOOL_CALL_EVENT_VERSION, TOOL_COMMIT_EVENT_ID, TOOL_COMMIT_EVENT_VERSION, TOOL_EXECUTE_EVENT_ID, TOOL_EXECUTE_EVENT_VERSION, TOOL_EXECUTION_START_EVENT_ID, TOOL_EXECUTION_START_EVENT_VERSION, TOOL_RESULT_EVENT_ID, TOOL_RESULT_EVENT_VERSION, TOOL_RESULT_RAW_EVENT_ID, TOOL_RESULT_RAW_EVENT_VERSION, TOOL_RESULT_TRANSFORM_EVENT_ID, TOOL_RESULT_TRANSFORM_EVENT_VERSION, type ToolCallEventDataV1, type ToolCommitEventDataV1, type ToolExecuteEventDataV1, type ToolExecutionStartEventDataV1, type ToolResultEventDataV1, type ToolResultRawEventDataV1, type ToolResultTransformEventDataV1, TURN_END_EVENT_ID, TURN_END_EVENT_VERSION, TURN_START_EVENT_ID, TURN_START_EVENT_VERSION, type TurnEndEventDataV1, type TurnStartEventDataV1, thinkingLevelSelectEventDefinition, toolExecutionStartEventDefinition, turnEndEventDefinition, turnStartEventDefinition, UI_PROMPT_END_EVENT_ID, UI_PROMPT_END_EVENT_VERSION, UI_PROMPT_START_EVENT_ID, UI_PROMPT_START_EVENT_VERSION, type UIPromptBoundaryEventDataV1, USER_BASH_EVENT_ID, USER_BASH_EVENT_VERSION, type UserBashEventDataV1, uiPromptEndEventDefinition, uiPromptStartEventDefinition, userBashEventDefinition, validateAgentEndEventDataV1, validateAgentLifecycleEventDataV1, validateBeforeAgentStartEventDataV1, validateBeforeAgentStartEventDataV2, validateCapabilityCallEventDataV1, validateContextAssembledEventDataV1, validateInputReceivedEventDataV1, validateMessageBoundaryEventDataV1, validateModelResponseEventDataV1, validateModelSelectEventDataV1, validateModelStreamEventDataV1, validateOperationCancelEventDataV1, validateOperationEndEventDataV1, validateOperationStartEventDataV1, validateOperationStepEventDataV1, validatePluginDisposeEventDataV1, validatePluginReadyEventDataV1, validateResourcesDiscoverEventDataV1, validateResourcesDiscoverEventDataV2, validateSessionCompactionCommitEventDataV1, validateSessionContextReplacedEventDataV1, validateSessionEntryAppendedEventDataV1, validateSessionInfoChangedEventDataV1, validateSessionReloadEventDataV1, validateSessionStartEventDataV1, validateThinkingLevelSelectEventDataV1, validateToolCallEventDataV1, validateToolCommitEventDataV1, validateToolExecuteEventDataV1, validateToolExecutionStartEventDataV1, validateToolResultEventDataV1, validateToolResultRawEventDataV1, validateToolResultTransformEventDataV1, validateTurnEndEventDataV1, validateTurnStartEventDataV1, validateUIPromptBoundaryEventDataV1, validateUserBashEventDataV1, } from "./bootstrap-lifecycle.ts";
12
- export { BOOTSTRAP_OVERFLOW_PLUGIN_ID, DEFAULT_OVERFLOW_POLICY_NAME, installBootstrapOverflowPolicy, } from "./bootstrap-overflow-policy.ts";
13
- export { BOOTSTRAP_RETRY_PLUGIN_ID, DEFAULT_RETRY_POLICY_NAME, installBootstrapRetryPolicy, } from "./bootstrap-retry-policy.ts";
14
22
  export { BOOTSTRAP_SKILLS_PLUGIN_ID, type BootstrapSkillsOptions, installSessionBootstrapSkills, refreshSessionBootstrapSkills, SKILL_CONTRIBUTION_POINT_ID, SKILL_CONTRIBUTION_POINT_VERSION, } from "./bootstrap-skills.ts";
15
- export { BOOTSTRAP_TOOLS_PLUGIN_ID, type BootstrapToolsOptions, installBootstrapTools, installSessionBootstrapTools, } from "./bootstrap-tools.ts";
16
23
  export { type CapabilityPluginFactory, type CapabilityPluginFactoryResult, type CapabilityPluginHandle, type CapabilityPluginInstance, type CapabilityPluginSyncFactory, type CapabilityPluginSyncInstance, discoverCapabilityPluginManifests, loadCapabilityPlugin, loadCapabilityPluginFromManifest, loadCapabilityPluginSync, parseCapabilityPluginManifest, } from "./capability-plugin.ts";
17
24
  export { type CapabilityRuntime, createCapabilityRuntime, resolvePluginCapabilityOrder, validateExecutionFactsV1, validateRetryScheduleV1, } from "./capability-runtime.ts";
18
25
  export { AGENT_TASK_CHILD_PROFILE_KEY, AGENT_TASK_PARENT_SESSION_KEY, AGENT_TASK_PARENT_TRACE_KEY, AGENT_TASK_RESUME_SESSION_KEY, type AgentCompositionAPI, type AgentCompositionDefinitionBinding, type AgentCompositionHostBinding, type AgentCompositionScopedHostBinding, type AgentContextCommitRequestV1, type AgentContextCommitResultV1, type AgentContextFacadeV1, type AgentContextSnapshotV1, type AgentControllerLease, type AgentControllerRole, type AgentDefinition, type AgentDefinitionDeclaration, type AgentExecutionContext, type AgentHostPrimitivesFactory, type AgentHostPrimitivesFactoryContext, type AgentHostPrimitivesV1, type AgentInstance, type AgentInstanceResult, type AgentInstanceSnapshot, type AgentInstanceStatus, type AgentLoopAfterToolCallHookV1, type AgentLoopAfterToolCallInputV1, type AgentLoopBeforeToolCallHookV1, type AgentLoopBeforeToolCallInputV1, type AgentLoopBeforeToolCallOutputV1, type AgentLoopHookForV1, type AgentLoopHookHandlerV1, type AgentLoopHookPositionV1, type AgentLoopPrepareNextTurnHookV1, type AgentLoopTransformContextHookV1, type AgentOperationFacadeV1, type AgentRunLoopStrategyDecisionV1, type AgentRunLoopStrategyRequestV1, type AgentRunLoopStrategyV1, type AgentSessionFacadeV1, type AgentTaskAdapter, type AgentTaskAPI, type AgentTaskChildProfileParseResultV1, type AgentTaskChildProfileV1, type AgentTaskCreateRequest, type AgentTaskHandle, type AgentTaskHost, type AgentTaskResultV1, type AgentTaskSessionSummaryV1, type AgentTaskSessionViewV1, type AgentTaskStatus, type AgentTaskWaitResult, type BranchSummaryPolicy, type BranchSummaryRequest, type BranchSummaryResult, type CapabilityAPI, type CapabilityCommandContext, type CapabilityCommandDefinition, type CapabilityCommandLink, type CapabilityCommandResult, type CapabilityDirectoryAPI, type CapabilityHandle, type CapabilityProviderHandler, type CompactionCommitAppliedV1, type CompactionCommitRequestV1, type CompactionCommitResultV1, type CompactionCommitRevisionConflictV1, type CompactionContextUsage, type CompactionPolicy, type CompactionPolicyDecision, type CompactionPolicyRequest, type CompactionPreparationRequest, type CompactionSummaryRequest, type CompactionSummaryResult, type ContextOperationOptions, type ContextStrategy, type ContextUsage, type ContributionAPI, type ContributionChangeEvent, type ContributionEntry, type ContributionHandle, type ContributionLifecycle, type ContributionPoint, type ContributionPointDefinition, type CredentialAPI, type CredentialResolution, type CredentialResolveRequest, createDisposableRegistration, createEventEnvelope, type DiagnosticsAPI, type DiagnosticsSpan, type DiagnosticsSpanEnd, type DiagnosticsSpanSnapshot, type DisposableRegistration, type EventEnvelope, EXPERIMENTAL_PUBLIC_API_VERSION, type ExecutionFactsV1, type ExecutionPhaseV1, type HostCapabilities, type HostMode, type InteractionAPI, type InteractionDialogOptions, type InteractionHostV1, type InteractionNotifyLevel, type InteractionOutcomeV1, type InteractionPromptContextV1, type InteractionRequestV1, type LifecycleAfterCommitHandler, type LifecycleAPI, type LifecycleDeliveryFailure, type LifecycleDeliveryMode, type LifecycleDeliveryOptions, type LifecycleDeliveryReport, type LifecycleDeliverySnapshot, type LifecycleDispatchRequest, type LifecycleDispatchResult, type LifecycleEvent, type LifecycleEventDefinition, type LifecycleEventReference, LifecycleExecuteError, type LifecycleExecuteHandler, type LifecycleObserveHandler, type LifecyclePhase, type LifecycleRegistrationKind, LifecycleTransformError, type LifecycleTransformHandler, type LoggerAPI, type LoggerLevel, type LoggerRecord, type OperationExecutionContext, type OperationHandle, type OperationProgress, type OperationStatus, type OutputArtifactAPI, type OutputArtifactChunk, type OutputArtifactErrorCode, type OutputArtifactPutInput, type OutputArtifactRef, type OverflowPolicy, type OverflowPolicyDecision, type OverflowPolicyRequest, type PluginAgentRole, type PluginCapabilityDeclaration, type PluginCapabilityRequirement, type PluginConfig, type PluginConfigValue, type PluginManifest, type PluginRejection, type PluginRejectionCode, type PolicyInvocationContextV1, type PromptOutcome, type ProviderHeaderTransform, type ProviderHeaderTransformRequest, parseAgentTaskChildProfileV1, type RetryClassificationRequest, type RetryPolicy, type RetryPolicyDecision, type RetryPolicyRequest, type RetryScheduleV1, type RuntimeInspectorAPI, type RuntimeInspectorErrorSnapshot, type RuntimeInspectorLifecycleDeliveryFailureSnapshot, type RuntimeInspectorLifecycleDeliveryReportSnapshot, type RuntimeInspectorSnapshot, readAgentTaskChildProfileV1, type SessionAPI, type SessionEntryView, type SessionExportArtifact, type SessionExportRequest, type SessionRevisionV1, type SkillDefinition, type StateAPI, type StateChange, type StateEntry, type StateSetOptions, type StreamFnNext, type StreamFnWrapper, type StreamFnWrapperHostV1, SUMMARY_MODEL_INVOCATION_ERROR_CODES, type SummaryModelFactsV1, type SummaryModelInvocationRequestV1, type SummaryModelInvocationResultV1, type SummaryModelInvocationV1, } from "./public-api.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EACX,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACN,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,uBAAuB,EACvB,KAAK,8BAA8B,EACnC,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,KAAK,iBAAiB,EACtB,8BAA8B,EAC9B,8BAA8B,EAC9B,yBAAyB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACN,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,GACnC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,GAChC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACN,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EACnC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,6BAA6B,EAC7B,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAC7B,KAAK,yBAAyB,EAC9B,K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pB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,4BAA4B,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,gDAAgD,EACrD,KAAK,+CAA+C,EACpD,KAAK,wBAAwB,EAC7B,2BAA2B,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,oCAAoC,EACpC,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC7B,MAAM,iBAAiB,CAAC","sourcesContent":["/**\n * Capability plugin system: public API contracts, lifecycle catalog,\n * bootstrap plugins, and the capability runtime.\n */\n\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"../tools/tool-definition.ts\";\nexport { defineTool } from \"../tools/tool-definition.ts\";\nexport {\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\tcreateAgentCompositionRuntime,\n} from \"./agent-composition.ts\";\nexport {\n\ttype AgentLoopWiringV1,\n\tBOOTSTRAP_AGENT_LOOP_PLUGIN_ID,\n\tDEFAULT_RUN_LOOP_STRATEGY_NAME,\n\tinstallBootstrapAgentLoop,\n} from \"./bootstrap-agent-loop.ts\";\nexport {\n\tBOOTSTRAP_BRANCH_SUMMARY_PLUGIN_ID,\n\tDEFAULT_BRANCH_SUMMARY_POLICY_NAME,\n\tinstallBootstrapBranchSummaryPolicy,\n} from \"./bootstrap-branch-summary-policy.ts\";\nexport {\n\tBOOTSTRAP_COMPACTION_PLUGIN_ID,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tinstallBootstrapCompactionPolicy,\n} from \"./bootstrap-compaction-policy.ts\";\nexport {\n\tAGENT_END_EVENT_ID,\n\tAGENT_END_EVENT_VERSION,\n\tAGENT_SETTLED_EVENT_ID,\n\tAGENT_SETTLED_EVENT_VERSION,\n\tAGENT_START_EVENT_ID,\n\tAGENT_START_EVENT_VERSION,\n\ttype AgentEndEventDataV1,\n\ttype AgentLifecycleEventDataV1,\n\tagentEndEventDefinition,\n\tagentSettledEventDefinition,\n\tagentStartEventDefinition,\n\tBEFORE_AGENT_START_EVENT_ID,\n\tBEFORE_AGENT_START_EVENT_VERSION,\n\tBEFORE_AGENT_START_EVENT_VERSION_V2,\n\ttype BeforeAgentStartEventDataV1,\n\ttype BeforeAgentStartEventDataV2,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tbeforeAgentStartEventDefinition,\n\tbeforeAgentStartV2EventDefinition,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\tCONTEXT_ASSEMBLED_EVENT_ID,\n\tCONTEXT_ASSEMBLED_EVENT_VERSION,\n\ttype ContextAssembledEventDataV1,\n\tcontextAssembledEventDefinition,\n\tINPUT_RECEIVED_EVENT_ID,\n\tINPUT_RECEIVED_EVENT_VERSION,\n\ttype InputReceivedEventDataV1,\n\tinputReceivedEventDefinition,\n\tinstallBootstrapLifecycle,\n\tMESSAGE_END_EVENT_ID,\n\tMESSAGE_END_EVENT_VERSION,\n\tMESSAGE_START_EVENT_ID,\n\tMESSAGE_START_EVENT_VERSION,\n\ttype MessageBoundaryEventDataV1,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_SELECT_EVENT_ID,\n\tMODEL_SELECT_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelSelectEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tmodelSelectEventDefinition,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationStartEventDataV1,\n\ttype OperationStepEventDataV1,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginReadyEventDataV1,\n\tRESOURCES_DISCOVER_EVENT_ID,\n\tRESOURCES_DISCOVER_EVENT_VERSION,\n\tRESOURCES_DISCOVER_EVENT_VERSION_V2,\n\ttype ResourcesDiscoverEventDataV1,\n\ttype ResourcesDiscoverEventDataV2,\n\tresourcesDiscoverEventDefinition,\n\tresourcesDiscoverV2EventDefinition,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_ENTRY_APPENDED_EVENT_ID,\n\tSESSION_ENTRY_APPENDED_EVENT_VERSION,\n\tSESSION_INFO_CHANGED_EVENT_ID,\n\tSESSION_INFO_CHANGED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\tSESSION_START_EVENT_ID,\n\tSESSION_START_EVENT_VERSION,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryAppendedEventDataV1,\n\ttype SessionInfoChangedEventDataV1,\n\ttype SessionReloadEventDataV1,\n\ttype SessionStartEventDataV1,\n\tsessionEntryAppendedEventDefinition,\n\tsessionInfoChangedEventDefinition,\n\tsessionStartEventDefinition,\n\tTHINKING_LEVEL_SELECT_EVENT_ID,\n\tTHINKING_LEVEL_SELECT_EVENT_VERSION,\n\ttype ThinkingLevelSelectEventDataV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_EXECUTION_START_EVENT_ID,\n\tTOOL_EXECUTION_START_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolExecutionStartEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tTURN_END_EVENT_ID,\n\tTURN_END_EVENT_VERSION,\n\tTURN_START_EVENT_ID,\n\tTURN_START_EVENT_VERSION,\n\ttype TurnEndEventDataV1,\n\ttype TurnStartEventDataV1,\n\tthinkingLevelSelectEventDefinition,\n\ttoolExecutionStartEventDefinition,\n\tturnEndEventDefinition,\n\tturnStartEventDefinition,\n\tUI_PROMPT_END_EVENT_ID,\n\tUI_PROMPT_END_EVENT_VERSION,\n\tUI_PROMPT_START_EVENT_ID,\n\tUI_PROMPT_START_EVENT_VERSION,\n\ttype UIPromptBoundaryEventDataV1,\n\tUSER_BASH_EVENT_ID,\n\tUSER_BASH_EVENT_VERSION,\n\ttype UserBashEventDataV1,\n\tuiPromptEndEventDefinition,\n\tuiPromptStartEventDefinition,\n\tuserBashEventDefinition,\n\tvalidateAgentEndEventDataV1,\n\tvalidateAgentLifecycleEventDataV1,\n\tvalidateBeforeAgentStartEventDataV1,\n\tvalidateBeforeAgentStartEventDataV2,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateContextAssembledEventDataV1,\n\tvalidateInputReceivedEventDataV1,\n\tvalidateMessageBoundaryEventDataV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelSelectEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateResourcesDiscoverEventDataV1,\n\tvalidateResourcesDiscoverEventDataV2,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionEntryAppendedEventDataV1,\n\tvalidateSessionInfoChangedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateSessionStartEventDataV1,\n\tvalidateThinkingLevelSelectEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolExecutionStartEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n\tvalidateTurnEndEventDataV1,\n\tvalidateTurnStartEventDataV1,\n\tvalidateUIPromptBoundaryEventDataV1,\n\tvalidateUserBashEventDataV1,\n} from \"./bootstrap-lifecycle.ts\";\nexport {\n\tBOOTSTRAP_OVERFLOW_PLUGIN_ID,\n\tDEFAULT_OVERFLOW_POLICY_NAME,\n\tinstallBootstrapOverflowPolicy,\n} from \"./bootstrap-overflow-policy.ts\";\nexport {\n\tBOOTSTRAP_RETRY_PLUGIN_ID,\n\tDEFAULT_RETRY_POLICY_NAME,\n\tinstallBootstrapRetryPolicy,\n} from \"./bootstrap-retry-policy.ts\";\nexport {\n\tBOOTSTRAP_SKILLS_PLUGIN_ID,\n\ttype BootstrapSkillsOptions,\n\tinstallSessionBootstrapSkills,\n\trefreshSessionBootstrapSkills,\n\tSKILL_CONTRIBUTION_POINT_ID,\n\tSKILL_CONTRIBUTION_POINT_VERSION,\n} from \"./bootstrap-skills.ts\";\nexport {\n\tBOOTSTRAP_TOOLS_PLUGIN_ID,\n\ttype BootstrapToolsOptions,\n\tinstallBootstrapTools,\n\tinstallSessionBootstrapTools,\n} from \"./bootstrap-tools.ts\";\nexport {\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\tdiscoverCapabilityPluginManifests,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tparseCapabilityPluginManifest,\n} from \"./capability-plugin.ts\";\nexport {\n\ttype CapabilityRuntime,\n\tcreateCapabilityRuntime,\n\tresolvePluginCapabilityOrder,\n\tvalidateExecutionFactsV1,\n\tvalidateRetryScheduleV1,\n} from \"./capability-runtime.ts\";\nexport {\n\tAGENT_TASK_CHILD_PROFILE_KEY,\n\tAGENT_TASK_PARENT_SESSION_KEY,\n\tAGENT_TASK_PARENT_TRACE_KEY,\n\tAGENT_TASK_RESUME_SESSION_KEY,\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentLoopAfterToolCallHookV1,\n\ttype AgentLoopAfterToolCallInputV1,\n\ttype AgentLoopBeforeToolCallHookV1,\n\ttype AgentLoopBeforeToolCallInputV1,\n\ttype AgentLoopBeforeToolCallOutputV1,\n\ttype AgentLoopHookForV1,\n\ttype AgentLoopHookHandlerV1,\n\ttype AgentLoopHookPositionV1,\n\ttype AgentLoopPrepareNextTurnHookV1,\n\ttype AgentLoopTransformContextHookV1,\n\ttype AgentOperationFacadeV1,\n\ttype AgentRunLoopStrategyDecisionV1,\n\ttype AgentRunLoopStrategyRequestV1,\n\ttype AgentRunLoopStrategyV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskChildProfileParseResultV1,\n\ttype AgentTaskChildProfileV1,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskSessionSummaryV1,\n\ttype AgentTaskSessionViewV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\ttype BranchSummaryPolicy,\n\ttype BranchSummaryRequest,\n\ttype BranchSummaryResult,\n\ttype CapabilityAPI,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityProviderHandler,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionContextUsage,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionPreparationRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextOperationOptions,\n\ttype ContextStrategy,\n\ttype ContextUsage,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\ttype InteractionAPI,\n\ttype InteractionDialogOptions,\n\ttype InteractionHostV1,\n\ttype InteractionNotifyLevel,\n\ttype InteractionOutcomeV1,\n\ttype InteractionPromptContextV1,\n\ttype InteractionRequestV1,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStatus,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\ttype OverflowPolicy,\n\ttype OverflowPolicyDecision,\n\ttype OverflowPolicyRequest,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginManifest,\n\ttype PluginRejection,\n\ttype PluginRejectionCode,\n\ttype PolicyInvocationContextV1,\n\ttype PromptOutcome,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseAgentTaskChildProfileV1,\n\ttype RetryClassificationRequest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\treadAgentTaskChildProfileV1,\n\ttype SessionAPI,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionRevisionV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\ttype StreamFnNext,\n\ttype StreamFnWrapper,\n\ttype StreamFnWrapperHostV1,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n} from \"./public-api.ts\";\n"]}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EACX,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACN,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,uBAAuB,EACvB,KAAK,8BAA8B,EACnC,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,KAAK,iBAAiB,EACtB,8BAA8B,EAC9B,8BAA8B,EAC9B,yBAAyB,GACzB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC,YAAY,CAAC;AAC5D,eAAO,MAAM,8BAA8B,YAAY,CAAC;AACxD,eAAO,MAAM,4BAA4B,YAAY,CAAC;AACtD,eAAO,MAAM,yBAAyB,YAAY,CAAC;AACnD,OAAO,EACN,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,uBAAuB,EACvB,2B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jB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,4BAA4B,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,gDAAgD,EACrD,KAAK,+CAA+C,EACpD,KAAK,wBAAwB,EAC7B,2BAA2B,EAC3B,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,oCAAoC,EACpC,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC7B,MAAM,iBAAiB,CAAC","sourcesContent":["/**\n * Capability plugin system: public API contracts, lifecycle catalog,\n * bootstrap plugins, and the capability runtime.\n */\n\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"../tools/tool-definition.ts\";\nexport { defineTool } from \"../tools/tool-definition.ts\";\nexport {\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\tcreateAgentCompositionRuntime,\n} from \"./agent-composition.ts\";\nexport {\n\ttype AgentLoopWiringV1,\n\tBOOTSTRAP_AGENT_LOOP_PLUGIN_ID,\n\tDEFAULT_RUN_LOOP_STRATEGY_NAME,\n\tinstallBootstrapAgentLoop,\n} from \"./bootstrap-agent-loop.ts\";\n\n/**\n * 默认策略名(D-082 批 3):四个内嵌默认策略(retry / overflow / compaction /\n * branch summary)的安装器已退役为 bundled 插件包\n * (`agent-forge.plugin.retry-policy` / `agent-forge.plugin.overflow-policy` /\n * `agent-forge.plugin.compaction-policy`,branch summary 随 compaction 包),\n * 会话的缺省策略名解析仍由宿主持有——四个名字逐字等于退役内嵌实现的注册名,\n * 第三方同名注册即可替换。\n */\nexport const DEFAULT_BRANCH_SUMMARY_POLICY_NAME = \"default\";\nexport const DEFAULT_COMPACTION_POLICY_NAME = \"default\";\nexport const DEFAULT_OVERFLOW_POLICY_NAME = \"default\";\nexport const DEFAULT_RETRY_POLICY_NAME = \"default\";\nexport {\n\tAGENT_END_EVENT_ID,\n\tAGENT_END_EVENT_VERSION,\n\tAGENT_SETTLED_EVENT_ID,\n\tAGENT_SETTLED_EVENT_VERSION,\n\tAGENT_START_EVENT_ID,\n\tAGENT_START_EVENT_VERSION,\n\ttype AgentEndEventDataV1,\n\ttype AgentLifecycleEventDataV1,\n\tagentEndEventDefinition,\n\tagentSettledEventDefinition,\n\tagentStartEventDefinition,\n\tBEFORE_AGENT_START_EVENT_ID,\n\tBEFORE_AGENT_START_EVENT_VERSION,\n\tBEFORE_AGENT_START_EVENT_VERSION_V2,\n\ttype BeforeAgentStartEventDataV1,\n\ttype BeforeAgentStartEventDataV2,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tbeforeAgentStartEventDefinition,\n\tbeforeAgentStartV2EventDefinition,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\tCONTEXT_ASSEMBLED_EVENT_ID,\n\tCONTEXT_ASSEMBLED_EVENT_VERSION,\n\ttype ContextAssembledEventDataV1,\n\tcontextAssembledEventDefinition,\n\tINPUT_RECEIVED_EVENT_ID,\n\tINPUT_RECEIVED_EVENT_VERSION,\n\ttype InputReceivedEventDataV1,\n\tinputReceivedEventDefinition,\n\tinstallBootstrapLifecycle,\n\tMESSAGE_END_EVENT_ID,\n\tMESSAGE_END_EVENT_VERSION,\n\tMESSAGE_START_EVENT_ID,\n\tMESSAGE_START_EVENT_VERSION,\n\ttype MessageBoundaryEventDataV1,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_SELECT_EVENT_ID,\n\tMODEL_SELECT_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelSelectEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tmodelSelectEventDefinition,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationStartEventDataV1,\n\ttype OperationStepEventDataV1,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginReadyEventDataV1,\n\tRESOURCES_DISCOVER_EVENT_ID,\n\tRESOURCES_DISCOVER_EVENT_VERSION,\n\tRESOURCES_DISCOVER_EVENT_VERSION_V2,\n\ttype ResourcesDiscoverEventDataV1,\n\ttype ResourcesDiscoverEventDataV2,\n\tresourcesDiscoverEventDefinition,\n\tresourcesDiscoverV2EventDefinition,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_ENTRY_APPENDED_EVENT_ID,\n\tSESSION_ENTRY_APPENDED_EVENT_VERSION,\n\tSESSION_INFO_CHANGED_EVENT_ID,\n\tSESSION_INFO_CHANGED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\tSESSION_START_EVENT_ID,\n\tSESSION_START_EVENT_VERSION,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryAppendedEventDataV1,\n\ttype SessionInfoChangedEventDataV1,\n\ttype SessionReloadEventDataV1,\n\ttype SessionStartEventDataV1,\n\tsessionEntryAppendedEventDefinition,\n\tsessionInfoChangedEventDefinition,\n\tsessionStartEventDefinition,\n\tTHINKING_LEVEL_SELECT_EVENT_ID,\n\tTHINKING_LEVEL_SELECT_EVENT_VERSION,\n\ttype ThinkingLevelSelectEventDataV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_EXECUTION_START_EVENT_ID,\n\tTOOL_EXECUTION_START_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolExecutionStartEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tTURN_END_EVENT_ID,\n\tTURN_END_EVENT_VERSION,\n\tTURN_START_EVENT_ID,\n\tTURN_START_EVENT_VERSION,\n\ttype TurnEndEventDataV1,\n\ttype TurnStartEventDataV1,\n\tthinkingLevelSelectEventDefinition,\n\ttoolExecutionStartEventDefinition,\n\tturnEndEventDefinition,\n\tturnStartEventDefinition,\n\tUI_PROMPT_END_EVENT_ID,\n\tUI_PROMPT_END_EVENT_VERSION,\n\tUI_PROMPT_START_EVENT_ID,\n\tUI_PROMPT_START_EVENT_VERSION,\n\ttype UIPromptBoundaryEventDataV1,\n\tUSER_BASH_EVENT_ID,\n\tUSER_BASH_EVENT_VERSION,\n\ttype UserBashEventDataV1,\n\tuiPromptEndEventDefinition,\n\tuiPromptStartEventDefinition,\n\tuserBashEventDefinition,\n\tvalidateAgentEndEventDataV1,\n\tvalidateAgentLifecycleEventDataV1,\n\tvalidateBeforeAgentStartEventDataV1,\n\tvalidateBeforeAgentStartEventDataV2,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateContextAssembledEventDataV1,\n\tvalidateInputReceivedEventDataV1,\n\tvalidateMessageBoundaryEventDataV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelSelectEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateResourcesDiscoverEventDataV1,\n\tvalidateResourcesDiscoverEventDataV2,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionEntryAppendedEventDataV1,\n\tvalidateSessionInfoChangedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateSessionStartEventDataV1,\n\tvalidateThinkingLevelSelectEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolExecutionStartEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n\tvalidateTurnEndEventDataV1,\n\tvalidateTurnStartEventDataV1,\n\tvalidateUIPromptBoundaryEventDataV1,\n\tvalidateUserBashEventDataV1,\n} from \"./bootstrap-lifecycle.ts\";\nexport {\n\tBOOTSTRAP_SKILLS_PLUGIN_ID,\n\ttype BootstrapSkillsOptions,\n\tinstallSessionBootstrapSkills,\n\trefreshSessionBootstrapSkills,\n\tSKILL_CONTRIBUTION_POINT_ID,\n\tSKILL_CONTRIBUTION_POINT_VERSION,\n} from \"./bootstrap-skills.ts\";\nexport {\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\tdiscoverCapabilityPluginManifests,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tparseCapabilityPluginManifest,\n} from \"./capability-plugin.ts\";\nexport {\n\ttype CapabilityRuntime,\n\tcreateCapabilityRuntime,\n\tresolvePluginCapabilityOrder,\n\tvalidateExecutionFactsV1,\n\tvalidateRetryScheduleV1,\n} from \"./capability-runtime.ts\";\nexport {\n\tAGENT_TASK_CHILD_PROFILE_KEY,\n\tAGENT_TASK_PARENT_SESSION_KEY,\n\tAGENT_TASK_PARENT_TRACE_KEY,\n\tAGENT_TASK_RESUME_SESSION_KEY,\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentLoopAfterToolCallHookV1,\n\ttype AgentLoopAfterToolCallInputV1,\n\ttype AgentLoopBeforeToolCallHookV1,\n\ttype AgentLoopBeforeToolCallInputV1,\n\ttype AgentLoopBeforeToolCallOutputV1,\n\ttype AgentLoopHookForV1,\n\ttype AgentLoopHookHandlerV1,\n\ttype AgentLoopHookPositionV1,\n\ttype AgentLoopPrepareNextTurnHookV1,\n\ttype AgentLoopTransformContextHookV1,\n\ttype AgentOperationFacadeV1,\n\ttype AgentRunLoopStrategyDecisionV1,\n\ttype AgentRunLoopStrategyRequestV1,\n\ttype AgentRunLoopStrategyV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskChildProfileParseResultV1,\n\ttype AgentTaskChildProfileV1,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskSessionSummaryV1,\n\ttype AgentTaskSessionViewV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\ttype BranchSummaryPolicy,\n\ttype BranchSummaryRequest,\n\ttype BranchSummaryResult,\n\ttype CapabilityAPI,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityProviderHandler,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionContextUsage,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionPreparationRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextOperationOptions,\n\ttype ContextStrategy,\n\ttype ContextUsage,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\ttype InteractionAPI,\n\ttype InteractionDialogOptions,\n\ttype InteractionHostV1,\n\ttype InteractionNotifyLevel,\n\ttype InteractionOutcomeV1,\n\ttype InteractionPromptContextV1,\n\ttype InteractionRequestV1,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStatus,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\ttype OverflowPolicy,\n\ttype OverflowPolicyDecision,\n\ttype OverflowPolicyRequest,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginManifest,\n\ttype PluginRejection,\n\ttype PluginRejectionCode,\n\ttype PolicyInvocationContextV1,\n\ttype PromptOutcome,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseAgentTaskChildProfileV1,\n\ttype RetryClassificationRequest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\treadAgentTaskChildProfileV1,\n\ttype SessionAPI,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionRevisionV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\ttype StreamFnNext,\n\ttype StreamFnWrapper,\n\ttype StreamFnWrapperHostV1,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n} from \"./public-api.ts\";\n"]}
@@ -5,13 +5,20 @@
5
5
  export { defineTool } from "../tools/tool-definition.js";
6
6
  export { AgentCompositionRuntime, createAgentCompositionRuntime, } from "./agent-composition.js";
7
7
  export { BOOTSTRAP_AGENT_LOOP_PLUGIN_ID, DEFAULT_RUN_LOOP_STRATEGY_NAME, installBootstrapAgentLoop, } from "./bootstrap-agent-loop.js";
8
- export { BOOTSTRAP_BRANCH_SUMMARY_PLUGIN_ID, DEFAULT_BRANCH_SUMMARY_POLICY_NAME, installBootstrapBranchSummaryPolicy, } from "./bootstrap-branch-summary-policy.js";
9
- export { BOOTSTRAP_COMPACTION_PLUGIN_ID, DEFAULT_COMPACTION_POLICY_NAME, installBootstrapCompactionPolicy, } from "./bootstrap-compaction-policy.js";
8
+ /**
9
+ * 默认策略名(D-082 批 3):四个内嵌默认策略(retry / overflow / compaction /
10
+ * branch summary)的安装器已退役为 bundled 插件包
11
+ * (`agent-forge.plugin.retry-policy` / `agent-forge.plugin.overflow-policy` /
12
+ * `agent-forge.plugin.compaction-policy`,branch summary 随 compaction 包),
13
+ * 会话的缺省策略名解析仍由宿主持有——四个名字逐字等于退役内嵌实现的注册名,
14
+ * 第三方同名注册即可替换。
15
+ */
16
+ export const DEFAULT_BRANCH_SUMMARY_POLICY_NAME = "default";
17
+ export const DEFAULT_COMPACTION_POLICY_NAME = "default";
18
+ export const DEFAULT_OVERFLOW_POLICY_NAME = "default";
19
+ export const DEFAULT_RETRY_POLICY_NAME = "default";
10
20
  export { AGENT_END_EVENT_ID, AGENT_END_EVENT_VERSION, AGENT_SETTLED_EVENT_ID, AGENT_SETTLED_EVENT_VERSION, AGENT_START_EVENT_ID, AGENT_START_EVENT_VERSION, agentEndEventDefinition, agentSettledEventDefinition, agentStartEventDefinition, BEFORE_AGENT_START_EVENT_ID, BEFORE_AGENT_START_EVENT_VERSION, BEFORE_AGENT_START_EVENT_VERSION_V2, BOOTSTRAP_LIFECYCLE_PLUGIN_ID, beforeAgentStartEventDefinition, beforeAgentStartV2EventDefinition, CAPABILITY_CALL_EVENT_ID, CAPABILITY_CALL_EVENT_VERSION, CONTEXT_ASSEMBLED_EVENT_ID, CONTEXT_ASSEMBLED_EVENT_VERSION, contextAssembledEventDefinition, INPUT_RECEIVED_EVENT_ID, INPUT_RECEIVED_EVENT_VERSION, inputReceivedEventDefinition, installBootstrapLifecycle, MESSAGE_END_EVENT_ID, MESSAGE_END_EVENT_VERSION, MESSAGE_START_EVENT_ID, MESSAGE_START_EVENT_VERSION, MODEL_RESPONSE_EVENT_ID, MODEL_RESPONSE_EVENT_VERSION, MODEL_SELECT_EVENT_ID, MODEL_SELECT_EVENT_VERSION, MODEL_STREAM_EVENT_ID, MODEL_STREAM_EVENT_VERSION, modelSelectEventDefinition, OPERATION_CANCEL_EVENT_ID, OPERATION_CANCEL_EVENT_VERSION, OPERATION_END_EVENT_ID, OPERATION_END_EVENT_VERSION, OPERATION_START_EVENT_ID, OPERATION_START_EVENT_VERSION, OPERATION_STEP_EVENT_ID, OPERATION_STEP_EVENT_VERSION, PLUGIN_DISPOSE_EVENT_ID, PLUGIN_DISPOSE_EVENT_VERSION, PLUGIN_READY_EVENT_ID, PLUGIN_READY_EVENT_VERSION, RESOURCES_DISCOVER_EVENT_ID, RESOURCES_DISCOVER_EVENT_VERSION, RESOURCES_DISCOVER_EVENT_VERSION_V2, resourcesDiscoverEventDefinition, resourcesDiscoverV2EventDefinition, SESSION_COMPACTION_COMMIT_EVENT_ID, SESSION_COMPACTION_COMMIT_EVENT_VERSION, SESSION_CONTEXT_REPLACED_EVENT_ID, SESSION_CONTEXT_REPLACED_EVENT_VERSION, SESSION_ENTRY_APPENDED_EVENT_ID, SESSION_ENTRY_APPENDED_EVENT_VERSION, SESSION_INFO_CHANGED_EVENT_ID, SESSION_INFO_CHANGED_EVENT_VERSION, SESSION_RELOAD_EVENT_ID, SESSION_RELOAD_EVENT_VERSION, SESSION_START_EVENT_ID, SESSION_START_EVENT_VERSION, sessionEntryAppendedEventDefinition, sessionInfoChangedEventDefinition, sessionStartEventDefinition, THINKING_LEVEL_SELECT_EVENT_ID, THINKING_LEVEL_SELECT_EVENT_VERSION, TOOL_CALL_EVENT_ID, TOOL_CALL_EVENT_VERSION, TOOL_COMMIT_EVENT_ID, TOOL_COMMIT_EVENT_VERSION, TOOL_EXECUTE_EVENT_ID, TOOL_EXECUTE_EVENT_VERSION, TOOL_EXECUTION_START_EVENT_ID, TOOL_EXECUTION_START_EVENT_VERSION, TOOL_RESULT_EVENT_ID, TOOL_RESULT_EVENT_VERSION, TOOL_RESULT_RAW_EVENT_ID, TOOL_RESULT_RAW_EVENT_VERSION, TOOL_RESULT_TRANSFORM_EVENT_ID, TOOL_RESULT_TRANSFORM_EVENT_VERSION, TURN_END_EVENT_ID, TURN_END_EVENT_VERSION, TURN_START_EVENT_ID, TURN_START_EVENT_VERSION, thinkingLevelSelectEventDefinition, toolExecutionStartEventDefinition, turnEndEventDefinition, turnStartEventDefinition, UI_PROMPT_END_EVENT_ID, UI_PROMPT_END_EVENT_VERSION, UI_PROMPT_START_EVENT_ID, UI_PROMPT_START_EVENT_VERSION, USER_BASH_EVENT_ID, USER_BASH_EVENT_VERSION, uiPromptEndEventDefinition, uiPromptStartEventDefinition, userBashEventDefinition, validateAgentEndEventDataV1, validateAgentLifecycleEventDataV1, validateBeforeAgentStartEventDataV1, validateBeforeAgentStartEventDataV2, validateCapabilityCallEventDataV1, validateContextAssembledEventDataV1, validateInputReceivedEventDataV1, validateMessageBoundaryEventDataV1, validateModelResponseEventDataV1, validateModelSelectEventDataV1, validateModelStreamEventDataV1, validateOperationCancelEventDataV1, validateOperationEndEventDataV1, validateOperationStartEventDataV1, validateOperationStepEventDataV1, validatePluginDisposeEventDataV1, validatePluginReadyEventDataV1, validateResourcesDiscoverEventDataV1, validateResourcesDiscoverEventDataV2, validateSessionCompactionCommitEventDataV1, validateSessionContextReplacedEventDataV1, validateSessionEntryAppendedEventDataV1, validateSessionInfoChangedEventDataV1, validateSessionReloadEventDataV1, validateSessionStartEventDataV1, validateThinkingLevelSelectEventDataV1, validateToolCallEventDataV1, validateToolCommitEventDataV1, validateToolExecuteEventDataV1, validateToolExecutionStartEventDataV1, validateToolResultEventDataV1, validateToolResultRawEventDataV1, validateToolResultTransformEventDataV1, validateTurnEndEventDataV1, validateTurnStartEventDataV1, validateUIPromptBoundaryEventDataV1, validateUserBashEventDataV1, } from "./bootstrap-lifecycle.js";
11
- export { BOOTSTRAP_OVERFLOW_PLUGIN_ID, DEFAULT_OVERFLOW_POLICY_NAME, installBootstrapOverflowPolicy, } from "./bootstrap-overflow-policy.js";
12
- export { BOOTSTRAP_RETRY_PLUGIN_ID, DEFAULT_RETRY_POLICY_NAME, installBootstrapRetryPolicy, } from "./bootstrap-retry-policy.js";
13
21
  export { BOOTSTRAP_SKILLS_PLUGIN_ID, installSessionBootstrapSkills, refreshSessionBootstrapSkills, SKILL_CONTRIBUTION_POINT_ID, SKILL_CONTRIBUTION_POINT_VERSION, } from "./bootstrap-skills.js";
14
- export { BOOTSTRAP_TOOLS_PLUGIN_ID, installBootstrapTools, installSessionBootstrapTools, } from "./bootstrap-tools.js";
15
22
  export { discoverCapabilityPluginManifests, loadCapabilityPlugin, loadCapabilityPluginFromManifest, loadCapabilityPluginSync, parseCapabilityPluginManifest, } from "./capability-plugin.js";
16
23
  export { createCapabilityRuntime, resolvePluginCapabilityOrder, validateExecutionFactsV1, validateRetryScheduleV1, } from "./capability-runtime.js";
17
24
  export { AGENT_TASK_CHILD_PROFILE_KEY, AGENT_TASK_PARENT_SESSION_KEY, AGENT_TASK_PARENT_TRACE_KEY, AGENT_TASK_RESUME_SESSION_KEY, createDisposableRegistration, createEventEnvelope, EXPERIMENTAL_PUBLIC_API_VERSION, LifecycleExecuteError, LifecycleTransformError, parseAgentTaskChildProfileV1, readAgentTaskChildProfileV1, SUMMARY_MODEL_INVOCATION_ERROR_CODES, } from "./public-api.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/extensions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAMN,uBAAuB,EAEvB,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,8BAA8B,EAC9B,8BAA8B,EAC9B,yBAAyB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACN,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,GACnC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,GAChC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACN,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EAGzB,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EAGnC,6BAA6B,EAC7B,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAI7B,0BAA0B,EAC1B,+BAA+B,EAE/B,+BAA+B,EAC/B,uBAAuB,EACvB,4BAA4B,EAE5B,4BAA4B,EAC5B,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,EACtB,2BAA2B,EAE3B,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,0BAA0B,EAK1B,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,wBAAwB,EACxB,6BAA6B,EAC7B,uBAAuB,EACvB,4BAA4B,EAK5B,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAG1B,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EAGnC,gC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BAA0B,EAC1B,4BAA4B,EAC5B,mCAAmC,EACnC,2BAA2B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACN,4BAA4B,EAC5B,4BAA4B,EAC5B,8BAA8B,GAC9B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACN,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,GAC3B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,0BAA0B,EAE1B,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,yBAAyB,EAEzB,qBAAqB,EACrB,4BAA4B,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAON,iCAAiC,EACjC,oBAAoB,EACpB,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,uBAAuB,EACvB,4BAA4B,EAC5B,wBAAwB,EACxB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACN,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAmF7B,4BAA4B,EAC5B,mBAAmB,EAOnB,+BAA+B,EAwB/B,qBAAqB,EAKrB,uBAAuB,EA6BvB,4BAA4B,EAW5B,2BAA2B,EAc3B,oCAAoC,GAKpC,MAAM,iBAAiB,CAAC","sourcesContent":["/**\n * Capability plugin system: public API contracts, lifecycle catalog,\n * bootstrap plugins, and the capability runtime.\n */\n\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"../tools/tool-definition.ts\";\nexport { defineTool } from \"../tools/tool-definition.ts\";\nexport {\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\tcreateAgentCompositionRuntime,\n} from \"./agent-composition.ts\";\nexport {\n\ttype AgentLoopWiringV1,\n\tBOOTSTRAP_AGENT_LOOP_PLUGIN_ID,\n\tDEFAULT_RUN_LOOP_STRATEGY_NAME,\n\tinstallBootstrapAgentLoop,\n} from \"./bootstrap-agent-loop.ts\";\nexport {\n\tBOOTSTRAP_BRANCH_SUMMARY_PLUGIN_ID,\n\tDEFAULT_BRANCH_SUMMARY_POLICY_NAME,\n\tinstallBootstrapBranchSummaryPolicy,\n} from \"./bootstrap-branch-summary-policy.ts\";\nexport {\n\tBOOTSTRAP_COMPACTION_PLUGIN_ID,\n\tDEFAULT_COMPACTION_POLICY_NAME,\n\tinstallBootstrapCompactionPolicy,\n} from \"./bootstrap-compaction-policy.ts\";\nexport {\n\tAGENT_END_EVENT_ID,\n\tAGENT_END_EVENT_VERSION,\n\tAGENT_SETTLED_EVENT_ID,\n\tAGENT_SETTLED_EVENT_VERSION,\n\tAGENT_START_EVENT_ID,\n\tAGENT_START_EVENT_VERSION,\n\ttype AgentEndEventDataV1,\n\ttype AgentLifecycleEventDataV1,\n\tagentEndEventDefinition,\n\tagentSettledEventDefinition,\n\tagentStartEventDefinition,\n\tBEFORE_AGENT_START_EVENT_ID,\n\tBEFORE_AGENT_START_EVENT_VERSION,\n\tBEFORE_AGENT_START_EVENT_VERSION_V2,\n\ttype BeforeAgentStartEventDataV1,\n\ttype BeforeAgentStartEventDataV2,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tbeforeAgentStartEventDefinition,\n\tbeforeAgentStartV2EventDefinition,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\tCONTEXT_ASSEMBLED_EVENT_ID,\n\tCONTEXT_ASSEMBLED_EVENT_VERSION,\n\ttype ContextAssembledEventDataV1,\n\tcontextAssembledEventDefinition,\n\tINPUT_RECEIVED_EVENT_ID,\n\tINPUT_RECEIVED_EVENT_VERSION,\n\ttype InputReceivedEventDataV1,\n\tinputReceivedEventDefinition,\n\tinstallBootstrapLifecycle,\n\tMESSAGE_END_EVENT_ID,\n\tMESSAGE_END_EVENT_VERSION,\n\tMESSAGE_START_EVENT_ID,\n\tMESSAGE_START_EVENT_VERSION,\n\ttype MessageBoundaryEventDataV1,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_SELECT_EVENT_ID,\n\tMODEL_SELECT_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelSelectEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tmodelSelectEventDefinition,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationStartEventDataV1,\n\ttype OperationStepEventDataV1,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginReadyEventDataV1,\n\tRESOURCES_DISCOVER_EVENT_ID,\n\tRESOURCES_DISCOVER_EVENT_VERSION,\n\tRESOURCES_DISCOVER_EVENT_VERSION_V2,\n\ttype ResourcesDiscoverEventDataV1,\n\ttype ResourcesDiscoverEventDataV2,\n\tresourcesDiscoverEventDefinition,\n\tresourcesDiscoverV2EventDefinition,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_ENTRY_APPENDED_EVENT_ID,\n\tSESSION_ENTRY_APPENDED_EVENT_VERSION,\n\tSESSION_INFO_CHANGED_EVENT_ID,\n\tSESSION_INFO_CHANGED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\tSESSION_START_EVENT_ID,\n\tSESSION_START_EVENT_VERSION,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryAppendedEventDataV1,\n\ttype SessionInfoChangedEventDataV1,\n\ttype SessionReloadEventDataV1,\n\ttype SessionStartEventDataV1,\n\tsessionEntryAppendedEventDefinition,\n\tsessionInfoChangedEventDefinition,\n\tsessionStartEventDefinition,\n\tTHINKING_LEVEL_SELECT_EVENT_ID,\n\tTHINKING_LEVEL_SELECT_EVENT_VERSION,\n\ttype ThinkingLevelSelectEventDataV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_EXECUTION_START_EVENT_ID,\n\tTOOL_EXECUTION_START_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolExecutionStartEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tTURN_END_EVENT_ID,\n\tTURN_END_EVENT_VERSION,\n\tTURN_START_EVENT_ID,\n\tTURN_START_EVENT_VERSION,\n\ttype TurnEndEventDataV1,\n\ttype TurnStartEventDataV1,\n\tthinkingLevelSelectEventDefinition,\n\ttoolExecutionStartEventDefinition,\n\tturnEndEventDefinition,\n\tturnStartEventDefinition,\n\tUI_PROMPT_END_EVENT_ID,\n\tUI_PROMPT_END_EVENT_VERSION,\n\tUI_PROMPT_START_EVENT_ID,\n\tUI_PROMPT_START_EVENT_VERSION,\n\ttype UIPromptBoundaryEventDataV1,\n\tUSER_BASH_EVENT_ID,\n\tUSER_BASH_EVENT_VERSION,\n\ttype UserBashEventDataV1,\n\tuiPromptEndEventDefinition,\n\tuiPromptStartEventDefinition,\n\tuserBashEventDefinition,\n\tvalidateAgentEndEventDataV1,\n\tvalidateAgentLifecycleEventDataV1,\n\tvalidateBeforeAgentStartEventDataV1,\n\tvalidateBeforeAgentStartEventDataV2,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateContextAssembledEventDataV1,\n\tvalidateInputReceivedEventDataV1,\n\tvalidateMessageBoundaryEventDataV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelSelectEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateResourcesDiscoverEventDataV1,\n\tvalidateResourcesDiscoverEventDataV2,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionEntryAppendedEventDataV1,\n\tvalidateSessionInfoChangedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateSessionStartEventDataV1,\n\tvalidateThinkingLevelSelectEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolExecutionStartEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n\tvalidateTurnEndEventDataV1,\n\tvalidateTurnStartEventDataV1,\n\tvalidateUIPromptBoundaryEventDataV1,\n\tvalidateUserBashEventDataV1,\n} from \"./bootstrap-lifecycle.ts\";\nexport {\n\tBOOTSTRAP_OVERFLOW_PLUGIN_ID,\n\tDEFAULT_OVERFLOW_POLICY_NAME,\n\tinstallBootstrapOverflowPolicy,\n} from \"./bootstrap-overflow-policy.ts\";\nexport {\n\tBOOTSTRAP_RETRY_PLUGIN_ID,\n\tDEFAULT_RETRY_POLICY_NAME,\n\tinstallBootstrapRetryPolicy,\n} from \"./bootstrap-retry-policy.ts\";\nexport {\n\tBOOTSTRAP_SKILLS_PLUGIN_ID,\n\ttype BootstrapSkillsOptions,\n\tinstallSessionBootstrapSkills,\n\trefreshSessionBootstrapSkills,\n\tSKILL_CONTRIBUTION_POINT_ID,\n\tSKILL_CONTRIBUTION_POINT_VERSION,\n} from \"./bootstrap-skills.ts\";\nexport {\n\tBOOTSTRAP_TOOLS_PLUGIN_ID,\n\ttype BootstrapToolsOptions,\n\tinstallBootstrapTools,\n\tinstallSessionBootstrapTools,\n} from \"./bootstrap-tools.ts\";\nexport {\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\tdiscoverCapabilityPluginManifests,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tparseCapabilityPluginManifest,\n} from \"./capability-plugin.ts\";\nexport {\n\ttype CapabilityRuntime,\n\tcreateCapabilityRuntime,\n\tresolvePluginCapabilityOrder,\n\tvalidateExecutionFactsV1,\n\tvalidateRetryScheduleV1,\n} from \"./capability-runtime.ts\";\nexport {\n\tAGENT_TASK_CHILD_PROFILE_KEY,\n\tAGENT_TASK_PARENT_SESSION_KEY,\n\tAGENT_TASK_PARENT_TRACE_KEY,\n\tAGENT_TASK_RESUME_SESSION_KEY,\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentLoopAfterToolCallHookV1,\n\ttype AgentLoopAfterToolCallInputV1,\n\ttype AgentLoopBeforeToolCallHookV1,\n\ttype AgentLoopBeforeToolCallInputV1,\n\ttype AgentLoopBeforeToolCallOutputV1,\n\ttype AgentLoopHookForV1,\n\ttype AgentLoopHookHandlerV1,\n\ttype AgentLoopHookPositionV1,\n\ttype AgentLoopPrepareNextTurnHookV1,\n\ttype AgentLoopTransformContextHookV1,\n\ttype AgentOperationFacadeV1,\n\ttype AgentRunLoopStrategyDecisionV1,\n\ttype AgentRunLoopStrategyRequestV1,\n\ttype AgentRunLoopStrategyV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskChildProfileParseResultV1,\n\ttype AgentTaskChildProfileV1,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskSessionSummaryV1,\n\ttype AgentTaskSessionViewV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\ttype BranchSummaryPolicy,\n\ttype BranchSummaryRequest,\n\ttype BranchSummaryResult,\n\ttype CapabilityAPI,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityProviderHandler,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionContextUsage,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionPreparationRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextOperationOptions,\n\ttype ContextStrategy,\n\ttype ContextUsage,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\ttype InteractionAPI,\n\ttype InteractionDialogOptions,\n\ttype InteractionHostV1,\n\ttype InteractionNotifyLevel,\n\ttype InteractionOutcomeV1,\n\ttype InteractionPromptContextV1,\n\ttype InteractionRequestV1,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStatus,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\ttype OverflowPolicy,\n\ttype OverflowPolicyDecision,\n\ttype OverflowPolicyRequest,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginManifest,\n\ttype PluginRejection,\n\ttype PluginRejectionCode,\n\ttype PolicyInvocationContextV1,\n\ttype PromptOutcome,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseAgentTaskChildProfileV1,\n\ttype RetryClassificationRequest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\treadAgentTaskChildProfileV1,\n\ttype SessionAPI,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionRevisionV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\ttype StreamFnNext,\n\ttype StreamFnWrapper,\n\ttype StreamFnWrapperHostV1,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n} from \"./public-api.ts\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/extensions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAMN,uBAAuB,EAEvB,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,8BAA8B,EAC9B,8BAA8B,EAC9B,yBAAyB,GACzB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,SAAS,CAAC;AAC5D,MAAM,CAAC,MAAM,8BAA8B,GAAG,SAAS,CAAC;AACxD,MAAM,CAAC,MAAM,4BAA4B,GAAG,SAAS,CAAC;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAG,SAAS,CAAC;AACnD,OAAO,EACN,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EAGzB,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EAGnC,6BAA6B,EAC7B,+BAA+B,EAC/B,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAI7B,0BAA0B,EAC1B,+BAA+B,EAE/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AiC,EACjC,mCAAmC,EACnC,mCAAmC,EACnC,iCAAiC,EACjC,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,gCAAgC,EAChC,8BAA8B,EAC9B,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EACjC,gCAAgC,EAChC,gCAAgC,EAChC,8BAA8B,EAC9B,oCAAoC,EACpC,oCAAoC,EACpC,0CAA0C,EAC1C,yCAAyC,EACzC,uCAAuC,EACvC,qCAAqC,EACrC,gCAAgC,EAChC,+BAA+B,EAC/B,sCAAsC,EACtC,2BAA2B,EAC3B,6BAA6B,EAC7B,8BAA8B,EAC9B,qCAAqC,EACrC,6BAA6B,EAC7B,gCAAgC,EAChC,sCAAsC,EACtC,0BAA0B,EAC1B,4BAA4B,EAC5B,mCAAmC,EACnC,2BAA2B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACN,0BAA0B,EAE1B,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,gCAAgC,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAON,iCAAiC,EACjC,oBAAoB,EACpB,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,uBAAuB,EACvB,4BAA4B,EAC5B,wBAAwB,EACxB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACN,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAmF7B,4BAA4B,EAC5B,mBAAmB,EAOnB,+BAA+B,EAwB/B,qBAAqB,EAKrB,uBAAuB,EA6BvB,4BAA4B,EAW5B,2BAA2B,EAc3B,oCAAoC,GAKpC,MAAM,iBAAiB,CAAC","sourcesContent":["/**\n * Capability plugin system: public API contracts, lifecycle catalog,\n * bootstrap plugins, and the capability runtime.\n */\n\nexport type {\n\tToolDefinition,\n\tToolExecuteContext,\n\tToolInfo,\n\tToolRenderContext,\n\tToolRenderResultOptions,\n} from \"../tools/tool-definition.ts\";\nexport { defineTool } from \"../tools/tool-definition.ts\";\nexport {\n\ttype AgentCompositionLifecycleBinding,\n\ttype AgentCompositionLifecycleDispatcher,\n\ttype AgentCompositionLifecycleEvent,\n\ttype AgentCompositionLifecycleEventName,\n\ttype AgentCompositionLifecycleTerminalStatus,\n\tAgentCompositionRuntime,\n\ttype AgentCompositionRuntimeOptions,\n\tcreateAgentCompositionRuntime,\n} from \"./agent-composition.ts\";\nexport {\n\ttype AgentLoopWiringV1,\n\tBOOTSTRAP_AGENT_LOOP_PLUGIN_ID,\n\tDEFAULT_RUN_LOOP_STRATEGY_NAME,\n\tinstallBootstrapAgentLoop,\n} from \"./bootstrap-agent-loop.ts\";\n\n/**\n * 默认策略名(D-082 批 3):四个内嵌默认策略(retry / overflow / compaction /\n * branch summary)的安装器已退役为 bundled 插件包\n * (`agent-forge.plugin.retry-policy` / `agent-forge.plugin.overflow-policy` /\n * `agent-forge.plugin.compaction-policy`,branch summary 随 compaction 包),\n * 会话的缺省策略名解析仍由宿主持有——四个名字逐字等于退役内嵌实现的注册名,\n * 第三方同名注册即可替换。\n */\nexport const DEFAULT_BRANCH_SUMMARY_POLICY_NAME = \"default\";\nexport const DEFAULT_COMPACTION_POLICY_NAME = \"default\";\nexport const DEFAULT_OVERFLOW_POLICY_NAME = \"default\";\nexport const DEFAULT_RETRY_POLICY_NAME = \"default\";\nexport {\n\tAGENT_END_EVENT_ID,\n\tAGENT_END_EVENT_VERSION,\n\tAGENT_SETTLED_EVENT_ID,\n\tAGENT_SETTLED_EVENT_VERSION,\n\tAGENT_START_EVENT_ID,\n\tAGENT_START_EVENT_VERSION,\n\ttype AgentEndEventDataV1,\n\ttype AgentLifecycleEventDataV1,\n\tagentEndEventDefinition,\n\tagentSettledEventDefinition,\n\tagentStartEventDefinition,\n\tBEFORE_AGENT_START_EVENT_ID,\n\tBEFORE_AGENT_START_EVENT_VERSION,\n\tBEFORE_AGENT_START_EVENT_VERSION_V2,\n\ttype BeforeAgentStartEventDataV1,\n\ttype BeforeAgentStartEventDataV2,\n\tBOOTSTRAP_LIFECYCLE_PLUGIN_ID,\n\tbeforeAgentStartEventDefinition,\n\tbeforeAgentStartV2EventDefinition,\n\tCAPABILITY_CALL_EVENT_ID,\n\tCAPABILITY_CALL_EVENT_VERSION,\n\ttype CapabilityCallEventDataV1,\n\ttype CapabilityCallEventNameV1,\n\ttype CapabilityCallStatusV1,\n\tCONTEXT_ASSEMBLED_EVENT_ID,\n\tCONTEXT_ASSEMBLED_EVENT_VERSION,\n\ttype ContextAssembledEventDataV1,\n\tcontextAssembledEventDefinition,\n\tINPUT_RECEIVED_EVENT_ID,\n\tINPUT_RECEIVED_EVENT_VERSION,\n\ttype InputReceivedEventDataV1,\n\tinputReceivedEventDefinition,\n\tinstallBootstrapLifecycle,\n\tMESSAGE_END_EVENT_ID,\n\tMESSAGE_END_EVENT_VERSION,\n\tMESSAGE_START_EVENT_ID,\n\tMESSAGE_START_EVENT_VERSION,\n\ttype MessageBoundaryEventDataV1,\n\tMODEL_RESPONSE_EVENT_ID,\n\tMODEL_RESPONSE_EVENT_VERSION,\n\tMODEL_SELECT_EVENT_ID,\n\tMODEL_SELECT_EVENT_VERSION,\n\tMODEL_STREAM_EVENT_ID,\n\tMODEL_STREAM_EVENT_VERSION,\n\ttype ModelResponseEventDataV1,\n\ttype ModelSelectEventDataV1,\n\ttype ModelStreamEventDataV1,\n\ttype ModelStreamEventNameV1,\n\tmodelSelectEventDefinition,\n\tOPERATION_CANCEL_EVENT_ID,\n\tOPERATION_CANCEL_EVENT_VERSION,\n\tOPERATION_END_EVENT_ID,\n\tOPERATION_END_EVENT_VERSION,\n\tOPERATION_START_EVENT_ID,\n\tOPERATION_START_EVENT_VERSION,\n\tOPERATION_STEP_EVENT_ID,\n\tOPERATION_STEP_EVENT_VERSION,\n\ttype OperationCancelEventDataV1,\n\ttype OperationEndEventDataV1,\n\ttype OperationStartEventDataV1,\n\ttype OperationStepEventDataV1,\n\tPLUGIN_DISPOSE_EVENT_ID,\n\tPLUGIN_DISPOSE_EVENT_VERSION,\n\tPLUGIN_READY_EVENT_ID,\n\tPLUGIN_READY_EVENT_VERSION,\n\ttype PluginDisposeEventDataV1,\n\ttype PluginReadyEventDataV1,\n\tRESOURCES_DISCOVER_EVENT_ID,\n\tRESOURCES_DISCOVER_EVENT_VERSION,\n\tRESOURCES_DISCOVER_EVENT_VERSION_V2,\n\ttype ResourcesDiscoverEventDataV1,\n\ttype ResourcesDiscoverEventDataV2,\n\tresourcesDiscoverEventDefinition,\n\tresourcesDiscoverV2EventDefinition,\n\tSESSION_COMPACTION_COMMIT_EVENT_ID,\n\tSESSION_COMPACTION_COMMIT_EVENT_VERSION,\n\tSESSION_CONTEXT_REPLACED_EVENT_ID,\n\tSESSION_CONTEXT_REPLACED_EVENT_VERSION,\n\tSESSION_ENTRY_APPENDED_EVENT_ID,\n\tSESSION_ENTRY_APPENDED_EVENT_VERSION,\n\tSESSION_INFO_CHANGED_EVENT_ID,\n\tSESSION_INFO_CHANGED_EVENT_VERSION,\n\tSESSION_RELOAD_EVENT_ID,\n\tSESSION_RELOAD_EVENT_VERSION,\n\tSESSION_START_EVENT_ID,\n\tSESSION_START_EVENT_VERSION,\n\ttype SessionCompactionCommitEventDataV1,\n\ttype SessionContextReplacedEventDataV1,\n\ttype SessionEntryAppendedEventDataV1,\n\ttype SessionInfoChangedEventDataV1,\n\ttype SessionReloadEventDataV1,\n\ttype SessionStartEventDataV1,\n\tsessionEntryAppendedEventDefinition,\n\tsessionInfoChangedEventDefinition,\n\tsessionStartEventDefinition,\n\tTHINKING_LEVEL_SELECT_EVENT_ID,\n\tTHINKING_LEVEL_SELECT_EVENT_VERSION,\n\ttype ThinkingLevelSelectEventDataV1,\n\tTOOL_CALL_EVENT_ID,\n\tTOOL_CALL_EVENT_VERSION,\n\tTOOL_COMMIT_EVENT_ID,\n\tTOOL_COMMIT_EVENT_VERSION,\n\tTOOL_EXECUTE_EVENT_ID,\n\tTOOL_EXECUTE_EVENT_VERSION,\n\tTOOL_EXECUTION_START_EVENT_ID,\n\tTOOL_EXECUTION_START_EVENT_VERSION,\n\tTOOL_RESULT_EVENT_ID,\n\tTOOL_RESULT_EVENT_VERSION,\n\tTOOL_RESULT_RAW_EVENT_ID,\n\tTOOL_RESULT_RAW_EVENT_VERSION,\n\tTOOL_RESULT_TRANSFORM_EVENT_ID,\n\tTOOL_RESULT_TRANSFORM_EVENT_VERSION,\n\ttype ToolCallEventDataV1,\n\ttype ToolCommitEventDataV1,\n\ttype ToolExecuteEventDataV1,\n\ttype ToolExecutionStartEventDataV1,\n\ttype ToolResultEventDataV1,\n\ttype ToolResultRawEventDataV1,\n\ttype ToolResultTransformEventDataV1,\n\tTURN_END_EVENT_ID,\n\tTURN_END_EVENT_VERSION,\n\tTURN_START_EVENT_ID,\n\tTURN_START_EVENT_VERSION,\n\ttype TurnEndEventDataV1,\n\ttype TurnStartEventDataV1,\n\tthinkingLevelSelectEventDefinition,\n\ttoolExecutionStartEventDefinition,\n\tturnEndEventDefinition,\n\tturnStartEventDefinition,\n\tUI_PROMPT_END_EVENT_ID,\n\tUI_PROMPT_END_EVENT_VERSION,\n\tUI_PROMPT_START_EVENT_ID,\n\tUI_PROMPT_START_EVENT_VERSION,\n\ttype UIPromptBoundaryEventDataV1,\n\tUSER_BASH_EVENT_ID,\n\tUSER_BASH_EVENT_VERSION,\n\ttype UserBashEventDataV1,\n\tuiPromptEndEventDefinition,\n\tuiPromptStartEventDefinition,\n\tuserBashEventDefinition,\n\tvalidateAgentEndEventDataV1,\n\tvalidateAgentLifecycleEventDataV1,\n\tvalidateBeforeAgentStartEventDataV1,\n\tvalidateBeforeAgentStartEventDataV2,\n\tvalidateCapabilityCallEventDataV1,\n\tvalidateContextAssembledEventDataV1,\n\tvalidateInputReceivedEventDataV1,\n\tvalidateMessageBoundaryEventDataV1,\n\tvalidateModelResponseEventDataV1,\n\tvalidateModelSelectEventDataV1,\n\tvalidateModelStreamEventDataV1,\n\tvalidateOperationCancelEventDataV1,\n\tvalidateOperationEndEventDataV1,\n\tvalidateOperationStartEventDataV1,\n\tvalidateOperationStepEventDataV1,\n\tvalidatePluginDisposeEventDataV1,\n\tvalidatePluginReadyEventDataV1,\n\tvalidateResourcesDiscoverEventDataV1,\n\tvalidateResourcesDiscoverEventDataV2,\n\tvalidateSessionCompactionCommitEventDataV1,\n\tvalidateSessionContextReplacedEventDataV1,\n\tvalidateSessionEntryAppendedEventDataV1,\n\tvalidateSessionInfoChangedEventDataV1,\n\tvalidateSessionReloadEventDataV1,\n\tvalidateSessionStartEventDataV1,\n\tvalidateThinkingLevelSelectEventDataV1,\n\tvalidateToolCallEventDataV1,\n\tvalidateToolCommitEventDataV1,\n\tvalidateToolExecuteEventDataV1,\n\tvalidateToolExecutionStartEventDataV1,\n\tvalidateToolResultEventDataV1,\n\tvalidateToolResultRawEventDataV1,\n\tvalidateToolResultTransformEventDataV1,\n\tvalidateTurnEndEventDataV1,\n\tvalidateTurnStartEventDataV1,\n\tvalidateUIPromptBoundaryEventDataV1,\n\tvalidateUserBashEventDataV1,\n} from \"./bootstrap-lifecycle.ts\";\nexport {\n\tBOOTSTRAP_SKILLS_PLUGIN_ID,\n\ttype BootstrapSkillsOptions,\n\tinstallSessionBootstrapSkills,\n\trefreshSessionBootstrapSkills,\n\tSKILL_CONTRIBUTION_POINT_ID,\n\tSKILL_CONTRIBUTION_POINT_VERSION,\n} from \"./bootstrap-skills.ts\";\nexport {\n\ttype CapabilityPluginFactory,\n\ttype CapabilityPluginFactoryResult,\n\ttype CapabilityPluginHandle,\n\ttype CapabilityPluginInstance,\n\ttype CapabilityPluginSyncFactory,\n\ttype CapabilityPluginSyncInstance,\n\tdiscoverCapabilityPluginManifests,\n\tloadCapabilityPlugin,\n\tloadCapabilityPluginFromManifest,\n\tloadCapabilityPluginSync,\n\tparseCapabilityPluginManifest,\n} from \"./capability-plugin.ts\";\nexport {\n\ttype CapabilityRuntime,\n\tcreateCapabilityRuntime,\n\tresolvePluginCapabilityOrder,\n\tvalidateExecutionFactsV1,\n\tvalidateRetryScheduleV1,\n} from \"./capability-runtime.ts\";\nexport {\n\tAGENT_TASK_CHILD_PROFILE_KEY,\n\tAGENT_TASK_PARENT_SESSION_KEY,\n\tAGENT_TASK_PARENT_TRACE_KEY,\n\tAGENT_TASK_RESUME_SESSION_KEY,\n\ttype AgentCompositionAPI,\n\ttype AgentCompositionDefinitionBinding,\n\ttype AgentCompositionHostBinding,\n\ttype AgentCompositionScopedHostBinding,\n\ttype AgentContextCommitRequestV1,\n\ttype AgentContextCommitResultV1,\n\ttype AgentContextFacadeV1,\n\ttype AgentContextSnapshotV1,\n\ttype AgentControllerLease,\n\ttype AgentControllerRole,\n\ttype AgentDefinition,\n\ttype AgentDefinitionDeclaration,\n\ttype AgentExecutionContext,\n\ttype AgentHostPrimitivesFactory,\n\ttype AgentHostPrimitivesFactoryContext,\n\ttype AgentHostPrimitivesV1,\n\ttype AgentInstance,\n\ttype AgentInstanceResult,\n\ttype AgentInstanceSnapshot,\n\ttype AgentInstanceStatus,\n\ttype AgentLoopAfterToolCallHookV1,\n\ttype AgentLoopAfterToolCallInputV1,\n\ttype AgentLoopBeforeToolCallHookV1,\n\ttype AgentLoopBeforeToolCallInputV1,\n\ttype AgentLoopBeforeToolCallOutputV1,\n\ttype AgentLoopHookForV1,\n\ttype AgentLoopHookHandlerV1,\n\ttype AgentLoopHookPositionV1,\n\ttype AgentLoopPrepareNextTurnHookV1,\n\ttype AgentLoopTransformContextHookV1,\n\ttype AgentOperationFacadeV1,\n\ttype AgentRunLoopStrategyDecisionV1,\n\ttype AgentRunLoopStrategyRequestV1,\n\ttype AgentRunLoopStrategyV1,\n\ttype AgentSessionFacadeV1,\n\ttype AgentTaskAdapter,\n\ttype AgentTaskAPI,\n\ttype AgentTaskChildProfileParseResultV1,\n\ttype AgentTaskChildProfileV1,\n\ttype AgentTaskCreateRequest,\n\ttype AgentTaskHandle,\n\ttype AgentTaskHost,\n\ttype AgentTaskResultV1,\n\ttype AgentTaskSessionSummaryV1,\n\ttype AgentTaskSessionViewV1,\n\ttype AgentTaskStatus,\n\ttype AgentTaskWaitResult,\n\ttype BranchSummaryPolicy,\n\ttype BranchSummaryRequest,\n\ttype BranchSummaryResult,\n\ttype CapabilityAPI,\n\ttype CapabilityCommandContext,\n\ttype CapabilityCommandDefinition,\n\ttype CapabilityCommandLink,\n\ttype CapabilityCommandResult,\n\ttype CapabilityDirectoryAPI,\n\ttype CapabilityHandle,\n\ttype CapabilityProviderHandler,\n\ttype CompactionCommitAppliedV1,\n\ttype CompactionCommitRequestV1,\n\ttype CompactionCommitResultV1,\n\ttype CompactionCommitRevisionConflictV1,\n\ttype CompactionContextUsage,\n\ttype CompactionPolicy,\n\ttype CompactionPolicyDecision,\n\ttype CompactionPolicyRequest,\n\ttype CompactionPreparationRequest,\n\ttype CompactionSummaryRequest,\n\ttype CompactionSummaryResult,\n\ttype ContextOperationOptions,\n\ttype ContextStrategy,\n\ttype ContextUsage,\n\ttype ContributionAPI,\n\ttype ContributionChangeEvent,\n\ttype ContributionEntry,\n\ttype ContributionHandle,\n\ttype ContributionLifecycle,\n\ttype ContributionPoint,\n\ttype ContributionPointDefinition,\n\ttype CredentialAPI,\n\ttype CredentialResolution,\n\ttype CredentialResolveRequest,\n\tcreateDisposableRegistration,\n\tcreateEventEnvelope,\n\ttype DiagnosticsAPI,\n\ttype DiagnosticsSpan,\n\ttype DiagnosticsSpanEnd,\n\ttype DiagnosticsSpanSnapshot,\n\ttype DisposableRegistration,\n\ttype EventEnvelope,\n\tEXPERIMENTAL_PUBLIC_API_VERSION,\n\ttype ExecutionFactsV1,\n\ttype ExecutionPhaseV1,\n\ttype HostCapabilities,\n\ttype HostMode,\n\ttype InteractionAPI,\n\ttype InteractionDialogOptions,\n\ttype InteractionHostV1,\n\ttype InteractionNotifyLevel,\n\ttype InteractionOutcomeV1,\n\ttype InteractionPromptContextV1,\n\ttype InteractionRequestV1,\n\ttype LifecycleAfterCommitHandler,\n\ttype LifecycleAPI,\n\ttype LifecycleDeliveryFailure,\n\ttype LifecycleDeliveryMode,\n\ttype LifecycleDeliveryOptions,\n\ttype LifecycleDeliveryReport,\n\ttype LifecycleDeliverySnapshot,\n\ttype LifecycleDispatchRequest,\n\ttype LifecycleDispatchResult,\n\ttype LifecycleEvent,\n\ttype LifecycleEventDefinition,\n\ttype LifecycleEventReference,\n\tLifecycleExecuteError,\n\ttype LifecycleExecuteHandler,\n\ttype LifecycleObserveHandler,\n\ttype LifecyclePhase,\n\ttype LifecycleRegistrationKind,\n\tLifecycleTransformError,\n\ttype LifecycleTransformHandler,\n\ttype LoggerAPI,\n\ttype LoggerLevel,\n\ttype LoggerRecord,\n\ttype OperationExecutionContext,\n\ttype OperationHandle,\n\ttype OperationProgress,\n\ttype OperationStatus,\n\ttype OutputArtifactAPI,\n\ttype OutputArtifactChunk,\n\ttype OutputArtifactErrorCode,\n\ttype OutputArtifactPutInput,\n\ttype OutputArtifactRef,\n\ttype OverflowPolicy,\n\ttype OverflowPolicyDecision,\n\ttype OverflowPolicyRequest,\n\ttype PluginAgentRole,\n\ttype PluginCapabilityDeclaration,\n\ttype PluginCapabilityRequirement,\n\ttype PluginConfig,\n\ttype PluginConfigValue,\n\ttype PluginManifest,\n\ttype PluginRejection,\n\ttype PluginRejectionCode,\n\ttype PolicyInvocationContextV1,\n\ttype PromptOutcome,\n\ttype ProviderHeaderTransform,\n\ttype ProviderHeaderTransformRequest,\n\tparseAgentTaskChildProfileV1,\n\ttype RetryClassificationRequest,\n\ttype RetryPolicy,\n\ttype RetryPolicyDecision,\n\ttype RetryPolicyRequest,\n\ttype RetryScheduleV1,\n\ttype RuntimeInspectorAPI,\n\ttype RuntimeInspectorErrorSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryFailureSnapshot,\n\ttype RuntimeInspectorLifecycleDeliveryReportSnapshot,\n\ttype RuntimeInspectorSnapshot,\n\treadAgentTaskChildProfileV1,\n\ttype SessionAPI,\n\ttype SessionEntryView,\n\ttype SessionExportArtifact,\n\ttype SessionExportRequest,\n\ttype SessionRevisionV1,\n\ttype SkillDefinition,\n\ttype StateAPI,\n\ttype StateChange,\n\ttype StateEntry,\n\ttype StateSetOptions,\n\ttype StreamFnNext,\n\ttype StreamFnWrapper,\n\ttype StreamFnWrapperHostV1,\n\tSUMMARY_MODEL_INVOCATION_ERROR_CODES,\n\ttype SummaryModelFactsV1,\n\ttype SummaryModelInvocationRequestV1,\n\ttype SummaryModelInvocationResultV1,\n\ttype SummaryModelInvocationV1,\n} from \"./public-api.ts\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"virtual-modules.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/virtual-modules.ts"],"names":[],"mappings":"AAiBA,kFAAkF;AAClF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAanD,CAAC","sourcesContent":["// Virtual modules the host supplies to installed capability plugins through\n// jiti: install-store copies ship no node_modules (npm tarballs never include\n// dependencies), so their bare imports resolve against the host's own copies.\n// The imports below MUST stay static so the Node bundle and the Bun binary\n// embed the modules; the file itself is loaded lazily by capability-plugin.ts\n// (upstream pi 40c256ccc parity) so importing the loader costs nothing until\n// the first plugin load.\nimport * as pluginSdk from \"@agent-forge/plugin-sdk\";\nimport * as pluginSdkSessionLineage from \"@agent-forge/plugin-sdk/session-lineage\";\nimport * as protocolSubagent from \"@agent-forge/protocol/subagent\";\nimport * as typebox from \"typebox\";\nimport * as typeboxValue from \"typebox/value\";\n// Same undici copy the http-dispatcher already bundles: plugin packages\n// declare it pinned but installed tarballs carry no node_modules, so the\n// image-generation plugin's proxy-aware fetch resolves to this namespace.\nimport * as undici from \"undici\";\n\n/** Modules available to capability plugins via the jiti virtualModules option. */\nexport const VIRTUAL_MODULES: Record<string, unknown> = {\n\t\"@agent-forge/plugin-sdk\": pluginSdk,\n\t\"@agent-forge/plugin-sdk/session-lineage\": pluginSdkSessionLineage,\n\t\"@agent-forge/protocol/subagent\": protocolSubagent,\n\ttypebox,\n\t\"typebox/value\": typeboxValue,\n\t// 0.85.13 regression fix (0.85.14): the image-generation plugin's\n\t// undici dependency (EnvHttpProxyAgent proxy support) resolved to\n\t// nowhere in the install-store shape and the plugin failed to load\n\t// (\"Cannot find module 'undici'\"). Virtual module = the host's own\n\t// copy, identical in the bundle and Bun binary forms; red-verified\n\t// by test/plugin-virtual-undici.test.ts.\n\tundici,\n};\n"]}
1
+ {"version":3,"file":"virtual-modules.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/virtual-modules.ts"],"names":[],"mappings":"AAiDA,kFAAkF;AAClF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA8CnD,CAAC","sourcesContent":["// Virtual modules the host supplies to installed capability plugins through\n// jiti: install-store copies ship no node_modules (npm tarballs never include\n// dependencies), so their bare imports resolve against the host's own copies.\n// The imports below MUST stay static so the Node bundle and the Bun binary\n// embed the modules; the file itself is loaded lazily by capability-plugin.ts\n// (upstream pi 40c256ccc parity) so importing the loader costs nothing until\n// the first plugin load.\n//\n// The full key list below is the host module supply contract (D-082 ruling 3;\n// registry entry `plugin.host-module-supply`): any capability plugin may\n// declare and import these exact specifiers. Adding or removing a supplied\n// specifier must update HOST_SUPPLIED_PLUGIN_SPECIFIERS in\n// scripts/check-plugin-boundary.mjs and the root tsconfig.json paths in the\n// same change (sync enforced by test/host-module-supply.test.ts).\nimport * as aiCompat from \"@agent-forge/ai/compat\";\nimport * as pluginSdk from \"@agent-forge/plugin-sdk\";\nimport * as pluginSdkSessionLineage from \"@agent-forge/plugin-sdk/session-lineage\";\nimport * as protocolSubagent from \"@agent-forge/protocol/subagent\";\nimport * as tui from \"@agent-forge/tui\";\nimport * as typebox from \"typebox\";\nimport * as typeboxValue from \"typebox/value\";\n// Same undici copy the http-dispatcher already bundles: plugin packages\n// declare it pinned but installed tarballs carry no node_modules, so the\n// image-generation plugin's proxy-aware fetch resolves to this namespace.\nimport * as undici from \"undici\";\nimport * as hostDiff from \"../../modes/interactive/components/diff.ts\";\nimport * as hostKeybindingHints from \"../../modes/interactive/components/keybinding-hints.ts\";\nimport * as hostVisualTruncate from \"../../modes/interactive/components/visual-truncate.ts\";\nimport * as hostTheme from \"../../modes/interactive/theme/theme.ts\";\nimport * as hostAnsi from \"../../utils/ansi.ts\";\nimport * as hostChildProcess from \"../../utils/child-process.ts\";\nimport * as hostImageProcess from \"../../utils/image-process.ts\";\nimport * as hostMime from \"../../utils/mime.ts\";\nimport * as hostPaths from \"../../utils/paths.ts\";\nimport * as hostShell from \"../../utils/shell.ts\";\nimport * as hostText from \"../../utils/text.ts\";\nimport * as hostToolsManager from \"../../utils/tools-manager.ts\";\nimport * as hostCompaction from \"../compaction/index.ts\";\nimport * as hostI18n from \"../i18n/index.ts\";\nimport * as hostBashOperations from \"../tools/bash-operations.ts\";\nimport * as hostEditDiff from \"../tools/edit-diff.ts\";\nimport * as hostFileMutationQueue from \"../tools/file-mutation-queue.ts\";\nimport * as hostOutputAccumulator from \"../tools/output-accumulator.ts\";\nimport * as hostPathUtils from \"../tools/path-utils.ts\";\nimport * as hostReadmePath from \"../tools/readme-path.ts\";\nimport * as hostRenderUtils from \"../tools/render-utils.ts\";\nimport * as hostToolDefinition from \"../tools/tool-definition.ts\";\nimport * as hostTruncate from \"../tools/truncate.ts\";\n\n/** Modules available to capability plugins via the jiti virtualModules option. */\nexport const VIRTUAL_MODULES: Record<string, unknown> = {\n\t\"@agent-forge/plugin-sdk\": pluginSdk,\n\t\"@agent-forge/plugin-sdk/session-lineage\": pluginSdkSessionLineage,\n\t\"@agent-forge/protocol/subagent\": protocolSubagent,\n\ttypebox,\n\t\"typebox/value\": typeboxValue,\n\t// 0.85.13 regression fix (0.85.14): the image-generation plugin's\n\t// undici dependency (EnvHttpProxyAgent proxy support) resolved to\n\t// nowhere in the install-store shape and the plugin failed to load\n\t// (\"Cannot find module 'undici'\"). Virtual module = the host's own\n\t// copy, identical in the bundle and Bun binary forms; red-verified\n\t// by test/plugin-virtual-undici.test.ts.\n\tundici,\n\t// Host module supply contract (D-082): rendering and tool-support modules\n\t// for capability plugins (coding-tools first). Contract notes live in the\n\t// file header; the sync gate is test/host-module-supply.test.ts. The host\n\t// namespaces are spread into plain objects: jiti's CJS interop touches the\n\t// module namespace's `default` property, and vitest's namespace proxies for\n\t// inlined source modules (including vi.mock replacements) throw on a\n\t// missing `default`, which failed the whole plugin entry import.\n\t\"@agent-forge/tui\": { ...tui },\n\t// D-082 批 3:默认策略插件的运行时依赖供给(ai 兼容层分类器、压缩摘要执行机制)。\n\t\"@agent-forge/ai/compat\": { ...aiCompat },\n\t\"@agent-forge/host/compaction\": { ...hostCompaction },\n\t\"@agent-forge/host/i18n\": { ...hostI18n },\n\t\"@agent-forge/host/theme\": { ...hostTheme },\n\t\"@agent-forge/host/keybinding-hints\": { ...hostKeybindingHints },\n\t\"@agent-forge/host/visual-truncate\": { ...hostVisualTruncate },\n\t\"@agent-forge/host/diff\": { ...hostDiff },\n\t\"@agent-forge/host/render-utils\": { ...hostRenderUtils },\n\t\"@agent-forge/host/tool-definition\": { ...hostToolDefinition },\n\t\"@agent-forge/host/truncate\": { ...hostTruncate },\n\t\"@agent-forge/host/edit-diff\": { ...hostEditDiff },\n\t\"@agent-forge/host/file-mutation-queue\": { ...hostFileMutationQueue },\n\t\"@agent-forge/host/output-accumulator\": { ...hostOutputAccumulator },\n\t\"@agent-forge/host/path-utils\": { ...hostPathUtils },\n\t\"@agent-forge/host/readme-path\": { ...hostReadmePath },\n\t\"@agent-forge/host/paths\": { ...hostPaths },\n\t\"@agent-forge/host/shell\": { ...hostShell },\n\t\"@agent-forge/host/text\": { ...hostText },\n\t\"@agent-forge/host/ansi\": { ...hostAnsi },\n\t\"@agent-forge/host/mime\": { ...hostMime },\n\t\"@agent-forge/host/image-process\": { ...hostImageProcess },\n\t\"@agent-forge/host/child-process\": { ...hostChildProcess },\n\t\"@agent-forge/host/tools-manager\": { ...hostToolsManager },\n\t\"@agent-forge/host/bash-operations\": { ...hostBashOperations },\n};\n"]}
@@ -5,15 +5,47 @@
5
5
  // embed the modules; the file itself is loaded lazily by capability-plugin.ts
6
6
  // (upstream pi 40c256ccc parity) so importing the loader costs nothing until
7
7
  // the first plugin load.
8
+ //
9
+ // The full key list below is the host module supply contract (D-082 ruling 3;
10
+ // registry entry `plugin.host-module-supply`): any capability plugin may
11
+ // declare and import these exact specifiers. Adding or removing a supplied
12
+ // specifier must update HOST_SUPPLIED_PLUGIN_SPECIFIERS in
13
+ // scripts/check-plugin-boundary.mjs and the root tsconfig.json paths in the
14
+ // same change (sync enforced by test/host-module-supply.test.ts).
15
+ import * as aiCompat from "@agent-forge/ai/compat";
8
16
  import * as pluginSdk from "@agent-forge/plugin-sdk";
9
17
  import * as pluginSdkSessionLineage from "@agent-forge/plugin-sdk/session-lineage";
10
18
  import * as protocolSubagent from "@agent-forge/protocol/subagent";
19
+ import * as tui from "@agent-forge/tui";
11
20
  import * as typebox from "typebox";
12
21
  import * as typeboxValue from "typebox/value";
13
22
  // Same undici copy the http-dispatcher already bundles: plugin packages
14
23
  // declare it pinned but installed tarballs carry no node_modules, so the
15
24
  // image-generation plugin's proxy-aware fetch resolves to this namespace.
16
25
  import * as undici from "undici";
26
+ import * as hostDiff from "../../modes/interactive/components/diff.js";
27
+ import * as hostKeybindingHints from "../../modes/interactive/components/keybinding-hints.js";
28
+ import * as hostVisualTruncate from "../../modes/interactive/components/visual-truncate.js";
29
+ import * as hostTheme from "../../modes/interactive/theme/theme.js";
30
+ import * as hostAnsi from "../../utils/ansi.js";
31
+ import * as hostChildProcess from "../../utils/child-process.js";
32
+ import * as hostImageProcess from "../../utils/image-process.js";
33
+ import * as hostMime from "../../utils/mime.js";
34
+ import * as hostPaths from "../../utils/paths.js";
35
+ import * as hostShell from "../../utils/shell.js";
36
+ import * as hostText from "../../utils/text.js";
37
+ import * as hostToolsManager from "../../utils/tools-manager.js";
38
+ import * as hostCompaction from "../compaction/index.js";
39
+ import * as hostI18n from "../i18n/index.js";
40
+ import * as hostBashOperations from "../tools/bash-operations.js";
41
+ import * as hostEditDiff from "../tools/edit-diff.js";
42
+ import * as hostFileMutationQueue from "../tools/file-mutation-queue.js";
43
+ import * as hostOutputAccumulator from "../tools/output-accumulator.js";
44
+ import * as hostPathUtils from "../tools/path-utils.js";
45
+ import * as hostReadmePath from "../tools/readme-path.js";
46
+ import * as hostRenderUtils from "../tools/render-utils.js";
47
+ import * as hostToolDefinition from "../tools/tool-definition.js";
48
+ import * as hostTruncate from "../tools/truncate.js";
17
49
  /** Modules available to capability plugins via the jiti virtualModules option. */
18
50
  export const VIRTUAL_MODULES = {
19
51
  "@agent-forge/plugin-sdk": pluginSdk,
@@ -28,5 +60,38 @@ export const VIRTUAL_MODULES = {
28
60
  // copy, identical in the bundle and Bun binary forms; red-verified
29
61
  // by test/plugin-virtual-undici.test.ts.
30
62
  undici,
63
+ // Host module supply contract (D-082): rendering and tool-support modules
64
+ // for capability plugins (coding-tools first). Contract notes live in the
65
+ // file header; the sync gate is test/host-module-supply.test.ts. The host
66
+ // namespaces are spread into plain objects: jiti's CJS interop touches the
67
+ // module namespace's `default` property, and vitest's namespace proxies for
68
+ // inlined source modules (including vi.mock replacements) throw on a
69
+ // missing `default`, which failed the whole plugin entry import.
70
+ "@agent-forge/tui": { ...tui },
71
+ // D-082 批 3:默认策略插件的运行时依赖供给(ai 兼容层分类器、压缩摘要执行机制)。
72
+ "@agent-forge/ai/compat": { ...aiCompat },
73
+ "@agent-forge/host/compaction": { ...hostCompaction },
74
+ "@agent-forge/host/i18n": { ...hostI18n },
75
+ "@agent-forge/host/theme": { ...hostTheme },
76
+ "@agent-forge/host/keybinding-hints": { ...hostKeybindingHints },
77
+ "@agent-forge/host/visual-truncate": { ...hostVisualTruncate },
78
+ "@agent-forge/host/diff": { ...hostDiff },
79
+ "@agent-forge/host/render-utils": { ...hostRenderUtils },
80
+ "@agent-forge/host/tool-definition": { ...hostToolDefinition },
81
+ "@agent-forge/host/truncate": { ...hostTruncate },
82
+ "@agent-forge/host/edit-diff": { ...hostEditDiff },
83
+ "@agent-forge/host/file-mutation-queue": { ...hostFileMutationQueue },
84
+ "@agent-forge/host/output-accumulator": { ...hostOutputAccumulator },
85
+ "@agent-forge/host/path-utils": { ...hostPathUtils },
86
+ "@agent-forge/host/readme-path": { ...hostReadmePath },
87
+ "@agent-forge/host/paths": { ...hostPaths },
88
+ "@agent-forge/host/shell": { ...hostShell },
89
+ "@agent-forge/host/text": { ...hostText },
90
+ "@agent-forge/host/ansi": { ...hostAnsi },
91
+ "@agent-forge/host/mime": { ...hostMime },
92
+ "@agent-forge/host/image-process": { ...hostImageProcess },
93
+ "@agent-forge/host/child-process": { ...hostChildProcess },
94
+ "@agent-forge/host/tools-manager": { ...hostToolsManager },
95
+ "@agent-forge/host/bash-operations": { ...hostBashOperations },
31
96
  };
32
97
  //# sourceMappingURL=virtual-modules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"virtual-modules.js","sourceRoot":"","sources":["../../../src/core/extensions/virtual-modules.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,8EAA8E;AAC9E,8EAA8E;AAC9E,2EAA2E;AAC3E,8EAA8E;AAC9E,6EAA6E;AAC7E,yBAAyB;AACzB,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,uBAAuB,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,gBAAgB,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,wEAAwE;AACxE,yEAAyE;AACzE,0EAA0E;AAC1E,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,kFAAkF;AAClF,MAAM,CAAC,MAAM,eAAe,GAA4B;IACvD,yBAAyB,EAAE,SAAS;IACpC,yCAAyC,EAAE,uBAAuB;IAClE,gCAAgC,EAAE,gBAAgB;IAClD,OAAO;IACP,eAAe,EAAE,YAAY;IAC7B,kEAAkE;IAClE,kEAAkE;IAClE,mEAAmE;IACnE,mEAAmE;IACnE,mEAAmE;IACnE,yCAAyC;IACzC,MAAM;CACN,CAAC","sourcesContent":["// Virtual modules the host supplies to installed capability plugins through\n// jiti: install-store copies ship no node_modules (npm tarballs never include\n// dependencies), so their bare imports resolve against the host's own copies.\n// The imports below MUST stay static so the Node bundle and the Bun binary\n// embed the modules; the file itself is loaded lazily by capability-plugin.ts\n// (upstream pi 40c256ccc parity) so importing the loader costs nothing until\n// the first plugin load.\nimport * as pluginSdk from \"@agent-forge/plugin-sdk\";\nimport * as pluginSdkSessionLineage from \"@agent-forge/plugin-sdk/session-lineage\";\nimport * as protocolSubagent from \"@agent-forge/protocol/subagent\";\nimport * as typebox from \"typebox\";\nimport * as typeboxValue from \"typebox/value\";\n// Same undici copy the http-dispatcher already bundles: plugin packages\n// declare it pinned but installed tarballs carry no node_modules, so the\n// image-generation plugin's proxy-aware fetch resolves to this namespace.\nimport * as undici from \"undici\";\n\n/** Modules available to capability plugins via the jiti virtualModules option. */\nexport const VIRTUAL_MODULES: Record<string, unknown> = {\n\t\"@agent-forge/plugin-sdk\": pluginSdk,\n\t\"@agent-forge/plugin-sdk/session-lineage\": pluginSdkSessionLineage,\n\t\"@agent-forge/protocol/subagent\": protocolSubagent,\n\ttypebox,\n\t\"typebox/value\": typeboxValue,\n\t// 0.85.13 regression fix (0.85.14): the image-generation plugin's\n\t// undici dependency (EnvHttpProxyAgent proxy support) resolved to\n\t// nowhere in the install-store shape and the plugin failed to load\n\t// (\"Cannot find module 'undici'\"). Virtual module = the host's own\n\t// copy, identical in the bundle and Bun binary forms; red-verified\n\t// by test/plugin-virtual-undici.test.ts.\n\tundici,\n};\n"]}
1
+ {"version":3,"file":"virtual-modules.js","sourceRoot":"","sources":["../../../src/core/extensions/virtual-modules.ts"],"names":[],"mappings":"AAAA,4EA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IACxD,mCAAmC,EAAE,EAAE,GAAG,kBAAkB,EAAE;IAC9D,4BAA4B,EAAE,EAAE,GAAG,YAAY,EAAE;IACjD,6BAA6B,EAAE,EAAE,GAAG,YAAY,EAAE;IAClD,uCAAuC,EAAE,EAAE,GAAG,qBAAqB,EAAE;IACrE,sCAAsC,EAAE,EAAE,GAAG,qBAAqB,EAAE;IACpE,8BAA8B,EAAE,EAAE,GAAG,aAAa,EAAE;IACpD,+BAA+B,EAAE,EAAE,GAAG,cAAc,EAAE;IACtD,yBAAyB,EAAE,EAAE,GAAG,SAAS,EAAE;IAC3C,yBAAyB,EAAE,EAAE,GAAG,SAAS,EAAE;IAC3C,wBAAwB,EAAE,EAAE,GAAG,QAAQ,EAAE;IACzC,wBAAwB,EAAE,EAAE,GAAG,QAAQ,EAAE;IACzC,wBAAwB,EAAE,EAAE,GAAG,QAAQ,EAAE;IACzC,iCAAiC,EAAE,EAAE,GAAG,gBAAgB,EAAE;IAC1D,iCAAiC,EAAE,EAAE,GAAG,gBAAgB,EAAE;IAC1D,iCAAiC,EAAE,EAAE,GAAG,gBAAgB,EAAE;IAC1D,mCAAmC,EAAE,EAAE,GAAG,kBAAkB,EAAE;CAC9D,CAAC","sourcesContent":["// Virtual modules the host supplies to installed capability plugins through\n// jiti: install-store copies ship no node_modules (npm tarballs never include\n// dependencies), so their bare imports resolve against the host's own copies.\n// The imports below MUST stay static so the Node bundle and the Bun binary\n// embed the modules; the file itself is loaded lazily by capability-plugin.ts\n// (upstream pi 40c256ccc parity) so importing the loader costs nothing until\n// the first plugin load.\n//\n// The full key list below is the host module supply contract (D-082 ruling 3;\n// registry entry `plugin.host-module-supply`): any capability plugin may\n// declare and import these exact specifiers. Adding or removing a supplied\n// specifier must update HOST_SUPPLIED_PLUGIN_SPECIFIERS in\n// scripts/check-plugin-boundary.mjs and the root tsconfig.json paths in the\n// same change (sync enforced by test/host-module-supply.test.ts).\nimport * as aiCompat from \"@agent-forge/ai/compat\";\nimport * as pluginSdk from \"@agent-forge/plugin-sdk\";\nimport * as pluginSdkSessionLineage from \"@agent-forge/plugin-sdk/session-lineage\";\nimport * as protocolSubagent from \"@agent-forge/protocol/subagent\";\nimport * as tui from \"@agent-forge/tui\";\nimport * as typebox from \"typebox\";\nimport * as typeboxValue from \"typebox/value\";\n// Same undici copy the http-dispatcher already bundles: plugin packages\n// declare it pinned but installed tarballs carry no node_modules, so the\n// image-generation plugin's proxy-aware fetch resolves to this namespace.\nimport * as undici from \"undici\";\nimport * as hostDiff from \"../../modes/interactive/components/diff.ts\";\nimport * as hostKeybindingHints from \"../../modes/interactive/components/keybinding-hints.ts\";\nimport * as hostVisualTruncate from \"../../modes/interactive/components/visual-truncate.ts\";\nimport * as hostTheme from \"../../modes/interactive/theme/theme.ts\";\nimport * as hostAnsi from \"../../utils/ansi.ts\";\nimport * as hostChildProcess from \"../../utils/child-process.ts\";\nimport * as hostImageProcess from \"../../utils/image-process.ts\";\nimport * as hostMime from \"../../utils/mime.ts\";\nimport * as hostPaths from \"../../utils/paths.ts\";\nimport * as hostShell from \"../../utils/shell.ts\";\nimport * as hostText from \"../../utils/text.ts\";\nimport * as hostToolsManager from \"../../utils/tools-manager.ts\";\nimport * as hostCompaction from \"../compaction/index.ts\";\nimport * as hostI18n from \"../i18n/index.ts\";\nimport * as hostBashOperations from \"../tools/bash-operations.ts\";\nimport * as hostEditDiff from \"../tools/edit-diff.ts\";\nimport * as hostFileMutationQueue from \"../tools/file-mutation-queue.ts\";\nimport * as hostOutputAccumulator from \"../tools/output-accumulator.ts\";\nimport * as hostPathUtils from \"../tools/path-utils.ts\";\nimport * as hostReadmePath from \"../tools/readme-path.ts\";\nimport * as hostRenderUtils from \"../tools/render-utils.ts\";\nimport * as hostToolDefinition from \"../tools/tool-definition.ts\";\nimport * as hostTruncate from \"../tools/truncate.ts\";\n\n/** Modules available to capability plugins via the jiti virtualModules option. */\nexport const VIRTUAL_MODULES: Record<string, unknown> = {\n\t\"@agent-forge/plugin-sdk\": pluginSdk,\n\t\"@agent-forge/plugin-sdk/session-lineage\": pluginSdkSessionLineage,\n\t\"@agent-forge/protocol/subagent\": protocolSubagent,\n\ttypebox,\n\t\"typebox/value\": typeboxValue,\n\t// 0.85.13 regression fix (0.85.14): the image-generation plugin's\n\t// undici dependency (EnvHttpProxyAgent proxy support) resolved to\n\t// nowhere in the install-store shape and the plugin failed to load\n\t// (\"Cannot find module 'undici'\"). Virtual module = the host's own\n\t// copy, identical in the bundle and Bun binary forms; red-verified\n\t// by test/plugin-virtual-undici.test.ts.\n\tundici,\n\t// Host module supply contract (D-082): rendering and tool-support modules\n\t// for capability plugins (coding-tools first). Contract notes live in the\n\t// file header; the sync gate is test/host-module-supply.test.ts. The host\n\t// namespaces are spread into plain objects: jiti's CJS interop touches the\n\t// module namespace's `default` property, and vitest's namespace proxies for\n\t// inlined source modules (including vi.mock replacements) throw on a\n\t// missing `default`, which failed the whole plugin entry import.\n\t\"@agent-forge/tui\": { ...tui },\n\t// D-082 批 3:默认策略插件的运行时依赖供给(ai 兼容层分类器、压缩摘要执行机制)。\n\t\"@agent-forge/ai/compat\": { ...aiCompat },\n\t\"@agent-forge/host/compaction\": { ...hostCompaction },\n\t\"@agent-forge/host/i18n\": { ...hostI18n },\n\t\"@agent-forge/host/theme\": { ...hostTheme },\n\t\"@agent-forge/host/keybinding-hints\": { ...hostKeybindingHints },\n\t\"@agent-forge/host/visual-truncate\": { ...hostVisualTruncate },\n\t\"@agent-forge/host/diff\": { ...hostDiff },\n\t\"@agent-forge/host/render-utils\": { ...hostRenderUtils },\n\t\"@agent-forge/host/tool-definition\": { ...hostToolDefinition },\n\t\"@agent-forge/host/truncate\": { ...hostTruncate },\n\t\"@agent-forge/host/edit-diff\": { ...hostEditDiff },\n\t\"@agent-forge/host/file-mutation-queue\": { ...hostFileMutationQueue },\n\t\"@agent-forge/host/output-accumulator\": { ...hostOutputAccumulator },\n\t\"@agent-forge/host/path-utils\": { ...hostPathUtils },\n\t\"@agent-forge/host/readme-path\": { ...hostReadmePath },\n\t\"@agent-forge/host/paths\": { ...hostPaths },\n\t\"@agent-forge/host/shell\": { ...hostShell },\n\t\"@agent-forge/host/text\": { ...hostText },\n\t\"@agent-forge/host/ansi\": { ...hostAnsi },\n\t\"@agent-forge/host/mime\": { ...hostMime },\n\t\"@agent-forge/host/image-process\": { ...hostImageProcess },\n\t\"@agent-forge/host/child-process\": { ...hostChildProcess },\n\t\"@agent-forge/host/tools-manager\": { ...hostToolsManager },\n\t\"@agent-forge/host/bash-operations\": { ...hostBashOperations },\n};\n"]}
@@ -31,7 +31,7 @@ import type { PromptTemplate } from "../prompt-templates.ts";
31
31
  import type { ThemeMetaV1 } from "../resource-loader.ts";
32
32
  import type { BranchSummaryEntry, SessionEntry, SessionHeader, SessionTreeNode } from "../session-manager.ts";
33
33
  import type { Skill } from "../skills.ts";
34
- import type { BashOperations } from "../tools/bash.ts";
34
+ import type { BashOperations } from "../tools/bash-operations.ts";
35
35
  import type { ToolDefinition } from "../tools/tool-definition.ts";
36
36
  /** Prompt options for the facade. Identical to AgentSession PromptOptions. */
37
37
  export type CodingAgentFacadePromptOptionsV1 = PromptOptions;