@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,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node85
7
- } from "./repository-tfwap27p.js";
6
+ node81
7
+ } from "./location-j26kwb45.js";
8
8
  import {
9
9
  ID18
10
- } from "./repository-pzkk0785.js";
10
+ } from "./location-81swgkk7.js";
11
11
  import {
12
12
  Slug2
13
- } from "./repository-gebd4c9n.js";
13
+ } from "./location-gebd4c9n.js";
14
+ import {
15
+ Service80,
16
+ node85
17
+ } from "./location-1jk276m1.js";
14
18
  import {
15
19
  Service79,
16
20
  node84
17
- } from "./repository-c66sb1ac.js";
18
- import {
19
- Service78,
20
- node83
21
- } from "./repository-63xeamm2.js";
21
+ } from "./location-v7br46vm.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./repository-dj2t23y0.js";
24
+ } from "./location-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./repository-m0jqrx5p.js";
27
+ } from "./location-cfpkc3c9.js";
28
28
  import {
29
- Service73,
30
- node78
31
- } from "./repository-n10qepkx.js";
29
+ Service74,
30
+ node79
31
+ } from "./location-rwc534w8.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical2
35
- } from "./repository-gv6a8nnw.js";
34
+ canonical3
35
+ } from "./location-th5km1p3.js";
36
36
  import {
37
- make12
38
- } from "./repository-xmmda1hq.js";
37
+ make19
38
+ } from "./location-m0kbr7p9.js";
39
39
  import {
40
40
  create3
41
- } from "./repository-kg06axw8.js";
41
+ } from "./location-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./repository-9rqn6x4v.js";
44
+ } from "./location-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event6,
53
- Info: () => Info5,
52
+ Event: () => Event13,
53
+ Info: () => Info10,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service23,
60
+ Service: () => Service54,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node27
66
+ node: () => node58
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info5 = Worktree.Info;
85
+ var Info10 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event6 = Worktree.Event;
103
+ var Event13 = Worktree.Event;
104
104
 
105
- class Service23 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service54 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service23, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
- const database = yield* Service79;
109
+ const database = yield* Service80;
110
110
  const db = database.db;
111
- const bus = yield* Service78;
111
+ const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service73;
113
+ const location = yield* Service74;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make12;
117
+ const gitStrategy = yield* make19;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event6.Updated, { projectID });
138
+ yield* bus.publish(Event13.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical2(fs, sourceDirectory);
164
+ const resolved = yield* canonical3(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical2(fs, created.directory) };
196
+ const result = { directory: yield* canonical3(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical2(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical3(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service23.of({
260
+ return Service54.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node27 = makeLocationNode({
273
- service: Service23,
272
+ var node58 = makeLocationNode({
273
+ service: Service54,
274
274
  layer,
275
- deps: [FSUtil.node, node85, node83, node84, AppProcess.node, node78, Global.node]
275
+ deps: [FSUtil.node, node81, node84, node85, AppProcess.node, node79, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service23, node27, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event13, Service54, node58, exports_worktree2, OperationError2 };
@@ -1,111 +1,111 @@
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
  ID16,
7
7
  Service72,
8
8
  node77
9
- } from "./repository-vnasg3sb.js";
9
+ } from "./location-bndvft47.js";
10
10
  import {
11
- Service57,
12
- node61
13
- } from "./repository-c9bbz02c.js";
11
+ Service46,
12
+ node49
13
+ } from "./location-j556b5bm.js";
14
14
  import {
15
15
  combine2
16
- } from "./repository-eaj1djv9.js";
16
+ } from "./location-eaj1djv9.js";
17
17
  import {
18
- make15
19
- } from "./repository-3fqa324q.js";
18
+ make13
19
+ } from "./location-rpr7nt0p.js";
20
20
  import {
21
- Service41,
22
- node45
23
- } from "./repository-t8n3h3je.js";
21
+ Service48,
22
+ node51
23
+ } from "./location-m1y7e9ek.js";
24
24
  import {
25
- Service73,
26
- node78
27
- } from "./repository-n10qepkx.js";
25
+ Service74,
26
+ node79
27
+ } from "./location-rwc534w8.js";
28
28
  import {
29
- Service37,
30
- node41
31
- } from "./repository-1vy40y6q.js";
29
+ Service27,
30
+ node32
31
+ } from "./location-5rp8v4vz.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./repository-jv6862zv.js";
34
+ } from "./location-tm7ffpnn.js";
35
35
  import {
36
36
  provenance2
37
- } from "./repository-1hc11dc4.js";
37
+ } from "./location-paegk39x.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./repository-qn8pfh7t.js";
41
- import {
42
- Service69,
43
- node74
44
- } from "./repository-22cv5ye4.js";
40
+ } from "./location-2x8aavte.js";
45
41
  import {
46
- Service39,
47
- node43
48
- } from "./repository-k0e0jm40.js";
42
+ Service68,
43
+ node73
44
+ } from "./location-ezedb5nb.js";
49
45
  import {
50
- Service34,
51
- node38
52
- } from "./repository-bzkpjw1k.js";
46
+ Service50,
47
+ node53
48
+ } from "./location-czmgezh1.js";
53
49
  import {
54
50
  Service33,
55
51
  node37
56
- } from "./repository-7yqt39ht.js";
52
+ } from "./location-bde8na58.js";
57
53
  import {
58
- Service36,
59
- node40
60
- } from "./repository-a7bm1a35.js";
54
+ Service30,
55
+ node34
56
+ } from "./location-4pfqqkn9.js";
61
57
  import {
62
- Service27,
58
+ Service26,
63
59
  node31
64
- } from "./repository-ypfk9d9x.js";
65
- import {
66
- Service31,
67
- node36
68
- } from "./repository-6cnk2f7j.js";
60
+ } from "./location-f8hxd4bv.js";
69
61
  import {
70
62
  Service28,
71
- node32
72
- } from "./repository-e430f9b9.js";
63
+ node33
64
+ } from "./location-x80tm2rf.js";
73
65
  import {
74
- Service48,
75
- node51
76
- } from "./repository-5637d424.js";
66
+ Service25,
67
+ node30
68
+ } from "./location-wx89x9gj.js";
69
+ import {
70
+ Service31,
71
+ node35
72
+ } from "./location-ep6qtvyr.js";
73
+ import {
74
+ Service44,
75
+ node47
76
+ } from "./location-56ek0vvh.js";
77
77
  import {
78
78
  __export
79
- } from "./repository-9rqn6x4v.js";
79
+ } from "./location-9rqn6x4v.js";
80
80
 
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service26,
84
+ Service: () => Service24,
85
85
  SessionContext: () => exports_context,
86
- node: () => node30
86
+ node: () => node29
87
87
  });
88
88
  import { Model } from "@opencode/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode/util/effect/app-node";
91
- class Service26 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service24 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service26, Effect.gen(function* () {
93
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
94
94
  const agents = yield* Service72;
95
- const builtins = yield* Service37;
96
- const catalog = yield* Service57;
97
- const db = (yield* Service79).db;
98
- const discovery = yield* Service41;
99
- const entries = yield* Service31;
100
- const location = yield* Service73;
101
- const mcpInstructions = yield* Service33;
102
- const mcpTools = yield* Service34;
103
- const models = yield* Service48;
104
- const request = yield* Service28;
105
- const referenceInstructions = yield* Service36;
106
- const skillInstructions = yield* Service27;
107
- const store = yield* Service69;
108
- const registry = yield* Service39;
95
+ const builtins = yield* Service27;
96
+ const catalog = yield* Service46;
97
+ const db = (yield* Service80).db;
98
+ const discovery = yield* Service48;
99
+ const entries = yield* Service25;
100
+ const location = yield* Service74;
101
+ const mcpInstructions = yield* Service30;
102
+ const mcpTools = yield* Service33;
103
+ const models = yield* Service44;
104
+ const request = yield* Service31;
105
+ const referenceInstructions = yield* Service26;
106
+ const skillInstructions = yield* Service28;
107
+ const store = yield* Service68;
108
+ const registry = yield* Service50;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
111
  const agent = yield* agents.get(ID16.make("title"));
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
161
161
  agent: { ...agent, info: agent.info },
162
162
  instructions: combine2([
163
163
  loaded.builtins,
164
- make15(loaded.tools.codeModeCatalog),
164
+ make13(loaded.tools.codeModeCatalog),
165
165
  loaded.discovery,
166
166
  loaded.skills,
167
167
  loaded.references,
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service26.of({ select, load, resolveModel, selectTitle, request });
186
+ return Service24.of({ select, load, resolveModel, selectTitle, request });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node30 = makeLocationNode({
190
- service: Service26,
189
+ var node29 = makeLocationNode({
190
+ service: Service24,
191
191
  layer,
192
192
  deps: [
193
193
  node77,
194
- node61,
195
- node84,
196
- node41,
197
- node45,
198
- node36,
199
- node78,
200
- node37,
201
- node38,
202
- node40,
203
- node51,
194
+ node49,
195
+ node85,
204
196
  node32,
205
- node74,
197
+ node51,
198
+ node30,
199
+ node79,
200
+ node34,
201
+ node37,
206
202
  node31,
207
- node43
203
+ node47,
204
+ node35,
205
+ node73,
206
+ node33,
207
+ node53
208
208
  ]
209
209
  });
210
210
 
211
- export { Service26, node30, exports_context };
211
+ export { Service24, node29, exports_context };
@@ -1,31 +1,31 @@
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
8
- } from "./repository-1erp3qqz.js";
7
+ ID9
8
+ } from "./location-4sr2v72b.js";
9
9
  import {
10
- Service78
11
- } from "./repository-63xeamm2.js";
10
+ Service79
11
+ } from "./location-v7br46vm.js";
12
12
  import {
13
13
  OAuth3,
14
- Event16
15
- } from "./repository-32vktv6f.js";
14
+ Event17
15
+ } from "./location-ayhzktfb.js";
16
16
  import {
17
- ID8,
17
+ ID6,
18
18
  MethodID2
19
- } from "./repository-pthssfs7.js";
19
+ } from "./location-ca9c6syk.js";
20
20
  import {
21
- Service57
22
- } from "./repository-c9bbz02c.js";
21
+ Service46
22
+ } from "./location-j556b5bm.js";
23
23
  import {
24
- get2
25
- } from "./repository-y1336hgx.js";
24
+ get3
25
+ } from "./location-y506eeqx.js";
26
26
  import {
27
27
  useragent2
28
- } from "./repository-9jzdmgrd.js";
28
+ } from "./location-qycwybve.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID8.make("github-copilot"),
60
+ integrationID: ID6.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service57;
159
- const bus = yield* Service78;
158
+ const catalog = yield* Service46;
159
+ const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID12.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID12.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID10.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID10.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get2(loaded.baseURL ?? baseURL(), {
176
+ try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID12.githubCopilot);
190
+ const item = evt.provider.get(ID10.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID7.make(id)))
195
+ if (!loaded.models.has(ID9.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID7.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID7.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID9.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID9.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID12.githubCopilot)
220
+ if (evt.model.providerID !== ID10.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID12.githubCopilot)
229
+ if (evt.model.providerID !== ID10.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID12.githubCopilot });
239
+ }), { providerID: ID10.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID12.githubCopilot)
241
+ if (evt.model.providerID !== ID10.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID12.githubCopilot });
249
+ }), { providerID: ID10.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID12.githubCopilot)
251
+ if (evt.model.providerID !== ID10.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);