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

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{location-en58n665.js → generate-09atk14q.js} +10 -10
  9. package/dist/chunks/{location-m8nqv7st.js → generate-0ctcqb5r.js} +25 -25
  10. package/dist/chunks/{location-dyysx4dq.js → generate-0jkkj5x0.js} +6 -6
  11. package/dist/chunks/{location-m1y7e9ek.js → generate-0nzybmd6.js} +23 -23
  12. package/dist/chunks/{location-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-3af3sqg9.js → generate-0wtspe5f.js} +15 -15
  15. package/dist/chunks/{location-xshrq19q.js → generate-0xma9y6h.js} +16 -16
  16. package/dist/chunks/{location-1as6q9f6.js → generate-0yr4mqa9.js} +7 -7
  17. package/dist/chunks/{location-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{location-x80tm2rf.js → generate-1f4gyz0n.js} +18 -18
  19. package/dist/chunks/{location-gc9rycst.js → generate-1k2mzmz4.js} +7 -7
  20. package/dist/chunks/{location-qx0n0hnh.js → generate-1n9n5b3d.js} +19 -19
  21. package/dist/chunks/{location-bfrarwjs.js → generate-1p8pj4gq.js} +5 -5
  22. package/dist/chunks/{location-eewaj409.js → generate-1pscxtyc.js} +14 -14
  23. package/dist/chunks/{location-yryey8bw.js → generate-1qkyvz7t.js} +25 -25
  24. package/dist/chunks/{location-qycwybve.js → generate-1wj59nq5.js} +11 -11
  25. package/dist/chunks/{location-q17hktv8.js → generate-1yrdzb9h.js} +16 -16
  26. package/dist/chunks/{location-21r38tys.js → generate-21r38tys.js} +1 -1
  27. package/dist/chunks/{location-2402vzrj.js → generate-2402vzrj.js} +1 -1
  28. package/dist/chunks/{location-gvnbva7c.js → generate-27pxjv6r.js} +11 -11
  29. package/dist/chunks/{location-g7j46mhj.js → generate-282ycpdt.js} +11 -11
  30. package/dist/chunks/{location-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-hdmnnff5.js → generate-2gpyj5kx.js} +5 -5
  32. package/dist/chunks/{location-gs13a0mc.js → generate-2ktqxpjb.js} +56 -56
  33. package/dist/chunks/{location-qqs4xmxe.js → generate-2xsd6cxc.js} +54 -54
  34. package/dist/chunks/{location-1ygqh575.js → generate-33w4ejhs.js} +6 -6
  35. package/dist/chunks/{location-y14y9keq.js → generate-39pny36r.js} +1 -1
  36. package/dist/chunks/{location-w79zsp0s.js → generate-39r80e1r.js} +1 -1
  37. package/dist/chunks/{location-81swgkk7.js → generate-3e8pesde.js} +9 -9
  38. package/dist/chunks/{location-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-swabsky0.js → generate-3v0kbfet.js} +6 -6
  43. package/dist/chunks/{location-c0xs0mpv.js → generate-460qmyvt.js} +23 -23
  44. package/dist/chunks/{location-gw2vvezc.js → generate-46d75zpd.js} +9 -9
  45. package/dist/chunks/{location-8hg6030g.js → generate-49s5q05k.js} +14 -14
  46. package/dist/chunks/{location-ekvngk86.js → generate-4mef8aht.js} +7 -7
  47. package/dist/chunks/{location-2sc5vdwx.js → generate-4qftt0ad.js} +7 -7
  48. package/dist/chunks/{location-xaadjf4r.js → generate-4r6mae84.js} +24 -24
  49. package/dist/chunks/{location-829mfcx0.js → generate-4vz798w9.js} +9 -9
  50. package/dist/chunks/{location-t45hv4wr.js → generate-4w9k0mjw.js} +15 -15
  51. package/dist/chunks/{location-rmdyxgmk.js → generate-52fpbh6z.js} +8 -8
  52. package/dist/chunks/{location-ca9c6syk.js → generate-59jshr4n.js} +30 -30
  53. package/dist/chunks/{location-bte2cbsy.js → generate-5bsnye8q.js} +27 -27
  54. package/dist/chunks/{location-a1bz86dw.js → generate-5c4hm403.js} +3 -3
  55. package/dist/chunks/{location-5daktx2q.js → generate-5daktx2q.js} +1 -1
  56. package/dist/chunks/{location-f8hxd4bv.js → generate-5ks7kb4v.js} +20 -20
  57. package/dist/chunks/{location-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{location-yb440psp.js → generate-60a2mxse.js} +5 -5
  59. package/dist/chunks/{location-ep6qtvyr.js → generate-61b2b0jm.js} +30 -30
  60. package/dist/chunks/{location-pw9v3g6d.js → generate-64s65d1n.js} +5 -5
  61. package/dist/chunks/{location-669tq793.js → generate-669tq793.js} +1 -1
  62. package/dist/chunks/{location-yjdnpxry.js → generate-69kxc8pj.js} +19 -19
  63. package/dist/chunks/{location-y506eeqx.js → generate-6f6vgmrt.js} +17 -17
  64. package/dist/chunks/{location-hv4jntb9.js → generate-6g3dpzke.js} +18 -18
  65. package/dist/chunks/{location-hky8et6e.js → generate-6h2n816c.js} +18 -18
  66. package/dist/chunks/{location-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{location-h7jk4asw.js → generate-6q1acxff.js} +43 -43
  68. package/dist/chunks/{location-f6t340ae.js → generate-6ya4w7xv.js} +18 -18
  69. package/dist/chunks/{location-71q4at8m.js → generate-71q4at8m.js} +1 -1
  70. package/dist/chunks/{location-ppdy6qwe.js → generate-72nr9cry.js} +4 -4
  71. package/dist/chunks/{location-7b15y959.js → generate-7b15y959.js} +1 -1
  72. package/dist/chunks/{location-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{location-qvf5hp1t.js → generate-7d9ys0qb.js} +33 -33
  74. package/dist/chunks/{location-2k8khapm.js → generate-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{location-ax870rrv.js → generate-7gqemh59.js} +7 -7
  76. package/dist/chunks/{location-bndvft47.js → generate-7pfda458.js} +21 -21
  77. package/dist/chunks/{location-39s9xh8n.js → generate-7tnppf00.js} +16 -16
  78. package/dist/chunks/{location-etwfhkz9.js → generate-7wwfbcqc.js} +9 -9
  79. package/dist/chunks/{location-wknpsqf7.js → generate-81z6ssen.js} +30 -30
  80. package/dist/chunks/{location-tm7ffpnn.js → generate-83h91mzx.js} +6 -6
  81. package/dist/chunks/{location-410zfba8.js → generate-8467n133.js} +2 -2
  82. package/dist/chunks/{location-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{location-cj3c3by5.js → generate-8gkxrww8.js} +18 -18
  84. package/dist/chunks/{location-j0fb3yen.js → generate-8j9290cj.js} +26 -26
  85. package/dist/chunks/{location-3tbkqww7.js → generate-8yay56x4.js} +5 -5
  86. package/dist/chunks/{location-sdtwcfar.js → generate-92s5ptt1.js} +32 -32
  87. package/dist/chunks/{location-226tafxp.js → generate-96yt6zt0.js} +1 -1
  88. package/dist/chunks/{location-sst0ghmm.js → generate-98f102c3.js} +13 -13
  89. package/dist/chunks/{location-yz4r56ez.js → generate-99qv6bna.js} +23 -23
  90. package/dist/chunks/{location-4sr2v72b.js → generate-9bz2v5s0.js} +10 -10
  91. package/dist/chunks/{location-r8qagt8b.js → generate-9r6hh7kf.js} +17 -17
  92. package/dist/chunks/{location-aaet6srn.js → generate-aaet6srn.js} +2 -2
  93. package/dist/chunks/{location-rp7ht49k.js → generate-abw1kwbq.js} +39 -39
  94. package/dist/chunks/{location-k44by2q5.js → generate-adr43mc1.js} +21 -21
  95. package/dist/chunks/{location-vdpzq508.js → generate-aws7z9kx.js} +18 -18
  96. package/dist/chunks/{location-xgpdceje.js → generate-ay6pntn3.js} +24 -24
  97. package/dist/chunks/{location-03b5nb02.js → generate-aygt8q9r.js} +12 -12
  98. package/dist/chunks/{location-389stghd.js → generate-az4749a7.js} +11 -11
  99. package/dist/chunks/{location-n002fnqn.js → generate-azsc15mm.js} +46 -46
  100. package/dist/chunks/{location-q3d655mj.js → generate-b1xvncj7.js} +81 -81
  101. package/dist/chunks/{location-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{location-sycr0cxz.js → generate-b7rrt7yp.js} +26 -26
  103. package/dist/chunks/{location-b8q5k5sw.js → generate-b8ppthjy.js} +20 -20
  104. package/dist/chunks/{location-2xsh895f.js → generate-bny867va.js} +11 -11
  105. package/dist/chunks/{location-kpe4e0s9.js → generate-bp2j6a1f.js} +17 -17
  106. package/dist/chunks/{location-w08q9gc9.js → generate-bs2kgc24.js} +22 -22
  107. package/dist/chunks/{location-pzfzh42t.js → generate-c0y0jbg7.js} +15 -15
  108. package/dist/chunks/{location-zcrspsvn.js → generate-ca7w653e.js} +4 -4
  109. package/dist/chunks/{location-3t8eac1t.js → generate-cavr175a.js} +4 -4
  110. package/dist/chunks/{location-svv6qsvk.js → generate-ccmz1r19.js} +2 -2
  111. package/dist/chunks/{location-2qjvwhpy.js → generate-cdtwy1r3.js} +29 -29
  112. package/dist/chunks/{location-rp8jz6x1.js → generate-cpy6gm2a.js} +6 -6
  113. package/dist/chunks/{location-t268s8j2.js → generate-cv20tjt8.js} +14 -14
  114. package/dist/chunks/{location-rz6djy9m.js → generate-cysjstt0.js} +34 -34
  115. package/dist/chunks/{location-4pfqqkn9.js → generate-czz1mk0t.js} +25 -25
  116. package/dist/chunks/{location-bsj0k59k.js → generate-d18798dz.js} +29 -29
  117. package/dist/chunks/{location-tgnvbkra.js → generate-d9a9xnav.js} +20 -20
  118. package/dist/chunks/{location-n25jd2cw.js → generate-daf03bc6.js} +30 -30
  119. package/dist/chunks/{location-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
  120. package/dist/chunks/{location-k5jcx5w1.js → generate-dk6e62g5.js} +9 -9
  121. package/dist/chunks/{location-ezedb5nb.js → generate-dp5bsb0e.js} +12 -12
  122. package/dist/chunks/{location-y8z56cqz.js → generate-dpskyeh4.js} +24 -24
  123. package/dist/chunks/{location-ae9ptqg3.js → generate-e1rvn8vw.js} +4 -4
  124. package/dist/chunks/{location-2f0bjgcj.js → generate-e3mxans8.js} +5 -5
  125. package/dist/chunks/{location-cvaj0dbv.js → generate-eagyeves.js} +15 -15
  126. package/dist/chunks/{location-t072myer.js → generate-ebhw3mq4.js} +4 -4
  127. package/dist/chunks/{location-tgsqfs3c.js → generate-efqcpyxk.js} +39 -39
  128. package/dist/chunks/{location-ayhzktfb.js → generate-em4ar646.js} +30 -30
  129. package/dist/chunks/{location-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{location-bha4atvq.js → generate-evq6r5pz.js} +4 -4
  131. package/dist/chunks/{location-vhbmzvty.js → generate-ezt0m903.js} +24 -24
  132. package/dist/chunks/{location-zwsxqnjr.js → generate-f2daj8m5.js} +15 -15
  133. package/dist/chunks/{location-7j0rmcxv.js → generate-f8q7mv7a.js} +1 -1
  134. package/dist/chunks/{location-whhmk8k9.js → generate-fbyxhnwk.js} +11 -11
  135. package/dist/chunks/{location-5x0v6vja.js → generate-fgh0kbhd.js} +1 -1
  136. package/dist/chunks/{location-x7vckax8.js → generate-fq0va44m.js} +9 -9
  137. package/dist/chunks/{location-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{location-s6xwevjp.js → generate-fygdb7h7.js} +3 -3
  139. package/dist/chunks/{location-ent09bmt.js → generate-g6vpggfr.js} +4 -4
  140. package/dist/chunks/{location-1j70cen6.js → generate-gasky795.js} +24 -24
  141. package/dist/chunks/{location-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{location-pec4bm3r.js → generate-gjqr6zrn.js} +13 -13
  143. package/dist/chunks/{location-jbhgm1pg.js → generate-gp6jffzn.js} +13 -13
  144. package/dist/chunks/{location-mfpdf0ta.js → generate-gtq86vsq.js} +7 -7
  145. package/dist/chunks/{location-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
  146. package/dist/chunks/{location-4hyxw530.js → generate-h0hnsk02.js} +6 -6
  147. package/dist/chunks/{location-2hgjbaq7.js → generate-h1cbn5my.js} +4 -4
  148. package/dist/chunks/{location-y8f7dagd.js → generate-h1fvy1gd.js} +17 -17
  149. package/dist/chunks/{location-j26kwb45.js → generate-h5yrfjqd.js} +10 -10
  150. package/dist/chunks/{location-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{location-8s8mxddj.js → generate-h6z8d5tn.js} +4 -4
  152. package/dist/chunks/{location-gx10v58f.js → generate-hc7vzb2a.js} +18 -18
  153. package/dist/chunks/{location-f828m53h.js → generate-hdnk95c8.js} +2 -2
  154. package/dist/chunks/{location-a5z4fv32.js → generate-hp8a6key.js} +26 -26
  155. package/dist/chunks/{location-qdyxpk4m.js → generate-hr1ws8e2.js} +40 -40
  156. package/dist/chunks/{location-rpr7nt0p.js → generate-htw1ycyk.js} +11 -11
  157. package/dist/chunks/{location-j56e64zr.js → generate-j56e64zr.js} +1 -1
  158. package/dist/chunks/{location-zzqyq7ew.js → generate-j5nsxvak.js} +35 -35
  159. package/dist/chunks/{location-5vqd2904.js → generate-jesy7fcc.js} +17 -17
  160. package/dist/chunks/{location-vc5bk1c0.js → generate-jexg7ppr.js} +13 -13
  161. package/dist/chunks/{location-m0kbr7p9.js → generate-jp9jb5qe.js} +11 -11
  162. package/dist/chunks/{location-t96n3knx.js → generate-jqcr0tvq.js} +30 -30
  163. package/dist/chunks/{location-yt0fqk68.js → generate-jwbqhvyy.js} +5 -5
  164. package/dist/chunks/{location-f7ehr2sm.js → generate-jwx4y25k.js} +2 -2
  165. package/dist/chunks/{location-czkxp88d.js → generate-jxt422gf.js} +8 -8
  166. package/dist/chunks/{location-zxvgyezd.js → generate-k16ay38w.js} +1 -1
  167. package/dist/chunks/{location-9y8gg6zj.js → generate-k53abcyj.js} +8 -8
  168. package/dist/chunks/{location-cc10ch8m.js → generate-k7gbetc5.js} +20 -20
  169. package/dist/chunks/{location-ratrq7cm.js → generate-k8962brh.js} +7 -7
  170. package/dist/chunks/{location-kg06axw8.js → generate-kg06axw8.js} +1 -1
  171. package/dist/chunks/generate-kn2ed1ny.js +247 -0
  172. package/dist/chunks/{location-v542w56z.js → generate-kqphnfc4.js} +23 -23
  173. package/dist/chunks/{location-qgqfnjyk.js → generate-krm885fd.js} +86 -86
  174. package/dist/chunks/{location-srhw5zxk.js → generate-ks5znfvj.js} +8 -8
  175. package/dist/chunks/{location-ncaez7fb.js → generate-ksz0h0wp.js} +1 -1
  176. package/dist/chunks/{location-ky1ech8t.js → generate-ktppz2xf.js} +6 -6
  177. package/dist/chunks/{location-kyrbgmgz.js → generate-kyrbgmgz.js} +2 -2
  178. package/dist/chunks/{location-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
  179. package/dist/chunks/{location-ae99a08d.js → generate-m1sc7qpq.js} +4 -4
  180. package/dist/chunks/{location-a24v126d.js → generate-m27pyyd3.js} +8 -8
  181. package/dist/chunks/{location-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{location-ndmv45hp.js → generate-mf9m2v67.js} +3 -3
  183. package/dist/chunks/{location-paegk39x.js → generate-mfhfdr54.js} +4 -4
  184. package/dist/chunks/{location-3be754jd.js → generate-mfz1jzpf.js} +7 -7
  185. package/dist/chunks/{location-bpqahvg7.js → generate-mgx963cj.js} +8 -8
  186. package/dist/chunks/{location-eq1pz5kg.js → generate-mhkvc446.js} +3 -3
  187. package/dist/chunks/{location-bh19jbb0.js → generate-mj59rbhw.js} +6 -6
  188. package/dist/chunks/{location-mkcjrzeh.js → generate-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{location-16tb5cjj.js → generate-mkk216y0.js} +14 -14
  190. package/dist/chunks/{location-n8f3mzga.js → generate-mm4qk4sz.js} +4 -4
  191. package/dist/chunks/{location-aab08neh.js → generate-mmebaszg.js} +23 -23
  192. package/dist/chunks/{location-bvr2g14r.js → generate-mnv392bk.js} +11 -11
  193. package/dist/chunks/{location-29e0nmzb.js → generate-mxnz8za5.js} +20 -20
  194. package/dist/chunks/{location-qhs4rngb.js → generate-n48wz30s.js} +30 -30
  195. package/dist/chunks/{location-2wyd3ps6.js → generate-n76fdqym.js} +5 -5
  196. package/dist/chunks/{location-nhy5jxhy.js → generate-nhy5jxhy.js} +1 -1
  197. package/dist/chunks/{location-3bvf0a01.js → generate-njqcqwne.js} +32 -32
  198. package/dist/chunks/generate-nn82kedb.js +22 -0
  199. package/dist/chunks/{location-s138m409.js → generate-nyb0p7a8.js} +14 -14
  200. package/dist/chunks/{location-q7cq3y4p.js → generate-p2ms2xer.js} +46 -46
  201. package/dist/chunks/{location-96yrngjz.js → generate-p2r27tsk.js} +11 -11
  202. package/dist/chunks/{location-dwfyc9qf.js → generate-pggbgfqn.js} +11 -11
  203. package/dist/chunks/{location-bqs6z16n.js → generate-pjg5vxkm.js} +5 -5
  204. package/dist/chunks/{location-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-9tbtdqpf.js → generate-pkmfek68.js} +4 -4
  206. package/dist/chunks/{location-pknna89w.js → generate-pknna89w.js} +1 -1
  207. package/dist/chunks/{location-p6drjj8h.js → generate-q3pfqd80.js} +6 -6
  208. package/dist/chunks/{location-1q5awywt.js → generate-q4fmv0xv.js} +5 -5
  209. package/dist/chunks/{location-y2r22c8c.js → generate-qrfzss76.js} +63 -63
  210. package/dist/chunks/{location-qsdy395h.js → generate-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-6bsjh9v7.js → generate-qvj9tamg.js} +301 -301
  212. package/dist/chunks/{location-8q61w4ba.js → generate-r01t9b5y.js} +8 -8
  213. package/dist/chunks/{location-mk60nzq1.js → generate-r9babyk8.js} +1 -1
  214. package/dist/chunks/{location-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
  215. package/dist/chunks/{location-zeh9ct20.js → generate-rq775frq.js} +2 -2
  216. package/dist/chunks/{location-rwc534w8.js → generate-rqac2h8p.js} +17 -17
  217. package/dist/chunks/{location-07g0wp3c.js → generate-s13d9hm5.js} +41 -41
  218. package/dist/chunks/{location-k3zbr1bh.js → generate-s64cbx49.js} +7 -7
  219. package/dist/chunks/{location-56ek0vvh.js → generate-sex50t12.js} +13 -13
  220. package/dist/chunks/{location-j2p38w15.js → generate-sj0pg1d2.js} +46 -46
  221. package/dist/chunks/{location-j556b5bm.js → generate-srkwgq29.js} +25 -25
  222. package/dist/chunks/{location-58gxdv9m.js → generate-ss43wqfj.js} +12 -12
  223. package/dist/chunks/{location-m86bnw2c.js → generate-sw3r3x1t.js} +9 -9
  224. package/dist/chunks/{location-wb8znxk9.js → generate-sygp3w95.js} +9 -9
  225. package/dist/chunks/{location-fjmrr6sh.js → generate-t0x5rdq8.js} +9 -9
  226. package/dist/chunks/{location-pfwdjrz4.js → generate-t7z3zppm.js} +2 -2
  227. package/dist/chunks/{location-29arvqx0.js → generate-ta4djbce.js} +170 -170
  228. package/dist/chunks/{location-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-tdstcens.js → generate-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-kg1vvjz6.js → generate-tqfej29b.js} +16 -16
  232. package/dist/chunks/{location-2x8aavte.js → generate-tqskq136.js} +8 -8
  233. package/dist/chunks/{location-sq0fsqh3.js → generate-tqw8zxxy.js} +11 -11
  234. package/dist/chunks/{location-tvtrv512.js → generate-tvtrv512.js} +1 -1
  235. package/dist/chunks/{location-7smaqcb0.js → generate-v0k42p31.js} +18 -18
  236. package/dist/chunks/{location-hnr5yq9h.js → generate-v5hpcsb0.js} +5 -5
  237. package/dist/chunks/{location-b33xe3vz.js → generate-v894zy29.js} +22 -22
  238. package/dist/chunks/{location-889pe7d8.js → generate-vd9xqktw.js} +46 -46
  239. package/dist/chunks/{location-3j8sdtpz.js → generate-ve4pfa0n.js} +4 -4
  240. package/dist/chunks/{location-veqvce7d.js → generate-veqvce7d.js} +1 -1
  241. package/dist/chunks/generate-vnkjks7b.js +18 -0
  242. package/dist/chunks/{location-bde8na58.js → generate-vxqvp5m2.js} +29 -29
  243. package/dist/chunks/{location-nxjhxkv3.js → generate-vyj892hr.js} +12 -12
  244. package/dist/chunks/{location-b1chm04x.js → generate-vyqn3nqs.js} +9 -9
  245. package/dist/chunks/{location-e8ne3dpa.js → generate-vyxhsqdc.js} +20 -20
  246. package/dist/chunks/{location-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{location-ve6nm2s5.js → generate-vzm76b3t.js} +6 -6
  248. package/dist/chunks/{location-czmgezh1.js → generate-w0vj055n.js} +24 -24
  249. package/dist/chunks/{location-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-wd87259q.js → generate-wd87259q.js} +1 -1
  251. package/dist/chunks/{location-wh6nx8gk.js → generate-wdgp3mgb.js} +4 -4
  252. package/dist/chunks/{location-xv590yw7.js → generate-wfvawqgc.js} +24 -24
  253. package/dist/chunks/{location-8m3d2bhh.js → generate-wy2fjyd3.js} +8 -8
  254. package/dist/chunks/{location-h8ja802q.js → generate-wzymtbz6.js} +4 -4
  255. package/dist/chunks/{location-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{location-x43y2vfs.js → generate-x43y2vfs.js} +2 -2
  257. package/dist/chunks/{location-c03trhyz.js → generate-x4x0qw1a.js} +24 -24
  258. package/dist/chunks/{location-wx89x9gj.js → generate-xj0bxjy7.js} +17 -17
  259. package/dist/chunks/{location-e61xx2n8.js → generate-xnpbk0pc.js} +5 -5
  260. package/dist/chunks/{location-gzg98a5d.js → generate-xvaj3ykh.js} +6 -6
  261. package/dist/chunks/{location-tmbxdmay.js → generate-xz2sz7jr.js} +38 -38
  262. package/dist/chunks/{location-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{location-s6g7bkfa.js → generate-y24frd6r.js} +11 -11
  264. package/dist/chunks/{location-szfjwb31.js → generate-y60800f4.js} +3 -3
  265. package/dist/chunks/{location-dpkg50ah.js → generate-y71avatq.js} +4 -4
  266. package/dist/chunks/{location-1jk276m1.js → generate-yayba5wy.js} +3 -3
  267. package/dist/chunks/{location-yddgxcp4.js → generate-yddgxcp4.js} +2 -2
  268. package/dist/chunks/{location-qxqbfyt6.js → generate-ygw6154k.js} +31 -31
  269. package/dist/chunks/{location-141fpr1p.js → generate-yjaa8gp1.js} +27 -27
  270. package/dist/chunks/{location-f2n192rq.js → generate-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{location-t5d3pp3j.js → generate-ypf30vrs.js} +17 -17
  272. package/dist/chunks/{location-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{location-yrznvahk.js → generate-yrznvahk.js} +2 -2
  274. package/dist/chunks/{location-th5km1p3.js → generate-yyb7tjpc.js} +5 -5
  275. package/dist/chunks/{location-kjtkant2.js → generate-yycwsgqa.js} +10 -10
  276. package/dist/chunks/{location-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{location-5rp8v4vz.js → generate-z5f02dmr.js} +19 -19
  278. package/dist/chunks/{location-z63w68vq.js → generate-z63w68vq.js} +2 -2
  279. package/dist/chunks/{location-dchs2g52.js → generate-z69s9t6b.js} +5 -5
  280. package/dist/chunks/{location-psg6js8p.js → generate-zkpb4mnd.js} +27 -27
  281. package/dist/chunks/{location-j69nrb2c.js → generate-zmcvkbyh.js} +17 -17
  282. package/dist/chunks/{location-hvpzgxgs.js → generate-znesh5ka.js} +9 -9
  283. package/dist/chunks/{location-xcrbymt7.js → generate-zpja4yre.js} +43 -43
  284. package/dist/chunks/{location-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-v7br46vm.js → generate-ztcv1eyd.js} +4 -4
  286. package/dist/chunks/{location-v4t0dn9g.js → generate-zv3e7t68.js} +2 -2
  287. package/dist/chunks/{location-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  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 +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  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 +124 -124
  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 +118 -118
  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 +115 -115
  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 +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +74 -74
  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 +3 -3
  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 +68 -68
  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 +220 -220
  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 +15 -15
  423. package/dist/filesystem.js +98 -98
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +93 -93
  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 +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +5 -5
  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 +130 -130
  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 +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +101 -101
  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 +6 -6
  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 +108 -108
  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 +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +1 -1
  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 +5 -5
  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 +115 -115
  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 +115 -115
  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 +68 -68
  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 +2 -2
  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 +5 -5
  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 +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +7 -7
  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 +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  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 +129 -129
  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 +216 -216
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +84 -84
  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 +225 -225
  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 +167 -167
  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 +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +149 -149
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +103 -103
  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 +121 -121
  629. package/dist/tool/plugin/edit.js +113 -113
  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 +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +109 -109
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +102 -102
  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 +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  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 +13 -13
  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 +5 -5
  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 +7 -7
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  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 +3 -3
  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 +82 -82
  675. package/dist/wellknown/plugin.js +72 -72
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +7 -7
  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/location-4v7qdvcn.js +0 -18
  687. package/dist/chunks/location-a0etbwks.js +0 -22
  688. package/dist/chunks/location-w850rf70.js +0 -247
  689. /package/dist/chunks/{location-0mesazry.js → generate-0mesazry.js} +0 -0
  690. /package/dist/chunks/{location-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{location-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{location-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{location-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{location-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{location-2710q6r3.js → generate-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{location-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{location-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{location-359p4xyc.js → generate-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{location-3asan66x.js → generate-3asan66x.js} +0 -0
  700. /package/dist/chunks/{location-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{location-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{location-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{location-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{location-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{location-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{location-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{location-53557ph1.js → generate-53557ph1.js} +0 -0
  708. /package/dist/chunks/{location-550bvhaj.js → generate-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{location-6prwharc.js → generate-6prwharc.js} +0 -0
  710. /package/dist/chunks/{location-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-7m9af43g.js → generate-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-822emrt2.js → generate-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{location-8n3pysct.js → generate-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{location-922hggd3.js → generate-922hggd3.js} +0 -0
  716. /package/dist/chunks/{location-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{location-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{location-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{location-af5trqkr.js → generate-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{location-afrmfg78.js → generate-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{location-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{location-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{location-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{location-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{location-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{location-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{location-d9fn303g.js → generate-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{location-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{location-dajrwvna.js → generate-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{location-dap0rakb.js → generate-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{location-df08tz66.js → generate-df08tz66.js} +0 -0
  732. /package/dist/chunks/{location-dy18nga0.js → generate-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{location-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{location-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{location-ec1grn59.js → generate-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{location-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{location-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{location-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{location-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{location-faypxj3z.js → generate-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{location-fd410y7t.js → generate-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{location-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{location-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{location-g86h250q.js → generate-g86h250q.js} +0 -0
  745. /package/dist/chunks/{location-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{location-gftt206x.js → generate-gftt206x.js} +0 -0
  747. /package/dist/chunks/{location-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{location-hk9envan.js → generate-hk9envan.js} +0 -0
  749. /package/dist/chunks/{location-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{location-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{location-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{location-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{location-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{location-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{location-mp448xyj.js → generate-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{location-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{location-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{location-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{location-njntx4h6.js → generate-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{location-paphc93g.js → generate-paphc93g.js} +0 -0
  761. /package/dist/chunks/{location-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{location-q74kybfr.js → generate-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{location-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{location-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{location-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{location-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{location-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{location-twg0f83k.js → generate-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{location-w803qqfp.js → generate-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{location-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{location-wtztk69x.js → generate-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{location-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{location-x61499pn.js → generate-x61499pn.js} +0 -0
  777. /package/dist/chunks/{location-y44na4kk.js → generate-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{location-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{location-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-ym463w8f.js → generate-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./location-qqs4xmxe.js";
3
+ } from "./generate-2xsd6cxc.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin10
12
+ Plugin: () => Plugin22
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin10 = define({
32
+ var Plugin22 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin10, exports_plan };
109
+ export { Plugin22, exports_plan };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service61
4
- } from "./location-xcrbymt7.js";
3
+ Service50
4
+ } from "./generate-zpja4yre.js";
5
5
  import {
6
- Service78
7
- } from "./location-qx0n0hnh.js";
6
+ Service48
7
+ } from "./generate-1n9n5b3d.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-qsdy395h.js";
10
+ } from "./generate-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell = {};
17
- __export(exports_shell, {
18
- ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin18
16
+ var exports_shell2 = {};
17
+ __export(exports_shell2, {
18
+ ConfigShellPlugin: () => exports_shell2,
19
+ Plugin: () => Plugin41
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin18 = define({
23
+ var Plugin41 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service61;
27
- const shell = yield* Service78;
26
+ const config = yield* Service50;
27
+ const shell = yield* Service48;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin18 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin18, exports_shell };
37
+ export { Plugin41, exports_shell2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./location-5t3nmthw.js";
3
+ } from "./generate-5t3nmthw.js";
4
4
  import {
5
- Service45,
6
- node48
7
- } from "./location-tgsqfs3c.js";
5
+ Service70,
6
+ node75
7
+ } from "./generate-efqcpyxk.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./generate-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service21,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer10,
20
- node: () => node25
17
+ Service: () => Service69,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer22,
20
+ node: () => node74
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service21 extends Context.Service()("@opencode/Generate") {
36
+ class Service69 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer10 = Layer.effect(Service21, Effect.gen(function* () {
38
+ var layer22 = Layer.effect(Service69, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service45;
40
+ const resolver = yield* Service70;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -45,28 +45,28 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError",
46
46
  "SessionRunnerModel.UnsupportedCompactionError"
47
47
  ], (error) => {
48
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
48
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
49
49
  return Effect.fail(mapped);
50
50
  }));
51
51
  if (!resolved)
52
52
  return yield* new ModelSelectionError2({
53
53
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
54
54
  });
55
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
55
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
56
56
  message: error.message,
57
57
  service: resolved.ref.providerID
58
58
  })));
59
59
  return response.text;
60
60
  });
61
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service21.of({ text });
64
+ return Service69.of({ text });
65
65
  }));
66
- var node25 = makeLocationNode({
67
- service: Service21,
68
- layer: layer10,
69
- deps: [node48, llmClient2]
66
+ var node74 = makeLocationNode({
67
+ service: Service69,
68
+ layer: layer22,
69
+ deps: [node75, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError2, Service21, layer10, node25, exports_generate };
72
+ export { ModelSelectionError2, UnavailableError3, Service69, layer22, node74, exports_generate2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer21,
12
- make: () => make18,
13
- node: () => node57,
10
+ configured: () => configured9,
11
+ layer: () => layer20,
12
+ make: () => make19,
13
+ node: () => node56,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make18()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make18(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make18(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node57 = configured6();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node56 = configured9();
34
34
 
35
- export { Metadata2, make18, useragent2, layer21, configured6, node57, exports_app };
35
+ export { Metadata2, make19, useragent2, layer20, configured9, node56, exports_app };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./location-v7br46vm.js";
3
+ } from "./generate-ztcv1eyd.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./location-ayhzktfb.js";
6
+ Event18
7
+ } from "./generate-em4ar646.js";
8
8
  import {
9
- ID6,
9
+ ID14,
10
10
  MethodID2
11
- } from "./location-ca9c6syk.js";
11
+ } from "./generate-59jshr4n.js";
12
12
  import {
13
- ID10,
13
+ ID18,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./location-a24v126d.js";
16
+ } from "./generate-m27pyyd3.js";
17
17
  import {
18
- ID4,
19
- Input13,
18
+ ID17,
19
+ Input14,
20
20
  Response2
21
- } from "./location-m8nqv7st.js";
21
+ } from "./generate-0ctcqb5r.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID17
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID6.make("opencode"),
57
+ integrationID: ID14.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID6.make("opencode");
128
+ provider.integrationID = ID14.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID10.opencode);
191
+ const item = catalog.provider.get(ID18.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service61
3
- } from "./location-xcrbymt7.js";
2
+ Service50
3
+ } from "./generate-zpja4yre.js";
4
4
  import {
5
- Service7
6
- } from "./location-fjmrr6sh.js";
5
+ Service12
6
+ } from "./generate-t0x5rdq8.js";
7
7
  import {
8
8
  observe2
9
- } from "./location-qsdy395h.js";
9
+ } from "./generate-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin16
18
+ Plugin: () => Plugin42
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin16 = define({
22
+ var Plugin42 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service61;
26
- const policy = yield* Service7;
25
+ const config = yield* Service50;
26
+ const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin16 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin16, exports_location_watcher2 };
38
+ export { Plugin42, exports_location_watcher2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./location-v7br46vm.js";
3
+ } from "./generate-ztcv1eyd.js";
4
4
  import {
5
- Service74
6
- } from "./location-rwc534w8.js";
5
+ Service65
6
+ } from "./generate-rqac2h8p.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service34
10
- } from "./location-j2p38w15.js";
9
+ Service29
10
+ } from "./generate-sj0pg1d2.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin12
19
+ Plugin: () => Plugin26
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin12 = define({
196
+ var Plugin26 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service74;
200
- const mcp = yield* Service34;
199
+ const location = yield* Service65;
200
+ const mcp = yield* Service29;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin12, exports_command };
283
+ export { Plugin26, exports_command };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./location-zr2ceqn5.js";
3
+ } from "./generate-zr2ceqn5.js";
4
4
  import {
5
- Service62
6
- } from "./location-b33xe3vz.js";
5
+ Service51
6
+ } from "./generate-v894zy29.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
25
  var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service62;
26
+ const watcher = yield* Service51;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-1jk276m1.js";
4
+ } from "./generate-yayba5wy.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./location-v7br46vm.js";
8
+ } from "./generate-ztcv1eyd.js";
9
9
  import {
10
- Service43,
11
- node46
12
- } from "./location-ve6nm2s5.js";
10
+ Service34,
11
+ node37
12
+ } from "./generate-vzm76b3t.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./location-922hggd3.js";
16
+ } from "./generate-922hggd3.js";
17
17
  import {
18
- Service75,
19
- node80
20
- } from "./location-07g0wp3c.js";
18
+ Service66,
19
+ node70
20
+ } from "./generate-s13d9hm5.js";
21
21
  import {
22
- Ref4
23
- } from "./location-rwc534w8.js";
22
+ Ref2
23
+ } from "./generate-rqac2h8p.js";
24
24
  import {
25
- Service51,
26
- node54
27
- } from "./location-nxjhxkv3.js";
25
+ Service38,
26
+ node41
27
+ } from "./generate-vyj892hr.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./location-gftt206x.js";
30
+ } from "./generate-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./location-tm7ffpnn.js";
32
+ NotFoundError7
33
+ } from "./generate-83h91mzx.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./location-ec1grn59.js";
36
+ } from "./generate-ec1grn59.js";
37
37
  import {
38
- Service41
39
- } from "./location-zcrspsvn.js";
38
+ Service33
39
+ } from "./generate-ca7w653e.js";
40
40
  import {
41
- Service68,
42
- node73
43
- } from "./location-ezedb5nb.js";
41
+ Service59,
42
+ node63
43
+ } from "./generate-dp5bsb0e.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service42,
48
- node45,
47
+ Service35,
48
+ node38,
49
49
  moveIDs2
50
- } from "./location-y8f7dagd.js";
50
+ } from "./generate-h1fvy1gd.js";
51
51
  import {
52
- Service40,
53
- node44
54
- } from "./location-tmbxdmay.js";
52
+ Service32,
53
+ node36
54
+ } from "./generate-xz2sz7jr.js";
55
55
  import {
56
- node28
57
- } from "./location-kg1vvjz6.js";
56
+ node26
57
+ } from "./generate-tqfej29b.js";
58
58
  import {
59
59
  __export
60
- } from "./location-9rqn6x4v.js";
60
+ } from "./generate-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service23,
68
+ Service: () => Service18,
69
69
  SessionMove: () => exports_move,
70
- node: () => node27
70
+ node: () => node22
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service23 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service18 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service23, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service75;
92
- const locations = yield* Service51;
93
- const store = yield* Service68;
94
- const execution = yield* Service40;
95
- const instances = yield* Service43;
96
- const admission = yield* Service42;
91
+ const projects = yield* Service66;
92
+ const locations = yield* Service38;
93
+ const store = yield* Service59;
94
+ const execution = yield* Service32;
95
+ const instances = yield* Service34;
96
+ const admission = yield* Service35;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref2.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service33.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service23.of({
136
+ return Service18.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node27 = makeGlobalNode({
167
- service: Service23,
166
+ var node22 = makeGlobalNode({
167
+ service: Service18,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node80,
173
- node54,
174
- node73,
175
- node44,
176
- node46,
177
- node45,
172
+ node70,
173
+ node41,
174
+ node63,
175
+ node36,
176
+ node37,
177
+ node38,
178
178
  node85,
179
179
  node84,
180
- node28
180
+ node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node27, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node22, exports_move };