@opencode/core 0.0.0-dev-21530 → 0.0.0-dev-21541

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{schema-aj7mw0zk.js → workspace-034tev2y.js} +2 -2
  8. package/dist/chunks/{schema-v9ktrhzk.js → workspace-074m64dp.js} +20 -20
  9. package/dist/chunks/{schema-yc36fn85.js → workspace-07sqsv9w.js} +7 -7
  10. package/dist/chunks/{schema-0gdmqesm.js → workspace-0gdmqesm.js} +1 -1
  11. package/dist/chunks/{schema-8bc2ahr8.js → workspace-0ss1ygn7.js} +3 -3
  12. package/dist/chunks/{schema-2yr926wd.js → workspace-0tjpvapw.js} +10 -10
  13. package/dist/chunks/{schema-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{schema-8hdppygf.js → workspace-0xx3ns2v.js} +18 -18
  15. package/dist/chunks/{schema-q5eftdkn.js → workspace-0z8yhdqv.js} +67 -67
  16. package/dist/chunks/{schema-6jk406cr.js → workspace-132rhf2q.js} +21 -20
  17. package/dist/chunks/{schema-few1k6py.js → workspace-15wxq0kj.js} +8 -8
  18. package/dist/chunks/{schema-0tn9bjc5.js → workspace-1bzs4kqq.js} +21 -21
  19. package/dist/chunks/{schema-27w5k9zf.js → workspace-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{schema-x9xt4rzp.js → workspace-1fnk0qcx.js} +13 -13
  21. package/dist/chunks/{schema-6pc27hjz.js → workspace-1p07q0wb.js} +8 -8
  22. package/dist/chunks/{schema-e6748pxh.js → workspace-1rd0hf05.js} +18 -18
  23. package/dist/chunks/{schema-tp3t781r.js → workspace-2ahabfrv.js} +4 -4
  24. package/dist/chunks/{schema-prjrmqps.js → workspace-2b6qkcs0.js} +50 -50
  25. package/dist/chunks/{schema-25gmhyge.js → workspace-2ec29r6m.js} +4 -4
  26. package/dist/chunks/{schema-t8w5j2tp.js → workspace-2egnw719.js} +14 -14
  27. package/dist/chunks/{schema-1mx78vzr.js → workspace-2phre6gr.js} +21 -22
  28. package/dist/chunks/{schema-7n76hb68.js → workspace-2xebcxdz.js} +14 -14
  29. package/dist/chunks/{schema-zhpk82ba.js → workspace-36cygfdp.js} +8 -8
  30. package/dist/chunks/{schema-wbt9zsn3.js → workspace-38phfjcn.js} +9 -9
  31. package/dist/chunks/{schema-dzz2f3za.js → workspace-3b7e46vg.js} +22 -22
  32. package/dist/chunks/{schema-0bg0bx69.js → workspace-3byrw2k0.js} +9 -9
  33. package/dist/chunks/{schema-kdnmkssn.js → workspace-3chvherp.js} +4 -4
  34. package/dist/chunks/{schema-yds4b9yz.js → workspace-3eyct666.js} +34 -34
  35. package/dist/chunks/{schema-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{schema-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{schema-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{schema-addxnjmp.js → workspace-3y377wv9.js} +4 -4
  39. package/dist/chunks/{schema-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{schema-ks795mkk.js → workspace-47xvp063.js} +13 -13
  41. package/dist/chunks/{schema-rztgzzkf.js → workspace-4gx1jjxq.js} +45 -45
  42. package/dist/chunks/{schema-ecz00bat.js → workspace-4jhg1r7p.js} +13 -13
  43. package/dist/chunks/{schema-hfjg8gb5.js → workspace-4myb3554.js} +18 -18
  44. package/dist/chunks/{schema-54ma36ye.js → workspace-54ma36ye.js} +1 -1
  45. package/dist/chunks/{schema-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
  46. package/dist/chunks/{schema-rkg4v3e5.js → workspace-5fec3t3w.js} +4 -4
  47. package/dist/chunks/{schema-vep9yay1.js → workspace-5g57z1ma.js} +4 -4
  48. package/dist/chunks/{schema-jpypjf72.js → workspace-5ggmzyjq.js} +32 -32
  49. package/dist/chunks/{schema-gd5ks2q2.js → workspace-5gwxr4wz.js} +24 -24
  50. package/dist/chunks/{schema-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{schema-ysy9ysqp.js → workspace-5tgqe19z.js} +55 -55
  52. package/dist/chunks/{schema-gtz7nked.js → workspace-5x8rsm2f.js} +24 -24
  53. package/dist/chunks/{schema-6827pfxn.js → workspace-6827pfxn.js} +1 -1
  54. package/dist/chunks/{schema-mt5v9ry9.js → workspace-6gzxrv04.js} +16 -16
  55. package/dist/chunks/{schema-kbwg7qyy.js → workspace-6h1z9x2t.js} +20 -20
  56. package/dist/chunks/{schema-9m5m65a4.js → workspace-6n72fwwd.js} +26 -26
  57. package/dist/chunks/{schema-jfh9q8qf.js → workspace-6s9zvkg6.js} +11 -11
  58. package/dist/chunks/{schema-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{schema-fwd7f3n7.js → workspace-73a41k9m.js} +40 -40
  60. package/dist/chunks/{schema-krb84gwz.js → workspace-76475ja5.js} +28 -28
  61. package/dist/chunks/{schema-n44fvqa5.js → workspace-76skp782.js} +11 -11
  62. package/dist/chunks/{schema-775gj3j1.js → workspace-775gj3j1.js} +2 -2
  63. package/dist/chunks/{schema-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  64. package/dist/chunks/workspace-7jmfkexa.js +26 -0
  65. package/dist/chunks/{schema-3qm998m2.js → workspace-7ycdgr6s.js} +15 -15
  66. package/dist/chunks/{schema-h6r4200x.js → workspace-7zyx6fzq.js} +21 -21
  67. package/dist/chunks/{schema-1g5hkw1w.js → workspace-80ea5f6r.js} +34 -34
  68. package/dist/chunks/{schema-w1eejvng.js → workspace-84txncab.js} +5 -5
  69. package/dist/chunks/{schema-qvfnp1sk.js → workspace-8dh2j701.js} +24 -24
  70. package/dist/chunks/{schema-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
  71. package/dist/chunks/{schema-bswnba0x.js → workspace-8mr27nf4.js} +4 -4
  72. package/dist/chunks/{schema-8mywswrd.js → workspace-8mywswrd.js} +1 -1
  73. package/dist/chunks/{schema-jh9qevh8.js → workspace-8x4e5kq0.js} +18 -18
  74. package/dist/chunks/{schema-wvyymv1h.js → workspace-8xnx0mnd.js} +8 -8
  75. package/dist/chunks/{schema-56j2d20k.js → workspace-8yp4rne4.js} +11 -11
  76. package/dist/chunks/{schema-be7qvw84.js → workspace-91p1v22t.js} +8 -8
  77. package/dist/chunks/{schema-9brafa5j.js → workspace-98bt88c5.js} +12 -12
  78. package/dist/chunks/{schema-dvj9ct8m.js → workspace-998yhzzq.js} +3 -3
  79. package/dist/chunks/{schema-sf2p74k8.js → workspace-9dmx38dk.js} +17 -17
  80. package/dist/chunks/{schema-r41txaew.js → workspace-9nygwmwc.js} +15 -15
  81. package/dist/chunks/{schema-sxswpjsy.js → workspace-9qj6rkp4.js} +3 -3
  82. package/dist/chunks/{schema-bnbbr2d0.js → workspace-9sbtww25.js} +36 -36
  83. package/dist/chunks/{schema-9wev2pgg.js → workspace-9wev2pgg.js} +1 -1
  84. package/dist/chunks/{schema-r2kbwwh1.js → workspace-9z8cn46p.js} +4 -4
  85. package/dist/chunks/{schema-3t0ybcrp.js → workspace-a058387c.js} +4 -2
  86. package/dist/chunks/{schema-wk0f6cnb.js → workspace-a94rjkpn.js} +7 -7
  87. package/dist/chunks/{schema-vsgt0m8t.js → workspace-aar2av7x.js} +6 -6
  88. package/dist/chunks/{schema-2gta2q4r.js → workspace-abc6j8jm.js} +35 -35
  89. package/dist/chunks/{schema-4axgq110.js → workspace-ae239eb7.js} +34 -34
  90. package/dist/chunks/{schema-kmvrn13k.js → workspace-ansnh6at.js} +10 -10
  91. package/dist/chunks/{schema-kjxerx4y.js → workspace-aq552fny.js} +190 -190
  92. package/dist/chunks/{schema-cmp3rkz8.js → workspace-ayabmdkg.js} +26 -27
  93. package/dist/chunks/{schema-8vcf4cwr.js → workspace-ayjs7tqn.js} +3 -3
  94. package/dist/chunks/{schema-586k1tpv.js → workspace-b10f7vcz.js} +6 -6
  95. package/dist/chunks/{schema-b11a7tx7.js → workspace-b11a7tx7.js} +1 -1
  96. package/dist/chunks/{schema-qs4w04g8.js → workspace-bbyyxdtc.js} +18 -18
  97. package/dist/chunks/{schema-zctrycv6.js → workspace-be4f7z37.js} +93 -97
  98. package/dist/chunks/{schema-r01t9b5y.js → workspace-bqszwq89.js} +4 -4
  99. package/dist/chunks/{schema-qg6wj6c5.js → workspace-bry36w7y.js} +20 -20
  100. package/dist/chunks/{schema-nxc81nce.js → workspace-bwq0z05b.js} +25 -27
  101. package/dist/chunks/{schema-r0dp87ge.js → workspace-bxxa49vs.js} +28 -28
  102. package/dist/chunks/workspace-by5v678g.js +18 -0
  103. package/dist/chunks/{schema-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
  104. package/dist/chunks/{schema-b7az7nzg.js → workspace-c3jpadc8.js} +5 -5
  105. package/dist/chunks/{schema-02ve1zyw.js → workspace-c48qrqrp.js} +17 -17
  106. package/dist/chunks/{schema-8ce0521a.js → workspace-c7kxmbtf.js} +17 -17
  107. package/dist/chunks/{schema-47rxzzmb.js → workspace-cah5dkv9.js} +11 -11
  108. package/dist/chunks/{schema-dqj1x724.js → workspace-cbartrqj.js} +16 -16
  109. package/dist/chunks/{schema-phstrbs2.js → workspace-cmwkp3r5.js} +8 -8
  110. package/dist/chunks/{schema-cr9hweqv.js → workspace-cr9hweqv.js} +2 -2
  111. package/dist/chunks/{schema-se052hy2.js → workspace-css516a4.js} +3 -3
  112. package/dist/chunks/{schema-c765mh8b.js → workspace-d4he2qe1.js} +9 -9
  113. package/dist/chunks/{schema-vxqrmefd.js → workspace-daz98v5x.js} +28 -28
  114. package/dist/chunks/{schema-t0jwwps0.js → workspace-db8n8p1c.js} +35 -35
  115. package/dist/chunks/{schema-v1d51sdw.js → workspace-dbe25myc.js} +11 -11
  116. package/dist/chunks/{schema-tqw72dge.js → workspace-dex2drwj.js} +12 -12
  117. package/dist/chunks/{schema-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
  118. package/dist/chunks/{schema-3t06g8dq.js → workspace-dq407baf.js} +6 -6
  119. package/dist/chunks/{schema-1afj0k1v.js → workspace-drdx3kxz.js} +13 -13
  120. package/dist/chunks/{schema-bb2erevm.js → workspace-dtmbvn3g.js} +5 -5
  121. package/dist/chunks/{schema-xqyrxmej.js → workspace-e2t3pw6w.js} +17 -17
  122. package/dist/chunks/{schema-xb2raker.js → workspace-e4n1ebq2.js} +3 -3
  123. package/dist/chunks/{schema-9fp5cy9e.js → workspace-e6g20fz5.js} +30 -30
  124. package/dist/chunks/{schema-sykc9y4a.js → workspace-e89xj288.js} +5 -5
  125. package/dist/chunks/{schema-m71k82xx.js → workspace-ea9zv6cw.js} +10 -10
  126. package/dist/chunks/{schema-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{schema-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{schema-v6gqda18.js → workspace-efxx8rk8.js} +13 -13
  129. package/dist/chunks/{schema-vc0tgat8.js → workspace-eg33xqqg.js} +46 -46
  130. package/dist/chunks/{schema-mych7xnr.js → workspace-etgqrbqm.js} +26 -26
  131. package/dist/chunks/{schema-4g2jt153.js → workspace-etj2j5tt.js} +24 -24
  132. package/dist/chunks/{schema-n2ew48d4.js → workspace-ewxdsezr.js} +32 -32
  133. package/dist/chunks/{schema-ap73x2p1.js → workspace-f3crtseh.js} +4 -4
  134. package/dist/chunks/{schema-fcy631f0.js → workspace-fcy631f0.js} +1 -1
  135. package/dist/chunks/{schema-9hwaqfsw.js → workspace-fcyg4h47.js} +7 -11
  136. package/dist/chunks/{schema-pp9nj0b2.js → workspace-ffq1c2je.js} +18 -18
  137. package/dist/chunks/{schema-1dxbsdj5.js → workspace-ffvkjqdt.js} +9 -9
  138. package/dist/chunks/{schema-8mc7s0wd.js → workspace-fk85bsrp.js} +11 -11
  139. package/dist/chunks/{schema-md39vkm3.js → workspace-fstg4fsa.js} +17 -17
  140. package/dist/chunks/{schema-tmmkgp6g.js → workspace-fx7mmp1n.js} +23 -23
  141. package/dist/chunks/{schema-ygxsryh2.js → workspace-g1z83s7x.js} +47 -47
  142. package/dist/chunks/{schema-4w411070.js → workspace-g6h99m46.js} +1 -1
  143. package/dist/chunks/{schema-5yqngkrh.js → workspace-g9ay48z2.js} +5 -5
  144. package/dist/chunks/{schema-zv150g5a.js → workspace-g9vnk3jz.js} +19 -20
  145. package/dist/chunks/{schema-bjx4q2dn.js → workspace-gcb5g84z.js} +43 -43
  146. package/dist/chunks/{schema-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{schema-4c8ty7y6.js → workspace-ggk6kvmh.js} +21 -21
  148. package/dist/chunks/{schema-ys6xw3x7.js → workspace-gky04n8p.js} +19 -19
  149. package/dist/chunks/{schema-gegxtyrp.js → workspace-gm6mk2m9.js} +12 -12
  150. package/dist/chunks/{schema-j8qhg9bw.js → workspace-gmce5qqj.js} +1 -1
  151. package/dist/chunks/{schema-cs5q1j33.js → workspace-gn585jta.js} +5 -5
  152. package/dist/chunks/{schema-q490b428.js → workspace-gs67eedh.js} +36 -33
  153. package/dist/chunks/{schema-cm7rzrpy.js → workspace-gv7ndrzx.js} +4 -4
  154. package/dist/chunks/{schema-tc11merm.js → workspace-gwaf4cyv.js} +10 -10
  155. package/dist/chunks/{schema-rxxgwrt9.js → workspace-h6tfspxq.js} +11 -11
  156. package/dist/chunks/{schema-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{schema-dta6adxg.js → workspace-h7jf40e2.js} +15 -15
  158. package/dist/chunks/{schema-syv4x271.js → workspace-h8vwnyd8.js} +4 -2
  159. package/dist/chunks/{schema-3ewed21c.js → workspace-h90v2x9d.js} +4 -4
  160. package/dist/chunks/{schema-gymq2tgt.js → workspace-hcgv7z9w.js} +9 -9
  161. package/dist/chunks/{schema-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
  162. package/dist/chunks/{schema-9fshpcpc.js → workspace-hhn6cs7f.js} +25 -25
  163. package/dist/chunks/{schema-4tsfkw9e.js → workspace-hp24smfg.js} +11 -11
  164. package/dist/chunks/{schema-8hej200e.js → workspace-j6jn98s4.js} +6 -6
  165. package/dist/chunks/{schema-atzyg80d.js → workspace-j6p3x2qe.js} +48 -48
  166. package/dist/chunks/{schema-g6kecgse.js → workspace-j90sh0vw.js} +78 -78
  167. package/dist/chunks/{schema-qnk07h1p.js → workspace-je188k40.js} +12 -12
  168. package/dist/chunks/{schema-gt4kt70v.js → workspace-jjrctdmw.js} +13 -13
  169. package/dist/chunks/{schema-2vs2nh1n.js → workspace-jvf3yq6v.js} +4 -4
  170. package/dist/chunks/{schema-hba2d548.js → workspace-jyhwqdka.js} +18 -18
  171. package/dist/chunks/{schema-knevfgda.js → workspace-k0a3z2qz.js} +4 -4
  172. package/dist/chunks/{schema-jn3svvm7.js → workspace-k4814axw.js} +17 -17
  173. package/dist/chunks/{schema-ysbkpfh3.js → workspace-kc8eh7pk.js} +32 -32
  174. package/dist/chunks/{schema-15esv6g5.js → workspace-kccjhh93.js} +5 -5
  175. package/dist/chunks/{schema-3qb95gy8.js → workspace-keqvyq2w.js} +4 -4
  176. package/dist/chunks/{schema-cbmrewd6.js → workspace-kgjxwjg5.js} +21 -21
  177. package/dist/chunks/{schema-1w2wqhfv.js → workspace-khmqacep.js} +4 -4
  178. package/dist/chunks/{schema-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{schema-xtxypabt.js → workspace-m22m6tzf.js} +12 -12
  180. package/dist/chunks/{schema-y38m9zb5.js → workspace-m28avgzz.js} +7 -7
  181. package/dist/chunks/{schema-mpd49xq9.js → workspace-m6fea7hh.js} +8 -8
  182. package/dist/chunks/{schema-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{schema-247gbw12.js → workspace-maers0pd.js} +3 -3
  184. package/dist/chunks/{schema-maspj1v3.js → workspace-maspj1v3.js} +1 -1
  185. package/dist/chunks/{schema-thq5mtmm.js → workspace-mcqdwfqb.js} +8 -8
  186. package/dist/chunks/{schema-cjrse1k0.js → workspace-mshsb7tz.js} +15 -15
  187. package/dist/chunks/{schema-sxzvkvgj.js → workspace-mx9vqzsb.js} +6 -6
  188. package/dist/chunks/{schema-eh1n47qm.js → workspace-mzmvkc7j.js} +28 -28
  189. package/dist/chunks/{schema-r5wxxd2p.js → workspace-n56c0sd4.js} +42 -42
  190. package/dist/chunks/{schema-apm2b389.js → workspace-n5d3v4c5.js} +3 -3
  191. package/dist/chunks/{schema-z18fegx4.js → workspace-n6mrmtb3.js} +2 -10
  192. package/dist/chunks/{schema-ajmz7z9n.js → workspace-n8mct725.js} +2 -2
  193. package/dist/chunks/{schema-zjznsnv6.js → workspace-n8nk40tj.js} +23 -23
  194. package/dist/chunks/{schema-x13wf28v.js → workspace-ncqfdwrq.js} +13 -13
  195. package/dist/chunks/{schema-d3cjz2rg.js → workspace-neqjwg63.js} +34 -34
  196. package/dist/chunks/{schema-grqp3cmb.js → workspace-nvxqht09.js} +3 -3
  197. package/dist/chunks/{schema-7j1zf1qw.js → workspace-nzg504jb.js} +15 -15
  198. package/dist/chunks/{schema-w2bpkvh3.js → workspace-p1apbq8w.js} +11 -11
  199. package/dist/chunks/{schema-ykw333za.js → workspace-p8dm3ep0.js} +5 -5
  200. package/dist/chunks/{schema-p33ckn3v.js → workspace-pbjcynf2.js} +11 -11
  201. package/dist/chunks/{schema-pgqyayq7.js → workspace-pcs4hp0r.js} +11 -11
  202. package/dist/chunks/{schema-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{schema-pknna89w.js → workspace-pknna89w.js} +1 -1
  204. package/dist/chunks/{schema-42kdbcte.js → workspace-pmpp0nb4.js} +26 -26
  205. package/dist/chunks/{schema-stbcvrcx.js → workspace-pwrxqpxd.js} +18 -18
  206. package/dist/chunks/{schema-kxf3nz33.js → workspace-pzzw2hqw.js} +3 -3
  207. package/dist/chunks/{schema-shrrr7kk.js → workspace-q40yvqvp.js} +10 -10
  208. package/dist/chunks/{schema-r335j1fq.js → workspace-q8rwc74j.js} +26 -26
  209. package/dist/chunks/{schema-sxz6gkc3.js → workspace-qa3qhgw8.js} +7 -7
  210. package/dist/chunks/{schema-aq5y8b9e.js → workspace-qby9dwvd.js} +8 -8
  211. package/dist/chunks/{schema-0jwsre1p.js → workspace-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{schema-88tf66q2.js → workspace-qhd9gkgf.js} +9 -9
  213. package/dist/chunks/{schema-02mvvr71.js → workspace-qp7m8750.js} +3 -3
  214. package/dist/chunks/{schema-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  215. package/dist/chunks/{schema-044xr5hv.js → workspace-qssh8sag.js} +49 -49
  216. package/dist/chunks/{schema-ftrv57z3.js → workspace-qv9b3h9n.js} +31 -31
  217. package/dist/chunks/{schema-3ghrgbf8.js → workspace-r29avfkz.js} +6 -6
  218. package/dist/chunks/{schema-7zafwtqv.js → workspace-r4fxfztp.js} +33 -33
  219. package/dist/chunks/{schema-b8y1c3zn.js → workspace-r6k9he64.js} +14 -14
  220. package/dist/chunks/{schema-bmheq9zx.js → workspace-r9s8agc4.js} +34 -34
  221. package/dist/chunks/{schema-vnt3yn01.js → workspace-rdp8b27p.js} +19 -19
  222. package/dist/chunks/{schema-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{schema-zxxfwhgr.js → workspace-rmja0r51.js} +10 -10
  224. package/dist/chunks/{schema-7ph0n1vg.js → workspace-rqgw4wbf.js} +45 -45
  225. package/dist/chunks/{schema-bnjeam3m.js → workspace-rzp7a2t4.js} +11 -11
  226. package/dist/chunks/{schema-1svhfytg.js → workspace-s1sewrz2.js} +24 -24
  227. package/dist/chunks/{schema-38a6f3y0.js → workspace-s1v8awss.js} +3 -3
  228. package/dist/chunks/{schema-xyd93zwz.js → workspace-s305gxse.js} +34 -34
  229. package/dist/chunks/{schema-7q165t4g.js → workspace-s4gy3dj7.js} +16 -16
  230. package/dist/chunks/{schema-m1rbdz0y.js → workspace-s6ckz0hn.js} +14 -14
  231. package/dist/chunks/{schema-6qbhemwa.js → workspace-s8ch1s93.js} +34 -35
  232. package/dist/chunks/{schema-7vdznjcr.js → workspace-sb9g34e0.js} +8 -8
  233. package/dist/chunks/{schema-gtt9vv4e.js → workspace-srp09zfw.js} +11 -11
  234. package/dist/chunks/{schema-qymj231q.js → workspace-st7p3hwb.js} +9 -12
  235. package/dist/chunks/workspace-stn147wg.js +257 -0
  236. package/dist/chunks/{schema-yxxhm6wn.js → workspace-t18r7gq3.js} +45 -45
  237. package/dist/chunks/{schema-kn8ed5j7.js → workspace-t2s68hp7.js} +13 -13
  238. package/dist/chunks/{schema-k8naqxk9.js → workspace-t3hn50w1.js} +8 -8
  239. package/dist/chunks/{schema-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{schema-89znhe33.js → workspace-tcezcvh9.js} +4 -4
  241. package/dist/chunks/{schema-tdstcens.js → workspace-tdstcens.js} +1 -1
  242. package/dist/chunks/{schema-a2950d4b.js → workspace-tr7gnt89.js} +11 -11
  243. package/dist/chunks/{schema-phwvtd3y.js → workspace-tvgxg3g6.js} +4 -4
  244. package/dist/chunks/{schema-tyytaxap.js → workspace-tyytaxap.js} +1 -1
  245. package/dist/chunks/{schema-7ec2v9ed.js → workspace-tzprbfj6.js} +10 -10
  246. package/dist/chunks/{schema-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{schema-60bb96q1.js → workspace-va6mm9z7.js} +9 -9
  248. package/dist/chunks/{schema-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  249. package/dist/chunks/{schema-nnsw46vg.js → workspace-vm8sweqc.js} +4 -4
  250. package/dist/chunks/{schema-zdjfzqgx.js → workspace-vsv97a0e.js} +24 -24
  251. package/dist/chunks/{schema-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{schema-qsr7754b.js → workspace-w0rc49da.js} +30 -30
  253. package/dist/chunks/{schema-wh6zw745.js → workspace-w2h15q85.js} +5 -5
  254. package/dist/chunks/{schema-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{schema-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{schema-b82aynba.js → workspace-wb9ff8bn.js} +23 -23
  257. package/dist/chunks/{schema-5hzj2gnj.js → workspace-wbnh8gjc.js} +5 -5
  258. package/dist/chunks/{schema-wd87259q.js → workspace-wd87259q.js} +1 -1
  259. package/dist/chunks/{schema-ywt8jp22.js → workspace-wjr9rjd7.js} +6 -6
  260. package/dist/chunks/{schema-zdvv5291.js → workspace-wjst284m.js} +4 -4
  261. package/dist/chunks/{schema-sy3r6n62.js → workspace-x683dpmx.js} +32 -32
  262. package/dist/chunks/{schema-y56ehv6b.js → workspace-xf8yqmad.js} +9 -9
  263. package/dist/chunks/{schema-40ac0r3r.js → workspace-xg0qp6eg.js} +11 -11
  264. package/dist/chunks/{schema-8nbq5p6s.js → workspace-xghm9m12.js} +15 -15
  265. package/dist/chunks/{schema-k6kw0x3x.js → workspace-xjzqkwqn.js} +13 -13
  266. package/dist/chunks/{schema-atz56vhv.js → workspace-xv7z1ba5.js} +21 -21
  267. package/dist/chunks/{schema-4w9ygdqj.js → workspace-xy9gzbcy.js} +18 -18
  268. package/dist/chunks/{schema-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-kxbkpg81.js → workspace-y6e8h1xc.js} +21 -21
  270. package/dist/chunks/{schema-cbywt2p6.js → workspace-y6rf4qat.js} +34 -34
  271. package/dist/chunks/{schema-x5by4g9q.js → workspace-y76gxhjg.js} +337 -337
  272. package/dist/chunks/{schema-kjd40bgk.js → workspace-y7nndgyc.js} +9 -9
  273. package/dist/chunks/{schema-b1vpyjsr.js → workspace-yefhp8xd.js} +11 -11
  274. package/dist/chunks/{schema-tvcjbwgd.js → workspace-yfattsqw.js} +17 -17
  275. package/dist/chunks/{schema-8dj74pby.js → workspace-ynmknp8q.js} +11 -11
  276. package/dist/chunks/{schema-phdpwmhe.js → workspace-ynrxtasp.js} +20 -23
  277. package/dist/chunks/{schema-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{schema-5acb438f.js → workspace-z34erevr.js} +9 -9
  279. package/dist/chunks/{schema-kjqvt6c0.js → workspace-z71n2avg.js} +4 -4
  280. package/dist/chunks/{schema-qb6nzafx.js → workspace-zaq7yc5h.js} +4 -3
  281. package/dist/chunks/{schema-kgjy8mzn.js → workspace-zcfdnc2q.js} +28 -30
  282. package/dist/chunks/{schema-70xh0458.js → workspace-zet3czjw.js} +19 -19
  283. package/dist/chunks/{schema-ycefwdcs.js → workspace-zfm65xnk.js} +8 -8
  284. package/dist/chunks/{schema-tnj6rg6w.js → workspace-zqt4wd7s.js} +13 -13
  285. package/dist/chunks/{schema-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{schema-bkrhp30v.js → workspace-zx59jank.js} +6 -7
  287. package/dist/chunks/{schema-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +133 -133
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +115 -115
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +99 -99
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +111 -111
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +115 -115
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +126 -126
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -15
  587. package/dist/session/inbox.js +91 -91
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +166 -166
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +220 -218
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +118 -118
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +121 -121
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/types/agent.d.ts +1 -1
  659. package/dist/types/codemode/catalog.d.ts +7 -8
  660. package/dist/types/codemode/tool.d.ts +1 -7
  661. package/dist/types/persistent-pty/daemon.d.ts +39 -21
  662. package/dist/types/session/history.d.ts +0 -5
  663. package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
  664. package/dist/types/session.d.ts +38 -38
  665. package/dist/types/v1/config/migrate.d.ts +2 -28
  666. package/dist/types/worktree/sql.d.ts +1 -1
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +2 -2
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/command.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +94 -94
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +91 -91
  685. package/dist/voice.js +90 -90
  686. package/dist/websearch.js +86 -86
  687. package/dist/wellknown/plugin.js +78 -78
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +3 -3
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +84 -84
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +91 -91
  696. package/dist/worktree.js +102 -102
  697. package/package.json +8 -8
  698. package/dist/chunks/schema-2xehkjwm.js +0 -257
  699. package/dist/chunks/schema-9sh4wc5j.js +0 -18
  700. package/dist/chunks/schema-v0yck56n.js +0 -26
  701. /package/dist/chunks/{schema-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{schema-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{schema-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{schema-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{schema-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{schema-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{schema-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{schema-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{schema-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{schema-3asan66x.js → workspace-3asan66x.js} +0 -0
  711. /package/dist/chunks/{schema-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{schema-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{schema-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{schema-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{schema-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{schema-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{schema-53557ph1.js → workspace-53557ph1.js} +0 -0
  718. /package/dist/chunks/{schema-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{schema-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
  720. /package/dist/chunks/{schema-6prwharc.js → workspace-6prwharc.js} +0 -0
  721. /package/dist/chunks/{schema-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{schema-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{schema-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{schema-822emrt2.js → workspace-822emrt2.js} +0 -0
  725. /package/dist/chunks/{schema-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{schema-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{schema-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{schema-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{schema-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{schema-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{schema-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{schema-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{schema-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{schema-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{schema-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{schema-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{schema-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{schema-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{schema-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{schema-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{schema-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{schema-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{schema-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{schema-df08tz66.js → workspace-df08tz66.js} +0 -0
  745. /package/dist/chunks/{schema-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{schema-e3qxr5gk.js → workspace-e3qxr5gk.js} +0 -0
  747. /package/dist/chunks/{schema-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{schema-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{schema-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{schema-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{schema-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{schema-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{schema-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{schema-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{schema-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{schema-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{schema-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{schema-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{schema-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{schema-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{schema-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{schema-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{schema-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{schema-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{schema-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{schema-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{schema-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{schema-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{schema-m18g726c.js → workspace-m18g726c.js} +0 -0
  770. /package/dist/chunks/{schema-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{schema-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{schema-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{schema-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{schema-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{schema-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{schema-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{schema-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{schema-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{schema-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{schema-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{schema-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{schema-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{schema-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{schema-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{schema-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{schema-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  787. /package/dist/chunks/{schema-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{schema-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{schema-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{schema-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
  791. /package/dist/chunks/{schema-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{schema-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{schema-x61499pn.js → workspace-x61499pn.js} +0 -0
  794. /package/dist/chunks/{schema-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{schema-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{schema-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{schema-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{schema-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  799. /package/dist/chunks/{schema-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service54
3
- } from "./schema-hfjg8gb5.js";
2
+ Service68
3
+ } from "./workspace-4myb3554.js";
4
4
  import {
5
- Service82
6
- } from "./schema-tvcjbwgd.js";
5
+ Service77
6
+ } from "./workspace-yfattsqw.js";
7
7
  import {
8
- Service53
9
- } from "./schema-044xr5hv.js";
8
+ Service67
9
+ } from "./workspace-qssh8sag.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./schema-0gdmqesm.js";
12
+ } from "./workspace-0gdmqesm.js";
13
13
  import {
14
14
  File2,
15
- Service36
16
- } from "./schema-kxbkpg81.js";
15
+ Service49
16
+ } from "./workspace-y6e8h1xc.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin4
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin4 = define({
34
+ var Plugin15 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service36;
37
+ const discovery = yield* Service49;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service53;
39
+ const config = yield* Service67;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service54;
43
+ const location = yield* Service77;
44
+ const watcher = yield* Service68;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin4, exports_instruction };
177
+ export { Plugin15, exports_instruction };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./schema-prjrmqps.js";
3
+ } from "./workspace-2b6qkcs0.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./schema-pkyv6v7h.js";
6
+ } from "./workspace-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-z5v4ffb3.js";
5
+ } from "./workspace-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./schema-tvcjbwgd.js";
7
+ Service77,
8
+ node81
9
+ } from "./workspace-yfattsqw.js";
10
10
  import {
11
- Service66,
12
- node69
13
- } from "./schema-eh1n47qm.js";
11
+ Service60,
12
+ node62
13
+ } from "./workspace-mzmvkc7j.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event12,
27
+ Event: () => Event11,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError9,
34
- Service: () => Service65,
33
+ NotFoundError: () => NotFoundError7,
34
+ Service: () => Service59,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node68
37
+ node: () => node61
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event12 = FileSystem.Event;
95
+ var Event11 = FileSystem.Event;
96
96
 
97
- class Service65 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service59 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service82;
102
- const search = yield* Service66;
101
+ const location = yield* Service77;
102
+ const search = yield* Service60;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError9({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError9({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError9({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service65.of({
121
+ return Service59.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError9({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError7({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node68 = makeLocationNode({
162
- service: Service65,
161
+ var node61 = makeLocationNode({
162
+ service: Service59,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node69]
164
+ deps: [FSUtil.node, node81, node62]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service65, node68, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service59, node61, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./schema-eh3zwz77.js";
3
+ } from "./workspace-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./schema-e73j6tqm.js";
6
+ } from "./workspace-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./schema-3wcehsnq.js";
9
+ } from "./workspace-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./schema-dap0rakb.js";
12
+ } from "./workspace-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./schema-4y7fprxs.js";
15
+ } from "./workspace-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service53
3
- } from "./schema-044xr5hv.js";
2
+ Service67
3
+ } from "./workspace-qssh8sag.js";
4
4
  import {
5
- Service34
6
- } from "./schema-atzyg80d.js";
5
+ Service38
6
+ } from "./workspace-j6p3x2qe.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin6,
15
+ Plugin: () => Plugin11,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin6 = define({
20
+ var Plugin11 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service53;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service67;
28
+ const mcp = yield* Service38;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin6, register2, exports_mcp };
49
+ export { Plugin11, register2, exports_mcp };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./schema-hgz4x7wa.js";
5
+ } from "./workspace-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./workspace-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./schema-qaymkmh1.js";
3
+ } from "./workspace-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service62,
3
- node65,
2
+ Service54,
3
+ node56,
4
4
  canonical3
5
- } from "./schema-47rxzzmb.js";
5
+ } from "./workspace-cah5dkv9.js";
6
6
  import {
7
- Service42,
8
- node44
9
- } from "./schema-sxzvkvgj.js";
7
+ Service45,
8
+ node47
9
+ } from "./workspace-mx9vqzsb.js";
10
10
  import {
11
- Service16
12
- } from "./schema-d3cjz2rg.js";
11
+ Service14
12
+ } from "./workspace-neqjwg63.js";
13
13
  import {
14
14
  layer2
15
- } from "./schema-2xehkjwm.js";
15
+ } from "./workspace-stn147wg.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service62, Effect.gen(function* () {
20
+ return Layer.effect(Service54, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service16);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node44.replace(Layer.succeed(Service42, {
57
+ node47.replace(Layer.succeed(Service45, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node65.replace(Layer.succeed(Service62, map))
61
+ node56.replace(Layer.succeed(Service54, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-phwvtd3y.js";
4
+ } from "./workspace-tvgxg3g6.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./schema-tvcjbwgd.js";
6
+ Service77,
7
+ node81
8
+ } from "./workspace-yfattsqw.js";
9
9
  import {
10
- Service68,
11
- node71
12
- } from "./schema-gtz7nked.js";
10
+ Service73,
11
+ node76
12
+ } from "./workspace-5x8rsm2f.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./schema-gd4qta3r.js";
15
+ } from "./workspace-gd4qta3r.js";
16
16
  import {
17
- Service64,
17
+ Service76,
18
18
  args2,
19
- node67
20
- } from "./schema-kn8ed5j7.js";
19
+ node80
20
+ } from "./workspace-t2s68hp7.js";
21
21
  import {
22
- Service58,
23
- node61
24
- } from "./schema-aq5y8b9e.js";
22
+ Service66,
23
+ node69
24
+ } from "./workspace-qby9dwvd.js";
25
25
  import {
26
- Service46,
27
- node48
28
- } from "./schema-be7qvw84.js";
26
+ Service64,
27
+ node67
28
+ } from "./workspace-91p1v22t.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./schema-grqp3cmb.js";
31
+ } from "./workspace-nvxqht09.js";
32
32
  import {
33
33
  latest2,
34
- Service53,
35
- node55
36
- } from "./schema-044xr5hv.js";
34
+ Service67,
35
+ node70
36
+ } from "./workspace-qssh8sag.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./schema-40ac0r3r.js";
40
+ } from "./workspace-xg0qp6eg.js";
41
41
  import {
42
42
  __export
43
- } from "./schema-9rqn6x4v.js";
43
+ } from "./workspace-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service45,
51
+ Service: () => Service63,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node47
54
+ node: () => node66
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service45 extends Context.Service()("@opencode/Shell") {
74
+ class Service63 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service45, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service63, Effect.gen(function* () {
91
91
  const bus = yield* Service85;
92
- const location = yield* Service82;
92
+ const location = yield* Service77;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service64;
95
- const environment = yield* Service68;
96
- const hooks = yield* Service58;
97
- const environments = yield* Service46;
98
- const config = yield* Service53;
94
+ const shell = yield* Service76;
95
+ const environment = yield* Service73;
96
+ const hooks = yield* Service66;
97
+ const environments = yield* Service64;
98
+ const config = yield* Service67;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError9({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service45.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service63.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node47 = makeLocationNode({
342
- service: Service45,
341
+ var node66 = makeLocationNode({
342
+ service: Service63,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node89,
346
- node86,
346
+ node81,
347
347
  Global.node,
348
+ node80,
349
+ node76,
350
+ node69,
348
351
  node67,
349
- node71,
350
- node61,
351
- node48,
352
- node55,
352
+ node70,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service45, cleanup2, node47, exports_shell4 };
357
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service63, cleanup2, node66, exports_shell4 };
@@ -1,38 +1,38 @@
1
1
  import {
2
- Service82
3
- } from "./schema-tvcjbwgd.js";
2
+ Service77
3
+ } from "./workspace-yfattsqw.js";
4
4
  import {
5
- Service68
6
- } from "./schema-gtz7nked.js";
5
+ Service73
6
+ } from "./workspace-5x8rsm2f.js";
7
7
  import {
8
- Service20,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./schema-x9xt4rzp.js";
11
+ } from "./workspace-1fnk0qcx.js";
12
12
  import {
13
- Service18
14
- } from "./schema-cjrse1k0.js";
13
+ Service17
14
+ } from "./workspace-mshsb7tz.js";
15
15
  import {
16
- Service48
17
- } from "./schema-yxxhm6wn.js";
16
+ Service46
17
+ } from "./workspace-t18r7gq3.js";
18
18
  import {
19
- Service17,
19
+ Service15,
20
20
  resolvePath2
21
- } from "./schema-4w9ygdqj.js";
21
+ } from "./workspace-xy9gzbcy.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./schema-6prwharc.js";
24
+ } from "./workspace-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./schema-9rqn6x4v.js";
27
+ } from "./workspace-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input5,
34
- Output: () => Output3,
35
- Plugin: () => Plugin24,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin40,
36
36
  name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin24 = {
193
+ var Plugin40 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service17;
197
- const fileMutation = yield* Service20;
198
- const environment = yield* Service68;
199
- const formatter = yield* Service18;
200
- const location = yield* Service82;
201
- const permission = yield* Service48;
196
+ const access = yield* Service15;
197
+ const fileMutation = yield* Service13;
198
+ const environment = yield* Service73;
199
+ const formatter = yield* Service17;
200
+ const location = yield* Service77;
201
+ const permission = yield* Service46;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
203
  name: name5,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
206
  input: Input5,
207
- output: Output3,
207
+ output: Output4,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin24 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name5, Input5, Output3, Plugin24, exports_edit };
279
+ export { name5, Input5, Output4, Plugin40, exports_edit };