wednesdayai 0.6.1-dev.47 → 0.6.1-dev.50

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 (443) hide show
  1. package/dist/{acp-cli-DwgE-JaK.js → acp-cli-COVr7c9K.js} +12 -12
  2. package/dist/{agent-DOJWHSTp.js → agent-BgBSmNaI.js} +11 -11
  3. package/dist/{agent-BzS-Bw92.js → agent-XU4Yrfkg.js} +19 -19
  4. package/dist/{agent-turn-enqueue-DNz67IZC.js → agent-turn-enqueue-C65boHpU.js} +6 -6
  5. package/dist/{agent-turn-execute-CVq_M1H9.js → agent-turn-execute-CijEn5uU.js} +81 -81
  6. package/dist/{agent-turn-recovery-adapter-CVhr928E.js → agent-turn-recovery-adapter-xa1CJlHy.js} +4 -4
  7. package/dist/{agent-turn-runner-MK7RWfZB.js → agent-turn-runner-ns-G6-qQ.js} +4 -4
  8. package/dist/{agent-turn-runner-BnpbHkgj.js → agent-turn-runner-zXi4ADUq.js} +6 -6
  9. package/dist/{agents-iPiwcs70.js → agents-DdxbZ1yR.js} +15 -15
  10. package/dist/{agents.config-Dh-NFmf1.js → agents.config-Du-EvARZ.js} +2 -2
  11. package/dist/{audit-D4zYMRNh.js → audit-0XGsgYln.js} +21 -21
  12. package/dist/{auth-BLSoSze_.js → auth-a3TKKlev.js} +4 -4
  13. package/dist/{auth-choice-2S2Bu397.js → auth-choice-6lPmGWX_.js} +13 -13
  14. package/dist/{auth-choice-CAlWQnS0.js → auth-choice-BlU5Jwiy.js} +16 -16
  15. package/dist/{auth-choice.apply-helpers-DXEH3kKc.js → auth-choice.apply-helpers-BT5h7Kd2.js} +1 -1
  16. package/dist/{auth-token-RZVdRVFL.js → auth-token-BJlagO1q.js} +2 -2
  17. package/dist/{banner-DPhzJGvu.js → banner-DTi0GYhj.js} +4 -4
  18. package/dist/{bonjour-discovery-BP2NnLb7.js → bonjour-discovery-BaPEhz6-.js} +3 -3
  19. package/dist/{browser-cli-DqPOdkfi.js → browser-cli-cJbbNuC-.js} +20 -20
  20. package/dist/build-info.json +3 -3
  21. package/dist/bundled/boot-md/handler.js +32 -32
  22. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  23. package/dist/bundled/command-logger/handler.js +2 -2
  24. package/dist/bundled/session-journal/handler.js +31 -31
  25. package/dist/bundled/session-memory/handler.js +32 -32
  26. package/dist/{call-DzGlAM6A.js → call-DC_l0C6c.js} +5 -5
  27. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  28. package/dist/{catalog-feed-DAWwBcpU.js → catalog-feed-BPQiz-j4.js} +2 -2
  29. package/dist/{channel-account-context-DHCvTbB_.js → channel-account-context-BR30O-XA.js} +2 -2
  30. package/dist/{channel-options-C-m0chcy.js → channel-options-pWJ9tPoi.js} +3 -3
  31. package/dist/{channel-selection-o_GXmd3S.js → channel-selection-SzzxWFqF.js} +1 -1
  32. package/dist/{channels-cli-DDV8DQJF.js → channels-cli-DCPDMwOi.js} +102 -102
  33. package/dist/{channels-status-issues-CDGOGIDW.js → channels-status-issues-D7YJcPZY.js} +1 -1
  34. package/dist/{chrome-BblDtIhl.js → chrome-DaxSYq9x.js} +6 -6
  35. package/dist/{chrome-C1IRBXCq.js → chrome-cV7G42a8.js} +32 -32
  36. package/dist/{clack-prompter-X5gjXw2v.js → clack-prompter-CSTfawN7.js} +5 -5
  37. package/dist/clawbot-cli-N0qA9LCg.js +32 -0
  38. package/dist/cli-BS1xXWfW.js +147 -0
  39. package/dist/{client-RYxRFbaf.js → client-CXlXbWxa.js} +4 -4
  40. package/dist/{client-profiles-DJoOHmYb.js → client-profiles-BPSW-Pej.js} +2 -2
  41. package/dist/{clipboard-DqxGZScZ.js → clipboard-C0KqeNJz.js} +1 -1
  42. package/dist/{command-queue-CZNc1Y5b.js → command-queue-CypbHAAc.js} +1 -1
  43. package/dist/{command-queue-CgNl6dbc.js → command-queue-DCuGQ6oE.js} +1 -1
  44. package/dist/{command-registry-nGIVkV6u.js → command-registry-Dn80fYRF.js} +13 -13
  45. package/dist/{command-secret-targets-BwUg9MG7.js → command-secret-targets-DJebWnC0.js} +4 -4
  46. package/dist/{commands-P3aAWSG_.js → commands-C4yR5Eki.js} +1 -1
  47. package/dist/{commands-registry-jq_YarKY.js → commands-registry-DagIzqO7.js} +4 -4
  48. package/dist/{completion-cli-CdEHcp3V.js → completion-cli-CFOXdHq-.js} +5 -5
  49. package/dist/{config-cli-BDy6tJDD.js → config-cli-DtQjTEf3.js} +14 -14
  50. package/dist/{config-guard-I6AtTyZv.js → config-guard-J_hz16uv.js} +4 -4
  51. package/dist/{config-validation-otVjLKQn.js → config-validation-Db_ZJIqZ.js} +4 -4
  52. package/dist/{configure-u-u8aXM_.js → configure-DbO7EHyB.js} +22 -22
  53. package/dist/{console-CdR5lE0A.js → console-eDkX4znK.js} +1 -1
  54. package/dist/control-ui-v2/assets/{AgentsView-BtvwUvjT.js → AgentsView-K8DEVXxj.js} +1 -1
  55. package/dist/control-ui-v2/assets/{AutomationsView-Bm551KRf.js → AutomationsView-DO0ssbS6.js} +1 -1
  56. package/dist/control-ui-v2/assets/Badge-me4YM1lq.js +1 -0
  57. package/dist/control-ui-v2/assets/{Button-D5rMawzJ.js → Button-ralPMMNs.js} +1 -1
  58. package/dist/control-ui-v2/assets/{ChannelsView-Bmcrzyc8.js → ChannelsView-8vJB0hXL.js} +1 -1
  59. package/dist/control-ui-v2/assets/{ConfigForm-tS4Ekkuj.js → ConfigForm-IOs1Exic.js} +1 -1
  60. package/dist/control-ui-v2/assets/{ConfirmDialog-B-AAbwH-.js → ConfirmDialog-9ode6FP3.js} +1 -1
  61. package/dist/control-ui-v2/assets/{DataTable-BqqaNmU8.js → DataTable-BbRrWxor.js} +1 -1
  62. package/dist/control-ui-v2/assets/{DebugView-w3AcoKSJ.js → DebugView-hDoK-Miv.js} +1 -1
  63. package/dist/control-ui-v2/assets/{Dialog-Che1C2PS.js → Dialog-oJKnAIqZ.js} +1 -1
  64. package/dist/control-ui-v2/assets/{DreamsView-CRVOkZ0y.js → DreamsView-QBWBlJnW.js} +1 -1
  65. package/dist/control-ui-v2/assets/{EntityLink-D6UsLKQR.js → EntityLink-CMtTP9Dk.js} +1 -1
  66. package/dist/control-ui-v2/assets/{FilterPills-CA2lRy0A.js → FilterPills-C_zBIqFP.js} +1 -1
  67. package/dist/control-ui-v2/assets/{InstancesView-D1s_2Z-j.js → InstancesView-BlXUEHAU.js} +1 -1
  68. package/dist/control-ui-v2/assets/{LearningView-BOxsGx8P.js → LearningView-De4YeA4M.js} +1 -1
  69. package/dist/control-ui-v2/assets/{LogsView-DU03hzlQ.js → LogsView-CbllorCk.js} +1 -1
  70. package/dist/control-ui-v2/assets/{NodesView-DH8y_KeJ.js → NodesView-DD4GYH-6.js} +1 -1
  71. package/dist/control-ui-v2/assets/{OverviewView-DHPrvXcn.js → OverviewView-7YdkWdG1.js} +1 -1
  72. package/dist/control-ui-v2/assets/{Panel-DM0JsHgz.js → Panel-CqcbBXzJ.js} +1 -1
  73. package/dist/control-ui-v2/assets/{PluginMount-DfCGGLsN.js → PluginMount-CIP5T99f.js} +1 -1
  74. package/dist/control-ui-v2/assets/{PluginPageView-7zgkiz9P.js → PluginPageView-D-WSAQoY.js} +1 -1
  75. package/dist/control-ui-v2/assets/{PluginPanels-BfBbsH_Z.js → PluginPanels-AFbR8qyk.js} +1 -1
  76. package/dist/control-ui-v2/assets/{RecoveryView-CrGTo_hu.js → RecoveryView-wCA7Nq9J.js} +1 -1
  77. package/dist/control-ui-v2/assets/{RunsView-Dp6Mtciq.js → RunsView-DucoEAaM.js} +1 -1
  78. package/dist/control-ui-v2/assets/{SessionsView-DbjlMwqU.js → SessionsView-0DgZ_-MW.js} +1 -1
  79. package/dist/control-ui-v2/assets/{SettingsView-Ci22dw48.js → SettingsView-CfTJTK06.js} +1 -1
  80. package/dist/control-ui-v2/assets/{SkillsView-7BGQcoCn.js → SkillsView-C_sMCqlY.js} +1 -1
  81. package/dist/control-ui-v2/assets/{Stat-DQyb-fKe.js → Stat-BRQhQ01w.js} +1 -1
  82. package/dist/control-ui-v2/assets/{StatusDot-CRJsKnJw.js → StatusDot-CjtPcYD9.js} +1 -1
  83. package/dist/control-ui-v2/assets/{StorageView-5BqFOHli.js → StorageView-B3vVHqxH.js} +1 -1
  84. package/dist/control-ui-v2/assets/{UpdatedAgo-D_q8xIeZ.js → UpdatedAgo-CJqGVu6_.js} +1 -1
  85. package/dist/control-ui-v2/assets/{UsageView-Bm9sF-Wt.js → UsageView-BUZtG2MG.js} +1 -1
  86. package/dist/control-ui-v2/assets/{config-store-zXNM_umy.js → config-store-DiHUH-77.js} +1 -1
  87. package/dist/control-ui-v2/assets/{format-DpM2rlEo.js → format-BPrfsCHW.js} +1 -1
  88. package/dist/control-ui-v2/assets/{gateway-features-C0JaT4JI.js → gateway-features-SDBnjY95.js} +1 -1
  89. package/dist/control-ui-v2/assets/{index-CGoFdGyu.js → index-ChHyE-y3.js} +1 -1
  90. package/dist/control-ui-v2/assets/{links-Bcw24zqI.js → links-vgPLVF05.js} +2 -2
  91. package/dist/control-ui-v2/assets/{run-rows-DVijLB79.js → run-rows-1MUje5J6.js} +1 -1
  92. package/dist/control-ui-v2/assets/{runs-store-Cxbnn8K8.js → runs-store-BZTDbQro.js} +1 -1
  93. package/dist/control-ui-v2/assets/{use-gateway-query-xtY3vmte.js → use-gateway-query-7iLwemQz.js} +1 -1
  94. package/dist/control-ui-v2/index.html +7 -7
  95. package/dist/{controller-ClPKFt9H.js → controller-Bibu9RBu.js} +1 -1
  96. package/dist/{credentials-D8xf4kQ3.js → credentials-BzwRYS__.js} +1 -1
  97. package/dist/{cron-cli-BcTM_Nir.js → cron-cli-C3uwnjAJ.js} +16 -16
  98. package/dist/{daemon-cli-mpcai9ZB.js → daemon-cli-DhSeyb4s.js} +18 -18
  99. package/dist/{daemon-install-Mm9lvcvD.js → daemon-install-DCXozUs7.js} +11 -11
  100. package/dist/{daemon-install-helpers-D74OoyoM.js → daemon-install-helpers-CU4mnKsx.js} +2 -2
  101. package/dist/{delete-agent-sessions-Drf95Usu.js → delete-agent-sessions-BNaCeFyf.js} +1 -1
  102. package/dist/{deliver-Di5lG5OI.js → deliver-DTy7SNq9.js} +11 -11
  103. package/dist/{deliver-BukUfhSv.js → deliver-XZwPv99X.js} +28 -28
  104. package/dist/{devices-cli-DfnrI4Q4.js → devices-cli-BZzq7Fou.js} +14 -14
  105. package/dist/{diagnostic-B4mnFYUK.js → diagnostic-5TT45xHw.js} +4 -4
  106. package/dist/{diagnostic-C8nY3mdC.js → diagnostic-CeSjaots.js} +3 -3
  107. package/dist/{diagnostics-BzqDQMJ0.js → diagnostics-aJloMvRL.js} +1 -1
  108. package/dist/{directory-cli-tEju7zyL.js → directory-cli-BdfsQsAd.js} +12 -12
  109. package/dist/{dm-policy-shared-DuFgR_0W.js → dm-policy-shared-BZGS_0kS.js} +5 -5
  110. package/dist/{dns-cli-1Fm79fkk.js → dns-cli-BXbIk9ti.js} +11 -11
  111. package/dist/{docs-cli-PbTOsDX0.js → docs-cli-DpSAY3cX.js} +12 -12
  112. package/dist/{doctor-4PvP20jU.js → doctor-8FDQmndb.js} +1 -1
  113. package/dist/{doctor-completion-D_hqUq1a.js → doctor-completion-D3c2yROu.js} +3 -3
  114. package/dist/{doctor-config-flow-Cn3VGUWv.js → doctor-config-flow-DsjAW_i3.js} +12 -12
  115. package/dist/{enable-CoZmUN1F.js → enable-BD-5STUq.js} +2 -2
  116. package/dist/entry.js +2 -2
  117. package/dist/{errors-C-0CPtkE.js → errors-BaBvv30m.js} +1 -1
  118. package/dist/{exec-CP66JVDC.js → exec-DiLAfuLr.js} +3 -3
  119. package/dist/{exec-approvals-DEidE9cu.js → exec-approvals-BwBMqZpq.js} +2 -2
  120. package/dist/{exec-approvals-allowlist-D3VLWMn3.js → exec-approvals-allowlist-DeajDmQz.js} +1 -1
  121. package/dist/{exec-approvals-cli-CD0A7x-1.js → exec-approvals-cli-D0vutwdC.js} +23 -23
  122. package/dist/{exec-safe-bin-runtime-policy-DgsZVxiX.js → exec-safe-bin-runtime-policy-GyiNcLWt.js} +2 -2
  123. package/dist/{extension-relay-auth-C4DY3BoO.js → extension-relay-auth-Vn4eJEcQ.js} +3 -3
  124. package/dist/{fences-D0-yWVSH.js → fences-CISax-La.js} +16 -16
  125. package/dist/{fetch-guard-DVeFm4CZ.js → fetch-guard-Bnzd4qWS.js} +2 -2
  126. package/dist/{fetch-guard-Bx35q9u4.js → fetch-guard-CDkEddFV.js} +2 -2
  127. package/dist/{frontmatter-QVz_zD_W.js → frontmatter-BtfJx9Sg.js} +3 -3
  128. package/dist/{frontmatter-BUaSX8Fz.js → frontmatter-Bzvwr1W7.js} +3 -3
  129. package/dist/{fs-safe-DA9gVh9s.js → fs-safe-D8HkhuMZ.js} +3 -3
  130. package/dist/{fs-safe-BV3IWmYM.js → fs-safe-jXfn3Elb.js} +26 -26
  131. package/dist/{gateway-cli-BGDf_UXv.js → gateway-cli-lPADWps2.js} +152 -152
  132. package/dist/{gateway-rpc-DpYzInuu.js → gateway-rpc-DQG3hBI5.js} +3 -3
  133. package/dist/{globals-BVh-VW1y.js → globals-BOYJmqPO.js} +4 -4
  134. package/dist/{gmail-setup-utils-BUD74IWH.js → gmail-setup-utils-Db0ZWkas.js} +3 -3
  135. package/dist/{health-DoUNuepo.js → health-CqBDDLKJ.js} +12 -12
  136. package/dist/{health-format-D_7YEfOK.js → health-format-B3wM0UeC.js} +1 -1
  137. package/dist/{heartbeat-tick-BRGg7O46.js → heartbeat-tick-DWTPRSj2.js} +1 -1
  138. package/dist/{help-format-B9fBC7YQ.js → help-format-3m9GNcQp.js} +1 -1
  139. package/dist/{helpers-BMCu08tD.js → helpers-ByEDcAjf.js} +1 -1
  140. package/dist/{hooks-cli-D6KMUi8J.js → hooks-cli-CuvmA2a8.js} +90 -90
  141. package/dist/{hooks-status-DsJcrJdW.js → hooks-status-D42ilCFd.js} +3 -3
  142. package/dist/{identity-cli-hw9RP7bb.js → identity-cli-eGQmm7Uf.js} +20 -20
  143. package/dist/{identity-links-DGrSQOyI.js → identity-links-CMiIcgvn.js} +4 -4
  144. package/dist/{image-ops-oycM9vAs.js → image-ops-BT8bD5QW.js} +2 -2
  145. package/dist/{inspect-y-Rf7C9M.js → inspect-DHJbh1BK.js} +1 -1
  146. package/dist/{install-package-dir-cFGJwdjt.js → install-package-dir-atID3P53.js} +4 -4
  147. package/dist/{install-safe-path-BKMVgfRM.js → install-safe-path-5pN67hCN.js} +3 -3
  148. package/dist/{installs-BpMec9Cz.js → installs-C8HDE8ek.js} +10 -10
  149. package/dist/{ipv4-_5izhCOd.js → ipv4-D-LmFWW3.js} +2 -2
  150. package/dist/{issue-format-BcCT1LCp.js → issue-format-3AjTJZ-g.js} +1 -1
  151. package/dist/{jobs-BADjbSd0.js → jobs-BGleUcI-.js} +3 -3
  152. package/dist/{legacy-names-DpNvKeY4.js → legacy-names-BncMDG8I.js} +26 -26
  153. package/dist/{legacy-names-D-gFhJkB.js → legacy-names-m85yQK-H.js} +4 -4
  154. package/dist/{lifecycle-core-BDcQzbfM.js → lifecycle-core-lEWBgzfk.js} +8 -8
  155. package/dist/{links-CNDAkRQK.js → links-C3uVLgry.js} +1 -1
  156. package/dist/llm-slug-generator.js +31 -31
  157. package/dist/{log-tail-P2iIBET-.js → log-tail-BVn--aNY.js} +1 -1
  158. package/dist/{logging-BrtVmOug.js → logging-CasLPWvm.js} +1 -1
  159. package/dist/{logs-cli-DNJpQfm5.js → logs-cli-C8g9JGRK.js} +15 -15
  160. package/dist/{manager-qTIsRkIR.js → manager-COuC5aCY.js} +16 -16
  161. package/dist/{manager-ANr3eRjC.js → manager-DO4sftxl.js} +6 -6
  162. package/dist/{manager-Byt2W-zl.js → manager-zauhsMSz.js} +7 -7
  163. package/dist/{memory-cli-C-kkAcSv.js → memory-cli-C6ChdKAF.js} +15 -15
  164. package/dist/{model-C0zdj1IG.js → model-CY6irdbq.js} +2 -2
  165. package/dist/{model-catalog-D2OnT5G5.js → model-catalog-PS0jzDnI.js} +4 -4
  166. package/dist/{model-picker-DqmubfPT.js → model-picker-CTFCXSBm.js} +4 -4
  167. package/dist/{model-selection-BFwMLFJs.js → model-selection-LDnLrnn_.js} +78 -78
  168. package/dist/{models-CpRbKJuJ.js → models-C3BadlQJ.js} +20 -20
  169. package/dist/{models-cli-DZkw5Jdo.js → models-cli-nmVozi2V.js} +92 -92
  170. package/dist/{models-config-C3Tq7XpJ.js → models-config-QyFOywkg.js} +2 -2
  171. package/dist/{net-CsWibfvZ.js → net-D11xIRO3.js} +2 -2
  172. package/dist/{net-ZNMDyvE6.js → net-DqV0ZX0o.js} +1 -1
  173. package/dist/{node-cli-Cnez-SsZ.js → node-cli-S-iiWwOu.js} +37 -37
  174. package/dist/{node-command-policy-07YXEli2.js → node-command-policy-CgAWdzL5.js} +1 -1
  175. package/dist/{node-service-CAIBDHUL.js → node-service-DZ8fTOrl.js} +1 -1
  176. package/dist/{nodes-cli-tf4VB1mc.js → nodes-cli-BsGZc9ap.js} +22 -22
  177. package/dist/{nodes-screen-BeGrUDun.js → nodes-screen-CE5ExO2h.js} +4 -4
  178. package/dist/{note-DU3J-cLi.js → note-3jvXiQ6d.js} +2 -2
  179. package/dist/{npm-pack-install-LDEh8ibx.js → npm-pack-install-hlogNf3I.js} +2 -2
  180. package/dist/{npm-resolution-hwnRhJMY.js → npm-resolution-HrhqxZv1.js} +5 -5
  181. package/dist/{nudge-DO_XorIH.js → nudge-E00XAyaB.js} +9 -9
  182. package/dist/{nudge-BwlwOlHp.js → nudge-dYyHjBXU.js} +32 -32
  183. package/dist/{oauth-tls-preflight-Dml1qLXe.js → oauth-tls-preflight-JLBGc5N0.js} +1 -1
  184. package/dist/{onboard-Ca24xZMF.js → onboard-DlZ1BOYr.js} +11 -11
  185. package/dist/{onboard-channels-D9_949pz.js → onboard-channels-CgNpTkpG.js} +16 -16
  186. package/dist/{onboard-custom-B-Mkie4R.js → onboard-custom-DCm_Y_rq.js} +4 -4
  187. package/dist/{onboard-helpers-ByWR3CzW.js → onboard-helpers-DM-4vR0k.js} +8 -8
  188. package/dist/{onboard-hooks-BeOBPHVT.js → onboard-hooks-8Pr9LF3E.js} +8 -8
  189. package/dist/{onboard-remote-Bcj3rkca.js → onboard-remote-DmGboWPK.js} +5 -5
  190. package/dist/{onboard-skills-naWc0YmQ.js → onboard-skills-CWqQ6_nv.js} +4 -4
  191. package/dist/{onboarding-BGv0OTQ7.js → onboarding-DP9CpRIE.js} +18 -18
  192. package/dist/{onboarding.finalize-DXb_92Cl.js → onboarding.finalize-BopskbFm.js} +98 -98
  193. package/dist/{onboarding.gateway-config-CWPurA78.js → onboarding.gateway-config-F79AgW-W.js} +21 -21
  194. package/dist/{onboarding.secret-input-CWSgVFz4.js → onboarding.secret-input-Dg2d19bw.js} +1 -1
  195. package/dist/{openai-model-default-DqvDB0tE.js → openai-model-default-DZdYjkgw.js} +2 -2
  196. package/dist/{operator-commands-DucDPVYt.js → operator-commands-73Jy7Whh.js} +6 -6
  197. package/dist/{outbound-attachment-9K5W_qRv.js → outbound-attachment-BJKAbId_.js} +8 -8
  198. package/dist/{outbound-attachment-TmKpX3fK.js → outbound-attachment-BWJTBdLV.js} +9 -9
  199. package/dist/{outbound-send-deps-CZSYC14H.js → outbound-send-deps-DhCughCA.js} +4 -4
  200. package/dist/{pairing-cli-Cu9D7InY.js → pairing-cli-B_Py5VFV.js} +19 -19
  201. package/dist/{pairing-labels-ByiR4xag.js → pairing-labels-g02uyuXJ.js} +1 -1
  202. package/dist/{pairing-store-BwhC2WSm.js → pairing-store-C6blSyqu.js} +3 -3
  203. package/dist/{path-alias-guards-1poj6WAF.js → path-alias-guards-BQTkQXB8.js} +1 -1
  204. package/dist/{path-safety-DVOKipvs.js → path-safety-DiKe4sLz.js} +1 -1
  205. package/dist/{pi-embedded-CSaAlmuo.js → pi-embedded-BIha9wV3.js} +227 -227
  206. package/dist/{pi-embedded-helpers-D-rwFjbw.js → pi-embedded-helpers-D9jcApuf.js} +5 -5
  207. package/dist/{pi-embedded-recovery-adapter-gFm3nWut.js → pi-embedded-recovery-adapter-BwHVGYu3.js} +37 -37
  208. package/dist/{pi-model-discovery-BO1rPzPp.js → pi-model-discovery-Wg17i5yr.js} +7 -7
  209. package/dist/{pi-model-discovery-B7YaarSR.js → pi-model-discovery-qfeaBTmR.js} +1 -1
  210. package/dist/{pid-alive-Dp9yiDJm.js → pid-alive-CVi1kpc0.js} +1 -1
  211. package/dist/{plugin-auto-enable-vtMrJ3Bo.js → plugin-auto-enable-BndBdzvN.js} +4 -4
  212. package/dist/{plugin-owned-work-recovery-adapter-khLJn2o6.js → plugin-owned-work-recovery-adapter-CU0jgkGU.js} +9 -9
  213. package/dist/{plugin-registry-Bdf1V0v4.js → plugin-registry-j-zdK9Aj.js} +4 -4
  214. package/dist/plugin-sdk/{agent-Dpwqmur5.js → agent-BGApB_hH.js} +33 -33
  215. package/dist/plugin-sdk/{agent-turn-execute-B4f6kU8t.js → agent-turn-execute-CovKPB71.js} +47 -47
  216. package/dist/plugin-sdk/{agent-turn-runner-8-elIcKG.js → agent-turn-runner-x5EwBtiy.js} +6 -6
  217. package/dist/plugin-sdk/{chrome-DmrLIg1A.js → chrome-CWrDqDvu.js} +6 -6
  218. package/dist/plugin-sdk/{command-queue-DbyHTkqC.js → command-queue-BjQhBzl0.js} +1 -1
  219. package/dist/plugin-sdk/{deliver-DRb5wg9T.js → deliver-Bufpy1Nj.js} +10 -10
  220. package/dist/plugin-sdk/{diagnostic-BaEfjzoG.js → diagnostic-DWsfRRMb.js} +3 -3
  221. package/dist/plugin-sdk/{errors-Di-1W5oL.js → errors-CU4XzshA.js} +1 -1
  222. package/dist/plugin-sdk/{fetch-guard-D593bO1R.js → fetch-guard-Bkz_LvY1.js} +2 -2
  223. package/dist/plugin-sdk/{fs-safe-B9qlEOPl.js → fs-safe-mU6OF_le.js} +2 -2
  224. package/dist/plugin-sdk/{image-ops-ByQhA5AW.js → image-ops-BN9LfKcr.js} +2 -2
  225. package/dist/plugin-sdk/{manager-BlVhEJyV.js → manager-CHVkW_mo.js} +5 -5
  226. package/dist/plugin-sdk/{model-auth-BYzo7BMW.js → model-auth-A8ol0IK6.js} +6 -6
  227. package/dist/plugin-sdk/{models-config-Df7qxXDT.js → models-config-DwWNe4wJ.js} +2 -2
  228. package/dist/plugin-sdk/{nudge-8hrtI-uQ.js → nudge-DKWORgbV.js} +6 -6
  229. package/dist/plugin-sdk/{openai-compatible-video-CC8O8EEM.js → openai-compatible-video-zjvEDFQp.js} +6 -6
  230. package/dist/plugin-sdk/{outbound-attachment-D5Du9kSm.js → outbound-attachment-DDNTRL0U.js} +7 -7
  231. package/dist/plugin-sdk/{pi-embedded-helpers-DDrF73tt.js → pi-embedded-helpers-Pj_rV8qf.js} +13 -13
  232. package/dist/plugin-sdk/{pi-embedded-utils-DLlaty3W.js → pi-embedded-utils-D6jztEWf.js} +3 -3
  233. package/dist/plugin-sdk/{pi-model-discovery-Cgvb050_.js → pi-model-discovery-D_iAcUa4.js} +1 -1
  234. package/dist/plugin-sdk/provider-media-understanding.js +16 -16
  235. package/dist/plugin-sdk/{pw-ai-BEcGp8XY.js → pw-ai-BwgzJYjo.js} +8 -8
  236. package/dist/plugin-sdk/{qmd-manager-DXpe_ju8.js → qmd-manager-DAFEkAMD.js} +6 -6
  237. package/dist/plugin-sdk/{qmd-scope-DVIoXpLl.js → qmd-scope-DJLcA3NX.js} +1 -1
  238. package/dist/plugin-sdk/{query-expansion-D0qReab0.js → query-expansion-CkRCFmXy.js} +2 -2
  239. package/dist/plugin-sdk/{recorder-S1aQdgl5.js → recorder-Brvd3BNt.js} +2 -2
  240. package/dist/plugin-sdk/{redact-CcJnxu3z.js → redact-B42Dpjen.js} +1 -1
  241. package/dist/plugin-sdk/{reply-directives-CEvR8_X7.js → reply-directives-twMFpY3R.js} +2 -2
  242. package/dist/plugin-sdk/{runs-D6b6GEuq.js → runs-w3MS_VZ4.js} +7 -7
  243. package/dist/plugin-sdk/{send-_X4VJ-16.js → send-7QsCXN2z.js} +5 -5
  244. package/dist/plugin-sdk/{send-DC_wB-oy.js → send-7cDA7nYq.js} +4 -4
  245. package/dist/plugin-sdk/{sessions-V6UyW1ee.js → sessions-BkkGJf0L.js} +3 -3
  246. package/dist/plugin-sdk/{ssrf-BD-w1_r0.js → ssrf-Bul6kRmN.js} +1 -1
  247. package/dist/{subsystem-D1n05zOF.js → plugin-sdk/subsystem-ChbeeOSk.js} +5 -5
  248. package/dist/plugin-sdk/{tool-loop-detection-JyupU8MW.js → tool-loop-detection-CJDaraAN.js} +1 -1
  249. package/dist/plugin-sdk/{user-run-recording-BHAgBh4G.js → user-run-recording-BK8sYUEb.js} +2 -2
  250. package/dist/plugin-sdk/{ws-Cd1gQ37X.js → ws-zY8UZwJ_.js} +1 -1
  251. package/dist/{plugins-Do2VO-bb.js → plugins-50bsyRF5.js} +12 -12
  252. package/dist/{plugins-cli-ClCHi--i.js → plugins-cli-B7i09-Yu.js} +94 -94
  253. package/dist/{ports-wpTsMPMQ.js → ports-Cx-3VoKB.js} +1 -1
  254. package/dist/{ports-CkB6zd6B.js → ports-qsGNGnWb.js} +2 -2
  255. package/dist/{program-BNEbV10c.js → program-DVVCdH_Q.js} +91 -91
  256. package/dist/{progress-DRmPtDtg.js → progress-DLl5RtiT.js} +2 -2
  257. package/dist/{prompt-select-styled-CNJtUcHo.js → prompt-select-styled-kC6tnFRy.js} +39 -39
  258. package/dist/{prompt-style-DpZu7Rv0.js → prompt-style-C-jp54Ww.js} +1 -1
  259. package/dist/{provider-auth-helpers-BmlLx1lK.js → provider-auth-helpers-CoSW0VEc.js} +5 -5
  260. package/dist/{proxy-env-D2TojSO4.js → proxy-env-B8ko7FIe.js} +1 -1
  261. package/dist/{proxy-env-ieess7Mx.js → proxy-env-Cbti8B-h.js} +1 -1
  262. package/dist/{push-apns-B35KAhUm.js → push-apns-ouI2t6wj.js} +7 -7
  263. package/dist/{pw-ai-BP_oDyML.js → pw-ai-BHdnQCVz.js} +11 -11
  264. package/dist/{pw-ai-DBQU70P9.js → pw-ai-CXYAo13E.js} +15 -15
  265. package/dist/{qmd-manager-CHnF92RD.js → qmd-manager-BbwLXjLX.js} +9 -9
  266. package/dist/{qmd-manager-Cc8Yjnkj.js → qmd-manager-D53dwf0o.js} +11 -11
  267. package/dist/{qmd-scope-Bf9ewzqs.js → qmd-scope-BGPSkaGT.js} +1 -1
  268. package/dist/{qmd-scope-CS0DtNYO.js → qmd-scope-ZqGqqT7I.js} +1 -1
  269. package/dist/{qr-cli-BR65O0r3.js → qr-cli-C03g-Jln.js} +10 -10
  270. package/dist/{query-expansion-Bv4KqsqP.js → query-expansion-CfOEMDQH.js} +1 -1
  271. package/dist/{query-expansion-CRbSQ6uw.js → query-expansion-D6kYMMSG.js} +13 -13
  272. package/dist/{reconcile-bundled-DkR2LG6R.js → reconcile-bundled-BHSH7QIf.js} +3 -3
  273. package/dist/{recorder-Ln2SDZKW.js → recorder-B4tsZmjb.js} +2 -2
  274. package/dist/{recorder-DII7nv4x.js → recorder-CPMScZJa.js} +2 -2
  275. package/dist/{recovery-adapter-CyyO_Ekl.js → recovery-adapter-BJRNT8FV.js} +9 -9
  276. package/dist/{recovery-adapter-DOleMTp_.js → recovery-adapter-CZoZy-m9.js} +2 -2
  277. package/dist/{recovery-adapter-But7eE6o.js → recovery-adapter-CxLHOdbs.js} +3 -3
  278. package/dist/{recovery-prompt-BPdq27Tq.js → recovery-prompt-DjQfAUy6.js} +1 -1
  279. package/dist/{redact-CS0CgCEL.js → redact-DkgvOdb-.js} +1 -1
  280. package/dist/{redact-snapshot-CZVXlnxH.js → redact-snapshot-B0Hmde1v.js} +5 -5
  281. package/dist/{register.agent-BcT7F79Y.js → register.agent-CH14a6J3.js} +109 -109
  282. package/dist/register.configure-BXpFEa7d.js +152 -0
  283. package/dist/{register.maintenance-rxIW-tKO.js → register.maintenance-2jJXwpET.js} +111 -111
  284. package/dist/{register.message-BLuymT-f.js → register.message-o6R49haY.js} +86 -86
  285. package/dist/{register.onboard-PGgg72Sx.js → register.onboard-CYG4aJ_S.js} +26 -26
  286. package/dist/{register.setup-Fnakw3cB.js → register.setup-B9Mx2Csz.js} +28 -28
  287. package/dist/{register.status-health-sessions--aE04YLN.js → register.status-health-sessions-BdYJh1dD.js} +105 -105
  288. package/dist/{register.subclis-gCMZ4Bku.js → register.subclis-B8qYBt57.js} +34 -34
  289. package/dist/{reply-directives-DGXfbm15.js → reply-directives-C3TQE9y0.js} +49 -49
  290. package/dist/{reply-directives-Bzeg3um3.js → reply-directives-DL_tpnAW.js} +2 -2
  291. package/dist/{reset-B2CTuAPC.js → reset-CoOQ6-8Y.js} +1 -1
  292. package/dist/{rpc-C-oFxe45.js → rpc-gJ5XJBJ1.js} +3 -3
  293. package/dist/{run-main-B4g_4pz1.js → run-main-CtkFW7nv.js} +104 -104
  294. package/dist/{runs-KGTnMvSd.js → runs-CNSar-WP.js} +8 -8
  295. package/dist/{runs-HDGXsBua.js → runs-DLcRidXE.js} +6 -6
  296. package/dist/{runtime-CM06Vsh4.js → runtime-DQiHcfpT.js} +4 -4
  297. package/dist/{runtime-config-collectors-owiepuTT.js → runtime-config-collectors-CokvgXBK.js} +1 -1
  298. package/dist/{runtime-guard-BAkI3Ri4.js → runtime-guard-D4N1U69H.js} +1 -1
  299. package/dist/{sandbox-I0OArJYc.js → sandbox-CqhMEP_P.js} +15 -15
  300. package/dist/{sandbox-cli-Byd1iHHL.js → sandbox-cli-CJWXKmae.js} +35 -35
  301. package/dist/{secrets-cli-cvWxtbRr.js → secrets-cli-DEllaqgI.js} +17 -17
  302. package/dist/{security-cli-Dlr0WB3R.js → security-cli-CsBRazBA.js} +42 -42
  303. package/dist/{send-Bkdo82oz.js → send-41XrPhaV.js} +4 -4
  304. package/dist/{send-DVTBurfS.js → send-B3iJ8ToE.js} +5 -5
  305. package/dist/{send-CmECiyUu.js → send-Ch-mNnij.js} +4 -4
  306. package/dist/{send-C-k3_j2u.js → send-RssGHDsu.js} +4 -4
  307. package/dist/{server-CtKA1Cp0.js → server-BuyEF_-i.js} +23 -23
  308. package/dist/{server-context-Ca5AiDBb.js → server-context-Cm7u69Q7.js} +9 -9
  309. package/dist/{server-lifecycle-DTtM3Lhl.js → server-lifecycle-BG-u8nMU.js} +3 -3
  310. package/dist/{server-middleware-DDvaga1l.js → server-middleware-BizsA-re.js} +2 -2
  311. package/dist/{server-node-events-s5GkBDRY.js → server-node-events-C-Sm1NJJ.js} +87 -87
  312. package/dist/{service-BnFOyfze.js → service-Ox4QjIIv.js} +1 -1
  313. package/dist/{session-consumer-agents-FpCrtynZ.js → session-consumer-agents-Bjo2Pybw.js} +1 -1
  314. package/dist/{session-consumer-claim-sweep-Ccri2PgZ.js → session-consumer-claim-sweep-DcyQR1lf.js} +10 -10
  315. package/dist/{session-key-D38Dat68.js → session-key-DOpjqY4f.js} +1 -1
  316. package/dist/{session-storage-owner-B8-IRBP7.js → session-storage-owner-DSJotdF9.js} +8 -8
  317. package/dist/{session-storage-CAf99J7I.js → session-storage-sH-8KuPm.js} +7 -7
  318. package/dist/{session-store-targets-9oN46FBf.js → session-store-targets-BtKZ6O9-.js} +3 -3
  319. package/dist/{session-utils-CPdS25Fh.js → session-utils-acVEcYBx.js} +9 -9
  320. package/dist/{sessions-DjSoGXsL.js → sessions-B3-eoZNa.js} +6 -6
  321. package/dist/{sessions-CH1h_nhO.js → sessions-BoUKHlfq.js} +5 -5
  322. package/dist/{sessions-DoqXSqab.js → sessions-CkJwIbnD.js} +17 -17
  323. package/dist/{sessions-DyhCT0pp.js → sessions-WyhyMdoW.js} +5 -5
  324. package/dist/{sessions-claims-status-BzDkLrz5.js → sessions-claims-status-yyKjvPdI.js} +12 -12
  325. package/dist/{sessions-maintenance-core-Cnhlr59R.js → sessions-maintenance-core-DJHvi0-G.js} +5 -5
  326. package/dist/{setup-helpers-DtszvYvl.js → setup-helpers-BQv9HNqM.js} +1 -1
  327. package/dist/{shared-DneLSdUs.js → shared-BhyLuWyq.js} +4 -4
  328. package/dist/{shared-CgJjqVc_.js → shared-WARMxoiR.js} +2 -2
  329. package/dist/{skill-scanner-C2qUvy1A.js → skill-scanner-Dl8opLZe.js} +1 -1
  330. package/dist/{skills-CKjNigud.js → skills-BAtMgBiD.js} +4 -4
  331. package/dist/{skills-cli-DrWE30sF.js → skills-cli-BriosLsG.js} +19 -19
  332. package/dist/{skills-install-DYOyXyhf.js → skills-install-dlhAdjwE.js} +11 -11
  333. package/dist/{skills-status-CUqccvmE.js → skills-status-2pBbVUCf.js} +4 -4
  334. package/dist/{status-DJX7Nh9n.js → status-DWY8cs3q.js} +45 -45
  335. package/dist/{status.update-BjTs0tMA.js → status.update-C37l-lB3.js} +1 -1
  336. package/dist/{storage-config-MiCWhQ75.js → storage-config-CsGADkaH.js} +4 -4
  337. package/dist/{subsystem-BQlVwUGh.js → subsystem-C7-3a5Zr.js} +2 -2
  338. package/dist/{plugin-sdk/subsystem-BdiA7Q_t.js → subsystem-WQ4uaYQN.js} +74 -74
  339. package/dist/{supervisor-Tib9c0Rw.js → supervisor-CmU501hP.js} +2 -2
  340. package/dist/{system-cli-CE9TlrCx.js → system-cli-C5GELIKy.js} +14 -14
  341. package/dist/{system-run-command-CAIpFmMh.js → system-run-command-DU36hElD.js} +2 -2
  342. package/dist/{systemd-2lEi1s2h.js → systemd-BjNzb_4K.js} +2 -2
  343. package/dist/{systemd-hints-DQKdqw9A.js → systemd-hints-Ccpg4IDq.js} +3 -3
  344. package/dist/{systemd-linger-DUCPAGl8.js → systemd-linger-Om0p6z20.js} +2 -2
  345. package/dist/{table-BgEYg0Fr.js → table-aewm6YXw.js} +2 -2
  346. package/dist/{tailnet-Cf-zH8LX.js → tailnet-DFd-E-hz.js} +1 -1
  347. package/dist/{tailscale-CPYYbNsJ.js → tailscale-DAOiwlpJ.js} +2 -2
  348. package/dist/{task-pipeline-boot-MRo6ngzY.js → task-pipeline-boot-BYsUt1aD.js} +85 -85
  349. package/dist/{tasks-DlanUcxq.js → tasks-BH9BLMW5.js} +5 -5
  350. package/dist/{tasks-CEiohszX.js → tasks-zUDZ9WDS.js} +12 -12
  351. package/dist/{tool-display-BW2pVtBe.js → tool-display-gmmRfkw3.js} +1 -1
  352. package/dist/{tool-loop-detection-CEOjW4Zj.js → tool-loop-detection-CUWKSyGf.js} +2 -2
  353. package/dist/{tool-loop-detection-C0wLAXu8.js → tool-loop-detection-D_3ML-aV.js} +3 -3
  354. package/dist/{trash-DNn54Qs6.js → trash-ByCJFFqw.js} +3 -3
  355. package/dist/{tui-Df1UoEuB.js → tui-D3L5epd6.js} +9 -9
  356. package/dist/{tui-cli-Y-2Y0TeW.js → tui-cli-B9yGq3iI.js} +37 -37
  357. package/dist/{update-CmNsRKyB.js → update-BOw7sc5p.js} +3 -3
  358. package/dist/{update-cli-DSKMdoM3.js → update-cli-DMbakbAW.js} +120 -120
  359. package/dist/{update-runner-BiHwGWqV.js → update-runner-xWEkzp2Q.js} +5 -5
  360. package/dist/{user-run-recording-BijpJcES.js → user-run-recording-BxTnAUuI.js} +2 -2
  361. package/dist/{user-run-recording-DkuT1rGt.js → user-run-recording-CYg9LLHh.js} +2 -2
  362. package/dist/{validation-cli-exRDYYEc.js → validation-cli-CHqmdg5w.js} +84 -84
  363. package/dist/{web-cli-BX1XaHNZ.js → web-cli-DuQt0_V0.js} +3 -3
  364. package/dist/web-client/assets/{index-Cpg6_3Hi.js → index-CbKkwaEi.js} +1 -1
  365. package/dist/web-client/index.html +1 -1
  366. package/dist/{webhooks-cli-CkpR8Fzk.js → webhooks-cli-BmIhFbc4.js} +13 -13
  367. package/dist/{widearea-dns-DFhroEuN.js → widearea-dns-Dg8lFYi7.js} +1 -1
  368. package/dist/{with-timeout-DNQj_Xiv.js → with-timeout-maI6Hxh1.js} +6 -6
  369. package/dist/{workspace-Cl3X-aax.js → workspace-Bv2hEGNJ.js} +6 -6
  370. package/dist/{workspace-BmXTOUee.js → workspace-CNoka32n.js} +4 -4
  371. package/extensions/a2a/package.json +1 -1
  372. package/extensions/acpx/package.json +1 -1
  373. package/extensions/anthropic/package.json +1 -1
  374. package/extensions/bifrost/package.json +1 -1
  375. package/extensions/bluebubbles/package.json +1 -1
  376. package/extensions/copilot-proxy/package.json +1 -1
  377. package/extensions/deepgram/package.json +1 -1
  378. package/extensions/deepinfra/package.json +1 -1
  379. package/extensions/diagnostics-otel/package.json +1 -1
  380. package/extensions/diffs/package.json +1 -1
  381. package/extensions/discord/package.json +1 -1
  382. package/extensions/dream-cycle/package.json +1 -1
  383. package/extensions/elevenlabs/package.json +1 -1
  384. package/extensions/feishu/package.json +1 -1
  385. package/extensions/gemini-search/package.json +1 -1
  386. package/extensions/google/package.json +1 -1
  387. package/extensions/google-gemini-cli-auth/package.json +1 -1
  388. package/extensions/googlechat/package.json +1 -1
  389. package/extensions/grok-search/package.json +1 -1
  390. package/extensions/groq/package.json +1 -1
  391. package/extensions/identity-oidc/package.json +1 -1
  392. package/extensions/imessage/package.json +1 -1
  393. package/extensions/irc/package.json +1 -1
  394. package/extensions/kimi-search/package.json +1 -1
  395. package/extensions/kokoro/package.json +1 -1
  396. package/extensions/learning-core/package.json +1 -1
  397. package/extensions/line/package.json +1 -1
  398. package/extensions/llm-task/package.json +1 -1
  399. package/extensions/lobster/package.json +1 -1
  400. package/extensions/matrix/CHANGELOG.md +1 -1
  401. package/extensions/matrix/package.json +1 -1
  402. package/extensions/mattermost/package.json +1 -1
  403. package/extensions/memory-core/package.json +1 -1
  404. package/extensions/memory-lancedb/package.json +1 -1
  405. package/extensions/minimax/package.json +1 -1
  406. package/extensions/minimax-portal-auth/package.json +1 -1
  407. package/extensions/mistral/package.json +1 -1
  408. package/extensions/moonshot/package.json +1 -1
  409. package/extensions/msteams/CHANGELOG.md +1 -1
  410. package/extensions/msteams/package.json +1 -1
  411. package/extensions/nextcloud-talk/package.json +1 -1
  412. package/extensions/nostr/CHANGELOG.md +1 -1
  413. package/extensions/nostr/package.json +1 -1
  414. package/extensions/open-prose/package.json +1 -1
  415. package/extensions/openai/package.json +1 -1
  416. package/extensions/openai-realtime/package.json +1 -1
  417. package/extensions/openrouter/package.json +1 -1
  418. package/extensions/perplexity-search/package.json +1 -1
  419. package/extensions/searxng-search/package.json +1 -1
  420. package/extensions/signal/package.json +1 -1
  421. package/extensions/slack/package.json +1 -1
  422. package/extensions/synology-chat/package.json +1 -1
  423. package/extensions/telegram/package.json +1 -1
  424. package/extensions/tlon/package.json +1 -1
  425. package/extensions/twitch/CHANGELOG.md +1 -1
  426. package/extensions/twitch/package.json +1 -1
  427. package/extensions/ui-surfaces/package.json +1 -1
  428. package/extensions/voice-call/CHANGELOG.md +1 -1
  429. package/extensions/voice-call/package.json +1 -1
  430. package/extensions/whatsapp/package.json +1 -1
  431. package/extensions/zai/package.json +1 -1
  432. package/extensions/zalo/CHANGELOG.md +1 -1
  433. package/extensions/zalo/package.json +1 -1
  434. package/extensions/zalouser/CHANGELOG.md +1 -1
  435. package/extensions/zalouser/package.json +1 -1
  436. package/package.json +1 -1
  437. package/dist/clawbot-cli-sRVUxd_s.js +0 -32
  438. package/dist/cli-ax3_7oZf.js +0 -147
  439. package/dist/control-ui-v2/assets/Badge-sUgH4suZ.js +0 -1
  440. package/dist/github-copilot-token-Bm6yG6tw.js +0 -106
  441. package/dist/paths-BIDPYPVC.js +0 -233
  442. package/dist/register.configure-C_6WuEbz.js +0 -152
  443. /package/dist/{config-1om7Pwz0.js → config-CM9p9U7m.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as resolveOAuthPath, f as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as resolveStateDir, r as resolveConfigPath, s as resolveOAuthDir, t as DEFAULT_GATEWAY_PORT, u as expandHomePrefix } from "./paths-BIDPYPVC.js";
3
- 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, tt as escapeRegExp, w as createFileLogWriter } from "./subsystem-D1n05zOF.js";
2
+ import { c as resolveOAuthPath, f as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as resolveStateDir, r as resolveConfigPath, s as resolveOAuthDir, t as DEFAULT_GATEWAY_PORT, u as expandHomePrefix } from "./paths-B_gs59ga.js";
3
+ 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, tt as escapeRegExp, w as createFileLogWriter } from "./subsystem-WQ4uaYQN.js";
4
4
  import { n as resolveProcessScopedMap, t as isPlainObject$2 } from "./plain-object-Doc_YkH1.js";
5
- import { $ as normalizeAccountId$1, A as DEFAULT_AGENT_ID, G as resolveAgentIdFromSessionKey, H as normalizeAgentId, N as RAW_PEER_KEY_PREFIX, Q as DEFAULT_ACCOUNT_ID, a as registerInternalHook, b as resolveDefaultAgentWorkspaceDir, dt as stripAgentSessionKeyPrefix, et as normalizeOptionalAccountId, lt as parseAgentSessionKey, s as parseBooleanValue, t as readManifestNamespace, w as runExec, z as expandIdentityLinksToMatchKeys } from "./legacy-names-DpNvKeY4.js";
6
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Bm6yG6tw.js";
5
+ import { $ as normalizeAccountId$1, A as DEFAULT_AGENT_ID, G as resolveAgentIdFromSessionKey, H as normalizeAgentId, N as RAW_PEER_KEY_PREFIX, Q as DEFAULT_ACCOUNT_ID, a as registerInternalHook, b as resolveDefaultAgentWorkspaceDir, dt as stripAgentSessionKeyPrefix, et as normalizeOptionalAccountId, lt as parseAgentSessionKey, s as parseBooleanValue, t as readManifestNamespace, w as runExec, z as expandIdentityLinksToMatchKeys } from "./legacy-names-BncMDG8I.js";
6
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-C-29TbW-.js";
7
7
  import { createRequire } from "node:module";
8
8
  import path from "node:path";
9
- import fs from "node:fs";
9
+ import syncFs from "node:fs";
10
10
  import os, { userInfo } from "node:os";
11
11
  import json5 from "json5";
12
- import fs$1 from "node:fs/promises";
12
+ import fs from "node:fs/promises";
13
13
  import { isDeepStrictEqual } from "node:util";
14
14
  import { execFileSync, spawn } from "node:child_process";
15
15
  import { fileURLToPath } from "node:url";
@@ -464,7 +464,7 @@ function isValidPid(pid) {
464
464
  function isZombieProcess(pid) {
465
465
  if (process.platform !== "linux") return false;
466
466
  try {
467
- return fs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
467
+ return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
468
468
  } catch {
469
469
  return false;
470
470
  }
@@ -491,7 +491,7 @@ function getProcessStartTime(pid) {
491
491
  if (process.platform !== "linux") return null;
492
492
  if (!isValidPid(pid)) return null;
493
493
  try {
494
- const stat = fs.readFileSync(`/proc/${pid}/stat`, "utf8");
494
+ const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
495
495
  const commEndIndex = stat.lastIndexOf(")");
496
496
  if (commEndIndex < 0) return null;
497
497
  const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
@@ -559,7 +559,7 @@ function readLinuxProcessElapsedSeconds(pid) {
559
559
  const starttimeTicks = getProcessStartTime(pid);
560
560
  if (starttimeTicks === null) {
561
561
  try {
562
- fs.readFileSync(`/proc/${pid}/stat`, "utf8");
562
+ syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
563
563
  } catch (err) {
564
564
  return err.code === "ENOENT" ? null : "unknown";
565
565
  }
@@ -567,7 +567,7 @@ function readLinuxProcessElapsedSeconds(pid) {
567
567
  }
568
568
  let uptimeSeconds;
569
569
  try {
570
- const raw = fs.readFileSync("/proc/uptime", "utf8");
570
+ const raw = syncFs.readFileSync("/proc/uptime", "utf8");
571
571
  uptimeSeconds = Number.parseFloat(raw.split(" ")[0] ?? "");
572
572
  } catch {
573
573
  return "unknown";
@@ -624,7 +624,7 @@ function isCreatedAtStale(createdAt, staleMs) {
624
624
  }
625
625
  async function readLockPayload$1(lockPath) {
626
626
  try {
627
- const raw = await fs$1.readFile(lockPath, "utf8");
627
+ const raw = await fs.readFile(lockPath, "utf8");
628
628
  const parsed = JSON.parse(raw);
629
629
  if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
630
630
  const payload = {
@@ -641,7 +641,7 @@ async function readLockPayload$1(lockPath) {
641
641
  }
642
642
  async function chmodIfSupported(filePath, mode) {
643
643
  try {
644
- await fs$1.chmod(filePath, mode);
644
+ await fs.chmod(filePath, mode);
645
645
  } catch (err) {
646
646
  if (process.platform === "win32") return;
647
647
  throw err;
@@ -650,15 +650,15 @@ async function chmodIfSupported(filePath, mode) {
650
650
  async function resolveNormalizedFilePath(filePath, options) {
651
651
  const resolved = path.resolve(filePath);
652
652
  const dir = path.dirname(resolved);
653
- if (options.directoryMode === void 0) await fs$1.mkdir(dir, { recursive: true });
653
+ if (options.directoryMode === void 0) await fs.mkdir(dir, { recursive: true });
654
654
  else {
655
- await fs$1.mkdir(dir, {
655
+ await fs.mkdir(dir, {
656
656
  recursive: true,
657
657
  mode: options.directoryMode
658
658
  });
659
659
  await chmodIfSupported(dir, options.directoryMode);
660
660
  }
661
- const realDir = await fs$1.realpath(dir);
661
+ const realDir = await fs.realpath(dir);
662
662
  return path.join(realDir, path.basename(resolved));
663
663
  }
664
664
  async function isStaleLock(lockPath, staleMs) {
@@ -673,7 +673,7 @@ async function isStaleLock(lockPath, staleMs) {
673
673
  return false;
674
674
  }
675
675
  try {
676
- const stat = await fs$1.stat(lockPath);
676
+ const stat = await fs.stat(lockPath);
677
677
  return Date.now() - stat.mtimeMs > staleMs;
678
678
  } catch {
679
679
  return true;
@@ -697,7 +697,7 @@ async function releaseHeldLock$1(normalizedFile) {
697
697
  throw emitLockReleaseWarning("close", current.lockPath, err);
698
698
  }
699
699
  try {
700
- await fs$1.rm(current.lockPath, { force: true });
700
+ await fs.rm(current.lockPath, { force: true });
701
701
  } catch (err) {
702
702
  current.count = 1;
703
703
  throw emitLockReleaseWarning("remove", current.lockPath, err);
@@ -720,7 +720,7 @@ async function acquireFileLock(filePath, options) {
720
720
  let attempt = 0;
721
721
  let staleReclaims = 0;
722
722
  while (attempt < attempts) try {
723
- const handle = await fs$1.open(lockPath, "wx");
723
+ const handle = await fs.open(lockPath, "wx");
724
724
  try {
725
725
  await handle.writeFile(JSON.stringify({
726
726
  pid: process.pid,
@@ -729,7 +729,7 @@ async function acquireFileLock(filePath, options) {
729
729
  }, null, 2), "utf8");
730
730
  } catch (writeErr) {
731
731
  await handle.close().catch(() => void 0);
732
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
732
+ await fs.rm(lockPath, { force: true }).catch(() => void 0);
733
733
  throw writeErr;
734
734
  }
735
735
  HELD_LOCKS$1.set(normalizedFile, {
@@ -745,7 +745,7 @@ async function acquireFileLock(filePath, options) {
745
745
  } catch (err) {
746
746
  if (err.code !== "EEXIST") throw err;
747
747
  if (await isStaleLock(lockPath, options.stale)) {
748
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
748
+ await fs.rm(lockPath, { force: true }).catch(() => void 0);
749
749
  if (staleReclaims < attempts) {
750
750
  staleReclaims += 1;
751
751
  continue;
@@ -911,7 +911,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
911
911
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
912
912
  }
913
913
  function ensureAuthStoreFile(pathname) {
914
- if (fs.existsSync(pathname)) return;
914
+ if (syncFs.existsSync(pathname)) return;
915
915
  saveJsonFile(pathname, {
916
916
  version: AUTH_STORE_VERSION,
917
917
  profiles: {}
@@ -1174,7 +1174,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
1174
1174
  if (shouldWrite && legacy !== null) {
1175
1175
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
1176
1176
  try {
1177
- fs.unlinkSync(legacyPath);
1177
+ syncFs.unlinkSync(legacyPath);
1178
1178
  } catch (err) {
1179
1179
  if (err?.code !== "ENOENT") log$14.warn("failed to delete legacy auth.json after migration", {
1180
1180
  err,
@@ -1644,7 +1644,7 @@ function resolveTimeoutMs(timeoutMs) {
1644
1644
  function readEtcShells() {
1645
1645
  if (shellEnvState.cachedEtcShells !== void 0) return shellEnvState.cachedEtcShells;
1646
1646
  try {
1647
- const entries = fs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1647
+ const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1648
1648
  shellEnvState.cachedEtcShells = new Set(entries);
1649
1649
  } catch {
1650
1650
  shellEnvState.cachedEtcShells = null;
@@ -2192,7 +2192,7 @@ function formatWindowsAclSummary(summary) {
2192
2192
  //#region src/security/audit-fs.ts
2193
2193
  async function safeStat(targetPath) {
2194
2194
  try {
2195
- const lst = await fs$1.lstat(targetPath);
2195
+ const lst = await fs.lstat(targetPath);
2196
2196
  return {
2197
2197
  ok: true,
2198
2198
  isSymlink: lst.isSymbolicLink(),
@@ -2231,7 +2231,7 @@ async function inspectPathPermissions(targetPath, opts) {
2231
2231
  let effectiveMode = st.mode;
2232
2232
  let effectiveIsDir = st.isDir;
2233
2233
  if (st.isSymlink) try {
2234
- const target = await fs$1.stat(targetPath);
2234
+ const target = await fs.stat(targetPath);
2235
2235
  effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
2236
2236
  effectiveIsDir = target.isDirectory();
2237
2237
  } catch {}
@@ -2513,7 +2513,7 @@ async function assertSecurePath(params) {
2513
2513
  if (stat.isSymlink) {
2514
2514
  if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
2515
2515
  try {
2516
- effectivePath = await fs$1.realpath(effectivePath);
2516
+ effectivePath = await fs.realpath(effectivePath);
2517
2517
  } catch {
2518
2518
  throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
2519
2519
  }
@@ -2561,7 +2561,7 @@ async function readFileProviderPayload(params) {
2561
2561
  }, timeoutMs);
2562
2562
  });
2563
2563
  try {
2564
- const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2564
+ const payload = await Promise.race([fs.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2565
2565
  if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
2566
2566
  const text = payload.toString("utf8");
2567
2567
  if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
@@ -3187,7 +3187,7 @@ function resolveActiveTalkProviderConfig(talk) {
3187
3187
  };
3188
3188
  }
3189
3189
  function readTalkApiKeyFromProfile(deps = {}) {
3190
- const fsImpl = deps.fs ?? fs;
3190
+ const fsImpl = deps.fs ?? syncFs;
3191
3191
  const osImpl = deps.os ?? os;
3192
3192
  const pathImpl = deps.path ?? path;
3193
3193
  const home = osImpl.homedir();
@@ -3851,7 +3851,7 @@ function loadDotEnv(opts) {
3851
3851
  const quiet = opts?.quiet ?? true;
3852
3852
  dotenv.config({ quiet });
3853
3853
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
3854
- if (!fs.existsSync(globalEnvPath)) return;
3854
+ if (!syncFs.existsSync(globalEnvPath)) return;
3855
3855
  dotenv.config({
3856
3856
  quiet,
3857
3857
  path: globalEnvPath,
@@ -3867,7 +3867,7 @@ function resolveConfigPathForDeps(deps) {
3867
3867
  }
3868
3868
  function normalizeDeps(overrides = {}) {
3869
3869
  return {
3870
- fs: overrides.fs ?? fs,
3870
+ fs: overrides.fs ?? syncFs,
3871
3871
  json5: overrides.json5 ?? json5,
3872
3872
  env: overrides.env ?? process.env,
3873
3873
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
@@ -5846,7 +5846,7 @@ function normalizeMatchTarget(value) {
5846
5846
  }
5847
5847
  function tryRealpath(value) {
5848
5848
  try {
5849
- return fs.realpathSync(value);
5849
+ return syncFs.realpathSync(value);
5850
5850
  } catch {
5851
5851
  return null;
5852
5852
  }
@@ -6399,8 +6399,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
6399
6399
  }
6400
6400
  function isExecutableFile(filePath) {
6401
6401
  try {
6402
- if (!fs.statSync(filePath).isFile()) return false;
6403
- if (process.platform !== "win32") fs.accessSync(filePath, fs.constants.X_OK);
6402
+ if (!syncFs.statSync(filePath).isFile()) return false;
6403
+ if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
6404
6404
  return true;
6405
6405
  } catch {
6406
6406
  return false;
@@ -6439,7 +6439,7 @@ const DEFAULT_SAFE_BINS = [
6439
6439
  function tryResolveRealpath(filePath) {
6440
6440
  if (!filePath) return;
6441
6441
  try {
6442
- return fs.realpathSync(filePath);
6442
+ return syncFs.realpathSync(filePath);
6443
6443
  } catch {
6444
6444
  return;
6445
6445
  }
@@ -7314,7 +7314,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
7314
7314
  for (const dir of resolved) {
7315
7315
  let stat;
7316
7316
  try {
7317
- stat = fs.statSync(dir);
7317
+ stat = syncFs.statSync(dir);
7318
7318
  } catch {
7319
7319
  continue;
7320
7320
  }
@@ -8279,7 +8279,7 @@ const credsSaveQueues = resolveProcessScopedMap(Symbol.for("openclaw.webCredsSav
8279
8279
  function canonicalWebAuthDir(authDir) {
8280
8280
  const resolvedAuthDir = resolveUserPath(authDir);
8281
8281
  try {
8282
- return fs.realpathSync.native(resolvedAuthDir);
8282
+ return syncFs.realpathSync.native(resolvedAuthDir);
8283
8283
  } catch (err) {
8284
8284
  if (err.code === "ENOENT") return resolvedAuthDir;
8285
8285
  throw err;
@@ -8294,7 +8294,7 @@ function isWebAuthBeingCleared(authDir) {
8294
8294
  }
8295
8295
  function statFileSync(filePath) {
8296
8296
  try {
8297
- return fs.statSync(filePath);
8297
+ return syncFs.statSync(filePath);
8298
8298
  } catch {
8299
8299
  return null;
8300
8300
  }
@@ -8306,7 +8306,7 @@ function hasWebCredsSync(authDir) {
8306
8306
  const resolvedAuthDir = resolveUserPath(authDir);
8307
8307
  maybeRestoreCredsFromBackup(resolvedAuthDir);
8308
8308
  try {
8309
- const stats = fs.statSync(resolveWebCredsPath(resolvedAuthDir));
8309
+ const stats = syncFs.statSync(resolveWebCredsPath(resolvedAuthDir));
8310
8310
  return stats.isFile() && stats.size > 1;
8311
8311
  } catch {
8312
8312
  return false;
@@ -8314,10 +8314,10 @@ function hasWebCredsSync(authDir) {
8314
8314
  }
8315
8315
  function readCredsJsonRaw(filePath) {
8316
8316
  try {
8317
- if (!fs.existsSync(filePath)) return null;
8318
- const stats = fs.statSync(filePath);
8317
+ if (!syncFs.existsSync(filePath)) return null;
8318
+ const stats = syncFs.statSync(filePath);
8319
8319
  if (!stats.isFile() || stats.size <= 1) return null;
8320
- return fs.readFileSync(filePath, "utf-8");
8320
+ return syncFs.readFileSync(filePath, "utf-8");
8321
8321
  } catch {
8322
8322
  return null;
8323
8323
  }
@@ -8342,12 +8342,12 @@ function maybeRestoreCredsFromBackup(authDir) {
8342
8342
  const backupRaw = readCredsJsonRaw(backupPath);
8343
8343
  const backupStats = statFileSync(backupPath);
8344
8344
  if (!backupStats?.isFile() || !backupRaw || !isParseableJson(backupRaw)) return;
8345
- fs.copyFileSync(backupPath, credsPath);
8345
+ syncFs.copyFileSync(backupPath, credsPath);
8346
8346
  try {
8347
- fs.chmodSync(credsPath, 384);
8347
+ syncFs.chmodSync(credsPath, 384);
8348
8348
  } catch {}
8349
8349
  try {
8350
- fs.utimesSync(credsPath, backupStats.atime, backupStats.mtime);
8350
+ syncFs.utimesSync(credsPath, backupStats.atime, backupStats.mtime);
8351
8351
  } catch {}
8352
8352
  logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
8353
8353
  } catch {}
@@ -8367,7 +8367,7 @@ function listWhatsAppAuthDirs(cfg) {
8367
8367
  accountId
8368
8368
  }).authDir);
8369
8369
  try {
8370
- const entries = fs.readdirSync(whatsappDir, { withFileTypes: true });
8370
+ const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
8371
8371
  for (const entry of entries) {
8372
8372
  if (!entry.isDirectory()) continue;
8373
8373
  authDirs.add(path.join(whatsappDir, entry.name));
@@ -8389,7 +8389,7 @@ function resolveLegacyAuthDir() {
8389
8389
  }
8390
8390
  function legacyAuthExists(authDir) {
8391
8391
  try {
8392
- return fs.existsSync(path.join(authDir, "creds.json"));
8392
+ return syncFs.existsSync(path.join(authDir, "creds.json"));
8393
8393
  } catch {
8394
8394
  return false;
8395
8395
  }
@@ -9329,7 +9329,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
9329
9329
  await held.handle.close();
9330
9330
  } catch {}
9331
9331
  try {
9332
- await fs$1.rm(held.lockPath, { force: true });
9332
+ await fs.rm(held.lockPath, { force: true });
9333
9333
  } catch {}
9334
9334
  })();
9335
9335
  try {
@@ -9349,7 +9349,7 @@ function releaseAllLocksSync() {
9349
9349
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
9350
9350
  } catch {}
9351
9351
  try {
9352
- fs.rmSync(held.lockPath, { force: true });
9352
+ syncFs.rmSync(held.lockPath, { force: true });
9353
9353
  } catch {}
9354
9354
  HELD_LOCKS.delete(sessionFile);
9355
9355
  }
@@ -9408,7 +9408,7 @@ function registerCleanupHandlers() {
9408
9408
  }
9409
9409
  async function readLockPayload(lockPath) {
9410
9410
  try {
9411
- const raw = await fs$1.readFile(lockPath, "utf8");
9411
+ const raw = await fs.readFile(lockPath, "utf8");
9412
9412
  const parsed = JSON.parse(raw);
9413
9413
  const payload = {};
9414
9414
  if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
@@ -9452,7 +9452,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
9452
9452
  if (!details.stale) return false;
9453
9453
  if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
9454
9454
  try {
9455
- const stat = await fs$1.stat(lockPath);
9455
+ const stat = await fs.stat(lockPath);
9456
9456
  return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
9457
9457
  } catch (error) {
9458
9458
  return error?.code !== "ENOENT";
@@ -9470,10 +9470,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
9470
9470
  const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
9471
9471
  const sessionFile = path.resolve(params.sessionFile);
9472
9472
  const sessionDir = path.dirname(sessionFile);
9473
- await fs$1.mkdir(sessionDir, { recursive: true });
9473
+ await fs.mkdir(sessionDir, { recursive: true });
9474
9474
  let normalizedDir = sessionDir;
9475
9475
  try {
9476
- normalizedDir = await fs$1.realpath(sessionDir);
9476
+ normalizedDir = await fs.realpath(sessionDir);
9477
9477
  } catch {}
9478
9478
  const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
9479
9479
  const lockPath = `${normalizedSessionFile}.lock`;
@@ -9491,7 +9491,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
9491
9491
  attempt += 1;
9492
9492
  let handle = null;
9493
9493
  try {
9494
- handle = await fs$1.open(lockPath, "wx");
9494
+ handle = await fs.open(lockPath, "wx");
9495
9495
  const createdAt = (/* @__PURE__ */ new Date()).toISOString();
9496
9496
  const starttime = processIdentity.getProcessStartTime(process.pid);
9497
9497
  const lockPayload = {
@@ -9517,7 +9517,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
9517
9517
  await handle.close();
9518
9518
  } catch {}
9519
9519
  try {
9520
- await fs$1.rm(lockPath, { force: true });
9520
+ await fs.rm(lockPath, { force: true });
9521
9521
  } catch {}
9522
9522
  }
9523
9523
  if (err.code !== "EEXIST") throw err;
@@ -9532,7 +9532,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
9532
9532
  stale: true,
9533
9533
  staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
9534
9534
  } : inspected, staleMs, nowMs)) {
9535
- await fs$1.rm(lockPath, { force: true });
9535
+ await fs.rm(lockPath, { force: true });
9536
9536
  continue;
9537
9537
  }
9538
9538
  const delay = Math.min(1e3, 50 * attempt);
@@ -9663,7 +9663,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
9663
9663
  }
9664
9664
  function safeRealpathSync$1(filePath) {
9665
9665
  try {
9666
- return fs.realpathSync(filePath);
9666
+ return syncFs.realpathSync(filePath);
9667
9667
  } catch {
9668
9668
  return;
9669
9669
  }
@@ -10040,7 +10040,7 @@ function isCacheEnabled(ttlMs) {
10040
10040
  }
10041
10041
  function getFileStatSnapshot(filePath) {
10042
10042
  try {
10043
- const stats = fs.statSync(filePath);
10043
+ const stats = syncFs.statSync(filePath);
10044
10044
  return {
10045
10045
  mtimeMs: stats.mtimeMs,
10046
10046
  sizeBytes: stats.size
@@ -10322,7 +10322,7 @@ function loadSessionStoreFromDisk(storePath, opts = {}) {
10322
10322
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
10323
10323
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
10324
10324
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
10325
- const raw = fs.readFileSync(storePath, "utf-8");
10325
+ const raw = syncFs.readFileSync(storePath, "utf-8");
10326
10326
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
10327
10327
  Atomics.wait(retryBuf, 0, 0, 50);
10328
10328
  continue;
@@ -12199,7 +12199,7 @@ function createPluginRegistry(registryParams) {
12199
12199
  configurable: true,
12200
12200
  value: {
12201
12201
  ...registryParams.runtime.signals,
12202
- nudge: async (input) => (await import("./nudge-BwlwOlHp.js").then((n) => n.t)).requestAuthorizedNudge({
12202
+ nudge: async (input) => (await import("./nudge-dYyHjBXU.js").then((n) => n.t)).requestAuthorizedNudge({
12203
12203
  kind: "plugin",
12204
12204
  pluginId: record.id
12205
12205
  }, input)
@@ -12567,13 +12567,13 @@ function resolveBundledPluginsDir() {
12567
12567
  try {
12568
12568
  const execDir = path.dirname(process.execPath);
12569
12569
  const sibling = path.join(execDir, "extensions");
12570
- if (fs.existsSync(sibling)) return sibling;
12570
+ if (syncFs.existsSync(sibling)) return sibling;
12571
12571
  } catch {}
12572
12572
  try {
12573
12573
  let cursor = path.dirname(fileURLToPath(import.meta.url));
12574
12574
  for (let i = 0; i < 6; i += 1) {
12575
12575
  const candidate = path.join(cursor, "extensions");
12576
- if (fs.existsSync(candidate) && fs.existsSync(path.join(cursor, "package.json"))) return candidate;
12576
+ if (syncFs.existsSync(candidate) && syncFs.existsSync(path.join(cursor, "package.json"))) return candidate;
12577
12577
  const parent = path.dirname(cursor);
12578
12578
  if (parent === cursor) break;
12579
12579
  cursor = parent;
@@ -12651,7 +12651,7 @@ function parseSessionConsumers(raw) {
12651
12651
  function resolvePluginManifestPath(rootDir) {
12652
12652
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
12653
12653
  const candidate = path.join(rootDir, filename);
12654
- if (fs.existsSync(candidate)) return candidate;
12654
+ if (syncFs.existsSync(candidate)) return candidate;
12655
12655
  }
12656
12656
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
12657
12657
  }
@@ -12677,7 +12677,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
12677
12677
  }
12678
12678
  let raw;
12679
12679
  try {
12680
- raw = JSON.parse(fs.readFileSync(opened.fd, "utf-8"));
12680
+ raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
12681
12681
  } catch (err) {
12682
12682
  return {
12683
12683
  ok: false,
@@ -12685,7 +12685,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
12685
12685
  manifestPath
12686
12686
  };
12687
12687
  } finally {
12688
- fs.closeSync(opened.fd);
12688
+ syncFs.closeSync(opened.fd);
12689
12689
  }
12690
12690
  return {
12691
12691
  ...loadPluginManifestFromObject(raw, rejectHardlinks),
@@ -12890,7 +12890,7 @@ function safeRealpathSync(targetPath, cache) {
12890
12890
  const cached = cache?.get(targetPath);
12891
12891
  if (cached) return cached;
12892
12892
  try {
12893
- const resolved = fs.realpathSync(targetPath);
12893
+ const resolved = syncFs.realpathSync(targetPath);
12894
12894
  cache?.set(targetPath, resolved);
12895
12895
  return resolved;
12896
12896
  } catch {
@@ -12899,7 +12899,7 @@ function safeRealpathSync(targetPath, cache) {
12899
12899
  }
12900
12900
  function safeStatSync(targetPath) {
12901
12901
  try {
12902
- return fs.statSync(targetPath);
12902
+ return syncFs.statSync(targetPath);
12903
12903
  } catch {
12904
12904
  return null;
12905
12905
  }
@@ -13031,12 +13031,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
13031
13031
  });
13032
13032
  if (!opened.ok) return null;
13033
13033
  try {
13034
- const raw = fs.readFileSync(opened.fd, "utf-8");
13034
+ const raw = syncFs.readFileSync(opened.fd, "utf-8");
13035
13035
  return JSON.parse(raw);
13036
13036
  } catch {
13037
13037
  return null;
13038
13038
  } finally {
13039
- fs.closeSync(opened.fd);
13039
+ syncFs.closeSync(opened.fd);
13040
13040
  }
13041
13041
  }
13042
13042
  function deriveIdHint(params) {
@@ -13104,14 +13104,14 @@ function resolvePackageEntrySource(params) {
13104
13104
  return null;
13105
13105
  }
13106
13106
  const safeSource = opened.path;
13107
- fs.closeSync(opened.fd);
13107
+ syncFs.closeSync(opened.fd);
13108
13108
  return safeSource;
13109
13109
  }
13110
13110
  function discoverInDirectory(params) {
13111
- if (!fs.existsSync(params.dir)) return;
13111
+ if (!syncFs.existsSync(params.dir)) return;
13112
13112
  let entries = [];
13113
13113
  try {
13114
- entries = fs.readdirSync(params.dir, { withFileTypes: true });
13114
+ entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
13115
13115
  } catch (err) {
13116
13116
  params.diagnostics.push({
13117
13117
  level: "warn",
@@ -13174,7 +13174,7 @@ function discoverInDirectory(params) {
13174
13174
  }
13175
13175
  continue;
13176
13176
  }
13177
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs.existsSync(candidate));
13177
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
13178
13178
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
13179
13179
  candidates: params.candidates,
13180
13180
  diagnostics: params.diagnostics,
@@ -13192,7 +13192,7 @@ function discoverInDirectory(params) {
13192
13192
  }
13193
13193
  function discoverFromPath(params) {
13194
13194
  const resolved = resolveUserPath(params.rawPath);
13195
- if (!fs.existsSync(resolved)) {
13195
+ if (!syncFs.existsSync(resolved)) {
13196
13196
  params.diagnostics.push({
13197
13197
  level: "error",
13198
13198
  code: "PLUGIN_LOAD_ERROR",
@@ -13201,7 +13201,7 @@ function discoverFromPath(params) {
13201
13201
  });
13202
13202
  return;
13203
13203
  }
13204
- const stat = fs.statSync(resolved);
13204
+ const stat = syncFs.statSync(resolved);
13205
13205
  if (stat.isFile()) {
13206
13206
  if (!isExtensionFile(resolved)) {
13207
13207
  params.diagnostics.push({
@@ -13261,7 +13261,7 @@ function discoverFromPath(params) {
13261
13261
  }
13262
13262
  return;
13263
13263
  }
13264
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs.existsSync(candidate));
13264
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
13265
13265
  if (indexFile && isExtensionFile(indexFile)) {
13266
13266
  addCandidate({
13267
13267
  candidates: params.candidates,
@@ -13720,7 +13720,7 @@ function buildCacheKey$1(params) {
13720
13720
  }
13721
13721
  function safeStatMtimeMs(filePath) {
13722
13722
  try {
13723
- return fs.statSync(filePath).mtimeMs;
13723
+ return syncFs.statSync(filePath).mtimeMs;
13724
13724
  } catch {
13725
13725
  return null;
13726
13726
  }
@@ -19065,7 +19065,7 @@ function validateConfigObjectWithPluginsBase(raw, opts) {
19065
19065
  };
19066
19066
  const buildManifestSchemaCacheKey = (manifestPath) => {
19067
19067
  try {
19068
- const mtimeMs = fs.statSync(manifestPath).mtimeMs;
19068
+ const mtimeMs = syncFs.statSync(manifestPath).mtimeMs;
19069
19069
  return mtimeMs ? `${manifestPath}:${mtimeMs}` : manifestPath;
19070
19070
  } catch {
19071
19071
  return manifestPath;
@@ -19090,7 +19090,7 @@ function validateConfigObjectWithPluginsBase(raw, opts) {
19090
19090
  manifestRoot = record.sourcePath;
19091
19091
  } else if (sources.size === 0) {
19092
19092
  const bundledDir = resolveBundledPluginsDir();
19093
- if (bundledDir && fs.existsSync(bundledDir)) {
19093
+ if (bundledDir && syncFs.existsSync(bundledDir)) {
19094
19094
  const realSourcePath = safeRealpathSync(resolveUserPath(record.sourcePath), bundledInstallRealpathCache);
19095
19095
  const realBundledDir = safeRealpathSync(bundledDir, bundledInstallRealpathCache) ?? bundledDir;
19096
19096
  if (!realSourcePath || !isPathWithinRoot(realBundledDir, realSourcePath)) {
@@ -1,26 +1,26 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { B as resolveAgentModelPrimaryValue, F as resolveDefaultAgentWorkspaceDir, V as toAgentModelListLike, f as resolveAgentExplicitModelPrimary, g as resolveDefaultAgentId, h as resolveAgentWorkspaceDir, p as resolveAgentModelFallbacksOverride, u as resolveAgentDir, z as resolveAgentModelFallbackValues } from "./legacy-names-D-gFhJkB.js";
2
+ import { B as resolveAgentModelPrimaryValue, F as resolveDefaultAgentWorkspaceDir, V as toAgentModelListLike, f as resolveAgentExplicitModelPrimary, g as resolveDefaultAgentId, h as resolveAgentWorkspaceDir, p as resolveAgentModelFallbacksOverride, u as resolveAgentDir, z as resolveAgentModelFallbackValues } from "./legacy-names-m85yQK-H.js";
3
3
  import { t as CONFIG_PATH } from "./paths-CayHK8Kc.js";
4
- import { Tt as shortenHomePath, d as colorize, f as isRich$1, p as theme } from "./globals-BVh-VW1y.js";
5
- import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, _ as runEmbeddedPiAgent, an as loadProviderUsageSummary, cn as resolveUsageProviderId, ht as describeFailoverError, ln as maskApiKey, pr as resolvePluginProviders, sn as formatUsageWindowSummary, zt as formatRemainingShort } from "./agent-turn-execute-CVq_M1H9.js";
6
- import { Ar as normalizeProviderId, Bi as resolveProfileUnusableUntilForDisplay, Bn as loadConfig, Cc as getShellEnvAppliedKeys, Ci as resolveEnvApiKey, Cr as findNormalizedProviderValue, Dr as modelKey, Ec as shouldEnableShellEnvFallback, Fi as resolveAuthProfileOrder, Fr as resolveConfiguredModelRef, Ir as resolveDefaultModelForAgent, Mr as parseModelRef, Rr as resolveModelRefFromString, Sc as DEFAULT_PROVIDER, Si as resolveAwsSdkEnvVarName, Sr as buildModelAliasIndex, Us as setAuthProfileOrder, Vs as listProfilesForProvider, Ws as upsertAuthProfile, co as parseDurationMs, ec as resolveAuthStorePathForDisplay, ic as resolveAuthProfileDisplayLabel, qs as ensureAuthProfileStore, tc as resolveOpenClawAgentDir, xc as DEFAULT_MODEL, xi as resolveApiKeyForProvider, yi as getCustomProviderApiKey } from "./plugins-Do2VO-bb.js";
4
+ import { Tt as shortenHomePath, d as colorize, f as isRich$1, p as theme } from "./globals-BOYJmqPO.js";
5
+ import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, _ as runEmbeddedPiAgent, an as loadProviderUsageSummary, cn as resolveUsageProviderId, ht as describeFailoverError, ln as maskApiKey, pr as resolvePluginProviders, sn as formatUsageWindowSummary, zt as formatRemainingShort } from "./agent-turn-execute-CijEn5uU.js";
6
+ import { Ar as normalizeProviderId, Bi as resolveProfileUnusableUntilForDisplay, Bn as loadConfig, Cc as getShellEnvAppliedKeys, Ci as resolveEnvApiKey, Cr as findNormalizedProviderValue, Dr as modelKey, Ec as shouldEnableShellEnvFallback, Fi as resolveAuthProfileOrder, Fr as resolveConfiguredModelRef, Ir as resolveDefaultModelForAgent, Mr as parseModelRef, Rr as resolveModelRefFromString, Sc as DEFAULT_PROVIDER, Si as resolveAwsSdkEnvVarName, Sr as buildModelAliasIndex, Us as setAuthProfileOrder, Vs as listProfilesForProvider, Ws as upsertAuthProfile, co as parseDurationMs, ec as resolveAuthStorePathForDisplay, ic as resolveAuthProfileDisplayLabel, qs as ensureAuthProfileStore, tc as resolveOpenClawAgentDir, xc as DEFAULT_MODEL, xi as resolveApiKeyForProvider, yi as getCustomProviderApiKey } from "./plugins-50bsyRF5.js";
7
7
  import { t as formatCliCommand } from "./command-format-GeSaucOC.js";
8
- import { r as resolveForwardCompatModel } from "./model-C0zdj1IG.js";
9
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-B7YaarSR.js";
10
- import { t as ensureOpenClawModelsJson } from "./models-config-C3Tq7XpJ.js";
11
- import { n as loadModelCatalog } from "./model-catalog-D2OnT5G5.js";
12
- import { f as openUrl } from "./onboard-helpers-ByWR3CzW.js";
13
- import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DpZu7Rv0.js";
14
- import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-BwUg9MG7.js";
15
- import { r as withProgressTotals } from "./progress-DRmPtDtg.js";
16
- import { t as createClackPrompter } from "./clack-prompter-X5gjXw2v.js";
17
- import { t as renderTable } from "./table-BgEYg0Fr.js";
8
+ import { r as resolveForwardCompatModel } from "./model-CY6irdbq.js";
9
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-qfeaBTmR.js";
10
+ import { t as ensureOpenClawModelsJson } from "./models-config-QyFOywkg.js";
11
+ import { n as loadModelCatalog } from "./model-catalog-PS0jzDnI.js";
12
+ import { f as openUrl } from "./onboard-helpers-DM-4vR0k.js";
13
+ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-C-jp54Ww.js";
14
+ import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DJebWnC0.js";
15
+ import { r as withProgressTotals } from "./progress-DLl5RtiT.js";
16
+ import { t as createClackPrompter } from "./clack-prompter-CSTfawN7.js";
17
+ import { t as renderTable } from "./table-aewm6YXw.js";
18
18
  import { t as inferParamBFromIdOrName } from "./model-param-b-By9uTH-E.js";
19
19
  import { n as redactSecrets } from "./format-w5v1AP8D.js";
20
- import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DneLSdUs.js";
21
- import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-RZVdRVFL.js";
22
- import { n as logConfigUpdated } from "./logging-BrtVmOug.js";
23
- import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-BmlLx1lK.js";
20
+ import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BhyLuWyq.js";
21
+ import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BJlagO1q.js";
22
+ import { n as logConfigUpdated } from "./logging-CasLPWvm.js";
23
+ import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, t as applyDefaultModel } from "./provider-auth-helpers-CoSW0VEc.js";
24
24
  import path from "node:path";
25
25
  import fs from "node:fs/promises";
26
26
  import crypto from "node:crypto";
@@ -853,7 +853,7 @@ function printModelTable(rows, runtime, opts = {}) {
853
853
  //#region src/commands/models/list.list-command.ts
854
854
  async function modelsListCommand(opts, runtime) {
855
855
  ensureFlagCompatibility(opts);
856
- const { ensureAuthProfileStore } = await import("./plugins-Do2VO-bb.js").then((n) => n.Pi);
856
+ const { ensureAuthProfileStore } = await import("./plugins-50bsyRF5.js").then((n) => n.Pi);
857
857
  const cfg = await loadModelsConfig({
858
858
  commandName: "models list",
859
859
  runtime
@@ -916,7 +916,7 @@ async function modelsListCommand(opts, runtime) {
916
916
  }
917
917
  }
918
918
  if (!model) {
919
- const { resolveModel } = await import("./model-C0zdj1IG.js").then((n) => n.t);
919
+ const { resolveModel } = await import("./model-CY6irdbq.js").then((n) => n.t);
920
920
  model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
921
921
  }
922
922
  if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;