@opencode/core 0.0.0-dev-19483 → 0.0.0-dev-19484

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{websearch-rxtwa657.js → pty-0647zyye.js} +28 -28
  9. package/dist/chunks/{websearch-rv0djftn.js → pty-0953varj.js} +44 -44
  10. package/dist/chunks/{websearch-4y66k410.js → pty-0ajdgxne.js} +5 -5
  11. package/dist/chunks/{websearch-j028maxm.js → pty-0nrybmqd.js} +9 -9
  12. package/dist/chunks/{websearch-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{websearch-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{websearch-aqjsmqrn.js → pty-0ra4p3k2.js} +43 -43
  15. package/dist/chunks/{websearch-9aax44nh.js → pty-0td8n8vp.js} +18 -18
  16. package/dist/chunks/{websearch-53705tx4.js → pty-11qx6zpw.js} +38 -38
  17. package/dist/chunks/{websearch-qqvxqkma.js → pty-14ahvy0s.js} +23 -23
  18. package/dist/chunks/{websearch-yvwtzbz5.js → pty-18r19y7d.js} +11 -11
  19. package/dist/chunks/{websearch-7yh4e7ss.js → pty-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{websearch-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{websearch-106gw7zm.js → pty-1f2zrtgd.js} +32 -32
  22. package/dist/chunks/{websearch-m5g5cn1a.js → pty-1fh16wq8.js} +3 -3
  23. package/dist/chunks/{websearch-87v2xzqa.js → pty-1n1j5phf.js} +1 -1
  24. package/dist/chunks/{websearch-reqevd7p.js → pty-1qdmrsyh.js} +14 -14
  25. package/dist/chunks/pty-1r48vspq.js +247 -0
  26. package/dist/chunks/{websearch-q0nz172n.js → pty-1t6v7t1p.js} +15 -15
  27. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  28. package/dist/chunks/pty-1x11rq2a.js +18 -0
  29. package/dist/chunks/{websearch-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  30. package/dist/chunks/{websearch-21r38tys.js → pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{websearch-2402vzrj.js → pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{websearch-w04kpkjq.js → pty-2a010xm9.js} +4 -4
  33. package/dist/chunks/{websearch-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{websearch-saf13jzc.js → pty-2akhs850.js} +17 -17
  35. package/dist/chunks/{websearch-7jv6pypr.js → pty-2bek0fz1.js} +12 -12
  36. package/dist/chunks/{websearch-rrshzaw6.js → pty-2drds6a2.js} +5 -5
  37. package/dist/chunks/{websearch-n89z7bxk.js → pty-2kbb5zhh.js} +22 -22
  38. package/dist/chunks/{websearch-y8n5tbft.js → pty-2kze3sed.js} +11 -11
  39. package/dist/chunks/{websearch-wjaxxs0m.js → pty-2ta0t88y.js} +18 -18
  40. package/dist/chunks/{websearch-g9ahqbpr.js → pty-32wbc79b.js} +11 -11
  41. package/dist/chunks/{websearch-4ve9z8c1.js → pty-3az9pvaz.js} +16 -16
  42. package/dist/chunks/{websearch-k16ay38w.js → pty-3dqftnvs.js} +1 -1
  43. package/dist/chunks/{websearch-xrye2hw7.js → pty-3dzkcghm.js} +29 -29
  44. package/dist/chunks/{websearch-htyym6ck.js → pty-3esrdmkk.js} +34 -42
  45. package/dist/chunks/{websearch-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{websearch-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{websearch-jfzav2gc.js → pty-3nvk9ben.js} +4 -4
  48. package/dist/chunks/{websearch-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{websearch-550p2257.js → pty-3tn94wys.js} +33 -33
  50. package/dist/chunks/{websearch-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{websearch-18e56dsp.js → pty-3ythc6yv.js} +4 -4
  52. package/dist/chunks/{websearch-fncgf4tb.js → pty-411gfsap.js} +14 -14
  53. package/dist/chunks/{websearch-qsxf26yz.js → pty-4541pte3.js} +4 -4
  54. package/dist/chunks/{websearch-f8q7mv7a.js → pty-45796egf.js} +1 -1
  55. package/dist/chunks/{websearch-jwe4x1j4.js → pty-45rd5fs9.js} +32 -32
  56. package/dist/chunks/{websearch-jhsettgg.js → pty-45vpyk18.js} +52 -52
  57. package/dist/chunks/{websearch-zz5hkvbq.js → pty-4tty76jr.js} +21 -21
  58. package/dist/chunks/{websearch-p369s7er.js → pty-4w0n3ep9.js} +28 -28
  59. package/dist/chunks/{websearch-yncfs3hz.js → pty-4wn8n9sn.js} +9 -9
  60. package/dist/chunks/{websearch-06dxphr1.js → pty-5c0f1prt.js} +4 -4
  61. package/dist/chunks/{websearch-5daktx2q.js → pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{websearch-m3gqme58.js → pty-5ftnf5hj.js} +20 -20
  63. package/dist/chunks/{websearch-z76px7dr.js → pty-5n7nm18q.js} +30 -30
  64. package/dist/chunks/{websearch-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{websearch-84xsc2j4.js → pty-63sp6hdr.js} +16 -16
  66. package/dist/chunks/{websearch-3zd3rmvv.js → pty-6532tvj7.js} +15 -15
  67. package/dist/chunks/{websearch-669tq793.js → pty-669tq793.js} +1 -1
  68. package/dist/chunks/{websearch-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{websearch-5z2m8pyj.js → pty-6wfk2szc.js} +31 -31
  70. package/dist/chunks/{websearch-py3b413y.js → pty-6z42be60.js} +6 -6
  71. package/dist/chunks/{websearch-71q4at8m.js → pty-71q4at8m.js} +1 -1
  72. package/dist/chunks/{websearch-kqd2wwpf.js → pty-77nagcj1.js} +4 -4
  73. package/dist/chunks/{websearch-8jvzjvtx.js → pty-7ae90jyv.js} +2 -2
  74. package/dist/chunks/{websearch-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{websearch-4xxmr89x.js → pty-7ey0dyp0.js} +28 -28
  76. package/dist/chunks/{websearch-a1anr5m0.js → pty-7w5wmfhw.js} +12 -12
  77. package/dist/chunks/{websearch-9s2tak1g.js → pty-7y947she.js} +26 -26
  78. package/dist/chunks/{websearch-adm0hv5w.js → pty-7yp3q20c.js} +39 -39
  79. package/dist/chunks/{websearch-desf89vc.js → pty-81swgkk7.js} +7 -7
  80. package/dist/chunks/{websearch-n5a16gh2.js → pty-86rj60hj.js} +15 -15
  81. package/dist/chunks/{websearch-vvxf2beg.js → pty-88k2vggc.js} +11 -11
  82. package/dist/chunks/{websearch-89znhe33.js → pty-89znhe33.js} +1 -1
  83. package/dist/chunks/{websearch-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{websearch-tfngb0ww.js → pty-8kyaadyc.js} +4 -4
  85. package/dist/chunks/{websearch-hvhqgby5.js → pty-8nf61fqw.js} +10 -10
  86. package/dist/chunks/{websearch-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{websearch-9536ja0w.js → pty-8rqsbye2.js} +27 -27
  88. package/dist/chunks/{websearch-qm5hq1wk.js → pty-8yrxd28w.js} +9 -9
  89. package/dist/chunks/{websearch-ggfxehqz.js → pty-9b90cabz.js} +11 -11
  90. package/dist/chunks/{websearch-sw4zbbw7.js → pty-9e0z2fhc.js} +9 -9
  91. package/dist/chunks/{websearch-jefma2gq.js → pty-9edcvf27.js} +10 -10
  92. package/dist/chunks/{websearch-bvbz56nf.js → pty-9fgn877f.js} +11 -11
  93. package/dist/chunks/{websearch-m2n4ambj.js → pty-9fhqnxhc.js} +21 -49
  94. package/dist/chunks/{websearch-wvg2fke4.js → pty-9v9vhtqj.js} +90 -90
  95. package/dist/chunks/{websearch-2m8k3bqq.js → pty-9vwx9k7w.js} +23 -23
  96. package/dist/chunks/{websearch-pecb0brz.js → pty-a1a50ys5.js} +5 -5
  97. package/dist/chunks/{websearch-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{websearch-nng2ktcm.js → pty-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{websearch-p1wf2k30.js → pty-a5gt7g2r.js} +9 -9
  100. package/dist/chunks/{websearch-fy3n071p.js → pty-a6xvd2sc.js} +19 -19
  101. package/dist/chunks/{websearch-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{websearch-2ehqxkpw.js → pty-aep6w25k.js} +12 -12
  103. package/dist/chunks/{websearch-szwnxe8b.js → pty-apnw61nd.js} +6 -6
  104. package/dist/chunks/{websearch-2ts122me.js → pty-arf9772r.js} +13 -13
  105. package/dist/chunks/pty-axgp0vgr.js +22 -0
  106. package/dist/chunks/{websearch-gebtr55s.js → pty-b0grxa7w.js} +5 -5
  107. package/dist/chunks/{websearch-d50f2zf5.js → pty-b3t12aqp.js} +1 -1
  108. package/dist/chunks/{websearch-553wj9b8.js → pty-b5ybn7cd.js} +16 -16
  109. package/dist/chunks/{websearch-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{websearch-qcmf15bf.js → pty-bahtkn95.js} +17 -17
  111. package/dist/chunks/{websearch-bct739vz.js → pty-bct739vz.js} +1 -1
  112. package/dist/chunks/{websearch-4wcq7dqs.js → pty-bgcsb0ew.js} +17 -17
  113. package/dist/chunks/{websearch-mk8vf581.js → pty-bpzbj5p0.js} +9 -9
  114. package/dist/chunks/{websearch-41ken85s.js → pty-brbfzzmd.js} +15 -15
  115. package/dist/chunks/{websearch-2fcywxny.js → pty-btvz5hhj.js} +11 -11
  116. package/dist/chunks/{websearch-mdb85k7s.js → pty-byprkm3h.js} +49 -49
  117. package/dist/chunks/{websearch-0e8daqst.js → pty-c0g3mrmp.js} +4 -4
  118. package/dist/chunks/{websearch-n76fdqym.js → pty-c20cpmqm.js} +5 -30
  119. package/dist/chunks/{websearch-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{websearch-e7dhzmy6.js → pty-cmceympy.js} +9 -9
  121. package/dist/chunks/{websearch-7b15y959.js → pty-cmwkp3r5.js} +8 -8
  122. package/dist/chunks/{websearch-9encvwzm.js → pty-cs7ja426.js} +72 -72
  123. package/dist/chunks/{websearch-qy2frasb.js → pty-cyxdd1cp.js} +62 -62
  124. package/dist/chunks/{websearch-6azrrpy8.js → pty-d4p8tyg8.js} +8 -8
  125. package/dist/chunks/{websearch-j4yy9w4e.js → pty-d55k3a02.js} +27 -27
  126. package/dist/chunks/{websearch-qbdb5rpj.js → pty-d801t9mc.js} +23 -23
  127. package/dist/chunks/{websearch-pe3tsevc.js → pty-d8qmdhbf.js} +6 -6
  128. package/dist/chunks/{websearch-0vnyxh58.js → pty-dedzq1ka.js} +43 -43
  129. package/dist/chunks/{websearch-y71avatq.js → pty-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{websearch-7cedjrs4.js → pty-drknmmyh.js} +9 -9
  131. package/dist/chunks/{websearch-zex37ywk.js → pty-dy8qh9xy.js} +8 -8
  132. package/dist/chunks/{websearch-pesskt16.js → pty-ea3fqg3s.js} +15 -15
  133. package/dist/chunks/{websearch-9mkyvs4w.js → pty-ecrv93z9.js} +6 -6
  134. package/dist/chunks/{websearch-4wrhrxm7.js → pty-em649qsx.js} +13 -13
  135. package/dist/chunks/{websearch-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{websearch-zyyr8j6k.js → pty-etyswav2.js} +13 -13
  137. package/dist/chunks/{websearch-dj9sq318.js → pty-evbgk2k8.js} +5 -5
  138. package/dist/chunks/{websearch-5n168jes.js → pty-eymhvwwk.js} +15 -15
  139. package/dist/chunks/{websearch-f828m53h.js → pty-f828m53h.js} +2 -2
  140. package/dist/chunks/{websearch-1qqjkbbm.js → pty-faw67snb.js} +47 -47
  141. package/dist/chunks/{websearch-qs8fd5yv.js → pty-fhmdnm6f.js} +38 -38
  142. package/dist/chunks/{websearch-2bt6bea8.js → pty-fhs97t90.js} +9 -9
  143. package/dist/chunks/{websearch-f58e595r.js → pty-fjnewxg5.js} +24 -24
  144. package/dist/chunks/{websearch-jrbyd3we.js → pty-fn71bqeg.js} +17 -17
  145. package/dist/chunks/{websearch-meahntpx.js → pty-fnvmrkhd.js} +5 -5
  146. package/dist/chunks/{websearch-qa3qhgw8.js → pty-fqb2p7cx.js} +4 -4
  147. package/dist/chunks/{websearch-n35w23dd.js → pty-fv7vkzc0.js} +32 -32
  148. package/dist/chunks/{websearch-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{websearch-2e96adxv.js → pty-g2twwaw3.js} +6 -6
  150. package/dist/chunks/{websearch-hq22f3sc.js → pty-g3xj57nv.js} +25 -25
  151. package/dist/chunks/{websearch-jtbqkmrk.js → pty-g646es06.js} +12 -12
  152. package/dist/chunks/{websearch-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{websearch-38btsem5.js → pty-gdmgw3kk.js} +13 -13
  154. package/dist/chunks/{websearch-naqparvc.js → pty-ge2ncj9q.js} +17 -17
  155. package/dist/chunks/{websearch-sj7r2nre.js → pty-geymd4gz.js} +18 -18
  156. package/dist/chunks/{websearch-th5km1p3.js → pty-gv6a8nnw.js} +5 -5
  157. package/dist/chunks/{websearch-5drs3kxz.js → pty-gw1k03mf.js} +15 -15
  158. package/dist/chunks/{websearch-k308y3cd.js → pty-gzcsr6sv.js} +29 -29
  159. package/dist/chunks/{websearch-r6802cbt.js → pty-gzq6qehx.js} +24 -24
  160. package/dist/chunks/{websearch-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{websearch-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{websearch-vxpws250.js → pty-h7m0p69y.js} +10 -10
  163. package/dist/chunks/{websearch-8vgxngcq.js → pty-h7p7r1dx.js} +27 -27
  164. package/dist/chunks/{websearch-mgx963cj.js → pty-hd29wc17.js} +8 -8
  165. package/dist/chunks/{websearch-7s1ycvxr.js → pty-hde40vmr.js} +45 -45
  166. package/dist/chunks/{websearch-cq37gk0t.js → pty-hfdr1yjj.js} +4 -4
  167. package/dist/chunks/{websearch-t0tjpkgm.js → pty-hgrjhmfr.js} +8 -8
  168. package/dist/chunks/{websearch-ntgpnhzh.js → pty-ht1qtvc3.js} +7 -7
  169. package/dist/chunks/{websearch-057kyg8r.js → pty-j1jpgbqt.js} +4 -4
  170. package/dist/chunks/{websearch-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{websearch-a4q6373d.js → pty-j6frpzgk.js} +22 -22
  172. package/dist/chunks/{websearch-c22yrd1g.js → pty-j71f32vt.js} +9 -9
  173. package/dist/chunks/{websearch-7w99qc9d.js → pty-jexxy024.js} +3 -3
  174. package/dist/chunks/{websearch-fypyt9ax.js → pty-jfaxz2yb.js} +30 -30
  175. package/dist/chunks/{websearch-01z5yxwd.js → pty-jg24vk6e.js} +5 -5
  176. package/dist/chunks/{websearch-mvj7zzrq.js → pty-jmn8yr3h.js} +26 -26
  177. package/dist/chunks/{websearch-yfvrypcb.js → pty-jnyfd4gm.js} +7 -7
  178. package/dist/chunks/{websearch-4ejw2jqq.js → pty-jp3k4seg.js} +13 -13
  179. package/dist/chunks/{websearch-z3a9s106.js → pty-jqy04vj9.js} +20 -20
  180. package/dist/chunks/{websearch-avqvzm75.js → pty-jtanr3ta.js} +169 -169
  181. package/dist/chunks/{websearch-0h54jqbs.js → pty-k4wwmme7.js} +8 -8
  182. package/dist/chunks/{websearch-kg06axw8.js → pty-kg06axw8.js} +1 -1
  183. package/dist/chunks/{websearch-9w319rvq.js → pty-kmy1ax01.js} +10 -10
  184. package/dist/chunks/{websearch-qfxgvynf.js → pty-m01vtssh.js} +5 -5
  185. package/dist/chunks/{websearch-6ba91h8c.js → pty-m77xbvte.js} +84 -84
  186. package/dist/chunks/{websearch-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{websearch-25ajstgf.js → pty-md2xj9nf.js} +29 -29
  188. package/dist/chunks/{websearch-dq4j0srv.js → pty-mehhkwtb.js} +6 -6
  189. package/dist/chunks/{websearch-fygdb7h7.js → pty-mgtytz9t.js} +3 -3
  190. package/dist/chunks/{websearch-magykp64.js → pty-mjymc32g.js} +4 -4
  191. package/dist/chunks/{websearch-wpm2rk0p.js → pty-mnbh32fx.js} +6 -6
  192. package/dist/chunks/{websearch-vcpxd4bv.js → pty-my653yp5.js} +25 -25
  193. package/dist/chunks/{websearch-kpvyk30t.js → pty-n37c4crj.js} +9 -9
  194. package/dist/chunks/{websearch-86eyv63b.js → pty-n4m74tcd.js} +13 -13
  195. package/dist/chunks/{websearch-x3jmp06z.js → pty-ndm8q3nx.js} +23 -23
  196. package/dist/chunks/{websearch-gq38ebmh.js → pty-newyp0rw.js} +6 -6
  197. package/dist/chunks/{websearch-gbks0crs.js → pty-nkscrdhp.js} +5 -5
  198. package/dist/chunks/{websearch-8mwczstk.js → pty-nnvetb0x.js} +11 -11
  199. package/dist/chunks/{websearch-hd569af0.js → pty-ns15zm60.js} +6 -6
  200. package/dist/chunks/{websearch-e8zvhgb7.js → pty-nt6p7phb.js} +37 -37
  201. package/dist/chunks/{websearch-z7ygv8dn.js → pty-nw3t2cyt.js} +18 -18
  202. package/dist/chunks/{websearch-frf89m5p.js → pty-p5d32tz9.js} +22 -22
  203. package/dist/chunks/{websearch-az8wpmk5.js → pty-pd1qwn8m.js} +22 -22
  204. package/dist/chunks/{websearch-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{websearch-pknna89w.js → pty-pknna89w.js} +1 -1
  206. package/dist/chunks/{websearch-6w60nb5g.js → pty-pmvrcxp3.js} +291 -291
  207. package/dist/chunks/{websearch-ca7w653e.js → pty-q5asdkn4.js} +4 -4
  208. package/dist/chunks/{websearch-0jwsre1p.js → pty-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{websearch-gg7pg1rj.js → pty-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{websearch-qsdy395h.js → pty-qsdy395h.js} +1 -1
  211. package/dist/chunks/{websearch-99580sk5.js → pty-qygybdk4.js} +11 -11
  212. package/dist/chunks/{websearch-sk718qf1.js → pty-qyxb3rgr.js} +37 -37
  213. package/dist/chunks/{websearch-r2kye7qh.js → pty-qzgv9fd5.js} +17 -17
  214. package/dist/chunks/{websearch-m27pyyd3.js → pty-r2qzv5a7.js} +6 -6
  215. package/dist/chunks/{websearch-qce9we07.js → pty-r4x5wh38.js} +15 -15
  216. package/dist/chunks/{websearch-abtdxr9t.js → pty-r88ayxsh.js} +5 -5
  217. package/dist/chunks/{websearch-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{websearch-dc1rab6v.js → pty-r9abkved.js} +20 -20
  219. package/dist/chunks/{websearch-r9mregkx.js → pty-r9mregkx.js} +2 -2
  220. package/dist/chunks/{websearch-z69s9t6b.js → pty-ras7gexc.js} +5 -5
  221. package/dist/chunks/{websearch-trnt4t8c.js → pty-rgr9kwfb.js} +7 -7
  222. package/dist/chunks/{websearch-kxpygcw9.js → pty-rph3zd4r.js} +4 -4
  223. package/dist/chunks/{websearch-j9y9fcvd.js → pty-rx9j2q4y.js} +9 -9
  224. package/dist/chunks/{websearch-t7z3zppm.js → pty-rzxn8jq1.js} +2 -2
  225. package/dist/chunks/{websearch-fgh0kbhd.js → pty-s1a57xgp.js} +1 -1
  226. package/dist/chunks/{websearch-tcp3renx.js → pty-s1k0znnr.js} +35 -35
  227. package/dist/chunks/{websearch-rhjbct0v.js → pty-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{websearch-wnwaph4q.js → pty-s9zga7k6.js} +20 -20
  229. package/dist/chunks/{websearch-836wjbr2.js → pty-sj6g8xhe.js} +15 -15
  230. package/dist/chunks/{websearch-0ewyyc7b.js → pty-st8jmgs2.js} +38 -38
  231. package/dist/chunks/{websearch-rh8145c8.js → pty-sxw0ed71.js} +23 -23
  232. package/dist/chunks/{websearch-r9babyk8.js → pty-t3w9f47z.js} +1 -1
  233. package/dist/chunks/{websearch-1awm1f41.js → pty-t6jsq5az.js} +12 -12
  234. package/dist/chunks/{websearch-f43ddyem.js → pty-t99v83jx.js} +8 -8
  235. package/dist/chunks/{websearch-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{websearch-ek5dpqxb.js → pty-tbesmne2.js} +14 -14
  237. package/dist/chunks/{websearch-ep6z9mt6.js → pty-tdhe5xga.js} +8 -8
  238. package/dist/chunks/{websearch-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{websearch-pgm1fsvb.js → pty-th49mj5v.js} +17 -17
  240. package/dist/chunks/{websearch-wj0j7rwq.js → pty-tph7kmz7.js} +4 -4
  241. package/dist/chunks/{websearch-q0dvjevw.js → pty-tv8e1ghk.js} +24 -24
  242. package/dist/chunks/{websearch-tvtrv512.js → pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{websearch-9q922tde.js → pty-txmfp3zj.js} +28 -28
  244. package/dist/chunks/{websearch-kek212n2.js → pty-tya93gxg.js} +18 -18
  245. package/dist/chunks/{websearch-s3c5a9z9.js → pty-tz7qhazt.js} +17 -17
  246. package/dist/chunks/{websearch-9c6xrpvf.js → pty-v62dx6xs.js} +4 -4
  247. package/dist/chunks/{websearch-96yt6zt0.js → pty-v71xcev7.js} +1 -1
  248. package/dist/chunks/{websearch-h6xcakft.js → pty-vbzxk3ff.js} +11 -11
  249. package/dist/chunks/{websearch-43k15f45.js → pty-vednfjt6.js} +4 -4
  250. package/dist/chunks/{websearch-veqvce7d.js → pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{websearch-36qa6tx5.js → pty-vkgkjc09.js} +31 -31
  252. package/dist/chunks/{websearch-1p30vngg.js → pty-vkkm3dp3.js} +20 -20
  253. package/dist/chunks/{websearch-n40qqmec.js → pty-vm26s0dq.js} +24 -24
  254. package/dist/chunks/{websearch-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{websearch-ez2hf904.js → pty-w0vnt3w8.js} +9 -9
  256. package/dist/chunks/{websearch-adb54h9z.js → pty-w3vr4dnx.js} +47 -47
  257. package/dist/chunks/{websearch-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{websearch-pgmmxc65.js → pty-wb96fp8p.js} +20 -20
  259. package/dist/chunks/{websearch-wd87259q.js → pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{websearch-m56995h7.js → pty-wfdn8615.js} +21 -21
  261. package/dist/chunks/{websearch-x77tg81k.js → pty-wjsewdbp.js} +9 -9
  262. package/dist/chunks/{websearch-fcywhjc2.js → pty-wsd4t4dw.js} +11 -11
  263. package/dist/chunks/{websearch-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{websearch-nhy5jxhy.js → pty-x4wsccvh.js} +4 -4
  265. package/dist/chunks/{websearch-1drfwyv5.js → pty-x7ns4d9a.js} +46 -46
  266. package/dist/chunks/{websearch-1zh4pghf.js → pty-x8efcx2v.js} +35 -35
  267. package/dist/chunks/{websearch-at2bvhe9.js → pty-xfqxjp11.js} +28 -28
  268. package/dist/chunks/{websearch-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{websearch-k5tg8ptt.js → pty-y28xdhk3.js} +8 -8
  270. package/dist/chunks/{websearch-5h6cs5y5.js → pty-y9ech7jt.js} +23 -23
  271. package/dist/chunks/{websearch-tbt4776d.js → pty-yfs8r58s.js} +18 -18
  272. package/dist/chunks/{websearch-f13dxr77.js → pty-yj3bp0fe.js} +26 -26
  273. package/dist/chunks/{websearch-whcyep9v.js → pty-yjy4g1rw.js} +22 -22
  274. package/dist/chunks/{websearch-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{websearch-yrznvahk.js → pty-yrznvahk.js} +2 -2
  276. package/dist/chunks/{websearch-mk1f96az.js → pty-yt9d908j.js} +14 -14
  277. package/dist/chunks/{websearch-typd6ee7.js → pty-yttnsetk.js} +11 -11
  278. package/dist/chunks/{websearch-g2bhzb9e.js → pty-yvykdhx6.js} +21 -21
  279. package/dist/chunks/{websearch-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{websearch-czg833eg.js → pty-z599ng88.js} +6 -6
  281. package/dist/chunks/{websearch-z63w68vq.js → pty-z63w68vq.js} +2 -2
  282. package/dist/chunks/{websearch-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{websearch-k4w51n94.js → pty-zftpq6gn.js} +16 -16
  284. package/dist/chunks/{websearch-j6tz9wj2.js → pty-zr1b15nt.js} +7 -7
  285. package/dist/chunks/{websearch-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{websearch-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +80 -80
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +116 -116
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +78 -78
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +99 -99
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +94 -94
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -354
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +81 -81
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -351
  465. package/dist/location.js +85 -85
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +100 -100
  468. package/dist/mcp/instructions.js +119 -119
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +85 -85
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +79 -79
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +105 -105
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -325
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +6 -6
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +81 -81
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -159
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -344
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +225 -225
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +85 -85
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +92 -92
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +217 -217
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +76 -76
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +208 -208
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +104 -104
  622. package/dist/snapshot.js +85 -85
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +122 -122
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +116 -116
  633. package/dist/tool/plugin/question.js +101 -101
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +108 -108
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +11 -11
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +14 -14
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +1 -1
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/websearch-0mesazry.js +0 -4
  685. package/dist/chunks/websearch-ajhpbj2b.js +0 -247
  686. package/dist/chunks/websearch-dw9248gk.js +0 -22
  687. package/dist/chunks/websearch-dxj72tfx.js +0 -18
  688. package/dist/chunks/websearch-ksz0h0wp.js +0 -35
  689. package/dist/chunks/websearch-mkcjrzeh.js +0 -15
  690. package/dist/plugin/provider/anthropic.js +0 -7
  691. package/dist/plugin/provider/mistral.js +0 -7
  692. package/dist/types/plugin/provider/anthropic.d.ts +0 -1
  693. package/dist/types/plugin/provider/mistral.d.ts +0 -1
  694. /package/dist/chunks/{websearch-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{websearch-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{websearch-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{websearch-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{websearch-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{websearch-2710q6r3.js → pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{websearch-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{websearch-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{websearch-359p4xyc.js → pty-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{websearch-3asan66x.js → pty-3asan66x.js} +0 -0
  704. /package/dist/chunks/{websearch-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{websearch-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{websearch-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{websearch-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{websearch-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{websearch-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{websearch-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{websearch-53557ph1.js → pty-53557ph1.js} +0 -0
  712. /package/dist/chunks/{websearch-550bvhaj.js → pty-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{websearch-6prwharc.js → pty-6prwharc.js} +0 -0
  714. /package/dist/chunks/{websearch-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{websearch-7m9af43g.js → pty-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{websearch-822emrt2.js → pty-822emrt2.js} +0 -0
  717. /package/dist/chunks/{websearch-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{websearch-8n3pysct.js → pty-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{websearch-922hggd3.js → pty-922hggd3.js} +0 -0
  720. /package/dist/chunks/{websearch-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{websearch-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{websearch-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{websearch-af5trqkr.js → pty-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{websearch-afrmfg78.js → pty-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{websearch-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{websearch-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{websearch-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{websearch-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{websearch-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{websearch-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{websearch-d9fn303g.js → pty-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{websearch-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{websearch-dajrwvna.js → pty-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{websearch-dap0rakb.js → pty-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{websearch-df08tz66.js → pty-df08tz66.js} +0 -0
  736. /package/dist/chunks/{websearch-dy18nga0.js → pty-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{websearch-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{websearch-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{websearch-ec1grn59.js → pty-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{websearch-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{websearch-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{websearch-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{websearch-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{websearch-faypxj3z.js → pty-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{websearch-fd410y7t.js → pty-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{websearch-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{websearch-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{websearch-g86h250q.js → pty-g86h250q.js} +0 -0
  749. /package/dist/chunks/{websearch-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{websearch-gftt206x.js → pty-gftt206x.js} +0 -0
  751. /package/dist/chunks/{websearch-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{websearch-hk9envan.js → pty-hk9envan.js} +0 -0
  753. /package/dist/chunks/{websearch-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{websearch-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{websearch-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{websearch-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{websearch-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{websearch-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{websearch-mp448xyj.js → pty-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{websearch-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{websearch-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{websearch-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{websearch-njntx4h6.js → pty-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{websearch-paphc93g.js → pty-paphc93g.js} +0 -0
  765. /package/dist/chunks/{websearch-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{websearch-q74kybfr.js → pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{websearch-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{websearch-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{websearch-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{websearch-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{websearch-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{websearch-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{websearch-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{websearch-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{websearch-twg0f83k.js → pty-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{websearch-w803qqfp.js → pty-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{websearch-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{websearch-wtztk69x.js → pty-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{websearch-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{websearch-x61499pn.js → pty-x61499pn.js} +0 -0
  781. /package/dist/chunks/{websearch-y44na4kk.js → pty-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{websearch-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{websearch-y8f7s663.js → pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{websearch-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{websearch-ym463w8f.js → pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{websearch-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service76
3
- } from "./websearch-saf13jzc.js";
2
+ Service75
3
+ } from "./pty-2akhs850.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./websearch-tazgh4e4.js";
13
+ } from "./pty-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./websearch-5h6cs5y5.js";
16
+ } from "./pty-y9ech7jt.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin38,
24
+ Plugin: () => Plugin2,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin38 = define({
33
+ var Plugin2 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service76;
36
+ const location = yield* Service75;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin38, exports_hg };
191
+ export { Plugin2, exports_hg };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./websearch-922hggd3.js";
4
+ } from "./pty-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./websearch-y71avatq.js";
7
+ } from "./pty-dpkg50ah.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service78,
18
+ Service: () => Service77,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node83
22
+ node: () => node82
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service78 extends Context.Service()("@opencode/Git") {
88
+ class Service77 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service78, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service78.of({
412
+ return Service77.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node82, exports_git3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID18,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./websearch-m27pyyd3.js";
5
+ } from "./pty-r2qzv5a7.js";
6
6
  import {
7
- ID17,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info32
11
- } from "./websearch-1awm1f41.js";
10
+ Info26
11
+ } from "./pty-t6jsq5az.js";
12
12
  import {
13
13
  __export
14
- } from "./websearch-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID17.make(id);
90
+ const key = ID12.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info32.make({
115
- ...Info32.default(ID18.githubCopilot, id),
114
+ return Info26.make({
115
+ ...Info26.default(ID13.githubCopilot, id),
116
116
  id,
117
- modelID: ID17.make(remote.id),
118
- providerID: ID18.githubCopilot,
117
+ modelID: ID12.make(remote.id),
118
+ providerID: ID13.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,32 +1,31 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-yfvrypcb.js";
3
+ } from "./pty-jnyfd4gm.js";
4
4
  import {
5
- Service79
6
- } from "./websearch-553wj9b8.js";
5
+ Service78
6
+ } from "./pty-b5ybn7cd.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./websearch-zz5hkvbq.js";
10
+ } from "./pty-4tty76jr.js";
11
11
  import {
12
- ID11,
12
+ ID14,
13
13
  MethodID2
14
- } from "./websearch-8vgxngcq.js";
14
+ } from "./pty-h7p7r1dx.js";
15
15
  import {
16
- ID18,
17
- isAISDK2,
16
+ ID13,
18
17
  packageName2,
19
18
  mergeOverlay2
20
- } from "./websearch-m27pyyd3.js";
19
+ } from "./pty-r2qzv5a7.js";
21
20
  import {
22
21
  iife2
23
- } from "./websearch-1kg9ymc8.js";
22
+ } from "./pty-1kg9ymc8.js";
24
23
  import {
25
24
  which2
26
- } from "./websearch-qaymkmh1.js";
25
+ } from "./pty-qaymkmh1.js";
27
26
  import {
28
27
  configuredSettings2
29
- } from "./websearch-j6tz9wj2.js";
28
+ } from "./pty-zr1b15nt.js";
30
29
 
31
30
  // src/plugin/provider/azure.ts
32
31
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,23 +42,12 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
42
  expires_on: Schema.optional(Schema.Number),
44
43
  expiresOn: Schema.optional(Schema.NonEmptyString)
45
44
  }));
46
- function selectLanguage(sdk, modelID, useChat) {
47
- if (useChat && sdk.chat)
48
- return sdk.chat(modelID);
49
- if (sdk.responses)
50
- return sdk.responses(modelID);
51
- if (sdk.messages)
52
- return sdk.messages(modelID);
53
- if (sdk.chat)
54
- return sdk.chat(modelID);
55
- return sdk.languageModel(modelID);
56
- }
57
45
  var AzurePlugin2 = define({
58
46
  id: "opencode.provider.azure",
59
47
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID18.azure);
48
+ const configured = yield* configuredSettings2(ID13.azure);
61
49
  const processes = yield* AppProcess.Service;
62
- const bus = yield* Service79;
50
+ const bus = yield* Service78;
63
51
  const tokens = new Map;
64
52
  const loading = Semaphore.makeUnsafe(1);
65
53
  const loaded = {};
@@ -93,13 +81,13 @@ var AzurePlugin2 = define({
93
81
  });
94
82
  yield* ctx.integration.transform((editor) => {
95
83
  editor.method.update({
96
- integrationID: ID18.azure,
84
+ integrationID: ID13.azure,
97
85
  method: { type: "key", label: "API key", form: form() }
98
86
  });
99
87
  if (!available)
100
88
  return;
101
89
  editor.method.update({
102
- integrationID: ID18.azure,
90
+ integrationID: ID13.azure,
103
91
  method: {
104
92
  id: methodID,
105
93
  type: "oauth",
@@ -131,7 +119,7 @@ var AzurePlugin2 = define({
131
119
  });
132
120
  });
133
121
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID18.azure);
122
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
135
123
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
124
  return;
137
125
  })) : undefined;
@@ -145,7 +133,7 @@ var AzurePlugin2 = define({
145
133
  yield* load();
146
134
  yield* ctx.catalog.transform((evt) => {
147
135
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
136
+ if (item.provider.id !== ID13.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
137
  continue;
150
138
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
139
  if (resourceName)
@@ -169,11 +157,11 @@ var AzurePlugin2 = define({
169
157
  }
170
158
  });
171
159
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
172
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
160
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
173
161
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
174
- if (evt.model.providerID !== ID18.azure)
162
+ if (evt.model.providerID !== ID13.azure)
175
163
  return;
176
- const connection = yield* ctx.integration.connection.active(ID18.azure);
164
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
177
165
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
178
166
  return;
179
167
  })) : undefined;
@@ -186,23 +174,7 @@ var AzurePlugin2 = define({
186
174
  evt.request.headers.delete("x-api-key");
187
175
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
188
176
  evt.request.headers.set("user-agent", useragent2(ctx.app));
189
- }), { providerID: ID18.azure });
190
- yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
191
- if (evt.package !== "@ai-sdk/azure")
192
- return;
193
- if (evt.model.providerID === ID18.azure) {
194
- if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
195
- throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
196
- }
197
- }
198
- const mod = yield* Effect.promise(() => import("@ai-sdk/azure"));
199
- evt.sdk = mod.createAzure(evt.options);
200
- }));
201
- yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
202
- if (evt.model.providerID !== ID18.azure)
203
- return;
204
- evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
205
- }));
177
+ }), { providerID: ID13.azure });
206
178
  })
207
179
  });
208
180
  function resolveResourceName(settings, fallback) {
@@ -1,117 +1,117 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./websearch-yvwtzbz5.js";
2
+ Service79,
3
+ node84
4
+ } from "./pty-18r19y7d.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./websearch-saf13jzc.js";
6
+ Service75,
7
+ node80
8
+ } from "./pty-2akhs850.js";
9
9
  import {
10
- ID9,
11
- Service63,
12
- node67
13
- } from "./websearch-n40qqmec.js";
10
+ ID10,
11
+ Service66,
12
+ node71
13
+ } from "./pty-vm26s0dq.js";
14
14
  import {
15
15
  AgentNotFoundError2
16
- } from "./websearch-2e96adxv.js";
16
+ } from "./pty-g2twwaw3.js";
17
17
  import {
18
18
  combine2
19
- } from "./websearch-rhjbct0v.js";
19
+ } from "./pty-s8d7rejh.js";
20
20
  import {
21
21
  provenance2
22
- } from "./websearch-06dxphr1.js";
22
+ } from "./pty-5c0f1prt.js";
23
23
  import {
24
24
  entriesForRunner2
25
- } from "./websearch-t0tjpkgm.js";
25
+ } from "./pty-hgrjhmfr.js";
26
26
  import {
27
- Service61,
28
- node65
29
- } from "./websearch-qcmf15bf.js";
27
+ Service65,
28
+ node70
29
+ } from "./pty-bahtkn95.js";
30
30
  import {
31
31
  merge2
32
- } from "./websearch-jhsettgg.js";
32
+ } from "./pty-45vpyk18.js";
33
33
  import {
34
- Service67,
35
- node71
36
- } from "./websearch-at2bvhe9.js";
34
+ Service68,
35
+ node73
36
+ } from "./pty-xfqxjp11.js";
37
37
  import {
38
- make13
39
- } from "./websearch-reqevd7p.js";
38
+ make12
39
+ } from "./pty-1qdmrsyh.js";
40
40
  import {
41
- Service51,
42
- node55
43
- } from "./websearch-rxtwa657.js";
41
+ Service33,
42
+ node37
43
+ } from "./pty-0647zyye.js";
44
44
  import {
45
- Service22,
45
+ Service23,
46
46
  node27
47
- } from "./websearch-836wjbr2.js";
48
- import {
49
- Service45,
50
- node49
51
- } from "./websearch-az8wpmk5.js";
47
+ } from "./pty-sj6g8xhe.js";
52
48
  import {
53
- Service24,
54
- node29
55
- } from "./websearch-5z2m8pyj.js";
49
+ Service42,
50
+ node47
51
+ } from "./pty-pd1qwn8m.js";
56
52
  import {
57
- Service23,
58
- node28
59
- } from "./websearch-tbt4776d.js";
53
+ Service30,
54
+ node34
55
+ } from "./pty-6wfk2szc.js";
60
56
  import {
61
- Service27,
62
- node32
63
- } from "./websearch-z7ygv8dn.js";
57
+ Service22,
58
+ node26
59
+ } from "./pty-yfs8r58s.js";
64
60
  import {
65
- Service25,
66
- node30
67
- } from "./websearch-wjaxxs0m.js";
61
+ Service21,
62
+ node25
63
+ } from "./pty-nw3t2cyt.js";
68
64
  import {
69
- Service26,
70
- node31
71
- } from "./websearch-84xsc2j4.js";
65
+ Service24,
66
+ node28
67
+ } from "./pty-2ta0t88y.js";
72
68
  import {
73
- Service28,
69
+ Service29,
74
70
  node33
75
- } from "./websearch-fypyt9ax.js";
71
+ } from "./pty-63sp6hdr.js";
72
+ import {
73
+ Service25,
74
+ node29
75
+ } from "./pty-jfaxz2yb.js";
76
76
  import {
77
- Service35,
78
- node39
79
- } from "./websearch-86eyv63b.js";
77
+ Service55,
78
+ node60
79
+ } from "./pty-n4m74tcd.js";
80
80
  import {
81
81
  __export
82
- } from "./websearch-9rqn6x4v.js";
82
+ } from "./pty-9rqn6x4v.js";
83
83
 
84
84
  // src/session/context.ts
85
85
  var exports_context = {};
86
86
  __export(exports_context, {
87
- Service: () => Service21,
87
+ Service: () => Service20,
88
88
  SessionContext: () => exports_context,
89
- node: () => node26
89
+ node: () => node24
90
90
  });
91
91
  import { Model } from "@opencode/schema/model";
92
92
  import { Context, Effect, Layer } from "effect";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
- class Service21 extends Context.Service()("@opencode/SessionContext") {
94
+ class Service20 extends Context.Service()("@opencode/SessionContext") {
95
95
  }
96
- var layer = Layer.effect(Service21, Effect.gen(function* () {
97
- const agents = yield* Service63;
98
- const builtins = yield* Service22;
99
- const catalog = yield* Service67;
100
- const db = (yield* Service80).db;
101
- const discovery = yield* Service51;
102
- const entries = yield* Service26;
103
- const location = yield* Service76;
104
- const mcpInstructions = yield* Service23;
105
- const mcpTools = yield* Service24;
106
- const models = yield* Service35;
107
- const request = yield* Service28;
108
- const referenceInstructions = yield* Service27;
109
- const skillInstructions = yield* Service25;
110
- const store = yield* Service61;
111
- const registry = yield* Service45;
96
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
97
+ const agents = yield* Service66;
98
+ const builtins = yield* Service23;
99
+ const catalog = yield* Service68;
100
+ const db = (yield* Service79).db;
101
+ const discovery = yield* Service33;
102
+ const entries = yield* Service29;
103
+ const location = yield* Service75;
104
+ const mcpInstructions = yield* Service22;
105
+ const mcpTools = yield* Service30;
106
+ const models = yield* Service55;
107
+ const request = yield* Service25;
108
+ const referenceInstructions = yield* Service21;
109
+ const skillInstructions = yield* Service24;
110
+ const store = yield* Service65;
111
+ const registry = yield* Service42;
112
112
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
113
113
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
114
- const agent = yield* agents.get(ID9.make("title"));
114
+ const agent = yield* agents.get(ID10.make("title"));
115
115
  if (!agent)
116
116
  return;
117
117
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
164
164
  agent: { ...agent, info: agent.info },
165
165
  instructions: combine2([
166
166
  loaded.builtins,
167
- make13(loaded.tools.codeModeCatalog),
167
+ make12(loaded.tools.codeModeCatalog),
168
168
  loaded.discovery,
169
169
  loaded.skills,
170
170
  loaded.references,
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
186
186
  tools: selection.tools
187
187
  };
188
188
  });
189
- return Service21.of({ select, load, resolveModel, selectTitle, request });
189
+ return Service20.of({ select, load, resolveModel, selectTitle, request });
190
190
  }));
191
191
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
192
- var node26 = makeLocationNode({
193
- service: Service21,
192
+ var node24 = makeLocationNode({
193
+ service: Service20,
194
194
  layer,
195
195
  deps: [
196
- node67,
197
196
  node71,
198
- node85,
197
+ node73,
198
+ node84,
199
199
  node27,
200
- node55,
201
- node31,
202
- node81,
203
- node28,
204
- node29,
205
- node32,
206
- node39,
200
+ node37,
207
201
  node33,
208
- node65,
209
- node30,
210
- node49
202
+ node80,
203
+ node26,
204
+ node34,
205
+ node25,
206
+ node60,
207
+ node29,
208
+ node70,
209
+ node28,
210
+ node47
211
211
  ]
212
212
  });
213
213
 
214
- export { Service21, node26, exports_context };
214
+ export { Service20, node24, exports_context };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service59
3
- } from "./websearch-jhsettgg.js";
2
+ Service63
3
+ } from "./pty-45vpyk18.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./websearch-4vcrnpx2.js";
7
+ } from "./pty-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./websearch-3v8g72cx.js";
10
+ } from "./pty-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input2,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input11,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin2,
22
+ Plugin: () => Plugin43,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name2
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name2 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name11 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input2 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input2 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input2.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin2 = {
95
+ var Plugin43 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service59;
99
+ const permission = yield* Service63;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name2,
101
+ name: name11,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input2,
103
+ description: description5,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin2 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name2,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin2, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin43, extractTextFromHTML2, exports_webfetch };