@opencode/core 0.0.0-dev-20114 → 0.0.0-dev-20116

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{workspace-27za9r5g.js → location-01f4j364.js} +48 -48
  8. package/dist/chunks/{workspace-9cdcmxar.js → location-03t2qqvv.js} +13 -13
  9. package/dist/chunks/{workspace-tvj5t05b.js → location-0aj75bwd.js} +10 -10
  10. package/dist/chunks/{workspace-kb9jw9za.js → location-0fx1c86e.js} +8 -8
  11. package/dist/chunks/location-0mesazry.js +4 -0
  12. package/dist/chunks/{workspace-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{workspace-rhj3j0xw.js → location-0pj7r3g9.js} +3 -3
  14. package/dist/chunks/{workspace-h7e5g0tn.js → location-19xkyn56.js} +6 -6
  15. package/dist/chunks/{workspace-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{workspace-30a43rch.js → location-1ck5k8kv.js} +60 -60
  17. package/dist/chunks/{workspace-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{workspace-bk7jaeqh.js → location-1ed2t66p.js} +4 -4
  19. package/dist/chunks/{workspace-pyp5frad.js → location-1fw2a5v8.js} +19 -19
  20. package/dist/chunks/{workspace-9q0fe16k.js → location-1fw2j5nt.js} +15 -15
  21. package/dist/chunks/{workspace-knht3pjq.js → location-1k0gwr79.js} +5 -5
  22. package/dist/chunks/{workspace-wg0qqct4.js → location-1mmj9ptd.js} +24 -24
  23. package/dist/chunks/{workspace-z92dbfgq.js → location-1p1pkch2.js} +4 -4
  24. package/dist/chunks/{workspace-vkfdnwpx.js → location-1y283654.js} +4 -4
  25. package/dist/chunks/{workspace-21r38tys.js → location-21r38tys.js} +1 -1
  26. package/dist/chunks/{workspace-fjvydvzm.js → location-23sxaqwc.js} +5 -5
  27. package/dist/chunks/{workspace-2402vzrj.js → location-2402vzrj.js} +1 -1
  28. package/dist/chunks/{workspace-cy02d2xc.js → location-297fvhht.js} +6 -6
  29. package/dist/chunks/{workspace-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{workspace-2k8khapm.js → location-2k8khapm.js} +1 -1
  31. package/dist/chunks/{workspace-t5rx070x.js → location-2nm881nd.js} +36 -36
  32. package/dist/chunks/{workspace-q53vqx2z.js → location-2sdsg8hd.js} +16 -16
  33. package/dist/chunks/{workspace-5z6rwdjk.js → location-2vwytvym.js} +3 -3
  34. package/dist/chunks/{workspace-y4b1sr7g.js → location-2xyf62b8.js} +18 -18
  35. package/dist/chunks/{workspace-9ted079k.js → location-3b3sjaea.js} +25 -25
  36. package/dist/chunks/{workspace-183dvndp.js → location-3b7yp3yb.js} +9 -9
  37. package/dist/chunks/{workspace-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{workspace-71f1cn11.js → location-3geshwka.js} +46 -46
  39. package/dist/chunks/{workspace-466thwct.js → location-3h2v8zyx.js} +17 -17
  40. package/dist/chunks/{workspace-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{workspace-c67sf3ms.js → location-3qz3cqmw.js} +9 -9
  42. package/dist/chunks/{workspace-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{workspace-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{workspace-975r8ezm.js → location-3x01x5fw.js} +34 -34
  45. package/dist/chunks/{workspace-pw8h7q9e.js → location-3xhamg8z.js} +24 -24
  46. package/dist/chunks/{workspace-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{workspace-6qrmzyn8.js → location-4ac1m1qr.js} +25 -25
  48. package/dist/chunks/{workspace-mcyzx8fc.js → location-4av968fa.js} +11 -11
  49. package/dist/chunks/{workspace-pkaafs0j.js → location-4bp3k7wq.js} +11 -11
  50. package/dist/chunks/{workspace-ksytkaze.js → location-4c1rxfbw.js} +30 -30
  51. package/dist/chunks/{workspace-2xn6s27p.js → location-4k8s27v0.js} +51 -51
  52. package/dist/chunks/{workspace-h747f910.js → location-4nxzd025.js} +43 -43
  53. package/dist/chunks/{workspace-wjds8tjc.js → location-4swmeq5r.js} +21 -21
  54. package/dist/chunks/{workspace-gc4fb455.js → location-4wwqnvbr.js} +4 -4
  55. package/dist/chunks/{workspace-asrf6d4d.js → location-4y0r7mzr.js} +35 -35
  56. package/dist/chunks/{workspace-xm9ad1cr.js → location-4zc4m5x1.js} +23 -23
  57. package/dist/chunks/{workspace-xmpfc1gs.js → location-507seqed.js} +12 -12
  58. package/dist/chunks/{workspace-56dkfrzf.js → location-53fyba40.js} +4 -4
  59. package/dist/chunks/{workspace-54tcyq79.js → location-54tcyq79.js} +2 -2
  60. package/dist/chunks/{workspace-1ygqh575.js → location-56gdpj1q.js} +9 -9
  61. package/dist/chunks/{workspace-2w6fc0zt.js → location-57ez7d0k.js} +7 -7
  62. package/dist/chunks/{workspace-k6yq57aq.js → location-5cmxdwv8.js} +3 -3
  63. package/dist/chunks/{workspace-5daktx2q.js → location-5daktx2q.js} +1 -1
  64. package/dist/chunks/{workspace-5ekn9679.js → location-5ekn9679.js} +1 -1
  65. package/dist/chunks/{workspace-e89xj288.js → location-5hx7d1d6.js} +5 -5
  66. package/dist/chunks/{workspace-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{workspace-1816vhxd.js → location-60a7aq3m.js} +4 -4
  68. package/dist/chunks/{workspace-13q1kvsh.js → location-65r5fmg1.js} +6 -6
  69. package/dist/chunks/{workspace-669tq793.js → location-669tq793.js} +1 -1
  70. package/dist/chunks/{workspace-357vwvaw.js → location-6bbptzqx.js} +13 -13
  71. package/dist/chunks/{workspace-8076am3r.js → location-6eh7mf2d.js} +42 -42
  72. package/dist/chunks/{workspace-tnkedzgy.js → location-6h3d6agz.js} +14 -14
  73. package/dist/chunks/{workspace-xa8fzrz4.js → location-6kjm4skb.js} +30 -30
  74. package/dist/chunks/{workspace-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{workspace-2z54xyv0.js → location-6nwf24cr.js} +28 -28
  76. package/dist/chunks/{workspace-6f51hy00.js → location-6xsq0j7c.js} +11 -11
  77. package/dist/chunks/{workspace-ja6mtjvc.js → location-74pmmvr2.js} +23 -23
  78. package/dist/chunks/{workspace-7tp3f5r3.js → location-768gsh1v.js} +5 -5
  79. package/dist/chunks/{workspace-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{workspace-vwpcpzep.js → location-7dbmnfn4.js} +8 -8
  81. package/dist/chunks/location-7fj5dwt0.js +18 -0
  82. package/dist/chunks/{workspace-9vb8s0ef.js → location-7k3q3d83.js} +32 -32
  83. package/dist/chunks/{workspace-bzbmha14.js → location-7kk85578.js} +10 -10
  84. package/dist/chunks/{workspace-kkvt8xjw.js → location-7m8brd3v.js} +25 -25
  85. package/dist/chunks/{workspace-3zvpgha1.js → location-7sd0c8rg.js} +27 -27
  86. package/dist/chunks/{workspace-q60sw46r.js → location-81y9yw83.js} +32 -32
  87. package/dist/chunks/{workspace-fhwjz7ks.js → location-8b8ytmh0.js} +27 -27
  88. package/dist/chunks/{workspace-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{workspace-v7bxjhmx.js → location-8eddaw1a.js} +8 -8
  90. package/dist/chunks/{workspace-schrbh41.js → location-8rq5pj8d.js} +19 -19
  91. package/dist/chunks/{workspace-3pbxz7sh.js → location-8ssk0f6f.js} +22 -22
  92. package/dist/chunks/{workspace-e62vcbxn.js → location-8t78hkck.js} +5 -5
  93. package/dist/chunks/{workspace-r4b24f36.js → location-91nmpsq2.js} +11 -11
  94. package/dist/chunks/{workspace-9bysvk2w.js → location-9460kg37.js} +15 -15
  95. package/dist/chunks/{workspace-tka7gdsf.js → location-985n4tmz.js} +35 -35
  96. package/dist/chunks/{workspace-pkzcwsw4.js → location-9c2t2wzg.js} +20 -20
  97. package/dist/chunks/{workspace-pztc22em.js → location-9cwbb6wq.js} +17 -17
  98. package/dist/chunks/{workspace-78hnnhxt.js → location-9e3m1zbj.js} +12 -12
  99. package/dist/chunks/{workspace-zm1yvs5r.js → location-9px7vs5v.js} +10 -10
  100. package/dist/chunks/{workspace-az1ye58n.js → location-9w8ge49v.js} +36 -36
  101. package/dist/chunks/{workspace-0qfaha1m.js → location-a1wfbxb7.js} +3 -3
  102. package/dist/chunks/{workspace-1gfgk62c.js → location-a2qe2ev9.js} +8 -8
  103. package/dist/chunks/{workspace-4v7ngy20.js → location-a2rpfkac.js} +4 -4
  104. package/dist/chunks/{workspace-7kq06j26.js → location-a2xpbx89.js} +18 -18
  105. package/dist/chunks/{workspace-aaet6srn.js → location-aaet6srn.js} +2 -2
  106. package/dist/chunks/{workspace-td0mb8yv.js → location-abzvj8se.js} +22 -22
  107. package/dist/chunks/{workspace-kr59axht.js → location-ac8rsxy9.js} +1 -1
  108. package/dist/chunks/{workspace-n6f91730.js → location-adb13ap1.js} +8 -8
  109. package/dist/chunks/{workspace-45d0fyve.js → location-adq9w6n2.js} +20 -20
  110. package/dist/chunks/{workspace-0g0t9165.js → location-ae1n2vcd.js} +4 -4
  111. package/dist/chunks/{workspace-c5c81y3p.js → location-agxa4bew.js} +4 -4
  112. package/dist/chunks/{workspace-pqt57qxs.js → location-am7x992s.js} +37 -37
  113. package/dist/chunks/{workspace-a09v9r2j.js → location-ar78w6r7.js} +13 -13
  114. package/dist/chunks/{workspace-ty6tacf3.js → location-axj216nc.js} +5 -5
  115. package/dist/chunks/{workspace-2wy0jzng.js → location-ayngm31m.js} +6 -6
  116. package/dist/chunks/{workspace-vmmqyyr9.js → location-azk5qm9y.js} +5 -5
  117. package/dist/chunks/{workspace-sxz6gkc3.js → location-b27vhd2z.js} +7 -7
  118. package/dist/chunks/{workspace-re06hfb4.js → location-b2ekx9f0.js} +26 -26
  119. package/dist/chunks/{workspace-rhr7kre3.js → location-b57qjs4r.js} +19 -19
  120. package/dist/chunks/{workspace-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{workspace-h9ssxcjg.js → location-be3cm6t8.js} +10 -10
  122. package/dist/chunks/{workspace-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
  123. package/dist/chunks/{workspace-9n3yh9qe.js → location-bvh0dnby.js} +19 -19
  124. package/dist/chunks/{workspace-791jfm05.js → location-bwfm0pq2.js} +11 -11
  125. package/dist/chunks/{workspace-0e0z5yt4.js → location-c6bhh4n4.js} +15 -15
  126. package/dist/chunks/{workspace-vqfzq50h.js → location-c8bydgjz.js} +6 -6
  127. package/dist/chunks/{workspace-h6r3nrb9.js → location-cpj0znwe.js} +4 -4
  128. package/dist/chunks/{workspace-qmqgtz8f.js → location-d4he2qe1.js} +9 -9
  129. package/dist/chunks/{workspace-em664rth.js → location-dfgmewgp.js} +20 -20
  130. package/dist/chunks/{workspace-msnexz9t.js → location-dfsbkvhf.js} +30 -30
  131. package/dist/chunks/{workspace-ca8b9jkw.js → location-dh3f2wjs.js} +4 -4
  132. package/dist/chunks/{workspace-az5cyybe.js → location-dvakt18b.js} +5 -5
  133. package/dist/chunks/{workspace-pnkd16h0.js → location-e4qcyv9a.js} +3 -3
  134. package/dist/chunks/{workspace-mxrrxz3e.js → location-e5t466vb.js} +18 -18
  135. package/dist/chunks/{workspace-k2wyf9h9.js → location-e6yahscf.js} +46 -46
  136. package/dist/chunks/{workspace-rhjbct0v.js → location-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{workspace-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{workspace-06x8he3q.js → location-embw8kgh.js} +4 -4
  139. package/dist/chunks/{workspace-erw5rpbs.js → location-erw5rpbs.js} +2 -2
  140. package/dist/chunks/{workspace-aesn9jmf.js → location-espmheeq.js} +11 -11
  141. package/dist/chunks/{workspace-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{workspace-t0fxg8b9.js → location-evbgk2k8.js} +5 -5
  143. package/dist/chunks/{workspace-g9177ymk.js → location-f0hb9jkt.js} +7 -7
  144. package/dist/chunks/{workspace-6xhyt350.js → location-f2zjsb8r.js} +5 -5
  145. package/dist/chunks/{workspace-g190xswt.js → location-f3ngv102.js} +4 -4
  146. package/dist/chunks/{workspace-ft8my87t.js → location-fd78hjz1.js} +16 -16
  147. package/dist/chunks/{workspace-m2tre556.js → location-fsbsakce.js} +43 -43
  148. package/dist/chunks/{workspace-4jk4wxge.js → location-fx2b1hjm.js} +32 -32
  149. package/dist/chunks/{workspace-yd89mvd7.js → location-fyfmcsz4.js} +8 -8
  150. package/dist/chunks/{workspace-g44g4t6r.js → location-g1389kf8.js} +15 -15
  151. package/dist/chunks/{workspace-b8xr8rbz.js → location-g2nw1xqv.js} +18 -18
  152. package/dist/chunks/location-g2syt5m4.js +26 -0
  153. package/dist/chunks/{workspace-9x5r1zhq.js → location-gb506f8f.js} +8 -8
  154. package/dist/chunks/{workspace-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{workspace-gfvb90ym.js → location-gfvb90ym.js} +2 -2
  156. package/dist/chunks/{workspace-ypzhfwa9.js → location-gmjq4p6e.js} +12 -12
  157. package/dist/chunks/{workspace-zh0w19mw.js → location-grdhps1x.js} +12 -12
  158. package/dist/chunks/{workspace-9z7cfjnw.js → location-gsade59m.js} +39 -39
  159. package/dist/chunks/{workspace-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{workspace-qdbakdjh.js → location-h4z1mxff.js} +5 -5
  161. package/dist/chunks/{workspace-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{workspace-e13yqjz3.js → location-h9p3eaf6.js} +54 -54
  163. package/dist/chunks/{workspace-818pfwc9.js → location-hdthj1pw.js} +8 -8
  164. package/dist/chunks/{workspace-e0rvhg7q.js → location-hq8x7218.js} +2 -2
  165. package/dist/chunks/{workspace-myfy8bwe.js → location-hs6snqek.js} +3 -3
  166. package/dist/chunks/{workspace-sfcb33kz.js → location-hsxnx20j.js} +17 -17
  167. package/dist/chunks/{workspace-j56e64zr.js → location-j56e64zr.js} +1 -1
  168. package/dist/chunks/{workspace-505kak1q.js → location-j9kmfek4.js} +13 -13
  169. package/dist/chunks/{workspace-c4cdms68.js → location-ja6k9001.js} +20 -20
  170. package/dist/chunks/{workspace-0spbe0cp.js → location-jjvby67f.js} +33 -33
  171. package/dist/chunks/{workspace-7gc9qn53.js → location-jk4f05ze.js} +32 -32
  172. package/dist/chunks/{workspace-6x6zqcbs.js → location-jxg8s3q7.js} +34 -34
  173. package/dist/chunks/{workspace-k3c624dm.js → location-k3c624dm.js} +3 -3
  174. package/dist/chunks/{workspace-b601atsc.js → location-k57bwrpv.js} +15 -15
  175. package/dist/chunks/{workspace-b23ngztz.js → location-kbmv5jj4.js} +10 -10
  176. package/dist/chunks/{workspace-ww89ca1r.js → location-kkzhas3n.js} +22 -22
  177. package/dist/chunks/{workspace-8mjagv5b.js → location-kp64qvy5.js} +13 -13
  178. package/dist/chunks/{workspace-hccbp3fd.js → location-kpagms85.js} +11 -11
  179. package/dist/chunks/{workspace-z873mpyh.js → location-kqhr74xx.js} +8 -8
  180. package/dist/chunks/{workspace-91e2qxf2.js → location-kx3h33dw.js} +31 -31
  181. package/dist/chunks/{workspace-ncfym1m4.js → location-m2gq6g3f.js} +11 -11
  182. package/dist/chunks/{workspace-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{workspace-v0qyj49f.js → location-m4cee681.js} +20 -20
  184. package/dist/chunks/{workspace-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{workspace-zpser4p9.js → location-mm4y1vec.js} +9 -9
  186. package/dist/chunks/{workspace-7hxn90bs.js → location-mqdgyeyb.js} +43 -43
  187. package/dist/chunks/location-mxcjqyq2.js +507 -0
  188. package/dist/chunks/{workspace-dwyehvxd.js → location-mxy24mwp.js} +15 -15
  189. package/dist/chunks/{workspace-jt0ae3x5.js → location-mxysbntw.js} +16 -16
  190. package/dist/chunks/{workspace-83me60hv.js → location-mzxp1erh.js} +11 -11
  191. package/dist/chunks/location-n1vpgy0w.js +252 -0
  192. package/dist/chunks/{workspace-tq2sjk2m.js → location-n6ksxyfn.js} +26 -26
  193. package/dist/chunks/{workspace-5mqgys5q.js → location-n7j9881n.js} +35 -35
  194. package/dist/chunks/{workspace-swfc4c09.js → location-n9gphx1q.js} +57 -57
  195. package/dist/chunks/{workspace-s8x1qprv.js → location-nk62h6vq.js} +14 -14
  196. package/dist/chunks/{workspace-9c463c3v.js → location-nzsaey6w.js} +28 -28
  197. package/dist/chunks/{workspace-s8zy8myc.js → location-p44d8wdy.js} +5 -5
  198. package/dist/chunks/{workspace-hvf24zfz.js → location-p4m4s18q.js} +11 -11
  199. package/dist/chunks/{workspace-bqxbmhwc.js → location-p838w68h.js} +11 -11
  200. package/dist/chunks/{workspace-ae72ha8b.js → location-pgp81qmz.js} +25 -25
  201. package/dist/chunks/{workspace-5yzzbxa7.js → location-phstrbs2.js} +8 -8
  202. package/dist/chunks/{workspace-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{workspace-pknna89w.js → location-pknna89w.js} +1 -1
  204. package/dist/chunks/{workspace-m2d0j7c0.js → location-pnv527nz.js} +9 -9
  205. package/dist/chunks/{workspace-psazpmmj.js → location-psazpmmj.js} +2 -2
  206. package/dist/chunks/{workspace-1qx820s6.js → location-pswh67x4.js} +21 -21
  207. package/dist/chunks/{workspace-b7vpt2tp.js → location-pvqs4ftm.js} +18 -18
  208. package/dist/chunks/{workspace-ddevztyh.js → location-pxqk86pg.js} +28 -28
  209. package/dist/chunks/{workspace-py3kkmfq.js → location-py3kkmfq.js} +2 -2
  210. package/dist/chunks/{workspace-e57pv4wg.js → location-pycfhy4b.js} +71 -71
  211. package/dist/chunks/{workspace-vj0qrmre.js → location-q14ch0nx.js} +17 -17
  212. package/dist/chunks/{workspace-37sfe3bm.js → location-q826ync2.js} +11 -11
  213. package/dist/chunks/{workspace-7m8xajth.js → location-qaq56wgb.js} +27 -27
  214. package/dist/chunks/{workspace-sz8868xq.js → location-qj3gnppz.js} +7 -7
  215. package/dist/chunks/{workspace-s30pz1fr.js → location-qna75g91.js} +20 -20
  216. package/dist/chunks/{workspace-438c5wf5.js → location-qrk0wdh6.js} +32 -32
  217. package/dist/chunks/{workspace-qsdy395h.js → location-qsdy395h.js} +1 -1
  218. package/dist/chunks/{workspace-6bwbzvbk.js → location-qxwwr1gq.js} +28 -28
  219. package/dist/chunks/{workspace-sfntmzm9.js → location-r3c4069c.js} +1 -1
  220. package/dist/chunks/{workspace-eq1pz5kg.js → location-r5x6zcsm.js} +3 -3
  221. package/dist/chunks/{workspace-6wg7wrda.js → location-r7nsrefv.js} +6 -6
  222. package/dist/chunks/{workspace-ve4pfa0n.js → location-r98e92ep.js} +4 -4
  223. package/dist/chunks/{workspace-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{workspace-ygb2gymn.js → location-rf0y5eh4.js} +29 -29
  225. package/dist/chunks/{workspace-p0b4ytnr.js → location-rph3zd4r.js} +6 -6
  226. package/dist/chunks/{workspace-kd2jg7wg.js → location-rscjyhv7.js} +12 -12
  227. package/dist/chunks/{workspace-a9qpy9ng.js → location-rxt4hayg.js} +24 -24
  228. package/dist/chunks/{workspace-0za9f44n.js → location-s0xm2j83.js} +1 -1
  229. package/dist/chunks/{workspace-9zbzdfgd.js → location-s9h9scfs.js} +30 -30
  230. package/dist/chunks/{workspace-khmhvwbd.js → location-sdz1jvnx.js} +25 -25
  231. package/dist/chunks/{workspace-z97kzzt3.js → location-shc6e287.js} +6 -6
  232. package/dist/chunks/{workspace-jhte7jv1.js → location-srm5dkg4.js} +11 -11
  233. package/dist/chunks/{workspace-rmj3p531.js → location-stgfa99z.js} +5 -5
  234. package/dist/chunks/{workspace-akzjf690.js → location-sy7bpksq.js} +6 -6
  235. package/dist/chunks/{workspace-6p5b6z32.js → location-syy9ejxw.js} +6 -6
  236. package/dist/chunks/{workspace-n0xkpwp9.js → location-t1mex8wk.js} +28 -28
  237. package/dist/chunks/{workspace-3mdqjwjq.js → location-t499jz6c.js} +91 -91
  238. package/dist/chunks/{workspace-hgazxmwb.js → location-t4tcrb48.js} +22 -22
  239. package/dist/chunks/{workspace-p9pz7yr4.js → location-t76e5nz5.js} +13 -13
  240. package/dist/chunks/{workspace-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{workspace-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{workspace-tdstcens.js → location-tdstcens.js} +1 -1
  243. package/dist/chunks/{workspace-18gvgcyb.js → location-thsgfmbw.js} +37 -37
  244. package/dist/chunks/{workspace-rv3ajkkz.js → location-tjk393t5.js} +28 -28
  245. package/dist/chunks/{workspace-tvtrv512.js → location-tvtrv512.js} +1 -1
  246. package/dist/chunks/{workspace-nn09g6m5.js → location-v9m5zf1e.js} +24 -24
  247. package/dist/chunks/{workspace-0dp24jhc.js → location-vaqmry9v.js} +22 -22
  248. package/dist/chunks/{workspace-aahyy29f.js → location-vdzv7yjc.js} +97 -97
  249. package/dist/chunks/{workspace-veqvce7d.js → location-veqvce7d.js} +1 -1
  250. package/dist/chunks/{workspace-wqc6684y.js → location-vmgq4x8b.js} +2 -2
  251. package/dist/chunks/{workspace-0e81x99y.js → location-vmwh049b.js} +6 -6
  252. package/dist/chunks/{workspace-5ksqsxw4.js → location-vq17w8qr.js} +27 -27
  253. package/dist/chunks/{workspace-9a5xrdm0.js → location-vyk7vhw6.js} +20 -20
  254. package/dist/chunks/{workspace-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{workspace-7wc442ye.js → location-w00d9zq5.js} +5 -5
  256. package/dist/chunks/{workspace-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{workspace-583w8zzc.js → location-w52q72ce.js} +3 -3
  258. package/dist/chunks/{workspace-60an1160.js → location-w9fhgmm1.js} +17 -17
  259. package/dist/chunks/{workspace-56m60q16.js → location-was7srj9.js} +8 -8
  260. package/dist/chunks/{workspace-wd87259q.js → location-wd87259q.js} +1 -1
  261. package/dist/chunks/{workspace-prq7hedt.js → location-wk5z6jzv.js} +9 -9
  262. package/dist/chunks/{workspace-4zetm0jd.js → location-wken1bg3.js} +9 -9
  263. package/dist/chunks/{workspace-ydq9gdxv.js → location-wqzamyz2.js} +10 -10
  264. package/dist/chunks/{workspace-5rg82yfa.js → location-wv7as3sa.js} +12 -12
  265. package/dist/chunks/{workspace-bxhncv17.js → location-wy8s1je1.js} +8 -8
  266. package/dist/chunks/{workspace-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{workspace-0yeq2kq4.js → location-x1yd8b8p.js} +183 -183
  268. package/dist/chunks/{workspace-vs560t14.js → location-xb7aahsd.js} +13 -13
  269. package/dist/chunks/{workspace-1cxs6ddq.js → location-xbhyazxt.js} +28 -28
  270. package/dist/chunks/{workspace-sg1hzg94.js → location-xdgdk0j5.js} +44 -44
  271. package/dist/chunks/{workspace-kgen349b.js → location-xdx7acry.js} +9 -9
  272. package/dist/chunks/{workspace-xfkkasph.js → location-xfkkasph.js} +1 -1
  273. package/dist/chunks/{workspace-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  274. package/dist/chunks/{workspace-55q8s0tq.js → location-xt03kzcc.js} +22 -22
  275. package/dist/chunks/{workspace-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{workspace-dpkg50ah.js → location-y71avatq.js} +4 -4
  277. package/dist/chunks/{workspace-2yqk5d2g.js → location-ycpstswg.js} +8 -8
  278. package/dist/chunks/{workspace-k1qrnqst.js → location-yf10kn3d.js} +8 -8
  279. package/dist/chunks/{workspace-0r7yqxbf.js → location-yjptyezs.js} +5 -5
  280. package/dist/chunks/{workspace-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{workspace-yrznvahk.js → location-yrznvahk.js} +2 -2
  282. package/dist/chunks/{workspace-bxkg3gdp.js → location-yse7wqh5.js} +28 -28
  283. package/dist/chunks/{workspace-fds0942a.js → location-yzpn3sp5.js} +30 -30
  284. package/dist/chunks/{workspace-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{workspace-xv6wg3rm.js → location-z4th9443.js} +11 -11
  286. package/dist/chunks/{workspace-z63w68vq.js → location-z63w68vq.js} +2 -2
  287. package/dist/chunks/{workspace-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{workspace-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{workspace-p1anhhew.js → location-ztassjcr.js} +22 -22
  290. package/dist/chunks/{workspace-red9fndq.js → location-zvm2bmhj.js} +5 -5
  291. package/dist/chunks/{workspace-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +84 -84
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +130 -130
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +114 -114
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/effect/app-node-platform.d.ts +1 -2
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +14 -14
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +1 -1
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/workspace-6kdq0pjd.js +0 -4
  702. package/dist/chunks/workspace-a9862w5q.js +0 -26
  703. package/dist/chunks/workspace-cm00fmja.js +0 -252
  704. package/dist/chunks/workspace-qec8xvn0.js +0 -507
  705. package/dist/chunks/workspace-v1faaxn9.js +0 -18
  706. /package/dist/chunks/{workspace-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{workspace-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{workspace-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{workspace-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{workspace-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{workspace-24dcb14g.js → location-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{workspace-2710q6r3.js → location-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{workspace-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{workspace-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{workspace-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{workspace-359p4xyc.js → location-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{workspace-3asan66x.js → location-3asan66x.js} +0 -0
  718. /package/dist/chunks/{workspace-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{workspace-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{workspace-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{workspace-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{workspace-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{workspace-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{workspace-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{workspace-53557ph1.js → location-53557ph1.js} +0 -0
  726. /package/dist/chunks/{workspace-550bvhaj.js → location-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{workspace-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{workspace-6prwharc.js → location-6prwharc.js} +0 -0
  729. /package/dist/chunks/{workspace-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{workspace-7m9af43g.js → location-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{workspace-822emrt2.js → location-822emrt2.js} +0 -0
  732. /package/dist/chunks/{workspace-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{workspace-8n3pysct.js → location-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{workspace-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{workspace-922hggd3.js → location-922hggd3.js} +0 -0
  736. /package/dist/chunks/{workspace-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{workspace-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{workspace-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{workspace-af5trqkr.js → location-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{workspace-afrmfg78.js → location-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{workspace-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{workspace-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{workspace-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{workspace-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{workspace-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{workspace-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{workspace-d9fn303g.js → location-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{workspace-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{workspace-dajrwvna.js → location-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{workspace-dap0rakb.js → location-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{workspace-df08tz66.js → location-df08tz66.js} +0 -0
  752. /package/dist/chunks/{workspace-dy18nga0.js → location-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{workspace-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{workspace-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{workspace-ec1grn59.js → location-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{workspace-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{workspace-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{workspace-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{workspace-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{workspace-faypxj3z.js → location-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{workspace-fd410y7t.js → location-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{workspace-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{workspace-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{workspace-g86h250q.js → location-g86h250q.js} +0 -0
  765. /package/dist/chunks/{workspace-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{workspace-gftt206x.js → location-gftt206x.js} +0 -0
  767. /package/dist/chunks/{workspace-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{workspace-hk9envan.js → location-hk9envan.js} +0 -0
  769. /package/dist/chunks/{workspace-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{workspace-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{workspace-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{workspace-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{workspace-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{workspace-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{workspace-mp448xyj.js → location-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{workspace-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{workspace-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{workspace-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{workspace-njntx4h6.js → location-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{workspace-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{workspace-q74kybfr.js → location-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{workspace-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{workspace-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{workspace-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{workspace-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{workspace-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{workspace-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{workspace-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{workspace-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{workspace-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{workspace-w803qqfp.js → location-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{workspace-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{workspace-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{workspace-wtztk69x.js → location-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{workspace-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{workspace-x61499pn.js → location-x61499pn.js} +0 -0
  797. /package/dist/chunks/{workspace-y44na4kk.js → location-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{workspace-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{workspace-y8f7s663.js → location-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{workspace-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{workspace-ym463w8f.js → location-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{workspace-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./workspace-ypzhfwa9.js";
2
+ Service82
3
+ } from "./location-gmjq4p6e.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./workspace-gv6a8nnw.js";
7
+ } from "./location-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service84;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./workspace-emrn6kk6.js";
5
+ } from "./location-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service51,
8
+ Service: () => Service58,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node53
10
+ node: () => node61
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service58 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service51, () => {
17
+ var layer = Layer.sync(Service58, () => {
18
18
  const environments = new Map;
19
- return Service51.of({
19
+ return Service58.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service51, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node53 = makeGlobalNode({ service: Service51, layer, deps: [] });
29
+ var node61 = makeGlobalNode({ service: Service58, layer, deps: [] });
30
30
 
31
- export { Service51, node53, exports_environment };
31
+ export { Service58, node61, exports_environment };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service38,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service38 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service38.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service38, awaitActivation2, exports_service };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-q53vqx2z.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-2sdsg8hd.js";
5
5
  import {
6
- Key4,
7
- Service76,
8
- node80
9
- } from "./workspace-tka7gdsf.js";
6
+ Key3,
7
+ Service68,
8
+ node71
9
+ } from "./location-985n4tmz.js";
10
10
  import {
11
11
  create3
12
- } from "./workspace-rdw6cm16.js";
12
+ } from "./location-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./workspace-2z54xyv0.js";
16
+ } from "./location-6nwf24cr.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event17,
35
- ID: () => ID13,
36
- Info: () => Info29,
34
+ Event: () => Event15,
35
+ ID: () => ID8,
36
+ Info: () => Info23,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service75,
44
- node: () => node79
43
+ Service: () => Service66,
44
+ node: () => node69
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event17 } from "@opencode/schema/integration";
66
- var ID13 = Integration.ID;
65
+ import { Event as Event15 } from "@opencode/schema/integration";
66
+ var ID8 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info29 = Integration.Info;
74
+ var Info23 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID13,
97
+ integrationID: ID8,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service75 extends Context.Service()("@opencode/Integration") {
103
+ class Service66 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service75, Effect.gen(function* () {
109
- const credentials = yield* Service76;
110
- const bus = yield* Service82;
108
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
109
+ const credentials = yield* Service68;
110
+ const bus = yield* Service83;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
201
201
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
202
202
  return [...credentials, ...env];
203
203
  };
204
- const project = (entry, connections) => Info29.make({
204
+ const project = (entry, connections) => Info23.make({
205
205
  id: entry.ref.id,
206
206
  name: entry.ref.name,
207
207
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
285
285
  const persistence = yield* createCredential({
286
286
  integrationID: attempt.integrationID,
287
287
  label: attempt.label,
288
- value: Key4.make({ type: "key", key: exit.value })
288
+ value: Key3.make({ type: "key", key: exit.value })
289
289
  }).pipe(Effect.asVoid, Effect.exit);
290
290
  const settledAt = yield* Clock.currentTimeMillis;
291
291
  const terminal = Exit.isSuccess(persistence) ? {
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service75.of({
434
+ return Service66.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
453
453
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
454
454
  if (connection.type === "env") {
455
455
  const key = process.env[connection.name];
456
- return key ? Key4.make({ type: "key", key }) : undefined;
456
+ return key ? Key3.make({ type: "key", key }) : undefined;
457
457
  }
458
458
  const credential = yield* credentials.get(connection.id);
459
459
  if (!credential)
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
486
486
  yield* createCredential({
487
487
  integrationID: input.integrationID,
488
488
  label: input.label,
489
- value: Key4.make({
489
+ value: Key3.make({
490
490
  type: "key",
491
491
  key: input.key,
492
492
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node79 = makeLocationNode({
584
- service: Service75,
583
+ var node69 = makeLocationNode({
584
+ service: Service66,
585
585
  layer,
586
- deps: [node80, node86, AppProcess.node]
586
+ deps: [node71, node87, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event17 };
589
+ export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event15 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID11
3
- } from "./workspace-0spbe0cp.js";
2
+ ID6
3
+ } from "./location-jjvby67f.js";
4
4
  import {
5
- Service52
6
- } from "./workspace-k2wyf9h9.js";
5
+ Service59
6
+ } from "./location-e6yahscf.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./workspace-z97kzzt3.js";
9
+ } from "./location-shc6e287.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service52;
29
+ const config = yield* Service59;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID11.make(item.id);
56
+ model.modelID = ID6.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make6();
115
+ var VLLMPlugin2 = make8();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make6, VLLMPlugin2 };
137
+ export { make8, VLLMPlugin2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./workspace-5t3nmthw.js";
3
+ } from "./location-5t3nmthw.js";
4
4
  import {
5
- Service71,
6
- node75
7
- } from "./workspace-sg1hzg94.js";
5
+ Service56,
6
+ node59
7
+ } from "./location-xdgdk0j5.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service70,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node74
17
+ Service: () => Service23,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer9,
20
+ node: () => node26
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service70 extends Context.Service()("@opencode/Generate") {
36
+ class Service23 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service70, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service71;
40
+ const resolver = yield* Service56;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service70.of({ text });
66
+ return Service23.of({ text });
67
67
  }));
68
- var node74 = makeLocationNode({
69
- service: Service70,
70
- layer: layer23,
71
- deps: [node75, llmClient2]
68
+ var node26 = makeLocationNode({
69
+ service: Service23,
70
+ layer: layer9,
71
+ deps: [node59, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service70, layer23, node74, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service23, layer9, node26, exports_generate };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./workspace-q53vqx2z.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-2sdsg8hd.js";
5
5
  import {
6
6
  environment2
7
- } from "./workspace-pyp5frad.js";
7
+ } from "./location-1fw2a5v8.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./workspace-sk3qaz4a.js";
10
+ } from "./location-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
19
+ NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service34,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service28,
23
+ UnavailableError: () => UnavailableError3,
24
24
  configured: () => configured4,
25
- layer: () => layer14,
26
- node: () => node37
25
+ layer: () => layer11,
26
+ node: () => node31
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,20 +37,20 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service34 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service28 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* () {
53
- const bus = yield* Service82;
52
+ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* () {
53
+ const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service34.of({
242
+ return Service28.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer14 = makeLayer();
258
+ var layer11 = makeLayer();
259
259
  var configured4 = (options) => makeGlobalNode({
260
- service: Service34,
261
- layer: options === undefined ? layer14 : makeLayer(options),
262
- deps: [node86, Global.node]
260
+ service: Service28,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
+ deps: [node87, Global.node]
263
263
  });
264
- var node37 = configured4();
264
+ var node31 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError3, Service34, layer14, configured4, node37, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError4, Service28, layer11, configured4, node31, exports_persistent_pty, Handoff2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./workspace-hccbp3fd.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-kpagms85.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service82,
8
- node86
9
- } from "./workspace-q53vqx2z.js";
7
+ Service83,
8
+ node87
9
+ } from "./location-2sdsg8hd.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./workspace-5t3nmthw.js";
12
+ } from "./location-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./workspace-ec1grn59.js";
15
+ } from "./location-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./workspace-n6f91730.js";
18
+ } from "./location-adb13ap1.js";
19
19
  import {
20
- Service63,
21
- node65
22
- } from "./workspace-466thwct.js";
20
+ Service77,
21
+ node81
22
+ } from "./location-3h2v8zyx.js";
23
23
  import {
24
- Service20,
25
- node24
26
- } from "./workspace-3mdqjwjq.js";
24
+ Service31,
25
+ node34
26
+ } from "./location-t499jz6c.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./workspace-tdstcens.js";
30
+ } from "./location-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./location-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service5,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node7
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service5 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
+ const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service20;
65
- const store = yield* Service63;
66
- const db = (yield* Service83).db;
64
+ const context = yield* Service31;
65
+ const store = yield* Service77;
66
+ const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service5.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node7 = makeLocationNode({
151
- service: Service5,
152
- layer: layer5,
153
- deps: [node86, llmClient2, node24, node65, node87]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node34, node81, node88]
154
154
  });
155
155
 
156
- export { Service5, isUntitled2, layer5, node7, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };