@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,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service79,
4
- node83
5
- } from "./schema-vxqrmefd.js";
2
+ ID16,
3
+ Service82,
4
+ node86
5
+ } from "./workspace-daz98v5x.js";
6
6
  import {
7
- ID13,
7
+ ID11,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service78,
19
- node82
20
- } from "./schema-q490b428.js";
18
+ Service71,
19
+ node74
20
+ } from "./workspace-gs67eedh.js";
21
21
  import {
22
- Service76,
23
- node80
24
- } from "./schema-gegxtyrp.js";
22
+ Service56,
23
+ node58
24
+ } from "./workspace-gm6mk2m9.js";
25
25
  import {
26
- ID12,
26
+ ID10,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service77,
30
- node81,
29
+ Service70,
30
+ node73,
31
31
  supportsText2
32
- } from "./schema-1g5hkw1w.js";
32
+ } from "./workspace-80ea5f6r.js";
33
33
  import {
34
34
  __export
35
- } from "./schema-9rqn6x4v.js";
35
+ } from "./workspace-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service75,
44
+ Service: () => Service50,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer26,
52
- node: () => node79,
51
+ layer: () => layer21,
52
+ node: () => node52,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID13,
63
- modelID: ID12,
62
+ providerID: ID11,
63
+ modelID: ID10,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID13,
73
- modelID: ID12,
72
+ providerID: ID11,
73
+ modelID: ID10,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID13,
84
- modelID: ID12,
83
+ providerID: ID11,
84
+ modelID: ID10,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID13,
95
- modelID: ID12,
94
+ providerID: ID11,
95
+ modelID: ID10,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID13,
107
- modelID: ID12,
106
+ providerID: ID11,
107
+ modelID: ID10,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID13,
117
- modelID: ID12,
116
+ providerID: ID11,
117
+ modelID: ID10,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service75 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service50 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID13.azure)
237
+ if (model.providerID === ID11.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer26 = Layer.effect(Service75, Effect.gen(function* () {
273
- const providers = yield* Service78;
274
- const models = yield* Service77;
275
- const integrations = yield* Service79;
272
+ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
273
+ const providers = yield* Service71;
274
+ const models = yield* Service70;
275
+ const integrations = yield* Service82;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service76;
277
+ const aisdk = yield* Service56;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer26 = Layer.effect(Service75, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service75.of({
307
+ return Service50.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node79 = makeLocationNode({
325
- service: Service75,
326
- layer: layer26,
327
- deps: [node82, node81, node83, Npm.node, node80]
324
+ var node52 = makeLocationNode({
325
+ service: Service50,
326
+ layer: layer21,
327
+ deps: [node74, node73, node86, Npm.node, node58]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service75, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node79, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node52, exports_model_resolver };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.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
  LocalSource2,
12
12
  GitSource2
13
- } from "./schema-42kdbcte.js";
13
+ } from "./workspace-pmpp0nb4.js";
14
14
  import {
15
15
  observe2
16
- } from "./schema-qsdy395h.js";
16
+ } from "./workspace-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin9
25
+ Plugin: () => Plugin7
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin9 = define({
31
+ var Plugin7 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service53;
35
- const location = yield* Service82;
34
+ const config = yield* Service67;
35
+ const location = yield* Service77;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin9, exports_reference };
75
+ export { Plugin7, exports_reference };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./schema-88xbtdfr.js";
3
+ } from "./workspace-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./schema-e3qxr5gk.js";
6
+ } from "./workspace-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service54,
15
+ Service: () => Service68,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured6,
18
+ configured: () => configured9,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer21,
20
+ layer: () => layer25,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node56,
22
+ node: () => node71,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service54 extends Context.Service()("@opencode/Watcher") {
52
+ class Service68 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
57
+ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service54.of({ subscribe });
100
+ return Service68.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service54).subscribe,
126
+ subscribe: Context.get(context, Service68).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured6(options) {
160
- return makeGlobalNode({ service: Service54, layer: layer21(options), deps: [nativeNode] });
159
+ function configured9(options) {
160
+ return makeGlobalNode({ service: Service68, layer: layer25(options), deps: [nativeNode] });
161
161
  }
162
- var node56 = configured6();
162
+ var node71 = configured9();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service54, Test3, layer21, testLayer3, nativeLayer2, configured6, node56, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service68, Test3, layer25, testLayer3, nativeLayer2, configured9, node71, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render3
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render3(system_default, tools);
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
@@ -8,7 +8,7 @@ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info15,
11
+ Info: () => Info16,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule3
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info15 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info15, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make15
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make15 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make15 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make15, exports_run_coordinator };
82
+ export { make17, exports_run_coordinator };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./schema-hgz4x7wa.js";
3
+ } from "./workspace-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./schema-z5v4ffb3.js";
6
+ } from "./workspace-z5v4ffb3.js";
7
7
  import {
8
- Service82
9
- } from "./schema-tvcjbwgd.js";
8
+ Service77
9
+ } from "./workspace-yfattsqw.js";
10
10
  import {
11
- Service68
12
- } from "./schema-gtz7nked.js";
11
+ Service73
12
+ } from "./workspace-5x8rsm2f.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service67
16
- } from "./schema-b8y1c3zn.js";
15
+ Service61
16
+ } from "./workspace-r6k9he64.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./schema-9fp5cy9e.js";
23
+ } from "./workspace-e6g20fz5.js";
24
24
  import {
25
- Service48
26
- } from "./schema-yxxhm6wn.js";
25
+ Service46
26
+ } from "./workspace-t18r7gq3.js";
27
27
  import {
28
- Service17
29
- } from "./schema-4w9ygdqj.js";
28
+ Service15
29
+ } from "./workspace-xy9gzbcy.js";
30
30
  import {
31
31
  __export
32
- } from "./schema-9rqn6x4v.js";
32
+ } from "./workspace-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input13,
39
- Output: () => Output9,
40
- Plugin: () => Plugin33,
41
- name: () => name13,
38
+ Input: () => Input9,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin45,
41
+ name: () => name9,
42
42
  toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name13 = "grep";
48
- var Input13 = Schema.Struct({
47
+ var name9 = "grep";
48
+ var Input9 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,7 +65,7 @@ var Input13 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output9 = Schema.Array(Match2);
68
+ var Output7 = Schema.Array(Match2);
69
69
  var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin33 = {
86
+ var Plugin45 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service68;
90
- const ripgrep = yield* Service67;
91
- const location = yield* Service82;
92
- const access = yield* Service17;
93
- const permission = yield* Service48;
89
+ const environment = yield* Service73;
90
+ const ripgrep = yield* Service61;
91
+ const location = yield* Service77;
92
+ const access = yield* Service15;
93
+ const permission = yield* Service46;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name13,
95
+ name: name9,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input13,
99
- output: Output9,
98
+ input: Input9,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name13,
105
+ action: name9,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -154,4 +154,4 @@ var Plugin33 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name13, Input13, Output9, toModelContent6, Plugin33, exports_grep };
157
+ export { name9, Input9, Output7, toModelContent6, Plugin45, exports_grep };