@opencode/core 0.0.0-dev-20483 → 0.0.0-dev-20484

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +75 -75
  7. package/dist/chunks/{file-retention-w3x9v1nk.js → job-00x4qneg.js} +8 -8
  8. package/dist/chunks/{file-retention-91150f7p.js → job-04dz2mwg.js} +24 -24
  9. package/dist/chunks/job-0ceegmzb.js +26 -0
  10. package/dist/chunks/{file-retention-r4mw293q.js → job-0gyprjrh.js} +22 -22
  11. package/dist/chunks/{file-retention-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-retention-2b07cd18.js → job-0s0pcfqa.js} +26 -26
  13. package/dist/chunks/{file-retention-9ymnkqa3.js → job-0tdbsnfs.js} +20 -20
  14. package/dist/chunks/{file-retention-s9xxw18e.js → job-0tmgye68.js} +9 -9
  15. package/dist/chunks/{file-retention-0vbcp93d.js → job-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{file-retention-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{file-retention-84h8c373.js → job-1dvck2a7.js} +2 -2
  18. package/dist/chunks/{file-retention-taazwa2m.js → job-1ecayfm2.js} +16 -16
  19. package/dist/chunks/{file-retention-q717ea4v.js → job-1mr41meb.js} +3 -3
  20. package/dist/chunks/{file-retention-nc9ket9e.js → job-1vc4wgr6.js} +7 -7
  21. package/dist/chunks/{file-retention-23ydc1ae.js → job-1vn40sqk.js} +13 -13
  22. package/dist/chunks/{file-retention-j4s13nb2.js → job-21b39pgw.js} +11 -11
  23. package/dist/chunks/{file-retention-9phb3768.js → job-252fcpxc.js} +22 -22
  24. package/dist/chunks/{file-retention-s78w3mx6.js → job-28fypr4t.js} +30 -30
  25. package/dist/chunks/{file-retention-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-retention-tj5rcesx.js → job-2mz4afts.js} +34 -34
  27. package/dist/chunks/{file-retention-2dyhgb9n.js → job-34pj92nr.js} +12 -12
  28. package/dist/chunks/{file-retention-9ma816y3.js → job-3529yh6d.js} +25 -25
  29. package/dist/chunks/{file-retention-cy54bjc2.js → job-3b5fc4x6.js} +8 -8
  30. package/dist/chunks/{file-retention-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{file-retention-d0z5e1mn.js → job-3gkypt3w.js} +32 -32
  32. package/dist/chunks/{file-retention-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{file-retention-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{file-retention-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{file-retention-nmpbqy18.js → job-3v0kbfet.js} +6 -6
  36. package/dist/chunks/job-3zqqw4wf.js +252 -0
  37. package/dist/chunks/{file-retention-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{file-retention-2qasw89v.js → job-42hxr70c.js} +5 -5
  39. package/dist/chunks/{file-retention-nvebafbr.js → job-4e164be2.js} +13 -13
  40. package/dist/chunks/{file-retention-26a94np2.js → job-4hb1fs7e.js} +45 -45
  41. package/dist/chunks/{file-retention-89qfpw9h.js → job-4hyge3t9.js} +20 -20
  42. package/dist/chunks/{file-retention-cmp6hdh9.js → job-4rhbcfs7.js} +13 -13
  43. package/dist/chunks/{file-retention-4ts7tf6z.js → job-4ts7tf6z.js} +2 -2
  44. package/dist/chunks/{file-retention-qjz171mj.js → job-4x8313ns.js} +11 -11
  45. package/dist/chunks/{file-retention-0r90g8yp.js → job-4ze0qz38.js} +23 -23
  46. package/dist/chunks/{file-retention-54ma36ye.js → job-54ma36ye.js} +1 -1
  47. package/dist/chunks/{file-retention-gt8adb52.js → job-5d8jjg2a.js} +11 -11
  48. package/dist/chunks/{file-retention-5daktx2q.js → job-5daktx2q.js} +1 -1
  49. package/dist/chunks/{file-retention-1tz386xc.js → job-5dctvf2h.js} +22 -22
  50. package/dist/chunks/{file-retention-gzfdgjtf.js → job-5he9ztn4.js} +13 -13
  51. package/dist/chunks/{file-retention-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{file-retention-qkpjj9ac.js → job-606e7s57.js} +11 -11
  53. package/dist/chunks/{file-retention-rqa1jxse.js → job-63db42yp.js} +2 -2
  54. package/dist/chunks/{file-retention-msgz7vnx.js → job-65c6cr1v.js} +21 -21
  55. package/dist/chunks/{file-retention-669tq793.js → job-669tq793.js} +1 -1
  56. package/dist/chunks/{file-retention-z421k0xb.js → job-6bkvzxvc.js} +13 -13
  57. package/dist/chunks/{file-retention-p4qz04xc.js → job-6fsf9zaf.js} +48 -48
  58. package/dist/chunks/{file-retention-18k9cajk.js → job-6jep61wx.js} +4 -4
  59. package/dist/chunks/{file-retention-2e17eh3v.js → job-6s43m10v.js} +4 -4
  60. package/dist/chunks/{file-retention-kxvjk49k.js → job-6vk6cqnx.js} +5 -5
  61. package/dist/chunks/{file-retention-f75zav2x.js → job-71az546q.js} +2 -2
  62. package/dist/chunks/{file-retention-xxz7chtq.js → job-776eww39.js} +23 -23
  63. package/dist/chunks/{file-retention-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{file-retention-gr6b6mj1.js → job-7e5mvvww.js} +11 -11
  65. package/dist/chunks/{file-retention-9wpkv8d5.js → job-7pbhqj5g.js} +1 -1
  66. package/dist/chunks/{file-retention-dyrnqeff.js → job-7pvptxw7.js} +18 -18
  67. package/dist/chunks/{file-retention-d9y2dced.js → job-7yh18yqc.js} +35 -35
  68. package/dist/chunks/{file-retention-dj02fe1d.js → job-805jvmfk.js} +38 -38
  69. package/dist/chunks/{file-retention-4sq4r2t8.js → job-845knnwv.js} +3 -3
  70. package/dist/chunks/{file-retention-w1eejvng.js → job-84txncab.js} +5 -5
  71. package/dist/chunks/{file-retention-qsr9synt.js → job-84zcxbc9.js} +5 -5
  72. package/dist/chunks/{file-retention-4mp36x47.js → job-879m7mkj.js} +7 -7
  73. package/dist/chunks/{file-retention-e4n08x2a.js → job-89rrabnh.js} +6 -6
  74. package/dist/chunks/{file-retention-xvrdsv0z.js → job-89rvcjqs.js} +8 -8
  75. package/dist/chunks/{file-retention-1qa1mw2k.js → job-89vb7dra.js} +49 -49
  76. package/dist/chunks/{file-retention-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{file-retention-cb03yeca.js → job-8nwcw0vh.js} +14 -14
  78. package/dist/chunks/{file-retention-et5g45k6.js → job-8wqsyj9f.js} +22 -22
  79. package/dist/chunks/{file-retention-b1059kqh.js → job-8xcdgwgr.js} +24 -24
  80. package/dist/chunks/{file-retention-63r88w2b.js → job-91421ejn.js} +11 -11
  81. package/dist/chunks/{file-retention-62e165w1.js → job-95f1p06x.js} +19 -19
  82. package/dist/chunks/{file-retention-kb9j3d72.js → job-9e5bzkjp.js} +3 -3
  83. package/dist/chunks/{file-retention-g2y161wv.js → job-9eq5kwq7.js} +8 -8
  84. package/dist/chunks/{file-retention-n69ahfa0.js → job-9f5fypyy.js} +19 -19
  85. package/dist/chunks/{file-retention-enpnrszd.js → job-9kj06x8f.js} +26 -26
  86. package/dist/chunks/{file-retention-k5zhfa84.js → job-9nacd6wy.js} +23 -23
  87. package/dist/chunks/{file-retention-6y6b3v79.js → job-9t969g9s.js} +40 -40
  88. package/dist/chunks/{file-retention-q3wbtnjt.js → job-9ztw41ba.js} +9 -9
  89. package/dist/chunks/{file-retention-h6wrxb9q.js → job-a1acga6q.js} +29 -29
  90. package/dist/chunks/{file-retention-a1gpj94z.js → job-a1gpj94z.js} +1 -1
  91. package/dist/chunks/{file-retention-86qzxe6p.js → job-a89e0tac.js} +4 -4
  92. package/dist/chunks/{file-retention-aaet6srn.js → job-aaet6srn.js} +2 -2
  93. package/dist/chunks/{file-retention-3v6j8f05.js → job-ae8a0mtb.js} +10 -10
  94. package/dist/chunks/{file-retention-2x8x7t3a.js → job-am4zyg3x.js} +32 -32
  95. package/dist/chunks/{file-retention-njg0144m.js → job-aqm020t7.js} +11 -11
  96. package/dist/chunks/{file-retention-8bx78z2w.js → job-arg427d6.js} +15 -15
  97. package/dist/chunks/{file-retention-ymxbsbk4.js → job-atp0g3t8.js} +5 -5
  98. package/dist/chunks/{file-retention-7np80qm3.js → job-ay92dd8k.js} +2 -2
  99. package/dist/chunks/{file-retention-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{file-retention-qw26wqbf.js → job-bb31bj73.js} +11 -11
  101. package/dist/chunks/{file-retention-4dhdfeb8.js → job-bbwfbsp0.js} +11 -11
  102. package/dist/chunks/{file-retention-6pxgffms.js → job-bhba19d5.js} +3 -3
  103. package/dist/chunks/{file-retention-v1gfxk1h.js → job-bp8hqz04.js} +5 -5
  104. package/dist/chunks/{file-retention-hz0q9sdq.js → job-brsymgq7.js} +8 -8
  105. package/dist/chunks/{file-retention-pm3syzdj.js → job-bwcn5j6b.js} +28 -28
  106. package/dist/chunks/{file-retention-010svtsv.js → job-c696vw1k.js} +26 -26
  107. package/dist/chunks/{file-retention-1tt22aw3.js → job-c6xfqnaz.js} +20 -20
  108. package/dist/chunks/{file-retention-xh27xnk0.js → job-cdpaedqb.js} +11 -11
  109. package/dist/chunks/{file-retention-tfwaqret.js → job-cxv79q0s.js} +8 -8
  110. package/dist/chunks/{file-retention-cmwkp3r5.js → job-czfptnv9.js} +6 -6
  111. package/dist/chunks/{file-retention-ratrq7cm.js → job-d216944b.js} +7 -7
  112. package/dist/chunks/{file-retention-r6km2j76.js → job-dafg3q63.js} +20 -20
  113. package/dist/chunks/{file-retention-xqs03zex.js → job-db40a7k2.js} +21 -21
  114. package/dist/chunks/{file-retention-dpkg50ah.js → job-dpkg50ah.js} +1 -1
  115. package/dist/chunks/{file-retention-tctwkzpn.js → job-drj6kh66.js} +33 -33
  116. package/dist/chunks/{file-retention-j1516eyq.js → job-dwnf82jr.js} +22 -22
  117. package/dist/chunks/{file-retention-ntg2j34t.js → job-dzpmeesh.js} +8 -8
  118. package/dist/chunks/{file-retention-19m1yqgd.js → job-e0rsjk2q.js} +26 -26
  119. package/dist/chunks/{file-retention-1q0jybjw.js → job-e32r1shb.js} +16 -16
  120. package/dist/chunks/{file-retention-jqp48237.js → job-e611xq0d.js} +33 -33
  121. package/dist/chunks/{file-retention-nx5d6twc.js → job-ebkwz4a0.js} +46 -46
  122. package/dist/chunks/{file-retention-2pvxx6w1.js → job-ef2g1qf0.js} +5 -5
  123. package/dist/chunks/{file-retention-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{file-retention-24y4cr83.js → job-etapkk3c.js} +24 -24
  125. package/dist/chunks/{file-retention-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{file-retention-yhws0ggv.js → job-ey3gbykn.js} +10 -10
  127. package/dist/chunks/{file-retention-gpvbq4ra.js → job-f2e33n10.js} +24 -24
  128. package/dist/chunks/{file-retention-kgfzxw26.js → job-f2q7rs2c.js} +10 -10
  129. package/dist/chunks/{file-retention-5fffgman.js → job-f7gh3ba6.js} +59 -59
  130. package/dist/chunks/{file-retention-fcrkznn8.js → job-fcrkznn8.js} +1 -1
  131. package/dist/chunks/{file-retention-a39dgx1a.js → job-ff9nf8j1.js} +6 -6
  132. package/dist/chunks/{file-retention-qvp3ayyr.js → job-fgnxvr0e.js} +4 -4
  133. package/dist/chunks/{file-retention-drvshtg5.js → job-fhmtfgjq.js} +24 -24
  134. package/dist/chunks/{file-retention-tezq3vq8.js → job-fngeym4r.js} +23 -23
  135. package/dist/chunks/{file-retention-w2bejqka.js → job-fnsgkk5v.js} +18 -18
  136. package/dist/chunks/{file-retention-9z7evyec.js → job-ftmswscp.js} +22 -22
  137. package/dist/chunks/{file-retention-bkb94af5.js → job-fxt1fxy4.js} +44 -44
  138. package/dist/chunks/{file-retention-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{file-retention-g7b432k9.js → job-gh60chms.js} +9 -9
  140. package/dist/chunks/{file-retention-a2c5gk3p.js → job-gj6ezef6.js} +3 -3
  141. package/dist/chunks/{file-retention-0r3c1bmw.js → job-gj71zhbs.js} +5 -5
  142. package/dist/chunks/{file-retention-cn1yc8yx.js → job-grjzpzra.js} +36 -36
  143. package/dist/chunks/{file-retention-v81vxjx2.js → job-gw7w5fd1.js} +11 -11
  144. package/dist/chunks/{file-retention-7t9r5z7t.js → job-gzk989te.js} +6 -6
  145. package/dist/chunks/{file-retention-3cegwx68.js → job-h2b79v29.js} +2 -2
  146. package/dist/chunks/{file-retention-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{file-retention-da5crynx.js → job-h8a25g0q.js} +8 -8
  148. package/dist/chunks/job-ht5y0zrb.js +18 -0
  149. package/dist/chunks/{file-retention-j56e64zr.js → job-j56e64zr.js} +1 -1
  150. package/dist/chunks/job-j61mqatf.js +507 -0
  151. package/dist/chunks/{file-retention-c4rc6qkb.js → job-j8afcsyc.js} +4 -4
  152. package/dist/chunks/{file-retention-dc2qckmf.js → job-jbxcgjx1.js} +13 -13
  153. package/dist/chunks/{file-retention-672hp4zj.js → job-jgzxxae3.js} +8 -8
  154. package/dist/chunks/{file-retention-mh3pfvhs.js → job-jhwj2dh9.js} +3 -3
  155. package/dist/chunks/{file-retention-4v3k5exv.js → job-jkndhnnw.js} +33 -33
  156. package/dist/chunks/{file-retention-1yxhyg8n.js → job-jn7y5evw.js} +23 -23
  157. package/dist/chunks/{file-retention-ehy2g33m.js → job-jnybbgrk.js} +26 -26
  158. package/dist/chunks/{file-retention-6517zxh1.js → job-k1zr7m6x.js} +15 -15
  159. package/dist/chunks/{file-retention-ez2gdk13.js → job-k6cecap9.js} +17 -17
  160. package/dist/chunks/{file-retention-8a6ws7jr.js → job-k70p9jzb.js} +9 -9
  161. package/dist/chunks/{file-retention-4kx9erc0.js → job-kdmef29e.js} +16 -16
  162. package/dist/chunks/{file-retention-99z2e8tf.js → job-ke4927j1.js} +25 -25
  163. package/dist/chunks/{file-retention-5nsj1v3b.js → job-kgchvb5g.js} +4 -4
  164. package/dist/chunks/{file-retention-rmzxb8wx.js → job-kkvck9sg.js} +40 -40
  165. package/dist/chunks/{file-retention-pf3jdx00.js → job-knseke5k.js} +5 -5
  166. package/dist/chunks/{file-retention-50mzsvk4.js → job-kvvk39gs.js} +4 -4
  167. package/dist/chunks/{file-retention-8tx99sfv.js → job-kvxp37ch.js} +26 -26
  168. package/dist/chunks/{file-retention-e9rrx8nb.js → job-ky9xk79t.js} +17 -17
  169. package/dist/chunks/{file-retention-dgk23zpj.js → job-m0t8kfr8.js} +30 -30
  170. package/dist/chunks/{file-retention-cs1ase73.js → job-m1xvhn1h.js} +15 -15
  171. package/dist/chunks/{file-retention-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{file-retention-r8ngcrxq.js → job-m8f1tr7k.js} +43 -43
  173. package/dist/chunks/{file-retention-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{file-retention-1ygqh575.js → job-mfqp6xfm.js} +6 -6
  175. package/dist/chunks/{file-retention-9cgh24rp.js → job-mms4j8x0.js} +29 -29
  176. package/dist/chunks/{file-retention-wnk9exdz.js → job-mnz9nf6p.js} +6 -6
  177. package/dist/chunks/{file-retention-y43kper9.js → job-mxt4mzv9.js} +33 -33
  178. package/dist/chunks/{file-retention-1pd86f1r.js → job-myjpspe4.js} +10 -10
  179. package/dist/chunks/{file-retention-t3dkts0r.js → job-n2h2eac6.js} +11 -11
  180. package/dist/chunks/{file-retention-rk1r2hx8.js → job-ncnm8wen.js} +1 -1
  181. package/dist/chunks/{file-retention-7r0r50e5.js → job-nrk5vjbf.js} +5 -5
  182. package/dist/chunks/{file-retention-cc9f4jmy.js → job-nrkmhrqm.js} +9 -9
  183. package/dist/chunks/{file-retention-xevbb3dk.js → job-p2jcy14r.js} +32 -32
  184. package/dist/chunks/{file-retention-jc1gpg60.js → job-p97w62t7.js} +5 -5
  185. package/dist/chunks/{file-retention-cxpvh0dz.js → job-pbktrdgw.js} +13 -13
  186. package/dist/chunks/{file-retention-916ecn31.js → job-pc2g9xby.js} +17 -17
  187. package/dist/chunks/{file-retention-44ak30pa.js → job-pgp1nwjn.js} +4 -4
  188. package/dist/chunks/{file-retention-zn9rd40w.js → job-ph72zhb0.js} +33 -33
  189. package/dist/chunks/{file-retention-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{file-retention-pknna89w.js → job-pknna89w.js} +1 -1
  191. package/dist/chunks/{file-retention-299t90wb.js → job-pkp1f4b1.js} +20 -20
  192. package/dist/chunks/{file-retention-q6e5294y.js → job-pvkpk2yg.js} +40 -40
  193. package/dist/chunks/{file-retention-3kbc11ry.js → job-q09764t2.js} +11 -11
  194. package/dist/chunks/{file-retention-q0xm7vwc.js → job-q0xm7vwc.js} +2 -2
  195. package/dist/chunks/{file-retention-r5zhkawj.js → job-q3zf1qt3.js} +4 -4
  196. package/dist/chunks/{file-retention-dqdxhkv7.js → job-q64b6gma.js} +12 -12
  197. package/dist/chunks/{file-retention-6479pxty.js → job-qhj208n1.js} +5 -5
  198. package/dist/chunks/{file-retention-py5x8axh.js → job-qjrd5z3y.js} +11 -11
  199. package/dist/chunks/{file-retention-qnc92qwc.js → job-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{file-retention-qsdy395h.js → job-qsdy395h.js} +1 -1
  201. package/dist/chunks/{file-retention-ypw91m64.js → job-qwjmgwmn.js} +8 -8
  202. package/dist/chunks/{file-retention-4mat50dd.js → job-qx6n3k28.js} +12 -12
  203. package/dist/chunks/{file-retention-byxd618f.js → job-r27mddg3.js} +22 -22
  204. package/dist/chunks/{file-retention-kn16ews1.js → job-rbaaybz7.js} +17 -17
  205. package/dist/chunks/{file-retention-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{file-retention-emjm3mg5.js → job-re653kwr.js} +18 -18
  207. package/dist/chunks/{file-retention-cwa6csj7.js → job-rey5gbxv.js} +9 -9
  208. package/dist/chunks/{file-retention-rhraev7y.js → job-rhraev7y.js} +1 -1
  209. package/dist/chunks/{file-retention-f3md509a.js → job-rqavd477.js} +18 -18
  210. package/dist/chunks/{file-retention-gmyr53yh.js → job-rqnxqbwj.js} +15 -15
  211. package/dist/chunks/{file-retention-rfx500q8.js → job-rrapbwnz.js} +47 -47
  212. package/dist/chunks/{file-retention-ynx963a9.js → job-rrpq0de9.js} +12 -12
  213. package/dist/chunks/{file-retention-rya9vxen.js → job-rrvn7t8x.js} +44 -44
  214. package/dist/chunks/{file-retention-hb0k09dj.js → job-rtj26w7n.js} +11 -11
  215. package/dist/chunks/{file-retention-63b3jkh8.js → job-rx52w0ft.js} +22 -22
  216. package/dist/chunks/{file-retention-ceb9zpqz.js → job-s4062y39.js} +9 -9
  217. package/dist/chunks/{file-retention-eaj1djv9.js → job-s8d7rejh.js} +6 -6
  218. package/dist/chunks/{file-retention-b3f8fkhc.js → job-scgrse2b.js} +5 -5
  219. package/dist/chunks/{file-retention-8xf2390s.js → job-smbtmeh0.js} +14 -14
  220. package/dist/chunks/{file-retention-48kw51zw.js → job-ss358qx3.js} +3 -3
  221. package/dist/chunks/{file-retention-dqetav0t.js → job-t0gqfsk9.js} +3 -3
  222. package/dist/chunks/{file-retention-evhxnv2q.js → job-t1kt9h53.js} +13 -13
  223. package/dist/chunks/{file-retention-khtp5qmv.js → job-t2n96gj6.js} +23 -23
  224. package/dist/chunks/{file-retention-yygvcae8.js → job-t4qr7arm.js} +9 -9
  225. package/dist/chunks/{file-retention-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{file-retention-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{file-retention-tdstcens.js → job-tdstcens.js} +1 -1
  228. package/dist/chunks/{file-retention-b4twkq7r.js → job-ts23464c.js} +8 -8
  229. package/dist/chunks/{file-retention-qeajncbp.js → job-twt7afdd.js} +18 -18
  230. package/dist/chunks/{file-retention-v0es1rhs.js → job-v0es1rhs.js} +2 -2
  231. package/dist/chunks/{file-retention-eqkxs06z.js → job-v6gb7zv2.js} +6 -6
  232. package/dist/chunks/{file-retention-y1tbwvmr.js → job-v90f1f0w.js} +20 -20
  233. package/dist/chunks/{file-retention-zcf427st.js → job-vaqnypq5.js} +34 -34
  234. package/dist/chunks/{file-retention-knp96k5g.js → job-vemxbn5z.js} +12 -12
  235. package/dist/chunks/{file-retention-veqvce7d.js → job-veqvce7d.js} +1 -1
  236. package/dist/chunks/{file-retention-5cj6t5k8.js → job-vf1qjgrv.js} +8 -8
  237. package/dist/chunks/{file-retention-6akfc5px.js → job-vwe9h2jw.js} +29 -29
  238. package/dist/chunks/{file-retention-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{file-retention-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{file-retention-g5w8qwbj.js → job-w19d8598.js} +7 -7
  241. package/dist/chunks/{file-retention-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{file-retention-6g0d6zmv.js → job-w4n15whw.js} +7 -7
  243. package/dist/chunks/{file-retention-wvj3jknz.js → job-w7kz08sk.js} +93 -93
  244. package/dist/chunks/{file-retention-vzgh18wv.js → job-w82grqqp.js} +5 -5
  245. package/dist/chunks/{file-retention-wd87259q.js → job-wd87259q.js} +1 -1
  246. package/dist/chunks/{file-retention-1f27qpcc.js → job-wfs7sne6.js} +34 -34
  247. package/dist/chunks/{file-retention-6yz0wx8n.js → job-wh6zw745.js} +5 -5
  248. package/dist/chunks/{file-retention-fwyzff2k.js → job-wj8m3a2z.js} +12 -12
  249. package/dist/chunks/{file-retention-qwvc2n28.js → job-wk9525p3.js} +28 -28
  250. package/dist/chunks/{file-retention-jx0q4spf.js → job-wtt9gs87.js} +18 -18
  251. package/dist/chunks/{file-retention-2s45n8cs.js → job-wyfgznph.js} +6 -6
  252. package/dist/chunks/{file-retention-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{file-retention-24etr8ym.js → job-x22bm7xh.js} +20 -20
  254. package/dist/chunks/{file-retention-tnwsy8nb.js → job-x5qcpbd8.js} +81 -81
  255. package/dist/chunks/{file-retention-db2wf4at.js → job-x661k3y3.js} +4 -4
  256. package/dist/chunks/{file-retention-0pdpn3pq.js → job-x98qjjj4.js} +14 -14
  257. package/dist/chunks/{file-retention-xkntkrq7.js → job-xkntkrq7.js} +2 -2
  258. package/dist/chunks/{file-retention-8gszwhhd.js → job-xn06sc8f.js} +7 -7
  259. package/dist/chunks/{file-retention-n37c4crj.js → job-xrpg47n6.js} +9 -9
  260. package/dist/chunks/{file-retention-e7rehdhe.js → job-xttnnv0f.js} +76 -76
  261. package/dist/chunks/{file-retention-xyafkbt0.js → job-xyafkbt0.js} +3 -3
  262. package/dist/chunks/{file-retention-1856z5gp.js → job-xzvapbr6.js} +34 -34
  263. package/dist/chunks/{file-retention-twwzjqdf.js → job-y0ty5fha.js} +6 -6
  264. package/dist/chunks/{file-retention-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-retention-2fcdk11z.js → job-y2mxv8hv.js} +56 -56
  266. package/dist/chunks/{file-retention-19wbe0f4.js → job-y8zcsdtj.js} +19 -19
  267. package/dist/chunks/{file-retention-jnk7qm89.js → job-y9a26cmh.js} +13 -13
  268. package/dist/chunks/{file-retention-a8fr1h6x.js → job-ye26w1a6.js} +176 -176
  269. package/dist/chunks/{file-retention-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{file-retention-htp67ewe.js → job-yvjbjczq.js} +11 -11
  271. package/dist/chunks/{file-retention-22s53sjq.js → job-yz531nnf.js} +8 -8
  272. package/dist/chunks/{file-retention-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{file-retention-7kc72sy1.js → job-z5hwds9v.js} +18 -18
  274. package/dist/chunks/{file-retention-e7fybsm5.js → job-z73we3d1.js} +1 -1
  275. package/dist/chunks/{file-retention-pb2egvkv.js → job-z7yrsjag.js} +9 -9
  276. package/dist/chunks/{file-retention-8p4jk4hz.js → job-zbb2mhvh.js} +16 -16
  277. package/dist/chunks/{file-retention-q5asdkn4.js → job-zee1rnkq.js} +4 -4
  278. package/dist/chunks/{file-retention-xasyx0as.js → job-zfs8ae4p.js} +4 -4
  279. package/dist/chunks/{file-retention-b47w6h91.js → job-zq9cbjfe.js} +13 -13
  280. package/dist/chunks/{file-retention-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-retention-664q6xrj.js → job-zrdk50x6.js} +17 -17
  282. package/dist/chunks/{file-retention-f29mbr7f.js → job-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{file-retention-m2fmqjsg.js → job-zx68b5gk.js} +20 -20
  284. package/dist/chunks/{file-retention-zxq2ej10.js → job-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 +85 -85
  290. package/dist/config/discovery.js +82 -82
  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 +118 -118
  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 +117 -117
  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 +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +74 -74
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  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 +6 -6
  417. package/dist/filesystem/location-watcher.js +214 -214
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  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 +355 -355
  451. package/dist/instruction-discovery.js +79 -79
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  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 +352 -352
  463. package/dist/location.js +83 -83
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +101 -101
  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 +102 -102
  474. package/dist/models-dev.js +101 -101
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  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 +86 -86
  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 +3 -3
  490. package/dist/plugin/internal.js +327 -327
  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 +115 -115
  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/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +74 -74
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +82 -82
  555. package/dist/provider.js +101 -101
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +99 -99
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +79 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +162 -162
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +75 -75
  608. package/dist/session/store.js +87 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +214 -214
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +110 -110
  625. package/dist/snapshot.js +89 -89
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +103 -103
  638. package/dist/tool/plugin/read.js +119 -119
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +113 -113
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +108 -108
  643. package/dist/tool/plugin/websearch.js +114 -114
  644. package/dist/tool/plugin/write.js +114 -114
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/file-retention-16e93gk9.js +0 -507
  683. package/dist/chunks/file-retention-1bmzne1w.js +0 -26
  684. package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
  685. package/dist/chunks/file-retention-kdgzr6za.js +0 -252
  686. /package/dist/chunks/{file-retention-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{file-retention-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{file-retention-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{file-retention-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{file-retention-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{file-retention-24dcb14g.js → job-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{file-retention-2710q6r3.js → job-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-retention-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-retention-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-retention-34c7v6d4.js → job-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{file-retention-359p4xyc.js → job-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{file-retention-3asan66x.js → job-3asan66x.js} +0 -0
  698. /package/dist/chunks/{file-retention-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{file-retention-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{file-retention-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{file-retention-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{file-retention-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{file-retention-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{file-retention-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-retention-53557ph1.js → job-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-retention-550bvhaj.js → job-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-retention-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{file-retention-6prwharc.js → job-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-retention-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-retention-7m9af43g.js → job-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-retention-822emrt2.js → job-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-retention-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-retention-8n3pysct.js → job-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-retention-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-retention-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → job-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → job-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → job-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → job-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → job-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → job-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → job-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-retention-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-retention-ec1grn59.js → job-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-retention-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-retention-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-retention-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-retention-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-retention-faypxj3z.js → job-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-retention-fd410y7t.js → job-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-retention-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-retention-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-retention-g86h250q.js → job-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-retention-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-retention-gftt206x.js → job-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-retention-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-retention-hk9envan.js → job-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-retention-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{file-retention-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{file-retention-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{file-retention-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-retention-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-retention-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-retention-mp448xyj.js → job-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-retention-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-retention-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-retention-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-retention-njntx4h6.js → job-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-retention-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{file-retention-q74kybfr.js → job-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{file-retention-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{file-retention-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{file-retention-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{file-retention-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{file-retention-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-retention-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-retention-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-retention-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-retention-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-retention-w803qqfp.js → job-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{file-retention-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{file-retention-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-retention-wtztk69x.js → job-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-retention-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-retention-x61499pn.js → job-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-retention-y44na4kk.js → job-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-retention-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-retention-y8f7s663.js → job-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{file-retention-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{file-retention-ym463w8f.js → job-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{file-retention-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{file-retention-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./file-retention-f3md509a.js";
2
+ Service83,
3
+ node87
4
+ } from "./job-rqavd477.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./job-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-retention-2fcdk11z.js";
10
+ } from "./job-y2mxv8hv.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event11,
21
- ID: () => ID6,
22
- Info: () => Info9,
20
+ Event: () => Event9,
21
+ ID: () => ID5,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service49,
24
+ Service: () => Service42,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node52,
29
+ node: () => node46,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event11 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info9 = Skill.Info;
43
- var ID6 = Skill.ID;
42
+ var Info7 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service49 extends Context.Service()("@opencode/Skill") {
74
+ class Service42 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service49, Effect.gen(function* () {
77
- const bus = yield* Service82;
76
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
77
+ const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service49.of({
100
+ return Service42.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node52 = makeLocationNode({
112
- service: Service49,
111
+ var node46 = makeLocationNode({
112
+ service: Service42,
113
113
  layer,
114
- deps: [node85]
114
+ deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID6, Name2, available3, toModelOutput3, prepare3, Service49, node52, exports_skill5, Event11 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID5, Name2, available3, toModelOutput3, prepare3, Service42, node46, exports_skill5, Event9 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service45
3
- } from "./file-retention-9z7evyec.js";
2
+ Service54
3
+ } from "./job-ftmswscp.js";
4
4
  import {
5
- Service17,
5
+ Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-retention-cmp6hdh9.js";
8
+ } from "./job-4rhbcfs7.js";
9
9
  import {
10
- Service19
11
- } from "./file-retention-gzfdgjtf.js";
10
+ Service56
11
+ } from "./job-5he9ztn4.js";
12
12
  import {
13
- Service75
14
- } from "./file-retention-2fcdk11z.js";
13
+ Service67
14
+ } from "./job-y2mxv8hv.js";
15
15
  import {
16
- Service74
17
- } from "./file-retention-4kx9erc0.js";
16
+ Service22
17
+ } from "./job-kdmef29e.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-retention-6prwharc.js";
20
+ } from "./job-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-retention-9rqn6x4v.js";
23
+ } from "./job-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
28
  Input: () => Input2,
29
29
  Output: () => Output2,
30
- Plugin: () => Plugin15,
30
+ Plugin: () => Plugin37,
31
31
  WriteTool: () => exports_write,
32
32
  name: () => name2,
33
33
  toModelContent: () => toModelContent2
@@ -49,14 +49,14 @@ var Output2 = Schema.Struct({
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin15 = {
52
+ var Plugin37 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service74;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service45;
58
- const formatter = yield* Service19;
59
- const permission = yield* Service75;
55
+ const access = yield* Service22;
56
+ const fileMutation = yield* Service13;
57
+ const environment = yield* Service54;
58
+ const formatter = yield* Service56;
59
+ const permission = yield* Service67;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
61
  name: name2,
62
62
  options: { codemode: false, permission: "edit" },
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin15, exports_write };
101
+ export { name2, Input2, Output2, toModelContent2, Plugin37, exports_write };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-retention-gd4qta3r.js";
3
+ } from "./job-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./file-retention-rdw6cm16.js";
6
+ } from "./job-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service69,
18
+ Service: () => Service49,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node72
21
+ node: () => node53
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service69 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service49 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service69, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service69.of({
119
+ return Service49.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node72 = makeLocationNode({
137
- service: Service69,
136
+ var node53 = makeLocationNode({
137
+ service: Service49,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service69, node72, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service49, node53, exports_tool_output2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-retention-tctwkzpn.js";
3
+ } from "./job-drj6kh66.js";
4
4
  import {
5
- Service64
6
- } from "./file-retention-4v3k5exv.js";
5
+ Service72
6
+ } from "./job-jkndhnnw.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin20,
14
+ Plugin: () => Plugin36,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,10 +23,10 @@ var direct = new Set([
23
23
  "@opencode/ai/providers/azure/responses"
24
24
  ]);
25
25
  var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
26
- var Plugin20 = define({
26
+ var Plugin36 = define({
27
27
  id: "opencode.prompt.verbosity",
28
28
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
29
- const models = yield* Service64;
29
+ const models = yield* Service72;
30
30
  const hook = (event) => Effect.gen(function* () {
31
31
  if (event.options.textVerbosity !== undefined)
32
32
  return;
@@ -66,4 +66,4 @@ function openAIModelID(model) {
66
66
  return id.slice("openai/".length);
67
67
  }
68
68
 
69
- export { Plugin20, exports_verbosity };
69
+ export { Plugin36, exports_verbosity };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
11
  node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
18
  var node7 = makeLocationNode({
19
- service: Service5,
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node7, bound2, exports_instance2 };
32
+ export { Service6, node7, bound2, exports_instance2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info15
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info15, exports_command5 };
21
+ export { Info11, exports_command4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./file-retention-8bx78z2w.js";
2
+ Service84,
3
+ node88
4
+ } from "./job-arg427d6.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-retention-f75zav2x.js";
7
+ } from "./job-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info24,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID9,
17
+ Info: () => Info17,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service77,
21
- node: () => node80
20
+ Service: () => Service68,
21
+ node: () => node72
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info24 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info17 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service77 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service68 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service77, Effect.gen(function* () {
42
- const db = (yield* Service83).db;
41
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
42
+ const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service77.of({ list, add, remove });
69
+ return Service68.of({ list, add, remove });
70
70
  }));
71
- var node80 = makeGlobalNode({ service: Service77, layer, deps: [node86] });
71
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info24, ListInput5, AddInput2, Service77, node80, exports_saved };
73
+ export { ID9, Info17, ListInput4, AddInput2, Service68, node72, exports_saved };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node85
5
- } from "./file-retention-f3md509a.js";
3
+ Service83,
4
+ node87
5
+ } from "./job-rqavd477.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./file-retention-eaj1djv9.js";
12
+ } from "./job-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-retention-z5v4ffb3.js";
15
+ } from "./job-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-retention-rdw6cm16.js";
18
+ } from "./job-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-retention-9rqn6x4v.js";
21
+ } from "./job-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
26
26
  Event: () => Event10,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options7,
30
- Service: () => Service48,
29
+ Options: () => Options6,
30
+ Service: () => Service43,
31
31
  configured: () => configured7,
32
32
  layer: () => layer18,
33
- node: () => node51
33
+ node: () => node47
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
44
+ var key = Key3.make("core/instructions");
45
45
  var Event10 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options7 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
56
+ const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service48.of({
93
+ return Service43.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -106,12 +106,12 @@ var layer18 = (options) => Layer.effect(Service48, Effect.gen(function* () {
106
106
  }));
107
107
  function configured7(options) {
108
108
  return makeLocationNode({
109
- service: Service48,
109
+ service: Service43,
110
110
  layer: layer18(options),
111
- deps: [node85]
111
+ deps: [node87]
112
112
  });
113
113
  }
114
- var node51 = configured7();
114
+ var node47 = configured7();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event10, Options7, Service48, layer18, configured7, node51, exports_instruction_discovery };
145
+ export { File2, Event10, Options6, Service43, layer18, configured7, node47, exports_instruction_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};