@opencode-ai/core 0.0.0-dev-19172 → 0.0.0-dev-19174

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{file-retention-1rm0drdm.js → shell-00aww1yf.js} +2 -2
  9. package/dist/chunks/{file-retention-dm4jmc1z.js → shell-02q19v1x.js} +4 -4
  10. package/dist/chunks/{file-retention-h0wh91yw.js → shell-0b65z5fp.js} +5 -5
  11. package/dist/chunks/{file-retention-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{file-retention-kq2xfdb5.js → shell-0h07sdbh.js} +23 -23
  13. package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{file-retention-aydeeq46.js → shell-0sdspkc1.js} +31 -31
  16. package/dist/chunks/{file-retention-104gr47b.js → shell-12t3v3je.js} +20 -20
  17. package/dist/chunks/{file-retention-2s1zz7jz.js → shell-18e1e1p1.js} +43 -43
  18. package/dist/chunks/{file-retention-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{file-retention-my560zn8.js → shell-1dh290mh.js} +11 -11
  20. package/dist/chunks/{file-retention-6c7c909b.js → shell-1h4a14by.js} +61 -61
  21. package/dist/chunks/{file-retention-prkc2mhz.js → shell-1nqpxsj1.js} +11 -11
  22. package/dist/chunks/{file-retention-2jmaghvr.js → shell-1tq060df.js} +6 -6
  23. package/dist/chunks/{file-retention-qm3e3s36.js → shell-20k6nhm9.js} +21 -21
  24. package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-retention-2h2vdh1n.js → shell-220n1ymv.js} +161 -161
  26. package/dist/chunks/{file-retention-tw0mb86q.js → shell-22jc9t4j.js} +8 -8
  27. package/dist/chunks/{file-retention-2402vzrj.js → shell-2402vzrj.js} +1 -1
  28. package/dist/chunks/{file-retention-1wk28q4y.js → shell-292hg6qz.js} +7 -7
  29. package/dist/chunks/{file-retention-29x78va6.js → shell-29x78va6.js} +2 -2
  30. package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-retention-hv0dr4wn.js → shell-2cnxy6r2.js} +10 -10
  32. package/dist/chunks/{file-retention-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{file-retention-rmhappp8.js → shell-2nz939r2.js} +11 -11
  34. package/dist/chunks/{file-retention-549wn4nn.js → shell-2pqs5rb6.js} +25 -25
  35. package/dist/chunks/{file-retention-1hy241bm.js → shell-2qrq5jg3.js} +3 -3
  36. package/dist/chunks/{file-retention-7b5mmf1f.js → shell-2qzq6ga3.js} +8 -8
  37. package/dist/chunks/{file-retention-8w931syc.js → shell-2xs5s17b.js} +4 -4
  38. package/dist/chunks/{file-retention-vbdwr9gf.js → shell-2xx188mn.js} +35 -35
  39. package/dist/chunks/{file-retention-9je5tgfh.js → shell-2yzeteq7.js} +11 -11
  40. package/dist/chunks/{file-retention-bbrq8e4h.js → shell-301db2e0.js} +25 -25
  41. package/dist/chunks/{file-retention-1c7r0953.js → shell-31nvjq2v.js} +8 -8
  42. package/dist/chunks/{file-retention-v5afwe7f.js → shell-344230wv.js} +6 -6
  43. package/dist/chunks/{file-retention-qcdx5q9z.js → shell-35r8yfzd.js} +19 -19
  44. package/dist/chunks/shell-3724gxzf.js +247 -0
  45. package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-retention-48m75tza.js → shell-3jj6bjb6.js} +5 -5
  47. package/dist/chunks/{file-retention-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
  48. package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-retention-bzjv94tm.js → shell-3zzgc37f.js} +17 -17
  51. package/dist/chunks/{file-retention-qpfqqsnr.js → shell-41k9cz4z.js} +28 -28
  52. package/dist/chunks/{file-retention-454k5vzh.js → shell-454k5vzh.js} +1 -1
  53. package/dist/chunks/{file-retention-qs4avvkb.js → shell-45t9anda.js} +1 -1
  54. package/dist/chunks/{file-retention-eg4pr325.js → shell-46e97tr7.js} +10 -10
  55. package/dist/chunks/{file-retention-hq7cfhbs.js → shell-4n9v30zw.js} +21 -21
  56. package/dist/chunks/{file-retention-vg6xpb0x.js → shell-4pb24dhv.js} +15 -15
  57. package/dist/chunks/{file-retention-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
  58. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  59. package/dist/chunks/{file-retention-1wtypr3q.js → shell-4za3avwx.js} +9 -9
  60. package/dist/chunks/{file-retention-1epsx5vc.js → shell-58srr6fv.js} +26 -26
  61. package/dist/chunks/{file-retention-3qy3ajen.js → shell-5ctdmadx.js} +8 -8
  62. package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-retention-gz64hf7x.js → shell-5fc6d9pe.js} +20 -20
  64. package/dist/chunks/{file-retention-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{file-retention-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{file-retention-cb4795z8.js → shell-5mm0tfy6.js} +8 -8
  67. package/dist/chunks/{file-retention-zajwd6at.js → shell-5nzbd5n0.js} +5 -5
  68. package/dist/chunks/{file-retention-4w149egh.js → shell-5pdbny0n.js} +13 -13
  69. package/dist/chunks/{file-retention-dyz4rdvp.js → shell-5qea4ewy.js} +37 -37
  70. package/dist/chunks/{file-retention-6z5bwd8g.js → shell-6abnk40k.js} +9 -9
  71. package/dist/chunks/{file-retention-7aq2fs8e.js → shell-6g84bqmx.js} +18 -18
  72. package/dist/chunks/{file-retention-8jng17b7.js → shell-6hq5c2qk.js} +27 -27
  73. package/dist/chunks/{file-retention-spqcpneg.js → shell-6kgc56n8.js} +6 -6
  74. package/dist/chunks/{file-retention-gzwcbpkz.js → shell-6rbe69zm.js} +13 -13
  75. package/dist/chunks/{file-retention-se7rt37b.js → shell-6smwwksd.js} +20 -20
  76. package/dist/chunks/{file-retention-1twmeren.js → shell-6w7g5p5h.js} +17 -17
  77. package/dist/chunks/{file-retention-vefwj8vq.js → shell-6wf5mw7w.js} +27 -27
  78. package/dist/chunks/{file-retention-711hfp6y.js → shell-711hfp6y.js} +2 -2
  79. package/dist/chunks/{file-retention-72nftnjy.js → shell-72nftnjy.js} +2 -2
  80. package/dist/chunks/{file-retention-eq1pz5kg.js → shell-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{file-retention-n1zgngz1.js → shell-74hfp9tv.js} +22 -22
  82. package/dist/chunks/{file-retention-768z0hjh.js → shell-74jy76yg.js} +1 -1
  83. package/dist/chunks/{file-retention-ajphwd6y.js → shell-759pz1a2.js} +6 -6
  84. package/dist/chunks/{file-retention-nv4hhw20.js → shell-75p0zbr9.js} +24 -24
  85. package/dist/chunks/{file-retention-a8135xa2.js → shell-76scvvk8.js} +32 -32
  86. package/dist/chunks/{file-retention-4x0nmcjx.js → shell-76wr4mq2.js} +9 -9
  87. package/dist/chunks/{file-retention-mcv9pgkp.js → shell-78h3c2ja.js} +6 -6
  88. package/dist/chunks/{file-retention-qwr8y3n7.js → shell-7bfdkh1t.js} +15 -15
  89. package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{file-retention-yj3e99fm.js → shell-7haxhjsc.js} +1 -1
  91. package/dist/chunks/{file-retention-yq2htxd9.js → shell-7p203cgq.js} +24 -24
  92. package/dist/chunks/{file-retention-nf2cw6d6.js → shell-7w2wm759.js} +4 -4
  93. package/dist/chunks/{file-retention-a2ew8a62.js → shell-806j49yq.js} +4 -4
  94. package/dist/chunks/{file-retention-4c8rvwe6.js → shell-8309kjat.js} +10 -10
  95. package/dist/chunks/{file-retention-phazpyca.js → shell-83dvd1w2.js} +50 -50
  96. package/dist/chunks/{file-retention-kbj0c16s.js → shell-863jw130.js} +11 -11
  97. package/dist/chunks/shell-8b1vkr5h.js +460 -0
  98. package/dist/chunks/{file-retention-7zjtv6nt.js → shell-8g67dwbc.js} +8 -8
  99. package/dist/chunks/{file-retention-wsddr4d2.js → shell-95z3gcrg.js} +4 -4
  100. package/dist/chunks/{file-retention-hfwh170d.js → shell-998dat6d.js} +11 -11
  101. package/dist/chunks/{file-retention-ya7s7xtx.js → shell-9kksqv7m.js} +9 -9
  102. package/dist/chunks/{file-retention-jhg236cd.js → shell-9nb3r9db.js} +6 -6
  103. package/dist/chunks/{file-retention-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
  104. package/dist/chunks/{file-retention-2w6bfmvf.js → shell-9t99dw5q.js} +1 -1
  105. package/dist/chunks/{file-retention-he7mv26x.js → shell-9yq0qydf.js} +13 -13
  106. package/dist/chunks/{file-retention-vdgak15q.js → shell-a12tcaaf.js} +6 -6
  107. package/dist/chunks/{file-retention-s0n5ntn1.js → shell-a61ajdq9.js} +14 -14
  108. package/dist/chunks/{file-retention-vkfv6j0y.js → shell-a9c7wcwq.js} +12 -12
  109. package/dist/chunks/{file-retention-84b4417c.js → shell-a9detkdy.js} +30 -30
  110. package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-retention-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
  112. package/dist/chunks/{file-retention-0kahwk4p.js → shell-avja4xez.js} +16 -16
  113. package/dist/chunks/{file-retention-wfkfyy92.js → shell-axh9mnjf.js} +18 -18
  114. package/dist/chunks/{file-retention-ptsfk80f.js → shell-az9b9mm6.js} +4 -4
  115. package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-retention-bq1y9h9w.js → shell-b94fcmr9.js} +34 -34
  117. package/dist/chunks/{file-retention-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
  118. package/dist/chunks/{file-retention-bphmvjfp.js → shell-bcezcar3.js} +5 -5
  119. package/dist/chunks/{file-retention-637933n9.js → shell-bdrwax0s.js} +19 -19
  120. package/dist/chunks/{file-retention-bf0ztrs3.js → shell-bf0ztrs3.js} +1 -1
  121. package/dist/chunks/{file-retention-8zfntaab.js → shell-bh35m6yh.js} +7 -7
  122. package/dist/chunks/{file-retention-ch1mbcxn.js → shell-bpcc17t3.js} +11 -11
  123. package/dist/chunks/{file-retention-hn0tf0a0.js → shell-bzsb4ygm.js} +24 -24
  124. package/dist/chunks/{file-retention-c7cvy1rv.js → shell-c50658qd.js} +41 -41
  125. package/dist/chunks/{file-retention-ek8k105k.js → shell-c6trbygj.js} +4 -4
  126. package/dist/chunks/{file-retention-re380472.js → shell-ca4j1r4e.js} +18 -18
  127. package/dist/chunks/{file-retention-024e4rjz.js → shell-cb182ger.js} +5 -5
  128. package/dist/chunks/{file-retention-42gstqmc.js → shell-cmwx9h7j.js} +4 -4
  129. package/dist/chunks/{file-retention-d72308c8.js → shell-d72308c8.js} +2 -2
  130. package/dist/chunks/{file-retention-z9rwsdjd.js → shell-d8bdgt1m.js} +10 -10
  131. package/dist/chunks/{file-retention-sw4p0vc7.js → shell-ddcwh8jf.js} +3 -3
  132. package/dist/chunks/{file-retention-qezejtch.js → shell-dpc689ym.js} +4 -4
  133. package/dist/chunks/{file-retention-2sjnsy3c.js → shell-drz01ptw.js} +20 -20
  134. package/dist/chunks/{file-retention-nw80mg4a.js → shell-dsf572e0.js} +4 -4
  135. package/dist/chunks/{file-retention-fx4s78ev.js → shell-dsfx0j74.js} +6 -6
  136. package/dist/chunks/{file-retention-3zec4kwx.js → shell-dvf4z69w.js} +27 -27
  137. package/dist/chunks/{file-retention-b729swae.js → shell-e83y27r5.js} +7 -7
  138. package/dist/chunks/{file-retention-f9jp4s2y.js → shell-ec2yajhv.js} +4 -4
  139. package/dist/chunks/{file-retention-bf4tcw57.js → shell-ef5f9nen.js} +8 -8
  140. package/dist/chunks/{file-retention-x2mj0xny.js → shell-eg1n48gj.js} +14 -14
  141. package/dist/chunks/{file-retention-jpg38yrs.js → shell-ep81hxt4.js} +6 -6
  142. package/dist/chunks/{file-retention-7x20s5dd.js → shell-esp3dmb3.js} +3 -3
  143. package/dist/chunks/{file-retention-2jp4bbqb.js → shell-et79eehw.js} +9 -9
  144. package/dist/chunks/{file-retention-6a2fap2g.js → shell-ewakhq0j.js} +16 -16
  145. package/dist/chunks/{file-retention-h0xakedw.js → shell-ex76qa1h.js} +15 -15
  146. package/dist/chunks/{file-retention-e63vekzn.js → shell-f77xc9wm.js} +16 -16
  147. package/dist/chunks/{file-retention-1mrma768.js → shell-famd3pv6.js} +5 -5
  148. package/dist/chunks/{file-retention-azy6xqf9.js → shell-ff1h9ct4.js} +22 -22
  149. package/dist/chunks/{file-retention-g0fndb66.js → shell-fg3wn8a9.js} +87 -87
  150. package/dist/chunks/{file-retention-zgrvrmg3.js → shell-fqt4fs5w.js} +11 -11
  151. package/dist/chunks/{file-retention-kpv66tzn.js → shell-ftabj2dg.js} +22 -22
  152. package/dist/chunks/{file-retention-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{file-retention-fxypknc8.js → shell-fxypknc8.js} +1 -1
  154. package/dist/chunks/{file-retention-ch60wd2z.js → shell-g2fgb7sn.js} +4 -4
  155. package/dist/chunks/{file-retention-g585tkj2.js → shell-g7csxrs7.js} +4 -4
  156. package/dist/chunks/{file-retention-kdsxv0j6.js → shell-gd25jggd.js} +36 -36
  157. package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-retention-gdvy8fx6.js → shell-gdvy8fx6.js} +1 -1
  159. package/dist/chunks/{file-retention-vx7tzmvz.js → shell-gfz2zenh.js} +20 -20
  160. package/dist/chunks/{file-retention-99vjr10t.js → shell-gfz9gwkx.js} +15 -15
  161. package/dist/chunks/{file-retention-m5n300jn.js → shell-ggysapes.js} +20 -20
  162. package/dist/chunks/{file-retention-6tp6t4rz.js → shell-gp4zh27s.js} +9 -9
  163. package/dist/chunks/{file-retention-jp48954f.js → shell-gvphy7jk.js} +8 -8
  164. package/dist/chunks/{file-retention-s4ph2d63.js → shell-h2sw8ea3.js} +15 -15
  165. package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-retention-yhyk0etm.js → shell-h8p6xf2n.js} +22 -22
  167. package/dist/chunks/{file-retention-f4cf0bsx.js → shell-h9ygsckj.js} +43 -43
  168. package/dist/chunks/{file-retention-3kdc12ra.js → shell-hd4bzg4a.js} +18 -18
  169. package/dist/chunks/{file-retention-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
  170. package/dist/chunks/{file-retention-amvr6g9m.js → shell-hjp2pbpf.js} +1 -1
  171. package/dist/chunks/{file-retention-f70g29mr.js → shell-hm2ca2ns.js} +13 -13
  172. package/dist/chunks/{file-retention-qwr8sv5a.js → shell-hn4sjpb5.js} +2 -2
  173. package/dist/chunks/{file-retention-frptnsh5.js → shell-hpbyysca.js} +18 -18
  174. package/dist/chunks/{file-retention-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
  175. package/dist/chunks/{file-retention-cc90a9w8.js → shell-htbxhgrz.js} +17 -17
  176. package/dist/chunks/{file-retention-jk2f9dpk.js → shell-j0h9s30t.js} +13 -13
  177. package/dist/chunks/{file-retention-48ev9q21.js → shell-jqrqy21d.js} +3 -3
  178. package/dist/chunks/{file-retention-byfshvwt.js → shell-jv6tbxxe.js} +8 -8
  179. package/dist/chunks/{file-retention-4w7zm36c.js → shell-jx283wc3.js} +11 -11
  180. package/dist/chunks/{file-retention-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
  181. package/dist/chunks/{file-retention-tq75tfgs.js → shell-k6p8g4fk.js} +54 -54
  182. package/dist/chunks/{file-retention-kg06axw8.js → shell-kg06axw8.js} +1 -1
  183. package/dist/chunks/{file-retention-t26mc4v5.js → shell-kja6ea6z.js} +11 -11
  184. package/dist/chunks/{file-retention-pz2n2jx2.js → shell-kjrs54vr.js} +16 -16
  185. package/dist/chunks/{file-retention-rsqwdw7v.js → shell-kthrd1n2.js} +22 -22
  186. package/dist/chunks/{file-retention-kvsjn1dr.js → shell-kvsjn1dr.js} +2 -2
  187. package/dist/chunks/{file-retention-y86ghdgz.js → shell-kyb951k0.js} +3 -3
  188. package/dist/chunks/{file-retention-yfpt1t1p.js → shell-m05jjnz9.js} +10 -10
  189. package/dist/chunks/{file-retention-rvb2zp0m.js → shell-m4bpwynw.js} +6 -6
  190. package/dist/chunks/{file-retention-xh36sb1y.js → shell-m9q8vvrp.js} +11 -11
  191. package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/shell-mb6dchx6.js +22 -0
  193. package/dist/chunks/shell-mf5kcrna.js +4 -0
  194. package/dist/chunks/{file-retention-4f8s46ta.js → shell-mjs0kabc.js} +24 -24
  195. package/dist/chunks/{file-retention-5m3fjy3v.js → shell-mn410wgw.js} +49 -49
  196. package/dist/chunks/{file-retention-g4wkbvr8.js → shell-mpcfbaan.js} +16 -16
  197. package/dist/chunks/{file-retention-28pcbh69.js → shell-mtcjf44p.js} +4 -4
  198. package/dist/chunks/{file-retention-qkq8j0kd.js → shell-mvhtz5js.js} +5 -5
  199. package/dist/chunks/{file-retention-376701a1.js → shell-n3m9wsvh.js} +25 -25
  200. package/dist/chunks/{file-retention-402r2v51.js → shell-n87qk14a.js} +26 -26
  201. package/dist/chunks/{file-retention-tppvcy65.js → shell-nag7dxjf.js} +5 -5
  202. package/dist/chunks/{file-retention-gxrht0qn.js → shell-ng39vjdn.js} +2 -2
  203. package/dist/chunks/{file-retention-ns4erenn.js → shell-nghta7n5.js} +35 -35
  204. package/dist/chunks/{file-retention-xgjy9czn.js → shell-nxrz604p.js} +9 -9
  205. package/dist/chunks/{file-retention-bqa77dn1.js → shell-nxz3kcv2.js} +30 -30
  206. package/dist/chunks/{file-retention-xd7hh38v.js → shell-nzfzr9h0.js} +41 -41
  207. package/dist/chunks/{file-retention-yh7xbh7w.js → shell-p563rwwf.js} +41 -41
  208. package/dist/chunks/{file-retention-637qq8n2.js → shell-pbhkjpds.js} +9 -9
  209. package/dist/chunks/{file-retention-n8c291r7.js → shell-pjedbq3k.js} +6 -6
  210. package/dist/chunks/{file-retention-hcdssky2.js → shell-pjjtcy2p.js} +10 -10
  211. package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
  213. package/dist/chunks/{file-retention-d1a1bt21.js → shell-pxednv00.js} +5 -5
  214. package/dist/chunks/{file-retention-8enene87.js → shell-pxz8xz7s.js} +9 -9
  215. package/dist/chunks/{file-retention-fcrkznn8.js → shell-qgn6gcr1.js} +5 -5
  216. package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
  217. package/dist/chunks/{file-retention-agwvegtk.js → shell-qy387ach.js} +11 -11
  218. package/dist/chunks/{file-retention-q5m5resc.js → shell-r56wj6jx.js} +14 -14
  219. package/dist/chunks/{file-retention-k0wp4d9t.js → shell-r7cz99r0.js} +14 -14
  220. package/dist/chunks/{file-retention-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
  221. package/dist/chunks/{file-retention-tzmrq1hj.js → shell-rd7fx9p1.js} +16 -16
  222. package/dist/chunks/{file-retention-6h5vvsan.js → shell-rdq9thdd.js} +32 -32
  223. package/dist/chunks/{file-retention-pah7pk43.js → shell-rh6rd7ag.js} +4 -4
  224. package/dist/chunks/{file-retention-ss0qxjqq.js → shell-rh6wbg4w.js} +15 -15
  225. package/dist/chunks/{file-retention-rcbdex51.js → shell-rpqdjjqf.js} +12 -12
  226. package/dist/chunks/{file-retention-0b89de78.js → shell-rzejcw32.js} +5 -5
  227. package/dist/chunks/{file-retention-44z5w399.js → shell-rzq71d0k.js} +18 -18
  228. package/dist/chunks/{file-retention-jnmmvqjs.js → shell-rzyn4jtv.js} +1 -1
  229. package/dist/chunks/{file-retention-3m34twvx.js → shell-s09ja0ad.js} +25 -25
  230. package/dist/chunks/{file-retention-kqqnddrj.js → shell-s440spbv.js} +22 -22
  231. package/dist/chunks/{file-retention-ere7nfp9.js → shell-s9fwkeje.js} +15 -15
  232. package/dist/chunks/{file-retention-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
  233. package/dist/chunks/{file-retention-2vmasjgj.js → shell-sq68wjyr.js} +9 -9
  234. package/dist/chunks/{file-retention-mqqcxy20.js → shell-t0z8h93t.js} +33 -33
  235. package/dist/chunks/{file-retention-q913b2bh.js → shell-t2cat712.js} +11 -11
  236. package/dist/chunks/{file-retention-zy2xxryr.js → shell-tabs974f.js} +15 -15
  237. package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-retention-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{file-retention-34kkasa2.js → shell-tmq14ezd.js} +36 -36
  241. package/dist/chunks/{file-retention-yk6fpedc.js → shell-ttr1bger.js} +22 -22
  242. package/dist/chunks/{file-retention-xb5d9ad8.js → shell-v623p3vn.js} +8 -8
  243. package/dist/chunks/{file-retention-kce1rcej.js → shell-vdxzp0s5.js} +23 -23
  244. package/dist/chunks/{file-retention-em9v63s6.js → shell-vh6gf742.js} +10 -10
  245. package/dist/chunks/{file-retention-r82grff9.js → shell-vkh6dqf1.js} +3 -3
  246. package/dist/chunks/{file-retention-pjvnwgyc.js → shell-vnj6vh9c.js} +29 -29
  247. package/dist/chunks/{file-retention-zw4pk1bw.js → shell-vnwmzs4a.js} +5 -5
  248. package/dist/chunks/{file-retention-pt7wq7x0.js → shell-vqe9fq18.js} +1 -1
  249. package/dist/chunks/{file-retention-h3at1h9w.js → shell-w0nm8ced.js} +24 -24
  250. package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-retention-v9p73nbe.js → shell-w6h9pbxs.js} +11 -11
  252. package/dist/chunks/{file-retention-8njmz93d.js → shell-w794bvtj.js} +32 -32
  253. package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-retention-atz03w0q.js → shell-wdhc4zn8.js} +8 -8
  255. package/dist/chunks/{file-retention-r5k1hnjc.js → shell-wkjngxy5.js} +3 -3
  256. package/dist/chunks/{file-retention-8jq7hkfv.js → shell-wkqpxhsk.js} +7 -7
  257. package/dist/chunks/{file-retention-10dh1exf.js → shell-wn5mwez2.js} +82 -82
  258. package/dist/chunks/{file-retention-97ex6grt.js → shell-wsnh7t8r.js} +15 -15
  259. package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-retention-aet6n25v.js → shell-xay8nyhx.js} +9 -9
  261. package/dist/chunks/{file-retention-wfpv7nq4.js → shell-xe4jdaw3.js} +5 -5
  262. package/dist/chunks/{file-retention-mawa6aat.js → shell-xgbmxshw.js} +10 -10
  263. package/dist/chunks/{file-retention-0p0zxxmq.js → shell-xnf7zpzd.js} +8 -8
  264. package/dist/chunks/{file-retention-qkqkrz6w.js → shell-xxtg5rsy.js} +23 -23
  265. package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-retention-y2cqme3r.js → shell-y2cqme3r.js} +2 -2
  267. package/dist/chunks/{file-retention-y71avatq.js → shell-y71avatq.js} +1 -1
  268. package/dist/chunks/{file-retention-jjtcncep.js → shell-ycn3x014.js} +9 -9
  269. package/dist/chunks/{file-retention-dyy50z5j.js → shell-yew4gc92.js} +20 -20
  270. package/dist/chunks/{file-retention-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{file-retention-dsdh720h.js → shell-ygrnprnw.js} +12 -12
  272. package/dist/chunks/{file-retention-e1tm9aav.js → shell-ygtbksd3.js} +26 -26
  273. package/dist/chunks/{file-retention-fve27tvk.js → shell-ytpzjm8d.js} +26 -26
  274. package/dist/chunks/{file-retention-09ywgxwg.js → shell-yw9364ag.js} +4 -4
  275. package/dist/chunks/{file-retention-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{file-retention-z3xgatyd.js → shell-z3xgatyd.js} +1 -1
  277. package/dist/chunks/{file-retention-3rfnhdhv.js → shell-za9jakaj.js} +9 -9
  278. package/dist/chunks/{file-retention-83gby3am.js → shell-zg1tfnff.js} +32 -32
  279. package/dist/chunks/{file-retention-rntd5zhx.js → shell-zj4p2a1k.js} +8 -8
  280. package/dist/chunks/{file-retention-205rsrbm.js → shell-ztjnpbp4.js} +6 -6
  281. package/dist/chunks/{file-retention-wj5n32w8.js → shell-zvpejf85.js} +46 -46
  282. package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-retention-zjwga192.js → shell-zzv1x10w.js} +28 -28
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +114 -114
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +78 -78
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +214 -214
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +98 -98
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +81 -81
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +80 -80
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +102 -102
  463. package/dist/mcp/instructions.js +118 -118
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +6 -6
  470. package/dist/models-dev.js +84 -84
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +80 -80
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +103 -103
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +3 -3
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +72 -72
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -339
  532. package/dist/plugin/system-prompt.js +4 -4
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +6 -6
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +214 -214
  545. package/dist/project/schema.js +4 -4
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +81 -81
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +92 -92
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +82 -82
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +125 -125
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +214 -214
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +87 -87
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +1 -1
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +165 -165
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +84 -84
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +211 -211
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +11 -11
  612. package/dist/shell.js +130 -130
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +117 -117
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +118 -118
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +105 -105
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +102 -102
  634. package/dist/tool/plugin/write.js +114 -114
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +11 -11
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +5 -5
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +3 -3
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +1 -1
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +7 -7
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +2 -2
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +89 -89
  676. package/package.json +7 -7
  677. package/dist/chunks/file-retention-1bw6255h.js +0 -22
  678. package/dist/chunks/file-retention-619r8v3y.js +0 -18
  679. package/dist/chunks/file-retention-ge8qzb8n.js +0 -460
  680. package/dist/chunks/file-retention-rrnmj2kt.js +0 -247
  681. package/dist/chunks/file-retention-w3vb4krt.js +0 -4
  682. /package/dist/chunks/{file-retention-0fabt78z.js → shell-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
  693. /package/dist/chunks/{file-retention-3t738kvx.js → shell-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{file-retention-41nvscxy.js → shell-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
  701. /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
  703. /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
  706. /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{file-retention-982e01ww.js → shell-982e01ww.js} +0 -0
  709. /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{file-retention-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
  725. /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
  737. /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
  739. /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{file-retention-j935v87r.js → shell-j935v87r.js} +0 -0
  742. /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{file-retention-mntxs535.js → shell-mntxs535.js} +0 -0
  746. /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{file-retention-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{file-retention-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{file-retention-twg0f83k.js → shell-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{file-retention-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
  770. /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{file-retention-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service52,
8
+ Service: () => Service61,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node56
10
+ node: () => node65
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service52 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service61 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service52, () => {
17
+ var layer = Layer.sync(Service61, () => {
18
18
  const environments = new Map;
19
- return Service52.of({
19
+ return Service61.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node56 = makeGlobalNode({ service: Service52, layer, deps: [] });
29
+ var node65 = makeGlobalNode({ service: Service61, layer, deps: [] });
30
30
 
31
- export { Service52, node56, exports_environment };
31
+ export { Service61, node65, exports_environment };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service70
3
- } from "./file-retention-f4cf0bsx.js";
2
+ Service62
3
+ } from "./shell-h9ygsckj.js";
4
4
  import {
5
- Service9
6
- } from "./file-retention-637qq8n2.js";
5
+ Service7
6
+ } from "./shell-pbhkjpds.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-retention-qsdy395h.js";
9
+ } from "./shell-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin22
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin43 = define({
22
+ var Plugin22 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service70;
26
- const policy = yield* Service9;
25
+ const config = yield* Service62;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin43 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin43, exports_location_watcher2 };
38
+ export { Plugin22, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-retention-48ev9q21.js";
4
+ } from "./shell-jqrqy21d.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./file-retention-qezejtch.js";
8
+ } from "./shell-dpc689ym.js";
9
9
  import {
10
- Service39,
11
- node42
12
- } from "./file-retention-jpg38yrs.js";
10
+ Service30,
11
+ node33
12
+ } from "./shell-ep81hxt4.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-retention-p8qxwesx.js";
16
+ } from "./shell-p8qxwesx.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./file-retention-fve27tvk.js";
18
+ Service73,
19
+ node78
20
+ } from "./shell-ytpzjm8d.js";
21
21
  import {
22
22
  Ref4
23
- } from "./file-retention-s0n5ntn1.js";
23
+ } from "./shell-a61ajdq9.js";
24
24
  import {
25
- Service60,
26
- node65
27
- } from "./file-retention-tw0mb86q.js";
25
+ Service48,
26
+ node52
27
+ } from "./shell-22jc9t4j.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-retention-982e01ww.js";
30
+ } from "./shell-982e01ww.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./file-retention-fx4s78ev.js";
32
+ NotFoundError4
33
+ } from "./shell-dsfx0j74.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-retention-mntxs535.js";
36
+ } from "./shell-mntxs535.js";
37
37
  import {
38
- Service26
39
- } from "./file-retention-ch60wd2z.js";
38
+ Service16
39
+ } from "./shell-g2fgb7sn.js";
40
40
  import {
41
- Service46,
42
- node49
43
- } from "./file-retention-k0wp4d9t.js";
41
+ Service43,
42
+ node47
43
+ } from "./shell-r7cz99r0.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service38,
48
- node41,
47
+ Service25,
48
+ node29,
49
49
  moveIDs2
50
- } from "./file-retention-m5n300jn.js";
50
+ } from "./shell-ggysapes.js";
51
51
  import {
52
- Service25,
53
- node30
54
- } from "./file-retention-ns4erenn.js";
52
+ Service15,
53
+ node19
54
+ } from "./shell-nghta7n5.js";
55
55
  import {
56
- node29
57
- } from "./file-retention-e63vekzn.js";
56
+ node27
57
+ } from "./shell-f77xc9wm.js";
58
58
  import {
59
59
  __export
60
- } from "./file-retention-9rqn6x4v.js";
60
+ } from "./shell-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service24,
68
+ Service: () => Service14,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node18
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service24 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service14 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service24, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service60;
93
- const store = yield* Service46;
94
- const execution = yield* Service25;
95
- const instances = yield* Service39;
96
- const admission = yield* Service38;
91
+ const projects = yield* Service73;
92
+ const locations = yield* Service48;
93
+ const store = yield* Service43;
94
+ const execution = yield* Service15;
95
+ const instances = yield* Service30;
96
+ const admission = yield* Service25;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError4({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service26.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service16.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service24.of({
136
+ return Service14.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service24,
166
+ var node18 = makeGlobalNode({
167
+ service: Service14,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node65,
174
- node49,
175
- node30,
176
- node42,
177
- node41,
172
+ node78,
173
+ node52,
174
+ node47,
175
+ node19,
176
+ node33,
177
+ node29,
178
178
  node85,
179
179
  node84,
180
- node29
180
+ node27
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service14, node18, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID16,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./file-retention-rvb2zp0m.js";
6
+ } from "./shell-m4bpwynw.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service69,
16
+ Service: () => Service41,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node74
18
+ node: () => node45
19
19
  });
20
20
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID16,
131
+ providerID: ID13,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service69 extends Context.Service()("@opencode/AISDK") {
139
+ class Service41 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service41, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service69.of({
179
+ const service = Service41.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
809
809
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
810
810
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
811
811
  }
812
- var node74 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
812
+ var node45 = makeLocationNode({ service: Service41, layer: locationLayer2, deps: [] });
813
813
 
814
- export { InitError2, Service69, locationLayer2, node74, exports_aisdk };
814
+ export { InitError2, Service41, locationLayer2, node45, exports_aisdk };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./file-retention-s0n5ntn1.js";
2
+ Service72,
3
+ node77
4
+ } from "./shell-a61ajdq9.js";
5
5
  import {
6
6
  Key3,
7
- make17,
7
+ make18,
8
8
  combine2
9
- } from "./file-retention-28pcbh69.js";
9
+ } from "./shell-mtcjf44p.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./shell-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: () => Service31,
19
- node: () => node35
18
+ Service: () => Service20,
19
+ node: () => node23
20
20
  });
21
21
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode-ai/util/global";
24
- class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service31, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service76;
29
- return Service31.of({
28
+ const location = yield* Service72;
29
+ return Service20.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make17({
31
+ make18({
32
32
  key: Key3.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make17({
52
+ make18({
53
53
  key: Key3.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node35 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node81] });
64
+ var node23 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node77] });
65
65
 
66
- export { Service31, node35, exports_builtins };
66
+ export { Service20, node23, exports_builtins };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-xh36sb1y.js";
3
+ } from "./shell-m9q8vvrp.js";
4
4
  import {
5
5
  Service79
6
- } from "./file-retention-qezejtch.js";
6
+ } from "./shell-dpc689ym.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-retention-qkqkrz6w.js";
9
+ Event17
10
+ } from "./shell-xxtg5rsy.js";
11
11
  import {
12
- ID12,
12
+ ID9,
13
13
  MethodID2
14
- } from "./file-retention-hn0tf0a0.js";
14
+ } from "./shell-bzsb4ygm.js";
15
15
  import {
16
- ID16,
16
+ ID13,
17
17
  isAISDK2,
18
18
  packageName2,
19
19
  mergeOverlay2
20
- } from "./file-retention-rvb2zp0m.js";
20
+ } from "./shell-m4bpwynw.js";
21
21
  import {
22
22
  iife2
23
- } from "./file-retention-1kg9ymc8.js";
23
+ } from "./shell-1kg9ymc8.js";
24
24
  import {
25
25
  which2
26
- } from "./file-retention-qaymkmh1.js";
26
+ } from "./shell-qaymkmh1.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./file-retention-8zfntaab.js";
29
+ } from "./shell-bh35m6yh.js";
30
30
 
31
31
  // src/plugin/provider/azure.ts
32
32
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
57
57
  var AzurePlugin2 = define({
58
58
  id: "opencode.provider.azure",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID16.azure);
60
+ const configured = yield* configuredSettings2(ID13.azure);
61
61
  const processes = yield* AppProcess.Service;
62
62
  const bus = yield* Service79;
63
63
  const tokens = new Map;
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
93
93
  });
94
94
  yield* ctx.integration.transform((editor) => {
95
95
  editor.method.update({
96
- integrationID: ID16.azure,
96
+ integrationID: ID13.azure,
97
97
  method: { type: "key", label: "API key", form: form() }
98
98
  });
99
99
  if (!available)
100
100
  return;
101
101
  editor.method.update({
102
- integrationID: ID16.azure,
102
+ integrationID: ID13.azure,
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  });
132
132
  });
133
133
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID16.azure);
134
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
135
135
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
136
  return;
137
137
  })) : undefined;
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
145
145
  yield* load();
146
146
  yield* ctx.catalog.transform((evt) => {
147
147
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
148
+ if (item.provider.id !== ID13.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
149
  continue;
150
150
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
151
  if (resourceName)
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
167
167
  }
168
168
  });
169
169
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
170
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
170
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
171
171
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
172
- if (evt.model.providerID !== ID16.azure)
172
+ if (evt.model.providerID !== ID13.azure)
173
173
  return;
174
- const connection = yield* ctx.integration.connection.active(ID16.azure);
174
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
175
175
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
176
176
  return;
177
177
  })) : undefined;
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID16.azure });
187
+ }), { providerID: ID13.azure });
188
188
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
189
189
  if (evt.package !== "@ai-sdk/azure")
190
190
  return;
191
- if (evt.model.providerID === ID16.azure) {
191
+ if (evt.model.providerID === ID13.azure) {
192
192
  if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
193
193
  throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
194
194
  }
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
197
197
  evt.sdk = mod.createAzure(evt.options);
198
198
  }));
199
199
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
200
- if (evt.model.providerID !== ID16.azure)
200
+ if (evt.model.providerID !== ID13.azure)
201
201
  return;
202
202
  evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
203
203
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./file-retention-29x78va6.js";
3
+ } from "./shell-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID16,
2
+ ID13,
3
3
  packageName2
4
- } from "./file-retention-rvb2zp0m.js";
4
+ } from "./shell-m4bpwynw.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID16.amazonBedrock,
25
+ integrationID: ID13.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service79
3
- } from "./file-retention-qezejtch.js";
3
+ } from "./shell-dpc689ym.js";
4
4
  import {
5
- Service72,
6
- Event18
7
- } from "./file-retention-3kdc12ra.js";
5
+ Service77,
6
+ Event20
7
+ } from "./shell-hd4bzg4a.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin44,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin44 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service79;
24
- const wellknown = yield* Service72;
24
+ const wellknown = yield* Service77;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin44 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin44, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID16,
10
- Info: () => Info29,
9
+ ID: () => ID13,
10
+ Info: () => Info27,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode-ai/schema/provider";
24
24
  import { isRecord } from "@opencode-ai/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
26
- var ID16 = Provider.ID;
26
+ var ID13 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -137,7 +137,7 @@ function mergeHeaders2(base, overlay) {
137
137
  }
138
138
  var Request3 = Provider.Request;
139
139
  var Settings2 = Provider.Settings;
140
- var Info29 = Provider.Info;
140
+ var Info27 = Provider.Info;
141
141
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
142
142
  const module = yield* Effect.tryPromise({
143
143
  try: () => {
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
159
159
  return module;
160
160
  });
161
161
 
162
- export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
162
+ export { ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, exports_provider3 };