wednesdayai 0.5.1-dev.24 → 0.5.1-dev.25

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 (266) hide show
  1. package/dist/{agent-scope-DCgndASv.js → agent-scope-BKsGMXqc.js} +3 -3
  2. package/dist/{agent-turn-runner-CEjdyv-R.js → agent-turn-runner-LKV3FMwQ.js} +6 -6
  3. package/dist/{api-key-rotation-dv2YbGr8.js → api-key-rotation-DZNFm4xG.js} +2 -2
  4. package/dist/{audio-preflight-C4_SRws-.js → audio-preflight-DQous9JR.js} +29 -29
  5. package/dist/{audio-transcription-runner-Ct0kBrps.js → audio-transcription-runner-BK3cV_ad.js} +26 -26
  6. package/dist/build-info.json +3 -3
  7. package/dist/bundled/boot-md/handler.js +60 -60
  8. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  9. package/dist/bundled/command-logger/handler.js +2 -2
  10. package/dist/bundled/session-journal/handler.js +60 -60
  11. package/dist/bundled/session-memory/handler.js +60 -60
  12. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  13. package/dist/{channel-activity-Kn1_ykXE.js → channel-activity-BAxUpg5h.js} +3 -3
  14. package/dist/{chat-content-1fhcKTem.js → chat-content-BWkiC3u3.js} +34 -34
  15. package/dist/{chrome-DIGxu4IF.js → chrome-Dzgbe0zH.js} +23 -23
  16. package/dist/{chunk-CEygNI3g.js → chunk-Bvf22vTh.js} +3 -3
  17. package/dist/{command-queue-BIc3C-hI.js → command-queue-BOMFLCHM.js} +1 -1
  18. package/dist/{commands-registry-Cof4HjvY.js → commands-registry-Da3c0MbL.js} +2 -2
  19. package/dist/config.js +9 -9
  20. package/dist/{deliver-DrYdFhBN.js → deliver-CJjQbaJE.js} +29 -29
  21. package/dist/{diagnostic-N82VS3Qp.js → diagnostic-Dn_o8RGN.js} +5 -5
  22. package/dist/{plugin-sdk/errors-B671D37F.js → errors-1FTZDNVR.js} +1 -1
  23. package/dist/{fetch-B1ohBh6A.js → fetch-CnDdghbc.js} +8 -8
  24. package/dist/{fetch-guard-BXzVwvnJ.js → fetch-guard-B6BYdjiQ.js} +3 -3
  25. package/dist/{frontmatter-Cw_6jMAR.js → frontmatter-DvbDhvt1.js} +3 -3
  26. package/dist/{fs-safe-BK5ALzKD.js → fs-safe-IYMDplSg.js} +26 -26
  27. package/dist/{image-ops-C-5VgbLB.js → image-ops-BuzZGoUm.js} +1 -1
  28. package/dist/{ir-DioI2VyB.js → ir-CBsM7qoP.js} +5 -5
  29. package/dist/{legacy-names-CghFcfry.js → legacy-names-Ckds5WWe.js} +1 -1
  30. package/dist/llm-slug-generator.js +60 -60
  31. package/dist/{logger-J4xjy-6D.js → logger-BeXVb5cn.js} +1 -1
  32. package/dist/{manager-D728Thsn.js → manager-BujYLKny.js} +18 -18
  33. package/dist/{markdown-tables-DfLMw9ti.js → markdown-tables-WuCFdPlC.js} +2 -2
  34. package/dist/{model-selection-BHGpQSa9.js → model-selection-CHi8o17y.js} +83 -83
  35. package/dist/{models-config-CJUMccZW.js → models-config-CAlyknIh.js} +2 -2
  36. package/dist/{outbound-attachment-DtVXUXnX.js → outbound-attachment-C6mfyze2.js} +2 -2
  37. package/dist/{outbound-message-hooks-7ErHCBLv.js → outbound-message-hooks-jUzcd2OQ.js} +5 -5
  38. package/dist/{path-alias-guards-E9ntDORB.js → path-alias-guards-BgOxr6f8.js} +1 -1
  39. package/dist/{pi-embedded-C1EQ2NQD.js → pi-embedded-aOKwlbog.js} +268 -268
  40. package/dist/{pi-embedded-utils-j-G6as7X.js → pi-embedded-utils-BGvDJMAA.js} +3 -3
  41. package/dist/{pi-model-discovery-BaH_6win.js → pi-model-discovery-CYfRyzsD.js} +7 -7
  42. package/dist/plugin-sdk/{agent-scope-BNKfH4PO.js → agent-scope-B5NskkwN.js} +2 -2
  43. package/dist/plugin-sdk/{agent-turn-execute-Dg4sVJSk.js → agent-turn-execute-C6g1y27e.js} +12 -12
  44. package/dist/plugin-sdk/agent-turn-execute-PXSa6POm.js +64 -0
  45. package/dist/plugin-sdk/{agent-turn-runner-CD9Y0Gsf.js → agent-turn-runner-BkP71ySA.js} +4 -4
  46. package/dist/plugin-sdk/agent-turn-runner-Cwg_qJSY.js +11 -0
  47. package/dist/plugin-sdk/{agent-turn-runner-D9SfXrDG.js → agent-turn-runner-DTwcFLVR.js} +7 -7
  48. package/dist/plugin-sdk/{api-key-rotation-BoeGT5k6.js → api-key-rotation-Dd5GYq7W.js} +2 -2
  49. package/dist/plugin-sdk/{audio-preflight-DpVKYTBy.js → audio-preflight-BTA2w6a8.js} +2 -2
  50. package/dist/plugin-sdk/{audio-preflight-GgmY1Zte.js → audio-preflight-CsMLbzm_.js} +5 -5
  51. package/dist/plugin-sdk/audio-preflight-OHqqRPPw.js +31 -0
  52. package/dist/plugin-sdk/{audio-transcription-runner-0gef4Ef0.js → audio-transcription-runner-2bpzZm3F.js} +1 -1
  53. package/dist/plugin-sdk/{audio-transcription-runner-BhFy0i3B.js → audio-transcription-runner-CW4PtJOr.js} +11 -11
  54. package/dist/plugin-sdk/{auth-profiles-DhZNx6fQ.js → auth-profiles-CxOZbtpA.js} +4 -4
  55. package/dist/plugin-sdk/{channel-activity-BlGuAYdc.js → channel-activity-WL5SZ4Ub.js} +3 -3
  56. package/dist/plugin-sdk/{chat-content-Dpzf2nbZ.js → chat-content-CCOQCwrz.js} +3 -3
  57. package/dist/plugin-sdk/{chat-content-BnSpex4r.js → chat-content-Csto0UEZ.js} +13 -13
  58. package/dist/plugin-sdk/{chrome-D9DwZOSC.js → chrome-C2bUQR0d.js} +8 -8
  59. package/dist/plugin-sdk/{chrome-CBH4Uiy-.js → chrome-DzzIT4YD.js} +13 -13
  60. package/dist/plugin-sdk/{chunk-DKwQiXuF.js → chunk-CWDKrXV-.js} +3 -3
  61. package/dist/plugin-sdk/{chunk-jn4LDLDQ.js → chunk-C_GT4tj0.js} +5 -5
  62. package/dist/plugin-sdk/{command-detection--t4OkqFt.js → command-detection-YLMxiTkq.js} +95 -95
  63. package/dist/plugin-sdk/{command-queue-Dd0-b1-g.js → command-queue-84-UYysZ.js} +1 -1
  64. package/dist/plugin-sdk/{command-queue-DfIjyemM.js → command-queue-BlcsvUrS.js} +7 -7
  65. package/dist/plugin-sdk/{command-queue-Cm8QKC0F.js → command-queue-J0ZpvnYU.js} +1 -1
  66. package/dist/plugin-sdk/{commands-registry-COgT-iaa.js → commands-registry-Bq1VWa2x.js} +2 -2
  67. package/dist/plugin-sdk/{commands-registry-C6FHOrPa.js → commands-registry-oILscT9a.js} +5 -5
  68. package/dist/plugin-sdk/{config-D2katwYr.js → config-Cp7sIoSP.js} +6 -6
  69. package/dist/plugin-sdk/{deliver-CeWz5Axp.js → deliver-1ptGm5gu.js} +14 -14
  70. package/dist/plugin-sdk/{deliver-CZVPDUrt.js → deliver-CT3Lk2kq.js} +1 -1
  71. package/dist/plugin-sdk/{deliver-D6hs0zDt.js → deliver-dkNTCb3Z.js} +3 -3
  72. package/dist/plugin-sdk/deliver-vvTRXMdO.js +35 -0
  73. package/dist/plugin-sdk/{diagnostic-ZVJ6ZVA6.js → diagnostic-BCs9q4kf.js} +6 -6
  74. package/dist/plugin-sdk/{diagnostic-Bi52EuT5.js → diagnostic-C-Clqb63.js} +1 -1
  75. package/dist/plugin-sdk/{diagnostic-DD94QWnh.js → diagnostic-W-ES89_S.js} +5 -5
  76. package/dist/{errors-COs_vQr3.js → plugin-sdk/errors-BAcXagTa.js} +1 -1
  77. package/dist/plugin-sdk/{fetch-guard-DWRMXy-Z.js → fetch-guard-5esEIw3C.js} +3 -3
  78. package/dist/plugin-sdk/{fs-safe-CR39I5to.js → fs-safe-Qut4VUn8.js} +3 -3
  79. package/dist/plugin-sdk/{image-ops-C0wvHJkm.js → image-ops-B9MP8BwT.js} +1 -1
  80. package/dist/plugin-sdk/index.js +56 -56
  81. package/dist/plugin-sdk/{ir-CRNn4Wzv.js → ir-D6Bn5lOZ.js} +5 -5
  82. package/dist/plugin-sdk/{local-roots-D2LPLxOo.js → local-roots-1beRdBcS.js} +7 -7
  83. package/dist/plugin-sdk/{logger-F5PKgK4h.js → logger-DYxRK_FZ.js} +1 -1
  84. package/dist/plugin-sdk/manager-BgK1sRAg.js +16 -0
  85. package/dist/plugin-sdk/{manager-WrO0qTfU.js → manager-Dxv2YpgS.js} +7 -7
  86. package/dist/plugin-sdk/{markdown-tables-DunxiRpT.js → markdown-tables-5CSf45sS.js} +2 -2
  87. package/dist/plugin-sdk/markdown-tables-Q5ogPPem.js +9 -0
  88. package/dist/plugin-sdk/{models-config-DJUNPvmU.js → models-config-Dj4jLPMw.js} +2 -2
  89. package/dist/plugin-sdk/{monitor-BrUwRgsT.js → monitor-BHeL2-is.js} +32 -32
  90. package/dist/plugin-sdk/{outbound-attachment-Bw8Ac2Eh.js → outbound-attachment-DiQNpfYY.js} +2 -2
  91. package/dist/plugin-sdk/{path-alias-guards-DvB3vS9N.js → path-alias-guards-Cr_8wxeu.js} +1 -1
  92. package/dist/plugin-sdk/{pi-embedded-utils-CeNVVYT3.js → pi-embedded-utils-BmeLQMRx.js} +1 -1
  93. package/dist/plugin-sdk/{pi-embedded-utils-DCbfW5pR.js → pi-embedded-utils-Bx8SkKxs.js} +3 -3
  94. package/dist/plugin-sdk/{pi-model-discovery-_OwU2G2N.js → pi-model-discovery-CHCoH08E.js} +1 -1
  95. package/dist/plugin-sdk/{pi-model-discovery-Bt6iAhJo.js → pi-model-discovery-mXT8DqbW.js} +5 -5
  96. package/dist/plugin-sdk/provider-dispatcher-Bg7ik_9P.js +64 -0
  97. package/dist/plugin-sdk/{provider-dispatcher-Bx_RMlu-.js → provider-dispatcher-BkEWKVLB.js} +12 -12
  98. package/dist/plugin-sdk/{provider-image-DH8Jro3J.js → provider-image-BSV8WjkR.js} +1 -1
  99. package/dist/plugin-sdk/{provider-image-Cp4O6erC.js → provider-image-M3j6w2Xu.js} +6 -6
  100. package/dist/plugin-sdk/{provider-image-CBXOs7yQ.js → provider-image-QDVfXKph.js} +4 -4
  101. package/dist/plugin-sdk/provider-image-fv7acwPs.js +25 -0
  102. package/dist/plugin-sdk/{proxy-DhVCl72V.js → proxy-K3jUjtIm.js} +1 -1
  103. package/dist/plugin-sdk/proxy-LKdqVD6u.js +7 -0
  104. package/dist/plugin-sdk/{proxy-fetch-BSTGvynk.js → proxy-fetch-Dt3HV6r3.js} +1 -1
  105. package/dist/plugin-sdk/{pw-ai-BAIve7qq.js → pw-ai-CsU7HGvR.js} +10 -10
  106. package/dist/plugin-sdk/{pw-ai-BP4Kwaqc.js → pw-ai-QlS2E2LB.js} +1 -1
  107. package/dist/plugin-sdk/{qmd-manager-Dk95qYn7.js → qmd-manager-BHhDDFrn.js} +8 -8
  108. package/dist/plugin-sdk/{query-expansion-CmmZw3Kz.js → query-expansion-BY2L8oSD.js} +2 -2
  109. package/dist/plugin-sdk/{recorder-CSYSJRCO.js → recorder-B_7zTSFA.js} +2 -2
  110. package/dist/plugin-sdk/{redact-YbcPIGWf.js → redact-C9Eu_AUI.js} +1 -1
  111. package/dist/plugin-sdk/{replies-CXs4_abR.js → replies-B3XUIs0b.js} +5 -5
  112. package/dist/plugin-sdk/replies-C4T9Nsqz.js +27 -0
  113. package/dist/plugin-sdk/{reply-directives-DjbLtWjg.js → reply-directives-D1IqpiHJ.js} +2 -2
  114. package/dist/plugin-sdk/{reply-prefix-DA4xCsnL.js → reply-prefix-Bf8Iqq8v.js} +1 -1
  115. package/dist/plugin-sdk/reply-prefix-C38vv65Y.js +7 -0
  116. package/dist/plugin-sdk/{resolve-route-Ouh7ZVw1.js → resolve-route-D0I4Llwy.js} +4 -4
  117. package/dist/plugin-sdk/{resolve-route-BDoLW8xr.js → resolve-route-JQF7nqo1.js} +5 -5
  118. package/dist/plugin-sdk/{runs-C1Lvxfri.js → runs-8iACp6xv.js} +3 -3
  119. package/dist/plugin-sdk/{runs-s1XnmHHC.js → runs-C75mB4si.js} +8 -8
  120. package/dist/plugin-sdk/{runs-DG49eFuR.js → runs-D0UdtKVI.js} +5 -5
  121. package/dist/plugin-sdk/runs-S1n4U4AS.js +27 -0
  122. package/dist/plugin-sdk/send--m_QWAPO.js +23 -0
  123. package/dist/plugin-sdk/{send-sl6DLsL2.js → send-4vK7xjJW.js} +15 -15
  124. package/dist/plugin-sdk/{send-YzrHr_2V.js → send-7iASSBg6.js} +6 -6
  125. package/dist/plugin-sdk/{send-BguPpGBL.js → send-BP8o2l4w.js} +2 -2
  126. package/dist/plugin-sdk/send-C4wz_kt5.js +28 -0
  127. package/dist/plugin-sdk/{send-DlYcVutL.js → send-CRZe2naD.js} +8 -8
  128. package/dist/plugin-sdk/{send-CcEF6VcP.js → send-CYZi6dwK.js} +1 -1
  129. package/dist/plugin-sdk/{send-Dzf8uETw.js → send-CzU3DnG8.js} +7 -7
  130. package/dist/plugin-sdk/send-D9H-XXzx.js +25 -0
  131. package/dist/plugin-sdk/{send-C6oFuvTF.js → send-DHH7532s.js} +6 -6
  132. package/dist/plugin-sdk/{send-BRN7Zt5N.js → send-Dhapzixp.js} +19 -19
  133. package/dist/plugin-sdk/send-DnFCjogv.js +24 -0
  134. package/dist/plugin-sdk/{session-context-BKcnHr0H.js → session-context-DVrSm2pD.js} +4 -4
  135. package/dist/plugin-sdk/session-meta-CT3hQSl7.js +13 -0
  136. package/dist/plugin-sdk/{session-meta-Ov3Sv55D.js → session-meta-Cho9XVh8.js} +1 -1
  137. package/dist/plugin-sdk/{sessions-CLYE50YG.js → sessions-D5KTt-gq.js} +4 -4
  138. package/dist/plugin-sdk/{skill-commands-B3IuCuE6.js → skill-commands-Bv0tfv2Q.js} +4 -4
  139. package/dist/plugin-sdk/skill-commands-Clq-qaMe.js +13 -0
  140. package/dist/plugin-sdk/{skills-DcowK80n.js → skills-DO7OTK36.js} +6 -6
  141. package/dist/plugin-sdk/{ssrf-CkGpmmN1.js → ssrf-DPY1teOB.js} +1 -1
  142. package/dist/plugin-sdk/{store-B5Jssa25.js → store-nKIf4x6Y.js} +2 -2
  143. package/dist/plugin-sdk/{subagent-registry-B4EmS6cu.js → subagent-registry-DA50ITkO.js} +12 -12
  144. package/dist/plugin-sdk/subagent-registry-DSh4cze1.js +64 -0
  145. package/dist/plugin-sdk/{subsystem-C-lWCqvG.js → subsystem-CPqF9wja.js} +4 -4
  146. package/dist/plugin-sdk/{tables-CG00Lb4u.js → tables-CatynEzT.js} +1 -1
  147. package/dist/plugin-sdk/testing.js +12 -12
  148. package/dist/plugin-sdk/{tokens-Ctmmv-sn.js → tokens-DdbQh5HH.js} +1 -1
  149. package/dist/plugin-sdk/{tool-loop-detection-ys8oxWQM.js → tool-loop-detection-DazBiexb.js} +1 -1
  150. package/dist/plugin-sdk/{user-run-recording-CTKs_Jv9.js → user-run-recording-BXyHfYg3.js} +2 -2
  151. package/dist/plugin-sdk/user-run-recording-D80GJNVP.js +11 -0
  152. package/dist/{provider-image-CFq0C_z0.js → provider-image-CNBkTbhu.js} +6 -6
  153. package/dist/{proxy-CrSpy5Aw.js → proxy-Ds4gxPy8.js} +1 -1
  154. package/dist/{proxy-env-BxR4m86L.js → proxy-env-DAf-b2bM.js} +1 -1
  155. package/dist/{proxy-fetch-g109vqdt.js → proxy-fetch-M3YAp_Kv.js} +1 -1
  156. package/dist/{pw-ai-Dhm8_p5G.js → pw-ai-BcibeG9a.js} +14 -14
  157. package/dist/{qmd-manager-CU9iEql0.js → qmd-manager-C3UBJiCk.js} +12 -12
  158. package/dist/{query-expansion-B_2rETEo.js → query-expansion-BT5lS0um.js} +13 -13
  159. package/dist/{recorder-Clg9Kbqu.js → recorder-B08vNxya.js} +2 -2
  160. package/dist/{redact-DpE5Tg36.js → redact-CKI6SufO.js} +1 -1
  161. package/dist/{replies-Cty02S3t.js → replies-BHkXhmOj.js} +5 -5
  162. package/dist/{reply-directives-BIh2AkNd.js → reply-directives-DkfwzHl4.js} +2 -2
  163. package/dist/{reply-prefix-C-DjHvQK.js → reply-prefix-DS2s69iC.js} +1 -1
  164. package/dist/{resolve-route-DKZiteo6.js → resolve-route-DxuZn3_M.js} +5 -5
  165. package/dist/{runs-Ot6reoKK.js → runs-DFvW_PVw.js} +9 -9
  166. package/dist/{send-BXHsjIHr.js → send-2aTk7PU-.js} +28 -28
  167. package/dist/{send-Bf4geLyV.js → send-D2WSE41A.js} +8 -8
  168. package/dist/{send-CsDSBjFo.js → send-mILKKt54.js} +6 -6
  169. package/dist/{send-bwKTbNlJ.js → send-odd2G3DX.js} +7 -7
  170. package/dist/{send-DQvfLvpJ.js → send-yIxOvEiz.js} +6 -6
  171. package/dist/{session-meta-5XI6vLtM.js → session-meta-B8B6RwSE.js} +1 -1
  172. package/dist/{sessions-DF9biCmh.js → sessions-DC7A0bw-.js} +5 -5
  173. package/dist/{skill-commands-CAOvM2sb.js → skill-commands-DdVSQNce.js} +8 -8
  174. package/dist/{skills-VN1CJK6W.js → skills-BXMjgvRl.js} +21 -21
  175. package/dist/{store-HgGweM4u.js → store-BVdeIl7N.js} +7 -7
  176. package/dist/{tables-DkwNUhx1.js → tables-yHwb0GsI.js} +1 -1
  177. package/dist/{tokens-PMai9bNL.js → tokens-CXBau-U0.js} +1 -1
  178. package/dist/{tool-loop-detection-BqyMjpvr.js → tool-loop-detection-Bw8B0hV3.js} +2 -2
  179. package/dist/{user-run-recording-B1HujJiT.js → user-run-recording-8MZq1Us4.js} +2 -2
  180. package/dist/{workspace-Bj1Jegt-.js → workspace-DK2ZEkpT.js} +27 -27
  181. package/extensions/acpx/package.json +1 -1
  182. package/extensions/anthropic/package.json +1 -1
  183. package/extensions/bifrost/package.json +1 -1
  184. package/extensions/bluebubbles/package.json +1 -1
  185. package/extensions/copilot-proxy/package.json +1 -1
  186. package/extensions/deepgram/package.json +1 -1
  187. package/extensions/deepinfra/package.json +1 -1
  188. package/extensions/diagnostics-otel/package.json +1 -1
  189. package/extensions/diffs/package.json +1 -1
  190. package/extensions/discord/package.json +1 -1
  191. package/extensions/dream-cycle/package.json +1 -1
  192. package/extensions/elevenlabs/package.json +1 -1
  193. package/extensions/feishu/package.json +1 -1
  194. package/extensions/gemini-search/package.json +1 -1
  195. package/extensions/google/package.json +1 -1
  196. package/extensions/google-gemini-cli-auth/package.json +1 -1
  197. package/extensions/googlechat/package.json +1 -1
  198. package/extensions/grok-search/package.json +1 -1
  199. package/extensions/groq/package.json +1 -1
  200. package/extensions/imessage/package.json +1 -1
  201. package/extensions/irc/package.json +1 -1
  202. package/extensions/kimi-search/package.json +1 -1
  203. package/extensions/learning-core/package.json +1 -1
  204. package/extensions/line/package.json +1 -1
  205. package/extensions/llm-task/package.json +1 -1
  206. package/extensions/lobster/package.json +1 -1
  207. package/extensions/matrix/CHANGELOG.md +1 -1
  208. package/extensions/matrix/package.json +1 -1
  209. package/extensions/mattermost/package.json +1 -1
  210. package/extensions/memory-core/package.json +1 -1
  211. package/extensions/memory-lancedb/package.json +1 -1
  212. package/extensions/minimax/package.json +1 -1
  213. package/extensions/minimax-portal-auth/package.json +1 -1
  214. package/extensions/mistral/package.json +1 -1
  215. package/extensions/moonshot/package.json +1 -1
  216. package/extensions/msteams/CHANGELOG.md +1 -1
  217. package/extensions/msteams/package.json +1 -1
  218. package/extensions/nextcloud-talk/package.json +1 -1
  219. package/extensions/nostr/CHANGELOG.md +1 -1
  220. package/extensions/nostr/package.json +1 -1
  221. package/extensions/open-prose/package.json +1 -1
  222. package/extensions/openai/package.json +1 -1
  223. package/extensions/openai-realtime/package.json +1 -1
  224. package/extensions/openrouter/package.json +1 -1
  225. package/extensions/perplexity-search/package.json +1 -1
  226. package/extensions/searxng-search/package.json +1 -1
  227. package/extensions/signal/package.json +1 -1
  228. package/extensions/slack/package.json +1 -1
  229. package/extensions/synology-chat/package.json +1 -1
  230. package/extensions/telegram/package.json +1 -1
  231. package/extensions/tlon/package.json +1 -1
  232. package/extensions/twitch/CHANGELOG.md +1 -1
  233. package/extensions/twitch/package.json +1 -1
  234. package/extensions/ui-surfaces/package.json +1 -1
  235. package/extensions/voice-call/CHANGELOG.md +1 -1
  236. package/extensions/voice-call/package.json +1 -1
  237. package/extensions/whatsapp/package.json +1 -1
  238. package/extensions/zai/package.json +1 -1
  239. package/extensions/zalo/CHANGELOG.md +1 -1
  240. package/extensions/zalo/package.json +1 -1
  241. package/extensions/zalouser/CHANGELOG.md +1 -1
  242. package/extensions/zalouser/package.json +1 -1
  243. package/package.json +1 -1
  244. package/dist/github-copilot-token-DYYKoDuV.js +0 -106
  245. package/dist/paths-BIDPYPVC.js +0 -233
  246. package/dist/plugin-sdk/agent-turn-execute-W6H2j8kO.js +0 -64
  247. package/dist/plugin-sdk/agent-turn-runner-BTedsvG2.js +0 -11
  248. package/dist/plugin-sdk/audio-preflight-CJ3oP-bs.js +0 -31
  249. package/dist/plugin-sdk/deliver-DaxxC7pS.js +0 -35
  250. package/dist/plugin-sdk/manager-DsV_4p9J.js +0 -16
  251. package/dist/plugin-sdk/markdown-tables-xTvb6uxj.js +0 -9
  252. package/dist/plugin-sdk/provider-dispatcher-BVBAjHBR.js +0 -64
  253. package/dist/plugin-sdk/provider-image-Wa7xYnAo.js +0 -25
  254. package/dist/plugin-sdk/proxy-BFnRHQ1U.js +0 -7
  255. package/dist/plugin-sdk/replies-RqNUByIO.js +0 -27
  256. package/dist/plugin-sdk/reply-prefix-30s91NpV.js +0 -7
  257. package/dist/plugin-sdk/runs-XrgntIht.js +0 -27
  258. package/dist/plugin-sdk/send-8sjelrtn.js +0 -25
  259. package/dist/plugin-sdk/send-BjroMkud.js +0 -24
  260. package/dist/plugin-sdk/send-CwcdQ1wT.js +0 -28
  261. package/dist/plugin-sdk/send-DuyWQ4Q4.js +0 -23
  262. package/dist/plugin-sdk/session-meta-JkAHgftu.js +0 -13
  263. package/dist/plugin-sdk/skill-commands-CZKr2EYZ.js +0 -13
  264. package/dist/plugin-sdk/subagent-registry-28cuPTO-.js +0 -64
  265. package/dist/plugin-sdk/user-run-recording-DIcSd0VJ.js +0 -11
  266. package/dist/subsystem-BZy3aWdW.js +0 -2761
@@ -1,28 +1,28 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { f as resolveRequiredHomeDir, l as resolveStateDir, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-BIDPYPVC.js";
3
- import { Z as CONFIG_DIR, ct as safeParseJson, f as logVerbose, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger, u as danger } from "./subsystem-BZy3aWdW.js";
4
- import { B as DEFAULT_ACCOUNT_ID, V as normalizeAccountId } from "./workspace-Bj1Jegt-.js";
5
- import { G as readConfigFileSnapshotForWrite, K as writeConfigFile, Kn as getChannelPlugin, U as loadConfig, Xi as resolveTelegramPreviewStreamMode, _a as withFileLock$1, ar as resolveTelegramAccount, la as isTruthyEnvValue, qn as listChannelPlugins } from "./model-selection-BHGpQSa9.js";
6
- import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-N82VS3Qp.js";
2
+ import { f as resolveRequiredHomeDir, l as resolveStateDir, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-B_gs59ga.js";
3
+ import { Z as CONFIG_DIR, ct as safeParseJson, f as logVerbose, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger, u as danger } from "./subsystem-BaT-AAVZ.js";
4
+ import { B as DEFAULT_ACCOUNT_ID, V as normalizeAccountId } from "./workspace-DK2ZEkpT.js";
5
+ import { G as readConfigFileSnapshotForWrite, K as writeConfigFile, Kn as getChannelPlugin, U as loadConfig, Xi as resolveTelegramPreviewStreamMode, _a as withFileLock$1, ar as resolveTelegramAccount, la as isTruthyEnvValue, qn as listChannelPlugins } from "./model-selection-CHi8o17y.js";
6
+ import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-Dn_o8RGN.js";
7
7
  import { n as sha256HexPrefix, t as redactIdentifier } from "./redact-identifier-WYElxwAZ.js";
8
- import { t as redactSensitiveText } from "./redact-DpE5Tg36.js";
9
- import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-C-5VgbLB.js";
10
- import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, n as extractErrorCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-COs_vQr3.js";
11
- import { t as hasProxyEnvConfigured } from "./proxy-env-BxR4m86L.js";
8
+ import { t as redactSensitiveText } from "./redact-CKI6SufO.js";
9
+ import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-BuzZGoUm.js";
10
+ import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, n as extractErrorCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-1FTZDNVR.js";
11
+ import { t as hasProxyEnvConfigured } from "./proxy-env-DAf-b2bM.js";
12
12
  import { r as writeJsonAtomic } from "./json-files-DBtcstGX.js";
13
- import { i as normalizeFormDataBodyForRuntime } from "./fetch-guard-BXzVwvnJ.js";
14
- import { r as makeProxyFetch } from "./proxy-fetch-g109vqdt.js";
15
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
16
- import { a as loadWebMedia, n as markdownToIR } from "./ir-DioI2VyB.js";
13
+ import { i as normalizeFormDataBodyForRuntime } from "./fetch-guard-B6BYdjiQ.js";
14
+ import { r as makeProxyFetch } from "./proxy-fetch-M3YAp_Kv.js";
15
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-WuCFdPlC.js";
16
+ import { a as loadWebMedia, n as markdownToIR } from "./ir-CBsM7qoP.js";
17
17
  import { t as renderMarkdownWithMarkers } from "./render-2Ztmr_V0.js";
18
18
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BVyUaG_D.js";
19
- import { i as normalizePollInput, n as recordChannelActivity, o as createTelegramRetryRunner } from "./channel-activity-Kn1_ykXE.js";
19
+ import { i as normalizePollInput, n as recordChannelActivity, o as createTelegramRetryRunner } from "./channel-activity-BAxUpg5h.js";
20
20
  import { t as buildOutboundMediaLoadOptions } from "./load-options-CkQ1z00p.js";
21
21
  import path from "node:path";
22
- import fs, { readFileSync } from "node:fs";
22
+ import syncFs, { readFileSync } from "node:fs";
23
23
  import os from "node:os";
24
24
  import JSON5 from "json5";
25
- import fs$1 from "node:fs/promises";
25
+ import fs from "node:fs/promises";
26
26
  import process$1 from "node:process";
27
27
  import crypto, { randomBytes } from "node:crypto";
28
28
  import * as net$1 from "node:net";
@@ -160,7 +160,7 @@ function getPairingAdapter(channelId) {
160
160
  //#region src/plugin-sdk/json-store.ts
161
161
  async function readJsonFileWithFallback(filePath, fallback) {
162
162
  try {
163
- const parsed = safeParseJson(await fs.promises.readFile(filePath, "utf-8"));
163
+ const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
164
164
  if (parsed == null) return {
165
165
  value: fallback,
166
166
  exists: true
@@ -247,7 +247,7 @@ async function readPairingRequests(filePath) {
247
247
  }
248
248
  async function ensureJsonFile(filePath, fallback) {
249
249
  try {
250
- await fs.promises.access(filePath);
250
+ await syncFs.promises.access(filePath);
251
251
  } catch {
252
252
  await writeJsonFile(filePath, fallback);
253
253
  }
@@ -403,7 +403,7 @@ function resolveAllowFromReadCacheOrMissing(filePath, stat) {
403
403
  async function readAllowFromStateForPathWithExists(channel, filePath) {
404
404
  let stat = null;
405
405
  try {
406
- stat = await fs.promises.stat(filePath);
406
+ stat = await syncFs.promises.stat(filePath);
407
407
  } catch (err) {
408
408
  if (err.code !== "ENOENT") throw err;
409
409
  }
@@ -446,7 +446,7 @@ async function writeAllowFromState(filePath, allowFrom) {
446
446
  });
447
447
  let stat = null;
448
448
  try {
449
- stat = await fs.promises.stat(filePath);
449
+ stat = await syncFs.promises.stat(filePath);
450
450
  } catch {}
451
451
  setAllowFromReadCache(filePath, {
452
452
  exists: true,
@@ -1053,7 +1053,7 @@ function resolveCronStorePath(storePath) {
1053
1053
  }
1054
1054
  async function loadCronStore(storePath) {
1055
1055
  try {
1056
- const raw = await fs.promises.readFile(storePath, "utf-8");
1056
+ const raw = await syncFs.promises.readFile(storePath, "utf-8");
1057
1057
  let parsed;
1058
1058
  try {
1059
1059
  parsed = JSON5.parse(raw);
@@ -1079,13 +1079,13 @@ async function loadCronStore(storePath) {
1079
1079
  }
1080
1080
  }
1081
1081
  async function saveCronStore(storePath, store) {
1082
- await fs.promises.mkdir(path.dirname(storePath), { recursive: true });
1082
+ await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
1083
1083
  const json = JSON.stringify(store, null, 2);
1084
1084
  const cached = serializedStoreCache.get(storePath);
1085
1085
  if (cached === json) return;
1086
1086
  let previous = cached ?? null;
1087
1087
  if (previous === null) try {
1088
- previous = await fs.promises.readFile(storePath, "utf-8");
1088
+ previous = await syncFs.promises.readFile(storePath, "utf-8");
1089
1089
  } catch (err) {
1090
1090
  if (err.code !== "ENOENT") throw err;
1091
1091
  }
@@ -1094,9 +1094,9 @@ async function saveCronStore(storePath, store) {
1094
1094
  return;
1095
1095
  }
1096
1096
  const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
1097
- await fs.promises.writeFile(tmp, json, "utf-8");
1097
+ await syncFs.promises.writeFile(tmp, json, "utf-8");
1098
1098
  if (previous !== null) try {
1099
- await fs.promises.copyFile(storePath, `${storePath}.bak`);
1099
+ await syncFs.promises.copyFile(storePath, `${storePath}.bak`);
1100
1100
  } catch {}
1101
1101
  await renameWithRetry(tmp, storePath);
1102
1102
  serializedStoreCache.set(storePath, json);
@@ -1105,7 +1105,7 @@ const RENAME_MAX_RETRIES = 3;
1105
1105
  const RENAME_BASE_DELAY_MS = 50;
1106
1106
  async function renameWithRetry(src, dest) {
1107
1107
  for (let attempt = 0; attempt <= RENAME_MAX_RETRIES; attempt++) try {
1108
- await fs.promises.rename(src, dest);
1108
+ await syncFs.promises.rename(src, dest);
1109
1109
  return;
1110
1110
  } catch (err) {
1111
1111
  const code = err.code;
@@ -1114,8 +1114,8 @@ async function renameWithRetry(src, dest) {
1114
1114
  continue;
1115
1115
  }
1116
1116
  if (code === "EPERM" || code === "EEXIST") {
1117
- await fs.promises.copyFile(src, dest);
1118
- await fs.promises.unlink(src).catch(() => {});
1117
+ await syncFs.promises.copyFile(src, dest);
1118
+ await syncFs.promises.unlink(src).catch(() => {});
1119
1119
  return;
1120
1120
  }
1121
1121
  throw err;
@@ -1,15 +1,15 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-BZy3aWdW.js";
3
- import { Tr as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, wr as resolveDiscordAccount, x as retryAsync } from "./model-selection-BHGpQSa9.js";
2
+ import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak } from "./subsystem-BaT-AAVZ.js";
3
+ import { Tr as normalizeDiscordToken, U as loadConfig, b as resolveRetryConfig, wr as resolveDiscordAccount, x as retryAsync } from "./model-selection-CHi8o17y.js";
4
4
  import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-05TiAkXA.js";
5
- import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-C-5VgbLB.js";
6
- import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-CEygNI3g.js";
7
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
8
- import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-DioI2VyB.js";
5
+ import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-BuzZGoUm.js";
6
+ import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-Bvf22vTh.js";
7
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-WuCFdPlC.js";
8
+ import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-CBsM7qoP.js";
9
9
  import { t as resolveFetch } from "./fetch-BVyUaG_D.js";
10
- import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-Kn1_ykXE.js";
10
+ import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, r as normalizePollDurationHours } from "./channel-activity-BAxUpg5h.js";
11
11
  import { t as buildOutboundMediaLoadOptions } from "./load-options-CkQ1z00p.js";
12
- import { t as convertMarkdownTables } from "./tables-DkwNUhx1.js";
12
+ import { t as convertMarkdownTables } from "./tables-yHwb0GsI.js";
13
13
  import path from "node:path";
14
14
  import fs from "node:fs/promises";
15
15
  import { promisify } from "node:util";
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-BZy3aWdW.js";
3
- import { U as loadConfig, mr as resolveSignalAccount } from "./model-selection-BHGpQSa9.js";
2
+ import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-BaT-AAVZ.js";
3
+ import { U as loadConfig, mr as resolveSignalAccount } from "./model-selection-CHi8o17y.js";
4
4
  import { n as generateSecureUuid } from "./secure-random-BEYczWtd.js";
5
- import { m as kindFromMime } from "./image-ops-C-5VgbLB.js";
5
+ import { m as kindFromMime } from "./image-ops-BuzZGoUm.js";
6
6
  import { n as fetchWithTimeout } from "./fetch-timeout-Dyj5Y_Ss.js";
7
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
8
- import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DioI2VyB.js";
7
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-WuCFdPlC.js";
8
+ import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-CBsM7qoP.js";
9
9
  import { t as resolveFetch } from "./fetch-BVyUaG_D.js";
10
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DtVXUXnX.js";
10
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C6mfyze2.js";
11
11
 
12
12
  //#region src/signal/format.ts
13
13
  function normalizeUrlForComparison(url) {
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { f as logVerbose } from "./subsystem-BZy3aWdW.js";
3
- import { U as loadConfig, fr as resolveSlackBotToken, lr as resolveSlackAccount } from "./model-selection-BHGpQSa9.js";
2
+ import { f as logVerbose } from "./subsystem-BaT-AAVZ.js";
3
+ import { U as loadConfig, fr as resolveSlackBotToken, lr as resolveSlackAccount } from "./model-selection-CHi8o17y.js";
4
4
  import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-05TiAkXA.js";
5
- import { i as isSilentReplyText } from "./tokens-PMai9bNL.js";
6
- import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BXzVwvnJ.js";
7
- import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-CEygNI3g.js";
8
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
9
- import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DioI2VyB.js";
5
+ import { i as isSilentReplyText } from "./tokens-CXBau-U0.js";
6
+ import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B6BYdjiQ.js";
7
+ import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-Bvf22vTh.js";
8
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-WuCFdPlC.js";
9
+ import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-CBsM7qoP.js";
10
10
  import { t as renderMarkdownWithMarkers } from "./render-2Ztmr_V0.js";
11
11
  import { WebClient } from "@slack/web-api";
12
12
 
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { it as normalizeE164, st as resolveUserPath } from "./subsystem-BZy3aWdW.js";
3
- import { U as loadConfig, xr as resolveIMessageAccount } from "./model-selection-BHGpQSa9.js";
4
- import { m as kindFromMime } from "./image-ops-C-5VgbLB.js";
5
- import { n as resolveMarkdownTableMode } from "./markdown-tables-DfLMw9ti.js";
6
- import { t as convertMarkdownTables } from "./tables-DkwNUhx1.js";
7
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DtVXUXnX.js";
2
+ import { it as normalizeE164, st as resolveUserPath } from "./subsystem-BaT-AAVZ.js";
3
+ import { U as loadConfig, xr as resolveIMessageAccount } from "./model-selection-CHi8o17y.js";
4
+ import { m as kindFromMime } from "./image-ops-BuzZGoUm.js";
5
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-WuCFdPlC.js";
6
+ import { t as convertMarkdownTables } from "./tables-yHwb0GsI.js";
7
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C6mfyze2.js";
8
8
  import { spawn } from "node:child_process";
9
9
  import { createInterface } from "node:readline";
10
10
 
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Un as resolveStorePath, xn as recordSessionMetaFromInbound } from "./model-selection-BHGpQSa9.js";
2
+ import { Un as resolveStorePath, xn as recordSessionMetaFromInbound } from "./model-selection-CHi8o17y.js";
3
3
 
4
4
  //#region src/channels/session-meta.ts
5
5
  var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
@@ -1,11 +1,11 @@
1
- import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
2
- import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
3
- import { C as buildAgentMainSessionKey, D as computeIdentityLinkScopedMatchKey, E as computeIdentityLinkMatchKeys, F as resolveConfiguredCanonicalIdentity, G as WAKE_GATE_SESSION_KEY_SEGMENT, M as normalizeMainKey, P as resolveCanonicalIdentity, Q as parseAgentSessionKey, S as RAW_PEER_KEY_PREFIX, U as BACKGROUND_SESSION_KEY_SEGMENT, W as HEARTBEAT_SESSION_KEY_SEGMENT, X as isCronTriggerSessionKey, j as normalizeAgentId, y as DEFAULT_AGENT_ID } from "./workspace-Bj1Jegt-.js";
4
- import { $r as isRetryExhausted, En as DEFAULT_IDLE_MINUTES, Fn as resolveUpdatedAfterPageSize, Gn as resolveGroupSessionKey, Ln as SESSION_RUN_STORE_FILE_NAME, Nn as serializeSessionIndexRecordKey, Qr as computeNextAvailableAtMs, Rn as resolveDefaultSessionStorePath, U as loadConfig, Un as resolveStorePath, Vr as normalizeMessageChannel, Xr as CtxProjectionCorruptionError, _n as loadSessionStore, dn as requireSessionStorageRuntime, ei as parseRetryPolicy, hn as getConfiguredSessionStorageRuntime, ln as getConversationReadQuery, ti as serializeRetryPolicy, va as resolveProcessScopedMap, wn as updateSessionStore, zn as resolveSessionFilePath } from "./model-selection-BHGpQSa9.js";
1
+ import { l as resolveStateDir } from "./paths-B_gs59ga.js";
2
+ import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
3
+ import { C as buildAgentMainSessionKey, D as computeIdentityLinkScopedMatchKey, E as computeIdentityLinkMatchKeys, F as resolveConfiguredCanonicalIdentity, G as WAKE_GATE_SESSION_KEY_SEGMENT, M as normalizeMainKey, P as resolveCanonicalIdentity, Q as parseAgentSessionKey, S as RAW_PEER_KEY_PREFIX, U as BACKGROUND_SESSION_KEY_SEGMENT, W as HEARTBEAT_SESSION_KEY_SEGMENT, X as isCronTriggerSessionKey, j as normalizeAgentId, y as DEFAULT_AGENT_ID } from "./workspace-DK2ZEkpT.js";
4
+ import { $r as isRetryExhausted, En as DEFAULT_IDLE_MINUTES, Fn as resolveUpdatedAfterPageSize, Gn as resolveGroupSessionKey, Ln as SESSION_RUN_STORE_FILE_NAME, Nn as serializeSessionIndexRecordKey, Qr as computeNextAvailableAtMs, Rn as resolveDefaultSessionStorePath, U as loadConfig, Un as resolveStorePath, Vr as normalizeMessageChannel, Xr as CtxProjectionCorruptionError, _n as loadSessionStore, dn as requireSessionStorageRuntime, ei as parseRetryPolicy, hn as getConfiguredSessionStorageRuntime, ln as getConversationReadQuery, ti as serializeRetryPolicy, va as resolveProcessScopedMap, wn as updateSessionStore, zn as resolveSessionFilePath } from "./model-selection-CHi8o17y.js";
5
5
  import { r as normalizeChatType } from "./conversation-label-CrORLc0j.js";
6
6
  import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
7
7
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-C9cNWasT.js";
8
- import { r as formatErrorChainMessage } from "./errors-COs_vQr3.js";
8
+ import { r as formatErrorChainMessage } from "./errors-1FTZDNVR.js";
9
9
  import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-BjtVxiJr.js";
10
10
  import { createRequire } from "node:module";
11
11
  import path, { join } from "node:path";
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-DCgndASv.js";
3
- import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
4
- import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
5
- import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-VN1CJK6W.js";
2
+ import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-BKsGMXqc.js";
3
+ import { l as resolveStateDir } from "./paths-B_gs59ga.js";
4
+ import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
5
+ import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-BXMjgvRl.js";
6
6
  import { t as createAsyncLock } from "./json-files-DBtcstGX.js";
7
- import { a as listChatCommands } from "./commands-registry-Cof4HjvY.js";
7
+ import { a as listChatCommands } from "./commands-registry-Da3c0MbL.js";
8
8
  import path from "node:path";
9
- import fs from "node:fs";
9
+ import syncFs from "node:fs";
10
10
  import os from "node:os";
11
11
  import { randomUUID } from "node:crypto";
12
12
  import chokidar from "chokidar";
@@ -248,13 +248,13 @@ function listSkillCommandsForAgents(params) {
248
248
  const workspaceFilters = /* @__PURE__ */ new Map();
249
249
  for (const agentId of agentIds) {
250
250
  const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
251
- if (!fs.existsSync(workspaceDir)) {
251
+ if (!syncFs.existsSync(workspaceDir)) {
252
252
  logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
253
253
  continue;
254
254
  }
255
255
  let canonicalDir;
256
256
  try {
257
- canonicalDir = fs.realpathSync(workspaceDir);
257
+ canonicalDir = syncFs.realpathSync(workspaceDir);
258
258
  } catch {
259
259
  logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
260
260
  continue;
@@ -1,11 +1,11 @@
1
- import { m as normalizeSkillFilter } from "./agent-scope-DCgndASv.js";
2
- import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
3
- import { h as resolveOpenClawPackageRootSync } from "./workspace-Bj1Jegt-.js";
4
- import { At as normalizePluginsConfig, Ea as normalizeResolvedSecretInputString, Et as loadPluginManifestRegistry, Mt as resolveMemorySlotDecision, jt as resolveEffectiveEnableState } from "./model-selection-BHGpQSa9.js";
5
- import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-Cw_6jMAR.js";
6
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-E9ntDORB.js";
1
+ import { m as normalizeSkillFilter } from "./agent-scope-BKsGMXqc.js";
2
+ import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
3
+ import { h as resolveOpenClawPackageRootSync } from "./workspace-DK2ZEkpT.js";
4
+ import { At as normalizePluginsConfig, Ea as normalizeResolvedSecretInputString, Et as loadPluginManifestRegistry, Mt as resolveMemorySlotDecision, jt as resolveEffectiveEnableState } from "./model-selection-CHi8o17y.js";
5
+ import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-DvbDhvt1.js";
6
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-BgOxr6f8.js";
7
7
  import path from "node:path";
8
- import fs from "node:fs";
8
+ import syncFs from "node:fs";
9
9
  import os from "node:os";
10
10
  import { URL as URL$1, fileURLToPath } from "node:url";
11
11
  import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
@@ -542,13 +542,13 @@ function shortPath(value) {
542
542
  //#region src/agents/skills/bundled-dir.ts
543
543
  function looksLikeSkillsDir(dir) {
544
544
  try {
545
- const entries = fs.readdirSync(dir, { withFileTypes: true });
545
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
546
546
  for (const entry of entries) {
547
547
  if (entry.name.startsWith(".")) continue;
548
548
  const fullPath = path.join(dir, entry.name);
549
549
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
550
550
  if (entry.isDirectory()) {
551
- if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
551
+ if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
552
552
  }
553
553
  }
554
554
  } catch {
@@ -563,7 +563,7 @@ function resolveBundledSkillsDir(opts = {}) {
563
563
  const execPath = opts.execPath ?? process.execPath;
564
564
  const execDir = path.dirname(execPath);
565
565
  const sibling = path.join(execDir, "skills");
566
- if (fs.existsSync(sibling)) return sibling;
566
+ if (syncFs.existsSync(sibling)) return sibling;
567
567
  } catch {}
568
568
  try {
569
569
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -626,7 +626,7 @@ function resolvePluginSkillDirs(params) {
626
626
  const trimmed = raw.trim();
627
627
  if (!trimmed) continue;
628
628
  const candidate = path.resolve(record.rootDir, trimmed);
629
- if (!fs.existsSync(candidate)) {
629
+ if (!syncFs.existsSync(candidate)) {
630
630
  log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
631
631
  continue;
632
632
  }
@@ -657,7 +657,7 @@ async function serializeByKey(key, task) {
657
657
 
658
658
  //#endregion
659
659
  //#region src/agents/skills/workspace.ts
660
- const fsp = fs.promises;
660
+ const fsp = syncFs.promises;
661
661
  const skillsLogger = createSubsystemLogger("skills");
662
662
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
663
663
  /**
@@ -734,7 +734,7 @@ function resolveSkillsLimits(config) {
734
734
  }
735
735
  function listChildDirectories(dir) {
736
736
  try {
737
- const entries = fs.readdirSync(dir, { withFileTypes: true });
737
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
738
738
  const dirs = [];
739
739
  for (const entry of entries) {
740
740
  if (entry.name.startsWith(".")) continue;
@@ -745,7 +745,7 @@ function listChildDirectories(dir) {
745
745
  continue;
746
746
  }
747
747
  if (entry.isSymbolicLink()) try {
748
- if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
748
+ if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
749
749
  } catch {}
750
750
  }
751
751
  return dirs;
@@ -756,7 +756,7 @@ function listChildDirectories(dir) {
756
756
  function resolveNestedSkillsRoot(dir, opts) {
757
757
  const nested = path.join(dir, "skills");
758
758
  try {
759
- if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
759
+ if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
760
760
  } catch {
761
761
  return { baseDir: dir };
762
762
  }
@@ -765,7 +765,7 @@ function resolveNestedSkillsRoot(dir, opts) {
765
765
  const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
766
766
  for (const name of toScan) {
767
767
  const skillMd = path.join(nested, name, "SKILL.md");
768
- if (fs.existsSync(skillMd)) return {
768
+ if (syncFs.existsSync(skillMd)) return {
769
769
  baseDir: nested,
770
770
  note: `Detected nested skills root at ${nested}`
771
771
  };
@@ -785,9 +785,9 @@ function loadSkillEntries(workspaceDir, opts) {
785
785
  const loadSkills = (params) => {
786
786
  const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
787
787
  const rootSkillMd = path.join(baseDir, "SKILL.md");
788
- if (fs.existsSync(rootSkillMd)) {
788
+ if (syncFs.existsSync(rootSkillMd)) {
789
789
  try {
790
- const size = fs.statSync(rootSkillMd).size;
790
+ const size = syncFs.statSync(rootSkillMd).size;
791
791
  if (size > limits.maxSkillFileBytes) {
792
792
  skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
793
793
  dir: baseDir,
@@ -826,9 +826,9 @@ function loadSkillEntries(workspaceDir, opts) {
826
826
  for (const name of limitedChildren) {
827
827
  const skillDir = path.join(baseDir, name);
828
828
  const skillMd = path.join(skillDir, "SKILL.md");
829
- if (!fs.existsSync(skillMd)) continue;
829
+ if (!syncFs.existsSync(skillMd)) continue;
830
830
  try {
831
- const size = fs.statSync(skillMd).size;
831
+ const size = syncFs.statSync(skillMd).size;
832
832
  if (size > limits.maxSkillFileBytes) {
833
833
  skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
834
834
  skill: name,
@@ -896,7 +896,7 @@ function loadSkillEntries(workspaceDir, opts) {
896
896
  return Array.from(merged.values()).map((skill) => {
897
897
  let frontmatter = {};
898
898
  try {
899
- frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
899
+ frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
900
900
  } catch {}
901
901
  return {
902
902
  skill,
@@ -1,7 +1,7 @@
1
- import { ot as resolveConfigDir } from "./subsystem-BZy3aWdW.js";
2
- import { c as detectMime, l as extensionForMime } from "./image-ops-C-5VgbLB.js";
1
+ import { ot as resolveConfigDir } from "./subsystem-BaT-AAVZ.js";
2
+ import { c as detectMime, l as extensionForMime } from "./image-ops-BuzZGoUm.js";
3
3
  import path from "node:path";
4
- import fs$1 from "node:fs/promises";
4
+ import fs from "node:fs/promises";
5
5
  import crypto from "node:crypto";
6
6
  import { pipeline } from "node:stream/promises";
7
7
 
@@ -14,7 +14,7 @@ const MEDIA_FILE_MODE = 420;
14
14
  async function setMediaFileMode(filePath) {
15
15
  if (process.platform === "win32") return;
16
16
  try {
17
- await fs$1.chmod(filePath, MEDIA_FILE_MODE);
17
+ await fs.chmod(filePath, MEDIA_FILE_MODE);
18
18
  } catch (err) {
19
19
  const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
20
20
  if ([
@@ -41,7 +41,7 @@ function getMediaDir() {
41
41
  }
42
42
  async function ensureMediaDir() {
43
43
  const mediaDir = resolveMediaDir();
44
- await fs$1.mkdir(mediaDir, {
44
+ await fs.mkdir(mediaDir, {
45
45
  recursive: true,
46
46
  mode: 448
47
47
  });
@@ -50,7 +50,7 @@ async function ensureMediaDir() {
50
50
  async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
51
51
  if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
52
52
  const dir = path.join(resolveMediaDir(), subdir);
53
- await fs$1.mkdir(dir, {
53
+ await fs.mkdir(dir, {
54
54
  recursive: true,
55
55
  mode: 448
56
56
  });
@@ -70,7 +70,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
70
70
  id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
71
71
  } else id = ext ? `${uuid}${ext}` : uuid;
72
72
  const dest = path.join(dir, id);
73
- await fs$1.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
73
+ await fs.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
74
74
  await setMediaFileMode(dest);
75
75
  return {
76
76
  id,
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-DioI2VyB.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-CBsM7qoP.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-2Ztmr_V0.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -1,4 +1,4 @@
1
- import { tt as escapeRegExp } from "./subsystem-BZy3aWdW.js";
1
+ import { tt as escapeRegExp } from "./subsystem-BaT-AAVZ.js";
2
2
 
3
3
  //#region src/auto-reply/tokens.ts
4
4
  const HEARTBEAT_TOKEN = "HEARTBEAT_OK";
@@ -1,5 +1,5 @@
1
- import "./paths-BIDPYPVC.js";
2
- import { t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
1
+ import "./paths-B_gs59ga.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
3
3
  import { t as isPlainObject } from "./plain-object-CLm2c5Nu.js";
4
4
  import { createHash } from "node:crypto";
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
3
3
  import { t as CommandLane } from "./lanes-DTaUAkeG.js";
4
- import { i as summarizeSessionRunPrompt, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-Clg9Kbqu.js";
4
+ import { i as summarizeSessionRunPrompt, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-B08vNxya.js";
5
5
  import { randomUUID } from "node:crypto";
6
6
 
7
7
  //#region src/agents/lanes.ts