@opencode/core 0.0.0-dev-19432 → 0.0.0-dev-19435

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{repository-rccqqzv1.js → location-03b5nb02.js} +9 -9
  9. package/dist/chunks/{repository-z6fgg22d.js → location-07g0wp3c.js} +34 -34
  10. package/dist/chunks/{repository-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{repository-j14ddj9r.js → location-141fpr1p.js} +27 -27
  13. package/dist/chunks/{repository-av7emrka.js → location-16tb5cjj.js} +16 -16
  14. package/dist/chunks/{repository-qfphbjrc.js → location-1as6q9f6.js} +10 -10
  15. package/dist/chunks/{repository-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{repository-ys3t6ahp.js → location-1j70cen6.js} +36 -36
  17. package/dist/chunks/{repository-c66sb1ac.js → location-1jk276m1.js} +11 -11
  18. package/dist/chunks/{repository-za6yq9hg.js → location-1q5awywt.js} +5 -5
  19. package/dist/chunks/{repository-56gdpj1q.js → location-1ygqh575.js} +9 -9
  20. package/dist/chunks/{repository-21r38tys.js → location-21r38tys.js} +1 -1
  21. package/dist/chunks/{repository-x74118mf.js → location-226tafxp.js} +1 -1
  22. package/dist/chunks/{repository-6h73sxmp.js → location-2402vzrj.js} +5 -5
  23. package/dist/chunks/{repository-52nmff2v.js → location-29arvqx0.js} +155 -155
  24. package/dist/chunks/{repository-9fqm4bgz.js → location-29e0nmzb.js} +23 -23
  25. package/dist/chunks/{repository-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{repository-dj9sq318.js → location-2f0bjgcj.js} +5 -5
  27. package/dist/chunks/{repository-737983wq.js → location-2hgjbaq7.js} +4 -4
  28. package/dist/chunks/{repository-2k8khapm.js → location-2k8khapm.js} +1 -1
  29. package/dist/chunks/{repository-vdtpdrgk.js → location-2qjvwhpy.js} +23 -23
  30. package/dist/chunks/{repository-dwkfzrk3.js → location-2sc5vdwx.js} +10 -10
  31. package/dist/chunks/{repository-c8pw21fc.js → location-2wyd3ps6.js} +5 -5
  32. package/dist/chunks/{repository-qn8pfh7t.js → location-2x8aavte.js} +8 -8
  33. package/dist/chunks/{repository-h7daxtb8.js → location-2xsh895f.js} +11 -11
  34. package/dist/chunks/{repository-7v41m4wd.js → location-389stghd.js} +11 -11
  35. package/dist/chunks/{repository-rq1vkg8w.js → location-39s9xh8n.js} +14 -14
  36. package/dist/chunks/{repository-r1yy7shp.js → location-3af3sqg9.js} +15 -15
  37. package/dist/chunks/{repository-mnnqs8ch.js → location-3be754jd.js} +7 -7
  38. package/dist/chunks/{repository-drt53naa.js → location-3bvf0a01.js} +32 -32
  39. package/dist/chunks/{repository-gdvy8fx6.js → location-3fc6dm20.js} +4 -4
  40. package/dist/chunks/{repository-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{repository-00z3vp5f.js → location-3j8sdtpz.js} +4 -4
  42. package/dist/chunks/{repository-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{repository-magykp64.js → location-3t8eac1t.js} +4 -4
  44. package/dist/chunks/{repository-2pwpt1fq.js → location-3tbkqww7.js} +5 -5
  45. package/dist/chunks/{repository-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{repository-bzcqfm0m.js → location-410zfba8.js} +2 -2
  47. package/dist/chunks/{repository-d9zmx2gn.js → location-4hyxw530.js} +9 -9
  48. package/dist/chunks/{repository-7yqt39ht.js → location-4pfqqkn9.js} +19 -19
  49. package/dist/chunks/{repository-1erp3qqz.js → location-4sr2v72b.js} +14 -14
  50. package/dist/chunks/location-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{repository-5637d424.js → location-56ek0vvh.js} +13 -13
  52. package/dist/chunks/{repository-2vtn24zd.js → location-58gxdv9m.js} +12 -12
  53. package/dist/chunks/{repository-5daktx2q.js → location-5daktx2q.js} +1 -1
  54. package/dist/chunks/{repository-1vy40y6q.js → location-5rp8v4vz.js} +13 -13
  55. package/dist/chunks/{repository-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{repository-zj4vqg3k.js → location-5vqd2904.js} +17 -17
  57. package/dist/chunks/{repository-frs1x3s0.js → location-5x0v6vja.js} +1 -1
  58. package/dist/chunks/{repository-669tq793.js → location-669tq793.js} +1 -1
  59. package/dist/chunks/location-6bsjh9v7.js +462 -0
  60. package/dist/chunks/{repository-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{repository-71q4at8m.js → location-71q4at8m.js} +1 -1
  62. package/dist/chunks/{repository-844ef7ks.js → location-7b15y959.js} +8 -8
  63. package/dist/chunks/{repository-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{repository-y9bshx3x.js → location-7j0rmcxv.js} +1 -1
  65. package/dist/chunks/{repository-kq7qvksk.js → location-7smaqcb0.js} +14 -14
  66. package/dist/chunks/{repository-pzkk0785.js → location-81swgkk7.js} +7 -7
  67. package/dist/chunks/{repository-gfcx43hw.js → location-829mfcx0.js} +9 -9
  68. package/dist/chunks/{repository-b0skvq87.js → location-889pe7d8.js} +43 -43
  69. package/dist/chunks/{repository-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  70. package/dist/chunks/{repository-nxgx3vy8.js → location-8hg6030g.js} +25 -25
  71. package/dist/chunks/{repository-rdydr188.js → location-8m3d2bhh.js} +8 -8
  72. package/dist/chunks/{repository-dj2t23y0.js → location-8p4f9s12.js} +2 -2
  73. package/dist/chunks/{repository-1fmrbde1.js → location-8q61w4ba.js} +6 -6
  74. package/dist/chunks/{repository-nw2nz702.js → location-8s8mxddj.js} +4 -4
  75. package/dist/chunks/{repository-mxrk5x1e.js → location-96yrngjz.js} +11 -11
  76. package/dist/chunks/{repository-1snngmj1.js → location-9tbtdqpf.js} +4 -4
  77. package/dist/chunks/{repository-ge8bh06a.js → location-9y8gg6zj.js} +11 -11
  78. package/dist/chunks/location-a0etbwks.js +22 -0
  79. package/dist/chunks/{repository-5c4hm403.js → location-a1bz86dw.js} +3 -3
  80. package/dist/chunks/{repository-30rg0n1z.js → location-a24v126d.js} +4 -4
  81. package/dist/chunks/{repository-ra94hv2r.js → location-a5z4fv32.js} +27 -27
  82. package/dist/chunks/{repository-raw2a3zh.js → location-aab08neh.js} +21 -21
  83. package/dist/chunks/{repository-aaet6srn.js → location-aaet6srn.js} +2 -2
  84. package/dist/chunks/{repository-b7f1tq2h.js → location-ae99a08d.js} +6 -6
  85. package/dist/chunks/{repository-nj1r2vcq.js → location-ae9ptqg3.js} +6 -6
  86. package/dist/chunks/{repository-m3ef3jt3.js → location-ax870rrv.js} +9 -9
  87. package/dist/chunks/{repository-32vktv6f.js → location-ayhzktfb.js} +33 -33
  88. package/dist/chunks/{repository-23sxaqwc.js → location-b1chm04x.js} +7 -7
  89. package/dist/chunks/{repository-p7p3472k.js → location-b33xe3vz.js} +20 -20
  90. package/dist/chunks/{repository-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  91. package/dist/chunks/{repository-wxkvpjdn.js → location-b8q5k5sw.js} +23 -23
  92. package/dist/chunks/{repository-bzkpjw1k.js → location-bde8na58.js} +26 -26
  93. package/dist/chunks/{repository-wmbnw6kf.js → location-bfrarwjs.js} +5 -5
  94. package/dist/chunks/{repository-8xa4vqg2.js → location-bh19jbb0.js} +6 -6
  95. package/dist/chunks/{repository-2tfmgkzg.js → location-bha4atvq.js} +4 -4
  96. package/dist/chunks/{repository-vnasg3sb.js → location-bndvft47.js} +13 -13
  97. package/dist/chunks/{repository-q280h65c.js → location-bpqahvg7.js} +8 -8
  98. package/dist/chunks/{repository-0efqcfd5.js → location-bqs6z16n.js} +3 -3
  99. package/dist/chunks/{repository-52ymf0cj.js → location-bsj0k59k.js} +21 -21
  100. package/dist/chunks/{repository-v2kn4vdq.js → location-bte2cbsy.js} +25 -25
  101. package/dist/chunks/{repository-x14ypy9e.js → location-bvr2g14r.js} +11 -11
  102. package/dist/chunks/{repository-m3ettc37.js → location-c03trhyz.js} +24 -24
  103. package/dist/chunks/{repository-1t1584fh.js → location-c0xs0mpv.js} +26 -26
  104. package/dist/chunks/{repository-pthssfs7.js → location-ca9c6syk.js} +29 -29
  105. package/dist/chunks/{repository-jkmmxdv7.js → location-cc10ch8m.js} +25 -25
  106. package/dist/chunks/{repository-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{repository-z741p9sc.js → location-cj3c3by5.js} +18 -18
  108. package/dist/chunks/{repository-1d1rhcsj.js → location-cvaj0dbv.js} +18 -18
  109. package/dist/chunks/{repository-65fgxyf5.js → location-czkxp88d.js} +8 -8
  110. package/dist/chunks/{repository-k0e0jm40.js → location-czmgezh1.js} +22 -22
  111. package/dist/chunks/{repository-cwtr640q.js → location-dchs2g52.js} +5 -5
  112. package/dist/chunks/{repository-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  113. package/dist/chunks/{repository-sz2wcpmw.js → location-dwfyc9qf.js} +11 -11
  114. package/dist/chunks/{repository-y1rq3pqk.js → location-dyysx4dq.js} +6 -6
  115. package/dist/chunks/{repository-tejqnav5.js → location-e61xx2n8.js} +5 -5
  116. package/dist/chunks/{repository-6jagpjd6.js → location-e8ne3dpa.js} +21 -21
  117. package/dist/chunks/{repository-eaj1djv9.js → location-eaj1djv9.js} +1 -1
  118. package/dist/chunks/{repository-g7zcz8xz.js → location-eewaj409.js} +11 -11
  119. package/dist/chunks/{repository-wdrr10w5.js → location-ekvngk86.js} +7 -7
  120. package/dist/chunks/{repository-56gxsabx.js → location-en58n665.js} +13 -13
  121. package/dist/chunks/{repository-cw1jmpw1.js → location-ent09bmt.js} +4 -4
  122. package/dist/chunks/{repository-e430f9b9.js → location-ep6qtvyr.js} +28 -28
  123. package/dist/chunks/{repository-73tb2d7t.js → location-eq1pz5kg.js} +3 -3
  124. package/dist/chunks/{repository-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{repository-0s80x56w.js → location-etwfhkz9.js} +9 -9
  126. package/dist/chunks/{repository-22cv5ye4.js → location-ezedb5nb.js} +15 -15
  127. package/dist/chunks/{repository-yp2x3t23.js → location-f2n192rq.js} +4 -4
  128. package/dist/chunks/{repository-6xrkkq0p.js → location-f6t340ae.js} +18 -18
  129. package/dist/chunks/{repository-d09006c3.js → location-f7ehr2sm.js} +9 -9
  130. package/dist/chunks/{repository-hdnk95c8.js → location-f828m53h.js} +2 -2
  131. package/dist/chunks/{repository-a7bm1a35.js → location-f8hxd4bv.js} +16 -16
  132. package/dist/chunks/{repository-t0x5rdq8.js → location-fjmrr6sh.js} +9 -9
  133. package/dist/chunks/{repository-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{repository-htvcf07r.js → location-g7j46mhj.js} +16 -16
  135. package/dist/chunks/{repository-ab5w8dn8.js → location-gc9rycst.js} +12 -12
  136. package/dist/chunks/{repository-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{repository-4v34yf9v.js → location-gs13a0mc.js} +60 -60
  138. package/dist/chunks/{repository-dkz6hmks.js → location-gvnbva7c.js} +11 -11
  139. package/dist/chunks/{repository-ht9620cz.js → location-gw2vvezc.js} +9 -9
  140. package/dist/chunks/{repository-n0pr5v83.js → location-gx10v58f.js} +18 -18
  141. package/dist/chunks/{repository-z13bnxy7.js → location-gzg98a5d.js} +3 -3
  142. package/dist/chunks/{repository-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  143. package/dist/chunks/{repository-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{repository-xk45614k.js → location-h7jk4asw.js} +43 -43
  145. package/dist/chunks/{repository-2mxvh1sf.js → location-h8ja802q.js} +4 -4
  146. package/dist/chunks/{repository-fjeh9m37.js → location-hdmnnff5.js} +8 -8
  147. package/dist/chunks/{repository-18frcpjt.js → location-hky8et6e.js} +18 -18
  148. package/dist/chunks/{repository-e6hmchc5.js → location-hnr5yq9h.js} +5 -5
  149. package/dist/chunks/{repository-fhy3xvpm.js → location-hv4jntb9.js} +18 -18
  150. package/dist/chunks/{repository-daccqbjh.js → location-hvpzgxgs.js} +9 -9
  151. package/dist/chunks/{repository-pyynkbc6.js → location-j0fb3yen.js} +31 -31
  152. package/dist/chunks/{repository-tfwap27p.js → location-j26kwb45.js} +10 -10
  153. package/dist/chunks/{repository-4g53kgkp.js → location-j2p38w15.js} +47 -47
  154. package/dist/chunks/{repository-c9bbz02c.js → location-j556b5bm.js} +25 -25
  155. package/dist/chunks/{repository-j56e64zr.js → location-j56e64zr.js} +1 -1
  156. package/dist/chunks/{repository-ef1q2dpz.js → location-j69nrb2c.js} +17 -17
  157. package/dist/chunks/{repository-pxf31q7x.js → location-jbhgm1pg.js} +13 -13
  158. package/dist/chunks/{repository-vmxj0651.js → location-k3zbr1bh.js} +7 -7
  159. package/dist/chunks/{repository-rd62shed.js → location-k44by2q5.js} +37 -37
  160. package/dist/chunks/{repository-2mfw3wdh.js → location-k5jcx5w1.js} +9 -9
  161. package/dist/chunks/{repository-kg06axw8.js → location-kg06axw8.js} +1 -1
  162. package/dist/chunks/{repository-8nd4ez8d.js → location-kg1vvjz6.js} +22 -22
  163. package/dist/chunks/{repository-k3mt7wkv.js → location-kjtkant2.js} +13 -13
  164. package/dist/chunks/{repository-hkefa025.js → location-kpe4e0s9.js} +19 -19
  165. package/dist/chunks/{repository-eak6awrz.js → location-ky1ech8t.js} +6 -6
  166. package/dist/chunks/{repository-ybvbv09q.js → location-kyrbgmgz.js} +4 -4
  167. package/dist/chunks/{repository-xmmda1hq.js → location-m0kbr7p9.js} +11 -11
  168. package/dist/chunks/{repository-t8n3h3je.js → location-m1y7e9ek.js} +22 -22
  169. package/dist/chunks/{repository-m86bnw2c.js → location-m86bnw2c.js} +2 -2
  170. package/dist/chunks/{repository-3qgk4v93.js → location-m8nqv7st.js} +21 -21
  171. package/dist/chunks/{repository-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{repository-6fmy559f.js → location-mfpdf0ta.js} +7 -7
  173. package/dist/chunks/{repository-bacypahn.js → location-mk60nzq1.js} +1 -1
  174. package/dist/chunks/{repository-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
  175. package/dist/chunks/{repository-kgrrjcn2.js → location-n002fnqn.js} +51 -51
  176. package/dist/chunks/{repository-4aws1fvg.js → location-n25jd2cw.js} +37 -37
  177. package/dist/chunks/{repository-6d8fecpc.js → location-n8f3mzga.js} +4 -4
  178. package/dist/chunks/{repository-2c5gpntr.js → location-ncaez7fb.js} +1 -1
  179. package/dist/chunks/{repository-377tdzm5.js → location-ndmv45hp.js} +3 -3
  180. package/dist/chunks/{repository-47gsdddb.js → location-nhy5jxhy.js} +5 -5
  181. package/dist/chunks/{repository-9ra18k9p.js → location-nxjhxkv3.js} +10 -10
  182. package/dist/chunks/{repository-w8rxvjsy.js → location-p6drjj8h.js} +6 -6
  183. package/dist/chunks/{repository-1hc11dc4.js → location-paegk39x.js} +4 -4
  184. package/dist/chunks/{repository-6fa0yxfs.js → location-pec4bm3r.js} +15 -15
  185. package/dist/chunks/{repository-3293cyr9.js → location-pfwdjrz4.js} +2 -2
  186. package/dist/chunks/{repository-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{repository-pknna89w.js → location-pknna89w.js} +1 -1
  188. package/dist/chunks/{repository-b3e9n1nh.js → location-ppdy6qwe.js} +4 -4
  189. package/dist/chunks/{repository-1wvd3n1a.js → location-psg6js8p.js} +21 -21
  190. package/dist/chunks/{repository-qm7jrdpz.js → location-pw9v3g6d.js} +8 -8
  191. package/dist/chunks/{repository-ja409geq.js → location-pzfzh42t.js} +15 -15
  192. package/dist/chunks/{repository-rqk58rkp.js → location-q17hktv8.js} +14 -14
  193. package/dist/chunks/{repository-h83w2tz3.js → location-q3d655mj.js} +90 -90
  194. package/dist/chunks/{repository-kkqrkmh0.js → location-q7cq3y4p.js} +46 -46
  195. package/dist/chunks/{repository-jw70rx0h.js → location-qdyxpk4m.js} +43 -43
  196. package/dist/chunks/{repository-9a4k9g5r.js → location-qgqfnjyk.js} +83 -83
  197. package/dist/chunks/{repository-g7w32fc6.js → location-qhs4rngb.js} +32 -32
  198. package/dist/chunks/{repository-zk4wv12b.js → location-qqs4xmxe.js} +48 -48
  199. package/dist/chunks/{repository-qsdy395h.js → location-qsdy395h.js} +1 -1
  200. package/dist/chunks/{repository-mhspve7x.js → location-qvf5hp1t.js} +33 -33
  201. package/dist/chunks/{repository-hm2ejha3.js → location-qx0n0hnh.js} +13 -13
  202. package/dist/chunks/{repository-8mhep79j.js → location-qxqbfyt6.js} +34 -34
  203. package/dist/chunks/{repository-9jzdmgrd.js → location-qycwybve.js} +11 -11
  204. package/dist/chunks/{repository-4vt2dwev.js → location-r8qagt8b.js} +17 -17
  205. package/dist/chunks/{repository-t2fc4mz5.js → location-ratrq7cm.js} +4 -4
  206. package/dist/chunks/{repository-4c8bw516.js → location-rmdyxgmk.js} +8 -8
  207. package/dist/chunks/{repository-6bd4yqd4.js → location-rp7ht49k.js} +37 -37
  208. package/dist/chunks/{repository-6anwy9fs.js → location-rp8jz6x1.js} +4 -4
  209. package/dist/chunks/{repository-3fqa324q.js → location-rpr7nt0p.js} +10 -10
  210. package/dist/chunks/{repository-n10qepkx.js → location-rwc534w8.js} +16 -16
  211. package/dist/chunks/{repository-t2fwea8b.js → location-rz6djy9m.js} +34 -34
  212. package/dist/chunks/{repository-vryjq8rr.js → location-s138m409.js} +16 -16
  213. package/dist/chunks/{repository-bfbpt4xj.js → location-s6g7bkfa.js} +8 -8
  214. package/dist/chunks/{repository-8jn05b6d.js → location-s6xwevjp.js} +3 -3
  215. package/dist/chunks/{repository-c3ay0pv3.js → location-sdtwcfar.js} +26 -26
  216. package/dist/chunks/{repository-xdfw05yp.js → location-sq0fsqh3.js} +11 -11
  217. package/dist/chunks/{repository-pb1eahw5.js → location-srhw5zxk.js} +8 -8
  218. package/dist/chunks/{repository-cb2gy3vs.js → location-sst0ghmm.js} +28 -28
  219. package/dist/chunks/{repository-wbsb94y0.js → location-svv6qsvk.js} +13 -13
  220. package/dist/chunks/{repository-xmvnw2y2.js → location-swabsky0.js} +6 -6
  221. package/dist/chunks/{repository-zamc6f4z.js → location-sycr0cxz.js} +29 -29
  222. package/dist/chunks/{repository-qzm0daqd.js → location-szfjwb31.js} +3 -3
  223. package/dist/chunks/{repository-780vkm8r.js → location-t072myer.js} +4 -4
  224. package/dist/chunks/{repository-fmme79ky.js → location-t268s8j2.js} +7 -7
  225. package/dist/chunks/{repository-nbvm9kjy.js → location-t45hv4wr.js} +15 -15
  226. package/dist/chunks/{repository-wx8khj6c.js → location-t5d3pp3j.js} +17 -17
  227. package/dist/chunks/{repository-6ryvksdm.js → location-t96n3knx.js} +30 -30
  228. package/dist/chunks/{repository-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{repository-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{repository-tdstcens.js → location-tdstcens.js} +1 -1
  231. package/dist/chunks/{repository-cfsztwnt.js → location-tgnvbkra.js} +18 -18
  232. package/dist/chunks/{repository-b0fng4zx.js → location-tgsqfs3c.js} +41 -41
  233. package/dist/chunks/{repository-gv6a8nnw.js → location-th5km1p3.js} +5 -5
  234. package/dist/chunks/{repository-jv6862zv.js → location-tm7ffpnn.js} +6 -6
  235. package/dist/chunks/{repository-dqy22jqg.js → location-tmbxdmay.js} +43 -43
  236. package/dist/chunks/{repository-tvtrv512.js → location-tvtrv512.js} +1 -1
  237. package/dist/chunks/{repository-c6y7v1er.js → location-v4t0dn9g.js} +2 -2
  238. package/dist/chunks/{repository-vjay5gkv.js → location-v542w56z.js} +24 -24
  239. package/dist/chunks/{repository-63xeamm2.js → location-v7br46vm.js} +16 -16
  240. package/dist/chunks/{repository-rm75j2sh.js → location-vc5bk1c0.js} +13 -13
  241. package/dist/chunks/{repository-x52k0wvy.js → location-vdpzq508.js} +20 -20
  242. package/dist/chunks/{repository-hq8zt1th.js → location-ve6nm2s5.js} +6 -6
  243. package/dist/chunks/{repository-veqvce7d.js → location-veqvce7d.js} +1 -1
  244. package/dist/chunks/{repository-62hcz6cs.js → location-vhbmzvty.js} +27 -27
  245. package/dist/chunks/{repository-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{repository-3bkjb058.js → location-w08q9gc9.js} +24 -24
  247. package/dist/chunks/{repository-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{repository-3q1jyqhd.js → location-w79zsp0s.js} +1 -1
  249. package/dist/chunks/location-w850rf70.js +247 -0
  250. package/dist/chunks/{repository-f9dnc6qb.js → location-wb8znxk9.js} +9 -9
  251. package/dist/chunks/{repository-wd87259q.js → location-wd87259q.js} +1 -1
  252. package/dist/chunks/{repository-9xtkkd11.js → location-wh6nx8gk.js} +4 -4
  253. package/dist/chunks/{repository-qrc483b8.js → location-whhmk8k9.js} +11 -11
  254. package/dist/chunks/{repository-k9ynbxgd.js → location-wknpsqf7.js} +25 -25
  255. package/dist/chunks/{repository-6cnk2f7j.js → location-wx89x9gj.js} +16 -16
  256. package/dist/chunks/{repository-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{repository-x43y2vfs.js → location-x43y2vfs.js} +2 -2
  258. package/dist/chunks/{repository-vp40978k.js → location-x7vckax8.js} +9 -9
  259. package/dist/chunks/{repository-ypfk9d9x.js → location-x80tm2rf.js} +18 -18
  260. package/dist/chunks/{repository-5tqrw2yw.js → location-xaadjf4r.js} +24 -24
  261. package/dist/chunks/{repository-6prpzt6f.js → location-xcrbymt7.js} +44 -44
  262. package/dist/chunks/{repository-c29pq2bv.js → location-xgpdceje.js} +25 -25
  263. package/dist/chunks/{repository-cdvjrb6a.js → location-xshrq19q.js} +16 -16
  264. package/dist/chunks/{repository-a5xe75vd.js → location-xv590yw7.js} +22 -22
  265. package/dist/chunks/{repository-hpdgvsh4.js → location-y14y9keq.js} +1 -1
  266. package/dist/chunks/{repository-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{repository-jsk2qqh7.js → location-y2r22c8c.js} +63 -63
  268. package/dist/chunks/{repository-y1336hgx.js → location-y506eeqx.js} +17 -17
  269. package/dist/chunks/{repository-d4z2re2g.js → location-y8f7dagd.js} +26 -26
  270. package/dist/chunks/{repository-1byap634.js → location-y8z56cqz.js} +38 -38
  271. package/dist/chunks/{repository-dtqbwwhp.js → location-yb440psp.js} +5 -5
  272. package/dist/chunks/{repository-yddgxcp4.js → location-yddgxcp4.js} +2 -2
  273. package/dist/chunks/{repository-zm6r64bs.js → location-yjdnpxry.js} +22 -22
  274. package/dist/chunks/{repository-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{repository-0rpxkeqh.js → location-yryey8bw.js} +7 -7
  276. package/dist/chunks/{repository-yrznvahk.js → location-yrznvahk.js} +2 -2
  277. package/dist/chunks/{repository-hkfg6fzm.js → location-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{repository-7n9wzmmg.js → location-yz4r56ez.js} +23 -23
  279. package/dist/chunks/{repository-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{repository-z63w68vq.js → location-z63w68vq.js} +2 -2
  281. package/dist/chunks/{repository-embw8kgh.js → location-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{repository-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{repository-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-hgkm3ngx.js → location-zwsxqnjr.js} +18 -18
  285. package/dist/chunks/{repository-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{repository-bgc00773.js → location-zxvgyezd.js} +1 -1
  287. package/dist/chunks/{repository-ykbv3wb7.js → location-zzqyq7ew.js} +25 -25
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +83 -83
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +79 -79
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +82 -82
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +97 -97
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +10 -10
  475. package/dist/models-dev.js +84 -84
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +80 -80
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +3 -3
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +88 -88
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  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 +223 -223
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  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 +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +145 -145
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  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 +9 -9
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  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 +117 -117
  629. package/dist/tool/plugin/edit.js +109 -109
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +118 -118
  632. package/dist/tool/plugin/grep.js +114 -114
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +105 -105
  642. package/dist/tool/plugin/write.js +113 -113
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +11 -11
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +78 -78
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +340 -340
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/repository-7qed14jw.js +0 -462
  687. package/dist/chunks/repository-9sh4wc5j.js +0 -18
  688. package/dist/chunks/repository-f7z596tj.js +0 -22
  689. package/dist/chunks/repository-xt8m55sk.js +0 -247
  690. /package/dist/chunks/{repository-0mesazry.js → location-0mesazry.js} +0 -0
  691. /package/dist/chunks/{repository-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{repository-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{repository-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{repository-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{repository-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{repository-2710q6r3.js → location-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{repository-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{repository-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{repository-359p4xyc.js → location-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{repository-3asan66x.js → location-3asan66x.js} +0 -0
  701. /package/dist/chunks/{repository-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{repository-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{repository-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{repository-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{repository-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{repository-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{repository-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{repository-53557ph1.js → location-53557ph1.js} +0 -0
  709. /package/dist/chunks/{repository-550bvhaj.js → location-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{repository-6prwharc.js → location-6prwharc.js} +0 -0
  711. /package/dist/chunks/{repository-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{repository-7m9af43g.js → location-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{repository-822emrt2.js → location-822emrt2.js} +0 -0
  714. /package/dist/chunks/{repository-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{repository-8n3pysct.js → location-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{repository-922hggd3.js → location-922hggd3.js} +0 -0
  717. /package/dist/chunks/{repository-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{repository-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{repository-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{repository-af5trqkr.js → location-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{repository-afrmfg78.js → location-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{repository-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{repository-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{repository-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{repository-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{repository-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{repository-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{repository-d9fn303g.js → location-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{repository-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{repository-dajrwvna.js → location-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{repository-dap0rakb.js → location-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{repository-df08tz66.js → location-df08tz66.js} +0 -0
  733. /package/dist/chunks/{repository-dy18nga0.js → location-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{repository-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{repository-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{repository-ec1grn59.js → location-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{repository-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{repository-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{repository-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{repository-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{repository-faypxj3z.js → location-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{repository-fd410y7t.js → location-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{repository-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{repository-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{repository-g86h250q.js → location-g86h250q.js} +0 -0
  746. /package/dist/chunks/{repository-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{repository-gftt206x.js → location-gftt206x.js} +0 -0
  748. /package/dist/chunks/{repository-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{repository-hk9envan.js → location-hk9envan.js} +0 -0
  750. /package/dist/chunks/{repository-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{repository-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{repository-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{repository-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{repository-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{repository-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{repository-mp448xyj.js → location-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{repository-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{repository-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{repository-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{repository-njntx4h6.js → location-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{repository-paphc93g.js → location-paphc93g.js} +0 -0
  762. /package/dist/chunks/{repository-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{repository-q74kybfr.js → location-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{repository-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{repository-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{repository-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{repository-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{repository-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{repository-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{repository-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{repository-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{repository-twg0f83k.js → location-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{repository-w803qqfp.js → location-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{repository-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{repository-wtztk69x.js → location-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{repository-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{repository-x61499pn.js → location-x61499pn.js} +0 -0
  778. /package/dist/chunks/{repository-y44na4kk.js → location-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{repository-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{repository-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{repository-ym463w8f.js → location-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{repository-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,94 +1,94 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./location-1jk276m1.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./repository-c66sb1ac.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./repository-63xeamm2.js";
8
+ } from "./location-v7br46vm.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./repository-ec1grn59.js";
11
+ } from "./location-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./repository-5c4hm403.js";
14
+ } from "./location-a1bz86dw.js";
15
15
  import {
16
16
  prepare4
17
- } from "./repository-2tfmgkzg.js";
17
+ } from "./location-bha4atvq.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./repository-5t3nmthw.js";
20
+ } from "./location-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./repository-gftt206x.js";
23
+ } from "./location-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./repository-jv6862zv.js";
26
+ } from "./location-tm7ffpnn.js";
27
27
  import {
28
28
  provenance2
29
- } from "./repository-1hc11dc4.js";
29
+ } from "./location-paegk39x.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./repository-qn8pfh7t.js";
33
+ } from "./location-2x8aavte.js";
34
34
  import {
35
- Service69,
36
- node74
37
- } from "./repository-22cv5ye4.js";
35
+ Service68,
36
+ node73
37
+ } from "./location-ezedb5nb.js";
38
38
  import {
39
- Service29,
40
- node33
41
- } from "./repository-7v41m4wd.js";
39
+ Service32,
40
+ node36
41
+ } from "./location-389stghd.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./repository-e430f9b9.js";
44
+ } from "./location-ep6qtvyr.js";
45
45
  import {
46
- make4
47
- } from "./repository-eak6awrz.js";
46
+ make9
47
+ } from "./location-ky1ech8t.js";
48
48
  import {
49
- Service8,
50
- node11
51
- } from "./repository-1byap634.js";
49
+ Service10,
50
+ node13
51
+ } from "./location-y8z56cqz.js";
52
52
  import {
53
- Service26,
54
- node30
55
- } from "./repository-9a4k9g5r.js";
53
+ Service24,
54
+ node29
55
+ } from "./location-qgqfnjyk.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./repository-d4z2re2g.js";
60
+ } from "./location-y8f7dagd.js";
61
61
  import {
62
62
  Service2,
63
63
  isUntitled2,
64
64
  node3
65
- } from "./repository-a5xe75vd.js";
65
+ } from "./location-xv590yw7.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service47
69
- } from "./repository-embw8kgh.js";
68
+ Service41
69
+ } from "./location-zcrspsvn.js";
70
70
  import {
71
- node44
72
- } from "./repository-mhspve7x.js";
71
+ node76
72
+ } from "./location-qvf5hp1t.js";
73
73
  import {
74
- node65
75
- } from "./repository-2vtn24zd.js";
74
+ node41
75
+ } from "./location-58gxdv9m.js";
76
76
  import {
77
77
  Outcome2,
78
78
  make3
79
- } from "./repository-4vt2dwev.js";
79
+ } from "./location-r8qagt8b.js";
80
80
  import {
81
- Service32
82
- } from "./repository-9sh4wc5j.js";
81
+ Service29
82
+ } from "./location-4v7qdvcn.js";
83
83
  import {
84
- node23
85
- } from "./repository-z741p9sc.js";
84
+ node22
85
+ } from "./location-cj3c3by5.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./repository-y44na4kk.js";
88
+ } from "./location-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./repository-9rqn6x4v.js";
91
+ } from "./location-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
@@ -101,14 +101,14 @@ import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service47, Effect.gen(function* () {
105
- const bus = yield* Service78;
106
- const store = yield* Service69;
107
- const context = yield* Service26;
108
- const modelTransport = yield* Service29;
109
- const db = (yield* Service79).db;
110
- const compaction = yield* Service8;
111
- const plugins = yield* Service32;
104
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
105
+ const bus = yield* Service79;
106
+ const store = yield* Service68;
107
+ const context = yield* Service24;
108
+ const modelTransport = yield* Service32;
109
+ const db = (yield* Service80).db;
110
+ const compaction = yield* Service10;
111
+ const plugins = yield* Service29;
112
112
  const title = yield* Service2;
113
113
  const steps = yield* make3;
114
114
  const titles = yield* FiberMap.make();
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make4(bus, sessionID);
234
+ const retry = yield* make9(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,23 +351,23 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service47.of({ drain });
354
+ return Service41.of({ drain });
355
355
  }));
356
356
  var node2 = makeLocationNode({
357
- service: Service47,
357
+ service: Service41,
358
358
  layer,
359
359
  deps: [
360
- node83,
360
+ node84,
361
361
  llmClient2,
362
- node30,
363
- node33,
364
- node74,
365
- node11,
366
- node23,
362
+ node29,
363
+ node36,
364
+ node73,
365
+ node13,
366
+ node22,
367
367
  node3,
368
- node44,
369
- node65,
370
- node84
368
+ node76,
369
+ node41,
370
+ node85
371
371
  ]
372
372
  });
373
373
 
@@ -1,23 +1,23 @@
1
1
  import {
2
- ID12,
2
+ ID10,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./repository-30rg0n1z.js";
5
+ } from "./location-a24v126d.js";
6
6
  import {
7
- ID7,
7
+ ID9,
8
8
  VariantID2,
9
9
  Family2,
10
- Info20
11
- } from "./repository-1erp3qqz.js";
10
+ Info24
11
+ } from "./location-4sr2v72b.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- get: () => get2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ get: () => get3
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
66
66
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
67
67
  var decodeResponse = Schema.decodeUnknownSync(Response);
68
68
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
69
- async function get2(baseURL, headers, existing) {
69
+ async function get3(baseURL, headers, existing) {
70
70
  const response = await fetch(`${baseURL}/models`, {
71
71
  headers,
72
72
  signal: AbortSignal.timeout(5000)
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID7.make(id);
90
+ const key = ID9.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info20.make({
115
- ...Info20.default(ID12.githubCopilot, id),
114
+ return Info24.make({
115
+ ...Info24.default(ID10.githubCopilot, id),
116
116
  id,
117
- modelID: ID7.make(remote.id),
118
- providerID: ID12.githubCopilot,
117
+ modelID: ID9.make(remote.id),
118
+ providerID: ID10.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -190,4 +190,4 @@ function variants(remote, messages) {
190
190
  ];
191
191
  }
192
192
 
193
- export { get2, exports_models };
193
+ export { get3, exports_models2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-c66sb1ac.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-1jk276m1.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-dpkg50ah.js";
7
+ } from "./location-dpkg50ah.js";
8
8
  import {
9
- Service78,
10
- node83
11
- } from "./repository-63xeamm2.js";
9
+ Service79,
10
+ node84
11
+ } from "./location-v7br46vm.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./location-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./repository-gftt206x.js";
17
+ } from "./location-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-377tdzm5.js";
20
+ } from "./location-ndmv45hp.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./repository-5c4hm403.js";
24
+ } from "./location-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./location-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info18,
35
+ Info: () => Info7,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service49,
40
+ Service: () => Service42,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
48
+ layer: () => layer17,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node52,
53
+ node: () => node45,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info18,
68
+ Info as Info7,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service49 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service42 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service79;
156
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service80;
158
158
  const db = database.db;
159
- const bus = yield* Service78;
159
+ const bus = yield* Service79;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info18.make({
176
+ }).pipe(Effect.map((event) => Info7.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service49, make17());
231
- var node52 = makeGlobalNode({ service: Service49, layer: layer21, deps: [node84, node83] });
230
+ var layer17 = Layer.effect(Service42, make16());
231
+ var node45 = makeGlobalNode({ service: Service42, layer: layer17, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service49, make17, layer21, node52, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make16, layer17, node45, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./location-1jk276m1.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./repository-c66sb1ac.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./repository-63xeamm2.js";
8
+ } from "./location-v7br46vm.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./repository-5t3nmthw.js";
11
+ } from "./location-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./location-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./repository-1hc11dc4.js";
20
+ } from "./location-paegk39x.js";
21
21
  import {
22
22
  load3
23
- } from "./repository-qn8pfh7t.js";
23
+ } from "./location-2x8aavte.js";
24
24
  import {
25
25
  create3
26
- } from "./repository-kg06axw8.js";
26
+ } from "./location-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./repository-3q1jyqhd.js";
29
+ } from "./location-w79zsp0s.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./repository-e430f9b9.js";
34
+ } from "./location-ep6qtvyr.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./repository-6d8fecpc.js";
37
+ } from "./location-n8f3mzga.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./repository-eak6awrz.js";
41
+ } from "./location-ky1ech8t.js";
42
42
  import {
43
43
  estimate2
44
- } from "./repository-h6vf3j39.js";
44
+ } from "./location-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./repository-tdstcens.js";
49
+ } from "./location-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./repository-9rqn6x4v.js";
52
+ } from "./location-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service8,
57
+ Service: () => Service10,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer7,
62
- node: () => node11,
62
+ node: () => node13,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,10 +296,10 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
300
- const bus = yield* Service78;
299
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
300
+ const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
- const db = (yield* Service79).db;
302
+ const db = (yield* Service80).db;
303
303
  const state = create3({
304
304
  name: "session-compaction",
305
305
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -350,7 +350,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
350
350
  inputID: input.inputID,
351
351
  error: { type: "compaction.interrupted", message: "Compaction was interrupted" }
352
352
  }).pipe(Effect.asVoid) : Effect.void;
353
- const compactionRequest = (input, messages, prompt, webSocket) => {
353
+ const compactionRequest = (input, messages, webSocket) => {
354
354
  const context = input.context;
355
355
  const transcript = baseTranscript2({
356
356
  agent: context.agent.info,
@@ -367,8 +367,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
367
367
  system: transcript.system,
368
368
  messages: [
369
369
  ...transcript.messages,
370
- ...input.instructionUpdate ? [Message.system(input.instructionUpdate)] : [],
371
- ...prompt
370
+ ...input.instructionUpdate ? [Message.system(input.instructionUpdate)] : []
372
371
  ],
373
372
  webSocket
374
373
  });
@@ -383,7 +382,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
383
382
  inputID: input.inputID,
384
383
  error: { type: "provider.unsupported-operation", message }
385
384
  });
386
- const prepared = yield* compactionRequest(input, context.messages, [], "session");
385
+ const prepared = yield* compactionRequest(input, context.messages, "session");
387
386
  if (prepared.event.result) {
388
387
  yield* started(input, "");
389
388
  return yield* supplied(input, prepared.event.result, "");
@@ -457,21 +456,22 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
457
456
  }) : Effect.void);
458
457
  const previous = history.messages.findLast((message) => message.type === "compaction" && message.status === "completed");
459
458
  const legacy = previous?.summary.includes(LEGACY_HEADING) ?? false;
460
- const prepared = yield* compactionRequest(input, history.messages, [
461
- Message.user(buildPrompt2(previous !== undefined, legacy))
462
- ]);
459
+ const prepared = yield* compactionRequest(input, history.messages);
463
460
  if (prepared.event.result)
464
461
  return yield* supplied(input, prepared.event.result, history.recent);
462
+ const first = LLMRequest.update(prepared.request, {
463
+ messages: [...prepared.request.messages, Message.user(buildPrompt2(previous !== undefined, legacy))]
464
+ });
465
465
  const transient = transient2(yield* policy2(context.session.id), {
466
466
  agent: context.agent.id,
467
467
  model: context.model.ref,
468
468
  hook: prepared.retry
469
469
  });
470
470
  for (const request of [
471
- prepared.request,
472
- LLMRequest.update(prepared.request, {
471
+ first,
472
+ LLMRequest.update(first, {
473
473
  messages: [
474
- ...prepared.request.messages,
474
+ ...first.messages,
475
475
  Message.user("The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.")
476
476
  ]
477
477
  })
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
605
605
  }
606
606
  }));
607
607
  });
608
- return Service8.of({
608
+ return Service10.of({
609
609
  transform: state.transform,
610
610
  reload: state.reload,
611
611
  enabled: () => state.get().auto,
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
614
614
  compactManual
615
615
  });
616
616
  }));
617
- var node11 = makeLocationNode({
618
- service: Service8,
617
+ var node13 = makeLocationNode({
618
+ service: Service10,
619
619
  layer: layer7,
620
- deps: [node83, node84, llmClient2]
620
+ deps: [node84, node85, llmClient2]
621
621
  });
622
622
 
623
- export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction2 };
623
+ export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./repository-n10qepkx.js";
5
+ Service74
6
+ } from "./location-rwc534w8.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service73;
26
+ const location = yield* Service74;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./repository-gftt206x.js";
3
+ } from "./location-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};