@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20732

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{schema-a1jye2k7.js → location-018g50k6.js} +6 -6
  8. package/dist/chunks/{schema-g2y161wv.js → location-05xfxpq7.js} +5 -5
  9. package/dist/chunks/{schema-m87mmgzw.js → location-0hmrebdx.js} +36 -36
  10. package/dist/chunks/{schema-0j77ygfz.js → location-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{schema-dh0webm5.js → location-0meaf1wg.js} +7 -7
  12. package/dist/chunks/{schema-erjffywh.js → location-0mprnhvr.js} +18 -18
  13. package/dist/chunks/{schema-02g264nc.js → location-0n2ztf6h.js} +12 -12
  14. package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{schema-rp4sdv0x.js → location-11ddt8jx.js} +3 -3
  17. package/dist/chunks/{schema-4zmcj57q.js → location-124d3sga.js} +13 -13
  18. package/dist/chunks/{schema-h74kgs22.js → location-12arssw0.js} +28 -28
  19. package/dist/chunks/{schema-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{schema-84h8c373.js → location-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{schema-840fpbhq.js → location-1h05fpfc.js} +1 -1
  23. package/dist/chunks/{schema-hk2k4rxs.js → location-1kn9js94.js} +1 -1
  24. package/dist/chunks/{schema-y415rrbf.js → location-1v83qqqa.js} +35 -35
  25. package/dist/chunks/{schema-1ygqh575.js → location-1ygqh575.js} +2 -2
  26. package/dist/chunks/{schema-yd8mzne0.js → location-1z74wxwj.js} +24 -24
  27. package/dist/chunks/{schema-vykevjvn.js → location-207ajt2h.js} +5 -5
  28. package/dist/chunks/{schema-pdeqb1sv.js → location-26tgw3q9.js} +14 -14
  29. package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{schema-2ccvkpx1.js → location-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{schema-z7rpvhac.js → location-2d90wz9s.js} +9 -9
  32. package/dist/chunks/{schema-ykt494b9.js → location-2m8jawch.js} +4 -4
  33. package/dist/chunks/{schema-kt27ghqn.js → location-31c09hs0.js} +5 -5
  34. package/dist/chunks/{schema-daptfcmc.js → location-327nxpht.js} +19 -19
  35. package/dist/chunks/{schema-w9cms8xc.js → location-339acx8g.js} +5 -5
  36. package/dist/chunks/{schema-rjjkcyvm.js → location-34f7k92p.js} +42 -42
  37. package/dist/chunks/{schema-2s47eas1.js → location-36663d4h.js} +26 -26
  38. package/dist/chunks/{schema-2hmemtj6.js → location-3df827ch.js} +3 -3
  39. package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{schema-tdhpy44v.js → location-43355rh8.js} +20 -20
  45. package/dist/chunks/{schema-rrpq0de9.js → location-4bk00v8h.js} +12 -12
  46. package/dist/chunks/{schema-5byh5fbq.js → location-4f3k4dbg.js} +15 -15
  47. package/dist/chunks/{schema-crh2qmpd.js → location-4nqe1xb5.js} +11 -11
  48. package/dist/chunks/{schema-ymaah0de.js → location-4z2gahf8.js} +23 -23
  49. package/dist/chunks/{schema-4z58m4b4.js → location-4z58m4b4.js} +1 -1
  50. package/dist/chunks/{schema-r94pvvab.js → location-54ma36ye.js} +4 -4
  51. package/dist/chunks/{schema-xea99qfv.js → location-5dbyheb1.js} +47 -47
  52. package/dist/chunks/{schema-82kvrph2.js → location-5e7vn2h5.js} +16 -16
  53. package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{schema-tjtvkmkx.js → location-5z77wtmw.js} +3 -3
  56. package/dist/chunks/{schema-snvwhan6.js → location-6355zzhx.js} +5 -5
  57. package/dist/chunks/{schema-k60d36ch.js → location-69yjwdf1.js} +20 -20
  58. package/dist/chunks/{schema-rewxngkf.js → location-6ga60bwb.js} +32 -32
  59. package/dist/chunks/{schema-47rn6gb0.js → location-6jz79czp.js} +3 -3
  60. package/dist/chunks/{schema-zs20n4td.js → location-6r5wz7qt.js} +18 -18
  61. package/dist/chunks/{schema-vsp1fds9.js → location-6sr3ve8g.js} +4 -4
  62. package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{schema-xr03j6kv.js → location-6zbg9ej9.js} +49 -49
  64. package/dist/chunks/{schema-f75zav2x.js → location-71az546q.js} +2 -2
  65. package/dist/chunks/{schema-zs6nm7rs.js → location-72zy0jqs.js} +9 -9
  66. package/dist/chunks/{schema-2663q2cr.js → location-73r4cdwa.js} +17 -17
  67. package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{schema-6gkjayg0.js → location-7c2a2ky2.js} +7 -7
  69. package/dist/chunks/{schema-mhrxr73y.js → location-7dcrx3ae.js} +15 -15
  70. package/dist/chunks/{schema-jtr36q24.js → location-7veege35.js} +12 -12
  71. package/dist/chunks/{schema-3v4eqn68.js → location-84hvk1m2.js} +16 -16
  72. package/dist/chunks/{schema-kxhhe7ks.js → location-862dge66.js} +11 -11
  73. package/dist/chunks/{schema-rj8ch5sw.js → location-8bwmh9pn.js} +10 -10
  74. package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{schema-ywmq76e1.js → location-8dtbrnbt.js} +23 -23
  76. package/dist/chunks/{schema-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{schema-jn24yy65.js → location-8pxx9679.js} +93 -93
  78. package/dist/chunks/{schema-j9hprypc.js → location-95f4yj9r.js} +11 -11
  79. package/dist/chunks/{schema-1v4g0mnm.js → location-98875m2v.js} +20 -20
  80. package/dist/chunks/{schema-5vnqvhdy.js → location-99wenzhp.js} +18 -18
  81. package/dist/chunks/{schema-kb9j3d72.js → location-9e5bzkjp.js} +3 -3
  82. package/dist/chunks/{schema-g5x9spb3.js → location-9e7ntz7n.js} +13 -13
  83. package/dist/chunks/{schema-8xpvx0xf.js → location-9ktdg2kj.js} +18 -18
  84. package/dist/chunks/{schema-yv6pefj2.js → location-9mr8vnz8.js} +14 -14
  85. package/dist/chunks/{schema-qcy2fs5h.js → location-9n10r3b6.js} +22 -22
  86. package/dist/chunks/{schema-7yymr8c1.js → location-9p6p0atc.js} +18 -18
  87. package/dist/chunks/{schema-gva94evv.js → location-9prv77hx.js} +9 -9
  88. package/dist/chunks/location-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{schema-4qh5k59y.js → location-9zzqkcja.js} +11 -11
  90. package/dist/chunks/{schema-a2ew8a62.js → location-a2ew8a62.js} +1 -1
  91. package/dist/chunks/{schema-a3c7ahw6.js → location-a3c7ahw6.js} +1 -1
  92. package/dist/chunks/{schema-tjpmwyed.js → location-a6w7x0dp.js} +3 -3
  93. package/dist/chunks/{schema-k5mqd01k.js → location-a9jnh2ry.js} +10 -10
  94. package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
  95. package/dist/chunks/{schema-4922bdcs.js → location-aagvde34.js} +32 -32
  96. package/dist/chunks/{schema-addxnjmp.js → location-addxnjmp.js} +1 -1
  97. package/dist/chunks/{schema-z208n99h.js → location-adz22r75.js} +13 -13
  98. package/dist/chunks/{schema-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  99. package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{schema-rwv28x5t.js → location-bapvy5v2.js} +3 -3
  101. package/dist/chunks/{schema-wgqbq6kr.js → location-bsjw1qxa.js} +4 -4
  102. package/dist/chunks/{schema-kr1ymz84.js → location-bty85w2p.js} +24 -24
  103. package/dist/chunks/{schema-j1fsx5qw.js → location-c2x78mxc.js} +35 -35
  104. package/dist/chunks/{schema-vr3aek46.js → location-ca0nj0by.js} +22 -22
  105. package/dist/chunks/{schema-rczq51rp.js → location-cdqe3acw.js} +6 -6
  106. package/dist/chunks/{schema-7dcnqvbr.js → location-cf6066tf.js} +31 -22
  107. package/dist/chunks/{schema-w92k2e0p.js → location-cfsekr6v.js} +8 -8
  108. package/dist/chunks/{schema-4xr8m0aa.js → location-d4rbh6ak.js} +9 -9
  109. package/dist/chunks/{schema-n5jf03an.js → location-d8s2zm1x.js} +7 -7
  110. package/dist/chunks/{schema-bskqsgt5.js → location-daz4xq7q.js} +11 -11
  111. package/dist/chunks/{schema-jta96yax.js → location-dchhcxvn.js} +9 -9
  112. package/dist/chunks/{schema-zf5859yh.js → location-dfd5mgtk.js} +31 -31
  113. package/dist/chunks/{schema-pxcy2v4k.js → location-djq871tb.js} +4 -4
  114. package/dist/chunks/{schema-erbnzk8y.js → location-dn50s6hc.js} +41 -41
  115. package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{schema-e9w2ffer.js → location-dzy5aakp.js} +12 -12
  117. package/dist/chunks/{schema-v2m3q5y9.js → location-e1raa5mm.js} +7 -7
  118. package/dist/chunks/{schema-jgjgcm7r.js → location-e2mk3tg3.js} +4 -4
  119. package/dist/chunks/{schema-sr36t4tg.js → location-e5mvmyh8.js} +10 -10
  120. package/dist/chunks/{schema-g46t4tqm.js → location-e9de3xxg.js} +6 -6
  121. package/dist/chunks/{schema-3chxap05.js → location-eaz2j5p8.js} +6 -6
  122. package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{schema-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  124. package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{schema-skeejxkf.js → location-f20kv32e.js} +9 -9
  126. package/dist/chunks/{schema-y70rs0tm.js → location-f23k8efd.js} +33 -33
  127. package/dist/chunks/{schema-ka78afm3.js → location-f2mfbnxq.js} +7 -7
  128. package/dist/chunks/{schema-9795rgjt.js → location-f3b2zyky.js} +4 -4
  129. package/dist/chunks/{schema-0dqvt60g.js → location-fa5a6z34.js} +2 -2
  130. package/dist/chunks/{schema-fcrkznn8.js → location-fcrkznn8.js} +1 -1
  131. package/dist/chunks/{schema-3k6hnjpv.js → location-ff1nx8de.js} +304 -304
  132. package/dist/chunks/{schema-0y5bnsvv.js → location-fjzgnj6k.js} +13 -13
  133. package/dist/chunks/{schema-qj7nrkn4.js → location-fzncz4bm.js} +20 -20
  134. package/dist/chunks/{schema-5yzzbxa7.js → location-g0445xdp.js} +8 -8
  135. package/dist/chunks/{schema-bghdypt9.js → location-g0kw0tj5.js} +14 -14
  136. package/dist/chunks/{schema-ytk7n60r.js → location-g32vcz6j.js} +36 -36
  137. package/dist/chunks/{schema-57b9ws8p.js → location-g5w8qwbj.js} +7 -7
  138. package/dist/chunks/{schema-gd0tnyjc.js → location-gd0tnyjc.js} +1 -1
  139. package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{schema-7vyzxw8y.js → location-gdaft186.js} +9 -9
  141. package/dist/chunks/{schema-nh510fz3.js → location-gdxj8ks4.js} +24 -24
  142. package/dist/chunks/{schema-fjb6gf5c.js → location-gmpz9h40.js} +27 -27
  143. package/dist/chunks/{schema-bahvtqv2.js → location-gnvmv7zt.js} +18 -18
  144. package/dist/chunks/{schema-eqv7r0bw.js → location-gqft2nrr.js} +6 -6
  145. package/dist/chunks/{schema-npa44ypb.js → location-grhdqs63.js} +15 -15
  146. package/dist/chunks/{schema-gaphvq12.js → location-gt93hrec.js} +11 -11
  147. package/dist/chunks/{schema-3cegwx68.js → location-h2b79v29.js} +2 -2
  148. package/dist/chunks/{schema-6yk1gpns.js → location-h4kgzxf5.js} +2 -2
  149. package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{schema-n7p1k2qf.js → location-h9wy77ww.js} +3 -3
  151. package/dist/chunks/{schema-ft5semx5.js → location-hapgv9v5.js} +26 -26
  152. package/dist/chunks/{schema-1wn14s7w.js → location-hkwpvpak.js} +19 -19
  153. package/dist/chunks/{schema-28qgffdg.js → location-hq78km43.js} +21 -21
  154. package/dist/chunks/{schema-6zaqt7dr.js → location-hvtsb2k8.js} +9 -9
  155. package/dist/chunks/{schema-y10cx7wx.js → location-j151k726.js} +33 -33
  156. package/dist/chunks/{schema-zn1w914b.js → location-j2kw60gk.js} +13 -13
  157. package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
  158. package/dist/chunks/{schema-yp66jxhs.js → location-jdg8p4tj.js} +9 -9
  159. package/dist/chunks/{schema-9yrh9n06.js → location-jdrd3c06.js} +1 -1
  160. package/dist/chunks/{schema-ca5q3sa4.js → location-jkzf7ay7.js} +6 -6
  161. package/dist/chunks/{schema-9ja4ygxc.js → location-jt92w6zc.js} +23 -23
  162. package/dist/chunks/{schema-9adgdhyd.js → location-k212rrg8.js} +4 -4
  163. package/dist/chunks/{schema-hn57h045.js → location-k76fn4kw.js} +4 -4
  164. package/dist/chunks/{schema-p8s02wn2.js → location-k9anv2x6.js} +14 -14
  165. package/dist/chunks/{schema-8zv3wp18.js → location-karyz3y9.js} +10 -10
  166. package/dist/chunks/{schema-m3t9151j.js → location-kbe6f2sn.js} +25 -25
  167. package/dist/chunks/{schema-4erjtqpw.js → location-kg64916e.js} +3 -3
  168. package/dist/chunks/{schema-xgwtbm8x.js → location-kmg3b8a8.js} +83 -83
  169. package/dist/chunks/{schema-0ps91a7a.js → location-ksatnkbz.js} +23 -23
  170. package/dist/chunks/{schema-wdfmv1rt.js → location-m242qanr.js} +40 -40
  171. package/dist/chunks/{schema-hdnjgwej.js → location-m30qs711.js} +29 -29
  172. package/dist/chunks/{schema-2b5wyz52.js → location-m3c0a78p.js} +9 -9
  173. package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{schema-jsczegrp.js → location-m70vqwee.js} +16 -16
  175. package/dist/chunks/{schema-8byxt7bq.js → location-m793x516.js} +141 -141
  176. package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{schema-kvjzkr2v.js → location-mawpmn43.js} +8 -8
  178. package/dist/chunks/{schema-efxe2svv.js → location-mek16e5d.js} +11 -11
  179. package/dist/chunks/{schema-fg6c7q2e.js → location-mqvx1r3j.js} +8 -8
  180. package/dist/chunks/{schema-dh3p6hwj.js → location-mvw81cf0.js} +24 -24
  181. package/dist/chunks/{schema-0kjv6zqm.js → location-n1exqw8h.js} +1 -1
  182. package/dist/chunks/{schema-mz7wxez8.js → location-n38m8ysg.js} +35 -35
  183. package/dist/chunks/{schema-n8sna2wb.js → location-n8sna2wb.js} +2 -2
  184. package/dist/chunks/{schema-69ct9x9k.js → location-n8wxvzz9.js} +8 -8
  185. package/dist/chunks/{schema-2zds0nxm.js → location-nb0mgk1p.js} +24 -24
  186. package/dist/chunks/{schema-abtvfq1n.js → location-nc6y641n.js} +19 -19
  187. package/dist/chunks/{schema-pm2wwawt.js → location-nfcraa34.js} +23 -23
  188. package/dist/chunks/{schema-qr2c2ezf.js → location-nj66ja0z.js} +56 -56
  189. package/dist/chunks/{schema-s0y0yn56.js → location-nwav4b6k.js} +8 -8
  190. package/dist/chunks/{schema-kt83d922.js → location-p7vebjqd.js} +14 -14
  191. package/dist/chunks/{schema-kb6gw2zp.js → location-pcxghkgz.js} +4 -4
  192. package/dist/chunks/{schema-5gh2y96e.js → location-pdz1qa80.js} +8 -8
  193. package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
  195. package/dist/chunks/{schema-fhz5gfgy.js → location-pp7e5es3.js} +5 -5
  196. package/dist/chunks/{schema-hd4remjx.js → location-pqst28f9.js} +23 -23
  197. package/dist/chunks/{schema-t0ghfsqf.js → location-pqza79a5.js} +33 -33
  198. package/dist/chunks/{schema-sxmar18p.js → location-pv7j4d88.js} +22 -22
  199. package/dist/chunks/{schema-t58jyhmh.js → location-pz79f5fk.js} +9 -9
  200. package/dist/chunks/{schema-ma3d88bb.js → location-q3ra36g2.js} +32 -32
  201. package/dist/chunks/{schema-cb8p393h.js → location-q552wz1s.js} +14 -14
  202. package/dist/chunks/{schema-4n4r02ph.js → location-qkseqq5s.js} +27 -27
  203. package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
  205. package/dist/chunks/{schema-qxjc9qry.js → location-qxjc9qry.js} +3 -3
  206. package/dist/chunks/{schema-9c0xcsgg.js → location-r0dh3q8k.js} +20 -20
  207. package/dist/chunks/{schema-cwa6csj7.js → location-r2m716tb.js} +9 -9
  208. package/dist/chunks/{schema-8jzt4s7q.js → location-r3hk3vvb.js} +41 -41
  209. package/dist/chunks/{schema-r9w3djhf.js → location-r9w3djhf.js} +2 -2
  210. package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{schema-x16rpnsn.js → location-rhchahe3.js} +8 -8
  212. package/dist/chunks/{schema-k1gkpfdk.js → location-rvf0m9x6.js} +8 -8
  213. package/dist/chunks/{schema-r71qq8yj.js → location-rwkyravt.js} +16 -16
  214. package/dist/chunks/{schema-5xtbbr0r.js → location-s13q9xsn.js} +22 -22
  215. package/dist/chunks/{schema-989f601q.js → location-s7hewkcj.js} +18 -18
  216. package/dist/chunks/{schema-eayw6x4j.js → location-s8mh1nra.js} +3 -3
  217. package/dist/chunks/{schema-b703kh14.js → location-sdgwcra8.js} +4 -4
  218. package/dist/chunks/{schema-eday4pdr.js → location-sgszqgg5.js} +32 -32
  219. package/dist/chunks/{schema-kwa05qgn.js → location-smss3raw.js} +16 -16
  220. package/dist/chunks/{schema-wy3px6vj.js → location-sqfjvg79.js} +24 -24
  221. package/dist/chunks/{schema-9t7a50xb.js → location-t550f9t1.js} +4 -4
  222. package/dist/chunks/{schema-78tqvked.js → location-taen15gp.js} +22 -22
  223. package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{schema-bn3rhc52.js → location-tbe4vfsv.js} +8 -8
  225. package/dist/chunks/{schema-6gvr7rcm.js → location-tbmv8js2.js} +73 -73
  226. package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
  228. package/dist/chunks/{schema-ajbv8hsx.js → location-tgrcp62g.js} +17 -17
  229. package/dist/chunks/{schema-vbfgae2j.js → location-tjedn1bk.js} +4 -4
  230. package/dist/chunks/{schema-sfwz2x9n.js → location-tmtg3qgf.js} +46 -46
  231. package/dist/chunks/{schema-v0es1rhs.js → location-v0es1rhs.js} +2 -2
  232. package/dist/chunks/{schema-vqbxe4wk.js → location-v7qwwke9.js} +16 -16
  233. package/dist/chunks/{schema-ppv2hyee.js → location-v812q89j.js} +12 -12
  234. package/dist/chunks/{schema-45y05w21.js → location-v882ey3h.js} +2 -2
  235. package/dist/chunks/{schema-b7j864yj.js → location-vcjw93zb.js} +29 -29
  236. package/dist/chunks/{schema-7bda4q4e.js → location-vdygypy1.js} +6 -6
  237. package/dist/chunks/{schema-aw65rq9m.js → location-vepwfmka.js} +2 -2
  238. package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
  239. package/dist/chunks/{schema-yh1w7tjp.js → location-vn0evt42.js} +9 -9
  240. package/dist/chunks/{schema-21wwxtv3.js → location-vrts8c30.js} +13 -13
  241. package/dist/chunks/{schema-bv9672m4.js → location-vz992avt.js} +13 -13
  242. package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{schema-84txncab.js → location-w1eejvng.js} +5 -5
  244. package/dist/chunks/{schema-6yz0wx8n.js → location-w2h15q85.js} +5 -5
  245. package/dist/chunks/{schema-cznmaky0.js → location-w2khkhy7.js} +30 -30
  246. package/dist/chunks/{schema-460nts6z.js → location-w3766evm.js} +19 -19
  247. package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{schema-0t9wd588.js → location-w3x9v1nk.js} +8 -8
  249. package/dist/chunks/{schema-qne3fa44.js → location-wbgabvvj.js} +5 -5
  250. package/dist/chunks/{schema-f06qsttd.js → location-wcp7fp92.js} +47 -47
  251. package/dist/chunks/{schema-thswf6hg.js → location-wd6s3dg2.js} +34 -34
  252. package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{schema-0ce7fh3z.js → location-wp27whg1.js} +10 -10
  254. package/dist/chunks/{schema-80gr5d03.js → location-wtn9vyqv.js} +11 -11
  255. package/dist/chunks/{schema-7vayj4m5.js → location-x9grm7g9.js} +8 -8
  256. package/dist/chunks/{schema-04ct73zt.js → location-xbp45kg1.js} +15 -15
  257. package/dist/chunks/{schema-vqfzq50h.js → location-xcd0eash.js} +6 -6
  258. package/dist/chunks/{schema-4vpz4hmt.js → location-xd2nvtk7.js} +15 -15
  259. package/dist/chunks/{schema-t5r5qq5q.js → location-xfe76f1r.js} +24 -24
  260. package/dist/chunks/{schema-pneb2gse.js → location-xg1vnfsw.js} +3 -3
  261. package/dist/chunks/{schema-5epte933.js → location-xkhfjrgz.js} +3 -3
  262. package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{schema-xmgjmham.js → location-xmgjmham.js} +3 -3
  264. package/dist/chunks/{schema-nvmy2keh.js → location-xrbnp9j2.js} +4 -4
  265. package/dist/chunks/{schema-2hm1ng2y.js → location-xwd6n8tx.js} +149 -149
  266. package/dist/chunks/{schema-ew7x097j.js → location-y0tgs2ts.js} +33 -33
  267. package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-0enxvnkq.js → location-y9t8hm03.js} +13 -13
  269. package/dist/chunks/{schema-93qeztph.js → location-ydq3cy3j.js} +14 -14
  270. package/dist/chunks/{schema-hvfbn6et.js → location-yjnzakaj.js} +4 -4
  271. package/dist/chunks/{schema-n4pjvd7j.js → location-ypw6bvy6.js} +9 -9
  272. package/dist/chunks/{schema-xm8y3y9s.js → location-yqjnaa28.js} +19 -19
  273. package/dist/chunks/{schema-hgtd7sxh.js → location-yvb4exc7.js} +13 -13
  274. package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{schema-b4sr5cxy.js → location-z0m1wg4b.js} +4 -4
  276. package/dist/chunks/{schema-174q612y.js → location-z8w2whtk.js} +1 -1
  277. package/dist/chunks/{schema-qp9vg2jq.js → location-zd7wpxs7.js} +2 -2
  278. package/dist/chunks/{schema-xzgm84yq.js → location-zhkbw3m9.js} +5 -5
  279. package/dist/chunks/{schema-f9bf6ave.js → location-zn575rda.js} +11 -11
  280. package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{schema-vfynekpt.js → location-zv7jazps.js} +26 -26
  282. package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{schema-24xn4nrh.js → location-zxraynqz.js} +32 -32
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +80 -80
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +117 -117
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +124 -124
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +134 -134
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +112 -112
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +80 -80
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +75 -75
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +221 -221
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +3 -3
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +4 -4
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +82 -82
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +86 -86
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +110 -110
  467. package/dist/mcp/instructions.js +130 -130
  468. package/dist/mcp/oauth.js +76 -76
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +93 -93
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +75 -75
  485. package/dist/plugin/command.js +101 -101
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +116 -116
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +71 -71
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +133 -133
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -344
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +94 -94
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +98 -98
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +82 -82
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +98 -98
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +136 -136
  569. package/dist/session/context.js +154 -154
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +128 -128
  576. package/dist/session/generate.js +155 -155
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +98 -98
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +1 -1
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +165 -165
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +106 -106
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +158 -158
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +214 -214
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +210 -210
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +108 -108
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +94 -94
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +129 -129
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +106 -106
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +1 -1
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +94 -94
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +77 -77
  671. package/dist/wellknown.js +74 -74
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +79 -79
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +97 -97
  680. package/package.json +8 -8
  681. package/dist/chunks/schema-pf31ssb9.js +0 -18
  682. /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
  694. /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
  703. /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
  705. /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  706. /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
  709. /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
  710. /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
  729. /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{schema-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
  743. /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
  745. /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
  746. /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
  773. /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./schema-2a5m3afh.js";
3
+ } from "./location-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./schema-z5v4ffb3.js";
6
+ } from "./location-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./schema-cb8p393h.js";
8
+ Service79
9
+ } from "./location-q552wz1s.js";
10
10
  import {
11
- Service55
12
- } from "./schema-2zds0nxm.js";
11
+ Service48
12
+ } from "./location-nb0mgk1p.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service54
16
- } from "./schema-989f601q.js";
15
+ Service19
16
+ } from "./location-s7hewkcj.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./schema-ew7x097j.js";
23
+ } from "./location-y0tgs2ts.js";
24
24
  import {
25
- Service65
26
- } from "./schema-sfwz2x9n.js";
25
+ Service60
26
+ } from "./location-tmtg3qgf.js";
27
27
  import {
28
- Service15
29
- } from "./schema-erjffywh.js";
28
+ Service21
29
+ } from "./location-0mprnhvr.js";
30
30
  import {
31
31
  __export
32
- } from "./schema-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
38
+ Input: () => Input2,
39
39
  Output: () => Output2,
40
40
  Plugin: () => Plugin37,
41
- name: () => name3,
41
+ name: () => name2,
42
42
  toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -86,23 +86,23 @@ var toModelContent2 = (matches, truncated = false) => {
86
86
  var Plugin37 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service55;
90
- const ripgrep = yield* Service54;
91
- const location = yield* Service80;
92
- const access = yield* Service15;
93
- const permission = yield* Service65;
89
+ const environment = yield* Service48;
90
+ const ripgrep = yield* Service19;
91
+ const location = yield* Service79;
92
+ const access = yield* Service21;
93
+ const permission = yield* Service60;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
98
+ input: Input2,
99
99
  output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -154,4 +154,4 @@ var Plugin37 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output2, toModelContent2, Plugin37, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin37, exports_grep };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-02g264nc.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-0n2ztf6h.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./schema-z5v4ffb3.js";
8
+ } from "./location-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
- Service80,
12
- node84
13
- } from "./schema-cb8p393h.js";
11
+ Service79,
12
+ node83
13
+ } from "./location-q552wz1s.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service59,
22
+ Service: () => Service27,
23
23
  define: () => define2,
24
- node: () => node62
24
+ node: () => node30
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service59 extends Context.Service()("@opencode/Rpc") {
30
+ class Service27 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service59, Effect.gen(function* () {
43
- const bus = yield* Service83;
44
- const location = yield* Service80;
42
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
43
+ const bus = yield* Service82;
44
+ const location = yield* Service79;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service59.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node87, node84] });
128
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node86, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service59, node62, exports_rpc, define2 };
213
+ export { Service27, node30, exports_rpc, define2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./schema-fxgpk5d8.js";
3
+ } from "./location-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./schema-g4wezp1m.js";
6
+ } from "./location-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./schema-x61499pn.js";
9
+ } from "./location-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./schema-af5trqkr.js";
12
+ } from "./location-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./schema-afrmfg78.js";
15
+ } from "./location-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./schema-x0ckcb58.js";
18
+ } from "./location-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-6gkjayg0.js";
3
+ } from "./location-7c2a2ky2.js";
4
4
  import {
5
- Service83
6
- } from "./schema-02g264nc.js";
5
+ Service82
6
+ } from "./location-0n2ztf6h.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./schema-2s47eas1.js";
9
+ Event20
10
+ } from "./location-36663d4h.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./schema-zs20n4td.js";
14
+ } from "./location-6r5wz7qt.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./schema-pjvnvgmy.js";
18
+ } from "./location-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./schema-7dcnqvbr.js";
23
+ } from "./location-cf6066tf.js";
24
24
  import {
25
- get4
26
- } from "./schema-r94pvvab.js";
25
+ get5
26
+ } from "./location-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -162,10 +162,10 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin3 = define({
165
+ var OpenAIPlugin2 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service83;
168
+ const bus = yield* Service82;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -230,7 +230,7 @@ var OpenAIPlugin3 = define({
230
230
  return;
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
- evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
233
+ evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
234
  }), { providerID: ID13.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
@@ -238,7 +238,7 @@ var OpenAIPlugin3 = define({
238
238
  for (const name of ["context", "compaction"])
239
239
  yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin3 };
332
+ export { OpenAIPlugin2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service42
3
- } from "./schema-vqbxe4wk.js";
2
+ Service70
3
+ } from "./location-v7qwwke9.js";
4
4
  import {
5
- Service17
6
- } from "./schema-jn24yy65.js";
5
+ Service30
6
+ } from "./location-8pxx9679.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./schema-6xb47vfp.js";
10
+ } from "./location-6xb47vfp.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make11
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service17;
24
- const jobs = yield* Service42;
22
+ var make11 = Effect.gen(function* () {
23
+ const sessions = yield* Service30;
24
+ const jobs = yield* Service70;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make11, exports_subagent_job };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./schema-qnc92qwc.js";
4
+ } from "./location-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./schema-qfa1cgps.js";
7
+ } from "./location-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./location-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./schema-ka78afm3.js";
7
+ } from "./location-f2mfbnxq.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID12,
3
3
  Family2
4
- } from "./schema-8xpvx0xf.js";
4
+ } from "./location-9ktdg2kj.js";
5
5
  import {
6
6
  Service71
7
- } from "./schema-tdhpy44v.js";
7
+ } from "./location-43355rh8.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./schema-pxcy2v4k.js";
10
+ } from "./location-djq871tb.js";
11
11
 
12
12
  // src/plugin/provider/local.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service79
3
- } from "./schema-ymaah0de.js";
2
+ Service77
3
+ } from "./location-4z2gahf8.js";
4
4
  import {
5
- Service65
6
- } from "./schema-sfwz2x9n.js";
5
+ Service60
6
+ } from "./location-tmtg3qgf.js";
7
7
  import {
8
- ID4,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service31
14
- } from "./schema-4n4r02ph.js";
13
+ Service16
14
+ } from "./location-qkseqq5s.js";
15
15
  import {
16
16
  __export
17
- } from "./schema-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input7,
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin41,
24
+ Plugin: () => Plugin39,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
27
- name: () => name7
26
+ description: () => description2,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin41 = {
49
+ var Plugin39 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service65;
53
- const forms = yield* Service79;
54
- const websearch = yield* Service31;
52
+ const permission = yield* Service60;
53
+ const forms = yield* Service77;
54
+ const websearch = yield* Service16;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input7,
58
+ description: description2,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name7, NO_RESULTS2, description4, Input7, Plugin41, exports_websearch2 };
187
+ export { name4, NO_RESULTS2, description2, Input4, Plugin39, exports_websearch2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-6gkjayg0.js";
3
+ } from "./location-7c2a2ky2.js";
4
4
  import {
5
- Service83
6
- } from "./schema-02g264nc.js";
5
+ Service82
6
+ } from "./location-0n2ztf6h.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./schema-2s47eas1.js";
9
+ Event20
10
+ } from "./location-36663d4h.js";
11
11
  import {
12
12
  key2
13
- } from "./schema-addxnjmp.js";
13
+ } from "./location-addxnjmp.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./schema-zs20n4td.js";
18
+ } from "./location-6r5wz7qt.js";
19
19
  import {
20
- Service57
21
- } from "./schema-sr36t4tg.js";
20
+ Service23
21
+ } from "./location-e5mvmyh8.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./schema-7dcnqvbr.js";
26
+ } from "./location-cf6066tf.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./schema-8xpvx0xf.js";
29
+ } from "./location-9ktdg2kj.js";
30
30
  import {
31
- ID4,
32
- Input14,
31
+ ID3,
32
+ Input13,
33
33
  Response2
34
- } from "./schema-4n4r02ph.js";
34
+ } from "./location-qkseqq5s.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID4
50
+ providerID: ID3
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -169,10 +169,10 @@ function oauth(http) {
169
169
  var OpencodePlugin2 = define({
170
170
  id: "opencode.provider.opencode",
171
171
  effect: Effect.fn(function* (ctx) {
172
- const bus = yield* Service83;
172
+ const bus = yield* Service82;
173
173
  const client = yield* HttpClient.HttpClient;
174
174
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
175
- const managed = yield* Service57;
175
+ const managed = yield* Service23;
176
176
  const scope = yield* Scope.Scope;
177
177
  const loading = Semaphore.makeUnsafe(1);
178
178
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
333
333
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
334
334
  const token = credential.type === "oauth" ? credential.access : credential.key;
335
335
  const server = yield* normalizeServer(serverUrl(credential));
336
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
336
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
337
337
  query: input.query,
338
338
  providerID: descriptor.providerID
339
339
  }));
@@ -391,7 +391,7 @@ var OpencodePlugin2 = define({
391
391
  explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
392
392
  });
393
393
  yield* guard(snapshot);
394
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
394
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
395
395
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
396
396
  })
397
397
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
- node86
6
- } from "./schema-rrpq0de9.js";
5
+ node85
6
+ } from "./location-4bk00v8h.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./schema-cb8p393h.js";
8
+ Service79,
9
+ node83
10
+ } from "./location-q552wz1s.js";
11
11
  import {
12
12
  create3
13
- } from "./schema-rdw6cm16.js";
13
+ } from "./location-rdw6cm16.js";
14
14
  import {
15
- make19
16
- } from "./schema-s0y0yn56.js";
15
+ make13
16
+ } from "./location-nwav4b6k.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service44,
24
+ Service: () => Service26,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node46
26
+ node: () => node29
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service44 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service26 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service44, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make19;
39
+ const git = yield* make13;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service44.of({ ...state, directory: location.directory });
58
+ return Service26.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node46 = makeLocationNode({
61
- service: Service44,
60
+ var node29 = makeLocationNode({
61
+ service: Service26,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service44, node46, exports_strategies };
66
+ export { Service26, node29, exports_strategies };