@opencode/core 0.0.0-dev-21556 → 0.0.0-dev-21559

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-81gkh252.js → agent-01kz1ps7.js} +16 -16
  8. package/dist/chunks/{filesystem-034tev2y.js → agent-034tev2y.js} +2 -2
  9. package/dist/chunks/{filesystem-pntdjgj5.js → agent-06xye173.js} +11 -11
  10. package/dist/chunks/{filesystem-8ndffx4j.js → agent-0bg0bx69.js} +7 -7
  11. package/dist/chunks/{filesystem-1z98e4c3.js → agent-0c04ntqn.js} +37 -37
  12. package/dist/chunks/{filesystem-d3yv44qs.js → agent-0cn9gq1n.js} +19 -19
  13. package/dist/chunks/{filesystem-w5zzhgd0.js → agent-0e181atj.js} +8 -8
  14. package/dist/chunks/{filesystem-m0hzqf10.js → agent-0gcad0bv.js} +6 -6
  15. package/dist/chunks/{filesystem-4m9n96wx.js → agent-0rtpdasm.js} +20 -20
  16. package/dist/chunks/{filesystem-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{filesystem-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{filesystem-bzeyqsqd.js → agent-1ep4rre3.js} +4 -4
  19. package/dist/chunks/{filesystem-4e8vs6eh.js → agent-1gfgk62c.js} +8 -8
  20. package/dist/chunks/{filesystem-8b6rm75k.js → agent-1qbbqxat.js} +43 -43
  21. package/dist/chunks/{filesystem-8w8x3cmh.js → agent-1waxmwv9.js} +33 -33
  22. package/dist/chunks/{filesystem-fd592q7h.js → agent-1wcsaky3.js} +21 -21
  23. package/dist/chunks/{filesystem-1waq66yh.js → agent-1wy3gn7h.js} +7 -7
  24. package/dist/chunks/{filesystem-86qzxe6p.js → agent-277eer69.js} +4 -4
  25. package/dist/chunks/{filesystem-s06pmf3q.js → agent-2gs5rnc2.js} +4 -4
  26. package/dist/chunks/{filesystem-zhfa0hft.js → agent-2rczfdfv.js} +11 -11
  27. package/dist/chunks/{filesystem-q9n4taz4.js → agent-2vd2ww1t.js} +14 -14
  28. package/dist/chunks/{filesystem-kh6bv03q.js → agent-30y6nqd9.js} +13 -13
  29. package/dist/chunks/{filesystem-126zz3q1.js → agent-39n3vqkw.js} +5 -5
  30. package/dist/chunks/{filesystem-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{filesystem-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{filesystem-98z44by5.js → agent-3spbe93k.js} +23 -23
  33. package/dist/chunks/{filesystem-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{filesystem-zapavctn.js → agent-3zewz7xc.js} +6 -6
  35. package/dist/chunks/{filesystem-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{filesystem-cqw872z8.js → agent-4bqcy7j7.js} +32 -32
  37. package/dist/chunks/{filesystem-p76v2pnh.js → agent-4cpvsvst.js} +39 -39
  38. package/dist/chunks/{filesystem-nnpwh0my.js → agent-4rc13h46.js} +15 -15
  39. package/dist/chunks/{filesystem-979fg1jj.js → agent-4w15n2v0.js} +23 -23
  40. package/dist/chunks/{filesystem-bhhtdc9d.js → agent-54cckf1a.js} +5 -5
  41. package/dist/chunks/{filesystem-54ma36ye.js → agent-54ma36ye.js} +1 -1
  42. package/dist/chunks/agent-5d10wpg8.js +257 -0
  43. package/dist/chunks/{filesystem-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  44. package/dist/chunks/{filesystem-8c364tr5.js → agent-5mx90py9.js} +3 -3
  45. package/dist/chunks/{filesystem-b2hzfzr1.js → agent-5rr2xw51.js} +8 -8
  46. package/dist/chunks/{filesystem-8g0yt8dy.js → agent-60ds0mnt.js} +65 -65
  47. package/dist/chunks/{filesystem-dkp7y90n.js → agent-64abga9g.js} +22 -22
  48. package/dist/chunks/{filesystem-mvgnf8hp.js → agent-658y71pm.js} +19 -19
  49. package/dist/chunks/{filesystem-6827pfxn.js → agent-6827pfxn.js} +1 -1
  50. package/dist/chunks/{filesystem-e71bjph2.js → agent-6dxqerh2.js} +14 -14
  51. package/dist/chunks/{filesystem-r4vchsx7.js → agent-6scxdq94.js} +16 -16
  52. package/dist/chunks/{filesystem-mrb3pdj1.js → agent-6tphdy7g.js} +4 -4
  53. package/dist/chunks/{filesystem-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  54. package/dist/chunks/{filesystem-qtvz41fz.js → agent-72ynmsqb.js} +184 -184
  55. package/dist/chunks/{filesystem-8myfktms.js → agent-7623g4n6.js} +21 -21
  56. package/dist/chunks/{filesystem-sxpag4wm.js → agent-76cxhb07.js} +11 -11
  57. package/dist/chunks/{filesystem-775gj3j1.js → agent-775gj3j1.js} +2 -2
  58. package/dist/chunks/{filesystem-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  59. package/dist/chunks/{filesystem-2z2h29k5.js → agent-7m0k4634.js} +15 -15
  60. package/dist/chunks/{filesystem-6g6nf04w.js → agent-7qh4aqtb.js} +2 -2
  61. package/dist/chunks/{filesystem-xt7gh04x.js → agent-8423s3gk.js} +28 -28
  62. package/dist/chunks/{filesystem-gmb516bh.js → agent-87bdh2h2.js} +10 -10
  63. package/dist/chunks/{filesystem-tcezcvh9.js → agent-89znhe33.js} +4 -4
  64. package/dist/chunks/{filesystem-s5ckyk9d.js → agent-8a61520m.js} +11 -11
  65. package/dist/chunks/{filesystem-mctgdp4w.js → agent-8bf1vej8.js} +32 -32
  66. package/dist/chunks/{filesystem-mn8trjc8.js → agent-8gvnjk36.js} +5 -5
  67. package/dist/chunks/{filesystem-pw2zv200.js → agent-8k49cjh1.js} +18 -18
  68. package/dist/chunks/{filesystem-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  69. package/dist/chunks/{filesystem-8mywswrd.js → agent-8mywswrd.js} +1 -1
  70. package/dist/chunks/{filesystem-7fkffz83.js → agent-8sze2n9a.js} +8 -8
  71. package/dist/chunks/{filesystem-9jabj0jk.js → agent-8vd89vx3.js} +4 -4
  72. package/dist/chunks/{filesystem-9m4ve779.js → agent-8w9gpa2a.js} +4 -4
  73. package/dist/chunks/{filesystem-s80bpp8r.js → agent-8ww2gede.js} +8 -8
  74. package/dist/chunks/{filesystem-r5wxk7rn.js → agent-8x019s04.js} +15 -15
  75. package/dist/chunks/{filesystem-93p4vdsy.js → agent-92zns5dy.js} +26 -26
  76. package/dist/chunks/{filesystem-e2z0k8kw.js → agent-93yh5dc7.js} +11 -11
  77. package/dist/chunks/{filesystem-573jag1d.js → agent-97gt6j6v.js} +4 -4
  78. package/dist/chunks/{filesystem-998yhzzq.js → agent-998yhzzq.js} +3 -3
  79. package/dist/chunks/{filesystem-bg1zss7r.js → agent-9ava3as1.js} +36 -36
  80. package/dist/chunks/{filesystem-a56ettrm.js → agent-9g9xrmrw.js} +14 -14
  81. package/dist/chunks/{filesystem-p37cw4rj.js → agent-9hn6k4tm.js} +8 -8
  82. package/dist/chunks/{filesystem-8wy82xn4.js → agent-9jtgc0ag.js} +29 -29
  83. package/dist/chunks/{filesystem-36kqp0j3.js → agent-9sbwc68p.js} +335 -335
  84. package/dist/chunks/{filesystem-vwt6h3tz.js → agent-9tcm4z7n.js} +4 -4
  85. package/dist/chunks/{filesystem-9wev2pgg.js → agent-9wev2pgg.js} +1 -1
  86. package/dist/chunks/{filesystem-wqhwg8sr.js → agent-a3gjs1qw.js} +41 -41
  87. package/dist/chunks/{filesystem-1g6janhj.js → agent-a5x7x9kw.js} +20 -20
  88. package/dist/chunks/{filesystem-x661k3y3.js → agent-addxnjmp.js} +4 -4
  89. package/dist/chunks/{filesystem-cq9vh2fv.js → agent-ahd542yp.js} +8 -8
  90. package/dist/chunks/{filesystem-ha3bx9by.js → agent-aq6ssqh8.js} +38 -38
  91. package/dist/chunks/{filesystem-cz5fe6tg.js → agent-aw089k6n.js} +16 -16
  92. package/dist/chunks/{filesystem-xng5v1sj.js → agent-awzqkd9p.js} +7 -7
  93. package/dist/chunks/{filesystem-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
  94. package/dist/chunks/{filesystem-v2y4kgk1.js → agent-b0b1syqq.js} +47 -47
  95. package/dist/chunks/{filesystem-medva3v3.js → agent-b0nwj2n5.js} +43 -43
  96. package/dist/chunks/{filesystem-sv72chne.js → agent-b0xapsmc.js} +8 -8
  97. package/dist/chunks/{filesystem-b11a7tx7.js → agent-b11a7tx7.js} +1 -1
  98. package/dist/chunks/{filesystem-45pdh49v.js → agent-b1wrcdv1.js} +22 -22
  99. package/dist/chunks/{filesystem-0q608b5f.js → agent-b2gqg30f.js} +12 -12
  100. package/dist/chunks/{filesystem-n19gt92d.js → agent-b3gp8cby.js} +42 -42
  101. package/dist/chunks/{filesystem-v1w8mgqr.js → agent-b5efm14a.js} +9 -9
  102. package/dist/chunks/{filesystem-zys69r9h.js → agent-b60a0p85.js} +52 -52
  103. package/dist/chunks/{filesystem-0mjdzdxd.js → agent-b9312sca.js} +5 -5
  104. package/dist/chunks/{filesystem-8ya1vr8t.js → agent-bc7q5vrg.js} +13 -13
  105. package/dist/chunks/{filesystem-epeyn0qs.js → agent-bhj7yhfp.js} +28 -28
  106. package/dist/chunks/{filesystem-bjx1sjef.js → agent-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{filesystem-93be92en.js → agent-bnq8ffg3.js} +34 -34
  108. package/dist/chunks/{filesystem-gj0f7hmv.js → agent-bqwheb6v.js} +9 -9
  109. package/dist/chunks/{filesystem-5ddxr1dn.js → agent-btchm180.js} +24 -24
  110. package/dist/chunks/{filesystem-xfraezgp.js → agent-c2ym5zbg.js} +31 -31
  111. package/dist/chunks/{filesystem-9893enz5.js → agent-c484vbkt.js} +11 -11
  112. package/dist/chunks/{filesystem-z9r12f9w.js → agent-c4jysj7e.js} +11 -11
  113. package/dist/chunks/{filesystem-6gda7trc.js → agent-c9scfykt.js} +14 -14
  114. package/dist/chunks/{filesystem-cr9hweqv.js → agent-cr9hweqv.js} +2 -2
  115. package/dist/chunks/{filesystem-5saf3c2d.js → agent-cre9sv7v.js} +11 -11
  116. package/dist/chunks/{filesystem-r2m716tb.js → agent-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{filesystem-bkc947cz.js → agent-cxchh17q.js} +32 -32
  118. package/dist/chunks/{filesystem-b7c09qga.js → agent-d5h0167e.js} +5 -5
  119. package/dist/chunks/{filesystem-f73rjn58.js → agent-dhmh7aw6.js} +4 -4
  120. package/dist/chunks/{filesystem-pr4qgnr7.js → agent-djb6c8mr.js} +17 -17
  121. package/dist/chunks/{filesystem-azr9yky1.js → agent-dkase1ea.js} +33 -33
  122. package/dist/chunks/{filesystem-ryh741tj.js → agent-dys7k0s0.js} +8 -8
  123. package/dist/chunks/{filesystem-na6gcdt8.js → agent-e0qjs091.js} +17 -17
  124. package/dist/chunks/{filesystem-t7a1f2y6.js → agent-e0tmjqd2.js} +16 -16
  125. package/dist/chunks/{filesystem-4h1zccz9.js → agent-e654tkxv.js} +19 -19
  126. package/dist/chunks/{filesystem-76p14g35.js → agent-e7gxy7fd.js} +4 -4
  127. package/dist/chunks/{filesystem-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{filesystem-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{filesystem-y7w5x3t0.js → agent-ev0vvt40.js} +11 -11
  130. package/dist/chunks/{filesystem-gs856eh7.js → agent-f06p7v79.js} +1 -1
  131. package/dist/chunks/{filesystem-8ngy3mqv.js → agent-f4wgghpj.js} +15 -15
  132. package/dist/chunks/{filesystem-chxb0k6t.js → agent-f8rdyd8z.js} +12 -12
  133. package/dist/chunks/{filesystem-fcy631f0.js → agent-fcy631f0.js} +1 -1
  134. package/dist/chunks/{filesystem-11dqjexa.js → agent-fdms3n6w.js} +2 -2
  135. package/dist/chunks/{filesystem-7vnmjcnk.js → agent-fmjx2h3e.js} +2 -2
  136. package/dist/chunks/{filesystem-1sf913kj.js → agent-fs73a89a.js} +27 -27
  137. package/dist/chunks/{filesystem-p4hdtfs4.js → agent-g2zwajds.js} +1 -1
  138. package/dist/chunks/{filesystem-hsmb96zs.js → agent-g3b65czc.js} +18 -18
  139. package/dist/chunks/{filesystem-gwj0vhyb.js → agent-g3jry2r0.js} +32 -32
  140. package/dist/chunks/{filesystem-4xpgt2w9.js → agent-g6yfr6ja.js} +5 -5
  141. package/dist/chunks/{filesystem-kjv4pfpn.js → agent-g72yd4k4.js} +12 -12
  142. package/dist/chunks/{filesystem-f8h5648v.js → agent-gabnxzjb.js} +10 -10
  143. package/dist/chunks/{filesystem-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{filesystem-8wyta6jv.js → agent-gpnk9bds.js} +10 -10
  145. package/dist/chunks/{filesystem-are0chd1.js → agent-gqc3hykc.js} +6 -6
  146. package/dist/chunks/{filesystem-4qfhrk35.js → agent-gvk2e4nv.js} +12 -12
  147. package/dist/chunks/{filesystem-028swf18.js → agent-gx42yg2y.js} +9 -9
  148. package/dist/chunks/agent-gyce5qg1.js +18 -0
  149. package/dist/chunks/{filesystem-5y3cvn6v.js → agent-h22kh94c.js} +5 -5
  150. package/dist/chunks/{filesystem-bdbdb37z.js → agent-h3hta0fv.js} +39 -39
  151. package/dist/chunks/{filesystem-1qjvw4y4.js → agent-h5btj78v.js} +7 -7
  152. package/dist/chunks/{filesystem-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{filesystem-h8vwnyd8.js → agent-h8vwnyd8.js} +1 -1
  154. package/dist/chunks/{filesystem-29qym6xz.js → agent-h9pnpq88.js} +4 -4
  155. package/dist/chunks/{filesystem-fn9t717r.js → agent-hbb7npd7.js} +3 -3
  156. package/dist/chunks/{filesystem-yv1na398.js → agent-hfbyhya8.js} +9 -9
  157. package/dist/chunks/{filesystem-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{filesystem-a2dbqtpr.js → agent-hkd76wam.js} +16 -16
  159. package/dist/chunks/{filesystem-khmqacep.js → agent-hq3c8me3.js} +4 -4
  160. package/dist/chunks/{filesystem-vx3jgdek.js → agent-hzrfc1p4.js} +3 -3
  161. package/dist/chunks/{filesystem-bj2d5s9t.js → agent-j1eznksd.js} +25 -25
  162. package/dist/chunks/{filesystem-mbynq3pt.js → agent-j414fcmn.js} +17 -17
  163. package/dist/chunks/{filesystem-aaf0tqjs.js → agent-jnpb6kqk.js} +3 -3
  164. package/dist/chunks/{filesystem-kvmjtnbr.js → agent-k6hwnssb.js} +28 -28
  165. package/dist/chunks/{filesystem-x8j4awb7.js → agent-k7mbsg3c.js} +24 -24
  166. package/dist/chunks/{filesystem-h32rg1s2.js → agent-kby49ynp.js} +19 -19
  167. package/dist/chunks/{filesystem-591k6mra.js → agent-krdey6nc.js} +3 -3
  168. package/dist/chunks/{filesystem-fm3t8chm.js → agent-kt55wntw.js} +18 -18
  169. package/dist/chunks/{filesystem-d7wa81mb.js → agent-ktqrr5j9.js} +13 -13
  170. package/dist/chunks/{filesystem-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{filesystem-x08z24be.js → agent-m2bbs62m.js} +15 -15
  172. package/dist/chunks/agent-m3gkkj97.js +26 -0
  173. package/dist/chunks/{filesystem-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{filesystem-maspj1v3.js → agent-maspj1v3.js} +1 -1
  175. package/dist/chunks/{filesystem-gb398jef.js → agent-mq3tyw2r.js} +5 -5
  176. package/dist/chunks/{filesystem-400872z1.js → agent-mvd2y75j.js} +16 -16
  177. package/dist/chunks/{filesystem-xab8tp7k.js → agent-n4bxf1bq.js} +16 -16
  178. package/dist/chunks/{filesystem-n6mrmtb3.js → agent-n6mrmtb3.js} +1 -1
  179. package/dist/chunks/{filesystem-0f67byd1.js → agent-n9kd73fy.js} +5 -5
  180. package/dist/chunks/{filesystem-fwt7vey7.js → agent-n9tqm6c9.js} +11 -11
  181. package/dist/chunks/{filesystem-q2m888qa.js → agent-n9xp8ka0.js} +35 -35
  182. package/dist/chunks/{filesystem-vc9x991w.js → agent-nd3tx038.js} +16 -16
  183. package/dist/chunks/{filesystem-vktwk5kv.js → agent-ndn5nttk.js} +9 -9
  184. package/dist/chunks/{filesystem-6j7dwqsx.js → agent-ne0dd1rk.js} +21 -21
  185. package/dist/chunks/{filesystem-d869kc9t.js → agent-ng3918dk.js} +8 -8
  186. package/dist/chunks/{filesystem-6kwr73dn.js → agent-ntcam9rv.js} +21 -21
  187. package/dist/chunks/{filesystem-z6r6yped.js → agent-nw3tt376.js} +22 -22
  188. package/dist/chunks/{filesystem-82a5zyy8.js → agent-nwg5v2wf.js} +11 -11
  189. package/dist/chunks/{filesystem-h2ettege.js → agent-nyxdgnr4.js} +4 -4
  190. package/dist/chunks/{filesystem-3y03y7vv.js → agent-p8vnz59a.js} +11 -11
  191. package/dist/chunks/{filesystem-8m2msbn3.js → agent-p8z5pjn4.js} +35 -35
  192. package/dist/chunks/{filesystem-3p8bby9p.js → agent-p9gx55xe.js} +17 -17
  193. package/dist/chunks/{filesystem-pc1v25hk.js → agent-pc1v25hk.js} +1 -1
  194. package/dist/chunks/{filesystem-qp797tjx.js → agent-pfmyemp7.js} +85 -85
  195. package/dist/chunks/{filesystem-7q4dk8at.js → agent-pjtv5xgn.js} +22 -22
  196. package/dist/chunks/{filesystem-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{filesystem-pknna89w.js → agent-pknna89w.js} +1 -1
  198. package/dist/chunks/{filesystem-kbhdv85b.js → agent-pq7ehxfq.js} +13 -13
  199. package/dist/chunks/{filesystem-6zhaf8kp.js → agent-q20pbgba.js} +9 -9
  200. package/dist/chunks/{filesystem-1sr9fzxh.js → agent-qcsawjgq.js} +9 -9
  201. package/dist/chunks/{filesystem-2k8khapm.js → agent-qgn6gcr1.js} +5 -5
  202. package/dist/chunks/{filesystem-pez308bj.js → agent-qkdq18ke.js} +15 -15
  203. package/dist/chunks/{filesystem-nv560stn.js → agent-qnzjvx7w.js} +3 -3
  204. package/dist/chunks/{filesystem-qp7m8750.js → agent-qp7m8750.js} +3 -3
  205. package/dist/chunks/{filesystem-jmv89t63.js → agent-qrpk9c9k.js} +40 -40
  206. package/dist/chunks/{filesystem-qsdy395h.js → agent-qsdy395h.js} +1 -1
  207. package/dist/chunks/{filesystem-5sbgwf3f.js → agent-r2g6g664.js} +10 -10
  208. package/dist/chunks/{filesystem-ra67jj04.js → agent-r70na3yp.js} +5 -5
  209. package/dist/chunks/{filesystem-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{filesystem-242ky9er.js → agent-re229bga.js} +9 -9
  211. package/dist/chunks/{filesystem-5bg7ay96.js → agent-rhrndxa2.js} +311 -311
  212. package/dist/chunks/{filesystem-kb25sj3q.js → agent-rm3b56at.js} +45 -45
  213. package/dist/chunks/{filesystem-27bs79w9.js → agent-rxrz6b15.js} +2 -2
  214. package/dist/chunks/{filesystem-chveay43.js → agent-s59cy3r3.js} +21 -21
  215. package/dist/chunks/{filesystem-zgbfmbmk.js → agent-sb9w5nny.js} +5 -5
  216. package/dist/chunks/{filesystem-qey1j5h6.js → agent-sj1zydaf.js} +29 -29
  217. package/dist/chunks/{filesystem-szszjrwy.js → agent-sk5011s6.js} +4 -4
  218. package/dist/chunks/{filesystem-1p1p7tgy.js → agent-smqp6h5x.js} +30 -30
  219. package/dist/chunks/{filesystem-wq8gz3e1.js → agent-snvy5g5t.js} +7 -7
  220. package/dist/chunks/{filesystem-tpv3en06.js → agent-sp2b9xzv.js} +28 -28
  221. package/dist/chunks/{filesystem-02vhp1nx.js → agent-sq7qz21n.js} +50 -50
  222. package/dist/chunks/{filesystem-hd48n6ar.js → agent-svdvx995.js} +33 -33
  223. package/dist/chunks/{filesystem-s8d7rejh.js → agent-t550f9t1.js} +4 -4
  224. package/dist/chunks/{filesystem-9gcsz2p2.js → agent-t93swj6g.js} +9 -9
  225. package/dist/chunks/{filesystem-5jfh860z.js → agent-tascwatk.js} +4 -4
  226. package/dist/chunks/{filesystem-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{filesystem-tegs1ycp.js → agent-tcay1cqt.js} +6 -6
  228. package/dist/chunks/{filesystem-tdstcens.js → agent-tdstcens.js} +1 -1
  229. package/dist/chunks/{filesystem-2g49mxwr.js → agent-tjsfqyz1.js} +12 -12
  230. package/dist/chunks/{filesystem-328ypx93.js → agent-tnypmhpx.js} +11 -11
  231. package/dist/chunks/{filesystem-pz87hs4r.js → agent-tr99e1w1.js} +4 -4
  232. package/dist/chunks/{filesystem-jp01ts1z.js → agent-ttxw2dcy.js} +11 -11
  233. package/dist/chunks/{filesystem-2wv0qy41.js → agent-twy6e1pt.js} +19 -19
  234. package/dist/chunks/{filesystem-tyytaxap.js → agent-tyytaxap.js} +1 -1
  235. package/dist/chunks/{filesystem-z4xmyae6.js → agent-v3sm3b29.js} +10 -10
  236. package/dist/chunks/{filesystem-g8d3gcyj.js → agent-v5dkyp31.js} +7 -7
  237. package/dist/chunks/{filesystem-9yvejhhv.js → agent-v71mf45a.js} +20 -20
  238. package/dist/chunks/{filesystem-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{filesystem-zryx1e9j.js → agent-vak4j5e1.js} +9 -9
  240. package/dist/chunks/{filesystem-mbw2zwxv.js → agent-vbgzaw66.js} +4 -4
  241. package/dist/chunks/{filesystem-qdvnf0ks.js → agent-vcykmhej.js} +11 -11
  242. package/dist/chunks/{filesystem-veqvce7d.js → agent-veqvce7d.js} +1 -1
  243. package/dist/chunks/{filesystem-fpyn1g9k.js → agent-vgfdpj26.js} +12 -12
  244. package/dist/chunks/{filesystem-qx9ba4sp.js → agent-vgn4papj.js} +35 -35
  245. package/dist/chunks/{filesystem-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{filesystem-84txncab.js → agent-w1eejvng.js} +5 -5
  247. package/dist/chunks/{filesystem-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{filesystem-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  249. package/dist/chunks/{filesystem-81f7vt2z.js → agent-waskdk5r.js} +4 -4
  250. package/dist/chunks/{filesystem-2a3m6met.js → agent-wb1k0b0z.js} +14 -14
  251. package/dist/chunks/{filesystem-wd87259q.js → agent-wd87259q.js} +1 -1
  252. package/dist/chunks/{filesystem-pec85awn.js → agent-wez96qer.js} +21 -21
  253. package/dist/chunks/{filesystem-bg57z5ae.js → agent-ws4pm92m.js} +16 -16
  254. package/dist/chunks/{filesystem-gg68t3hz.js → agent-x395z3h3.js} +12 -12
  255. package/dist/chunks/{filesystem-0se0c77j.js → agent-xaq53c1m.js} +4 -4
  256. package/dist/chunks/{filesystem-eq13jef3.js → agent-xcs1qr88.js} +23 -23
  257. package/dist/chunks/{filesystem-qpk6w0sf.js → agent-xe9rh51h.js} +4 -4
  258. package/dist/chunks/{filesystem-dxbacq08.js → agent-xenxtz2r.js} +19 -19
  259. package/dist/chunks/{filesystem-qqeeq2t9.js → agent-xfkkasph.js} +7 -7
  260. package/dist/chunks/{filesystem-1sqqfm6b.js → agent-xgyvc81b.js} +13 -13
  261. package/dist/chunks/{filesystem-9fjp44j3.js → agent-xj13yeyq.js} +16 -16
  262. package/dist/chunks/{filesystem-sqeeta82.js → agent-xrt977hg.js} +3 -3
  263. package/dist/chunks/{filesystem-mx44zc9z.js → agent-xs09rgb4.js} +23 -23
  264. package/dist/chunks/{filesystem-rb1cnjjp.js → agent-xshm6x7r.js} +15 -15
  265. package/dist/chunks/{filesystem-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{filesystem-mr7jwncp.js → agent-y1gbkt6d.js} +27 -27
  267. package/dist/chunks/{filesystem-vk7a0qve.js → agent-y1twntmg.js} +15 -15
  268. package/dist/chunks/{filesystem-dpkg50ah.js → agent-y71avatq.js} +4 -4
  269. package/dist/chunks/{filesystem-c35ra91z.js → agent-y8k9ntag.js} +26 -26
  270. package/dist/chunks/{filesystem-xrrvmzfg.js → agent-y9793g9a.js} +9 -9
  271. package/dist/chunks/{filesystem-fjdpyz7x.js → agent-yf6cfcxz.js} +77 -77
  272. package/dist/chunks/{filesystem-k5ggreqd.js → agent-yfb8499c.js} +5 -5
  273. package/dist/chunks/{filesystem-s73jzx7y.js → agent-ypxwtm4x.js} +33 -33
  274. package/dist/chunks/{filesystem-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{filesystem-pfq93rbg.js → agent-z4dyzcgg.js} +13 -13
  276. package/dist/chunks/{filesystem-zn5evjtn.js → agent-zg5n0cvz.js} +33 -33
  277. package/dist/chunks/{filesystem-gc65y9s2.js → agent-zgq2zk3m.js} +15 -15
  278. package/dist/chunks/{filesystem-nc6zk1r7.js → agent-zhj7pt8s.js} +24 -24
  279. package/dist/chunks/{filesystem-jjfs97vk.js → agent-zk00g8zz.js} +30 -30
  280. package/dist/chunks/{filesystem-ns9nx42n.js → agent-zk2rfxgs.js} +18 -18
  281. package/dist/chunks/{filesystem-q17z9dx8.js → agent-zk8c4w5t.js} +5 -5
  282. package/dist/chunks/{filesystem-afgz2svm.js → agent-zmjze8as.js} +13 -13
  283. package/dist/chunks/{filesystem-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{filesystem-m6r8hh6a.js → agent-zwhbkwqf.js} +18 -18
  285. package/dist/chunks/{filesystem-63zyt423.js → agent-zwxs4smc.js} +13 -13
  286. package/dist/chunks/{filesystem-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +79 -79
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +82 -82
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +103 -103
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +80 -80
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +134 -134
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +99 -99
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +112 -112
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +164 -164
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +120 -120
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +166 -166
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +139 -139
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +213 -213
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +113 -113
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +12 -12
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +88 -88
  676. package/dist/websearch.js +84 -84
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +83 -83
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +84 -84
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +102 -102
  687. package/package.json +8 -8
  688. package/dist/chunks/filesystem-45th5jwr.js +0 -18
  689. package/dist/chunks/filesystem-btej2qac.js +0 -257
  690. package/dist/chunks/filesystem-smhs581c.js +0 -26
  691. /package/dist/chunks/{filesystem-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{filesystem-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{filesystem-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{filesystem-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{filesystem-24dcb14g.js → agent-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{filesystem-2710q6r3.js → agent-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{filesystem-2bv980vf.js → agent-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{filesystem-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{filesystem-359p4xyc.js → agent-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{filesystem-3asan66x.js → agent-3asan66x.js} +0 -0
  701. /package/dist/chunks/{filesystem-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{filesystem-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{filesystem-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{filesystem-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{filesystem-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{filesystem-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{filesystem-53557ph1.js → agent-53557ph1.js} +0 -0
  708. /package/dist/chunks/{filesystem-550bvhaj.js → agent-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{filesystem-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{filesystem-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{filesystem-6prwharc.js → agent-6prwharc.js} +0 -0
  712. /package/dist/chunks/{filesystem-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{filesystem-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{filesystem-7m9af43g.js → agent-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{filesystem-822emrt2.js → agent-822emrt2.js} +0 -0
  716. /package/dist/chunks/{filesystem-84wd9syh.js → agent-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{filesystem-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{filesystem-8n3pysct.js → agent-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{filesystem-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{filesystem-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{filesystem-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{filesystem-a058387c.js → agent-a058387c.js} +0 -0
  723. /package/dist/chunks/{filesystem-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{filesystem-af5trqkr.js → agent-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{filesystem-afrmfg78.js → agent-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{filesystem-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{filesystem-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{filesystem-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{filesystem-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{filesystem-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{filesystem-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{filesystem-d9fn303g.js → agent-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{filesystem-dajrwvna.js → agent-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{filesystem-dap0rakb.js → agent-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{filesystem-df08tz66.js → agent-df08tz66.js} +0 -0
  737. /package/dist/chunks/{filesystem-dy18nga0.js → agent-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{filesystem-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{filesystem-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{filesystem-ec1grn59.js → agent-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{filesystem-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{filesystem-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{filesystem-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{filesystem-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{filesystem-faypxj3z.js → agent-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{filesystem-fd410y7t.js → agent-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{filesystem-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{filesystem-g86h250q.js → agent-g86h250q.js} +0 -0
  749. /package/dist/chunks/{filesystem-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{filesystem-gftt206x.js → agent-gftt206x.js} +0 -0
  751. /package/dist/chunks/{filesystem-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{filesystem-hk9envan.js → agent-hk9envan.js} +0 -0
  753. /package/dist/chunks/{filesystem-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{filesystem-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{filesystem-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{filesystem-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{filesystem-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{filesystem-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{filesystem-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{filesystem-m18g726c.js → agent-m18g726c.js} +0 -0
  761. /package/dist/chunks/{filesystem-mp448xyj.js → agent-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{filesystem-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{filesystem-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{filesystem-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{filesystem-njntx4h6.js → agent-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{filesystem-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{filesystem-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{filesystem-q74kybfr.js → agent-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{filesystem-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{filesystem-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{filesystem-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{filesystem-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{filesystem-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{filesystem-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{filesystem-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{filesystem-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{filesystem-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{filesystem-w803qqfp.js → agent-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{filesystem-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{filesystem-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{filesystem-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{filesystem-wtztk69x.js → agent-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{filesystem-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{filesystem-x61499pn.js → agent-x61499pn.js} +0 -0
  785. /package/dist/chunks/{filesystem-y44na4kk.js → agent-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{filesystem-y8f7s663.js → agent-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{filesystem-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{filesystem-ym463w8f.js → agent-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{filesystem-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{filesystem-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -2,27 +2,27 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./agent-z5v4ffb3.js";
6
6
  import {
7
- Service53,
8
- node57
9
- } from "./filesystem-5ddxr1dn.js";
7
+ Service69,
8
+ node71
9
+ } from "./agent-btchm180.js";
10
10
  import {
11
11
  Content3
12
- } from "./filesystem-jjfs97vk.js";
12
+ } from "./agent-zk00g8zz.js";
13
13
  import {
14
14
  detect2
15
- } from "./filesystem-9wev2pgg.js";
15
+ } from "./agent-9wev2pgg.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry2,
25
+ ListEntry: () => ListEntry3,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service31,
36
+ Service: () => Service28,
37
37
  TextPage: () => TextPage2,
38
- node: () => node34,
38
+ node: () => node31,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry2 = Schema.Struct({
104
+ var ListEntry3 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry2),
111
+ entries: Schema.Array(ListEntry3),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service31 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service28 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry2.make({
230
+ ListEntry3.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service31, Effect.gen(function* () {
334
- const environment = yield* Service53;
335
- return Service31.of({
333
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
334
+ const environment = yield* Service69;
335
+ return Service28.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node57] });
340
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node71] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service31, read2, node34, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service28, read2, node31, exports_read_filesystem };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make17,
14
- node: () => node59,
13
+ make: () => make20,
14
+ node: () => node74,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make17 = (driver) => driver;
32
+ var make20 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node59 = registryNode2({});
47
+ var node74 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node59, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node74, exports_driver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./filesystem-2bv980vf.js";
3
+ } from "./agent-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./filesystem-g4wezp1m.js";
6
+ } from "./agent-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./filesystem-x61499pn.js";
9
+ } from "./agent-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./filesystem-af5trqkr.js";
12
+ } from "./agent-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./filesystem-afrmfg78.js";
15
+ } from "./agent-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./filesystem-x0ckcb58.js";
18
+ } from "./agent-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-5jfh860z.js";
4
+ } from "./agent-tascwatk.js";
5
5
  import {
6
6
  __export
7
- } from "./filesystem-9rqn6x4v.js";
7
+ } from "./agent-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
19
+ ID: () => ID14,
20
20
  Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service80,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer26,
29
- node: () => node84,
28
+ layer: () => layer27,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,7 +35,7 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
38
+ var ID14 = Form.ID;
39
39
  var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID14
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID14
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID14
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service80 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer26 = Layer.effect(Service80, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service80.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service80, layer: layer26, deps: [node89] });
167
+ var node82 = makeLocationNode({ service: Service78, layer: layer27, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID16, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer26, node84, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer27, node82, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./filesystem-qfa1cgps.js";
3
+ } from "./agent-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./filesystem-034tev2y.js";
6
+ } from "./agent-034tev2y.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
7
7
  __export(exports_skill_scan, {
8
8
  SkillScan: () => exports_skill_scan,
9
9
  ignore: () => ignore2,
10
- scan: () => scan2
10
+ scan: () => scan3
11
11
  });
12
12
  import { FSUtil } from "@opencode/util/fs-util";
13
13
  import path from "path";
14
14
  import { Effect } from "effect";
15
15
  var MAX_DEPTH = 6;
16
16
  var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
17
- var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
17
+ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
18
18
  const fs = yield* FSUtil.Service;
19
19
  const files = [];
20
20
  const queue = [{ directory: root, depth: 0 }];
@@ -39,4 +39,4 @@ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
39
39
  return files.toSorted();
40
40
  });
41
41
 
42
- export { ignore2, scan2, exports_skill_scan };
42
+ export { ignore2, scan3, exports_skill_scan };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service73,
10
- node: () => node77
9
+ Service: () => Service67,
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service73 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service67 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service73, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service73.of({ has, register, trigger });
57
+ return Service67.of({ has, register, trigger });
58
58
  }));
59
- var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
59
+ var node69 = makeLocationNode({ service: Service67, layer, deps: [] });
60
60
 
61
- export { Service73, node77, exports_hooks };
61
+ export { Service67, node69, exports_hooks };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-5jfh860z.js";
4
+ } from "./agent-tascwatk.js";
5
5
  import {
6
- Event17,
6
+ Event19,
7
7
  Service79,
8
8
  node83
9
- } from "./filesystem-pw2zv200.js";
9
+ } from "./agent-8k49cjh1.js";
10
10
  import {
11
- Service63,
12
- node67
13
- } from "./filesystem-400872z1.js";
11
+ Service53,
12
+ node55
13
+ } from "./agent-mvd2y75j.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./agent-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./filesystem-t7a1f2y6.js";
18
+ Service82,
19
+ node86
20
+ } from "./agent-e0tmjqd2.js";
21
21
  import {
22
22
  substitute2
23
- } from "./filesystem-kwb1v3vj.js";
23
+ } from "./agent-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./filesystem-fm3t8chm.js";
26
+ } from "./agent-kt55wntw.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./filesystem-5sbgwf3f.js";
31
+ } from "./agent-r2g6g664.js";
32
32
  import {
33
33
  plan2
34
- } from "./filesystem-6827pfxn.js";
34
+ } from "./agent-6827pfxn.js";
35
35
  import {
36
- Service64,
37
- Event10,
38
- node68
39
- } from "./filesystem-1g6janhj.js";
36
+ Service54,
37
+ Event9,
38
+ node56
39
+ } from "./agent-a5x7x9kw.js";
40
40
  import {
41
41
  __export
42
- } from "./filesystem-9rqn6x4v.js";
42
+ } from "./agent-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options7,
49
- Service: () => Service62,
48
+ Options: () => Options6,
49
+ Service: () => Service52,
50
50
  Test: () => Test2,
51
- configured: () => configured10,
51
+ configured: () => configured6,
52
52
  latest: () => latest2,
53
53
  layer: () => layer23,
54
- node: () => node66,
54
+ node: () => node54,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options7 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service62 extends Context.Service()("@opencode/Config") {
79
+ class Service52 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service52, service), Context.add(Test2, service));
98
98
  }));
99
- var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
99
+ var layer23 = (options) => Layer.effect(Service52, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service81;
102
- const watcher = yield* Service63;
101
+ const location = yield* Service82;
102
+ const watcher = yield* Service53;
103
103
  const bus = yield* Service85;
104
104
  const credentials = yield* Service79;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service64;
106
+ const wellknown = yield* Service54;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -186,7 +186,7 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
186
186
  });
187
187
  const loadDirectory = Effect.fnUntraced(function* (directory) {
188
188
  return [
189
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
189
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
190
190
  new Directory({ type: "directory", path: directory })
191
191
  ];
192
192
  });
@@ -254,8 +254,8 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -268,7 +268,7 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
268
268
  yield* reloadLock.withPermit(reconcile(initial));
269
269
  const update = Effect.fn("Config.update")(function* (patch) {
270
270
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
271
- const candidates = names4.map((name) => path.join(directory, name));
271
+ const candidates = names3.map((name) => path.join(directory, name));
272
272
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
273
273
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
274
274
  `;
@@ -283,7 +283,7 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service62.of({
286
+ return Service52.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured10(options) {
298
+ function configured6(options) {
299
299
  return makeLocationNode({
300
- service: Service62,
300
+ service: Service52,
301
301
  layer: layer23(options),
302
302
  deps: [
303
- node67,
303
+ node55,
304
304
  node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node85,
307
+ node86,
308
308
  node83,
309
- node68,
309
+ node56,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node66 = configured10();
314
+ var node54 = configured6();
315
315
 
316
- export { latest2, Options7, Service62, Test2, testLayer2, layer23, configured10, node66, exports_config };
316
+ export { latest2, Options6, Service52, Test2, testLayer2, layer23, configured6, node54, exports_config };