@opencode/core 0.0.0-dev-21044 → 0.0.0-dev-21047

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{worktree-rw3by220.js → reference-0170kczj.js} +9 -9
  8. package/dist/chunks/{worktree-ke97j4hd.js → reference-01es0w8g.js} +11 -11
  9. package/dist/chunks/{worktree-7gra0nqm.js → reference-0sgp6vrq.js} +12 -12
  10. package/dist/chunks/{worktree-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{worktree-2enf78eb.js → reference-1311jqsc.js} +23 -23
  12. package/dist/chunks/{worktree-z3v3p3gc.js → reference-132ycjkv.js} +21 -21
  13. package/dist/chunks/{worktree-yp2x3t23.js → reference-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{worktree-had4kgfk.js → reference-1fmrbde1.js} +6 -6
  15. package/dist/chunks/{worktree-a42z6xrr.js → reference-1fq98kjr.js} +11 -11
  16. package/dist/chunks/{worktree-pq1r7b9t.js → reference-1kwkgjs8.js} +12 -12
  17. package/dist/chunks/{worktree-9q7v2qnn.js → reference-1n7cf0zt.js} +12 -12
  18. package/dist/chunks/{worktree-56sxvxk2.js → reference-1qqmef8y.js} +30 -30
  19. package/dist/chunks/{worktree-tpnh9f3m.js → reference-1wws9p1z.js} +11 -11
  20. package/dist/chunks/{worktree-rm813vtq.js → reference-256smw24.js} +8 -8
  21. package/dist/chunks/{worktree-867vdmc0.js → reference-2e24zj1v.js} +8 -8
  22. package/dist/chunks/{worktree-wypjq10p.js → reference-2k20t02z.js} +22 -22
  23. package/dist/chunks/{worktree-ngts6ef0.js → reference-2ktf0ed2.js} +8 -8
  24. package/dist/chunks/{worktree-pd9fs73p.js → reference-2sc3sc4p.js} +2 -2
  25. package/dist/chunks/{worktree-y7v3dsdp.js → reference-2yn5t4yf.js} +32 -32
  26. package/dist/chunks/{worktree-ph20cxtq.js → reference-2zmfhp2c.js} +9 -9
  27. package/dist/chunks/{worktree-qsadzg18.js → reference-36nn25hb.js} +43 -43
  28. package/dist/chunks/{worktree-sqj96g7w.js → reference-3ec2hwya.js} +13 -13
  29. package/dist/chunks/{worktree-zb83g9fx.js → reference-3emwttkv.js} +14 -14
  30. package/dist/chunks/{worktree-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{worktree-fkwcg6pt.js → reference-3fxqyn52.js} +11 -11
  32. package/dist/chunks/{worktree-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{worktree-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{worktree-zr47jkhm.js → reference-3jxt0407.js} +4 -4
  35. package/dist/chunks/{worktree-5qdw7c1w.js → reference-3njtpr6j.js} +9 -9
  36. package/dist/chunks/{worktree-0vrkd98v.js → reference-3q9g49xq.js} +16 -16
  37. package/dist/chunks/{worktree-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{worktree-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{worktree-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{worktree-3z45eq7z.js → reference-48s9929f.js} +14 -14
  41. package/dist/chunks/{worktree-8jmcdnh7.js → reference-4cqhq9mq.js} +11 -11
  42. package/dist/chunks/{worktree-etsgmb9a.js → reference-4f65x4ny.js} +326 -326
  43. package/dist/chunks/{worktree-ecb605w9.js → reference-4jfm27c9.js} +11 -11
  44. package/dist/chunks/{worktree-4mg6ayqp.js → reference-4t88j5bp.js} +24 -24
  45. package/dist/chunks/{worktree-jkp0d30b.js → reference-51f5btjf.js} +6 -6
  46. package/dist/chunks/{worktree-h1vatst2.js → reference-51vcra35.js} +11 -11
  47. package/dist/chunks/{worktree-54ma36ye.js → reference-54ma36ye.js} +1 -1
  48. package/dist/chunks/{worktree-hf9tmbh5.js → reference-5527nycg.js} +13 -13
  49. package/dist/chunks/{worktree-9sgsjpgv.js → reference-55t5gfwz.js} +8 -8
  50. package/dist/chunks/{worktree-849efwnp.js → reference-5697ag0y.js} +12 -12
  51. package/dist/chunks/{worktree-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{worktree-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{worktree-t215hqkg.js → reference-5ttccjpc.js} +6 -6
  54. package/dist/chunks/{worktree-vyxp6c24.js → reference-5vxqm9q6.js} +38 -38
  55. package/dist/chunks/{worktree-zfme70y8.js → reference-63db42yp.js} +2 -2
  56. package/dist/chunks/{worktree-6ts6ce7s.js → reference-63zg3mg5.js} +20 -20
  57. package/dist/chunks/{worktree-9py6qxwx.js → reference-65cg4f0c.js} +10 -10
  58. package/dist/chunks/{worktree-fzgjsfgc.js → reference-676ffxyw.js} +30 -30
  59. package/dist/chunks/{worktree-vnshx00a.js → reference-67prdeth.js} +5 -5
  60. package/dist/chunks/{worktree-b6k8njs9.js → reference-6gjn20d2.js} +11 -11
  61. package/dist/chunks/{worktree-ratrq7cm.js → reference-6hh8tjw2.js} +4 -4
  62. package/dist/chunks/{worktree-bsszwgw7.js → reference-6rbe1m5x.js} +29 -29
  63. package/dist/chunks/{worktree-gs51cq9s.js → reference-6vrtx8fp.js} +9 -9
  64. package/dist/chunks/{worktree-69yp9mph.js → reference-6wg64ttk.js} +3 -3
  65. package/dist/chunks/{worktree-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{worktree-rsdk20j4.js → reference-74gjv7rp.js} +47 -47
  67. package/dist/chunks/{worktree-775gj3j1.js → reference-775gj3j1.js} +2 -2
  68. package/dist/chunks/{worktree-hgwtmp3d.js → reference-78824m1b.js} +14 -14
  69. package/dist/chunks/{worktree-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{worktree-7yr5d591.js → reference-7der4bj9.js} +19 -19
  71. package/dist/chunks/{worktree-2k8khapm.js → reference-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{worktree-bk8ezkk0.js → reference-7f4pctag.js} +27 -27
  73. package/dist/chunks/{worktree-xjje6j52.js → reference-7kcbr8xv.js} +28 -28
  74. package/dist/chunks/{worktree-xh7gbsvn.js → reference-7m8vhqjz.js} +3 -3
  75. package/dist/chunks/{worktree-3v09aqcm.js → reference-7qen6kzn.js} +5 -5
  76. package/dist/chunks/{worktree-1cfb3ja4.js → reference-7xyrrtj6.js} +5 -5
  77. package/dist/chunks/{worktree-yqc6bamn.js → reference-7zt5x37y.js} +1 -1
  78. package/dist/chunks/{worktree-s2enf5ej.js → reference-80c1z9kc.js} +16 -16
  79. package/dist/chunks/{worktree-vwsjj8ea.js → reference-84d4sta2.js} +37 -37
  80. package/dist/chunks/{worktree-84txncab.js → reference-84txncab.js} +1 -1
  81. package/dist/chunks/{worktree-6n0c97dh.js → reference-85nhzk7w.js} +4 -4
  82. package/dist/chunks/{worktree-8v8p5ge9.js → reference-88bhjm42.js} +12 -12
  83. package/dist/chunks/{worktree-ksgsanrq.js → reference-8d801c91.js} +11 -11
  84. package/dist/chunks/{worktree-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{worktree-k61z228s.js → reference-8pedcj79.js} +19 -19
  86. package/dist/chunks/{worktree-j09zfasm.js → reference-91qna3x0.js} +3 -3
  87. package/dist/chunks/{worktree-1j6m29mr.js → reference-97aeaand.js} +9 -9
  88. package/dist/chunks/{worktree-gv9ar1vg.js → reference-9cjp3vjk.js} +11 -11
  89. package/dist/chunks/{worktree-g3gfrvz4.js → reference-9dtek7rd.js} +27 -27
  90. package/dist/chunks/{worktree-2t5j91cv.js → reference-9ja41e76.js} +7 -7
  91. package/dist/chunks/reference-9r6rs471.js +26 -0
  92. package/dist/chunks/{worktree-sdqwrm6h.js → reference-9v5dq8n9.js} +25 -25
  93. package/dist/chunks/{worktree-vp59edv1.js → reference-aad9zq7v.js} +13 -13
  94. package/dist/chunks/{worktree-1bfvb0c5.js → reference-agvdfdvn.js} +5 -5
  95. package/dist/chunks/{worktree-neqgramr.js → reference-ahz9yk24.js} +18 -18
  96. package/dist/chunks/{worktree-k5qw4hft.js → reference-axfvp7va.js} +5 -5
  97. package/dist/chunks/{worktree-ffy7j4h9.js → reference-axjfn32c.js} +27 -27
  98. package/dist/chunks/{worktree-716nhc93.js → reference-azemn7z6.js} +9 -9
  99. package/dist/chunks/{worktree-274sxbd4.js → reference-azpyr670.js} +14 -14
  100. package/dist/chunks/{worktree-zmr78fwr.js → reference-b674v2dg.js} +5 -5
  101. package/dist/chunks/{worktree-431wf54f.js → reference-bt0njgmc.js} +19 -19
  102. package/dist/chunks/reference-by5v678g.js +18 -0
  103. package/dist/chunks/{worktree-rj3eygr5.js → reference-c41wscbt.js} +2 -2
  104. package/dist/chunks/{worktree-09kdszyw.js → reference-c74bvw4q.js} +13 -13
  105. package/dist/chunks/{worktree-sa8ekw3f.js → reference-c8ax2afj.js} +2 -2
  106. package/dist/chunks/{worktree-xrz5dacv.js → reference-cnzx7642.js} +13 -13
  107. package/dist/chunks/{worktree-dn07pamb.js → reference-cqy527p5.js} +8 -8
  108. package/dist/chunks/{worktree-qx9v9416.js → reference-crn6sf7s.js} +13 -13
  109. package/dist/chunks/{worktree-20kcyg4f.js → reference-cxy0as94.js} +43 -43
  110. package/dist/chunks/{worktree-hde47968.js → reference-d1bka95m.js} +6 -6
  111. package/dist/chunks/{worktree-r70na3yp.js → reference-d7x0sh0y.js} +9 -9
  112. package/dist/chunks/{worktree-vm0yw9fx.js → reference-d9zmkgd4.js} +18 -18
  113. package/dist/chunks/{worktree-z341r0zt.js → reference-dfswxmta.js} +20 -20
  114. package/dist/chunks/{worktree-mpngx6ag.js → reference-djvxnjg8.js} +34 -34
  115. package/dist/chunks/{worktree-y71avatq.js → reference-dpkg50ah.js} +4 -4
  116. package/dist/chunks/{worktree-smyxharx.js → reference-dq5fx745.js} +28 -28
  117. package/dist/chunks/{worktree-5t75nmpp.js → reference-dqdg7a0v.js} +4 -4
  118. package/dist/chunks/{worktree-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
  119. package/dist/chunks/{worktree-c0gtsr28.js → reference-drqqcwyg.js} +60 -60
  120. package/dist/chunks/{worktree-xr554603.js → reference-drqybash.js} +4 -4
  121. package/dist/chunks/{worktree-qqeeq2t9.js → reference-drwq78ky.js} +7 -7
  122. package/dist/chunks/{worktree-fby0yz3e.js → reference-dxr3qdqn.js} +38 -38
  123. package/dist/chunks/{worktree-5pm97va6.js → reference-dz85ej5f.js} +14 -14
  124. package/dist/chunks/{worktree-k185drda.js → reference-e8vwfchq.js} +9 -9
  125. package/dist/chunks/{worktree-y692y4sj.js → reference-e9mw71vf.js} +10 -10
  126. package/dist/chunks/{worktree-rhjbct0v.js → reference-eaj1djv9.js} +8 -8
  127. package/dist/chunks/{worktree-t01nhfnz.js → reference-ec56ww6f.js} +27 -27
  128. package/dist/chunks/{worktree-r2z489rp.js → reference-ed1g29hy.js} +3 -3
  129. package/dist/chunks/{worktree-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{worktree-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{worktree-c1fqxshp.js → reference-es1vcfrp.js} +3 -3
  132. package/dist/chunks/{worktree-beed7hnt.js → reference-ew5jdcsq.js} +76 -76
  133. package/dist/chunks/{worktree-deq11mm3.js → reference-f66eae49.js} +17 -17
  134. package/dist/chunks/{worktree-g2f11mr5.js → reference-f7b5ncsd.js} +21 -21
  135. package/dist/chunks/{worktree-j3eh7efd.js → reference-f8p265gv.js} +14 -14
  136. package/dist/chunks/{worktree-zev2zscf.js → reference-fqmb1432.js} +8 -8
  137. package/dist/chunks/{worktree-a8kyzpnb.js → reference-fvgfymht.js} +11 -11
  138. package/dist/chunks/{worktree-0nxfewx3.js → reference-g51r3c4s.js} +15 -15
  139. package/dist/chunks/{worktree-ft3hqk2c.js → reference-g6q9qykm.js} +9 -9
  140. package/dist/chunks/{worktree-h83xjv7f.js → reference-g6yfr6ja.js} +5 -5
  141. package/dist/chunks/{worktree-39ed28yb.js → reference-g7m13ce8.js} +30 -30
  142. package/dist/chunks/{worktree-yr3ekt3k.js → reference-g7y6ccmm.js} +16 -16
  143. package/dist/chunks/{worktree-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{worktree-w8zenwda.js → reference-gm24xgn7.js} +21 -21
  145. package/dist/chunks/{worktree-bh2h312c.js → reference-gn31e51v.js} +11 -11
  146. package/dist/chunks/{worktree-5qzk5w75.js → reference-gn5tm0bv.js} +7 -7
  147. package/dist/chunks/{worktree-x661k3y3.js → reference-gqtdsdt7.js} +4 -4
  148. package/dist/chunks/{worktree-h9wp8z5w.js → reference-gw7cjrad.js} +4 -4
  149. package/dist/chunks/{worktree-d21xt1cm.js → reference-gw8exty3.js} +12 -12
  150. package/dist/chunks/{worktree-7ab1jc12.js → reference-gwf8vbvc.js} +20 -20
  151. package/dist/chunks/{worktree-ws86dct2.js → reference-h45tnvxx.js} +76 -76
  152. package/dist/chunks/{worktree-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{worktree-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
  154. package/dist/chunks/{worktree-kzc3h1h3.js → reference-h90v2x9d.js} +4 -4
  155. package/dist/chunks/{worktree-b3f8fkhc.js → reference-hdkng2sj.js} +5 -5
  156. package/dist/chunks/{worktree-3b80bnbc.js → reference-hfbyhya8.js} +10 -10
  157. package/dist/chunks/{worktree-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{worktree-znkwv8d1.js → reference-htrk4y28.js} +9 -9
  159. package/dist/chunks/{worktree-y1z7wqjc.js → reference-hvg0snfm.js} +18 -18
  160. package/dist/chunks/{worktree-qxnzw82z.js → reference-hy1n1we9.js} +46 -46
  161. package/dist/chunks/{worktree-njhqdk9p.js → reference-j58c5xyq.js} +9 -9
  162. package/dist/chunks/{worktree-3gdnc4sn.js → reference-je5d3c79.js} +15 -15
  163. package/dist/chunks/{worktree-dsxmv375.js → reference-jfzdx66h.js} +9 -9
  164. package/dist/chunks/{worktree-qyqa3c06.js → reference-jhzvven8.js} +7 -7
  165. package/dist/chunks/{worktree-6g107h22.js → reference-jk540des.js} +2 -2
  166. package/dist/chunks/{worktree-dhmh7aw6.js → reference-jvf3yq6v.js} +4 -4
  167. package/dist/chunks/{worktree-jfxk8smp.js → reference-jwyrdafh.js} +16 -16
  168. package/dist/chunks/{worktree-2t8wq7t2.js → reference-k4fxrsyq.js} +17 -17
  169. package/dist/chunks/{worktree-m365tgky.js → reference-kenxh6gd.js} +29 -29
  170. package/dist/chunks/{worktree-khmqacep.js → reference-khmqacep.js} +1 -1
  171. package/dist/chunks/{worktree-6mvtkawg.js → reference-kpdmttv2.js} +11 -11
  172. package/dist/chunks/{worktree-1qpfn3tg.js → reference-kph0xsh6.js} +20 -20
  173. package/dist/chunks/{worktree-p51f681n.js → reference-kprxdv5r.js} +2 -2
  174. package/dist/chunks/{worktree-b3c2e4qp.js → reference-krdwghjp.js} +5 -5
  175. package/dist/chunks/{worktree-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{worktree-maspj1v3.js → reference-maspj1v3.js} +1 -1
  177. package/dist/chunks/{worktree-ee7eyq7w.js → reference-mpssfq2q.js} +8 -8
  178. package/dist/chunks/{worktree-8f1339w9.js → reference-n0ve5gdb.js} +5 -5
  179. package/dist/chunks/{worktree-jt30ntq0.js → reference-n1shqbp3.js} +20 -20
  180. package/dist/chunks/{worktree-b9gd63k6.js → reference-n3kdjaet.js} +13 -13
  181. package/dist/chunks/{worktree-vfmvmnac.js → reference-n5esxn5z.js} +31 -31
  182. package/dist/chunks/{worktree-yc95rny5.js → reference-n5xpsxq8.js} +15 -15
  183. package/dist/chunks/{worktree-x5wrmng7.js → reference-n61013np.js} +11 -11
  184. package/dist/chunks/{worktree-0mm9aq32.js → reference-njp0gf2a.js} +17 -17
  185. package/dist/chunks/{worktree-aeef67my.js → reference-nkqw9m3h.js} +25 -25
  186. package/dist/chunks/{worktree-x2cz5peg.js → reference-nm3w2d7y.js} +19 -19
  187. package/dist/chunks/{worktree-667j1n9q.js → reference-nsxf7brj.js} +45 -45
  188. package/dist/chunks/{worktree-3nnccxaq.js → reference-nywhfaw1.js} +9 -9
  189. package/dist/chunks/{worktree-ybv9y61q.js → reference-p37hdxy1.js} +46 -46
  190. package/dist/chunks/{worktree-9hn6k4tm.js → reference-p42hj8p8.js} +8 -8
  191. package/dist/chunks/{worktree-fj921hw4.js → reference-p474d7yp.js} +22 -22
  192. package/dist/chunks/{worktree-0296bd6c.js → reference-p70m11t7.js} +11 -11
  193. package/dist/chunks/{worktree-14z0575r.js → reference-pjm3t1ca.js} +15 -15
  194. package/dist/chunks/{worktree-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{worktree-pknna89w.js → reference-pknna89w.js} +1 -1
  196. package/dist/chunks/{worktree-bevb4k0a.js → reference-pr1m8j7y.js} +8 -8
  197. package/dist/chunks/{worktree-kqx1b4hy.js → reference-pyg4v0b6.js} +4 -4
  198. package/dist/chunks/{worktree-0j77ygfz.js → reference-q0xm7vwc.js} +6 -6
  199. package/dist/chunks/{worktree-v08nt5ja.js → reference-q1m8dxm9.js} +20 -20
  200. package/dist/chunks/{worktree-0jp2gd70.js → reference-q2kevabj.js} +4 -4
  201. package/dist/chunks/{worktree-9jkjpzrk.js → reference-q53541n0.js} +32 -32
  202. package/dist/chunks/{worktree-4sh0xj3w.js → reference-q5423ys8.js} +31 -31
  203. package/dist/chunks/{worktree-nrv3sj1v.js → reference-q5ewyrx0.js} +32 -32
  204. package/dist/chunks/{worktree-52zw37wk.js → reference-qdtbhe1n.js} +5 -5
  205. package/dist/chunks/{worktree-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{worktree-g71v19aa.js → reference-qs0nx109.js} +24 -24
  207. package/dist/chunks/{worktree-qsdy395h.js → reference-qsdy395h.js} +1 -1
  208. package/dist/chunks/{worktree-ptx3q924.js → reference-qtq7qc2w.js} +13 -13
  209. package/dist/chunks/{worktree-0sjgtn60.js → reference-qxzvmfjp.js} +4 -4
  210. package/dist/chunks/{worktree-kt3sjp1b.js → reference-r83ag541.js} +14 -8
  211. package/dist/chunks/{worktree-0hpfwc9a.js → reference-r8f59mgg.js} +24 -24
  212. package/dist/chunks/{worktree-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{worktree-7fkffz83.js → reference-rkprpv83.js} +4 -4
  214. package/dist/chunks/{worktree-m6pmp8dy.js → reference-rpz1svrt.js} +1 -1
  215. package/dist/chunks/{worktree-xjsyyfzz.js → reference-rqf4m8aw.js} +25 -25
  216. package/dist/chunks/{worktree-8qc83v7e.js → reference-rqraeqvr.js} +4 -4
  217. package/dist/chunks/{worktree-j8kg77fh.js → reference-rsz0h36s.js} +29 -29
  218. package/dist/chunks/{worktree-kh8z24c7.js → reference-rtdaykpn.js} +20 -20
  219. package/dist/chunks/{worktree-t6hfbk19.js → reference-rtg68wpk.js} +23 -23
  220. package/dist/chunks/{worktree-p5vn9pc0.js → reference-rx2dg2kh.js} +45 -45
  221. package/dist/chunks/{worktree-pcb6a8b5.js → reference-rxbse8cr.js} +22 -22
  222. package/dist/chunks/{worktree-1cnr1ze3.js → reference-rygkxn9n.js} +45 -45
  223. package/dist/chunks/{worktree-2fzw7nf3.js → reference-s0kdr57z.js} +14 -14
  224. package/dist/chunks/{worktree-95xk19wm.js → reference-s5yya818.js} +32 -32
  225. package/dist/chunks/{worktree-pg7j9xfd.js → reference-s6vxrzhc.js} +5 -5
  226. package/dist/chunks/{worktree-vz11k4k8.js → reference-sa7t01dg.js} +91 -91
  227. package/dist/chunks/reference-sm5yn6ps.js +253 -0
  228. package/dist/chunks/{worktree-08rawchj.js → reference-ss358qx3.js} +3 -3
  229. package/dist/chunks/{worktree-m5f219rb.js → reference-sy99d12a.js} +18 -18
  230. package/dist/chunks/{worktree-syv4x271.js → reference-syv4x271.js} +1 -1
  231. package/dist/chunks/{worktree-wmdkv8mg.js → reference-t4p70czd.js} +11 -11
  232. package/dist/chunks/{worktree-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{worktree-89znhe33.js → reference-tcezcvh9.js} +4 -4
  234. package/dist/chunks/{worktree-tdstcens.js → reference-tdstcens.js} +1 -1
  235. package/dist/chunks/{worktree-rert0e01.js → reference-tkb22qbm.js} +2 -2
  236. package/dist/chunks/{worktree-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{worktree-tyytaxap.js → reference-tyytaxap.js} +1 -1
  238. package/dist/chunks/{worktree-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{worktree-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{worktree-g6kap4fx.js → reference-vacxjxj3.js} +6 -6
  241. package/dist/chunks/{worktree-qryth85y.js → reference-vbm38ps9.js} +5 -5
  242. package/dist/chunks/{worktree-7jfpk3vs.js → reference-vcp5fwvv.js} +22 -22
  243. package/dist/chunks/{worktree-mf27tnfq.js → reference-vd7cyv2z.js} +29 -29
  244. package/dist/chunks/{worktree-wkcmpner.js → reference-ve45bn9x.js} +6 -6
  245. package/dist/chunks/{worktree-veqvce7d.js → reference-veqvce7d.js} +1 -1
  246. package/dist/chunks/{worktree-3y3fsy4j.js → reference-vm7c5k2y.js} +3 -3
  247. package/dist/chunks/{worktree-0fr5sr31.js → reference-vt08q70p.js} +15 -15
  248. package/dist/chunks/{worktree-y7vpfhcb.js → reference-vvtb55nw.js} +172 -172
  249. package/dist/chunks/{worktree-c8dwdg4v.js → reference-vz1ztd4p.js} +25 -25
  250. package/dist/chunks/{worktree-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{worktree-gyf50hgr.js → reference-w15h4m28.js} +15 -15
  252. package/dist/chunks/{worktree-k6nq8rg4.js → reference-w1s7mmem.js} +24 -24
  253. package/dist/chunks/{worktree-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{worktree-sh5ssvt8.js → reference-w4wr1etb.js} +14 -14
  255. package/dist/chunks/{worktree-pgp1nwjn.js → reference-wa9g86nq.js} +4 -4
  256. package/dist/chunks/{worktree-wd87259q.js → reference-wd87259q.js} +1 -1
  257. package/dist/chunks/{worktree-nkzytket.js → reference-whrbz81v.js} +30 -30
  258. package/dist/chunks/{worktree-1ffvrpkg.js → reference-wjr9rjd7.js} +9 -9
  259. package/dist/chunks/{worktree-7ttgb0nd.js → reference-wkqr0wp4.js} +50 -50
  260. package/dist/chunks/{worktree-sq3q4x2m.js → reference-wqvnp2kw.js} +4 -4
  261. package/dist/chunks/{worktree-e9s73vyg.js → reference-wwh6ay7x.js} +22 -22
  262. package/dist/chunks/{worktree-95sqqx4e.js → reference-wx7k6370.js} +21 -21
  263. package/dist/chunks/{worktree-grz2r9kj.js → reference-x7qcbpvq.js} +34 -34
  264. package/dist/chunks/{worktree-0xezf9n7.js → reference-x8h454cx.js} +25 -25
  265. package/dist/chunks/{worktree-ttng27y8.js → reference-xwxft369.js} +1 -1
  266. package/dist/chunks/{worktree-59phwr7n.js → reference-xx6qpep6.js} +33 -33
  267. package/dist/chunks/{worktree-c7a7nq54.js → reference-y179arr5.js} +29 -29
  268. package/dist/chunks/{worktree-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{worktree-bgtxx6qd.js → reference-y41eqcyh.js} +32 -32
  270. package/dist/chunks/{worktree-tafr0n6k.js → reference-y456k0gx.js} +21 -21
  271. package/dist/chunks/{worktree-y4jcqa2s.js → reference-y4ny2pth.js} +19 -19
  272. package/dist/chunks/{worktree-eeaf82dq.js → reference-y72zmemf.js} +8 -8
  273. package/dist/chunks/{worktree-8zg9y4xf.js → reference-yak3hf0z.js} +55 -55
  274. package/dist/chunks/{worktree-h9yqbyhm.js → reference-ym1z1sce.js} +3 -3
  275. package/dist/chunks/{worktree-rgpeez64.js → reference-ys0m66b2.js} +23 -23
  276. package/dist/chunks/{worktree-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{worktree-y0qqvbvy.js → reference-z4h9wx76.js} +39 -39
  278. package/dist/chunks/{worktree-35c3zvez.js → reference-zgkz7fqw.js} +20 -20
  279. package/dist/chunks/{worktree-zjtrsxny.js → reference-zjtrsxny.js} +2 -2
  280. package/dist/chunks/{worktree-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{worktree-gt06s37z.js → reference-zt9b6e62.js} +17 -17
  282. package/dist/chunks/{worktree-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{worktree-6gp0zckj.js → reference-zy8qbqak.js} +14 -14
  284. package/dist/chunks/{worktree-x2dmkytt.js → reference-zzdwtnvj.js} +24 -24
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +88 -88
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +101 -101
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +87 -87
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +100 -100
  476. package/dist/models-dev.js +103 -103
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +119 -119
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +2 -2
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +101 -101
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +91 -91
  562. package/dist/reference/instructions.js +89 -89
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +88 -88
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +5 -5
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +203 -203
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +111 -111
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +108 -108
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +116 -116
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +82 -82
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/worktree-2jnbd3f3.js +0 -253
  686. package/dist/chunks/worktree-qjepztct.js +0 -26
  687. package/dist/chunks/worktree-v1faaxn9.js +0 -18
  688. /package/dist/chunks/{worktree-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{worktree-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{worktree-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{worktree-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{worktree-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{worktree-24dcb14g.js → reference-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{worktree-2710q6r3.js → reference-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{worktree-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{worktree-2bv980vf.js → reference-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{worktree-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{worktree-359p4xyc.js → reference-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{worktree-3asan66x.js → reference-3asan66x.js} +0 -0
  700. /package/dist/chunks/{worktree-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{worktree-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{worktree-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{worktree-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{worktree-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{worktree-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{worktree-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{worktree-53557ph1.js → reference-53557ph1.js} +0 -0
  708. /package/dist/chunks/{worktree-550bvhaj.js → reference-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{worktree-6prwharc.js → reference-6prwharc.js} +0 -0
  710. /package/dist/chunks/{worktree-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{worktree-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{worktree-7m9af43g.js → reference-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{worktree-822emrt2.js → reference-822emrt2.js} +0 -0
  714. /package/dist/chunks/{worktree-84wd9syh.js → reference-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{worktree-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{worktree-8n3pysct.js → reference-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{worktree-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{worktree-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{worktree-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{worktree-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{worktree-af5trqkr.js → reference-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{worktree-afrmfg78.js → reference-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{worktree-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{worktree-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{worktree-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{worktree-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{worktree-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{worktree-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{worktree-d9fn303g.js → reference-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{worktree-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{worktree-dajrwvna.js → reference-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{worktree-dap0rakb.js → reference-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{worktree-df08tz66.js → reference-df08tz66.js} +0 -0
  734. /package/dist/chunks/{worktree-dy18nga0.js → reference-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{worktree-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{worktree-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{worktree-ec1grn59.js → reference-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{worktree-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{worktree-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{worktree-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{worktree-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{worktree-faypxj3z.js → reference-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{worktree-fd410y7t.js → reference-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{worktree-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{worktree-g86h250q.js → reference-g86h250q.js} +0 -0
  746. /package/dist/chunks/{worktree-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{worktree-gftt206x.js → reference-gftt206x.js} +0 -0
  748. /package/dist/chunks/{worktree-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{worktree-hk9envan.js → reference-hk9envan.js} +0 -0
  750. /package/dist/chunks/{worktree-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{worktree-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{worktree-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{worktree-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{worktree-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{worktree-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{worktree-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{worktree-m18g726c.js → reference-m18g726c.js} +0 -0
  758. /package/dist/chunks/{worktree-mp448xyj.js → reference-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{worktree-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{worktree-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{worktree-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{worktree-njntx4h6.js → reference-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{worktree-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{worktree-pyv0edze.js → reference-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{worktree-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{worktree-q74kybfr.js → reference-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{worktree-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{worktree-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{worktree-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{worktree-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{worktree-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{worktree-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{worktree-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{worktree-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{worktree-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{worktree-w803qqfp.js → reference-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{worktree-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{worktree-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{worktree-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{worktree-wtztk69x.js → reference-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{worktree-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{worktree-x61499pn.js → reference-x61499pn.js} +0 -0
  783. /package/dist/chunks/{worktree-y44na4kk.js → reference-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{worktree-y8f7s663.js → reference-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{worktree-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{worktree-ym463w8f.js → reference-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{worktree-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{worktree-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./worktree-0vrkd98v.js";
2
+ Service83,
3
+ node87
4
+ } from "./reference-3q9g49xq.js";
5
5
  import {
6
- node67
7
- } from "./worktree-wypjq10p.js";
6
+ node57
7
+ } from "./reference-2k20t02z.js";
8
8
  import {
9
- Service9,
10
- node11
11
- } from "./worktree-k6nq8rg4.js";
9
+ Service4,
10
+ node6
11
+ } from "./reference-w1s7mmem.js";
12
12
  import {
13
- Service50
14
- } from "./worktree-3b80bnbc.js";
13
+ Service15
14
+ } from "./reference-hfbyhya8.js";
15
15
  import {
16
- Service24
17
- } from "./worktree-v1faaxn9.js";
16
+ Service34
17
+ } from "./reference-by5v678g.js";
18
18
  import {
19
- node21,
19
+ node26,
20
20
  ID3
21
- } from "./worktree-6ts6ce7s.js";
21
+ } from "./reference-63zg3mg5.js";
22
22
  import {
23
- Service3,
24
- node4
25
- } from "./worktree-9hn6k4tm.js";
23
+ Service9,
24
+ node11
25
+ } from "./reference-p42hj8p8.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./worktree-etsgmb9a.js";
30
+ } from "./reference-4f65x4ny.js";
31
31
  import {
32
- make7,
32
+ make4,
33
33
  LoadError2
34
- } from "./worktree-hgwtmp3d.js";
34
+ } from "./reference-78824m1b.js";
35
35
  import {
36
36
  Updated2,
37
- Service4,
38
- node5
39
- } from "./worktree-qx9v9416.js";
40
- import {
41
37
  Service5,
42
- node6
43
- } from "./worktree-njhqdk9p.js";
38
+ node7
39
+ } from "./reference-crn6sf7s.js";
40
+ import {
41
+ Service10,
42
+ node12
43
+ } from "./reference-j58c5xyq.js";
44
44
  import {
45
45
  __export
46
- } from "./worktree-9rqn6x4v.js";
46
+ } from "./reference-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
- layer: () => layer3,
53
- node: () => node2
52
+ layer: () => layer4,
53
+ node: () => node5
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
136
136
  pending: [...pending]
137
137
  };
138
138
  });
139
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service50;
141
- const registry = yield* Service24;
142
- const sdk = yield* Service4;
143
- const instance = yield* Service3;
144
- const sources = yield* Service9;
145
- const modules = yield* make7();
146
- const bus = yield* Service84;
147
- const updates = yield* Service5;
139
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
+ const managed = yield* Service15;
141
+ const registry = yield* Service34;
142
+ const sdk = yield* Service5;
143
+ const instance = yield* Service9;
144
+ const sources = yield* Service4;
145
+ const modules = yield* make4();
146
+ const bus = yield* Service83;
147
+ const updates = yield* Service10;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node21,
224
- node5,
225
- node4,
223
+ node26,
224
+ node7,
226
225
  node11,
227
226
  node6,
228
- node88,
227
+ node12,
228
+ node87,
229
229
  Npm.node,
230
- node67,
230
+ node57,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
238
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
239
239
 
240
- export { layer3, node2, exports_supervisor };
240
+ export { layer4, node5, exports_supervisor };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service48
3
- } from "./worktree-jkp0d30b.js";
2
+ Service44
3
+ } from "./reference-51f5btjf.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./worktree-v1faaxn9.js";
6
+ } from "./reference-by5v678g.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./worktree-k185drda.js";
9
+ } from "./reference-e8vwfchq.js";
10
10
  import {
11
- Service36
12
- } from "./worktree-smyxharx.js";
11
+ Service75
12
+ } from "./reference-dq5fx745.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./reference-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service48;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
25
+ const instances = yield* Service44;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service75), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./worktree-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service63
7
- } from "./worktree-20kcyg4f.js";
6
+ Service54
7
+ } from "./reference-cxy0as94.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./worktree-hgz4x7wa.js";
10
+ } from "./reference-hgz4x7wa.js";
11
11
  import {
12
- Service79
13
- } from "./worktree-z3v3p3gc.js";
12
+ Service65
13
+ } from "./reference-132ycjkv.js";
14
14
  import {
15
- Service53
16
- } from "./worktree-5pm97va6.js";
15
+ Service46
16
+ } from "./reference-dz85ej5f.js";
17
17
  import {
18
- Service58
19
- } from "./worktree-c0gtsr28.js";
18
+ Service76
19
+ } from "./reference-drqqcwyg.js";
20
20
  import {
21
- Service57,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./worktree-gyf50hgr.js";
23
+ } from "./reference-w15h4m28.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./worktree-vzs5sf6e.js";
29
+ } from "./reference-vzs5sf6e.js";
30
30
  import {
31
- Service52,
31
+ Service57,
32
32
  name15
33
- } from "./worktree-k61z228s.js";
33
+ } from "./reference-8pedcj79.js";
34
34
  import {
35
- NotFoundError5,
36
- Service39
37
- } from "./worktree-rsdk20j4.js";
35
+ NotFoundError7,
36
+ Service51
37
+ } from "./reference-74gjv7rp.js";
38
38
  import {
39
- Service22
40
- } from "./worktree-vz11k4k8.js";
39
+ Service24
40
+ } from "./reference-sa7t01dg.js";
41
41
  import {
42
42
  scan2
43
- } from "./worktree-xr554603.js";
43
+ } from "./reference-drqybash.js";
44
44
  import {
45
45
  __export
46
- } from "./worktree-9rqn6x4v.js";
46
+ } from "./reference-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: () => Input10,
53
- Plugin: () => Plugin13,
54
- ShellTool: () => exports_shell,
55
- name: () => name10
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin36,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name2
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 name10 = "shell";
60
+ var name2 = "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 Input10 = Schema.Struct({
74
+ var Input2 = 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 Plugin13 = {
120
+ var Plugin36 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service22;
124
- const jobs = yield* Service53;
123
+ const sessions = yield* Service24;
124
+ const jobs = yield* Service46;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service79;
127
- const access = yield* Service57;
128
- const shell = yield* Service39;
129
- const shellSelect = yield* Service52;
126
+ const environment = yield* Service65;
127
+ const access = yield* Service19;
128
+ const shell = yield* Service51;
129
+ const shellSelect = yield* Service57;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service58;
132
- const config = yield* Service63;
131
+ const permission = yield* Service76;
132
+ const config = yield* Service54;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin13 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name10,
151
+ action: name2,
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 Plugin13 = {
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: name10,
188
+ name: name2,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input10,
191
+ input: Input2,
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 Plugin13 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError7({ 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: name10,
228
+ type: name2,
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[name10];
258
+ const tool = event.tools[name2];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(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 { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin13, exports_shell };
269
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin36, exports_shell2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service3,
9
+ Service: () => Service9,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node11
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service9 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service3,
18
+ var node11 = makeLocationNode({
19
+ service: Service9,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
29
+ return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service3, node4, bound2, exports_instance2 };
32
+ export { Service9, node11, bound2, exports_instance2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID12,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./worktree-fzgjsfgc.js";
5
+ } from "./reference-676ffxyw.js";
6
6
  import {
7
- ID11,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info20
11
- } from "./worktree-m365tgky.js";
10
+ Info16
11
+ } from "./reference-kenxh6gd.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./reference-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info20.make({
122
- ...Info20.default(ID12.githubCopilot, id),
121
+ return Info16.make({
122
+ ...Info16.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured4,
11
- layer: () => layer16,
12
- make: () => make15,
13
- node: () => node46,
10
+ configured: () => configured10,
11
+ layer: () => layer24,
12
+ make: () => make19,
13
+ node: () => node63,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make15()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make15(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make15(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer16 = (input) => Layer.succeed(Metadata2, make15(input));
32
- var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
33
- var node46 = configured4();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node63 = configured10();
34
34
 
35
- export { Metadata2, make15, useragent2, layer16, configured4, node46, exports_app };
35
+ export { Metadata2, make19, useragent2, layer24, configured10, node63, exports_app };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./worktree-7gra0nqm.js";
3
+ } from "./reference-0sgp6vrq.js";
4
4
  import {
5
- Service58
6
- } from "./worktree-c0gtsr28.js";
5
+ Service76
6
+ } from "./reference-drqqcwyg.js";
7
7
  import {
8
- Service57
9
- } from "./worktree-gyf50hgr.js";
8
+ Service19
9
+ } from "./reference-w15h4m28.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./worktree-0vbcp93d.js";
12
+ } from "./reference-0vbcp93d.js";
13
13
  import {
14
- Info10,
14
+ Info6,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./worktree-vwsjj8ea.js";
19
+ } from "./reference-84d4sta2.js";
20
20
  import {
21
21
  __export
22
- } from "./worktree-9rqn6x4v.js";
22
+ } from "./reference-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin5,
30
+ Plugin: () => Plugin37,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin5 = {
100
+ var Plugin37 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service57;
104
- const permission = yield* Service58;
103
+ const access = yield* Service19;
104
+ const permission = yield* Service76;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin5 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info10,
156
+ output: Info6,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin5, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin37, exports_opencode };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./worktree-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";