@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,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./schema-tvcjbwgd.js";
5
+ Service77,
6
+ node81
7
+ } from "./workspace-yfattsqw.js";
8
8
  import {
9
- Service67,
10
- node70
11
- } from "./schema-b8y1c3zn.js";
9
+ Service61,
10
+ node63
11
+ } from "./workspace-r6k9he64.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./schema-89znhe33.js";
14
+ names3
15
+ } from "./workspace-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service66,
25
- configured: () => configured10,
24
+ Service: () => Service60,
25
+ configured: () => configured6,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node69
27
+ node: () => node62
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service66 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service60 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service66, Effect.gen(function* () {
55
- const location = yield* Service82;
56
- const ripgrep = yield* Service67;
54
+ var ripgrepLayer = Layer.effect(Service60, Effect.gen(function* () {
55
+ const location = yield* Service77;
56
+ const ripgrep = yield* Service61;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service66, Effect.gen(function* () {
70
70
  cwd: location.directory,
71
71
  pattern: "*",
72
72
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
73
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
73
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
74
74
  onEntry: (entry) => Effect.sync(() => {
75
75
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
76
76
  const parts = entry.path.split("/");
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service66, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service66.of({
101
+ return Service60.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
109
- const location = yield* Service82;
108
+ var fffLayer2 = Layer.effect(Service60, Effect.gen(function* () {
109
+ const location = yield* Service77;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service66.of({
122
+ return Service60.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service66.of({
127
+ return Service60.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service82;
171
+ const location = yield* Service77;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured10(options) {
179
- return makeLocationNode({ service: Service66, layer: layer(options), deps: [node86, node70] });
178
+ function configured6(options) {
179
+ return makeLocationNode({ service: Service60, layer: layer(options), deps: [node81, node63] });
180
180
  }
181
- var node69 = configured10();
181
+ var node62 = configured6();
182
182
 
183
- export { Service66, fffLayer2, configured10, node69, exports_search };
183
+ export { Service60, fffLayer2, configured6, node62, exports_search };
@@ -1,84 +1,84 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./schema-38a6f3y0.js";
4
+ } from "./workspace-s1v8awss.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./schema-phwvtd3y.js";
8
+ } from "./workspace-tvgxg3g6.js";
9
9
  import {
10
10
  create3
11
- } from "./schema-rdw6cm16.js";
11
+ } from "./workspace-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service70,
15
- node74
16
- } from "./schema-nxc81nce.js";
13
+ ID7,
14
+ Service52,
15
+ node54
16
+ } from "./workspace-bwq0z05b.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./schema-775gj3j1.js";
19
+ } from "./workspace-775gj3j1.js";
20
20
  import {
21
- Service77,
22
- node81
23
- } from "./schema-1g5hkw1w.js";
21
+ Service70,
22
+ node73
23
+ } from "./workspace-80ea5f6r.js";
24
24
  import {
25
25
  estimate2
26
- } from "./schema-h6vf3j39.js";
26
+ } from "./workspace-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./schema-ec1grn59.js";
29
+ } from "./workspace-ec1grn59.js";
30
30
  import {
31
31
  kept2,
32
32
  messageToText2,
33
33
  truncateToolOutput2,
34
34
  serializeToolContent2
35
- } from "./schema-8mywswrd.js";
35
+ } from "./workspace-8mywswrd.js";
36
36
  import {
37
37
  isNativeCompaction2,
38
38
  load4
39
- } from "./schema-tqw72dge.js";
39
+ } from "./workspace-dex2drwj.js";
40
40
  import {
41
41
  toLLMMessages2
42
- } from "./schema-qb6nzafx.js";
42
+ } from "./workspace-zaq7yc5h.js";
43
43
  import {
44
44
  outputLimit2,
45
45
  baseTranscript2,
46
46
  unsupportedParts2,
47
47
  boundImages2,
48
- Service27,
49
- node31
50
- } from "./schema-ftrv57z3.js";
48
+ Service31,
49
+ node35
50
+ } from "./workspace-qv9b3h9n.js";
51
51
  import {
52
- Service43,
53
- node45
54
- } from "./schema-k6kw0x3x.js";
52
+ Service44,
53
+ node46
54
+ } from "./workspace-xjzqkwqn.js";
55
55
  import {
56
56
  isRetryable2,
57
57
  policy2
58
- } from "./schema-3t06g8dq.js";
58
+ } from "./workspace-dq407baf.js";
59
59
  import {
60
60
  toSessionError2,
61
61
  contentFilterError2
62
- } from "./schema-b7az7nzg.js";
62
+ } from "./workspace-c3jpadc8.js";
63
63
  import {
64
64
  calculateCost2,
65
65
  record2,
66
66
  add2
67
- } from "./schema-tdstcens.js";
67
+ } from "./workspace-tdstcens.js";
68
68
  import {
69
69
  __export
70
- } from "./schema-9rqn6x4v.js";
70
+ } from "./workspace-9rqn6x4v.js";
71
71
 
72
72
  // src/session/compaction.ts
73
73
  var exports_compaction2 = {};
74
74
  __export(exports_compaction2, {
75
- Service: () => Service8,
75
+ Service: () => Service7,
76
76
  SessionCompaction: () => exports_compaction2,
77
77
  buildPrompt: () => buildPrompt2,
78
78
  estimateContext: () => estimateContext2,
79
79
  estimatePrompt: () => estimatePrompt2,
80
- layer: () => layer6,
81
- node: () => node10,
80
+ layer: () => layer7,
81
+ node: () => node9,
82
82
  recentUserMessages: () => recentUserMessages2
83
83
  });
84
84
  import {
@@ -94,7 +94,7 @@ import {
94
94
  } from "@opencode/ai";
95
95
  import { makeLocationNode } from "@opencode/util/effect/app-node";
96
96
  import { Context, Effect, Layer, Result, Stream } from "effect";
97
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
97
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
98
98
  }
99
99
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
100
100
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -174,14 +174,14 @@ var buildPrompt2 = (update, legacy = false) => {
174
174
  };
175
175
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
176
176
  var LEGACY_HEADING = "## Additional Context";
177
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
178
- const agents = yield* Service70;
177
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
178
+ const agents = yield* Service52;
179
179
  const bus = yield* Service85;
180
180
  const llm = yield* LLMClient.Service;
181
- const catalog = yield* Service77;
182
- const models = yield* Service43;
181
+ const catalog = yield* Service70;
182
+ const models = yield* Service44;
183
183
  const db = (yield* Service86).db;
184
- const requests = yield* Service27;
184
+ const requests = yield* Service31;
185
185
  const state = create3({
186
186
  name: "session-compaction",
187
187
  initial: () => ({ auto: true, keep: 15000 }),
@@ -199,7 +199,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
199
199
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
200
200
  return { status: "skipped" };
201
201
  const native = context.model.compaction?.type === "native";
202
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
202
+ const agent = native ? undefined : yield* agents.get(ID7.make("compaction"));
203
203
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
204
204
  return;
205
205
  })))) ?? context.model;
@@ -473,16 +473,16 @@ ${text}`;
473
473
  }, { metadata: outcome.metadata });
474
474
  return { status: "completed" };
475
475
  });
476
- return Service8.of({
476
+ return Service7.of({
477
477
  transform: state.transform,
478
478
  reload: state.reload,
479
479
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
480
480
  });
481
481
  }));
482
- var node10 = makeLocationNode({
483
- service: Service8,
484
- layer: layer6,
485
- deps: [node74, node89, node90, llmClient2, node81, node31, node45]
482
+ var node9 = makeLocationNode({
483
+ service: Service7,
484
+ layer: layer7,
485
+ deps: [node54, node89, node90, llmClient2, node73, node35, node46]
486
486
  });
487
487
  var previousCompaction = (messages) => {
488
488
  const [first] = messages;
@@ -632,4 +632,4 @@ var estimateMedia = (mime) => {
632
632
  return 0;
633
633
  };
634
634
 
635
- export { Service8, buildPrompt2, layer6, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
635
+ export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./schema-1g5hkw1w.js";
2
+ ID10
3
+ } from "./workspace-80ea5f6r.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,24 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
7
7
  __export(exports_catalog, {
8
8
  CodeModeCatalog: () => exports_catalog,
9
9
  Summary: () => Summary2,
10
- Tool: () => Tool2,
11
10
  namespaceLine: () => namespaceLine2,
12
11
  summarize: () => summarize3
13
12
  });
14
13
  import { Schema } from "effect";
15
- var Tool2 = Schema.Struct({
16
- type: Schema.Literal("tool"),
17
- name: Schema.String,
18
- description: Schema.String,
19
- signature: Schema.String,
20
- pinned: Schema.optionalKey(Schema.Boolean)
21
- });
22
14
  var Listing = Schema.Struct({
23
15
  path: Schema.String,
24
16
  line: Schema.String
@@ -148,4 +140,4 @@ function cost(text) {
148
140
  return Math.round(text.length / CHARACTERS_PER_TOKEN);
149
141
  }
150
142
 
151
- export { Tool2, Summary2, summarize3, namespaceLine2, exports_catalog };
143
+ export { Summary2, summarize3, namespaceLine2, exports_catalog };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./workspace-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./schema-wk0f6cnb.js";
7
+ } from "./workspace-a94rjkpn.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-phwvtd3y.js";
4
+ } from "./workspace-tvgxg3g6.js";
5
5
  import {
6
6
  __export
7
- } from "./schema-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID17,
20
+ Info: () => Info28,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service80,
25
+ Service: () => Service83,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer27,
29
- node: () => node84,
29
+ node: () => node87,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID17 = Form.ID;
39
+ var Info28 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID17
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID17
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID17
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID17,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service80 extends Context.Service()("@opencode/Form") {
82
+ class Service83 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service80, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service83, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID17.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service80.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service83.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service80, layer: layer27, deps: [node89] });
167
+ var node87 = makeLocationNode({ service: Service83, layer: layer27, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer27, node84, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID17, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service83, layer27, node87, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./schema-tvcjbwgd.js";
2
+ Service77,
3
+ node81
4
+ } from "./workspace-yfattsqw.js";
5
5
  import {
6
6
  Key3,
7
7
  make18,
8
8
  combine2
9
- } from "./schema-0gdmqesm.js";
9
+ } from "./workspace-0gdmqesm.js";
10
10
  import {
11
11
  __export
12
- } from "./schema-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service24,
19
- node: () => node28
18
+ Service: () => Service36,
19
+ node: () => node39
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service24 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service24, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service24.of({
28
+ const location = yield* Service77;
29
+ return Service36.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make18({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node28 = makeLocationNode({ service: Service24, layer, deps: [Global.node, node86] });
63
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node81] });
64
64
 
65
- export { Service24, node28, exports_builtins };
65
+ export { Service36, node39, exports_builtins };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-phwvtd3y.js";
5
- import {
6
- Service80,
7
- node84
8
- } from "./schema-zjznsnv6.js";
4
+ } from "./workspace-tvgxg3g6.js";
9
5
  import {
10
6
  Service83,
11
7
  node87
12
- } from "./schema-ygxsryh2.js";
8
+ } from "./workspace-n8nk40tj.js";
9
+ import {
10
+ Service78,
11
+ node82
12
+ } from "./workspace-g1z83s7x.js";
13
13
  import {
14
- Ref4,
15
- Service82,
16
- node86
17
- } from "./schema-tvcjbwgd.js";
14
+ Ref3,
15
+ Service77,
16
+ node81
17
+ } from "./workspace-yfattsqw.js";
18
18
  import {
19
19
  canonical3
20
- } from "./schema-47rxzzmb.js";
20
+ } from "./workspace-cah5dkv9.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./schema-ec1grn59.js";
23
+ } from "./workspace-ec1grn59.js";
24
24
  import {
25
- Service48,
26
- node50
27
- } from "./schema-yxxhm6wn.js";
25
+ Service46,
26
+ node48
27
+ } from "./workspace-t18r7gq3.js";
28
28
  import {
29
- Service38,
30
- node41
31
- } from "./schema-stbcvrcx.js";
29
+ Service23,
30
+ node26
31
+ } from "./workspace-pwrxqpxd.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./workspace-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service16,
41
- node: () => node18
40
+ Service: () => Service14,
41
+ node: () => node16
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service16, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
- const location = yield* Service82;
53
- const permission = yield* Service48;
54
- const forms = yield* Service80;
55
- const rpc = yield* Service38;
56
- const project = yield* Service83;
52
+ const location = yield* Service77;
53
+ const permission = yield* Service46;
54
+ const forms = yield* Service83;
55
+ const rpc = yield* Service23;
56
+ const project = yield* Service78;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
76
76
  yield* forms.close;
77
77
  yield* rpc.close;
78
78
  yield* bus.publish(LocationEvent.Shutdown, {}, {
79
- location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
79
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service16.of({
83
+ return Service14.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node18 = makeLocationNode({
89
- service: Service16,
88
+ var node16 = makeLocationNode({
89
+ service: Service14,
90
90
  layer,
91
- deps: [node89, node86, node50, node87, node84, node41]
91
+ deps: [node89, node81, node48, node82, node87, node26]
92
92
  });
93
93
 
94
- export { Service16, node18, exports_location_lifecycle };
94
+ export { Service14, node16, exports_location_lifecycle };