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

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 (789) 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/{agent-034tev2y.js → generate-034tev2y.js} +2 -2
  8. package/dist/chunks/{agent-3spbe93k.js → generate-0443psqk.js} +26 -26
  9. package/dist/chunks/{agent-hkd76wam.js → generate-06e0dsx1.js} +16 -16
  10. package/dist/chunks/{agent-xj13yeyq.js → generate-07phzgjg.js} +14 -14
  11. package/dist/chunks/{agent-fdms3n6w.js → generate-0bke9tpm.js} +9 -9
  12. package/dist/chunks/{agent-8423s3gk.js → generate-0cmwyhaq.js} +28 -28
  13. package/dist/chunks/{agent-7623g4n6.js → generate-0cs5dcs0.js} +19 -19
  14. package/dist/chunks/{agent-e0qjs091.js → generate-0m6b3axq.js} +17 -17
  15. package/dist/chunks/{agent-8vd89vx3.js → generate-0mcrt4fa.js} +4 -4
  16. package/dist/chunks/{agent-d5h0167e.js → generate-0rq01gt9.js} +5 -5
  17. package/dist/chunks/{agent-xrt977hg.js → generate-1e4tspje.js} +3 -3
  18. package/dist/chunks/{agent-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{agent-1waxmwv9.js → generate-1mtcyeq8.js} +8 -8
  20. package/dist/chunks/{agent-awzqkd9p.js → generate-1q324bgk.js} +7 -7
  21. package/dist/chunks/{agent-6827pfxn.js → generate-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{agent-6dxqerh2.js → generate-231jaqzt.js} +12 -12
  23. package/dist/chunks/{agent-bc7q5vrg.js → generate-24e7end9.js} +13 -13
  24. package/dist/chunks/{agent-vbgzaw66.js → generate-268wp9v4.js} +4 -4
  25. package/dist/chunks/{agent-xenxtz2r.js → generate-280dayrs.js} +21 -21
  26. package/dist/chunks/{agent-vak4j5e1.js → generate-2hr5rmqc.js} +9 -9
  27. package/dist/chunks/{agent-ntcam9rv.js → generate-2jgkbkn1.js} +14 -14
  28. package/dist/chunks/{agent-fmjx2h3e.js → generate-2tfwfzen.js} +2 -2
  29. package/dist/chunks/{agent-9wev2pgg.js → generate-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{agent-06xye173.js → generate-2zqqmjez.js} +11 -11
  31. package/dist/chunks/{agent-n9kd73fy.js → generate-38heweg8.js} +5 -5
  32. package/dist/chunks/{agent-y1gbkt6d.js → generate-3dg2krd3.js} +24 -24
  33. package/dist/chunks/{agent-zg5n0cvz.js → generate-3dvwpjdr.js} +27 -27
  34. package/dist/chunks/{agent-zk2rfxgs.js → generate-3g4pre0h.js} +15 -15
  35. package/dist/chunks/{agent-9jtgc0ag.js → generate-3g7vrncj.js} +29 -29
  36. package/dist/chunks/{agent-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{agent-gqc3hykc.js → generate-3jp652nn.js} +6 -6
  38. package/dist/chunks/{agent-8gvnjk36.js → generate-3jzb0r2n.js} +5 -5
  39. package/dist/chunks/{agent-54ma36ye.js → generate-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{agent-s59cy3r3.js → generate-3ntmh1g8.js} +21 -21
  41. package/dist/chunks/{agent-b9312sca.js → generate-3xk26rw4.js} +5 -5
  42. package/dist/chunks/{agent-bjx1sjef.js → generate-40za9wsf.js} +2 -2
  43. package/dist/chunks/{agent-v71mf45a.js → generate-48h67ern.js} +20 -20
  44. package/dist/chunks/{agent-z4dyzcgg.js → generate-4c4eb9w2.js} +14 -14
  45. package/dist/chunks/{agent-j414fcmn.js → generate-4eed2b0j.js} +15 -15
  46. package/dist/chunks/{agent-fs73a89a.js → generate-4hhvtbzy.js} +25 -25
  47. package/dist/chunks/{agent-twy6e1pt.js → generate-4kdcmdga.js} +19 -19
  48. package/dist/chunks/{agent-0e181atj.js → generate-4mkdw68v.js} +8 -8
  49. package/dist/chunks/generate-4svnxzqq.js +257 -0
  50. package/dist/chunks/{agent-zr2ceqn5.js → generate-4v008n1t.js} +1 -1
  51. package/dist/chunks/{agent-qp7m8750.js → generate-4xvmh7wp.js} +3 -3
  52. package/dist/chunks/{agent-aw089k6n.js → generate-56m9f56v.js} +25 -25
  53. package/dist/chunks/{agent-nw3tt376.js → generate-5emr5dp8.js} +19 -19
  54. package/dist/chunks/{agent-g72yd4k4.js → generate-5gk89hyb.js} +5 -5
  55. package/dist/chunks/{agent-b0nwj2n5.js → generate-5knrbc6f.js} +33 -33
  56. package/dist/chunks/{agent-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{agent-cr9hweqv.js → generate-5nnwax6m.js} +5 -5
  58. package/dist/chunks/{agent-mvd2y75j.js → generate-5xepaxvw.js} +18 -18
  59. package/dist/chunks/{agent-pq7ehxfq.js → generate-5xwxezg3.js} +20 -20
  60. package/dist/chunks/{agent-t93swj6g.js → generate-64pwmkab.js} +4 -4
  61. package/dist/chunks/{agent-bnq8ffg3.js → generate-67b48yf1.js} +32 -32
  62. package/dist/chunks/{agent-658y71pm.js → generate-6c8j4tbz.js} +19 -19
  63. package/dist/chunks/{agent-zxq2ej10.js → generate-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{agent-kby49ynp.js → generate-6g08cwsb.js} +16 -16
  65. package/dist/chunks/{agent-tnypmhpx.js → generate-6gddga0x.js} +22 -22
  66. package/dist/chunks/{agent-zwxs4smc.js → generate-6mw0z9b9.js} +13 -13
  67. package/dist/chunks/{agent-qsdy395h.js → generate-6pjqjmy2.js} +1 -1
  68. package/dist/chunks/{agent-g2zwajds.js → generate-6qkfs1hq.js} +1 -1
  69. package/dist/chunks/{agent-djb6c8mr.js → generate-6v7f1yd0.js} +25 -25
  70. package/dist/chunks/{agent-87bdh2h2.js → generate-6zfxg6c6.js} +10 -10
  71. package/dist/chunks/{agent-h22kh94c.js → generate-6ztc4jbn.js} +8 -8
  72. package/dist/chunks/{agent-9tcm4z7n.js → generate-7a9ph374.js} +4 -4
  73. package/dist/chunks/{agent-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{agent-kwb1v3vj.js → generate-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{agent-54cckf1a.js → generate-7xg2jm5b.js} +5 -5
  76. package/dist/chunks/{agent-gabnxzjb.js → generate-87982064.js} +8 -8
  77. package/dist/chunks/{agent-rhrndxa2.js → generate-883rwgqp.js} +37 -33
  78. package/dist/chunks/{agent-hzrfc1p4.js → generate-8n9x2wf6.js} +2 -2
  79. package/dist/chunks/{agent-h6vf3j39.js → generate-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{agent-0gcad0bv.js → generate-8wvgy420.js} +6 -6
  81. package/dist/chunks/{agent-h8vwnyd8.js → generate-91rj84md.js} +1 -1
  82. package/dist/chunks/{agent-bqwheb6v.js → generate-94j4dkqe.js} +11 -11
  83. package/dist/chunks/{agent-3zewz7xc.js → generate-973hqt29.js} +3 -3
  84. package/dist/chunks/{agent-998yhzzq.js → generate-998yhzzq.js} +3 -3
  85. package/dist/chunks/{agent-xaq53c1m.js → generate-9awrcxz4.js} +4 -4
  86. package/dist/chunks/{agent-g6yfr6ja.js → generate-9b28cy4d.js} +5 -5
  87. package/dist/chunks/{agent-btchm180.js → generate-9ra49ptr.js} +28 -25
  88. package/dist/chunks/{agent-wb1k0b0z.js → generate-a1phgnt9.js} +14 -14
  89. package/dist/chunks/{agent-b3gp8cby.js → generate-a3t7zwft.js} +45 -45
  90. package/dist/chunks/{agent-rxrz6b15.js → generate-a5g15581.js} +2 -2
  91. package/dist/chunks/{agent-39n3vqkw.js → generate-a5znd7ce.js} +3 -3
  92. package/dist/chunks/{agent-ev0vvt40.js → generate-a7zxg0bg.js} +11 -11
  93. package/dist/chunks/{agent-gpnk9bds.js → generate-acamw3g0.js} +10 -10
  94. package/dist/chunks/{agent-k6hwnssb.js → generate-agtp4d9h.js} +30 -30
  95. package/dist/chunks/{agent-vgfdpj26.js → generate-ah1m9kg9.js} +15 -15
  96. package/dist/chunks/{agent-n9xp8ka0.js → generate-apkkjdpa.js} +34 -34
  97. package/dist/chunks/{agent-ng3918dk.js → generate-asaqahta.js} +6 -6
  98. package/dist/chunks/{agent-yfb8499c.js → generate-axmhfv8p.js} +5 -5
  99. package/dist/chunks/{agent-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{agent-b0b1syqq.js → generate-az4hfc8s.js} +43 -43
  101. package/dist/chunks/{agent-3hwn7j4h.js → generate-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{agent-sp2b9xzv.js → generate-b17b73pv.js} +19 -19
  103. package/dist/chunks/{agent-sq7qz21n.js → generate-b5p5nngv.js} +50 -50
  104. package/dist/chunks/{agent-9ava3as1.js → generate-ba7ngyz7.js} +32 -32
  105. package/dist/chunks/{agent-5mx90py9.js → generate-bbym2bqy.js} +3 -3
  106. package/dist/chunks/{agent-2vd2ww1t.js → generate-bkjvw32t.js} +14 -14
  107. package/dist/chunks/{agent-w1eejvng.js → generate-bstexjd6.js} +5 -5
  108. package/dist/chunks/{agent-1gfgk62c.js → generate-c1a686j5.js} +8 -8
  109. package/dist/chunks/{agent-0bg0bx69.js → generate-c3cfh5w6.js} +2 -2
  110. package/dist/chunks/{agent-a3gjs1qw.js → generate-c8ar4m6j.js} +45 -45
  111. package/dist/chunks/{agent-e7gxy7fd.js → generate-c9t2ty9q.js} +1 -1
  112. package/dist/chunks/{agent-mq3tyw2r.js → generate-cf7jrmsj.js} +5 -5
  113. package/dist/chunks/{agent-nyxdgnr4.js → generate-cr6fwty7.js} +7 -7
  114. package/dist/chunks/{agent-ahd542yp.js → generate-crfddmzc.js} +8 -8
  115. package/dist/chunks/{agent-cxchh17q.js → generate-ctf5g10g.js} +36 -36
  116. package/dist/chunks/{agent-waskdk5r.js → generate-d2dx6a7h.js} +4 -4
  117. package/dist/chunks/{agent-8a61520m.js → generate-d326b540.js} +11 -11
  118. package/dist/chunks/{agent-0vbcp93d.js → generate-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{agent-nd3tx038.js → generate-d86va4wf.js} +25 -25
  120. package/dist/chunks/{agent-dys7k0s0.js → generate-d8qd4w10.js} +8 -8
  121. package/dist/chunks/{agent-e654tkxv.js → generate-d9p590j3.js} +19 -19
  122. package/dist/chunks/{agent-tr99e1w1.js → generate-df0hqdma.js} +4 -4
  123. package/dist/chunks/{agent-4rc13h46.js → generate-dg96ektr.js} +11 -11
  124. package/dist/chunks/{agent-8sze2n9a.js → generate-dkq45v8d.js} +2 -2
  125. package/dist/chunks/{agent-vgn4papj.js → generate-dq2enhqf.js} +35 -35
  126. package/dist/chunks/{agent-yf6cfcxz.js → generate-drqhczqs.js} +76 -76
  127. package/dist/chunks/{agent-2gs5rnc2.js → generate-ds4c1w6p.js} +6 -6
  128. package/dist/chunks/{agent-277eer69.js → generate-dtjdv03g.js} +4 -4
  129. package/dist/chunks/{agent-qnzjvx7w.js → generate-dw02th3g.js} +3 -3
  130. package/dist/chunks/{agent-tcay1cqt.js → generate-dwwyec8z.js} +6 -6
  131. package/dist/chunks/{agent-cwa6csj7.js → generate-dz8hhvgv.js} +9 -9
  132. package/dist/chunks/{agent-nwg5v2wf.js → generate-e4dtt5ff.js} +11 -11
  133. package/dist/chunks/{agent-n4bxf1bq.js → generate-e4nrxrzc.js} +16 -16
  134. package/dist/chunks/{agent-8m6m0r52.js → generate-e834z07m.js} +1 -1
  135. package/dist/chunks/{agent-rm3b56at.js → generate-ecfrjnaf.js} +44 -44
  136. package/dist/chunks/{agent-4w15n2v0.js → generate-ecq052tn.js} +20 -20
  137. package/dist/chunks/{agent-1qbbqxat.js → generate-eez2jsbe.js} +40 -40
  138. package/dist/chunks/{agent-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{agent-97gt6j6v.js → generate-f1xnqdyr.js} +4 -4
  140. package/dist/chunks/{agent-64abga9g.js → generate-f5k7224w.js} +30 -30
  141. package/dist/chunks/{agent-hfbyhya8.js → generate-f6wfqyz7.js} +10 -10
  142. package/dist/chunks/{agent-ktqrr5j9.js → generate-fcz54ycx.js} +17 -17
  143. package/dist/chunks/{agent-zgq2zk3m.js → generate-fdp97wc0.js} +17 -17
  144. package/dist/chunks/{agent-n6mrmtb3.js → generate-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{agent-krdey6nc.js → generate-ffxnyj3q.js} +6 -6
  146. package/dist/chunks/{agent-xshm6x7r.js → generate-fq4px9zp.js} +17 -17
  147. package/dist/chunks/{agent-30y6nqd9.js → generate-fwjbw8c3.js} +11 -11
  148. package/dist/chunks/{agent-m2bbs62m.js → generate-fwt74e85.js} +3 -3
  149. package/dist/chunks/{agent-8k49cjh1.js → generate-fx06c4yw.js} +30 -30
  150. package/dist/chunks/{agent-hq3c8me3.js → generate-fznmdakp.js} +1 -1
  151. package/dist/chunks/{agent-p9gx55xe.js → generate-g1jpy47d.js} +19 -19
  152. package/dist/chunks/{agent-zhj7pt8s.js → generate-g2895gq7.js} +21 -21
  153. package/dist/chunks/{agent-eej6y6fw.js → generate-g5h9c0rr.js} +2 -2
  154. package/dist/chunks/{agent-gvk2e4nv.js → generate-g6p5rgqz.js} +12 -12
  155. package/dist/chunks/{agent-h9pnpq88.js → generate-g9ndtp1p.js} +4 -4
  156. package/dist/chunks/{agent-f06p7v79.js → generate-gd9xqwfz.js} +1 -1
  157. package/dist/chunks/{agent-f8rdyd8z.js → generate-gfftbxav.js} +23 -23
  158. package/dist/chunks/{agent-2rczfdfv.js → generate-gfj1dh2k.js} +9 -9
  159. package/dist/chunks/{agent-g3b65czc.js → generate-gn5bzjhx.js} +24 -24
  160. package/dist/chunks/{agent-b5efm14a.js → generate-gsyd3cda.js} +11 -11
  161. package/dist/chunks/{agent-svdvx995.js → generate-gv9rxcjs.js} +25 -25
  162. package/dist/chunks/{agent-xgyvc81b.js → generate-gxfvg231.js} +13 -13
  163. package/dist/chunks/{agent-pjtv5xgn.js → generate-h9q9d3sq.js} +24 -24
  164. package/dist/chunks/{agent-dhmh7aw6.js → generate-hd3k4wz8.js} +4 -4
  165. package/dist/chunks/{agent-vcykmhej.js → generate-hmmgtkw5.js} +11 -11
  166. package/dist/chunks/{agent-b2gqg30f.js → generate-hq3462wm.js} +12 -12
  167. package/dist/chunks/{agent-g3jry2r0.js → generate-hsdcm9m6.js} +30 -30
  168. package/dist/chunks/{agent-92zns5dy.js → generate-hv0c9xjm.js} +22 -22
  169. package/dist/chunks/{agent-b11a7tx7.js → generate-j113cymg.js} +1 -1
  170. package/dist/chunks/{agent-snvy5g5t.js → generate-j8p3npgm.js} +7 -7
  171. package/dist/chunks/{agent-0cn9gq1n.js → generate-jcbtawrq.js} +15 -15
  172. package/dist/chunks/{agent-b60a0p85.js → generate-jddh4vgn.js} +50 -50
  173. package/dist/chunks/{agent-qrpk9c9k.js → generate-jgt5st1g.js} +32 -32
  174. package/dist/chunks/{agent-9sbwc68p.js → generate-jh346mvv.js} +332 -332
  175. package/dist/chunks/{agent-4cpvsvst.js → generate-jj998gzn.js} +48 -48
  176. package/dist/chunks/{agent-pfmyemp7.js → generate-jzdfcbw4.js} +80 -80
  177. package/dist/chunks/generate-jztn5z23.js +18 -0
  178. package/dist/chunks/{agent-vzs5sf6e.js → generate-k814nvkf.js} +1 -1
  179. package/dist/chunks/{agent-smqp6h5x.js → generate-ka2n5pfv.js} +26 -26
  180. package/dist/chunks/{agent-tascwatk.js → generate-kdx3nhfk.js} +4 -4
  181. package/dist/chunks/{agent-y8k9ntag.js → generate-kmj6meg3.js} +28 -28
  182. package/dist/chunks/{agent-sb9w5nny.js → generate-kywaegby.js} +5 -5
  183. package/dist/chunks/{agent-3zsf4n22.js → generate-m1714858.js} +1 -1
  184. package/dist/chunks/{agent-xfkkasph.js → generate-m37sd98t.js} +1 -2
  185. package/dist/chunks/{agent-c4jysj7e.js → generate-m416erh4.js} +9 -9
  186. package/dist/chunks/{agent-1wcsaky3.js → generate-m6n3gz95.js} +19 -19
  187. package/dist/chunks/{agent-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{agent-maspj1v3.js → generate-maspj1v3.js} +1 -1
  189. package/dist/chunks/{agent-8mywswrd.js → generate-me5bcav6.js} +1 -1
  190. package/dist/chunks/{agent-1wy3gn7h.js → generate-mfmv0kv1.js} +7 -7
  191. package/dist/chunks/{agent-xs09rgb4.js → generate-mpjcpqpe.js} +18 -18
  192. package/dist/chunks/{agent-hbb7npd7.js → generate-mt3ysty9.js} +3 -3
  193. package/dist/chunks/{agent-ttxw2dcy.js → generate-mtyjk5mv.js} +11 -11
  194. package/dist/chunks/{agent-fcy631f0.js → generate-n0p0277s.js} +1 -1
  195. package/dist/chunks/{agent-sk5011s6.js → generate-n1pz9w08.js} +4 -4
  196. package/dist/chunks/{agent-60ds0mnt.js → generate-n521w511.js} +58 -58
  197. package/dist/chunks/{agent-zwhbkwqf.js → generate-naa9f1yr.js} +18 -18
  198. package/dist/chunks/{agent-1ep4rre3.js → generate-nah043kf.js} +4 -4
  199. package/dist/chunks/{agent-c9scfykt.js → generate-nc0t5309.js} +18 -18
  200. package/dist/chunks/{agent-ws4pm92m.js → generate-np41maqj.js} +16 -16
  201. package/dist/chunks/{agent-775gj3j1.js → generate-p015t6z3.js} +2 -2
  202. package/dist/chunks/{agent-v5dkyp31.js → generate-p0tsr9h6.js} +4 -4
  203. package/dist/chunks/{agent-p8vnz59a.js → generate-p1bnnv0d.js} +11 -11
  204. package/dist/chunks/{agent-x395z3h3.js → generate-p3my5sye.js} +12 -12
  205. package/dist/chunks/{agent-qgn6gcr1.js → generate-p7vhpwh8.js} +1 -1
  206. package/dist/chunks/{agent-8w9gpa2a.js → generate-p910tjw3.js} +4 -4
  207. package/dist/chunks/{agent-pc1v25hk.js → generate-pc1v25hk.js} +1 -1
  208. package/dist/chunks/{agent-sj1zydaf.js → generate-pdsqxfs4.js} +29 -29
  209. package/dist/chunks/{agent-pknna89w.js → generate-pknna89w.js} +1 -1
  210. package/dist/chunks/{agent-xe9rh51h.js → generate-ps3ej18z.js} +4 -4
  211. package/dist/chunks/{agent-c2ym5zbg.js → generate-q60vxn6h.js} +30 -30
  212. package/dist/chunks/{agent-ypxwtm4x.js → generate-q62c5m1h.js} +38 -38
  213. package/dist/chunks/{agent-q20pbgba.js → generate-qd7381sw.js} +9 -9
  214. package/dist/chunks/{agent-76cxhb07.js → generate-qe8930r1.js} +14 -14
  215. package/dist/chunks/{agent-y71avatq.js → generate-qjgzc4b4.js} +1 -1
  216. package/dist/chunks/{agent-tyytaxap.js → generate-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{agent-y1twntmg.js → generate-r3zyq36m.js} +13 -13
  218. package/dist/chunks/{agent-tazgh4e4.js → generate-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{agent-wez96qer.js → generate-rdhjazzg.js} +17 -17
  220. package/dist/chunks/{agent-r2g6g664.js → generate-rky3kepx.js} +3 -3
  221. package/dist/chunks/{agent-r70na3yp.js → generate-rmt6m6se.js} +5 -5
  222. package/dist/chunks/{agent-3tvqynh2.js → generate-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{agent-qcsawjgq.js → generate-rv8w38an.js} +6 -6
  224. package/dist/chunks/{agent-zmjze8as.js → generate-s3sx9mn6.js} +13 -13
  225. package/dist/chunks/{agent-jnpb6kqk.js → generate-s84dsypd.js} +6 -6
  226. package/dist/chunks/{agent-6xb47vfp.js → generate-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{agent-ne0dd1rk.js → generate-srcm619j.js} +18 -18
  228. package/dist/chunks/{agent-f4wgghpj.js → generate-t6x4gq5g.js} +15 -15
  229. package/dist/chunks/{agent-gd4qta3r.js → generate-tczq8hjw.js} +1 -1
  230. package/dist/chunks/{agent-9hn6k4tm.js → generate-tg1vr1qt.js} +8 -8
  231. package/dist/chunks/{agent-tdstcens.js → generate-tw8zr1ps.js} +1 -1
  232. package/dist/chunks/{agent-v7p4zvkq.js → generate-twv2r8f4.js} +2 -2
  233. package/dist/chunks/{agent-8bf1vej8.js → generate-tycew84m.js} +28 -28
  234. package/dist/chunks/{agent-y9793g9a.js → generate-v1n51q4a.js} +9 -9
  235. package/dist/chunks/{agent-b0xapsmc.js → generate-v2ekcwaa.js} +8 -8
  236. package/dist/chunks/{agent-gx42yg2y.js → generate-v52mmt0f.js} +9 -9
  237. package/dist/chunks/{agent-ndn5nttk.js → generate-v5prxdmf.js} +9 -9
  238. package/dist/chunks/{agent-rdw6cm16.js → generate-vd3b3yk9.js} +1 -1
  239. package/dist/chunks/{agent-01kz1ps7.js → generate-vehp2e4d.js} +16 -16
  240. package/dist/chunks/{agent-veqvce7d.js → generate-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-k7mbsg3c.js → generate-vfgay4tf.js} +25 -25
  242. package/dist/chunks/{agent-93yh5dc7.js → generate-vfn6hbth.js} +11 -11
  243. package/dist/chunks/{agent-5rr2xw51.js → generate-vhwf8nac.js} +8 -8
  244. package/dist/chunks/{agent-0rtpdasm.js → generate-vhy1jp8z.js} +12 -12
  245. package/dist/chunks/{agent-re229bga.js → generate-vrhy8dh6.js} +9 -9
  246. package/dist/chunks/{agent-p8z5pjn4.js → generate-vwz214c8.js} +26 -26
  247. package/dist/chunks/{agent-j1eznksd.js → generate-vzy7qmck.js} +23 -23
  248. package/dist/chunks/{agent-7qh4aqtb.js → generate-w3d65hzj.js} +2 -2
  249. package/dist/chunks/{agent-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{agent-6scxdq94.js → generate-w4pz5j85.js} +18 -18
  251. package/dist/chunks/{agent-h5btj78v.js → generate-w72jy28c.js} +7 -7
  252. package/dist/chunks/{agent-89znhe33.js → generate-w8qtt4th.js} +1 -1
  253. package/dist/chunks/{agent-4bqcy7j7.js → generate-w923jztq.js} +27 -27
  254. package/dist/chunks/{agent-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{agent-wd87259q.js → generate-wd87259q.js} +1 -1
  256. package/dist/chunks/{agent-8x019s04.js → generate-wmwt0t0m.js} +15 -15
  257. package/dist/chunks/{agent-b1wrcdv1.js → generate-wnv14c0b.js} +24 -24
  258. package/dist/chunks/{agent-aq6ssqh8.js → generate-wybahy8v.js} +30 -30
  259. package/dist/chunks/{agent-xcs1qr88.js → generate-x06crd5t.js} +23 -23
  260. package/dist/chunks/{agent-cre9sv7v.js → generate-x774aw49.js} +11 -11
  261. package/dist/chunks/{agent-a5x7x9kw.js → generate-x7fdz9fh.js} +18 -18
  262. package/dist/chunks/{agent-0c04ntqn.js → generate-x8hhwygw.js} +39 -39
  263. package/dist/chunks/{agent-h3hta0fv.js → generate-xatr71eh.js} +46 -46
  264. package/dist/chunks/{agent-9g9xrmrw.js → generate-xevjgmtb.js} +14 -14
  265. package/dist/chunks/{agent-kt55wntw.js → generate-xf011dtc.js} +18 -18
  266. package/dist/chunks/{agent-n9tqm6c9.js → generate-xjq3zqqg.js} +11 -11
  267. package/dist/chunks/{agent-c484vbkt.js → generate-xk77ac0a.js} +14 -14
  268. package/dist/chunks/{agent-qkdq18ke.js → generate-xs6sb18z.js} +11 -11
  269. package/dist/chunks/{agent-zk00g8zz.js → generate-y1bsf4pc.js} +25 -25
  270. package/dist/chunks/{agent-t550f9t1.js → generate-y2tacs4v.js} +8 -8
  271. package/dist/chunks/{agent-7m0k4634.js → generate-y6wjeqxz.js} +13 -13
  272. package/dist/chunks/{agent-6tphdy7g.js → generate-y8j3s4v0.js} +4 -4
  273. package/dist/chunks/{agent-pjvnvgmy.js → generate-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{agent-v3sm3b29.js → generate-ybwdqt9k.js} +10 -10
  275. package/dist/chunks/{agent-8ww2gede.js → generate-yhjes8yv.js} +3 -3
  276. package/dist/chunks/{agent-dkase1ea.js → generate-ynm9hr00.js} +32 -32
  277. package/dist/chunks/{agent-bhj7yhfp.js → generate-yx31kd0w.js} +28 -28
  278. package/dist/chunks/{agent-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{agent-tjsfqyz1.js → generate-z2a2ye1r.js} +12 -12
  280. package/dist/chunks/{agent-e0tmjqd2.js → generate-z37k9505.js} +2 -2
  281. package/dist/chunks/{agent-y1fvbwt7.js → generate-z38nccrw.js} +1 -1
  282. package/dist/chunks/{agent-72ynmsqb.js → generate-zax9hrrj.js} +180 -180
  283. package/dist/chunks/{agent-addxnjmp.js → generate-zba5tm1j.js} +4 -4
  284. package/dist/chunks/{agent-m3gkkj97.js → generate-zgcf70k7.js} +10 -10
  285. package/dist/chunks/{agent-hgz4x7wa.js → generate-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{agent-zk8c4w5t.js → generate-zw4pk1bw.js} +5 -5
  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 +85 -85
  292. package/dist/config/discovery.js +84 -84
  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 +118 -118
  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 +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  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 +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  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 +227 -227
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +99 -99
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +80 -80
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +85 -85
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +6 -6
  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 +101 -101
  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 +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +78 -78
  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 +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  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 +90 -90
  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 +2 -2
  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 +116 -116
  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 +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +5 -5
  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 +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  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 +91 -91
  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 +132 -132
  577. package/dist/session/context.js +162 -162
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  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 +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  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 +1 -1
  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 +3 -3
  610. package/dist/session/session.js +163 -163
  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 +1 -1
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +212 -212
  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 +13 -13
  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 +116 -116
  632. package/dist/snapshot.js +93 -93
  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 +122 -122
  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 +217 -217
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +215 -215
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  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 +3 -3
  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 +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +95 -95
  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 +81 -81
  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 +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +96 -96
  687. package/package.json +9 -9
  688. package/dist/chunks/agent-5d10wpg8.js +0 -257
  689. package/dist/chunks/agent-gyce5qg1.js +0 -18
  690. /package/dist/chunks/{agent-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{agent-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{agent-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{agent-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{agent-24dcb14g.js → generate-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{agent-2710q6r3.js → generate-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{agent-2bv980vf.js → generate-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{agent-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{agent-359p4xyc.js → generate-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{agent-3asan66x.js → generate-3asan66x.js} +0 -0
  700. /package/dist/chunks/{agent-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{agent-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{agent-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{agent-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{agent-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{agent-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{agent-53557ph1.js → generate-53557ph1.js} +0 -0
  707. /package/dist/chunks/{agent-550bvhaj.js → generate-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{agent-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
  709. /package/dist/chunks/{agent-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{agent-6prwharc.js → generate-6prwharc.js} +0 -0
  711. /package/dist/chunks/{agent-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{agent-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{agent-7m9af43g.js → generate-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{agent-822emrt2.js → generate-822emrt2.js} +0 -0
  715. /package/dist/chunks/{agent-84wd9syh.js → generate-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{agent-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{agent-8n3pysct.js → generate-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{agent-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{agent-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{agent-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{agent-a058387c.js → generate-a058387c.js} +0 -0
  722. /package/dist/chunks/{agent-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{agent-af5trqkr.js → generate-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{agent-afrmfg78.js → generate-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{agent-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{agent-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{agent-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{agent-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{agent-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{agent-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{agent-d9fn303g.js → generate-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{agent-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{agent-dajrwvna.js → generate-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{agent-dap0rakb.js → generate-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{agent-df08tz66.js → generate-df08tz66.js} +0 -0
  736. /package/dist/chunks/{agent-dy18nga0.js → generate-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{agent-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{agent-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{agent-ec1grn59.js → generate-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{agent-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{agent-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{agent-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{agent-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{agent-faypxj3z.js → generate-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{agent-fd410y7t.js → generate-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{agent-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{agent-g86h250q.js → generate-g86h250q.js} +0 -0
  748. /package/dist/chunks/{agent-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{agent-gftt206x.js → generate-gftt206x.js} +0 -0
  750. /package/dist/chunks/{agent-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{agent-hk9envan.js → generate-hk9envan.js} +0 -0
  752. /package/dist/chunks/{agent-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{agent-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{agent-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{agent-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{agent-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{agent-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{agent-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{agent-m18g726c.js → generate-m18g726c.js} +0 -0
  760. /package/dist/chunks/{agent-mp448xyj.js → generate-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{agent-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{agent-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{agent-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{agent-njntx4h6.js → generate-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{agent-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{agent-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{agent-q74kybfr.js → generate-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{agent-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{agent-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{agent-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{agent-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{agent-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{agent-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{agent-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{agent-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{agent-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{agent-w803qqfp.js → generate-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{agent-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{agent-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{agent-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{agent-wtztk69x.js → generate-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{agent-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{agent-x61499pn.js → generate-x61499pn.js} +0 -0
  784. /package/dist/chunks/{agent-y44na4kk.js → generate-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{agent-y8f7s663.js → generate-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{agent-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{agent-ym463w8f.js → generate-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{agent-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{agent-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service52
7
- } from "./agent-1qbbqxat.js";
6
+ Service49
7
+ } from "./generate-eez2jsbe.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./agent-hgz4x7wa.js";
10
+ } from "./generate-zkg84ctx.js";
11
11
  import {
12
- Service69
13
- } from "./agent-btchm180.js";
12
+ Service67
13
+ } from "./generate-9ra49ptr.js";
14
14
  import {
15
- Service51
16
- } from "./agent-xj13yeyq.js";
15
+ Service41
16
+ } from "./generate-07phzgjg.js";
17
17
  import {
18
- Service64
19
- } from "./agent-rm3b56at.js";
18
+ Service56
19
+ } from "./generate-ecfrjnaf.js";
20
20
  import {
21
- Service13,
21
+ Service48,
22
22
  resolvePath2
23
- } from "./agent-zk2rfxgs.js";
23
+ } from "./generate-3g4pre0h.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./agent-vzs5sf6e.js";
29
+ } from "./generate-k814nvkf.js";
30
30
  import {
31
- Service58,
31
+ Service46,
32
32
  name16
33
- } from "./agent-nw3tt376.js";
33
+ } from "./generate-5emr5dp8.js";
34
34
  import {
35
- NotFoundError4,
36
- Service34
37
- } from "./agent-b0b1syqq.js";
35
+ NotFoundError6,
36
+ Service43
37
+ } from "./generate-az4hfc8s.js";
38
38
  import {
39
- Service19
40
- } from "./agent-pfmyemp7.js";
39
+ Service20
40
+ } from "./generate-jzdfcbw4.js";
41
41
  import {
42
- scan2
43
- } from "./agent-1wy3gn7h.js";
42
+ scan3
43
+ } from "./generate-mfmv0kv1.js";
44
44
  import {
45
45
  __export
46
- } from "./agent-9rqn6x4v.js";
46
+ } from "./generate-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin20,
54
- ShellTool: () => exports_shell,
55
- name: () => name3
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin48,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name3 = "shell";
60
+ var name11 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input3 = Schema.Struct({
74
+ var Input11 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin20 = {
120
+ var Plugin48 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service19;
124
- const jobs = yield* Service51;
123
+ const sessions = yield* Service20;
124
+ const jobs = yield* Service41;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service69;
127
- const access = yield* Service13;
128
- const shell = yield* Service34;
129
- const shellSelect = yield* Service58;
126
+ const environment = yield* Service67;
127
+ const access = yield* Service48;
128
+ const shell = yield* Service43;
129
+ const shellSelect = yield* Service46;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service64;
132
- const config = yield* Service52;
131
+ const permission = yield* Service56;
132
+ const config = yield* Service49;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin20 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin20 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name3,
151
+ action: name11,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin20 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name3,
188
+ name: name11,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input3,
191
+ input: Input11,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin20 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError4({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name3,
228
+ type: name11,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name3];
258
+ const tool = event.tools[name11];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin20, exports_shell };
269
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin48, exports_shell2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ID9,
3
- Info18,
3
+ Info19,
4
4
  SessionSchema2
5
- } from "./agent-hzrfc1p4.js";
5
+ } from "./generate-8n9x2wf6.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./agent-z5v4ffb3.js";
8
+ } from "./generate-z5v4ffb3.js";
9
9
  import {
10
10
  Service86,
11
11
  node90
12
- } from "./agent-5mx90py9.js";
12
+ } from "./generate-bbym2bqy.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service85,
16
16
  node89
17
- } from "./agent-tascwatk.js";
17
+ } from "./generate-kdx3nhfk.js";
18
18
  import {
19
19
  Service83,
20
20
  node87
21
- } from "./agent-1waxmwv9.js";
21
+ } from "./generate-1mtcyeq8.js";
22
22
  import {
23
- Service48,
24
- node50
25
- } from "./agent-tcay1cqt.js";
23
+ Service36,
24
+ node38
25
+ } from "./generate-dwwyec8z.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./agent-ec1grn59.js";
28
+ } from "./generate-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./agent-998yhzzq.js";
31
+ } from "./generate-998yhzzq.js";
32
32
  import {
33
- NotFoundError9,
33
+ NotFoundError8,
34
34
  InvalidListCursorError2,
35
35
  MessageNotFoundError2,
36
36
  ForkEmptyError2,
@@ -42,78 +42,78 @@ import {
42
42
  BusyError2,
43
43
  InboxConflictError2,
44
44
  SkillNotFoundError2
45
- } from "./agent-krdey6nc.js";
45
+ } from "./generate-ffxnyj3q.js";
46
46
  import {
47
47
  current2
48
- } from "./agent-sk5011s6.js";
48
+ } from "./generate-n1pz9w08.js";
49
49
  import {
50
- node49
51
- } from "./agent-xs09rgb4.js";
50
+ node40
51
+ } from "./generate-mpjcpqpe.js";
52
52
  import {
53
53
  snapshot2
54
- } from "./agent-f4wgghpj.js";
54
+ } from "./generate-t6x4gq5g.js";
55
55
  import {
56
56
  Slug2
57
- } from "./agent-gebd4c9n.js";
57
+ } from "./generate-gebd4c9n.js";
58
58
  import {
59
59
  SessionAlreadyProjected2,
60
- node24
61
- } from "./agent-p9gx55xe.js";
60
+ node31
61
+ } from "./generate-g1jpy47d.js";
62
62
  import {
63
63
  Metadata2,
64
- node79
65
- } from "./agent-cre9sv7v.js";
64
+ node45
65
+ } from "./generate-x774aw49.js";
66
66
  import {
67
67
  ListInput3,
68
- Service65,
69
- node67
70
- } from "./agent-gvk2e4nv.js";
68
+ Service57,
69
+ node60
70
+ } from "./generate-g6p5rgqz.js";
71
71
  import {
72
- Service51,
73
- node53
74
- } from "./agent-xj13yeyq.js";
72
+ Service41,
73
+ node43
74
+ } from "./generate-07phzgjg.js";
75
75
  import {
76
- Service45,
77
- node48
78
- } from "./agent-n9xp8ka0.js";
76
+ Service34,
77
+ node37
78
+ } from "./generate-apkkjdpa.js";
79
79
  import {
80
80
  llmClient2
81
- } from "./agent-775gj3j1.js";
81
+ } from "./generate-p015t6z3.js";
82
82
  import {
83
- Service30,
84
- node33
85
- } from "./agent-bqwheb6v.js";
83
+ Service28,
84
+ node30
85
+ } from "./generate-94j4dkqe.js";
86
86
  import {
87
87
  generate2
88
- } from "./agent-b2gqg30f.js";
88
+ } from "./generate-hq3462wm.js";
89
89
  import {
90
90
  execute2
91
- } from "./agent-5rr2xw51.js";
91
+ } from "./generate-vhwf8nac.js";
92
92
  import {
93
- Service50,
94
- node52
95
- } from "./agent-gx42yg2y.js";
93
+ Service53,
94
+ node56
95
+ } from "./generate-v52mmt0f.js";
96
96
  import {
97
97
  DestinationNotFoundError2,
98
98
  DestinationNotDirectoryError2,
99
99
  DestinationUnavailableError2,
100
- Service20,
101
- node23
102
- } from "./agent-b60a0p85.js";
100
+ Service21,
101
+ node24
102
+ } from "./generate-jddh4vgn.js";
103
103
  import {
104
- Service35,
105
- node38
106
- } from "./agent-ahd542yp.js";
104
+ Service44,
105
+ node47
106
+ } from "./generate-crfddmzc.js";
107
107
  import {
108
108
  make13
109
- } from "./agent-c2ym5zbg.js";
109
+ } from "./generate-q60vxn6h.js";
110
110
  import {
111
111
  TurnRangeError2,
112
112
  turn2
113
- } from "./agent-8a61520m.js";
113
+ } from "./generate-d326b540.js";
114
114
  import {
115
115
  __export
116
- } from "./agent-9rqn6x4v.js";
116
+ } from "./generate-9rqn6x4v.js";
117
117
 
118
118
  // src/session.ts
119
119
  var exports_session = {};
@@ -127,22 +127,22 @@ __export(exports_session, {
127
127
  ForkEmptyError: () => ForkEmptyError2,
128
128
  ID: () => ID9,
129
129
  InboxConflictError: () => InboxConflictError2,
130
- Info: () => Info18,
130
+ Info: () => Info19,
131
131
  InvalidListCursorError: () => InvalidListCursorError2,
132
132
  ListAnchor: () => ListAnchor2,
133
133
  ListCursor: () => ListCursor2,
134
134
  ListInput: () => ListInput2,
135
135
  MessageDecodeError: () => MessageDecodeError2,
136
136
  MessageNotFoundError: () => MessageNotFoundError2,
137
- NotFoundError: () => NotFoundError9,
137
+ NotFoundError: () => NotFoundError8,
138
138
  PromptConflictError: () => PromptConflictError2,
139
- Service: () => Service19,
139
+ Service: () => Service20,
140
140
  Session: () => exports_session,
141
141
  SessionSchema: () => SessionSchema2,
142
142
  SkillNotFoundError: () => SkillNotFoundError2,
143
143
  SyntheticConflictError: () => SyntheticConflictError2,
144
144
  TurnRangeError: () => TurnRangeError2,
145
- node: () => node22
145
+ node: () => node23
146
146
  });
147
147
  import { DateTime, Effect, Layer, Context, Stream } from "effect";
148
148
  import { LLMClient } from "@opencode/ai";
@@ -153,26 +153,26 @@ import { Node } from "@opencode/util/effect/app-node";
153
153
  import { FSUtil } from "@opencode/util/fs-util";
154
154
  var ListInput2 = ListInput3;
155
155
  var DefaultListLimit = 50;
156
- class Service19 extends Context.Service()("@opencode/Session") {
156
+ class Service20 extends Context.Service()("@opencode/Session") {
157
157
  }
158
- var layer = Layer.effect(Service19, Effect.gen(function* () {
158
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
159
159
  const app = yield* Metadata2;
160
160
  const database = yield* Service86;
161
161
  const db = database.db;
162
162
  const bus = yield* Service85;
163
163
  const projects = yield* Service83;
164
- const execution = yield* Service45;
164
+ const execution = yield* Service34;
165
165
  const llm = yield* LLMClient.Service;
166
- const transport = yield* Service30;
167
- const store = yield* Service65;
168
- const instances = yield* Service48;
169
- const moves = yield* Service20;
170
- const jobs = yield* Service51;
171
- const environments = yield* Service35;
172
- const locations = yield* Service50;
166
+ const transport = yield* Service28;
167
+ const store = yield* Service57;
168
+ const instances = yield* Service36;
169
+ const moves = yield* Service21;
170
+ const jobs = yield* Service41;
171
+ const environments = yield* Service44;
172
+ const locations = yield* Service53;
173
173
  const sessions = yield* make13();
174
174
  const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
175
- const result = Service19.of({
175
+ const result = Service20.of({
176
176
  create: Effect.fn("Session.create")(function* (input) {
177
177
  const sessionID = input.id ?? SessionSchema2.ID.create();
178
178
  const recorded = yield* store.get(sessionID);
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
180
180
  return recorded;
181
181
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
182
182
  if (input.parentID && parent === undefined)
183
- return yield* new NotFoundError9({ sessionID: input.parentID });
183
+ return yield* new NotFoundError8({ sessionID: input.parentID });
184
184
  const location = parent?.location ?? input.location;
185
185
  if (location === undefined)
186
186
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -297,11 +297,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
297
297
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
298
298
  generate: Effect.fn("Session.generate")(function* (input) {
299
299
  const session = yield* result.get(input.sessionID);
300
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
300
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
301
301
  }),
302
302
  command: Effect.fn("Session.command")(function* (input) {
303
303
  const session = yield* result.get(input.sessionID);
304
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service48, instances));
304
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service36, instances));
305
305
  }),
306
306
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
307
307
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -345,27 +345,27 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
345
345
  });
346
346
  return result;
347
347
  }));
348
- var node22 = Node.makeGlobalNode({
349
- service: Service19,
348
+ var node23 = Node.makeGlobalNode({
349
+ service: Service20,
350
350
  layer,
351
351
  deps: [
352
- node53,
353
- node38,
352
+ node43,
353
+ node47,
354
354
  node90,
355
355
  node89,
356
356
  node87,
357
- node48,
358
- node33,
357
+ node37,
358
+ node30,
359
359
  llmClient2,
360
- node67,
361
- node50,
362
- node49,
363
- node23,
360
+ node60,
361
+ node38,
362
+ node40,
364
363
  node24,
365
- node52,
364
+ node31,
365
+ node56,
366
366
  FSUtil.node,
367
- node79
367
+ node45
368
368
  ]
369
369
  });
370
370
 
371
- export { ListAnchor2, ListCursor2, ListInput2, Service19, node22, exports_session };
371
+ export { ListAnchor2, ListCursor2, ListInput2, Service20, node23, exports_session };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./generate-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service22,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service22 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service22, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./agent-tascwatk.js";
4
+ } from "./generate-kdx3nhfk.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./agent-g72yd4k4.js";
8
+ } from "./generate-5gk89hyb.js";
9
9
  import {
10
10
  Service82,
11
11
  node86
12
- } from "./agent-e0tmjqd2.js";
12
+ } from "./generate-z37k9505.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./agent-gyce5qg1.js";
15
+ } from "./generate-jztn5z23.js";
16
16
  import {
17
- Service53,
18
- node55
19
- } from "./agent-mvd2y75j.js";
17
+ Service50,
18
+ node53
19
+ } from "./generate-5xepaxvw.js";
20
20
  import {
21
21
  node18
22
- } from "./agent-ws4pm92m.js";
22
+ } from "./generate-np41maqj.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./agent-cwa6csj7.js";
24
+ Service6,
25
+ node7
26
+ } from "./generate-dz8hhvgv.js";
27
27
  import {
28
28
  __export
29
- } from "./agent-9rqn6x4v.js";
29
+ } from "./generate-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service11,
36
- node: () => node13
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service11 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service11, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
46
  const location = yield* Service82;
47
- const watcher = yield* Service53;
47
+ const watcher = yield* Service50;
48
48
  const bus = yield* Service85;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service84;
51
- const policy = yield* Service12;
51
+ const policy = yield* Service6;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service11.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node13 = makeLocationNode({
106
- service: Service11,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node55, FSUtil.node, node86, node88, node89, node18, node14]
108
+ deps: [node53, FSUtil.node, node86, node88, node89, node18, node7]
109
109
  });
110
110
 
111
- export { Service11, node13, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./agent-5mx90py9.js";
4
+ } from "./generate-bbym2bqy.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./agent-2710q6r3.js";
8
+ } from "./generate-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./agent-y71avatq.js";
11
+ } from "./generate-qjgzc4b4.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./generate-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};