wednesdayai 0.4.12-dev.717 → 0.4.12-dev.719

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 (486) hide show
  1. package/dist/{agent-scope-cbxkoURo.js → agent-scope-DxKPMu8w.js} +3 -3
  2. package/dist/{agent-turn-enqueue-N-q0v3mc.js → agent-turn-enqueue-DEStltEg.js} +4 -4
  3. package/dist/{agent-turn-enqueue-Cqo34Swm.js → agent-turn-enqueue-DzWOPhgy.js} +4 -4
  4. package/dist/{agent-turn-execute-Bw9hhkAP.js → agent-turn-execute-CzOC4mHw.js} +124 -97
  5. package/dist/{agent-turn-recovery-adapter-BkIal4FW.js → agent-turn-recovery-adapter-CdLD3DuI.js} +1 -1
  6. package/dist/{agent-turn-recovery-adapter-CLY2Dn04.js → agent-turn-recovery-adapter-DnvjgbK0.js} +1 -1
  7. package/dist/{agent-turn-runner-Vd3aTCni.js → agent-turn-runner-BEvwtTis.js} +1 -1
  8. package/dist/{agent-turn-runner-BsdyAURQ.js → agent-turn-runner-BsxQBFRB.js} +5 -5
  9. package/dist/{agent-turn-runner-CUCOdxhH.js → agent-turn-runner-C1u8sVfA.js} +1 -1
  10. package/dist/{agent-turn-runner-CImqp_RN.js → agent-turn-runner-DpICdamt.js} +1 -1
  11. package/dist/{agents-BBoIqOw6.js → agents-C61lzbyw.js} +4 -4
  12. package/dist/{agents.config-Ctnm8o8d.js → agents.config-BcD-ZJ0N.js} +1 -1
  13. package/dist/{agents.config-C8RJrfbr.js → agents.config-DAh5Ah1J.js} +1 -1
  14. package/dist/{api-key-rotation-BMnyfyGD.js → api-key-rotation-Br7_jaAV.js} +2 -2
  15. package/dist/{artifacts-DUhYSSmK.js → artifacts-QHme-vnS.js} +4 -4
  16. package/dist/{audio-preflight-ifCgpG3c.js → audio-preflight-B_5sTSyb.js} +27 -27
  17. package/dist/{audio-preflight-bEi-KkBn.js → audio-preflight-CehYz7wU.js} +6 -6
  18. package/dist/{audio-preflight-BKQpd1eU.js → audio-preflight-uatGs8bC.js} +6 -6
  19. package/dist/{audio-transcription-runner-CGTNNwbm.js → audio-transcription-runner-BvZFFknx.js} +1 -1
  20. package/dist/{audio-transcription-runner-BD7UgbNj.js → audio-transcription-runner-CJ8YdMv-.js} +1 -1
  21. package/dist/{audio-transcription-runner-ipSQoPp8.js → audio-transcription-runner-XFfvRPXl.js} +11 -11
  22. package/dist/{audit-CcNEpaG6.js → audit-C0WHA5BX.js} +3 -3
  23. package/dist/{audit-BM8WZyx6.js → audit-UMAK8rQC.js} +3 -3
  24. package/dist/{auth-choice-DTg-b2da.js → auth-choice-BHU_G3if.js} +1 -1
  25. package/dist/{auth-choice-VnJYar-i.js → auth-choice-CHzuLxTp.js} +1 -1
  26. package/dist/{banner-_g-nCJoZ.js → banner-BAtbMrrp.js} +1 -1
  27. package/dist/build-info.json +3 -3
  28. package/dist/bundled/boot-md/handler.js +58 -58
  29. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  30. package/dist/bundled/command-logger/handler.js +2 -2
  31. package/dist/bundled/session-journal/handler.js +58 -58
  32. package/dist/bundled/session-memory/handler.js +58 -58
  33. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  34. package/dist/{channel-activity-BJHm_pDV.js → channel-activity-DNq7LYjU.js} +3 -3
  35. package/dist/{channel-options-BX8MFfPW.js → channel-options-CsgHOF5l.js} +1 -1
  36. package/dist/{channel-options-Dod3uWTl.js → channel-options-DRnowLFK.js} +1 -1
  37. package/dist/{channels-cli-MbAArXF1.js → channels-cli-BN4oTmr6.js} +23 -23
  38. package/dist/{channels-cli-DyfFtAZa.js → channels-cli-Cn1IUfM3.js} +23 -23
  39. package/dist/{chrome-DTJprCGv.js → chrome-FHxGdLnd.js} +15 -15
  40. package/dist/{chunk-eNEsWhab.js → chunk-BhntPUH_.js} +3 -3
  41. package/dist/{cli-DF91S8Cf.js → cli-BGAvAUiU.js} +17 -17
  42. package/dist/{cli-CdrO5h4P.js → cli-CFIRmNaZ.js} +17 -17
  43. package/dist/{command-queue-DmXWCoY0.js → command-queue-DtybAhHH.js} +1 -1
  44. package/dist/{command-queue-BTAxEdto.js → command-queue-SzKgkaS6.js} +1 -1
  45. package/dist/{command-queue-URs9pYSC.js → command-queue-zXu22yak.js} +1 -1
  46. package/dist/{command-registry-C7nkhshN.js → command-registry-DBfEAwIt.js} +9 -9
  47. package/dist/{commands-registry-DdQg21ct.js → commands-registry-DC0fovy_.js} +2 -2
  48. package/dist/{completion-cli-CjPs9az4.js → completion-cli-BfRsix3J.js} +2 -2
  49. package/dist/{completion-cli-DozvikmZ.js → completion-cli-L5YP0rxV.js} +1 -1
  50. package/dist/{config-cli-Dv1Dad57.js → config-cli-D4Gxd0pm.js} +1 -1
  51. package/dist/{config-cli-Dagtz6FG.js → config-cli-dgRsXbD3.js} +1 -1
  52. package/dist/config.js +9 -9
  53. package/dist/{configure-BbKf530X.js → configure-BN-JNKf7.js} +3 -3
  54. package/dist/{configure-CBJSHejz.js → configure-DtRyMLwO.js} +3 -3
  55. package/dist/{deliver-C5SDo7TP.js → deliver-Aw7d03gL.js} +1 -1
  56. package/dist/{deliver-CVWbwPkb.js → deliver-CXqNQ8yi.js} +24 -24
  57. package/dist/{deliver-8xg5ISEI.js → deliver-D37woOwV.js} +1 -1
  58. package/dist/{diagnostic-DI-K8155.js → diagnostic-Bbg-zObh.js} +5 -5
  59. package/dist/{diagnostic-D7DvV7NT.js → diagnostic-Cid_Tw67.js} +1 -1
  60. package/dist/{diagnostic-Dv8UWiI0.js → diagnostic-lG00b_zg.js} +1 -1
  61. package/dist/{dm-policy-shared-BLJbsZzf.js → dm-policy-shared-BJNH9gNN.js} +1 -1
  62. package/dist/{doctor-completion-D4T2GzR7.js → doctor-completion-ChF4A40n.js} +1 -1
  63. package/dist/{doctor-completion-CJYV2FQ5.js → doctor-completion-DIFx6d6S.js} +1 -1
  64. package/dist/entry.js +2 -2
  65. package/dist/extensionAPI.js +2 -2
  66. package/dist/{fetch-BzXaK9px.js → fetch-BoHKSk-O.js} +8 -8
  67. package/dist/{fetch-guard-0mkjBgri.js → fetch-guard-TJjLK0FV.js} +3 -3
  68. package/dist/{frontmatter-PMByWrfP.js → frontmatter-saAwiKEb.js} +5 -5
  69. package/dist/{fs-safe-DwICJjkN.js → fs-safe-LRpYbPaA.js} +4 -4
  70. package/dist/{gateway-cli-DtFDQj5d.js → gateway-cli-BJ9wa3Hc.js} +40 -40
  71. package/dist/{gateway-cli-Cyivh-5T.js → gateway-cli-CVnksdlt.js} +40 -40
  72. package/dist/{github-copilot-token-WSjo05vB.js → github-copilot-token-zGOMIGSh.js} +7 -7
  73. package/dist/{health-Cooqit6V.js → health-Cxv6ou16.js} +2 -2
  74. package/dist/{health-DFat5vO5.js → health-Q4hCJ8O2.js} +2 -2
  75. package/dist/{hooks-cli-CB-96Su8.js → hooks-cli-ChZY2urb.js} +19 -19
  76. package/dist/{hooks-cli-yNAgxRQS.js → hooks-cli-DOHX--ha.js} +19 -19
  77. package/dist/{image-ops-O8pHxo7i.js → image-ops-D_fm2PuR.js} +1 -1
  78. package/dist/index.js +21 -21
  79. package/dist/{installs-CpnJwZZ_.js → installs-78zhoWuO.js} +1 -1
  80. package/dist/{installs-CdLdL1gD.js → installs-Du8n8Do9.js} +1 -1
  81. package/dist/{ir-fzpdYPWw.js → ir-C4MMLUJr.js} +5 -5
  82. package/dist/{legacy-names-CLlrMq8r.js → legacy-names-vLJrYADD.js} +1 -1
  83. package/dist/llm-slug-generator.js +58 -58
  84. package/dist/{logger-DNehzD_s.js → logger-a0-zAY5a.js} +1 -1
  85. package/dist/{manager-DH-MILAU.js → manager-DdA_cy40.js} +12 -12
  86. package/dist/{markdown-tables-UWspJNAH.js → markdown-tables-Dd7jV1JF.js} +2 -2
  87. package/dist/{model-selection-9qbqwsOT.js → model-selection-CdZITU0t.js} +86 -86
  88. package/dist/{models-Dlat36jl.js → models-BbhdUY5g.js} +1 -1
  89. package/dist/{models-cli-vjFaOcNS.js → models-cli-BekoSHw2.js} +18 -18
  90. package/dist/{models-cli-DMjHkAqq.js → models-cli-BmL2dpSq.js} +17 -17
  91. package/dist/{node-cli-dh4qWKpT.js → node-cli-BTywy8AL.js} +3 -3
  92. package/dist/{node-cli-Csimlxec.js → node-cli-BVgH-DXq.js} +3 -3
  93. package/dist/{npm-pack-install-DcBobJp3.js → npm-pack-install-B-cOWuiF.js} +1 -1
  94. package/dist/{npm-pack-install-B7wQANiM.js → npm-pack-install-opyKYSmS.js} +1 -1
  95. package/dist/{npm-resolution-B0rqOBgy.js → npm-resolution-51BBOWpQ.js} +2 -2
  96. package/dist/{npm-resolution-SdoNL0ud.js → npm-resolution-6WKQ6nBu.js} +2 -2
  97. package/dist/{onboard-_pVU_O8s.js → onboard-Cj-sLY2K.js} +2 -2
  98. package/dist/{onboard-DuNuHUvh.js → onboard-CnRiqboN.js} +2 -2
  99. package/dist/{onboard-channels-P7F-dNwm.js → onboard-channels-DAwHVQ1P.js} +2 -2
  100. package/dist/{onboard-channels-28JqVvAv.js → onboard-channels-DYRTySsa.js} +2 -2
  101. package/dist/{onboarding-BcI8N4WK.js → onboarding-CujUbWy2.js} +3 -3
  102. package/dist/{onboarding-BBb8ZbfX.js → onboarding-DidWWI3X.js} +3 -3
  103. package/dist/{onboarding.finalize-BXkz7oPa.js → onboarding.finalize-CDE1nAu8.js} +23 -23
  104. package/dist/{onboarding.finalize-D9fyrhAS.js → onboarding.finalize-DTqRxVZH.js} +22 -22
  105. package/dist/{operator-commands-CtYCnspr.js → operator-commands-Bfd55UfE.js} +2 -2
  106. package/dist/{operator-commands-CIz47IKl.js → operator-commands-Ct0WXISe.js} +2 -2
  107. package/dist/{outbound-attachment-DVKqk30B.js → outbound-attachment-CqtMGpsJ.js} +2 -2
  108. package/dist/{outbound-message-hooks-S_VhlJs3.js → outbound-message-hooks-RBQbGzGm.js} +4 -4
  109. package/dist/{path-alias-guards-Cd5yHmTq.js → path-alias-guards-Zj-NwKjV.js} +1 -1
  110. package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
  111. package/dist/{pi-embedded-wjGM_bNN.js → pi-embedded-B6sr5IdC.js} +102 -75
  112. package/dist/{pi-embedded-Qyba-Rws.js → pi-embedded-B9bOSjfE.js} +270 -243
  113. package/dist/{pi-embedded-helpers-BU47jdPO.js → pi-embedded-helpers-BAjtRn7m.js} +1 -1
  114. package/dist/{pi-embedded-helpers-5JApWu7A.js → pi-embedded-helpers-BYLOFsUc.js} +24 -24
  115. package/dist/{pi-embedded-helpers-i0-tPaxH.js → pi-embedded-helpers-CPorV-Mk.js} +1 -1
  116. package/dist/{pi-embedded-recovery-adapter-CNdSU-s7.js → pi-embedded-recovery-adapter-B8Goyik3.js} +8 -8
  117. package/dist/{pi-embedded-recovery-adapter-DL78oCTf.js → pi-embedded-recovery-adapter-Cs1EJElw.js} +8 -8
  118. package/dist/{pi-embedded-recovery-adapter-1Lgt8q1h.js → pi-embedded-recovery-adapter-ZPyX9YC1.js} +2 -2
  119. package/dist/{pi-embedded-recovery-adapter-B2AFWrYt.js → pi-embedded-recovery-adapter-swbNIWgT.js} +2 -2
  120. package/dist/{pi-embedded-utils-8OzPnJMh.js → pi-embedded-utils-CT_f_S3Y.js} +1 -1
  121. package/dist/{pi-embedded-utils-kHMmP2Xh.js → pi-embedded-utils-DOtaZ7KV.js} +3 -3
  122. package/dist/{pi-embedded-utils-BtOzugyp.js → pi-embedded-utils-lp-U3XQ9.js} +1 -1
  123. package/dist/{pi-model-discovery-CsC6yTDG.js → pi-model-discovery-B9KKtGuw.js} +7 -7
  124. package/dist/{pi-tools.policy-DPm2eos4.js → pi-tools.policy-r9H_A-NQ.js} +1 -1
  125. package/dist/{plugin-registry-CPS5bO_-.js → plugin-registry-CwGfmKsn.js} +1 -1
  126. package/dist/{plugin-registry-CC8YsXPr.js → plugin-registry-EHKfjAoe.js} +1 -1
  127. package/dist/plugin-sdk/{agent-scope-BYp_CjdU.js → agent-scope-BLF4nZUv.js} +2 -2
  128. package/dist/plugin-sdk/{agent-scope-DU8uJiiv.js → agent-scope-BQYVQxfQ.js} +2 -2
  129. package/dist/plugin-sdk/agent-turn-execute-BVPDW02i.js +61 -0
  130. package/dist/plugin-sdk/agent-turn-execute-zuw0S_Lh.js +61 -0
  131. package/dist/plugin-sdk/agent-turn-runner-BcrkoR1M.js +11 -0
  132. package/dist/plugin-sdk/{agent-turn-runner-CmDXH4Z8.js → agent-turn-runner-DDIT9POj.js} +6 -6
  133. package/dist/plugin-sdk/{agent-turn-runner-B9_FKVSu.js → agent-turn-runner-DjK-LdTA.js} +6 -6
  134. package/dist/plugin-sdk/{api-key-rotation-Oe0hkmVQ.js → api-key-rotation-BW3rq9Tg.js} +2 -2
  135. package/dist/plugin-sdk/{api-key-rotation-CDNf_4cI.js → api-key-rotation-XDUKz2gd.js} +2 -2
  136. package/dist/plugin-sdk/{artifacts-Dk-7TtTn.js → artifacts-C8xK4Y3e.js} +1 -1
  137. package/dist/plugin-sdk/{artifacts-BMLMg3MG.js → artifacts-HAYpGlG1.js} +1 -1
  138. package/dist/plugin-sdk/{audio-preflight-BmKL6FNP.js → audio-preflight-BS29OWk3.js} +2 -2
  139. package/dist/plugin-sdk/{audio-preflight-8hRbl8Io.js → audio-preflight-Bi8RI9zM.js} +22 -22
  140. package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +28 -0
  141. package/dist/plugin-sdk/{audio-transcription-runner-TBjJv_mZ.js → audio-transcription-runner-BNafitZj.js} +10 -10
  142. package/dist/plugin-sdk/{audio-transcription-runner-CUsZFiEA.js → audio-transcription-runner-CGgNZVZv.js} +11 -11
  143. package/dist/plugin-sdk/{auth-profiles-DHZjW8Vk.js → auth-profiles-CCJQoedi.js} +5 -5
  144. package/dist/plugin-sdk/{auth-profiles-OgKl-vr-.js → auth-profiles-CIKTWees.js} +5 -5
  145. package/dist/plugin-sdk/{channel-activity-Dr4PYej7.js → channel-activity-BKwRzYJb.js} +3 -3
  146. package/dist/plugin-sdk/{channel-activity-OIauZrkN.js → channel-activity-Ck83U_es.js} +3 -3
  147. package/dist/plugin-sdk/{chrome-VZ0Zuu2w.js → chrome-CT_6RvJg.js} +4 -4
  148. package/dist/plugin-sdk/{chrome-BDy1zYAr.js → chrome-D0eLSqkP.js} +4 -4
  149. package/dist/plugin-sdk/{chunk-DGQdf0JN.js → chunk-CDvvv9SU.js} +3 -3
  150. package/dist/plugin-sdk/{chunk-BWz-lIzS.js → chunk-D6yDhUpF.js} +4 -4
  151. package/dist/plugin-sdk/{chunk-BTSnO1wn.js → chunk-DI-5pBck.js} +6 -6
  152. package/dist/plugin-sdk/{command-detection-DdTnFMU3.js → command-detection-WNHSrul-.js} +186 -159
  153. package/dist/plugin-sdk/{command-queue-CeaLVs8O.js → command-queue-BnJsJc_w.js} +8 -8
  154. package/dist/plugin-sdk/{command-queue-DFSOdqCK.js → command-queue-CHiQj9Ji.js} +1 -1
  155. package/dist/plugin-sdk/{command-queue-D_UFlrwC.js → command-queue-DH8k55DC.js} +2 -2
  156. package/dist/plugin-sdk/{commands-registry-8sy0wsK_.js → commands-registry-Do_g2It_.js} +6 -6
  157. package/dist/plugin-sdk/{commands-registry-N6f_lsxF.js → commands-registry-DpLk11E7.js} +2 -2
  158. package/dist/plugin-sdk/{commands-registry-XW2hmbAE.js → commands-registry-DuwlD_aI.js} +3 -3
  159. package/dist/plugin-sdk/{config-Biusjzx-.js → config-CQNfmIC8.js} +7 -7
  160. package/dist/plugin-sdk/deliver-D4fWK65M.js +32 -0
  161. package/dist/plugin-sdk/deliver-DuDcszu1.js +32 -0
  162. package/dist/plugin-sdk/{deliver-BgHA8c9F.js → deliver-L6eu6zyG.js} +11 -11
  163. package/dist/plugin-sdk/{deliver-B7W4NNsR.js → deliver-_UyigkEK.js} +11 -11
  164. package/dist/plugin-sdk/{diagnostic-D6hSjxiv.js → diagnostic-C7lPoqyv.js} +5 -5
  165. package/dist/plugin-sdk/{diagnostic-Bni_8VyY.js → diagnostic-DfxuMWHd.js} +7 -7
  166. package/dist/plugin-sdk/{diagnostic-BRUM6uNI.js → diagnostic-Dk57KVjE.js} +7 -7
  167. package/dist/plugin-sdk/{diagnostic-session-state-BsHrQ7U3.js → diagnostic-session-state-BjuWxrAM.js} +1 -1
  168. package/dist/plugin-sdk/{fetch-C1vgNaXJ.js → fetch-D1jXg-ju.js} +1 -1
  169. package/dist/plugin-sdk/{fetch-hEreHolP.js → fetch-DFZXuu3W.js} +7 -7
  170. package/dist/plugin-sdk/{fetch-guard-C1a1KfEb.js → fetch-guard-CZT8FU1i.js} +3 -3
  171. package/dist/plugin-sdk/{fetch-guard-B2Wnl9Vi.js → fetch-guard-DnwfMurj.js} +4 -4
  172. package/dist/plugin-sdk/{fetch-timeout-A1m6BOhm.js → fetch-timeout-D7XVWfxj.js} +1 -1
  173. package/dist/plugin-sdk/{fs-safe-CbZ6uRVv.js → fs-safe-B0JgGdXa.js} +3 -3
  174. package/dist/plugin-sdk/{fs-safe-ClebEeLz.js → fs-safe-BQ5cHy9G.js} +3 -3
  175. package/dist/plugin-sdk/{hook-runner-global-BvxlnAyu.js → hook-runner-global-WRI53ibi.js} +3 -3
  176. package/dist/plugin-sdk/{image-ops-Bm03YsK2.js → image-ops-0TjWNKUx.js} +1 -1
  177. package/dist/plugin-sdk/{image-ops-DY_SZfXk.js → image-ops-kuILYHZv.js} +1 -1
  178. package/dist/plugin-sdk/{inbound-context-Cmgtf5my.js → inbound-context-Bfr5DkdO.js} +1 -1
  179. package/dist/plugin-sdk/index.js +54 -54
  180. package/dist/plugin-sdk/{ir-BNohi6ZW.js → ir-Bm7oqkwT.js} +5 -5
  181. package/dist/plugin-sdk/{ir-1CthVxHv.js → ir-CbL0sVL2.js} +5 -5
  182. package/dist/plugin-sdk/{local-roots-Bm7nDW20.js → local-roots-D-CHzVr1.js} +7 -7
  183. package/dist/plugin-sdk/{logger-D6KsqbNW.js → logger-BSK-0Yjx.js} +1 -1
  184. package/dist/plugin-sdk/{logger-BkzoyfHW.js → logger-D5s3kiib.js} +1 -1
  185. package/dist/plugin-sdk/manager-BlYRVNJI.js +16 -0
  186. package/dist/plugin-sdk/manager-Bqpqu2GS.js +16 -0
  187. package/dist/plugin-sdk/{manager-C4CJpRd9.js → manager-CHBt3PC-.js} +8 -8
  188. package/dist/plugin-sdk/{manager-B_vK9MbM.js → manager-D2jffdjH.js} +8 -8
  189. package/dist/plugin-sdk/{markdown-tables-DZM4NfLU.js → markdown-tables-CBGsimjo.js} +3 -3
  190. package/dist/plugin-sdk/{markdown-tables-G4vK24xc.js → markdown-tables-DIWQQ2W1.js} +2 -2
  191. package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +10 -0
  192. package/dist/plugin-sdk/{outbound-attachment-GMgXpDQm.js → outbound-attachment-C5x2htXW.js} +2 -2
  193. package/dist/plugin-sdk/{outbound-attachment-Cw7T2Mrt.js → outbound-attachment-CtKKNyms.js} +2 -2
  194. package/dist/plugin-sdk/{outbound-message-hooks-BUHUdpjM.js → outbound-message-hooks-2YmJP9k-.js} +3 -3
  195. package/dist/plugin-sdk/{path-alias-guards-Dft7g-_v.js → path-alias-guards-BIPHhakQ.js} +1 -1
  196. package/dist/plugin-sdk/{path-alias-guards-CVybi_GQ.js → path-alias-guards-CHfCMaeX.js} +1 -1
  197. package/dist/plugin-sdk/{pi-embedded-helpers-B_jgacW8.js → pi-embedded-helpers-BRymkO_1.js} +11 -11
  198. package/dist/plugin-sdk/{pi-embedded-helpers-B-OOYT64.js → pi-embedded-helpers-CELD3Ns3.js} +11 -11
  199. package/dist/plugin-sdk/{pi-embedded-utils-BoSGTbYO.js → pi-embedded-utils-AFQ-oCFM.js} +3 -3
  200. package/dist/plugin-sdk/{pi-embedded-utils-DOXEm_H8.js → pi-embedded-utils-BHmc3RVS.js} +3 -3
  201. package/dist/plugin-sdk/{pi-model-discovery-DWw1ReX-.js → pi-model-discovery-4X7_2_nP.js} +6 -6
  202. package/dist/plugin-sdk/{pi-model-discovery-DWUrLRLg.js → pi-model-discovery-6BBajZds.js} +1 -1
  203. package/dist/plugin-sdk/{pi-model-discovery-DF6l-F8s.js → pi-model-discovery-C37z3zkx.js} +2 -2
  204. package/dist/plugin-sdk/provider-dispatcher-B4PdTha5.js +61 -0
  205. package/dist/plugin-sdk/provider-dispatcher-D7UK3G8K.js +61 -0
  206. package/dist/plugin-sdk/provider-image-Bumd1GBG.js +22 -0
  207. package/dist/plugin-sdk/provider-image-CNlYbRab.js +22 -0
  208. package/dist/plugin-sdk/{provider-image-zNa1Cccq.js → provider-image-CbZOYl0b.js} +5 -5
  209. package/dist/plugin-sdk/{provider-image-CEQrHWYz.js → provider-image-DBye3Ln5.js} +5 -5
  210. package/dist/plugin-sdk/{proxy-CXI1ycJj.js → proxy-CjNR_U3u.js} +2 -2
  211. package/dist/plugin-sdk/proxy-D2uiu68M.js +7 -0
  212. package/dist/plugin-sdk/{proxy-BWc9guJs.js → proxy-DJ2nskkh.js} +1 -1
  213. package/dist/plugin-sdk/{proxy-env-B3rQCyUO.js → proxy-env-ubutfW07.js} +2 -2
  214. package/dist/plugin-sdk/{proxy-fetch-BYkGxQnh.js → proxy-fetch-CuQpjpkI.js} +1 -1
  215. package/dist/plugin-sdk/{proxy-fetch-CNBkczcW.js → proxy-fetch-Cv4b428x.js} +1 -1
  216. package/dist/plugin-sdk/{pw-ai-DQv6Xhce.js → pw-ai-BJrhPMHJ.js} +10 -10
  217. package/dist/plugin-sdk/{pw-ai-JJrE-B1e.js → pw-ai-hVucoF_I.js} +10 -10
  218. package/dist/plugin-sdk/{qmd-manager-CkQhKIXI.js → qmd-manager-Bv5B9pi9.js} +8 -8
  219. package/dist/plugin-sdk/{qmd-manager-CpV0SFnY.js → qmd-manager-DhW_frb3.js} +8 -8
  220. package/dist/plugin-sdk/{query-expansion-DjZsVofz.js → query-expansion-CWwH9pqd.js} +3 -3
  221. package/dist/plugin-sdk/{query-expansion-CwmHvvV_.js → query-expansion-NpBeKA8F.js} +3 -3
  222. package/dist/plugin-sdk/{recorder-BU_faNrp.js → recorder-C3qdhG-p.js} +4 -4
  223. package/dist/plugin-sdk/{recorder-BXZMRSjO.js → recorder-DdbAQ2HO.js} +4 -4
  224. package/dist/{redact-BOHmCPP_.js → plugin-sdk/redact-BEcZiZI1.js} +1 -1
  225. package/dist/plugin-sdk/{redact-C88Ryyfs.js → redact-CUjmZn2Y.js} +1 -1
  226. package/dist/plugin-sdk/{registry-tm0HFWKN.js → registry-BXmLBUZj.js} +7 -7
  227. package/dist/plugin-sdk/replies-0gHRQjbA.js +25 -0
  228. package/dist/plugin-sdk/{replies-CS2GXrd-.js → replies-CjeAGcJx.js} +4 -4
  229. package/dist/plugin-sdk/{replies-l2hZAzbt.js → replies-Dw3jvqpR.js} +4 -4
  230. package/dist/plugin-sdk/replies-XUkqz_7S.js +25 -0
  231. package/dist/plugin-sdk/{reply-directives-BwxzQXmX.js → reply-directives-BS8Ge06Z.js} +2 -2
  232. package/dist/plugin-sdk/{reply-directives-hfOVgXpA.js → reply-directives-OuX5Mba_.js} +2 -2
  233. package/dist/plugin-sdk/{reply-prefix-BKQgC6Vj.js → reply-prefix-C83iSHUo.js} +2 -2
  234. package/dist/plugin-sdk/{reply-prefix-qLQRxqrf.js → reply-prefix-Dt1hESHJ.js} +1 -1
  235. package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +7 -0
  236. package/dist/plugin-sdk/{resolve-route-tqQv32nr.js → resolve-route-BLBv69wV.js} +5 -5
  237. package/dist/plugin-sdk/{resolve-route-50KoArP9.js → resolve-route-BpLuk-wC.js} +4 -4
  238. package/dist/plugin-sdk/{resolve-route-6v1HVvWk.js → resolve-route-DiQTL1qI.js} +6 -6
  239. package/dist/plugin-sdk/runs-B3DB63tB.js +25 -0
  240. package/dist/plugin-sdk/{runs-H2FY7UEk.js → runs-CPWQbljV.js} +8 -8
  241. package/dist/plugin-sdk/{runs-CiohhBb8.js → runs-D6fAvItC.js} +7 -7
  242. package/dist/plugin-sdk/runs-R28wdt7j.js +25 -0
  243. package/dist/plugin-sdk/{send-CEtGyK32.js → send-B2Kip2qd.js} +8 -8
  244. package/dist/plugin-sdk/{send-Cv2CGnsK.js → send-BDwTyH6I.js} +8 -8
  245. package/dist/plugin-sdk/{send-BjR1QHnz.js → send-BUAw8fe4.js} +7 -7
  246. package/dist/plugin-sdk/{send-BMhuEEtY.js → send-BwoWjRrJ.js} +9 -9
  247. package/dist/plugin-sdk/send-C28pxKhC.js +27 -0
  248. package/dist/plugin-sdk/{send-DM6RpDCL.js → send-CE_6VOiQ.js} +7 -7
  249. package/dist/plugin-sdk/send-COofA0BG.js +23 -0
  250. package/dist/plugin-sdk/{send-Cx6gHjnA.js → send-Ce2XBaKF.js} +6 -6
  251. package/dist/plugin-sdk/{send-DdPdUcD0.js → send-CfSEKKlU.js} +6 -6
  252. package/dist/plugin-sdk/send-Cg2VXcO0.js +27 -0
  253. package/dist/plugin-sdk/{send-BMSqETcU.js → send-CpXGZgrS.js} +6 -6
  254. package/dist/plugin-sdk/send-DAs6FmWB.js +23 -0
  255. package/dist/plugin-sdk/{send-CF3PEjRy.js → send-DE9YP1gQ.js} +14 -14
  256. package/dist/plugin-sdk/{send-DUJMd2d7.js → send-D_2cxLLi.js} +20 -20
  257. package/dist/plugin-sdk/{send-DO0C4Uva.js → send-GMYUhBtJ.js} +19 -19
  258. package/dist/plugin-sdk/send-NUHfC-G_.js +25 -0
  259. package/dist/plugin-sdk/{send-DG4MQPPm.js → send-R0HB1-l-.js} +13 -13
  260. package/dist/plugin-sdk/send-Tm5-7bLz.js +24 -0
  261. package/dist/plugin-sdk/send-UIQH_kN6.js +25 -0
  262. package/dist/plugin-sdk/send-tASIQF-Q.js +24 -0
  263. package/dist/plugin-sdk/{session-meta-CiqJP0pO.js → session-meta-BU2WXD0N.js} +2 -2
  264. package/dist/plugin-sdk/{session-meta-oR-S9C5J.js → session-meta-D3W538Wj.js} +3 -3
  265. package/dist/plugin-sdk/session-meta-Dd1ZONel.js +10 -0
  266. package/dist/plugin-sdk/{skill-commands-CE_SkRQk.js → skill-commands-BYfWIPfV.js} +5 -5
  267. package/dist/plugin-sdk/{skill-commands-Bh43SlDc.js → skill-commands-ByVQek_m.js} +6 -6
  268. package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +14 -0
  269. package/dist/plugin-sdk/{skills-CatBv8W4.js → skills-BGgry_YW.js} +6 -6
  270. package/dist/plugin-sdk/{skills-CjW6uGTa.js → skills-BuJjEYto.js} +6 -6
  271. package/dist/plugin-sdk/src/agents/pi-embedded-runner/run/attempt.d.ts +3 -0
  272. package/dist/plugin-sdk/src/agents/pi-embedded-runner/tool-result-context-guard.d.ts +12 -3
  273. package/dist/plugin-sdk/{ssrf-BUCEDxp5.js → ssrf-DiAz1Z_z.js} +2 -2
  274. package/dist/plugin-sdk/{store-yBNTHg3N.js → store-Bl3Yjf_w.js} +2 -2
  275. package/dist/plugin-sdk/{store-6JKvp2Zu.js → store-C6ZLKWUS.js} +2 -2
  276. package/dist/plugin-sdk/subagent-registry-Bxwla-0-.js +61 -0
  277. package/dist/plugin-sdk/subagent-registry-CTZBVVPF.js +61 -0
  278. package/dist/plugin-sdk/{subsystem-CchgWuXK.js → subsystem-0F3fEqJW.js} +4 -4
  279. package/dist/plugin-sdk/{subsystem-CUUKL6Fr.js → subsystem-B2x33s9h.js} +4 -4
  280. package/dist/plugin-sdk/{tables-BPCP4CpE.js → tables-BCSRuiq_.js} +1 -1
  281. package/dist/plugin-sdk/{tables-DKYi6grj.js → tables-CTmQQyfU.js} +1 -1
  282. package/dist/plugin-sdk/testing.js +55 -55
  283. package/dist/plugin-sdk/{tokens-Cioh8xR5.js → tokens-DxJSOoJn.js} +1 -1
  284. package/dist/plugin-sdk/{tokens-ysZUkYZZ.js → tokens-O0pGqOuf.js} +1 -1
  285. package/dist/plugin-sdk/{tool-loop-detection-BN0lIxLx.js → tool-loop-detection-BG8uP1aD.js} +1 -1
  286. package/dist/plugin-sdk/{tool-loop-detection-LsvZ1dIY.js → tool-loop-detection-Buouaxew.js} +1 -1
  287. package/dist/plugin-sdk/{tools-4rcPGSNh.js → tools-iyXmO6p1.js} +194 -167
  288. package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +11 -0
  289. package/dist/plugin-sdk/{user-run-recording-DlpzQk0X.js → user-run-recording-iS-qLIN9.js} +3 -3
  290. package/dist/plugin-sdk/{user-run-recording-BMaK7jNR.js → user-run-recording-juCW_uQ-.js} +2 -2
  291. package/dist/{plugins-cli-yjyVyPjc.js → plugins-cli-B0I1Xkrz.js} +22 -22
  292. package/dist/{plugins-cli-Cpq4XXoA.js → plugins-cli-CmYpruM_.js} +22 -22
  293. package/dist/{program-CB5O-AyY.js → program-CA1rDqtK.js} +23 -23
  294. package/dist/{program-context-DxwZAeg4.js → program-context-BCo6By7P.js} +22 -22
  295. package/dist/{prompt-select-styled-CfTLn2TL.js → prompt-select-styled-BAmwLkut.js} +6 -6
  296. package/dist/{prompt-select-styled-1UYyuvWX.js → prompt-select-styled-cL1dmYcO.js} +6 -6
  297. package/dist/{provider-image-Cb4z6zUu.js → provider-image-BllyLBJM.js} +5 -5
  298. package/dist/{provider-image-CZlpEJVI.js → provider-image-CIpRvhkS.js} +1 -1
  299. package/dist/{provider-image-UXLX6qTH.js → provider-image-D9B_J5Ys.js} +1 -1
  300. package/dist/{proxy-env-i0jn5uxB.js → proxy-env-CzGKpJY_.js} +2 -2
  301. package/dist/{proxy-C9sq6M-h.js → proxy-fWL7CKDP.js} +1 -1
  302. package/dist/{proxy-fetch-CK5AQAYw.js → proxy-fetch-DCI0KuH6.js} +1 -1
  303. package/dist/{push-apns-DYlVj3Sd.js → push-apns-Bhf8qK68.js} +2 -2
  304. package/dist/{push-apns-uBiZYT2e.js → push-apns-BmrddV2R.js} +2 -2
  305. package/dist/{pw-ai-CZJk6UyG.js → pw-ai-CKjrjwfw.js} +1 -1
  306. package/dist/{pw-ai-DziGw6Jy.js → pw-ai-CXSJw34w.js} +14 -14
  307. package/dist/{pw-ai-2o8dgziH.js → pw-ai-Cd08hlBj.js} +1 -1
  308. package/dist/{qmd-manager-p036XU01.js → qmd-manager-BwZ0V5fL.js} +10 -10
  309. package/dist/{query-expansion-30x7RlZY.js → query-expansion-31VWpPCz.js} +5 -5
  310. package/dist/{reconcile-bundled-Dx64x8xr.js → reconcile-bundled-Bl6XpmI5.js} +1 -1
  311. package/dist/{reconcile-bundled-oQwTCU_A.js → reconcile-bundled-TswjG3xv.js} +1 -1
  312. package/dist/{recorder-C_ViZLf1.js → recorder-DNRxe9C8.js} +4 -4
  313. package/dist/{recovery-adapter-BvRiQZIb.js → recovery-adapter-DOizlZvv.js} +8 -8
  314. package/dist/{recovery-adapter-BcPtMfaC.js → recovery-adapter-DW0R_vFE.js} +1 -1
  315. package/dist/{recovery-adapter-BT7EyQzh.js → recovery-adapter-DyPV7syS.js} +8 -8
  316. package/dist/{recovery-adapter-CTqGLqLj.js → recovery-adapter-mi8jbyvy.js} +1 -1
  317. package/dist/{plugin-sdk/redact-CdcLrd0n.js → redact-DZne_lu8.js} +1 -1
  318. package/dist/{register.agent-DpYKNZhv.js → register.agent-B3BSgQcW.js} +22 -22
  319. package/dist/{register.agent-DxsC-Szl.js → register.agent-CSHtI9uN.js} +23 -23
  320. package/dist/{register.configure-DUg0MNnJ.js → register.configure-CYwDM9d3.js} +23 -23
  321. package/dist/{register.configure-PJZ3F6Y4.js → register.configure-Cu4CPpm4.js} +23 -23
  322. package/dist/{register.maintenance-BBM-rluy.js → register.maintenance-BXiHFIyG.js} +23 -23
  323. package/dist/{register.maintenance-9XyX4HYf.js → register.maintenance-C6vjRY-I.js} +24 -24
  324. package/dist/{register.message-B3NWvxgd.js → register.message-BsBClRov.js} +18 -18
  325. package/dist/{register.message-D-e6_UXf.js → register.message-DNpBTvto.js} +18 -18
  326. package/dist/{register.onboard-CEzQdSxa.js → register.onboard-BKQLGJhh.js} +2 -2
  327. package/dist/{register.onboard-id-BqwSw.js → register.onboard-t_7lOkRu.js} +2 -2
  328. package/dist/{register.setup-BiOdr528.js → register.setup-B7QHn0Qv.js} +2 -2
  329. package/dist/{register.setup-BKBe-Sjp.js → register.setup-DEg7fSPZ.js} +2 -2
  330. package/dist/{register.status-health-sessions-CeRiMlKm.js → register.status-health-sessions-7E-y6cw7.js} +20 -20
  331. package/dist/{register.status-health-sessions-BVIHCaPP.js → register.status-health-sessions-D9iuSOb8.js} +20 -20
  332. package/dist/{register.subclis-IXr-WEhq.js → register.subclis-R6keQnon.js} +14 -14
  333. package/dist/{replies-BsctLhfp.js → replies-NkETqb6B.js} +4 -4
  334. package/dist/{reply-BzUdF5qW.js → reply-B4TgvJrJ.js} +124 -97
  335. package/dist/{reply-directives-D9wYtPPy.js → reply-directives-DGITtNUL.js} +2 -2
  336. package/dist/{reply-prefix-C7WlN3qm.js → reply-prefix-DVkNDBNe.js} +1 -1
  337. package/dist/{resolve-route-BV8k5qjX.js → resolve-route-jDAjkfZE.js} +5 -5
  338. package/dist/{run-main-CsSM1uCJ.js → run-main-CMTfGYjG.js} +30 -30
  339. package/dist/{runs-DVNBpgv0.js → runs-B0TxOQnF.js} +3 -3
  340. package/dist/{runs-i5IuTzQX.js → runs-BMp7jOLL.js} +3 -3
  341. package/dist/{runs-ucQd8Fc-.js → runs-DGWNXyKA.js} +8 -8
  342. package/dist/{sandbox-QsMPF2u6.js → sandbox-CQwpubTx.js} +1 -1
  343. package/dist/{sandbox-bbN1dfIo.js → sandbox-DbfWdQha.js} +1 -1
  344. package/dist/{sandbox-cli-CuG1HCrw.js → sandbox-cli-CSjghLhl.js} +2 -2
  345. package/dist/{sandbox-cli-nx3ctiYX.js → sandbox-cli-DwhgE7u4.js} +2 -2
  346. package/dist/{security-cli-BmfAwh-0.js → security-cli-DSB1NLa6.js} +4 -4
  347. package/dist/{security-cli-BfZEQFxV.js → security-cli-DlMcCXl1.js} +4 -4
  348. package/dist/{send-Tx-ew59_.js → send-CNLmncRW.js} +6 -6
  349. package/dist/{send-CvkM5xAx.js → send-DAYMV49d.js} +1 -1
  350. package/dist/{send-TscXeVY8.js → send-DEFcgo-1.js} +27 -27
  351. package/dist/{send-BGps2i_C.js → send-Do1AlhD5.js} +8 -8
  352. package/dist/{send-BiDcVZSc.js → send-Dq8ChBfS.js} +6 -6
  353. package/dist/{send-Ba3pDq6E.js → send-ENMm5qbW.js} +7 -7
  354. package/dist/{send-BKkvuHI9.js → send-l57G-s8y.js} +1 -1
  355. package/dist/{server-BMSgu_SV.js → server-BAGUd2MH.js} +4 -4
  356. package/dist/{server-DRVR_pkr.js → server-IDopagLT.js} +4 -4
  357. package/dist/{server-context-CTilcbO4.js → server-context-BUX61Gwl.js} +2 -2
  358. package/dist/{server-context-Bbi-nqKD.js → server-context-FPrSnBNG.js} +2 -2
  359. package/dist/{server-lifecycle-DrAGY_SC.js → server-lifecycle-7QoL5fyb.js} +1 -1
  360. package/dist/{server-lifecycle-BIOS9ErD.js → server-lifecycle-DXRap2AR.js} +1 -1
  361. package/dist/{server-node-events-B3c2ctcO.js → server-node-events-DSTI4JnV.js} +18 -18
  362. package/dist/{server-node-events-lwnuZDvV.js → server-node-events-MOX6FUiJ.js} +18 -18
  363. package/dist/{session-meta-DH__PMKt.js → session-meta-DuK_BrWT.js} +2 -2
  364. package/dist/{sessions-DCXadUdD.js → sessions-CgVN798h.js} +4 -4
  365. package/dist/{sessions-Cy_VVMEN.js → sessions-Dcu0bdQ7.js} +4 -4
  366. package/dist/{skill-commands-CRZajtK_.js → skill-commands-BhMQp_i8.js} +9 -9
  367. package/dist/{skills-DOc6uEd1.js → skills-ckuLxkyg.js} +21 -21
  368. package/dist/{status-DJsk1JjI.js → status-B3eNMcE3.js} +4 -4
  369. package/dist/{status-Czr0TmiN.js → status-C5pbfqhh.js} +4 -4
  370. package/dist/{store-xxN6qyAh.js → store-gQ6FSjVk.js} +2 -2
  371. package/dist/{subsystem-BCjklMkJ.js → subsystem-CPYnUTN4.js} +64 -64
  372. package/dist/{tables-o3ZpyPWV.js → tables-DEyD0zuy.js} +1 -1
  373. package/dist/{task-pipeline-boot-CcSZVGUe.js → task-pipeline-boot-BLEjtMkt.js} +17 -17
  374. package/dist/{task-pipeline-boot-UcskPjY2.js → task-pipeline-boot-DKqT4VdZ.js} +17 -17
  375. package/dist/{tokens-9Mla_HDp.js → tokens-9BPY4SaX.js} +1 -1
  376. package/dist/{tool-loop-detection-8uvf8mSd.js → tool-loop-detection-C1fqyXXD.js} +2 -2
  377. package/dist/{tui-WSQKUD4o.js → tui-5QhX2Lcm.js} +1 -1
  378. package/dist/{tui-dccCFhet.js → tui-CetFSZIt.js} +1 -1
  379. package/dist/{tui-cli-C3Sopj4_.js → tui-cli-Bo-8qeoa.js} +4 -4
  380. package/dist/{tui-cli-CpRsjtOO.js → tui-cli-DFak7s89.js} +4 -4
  381. package/dist/{update-D86-cS_v.js → update-B3jJ2yVe.js} +1 -1
  382. package/dist/{update-DJaR3w6x.js → update-Dwt-MeRL.js} +1 -1
  383. package/dist/{update-cli-DDmfG1gm.js → update-cli-D5knJbn5.js} +27 -27
  384. package/dist/{update-cli-B4_xRNut.js → update-cli-Dhxx3iie.js} +26 -26
  385. package/dist/{update-runner-DwM4xj8C.js → update-runner-18yD5NLo.js} +1 -1
  386. package/dist/{update-runner-DqE_9Axt.js → update-runner-DohE1D7D.js} +1 -1
  387. package/dist/{user-run-recording-CAk1Ketk.js → user-run-recording-B0XAAUwL.js} +2 -2
  388. package/dist/{validation-cli-C8XHeLjI.js → validation-cli-CAge8d_F.js} +18 -18
  389. package/dist/{validation-cli-jSmCMkkm.js → validation-cli-Dfac8Duq.js} +18 -18
  390. package/dist/{with-timeout-BvxLQUTs.js → with-timeout-1SSQaGSz.js} +2 -2
  391. package/dist/{with-timeout-CII3PkDO.js → with-timeout-DD5bV7yq.js} +2 -2
  392. package/dist/{workspace-Dbn4gFdH.js → workspace-B707AGIc.js} +9 -9
  393. package/extensions/acpx/package.json +1 -1
  394. package/extensions/anthropic/package.json +1 -1
  395. package/extensions/bifrost/package.json +1 -1
  396. package/extensions/bluebubbles/package.json +1 -1
  397. package/extensions/copilot-proxy/package.json +1 -1
  398. package/extensions/deepgram/package.json +1 -1
  399. package/extensions/deepinfra/package.json +1 -1
  400. package/extensions/diagnostics-otel/package.json +1 -1
  401. package/extensions/diffs/package.json +1 -1
  402. package/extensions/discord/package.json +1 -1
  403. package/extensions/dream-cycle/package.json +1 -1
  404. package/extensions/elevenlabs/package.json +1 -1
  405. package/extensions/feishu/package.json +1 -1
  406. package/extensions/gemini-search/package.json +1 -1
  407. package/extensions/google/package.json +1 -1
  408. package/extensions/google-gemini-cli-auth/package.json +1 -1
  409. package/extensions/googlechat/package.json +1 -1
  410. package/extensions/grok-search/package.json +1 -1
  411. package/extensions/groq/package.json +1 -1
  412. package/extensions/imessage/package.json +1 -1
  413. package/extensions/irc/package.json +1 -1
  414. package/extensions/kimi-search/package.json +1 -1
  415. package/extensions/learning-core/package.json +1 -1
  416. package/extensions/line/package.json +1 -1
  417. package/extensions/llm-task/package.json +1 -1
  418. package/extensions/lobster/package.json +1 -1
  419. package/extensions/matrix/CHANGELOG.md +1 -1
  420. package/extensions/matrix/package.json +1 -1
  421. package/extensions/mattermost/package.json +1 -1
  422. package/extensions/memory-core/package.json +1 -1
  423. package/extensions/memory-lancedb/package.json +1 -1
  424. package/extensions/minimax/package.json +1 -1
  425. package/extensions/minimax-portal-auth/package.json +1 -1
  426. package/extensions/mistral/package.json +1 -1
  427. package/extensions/moonshot/package.json +1 -1
  428. package/extensions/msteams/CHANGELOG.md +1 -1
  429. package/extensions/msteams/package.json +1 -1
  430. package/extensions/nextcloud-talk/package.json +1 -1
  431. package/extensions/nostr/CHANGELOG.md +1 -1
  432. package/extensions/nostr/package.json +1 -1
  433. package/extensions/open-prose/package.json +1 -1
  434. package/extensions/openai/package.json +1 -1
  435. package/extensions/openai-realtime/package.json +1 -1
  436. package/extensions/openrouter/package.json +1 -1
  437. package/extensions/perplexity-search/package.json +1 -1
  438. package/extensions/searxng-search/package.json +1 -1
  439. package/extensions/signal/package.json +1 -1
  440. package/extensions/slack/package.json +1 -1
  441. package/extensions/synology-chat/package.json +1 -1
  442. package/extensions/telegram/package.json +1 -1
  443. package/extensions/tlon/package.json +1 -1
  444. package/extensions/twitch/CHANGELOG.md +1 -1
  445. package/extensions/twitch/package.json +1 -1
  446. package/extensions/voice-call/CHANGELOG.md +1 -1
  447. package/extensions/voice-call/package.json +1 -1
  448. package/extensions/whatsapp/package.json +1 -1
  449. package/extensions/zai/package.json +1 -1
  450. package/extensions/zalo/CHANGELOG.md +1 -1
  451. package/extensions/zalo/package.json +1 -1
  452. package/extensions/zalouser/CHANGELOG.md +1 -1
  453. package/extensions/zalouser/package.json +1 -1
  454. package/package.json +1 -1
  455. package/dist/plugin-sdk/agent-turn-execute-BCE3FS2s.js +0 -61
  456. package/dist/plugin-sdk/agent-turn-execute-DIrSWfHZ.js +0 -61
  457. package/dist/plugin-sdk/agent-turn-runner-gf0ARmuP.js +0 -11
  458. package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +0 -28
  459. package/dist/plugin-sdk/deliver-CJP9TznW.js +0 -32
  460. package/dist/plugin-sdk/deliver-DBCz1GqU.js +0 -32
  461. package/dist/plugin-sdk/manager-ByaW_O4Y.js +0 -16
  462. package/dist/plugin-sdk/manager-CPcI0Fhz.js +0 -16
  463. package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +0 -10
  464. package/dist/plugin-sdk/provider-dispatcher-Byy-KtUn.js +0 -61
  465. package/dist/plugin-sdk/provider-dispatcher-CAfyX0H-.js +0 -61
  466. package/dist/plugin-sdk/provider-image-B_dJDOl5.js +0 -22
  467. package/dist/plugin-sdk/provider-image-L_SRDPHU.js +0 -22
  468. package/dist/plugin-sdk/proxy-DwbYzxBy.js +0 -7
  469. package/dist/plugin-sdk/replies-B9uDLFOE.js +0 -25
  470. package/dist/plugin-sdk/replies-BFjGWAPs.js +0 -25
  471. package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +0 -7
  472. package/dist/plugin-sdk/runs-BQhYekhr.js +0 -25
  473. package/dist/plugin-sdk/runs-CPA1-H-2.js +0 -25
  474. package/dist/plugin-sdk/send-CRtSAH8I.js +0 -25
  475. package/dist/plugin-sdk/send-CeWqZTK0.js +0 -23
  476. package/dist/plugin-sdk/send-CzcKgBBf.js +0 -25
  477. package/dist/plugin-sdk/send-CzxwgKvR.js +0 -27
  478. package/dist/plugin-sdk/send-DuCB2xbl.js +0 -23
  479. package/dist/plugin-sdk/send-Dvna5ey-.js +0 -27
  480. package/dist/plugin-sdk/send-DyYaWr3E.js +0 -24
  481. package/dist/plugin-sdk/send-xPV0QIjh.js +0 -24
  482. package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +0 -10
  483. package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +0 -14
  484. package/dist/plugin-sdk/subagent-registry-CZBK6615.js +0 -61
  485. package/dist/plugin-sdk/subagent-registry-DwnBzoKn.js +0 -61
  486. package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +0 -11
@@ -1,19 +1,19 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { _ as toAgentModelListLike, a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-cbxkoURo.js";
3
- import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, o as resolveOAuthDir, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-Cvc9EM8Y.js";
4
- import { A as resolveConfigIncludes, D as ConfigIncludeError, E as normalizeConfigPaths, F as openBoundaryFileSync, G as applyConfigEnvVars, H as isPathInside$2, J as MissingEnvVarError, M as isPathInside$1, O as INCLUDE_KEY, X as resolveConfigEnvVars, Y as containsEnvVarReference, b as getChildLogger, dt as sleep, f as logVerbose, it as normalizeE164, j as isBlockedObjectKey, k as readConfigIncludeFileWithGuards, n as stripAnsi, ot as resolveConfigDir, q as sanitizeHostExecEnv, rt as isRecord$3, st as resolveUserPath, t as createSubsystemLogger, w as createFileLogWriter } from "./subsystem-BCjklMkJ.js";
2
+ import { _ as toAgentModelListLike, a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-DxKPMu8w.js";
3
+ import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, o as resolveOAuthDir, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-C6TxBCvO.js";
4
+ import { A as resolveConfigIncludes, D as ConfigIncludeError, E as normalizeConfigPaths, F as openBoundaryFileSync, G as applyConfigEnvVars, H as isPathInside$2, J as MissingEnvVarError, M as isPathInside$1, O as INCLUDE_KEY, X as resolveConfigEnvVars, Y as containsEnvVarReference, b as getChildLogger, dt as sleep, f as logVerbose, it as normalizeE164, j as isBlockedObjectKey, k as readConfigIncludeFileWithGuards, n as stripAnsi, ot as resolveConfigDir, q as sanitizeHostExecEnv, rt as isRecord$3, st as resolveUserPath, t as createSubsystemLogger, w as createFileLogWriter } from "./subsystem-CPYnUTN4.js";
5
5
  import { t as isPlainObject$2 } from "./plain-object-CLm2c5Nu.js";
6
- import { D as normalizeAgentId, G as parseAgentSessionKey, I as DEFAULT_ACCOUNT_ID, L as normalizeAccountId$1, O as normalizeMainKey, R as normalizeOptionalAccountId, _ as runExec, w as expandIdentityLinksToMatchKeys, x as buildAgentMainSessionKey, y as DEFAULT_AGENT_ID } from "./workspace-Dbn4gFdH.js";
7
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-WSjo05vB.js";
8
- import { a as registerInternalHook, s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-CLlrMq8r.js";
9
- import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-DUhYSSmK.js";
6
+ import { D as normalizeAgentId, G as parseAgentSessionKey, I as DEFAULT_ACCOUNT_ID, L as normalizeAccountId$1, O as normalizeMainKey, R as normalizeOptionalAccountId, _ as runExec, w as expandIdentityLinksToMatchKeys, x as buildAgentMainSessionKey, y as DEFAULT_AGENT_ID } from "./workspace-B707AGIc.js";
7
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-zGOMIGSh.js";
8
+ import { a as registerInternalHook, s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-vLJrYADD.js";
9
+ import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-QHme-vnS.js";
10
10
  import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BnH5Yy9T.js";
11
11
  import { createRequire } from "node:module";
12
12
  import fs, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
13
13
  import os, { userInfo } from "node:os";
14
14
  import path, { join } from "node:path";
15
- import fs$1 from "node:fs";
16
- import JSON5 from "json5";
15
+ import syncFs from "node:fs";
16
+ import json5 from "json5";
17
17
  import util, { isDeepStrictEqual } from "node:util";
18
18
  import { execFileSync, spawn } from "node:child_process";
19
19
  import { fileURLToPath } from "node:url";
@@ -280,7 +280,7 @@ function isValidPid(pid) {
280
280
  function isZombieProcess(pid) {
281
281
  if (process.platform !== "linux") return false;
282
282
  try {
283
- return fs$1.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
283
+ return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
284
284
  } catch {
285
285
  return false;
286
286
  }
@@ -307,7 +307,7 @@ function getProcessStartTime(pid) {
307
307
  if (process.platform !== "linux") return null;
308
308
  if (!isValidPid(pid)) return null;
309
309
  try {
310
- const stat = fs$1.readFileSync(`/proc/${pid}/stat`, "utf8");
310
+ const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
311
311
  const commEndIndex = stat.lastIndexOf(")");
312
312
  if (commEndIndex < 0) return null;
313
313
  const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
@@ -630,7 +630,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
630
630
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
631
631
  }
632
632
  function ensureAuthStoreFile(pathname) {
633
- if (fs$1.existsSync(pathname)) return;
633
+ if (syncFs.existsSync(pathname)) return;
634
634
  saveJsonFile(pathname, {
635
635
  version: AUTH_STORE_VERSION,
636
636
  profiles: {}
@@ -893,7 +893,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
893
893
  if (shouldWrite && legacy !== null) {
894
894
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
895
895
  try {
896
- fs$1.unlinkSync(legacyPath);
896
+ syncFs.unlinkSync(legacyPath);
897
897
  } catch (err) {
898
898
  if (err?.code !== "ENOENT") log$23.warn("failed to delete legacy auth.json after migration", {
899
899
  err,
@@ -1081,7 +1081,7 @@ function loadDotEnv(opts) {
1081
1081
  const quiet = opts?.quiet ?? true;
1082
1082
  dotenv.config({ quiet });
1083
1083
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
1084
- if (!fs$1.existsSync(globalEnvPath)) return;
1084
+ if (!syncFs.existsSync(globalEnvPath)) return;
1085
1085
  dotenv.config({
1086
1086
  quiet,
1087
1087
  path: globalEnvPath,
@@ -1119,7 +1119,7 @@ function resolveTimeoutMs(timeoutMs) {
1119
1119
  function readEtcShells() {
1120
1120
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1121
1121
  try {
1122
- const entries = fs$1.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1122
+ const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1123
1123
  cachedEtcShells = new Set(entries);
1124
1124
  } catch {
1125
1125
  cachedEtcShells = null;
@@ -2626,7 +2626,7 @@ function resolveActiveTalkProviderConfig(talk) {
2626
2626
  };
2627
2627
  }
2628
2628
  function readTalkApiKeyFromProfile(deps = {}) {
2629
- const fsImpl = deps.fs ?? fs$1;
2629
+ const fsImpl = deps.fs ?? syncFs;
2630
2630
  const osImpl = deps.os ?? os;
2631
2631
  const pathImpl = deps.path ?? path;
2632
2632
  const home = osImpl.homedir();
@@ -4658,7 +4658,7 @@ function normalizeMatchTarget(value) {
4658
4658
  }
4659
4659
  function tryRealpath(value) {
4660
4660
  try {
4661
- return fs$1.realpathSync(value);
4661
+ return syncFs.realpathSync(value);
4662
4662
  } catch {
4663
4663
  return null;
4664
4664
  }
@@ -5211,8 +5211,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
5211
5211
  }
5212
5212
  function isExecutableFile(filePath) {
5213
5213
  try {
5214
- if (!fs$1.statSync(filePath).isFile()) return false;
5215
- if (process.platform !== "win32") fs$1.accessSync(filePath, fs$1.constants.X_OK);
5214
+ if (!syncFs.statSync(filePath).isFile()) return false;
5215
+ if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
5216
5216
  return true;
5217
5217
  } catch {
5218
5218
  return false;
@@ -5251,7 +5251,7 @@ const DEFAULT_SAFE_BINS = [
5251
5251
  function tryResolveRealpath(filePath) {
5252
5252
  if (!filePath) return;
5253
5253
  try {
5254
- return fs$1.realpathSync(filePath);
5254
+ return syncFs.realpathSync(filePath);
5255
5255
  } catch {
5256
5256
  return;
5257
5257
  }
@@ -6126,7 +6126,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
6126
6126
  for (const dir of resolved) {
6127
6127
  let stat;
6128
6128
  try {
6129
- stat = fs$1.statSync(dir);
6129
+ stat = syncFs.statSync(dir);
6130
6130
  } catch {
6131
6131
  continue;
6132
6132
  }
@@ -6773,7 +6773,7 @@ function releaseAllLocksSync() {
6773
6773
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
6774
6774
  } catch {}
6775
6775
  try {
6776
- fs$1.rmSync(held.lockPath, { force: true });
6776
+ syncFs.rmSync(held.lockPath, { force: true });
6777
6777
  } catch {}
6778
6778
  HELD_LOCKS.delete(sessionFile);
6779
6779
  }
@@ -7616,7 +7616,7 @@ const credsSaveQueues = resolveProcessScopedMap(Symbol.for("openclaw.webCredsSav
7616
7616
  function canonicalWebAuthDir(authDir) {
7617
7617
  const resolvedAuthDir = resolveUserPath(authDir);
7618
7618
  try {
7619
- return fs$1.realpathSync.native(resolvedAuthDir);
7619
+ return syncFs.realpathSync.native(resolvedAuthDir);
7620
7620
  } catch (err) {
7621
7621
  if (err.code === "ENOENT") return resolvedAuthDir;
7622
7622
  throw err;
@@ -7631,7 +7631,7 @@ function isWebAuthBeingCleared(authDir) {
7631
7631
  }
7632
7632
  function statFileSync(filePath) {
7633
7633
  try {
7634
- return fs$1.statSync(filePath);
7634
+ return syncFs.statSync(filePath);
7635
7635
  } catch {
7636
7636
  return null;
7637
7637
  }
@@ -7643,7 +7643,7 @@ function hasWebCredsSync(authDir) {
7643
7643
  const resolvedAuthDir = resolveUserPath(authDir);
7644
7644
  maybeRestoreCredsFromBackup(resolvedAuthDir);
7645
7645
  try {
7646
- const stats = fs$1.statSync(resolveWebCredsPath(resolvedAuthDir));
7646
+ const stats = syncFs.statSync(resolveWebCredsPath(resolvedAuthDir));
7647
7647
  return stats.isFile() && stats.size > 1;
7648
7648
  } catch {
7649
7649
  return false;
@@ -7651,10 +7651,10 @@ function hasWebCredsSync(authDir) {
7651
7651
  }
7652
7652
  function readCredsJsonRaw(filePath) {
7653
7653
  try {
7654
- if (!fs$1.existsSync(filePath)) return null;
7655
- const stats = fs$1.statSync(filePath);
7654
+ if (!syncFs.existsSync(filePath)) return null;
7655
+ const stats = syncFs.statSync(filePath);
7656
7656
  if (!stats.isFile() || stats.size <= 1) return null;
7657
- return fs$1.readFileSync(filePath, "utf-8");
7657
+ return syncFs.readFileSync(filePath, "utf-8");
7658
7658
  } catch {
7659
7659
  return null;
7660
7660
  }
@@ -7679,12 +7679,12 @@ function maybeRestoreCredsFromBackup(authDir) {
7679
7679
  const backupRaw = readCredsJsonRaw(backupPath);
7680
7680
  const backupStats = statFileSync(backupPath);
7681
7681
  if (!backupStats?.isFile() || !backupRaw || !isParseableJson(backupRaw)) return;
7682
- fs$1.copyFileSync(backupPath, credsPath);
7682
+ syncFs.copyFileSync(backupPath, credsPath);
7683
7683
  try {
7684
- fs$1.chmodSync(credsPath, 384);
7684
+ syncFs.chmodSync(credsPath, 384);
7685
7685
  } catch {}
7686
7686
  try {
7687
- fs$1.utimesSync(credsPath, backupStats.atime, backupStats.mtime);
7687
+ syncFs.utimesSync(credsPath, backupStats.atime, backupStats.mtime);
7688
7688
  } catch {}
7689
7689
  logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
7690
7690
  } catch {}
@@ -7704,7 +7704,7 @@ function listWhatsAppAuthDirs(cfg) {
7704
7704
  accountId
7705
7705
  }).authDir);
7706
7706
  try {
7707
- const entries = fs$1.readdirSync(whatsappDir, { withFileTypes: true });
7707
+ const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
7708
7708
  for (const entry of entries) {
7709
7709
  if (!entry.isDirectory()) continue;
7710
7710
  authDirs.add(path.join(whatsappDir, entry.name));
@@ -7726,7 +7726,7 @@ function resolveLegacyAuthDir() {
7726
7726
  }
7727
7727
  function legacyAuthExists(authDir) {
7728
7728
  try {
7729
- return fs$1.existsSync(path.join(authDir, "creds.json"));
7729
+ return syncFs.existsSync(path.join(authDir, "creds.json"));
7730
7730
  } catch {
7731
7731
  return false;
7732
7732
  }
@@ -8090,7 +8090,7 @@ function resolveTelegramToken(cfg, opts = {}) {
8090
8090
  const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
8091
8091
  const accountTokenFile = accountCfg?.tokenFile?.trim();
8092
8092
  if (accountTokenFile) {
8093
- if (!fs$1.existsSync(accountTokenFile)) {
8093
+ if (!syncFs.existsSync(accountTokenFile)) {
8094
8094
  opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
8095
8095
  return {
8096
8096
  token: "",
@@ -8098,7 +8098,7 @@ function resolveTelegramToken(cfg, opts = {}) {
8098
8098
  };
8099
8099
  }
8100
8100
  try {
8101
- const token = fs$1.readFileSync(accountTokenFile, "utf-8").trim();
8101
+ const token = syncFs.readFileSync(accountTokenFile, "utf-8").trim();
8102
8102
  if (token) return {
8103
8103
  token,
8104
8104
  source: "tokenFile"
@@ -8126,7 +8126,7 @@ function resolveTelegramToken(cfg, opts = {}) {
8126
8126
  const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
8127
8127
  const tokenFile = telegramCfg?.tokenFile?.trim();
8128
8128
  if (tokenFile) {
8129
- if (!fs$1.existsSync(tokenFile)) {
8129
+ if (!syncFs.existsSync(tokenFile)) {
8130
8130
  opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
8131
8131
  return {
8132
8132
  token: "",
@@ -8134,7 +8134,7 @@ function resolveTelegramToken(cfg, opts = {}) {
8134
8134
  };
8135
8135
  }
8136
8136
  try {
8137
- const token = fs$1.readFileSync(tokenFile, "utf-8").trim();
8137
+ const token = syncFs.readFileSync(tokenFile, "utf-8").trim();
8138
8138
  if (token) return {
8139
8139
  token,
8140
8140
  source: "tokenFile"
@@ -11652,9 +11652,9 @@ function buildSessionHeader(sessionId) {
11652
11652
  })}\n`;
11653
11653
  }
11654
11654
  async function ensureSessionHeader(params) {
11655
- if (fs$1.existsSync(params.sessionFile)) return;
11656
- await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
11657
- await fs$1.promises.writeFile(params.sessionFile, buildSessionHeader(params.sessionId), {
11655
+ if (syncFs.existsSync(params.sessionFile)) return;
11656
+ await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
11657
+ await syncFs.promises.writeFile(params.sessionFile, buildSessionHeader(params.sessionId), {
11658
11658
  encoding: "utf-8",
11659
11659
  mode: 384
11660
11660
  });
@@ -12243,7 +12243,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
12243
12243
  }
12244
12244
  async function getSessionFileSize(storePath) {
12245
12245
  try {
12246
- return (await fs$1.promises.stat(storePath)).size;
12246
+ return (await syncFs.promises.stat(storePath)).size;
12247
12247
  } catch {
12248
12248
  return null;
12249
12249
  }
@@ -12271,7 +12271,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
12271
12271
  }
12272
12272
  const backupPath = `${storePath}.bak.${Date.now()}`;
12273
12273
  try {
12274
- await fs$1.promises.rename(storePath, backupPath);
12274
+ await syncFs.promises.rename(storePath, backupPath);
12275
12275
  log$9.info("rotated session store file", {
12276
12276
  backupPath: path.basename(backupPath),
12277
12277
  sizeBytes: fileSize
@@ -12282,11 +12282,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
12282
12282
  try {
12283
12283
  const dir = path.dirname(storePath);
12284
12284
  const baseName = path.basename(storePath);
12285
- const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
12285
+ const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
12286
12286
  const maxBackups = 3;
12287
12287
  if (backups.length > maxBackups) {
12288
12288
  const toDelete = backups.slice(maxBackups);
12289
- for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
12289
+ for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
12290
12290
  log$9.info("cleaned up old session store backups", { deleted: toDelete.length });
12291
12291
  }
12292
12292
  } catch {}
@@ -12302,7 +12302,7 @@ const NOOP_LOGGER = {
12302
12302
  function canonicalizePathForComparison$1(filePath) {
12303
12303
  const resolved = path.resolve(filePath);
12304
12304
  try {
12305
- return fs$1.realpathSync(resolved);
12305
+ return syncFs.realpathSync(resolved);
12306
12306
  } catch {
12307
12307
  return resolved;
12308
12308
  }
@@ -12360,12 +12360,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
12360
12360
  return referenced;
12361
12361
  }
12362
12362
  async function readSessionsDirFiles(sessionsDir) {
12363
- const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
12363
+ const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
12364
12364
  const files = [];
12365
12365
  for (const dirent of dirEntries) {
12366
12366
  if (!dirent.isFile()) continue;
12367
12367
  const filePath = path.join(sessionsDir, dirent.name);
12368
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
12368
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
12369
12369
  if (!stat?.isFile()) continue;
12370
12370
  files.push({
12371
12371
  path: filePath,
@@ -12397,9 +12397,9 @@ function isProtectedFromBudgetRemoval(filePath, replayedFloorMs, nowMs) {
12397
12397
  }
12398
12398
  async function removeFileIfExists(filePath) {
12399
12399
  if (isPreservationArmed() || !isJsonlSessionBackend()) return 0;
12400
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
12400
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
12401
12401
  if (!stat?.isFile()) return 0;
12402
- await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
12402
+ await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
12403
12403
  return stat.size;
12404
12404
  }
12405
12405
  async function removeFileForBudget(params) {
@@ -12807,19 +12807,19 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
12807
12807
  function canonicalizePathForComparison(filePath) {
12808
12808
  const resolved = path.resolve(filePath);
12809
12809
  try {
12810
- return fs$1.realpathSync(resolved);
12810
+ return syncFs.realpathSync(resolved);
12811
12811
  } catch {
12812
12812
  return resolved;
12813
12813
  }
12814
12814
  }
12815
12815
  function archiveFileOnDisk(filePath, reasonOrOpts) {
12816
12816
  if (typeof reasonOrOpts !== "string") {
12817
- fs$1.linkSync(filePath, reasonOrOpts.destinationPath);
12818
- fs$1.unlinkSync(filePath);
12817
+ syncFs.linkSync(filePath, reasonOrOpts.destinationPath);
12818
+ syncFs.unlinkSync(filePath);
12819
12819
  return reasonOrOpts.destinationPath;
12820
12820
  }
12821
12821
  const archived = `${filePath}.${reasonOrOpts}.${formatSessionArchiveTimestamp()}`;
12822
- fs$1.renameSync(filePath, archived);
12822
+ syncFs.renameSync(filePath, archived);
12823
12823
  return archived;
12824
12824
  }
12825
12825
  /**
@@ -12835,7 +12835,7 @@ function archiveSessionTranscripts(opts) {
12835
12835
  const relative = path.relative(storeDir, candidatePath);
12836
12836
  if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
12837
12837
  }
12838
- if (!fs$1.existsSync(candidatePath)) continue;
12838
+ if (!syncFs.existsSync(candidatePath)) continue;
12839
12839
  try {
12840
12840
  archived.push(archiveFileOnDisk(candidatePath, opts.reason));
12841
12841
  } catch (err) {
@@ -12858,15 +12858,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
12858
12858
  let removed = 0;
12859
12859
  let scanned = 0;
12860
12860
  for (const dir of directories) {
12861
- const entries = await fs$1.promises.readdir(dir).catch(() => []);
12861
+ const entries = await syncFs.promises.readdir(dir).catch(() => []);
12862
12862
  for (const entry of entries) {
12863
12863
  const timestamp = parseSessionArchiveTimestamp(entry, reason);
12864
12864
  if (timestamp == null) continue;
12865
12865
  scanned += 1;
12866
12866
  if (now - timestamp <= opts.olderThanMs) continue;
12867
12867
  const fullPath = path.join(dir, entry);
12868
- if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
12869
- await fs$1.promises.rm(fullPath).catch(() => void 0);
12868
+ if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
12869
+ await syncFs.promises.rm(fullPath).catch(() => void 0);
12870
12870
  removed += 1;
12871
12871
  }
12872
12872
  }
@@ -12995,7 +12995,7 @@ function isCacheEnabled(ttlMs) {
12995
12995
  }
12996
12996
  function getFileStatSnapshot(filePath) {
12997
12997
  try {
12998
- const stats = fs$1.statSync(filePath);
12998
+ const stats = syncFs.statSync(filePath);
12999
12999
  return {
13000
13000
  mtimeMs: stats.mtimeMs,
13001
13001
  sizeBytes: stats.size
@@ -13170,7 +13170,7 @@ function persistHighWaterMarkToRedis(client, keyPrefix, sessionId, highWaterMark
13170
13170
  });
13171
13171
  }
13172
13172
  async function findLastMatchingUserLineIndex(sessionFile, promptText, fromLineIndex) {
13173
- const fileStream = fs$1.createReadStream(sessionFile, { encoding: "utf-8" });
13173
+ const fileStream = syncFs.createReadStream(sessionFile, { encoding: "utf-8" });
13174
13174
  const lines = readline.createInterface({
13175
13175
  input: fileStream,
13176
13176
  crlfDelay: Infinity
@@ -13197,7 +13197,7 @@ async function findLastMatchingUserLineIndex(sessionFile, promptText, fromLineIn
13197
13197
  }
13198
13198
  async function syncConfiguredSessionTranscriptToRuntimeUnlocked(params, active, transcriptStateKey, pendingAppends = []) {
13199
13199
  if (!active.runtime) return;
13200
- if (!fs$1.existsSync(params.sessionFile)) {
13200
+ if (!syncFs.existsSync(params.sessionFile)) {
13201
13201
  setConfiguredTranscriptHighWaterMark(active, transcriptStateKey, 0);
13202
13202
  return;
13203
13203
  }
@@ -13217,7 +13217,7 @@ async function syncConfiguredSessionTranscriptToRuntimeUnlocked(params, active,
13217
13217
  const currentTurnLineIndex = params.currentUserTurn != null ? await findLastMatchingUserLineIndex(params.sessionFile, params.currentUserTurn.promptText, highWaterMark) : void 0;
13218
13218
  let lineIndex = 0;
13219
13219
  let syncedLineIndex = highWaterMark;
13220
- const fileStream = fs$1.createReadStream(params.sessionFile, { encoding: "utf-8" });
13220
+ const fileStream = syncFs.createReadStream(params.sessionFile, { encoding: "utf-8" });
13221
13221
  const lines = readline.createInterface({
13222
13222
  input: fileStream,
13223
13223
  crlfDelay: Infinity
@@ -13412,7 +13412,7 @@ function loadSessionStoreFromDisk(storePath, opts = {}) {
13412
13412
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
13413
13413
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
13414
13414
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
13415
- const raw = fs$1.readFileSync(storePath, "utf-8");
13415
+ const raw = syncFs.readFileSync(storePath, "utf-8");
13416
13416
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
13417
13417
  Atomics.wait(retryBuf, 0, 0, 50);
13418
13418
  continue;
@@ -13590,7 +13590,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
13590
13590
  mode: "primary",
13591
13591
  storePath
13592
13592
  });
13593
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
13593
+ await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
13594
13594
  const json = JSON.stringify(store, null, 2);
13595
13595
  const writePrimaryAfterJsonl = async () => {
13596
13596
  if (configuredPrimary) await configuredSessionStoragePrimaryWrite(configuredPrimary, store);
@@ -15206,13 +15206,13 @@ function resolveBundledPluginsDir() {
15206
15206
  try {
15207
15207
  const execDir = path.dirname(process.execPath);
15208
15208
  const sibling = path.join(execDir, "extensions");
15209
- if (fs$1.existsSync(sibling)) return sibling;
15209
+ if (syncFs.existsSync(sibling)) return sibling;
15210
15210
  } catch {}
15211
15211
  try {
15212
15212
  let cursor = path.dirname(fileURLToPath(import.meta.url));
15213
15213
  for (let i = 0; i < 6; i += 1) {
15214
15214
  const candidate = path.join(cursor, "extensions");
15215
- if (fs$1.existsSync(candidate) && fs$1.existsSync(path.join(cursor, "package.json"))) return candidate;
15215
+ if (syncFs.existsSync(candidate) && syncFs.existsSync(path.join(cursor, "package.json"))) return candidate;
15216
15216
  const parent = path.dirname(cursor);
15217
15217
  if (parent === cursor) break;
15218
15218
  cursor = parent;
@@ -15281,7 +15281,7 @@ function parseSessionConsumers(raw) {
15281
15281
  function resolvePluginManifestPath(rootDir) {
15282
15282
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
15283
15283
  const candidate = path.join(rootDir, filename);
15284
- if (fs$1.existsSync(candidate)) return candidate;
15284
+ if (syncFs.existsSync(candidate)) return candidate;
15285
15285
  }
15286
15286
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
15287
15287
  }
@@ -15307,7 +15307,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
15307
15307
  }
15308
15308
  let raw;
15309
15309
  try {
15310
- raw = JSON.parse(fs$1.readFileSync(opened.fd, "utf-8"));
15310
+ raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
15311
15311
  } catch (err) {
15312
15312
  return {
15313
15313
  ok: false,
@@ -15315,7 +15315,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
15315
15315
  manifestPath
15316
15316
  };
15317
15317
  } finally {
15318
- fs$1.closeSync(opened.fd);
15318
+ syncFs.closeSync(opened.fd);
15319
15319
  }
15320
15320
  return {
15321
15321
  ...loadPluginManifestFromObject(raw, rejectHardlinks),
@@ -15483,7 +15483,7 @@ function safeRealpathSync(targetPath, cache) {
15483
15483
  const cached = cache?.get(targetPath);
15484
15484
  if (cached) return cached;
15485
15485
  try {
15486
- const resolved = fs$1.realpathSync(targetPath);
15486
+ const resolved = syncFs.realpathSync(targetPath);
15487
15487
  cache?.set(targetPath, resolved);
15488
15488
  return resolved;
15489
15489
  } catch {
@@ -15492,7 +15492,7 @@ function safeRealpathSync(targetPath, cache) {
15492
15492
  }
15493
15493
  function safeStatSync(targetPath) {
15494
15494
  try {
15495
- return fs$1.statSync(targetPath);
15495
+ return syncFs.statSync(targetPath);
15496
15496
  } catch {
15497
15497
  return null;
15498
15498
  }
@@ -15624,12 +15624,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
15624
15624
  });
15625
15625
  if (!opened.ok) return null;
15626
15626
  try {
15627
- const raw = fs$1.readFileSync(opened.fd, "utf-8");
15627
+ const raw = syncFs.readFileSync(opened.fd, "utf-8");
15628
15628
  return JSON.parse(raw);
15629
15629
  } catch {
15630
15630
  return null;
15631
15631
  } finally {
15632
- fs$1.closeSync(opened.fd);
15632
+ syncFs.closeSync(opened.fd);
15633
15633
  }
15634
15634
  }
15635
15635
  function deriveIdHint(params) {
@@ -15697,14 +15697,14 @@ function resolvePackageEntrySource(params) {
15697
15697
  return null;
15698
15698
  }
15699
15699
  const safeSource = opened.path;
15700
- fs$1.closeSync(opened.fd);
15700
+ syncFs.closeSync(opened.fd);
15701
15701
  return safeSource;
15702
15702
  }
15703
15703
  function discoverInDirectory(params) {
15704
- if (!fs$1.existsSync(params.dir)) return;
15704
+ if (!syncFs.existsSync(params.dir)) return;
15705
15705
  let entries = [];
15706
15706
  try {
15707
- entries = fs$1.readdirSync(params.dir, { withFileTypes: true });
15707
+ entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
15708
15708
  } catch (err) {
15709
15709
  params.diagnostics.push({
15710
15710
  level: "warn",
@@ -15767,7 +15767,7 @@ function discoverInDirectory(params) {
15767
15767
  }
15768
15768
  continue;
15769
15769
  }
15770
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs$1.existsSync(candidate));
15770
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
15771
15771
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
15772
15772
  candidates: params.candidates,
15773
15773
  diagnostics: params.diagnostics,
@@ -15785,7 +15785,7 @@ function discoverInDirectory(params) {
15785
15785
  }
15786
15786
  function discoverFromPath(params) {
15787
15787
  const resolved = resolveUserPath(params.rawPath);
15788
- if (!fs$1.existsSync(resolved)) {
15788
+ if (!syncFs.existsSync(resolved)) {
15789
15789
  params.diagnostics.push({
15790
15790
  level: "error",
15791
15791
  code: "PLUGIN_LOAD_ERROR",
@@ -15794,7 +15794,7 @@ function discoverFromPath(params) {
15794
15794
  });
15795
15795
  return;
15796
15796
  }
15797
- const stat = fs$1.statSync(resolved);
15797
+ const stat = syncFs.statSync(resolved);
15798
15798
  if (stat.isFile()) {
15799
15799
  if (!isExtensionFile(resolved)) {
15800
15800
  params.diagnostics.push({
@@ -15854,7 +15854,7 @@ function discoverFromPath(params) {
15854
15854
  }
15855
15855
  return;
15856
15856
  }
15857
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs$1.existsSync(candidate));
15857
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
15858
15858
  if (indexFile && isExtensionFile(indexFile)) {
15859
15859
  addCandidate({
15860
15860
  candidates: params.candidates,
@@ -16225,7 +16225,7 @@ function buildCacheKey$1(params) {
16225
16225
  }
16226
16226
  function safeStatMtimeMs(filePath) {
16227
16227
  try {
16228
- return fs$1.statSync(filePath).mtimeMs;
16228
+ return syncFs.statSync(filePath).mtimeMs;
16229
16229
  } catch {
16230
16230
  return null;
16231
16231
  }
@@ -21450,7 +21450,7 @@ function validateConfigObjectWithPluginsBase(raw, opts) {
21450
21450
  };
21451
21451
  const buildManifestSchemaCacheKey = (manifestPath) => {
21452
21452
  try {
21453
- const mtimeMs = fs$1.statSync(manifestPath).mtimeMs;
21453
+ const mtimeMs = syncFs.statSync(manifestPath).mtimeMs;
21454
21454
  return mtimeMs ? `${manifestPath}:${mtimeMs}` : manifestPath;
21455
21455
  } catch {
21456
21456
  return manifestPath;
@@ -21475,7 +21475,7 @@ function validateConfigObjectWithPluginsBase(raw, opts) {
21475
21475
  manifestRoot = record.sourcePath;
21476
21476
  } else if (sources.size === 0) {
21477
21477
  const bundledDir = resolveBundledPluginsDir();
21478
- if (bundledDir && fs$1.existsSync(bundledDir)) {
21478
+ if (bundledDir && syncFs.existsSync(bundledDir)) {
21479
21479
  const realSourcePath = safeRealpathSync(resolveUserPath(record.sourcePath), bundledInstallRealpathCache);
21480
21480
  const realBundledDir = safeRealpathSync(bundledDir, bundledInstallRealpathCache) ?? bundledDir;
21481
21481
  if (!realSourcePath || !isPathWithinRoot(realBundledDir, realSourcePath)) {
@@ -22210,8 +22210,8 @@ function resolveConfigPathForDeps(deps) {
22210
22210
  }
22211
22211
  function normalizeDeps(overrides = {}) {
22212
22212
  return {
22213
- fs: overrides.fs ?? fs$1,
22214
- json5: overrides.json5 ?? JSON5,
22213
+ fs: overrides.fs ?? syncFs,
22214
+ json5: overrides.json5 ?? json5,
22215
22215
  env: overrides.env ?? process.env,
22216
22216
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
22217
22217
  configPath: overrides.configPath ?? "",
@@ -22222,11 +22222,11 @@ function maybeLoadDotEnvForConfig(env) {
22222
22222
  if (env !== process.env) return;
22223
22223
  loadDotEnv({ quiet: true });
22224
22224
  }
22225
- function parseConfigJson5(raw, json5 = JSON5) {
22225
+ function parseConfigJson5(raw, json5$1 = json5) {
22226
22226
  try {
22227
22227
  return {
22228
22228
  ok: true,
22229
- parsed: json5.parse(raw)
22229
+ parsed: json5$1.parse(raw)
22230
22230
  };
22231
22231
  } catch (err) {
22232
22232
  return {
@@ -5,7 +5,7 @@ import { $u as shouldEnableShellEnvFallback, Cc as modelKey, Ec as normalizeProv
5
5
  import { A as resolveDefaultAgentWorkspaceDir, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Dt0TVWFY.js";
6
6
  import { t as formatCliCommand } from "./command-format-N4aQiv3X.js";
7
7
  import { p as resolveSessionTranscriptsDirForAgent, u as resolveSessionTranscriptPath } from "./artifacts-C9Cr_S5Y.js";
8
- import { Et as describeFailoverError, Jt as buildAuthHealthSummary, Yt as formatRemainingShort, b as resolvePluginProviders, fn as formatUsageWindowSummary, g as runEmbeddedPiAgent, mn as maskApiKey, pn as resolveUsageProviderId, qt as DEFAULT_OAUTH_WARN_MS, un as loadProviderUsageSummary } from "./agent-turn-execute-Bw9hhkAP.js";
8
+ import { Et as describeFailoverError, Jt as buildAuthHealthSummary, Yt as formatRemainingShort, b as resolvePluginProviders, fn as formatUsageWindowSummary, g as runEmbeddedPiAgent, mn as maskApiKey, pn as resolveUsageProviderId, qt as DEFAULT_OAUTH_WARN_MS, un as loadProviderUsageSummary } from "./agent-turn-execute-CzOC4mHw.js";
9
9
  import { r as resolveForwardCompatModel } from "./model-BbeosLtF.js";
10
10
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CZ9wxcE8.js";
11
11
  import { t as ensureOpenClawModelsJson } from "./models-config-BMgEFu57.js";