@opencode/core 0.0.0-dev-150 → 0.0.0-dev-153

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 (824) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{file-mutation-034tev2y.js → shell-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-mutation-wrnggakg.js → shell-04ek7h9y.js} +21 -21
  9. package/dist/chunks/shell-08b3necq.js +511 -0
  10. package/dist/chunks/{file-mutation-pwqzey69.js → shell-0bzca2g5.js} +11 -11
  11. package/dist/chunks/{file-mutation-bwj0e09a.js → shell-0rnawqs8.js} +12 -12
  12. package/dist/chunks/{file-mutation-qcmchz52.js → shell-0vryy1hg.js} +4 -4
  13. package/dist/chunks/{file-mutation-y9f9p42a.js → shell-0xebh2q0.js} +50 -50
  14. package/dist/chunks/{file-mutation-y369bsvk.js → shell-117why0g.js} +22 -22
  15. package/dist/chunks/{file-mutation-n0dfvze1.js → shell-162cz2jq.js} +3 -3
  16. package/dist/chunks/{file-mutation-5cwfc2ka.js → shell-1atk681z.js} +13 -13
  17. package/dist/chunks/{file-mutation-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{file-mutation-3mth2z3s.js → shell-1k9brye2.js} +14 -14
  19. package/dist/chunks/{file-mutation-84q6t6ac.js → shell-1r8mtbrn.js} +43 -43
  20. package/dist/chunks/{file-mutation-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{file-mutation-yj2b5f3h.js → shell-1y1zjdjp.js} +32 -44
  22. package/dist/chunks/{file-mutation-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
  23. package/dist/chunks/{file-mutation-204s3925.js → shell-204s3925.js} +1 -1
  24. package/dist/chunks/{file-mutation-n7bhcchc.js → shell-269nwj75.js} +20 -20
  25. package/dist/chunks/{file-mutation-26x8chrq.js → shell-26x8chrq.js} +3 -3
  26. package/dist/chunks/{file-mutation-66vehr1c.js → shell-2a1sbzpd.js} +6 -6
  27. package/dist/chunks/shell-2dkjcnxp.js +18 -0
  28. package/dist/chunks/{file-mutation-89rmqxc6.js → shell-2zafeey0.js} +11 -11
  29. package/dist/chunks/{file-mutation-31avdb49.js → shell-31avdb49.js} +3 -3
  30. package/dist/chunks/{file-mutation-f6egh6v0.js → shell-32ycv80d.js} +3 -3
  31. package/dist/chunks/{file-mutation-e6197nkp.js → shell-39b50xdn.js} +6 -6
  32. package/dist/chunks/{file-mutation-b9tvtgtk.js → shell-3any6fts.js} +16 -16
  33. package/dist/chunks/{file-mutation-yggcq3r2.js → shell-3h1zggnh.js} +18 -18
  34. package/dist/chunks/{file-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-mutation-q9z0p7gh.js → shell-3me98kyh.js} +16 -16
  36. package/dist/chunks/{file-mutation-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  37. package/dist/chunks/{file-mutation-dbj4j4p0.js → shell-3vk87jbh.js} +11 -11
  38. package/dist/chunks/{file-mutation-r41sfy63.js → shell-40za9wsf.js} +6 -6
  39. package/dist/chunks/{file-mutation-xav8p412.js → shell-46q6xmy6.js} +46 -46
  40. package/dist/chunks/{file-mutation-qqve4v8g.js → shell-46y7bs25.js} +8 -8
  41. package/dist/chunks/{file-mutation-sqc0p8sq.js → shell-47p99bkc.js} +15 -15
  42. package/dist/chunks/{file-mutation-gawyv5h6.js → shell-4cqhw4ty.js} +26 -26
  43. package/dist/chunks/{file-mutation-6cn2mxvv.js → shell-4hgx5c06.js} +9 -9
  44. package/dist/chunks/{file-mutation-v7sj5brm.js → shell-4jx7bqwq.js} +9 -9
  45. package/dist/chunks/{file-mutation-2em4q09y.js → shell-4k62cac0.js} +7 -7
  46. package/dist/chunks/{file-mutation-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  47. package/dist/chunks/{file-mutation-8bmfs902.js → shell-4tyq8y1q.js} +25 -25
  48. package/dist/chunks/{file-mutation-4v008n1t.js → shell-4v008n1t.js} +1 -1
  49. package/dist/chunks/{file-mutation-h4n5s0gm.js → shell-4wnskdgw.js} +19 -19
  50. package/dist/chunks/{file-mutation-nwbbxj2q.js → shell-50cfs487.js} +17 -17
  51. package/dist/chunks/{file-mutation-t07kmxgp.js → shell-51czaex0.js} +24 -24
  52. package/dist/chunks/{file-mutation-dvrysxe9.js → shell-5jnzytm1.js} +23 -23
  53. package/dist/chunks/{file-mutation-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{file-mutation-b6vsg801.js → shell-5nnwax6m.js} +5 -5
  55. package/dist/chunks/{file-mutation-cpsrm9kz.js → shell-5wckmg8r.js} +32 -32
  56. package/dist/chunks/{file-mutation-61ennm6n.js → shell-61ennm6n.js} +1 -1
  57. package/dist/chunks/{file-mutation-mgxf3nw1.js → shell-6401x61d.js} +8 -8
  58. package/dist/chunks/{file-mutation-zzj2xcr4.js → shell-665g4qxs.js} +6 -6
  59. package/dist/chunks/{file-mutation-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{file-mutation-rz6zznan.js → shell-6g0c3wkb.js} +11 -11
  61. package/dist/chunks/{file-mutation-8441pj9h.js → shell-6jjnvdfj.js} +30 -30
  62. package/dist/chunks/{file-mutation-mbv7k5zt.js → shell-6tcavvge.js} +24 -24
  63. package/dist/chunks/{file-mutation-6xqtcmxs.js → shell-6y263vp8.js} +5 -5
  64. package/dist/chunks/{file-mutation-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
  65. package/dist/chunks/{file-mutation-n1650mfh.js → shell-77s6ecga.js} +5 -5
  66. package/dist/chunks/{file-mutation-tvhsqegv.js → shell-784x34jv.js} +11 -11
  67. package/dist/chunks/{file-mutation-44s5ds88.js → shell-78ga7vnq.js} +46 -46
  68. package/dist/chunks/{file-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{file-mutation-jb168mmq.js → shell-7e58bfad.js} +25 -25
  70. package/dist/chunks/{file-mutation-0qaf62d8.js → shell-7h3tx6qb.js} +3 -3
  71. package/dist/chunks/{file-mutation-488y184h.js → shell-7h8dsyqx.js} +15 -15
  72. package/dist/chunks/{file-mutation-02jpp536.js → shell-7jxxb4xt.js} +33 -33
  73. package/dist/chunks/{file-mutation-zdvvded9.js → shell-7m9azgke.js} +22 -22
  74. package/dist/chunks/{file-mutation-ct7725a2.js → shell-7s9zy64f.js} +11 -11
  75. package/dist/chunks/{file-mutation-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{file-mutation-jzk4jfxk.js → shell-7x1m1x8m.js} +32 -32
  77. package/dist/chunks/{file-mutation-m05gm3xd.js → shell-89wmm6hc.js} +12 -12
  78. package/dist/chunks/{file-mutation-1t3qy2r0.js → shell-8aaaanvb.js} +5 -5
  79. package/dist/chunks/{file-mutation-tfnfgxqy.js → shell-8ghpkh2b.js} +7 -7
  80. package/dist/chunks/{file-mutation-gam5pswh.js → shell-8jrf95k0.js} +32 -32
  81. package/dist/chunks/{file-mutation-g5vc4awh.js → shell-8k18663a.js} +8 -8
  82. package/dist/chunks/{file-mutation-zy3tpbx7.js → shell-8q36sknh.js} +17 -17
  83. package/dist/chunks/{file-mutation-sykc9y4a.js → shell-8ryk0bb9.js} +5 -5
  84. package/dist/chunks/{file-mutation-f6a72pnd.js → shell-8t8csh0d.js} +11 -11
  85. package/dist/chunks/{file-mutation-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{file-mutation-9z9tayqc.js → shell-8yhc7zrg.js} +9 -9
  87. package/dist/chunks/{file-mutation-90zstvax.js → shell-90zstvax.js} +1 -1
  88. package/dist/chunks/{file-mutation-hzw8faeh.js → shell-96qm6qre.js} +5 -5
  89. package/dist/chunks/{file-mutation-pxbzzzzm.js → shell-98maaxm0.js} +149 -149
  90. package/dist/chunks/{file-mutation-bgtvwfds.js → shell-98tqkwke.js} +11 -11
  91. package/dist/chunks/{file-mutation-291261ha.js → shell-9er8jkga.js} +20 -20
  92. package/dist/chunks/{file-mutation-55mnpje1.js → shell-9qavyryr.js} +15 -15
  93. package/dist/chunks/{file-mutation-w6c5q4g8.js → shell-9qfd9ctj.js} +51 -51
  94. package/dist/chunks/{file-mutation-1ck73ww0.js → shell-9rp5n8cg.js} +14 -14
  95. package/dist/chunks/{file-mutation-d53xcg4f.js → shell-9sb4zbwh.js} +10 -10
  96. package/dist/chunks/{file-mutation-4ddsgm24.js → shell-9sqzj7jg.js} +9 -9
  97. package/dist/chunks/{file-mutation-2ndq7hcx.js → shell-a43zn68e.js} +25 -25
  98. package/dist/chunks/{file-mutation-ajdh0zra.js → shell-a5b1kfw3.js} +16 -16
  99. package/dist/chunks/{file-mutation-tpx6dfdg.js → shell-af2rs3qt.js} +7 -7
  100. package/dist/chunks/{file-mutation-ga5dber3.js → shell-amxh6r7z.js} +13 -13
  101. package/dist/chunks/{file-mutation-kj99f3y3.js → shell-anbzqb0m.js} +25 -25
  102. package/dist/chunks/{file-mutation-vhc9amj9.js → shell-anhkzmhg.js} +15 -15
  103. package/dist/chunks/{file-mutation-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  104. package/dist/chunks/{file-mutation-zrm686mt.js → shell-b07p3ys3.js} +6 -6
  105. package/dist/chunks/{file-mutation-rr4kc3kv.js → shell-b3mxrt5b.js} +3 -3
  106. package/dist/chunks/{file-mutation-x46ssyqq.js → shell-bc8d4apc.js} +15 -15
  107. package/dist/chunks/{file-mutation-fvsxqh4k.js → shell-bkcatkhe.js} +13 -13
  108. package/dist/chunks/{file-mutation-wrd39zd3.js → shell-bqwdyg2t.js} +9 -9
  109. package/dist/chunks/{file-mutation-sawge6zb.js → shell-br25aqqg.js} +1 -1
  110. package/dist/chunks/{file-mutation-bstexjd6.js → shell-bstexjd6.js} +1 -1
  111. package/dist/chunks/{file-mutation-92smj43y.js → shell-c26d8adj.js} +2 -2
  112. package/dist/chunks/{file-mutation-xjxwv06c.js → shell-cf7530z0.js} +33 -33
  113. package/dist/chunks/{file-mutation-hcs64hj8.js → shell-cff7ambb.js} +31 -31
  114. package/dist/chunks/{file-mutation-fnjr23v9.js → shell-chmzr73b.js} +25 -25
  115. package/dist/chunks/{file-mutation-3ryz99p0.js → shell-cpvd08na.js} +4 -4
  116. package/dist/chunks/{file-mutation-ehpmpmqy.js → shell-cwntgy3b.js} +2 -2
  117. package/dist/chunks/{file-mutation-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  118. package/dist/chunks/{file-mutation-ch0v3cp9.js → shell-cyav8ryr.js} +22 -22
  119. package/dist/chunks/{file-mutation-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{file-mutation-d8p3t516.js → shell-d77k1mxa.js} +4 -4
  121. package/dist/chunks/{file-mutation-rkkrzzbq.js → shell-dbw0hcg3.js} +16 -16
  122. package/dist/chunks/{file-mutation-qwc0pngt.js → shell-dftfjzw5.js} +28 -28
  123. package/dist/chunks/{file-mutation-dt77769w.js → shell-dt77769w.js} +1 -1
  124. package/dist/chunks/{file-mutation-gxk9nqgj.js → shell-e1075q1h.js} +15 -15
  125. package/dist/chunks/{file-mutation-0yy582wq.js → shell-e3a69e85.js} +11 -11
  126. package/dist/chunks/{file-mutation-v5mw2t49.js → shell-e3d240b5.js} +36 -36
  127. package/dist/chunks/{file-mutation-zzwc8gnd.js → shell-e6hdst2b.js} +22 -22
  128. package/dist/chunks/{file-mutation-e834z07m.js → shell-e834z07m.js} +1 -1
  129. package/dist/chunks/{file-mutation-pr24arth.js → shell-em2zp6t2.js} +16 -16
  130. package/dist/chunks/{file-mutation-c5kjsz6q.js → shell-emq6awqh.js} +4 -4
  131. package/dist/chunks/{file-mutation-hte3z5j4.js → shell-ep0dae8k.js} +5 -5
  132. package/dist/chunks/{file-mutation-s9ynkngn.js → shell-eq4xjegx.js} +28 -28
  133. package/dist/chunks/{file-mutation-7rw1vw5b.js → shell-ezh5wcvr.js} +8 -8
  134. package/dist/chunks/{file-mutation-bb9y3cr3.js → shell-eztbr3va.js} +22 -22
  135. package/dist/chunks/{file-mutation-g59pth55.js → shell-f79nty4s.js} +10 -10
  136. package/dist/chunks/{file-mutation-vp8n94ta.js → shell-ff5993x1.js} +27 -27
  137. package/dist/chunks/{file-mutation-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{file-mutation-stj6qkja.js → shell-fg62papv.js} +30 -30
  139. package/dist/chunks/{file-mutation-v1bqj1yq.js → shell-fg9cer97.js} +6 -6
  140. package/dist/chunks/{file-mutation-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
  141. package/dist/chunks/{file-mutation-vrg9pvbr.js → shell-fhhqgzg1.js} +4 -4
  142. package/dist/chunks/{file-mutation-7szmtnr1.js → shell-fnsd8pja.js} +4 -4
  143. package/dist/chunks/{file-mutation-a5hkphf1.js → shell-fq6gcjfj.js} +15 -15
  144. package/dist/chunks/{file-mutation-2r5550sa.js → shell-fqggg14e.js} +18 -18
  145. package/dist/chunks/{file-mutation-kx9nywdq.js → shell-frmj6gvz.js} +8 -8
  146. package/dist/chunks/{file-mutation-xktxpnft.js → shell-fyanp2px.js} +29 -29
  147. package/dist/chunks/{file-mutation-7hb0ye5y.js → shell-g4y5gz37.js} +6 -6
  148. package/dist/chunks/{file-mutation-jcqm84fr.js → shell-gcjdgkn2.js} +9 -9
  149. package/dist/chunks/{file-mutation-gg8p9cgs.js → shell-gg8p9cgs.js} +3 -3
  150. package/dist/chunks/{file-mutation-8dzwfsfj.js → shell-gyd37gqd.js} +7 -7
  151. package/dist/chunks/{file-mutation-y457bc3h.js → shell-gzdbztqx.js} +9 -9
  152. package/dist/chunks/{file-mutation-9bc1thgt.js → shell-h0ppebc3.js} +8 -8
  153. package/dist/chunks/{file-mutation-t30gga41.js → shell-h21gmg7t.js} +15 -15
  154. package/dist/chunks/{file-mutation-hdfrs5mg.js → shell-hdfrs5mg.js} +2 -2
  155. package/dist/chunks/{file-mutation-2xzxwh9n.js → shell-hk4zn3tm.js} +39 -39
  156. package/dist/chunks/{file-mutation-6vdm78sx.js → shell-hkm78mpc.js} +14 -14
  157. package/dist/chunks/{file-mutation-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
  158. package/dist/chunks/{file-mutation-hqxkkta1.js → shell-hqxkkta1.js} +1 -1
  159. package/dist/chunks/{file-mutation-04mewp1n.js → shell-hswehyeg.js} +6 -6
  160. package/dist/chunks/{file-mutation-hvvf9qw8.js → shell-hvvf9qw8.js} +1 -1
  161. package/dist/chunks/{file-mutation-hmfc8wjy.js → shell-j1qkt8n9.js} +20 -20
  162. package/dist/chunks/{file-mutation-knsnfpmh.js → shell-j3atvk4p.js} +10 -10
  163. package/dist/chunks/{file-mutation-615ze5mc.js → shell-j47j5mgf.js} +13 -13
  164. package/dist/chunks/{file-mutation-jft4dbeh.js → shell-j4qx96r0.js} +18 -18
  165. package/dist/chunks/{file-mutation-wrj223sh.js → shell-j78xp39n.js} +18 -18
  166. package/dist/chunks/{file-mutation-jrc6mwxy.js → shell-jckbhz5s.js} +9 -9
  167. package/dist/chunks/{file-mutation-q110nakk.js → shell-jet1weyh.js} +38 -38
  168. package/dist/chunks/{file-mutation-jfaecv01.js → shell-jfaecv01.js} +1 -1
  169. package/dist/chunks/{file-mutation-psj7p3gy.js → shell-jfdfpeeg.js} +12 -12
  170. package/dist/chunks/{file-mutation-w307e9wj.js → shell-jfmjz42h.js} +9 -9
  171. package/dist/chunks/{file-mutation-22g4mmnz.js → shell-jkhrt0qh.js} +17 -17
  172. package/dist/chunks/{file-mutation-0wy96kee.js → shell-jr33ggp4.js} +9 -9
  173. package/dist/chunks/{file-mutation-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
  174. package/dist/chunks/{file-mutation-0f8tg23y.js → shell-k1nxv3dt.js} +3 -3
  175. package/dist/chunks/{file-mutation-q3w50k8c.js → shell-k3xx3egj.js} +28 -28
  176. package/dist/chunks/{file-mutation-kb4zeprx.js → shell-k4m195bg.js} +27 -27
  177. package/dist/chunks/{file-mutation-k814nvkf.js → shell-k814nvkf.js} +1 -1
  178. package/dist/chunks/{file-mutation-0qs8yesb.js → shell-kckw12eh.js} +27 -27
  179. package/dist/chunks/{file-mutation-cff47hc0.js → shell-ke8rev0c.js} +27 -27
  180. package/dist/chunks/{file-mutation-qy453c32.js → shell-kgfzpkjk.js} +6 -6
  181. package/dist/chunks/{file-mutation-tg1vr1qt.js → shell-kmzgegqq.js} +8 -8
  182. package/dist/chunks/{file-mutation-vjsahgsx.js → shell-ksrpc66y.js} +19 -19
  183. package/dist/chunks/{file-mutation-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{file-mutation-faazj2st.js → shell-m0932hwt.js} +32 -32
  185. package/dist/chunks/{file-mutation-4db922nk.js → shell-m0xc4m67.js} +14 -14
  186. package/dist/chunks/{file-mutation-m1714858.js → shell-m1714858.js} +1 -1
  187. package/dist/chunks/{file-mutation-a9gs869n.js → shell-m18v8hsy.js} +12 -12
  188. package/dist/chunks/{file-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{file-mutation-8wpev9de.js → shell-maw7rkdj.js} +1 -1
  190. package/dist/chunks/{file-mutation-6fjxz4z4.js → shell-mb5r60m7.js} +82 -82
  191. package/dist/chunks/{file-mutation-s3zszyzt.js → shell-mcx8r17s.js} +24 -24
  192. package/dist/chunks/{file-mutation-we7rx8f6.js → shell-me8fy6y3.js} +15 -15
  193. package/dist/chunks/{file-mutation-jc512s3p.js → shell-mpe6qr53.js} +8 -8
  194. package/dist/chunks/{file-mutation-g9kk5sfb.js → shell-msp1dkg1.js} +10 -10
  195. package/dist/chunks/{file-mutation-c9t2ty9q.js → shell-mtkfycnh.js} +4 -4
  196. package/dist/chunks/{file-mutation-wy6d4nzf.js → shell-mxdjbcy9.js} +3 -3
  197. package/dist/chunks/{file-mutation-770pw0s1.js → shell-nah043kf.js} +4 -4
  198. package/dist/chunks/{file-mutation-jw74caa4.js → shell-nrbaxs48.js} +38 -38
  199. package/dist/chunks/{file-mutation-p015t6z3.js → shell-p015t6z3.js} +2 -2
  200. package/dist/chunks/{file-mutation-6xks9hqy.js → shell-pf5an99m.js} +16 -16
  201. package/dist/chunks/{file-mutation-ccbxgw01.js → shell-pkcxvk95.js} +6 -6
  202. package/dist/chunks/{file-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-mutation-q2w99wmr.js → shell-pmp7dhvf.js} +11 -11
  204. package/dist/chunks/{file-mutation-b23hpydp.js → shell-pwrd9m1k.js} +2 -2
  205. package/dist/chunks/{file-mutation-m5z3tkyc.js → shell-px414y6d.js} +7 -7
  206. package/dist/chunks/{file-mutation-2cywgpj2.js → shell-q178967a.js} +10 -10
  207. package/dist/chunks/{file-mutation-q63cb7ap.js → shell-q63cb7ap.js} +3 -3
  208. package/dist/chunks/{file-mutation-9xzhsdnm.js → shell-q9fk8jkx.js} +9 -9
  209. package/dist/chunks/{file-mutation-8jztxfpf.js → shell-qjgzc4b4.js} +4 -4
  210. package/dist/chunks/{file-mutation-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  211. package/dist/chunks/{file-mutation-gtn9c16a.js → shell-qqpbcr2p.js} +4 -4
  212. package/dist/chunks/{file-mutation-zb5gs1ba.js → shell-qsee9sfb.js} +3 -3
  213. package/dist/chunks/{file-mutation-kp1vg9ss.js → shell-qvv8erx6.js} +2 -2
  214. package/dist/chunks/{file-mutation-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{file-mutation-nwe4qtzq.js → shell-r4etkjb4.js} +12 -12
  216. package/dist/chunks/{file-mutation-r542h3bh.js → shell-r542h3bh.js} +1 -1
  217. package/dist/chunks/{file-mutation-rc5cfkkt.js → shell-r6mk3rd0.js} +9 -9
  218. package/dist/chunks/{file-mutation-ez4nhay2.js → shell-raw26vjr.js} +6 -6
  219. package/dist/chunks/{file-mutation-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{file-mutation-avfx08wj.js → shell-rbb6zq01.js} +16 -16
  221. package/dist/chunks/{file-mutation-0tgj0enh.js → shell-rfk8s4cm.js} +6 -6
  222. package/dist/chunks/{file-mutation-n6wkrbw6.js → shell-rgqe5ej8.js} +26 -26
  223. package/dist/chunks/shell-rq62mxtf.js +257 -0
  224. package/dist/chunks/{file-mutation-vyeahs8y.js → shell-rqsc6n82.js} +18 -18
  225. package/dist/chunks/{file-mutation-n5rt61vk.js → shell-rs81f4k4.js} +2 -2
  226. package/dist/chunks/{file-mutation-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{file-mutation-9zc50dp0.js → shell-s6pwsjdm.js} +1 -1
  228. package/dist/chunks/{file-mutation-36qx82yz.js → shell-s7xmnr8t.js} +6 -6
  229. package/dist/chunks/{file-mutation-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{file-mutation-09bv4atg.js → shell-scmk72rv.js} +7 -7
  231. package/dist/chunks/{file-mutation-k6j7z2k4.js → shell-sekby2qt.js} +12 -12
  232. package/dist/chunks/{file-mutation-aycr4par.js → shell-sf2d3txg.js} +45 -45
  233. package/dist/chunks/{file-mutation-p0q2ne2s.js → shell-sfqj7d5v.js} +15 -15
  234. package/dist/chunks/{file-mutation-34asacga.js → shell-shj34wgv.js} +13 -13
  235. package/dist/chunks/{file-mutation-m91kzycp.js → shell-sj7n0b4y.js} +12 -12
  236. package/dist/chunks/{file-mutation-42d0kh11.js → shell-sjsa0xxp.js} +11 -11
  237. package/dist/chunks/{file-mutation-x9xdyhyz.js → shell-skyj9te4.js} +20 -20
  238. package/dist/chunks/{file-mutation-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{file-mutation-tazdrhsb.js → shell-sqzgab9t.js} +87 -87
  240. package/dist/chunks/shell-srxj8zvh.js +26 -0
  241. package/dist/chunks/{file-mutation-5hbegf98.js → shell-sts537v3.js} +3 -3
  242. package/dist/chunks/{file-mutation-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  243. package/dist/chunks/{file-mutation-nf3nsvxh.js → shell-t1xktr6n.js} +4 -4
  244. package/dist/chunks/{file-mutation-3n5jkvcw.js → shell-t2z71z34.js} +5 -5
  245. package/dist/chunks/{file-mutation-0w2jttgf.js → shell-t5jqs5j7.js} +2 -2
  246. package/dist/chunks/{file-mutation-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  247. package/dist/chunks/{file-mutation-phzz8nf6.js → shell-ter8ckgk.js} +56 -56
  248. package/dist/chunks/{file-mutation-vye0b1vt.js → shell-tgmjaqw5.js} +73 -73
  249. package/dist/chunks/{file-mutation-twssxy5n.js → shell-twssxy5n.js} +2 -2
  250. package/dist/chunks/{file-mutation-v0t96s7a.js → shell-v0t96s7a.js} +1 -1
  251. package/dist/chunks/{file-mutation-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{file-mutation-qv4vz01m.js → shell-vc4sk86e.js} +11 -11
  253. package/dist/chunks/{file-mutation-57cc6ds0.js → shell-vc4tfmhw.js} +21 -21
  254. package/dist/chunks/{file-mutation-y04qvqhx.js → shell-vctgxjx6.js} +37 -37
  255. package/dist/chunks/{file-mutation-vmfhgzt5.js → shell-vmfhgzt5.js} +1 -1
  256. package/dist/chunks/{file-mutation-cgfk4g4x.js → shell-vyk3hhz8.js} +14 -14
  257. package/dist/chunks/{file-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-mutation-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{file-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-mutation-w7gfejrx.js → shell-wj6zyh3r.js} +15 -15
  261. package/dist/chunks/{file-mutation-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
  262. package/dist/chunks/{file-mutation-b6z35kmf.js → shell-wr3re1en.js} +4 -4
  263. package/dist/chunks/{file-mutation-erzzkc7h.js → shell-wtjv999x.js} +30 -30
  264. package/dist/chunks/{file-mutation-br0jzkw0.js → shell-wyn38t1n.js} +18 -18
  265. package/dist/chunks/{file-mutation-f5q6vy05.js → shell-wze3726t.js} +20 -20
  266. package/dist/chunks/{file-mutation-36cfnhgq.js → shell-x15qb8kb.js} +32 -32
  267. package/dist/chunks/{file-mutation-eyck5g6r.js → shell-x6hvwx4s.js} +4 -4
  268. package/dist/chunks/{file-mutation-ynkzga2v.js → shell-x7ygks9b.js} +33 -33
  269. package/dist/chunks/{file-mutation-xj5ejtth.js → shell-x8hqx8dn.js} +11 -11
  270. package/dist/chunks/{file-mutation-jpfg3bv3.js → shell-xms0g0j8.js} +11 -11
  271. package/dist/chunks/{file-mutation-2s3pxq91.js → shell-xnwcn394.js} +4 -4
  272. package/dist/chunks/{file-mutation-4cr9j35r.js → shell-xq08wx7b.js} +21 -21
  273. package/dist/chunks/{file-mutation-p4gp7n98.js → shell-xs7y4ztn.js} +34 -34
  274. package/dist/chunks/{file-mutation-cqqjw5e0.js → shell-xvme4r16.js} +19 -19
  275. package/dist/chunks/{file-mutation-1sfajnh7.js → shell-xx8a12fb.js} +54 -54
  276. package/dist/chunks/{file-mutation-nkfn7phj.js → shell-xxtgb6sa.js} +17 -17
  277. package/dist/chunks/{file-mutation-a72t788c.js → shell-y1xa8t1k.js} +18 -18
  278. package/dist/chunks/{file-mutation-xphx33pk.js → shell-y8dyt59y.js} +1 -1
  279. package/dist/chunks/{file-mutation-a6sanqb6.js → shell-ya0ebpe6.js} +18 -18
  280. package/dist/chunks/{file-mutation-yara3q77.js → shell-yara3q77.js} +2 -2
  281. package/dist/chunks/{file-mutation-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  282. package/dist/chunks/{file-mutation-3phywp6k.js → shell-yekwrh4t.js} +17 -17
  283. package/dist/chunks/{file-mutation-z64rkn65.js → shell-ygy6krf6.js} +35 -35
  284. package/dist/chunks/{file-mutation-d65zxn08.js → shell-yqh7p5wn.js} +20 -20
  285. package/dist/chunks/{file-mutation-1zx0pxwe.js → shell-yrvatxy0.js} +5 -5
  286. package/dist/chunks/{file-mutation-h8ktp5nz.js → shell-ysbx8q5e.js} +24 -24
  287. package/dist/chunks/{file-mutation-rcxfmvg3.js → shell-yvf7qmnn.js} +5 -5
  288. package/dist/chunks/{file-mutation-0m350p2y.js → shell-yzdtg5md.js} +15 -15
  289. package/dist/chunks/{file-mutation-2qcan4gv.js → shell-z34kcv4r.js} +15 -15
  290. package/dist/chunks/{file-mutation-z38nccrw.js → shell-z38nccrw.js} +1 -1
  291. package/dist/chunks/{file-mutation-syrgmen4.js → shell-zq6xckqc.js} +32 -32
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +90 -90
  298. package/dist/config/integration.js +7 -7
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +121 -121
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +120 -120
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +122 -122
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  329. package/dist/database/database.js +76 -76
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +98 -98
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +371 -375
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +3 -3
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +103 -103
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +80 -80
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +86 -86
  433. package/dist/filesystem/location-watcher-policy.js +6 -6
  434. package/dist/filesystem/location-watcher.js +232 -232
  435. package/dist/filesystem/protected.js +1 -1
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +9 -9
  439. package/dist/filesystem.js +112 -112
  440. package/dist/form.js +82 -82
  441. package/dist/formatter/builtins.js +2 -2
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +107 -107
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +99 -99
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +1 -1
  469. package/dist/instance.js +364 -368
  470. package/dist/instruction-discovery.js +90 -90
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +1 -1
  474. package/dist/integration.js +89 -89
  475. package/dist/job.js +84 -84
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +166 -166
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -369
  482. package/dist/location.js +93 -93
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +115 -115
  486. package/dist/mcp/instructions.js +166 -166
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +99 -99
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +102 -102
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +116 -116
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +86 -86
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +147 -147
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +92 -92
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +225 -225
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -342
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +128 -128
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +123 -123
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +130 -130
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -175
  553. package/dist/plugin/sdk.js +82 -82
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +141 -141
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +353 -357
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +4 -4
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +6 -6
  571. package/dist/plugin.js +232 -232
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +2 -2
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +92 -92
  576. package/dist/provider.js +101 -101
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +92 -92
  580. package/dist/reference/instructions.js +94 -94
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +1 -1
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +105 -105
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +162 -162
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +228 -228
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +188 -188
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +138 -138
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +4 -4
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +3 -3
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +3 -3
  622. package/dist/session/runner/step.js +152 -152
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +5 -5
  625. package/dist/session/session.js +170 -170
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +81 -81
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +2 -2
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +1 -1
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +227 -227
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +221 -221
  640. package/dist/shell/parse.js +8 -8
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +11 -11
  644. package/dist/shell.js +137 -137
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +148 -148
  648. package/dist/snapshot.js +97 -97
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +167 -167
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +158 -158
  656. package/dist/tool/plugin/grep.js +160 -160
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +158 -158
  660. package/dist/tool/plugin/question.js +138 -138
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +224 -224
  663. package/dist/tool/plugin/skill.js +149 -149
  664. package/dist/tool/plugin/subagent.js +224 -224
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +149 -149
  667. package/dist/tool/plugin/websearch.js +143 -143
  668. package/dist/tool/plugin/write.js +158 -158
  669. package/dist/tool/read-filesystem.js +108 -108
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +16 -16
  673. package/dist/usage-limits.js +91 -91
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +3 -3
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +6 -6
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +1 -1
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +101 -101
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +90 -90
  693. package/dist/websearch.js +86 -86
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +83 -83
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +88 -88
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +104 -104
  704. package/package.json +9 -12
  705. package/dist/chunks/file-mutation-301cc765.js +0 -511
  706. package/dist/chunks/file-mutation-6h2wa517.js +0 -257
  707. package/dist/chunks/file-mutation-bv5h9gn1.js +0 -32
  708. package/dist/chunks/file-mutation-n3r3rt18.js +0 -18
  709. package/dist/chunks/file-mutation-veqvce7d.js +0 -15
  710. package/dist/chunks/file-mutation-wm0kh7y8.js +0 -26
  711. package/dist/chunks/file-mutation-ym463w8f.js +0 -17
  712. package/dist/chunks/file-mutation-z0bkrqjs.js +0 -15
  713. package/dist/plugin/provider/cohere.js +0 -7
  714. package/dist/plugin/provider/factory.js +0 -6
  715. package/dist/plugin/provider/perplexity.js +0 -7
  716. package/dist/plugin/provider/vercel.js +0 -103
  717. package/dist/types/plugin/provider/cohere.d.ts +0 -1
  718. package/dist/types/plugin/provider/factory.d.ts +0 -6
  719. package/dist/types/plugin/provider/perplexity.d.ts +0 -1
  720. package/dist/types/plugin/provider/vercel.d.ts +0 -1
  721. /package/dist/chunks/{file-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{file-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{file-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{file-mutation-1jakw16s.js → shell-1jakw16s.js} +0 -0
  726. /package/dist/chunks/{file-mutation-24dcb14g.js → shell-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{file-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{file-mutation-2bv980vf.js → shell-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{file-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{file-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{file-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
  732. /package/dist/chunks/{file-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{file-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{file-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{file-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{file-mutation-4m86bj6y.js → shell-4m86bj6y.js} +0 -0
  737. /package/dist/chunks/{file-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{file-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{file-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
  740. /package/dist/chunks/{file-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{file-mutation-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  742. /package/dist/chunks/{file-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
  743. /package/dist/chunks/{file-mutation-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{file-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{file-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{file-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
  747. /package/dist/chunks/{file-mutation-84wd9syh.js → shell-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{file-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{file-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{file-mutation-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{file-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{file-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{file-mutation-a058387c.js → shell-a058387c.js} +0 -0
  754. /package/dist/chunks/{file-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{file-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{file-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{file-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{file-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{file-mutation-beh6qq61.js → shell-beh6qq61.js} +0 -0
  760. /package/dist/chunks/{file-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  761. /package/dist/chunks/{file-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  762. /package/dist/chunks/{file-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  763. /package/dist/chunks/{file-mutation-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  764. /package/dist/chunks/{file-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  765. /package/dist/chunks/{file-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
  766. /package/dist/chunks/{file-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  767. /package/dist/chunks/{file-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
  768. /package/dist/chunks/{file-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
  769. /package/dist/chunks/{file-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
  770. /package/dist/chunks/{file-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
  771. /package/dist/chunks/{file-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{file-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{file-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{file-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{file-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{file-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{file-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{file-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{file-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{file-mutation-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  781. /package/dist/chunks/{file-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  782. /package/dist/chunks/{file-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
  783. /package/dist/chunks/{file-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  784. /package/dist/chunks/{file-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
  785. /package/dist/chunks/{file-mutation-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  786. /package/dist/chunks/{file-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
  787. /package/dist/chunks/{file-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  788. /package/dist/chunks/{file-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  789. /package/dist/chunks/{file-mutation-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  790. /package/dist/chunks/{file-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  791. /package/dist/chunks/{file-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  792. /package/dist/chunks/{file-mutation-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  793. /package/dist/chunks/{file-mutation-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
  794. /package/dist/chunks/{file-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  795. /package/dist/chunks/{file-mutation-m18g726c.js → shell-m18g726c.js} +0 -0
  796. /package/dist/chunks/{file-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
  797. /package/dist/chunks/{file-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  798. /package/dist/chunks/{file-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  799. /package/dist/chunks/{file-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  800. /package/dist/chunks/{file-mutation-ncqqe42p.js → shell-ncqqe42p.js} +0 -0
  801. /package/dist/chunks/{file-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
  802. /package/dist/chunks/{file-mutation-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  803. /package/dist/chunks/{file-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  804. /package/dist/chunks/{file-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
  805. /package/dist/chunks/{file-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  806. /package/dist/chunks/{file-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  807. /package/dist/chunks/{file-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  808. /package/dist/chunks/{file-mutation-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  809. /package/dist/chunks/{file-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  810. /package/dist/chunks/{file-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  811. /package/dist/chunks/{file-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  812. /package/dist/chunks/{file-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  813. /package/dist/chunks/{file-mutation-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  814. /package/dist/chunks/{file-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
  815. /package/dist/chunks/{file-mutation-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  816. /package/dist/chunks/{file-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  817. /package/dist/chunks/{file-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
  818. /package/dist/chunks/{file-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  819. /package/dist/chunks/{file-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
  820. /package/dist/chunks/{file-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
  821. /package/dist/chunks/{file-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
  822. /package/dist/chunks/{file-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  823. /package/dist/chunks/{file-mutation-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  824. /package/dist/chunks/{file-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-mutation-y9f9p42a.js";
3
+ } from "./shell-0xebh2q0.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin29
12
+ Plugin: () => Plugin4
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai/effect";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin29 = define({
32
+ var Plugin4 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin29, exports_plan };
108
+ export { Plugin4, exports_plan };
@@ -1,138 +1,138 @@
1
1
  import {
2
2
  Metadata2,
3
- node45
4
- } from "./file-mutation-jpfg3bv3.js";
3
+ node67
4
+ } from "./shell-xms0g0j8.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./file-mutation-rkkrzzbq.js";
6
+ Service85,
7
+ node89
8
+ } from "./shell-dbw0hcg3.js";
9
9
  import {
10
- ID10,
11
- Service71,
12
- node75
13
- } from "./file-mutation-y369bsvk.js";
10
+ ID9,
11
+ Service59,
12
+ node61
13
+ } from "./shell-117why0g.js";
14
14
  import {
15
- ID15,
15
+ ID16,
16
16
  OAuth3
17
- } from "./file-mutation-xjxwv06c.js";
17
+ } from "./shell-cf7530z0.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service78,
24
- node82
25
- } from "./file-mutation-t07kmxgp.js";
23
+ Service79,
24
+ node83
25
+ } from "./shell-51czaex0.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./file-mutation-z5v4ffb3.js";
28
+ } from "./shell-z5v4ffb3.js";
29
29
  import {
30
30
  Info28,
31
31
  Ref5,
32
- Service81,
33
- node85
34
- } from "./file-mutation-3mth2z3s.js";
32
+ Service82,
33
+ node86
34
+ } from "./shell-1k9brye2.js";
35
35
  import {
36
36
  ID13,
37
- Service77,
38
- node81
39
- } from "./file-mutation-ch0v3cp9.js";
37
+ Service78,
38
+ node82
39
+ } from "./shell-cyav8ryr.js";
40
40
  import {
41
- Service62,
42
- node66
43
- } from "./file-mutation-2cywgpj2.js";
41
+ Service52,
42
+ node54
43
+ } from "./shell-q178967a.js";
44
44
  import {
45
- Service42,
46
- node44
47
- } from "./file-mutation-n7bhcchc.js";
45
+ Service51,
46
+ node53
47
+ } from "./shell-269nwj75.js";
48
48
  import {
49
- Service75,
50
- node79
51
- } from "./file-mutation-fvsxqh4k.js";
49
+ Service76,
50
+ node80
51
+ } from "./shell-bkcatkhe.js";
52
52
  import {
53
- Service65,
54
- node69
55
- } from "./file-mutation-9xzhsdnm.js";
53
+ Service77,
54
+ node81
55
+ } from "./shell-q9fk8jkx.js";
56
56
  import {
57
57
  ID12,
58
- Service76,
59
- node80
60
- } from "./file-mutation-57cc6ds0.js";
58
+ Service75,
59
+ node79
60
+ } from "./shell-vc4tfmhw.js";
61
61
  import {
62
- ID7
63
- } from "./file-mutation-hcs64hj8.js";
62
+ ID11
63
+ } from "./shell-cff7ambb.js";
64
64
  import {
65
- Service31,
66
- node34
67
- } from "./file-mutation-xav8p412.js";
65
+ Service32,
66
+ node35
67
+ } from "./shell-46q6xmy6.js";
68
68
  import {
69
69
  Key2,
70
- Service34,
71
- node37
72
- } from "./file-mutation-jft4dbeh.js";
70
+ Service27,
71
+ node31
72
+ } from "./shell-j4qx96r0.js";
73
73
  import {
74
- Service86,
75
- node90
76
- } from "./file-mutation-9bc1thgt.js";
74
+ Service70,
75
+ node73
76
+ } from "./shell-h0ppebc3.js";
77
77
  import {
78
- Service68,
79
- node72
80
- } from "./file-mutation-y9f9p42a.js";
78
+ Service56,
79
+ node58
80
+ } from "./shell-0xebh2q0.js";
81
81
  import {
82
- Service66,
83
- node70,
84
- Error5
85
- } from "./file-mutation-jb168mmq.js";
82
+ Service43,
83
+ node45,
84
+ Error3
85
+ } from "./shell-7e58bfad.js";
86
86
  import {
87
- Source3,
88
- Service35,
89
- node38
90
- } from "./file-mutation-xktxpnft.js";
87
+ Source5,
88
+ Service61,
89
+ node63
90
+ } from "./shell-fyanp2px.js";
91
91
  import {
92
- Info11,
93
- Service51,
94
- node54
95
- } from "./file-mutation-0qs8yesb.js";
92
+ Info8,
93
+ Service45,
94
+ node47
95
+ } from "./shell-kckw12eh.js";
96
96
  import {
97
97
  Service21,
98
98
  node24
99
- } from "./file-mutation-6fjxz4z4.js";
99
+ } from "./shell-mb5r60m7.js";
100
100
  import {
101
- Service59,
102
- node63
103
- } from "./file-mutation-n6wkrbw6.js";
101
+ Service55,
102
+ node57
103
+ } from "./shell-rgqe5ej8.js";
104
104
  import {
105
- Service64,
106
- node68,
105
+ Service60,
106
+ node62,
107
107
  eventDefinition2
108
- } from "./file-mutation-a72t788c.js";
109
- import {
110
- Service19,
111
- node22
112
- } from "./file-mutation-h8ktp5nz.js";
113
- import {
114
- ID5,
115
- Service49,
116
- node52
117
- } from "./file-mutation-mbv7k5zt.js";
108
+ } from "./shell-y1xa8t1k.js";
118
109
  import {
119
110
  Service53,
111
+ node55
112
+ } from "./shell-ysbx8q5e.js";
113
+ import {
114
+ ID6,
115
+ Service54,
120
116
  node56
121
- } from "./file-mutation-4cr9j35r.js";
117
+ } from "./shell-6tcavvge.js";
118
+ import {
119
+ Service50,
120
+ node52
121
+ } from "./shell-xq08wx7b.js";
122
122
  import {
123
123
  StrategyID2,
124
- Info12,
124
+ Info9,
125
125
  ListEntry3,
126
- Service52,
127
- node55
128
- } from "./file-mutation-y04qvqhx.js";
126
+ Service49,
127
+ node51
128
+ } from "./shell-vctgxjx6.js";
129
129
  import {
130
130
  Service20,
131
131
  node23
132
- } from "./file-mutation-pr24arth.js";
132
+ } from "./shell-em2zp6t2.js";
133
133
  import {
134
134
  __export
135
- } from "./file-mutation-9rqn6x4v.js";
135
+ } from "./shell-9rqn6x4v.js";
136
136
 
137
137
  // src/plugin/host.ts
138
138
  var exports_host = {};
@@ -152,32 +152,32 @@ var isRpcEvent = (event) => isRpcType(event.type);
152
152
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
153
153
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
154
154
  const app = yield* Metadata2;
155
- const agents = yield* Service71;
156
- const aisdk = yield* Service62;
157
- const providers = yield* Service77;
158
- const models = yield* Service76;
159
- const commands = yield* Service42;
160
- const bus = yield* Service84;
161
- const integration = yield* Service78;
162
- const kv = yield* Service75;
163
- const mcp = yield* Service31;
164
- const location = yield* Service81;
165
- const reference = yield* Service35;
166
- const rpc = yield* Service64;
167
- const skill = yield* Service51;
168
- const tools = yield* Service66;
169
- const vcs = yield* Service19;
170
- const websearch = yield* Service49;
155
+ const agents = yield* Service59;
156
+ const aisdk = yield* Service52;
157
+ const providers = yield* Service78;
158
+ const models = yield* Service75;
159
+ const commands = yield* Service51;
160
+ const bus = yield* Service85;
161
+ const integration = yield* Service79;
162
+ const kv = yield* Service76;
163
+ const mcp = yield* Service32;
164
+ const location = yield* Service82;
165
+ const reference = yield* Service61;
166
+ const rpc = yield* Service60;
167
+ const skill = yield* Service45;
168
+ const tools = yield* Service43;
169
+ const vcs = yield* Service53;
170
+ const websearch = yield* Service54;
171
171
  const generate = yield* Service20;
172
172
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
173
- const permission = yield* Service68;
174
- const hooks = yield* Service86;
173
+ const permission = yield* Service56;
174
+ const hooks = yield* Service70;
175
175
  const sessions = yield* Service21;
176
- const instructionEntries = yield* Service34;
177
- const persistentPty = yield* Service59;
178
- const locations = yield* Service65;
179
- const worktrees = yield* Service52;
180
- const worktreeStrategies = yield* Service53;
176
+ const instructionEntries = yield* Service27;
177
+ const persistentPty = yield* Service55;
178
+ const locations = yield* Service77;
179
+ const worktrees = yield* Service49;
180
+ const worktreeStrategies = yield* Service50;
181
181
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
182
182
  const locationInfo = () => new Info28({
183
183
  directory: location.directory,
@@ -186,15 +186,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
186
186
  });
187
187
  const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
188
188
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
189
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
189
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
190
190
  });
191
191
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
192
192
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
193
- const decodeWorktree = Schema.decodeUnknownEffect(Info12);
193
+ const decodeWorktree = Schema.decodeUnknownEffect(Info9);
194
194
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
195
195
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
196
- const location = yield* Service81;
197
- const agents = yield* Service71;
196
+ const location = yield* Service82;
197
+ const agents = yield* Service59;
198
198
  return {
199
199
  location: new Info28({
200
200
  directory: location.directory,
@@ -228,10 +228,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
228
228
  transform: (callback) => agents.transform((editor) => {
229
229
  callback({
230
230
  list: editor.list,
231
- get: (id) => editor.get(ID10.make(id)),
232
- default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
233
- update: (id, update) => editor.update(ID10.make(id), update),
234
- remove: (id) => editor.remove(ID10.make(id))
231
+ get: (id) => editor.get(ID9.make(id)),
232
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
233
+ update: (id, update) => editor.update(ID9.make(id), update),
234
+ remove: (id) => editor.remove(ID9.make(id))
235
235
  });
236
236
  })
237
237
  },
@@ -273,7 +273,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
273
273
  get: (id) => editor.get(ID13.make(id)),
274
274
  add: (definition) => editor.add({
275
275
  ...definition,
276
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
276
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
277
277
  }),
278
278
  update: (id, update) => editor.update(ID13.make(id), update),
279
279
  remove: (id) => editor.remove(ID13.make(id)),
@@ -405,10 +405,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
405
405
  reload: integration.reload,
406
406
  connection: {
407
407
  active: (id) => integration.connection.active(ID14.make(id)),
408
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
408
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection),
409
409
  status: (input) => integration.connection.status({
410
410
  integrationID: ID14.make(input.integrationID),
411
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
411
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID16.make(input.connection.id) } : input.connection,
412
412
  status: input.status
413
413
  })
414
414
  },
@@ -431,8 +431,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
431
431
  const ref = locationRef(input);
432
432
  if (ref && !isCurrentLocation(ref))
433
433
  return Effect.gen(function* () {
434
- const location = yield* Service81;
435
- const mcp = yield* Service31;
434
+ const location = yield* Service82;
435
+ const mcp = yield* Service32;
436
436
  return {
437
437
  location: new Info28({
438
438
  directory: location.directory,
@@ -461,9 +461,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
461
461
  get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
462
462
  reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
463
463
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
464
- "Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
465
- "Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
466
- "Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
464
+ "Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
465
+ "Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
466
+ "Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
467
467
  }))
468
468
  },
469
469
  plugin: {
@@ -474,7 +474,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
474
474
  reload: reference.reload,
475
475
  transform: (callback) => reference.transform((editor) => {
476
476
  callback({
477
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
477
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
478
478
  remove: editor.remove,
479
479
  list: editor.list,
480
480
  get: editor.get
@@ -488,7 +488,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  callback({
489
489
  list: () => mutable(editor.list()),
490
490
  get: editor.get,
491
- add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
491
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
492
492
  update: editor.update,
493
493
  remove: editor.remove
494
494
  });
@@ -519,19 +519,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
519
519
  providers: () => response(websearch.providers()),
520
520
  query: (input) => response(websearch.query({
521
521
  query: input.query,
522
- providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
522
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
523
523
  })),
524
524
  reload: websearch.reload,
525
525
  transform: (callback) => websearch.transform((editor) => {
526
526
  callback({
527
527
  add: (definition) => editor.add({
528
- id: ID5.make(definition.id),
528
+ id: ID6.make(definition.id),
529
529
  name: definition.name,
530
530
  execute: definition.execute
531
531
  }),
532
532
  default: {
533
533
  get: editor.default.get,
534
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
534
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
535
535
  }
536
536
  });
537
537
  })
@@ -610,32 +610,32 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
610
610
  return context;
611
611
  });
612
612
  var requirements3 = LayerNode.group([
613
- node45,
614
- node75,
615
- node66,
616
- node81,
617
- node80,
618
- node44,
619
- node88,
613
+ node67,
614
+ node61,
615
+ node54,
620
616
  node82,
621
617
  node79,
622
- node34,
623
- node85,
624
- node38,
625
- node68,
626
- node54,
627
- node70,
628
- node22,
629
- node52,
618
+ node53,
619
+ node89,
620
+ node83,
621
+ node80,
622
+ node35,
623
+ node86,
624
+ node63,
625
+ node62,
626
+ node47,
627
+ node45,
630
628
  node55,
631
629
  node56,
630
+ node51,
631
+ node52,
632
632
  node23,
633
- node72,
634
- node90,
633
+ node58,
634
+ node73,
635
635
  node24,
636
- node37,
637
- node63,
638
- node69
636
+ node31,
637
+ node57,
638
+ node81
639
639
  ]);
640
640
  function storage2(kv, pluginID) {
641
641
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-mutation-tczq8hjw.js";
3
+ } from "./shell-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./file-mutation-204s3925.js";
6
+ } from "./shell-204s3925.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service55,
18
+ Service: () => Service69,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node58
21
+ node: () => node72
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service55 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service69 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service55, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service55.of({
124
+ return Service69.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node58 = makeLocationNode({
143
- service: Service55,
142
+ var node72 = makeLocationNode({
143
+ service: Service69,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service55, node58, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service69, node72, exports_tool_output2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make19,
5
5
  diffByKey2
6
- } from "./file-mutation-gtn9c16a.js";
6
+ } from "./shell-qqpbcr2p.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2,
10
10
  available3,
11
- Service51,
12
- node54
13
- } from "./file-mutation-0qs8yesb.js";
11
+ Service45,
12
+ node47
13
+ } from "./shell-kckw12eh.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./shell-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service25,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node28
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service34,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node37
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID5,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,14 +64,14 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service25 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service34 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service25, Effect.gen(function* () {
70
- const skills = yield* Service51;
71
- return Service25.of({
69
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
70
+ const skills = yield* Service45;
71
+ return Service34.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
73
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make22({
74
+ return make19({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node28 = makeLocationNode({ service: Service25, layer, deps: [node54] });
87
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node47] });
88
88
 
89
- export { Service25, node28, exports_instructions2 };
89
+ export { Service34, node37, exports_instructions5 };