@opencode/core 0.0.0-dev-236 → 0.0.0-dev-248

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 (833) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/{form-aj7mw0zk.js → image-034tev2y.js} +2 -2
  8. package/dist/chunks/{form-0pzggwk2.js → image-04dwygev.js} +28 -28
  9. package/dist/chunks/{form-a66tgrbp.js → image-0hq318p0.js} +21 -21
  10. package/dist/chunks/{form-5s3wzs2b.js → image-0tdbgf6t.js} +6 -6
  11. package/dist/chunks/{form-sdft4pf2.js → image-0v1smhm7.js} +57 -57
  12. package/dist/chunks/{form-ratsm3et.js → image-10gwmmpt.js} +20 -20
  13. package/dist/chunks/{form-8jztxfpf.js → image-11hfp36g.js} +4 -4
  14. package/dist/chunks/{form-9qg9k9gh.js → image-1bf8edtk.js} +17 -17
  15. package/dist/chunks/{form-27w5k9zf.js → image-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{form-57pn975y.js → image-1sd3wnkk.js} +10 -10
  17. package/dist/chunks/{form-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{form-5zrxpy3q.js → image-1yq9hg58.js} +5 -5
  19. package/dist/chunks/{form-4j02pyve.js → image-1z3wvqve.js} +9 -9
  20. package/dist/chunks/{form-204s3925.js → image-204s3925.js} +1 -1
  21. package/dist/chunks/{form-0zh0yqdd.js → image-20pjvqtm.js} +12 -12
  22. package/dist/chunks/{form-b0tt7fbs.js → image-25f6p34y.js} +17 -17
  23. package/dist/chunks/{form-8b3vzgkx.js → image-25h84942.js} +4 -4
  24. package/dist/chunks/{form-26x8chrq.js → image-26x8chrq.js} +3 -3
  25. package/dist/chunks/{form-xty73vjp.js → image-28yqhrns.js} +5 -5
  26. package/dist/chunks/{form-xkkxpaxw.js → image-2ap97v08.js} +19 -19
  27. package/dist/chunks/{form-2dkjcnxp.js → image-2dkjcnxp.js} +1 -1
  28. package/dist/chunks/{form-f952zzwb.js → image-2haa1nrw.js} +4 -4
  29. package/dist/chunks/{form-femntydq.js → image-2m7vd2mn.js} +25 -25
  30. package/dist/chunks/{form-jrqnrhvj.js → image-2skrxz14.js} +16 -16
  31. package/dist/chunks/{form-cram7zgt.js → image-2xwjc3g5.js} +8 -8
  32. package/dist/chunks/{form-81s2k8vv.js → image-32epp8e4.js} +15 -15
  33. package/dist/chunks/{form-0g0wwtc6.js → image-39m5thjs.js} +34 -34
  34. package/dist/chunks/{form-jyvqgxbr.js → image-3ajqprdg.js} +30 -30
  35. package/dist/chunks/{form-xbts61dy.js → image-3bks771a.js} +36 -36
  36. package/dist/chunks/{form-4b42mt74.js → image-3gst0kgm.js} +14 -14
  37. package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{form-3r13qzkr.js → image-3jrww01t.js} +49 -53
  39. package/dist/chunks/{form-m7q6ddj2.js → image-3kdbrncp.js} +5 -5
  40. package/dist/chunks/{form-7tyeehtt.js → image-3qcna5dk.js} +1 -1
  41. package/dist/chunks/{form-8f066r9v.js → image-3rt29ewr.js} +17 -17
  42. package/dist/chunks/{form-30jfg8m2.js → image-3t9dgkdy.js} +11 -11
  43. package/dist/chunks/{form-39w9ysaz.js → image-3w0ntz8g.js} +11 -11
  44. package/dist/chunks/{form-kgf7qxx3.js → image-3y081v33.js} +56 -56
  45. package/dist/chunks/{form-ctfjhx7j.js → image-47tv8dfp.js} +15 -15
  46. package/dist/chunks/{form-m0nhvpz4.js → image-4c3xmdam.js} +21 -21
  47. package/dist/chunks/{form-rp624dek.js → image-4eqwcsj2.js} +15 -15
  48. package/dist/chunks/{form-zz5ve47h.js → image-4hhk1wq5.js} +33 -33
  49. package/dist/chunks/{form-rb8x5f8g.js → image-4mkdw68v.js} +6 -6
  50. package/dist/chunks/{form-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{form-ax2a2y9p.js → image-4tkxmvmj.js} +10 -10
  52. package/dist/chunks/{form-1fgjq5yh.js → image-4tpjns74.js} +11 -11
  53. package/dist/chunks/{form-4v008n1t.js → image-4v008n1t.js} +1 -1
  54. package/dist/chunks/{form-ex5g5fdx.js → image-4vb4pv6c.js} +4 -4
  55. package/dist/chunks/{form-g39z3c3d.js → image-4x8zw6t1.js} +28 -28
  56. package/dist/chunks/{form-s5h6z9gv.js → image-51y3dyvd.js} +5 -5
  57. package/dist/chunks/{form-2daekhsq.js → image-58d281yc.js} +18 -18
  58. package/dist/chunks/{form-6hc3w7dx.js → image-59few21w.js} +35 -35
  59. package/dist/chunks/{form-tvb592mm.js → image-5cdcvw12.js} +5 -5
  60. package/dist/chunks/{form-r41sfy63.js → image-5enarcya.js} +9 -9
  61. package/dist/chunks/{form-9nbm1qb8.js → image-5f9y2yjb.js} +5 -5
  62. package/dist/chunks/{form-bbex01q8.js → image-5gmpzygr.js} +18 -18
  63. package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{form-c7vtx2cj.js → image-5sb780hn.js} +10 -10
  65. package/dist/chunks/{form-rx0a7xyh.js → image-5v2ww1a5.js} +15 -15
  66. package/dist/chunks/{form-gcdcpnqc.js → image-5v3yzjvk.js} +22 -22
  67. package/dist/chunks/{form-zgg8de7g.js → image-5y4p2mbw.js} +11 -11
  68. package/dist/chunks/{form-ma4f8va9.js → image-67eerw5j.js} +17 -17
  69. package/dist/chunks/{form-2az9w9qg.js → image-67xt1syw.js} +21 -21
  70. package/dist/chunks/{form-6h0z5jnc.js → image-6b5m6t85.js} +13 -13
  71. package/dist/chunks/{form-6esdw8yj.js → image-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{form-4vhebqs8.js → image-6khf956j.js} +23 -23
  73. package/dist/chunks/{form-9wfhnavn.js → image-6m42rt11.js} +48 -48
  74. package/dist/chunks/{form-hex344mn.js → image-6r8yaq0c.js} +11 -11
  75. package/dist/chunks/{form-ztqjkmb7.js → image-6v2f7dvw.js} +4 -4
  76. package/dist/chunks/{form-76cb1hcw.js → image-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{form-xtk91xpy.js → image-7bcfrs2x.js} +8 -8
  78. package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{form-fymf9s41.js → image-7f054j3n.js} +7 -7
  80. package/dist/chunks/{form-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{form-2sqgfc56.js → image-7x8d5pk9.js} +45 -45
  82. package/dist/chunks/{form-wz4vvgzg.js → image-7zwtd1t5.js} +20 -20
  83. package/dist/chunks/{form-5chyaczp.js → image-816kk8rv.js} +10 -5
  84. package/dist/chunks/{form-mggs55rp.js → image-86fy72ae.js} +11 -11
  85. package/dist/chunks/{form-rs85nywm.js → image-86g1pe6q.js} +22 -22
  86. package/dist/chunks/{form-j99dhamb.js → image-89embc53.js} +6 -6
  87. package/dist/chunks/{form-s4j0n7b9.js → image-89ycw09x.js} +24 -24
  88. package/dist/chunks/{form-jxb3gtw0.js → image-8b714bza.js} +8 -8
  89. package/dist/chunks/{form-0neff2gh.js → image-8g8ajnhh.js} +6 -6
  90. package/dist/chunks/{form-9c3ec48c.js → image-8gxv70g9.js} +81 -81
  91. package/dist/chunks/{form-g3d9y95k.js → image-8jf3czjf.js} +23 -23
  92. package/dist/chunks/{form-69p76eyw.js → image-8nkb1bb0.js} +34 -34
  93. package/dist/chunks/{form-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  94. package/dist/chunks/{form-dnmen5cb.js → image-8ykqf5wm.js} +9 -9
  95. package/dist/chunks/{form-mdva19h8.js → image-8zgx0mk8.js} +15 -15
  96. package/dist/chunks/{form-90zstvax.js → image-90zstvax.js} +1 -1
  97. package/dist/chunks/{form-pebfq84r.js → image-92zdzejd.js} +21 -21
  98. package/dist/chunks/{form-38adaqc0.js → image-9b00c1fb.js} +5 -5
  99. package/dist/chunks/{form-zgd8t41s.js → image-9f3sjfep.js} +9 -9
  100. package/dist/chunks/{form-gfnmyn48.js → image-9grvd76r.js} +8 -8
  101. package/dist/chunks/{form-mf20dtnm.js → image-9sqzj7jg.js} +9 -9
  102. package/dist/chunks/{form-j3w1x649.js → image-9vmwptcj.js} +27 -27
  103. package/dist/chunks/{form-y3ryyqft.js → image-9ztt5qj6.js} +3 -3
  104. package/dist/chunks/{form-h2xt6wet.js → image-a4ww6fpm.js} +6 -6
  105. package/dist/chunks/{form-57ahrrn7.js → image-a862c78z.js} +19 -19
  106. package/dist/chunks/{form-c4q1vm7v.js → image-ack5fry6.js} +21 -21
  107. package/dist/chunks/{form-5n27fd96.js → image-ag44vf4f.js} +2 -2
  108. package/dist/chunks/{form-812q73hy.js → image-ahzw090p.js} +22 -22
  109. package/dist/chunks/{form-1sw1ga6z.js → image-avce3vrt.js} +13 -13
  110. package/dist/chunks/{form-rhry30kd.js → image-awtxj99r.js} +6 -6
  111. package/dist/chunks/{form-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
  112. package/dist/chunks/{form-bq3b16qk.js → image-azte55v6.js} +2 -2
  113. package/dist/chunks/{form-smej90w1.js → image-b0nx2azr.js} +9 -9
  114. package/dist/chunks/{form-b6vsg801.js → image-b6vsg801.js} +2 -2
  115. package/dist/chunks/{form-0568hmfx.js → image-bdsr3j33.js} +20 -20
  116. package/dist/chunks/{form-5xhxj3ma.js → image-bhdy8mdp.js} +26 -26
  117. package/dist/chunks/{form-2dzbnn5s.js → image-bn6dytgp.js} +6 -6
  118. package/dist/chunks/{form-s5pg1fnt.js → image-bqdeah0e.js} +27 -27
  119. package/dist/chunks/{form-bstexjd6.js → image-bstexjd6.js} +1 -1
  120. package/dist/chunks/{form-gsw63pph.js → image-c2az2pbz.js} +45 -45
  121. package/dist/chunks/{form-gfdy171d.js → image-c4104nvq.js} +90 -90
  122. package/dist/chunks/{form-z2s36kx0.js → image-c44160y8.js} +7 -7
  123. package/dist/chunks/{form-2azy8kv6.js → image-c6x7d2ts.js} +4 -4
  124. package/dist/chunks/{form-b1pn0vxn.js → image-c9t2ty9q.js} +4 -4
  125. package/dist/chunks/{form-58d2k2k8.js → image-cje1pfpn.js} +32 -32
  126. package/dist/chunks/{form-cwrgdav8.js → image-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{form-gn8tkhbf.js → image-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{form-cpr2q5y2.js → image-d8pnfqg9.js} +35 -35
  129. package/dist/chunks/{form-x0kzwhb5.js → image-de8e9e1p.js} +6 -6
  130. package/dist/chunks/{form-dt7r1hfc.js → image-dgy090gd.js} +5 -5
  131. package/dist/chunks/{form-dt77769w.js → image-dt77769w.js} +1 -1
  132. package/dist/chunks/{form-hz4138gk.js → image-dxw797sb.js} +11 -11
  133. package/dist/chunks/{form-tn4wkvja.js → image-e16ncx1j.js} +22 -22
  134. package/dist/chunks/{form-drvbhkez.js → image-e2ne77ac.js} +4 -4
  135. package/dist/chunks/{form-nm34g1pn.js → image-e4v2mgyj.js} +6 -6
  136. package/dist/chunks/{form-m4mdhy98.js → image-e6v5qvkg.js} +11 -11
  137. package/dist/chunks/{form-e834z07m.js → image-e834z07m.js} +1 -1
  138. package/dist/chunks/{form-jynhhecs.js → image-eahpwh8e.js} +4 -4
  139. package/dist/chunks/{form-apejkmwr.js → image-em6jm62j.js} +5 -5
  140. package/dist/chunks/{form-v54nvb2h.js → image-f01y088k.js} +5 -5
  141. package/dist/chunks/{form-f4mscg03.js → image-f1qxk96b.js} +11 -11
  142. package/dist/chunks/{form-wdxw6h8d.js → image-f3d4492r.js} +13 -13
  143. package/dist/chunks/{form-wcr7n0w7.js → image-f9vfey2v.js} +18 -18
  144. package/dist/chunks/{form-1gebr7re.js → image-fe7b6z6g.js} +21 -21
  145. package/dist/chunks/{form-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{form-prq7xxp2.js → image-fg9p65nk.js} +6 -6
  147. package/dist/chunks/{form-wmsrda0h.js → image-frevgasg.js} +28 -28
  148. package/dist/chunks/{form-r4bcfbbz.js → image-fskffsfd.js} +16 -16
  149. package/dist/chunks/{form-zep4evtf.js → image-fy9mjtsj.js} +20 -20
  150. package/dist/chunks/{form-np3f7rt0.js → image-fypmhnps.js} +2 -2
  151. package/dist/chunks/{form-8kvd5mpw.js → image-fysk4shs.js} +6 -6
  152. package/dist/chunks/{form-wr3re1en.js → image-fznmdakp.js} +4 -4
  153. package/dist/chunks/{form-t08mfb53.js → image-g6car740.js} +48 -48
  154. package/dist/chunks/{form-hfgk9wzg.js → image-g7esga4v.js} +7 -7
  155. package/dist/chunks/{form-nt9wvz87.js → image-g8mt74n4.js} +25 -25
  156. package/dist/chunks/{form-6733gk72.js → image-gacpt71r.js} +30 -30
  157. package/dist/chunks/{form-4ashkr7h.js → image-gbjdk4c3.js} +27 -27
  158. package/dist/chunks/{form-h5jrm83f.js → image-h3pnxjmh.js} +9 -9
  159. package/dist/chunks/{form-t5prmbbw.js → image-h4p3pyf8.js} +6 -6
  160. package/dist/chunks/{form-w5znx9nn.js → image-ha1g65f2.js} +14 -14
  161. package/dist/chunks/{form-1wap8mvb.js → image-hcc6p5a3.js} +28 -28
  162. package/dist/chunks/{form-cd6xe7sj.js → image-heqea18d.js} +24 -24
  163. package/dist/chunks/{form-pxsvpp78.js → image-hex7e87k.js} +11 -11
  164. package/dist/chunks/{form-hh7kjqtw.js → image-hh7kjqtw.js} +1 -1
  165. package/dist/chunks/{form-37qznj3x.js → image-hmthv8g3.js} +16 -16
  166. package/dist/chunks/{form-20h0fae3.js → image-hp23tba8.js} +40 -40
  167. package/dist/chunks/{form-hpg1pkwy.js → image-hpg1pkwy.js} +1 -1
  168. package/dist/chunks/{form-jh74jycr.js → image-hqxkkta1.js} +3 -3
  169. package/dist/chunks/{form-fs9kz63c.js → image-hxh3sdms.js} +14 -14
  170. package/dist/chunks/{form-a2qrzhrv.js → image-j0y2j2y9.js} +12 -12
  171. package/dist/chunks/{form-gm7a1s2a.js → image-j1k7c27p.js} +16 -16
  172. package/dist/chunks/{form-e3yq7vhq.js → image-j36nge33.js} +22 -22
  173. package/dist/chunks/{form-0wkkkdkf.js → image-j8ypmtmr.js} +12 -12
  174. package/dist/chunks/{form-k302pdnh.js → image-jcqm84fr.js} +9 -9
  175. package/dist/chunks/{form-jfaecv01.js → image-jfaecv01.js} +1 -1
  176. package/dist/chunks/{form-0gbb59p9.js → image-jn88007r.js} +2 -2
  177. package/dist/chunks/{form-2mbjfaxd.js → image-jns4gqy7.js} +4 -4
  178. package/dist/chunks/{form-03jqhmmy.js → image-jqcfy5ts.js} +33 -33
  179. package/dist/chunks/{form-45qxjkfx.js → image-js1q3m86.js} +9 -9
  180. package/dist/chunks/{form-jtnps1zs.js → image-jtnps1zs.js} +2 -2
  181. package/dist/chunks/{form-tsdwyhx3.js → image-jy8nsvvz.js} +3 -3
  182. package/dist/chunks/{form-xhr3cxyj.js → image-k0cyqgb5.js} +11 -11
  183. package/dist/chunks/{form-9rmw0sn3.js → image-k0e45ge6.js} +14 -14
  184. package/dist/chunks/{form-0j3zdga0.js → image-k5jndtya.js} +1 -1
  185. package/dist/chunks/{form-k814nvkf.js → image-k814nvkf.js} +1 -1
  186. package/dist/chunks/{form-k9zkdd2y.js → image-k9zkdd2y.js} +1 -1
  187. package/dist/chunks/{form-p71ca3rx.js → image-kag6nkv4.js} +21 -21
  188. package/dist/chunks/{form-kg2n5yz1.js → image-kee8ykx2.js} +8 -8
  189. package/dist/chunks/{form-5w8z11at.js → image-kprvh3r4.js} +18 -18
  190. package/dist/chunks/{form-4er7ty69.js → image-kqjfhnyk.js} +14 -14
  191. package/dist/chunks/{form-swhkgwn8.js → image-kssbtbt0.js} +77 -77
  192. package/dist/chunks/{form-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  193. package/dist/chunks/{form-cqgdxhj0.js → image-m11k789k.js} +17 -17
  194. package/dist/chunks/{form-m1714858.js → image-m1714858.js} +1 -1
  195. package/dist/chunks/{form-nes0j92p.js → image-m409210a.js} +2 -2
  196. package/dist/chunks/{form-pa26emph.js → image-m4rznpxk.js} +29 -29
  197. package/dist/chunks/{form-75q1s5an.js → image-m528r48h.js} +4 -4
  198. package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{form-8z6m94af.js → image-mb7mbhnz.js} +3 -3
  200. package/dist/chunks/{form-7wx5knwb.js → image-mg0htjxc.js} +25 -25
  201. package/dist/chunks/{form-mg356nz4.js → image-mg356nz4.js} +3 -3
  202. package/dist/chunks/{form-65745s09.js → image-mj7659ab.js} +24 -24
  203. package/dist/chunks/{form-2nm4w996.js → image-n0ekdz40.js} +40 -40
  204. package/dist/chunks/{form-115q1jpg.js → image-n1c40vny.js} +3 -3
  205. package/dist/chunks/image-n4r6va5a.js +257 -0
  206. package/dist/chunks/{form-65w5xxws.js → image-n8x58739.js} +11 -11
  207. package/dist/chunks/{form-770pw0s1.js → image-nah043kf.js} +4 -4
  208. package/dist/chunks/{form-0a4nha02.js → image-nhjb6w3d.js} +8 -8
  209. package/dist/chunks/{form-eq9kvdfm.js → image-njw1ekhc.js} +11 -11
  210. package/dist/chunks/{form-3mt7h3sc.js → image-ntqnj75s.js} +4 -4
  211. package/dist/chunks/{form-whk88kq8.js → image-nwarprta.js} +28 -28
  212. package/dist/chunks/{form-6dgef8zt.js → image-nz92z2sf.js} +18 -18
  213. package/dist/chunks/{form-p015t6z3.js → image-p015t6z3.js} +2 -2
  214. package/dist/chunks/{form-1naqjf9j.js → image-p087ke4f.js} +43 -43
  215. package/dist/chunks/{form-6v96zr1h.js → image-pd4ndcwr.js} +20 -20
  216. package/dist/chunks/{form-wpm462xr.js → image-pebb1b2g.js} +10 -10
  217. package/dist/chunks/{form-w6rf4v00.js → image-penn2v67.js} +12 -12
  218. package/dist/chunks/{form-z1s357w5.js → image-pf7dnjhv.js} +23 -23
  219. package/dist/chunks/{form-9310e8g9.js → image-pfz9gkfy.js} +11 -11
  220. package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
  221. package/dist/chunks/{form-9avx4ajz.js → image-pkx7b8zb.js} +15 -15
  222. package/dist/chunks/{form-6yppqcev.js → image-q0f5tnzd.js} +26 -26
  223. package/dist/chunks/{form-75dkjs9q.js → image-q2akw4rt.js} +28 -28
  224. package/dist/chunks/{form-s6pdabng.js → image-q4jmz9te.js} +25 -25
  225. package/dist/chunks/{form-1xnfgx4x.js → image-q4rvt96e.js} +9 -9
  226. package/dist/chunks/{form-cv03a796.js → image-q4zyxfy7.js} +9 -9
  227. package/dist/chunks/{form-bhm8f5xf.js → image-q5gscbn2.js} +3 -3
  228. package/dist/chunks/{form-9bcxv424.js → image-qcsh9g2y.js} +11 -11
  229. package/dist/chunks/{form-crdv0qyn.js → image-qeqspr7f.js} +3 -3
  230. package/dist/chunks/{form-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
  231. package/dist/chunks/{form-60v1vsga.js → image-qp7zbdnj.js} +30 -30
  232. package/dist/chunks/{form-2gptajwx.js → image-qqsnbxa9.js} +1 -1
  233. package/dist/chunks/{form-qqvy8y24.js → image-qqvy8y24.js} +1 -1
  234. package/dist/chunks/{form-3yrks06x.js → image-qqyrafx2.js} +7 -7
  235. package/dist/chunks/{form-kg4r8sy9.js → image-qsv00416.js} +32 -32
  236. package/dist/chunks/{form-7fz7kdv3.js → image-qy3khhnd.js} +29 -29
  237. package/dist/chunks/{form-800hrrsd.js → image-qz9nzpv7.js} +24 -24
  238. package/dist/chunks/{form-r542h3bh.js → image-r542h3bh.js} +1 -1
  239. package/dist/chunks/{form-g4n1wayp.js → image-ra36q08n.js} +15 -15
  240. package/dist/chunks/{form-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  241. package/dist/chunks/{form-7pryy4s8.js → image-rj53dkn5.js} +46 -46
  242. package/dist/chunks/{form-tm4pda5m.js → image-rnm2nekc.js} +5 -5
  243. package/dist/chunks/{form-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  244. package/dist/chunks/{form-s7kyse9r.js → image-s7kyse9r.js} +1 -1
  245. package/dist/chunks/{form-nsd4cwk5.js → image-s9r9y5yp.js} +15 -15
  246. package/dist/chunks/{form-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
  247. package/dist/chunks/{form-cn8yknkt.js → image-seap89fc.js} +11 -11
  248. package/dist/chunks/{form-dy2eaxm7.js → image-sm9ekc7r.js} +7 -7
  249. package/dist/chunks/{form-0j7gp832.js → image-sqjzf8x2.js} +4 -4
  250. package/dist/chunks/{form-pwarvv20.js → image-stv8d0fa.js} +25 -25
  251. package/dist/chunks/{form-svcy3p9a.js → image-svcy3p9a.js} +1 -1
  252. package/dist/chunks/{form-7hv4r7xp.js → image-t2rnpzgv.js} +18 -18
  253. package/dist/chunks/{form-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  254. package/dist/chunks/{form-6xa52pg9.js → image-tkm3ck5b.js} +343 -343
  255. package/dist/chunks/{form-3nnrz6f6.js → image-tmc7xdjs.js} +4 -4
  256. package/dist/chunks/{form-5m8x74ph.js → image-tn1wjjkb.js} +4 -4
  257. package/dist/chunks/{form-9a9c6hns.js → image-trpj6qs6.js} +18 -18
  258. package/dist/chunks/{form-twssxy5n.js → image-twssxy5n.js} +2 -2
  259. package/dist/chunks/{form-x4ym8htq.js → image-v1zexmjw.js} +21 -21
  260. package/dist/chunks/{form-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  261. package/dist/chunks/{form-6rtanm5a.js → image-v4ntjfa2.js} +28 -28
  262. package/dist/chunks/{form-4xd23xa0.js → image-vk8647fk.js} +4 -4
  263. package/dist/chunks/{form-37cecxny.js → image-vpfyxq3b.js} +25 -25
  264. package/dist/chunks/{form-99z41sf4.js → image-vx3jgdek.js} +3 -3
  265. package/dist/chunks/{form-jrzfxer4.js → image-w0sctsdt.js} +2 -2
  266. package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{form-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  268. package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
  269. package/dist/chunks/{form-zsehzjv7.js → image-wec13qf8.js} +9 -9
  270. package/dist/chunks/{form-wnhgecwx.js → image-wnhgecwx.js} +1 -1
  271. package/dist/chunks/{form-gry98xea.js → image-wpv0pemx.js} +2 -2
  272. package/dist/chunks/{form-j4zj9swe.js → image-wwv5we4j.js} +20 -20
  273. package/dist/chunks/{form-p27rrfjt.js → image-wxae8jq7.js} +19 -19
  274. package/dist/chunks/{form-cykhmcxq.js → image-x219xq9r.js} +10 -10
  275. package/dist/chunks/{form-hpbhhm01.js → image-x5jjnb31.js} +5 -5
  276. package/dist/chunks/{form-mgkq9fbg.js → image-xcx6w6h2.js} +6 -6
  277. package/dist/chunks/{form-4nawp0d8.js → image-xg3m3sfb.js} +182 -182
  278. package/dist/chunks/{form-s6h2s3rz.js → image-xk2zn0cv.js} +4 -4
  279. package/dist/chunks/{form-x4r85fe4.js → image-xpryaxy7.js} +17 -17
  280. package/dist/chunks/{form-x26wqd07.js → image-xsvq7cjt.js} +4 -4
  281. package/dist/chunks/{form-gtn9c16a.js → image-xt0z8zst.js} +4 -4
  282. package/dist/chunks/{form-cbht8k07.js → image-xxbr9jsf.js} +21 -21
  283. package/dist/chunks/{form-202bxvr4.js → image-y6jzwgk6.js} +8 -8
  284. package/dist/chunks/{form-pxtfkpje.js → image-yara3q77.js} +2 -2
  285. package/dist/chunks/{form-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{form-h9bxdqvt.js → image-yc8ck43p.js} +5 -5
  287. package/dist/chunks/{form-kmzgegqq.js → image-ydsespw1.js} +8 -8
  288. package/dist/chunks/{form-vpakn3dw.js → image-ydx4vg6d.js} +16 -16
  289. package/dist/chunks/{form-67kez8k6.js → image-yhrdpjcs.js} +13 -13
  290. package/dist/chunks/{form-ymz7p2c9.js → image-ymz7p2c9.js} +3 -3
  291. package/dist/chunks/{form-z38nccrw.js → image-z38nccrw.js} +1 -1
  292. package/dist/chunks/{form-xffdvv21.js → image-z4vm3w9s.js} +15 -15
  293. package/dist/chunks/{form-ksddj7ae.js → image-zeytg9j8.js} +12 -12
  294. package/dist/chunks/{form-ffd03e03.js → image-zge8sn7n.js} +8 -8
  295. package/dist/chunks/{form-cenhz2kb.js → image-zm4870m6.js} +19 -19
  296. package/dist/chunks/{form-58k7dgzm.js → image-znxs0qdf.js} +24 -24
  297. package/dist/chunks/{form-skszvm0v.js → image-zp19ebaj.js} +10 -10
  298. package/dist/chunks/{form-3mtymbf0.js → image-zr9mjdac.js} +46 -46
  299. package/dist/chunks/image-zx247qgx.js +26 -0
  300. package/dist/codemode/catalog.js +1 -1
  301. package/dist/codemode/instructions.js +5 -5
  302. package/dist/codemode/tool.js +3 -3
  303. package/dist/codemode/web.js +1 -1
  304. package/dist/command.js +92 -92
  305. package/dist/config/discovery.js +93 -93
  306. package/dist/config/integration.js +1 -1
  307. package/dist/config/markdown.js +1 -1
  308. package/dist/config/normalize.js +110 -110
  309. package/dist/config/plugin/agent.js +126 -126
  310. package/dist/config/plugin/command.js +224 -224
  311. package/dist/config/plugin/compaction.js +165 -165
  312. package/dist/config/plugin/compatibility.js +145 -145
  313. package/dist/config/plugin/entry-observer.js +1 -1
  314. package/dist/config/plugin/formatter.js +125 -125
  315. package/dist/config/plugin/image.js +124 -124
  316. package/dist/config/plugin/instruction.js +124 -124
  317. package/dist/config/plugin/location-watcher.js +124 -124
  318. package/dist/config/plugin/mcp.js +133 -133
  319. package/dist/config/plugin/policy.js +126 -126
  320. package/dist/config/plugin/provider.js +125 -125
  321. package/dist/config/plugin/reference.js +126 -126
  322. package/dist/config/plugin/shell.js +126 -126
  323. package/dist/config/plugin/skill-file.js +141 -141
  324. package/dist/config/plugin/skill-scan.js +3 -3
  325. package/dist/config/plugin/skill.js +148 -148
  326. package/dist/config/plugin/snapshot.js +124 -124
  327. package/dist/config/plugin/source.js +127 -127
  328. package/dist/config/plugin/tool-output.js +125 -125
  329. package/dist/config/plugin/websearch.js +125 -125
  330. package/dist/config/plugin/worktree.js +126 -126
  331. package/dist/config/variable.js +1 -1
  332. package/dist/config/watch.js +1 -1
  333. package/dist/config.js +129 -129
  334. package/dist/console-access.js +1 -1
  335. package/dist/credential/sql.js +2 -2
  336. package/dist/credential.js +92 -92
  337. package/dist/database/database.js +75 -75
  338. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  339. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  340. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  341. package/dist/database/drizzle/index.js +15 -15
  342. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  345. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  351. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  352. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  353. package/dist/database/drizzle.js +16 -16
  354. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  355. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  356. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  357. package/dist/database/migration/20260225215848_workspace.js +1 -1
  358. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  359. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  360. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  361. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  362. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  363. package/dist/database/migration/20260323234822_events.js +1 -1
  364. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  365. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  366. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  367. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  368. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  369. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  370. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  371. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  372. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  373. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  374. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  375. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  376. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  377. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  378. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  379. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  380. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  381. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  382. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  383. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  384. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  385. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  386. package/dist/database/migration/20260611035744_credential.js +1 -1
  387. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  388. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  389. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  390. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  391. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  392. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  393. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  394. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  395. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  396. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  397. package/dist/database/migration/20260812213948_worktree.js +1 -1
  398. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  399. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  400. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  401. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  402. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  403. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  404. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  405. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  406. package/dist/database/migration/20261025123711_blob.js +1 -1
  407. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  408. package/dist/database/migration/20261026223005_schedule.js +1 -1
  409. package/dist/database/migration/20261029002625_session_part.js +1 -1
  410. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  411. package/dist/database/migration.gen.js +58 -58
  412. package/dist/database/migration.js +60 -60
  413. package/dist/database/path.js +2 -2
  414. package/dist/database/schema.gen.js +1 -1
  415. package/dist/database/schema.sql.js +1 -1
  416. package/dist/database/sqlite.bun.js +1 -1
  417. package/dist/database/sqlite.js +1 -1
  418. package/dist/database/sqlite.node.js +1 -1
  419. package/dist/database/sqlite.workerd.js +1 -1
  420. package/dist/database/v1-migration.bun.js +103 -103
  421. package/dist/database/v1-migration.js +1 -1
  422. package/dist/effect/app-node-builder.js +388 -388
  423. package/dist/effect/app-node-platform.js +2 -2
  424. package/dist/effect/keyed-mutex.js +3 -3
  425. package/dist/effect/websocket-constructor.js +1 -1
  426. package/dist/environment/driver.js +1 -1
  427. package/dist/environment/environment.js +104 -104
  428. package/dist/environment/exec-defaults.js +2 -2
  429. package/dist/environment/files.js +1 -1
  430. package/dist/environment/index.js +104 -104
  431. package/dist/environment/local.js +2 -2
  432. package/dist/environment/memory.js +2 -2
  433. package/dist/environment/unavailable.js +3 -3
  434. package/dist/event/sql.js +1 -1
  435. package/dist/event-logger.js +79 -79
  436. package/dist/file-access.js +151 -151
  437. package/dist/file-mutation.js +105 -105
  438. package/dist/file-retention.js +1 -1
  439. package/dist/filesystem/fff.bun.js +2 -2
  440. package/dist/filesystem/fff.js +1 -1
  441. package/dist/filesystem/fff.node.js +2 -2
  442. package/dist/filesystem/fff.workerd.js +2 -2
  443. package/dist/filesystem/file-watch.js +86 -86
  444. package/dist/filesystem/location-watcher-policy.js +6 -6
  445. package/dist/filesystem/location-watcher.js +235 -235
  446. package/dist/filesystem/protected.js +1 -1
  447. package/dist/filesystem/search.js +108 -108
  448. package/dist/filesystem/watcher-binding.js +1 -1
  449. package/dist/filesystem/watcher.js +11 -11
  450. package/dist/filesystem.js +111 -111
  451. package/dist/form.js +89 -89
  452. package/dist/formatter/builtins.js +4 -4
  453. package/dist/formatter.js +98 -98
  454. package/dist/generate.js +116 -116
  455. package/dist/git.js +11 -11
  456. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  457. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  458. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  459. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  460. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  461. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  462. package/dist/github-copilot/copilot-provider.js +17 -17
  463. package/dist/github-copilot/models.js +102 -102
  464. package/dist/github-copilot/openai-compatible-error.js +1 -1
  465. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  466. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  467. package/dist/github-copilot/responses/openai-error.js +1 -1
  468. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  469. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  470. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  471. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  472. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  473. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  475. package/dist/image/notice.js +3 -3
  476. package/dist/image/photon-normalize.js +1 -1
  477. package/dist/image/photon-worker.js +1 -1
  478. package/dist/image/photon.js +4 -4
  479. package/dist/image.js +6 -6
  480. package/dist/instance/service.js +5 -5
  481. package/dist/instance.js +379 -379
  482. package/dist/instruction-discovery.js +95 -95
  483. package/dist/instructions/builtins.js +98 -98
  484. package/dist/instructions/index.js +3 -3
  485. package/dist/integration/connection.js +3 -3
  486. package/dist/integration.js +98 -98
  487. package/dist/job.js +87 -87
  488. package/dist/kv/sql.js +2 -2
  489. package/dist/kv.js +82 -82
  490. package/dist/location-activity.js +166 -166
  491. package/dist/location-lifecycle.js +145 -145
  492. package/dist/location-service-map.js +97 -97
  493. package/dist/location-services.js +376 -376
  494. package/dist/location.js +100 -100
  495. package/dist/managed-policy.js +3 -3
  496. package/dist/mcp/client.js +102 -102
  497. package/dist/mcp/index.js +116 -116
  498. package/dist/mcp/instructions.js +169 -169
  499. package/dist/mcp/oauth.js +87 -87
  500. package/dist/mcp/socket-client.js +1 -1
  501. package/dist/mcp/stdio.js +101 -101
  502. package/dist/mime.js +1 -1
  503. package/dist/modal/models.js +102 -102
  504. package/dist/model-resolver.js +110 -110
  505. package/dist/model-retry.js +1 -1
  506. package/dist/model.js +109 -109
  507. package/dist/models-dev/v1.js +1 -1
  508. package/dist/models-dev.js +113 -113
  509. package/dist/oauth/page.js +1 -1
  510. package/dist/permission/saved.js +91 -91
  511. package/dist/permission/sql.js +5 -5
  512. package/dist/permission.js +148 -148
  513. package/dist/persistent-pty/binary.bun.js +1 -1
  514. package/dist/persistent-pty/daemon.js +1 -1
  515. package/dist/persistent-pty/index.js +95 -95
  516. package/dist/persistent-pty/pty-binding.js +1 -1
  517. package/dist/persistent-pty.js +84 -84
  518. package/dist/plugin/agent.js +85 -85
  519. package/dist/plugin/command.js +113 -113
  520. package/dist/plugin/goal.js +3 -3
  521. package/dist/plugin/hooks.js +5 -5
  522. package/dist/plugin/host.js +228 -228
  523. package/dist/plugin/identity.js +5 -5
  524. package/dist/plugin/instance.js +5 -5
  525. package/dist/plugin/internal.js +349 -349
  526. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  527. package/dist/plugin/models-dev.js +108 -108
  528. package/dist/plugin/module.js +126 -126
  529. package/dist/plugin/optimize.js +2 -2
  530. package/dist/plugin/plan.js +141 -141
  531. package/dist/plugin/promise.js +1 -1
  532. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  533. package/dist/plugin/provider/azure.js +124 -124
  534. package/dist/plugin/provider/cerebras.js +1 -1
  535. package/dist/plugin/provider/chatgpt.js +124 -124
  536. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  537. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  538. package/dist/plugin/provider/configured.js +120 -120
  539. package/dist/plugin/provider/credential-settings.js +83 -83
  540. package/dist/plugin/provider/databricks.js +1 -1
  541. package/dist/plugin/provider/digitalocean.js +104 -104
  542. package/dist/plugin/provider/dynamic.js +2 -2
  543. package/dist/plugin/provider/github-copilot.js +106 -106
  544. package/dist/plugin/provider/gitlab.js +105 -105
  545. package/dist/plugin/provider/google-vertex.js +121 -121
  546. package/dist/plugin/provider/kilo.js +1 -1
  547. package/dist/plugin/provider/llmgateway.js +87 -87
  548. package/dist/plugin/provider/lmstudio.js +131 -131
  549. package/dist/plugin/provider/local.js +130 -130
  550. package/dist/plugin/provider/modal.js +103 -103
  551. package/dist/plugin/provider/neon.js +1 -1
  552. package/dist/plugin/provider/nvidia.js +1 -1
  553. package/dist/plugin/provider/ollama.js +133 -133
  554. package/dist/plugin/provider/openai-context-caps.js +101 -101
  555. package/dist/plugin/provider/openai.js +124 -124
  556. package/dist/plugin/provider/opencode.js +127 -127
  557. package/dist/plugin/provider/openrouter.js +102 -102
  558. package/dist/plugin/provider/poe.js +88 -88
  559. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  560. package/dist/plugin/provider/sap-ai-core.js +102 -102
  561. package/dist/plugin/provider/sdk-factory.js +1 -1
  562. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  563. package/dist/plugin/provider/vllm.js +133 -133
  564. package/dist/plugin/provider/xai.js +102 -102
  565. package/dist/plugin/provider/zenmux.js +1 -1
  566. package/dist/plugin/provider.js +175 -175
  567. package/dist/plugin/sdk.js +81 -81
  568. package/dist/plugin/service.js +1 -1
  569. package/dist/plugin/skill.js +142 -142
  570. package/dist/plugin/source-directory.js +1 -1
  571. package/dist/plugin/supervisor.js +363 -363
  572. package/dist/plugin/tool-input-repair.js +4 -4
  573. package/dist/plugin/update.js +2 -2
  574. package/dist/plugin/vcs/git.js +97 -97
  575. package/dist/plugin/vcs/hg.js +97 -97
  576. package/dist/plugin/verbosity.js +104 -104
  577. package/dist/plugin/warming.js +122 -122
  578. package/dist/plugin/websearch/exa.js +7 -7
  579. package/dist/plugin/websearch/firecrawl.js +8 -8
  580. package/dist/plugin/websearch/index.js +9 -9
  581. package/dist/plugin/websearch/mcp.js +6 -6
  582. package/dist/plugin/websearch/parallel.js +8 -8
  583. package/dist/plugin/websearch/tavily.js +4 -4
  584. package/dist/plugin/websearch/tinyfish.js +8 -8
  585. package/dist/plugin.js +237 -237
  586. package/dist/project/icon.js +5 -5
  587. package/dist/project/schema.js +8 -8
  588. package/dist/project/sql.js +4 -4
  589. package/dist/project.js +99 -99
  590. package/dist/provider.js +108 -108
  591. package/dist/pty/protocol.js +1 -1
  592. package/dist/pty/ticket.js +1 -1
  593. package/dist/pty.js +109 -109
  594. package/dist/reference/instructions.js +99 -99
  595. package/dist/reference.js +99 -99
  596. package/dist/repository-cache.js +91 -91
  597. package/dist/repository.js +1 -1
  598. package/dist/ripgrep/binary.js +2 -2
  599. package/dist/ripgrep.js +108 -108
  600. package/dist/rpc.js +97 -97
  601. package/dist/schedule/sql.js +6 -6
  602. package/dist/schedule.js +222 -222
  603. package/dist/schema.js +1 -1
  604. package/dist/session/affinity.js +3 -3
  605. package/dist/session/background.js +1 -1
  606. package/dist/session/blob.js +123 -123
  607. package/dist/session/command.js +83 -83
  608. package/dist/session/compaction.js +165 -165
  609. package/dist/session/context.js +191 -191
  610. package/dist/session/diff.js +99 -99
  611. package/dist/session/environment.js +5 -5
  612. package/dist/session/error.js +5 -5
  613. package/dist/session/event.js +1 -1
  614. package/dist/session/execution/restart.js +237 -237
  615. package/dist/session/execution.js +155 -155
  616. package/dist/session/generate.js +193 -193
  617. package/dist/session/history.js +130 -130
  618. package/dist/session/inbox.js +139 -139
  619. package/dist/session/info.js +3 -3
  620. package/dist/session/instruction-entry.js +88 -88
  621. package/dist/session/instruction-state.js +8 -8
  622. package/dist/session/instructions.js +135 -135
  623. package/dist/session/message-updater.js +2 -2
  624. package/dist/session/message.js +1 -1
  625. package/dist/session/model-request.js +158 -158
  626. package/dist/session/model-transport.js +9 -9
  627. package/dist/session/move.js +159 -159
  628. package/dist/session/projector.js +137 -137
  629. package/dist/session/prompt.js +143 -143
  630. package/dist/session/recent-text.js +1 -1
  631. package/dist/session/revert.js +133 -133
  632. package/dist/session/run-coordinator.js +3 -3
  633. package/dist/session/runner/index.js +3 -3
  634. package/dist/session/runner/llm.js +242 -242
  635. package/dist/session/runner/max-steps.js +1 -1
  636. package/dist/session/runner/model.js +111 -111
  637. package/dist/session/runner/publish-llm-event.js +144 -144
  638. package/dist/session/runner/retry.js +3 -3
  639. package/dist/session/runner/step.js +157 -157
  640. package/dist/session/runner/to-llm-message.js +131 -131
  641. package/dist/session/schema.js +5 -5
  642. package/dist/session/session.js +175 -175
  643. package/dist/session/shell.js +138 -138
  644. package/dist/session/skill.js +144 -144
  645. package/dist/session/sql.js +5 -5
  646. package/dist/session/stats.js +82 -82
  647. package/dist/session/store.js +136 -136
  648. package/dist/session/stored.js +4 -4
  649. package/dist/session/subagent-completion.js +3 -3
  650. package/dist/session/subagent-job.js +222 -222
  651. package/dist/session/system-prompt.js +5 -5
  652. package/dist/session/title.js +195 -195
  653. package/dist/session/to-session-error.js +143 -143
  654. package/dist/session/transfer.js +230 -230
  655. package/dist/session/usage.js +1 -1
  656. package/dist/session.js +228 -228
  657. package/dist/shell/parse.js +8 -8
  658. package/dist/shell/result.js +1 -1
  659. package/dist/shell/scan.js +1 -1
  660. package/dist/shell/select.js +13 -13
  661. package/dist/shell.js +140 -140
  662. package/dist/skill/discovery.js +6 -6
  663. package/dist/skill/instructions.js +146 -146
  664. package/dist/skill.js +151 -151
  665. package/dist/snapshot.js +104 -104
  666. package/dist/state.js +1 -1
  667. package/dist/tool/html-markdown.js +1 -1
  668. package/dist/tool/http-body.js +1 -1
  669. package/dist/tool/mcp.js +168 -168
  670. package/dist/tool/plugin/edit.js +159 -159
  671. package/dist/tool/plugin/file-diff.js +1 -1
  672. package/dist/tool/plugin/glob.js +155 -155
  673. package/dist/tool/plugin/grep.js +155 -155
  674. package/dist/tool/plugin/image-generate.js +230 -230
  675. package/dist/tool/plugin/mcp-resource.js +157 -157
  676. package/dist/tool/plugin/opencode.js +156 -156
  677. package/dist/tool/plugin/patch.js +161 -161
  678. package/dist/tool/plugin/question.js +139 -139
  679. package/dist/tool/plugin/read.js +162 -162
  680. package/dist/tool/plugin/schedule.js +222 -222
  681. package/dist/tool/plugin/shell.js +227 -227
  682. package/dist/tool/plugin/skill.js +152 -152
  683. package/dist/tool/plugin/subagent.js +229 -229
  684. package/dist/tool/plugin/todo.js +148 -148
  685. package/dist/tool/plugin/webfetch.js +152 -152
  686. package/dist/tool/plugin/websearch.js +150 -150
  687. package/dist/tool/plugin/write.js +161 -161
  688. package/dist/tool/read-filesystem.js +113 -113
  689. package/dist/tool/runtime.js +1 -1
  690. package/dist/tool-output.js +7 -7
  691. package/dist/tool.js +10 -10
  692. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  693. package/dist/usage-limits.js +96 -96
  694. package/dist/util/error-summary.js +1 -1
  695. package/dist/util/git-executable.js +3 -3
  696. package/dist/util/lazy.js +1 -1
  697. package/dist/util/slug.js +1 -1
  698. package/dist/util/token.js +1 -1
  699. package/dist/util/which.js +1 -1
  700. package/dist/util/wildcard.js +1 -1
  701. package/dist/v1/config/agent.js +7 -7
  702. package/dist/v1/config/command.js +3 -3
  703. package/dist/v1/config/mcp.js +4 -4
  704. package/dist/v1/config/migrate.js +103 -103
  705. package/dist/v1/config/permission.js +1 -1
  706. package/dist/v1/config/plugin.js +3 -3
  707. package/dist/v1/config/provider-options.js +1 -1
  708. package/dist/v1/config/provider.js +4 -4
  709. package/dist/variant.js +104 -104
  710. package/dist/vcs/patch.js +1 -1
  711. package/dist/vcs.js +100 -100
  712. package/dist/voice.js +95 -95
  713. package/dist/websearch.js +91 -91
  714. package/dist/wellknown/plugin.js +85 -85
  715. package/dist/wellknown.js +88 -88
  716. package/dist/workspace/driver.js +5 -5
  717. package/dist/workspace/sql.js +1 -1
  718. package/dist/workspace.js +91 -91
  719. package/dist/worktree/directory.js +2 -2
  720. package/dist/worktree/git.js +11 -11
  721. package/dist/worktree/sql.js +5 -5
  722. package/dist/worktree/strategies.js +100 -100
  723. package/dist/worktree.js +111 -111
  724. package/package.json +8 -8
  725. package/dist/chunks/form-30vq0hkk.js +0 -26
  726. package/dist/chunks/form-er9840mn.js +0 -257
  727. /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  728. /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  729. /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  730. /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  731. /package/dist/chunks/{form-1kah00gy.js → image-1kah00gy.js} +0 -0
  732. /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
  733. /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
  734. /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
  735. /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  736. /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
  737. /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
  738. /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  739. /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  740. /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  741. /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  742. /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  743. /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  744. /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
  745. /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
  746. /package/dist/chunks/{form-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  747. /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
  748. /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  749. /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  750. /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
  751. /package/dist/chunks/{form-7stb81gk.js → image-7stb81gk.js} +0 -0
  752. /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
  753. /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
  754. /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  755. /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
  756. /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  757. /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  758. /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  759. /package/dist/chunks/{form-a058387c.js → image-a058387c.js} +0 -0
  760. /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  761. /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
  762. /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
  763. /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  764. /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  765. /package/dist/chunks/{form-beh6qq61.js → image-beh6qq61.js} +0 -0
  766. /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  767. /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  768. /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  769. /package/dist/chunks/{form-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  770. /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  771. /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
  772. /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  773. /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
  774. /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
  775. /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
  776. /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
  777. /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  778. /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  779. /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
  780. /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  781. /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  782. /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  783. /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  784. /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
  785. /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
  786. /package/dist/chunks/{form-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  787. /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  788. /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
  789. /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  790. /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
  791. /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  792. /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
  793. /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  794. /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  795. /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  796. /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  797. /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  798. /package/dist/chunks/{form-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  799. /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  800. /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  801. /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
  802. /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
  803. /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  804. /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  805. /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  806. /package/dist/chunks/{form-ncqqe42p.js → image-ncqqe42p.js} +0 -0
  807. /package/dist/chunks/{form-nh4v3znn.js → image-nh4v3znn.js} +0 -0
  808. /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
  809. /package/dist/chunks/{form-p71gwv9c.js → image-p71gwv9c.js} +0 -0
  810. /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  811. /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
  812. /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  813. /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  814. /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  815. /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  816. /package/dist/chunks/{form-qgfkghh1.js → image-qgfkghh1.js} +0 -0
  817. /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  818. /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  819. /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  820. /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  821. /package/dist/chunks/{form-ty7weeps.js → image-ty7weeps.js} +0 -0
  822. /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  823. /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
  824. /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  825. /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  826. /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
  827. /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  828. /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
  829. /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
  830. /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
  831. /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  832. /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  833. /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  Service87,
6
6
  node91
7
- } from "./form-115q1jpg.js";
7
+ } from "./image-n1c40vny.js";
8
8
  import {
9
9
  Service86,
10
10
  node90
11
- } from "./form-5m8x74ph.js";
11
+ } from "./image-tn1wjjkb.js";
12
12
  import {
13
- Service83,
14
- node87
15
- } from "./form-0zh0yqdd.js";
13
+ Service81,
14
+ node84
15
+ } from "./image-20pjvqtm.js";
16
16
  import {
17
- ID17,
17
+ ID16,
18
18
  Current3,
19
- Info29,
19
+ Info26,
20
20
  UpdateInput4,
21
- Event18,
21
+ Event17,
22
22
  Vcs3
23
- } from "./form-cv03a796.js";
23
+ } from "./image-q4zyxfy7.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./form-aj7mw0zk.js";
27
+ } from "./image-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./form-pxtfkpje.js";
30
+ } from "./image-yara3q77.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./form-3cbjf1nt.js";
33
+ } from "./image-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./form-9rqn6x4v.js";
36
+ } from "./image-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  Current: () => Current2,
42
- ID: () => ID16,
43
- Info: () => Info28,
42
+ ID: () => ID15,
43
+ Info: () => Info25,
44
44
  NotFoundError: () => NotFoundError12,
45
45
  Project: () => exports_project,
46
- Service: () => Service82,
46
+ Service: () => Service80,
47
47
  UpdateInput: () => UpdateInput3,
48
48
  Vcs: () => Vcs2,
49
- node: () => node86,
49
+ node: () => node83,
50
50
  root: () => root2,
51
51
  sweepNode: () => sweepNode2
52
52
  });
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
59
59
  import { AppProcess } from "@opencode/util/process";
60
60
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
61
61
  import { Hash } from "@opencode/util/hash";
62
- var ID16 = ID17;
62
+ var ID15 = ID16;
63
63
  var Vcs2 = Vcs3;
64
64
  var Current2 = Current3;
65
- var Info28 = Info29;
65
+ var Info25 = Info26;
66
66
  var UpdateInput3 = UpdateInput4;
67
67
 
68
68
  class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
69
- projectID: ID16
69
+ projectID: ID15
70
70
  }) {
71
71
  }
72
72
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
84
84
  var ACTIVATE_INTERVAL = 60000;
85
85
  var SWEEP_INTERVAL = Duration.hours(1);
86
86
 
87
- class Service82 extends Context.Service()("@opencode/Project") {
87
+ class Service80 extends Context.Service()("@opencode/Project") {
88
88
  }
89
89
  function fromRow(row) {
90
90
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -108,9 +108,9 @@ function fromRow(row) {
108
108
  sandboxes: row.sandboxes
109
109
  };
110
110
  }
111
- var layer = Layer.effect(Service82, Effect.gen(function* () {
111
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
- const git = yield* Service83;
113
+ const git = yield* Service81;
114
114
  const proc = yield* AppProcess.Service;
115
115
  const bus = yield* Service86;
116
116
  const db = (yield* Service87).db;
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
123
123
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
124
124
  const changed = replaced ?? unarchived;
125
125
  if (changed)
126
- yield* bus.publish(Event18.Updated, fromRow(changed));
127
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
126
+ yield* bus.publish(Event17.Updated, fromRow(changed));
127
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event17.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
128
128
  if (!project.vcs)
129
129
  return project;
130
130
  const directories = [
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
160
160
  yield* bus.publish(Worktree.Event.Resolved, {
161
161
  projectID: item.projectID,
162
162
  directory: item.directory,
163
- previous: project.previous ?? ID16.global,
163
+ previous: project.previous ?? ID15.global,
164
164
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
165
165
  }, {
166
166
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
185
185
  if (!row)
186
186
  return yield* new NotFoundError12({ projectID: input.projectID });
187
187
  const project = fromRow(row);
188
- yield* bus.publish(Event18.Updated, project);
188
+ yield* bus.publish(Event17.Updated, project);
189
189
  return project;
190
190
  });
191
191
  const activated = new Map;
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
196
196
  activated.set(projectID, now);
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event18.Updated, fromRow(row));
199
+ yield* bus.publish(Event17.Updated, fromRow(row));
200
200
  });
201
201
  const cached = Effect.fnUntraced(function* (dir) {
202
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
202
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
203
203
  return;
204
204
  }));
205
205
  });
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
210
210
  const normalized = url(origin);
211
211
  if (!normalized)
212
212
  return;
213
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
213
+ return ID15.make(Hash.fast(`git-remote:${normalized}`));
214
214
  });
215
215
  function url(input) {
216
216
  const value = input.trim();
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
235
235
  }
236
236
  const rootCommit = Effect.fnUntraced(function* (repo) {
237
237
  const root = (yield* git.history.rootCommits(repo))[0];
238
- return root ? ID16.make(root) : undefined;
238
+ return root ? ID15.make(root) : undefined;
239
239
  });
240
240
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
241
241
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
252
252
  const resolved = {
253
253
  previous,
254
- id: id ?? ID16.global,
254
+ id: id ?? ID15.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
276
276
  return;
277
277
  const node = result.stdout.toString("utf8").split(`
278
278
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
279
- return node ? ID16.make(node) : undefined;
279
+ return node ? ID15.make(node) : undefined;
280
280
  });
281
281
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
282
282
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
284
284
  const id = previous ?? (yield* hgRoot(worktree));
285
285
  return {
286
286
  previous,
287
- id: id ?? ID16.global,
287
+ id: id ?? ID15.global,
288
288
  directory: worktree,
289
289
  vcs: { type: "hg", store: dotHg }
290
290
  };
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
311
311
  });
312
312
  }
313
313
  return yield* save({
314
- id: ID16.make(Hash.fast(`directory:${directory}`)),
314
+ id: ID15.make(Hash.fast(`directory:${directory}`)),
315
315
  directory,
316
316
  canonical: directory,
317
317
  vcs: undefined
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
320
320
  const sweep = Effect.fn("Project.sweep")(function* () {
321
321
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
322
322
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
323
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
323
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
324
324
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
325
325
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
326
326
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
333
333
  return;
334
334
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
335
335
  if (row)
336
- yield* bus.publish(Event18.Updated, fromRow(row));
336
+ yield* bus.publish(Event17.Updated, fromRow(row));
337
337
  }), { concurrency: 8, discard: true });
338
338
  });
339
- return Service82.of({ list, update, activate, resolve, sweep });
339
+ return Service80.of({ list, update, activate, resolve, sweep });
340
340
  }));
341
- var node86 = makeGlobalNode({
342
- service: Service82,
341
+ var node83 = makeGlobalNode({
342
+ service: Service80,
343
343
  layer,
344
- deps: [node90, node91, FSUtil.node, node87, AppProcess.node]
344
+ deps: [node90, node91, FSUtil.node, node84, AppProcess.node]
345
345
  });
346
346
  var sweepNode2 = makeGlobalNode({
347
347
  name: "project-archive-sweep",
348
348
  layer: Layer.effectDiscard(Effect.gen(function* () {
349
- const project = yield* Service82;
349
+ const project = yield* Service80;
350
350
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
351
351
  })),
352
- deps: [node86]
352
+ deps: [node83]
353
353
  });
354
354
 
355
- export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
355
+ export { ID15, Vcs2, Current2, Info25, UpdateInput3, NotFoundError12, root2, Service80, node83, sweepNode2, exports_project };
@@ -1,40 +1,40 @@
1
1
  import {
2
- ID8,
3
- Info19,
2
+ ID11,
3
+ Info20,
4
4
  SessionSchema2
5
- } from "./form-99z41sf4.js";
5
+ } from "./image-vx3jgdek.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./form-z5v4ffb3.js";
8
+ } from "./image-z5v4ffb3.js";
9
9
  import {
10
10
  Service87,
11
11
  node91
12
- } from "./form-115q1jpg.js";
12
+ } from "./image-n1c40vny.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service86,
16
16
  node90
17
- } from "./form-5m8x74ph.js";
17
+ } from "./image-tn1wjjkb.js";
18
18
  import {
19
- Service82,
20
- node86
21
- } from "./form-gsw63pph.js";
19
+ Service80,
20
+ node83
21
+ } from "./image-c2az2pbz.js";
22
22
  import {
23
- Service47,
24
- node50
25
- } from "./form-h2xt6wet.js";
23
+ Service44,
24
+ node46
25
+ } from "./image-a4ww6fpm.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./form-ec1grn59.js";
28
+ } from "./image-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./form-8z6m94af.js";
31
+ } from "./image-mb7mbhnz.js";
32
32
  import {
33
33
  enabledFor2,
34
34
  ForkMedia2
35
- } from "./form-0neff2gh.js";
35
+ } from "./image-8g8ajnhh.js";
36
36
  import {
37
- NotFoundError6,
37
+ NotFoundError10,
38
38
  InvalidListCursorError2,
39
39
  MessageNotFoundError2,
40
40
  ForkEmptyError2,
@@ -46,80 +46,80 @@ import {
46
46
  BusyError2,
47
47
  InboxConflictError2,
48
48
  SkillNotFoundError2
49
- } from "./form-t5prmbbw.js";
49
+ } from "./image-h4p3pyf8.js";
50
50
  import {
51
51
  current2
52
- } from "./form-jynhhecs.js";
52
+ } from "./image-eahpwh8e.js";
53
53
  import {
54
- node49,
54
+ node45,
55
55
  listWithRefs2
56
- } from "./form-cbht8k07.js";
56
+ } from "./image-xxbr9jsf.js";
57
57
  import {
58
58
  snapshot2
59
- } from "./form-ctfjhx7j.js";
59
+ } from "./image-47tv8dfp.js";
60
60
  import {
61
61
  Slug2
62
- } from "./form-gebd4c9n.js";
62
+ } from "./image-gebd4c9n.js";
63
63
  import {
64
64
  SessionAlreadyProjected2,
65
- node30
66
- } from "./form-57ahrrn7.js";
65
+ node32
66
+ } from "./image-a862c78z.js";
67
67
  import {
68
68
  Metadata2,
69
- node47
70
- } from "./form-9310e8g9.js";
69
+ node85
70
+ } from "./image-pfz9gkfy.js";
71
71
  import {
72
72
  ListInput3,
73
- Service51,
74
- node54
75
- } from "./form-0wkkkdkf.js";
73
+ Service66,
74
+ node68
75
+ } from "./image-j8ypmtmr.js";
76
76
  import {
77
- Service54,
78
- node57
79
- } from "./form-vpakn3dw.js";
77
+ Service45,
78
+ node47
79
+ } from "./image-ydx4vg6d.js";
80
80
  import {
81
- Service44,
82
- node48
83
- } from "./form-6hc3w7dx.js";
81
+ Service40,
82
+ node43
83
+ } from "./image-59few21w.js";
84
84
  import {
85
85
  llmClient2
86
- } from "./form-p015t6z3.js";
86
+ } from "./image-p015t6z3.js";
87
87
  import {
88
- Service33,
89
- node36
90
- } from "./form-65w5xxws.js";
88
+ Service27,
89
+ node30
90
+ } from "./image-n8x58739.js";
91
91
  import {
92
92
  generate2
93
- } from "./form-jrqnrhvj.js";
93
+ } from "./image-2skrxz14.js";
94
94
  import {
95
95
  execute2
96
- } from "./form-kg2n5yz1.js";
96
+ } from "./image-kee8ykx2.js";
97
97
  import {
98
- Service49,
99
- node52,
98
+ Service54,
99
+ node56,
100
100
  canonical3
101
- } from "./form-39w9ysaz.js";
101
+ } from "./image-3w0ntz8g.js";
102
102
  import {
103
103
  DestinationNotFoundError2,
104
104
  DestinationNotDirectoryError2,
105
105
  DestinationUnavailableError2,
106
- Service26,
107
- node29
108
- } from "./form-kgf7qxx3.js";
106
+ Service28,
107
+ node31
108
+ } from "./image-3y081v33.js";
109
109
  import {
110
- Service60,
111
- node63
112
- } from "./form-jxb3gtw0.js";
110
+ Service59,
111
+ node61
112
+ } from "./image-8b714bza.js";
113
113
  import {
114
- make14
115
- } from "./form-zz5ve47h.js";
114
+ make13
115
+ } from "./image-4hhk1wq5.js";
116
116
  import {
117
117
  TurnRangeError2,
118
118
  turn2
119
- } from "./form-xhr3cxyj.js";
119
+ } from "./image-k0cyqgb5.js";
120
120
  import {
121
121
  __export
122
- } from "./form-9rqn6x4v.js";
122
+ } from "./image-9rqn6x4v.js";
123
123
 
124
124
  // src/session.ts
125
125
  var exports_session = {};
@@ -131,24 +131,24 @@ __export(exports_session, {
131
131
  DestinationNotFoundError: () => DestinationNotFoundError2,
132
132
  DestinationUnavailableError: () => DestinationUnavailableError2,
133
133
  ForkEmptyError: () => ForkEmptyError2,
134
- ID: () => ID8,
134
+ ID: () => ID11,
135
135
  InboxConflictError: () => InboxConflictError2,
136
- Info: () => Info19,
136
+ Info: () => Info20,
137
137
  InvalidListCursorError: () => InvalidListCursorError2,
138
138
  ListAnchor: () => ListAnchor2,
139
139
  ListCursor: () => ListCursor2,
140
140
  ListInput: () => ListInput2,
141
141
  MessageDecodeError: () => MessageDecodeError2,
142
142
  MessageNotFoundError: () => MessageNotFoundError2,
143
- NotFoundError: () => NotFoundError6,
143
+ NotFoundError: () => NotFoundError10,
144
144
  PromptConflictError: () => PromptConflictError2,
145
- Service: () => Service25,
145
+ Service: () => Service21,
146
146
  Session: () => exports_session,
147
147
  SessionSchema: () => SessionSchema2,
148
148
  SkillNotFoundError: () => SkillNotFoundError2,
149
149
  SyntheticConflictError: () => SyntheticConflictError2,
150
150
  TurnRangeError: () => TurnRangeError2,
151
- node: () => node28
151
+ node: () => node24
152
152
  });
153
153
  import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
154
154
  import { LLMClient } from "@opencode/ai/effect";
@@ -159,27 +159,27 @@ import { Node } from "@opencode/util/effect/app-node";
159
159
  import { FSUtil } from "@opencode/util/fs-util";
160
160
  var ListInput2 = ListInput3;
161
161
  var DefaultListLimit = 50;
162
- class Service25 extends Context.Service()("@opencode/Session") {
162
+ class Service21 extends Context.Service()("@opencode/Session") {
163
163
  }
164
- var layer = Layer.effect(Service25, Effect.gen(function* () {
164
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
165
165
  const app = yield* Metadata2;
166
166
  const database = yield* Service87;
167
167
  const db = database.db;
168
168
  const bus = yield* Service86;
169
- const projects = yield* Service82;
170
- const execution = yield* Service44;
169
+ const projects = yield* Service80;
170
+ const execution = yield* Service40;
171
171
  const llm = yield* LLMClient.Service;
172
- const transport = yield* Service33;
173
- const store = yield* Service51;
174
- const instances = yield* Service47;
175
- const moves = yield* Service26;
176
- const jobs = yield* Service54;
177
- const environments = yield* Service60;
178
- const locations = yield* Service49;
179
- const sessions = yield* make14();
172
+ const transport = yield* Service27;
173
+ const store = yield* Service66;
174
+ const instances = yield* Service44;
175
+ const moves = yield* Service28;
176
+ const jobs = yield* Service45;
177
+ const environments = yield* Service59;
178
+ const locations = yield* Service54;
179
+ const sessions = yield* make13();
180
180
  const mediaBlob = (session) => enabledFor2(instances, session);
181
181
  const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
182
- const result = Service25.of({
182
+ const result = Service21.of({
183
183
  create: Effect.fn("Session.create")(function* (input) {
184
184
  const sessionID = input.id ?? SessionSchema2.ID.create();
185
185
  const recorded = yield* store.get(sessionID);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
187
187
  return recorded;
188
188
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
189
189
  if (input.parentID && parent === undefined)
190
- return yield* new NotFoundError6({ sessionID: input.parentID });
190
+ return yield* new NotFoundError10({ sessionID: input.parentID });
191
191
  const location = parent?.location ?? (input.location && canonical3(input.location));
192
192
  if (location === undefined)
193
193
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -326,11 +326,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
326
326
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
327
327
  generate: Effect.fn("Session.generate")(function* (input) {
328
328
  const session = yield* result.get(input.sessionID);
329
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service87, database), Effect.provideService(LLMClient.Service, llm));
329
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service87, database), Effect.provideService(LLMClient.Service, llm));
330
330
  }),
331
331
  command: Effect.fn("Session.command")(function* (input) {
332
332
  const session = yield* result.get(input.sessionID);
333
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
333
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service44, instances));
334
334
  }),
335
335
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
336
336
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -374,27 +374,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
374
374
  });
375
375
  return result;
376
376
  }));
377
- var node28 = Node.makeGlobalNode({
378
- service: Service25,
377
+ var node24 = Node.makeGlobalNode({
378
+ service: Service21,
379
379
  layer,
380
380
  deps: [
381
- node57,
382
- node63,
381
+ node47,
382
+ node61,
383
383
  node91,
384
384
  node90,
385
- node86,
386
- node48,
387
- node36,
388
- llmClient2,
389
- node54,
390
- node50,
391
- node49,
392
- node29,
385
+ node83,
386
+ node43,
393
387
  node30,
394
- node52,
388
+ llmClient2,
389
+ node68,
390
+ node46,
391
+ node45,
392
+ node31,
393
+ node32,
394
+ node56,
395
395
  FSUtil.node,
396
- node47
396
+ node85
397
397
  ]
398
398
  });
399
399
 
400
- export { ListAnchor2, ListCursor2, ListInput2, Service25, node28, exports_session };
400
+ export { ListAnchor2, ListCursor2, ListInput2, Service21, node24, exports_session };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  name17,
3
3
  ps2
4
- } from "./form-p27rrfjt.js";
4
+ } from "./image-wxae8jq7.js";
5
5
  import {
6
6
  lazy2
7
- } from "./form-88xbtdfr.js";
7
+ } from "./image-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./form-z38nccrw.js";
10
+ } from "./image-z38nccrw.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
17
17
  __export(exports_parse, {
18
18
  ShellParse: () => exports_parse,
19
- scan: () => scan2,
19
+ scan: () => scan3,
20
20
  scanPortable: () => scanPortable2
21
21
  });
22
22
  import { Effect } from "effect";
@@ -166,7 +166,7 @@ var ARITY = {
166
166
  "yarn run": 3
167
167
  };
168
168
  var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
169
- var scan2 = Effect.fnUntraced(function* (command, shell, cwd, options) {
169
+ var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
170
170
  if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
171
171
  return yield* scanPortable2(command, shell, cwd);
172
172
  return yield* scanLegacy(command, shell, cwd);
@@ -353,4 +353,4 @@ async function initialize() {
353
353
  return { bash, ps };
354
354
  }
355
355
 
356
- export { scan2, scanPortable2, exports_parse };
356
+ export { scan3, scanPortable2, exports_parse };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info15
9
+ Info: () => Info19
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info19 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info15, exports_command5 };
21
+ export { Info19, exports_command5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make19
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make19 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make19, exports_run_coordinator };
82
+ export { make16, exports_run_coordinator };