@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,59 +1,59 @@
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
- Service51,
11
- node54
12
- } from "./repository-ef1q2dpz.js";
10
+ Service49,
11
+ node52
12
+ } from "./location-j69nrb2c.js";
13
13
  import {
14
- Service50,
15
- node53
16
- } from "./repository-hq8zt1th.js";
14
+ Service43,
15
+ node46
16
+ } from "./location-ve6nm2s5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./location-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./repository-yp2x3t23.js";
21
+ make15
22
+ } from "./location-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service47
26
- } from "./repository-embw8kgh.js";
25
+ Service41
26
+ } from "./location-zcrspsvn.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./repository-jv6862zv.js";
29
+ } from "./location-tm7ffpnn.js";
30
30
  import {
31
- Service69,
32
- node74
33
- } from "./repository-22cv5ye4.js";
31
+ Service68,
32
+ node73
33
+ } from "./location-ezedb5nb.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./repository-6d8fecpc.js";
36
+ } from "./location-n8f3mzga.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./repository-d4z2re2g.js";
39
+ } from "./location-y8f7dagd.js";
40
40
  import {
41
41
  __export
42
- } from "./repository-9rqn6x4v.js";
42
+ } from "./location-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service46,
47
+ Service: () => Service40,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer20,
50
- node: () => node50,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer16,
50
+ node: () => node44,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service46 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service40 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer20 = Layer.effect(Service46, Effect.gen(function* () {
69
- const store = yield* Service69;
70
- const instances = yield* Service50;
71
- const bus = yield* Service78;
72
- const jobs = yield* Service51;
73
- const db = (yield* Service79).db;
68
+ var layer16 = Layer.effect(Service40, Effect.gen(function* () {
69
+ const store = yield* Service68;
70
+ const instances = yield* Service43;
71
+ const bus = yield* Service79;
72
+ const jobs = yield* Service49;
73
+ const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,13 +82,13 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make16({
91
+ const coordinator = yield* make15({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service46.of({
112
+ return Service40.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node50 = makeGlobalNode({
132
- service: Service46,
133
- layer: layer20,
134
- deps: [node74, node53, node83, node84, node54]
131
+ var node44 = makeGlobalNode({
132
+ service: Service40,
133
+ layer: layer16,
134
+ deps: [node73, node46, node84, node85, node52]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
136
+ var noopLayer2 = Layer.succeed(Service40, Service40.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service46, terminal2, layer20, node50, noopLayer3, exports_execution };
145
+ export { Service40, terminal2, layer16, node44, noopLayer2, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./repository-922hggd3.js";
4
+ } from "./location-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./repository-377tdzm5.js";
7
+ } from "./location-ndmv45hp.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  ID16,
3
3
  Service72
4
- } from "./repository-vnasg3sb.js";
4
+ } from "./location-bndvft47.js";
5
5
  import {
6
- Service73
7
- } from "./repository-n10qepkx.js";
6
+ Service74
7
+ } from "./location-rwc534w8.js";
8
8
  import {
9
- Service44
10
- } from "./repository-6prpzt6f.js";
9
+ Service61
10
+ } from "./location-xcrbymt7.js";
11
11
  import {
12
- Service63,
12
+ Service78,
13
13
  args2
14
- } from "./repository-hm2ejha3.js";
14
+ } from "./location-qx0n0hnh.js";
15
15
  import {
16
- Service25
17
- } from "./repository-h83w2tz3.js";
16
+ Service22
17
+ } from "./location-q3d655mj.js";
18
18
  import {
19
- make5
20
- } from "./repository-ge8bh06a.js";
19
+ make10
20
+ } from "./location-9y8gg6zj.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./repository-5daktx2q.js";
23
+ } from "./location-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./repository-9rqn6x4v.js";
26
+ } from "./location-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin3
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin21
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin3 = define({
44
+ var Plugin21 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service44;
47
+ const config = yield* Service61;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin3 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service73;
57
+ const location = yield* Service74;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service63;
60
- const sessions = yield* Service25;
59
+ const shell = yield* Service78;
60
+ const sessions = yield* Service22;
61
61
  const agents = yield* Service72;
62
- const subagents = yield* make5;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin3, exports_command };
207
+ export { Plugin21, exports_command2 };
@@ -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
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./repository-2710q6r3.js";
8
+ } from "./location-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./repository-dpkg50ah.js";
11
+ } from "./location-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service78,
21
+ Service: () => Service79,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node83,
27
+ node: () => node84,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service78 extends Context.Service()("@opencode/Bus") {
79
+ class Service79 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service78,
84
- deps: [node84],
85
- layer: Layer.effect(Service78, Effect.gen(function* () {
83
+ service: Service79,
84
+ deps: [node85],
85
+ layer: Layer.effect(Service79, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service79;
96
+ const { db } = yield* Service80;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service78.of({
528
+ return Service79.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node83 = configured12();
542
+ var node84 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service78, configured12, node83, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-dpkg50ah.js";
3
+ } from "./location-dpkg50ah.js";
4
4
  import {
5
- Service64,
6
- node68
7
- } from "./repository-5tqrw2yw.js";
5
+ Service53,
6
+ node56
7
+ } from "./location-xaadjf4r.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service14,
17
- node: () => node17,
16
+ Service: () => Service13,
17
+ node: () => node16,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service14 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service14, Effect.gen(function* () {
38
- const environment = yield* Service64;
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
+ const environment = yield* Service53;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service14.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node17 = makeLocationNode({ service: Service14, layer, deps: [node68] });
61
+ var node16 = makeLocationNode({ service: Service13, layer, deps: [node56] });
62
62
 
63
- export { Service14, readText2, syncTextBom2, node17, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node16, exports_file_mutation };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service78
3
- } from "./repository-63xeamm2.js";
2
+ Service79
3
+ } from "./location-v7br46vm.js";
4
4
  import {
5
- ID12
6
- } from "./repository-30rg0n1z.js";
5
+ ID10
6
+ } from "./location-a24v126d.js";
7
7
  import {
8
- ID7
9
- } from "./repository-1erp3qqz.js";
8
+ ID9
9
+ } from "./location-4sr2v72b.js";
10
10
  import {
11
- Event16
12
- } from "./repository-32vktv6f.js";
11
+ Event17
12
+ } from "./location-ayhzktfb.js";
13
13
  import {
14
- ID8
15
- } from "./repository-pthssfs7.js";
14
+ ID6
15
+ } from "./location-ca9c6syk.js";
16
16
  import {
17
- Service57
18
- } from "./repository-c9bbz02c.js";
17
+ Service46
18
+ } from "./location-j556b5bm.js";
19
19
  import {
20
- get3
21
- } from "./repository-6xrkkq0p.js";
20
+ get2
21
+ } from "./location-f6t340ae.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
- var providerID = ID12.make("modal");
26
+ var providerID = ID10.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service57;
31
- const bus = yield* Service78;
30
+ const catalog = yield* Service46;
31
+ const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
34
34
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
47
47
  loaded.baseURL = baseURL;
48
48
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
49
49
  loaded.models = yield* Effect.tryPromise({
50
- try: () => get3(baseURL, apiKey, existing),
50
+ try: () => get2(baseURL, apiKey, existing),
51
51
  catch: (cause) => cause
52
52
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
53
53
  });
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID7.make(id)))
61
+ if (!loaded.models.has(ID9.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service50,
10
- node: () => node53
9
+ Service: () => Service43,
10
+ node: () => node46
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service50 extends Context.Service()("@opencode/Instance") {
16
+ class Service43 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
18
+ var node46 = LayerNode.unbound(Service43, Node.tags.values.global);
19
19
 
20
- export { Service50, node53, exports_service2 };
20
+ export { Service43, node46, exports_service2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./repository-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
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
- Service67
9
- } from "./repository-n0pr5v83.js";
8
+ Service66
9
+ } from "./location-gx10v58f.js";
10
10
  import {
11
- Service10
12
- } from "./repository-zm6r64bs.js";
11
+ Service11
12
+ } from "./location-yjdnpxry.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./repository-2a5m3afh.js";
15
+ } from "./location-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./repository-nbvm9kjy.js";
26
+ Service12
27
+ } from "./location-t45hv4wr.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./location-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin20,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin43,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
39
- toModelContent: () => toModelContent2
38
+ name: () => name11,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin20 = {
58
+ var Plugin43 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service67;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service66;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service73;
65
+ const location = yield* Service74;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin20 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name2, Input2, Plugin20, toModelContent2, exports_read };
183
+ export { name11, Input11, Plugin43, toModelContent6, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./repository-hjbc5kem.js";
3
+ } from "./location-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";