@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
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service80,
8
- node84
9
- } from "./schema-cb8p393h.js";
7
+ Service79,
8
+ node83
9
+ } from "./location-q552wz1s.js";
10
10
  import {
11
- Service53,
12
- node55
13
- } from "./schema-cznmaky0.js";
11
+ Service18,
12
+ node21
13
+ } from "./location-w2khkhy7.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event8,
27
+ Event: () => Event4,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput3,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError6,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service52,
36
+ Service: () => Service17,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node54
40
+ node: () => node20
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput3 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event8 = FileSystem.Event;
108
+ var Event4 = FileSystem.Event;
109
109
 
110
- class Service52 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service17 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service80;
115
- const search = yield* Service53;
114
+ const location = yield* Service79;
115
+ const search = yield* Service18;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError6({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError6({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError6({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service52.of({
134
+ return Service17.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError2({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -170,10 +170,10 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
170
170
  })
171
171
  });
172
172
  }));
173
- var node54 = makeLocationNode({
174
- service: Service52,
173
+ var node20 = makeLocationNode({
174
+ service: Service17,
175
175
  layer: baseLayer,
176
- deps: [FSUtil.node, node84, node55]
176
+ deps: [FSUtil.node, node83, node21]
177
177
  });
178
178
 
179
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service52, node54, exports_filesystem, Entry2, Match2, Submatch2 };
179
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node20, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -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/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./schema-cb8p393h.js";
5
+ Service79
6
+ } from "./location-q552wz1s.js";
7
7
  import {
8
8
  Service71
9
- } from "./schema-tdhpy44v.js";
9
+ } from "./location-43355rh8.js";
10
10
  import {
11
- Service44
12
- } from "./schema-28qgffdg.js";
11
+ Service26
12
+ } from "./location-hq78km43.js";
13
13
  import {
14
14
  observe2
15
- } from "./schema-qsdy395h.js";
15
+ } from "./location-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin21
24
+ Plugin: () => Plugin29
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin21 = define({
30
+ var Plugin29 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
33
  const config = yield* Service71;
34
- const location = yield* Service80;
34
+ const location = yield* Service79;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service44;
36
+ const worktrees = yield* Service26;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin21 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin21, exports_worktree };
51
+ export { Plugin29, exports_worktree };
@@ -1,34 +1,34 @@
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,
9
+ Event20,
10
10
  Service78
11
- } from "./schema-2s47eas1.js";
11
+ } from "./location-36663d4h.js";
12
12
  import {
13
13
  ID14,
14
14
  MethodID2
15
- } from "./schema-zs20n4td.js";
15
+ } from "./location-6r5wz7qt.js";
16
16
  import {
17
17
  ID13,
18
18
  mergeOverlay2
19
- } from "./schema-7dcnqvbr.js";
19
+ } from "./location-cf6066tf.js";
20
20
  import {
21
21
  ID12,
22
22
  VariantID2,
23
23
  Info21
24
- } from "./schema-8xpvx0xf.js";
24
+ } from "./location-9ktdg2kj.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./schema-pjvnvgmy.js";
28
+ } from "./location-pjvnvgmy.js";
29
29
  import {
30
- get4
31
- } from "./schema-r94pvvab.js";
30
+ get5
31
+ } from "./location-54ma36ye.js";
32
32
 
33
33
  // src/plugin/provider/chatgpt.ts
34
34
  import { define } from "@opencode/plugin/effect/plugin";
@@ -176,7 +176,7 @@ function listen(server) {
176
176
  var ChatGPTPlugin2 = define({
177
177
  id: "opencode.provider.chatgpt",
178
178
  effect: Effect.fn(function* (ctx) {
179
- const bus = yield* Service83;
179
+ const bus = yield* Service82;
180
180
  const credentials = yield* Service78;
181
181
  const loading = Semaphore.makeUnsafe(1);
182
182
  let chatgpt;
@@ -221,7 +221,7 @@ var ChatGPTPlugin2 = define({
221
221
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
222
222
  return;
223
223
  }));
224
- evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
224
+ evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
225
225
  evt.headers["thread-id"] = evt.sessionID;
226
226
  evt.headers["x-client-request-id"] = evt.sessionID;
227
227
  }), { providerID });
@@ -262,7 +262,7 @@ var ChatGPTPlugin2 = define({
262
262
  }
263
263
  });
264
264
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
265
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
266
266
  })
267
267
  });
268
268
  function headers(app) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./schema-n7p1k2qf.js";
3
+ } from "./location-h9wy77ww.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make7 = createLocalProviderPlugin2({
37
+ var make4 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make7();
70
+ var OllamaPlugin2 = make4();
71
71
 
72
- export { make7, OllamaPlugin2 };
72
+ export { make4, OllamaPlugin2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-6gkjayg0.js";
3
+ } from "./location-7c2a2ky2.js";
4
4
  import {
5
5
  call2
6
- } from "./schema-1ygqh575.js";
6
+ } from "./location-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin4,
14
+ Plugin: () => Plugin6,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin4 = define({
36
+ var Plugin6 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin4 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin4 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint2, Plugin4, exports_tinyfish };
76
+ export { endpoint3, Plugin6, exports_tinyfish };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./schema-rdw6cm16.js";
3
+ } from "./location-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./schema-qaymkmh1.js";
6
+ } from "./location-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service50,
14
+ Options: () => Options7,
15
+ Service: () => Service58,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node52,
24
+ node: () => node60,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options7 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service50 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service58 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service50.of({
202
+ return Service58.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
209
+ function configured7(options) {
210
+ return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node52 = configured6();
212
+ var node60 = configured7();
213
213
 
214
- export { Options6, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured6, node52, exports_select };
214
+ export { Options7, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node60, exports_select };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make19,
5
5
  diffByKey2
6
- } from "./schema-9t7a50xb.js";
6
+ } from "./location-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./schema-3fc6dm20.js";
11
+ } from "./location-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
17
+ var exports_instructions3 = {};
18
+ __export(exports_instructions3, {
19
+ CodeModeInstructions: () => exports_instructions3,
20
20
  make: () => make15,
21
- render: () => render3,
21
+ render: () => render2,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render3(catalog) {
35
+ function render2(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -46,7 +46,7 @@ ${tools.join(`
46
46
  function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render3(current)}`;
49
+ ${render2(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -113,16 +113,16 @@ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
114
  var make15 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make19({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render3,
121
+ initial: render2,
122
122
  changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render3, update3, make15, exports_instructions4 };
128
+ export { render2, update3, make15, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./schema-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service55
3
- } from "./schema-2zds0nxm.js";
2
+ Service48
3
+ } from "./location-nb0mgk1p.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service55;
24
+ const environment = yield* Service48;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./schema-7dcnqvbr.js";
3
+ } from "./location-cf6066tf.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./schema-z5v4ffb3.js";
4
+ } from "./location-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./schema-5epte933.js";
7
+ } from "./location-xkhfjrgz.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./schema-cb8p393h.js";
5
+ Service79
6
+ } from "./location-q552wz1s.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service80;
26
+ const location = yield* Service79;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));