@opencode/core 0.0.0-dev-20557 → 0.0.0-dev-20559

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-fsrxrd15.js → integration-0n1m97p8.js} +16 -16
  8. package/dist/chunks/{command-ba9dmd1r.js → integration-0nrwha1n.js} +7 -7
  9. package/dist/chunks/{command-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{command-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{command-a2rpfkac.js → integration-0xqyf95c.js} +4 -4
  12. package/dist/chunks/{command-wb8vnrxj.js → integration-1afj9w30.js} +22 -22
  13. package/dist/chunks/{command-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{command-1dvck2a7.js → integration-1dvck2a7.js} +2 -2
  15. package/dist/chunks/{command-yzs2ct5k.js → integration-1hddc0ez.js} +48 -48
  16. package/dist/chunks/{command-r41a70fd.js → integration-1jfd0cc7.js} +3 -3
  17. package/dist/chunks/{command-1n500b33.js → integration-21gxxnb9.js} +29 -29
  18. package/dist/chunks/{command-7d4y5228.js → integration-25r1j187.js} +17 -17
  19. package/dist/chunks/{command-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
  20. package/dist/chunks/{command-gyheh41a.js → integration-2dh77zgk.js} +80 -80
  21. package/dist/chunks/{command-hn5dn8nf.js → integration-2g2qndgs.js} +10 -10
  22. package/dist/chunks/{command-7dqw4kz8.js → integration-2k8khapm.js} +5 -5
  23. package/dist/chunks/{command-zcr4n024.js → integration-2kw5c8ge.js} +15 -15
  24. package/dist/chunks/{command-h560e691.js → integration-2nnxyksf.js} +13 -13
  25. package/dist/chunks/{command-akgm1adh.js → integration-2px63w2g.js} +9 -9
  26. package/dist/chunks/{command-fe7r1v7c.js → integration-2qpg8hvw.js} +4 -4
  27. package/dist/chunks/{command-56gdpj1q.js → integration-33w4ejhs.js} +6 -6
  28. package/dist/chunks/{command-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{command-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{command-4z58m4b4.js → integration-3sj8yt8v.js} +4 -4
  31. package/dist/chunks/{command-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{command-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{command-pyydss9x.js → integration-3v9zqnbq.js} +4 -4
  34. package/dist/chunks/{command-5w6ne2rj.js → integration-3w0qz7bz.js} +11 -11
  35. package/dist/chunks/{command-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{command-0381t2qh.js → integration-46rrtey5.js} +171 -171
  37. package/dist/chunks/{command-masq385f.js → integration-48fsd0ze.js} +21 -21
  38. package/dist/chunks/{command-nvxc2gt2.js → integration-4b96sq08.js} +11 -11
  39. package/dist/chunks/{command-qsz4qh77.js → integration-4b9qmq0d.js} +15 -15
  40. package/dist/chunks/{command-jb7f9fbg.js → integration-4m5j9vj5.js} +20 -20
  41. package/dist/chunks/{command-y56ehv6b.js → integration-4nj4bn9q.js} +5 -5
  42. package/dist/chunks/{command-2v6want2.js → integration-4rz3aacp.js} +36 -36
  43. package/dist/chunks/{command-6c08fhdk.js → integration-4t430f93.js} +23 -23
  44. package/dist/chunks/{command-2ccvkpx1.js → integration-4ts7tf6z.js} +2 -2
  45. package/dist/chunks/{command-7wrx96wc.js → integration-4zt4rykk.js} +89 -89
  46. package/dist/chunks/integration-53j303dn.js +26 -0
  47. package/dist/chunks/{command-54ma36ye.js → integration-54ma36ye.js} +1 -1
  48. package/dist/chunks/{command-f3r6tdft.js → integration-55qae9zm.js} +38 -38
  49. package/dist/chunks/{command-45wc6gs6.js → integration-56p4k42z.js} +22 -22
  50. package/dist/chunks/{command-9qmfnzwh.js → integration-58ctt3vw.js} +9 -9
  51. package/dist/chunks/{command-srkthfyp.js → integration-590nj5ba.js} +10 -10
  52. package/dist/chunks/{command-698prn30.js → integration-5amwpbtf.js} +35 -35
  53. package/dist/chunks/{command-5daktx2q.js → integration-5daktx2q.js} +1 -1
  54. package/dist/chunks/{command-tk14y25j.js → integration-5fykfdj7.js} +5 -5
  55. package/dist/chunks/{command-mwqvydg1.js → integration-5jr74dtx.js} +1 -1
  56. package/dist/chunks/{command-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{command-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{command-mwckezc6.js → integration-5xe1z5pd.js} +11 -11
  59. package/dist/chunks/{command-01cdp0v3.js → integration-5y8bwb6n.js} +11 -11
  60. package/dist/chunks/{command-tpw6cwsb.js → integration-5yzzbxa7.js} +8 -8
  61. package/dist/chunks/{command-tkakx37z.js → integration-5zkn5psj.js} +35 -35
  62. package/dist/chunks/{command-tbw7bgph.js → integration-62n8sp77.js} +40 -40
  63. package/dist/chunks/{command-zj39adwq.js → integration-633ngz6x.js} +8 -8
  64. package/dist/chunks/{command-669tq793.js → integration-669tq793.js} +1 -1
  65. package/dist/chunks/{command-10wq935e.js → integration-69hsyh17.js} +13 -13
  66. package/dist/chunks/{command-gb0da2f9.js → integration-6m372yhf.js} +13 -13
  67. package/dist/chunks/{command-s3ybr6j1.js → integration-6mw7ctgq.js} +11 -11
  68. package/dist/chunks/{command-6w7ey7g6.js → integration-6mxns61s.js} +5 -5
  69. package/dist/chunks/{command-mbsm52da.js → integration-6njf40he.js} +21 -21
  70. package/dist/chunks/{command-zazrq5bn.js → integration-6vk1te3k.js} +11 -11
  71. package/dist/chunks/{command-71az546q.js → integration-71az546q.js} +2 -2
  72. package/dist/chunks/{command-7yh4e7ss.js → integration-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{command-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{command-61jz9119.js → integration-7p75npdk.js} +20 -20
  75. package/dist/chunks/{command-5f7m8t27.js → integration-80baj145.js} +11 -11
  76. package/dist/chunks/{command-84txncab.js → integration-84txncab.js} +1 -1
  77. package/dist/chunks/{command-e6kkka6h.js → integration-86s15hxv.js} +18 -18
  78. package/dist/chunks/{command-c7c674pr.js → integration-87fhqkv0.js} +49 -49
  79. package/dist/chunks/{command-7pzdf0kv.js → integration-894p73wy.js} +9 -9
  80. package/dist/chunks/{command-4wap8wpx.js → integration-89kpdwyc.js} +8 -8
  81. package/dist/chunks/{command-b7v4cx43.js → integration-89vjf07m.js} +5 -5
  82. package/dist/chunks/{command-tcezcvh9.js → integration-89znhe33.js} +4 -4
  83. package/dist/chunks/{command-p2me32zz.js → integration-8bjnfysf.js} +13 -13
  84. package/dist/chunks/{command-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{command-ha607pgt.js → integration-8ehfs3z6.js} +6 -6
  86. package/dist/chunks/{command-n71tvzfd.js → integration-8mpfj14y.js} +32 -32
  87. package/dist/chunks/{command-792b105c.js → integration-8sr9g41h.js} +20 -20
  88. package/dist/chunks/{command-4kk4wpc5.js → integration-8xfszxp2.js} +7 -7
  89. package/dist/chunks/{command-cg0qn6vf.js → integration-8ymvype8.js} +4 -4
  90. package/dist/chunks/{command-hmg1zjtq.js → integration-92hbrp2m.js} +19 -19
  91. package/dist/chunks/{command-0670md5a.js → integration-996p1jm6.js} +22 -22
  92. package/dist/chunks/{command-bq5tb2fn.js → integration-9b07y4jg.js} +22 -22
  93. package/dist/chunks/{command-hncay249.js → integration-9berh2b5.js} +20 -20
  94. package/dist/chunks/{command-9e5bzkjp.js → integration-9e5bzkjp.js} +3 -3
  95. package/dist/chunks/{command-e76aamdb.js → integration-9jz63y1y.js} +11 -11
  96. package/dist/chunks/{command-xet9w07d.js → integration-9pf0h08k.js} +15 -15
  97. package/dist/chunks/{command-vbe3v9yb.js → integration-9vygpq8x.js} +32 -32
  98. package/dist/chunks/{command-9jbvj98d.js → integration-9y0w708y.js} +8 -8
  99. package/dist/chunks/{command-py94gk0f.js → integration-9ztdmq49.js} +13 -13
  100. package/dist/chunks/{command-6vhm1ss8.js → integration-a2zscq7f.js} +43 -43
  101. package/dist/chunks/{command-fqzgbyxx.js → integration-a687420s.js} +39 -39
  102. package/dist/chunks/{command-gy37mnbx.js → integration-a8kx2z1g.js} +3 -3
  103. package/dist/chunks/{command-aaet6srn.js → integration-aaet6srn.js} +2 -2
  104. package/dist/chunks/{command-cj2gwqpw.js → integration-aj11vg3s.js} +43 -43
  105. package/dist/chunks/{command-jm5y8arx.js → integration-am14x6rr.js} +26 -26
  106. package/dist/chunks/{command-vx3jgdek.js → integration-arz7hw7x.js} +2 -2
  107. package/dist/chunks/{command-qh7aybsz.js → integration-avj0dg4d.js} +29 -29
  108. package/dist/chunks/{command-8sbdhey5.js → integration-b2ehpbd4.js} +22 -22
  109. package/dist/chunks/{command-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{command-gpmvb07s.js → integration-bgxbcym9.js} +9 -9
  111. package/dist/chunks/{command-sf9vyvr4.js → integration-bqaat35f.js} +16 -16
  112. package/dist/chunks/{command-xjdp6js1.js → integration-brtzvjxe.js} +19 -19
  113. package/dist/chunks/{command-m4wmcnzy.js → integration-bv788cy3.js} +58 -58
  114. package/dist/chunks/{command-18q964k7.js → integration-by1ddq7k.js} +4 -4
  115. package/dist/chunks/{command-qqnbapkp.js → integration-by6hqsjv.js} +26 -26
  116. package/dist/chunks/{command-vjwkcd0q.js → integration-c2zf2dj4.js} +3 -3
  117. package/dist/chunks/{command-02we17gd.js → integration-c3ctmvyr.js} +24 -24
  118. package/dist/chunks/{command-77f241gp.js → integration-cdpaedqb.js} +11 -11
  119. package/dist/chunks/{command-e063bttt.js → integration-ce06597t.js} +13 -13
  120. package/dist/chunks/{command-rh1jjh9e.js → integration-cng830g8.js} +9 -9
  121. package/dist/chunks/{command-cwa6csj7.js → integration-cwa6csj7.js} +2 -2
  122. package/dist/chunks/{command-am2r47bs.js → integration-dapszkb4.js} +45 -45
  123. package/dist/chunks/{command-zgajxp8k.js → integration-dpcpxgba.js} +43 -43
  124. package/dist/chunks/{command-dpkg50ah.js → integration-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{command-eqd5sxw2.js → integration-dqnxxnj8.js} +4 -4
  126. package/dist/chunks/{command-k76fn4kw.js → integration-e2hjzebn.js} +4 -4
  127. package/dist/chunks/{command-17jzngre.js → integration-e72g3r26.js} +18 -18
  128. package/dist/chunks/{command-aqfevk6b.js → integration-ebdd9dvq.js} +33 -33
  129. package/dist/chunks/{command-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{command-gyrwew5n.js → integration-effradxc.js} +13 -13
  131. package/dist/chunks/{command-az7mkngh.js → integration-ejb98f1s.js} +54 -54
  132. package/dist/chunks/{command-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{command-cz4jw647.js → integration-ewbkp6fe.js} +8 -8
  134. package/dist/chunks/{command-4fsbr1hj.js → integration-ex63z9fa.js} +16 -16
  135. package/dist/chunks/{command-szkbeypk.js → integration-f2jgthag.js} +37 -37
  136. package/dist/chunks/{command-dcggx883.js → integration-f98j5cfa.js} +15 -15
  137. package/dist/chunks/{command-bn23jwvg.js → integration-fpv54gav.js} +27 -27
  138. package/dist/chunks/{command-0b3cfvgq.js → integration-fxj3b9yg.js} +24 -24
  139. package/dist/chunks/{command-yxn8eat3.js → integration-g1f3c3d1.js} +21 -21
  140. package/dist/chunks/{command-c33yzrrm.js → integration-g1t94mew.js} +20 -20
  141. package/dist/chunks/{command-p9gsjnq9.js → integration-g281e4xk.js} +19 -19
  142. package/dist/chunks/{command-ptzsp81a.js → integration-g62648wr.js} +9 -9
  143. package/dist/chunks/{command-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{command-kcrarvbt.js → integration-ghxvzn3x.js} +29 -29
  145. package/dist/chunks/{command-52fpbh6z.js → integration-gn2hfjap.js} +8 -8
  146. package/dist/chunks/{command-ne1mz57k.js → integration-gn4bm1t0.js} +22 -22
  147. package/dist/chunks/{command-axbr2pfw.js → integration-gsgajazs.js} +27 -27
  148. package/dist/chunks/{command-h2b79v29.js → integration-h2b79v29.js} +2 -2
  149. package/dist/chunks/{command-k39xy76y.js → integration-h2f60434.js} +6 -6
  150. package/dist/chunks/{command-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{command-0teadcmx.js → integration-hcc7q1jq.js} +19 -19
  152. package/dist/chunks/{command-gze6pn84.js → integration-hp412gpb.js} +14 -14
  153. package/dist/chunks/{command-g2swy422.js → integration-hphr80a8.js} +13 -13
  154. package/dist/chunks/{command-fdhx3fkc.js → integration-hpzkemhr.js} +18 -18
  155. package/dist/chunks/{command-j56e64zr.js → integration-j56e64zr.js} +1 -1
  156. package/dist/chunks/{command-3qqp0k3j.js → integration-j56prkdn.js} +27 -27
  157. package/dist/chunks/{command-rwzsmfev.js → integration-j6ky7ame.js} +24 -24
  158. package/dist/chunks/{command-1z18ck0n.js → integration-j8s9ab9g.js} +9 -9
  159. package/dist/chunks/{command-8kgc6f8d.js → integration-jm1t4tee.js} +3 -3
  160. package/dist/chunks/{command-gd3jjb21.js → integration-jnd02v53.js} +25 -25
  161. package/dist/chunks/{command-ra4c5gbn.js → integration-jzfk96c8.js} +6 -6
  162. package/dist/chunks/{command-mm5kxf07.js → integration-k5m0fz1p.js} +5 -5
  163. package/dist/chunks/{command-mx21tkte.js → integration-k7w12qb3.js} +29 -29
  164. package/dist/chunks/{command-kbqjp078.js → integration-k8hpw67k.js} +5 -5
  165. package/dist/chunks/{command-ppmg69pv.js → integration-kchkj68z.js} +4 -4
  166. package/dist/chunks/{command-99y8wah8.js → integration-ketcqt3x.js} +18 -18
  167. package/dist/chunks/{command-gfe6ngy7.js → integration-kfzr7t9c.js} +7 -7
  168. package/dist/chunks/{command-4eq8w0dz.js → integration-kmx0na6r.js} +4 -4
  169. package/dist/chunks/{command-nvw9h1kr.js → integration-kphg7ckb.js} +15 -15
  170. package/dist/chunks/{command-0skwdn09.js → integration-kr7bb6bc.js} +12 -12
  171. package/dist/chunks/{command-7hy03c00.js → integration-ktfy3swb.js} +9 -9
  172. package/dist/chunks/{command-nrtwsycd.js → integration-m0510ky1.js} +23 -23
  173. package/dist/chunks/{command-ayf3dz6t.js → integration-m06mmkzg.js} +19 -19
  174. package/dist/chunks/{command-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{command-pf7k5tdk.js → integration-m46p307c.js} +13 -13
  176. package/dist/chunks/{command-f7rj482f.js → integration-m6f3t844.js} +8 -8
  177. package/dist/chunks/{command-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{command-133vw470.js → integration-mgv8frcb.js} +24 -24
  179. package/dist/chunks/{command-s800pt51.js → integration-mjqndqed.js} +12 -12
  180. package/dist/chunks/{command-7c08hygz.js → integration-mkxakkxe.js} +11 -11
  181. package/dist/chunks/{command-a3wrhx52.js → integration-mm2b3xx7.js} +6 -6
  182. package/dist/chunks/{command-yvcz9db6.js → integration-msetvear.js} +22 -22
  183. package/dist/chunks/{command-addxnjmp.js → integration-mxvxcxwy.js} +4 -4
  184. package/dist/chunks/{command-8g8kbavv.js → integration-n1ccbseb.js} +14 -14
  185. package/dist/chunks/{command-kkp8zx71.js → integration-n2srvep7.js} +4 -4
  186. package/dist/chunks/{command-3556dn8t.js → integration-n2thn3nx.js} +1 -1
  187. package/dist/chunks/{command-vmdhrg7n.js → integration-n6fcfdpm.js} +3 -3
  188. package/dist/chunks/{command-2dzy055r.js → integration-nbg1na0y.js} +24 -24
  189. package/dist/chunks/{command-5pyjqqve.js → integration-nqxj0yn4.js} +2 -2
  190. package/dist/chunks/{command-c20khjev.js → integration-nrdmrqsx.js} +21 -21
  191. package/dist/chunks/{command-8gvvezbt.js → integration-ny14cx4d.js} +9 -9
  192. package/dist/chunks/{command-3we2mweb.js → integration-pgy55b37.js} +8 -8
  193. package/dist/chunks/{command-xkjdq2cq.js → integration-pjbkn2cb.js} +2 -2
  194. package/dist/chunks/{command-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{command-pknna89w.js → integration-pknna89w.js} +1 -1
  196. package/dist/chunks/{command-jkg72wry.js → integration-pwj3jgnv.js} +15 -15
  197. package/dist/chunks/{command-b4twkq7r.js → integration-py3kkmfq.js} +6 -6
  198. package/dist/chunks/{command-0j77ygfz.js → integration-q0xm7vwc.js} +6 -6
  199. package/dist/chunks/{command-xs7n98fv.js → integration-q6m7avnn.js} +11 -11
  200. package/dist/chunks/{command-w68n4ndy.js → integration-q6qyje63.js} +8 -8
  201. package/dist/chunks/{command-p31q7kmk.js → integration-qbq3t42m.js} +5 -5
  202. package/dist/chunks/{command-jfqtm2ew.js → integration-qm0v3jhh.js} +7 -7
  203. package/dist/chunks/{command-epctnf05.js → integration-qnb2yq88.js} +36 -36
  204. package/dist/chunks/{command-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{command-qsdy395h.js → integration-qsdy395h.js} +1 -1
  206. package/dist/chunks/{command-mn5ewebe.js → integration-qt7ev8qn.js} +11 -11
  207. package/dist/chunks/{command-rfg37sv6.js → integration-qv2msmpw.js} +8 -8
  208. package/dist/chunks/{command-qxjc9qry.js → integration-qxjc9qry.js} +3 -3
  209. package/dist/chunks/{command-dzgakk8a.js → integration-qxxfbcsd.js} +3 -3
  210. package/dist/chunks/{command-tw3ak1wx.js → integration-qzy7989e.js} +5 -5
  211. package/dist/chunks/{command-fy7htkd5.js → integration-r2qww7ak.js} +12 -12
  212. package/dist/chunks/{command-tpsj3vqj.js → integration-r85gy1sq.js} +11 -11
  213. package/dist/chunks/{command-kx0tjg78.js → integration-r89p6vhj.js} +22 -22
  214. package/dist/chunks/{command-dpzj6tdt.js → integration-ra6s4a33.js} +5 -5
  215. package/dist/chunks/{command-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{command-rhjbct0v.js → integration-rhjbct0v.js} +1 -1
  217. package/dist/chunks/{command-1acjjqhc.js → integration-rhraev7y.js} +4 -4
  218. package/dist/chunks/{command-ndf92shb.js → integration-rj80bee6.js} +32 -32
  219. package/dist/chunks/{command-5yenn1gs.js → integration-rp35854z.js} +1 -1
  220. package/dist/chunks/{command-as7cf5zz.js → integration-s0b7t9fd.js} +4 -4
  221. package/dist/chunks/{command-s1gmxnwk.js → integration-s58h0p13.js} +13 -13
  222. package/dist/chunks/{command-3s4kvr6z.js → integration-s8j4x6y5.js} +20 -20
  223. package/dist/chunks/{command-m20vhgm3.js → integration-sa13dnrp.js} +5 -5
  224. package/dist/chunks/{command-wecqtg5s.js → integration-scgrse2b.js} +5 -5
  225. package/dist/chunks/{command-nz2nwecc.js → integration-sczwmd32.js} +10 -10
  226. package/dist/chunks/{command-9nyp8823.js → integration-shpbn2ny.js} +22 -22
  227. package/dist/chunks/{command-zxzherh8.js → integration-smgb8att.js} +50 -50
  228. package/dist/chunks/{command-gehm4ms6.js → integration-sqpatsj3.js} +29 -29
  229. package/dist/chunks/{command-srq8z0b0.js → integration-srq8z0b0.js} +2 -2
  230. package/dist/chunks/{command-6kc2kwfx.js → integration-svvjfvf0.js} +17 -17
  231. package/dist/chunks/{command-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{command-06hn525z.js → integration-tb5f0k4y.js} +35 -35
  233. package/dist/chunks/{command-tdstcens.js → integration-tdstcens.js} +1 -1
  234. package/dist/chunks/{command-rmvqqtj5.js → integration-tk75c10s.js} +37 -37
  235. package/dist/chunks/{command-tbmmctgf.js → integration-ty3geqrm.js} +3 -3
  236. package/dist/chunks/{command-v0es1rhs.js → integration-v0es1rhs.js} +2 -2
  237. package/dist/chunks/integration-v1faaxn9.js +18 -0
  238. package/dist/chunks/{command-dncrbkga.js → integration-v3cmarp4.js} +12 -12
  239. package/dist/chunks/{command-vmc16zgv.js → integration-v3k09np6.js} +14 -14
  240. package/dist/chunks/{command-txy71j19.js → integration-vdvz9aqh.js} +311 -311
  241. package/dist/chunks/{command-veqvce7d.js → integration-veqvce7d.js} +1 -1
  242. package/dist/chunks/{command-kzh1e4c0.js → integration-vh2jeqv7.js} +15 -15
  243. package/dist/chunks/{command-rnkhex19.js → integration-vhxef7nb.js} +25 -25
  244. package/dist/chunks/{command-5ggnyshr.js → integration-vrpaqz73.js} +10 -10
  245. package/dist/chunks/{command-f1vyh6xp.js → integration-vtt0yr3x.js} +9 -9
  246. package/dist/chunks/{command-nardgk59.js → integration-vv4g9afh.js} +25 -25
  247. package/dist/chunks/{command-ama4hd1q.js → integration-vye3xcrx.js} +35 -35
  248. package/dist/chunks/{command-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{command-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{command-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{command-r7j38eze.js → integration-w6ahnghs.js} +9 -9
  252. package/dist/chunks/{command-pj1c1pk3.js → integration-w6eesa9k.js} +17 -17
  253. package/dist/chunks/{command-k2eg95vs.js → integration-w7ep3043.js} +10 -10
  254. package/dist/chunks/{command-fzxt6f8m.js → integration-wd2y1ed1.js} +67 -67
  255. package/dist/chunks/{command-wd87259q.js → integration-wd87259q.js} +1 -1
  256. package/dist/chunks/{command-5cy4n67n.js → integration-wdem0pek.js} +6 -6
  257. package/dist/chunks/{command-5vkm6pr7.js → integration-wjs5yan7.js} +32 -32
  258. package/dist/chunks/{command-2b8cc78r.js → integration-wjx6hqf1.js} +8 -8
  259. package/dist/chunks/{command-442pcgs7.js → integration-wypccatr.js} +23 -23
  260. package/dist/chunks/{command-dxptp51h.js → integration-x10t073p.js} +26 -26
  261. package/dist/chunks/{command-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{command-ejjfd3s4.js → integration-x3rjzwb2.js} +18 -18
  263. package/dist/chunks/{command-g5w8qwbj.js → integration-xfkkasph.js} +4 -4
  264. package/dist/chunks/integration-xh623j6n.js +253 -0
  265. package/dist/chunks/{command-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{command-7bc93ez4.js → integration-xsa88cz6.js} +5 -5
  267. package/dist/chunks/{command-z2qvtray.js → integration-xsgjgyxe.js} +6 -6
  268. package/dist/chunks/{command-16tzjgec.js → integration-xtdf1ygn.js} +18 -18
  269. package/dist/chunks/{command-ard2gdvt.js → integration-xxs52zwy.js} +16 -16
  270. package/dist/chunks/{command-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-pfetzwhm.js → integration-y6g66d6j.js} +3 -3
  272. package/dist/chunks/{command-n6s91g4w.js → integration-yb3q3xyj.js} +27 -27
  273. package/dist/chunks/{command-qne3fa44.js → integration-ygdna4kr.js} +5 -5
  274. package/dist/chunks/{command-vynmvp9h.js → integration-yvsf4n3e.js} +9 -9
  275. package/dist/chunks/{command-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{command-ffx0yjy1.js → integration-z16ah6n9.js} +10 -10
  277. package/dist/chunks/{command-yf4jcbx9.js → integration-zdwe30dy.js} +6 -6
  278. package/dist/chunks/{command-j2wb8rqv.js → integration-zjkadnqj.js} +44 -44
  279. package/dist/chunks/{command-hyc9nd41.js → integration-zjsge41k.js} +5 -5
  280. package/dist/chunks/{command-9hyc1rme.js → integration-zm7ktbkp.js} +30 -30
  281. package/dist/chunks/{command-g75k6dtk.js → integration-zp9rdmx5.js} +51 -51
  282. package/dist/chunks/{command-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{command-2vybv818.js → integration-zx74ysyp.js} +8 -8
  284. package/dist/chunks/{command-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +99 -99
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +79 -79
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +98 -98
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +78 -78
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +113 -113
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +115 -115
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +97 -97
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +131 -131
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +116 -116
  586. package/dist/session/model-transport.js +5 -5
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +211 -211
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +106 -106
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/command-err0hz1z.js +0 -26
  682. package/dist/chunks/command-n95b3jav.js +0 -18
  683. package/dist/chunks/command-xtwb32s8.js +0 -253
  684. /package/dist/chunks/{command-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{command-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{command-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{command-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{command-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{command-24dcb14g.js → integration-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{command-2710q6r3.js → integration-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{command-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{command-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{command-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{command-359p4xyc.js → integration-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{command-3asan66x.js → integration-3asan66x.js} +0 -0
  696. /package/dist/chunks/{command-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{command-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{command-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{command-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{command-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{command-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{command-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{command-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{command-53557ph1.js → integration-53557ph1.js} +0 -0
  705. /package/dist/chunks/{command-550bvhaj.js → integration-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{command-6prwharc.js → integration-6prwharc.js} +0 -0
  707. /package/dist/chunks/{command-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{command-7m9af43g.js → integration-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{command-822emrt2.js → integration-822emrt2.js} +0 -0
  710. /package/dist/chunks/{command-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{command-8n3pysct.js → integration-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{command-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{command-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{command-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{command-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{command-af5trqkr.js → integration-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{command-afrmfg78.js → integration-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{command-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{command-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{command-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{command-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{command-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{command-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{command-d9fn303g.js → integration-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{command-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{command-dajrwvna.js → integration-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{command-dap0rakb.js → integration-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{command-df08tz66.js → integration-df08tz66.js} +0 -0
  729. /package/dist/chunks/{command-dy18nga0.js → integration-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{command-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{command-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{command-ec1grn59.js → integration-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{command-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{command-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{command-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{command-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{command-faypxj3z.js → integration-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{command-fd410y7t.js → integration-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{command-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{command-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{command-g86h250q.js → integration-g86h250q.js} +0 -0
  742. /package/dist/chunks/{command-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{command-gftt206x.js → integration-gftt206x.js} +0 -0
  744. /package/dist/chunks/{command-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{command-hk9envan.js → integration-hk9envan.js} +0 -0
  746. /package/dist/chunks/{command-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{command-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{command-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{command-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{command-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{command-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{command-mp448xyj.js → integration-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{command-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{command-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{command-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{command-njntx4h6.js → integration-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{command-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{command-q74kybfr.js → integration-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{command-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{command-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{command-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{command-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{command-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{command-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{command-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{command-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{command-w803qqfp.js → integration-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{command-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{command-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{command-wtztk69x.js → integration-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{command-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{command-x61499pn.js → integration-x61499pn.js} +0 -0
  773. /package/dist/chunks/{command-y44na4kk.js → integration-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{command-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{command-y8f7s663.js → integration-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{command-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{command-ym463w8f.js → integration-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{command-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{command-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./command-ym463w8f.js";
3
+ } from "./integration-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./command-vmc16zgv.js";
2
+ Service80,
3
+ node84
4
+ } from "./integration-v3k09np6.js";
5
5
  import {
6
6
  create3
7
- } from "./command-rdw6cm16.js";
7
+ } from "./integration-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node17
16
+ Service: () => Service52,
17
+ node: () => node56
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service52 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service79;
26
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
27
+ const location = yield* Service80;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service52.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service15,
90
+ var node56 = makeLocationNode({
91
+ service: Service52,
92
92
  layer,
93
- deps: [node83, AppProcess.node]
93
+ deps: [node84, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node17, exports_formatter2 };
96
+ export { Service52, node56, exports_formatter2 };
@@ -1,24 +1,24 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./command-0skwdn09.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./command-nz2nwecc.js";
4
+ } from "./integration-kr7bb6bc.js";
5
+ import {
6
+ Service69,
7
+ node72
8
+ } from "./integration-sczwmd32.js";
9
9
  import {
10
10
  create3
11
- } from "./command-rdw6cm16.js";
11
+ } from "./integration-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event4,
21
- ID: () => ID3,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service17,
31
+ Service: () => Service20,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node20
33
+ node: () => node23
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event4 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event5 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service17 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service20 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service17, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service83;
68
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service69;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service17.of({
127
+ return Service20.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node20 = makeLocationNode({
188
- service: Service17,
187
+ var node23 = makeLocationNode({
188
+ service: Service20,
189
189
  layer,
190
- deps: [node86, node87]
190
+ deps: [node87, node72]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service17, node20, exports_websearch3, Event4 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./command-vmc16zgv.js";
5
+ Service80
6
+ } from "./integration-v3k09np6.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./integration-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service80;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };
@@ -3,21 +3,21 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./command-rhjbct0v.js";
6
+ } from "./integration-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./command-3fc6dm20.js";
11
+ } from "./integration-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
20
- make: () => make15,
17
+ var exports_instructions2 = {};
18
+ __export(exports_instructions2, {
19
+ CodeModeInstructions: () => exports_instructions2,
20
+ make: () => make14,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -111,7 +111,7 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
116
  return make20({
117
117
  key,
@@ -125,4 +125,4 @@ var make15 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make15, exports_instructions4 };
128
+ export { render2, update3, make14, exports_instructions2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-vjwkcd0q.js";
4
+ } from "./integration-c2zf2dj4.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./command-dpkg50ah.js";
7
+ } from "./integration-dpkg50ah.js";
8
8
  import {
9
- Service82,
10
- node86
11
- } from "./command-0skwdn09.js";
9
+ Service83,
10
+ node87
11
+ } from "./integration-kr7bb6bc.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./command-ec1grn59.js";
14
+ } from "./integration-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./command-gftt206x.js";
17
+ } from "./integration-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./command-vx3jgdek.js";
20
+ } from "./integration-arz7hw7x.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./command-9e5bzkjp.js";
24
+ } from "./integration-9e5bzkjp.js";
25
25
  import {
26
26
  __export
27
- } from "./command-9rqn6x4v.js";
27
+ } from "./integration-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info9,
35
+ Info: () => Info14,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service53,
40
+ Service: () => Service57,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
49
- list: () => list3,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
50
  make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node55,
53
+ node: () => node60,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info9,
68
+ Info as Info14,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service53 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service57 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service82;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info9.make({
176
+ }).pipe(Effect.map((event) => Info14.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service53, make18());
231
- var node55 = makeGlobalNode({ service: Service53, layer: layer18, deps: [node88, node86] });
230
+ var layer23 = Layer.effect(Service57, make18());
231
+ var node60 = makeGlobalNode({ service: Service57, layer: layer23, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make18, layer18, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make18, layer23, node60, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-vjwkcd0q.js";
4
+ } from "./integration-c2zf2dj4.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./command-0skwdn09.js";
6
+ Service83,
7
+ node87
8
+ } from "./integration-kr7bb6bc.js";
9
9
  import {
10
10
  create3
11
- } from "./command-rdw6cm16.js";
11
+ } from "./integration-rdw6cm16.js";
12
12
  import {
13
- ID10,
13
+ ID9,
14
14
  Service64,
15
15
  node67
16
- } from "./command-45wc6gs6.js";
16
+ } from "./integration-56p4k42z.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./command-5t3nmthw.js";
19
+ } from "./integration-5t3nmthw.js";
20
20
  import {
21
- Service74,
22
- node78
23
- } from "./command-kcrarvbt.js";
21
+ Service66,
22
+ node69
23
+ } from "./integration-ghxvzn3x.js";
24
24
  import {
25
25
  estimate2
26
- } from "./command-h6vf3j39.js";
26
+ } from "./integration-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./command-ec1grn59.js";
29
+ } from "./integration-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./command-4z58m4b4.js";
35
+ } from "./integration-3sj8yt8v.js";
36
36
  import {
37
- load4
38
- } from "./command-xs7n98fv.js";
37
+ load5
38
+ } from "./integration-q6m7avnn.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./command-3556dn8t.js";
41
+ } from "./integration-n2thn3nx.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
46
  Service33,
47
47
  node36
48
- } from "./command-0b3cfvgq.js";
48
+ } from "./integration-fxj3b9yg.js";
49
49
  import {
50
- Service52,
51
- node54
52
- } from "./command-p2me32zz.js";
50
+ Service59,
51
+ node62
52
+ } from "./integration-8bjnfysf.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./command-wecqtg5s.js";
56
+ } from "./integration-scgrse2b.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./command-7bc93ez4.js";
60
+ } from "./integration-xsa88cz6.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./command-tdstcens.js";
65
+ } from "./integration-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./command-9rqn6x4v.js";
68
+ } from "./integration-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
@@ -75,7 +75,7 @@ __export(exports_compaction2, {
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
- layer: () => layer7,
78
+ layer: () => layer6,
79
79
  node: () => node12,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
@@ -171,12 +171,12 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  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.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
174
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
175
175
  const agents = yield* Service64;
176
- const bus = yield* Service82;
176
+ const bus = yield* Service83;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service74;
179
- const models = yield* Service52;
178
+ const catalog = yield* Service66;
179
+ const models = yield* Service59;
180
180
  const db = (yield* Service84).db;
181
181
  const requests = yield* Service33;
182
182
  const state = create3({
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
272
272
  const send = (request) => {
273
273
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
274
274
  return Effect.gen(function* () {
275
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
275
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
276
276
  const retained = recentUserMessages2(history, context.model, keep);
277
277
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
278
278
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -480,8 +480,8 @@ ${text}`;
480
480
  }));
481
481
  var node12 = makeLocationNode({
482
482
  service: Service10,
483
- layer: layer7,
484
- deps: [node67, node86, node88, llmClient2, node78, node36, node54]
483
+ layer: layer6,
484
+ deps: [node67, node87, node88, llmClient2, node69, node36, node62]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./command-hjbc5kem.js";
3
+ } from "./integration-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./command-emrn6kk6.js";
4
+ } from "./integration-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service54
3
- } from "./command-yf4jcbx9.js";
2
+ Service58
3
+ } from "./integration-zdwe30dy.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-n95b3jav.js";
6
+ } from "./integration-v1faaxn9.js";
7
7
  import {
8
- Service46
9
- } from "./command-g75k6dtk.js";
8
+ Service40
9
+ } from "./integration-zp9rdmx5.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./command-vzs5sf6e.js";
12
+ } from "./integration-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./integration-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service54;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
25
+ const instances = yield* Service58;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,