@opencode/core 0.0.0-dev-19461 → 0.0.0-dev-19462

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-e02shwjk.js → repository-06fb0e13.js} +43 -43
  9. package/dist/chunks/{location-0ajdgxne.js → repository-0ajdgxne.js} +2 -2
  10. package/dist/chunks/{location-g0m9gjz9.js → repository-0df5qb80.js} +52 -52
  11. package/dist/chunks/{location-4nkvv82w.js → repository-0e6dpvm0.js} +9 -9
  12. package/dist/chunks/{location-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-tgcnfkqc.js → repository-0psa96yy.js} +25 -25
  14. package/dist/chunks/{location-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-b4phpgjh.js → repository-0q56t1d9.js} +10 -10
  16. package/dist/chunks/{location-jhetwysa.js → repository-18cztcj7.js} +3 -3
  17. package/dist/chunks/{location-qq11w61w.js → repository-1a6p2twq.js} +4 -4
  18. package/dist/chunks/{location-en74w496.js → repository-1ah30sey.js} +5 -5
  19. package/dist/chunks/{location-eq1pz5kg.js → repository-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{location-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-z8y5r8b4.js → repository-1h7x1mz2.js} +20 -20
  22. package/dist/chunks/{location-e37jza6a.js → repository-1jp9w2wz.js} +3 -3
  23. package/dist/chunks/{location-29cddch4.js → repository-1mv714b0.js} +38 -38
  24. package/dist/chunks/{location-awbtvej0.js → repository-1q3whged.js} +8 -8
  25. package/dist/chunks/{location-742mfkhf.js → repository-1ynvz20k.js} +19 -19
  26. package/dist/chunks/{location-21r38tys.js → repository-21r38tys.js} +1 -1
  27. package/dist/chunks/{location-64kphnzf.js → repository-22m95qs7.js} +4 -4
  28. package/dist/chunks/{location-2402vzrj.js → repository-2402vzrj.js} +1 -1
  29. package/dist/chunks/{location-29x78va6.js → repository-29x78va6.js} +2 -2
  30. package/dist/chunks/{location-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-c7ecgrk6.js → repository-2d6j2h4j.js} +6 -6
  32. package/dist/chunks/{location-ra3vsbfe.js → repository-2ddb8vnf.js} +9 -9
  33. package/dist/chunks/{location-3pgnpxjv.js → repository-2f140qw9.js} +10 -10
  34. package/dist/chunks/{location-3vq2j3j3.js → repository-2ghmk56m.js} +41 -41
  35. package/dist/chunks/{location-5wxnan0q.js → repository-2rykfwh7.js} +4 -4
  36. package/dist/chunks/{location-tkgdp0re.js → repository-2shxgy61.js} +13 -13
  37. package/dist/chunks/{location-cwjhdd4w.js → repository-2tvtcs34.js} +25 -25
  38. package/dist/chunks/{location-1wxb385z.js → repository-31dz7cp4.js} +1 -1
  39. package/dist/chunks/{location-j5bzq3k2.js → repository-3302fwks.js} +18 -18
  40. package/dist/chunks/{location-2naaymgq.js → repository-34yfzwwr.js} +24 -24
  41. package/dist/chunks/{location-9gbkhhyb.js → repository-3821feyt.js} +13 -13
  42. package/dist/chunks/{location-mb2t11pg.js → repository-3akyt0ax.js} +6 -6
  43. package/dist/chunks/{location-1e3xc6ve.js → repository-3f6etdc1.js} +26 -26
  44. package/dist/chunks/{location-gdvy8fx6.js → repository-3fc6dm20.js} +4 -4
  45. package/dist/chunks/{location-61gb32ev.js → repository-3h2aaj0a.js} +32 -32
  46. package/dist/chunks/{location-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{location-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{location-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{location-0ge7vg41.js → repository-3zbcr0s0.js} +21 -21
  50. package/dist/chunks/{location-6711snrz.js → repository-439dx3w9.js} +11 -11
  51. package/dist/chunks/{location-vjq66stf.js → repository-498fxtd6.js} +9 -9
  52. package/dist/chunks/{location-nvnjvff3.js → repository-4h9e19ph.js} +24 -24
  53. package/dist/chunks/{location-v54nzcw9.js → repository-4qr204ms.js} +21 -21
  54. package/dist/chunks/{location-88skwtww.js → repository-4sk0y4xd.js} +26 -26
  55. package/dist/chunks/repository-4v7qdvcn.js +18 -0
  56. package/dist/chunks/{location-ecwj8few.js → repository-4vj8kpqd.js} +8 -8
  57. package/dist/chunks/{location-xya91wz4.js → repository-4yg7xpeb.js} +2 -2
  58. package/dist/chunks/{location-4pdm3gpn.js → repository-585pw9ae.js} +20 -20
  59. package/dist/chunks/{location-5daktx2q.js → repository-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-pjxwef55.js → repository-5ezjrh81.js} +30 -30
  61. package/dist/chunks/{location-p05b7svp.js → repository-5he1xn5b.js} +12 -12
  62. package/dist/chunks/{location-zxwpk2nb.js → repository-5jtdmvnp.js} +1 -1
  63. package/dist/chunks/{location-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{location-7b15y959.js → repository-5xtgfte3.js} +8 -8
  65. package/dist/chunks/{location-6ttajnb0.js → repository-62zv3r2w.js} +4 -4
  66. package/dist/chunks/{location-zyyf3ne3.js → repository-65vrzz3w.js} +18 -18
  67. package/dist/chunks/{location-669tq793.js → repository-669tq793.js} +1 -1
  68. package/dist/chunks/{location-xfrbke8t.js → repository-67qaz902.js} +47 -47
  69. package/dist/chunks/{location-5kptn8c0.js → repository-6ck2t1rv.js} +9 -9
  70. package/dist/chunks/{location-4yz38106.js → repository-6h0p2839.js} +23 -23
  71. package/dist/chunks/{location-n38wpmpz.js → repository-6jtzn1qx.js} +16 -16
  72. package/dist/chunks/{location-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{location-x27ytnxh.js → repository-6t6y07ce.js} +9 -9
  74. package/dist/chunks/{location-71q4at8m.js → repository-71q4at8m.js} +1 -1
  75. package/dist/chunks/{location-thkpvahy.js → repository-73x54sz1.js} +22 -22
  76. package/dist/chunks/{location-nnejmx3z.js → repository-757ayx98.js} +26 -26
  77. package/dist/chunks/{location-n46wdk6t.js → repository-7b7gh2z5.js} +15 -15
  78. package/dist/chunks/{location-nhnfdq9p.js → repository-7b86q5ey.js} +11 -11
  79. package/dist/chunks/{location-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{location-qgn6gcr1.js → repository-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{location-711d7g3x.js → repository-7ht1e3b7.js} +18 -18
  82. package/dist/chunks/{location-j9g8tyqb.js → repository-7m5f9412.js} +8 -8
  83. package/dist/chunks/{location-jgffvrzd.js → repository-7qhfbrat.js} +9 -9
  84. package/dist/chunks/{location-p9pbejt8.js → repository-7sezzb4e.js} +23 -23
  85. package/dist/chunks/{location-dg7qpz4p.js → repository-7tvdhtw8.js} +20 -20
  86. package/dist/chunks/{location-yvmq8qxx.js → repository-80e0yyk8.js} +12 -12
  87. package/dist/chunks/{location-qg6emqy4.js → repository-81swgkk7.js} +9 -9
  88. package/dist/chunks/{location-cmbqfntm.js → repository-8a737tnd.js} +4 -4
  89. package/dist/chunks/{location-689rwdfb.js → repository-8ayndkwh.js} +9 -9
  90. package/dist/chunks/{location-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{location-tc7ec7w9.js → repository-8nw6zpr4.js} +34 -34
  92. package/dist/chunks/{location-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{location-gx1zhcta.js → repository-8ypn74s0.js} +1 -1
  94. package/dist/chunks/{location-8z17e00v.js → repository-8z17e00v.js} +2 -2
  95. package/dist/chunks/{location-3dn8y05b.js → repository-915t83ht.js} +5 -5
  96. package/dist/chunks/{location-qte5z7bc.js → repository-92a4ap4w.js} +5 -5
  97. package/dist/chunks/{location-srpeewqc.js → repository-9b5bbgrx.js} +9 -9
  98. package/dist/chunks/{location-cv28m94p.js → repository-9er5p002.js} +30 -30
  99. package/dist/chunks/{location-hjsevywp.js → repository-9ggdqdtw.js} +11 -11
  100. package/dist/chunks/{location-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{location-7tepnm88.js → repository-a2fztt6w.js} +20 -20
  102. package/dist/chunks/{location-0n9gyfew.js → repository-a4exdnt3.js} +4 -4
  103. package/dist/chunks/{location-b3frasm9.js → repository-a7qvktew.js} +11 -11
  104. package/dist/chunks/{location-gbxx1qdc.js → repository-a7v51dbc.js} +26 -26
  105. package/dist/chunks/{location-aaet6srn.js → repository-aaet6srn.js} +2 -2
  106. package/dist/chunks/{location-qqtwvk4z.js → repository-ahgcj67e.js} +4 -4
  107. package/dist/chunks/{location-wwa04tag.js → repository-aj2fadgq.js} +22 -22
  108. package/dist/chunks/{location-swegyzdq.js → repository-anty3ns2.js} +11 -11
  109. package/dist/chunks/{location-vkkzdp2q.js → repository-aty0eeer.js} +6 -6
  110. package/dist/chunks/{location-2nqpnpx3.js → repository-b0ysmz6y.js} +28 -28
  111. package/dist/chunks/{location-vccwxyms.js → repository-b1fx07ep.js} +12 -12
  112. package/dist/chunks/{location-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{location-9mx1cntf.js → repository-b9ank1ts.js} +14 -14
  114. package/dist/chunks/{location-deq2xmw7.js → repository-b9jb5emj.js} +3 -3
  115. package/dist/chunks/{location-chnmz1hg.js → repository-bpqahvg7.js} +8 -8
  116. package/dist/chunks/{location-2nfqgr27.js → repository-bw1aan46.js} +7 -7
  117. package/dist/chunks/{location-0q1bg550.js → repository-c33k41yq.js} +7 -7
  118. package/dist/chunks/{location-grg0ht9d.js → repository-c742vz2c.js} +37 -37
  119. package/dist/chunks/{location-e4dde0bf.js → repository-c9e2w61w.js} +8 -8
  120. package/dist/chunks/{location-4gjq1w3h.js → repository-cep4v9kk.js} +41 -41
  121. package/dist/chunks/{location-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{location-2rwqw19q.js → repository-cr0em44r.js} +22 -22
  123. package/dist/chunks/{location-hkqcgn21.js → repository-cva88qnv.js} +9 -9
  124. package/dist/chunks/{location-vjqy2pak.js → repository-d230r5q8.js} +6 -6
  125. package/dist/chunks/{location-rabb6kfb.js → repository-d8z6v07t.js} +7 -7
  126. package/dist/chunks/{location-pxq7pqqx.js → repository-d98chebz.js} +20 -20
  127. package/dist/chunks/{location-t9kz6j3c.js → repository-dmv09vgm.js} +24 -24
  128. package/dist/chunks/{location-y71avatq.js → repository-dpkg50ah.js} +4 -4
  129. package/dist/chunks/{location-fpmq6gma.js → repository-dqmwfghx.js} +5 -5
  130. package/dist/chunks/{location-f6pdpkc8.js → repository-dvjn987s.js} +55 -55
  131. package/dist/chunks/{location-yfhpaps7.js → repository-dxmjzr1r.js} +17 -17
  132. package/dist/chunks/{location-6p2j0xaj.js → repository-e4t9qac1.js} +11 -11
  133. package/dist/chunks/{location-fffsb91j.js → repository-ebd9479t.js} +4 -4
  134. package/dist/chunks/{location-szyk33kk.js → repository-edpf80fc.js} +6 -6
  135. package/dist/chunks/{location-gwm9h4t4.js → repository-efj7rby6.js} +11 -11
  136. package/dist/chunks/{location-wj7cshxw.js → repository-ehgmx3s2.js} +31 -31
  137. package/dist/chunks/{location-hpf6vjwp.js → repository-ek5z2msw.js} +24 -24
  138. package/dist/chunks/{location-vpsgd2jw.js → repository-ekzy4a15.js} +9 -9
  139. package/dist/chunks/{location-2dpa94xe.js → repository-epjkq198.js} +13 -13
  140. package/dist/chunks/{location-6arvyfpk.js → repository-es1pjgb0.js} +5 -5
  141. package/dist/chunks/{location-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{location-9nyx0xzb.js → repository-ewbp23zb.js} +25 -25
  143. package/dist/chunks/{location-hhbxt1mp.js → repository-f6ytka93.js} +8 -8
  144. package/dist/chunks/{location-f828m53h.js → repository-f828m53h.js} +2 -2
  145. package/dist/chunks/{location-fj5qtafa.js → repository-f8hx9dgc.js} +35 -35
  146. package/dist/chunks/{location-7k2b160c.js → repository-f8pdk657.js} +5 -5
  147. package/dist/chunks/{location-t8mcaem5.js → repository-f9bavhm2.js} +1 -1
  148. package/dist/chunks/{location-k2ez8jpr.js → repository-fa0hz4rj.js} +25 -25
  149. package/dist/chunks/{location-fm2g78m8.js → repository-faq7vhys.js} +11 -11
  150. package/dist/chunks/{location-1t7mpxg8.js → repository-fh173wkb.js} +5 -5
  151. package/dist/chunks/{location-gsx0ryk4.js → repository-fhs97t90.js} +5 -5
  152. package/dist/chunks/{location-s2dhjhqs.js → repository-fm1pn3h6.js} +28 -28
  153. package/dist/chunks/{location-wmq45nfe.js → repository-fnm2rd37.js} +84 -84
  154. package/dist/chunks/{location-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{location-h5z8kjx1.js → repository-fxy4734q.js} +4 -4
  156. package/dist/chunks/{location-y3ex4pz8.js → repository-fzceatkk.js} +15 -15
  157. package/dist/chunks/{location-jfk1xeys.js → repository-g47hgwy1.js} +17 -17
  158. package/dist/chunks/{location-djamvv4a.js → repository-g8bfx21a.js} +26 -26
  159. package/dist/chunks/{location-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{location-4d6zvh3y.js → repository-gh7jcff5.js} +17 -17
  161. package/dist/chunks/{location-gxx6jc0s.js → repository-gs48f12t.js} +5 -5
  162. package/dist/chunks/{location-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{location-1pqsyb9r.js → repository-gvjwy1ww.js} +8 -8
  164. package/dist/chunks/{location-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  165. package/dist/chunks/{location-y4424x0p.js → repository-h31ehzq9.js} +4 -4
  166. package/dist/chunks/{location-3r86hrp4.js → repository-h4e9v6cf.js} +16 -16
  167. package/dist/chunks/{location-fg7rbsd2.js → repository-h53fs6we.js} +6 -6
  168. package/dist/chunks/{location-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{location-bajakh74.js → repository-hfdr1yjj.js} +4 -4
  170. package/dist/chunks/{location-a3fmdkp8.js → repository-hhbh3w1t.js} +1 -1
  171. package/dist/chunks/{location-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
  172. package/dist/chunks/{location-s0tc2krz.js → repository-hwzvcses.js} +15 -15
  173. package/dist/chunks/{location-bysfyz6c.js → repository-hx3323mz.js} +37 -37
  174. package/dist/chunks/{location-4vm55rjt.js → repository-j3gkf22j.js} +13 -13
  175. package/dist/chunks/{location-443jp2h5.js → repository-j4yfb19a.js} +11 -11
  176. package/dist/chunks/{location-j56e64zr.js → repository-j56e64zr.js} +1 -1
  177. package/dist/chunks/{location-2s8c9txd.js → repository-j8jb84gn.js} +16 -16
  178. package/dist/chunks/{location-19vf66h0.js → repository-jfqtm2ew.js} +4 -4
  179. package/dist/chunks/{location-f8jykge8.js → repository-jks25yqs.js} +18 -18
  180. package/dist/chunks/{location-ejn237hk.js → repository-jnt9jbpr.js} +37 -37
  181. package/dist/chunks/{location-5bcts36j.js → repository-js2yt1nz.js} +80 -80
  182. package/dist/chunks/{location-qkh2avww.js → repository-jxxmrcps.js} +6 -6
  183. package/dist/chunks/{location-83x6p9kd.js → repository-jy16bfac.js} +1 -1
  184. package/dist/chunks/{location-1fzcnh6v.js → repository-k7w803fk.js} +20 -20
  185. package/dist/chunks/{location-wc4t234n.js → repository-kc7gkhnn.js} +15 -15
  186. package/dist/chunks/{location-zghxhb3h.js → repository-kd9v8sax.js} +6 -6
  187. package/dist/chunks/{location-kg06axw8.js → repository-kg06axw8.js} +1 -1
  188. package/dist/chunks/{location-rme5v0wm.js → repository-kt5w8vxh.js} +10 -10
  189. package/dist/chunks/{location-k881w53b.js → repository-kx6qnvmq.js} +46 -46
  190. package/dist/chunks/{location-cncarfnr.js → repository-ky6ecvvs.js} +6 -6
  191. package/dist/chunks/{location-padgxnv1.js → repository-kz381zv4.js} +5 -5
  192. package/dist/chunks/{location-yrrczd0w.js → repository-m8bbpje0.js} +8 -8
  193. package/dist/chunks/{location-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{location-qe9wkc6t.js → repository-me7cqgqr.js} +8 -8
  195. package/dist/chunks/{location-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
  196. package/dist/chunks/{location-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  197. package/dist/chunks/{location-gbxr56d2.js → repository-n2nfwst7.js} +18 -18
  198. package/dist/chunks/{location-5emdt044.js → repository-n5aza2pa.js} +10 -10
  199. package/dist/chunks/{location-8kvx5c4t.js → repository-n5bzxk2f.js} +10 -10
  200. package/dist/chunks/{location-6ry05z8r.js → repository-n94hx6h0.js} +22 -22
  201. package/dist/chunks/{location-pcg8y0q6.js → repository-ne7s8sw8.js} +10 -10
  202. package/dist/chunks/{location-cz5ya5dx.js → repository-nezgc4ey.js} +6 -6
  203. package/dist/chunks/{location-jm1m0h68.js → repository-nywkrfb7.js} +33 -33
  204. package/dist/chunks/{location-3ncmaxct.js → repository-pcmc1zwr.js} +30 -30
  205. package/dist/chunks/{location-cabjg3g0.js → repository-pcsmqseq.js} +16 -16
  206. package/dist/chunks/{location-5k5btewg.js → repository-pe9eppf5.js} +15 -15
  207. package/dist/chunks/{location-t78ymf7t.js → repository-pg7njcxf.js} +16 -16
  208. package/dist/chunks/{location-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{location-pknna89w.js → repository-pknna89w.js} +1 -1
  210. package/dist/chunks/{location-p7g16bt6.js → repository-psywnqq9.js} +9 -9
  211. package/dist/chunks/{location-4vp014ph.js → repository-pwv7z67e.js} +14 -14
  212. package/dist/chunks/{location-7ra4c6gm.js → repository-q3n10r91.js} +17 -17
  213. package/dist/chunks/{location-zav06jzw.js → repository-q5asdkn4.js} +4 -4
  214. package/dist/chunks/{location-q5j1bp2v.js → repository-q5j1bp2v.js} +1 -1
  215. package/dist/chunks/{location-ymm454xd.js → repository-q5zafh14.js} +6 -6
  216. package/dist/chunks/{location-tqzea4nr.js → repository-qfapmvwx.js} +33 -33
  217. package/dist/chunks/{location-e0paksqa.js → repository-qhc60h7n.js} +18 -18
  218. package/dist/chunks/{location-gt0cxfk7.js → repository-qmr73083.js} +1 -1
  219. package/dist/chunks/{location-zd6k41k9.js → repository-qnvtssqj.js} +11 -11
  220. package/dist/chunks/{location-sgfkh1bp.js → repository-qr27hz8v.js} +4 -4
  221. package/dist/chunks/{location-qsdy395h.js → repository-qsdy395h.js} +1 -1
  222. package/dist/chunks/{location-g5d9kagx.js → repository-qybb80ke.js} +163 -163
  223. package/dist/chunks/{location-1acjjqhc.js → repository-r8xr0va3.js} +4 -4
  224. package/dist/chunks/{location-r9mregkx.js → repository-r9mregkx.js} +2 -2
  225. package/dist/chunks/{location-4yzhf524.js → repository-r9s20qyb.js} +13 -13
  226. package/dist/chunks/{location-z24k1rmt.js → repository-rqx8c1bj.js} +20 -20
  227. package/dist/chunks/{location-bdyczj2g.js → repository-rrfg73gn.js} +16 -16
  228. package/dist/chunks/{location-0q77j2hf.js → repository-rsvg5qe3.js} +30 -30
  229. package/dist/chunks/{location-0gr7cw0d.js → repository-s0hza5ac.js} +4 -4
  230. package/dist/chunks/{location-crg35gqk.js → repository-s301d4t7.js} +2 -2
  231. package/dist/chunks/{location-s4enseaf.js → repository-s4enseaf.js} +2 -2
  232. package/dist/chunks/{location-1ja8qtne.js → repository-s4kjwg47.js} +22 -22
  233. package/dist/chunks/{location-vtnam11j.js → repository-s54pw8rz.js} +17 -17
  234. package/dist/chunks/{location-t550f9t1.js → repository-s8d7rejh.js} +4 -4
  235. package/dist/chunks/{location-0bps82y7.js → repository-sabycmh3.js} +6 -6
  236. package/dist/chunks/{location-hj81pfz7.js → repository-sg3ay6jr.js} +9 -9
  237. package/dist/chunks/{location-g2y161wv.js → repository-sgwh5nyn.js} +8 -8
  238. package/dist/chunks/{location-r4tq48pt.js → repository-sq8adhhz.js} +11 -11
  239. package/dist/chunks/{location-3gfxcggk.js → repository-sqnjsewz.js} +14 -14
  240. package/dist/chunks/{location-avm8jn6n.js → repository-sra9araw.js} +5 -5
  241. package/dist/chunks/{location-4mkcvr19.js → repository-sv9bpgvh.js} +5 -5
  242. package/dist/chunks/{location-a3kgfrx0.js → repository-t45hg38h.js} +11 -11
  243. package/dist/chunks/{location-q6r6ry4n.js → repository-t7dkn34m.js} +18 -18
  244. package/dist/chunks/{location-q5nc2w3s.js → repository-t7qd3f94.js} +18 -18
  245. package/dist/chunks/{location-1an81ev3.js → repository-t9c3e8bq.js} +7 -7
  246. package/dist/chunks/{location-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{location-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  248. package/dist/chunks/{location-38grcwtr.js → repository-tcsyqj73.js} +11 -11
  249. package/dist/chunks/{location-9vhx2d4h.js → repository-tds63m58.js} +11 -11
  250. package/dist/chunks/{location-tdstcens.js → repository-tdstcens.js} +1 -1
  251. package/dist/chunks/repository-thkcmnfe.js +22 -0
  252. package/dist/chunks/{location-tvtrv512.js → repository-tvtrv512.js} +1 -1
  253. package/dist/chunks/{location-mset8fj1.js → repository-v3qpsh98.js} +41 -41
  254. package/dist/chunks/{location-5nsrms9d.js → repository-v8ch97zc.js} +1 -1
  255. package/dist/chunks/{location-f06x8t7g.js → repository-veeq5evv.js} +21 -21
  256. package/dist/chunks/{location-veqvce7d.js → repository-veqvce7d.js} +1 -1
  257. package/dist/chunks/{location-hgxcmmev.js → repository-vrx4yh84.js} +25 -25
  258. package/dist/chunks/{location-dtqg9ce1.js → repository-vxp3kcg3.js} +5 -5
  259. package/dist/chunks/{location-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{location-ctysr86j.js → repository-w0a2h48p.js} +16 -16
  261. package/dist/chunks/{location-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{location-t41sh3fy.js → repository-w6jjpet8.js} +18 -18
  263. package/dist/chunks/{location-wd87259q.js → repository-wd87259q.js} +1 -1
  264. package/dist/chunks/repository-wpdhr89c.js +247 -0
  265. package/dist/chunks/{location-n94hfmyp.js → repository-wsxzptys.js} +4 -4
  266. package/dist/chunks/{location-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{location-jg27de1v.js → repository-x359c73n.js} +15 -15
  268. package/dist/chunks/{location-vzcbq1w3.js → repository-xdmp4stv.js} +47 -47
  269. package/dist/chunks/{location-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-d0rxe8vc.js → repository-y4za65ce.js} +15 -15
  271. package/dist/chunks/{location-xhmq8qgk.js → repository-y56ehv6b.js} +5 -5
  272. package/dist/chunks/{location-0xv9r4rc.js → repository-y5qrxrza.js} +34 -34
  273. package/dist/chunks/{location-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-0tn02ksk.js → repository-yvm9rc9x.js} +65 -65
  275. package/dist/chunks/{location-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{location-yzn2jey8.js → repository-z1ycjdcc.js} +11 -11
  277. package/dist/chunks/{location-w34f8myg.js → repository-z7dhvtda.js} +24 -24
  278. package/dist/chunks/{location-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{location-zepncfka.js → repository-zepncfka.js} +1 -1
  280. package/dist/chunks/{location-7zezh56x.js → repository-zf9sx82p.js} +17 -17
  281. package/dist/chunks/{location-vbk940s3.js → repository-zpchy40n.js} +24 -24
  282. package/dist/chunks/{location-zpd6x7fe.js → repository-zpd6x7fe.js} +2 -2
  283. package/dist/chunks/{location-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-0zf2whzq.js → repository-ztncjpjx.js} +30 -30
  285. package/dist/chunks/{location-tj2vbr09.js → repository-zvrsfabp.js} +287 -287
  286. package/dist/chunks/{location-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +80 -80
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +114 -114
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  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 +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  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 +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  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 +69 -69
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +86 -86
  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 +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +95 -95
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  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 +354 -354
  453. package/dist/instruction-discovery.js +78 -78
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +76 -76
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +129 -129
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +351 -351
  465. package/dist/location.js +85 -85
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +100 -100
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +85 -85
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +107 -107
  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 +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +325 -325
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  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 +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  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 +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +118 -118
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  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 +77 -77
  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 +118 -118
  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 +118 -118
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +159 -159
  535. package/dist/plugin/sdk.js +73 -73
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/update.js +4 -4
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +113 -113
  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 +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +219 -219
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +5 -5
  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 +89 -89
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +85 -85
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +128 -128
  570. package/dist/session/context.js +148 -148
  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 +217 -217
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +76 -76
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +89 -89
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  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 +226 -226
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +122 -122
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +1 -1
  602. package/dist/session/session.js +170 -170
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +211 -211
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +208 -208
  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 +15 -15
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +4 -4
  622. package/dist/skill/instructions.js +97 -97
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +87 -87
  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 +120 -120
  629. package/dist/tool/plugin/edit.js +116 -116
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +115 -115
  633. package/dist/tool/plugin/opencode.js +1 -1
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +99 -99
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +211 -211
  638. package/dist/tool/plugin/skill.js +101 -101
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +104 -104
  641. package/dist/tool/plugin/websearch.js +108 -108
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  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 +3 -3
  658. package/dist/v1/config/config.js +14 -14
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  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 +1 -1
  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 +80 -80
  674. package/dist/websearch.js +83 -83
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +78 -78
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +79 -79
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +343 -343
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +88 -88
  685. package/package.json +8 -8
  686. package/dist/chunks/location-51teaz73.js +0 -247
  687. package/dist/chunks/location-7wbnq2vq.js +0 -22
  688. package/dist/chunks/location-dxj72tfx.js +0 -18
  689. /package/dist/chunks/{location-0mesazry.js → repository-0mesazry.js} +0 -0
  690. /package/dist/chunks/{location-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{location-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{location-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{location-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{location-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{location-2710q6r3.js → repository-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{location-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{location-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{location-359p4xyc.js → repository-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{location-3asan66x.js → repository-3asan66x.js} +0 -0
  700. /package/dist/chunks/{location-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{location-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{location-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{location-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{location-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{location-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{location-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{location-53557ph1.js → repository-53557ph1.js} +0 -0
  708. /package/dist/chunks/{location-550bvhaj.js → repository-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{location-6prwharc.js → repository-6prwharc.js} +0 -0
  710. /package/dist/chunks/{location-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-7m9af43g.js → repository-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-822emrt2.js → repository-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{location-8n3pysct.js → repository-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{location-922hggd3.js → repository-922hggd3.js} +0 -0
  716. /package/dist/chunks/{location-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{location-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{location-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{location-af5trqkr.js → repository-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{location-afrmfg78.js → repository-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{location-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{location-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{location-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{location-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{location-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{location-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{location-d9fn303g.js → repository-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{location-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{location-dajrwvna.js → repository-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{location-dap0rakb.js → repository-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{location-df08tz66.js → repository-df08tz66.js} +0 -0
  732. /package/dist/chunks/{location-dv250zvr.js → repository-dv250zvr.js} +0 -0
  733. /package/dist/chunks/{location-dy18nga0.js → repository-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{location-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{location-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{location-ec1grn59.js → repository-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{location-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{location-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{location-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{location-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{location-faypxj3z.js → repository-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{location-fd410y7t.js → repository-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{location-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{location-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{location-g86h250q.js → repository-g86h250q.js} +0 -0
  746. /package/dist/chunks/{location-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{location-gftt206x.js → repository-gftt206x.js} +0 -0
  748. /package/dist/chunks/{location-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{location-hk9envan.js → repository-hk9envan.js} +0 -0
  750. /package/dist/chunks/{location-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{location-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{location-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{location-j935v87r.js → repository-j935v87r.js} +0 -0
  754. /package/dist/chunks/{location-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-mp448xyj.js → repository-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-njntx4h6.js → repository-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{location-q74kybfr.js → repository-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{location-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{location-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{location-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{location-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{location-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{location-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{location-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{location-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{location-twg0f83k.js → repository-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{location-w803qqfp.js → repository-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{location-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{location-wtztk69x.js → repository-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{location-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{location-x61499pn.js → repository-x61499pn.js} +0 -0
  778. /package/dist/chunks/{location-y44na4kk.js → repository-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{location-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{location-y8f7s663.js → repository-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{location-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{location-ym463w8f.js → repository-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{location-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./location-2a5m3afh.js";
6
+ } from "./repository-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./location-1dazxqgg.js";
9
+ } from "./repository-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./location-b6gygkdw.js";
12
+ } from "./repository-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./location-aaet6srn.js";
15
+ } from "./repository-aaet6srn.js";
16
16
  import {
17
- Service71,
18
- node76
19
- } from "./location-yfhpaps7.js";
17
+ Service76,
18
+ node81
19
+ } from "./repository-dxmjzr1r.js";
20
20
  import {
21
- Service65,
22
- node69
23
- } from "./location-88skwtww.js";
21
+ Service44,
22
+ node48
23
+ } from "./repository-4sk0y4xd.js";
24
24
  import {
25
25
  __export
26
- } from "./location-9rqn6x4v.js";
26
+ } from "./repository-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service64,
33
- node: () => node68
32
+ Service: () => Service43,
33
+ node: () => node47
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service64,
46
+ Service: () => Service43,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node68,
52
+ node: () => node47,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service64 extends Context.Service()("@opencode/Environment") {
61
+ class Service43 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service64, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service71;
66
- const workspace = yield* Service65;
65
+ const location = yield* Service76;
66
+ const workspace = yield* Service44;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service43.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node68 = makeLocationNode({
71
- service: Service64,
70
+ var node47 = makeLocationNode({
71
+ service: Service43,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node76, node69]
73
+ deps: [CrossSpawnSpawner.node, node81, node48]
74
74
  });
75
75
 
76
- export { Service64, node68, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service43, node47, exports_environment2, makeFiles2, exports_environment3 };
@@ -2,31 +2,31 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make21,
6
6
  diffByKey2
7
- } from "./location-t550f9t1.js";
7
+ } from "./repository-s8d7rejh.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./location-g0m9gjz9.js";
10
+ } from "./repository-0df5qb80.js";
11
11
  import {
12
- Service30,
13
- node34
14
- } from "./location-k881w53b.js";
12
+ Service35,
13
+ node39
14
+ } from "./repository-kx6qnvmq.js";
15
15
  import {
16
16
  namespace2,
17
17
  name13
18
- } from "./location-9nyx0xzb.js";
18
+ } from "./repository-ewbp23zb.js";
19
19
  import {
20
20
  __export
21
- } from "./location-9rqn6x4v.js";
21
+ } from "./repository-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions2 = {};
25
- __export(exports_instructions2, {
26
- McpInstructions: () => exports_instructions2,
27
- Service: () => Service25,
28
- layer: () => layer10,
29
- node: () => node29
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service33,
28
+ layer: () => layer13,
29
+ node: () => node37
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service25 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service33 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer10 = Layer.effect(Service25, Effect.gen(function* () {
68
- const mcp = yield* Service30;
69
- return Service25.of({
67
+ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
68
+ const mcp = yield* Service35;
69
+ return Service33.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node29 = makeLocationNode({ service: Service25, layer: layer10, deps: [node34] });
103
+ var node37 = makeLocationNode({ service: Service33, layer: layer13, deps: [node39] });
104
104
 
105
- export { Service25, layer10, node29, exports_instructions2 };
105
+ export { Service33, layer13, node37, exports_instructions5 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-deq2xmw7.js";
4
+ } from "./repository-b9jb5emj.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-y71avatq.js";
7
+ } from "./repository-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node70
12
- } from "./location-awbtvej0.js";
11
+ node49
12
+ } from "./repository-1q3whged.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./location-faypxj3z.js";
15
+ } from "./repository-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info16,
24
+ ID: () => ID6,
25
+ Info: () => Info9,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service65,
27
+ Service: () => Service44,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured7,
30
- node: () => node69
29
+ configured: () => configured5,
30
+ node: () => node48
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info16 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info9 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service65 extends Context.Service()("@opencode/Workspace") {
59
+ class Service44 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured7 = (options = {}) => makeGlobalNode({
62
- service: Service65,
61
+ var configured5 = (options = {}) => makeGlobalNode({
62
+ service: Service44,
63
63
  layer: layer(options),
64
- deps: [node85, node70]
64
+ deps: [node85, node49]
65
65
  });
66
- var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info16({
83
+ const info = (row, binding) => new Info9({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service65.of({
157
+ return Service44.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node69 = configured7();
224
+ var node48 = configured5();
225
225
 
226
- export { ID12, Info16, NotFound3, CreateConflict2, Service65, configured7, node69, exports_workspace };
226
+ export { ID6, Info9, NotFound3, CreateConflict2, Service44, configured5, node48, exports_workspace };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./repository-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service29,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service29 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service29, awaitActivation2, exports_service };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service36
3
- } from "./location-e0paksqa.js";
2
+ Service39
3
+ } from "./repository-qhc60h7n.js";
4
4
  import {
5
- Service49
6
- } from "./location-0bps82y7.js";
5
+ Service55
6
+ } from "./repository-sabycmh3.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./location-dxj72tfx.js";
9
+ } from "./repository-4v7qdvcn.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service49;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
22
+ const instances = yield* Service55;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./location-c7ecgrk6.js";
4
+ } from "./repository-2d6j2h4j.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./repository-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./location-88xbtdfr.js";
3
+ } from "./repository-88xbtdfr.js";
4
4
  import {
5
5
  load3
6
- } from "./location-j935v87r.js";
6
+ } from "./repository-j935v87r.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Event: () => Event17,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service68,
16
+ Options: () => Options10,
17
+ Service: () => Service72,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured11,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node73,
25
+ node: () => node77,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Watcher") {
60
+ class Service72 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service72.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service68.of({ subscribe });
108
+ return Service72.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service68).subscribe,
134
+ subscribe: Context.get(context, Service72).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service72, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured11(options) {
168
+ return makeGlobalNode({ service: Service72, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node73 = configured9();
170
+ var node77 = configured11();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event17, hasNativeBinding2, Native3, Options8, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node73, exports_watcher };
190
+ export { Event17, hasNativeBinding2, Native3, Options10, Service72, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured11, node77, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service64
3
- } from "./location-nvnjvff3.js";
2
+ Service43
3
+ } from "./repository-4h9e19ph.js";
4
4
  import {
5
5
  Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./location-2nfqgr27.js";
8
+ } from "./repository-bw1aan46.js";
9
9
  import {
10
- Service18
11
- } from "./location-wc4t234n.js";
10
+ Service15
11
+ } from "./repository-kc7gkhnn.js";
12
12
  import {
13
- Service53
14
- } from "./location-g0m9gjz9.js";
13
+ Service66
14
+ } from "./repository-0df5qb80.js";
15
15
  import {
16
- Service44
17
- } from "./location-gbxr56d2.js";
16
+ Service52
17
+ } from "./repository-n2nfwst7.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./location-6prwharc.js";
20
+ } from "./repository-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./location-9rqn6x4v.js";
23
+ } from "./repository-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input5,
29
- Output: () => Output4,
30
- Plugin: () => Plugin36,
28
+ Input: () => Input9,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin40,
31
31
  WriteTool: () => exports_write,
32
- name: () => name5,
33
- toModelContent: () => toModelContent4
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name5 = "write";
39
- var Input5 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output4 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin36 = {
51
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin40 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service44;
55
+ const access = yield* Service52;
56
56
  const fileMutation = yield* Service13;
57
- const environment = yield* Service64;
58
- const formatter = yield* Service18;
59
- const permission = yield* Service53;
57
+ const environment = yield* Service43;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service66;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name5,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input5,
69
- output: Output4,
68
+ input: Input9,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name5, Input5, Output4, toModelContent4, Plugin36, exports_write };
101
+ export { name9, Input9, Output6, toModelContent6, Plugin40, exports_write };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-y4424x0p.js";
4
+ } from "./repository-h31ehzq9.js";
5
5
  import {
6
- Service71,
7
- node76
8
- } from "./location-yfhpaps7.js";
6
+ Service76,
7
+ node81
8
+ } from "./repository-dxmjzr1r.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./location-ec1grn59.js";
11
+ } from "./repository-ec1grn59.js";
12
12
  import {
13
- Service55,
14
- node59
15
- } from "./location-4vp014ph.js";
13
+ Service67,
14
+ node72
15
+ } from "./repository-pwv7z67e.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
@@ -37,8 +37,8 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
37
37
  var layer = Layer.effect(Service11, Effect.gen(function* () {
38
38
  const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service55;
41
- const location = yield* Service71;
40
+ const store = yield* Service67;
41
+ const location = yield* Service76;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -98,7 +98,7 @@ function describePath(root, path) {
98
98
  var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node76, node59]
101
+ deps: [node84, FSUtil.node, node81, node72]
102
102
  });
103
103
 
104
104
  export { Service11, node14, exports_instructions };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./location-c7ecgrk6.js";
4
+ } from "./repository-2d6j2h4j.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./location-y8cydn3q.js";
3
+ } from "./repository-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};