@opencode/core 0.0.0-dev-20250 → 0.0.0-dev-20256

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{tool-b8mzk2bb.js → aisdk-02y2a9xg.js} +2 -2
  8. package/dist/chunks/{tool-34er3540.js → aisdk-045msxws.js} +29 -29
  9. package/dist/chunks/{tool-zh4jp52e.js → aisdk-046kce9e.js} +22 -22
  10. package/dist/chunks/{tool-6hjx5zpb.js → aisdk-0996nyz8.js} +5 -5
  11. package/dist/chunks/{tool-v7z2bvyd.js → aisdk-0br3sbwn.js} +4 -4
  12. package/dist/chunks/{tool-482tjr68.js → aisdk-0byhtdew.js} +3 -3
  13. package/dist/chunks/{tool-sx3y5fj3.js → aisdk-0cv45488.js} +23 -23
  14. package/dist/chunks/{tool-yhrvzzm5.js → aisdk-0m4243s0.js} +9 -9
  15. package/dist/chunks/{tool-bfz40jc4.js → aisdk-0mvrhkyt.js} +25 -25
  16. package/dist/chunks/{tool-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{tool-4gy81ws5.js → aisdk-0pavs2p4.js} +23 -23
  18. package/dist/chunks/{tool-2r0dzprv.js → aisdk-0qze0aqz.js} +7 -7
  19. package/dist/chunks/{tool-sm965ndy.js → aisdk-0tzy42a9.js} +8 -8
  20. package/dist/chunks/{tool-rvnp213s.js → aisdk-0w33wecb.js} +13 -13
  21. package/dist/chunks/{tool-qt4m2w6j.js → aisdk-182dr9rt.js} +14 -14
  22. package/dist/chunks/{tool-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{tool-hrrvjwek.js → aisdk-1fmq3znq.js} +25 -25
  24. package/dist/chunks/{tool-67kma7bn.js → aisdk-1r5wma42.js} +10 -10
  25. package/dist/chunks/{tool-yde4rd9n.js → aisdk-1vmmb2v8.js} +47 -47
  26. package/dist/chunks/{tool-vgc515rw.js → aisdk-1w9ezc4a.js} +11 -11
  27. package/dist/chunks/{tool-1ygqh575.js → aisdk-1ygqh575.js} +2 -2
  28. package/dist/chunks/{tool-21r38tys.js → aisdk-21r38tys.js} +1 -1
  29. package/dist/chunks/{tool-k2pkt5dm.js → aisdk-270qpgxf.js} +5 -5
  30. package/dist/chunks/{tool-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{tool-fcv60zmd.js → aisdk-2dxzzdm9.js} +18 -18
  32. package/dist/chunks/{tool-c0pp0gx6.js → aisdk-2gzj9kj5.js} +9 -9
  33. package/dist/chunks/{tool-j59psk5p.js → aisdk-2nq500x2.js} +10 -10
  34. package/dist/chunks/{tool-nrfagrkx.js → aisdk-2qdztw1g.js} +3 -3
  35. package/dist/chunks/{tool-ymxbe15q.js → aisdk-349f6n3h.js} +9 -9
  36. package/dist/chunks/{tool-1rtbc53y.js → aisdk-394617td.js} +1 -1
  37. package/dist/chunks/{tool-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{tool-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{tool-j15mfg1p.js → aisdk-3k6sfp50.js} +6 -6
  40. package/dist/chunks/{tool-z6zc42bw.js → aisdk-3m4atzyv.js} +53 -53
  41. package/dist/chunks/{tool-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{tool-228xbxgc.js → aisdk-3sye6dmk.js} +13 -13
  43. package/dist/chunks/{tool-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{tool-jeknfs5c.js → aisdk-3w0fmcng.js} +5 -5
  45. package/dist/chunks/{tool-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{tool-7kn0n9pm.js → aisdk-499m5pkh.js} +5 -5
  47. package/dist/chunks/{tool-z35gvgt2.js → aisdk-49dt11pw.js} +26 -26
  48. package/dist/chunks/{tool-hq93snkq.js → aisdk-49svar8j.js} +26 -26
  49. package/dist/chunks/{tool-r3tsythc.js → aisdk-4her2v12.js} +11 -11
  50. package/dist/chunks/{tool-xb3vdrw4.js → aisdk-4j3f3fxy.js} +9 -9
  51. package/dist/chunks/{tool-f29mbr7f.js → aisdk-4j4tgtq5.js} +4 -4
  52. package/dist/chunks/{tool-mxw2n1pp.js → aisdk-4qabh746.js} +25 -25
  53. package/dist/chunks/{tool-f8rqg7d1.js → aisdk-4qwdvbmq.js} +3 -3
  54. package/dist/chunks/{tool-zfn0z4x2.js → aisdk-4wexvyjy.js} +13 -13
  55. package/dist/chunks/{tool-ymc24fzh.js → aisdk-4z54v0t9.js} +16 -16
  56. package/dist/chunks/{tool-0t6cxkbd.js → aisdk-52zk98qq.js} +32 -32
  57. package/dist/chunks/{tool-t0v30r21.js → aisdk-55g7bsvt.js} +32 -32
  58. package/dist/chunks/{tool-yw2sxgfv.js → aisdk-55g93apm.js} +6 -6
  59. package/dist/chunks/{tool-vkt5fbj2.js → aisdk-56m60q16.js} +8 -8
  60. package/dist/chunks/{tool-d9s573fh.js → aisdk-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{tool-xsdq6bqp.js → aisdk-57y3gjg2.js} +8 -8
  62. package/dist/chunks/{tool-dnn8jac4.js → aisdk-5a8h8ctf.js} +35 -35
  63. package/dist/chunks/{tool-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
  64. package/dist/chunks/{tool-tscedkbb.js → aisdk-5smv69nk.js} +22 -22
  65. package/dist/chunks/{tool-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{tool-h7yw06f0.js → aisdk-5v50a7xx.js} +4 -4
  67. package/dist/chunks/{tool-esdbr59h.js → aisdk-5wm7c1zs.js} +8 -8
  68. package/dist/chunks/{tool-2756h3zt.js → aisdk-63153s7y.js} +20 -20
  69. package/dist/chunks/{tool-5g3whhj5.js → aisdk-663rft7j.js} +11 -11
  70. package/dist/chunks/{tool-669tq793.js → aisdk-669tq793.js} +1 -1
  71. package/dist/chunks/{tool-4qn8cb3g.js → aisdk-676mk4pm.js} +37 -37
  72. package/dist/chunks/{tool-x9k16b3s.js → aisdk-68nwcgwh.js} +35 -35
  73. package/dist/chunks/{tool-mbsehe5v.js → aisdk-6bmgfwc8.js} +16 -16
  74. package/dist/chunks/{tool-gvf9bzs6.js → aisdk-6dpq57k2.js} +33 -33
  75. package/dist/chunks/{tool-t8fp8shj.js → aisdk-6fwq4dqz.js} +8 -8
  76. package/dist/chunks/{tool-qm0v3jhh.js → aisdk-6hh8tjw2.js} +7 -7
  77. package/dist/chunks/{tool-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{tool-8sze2n9a.js → aisdk-6pc27hjz.js} +2 -2
  79. package/dist/chunks/{tool-73tb2d7t.js → aisdk-73tb2d7t.js} +1 -1
  80. package/dist/chunks/{tool-st6ezctj.js → aisdk-76z31epj.js} +24 -24
  81. package/dist/chunks/{tool-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{tool-w9eep941.js → aisdk-7ccy6710.js} +12 -12
  83. package/dist/chunks/{tool-9x77fmbz.js → aisdk-7cdat2nm.js} +4 -4
  84. package/dist/chunks/{tool-6s622yr1.js → aisdk-7cjd7khd.js} +12 -12
  85. package/dist/chunks/{tool-0tdgw0ar.js → aisdk-7f83tr8w.js} +12 -12
  86. package/dist/chunks/{tool-f07bsgse.js → aisdk-7kcvsn3b.js} +18 -18
  87. package/dist/chunks/{tool-n26b57vp.js → aisdk-7nd1169e.js} +15 -15
  88. package/dist/chunks/{tool-b9skyj6x.js → aisdk-7v9mzd9j.js} +43 -43
  89. package/dist/chunks/{tool-crmtq7c0.js → aisdk-7yxfz471.js} +20 -20
  90. package/dist/chunks/{tool-ss7b6637.js → aisdk-800mfp3c.js} +14 -14
  91. package/dist/chunks/{tool-tcezcvh9.js → aisdk-89znhe33.js} +4 -4
  92. package/dist/chunks/{tool-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{tool-v9azycg2.js → aisdk-8fm8ppq3.js} +150 -150
  94. package/dist/chunks/{tool-sp6nzby6.js → aisdk-8fqgctrg.js} +17 -17
  95. package/dist/chunks/{tool-rrkxh1xc.js → aisdk-8qh6anns.js} +8 -8
  96. package/dist/chunks/{tool-y42b8cv2.js → aisdk-8s0e1fjd.js} +50 -50
  97. package/dist/chunks/{tool-3zf7ee43.js → aisdk-8svjx7h2.js} +3 -3
  98. package/dist/chunks/{tool-fz3j06zq.js → aisdk-8xgx7xvf.js} +10 -10
  99. package/dist/chunks/{tool-tf5z8ds5.js → aisdk-8xvfz31x.js} +89 -89
  100. package/dist/chunks/{tool-gfvb90ym.js → aisdk-94ek1h2f.js} +2 -2
  101. package/dist/chunks/{tool-jr28mrxh.js → aisdk-99mr7wdx.js} +24 -24
  102. package/dist/chunks/{tool-jdvtaw2e.js → aisdk-9fe766st.js} +20 -20
  103. package/dist/chunks/{tool-ff0svapt.js → aisdk-9kmbd9mt.js} +2 -2
  104. package/dist/chunks/{tool-s8r7tdep.js → aisdk-a3x8dc07.js} +17 -17
  105. package/dist/chunks/{tool-n8j3kf0h.js → aisdk-a8ze81rj.js} +6 -6
  106. package/dist/chunks/{tool-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  107. package/dist/chunks/aisdk-ad2cdf3a.js +252 -0
  108. package/dist/chunks/{tool-mbevs47a.js → aisdk-ae5xckma.js} +8 -8
  109. package/dist/chunks/{tool-44g9bvrf.js → aisdk-ajq3aykw.js} +21 -21
  110. package/dist/chunks/{tool-x0jb1jdp.js → aisdk-akhznfh4.js} +60 -60
  111. package/dist/chunks/{tool-nb8f0xyk.js → aisdk-as4rg0ma.js} +37 -37
  112. package/dist/chunks/{tool-7s6gk46a.js → aisdk-axa5krkd.js} +4 -4
  113. package/dist/chunks/{tool-zppcctbg.js → aisdk-az7dzcjk.js} +20 -20
  114. package/dist/chunks/{tool-d5e4twxw.js → aisdk-b4h37xk4.js} +13 -13
  115. package/dist/chunks/{tool-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{tool-339g4gdd.js → aisdk-bencpdpj.js} +28 -28
  117. package/dist/chunks/{tool-fy2gbg5p.js → aisdk-bfq87az1.js} +28 -28
  118. package/dist/chunks/{tool-g18xrwnx.js → aisdk-bk8zh60f.js} +15 -15
  119. package/dist/chunks/{tool-zab19jja.js → aisdk-bkxyw0dr.js} +9 -9
  120. package/dist/chunks/{tool-zq0me3ea.js → aisdk-bs9yp185.js} +8 -8
  121. package/dist/chunks/{tool-czkrkmgx.js → aisdk-btvey9wz.js} +19 -19
  122. package/dist/chunks/{tool-at1kfnmk.js → aisdk-c27esgm9.js} +8 -8
  123. package/dist/chunks/{tool-kvny42nn.js → aisdk-c61j08ve.js} +26 -26
  124. package/dist/chunks/{tool-8qmd1pgy.js → aisdk-ccrnt3wf.js} +32 -32
  125. package/dist/chunks/{tool-54tcyq79.js → aisdk-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{tool-9hn6k4tm.js → aisdk-cmwkp3r5.js} +8 -8
  127. package/dist/chunks/{tool-0rban3yw.js → aisdk-crdp3k4d.js} +13 -13
  128. package/dist/chunks/{tool-azhaj76f.js → aisdk-ctcghnt9.js} +8 -8
  129. package/dist/chunks/{tool-2sejkfem.js → aisdk-cwa6csj7.js} +9 -9
  130. package/dist/chunks/{tool-bdnxdzhr.js → aisdk-cyp1whvh.js} +20 -20
  131. package/dist/chunks/{tool-evbd4bna.js → aisdk-czdg5ncj.js} +4 -4
  132. package/dist/chunks/{tool-mx9vqzsb.js → aisdk-d1mtykxg.js} +6 -6
  133. package/dist/chunks/{tool-xh1mjdjn.js → aisdk-d9bxpwh9.js} +11 -11
  134. package/dist/chunks/{tool-38wrebp5.js → aisdk-daex0s89.js} +39 -39
  135. package/dist/chunks/{tool-bt1rrqjq.js → aisdk-db5a8hv2.js} +9 -9
  136. package/dist/chunks/{tool-kne8f3cn.js → aisdk-ddt2bs9e.js} +4 -4
  137. package/dist/chunks/{tool-2f56s268.js → aisdk-dfdarkbv.js} +26 -26
  138. package/dist/chunks/{tool-cf1mja65.js → aisdk-dgnk288q.js} +18 -18
  139. package/dist/chunks/{tool-qk7cxx71.js → aisdk-dm7jexpd.js} +1 -1
  140. package/dist/chunks/{tool-tgcnk5sw.js → aisdk-dq0v80fr.js} +5 -5
  141. package/dist/chunks/{tool-xfkkasph.js → aisdk-drwq78ky.js} +4 -4
  142. package/dist/chunks/{tool-nz49d44e.js → aisdk-dsynjm4b.js} +7 -7
  143. package/dist/chunks/{tool-qrvqqxe1.js → aisdk-e4vfrr4m.js} +6 -6
  144. package/dist/chunks/{tool-ph842b28.js → aisdk-eahhehpg.js} +4 -4
  145. package/dist/chunks/{tool-ecfe7b91.js → aisdk-ecfe7b91.js} +2 -2
  146. package/dist/chunks/{tool-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{tool-qgn6gcr1.js → aisdk-esafk7q3.js} +5 -5
  148. package/dist/chunks/{tool-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{tool-8grz10yw.js → aisdk-exx9rc7s.js} +15 -15
  150. package/dist/chunks/{tool-gzgv62vm.js → aisdk-f05xsng2.js} +22 -22
  151. package/dist/chunks/{tool-3m8mva6z.js → aisdk-f1mb3w2p.js} +20 -20
  152. package/dist/chunks/{tool-hvcfnpzs.js → aisdk-fc1g3vk8.js} +15 -15
  153. package/dist/chunks/{tool-5q9n4mzc.js → aisdk-fcd91b3z.js} +14 -14
  154. package/dist/chunks/{tool-5t1f4rw7.js → aisdk-fhnmn8wf.js} +48 -48
  155. package/dist/chunks/{tool-ab800qgh.js → aisdk-fy36m1d4.js} +29 -29
  156. package/dist/chunks/{tool-x0a0yekz.js → aisdk-g0a0731h.js} +31 -31
  157. package/dist/chunks/{tool-a8bn8zg0.js → aisdk-g190xswt.js} +4 -4
  158. package/dist/chunks/{tool-s61zg2sx.js → aisdk-g808avxm.js} +32 -32
  159. package/dist/chunks/{tool-rkg3eda0.js → aisdk-gcb0pgp4.js} +6 -6
  160. package/dist/chunks/{tool-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{tool-nap39a15.js → aisdk-gpk600j1.js} +11 -11
  162. package/dist/chunks/{tool-yyb7tjpc.js → aisdk-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{tool-h6r3nrb9.js → aisdk-h6r3nrb9.js} +1 -1
  164. package/dist/chunks/{tool-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{tool-rk1r2hx8.js → aisdk-hd8vw2pw.js} +1 -1
  166. package/dist/chunks/{tool-tw1518mg.js → aisdk-hksdfjn2.js} +32 -32
  167. package/dist/chunks/{tool-089t50vm.js → aisdk-hn0pq7g1.js} +23 -23
  168. package/dist/chunks/{tool-k7j7s7sa.js → aisdk-hr8by5jr.js} +4 -4
  169. package/dist/chunks/{tool-hmwat8vc.js → aisdk-hv5re2jg.js} +8 -8
  170. package/dist/chunks/{tool-24ajxhwn.js → aisdk-hvmyt62c.js} +16 -16
  171. package/dist/chunks/{tool-jtcj11mm.js → aisdk-hz3pjvd6.js} +6 -6
  172. package/dist/chunks/{tool-j45tg8np.js → aisdk-hz8vg8zp.js} +33 -33
  173. package/dist/chunks/{tool-m096yd83.js → aisdk-j4r9v230.js} +8 -8
  174. package/dist/chunks/{tool-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  175. package/dist/chunks/{tool-sx1n432n.js → aisdk-j83byb14.js} +4 -4
  176. package/dist/chunks/{tool-hm0ghfbf.js → aisdk-jbm4dns3.js} +17 -17
  177. package/dist/chunks/{tool-mdyteabe.js → aisdk-jqf6twm8.js} +11 -11
  178. package/dist/chunks/{tool-en84zv0j.js → aisdk-jskknkd1.js} +10 -10
  179. package/dist/chunks/{tool-nzks3jc8.js → aisdk-k3c624dm.js} +3 -3
  180. package/dist/chunks/{tool-wr45tetb.js → aisdk-kkzkpgbp.js} +15 -15
  181. package/dist/chunks/{tool-bgyet4nh.js → aisdk-kqat4kfa.js} +26 -26
  182. package/dist/chunks/{tool-mpyxb9wp.js → aisdk-kvcyjew8.js} +13 -13
  183. package/dist/chunks/{tool-na49kjq7.js → aisdk-m2td0v2g.js} +13 -13
  184. package/dist/chunks/{tool-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{tool-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{tool-5595mwca.js → aisdk-ma7v7n5g.js} +76 -76
  187. package/dist/chunks/{tool-6jz68697.js → aisdk-majyh6z0.js} +24 -24
  188. package/dist/chunks/{tool-6bsje7ws.js → aisdk-mf9m2v67.js} +3 -3
  189. package/dist/chunks/{tool-gxf934mz.js → aisdk-mfxxky5h.js} +14 -14
  190. package/dist/chunks/{tool-nz4rjcy7.js → aisdk-ms69wjh7.js} +1 -1
  191. package/dist/chunks/{tool-b0vhkd8y.js → aisdk-mvksx64m.js} +4 -4
  192. package/dist/chunks/{tool-wegenthg.js → aisdk-my9p806h.js} +10 -10
  193. package/dist/chunks/{tool-3kzfkvq2.js → aisdk-n33bf5vn.js} +11 -11
  194. package/dist/chunks/{tool-9wey92tn.js → aisdk-n3se9ktf.js} +20 -20
  195. package/dist/chunks/{tool-572k1pdw.js → aisdk-n8dq3ec0.js} +41 -41
  196. package/dist/chunks/{tool-tped05vh.js → aisdk-n9pha4qt.js} +10 -10
  197. package/dist/chunks/{tool-bf7nh1j5.js → aisdk-ncnrdk5t.js} +35 -35
  198. package/dist/chunks/{tool-s0k7kba5.js → aisdk-nfcr1yw4.js} +8 -8
  199. package/dist/chunks/aisdk-nmamyr0m.js +26 -0
  200. package/dist/chunks/{tool-snak5hvk.js → aisdk-ns0x2tka.js} +3 -3
  201. package/dist/chunks/{tool-2844q2j5.js → aisdk-p1751c20.js} +3 -3
  202. package/dist/chunks/{tool-z2zvggat.js → aisdk-p44d8wdy.js} +5 -5
  203. package/dist/chunks/{tool-qan9v5dp.js → aisdk-pak9h2dr.js} +12 -12
  204. package/dist/chunks/{tool-mc0emygj.js → aisdk-pjj09n0e.js} +23 -23
  205. package/dist/chunks/{tool-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{tool-pknna89w.js → aisdk-pknna89w.js} +1 -1
  207. package/dist/chunks/{tool-sx8pbsn3.js → aisdk-pna5398n.js} +1 -1
  208. package/dist/chunks/{tool-bz49ytrm.js → aisdk-ppv1xyee.js} +29 -29
  209. package/dist/chunks/{tool-d86bmrwq.js → aisdk-ptb645zh.js} +15 -15
  210. package/dist/chunks/{tool-mybpd4me.js → aisdk-pyyn0bp8.js} +8 -8
  211. package/dist/chunks/{tool-ya67rv83.js → aisdk-q4nr5ctg.js} +11 -11
  212. package/dist/chunks/{tool-95n4m8dv.js → aisdk-qd6w2snt.js} +40 -40
  213. package/dist/chunks/{tool-92dd2pjn.js → aisdk-qfap2v99.js} +13 -13
  214. package/dist/chunks/{tool-f7j90zp2.js → aisdk-qg0jgkcp.js} +9 -9
  215. package/dist/chunks/{tool-v6wpha0s.js → aisdk-qjkv87ee.js} +10 -10
  216. package/dist/chunks/{tool-7fzckgvn.js → aisdk-qnp9kb3g.js} +12 -12
  217. package/dist/chunks/{tool-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-mbwany8q.js → aisdk-r3s520w4.js} +8 -8
  219. package/dist/chunks/{tool-hk614gwz.js → aisdk-r6htjnjy.js} +42 -42
  220. package/dist/chunks/{tool-j2mr6y77.js → aisdk-r6r0fhk9.js} +13 -13
  221. package/dist/chunks/{tool-66ae9dn1.js → aisdk-r8p2vqew.js} +9 -9
  222. package/dist/chunks/{tool-3refetkt.js → aisdk-rb3azzxf.js} +3 -3
  223. package/dist/chunks/{tool-gf60dj4k.js → aisdk-rbrsya93.js} +39 -39
  224. package/dist/chunks/{tool-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{tool-s8d7rejh.js → aisdk-rhjbct0v.js} +4 -4
  226. package/dist/chunks/{tool-pj0sbgvb.js → aisdk-s3mttwrw.js} +14 -14
  227. package/dist/chunks/{tool-853r27ye.js → aisdk-szzp65n1.js} +22 -22
  228. package/dist/chunks/{tool-awfma6nb.js → aisdk-t6msp11s.js} +6 -6
  229. package/dist/chunks/{tool-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{tool-m64xvjj1.js → aisdk-tdpndm1c.js} +5 -5
  231. package/dist/chunks/{tool-tdstcens.js → aisdk-tdstcens.js} +1 -1
  232. package/dist/chunks/{tool-c2zqmqqh.js → aisdk-tnw8k1e5.js} +11 -11
  233. package/dist/chunks/{tool-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
  234. package/dist/chunks/{tool-4vxt5jt3.js → aisdk-tw4w1vk3.js} +23 -23
  235. package/dist/chunks/{tool-6ysrkrkr.js → aisdk-txc1zf78.js} +8 -8
  236. package/dist/chunks/{tool-dejqpjjg.js → aisdk-tydak3jd.js} +17 -17
  237. package/dist/chunks/{tool-zqvbpqdr.js → aisdk-v4s5p1py.js} +11 -11
  238. package/dist/chunks/{tool-z6x8kbkg.js → aisdk-v4vtjwr4.js} +11 -11
  239. package/dist/chunks/{tool-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  240. package/dist/chunks/aisdk-vnkjks7b.js +18 -0
  241. package/dist/chunks/{tool-s6667w8r.js → aisdk-vsnq8yew.js} +33 -33
  242. package/dist/chunks/{tool-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{tool-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{tool-84txncab.js → aisdk-w1eejvng.js} +5 -5
  245. package/dist/chunks/{tool-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{tool-bhnv13g4.js → aisdk-w7g7j2er.js} +1 -1
  247. package/dist/chunks/{tool-156zbn1d.js → aisdk-w9ah4h24.js} +9 -9
  248. package/dist/chunks/{tool-psazpmmj.js → aisdk-wd3x2cqz.js} +2 -2
  249. package/dist/chunks/{tool-wd87259q.js → aisdk-wd87259q.js} +1 -1
  250. package/dist/chunks/{tool-a12ny575.js → aisdk-we7wvggr.js} +37 -37
  251. package/dist/chunks/{tool-q87t05d4.js → aisdk-wgd50f01.js} +25 -25
  252. package/dist/chunks/{tool-c8hdf53d.js → aisdk-wjvtgdma.js} +26 -26
  253. package/dist/chunks/{tool-q7pmkv96.js → aisdk-wm58vmky.js} +22 -22
  254. package/dist/chunks/{tool-7ef2cf21.js → aisdk-x0sz19sa.js} +32 -32
  255. package/dist/chunks/{tool-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{tool-hbyhqfhs.js → aisdk-x2rw7g36.js} +5 -5
  257. package/dist/chunks/{tool-rpayzx76.js → aisdk-x88ttkg4.js} +11 -11
  258. package/dist/chunks/{tool-k514m870.js → aisdk-xaewbne5.js} +15 -15
  259. package/dist/chunks/{tool-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
  260. package/dist/chunks/{tool-pbbypdpt.js → aisdk-xpc0fge1.js} +3 -3
  261. package/dist/chunks/{tool-tw8msnma.js → aisdk-xpgqa4c9.js} +31 -31
  262. package/dist/chunks/{tool-cdd241tg.js → aisdk-xtk3nah1.js} +25 -25
  263. package/dist/chunks/{tool-xvp1j2dc.js → aisdk-xvp1j2dc.js} +2 -2
  264. package/dist/chunks/{tool-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{tool-y71avatq.js → aisdk-y71avatq.js} +1 -1
  266. package/dist/chunks/{tool-wnys78fq.js → aisdk-ybaxr0a6.js} +6 -6
  267. package/dist/chunks/{tool-0z09521w.js → aisdk-yfbzmvpx.js} +2 -2
  268. package/dist/chunks/{tool-hegd5844.js → aisdk-yfedktg3.js} +98 -98
  269. package/dist/chunks/{tool-8bqa7fc6.js → aisdk-yfj4tzgq.js} +8 -8
  270. package/dist/chunks/{tool-v5hpcsb0.js → aisdk-yjptyezs.js} +5 -5
  271. package/dist/chunks/{tool-yp2x3t23.js → aisdk-yp2x3t23.js} +1 -1
  272. package/dist/chunks/{tool-w0nekgnm.js → aisdk-yr1wc87s.js} +16 -16
  273. package/dist/chunks/{tool-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{tool-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
  275. package/dist/chunks/{tool-7q5pky5y.js → aisdk-ys8gg27d.js} +4 -4
  276. package/dist/chunks/{tool-8dc69bj5.js → aisdk-ytsgtawk.js} +318 -318
  277. package/dist/chunks/{tool-5r4dt47c.js → aisdk-yvam1hap.js} +10 -10
  278. package/dist/chunks/{tool-bjtzbw4r.js → aisdk-z07pqspn.js} +3 -3
  279. package/dist/chunks/{tool-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{tool-g4cac8ef.js → aisdk-z312547k.js} +28 -28
  281. package/dist/chunks/{tool-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
  282. package/dist/chunks/{tool-gyb99kyw.js → aisdk-z73vq4bz.js} +19 -19
  283. package/dist/chunks/{tool-ne3p3r7w.js → aisdk-zagye02c.js} +47 -47
  284. package/dist/chunks/{tool-rq775frq.js → aisdk-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{tool-t6f3tx9e.js → aisdk-zfbzdcys.js} +22 -22
  286. package/dist/chunks/{tool-2kw3wt25.js → aisdk-zgf4bnax.js} +10 -10
  287. package/dist/chunks/{tool-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{tool-8096wrwr.js → aisdk-zvyw4fnc.js} +32 -32
  289. package/dist/chunks/{tool-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{tool-c1741tf2.js → aisdk-zyn999ja.js} +3 -3
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +122 -122
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +121 -121
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +124 -124
  317. package/dist/config/plugin/tool-output.js +123 -123
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +80 -80
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +99 -99
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +82 -82
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +85 -85
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +108 -108
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +109 -109
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +99 -99
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +225 -225
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +84 -84
  562. package/dist/provider.js +95 -95
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +85 -85
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +224 -224
  582. package/dist/session/execution.js +126 -126
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +88 -88
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +77 -77
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +93 -93
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +1 -1
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +2 -2
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +85 -85
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +208 -208
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +223 -223
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +218 -218
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +138 -138
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +105 -105
  630. package/dist/skill.js +110 -110
  631. package/dist/snapshot.js +91 -91
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +127 -127
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +120 -120
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +213 -213
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +96 -96
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/tool-ht5y0zrb.js +0 -18
  697. package/dist/chunks/tool-kvsn2a38.js +0 -252
  698. package/dist/chunks/tool-nd24615b.js +0 -26
  699. /package/dist/chunks/{tool-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{tool-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{tool-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{tool-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{tool-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{tool-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{tool-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{tool-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{tool-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{tool-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{tool-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{tool-3asan66x.js → aisdk-3asan66x.js} +0 -0
  711. /package/dist/chunks/{tool-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{tool-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{tool-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{tool-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{tool-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{tool-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{tool-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{tool-53557ph1.js → aisdk-53557ph1.js} +0 -0
  719. /package/dist/chunks/{tool-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{tool-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{tool-6prwharc.js → aisdk-6prwharc.js} +0 -0
  722. /package/dist/chunks/{tool-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{tool-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{tool-822emrt2.js → aisdk-822emrt2.js} +0 -0
  725. /package/dist/chunks/{tool-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{tool-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{tool-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{tool-922hggd3.js → aisdk-922hggd3.js} +0 -0
  729. /package/dist/chunks/{tool-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{tool-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{tool-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{tool-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{tool-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{tool-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{tool-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{tool-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{tool-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{tool-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{tool-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{tool-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{tool-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{tool-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{tool-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{tool-df08tz66.js → aisdk-df08tz66.js} +0 -0
  745. /package/dist/chunks/{tool-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{tool-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{tool-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{tool-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{tool-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{tool-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{tool-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{tool-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{tool-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{tool-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{tool-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{tool-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{tool-g86h250q.js → aisdk-g86h250q.js} +0 -0
  758. /package/dist/chunks/{tool-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{tool-gftt206x.js → aisdk-gftt206x.js} +0 -0
  760. /package/dist/chunks/{tool-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{tool-hk9envan.js → aisdk-hk9envan.js} +0 -0
  762. /package/dist/chunks/{tool-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{tool-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{tool-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{tool-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{tool-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{tool-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{tool-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{tool-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{tool-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{tool-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{tool-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{tool-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{tool-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{tool-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{tool-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{tool-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{tool-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{tool-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{tool-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{tool-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{tool-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{tool-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{tool-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{tool-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{tool-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{tool-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{tool-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{tool-x61499pn.js → aisdk-x61499pn.js} +0 -0
  790. /package/dist/chunks/{tool-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{tool-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{tool-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{tool-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{tool-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{tool-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./tool-mdyteabe.js";
2
+ Service83,
3
+ node87
4
+ } from "./aisdk-jqf6twm8.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./tool-s8d7rejh.js";
10
+ } from "./aisdk-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./tool-bjtzbw4r.js";
13
+ } from "./aisdk-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./tool-9rqn6x4v.js";
16
+ } from "./aisdk-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service27,
25
+ Service: () => Service21,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node31,
29
+ node: () => node25,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service27 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service21 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service27, Effect.gen(function* () {
79
- const { db } = yield* Service84;
78
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
79
+ const { db } = yield* Service83;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service27.of({ list, put, remove, load });
111
+ return Service21.of({ list, put, remove, load });
112
112
  }));
113
- var node31 = makeLocationNode({ service: Service27, layer, deps: [node88] });
113
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [node87] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./tool-ymc24fzh.js";
2
+ Service79,
3
+ node83
4
+ } from "./aisdk-4z54v0t9.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./tool-tgcnk5sw.js";
8
+ } from "./aisdk-dq0v80fr.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./tool-pj0sbgvb.js";
10
+ Service77,
11
+ node81
12
+ } from "./aisdk-s3mttwrw.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./tool-ht5y0zrb.js";
15
+ } from "./aisdk-vnkjks7b.js";
16
16
  import {
17
- Service40,
18
- node43
19
- } from "./tool-853r27ye.js";
17
+ Service34,
18
+ node37
19
+ } from "./aisdk-szzp65n1.js";
20
20
  import {
21
- node22
22
- } from "./tool-9wey92tn.js";
21
+ node17
22
+ } from "./aisdk-n3se9ktf.js";
23
23
  import {
24
- Service11,
25
- node13
26
- } from "./tool-2sejkfem.js";
24
+ Service12,
25
+ node14
26
+ } from "./aisdk-cwa6csj7.js";
27
27
  import {
28
28
  __export
29
- } from "./tool-9rqn6x4v.js";
29
+ } from "./aisdk-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service8,
36
- node: () => node10
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service8 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service8, Effect.gen(function* () {
46
- const location = yield* Service80;
47
- const watcher = yield* Service40;
48
- const bus = yield* Service83;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service34;
48
+ const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service11;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service8.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node10 = makeLocationNode({
106
- service: Service8,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node43, FSUtil.node, node84, node86, node87, node22, node13]
108
+ deps: [node37, FSUtil.node, node81, node86, node83, node17, node14]
109
109
  });
110
110
 
111
- export { Service8, node10, exports_location_watcher };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./tool-2f56s268.js";
3
+ } from "./aisdk-dfdarkbv.js";
4
4
  import {
5
- Service58
6
- } from "./tool-s6667w8r.js";
5
+ Service68
6
+ } from "./aisdk-vsnq8yew.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./aisdk-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin15,
14
+ Plugin: () => Plugin13,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,10 +23,10 @@ var direct = new Set([
23
23
  "@opencode/ai/providers/azure/responses"
24
24
  ]);
25
25
  var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
26
- var Plugin15 = define({
26
+ var Plugin13 = define({
27
27
  id: "opencode.prompt.verbosity",
28
28
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
29
- const models = yield* Service58;
29
+ const models = yield* Service68;
30
30
  const hook = (event) => Effect.gen(function* () {
31
31
  if (event.options.textVerbosity !== undefined)
32
32
  return;
@@ -66,4 +66,4 @@ function openAIModelID(model) {
66
66
  return id.slice("openai/".length);
67
67
  }
68
68
 
69
- export { Plugin15, exports_verbosity };
69
+ export { Plugin13, exports_verbosity };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info8
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info13
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info8 = Schema.Struct({
12
+ var Info13 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info8 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info8, exports_command4 };
21
+ export { Info13, exports_command5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-922hggd3.js";
3
+ } from "./aisdk-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./tool-xfkkasph.js";
3
+ } from "./aisdk-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./tool-qaymkmh1.js";
3
+ } from "./aisdk-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./tool-ymc24fzh.js";
2
+ Service79,
3
+ node83
4
+ } from "./aisdk-4z54v0t9.js";
5
5
  import {
6
6
  create3
7
- } from "./tool-rdw6cm16.js";
7
+ } from "./aisdk-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event13,
18
+ ID: () => ID10,
19
+ Info: () => Info24,
20
20
  Name: () => Name3,
21
- Service: () => Service73,
21
+ Service: () => Service62,
22
22
  defaultID: () => defaultID2,
23
- node: () => node77
23
+ node: () => node65
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event16 } from "@opencode/schema/agent";
30
+ import { Event as Event13 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info24 = Agent.Info;
38
38
 
39
- class Service73 extends Context.Service()("@opencode/Agent") {
39
+ class Service62 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
42
- const bus = yield* Service83;
41
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
42
+ const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info24.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service73.of({
91
+ return Service62.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, Global.node] });
119
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [node83, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service73, node77, exports_agent4, Event16 };
121
+ export { ID10, Name3, defaultID2, Color2, Info24, Service62, node65, exports_agent4, Event13 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./tool-emrn6kk6.js";
5
+ } from "./aisdk-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./tool-st6ezctj.js";
5
+ } from "./aisdk-76z31epj.js";
6
6
  import {
7
7
  merge2
8
- } from "./tool-z6zc42bw.js";
8
+ } from "./aisdk-3m4atzyv.js";
9
9
  import {
10
10
  __export
11
- } from "./tool-9rqn6x4v.js";
11
+ } from "./aisdk-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin11
17
+ Plugin: () => Plugin18
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin11 = define({
93
+ var Plugin18 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin11 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID10.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID10.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin11 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID10.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID10.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID10.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin11 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin11, exports_agent };
151
+ export { Plugin18, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin26,
11
+ Plugin: () => Plugin19,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin26 = {
67
+ var Plugin19 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin26 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin26, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin19, exports_opencode };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./tool-gd4qta3r.js";
3
+ } from "./aisdk-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./tool-tvtrv512.js";
6
+ } from "./aisdk-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./tool-rdw6cm16.js";
9
+ } from "./aisdk-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./aisdk-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service52,
21
+ Service: () => Service84,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node55
23
+ node: () => node88
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service52 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service84 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(Service52, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service84, 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);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service52.of({
119
+ return Service84.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node55 = makeLocationNode({
137
- service: Service52,
136
+ var node88 = makeLocationNode({
137
+ service: Service84,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service52, node55, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service84, node88, exports_tool_output2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service39
3
- } from "./tool-yde4rd9n.js";
2
+ Service33
3
+ } from "./aisdk-1vmmb2v8.js";
4
4
  import {
5
- Service15
6
- } from "./tool-6ysrkrkr.js";
5
+ Service48
6
+ } from "./aisdk-txc1zf78.js";
7
7
  import {
8
8
  match2
9
- } from "./tool-y1fvbwt7.js";
9
+ } from "./aisdk-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./tool-qsdy395h.js";
12
+ } from "./aisdk-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./tool-9rqn6x4v.js";
15
+ } from "./aisdk-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin34
21
+ Plugin: () => Plugin36
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin34 = define({
25
+ var Plugin36 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service39;
29
- const managed = yield* Service15;
28
+ const config = yield* Service33;
29
+ const managed = yield* Service48;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin34 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin34, exports_policy };
60
+ export { Plugin36, exports_policy };