@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,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service77,
4
- node81
5
- } from "./schema-zs20n4td.js";
3
+ Service76,
4
+ node80
5
+ } from "./location-6r5wz7qt.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -14,13 +14,13 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service76,
18
- node80
19
- } from "./schema-7dcnqvbr.js";
17
+ Service75,
18
+ node79
19
+ } from "./location-cf6066tf.js";
20
20
  import {
21
- Service48,
22
- node50
23
- } from "./schema-yp66jxhs.js";
21
+ Service56,
22
+ node58
23
+ } from "./location-jdg8p4tj.js";
24
24
  import {
25
25
  ID12,
26
26
  VariantID2,
@@ -28,10 +28,10 @@ import {
28
28
  Service74,
29
29
  node78,
30
30
  supportsText2
31
- } from "./schema-8xpvx0xf.js";
31
+ } from "./location-9ktdg2kj.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./location-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service46,
43
+ Service: () => Service55,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer18,
51
- node: () => node48,
50
+ layer: () => layer20,
51
+ node: () => node57,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service46 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service55 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -270,12 +270,12 @@ var causeMessage = (cause) => {
270
270
  };
271
271
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
272
272
  var hasPackage2 = (model) => Boolean(model.package);
273
- var layer18 = Layer.effect(Service46, Effect.gen(function* () {
274
- const providers = yield* Service76;
273
+ var layer20 = Layer.effect(Service55, Effect.gen(function* () {
274
+ const providers = yield* Service75;
275
275
  const models = yield* Service74;
276
- const integrations = yield* Service77;
276
+ const integrations = yield* Service76;
277
277
  const npm = yield* Npm.Service;
278
- const aisdk = yield* Service48;
278
+ const aisdk = yield* Service56;
279
279
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
280
280
  const provider = yield* providers.get(selected.providerID);
281
281
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -305,7 +305,7 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
305
305
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
306
306
  };
307
307
  });
308
- return Service46.of({
308
+ return Service55.of({
309
309
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
310
310
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
311
311
  if (!selected)
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
322
322
  const name = packageName2(packageName);
323
323
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
324
324
  }
325
- var node48 = makeLocationNode({
326
- service: Service46,
327
- layer: layer18,
328
- deps: [node80, node78, node81, Npm.node, node50]
325
+ var node57 = makeLocationNode({
326
+ service: Service55,
327
+ layer: layer20,
328
+ deps: [node79, node78, node80, Npm.node, node58]
329
329
  });
330
330
 
331
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node48, exports_model_resolver };
331
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node57, exports_model_resolver };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./schema-9yrh9n06.js";
5
+ } from "./location-jdrd3c06.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./schema-2hmemtj6.js";
11
+ } from "./location-3df827ch.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-rp4sdv0x.js";
4
+ } from "./location-11ddt8jx.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./schema-cb8p393h.js";
6
+ Service79,
7
+ node83
8
+ } from "./location-q552wz1s.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
12
  Service74,
13
13
  node78
14
- } from "./schema-8xpvx0xf.js";
14
+ } from "./location-9ktdg2kj.js";
15
15
  import {
16
- ID11,
17
- Service70,
18
- node74
19
- } from "./schema-dh3p6hwj.js";
16
+ ID8,
17
+ Service63,
18
+ node65
19
+ } from "./location-mvw81cf0.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./schema-47rn6gb0.js";
22
+ } from "./location-6jz79czp.js";
23
23
  import {
24
24
  combine2
25
- } from "./schema-9t7a50xb.js";
25
+ } from "./location-t550f9t1.js";
26
26
  import {
27
27
  provenance2
28
- } from "./schema-4z58m4b4.js";
28
+ } from "./location-4z58m4b4.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./schema-fg6c7q2e.js";
31
+ } from "./location-mqvx1r3j.js";
32
32
  import {
33
- Service66,
34
- node70
35
- } from "./schema-yv6pefj2.js";
33
+ Service62,
34
+ node64
35
+ } from "./location-9mr8vnz8.js";
36
36
  import {
37
37
  merge2
38
- } from "./schema-sfwz2x9n.js";
38
+ } from "./location-tmtg3qgf.js";
39
39
  import {
40
40
  make15
41
- } from "./schema-hgtd7sxh.js";
41
+ } from "./location-yvb4exc7.js";
42
42
  import {
43
- Service36,
44
- node39
45
- } from "./schema-h74kgs22.js";
43
+ Service57,
44
+ node59
45
+ } from "./location-12arssw0.js";
46
46
  import {
47
- Service20,
48
- node24
49
- } from "./schema-kwa05qgn.js";
47
+ Service34,
48
+ node37
49
+ } from "./location-smss3raw.js";
50
50
  import {
51
- Service30,
52
- node33
53
- } from "./schema-t5r5qq5q.js";
51
+ Service49,
52
+ node52
53
+ } from "./location-xfe76f1r.js";
54
54
  import {
55
- Service27,
56
- node30
57
- } from "./schema-4922bdcs.js";
55
+ Service38,
56
+ node41
57
+ } from "./location-aagvde34.js";
58
58
  import {
59
- Service21,
60
- node25
61
- } from "./schema-9ja4ygxc.js";
59
+ Service37,
60
+ node40
61
+ } from "./location-jt92w6zc.js";
62
62
  import {
63
- Service29,
64
- node32
65
- } from "./schema-7yymr8c1.js";
63
+ Service36,
64
+ node39
65
+ } from "./location-9p6p0atc.js";
66
66
  import {
67
- Service22,
68
- node26
69
- } from "./schema-qj7nrkn4.js";
67
+ Service35,
68
+ node38
69
+ } from "./location-fzncz4bm.js";
70
70
  import {
71
- Service25,
72
- node29
73
- } from "./schema-04ct73zt.js";
71
+ Service40,
72
+ node43
73
+ } from "./location-xbp45kg1.js";
74
74
  import {
75
- Service23,
76
- node27
77
- } from "./schema-y415rrbf.js";
75
+ Service41,
76
+ node44
77
+ } from "./location-1v83qqqa.js";
78
78
  import {
79
- Service40,
80
- node42
81
- } from "./schema-zn1w914b.js";
79
+ Service53,
80
+ node55
81
+ } from "./location-j2kw60gk.js";
82
82
  import {
83
83
  __export
84
- } from "./schema-9rqn6x4v.js";
84
+ } from "./location-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service19,
89
+ Service: () => Service33,
90
90
  SessionContext: () => exports_context,
91
- node: () => node23
91
+ node: () => node36
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service19 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service33 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service19, Effect.gen(function* () {
98
- const agents = yield* Service70;
99
- const builtins = yield* Service20;
97
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
98
+ const agents = yield* Service63;
99
+ const builtins = yield* Service34;
100
100
  const model = yield* Service74;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service36;
103
- const entries = yield* Service25;
104
- const location = yield* Service80;
105
- const mcpInstructions = yield* Service21;
106
- const mcpTools = yield* Service27;
107
- const models = yield* Service40;
108
- const request = yield* Service23;
109
- const referenceInstructions = yield* Service29;
110
- const skillInstructions = yield* Service22;
111
- const store = yield* Service66;
112
- const registry = yield* Service30;
102
+ const discovery = yield* Service57;
103
+ const entries = yield* Service40;
104
+ const location = yield* Service79;
105
+ const mcpInstructions = yield* Service37;
106
+ const mcpTools = yield* Service38;
107
+ const models = yield* Service53;
108
+ const request = yield* Service41;
109
+ const referenceInstructions = yield* Service36;
110
+ const skillInstructions = yield* Service35;
111
+ const store = yield* Service62;
112
+ const registry = yield* Service49;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID11.make("title"));
115
+ const agent = yield* agents.get(ID8.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service19.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service33.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node23 = makeLocationNode({
195
- service: Service19,
194
+ var node36 = makeLocationNode({
195
+ service: Service33,
196
196
  layer,
197
197
  deps: [
198
- node74,
198
+ node65,
199
199
  node78,
200
200
  node88,
201
- node24,
201
+ node37,
202
+ node59,
203
+ node43,
204
+ node83,
205
+ node40,
206
+ node41,
202
207
  node39,
203
- node29,
204
- node84,
205
- node25,
206
- node30,
207
- node32,
208
- node42,
209
- node27,
210
- node70,
211
- node26,
212
- node33
208
+ node55,
209
+ node44,
210
+ node64,
211
+ node38,
212
+ node52
213
213
  ]
214
214
  });
215
215
 
216
- export { Service19, node23, exports_context };
216
+ export { Service33, node36, exports_context };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID11,
3
- Service70
4
- } from "./schema-dh3p6hwj.js";
2
+ ID8,
3
+ Service63
4
+ } from "./location-mvw81cf0.js";
5
5
  import {
6
- Service80
7
- } from "./schema-cb8p393h.js";
6
+ Service79
7
+ } from "./location-q552wz1s.js";
8
8
  import {
9
9
  Service71
10
- } from "./schema-tdhpy44v.js";
10
+ } from "./location-43355rh8.js";
11
11
  import {
12
- Service50,
12
+ Service58,
13
13
  args2
14
- } from "./schema-xm8y3y9s.js";
14
+ } from "./location-yqjnaa28.js";
15
15
  import {
16
- Service17
17
- } from "./schema-jn24yy65.js";
16
+ Service30
17
+ } from "./location-8pxx9679.js";
18
18
  import {
19
- make10
20
- } from "./schema-gaphvq12.js";
19
+ make11
20
+ } from "./location-gt93hrec.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./schema-8m6m0r52.js";
23
+ } from "./location-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./location-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin33
32
+ Plugin: () => Plugin30
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,7 +41,7 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin33 = define({
44
+ var Plugin30 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
47
  const config = yield* Service71;
@@ -54,12 +54,12 @@ var Plugin33 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service80;
57
+ const location = yield* Service79;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service50;
60
- const sessions = yield* Service17;
61
- const agents = yield* Service70;
62
- const subagents = yield* make10;
59
+ const shell = yield* Service58;
60
+ const sessions = yield* Service30;
61
+ const agents = yield* Service63;
62
+ const subagents = yield* make11;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin33 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin33, exports_command2 };
207
+ export { Plugin30, exports_command2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-rp4sdv0x.js";
4
+ } from "./location-11ddt8jx.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./schema-02g264nc.js";
6
+ Service82,
7
+ node86
8
+ } from "./location-0n2ztf6h.js";
9
9
  import {
10
- Service42,
11
- node44
12
- } from "./schema-vqbxe4wk.js";
10
+ Service70,
11
+ node74
12
+ } from "./location-v7qwwke9.js";
13
13
  import {
14
- Service41,
15
- node43
16
- } from "./schema-vqfzq50h.js";
14
+ Service52,
15
+ node54
16
+ } from "./location-xcd0eash.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./schema-ec1grn59.js";
19
+ } from "./location-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./schema-yp2x3t23.js";
21
+ make17
22
+ } from "./location-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service38
26
- } from "./schema-hn57h045.js";
25
+ Service51
26
+ } from "./location-k76fn4kw.js";
27
27
  import {
28
- Service66,
29
- node70
30
- } from "./schema-yv6pefj2.js";
28
+ Service62,
29
+ node64
30
+ } from "./location-9mr8vnz8.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./schema-w9cms8xc.js";
33
+ } from "./location-339acx8g.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./schema-pm2wwawt.js";
36
+ } from "./location-nfcraa34.js";
37
37
  import {
38
38
  __export
39
- } from "./schema-9rqn6x4v.js";
39
+ } from "./location-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service37,
44
+ Service: () => Service50,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node40,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer18,
47
+ node: () => node53,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service37 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service50 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
63
- const store = yield* Service66;
64
- const instances = yield* Service41;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service42;
62
+ var layer18 = Layer.effect(Service50, Effect.gen(function* () {
63
+ const store = yield* Service62;
64
+ const instances = yield* Service52;
65
+ const bus = yield* Service82;
66
+ const jobs = yield* Service70;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make16({
86
+ const coordinator = yield* make17({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service37.of({
107
+ return Service50.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node40 = makeGlobalNode({
127
- service: Service37,
128
- layer: layer15,
129
- deps: [node70, node43, node87, node88, node44]
126
+ var node53 = makeGlobalNode({
127
+ service: Service50,
128
+ layer: layer18,
129
+ deps: [node64, node54, node86, node88, node74]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service37, Service37.of({
131
+ var noopLayer2 = Layer.succeed(Service50, Service50.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service37, Service37.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service37, terminal2, layer15, node40, noopLayer3, exports_execution };
140
+ export { Service50, terminal2, layer18, node53, noopLayer2, exports_execution };