@opencode/core 0.0.0-dev-19671 → 0.0.0-dev-19674

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{workspace-hvaems8d.js → pty-005agstz.js} +16 -16
  8. package/dist/chunks/{workspace-w1k39n5e.js → pty-06dxphr1.js} +4 -4
  9. package/dist/chunks/{workspace-hcersndf.js → pty-0bn9wq69.js} +3 -3
  10. package/dist/chunks/{workspace-hkfg6fzm.js → pty-0f9afca0.js} +5 -5
  11. package/dist/chunks/{workspace-qgn6gcr1.js → pty-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{workspace-smnrra21.js → pty-0p9dtxs1.js} +46 -46
  13. package/dist/chunks/{workspace-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{workspace-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{workspace-5dsd369z.js → pty-0v4tm5rw.js} +42 -42
  16. package/dist/chunks/{workspace-389m4hvq.js → pty-0vr0cdvh.js} +12 -12
  17. package/dist/chunks/{workspace-hvestmgn.js → pty-0zz4rd6y.js} +20 -20
  18. package/dist/chunks/{workspace-f7bq1znb.js → pty-1040s6af.js} +4 -4
  19. package/dist/chunks/{workspace-prq7hedt.js → pty-11dqjexa.js} +9 -9
  20. package/dist/chunks/{workspace-91ps8d76.js → pty-18hqe85b.js} +11 -11
  21. package/dist/chunks/{workspace-rhraev7y.js → pty-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{workspace-sb006p00.js → pty-1cxhbzgd.js} +33 -33
  23. package/dist/chunks/{workspace-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{workspace-gwn8k4wf.js → pty-1frb376n.js} +10 -10
  25. package/dist/chunks/{workspace-tnvkd88y.js → pty-1qxk71h7.js} +31 -31
  26. package/dist/chunks/{workspace-8fdhqt0h.js → pty-1s7za8r8.js} +22 -22
  27. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  28. package/dist/chunks/{workspace-0je2hj77.js → pty-1wc8ev08.js} +22 -22
  29. package/dist/chunks/{workspace-1ygqh575.js → pty-1ygqh575.js} +2 -2
  30. package/dist/chunks/{workspace-21r38tys.js → pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{workspace-2402vzrj.js → pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{workspace-8rjf33zh.js → pty-2497c3gb.js} +25 -25
  33. package/dist/chunks/{workspace-npdm8rka.js → pty-27pm8xwp.js} +8 -8
  34. package/dist/chunks/{workspace-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{workspace-ghgqqbaf.js → pty-2a64njz4.js} +28 -28
  36. package/dist/chunks/{workspace-t5bshydd.js → pty-2gdwawmb.js} +41 -41
  37. package/dist/chunks/{workspace-gt1wmh2m.js → pty-2h71m0y1.js} +18 -18
  38. package/dist/chunks/{workspace-cwa6csj7.js → pty-2sejkfem.js} +9 -9
  39. package/dist/chunks/{workspace-s8amfvzn.js → pty-2y0fysv8.js} +68 -68
  40. package/dist/chunks/{workspace-0j6az8nh.js → pty-2z45ferc.js} +17 -17
  41. package/dist/chunks/{workspace-zg7gaeyh.js → pty-3a958b5j.js} +5 -5
  42. package/dist/chunks/{workspace-23pqda6t.js → pty-3b1q5j1v.js} +5 -5
  43. package/dist/chunks/{workspace-w7chzwtb.js → pty-3c3dzs67.js} +19 -19
  44. package/dist/chunks/{workspace-6gbsgjdw.js → pty-3ekjvzbw.js} +27 -27
  45. package/dist/chunks/{workspace-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{workspace-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{workspace-30ykn1ak.js → pty-3m13cm4e.js} +26 -26
  48. package/dist/chunks/{workspace-1bwttn16.js → pty-3qjwzzap.js} +7 -7
  49. package/dist/chunks/{workspace-hvy7stfb.js → pty-3r43kab8.js} +30 -30
  50. package/dist/chunks/{workspace-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{workspace-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{workspace-2evyaa68.js → pty-3ythc6yv.js} +4 -4
  53. package/dist/chunks/{workspace-xxgc1rvg.js → pty-40cvr20j.js} +9 -9
  54. package/dist/chunks/{workspace-44ke2mar.js → pty-44ke2mar.js} +2 -2
  55. package/dist/chunks/{workspace-xtqb0ezk.js → pty-4a9jgtk8.js} +33 -33
  56. package/dist/chunks/{workspace-v62hna1q.js → pty-4bwnmqz9.js} +11 -11
  57. package/dist/chunks/{workspace-s1nnrw4q.js → pty-4st5ggns.js} +3 -3
  58. package/dist/chunks/{workspace-bsjctv6r.js → pty-4wp66bzr.js} +12 -12
  59. package/dist/chunks/{workspace-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{workspace-5c4hm403.js → pty-5c4hm403.js} +3 -3
  61. package/dist/chunks/{workspace-5daktx2q.js → pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{workspace-kmxp3hgp.js → pty-5exzrj16.js} +104 -76
  63. package/dist/chunks/{workspace-45nxcmhf.js → pty-5fyzn1g0.js} +3 -3
  64. package/dist/chunks/{workspace-t7g5bjrx.js → pty-5sh9x8dt.js} +13 -13
  65. package/dist/chunks/{workspace-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{workspace-3a9k9ry6.js → pty-5vfe9zkh.js} +11 -11
  67. package/dist/chunks/{workspace-tkf802ad.js → pty-63wpvyg5.js} +166 -166
  68. package/dist/chunks/{workspace-669tq793.js → pty-669tq793.js} +1 -1
  69. package/dist/chunks/{workspace-4948km78.js → pty-6g11pzee.js} +24 -24
  70. package/dist/chunks/{workspace-b2gph9tb.js → pty-6kqz0sw2.js} +21 -21
  71. package/dist/chunks/{workspace-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{workspace-ej0h82cb.js → pty-6y3v0yak.js} +4 -4
  73. package/dist/chunks/{workspace-zhqwkags.js → pty-71506k9g.js} +19 -19
  74. package/dist/chunks/{workspace-escah170.js → pty-71w766xh.js} +40 -40
  75. package/dist/chunks/{workspace-0h6yxmx8.js → pty-736q711b.js} +17 -17
  76. package/dist/chunks/{workspace-73tb2d7t.js → pty-73tb2d7t.js} +1 -1
  77. package/dist/chunks/{workspace-3c4e3q8d.js → pty-7ac170kv.js} +4 -4
  78. package/dist/chunks/{workspace-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{workspace-zv0s4bhn.js → pty-7tz5zdeh.js} +14 -14
  80. package/dist/chunks/{workspace-psgps3dv.js → pty-850skrb0.js} +43 -42
  81. package/dist/chunks/{workspace-z9pg7np5.js → pty-87gqba2t.js} +23 -23
  82. package/dist/chunks/{workspace-89znhe33.js → pty-89znhe33.js} +1 -1
  83. package/dist/chunks/{workspace-6drfangj.js → pty-8bjgc9mz.js} +11 -11
  84. package/dist/chunks/{workspace-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{workspace-ws71cwg0.js → pty-90cw4v64.js} +20 -20
  86. package/dist/chunks/{workspace-qzz9148b.js → pty-9172rkmk.js} +4 -4
  87. package/dist/chunks/{workspace-8aa1j6tz.js → pty-935t04zr.js} +6 -6
  88. package/dist/chunks/{workspace-7atvz750.js → pty-972ydv8n.js} +15 -15
  89. package/dist/chunks/{workspace-y6xm7141.js → pty-97mj29ww.js} +11 -11
  90. package/dist/chunks/{workspace-9kg9e0a0.js → pty-9fday5he.js} +25 -25
  91. package/dist/chunks/{workspace-5yzzbxa7.js → pty-9hn6k4tm.js} +8 -8
  92. package/dist/chunks/{workspace-k3a5zdqs.js → pty-9j2e64em.js} +17 -17
  93. package/dist/chunks/{workspace-t6ysqdka.js → pty-9n8fqfgq.js} +8 -8
  94. package/dist/chunks/{workspace-vmgq4x8b.js → pty-a3r4dcrj.js} +2 -2
  95. package/dist/chunks/{workspace-qk9tkycn.js → pty-a5tya8df.js} +3 -3
  96. package/dist/chunks/{workspace-aaet6srn.js → pty-aaet6srn.js} +2 -2
  97. package/dist/chunks/{workspace-607q5haz.js → pty-ab8cnxkj.js} +12 -12
  98. package/dist/chunks/{workspace-09pz1379.js → pty-ag7cc6ae.js} +8 -8
  99. package/dist/chunks/{workspace-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{workspace-hxvthzq2.js → pty-b7eb1kpf.js} +16 -16
  101. package/dist/chunks/{workspace-snpzy104.js → pty-b8tjeqry.js} +11 -11
  102. package/dist/chunks/pty-b8vveb32.js +247 -0
  103. package/dist/chunks/{workspace-hq5yce46.js → pty-bavdgngm.js} +16 -16
  104. package/dist/chunks/{workspace-zm0p8k8r.js → pty-bbbg5gcy.js} +34 -34
  105. package/dist/chunks/{workspace-8nzjjcv6.js → pty-bh4tknr0.js} +22 -22
  106. package/dist/chunks/{workspace-hp7ncmkz.js → pty-bhvqp75t.js} +30 -30
  107. package/dist/chunks/{workspace-z5r7g7f5.js → pty-bqdz6k7x.js} +11 -11
  108. package/dist/chunks/{workspace-81n4387y.js → pty-bqv8mcm8.js} +4 -4
  109. package/dist/chunks/{workspace-4kc33j5f.js → pty-bv3ar4t8.js} +5 -5
  110. package/dist/chunks/{workspace-g8q03ywc.js → pty-bx8e55ya.js} +8 -8
  111. package/dist/chunks/{workspace-q84t20hj.js → pty-bxgfab9d.js} +6 -6
  112. package/dist/chunks/{workspace-4jc5c4h4.js → pty-bz85s9hh.js} +1 -1
  113. package/dist/chunks/{workspace-5yknvxxj.js → pty-cddb4mff.js} +5 -5
  114. package/dist/chunks/{workspace-twghd58z.js → pty-ckxk042a.js} +9 -9
  115. package/dist/chunks/{workspace-g69v9spt.js → pty-dc77grpk.js} +9 -9
  116. package/dist/chunks/{workspace-n4r3xatb.js → pty-dhmh7aw6.js} +4 -4
  117. package/dist/chunks/{workspace-z3mt4md8.js → pty-dhw9tk05.js} +25 -25
  118. package/dist/chunks/{workspace-dj2t23y0.js → pty-dj2t23y0.js} +2 -2
  119. package/dist/chunks/{workspace-yb45ra6v.js → pty-dmje0bsk.js} +11 -11
  120. package/dist/chunks/{workspace-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{workspace-hdkexvht.js → pty-dxrx5bve.js} +28 -28
  122. package/dist/chunks/{workspace-wbwz8t9g.js → pty-e25vxe6e.js} +8 -8
  123. package/dist/chunks/{workspace-h04b1w3t.js → pty-e2673aay.js} +2 -2
  124. package/dist/chunks/{workspace-aspr6ja0.js → pty-e3yfb1af.js} +47 -47
  125. package/dist/chunks/{workspace-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{workspace-hhw162s6.js → pty-emvra4z4.js} +43 -43
  127. package/dist/chunks/{workspace-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{workspace-j23gdmwr.js → pty-f0bgfh1c.js} +4 -4
  129. package/dist/chunks/{workspace-n4761yre.js → pty-f3chkn2v.js} +41 -41
  130. package/dist/chunks/{workspace-h1wksrsc.js → pty-fbbqv6gz.js} +43 -43
  131. package/dist/chunks/{workspace-sh2f9rg6.js → pty-fbtpmqp8.js} +17 -17
  132. package/dist/chunks/{workspace-p0fws796.js → pty-ffn2kdck.js} +3 -3
  133. package/dist/chunks/{workspace-1t6ktrk6.js → pty-fj0bt93f.js} +4 -4
  134. package/dist/chunks/{workspace-kcfwfgb0.js → pty-fm1t1259.js} +9 -9
  135. package/dist/chunks/{workspace-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{workspace-nxnh93vj.js → pty-fy2wv845.js} +23 -23
  137. package/dist/chunks/{workspace-y6r56xpd.js → pty-fzgxakwn.js} +8 -8
  138. package/dist/chunks/{workspace-q3pp2a52.js → pty-g02dc5pq.js} +19 -19
  139. package/dist/chunks/{workspace-0tkcw078.js → pty-g51vc6t9.js} +85 -85
  140. package/dist/chunks/{workspace-ryr25ayn.js → pty-g8d3gcyj.js} +7 -7
  141. package/dist/chunks/{workspace-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{workspace-kmz2sf4s.js → pty-ge5c1s9a.js} +22 -22
  143. package/dist/chunks/{workspace-9qv7zabc.js → pty-gns6rj52.js} +8 -8
  144. package/dist/chunks/{workspace-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{workspace-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  146. package/dist/chunks/{workspace-44h5tttr.js → pty-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{workspace-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{workspace-hdnk95c8.js → pty-hdnk95c8.js} +2 -2
  149. package/dist/chunks/{workspace-4rq3593v.js → pty-hemqm6a0.js} +13 -13
  150. package/dist/chunks/{workspace-bkr2fd2q.js → pty-hh3pbsjs.js} +14 -14
  151. package/dist/chunks/{workspace-hnakerc1.js → pty-hkcbg3z4.js} +7 -7
  152. package/dist/chunks/{workspace-gn8pj1cn.js → pty-hp2jeqkr.js} +26 -26
  153. package/dist/chunks/{workspace-dfxnf82f.js → pty-hw6s7maf.js} +7 -7
  154. package/dist/chunks/{workspace-w6qfgxh1.js → pty-j2bad2st.js} +1 -1
  155. package/dist/chunks/{workspace-j56e64zr.js → pty-j56e64zr.js} +1 -1
  156. package/dist/chunks/{workspace-5cmxdwv8.js → pty-jexxy024.js} +3 -3
  157. package/dist/chunks/{workspace-24qy9tjq.js → pty-jg9eaab2.js} +9 -9
  158. package/dist/chunks/{workspace-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
  159. package/dist/chunks/{workspace-9t6hs79b.js → pty-jsh81p2x.js} +32 -32
  160. package/dist/chunks/{workspace-3kcbdbqr.js → pty-jwn5qy9f.js} +44 -44
  161. package/dist/chunks/{workspace-drpagt64.js → pty-jy9pcjq0.js} +14 -14
  162. package/dist/chunks/{workspace-pr5m8t29.js → pty-k0xymqd0.js} +11 -11
  163. package/dist/chunks/{workspace-f5qnaxd5.js → pty-k1603mw5.js} +32 -32
  164. package/dist/chunks/{workspace-557bzdk7.js → pty-k2gcmxmw.js} +16 -16
  165. package/dist/chunks/{workspace-jyw04mjt.js → pty-k6ed90aj.js} +15 -15
  166. package/dist/chunks/{workspace-ydqn5d54.js → pty-kcpq4mkg.js} +22 -22
  167. package/dist/chunks/{workspace-qre22asr.js → pty-kxdabtfm.js} +21 -21
  168. package/dist/chunks/{workspace-n3s6mywg.js → pty-m0f8gg3e.js} +25 -25
  169. package/dist/chunks/{workspace-m0jqrx5p.js → pty-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{workspace-d9p82da7.js → pty-m733xxny.js} +90 -90
  171. package/dist/chunks/{workspace-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{workspace-sv3vsz9b.js → pty-marnn1hp.js} +9 -9
  173. package/dist/chunks/{workspace-jd18ee23.js → pty-mh29eyjv.js} +6 -6
  174. package/dist/chunks/{workspace-qj8eh1ht.js → pty-mjymc32g.js} +4 -4
  175. package/dist/chunks/{workspace-ferfvg3a.js → pty-mnys6tec.js} +30 -30
  176. package/dist/chunks/{workspace-e53azfb2.js → pty-mrk7h3sm.js} +5 -5
  177. package/dist/chunks/{workspace-vm5tazhg.js → pty-nb2s3qfq.js} +10 -10
  178. package/dist/chunks/{workspace-ngz4ns8d.js → pty-ngz4ns8d.js} +1 -1
  179. package/dist/chunks/{workspace-nf6rxady.js → pty-njv35c9c.js} +15 -15
  180. package/dist/chunks/{workspace-pnv527nz.js → pty-nq7qbqzc.js} +9 -9
  181. package/dist/chunks/{workspace-6ksxgt26.js → pty-ntcnr6d2.js} +13 -13
  182. package/dist/chunks/{workspace-e1hrzsan.js → pty-p42y1bm5.js} +12 -12
  183. package/dist/chunks/{workspace-x9gmxsqr.js → pty-p96q0vzc.js} +20 -20
  184. package/dist/chunks/{workspace-0pay1wft.js → pty-p9rg9ssf.js} +13 -13
  185. package/dist/chunks/{workspace-zb3p66an.js → pty-p9zf421h.js} +18 -18
  186. package/dist/chunks/{workspace-f2jvx8nr.js → pty-pddgv2bp.js} +3 -3
  187. package/dist/chunks/{workspace-kha6mgrg.js → pty-pdnjh9qx.js} +6 -6
  188. package/dist/chunks/{workspace-z7ss4npn.js → pty-pgwf6rpj.js} +5 -5
  189. package/dist/chunks/{workspace-dda0p7y7.js → pty-ph20cxtq.js} +9 -9
  190. package/dist/chunks/{workspace-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{workspace-54kwzzdq.js → pty-pjx857cd.js} +22 -22
  192. package/dist/chunks/{workspace-pknna89w.js → pty-pknna89w.js} +1 -1
  193. package/dist/chunks/{workspace-qhetmh9m.js → pty-pqp3n84c.js} +34 -34
  194. package/dist/chunks/{workspace-rf9y195e.js → pty-ps02k4bp.js} +33 -33
  195. package/dist/chunks/{workspace-prvbm2dt.js → pty-pvkmyqfe.js} +32 -32
  196. package/dist/chunks/{workspace-t4s2v6tf.js → pty-px1xpczn.js} +29 -29
  197. package/dist/chunks/{workspace-k1qjy3je.js → pty-pyymvkzv.js} +26 -26
  198. package/dist/chunks/{workspace-xkqrdz3g.js → pty-q1rph7bj.js} +297 -297
  199. package/dist/chunks/{workspace-bct739vz.js → pty-q2b1ymqp.js} +4 -4
  200. package/dist/chunks/{workspace-sj9fhhwe.js → pty-q5rhn9x0.js} +11 -11
  201. package/dist/chunks/{workspace-g2qgxg4m.js → pty-q97sgnf3.js} +20 -20
  202. package/dist/chunks/{workspace-tpv4qbm3.js → pty-q9nw0fkx.js} +12 -12
  203. package/dist/chunks/{workspace-ae2ae2h2.js → pty-qbbxh0je.js} +11 -11
  204. package/dist/chunks/{workspace-08v4tsfk.js → pty-qdw5vfwv.js} +25 -25
  205. package/dist/chunks/{workspace-2rmd4dmq.js → pty-qfk7wg4g.js} +17 -17
  206. package/dist/chunks/{workspace-wbkyxrgf.js → pty-qjnxxf51.js} +5 -5
  207. package/dist/chunks/{workspace-0jejkkqb.js → pty-qncn4jq9.js} +21 -21
  208. package/dist/chunks/{workspace-q1a6wtse.js → pty-qqs6wgn3.js} +56 -56
  209. package/dist/chunks/{workspace-qsdy395h.js → pty-qsdy395h.js} +1 -1
  210. package/dist/chunks/{workspace-6e9fymwp.js → pty-qvzt4t8k.js} +25 -25
  211. package/dist/chunks/{workspace-166kng33.js → pty-qwjmgwmn.js} +8 -8
  212. package/dist/chunks/{workspace-haw093k4.js → pty-qxdvme72.js} +13 -13
  213. package/dist/chunks/{workspace-f88c89hd.js → pty-qybw96f7.js} +18 -18
  214. package/dist/chunks/{workspace-h3nb86px.js → pty-r3p3phz8.js} +28 -28
  215. package/dist/chunks/{workspace-mksgfzgs.js → pty-r72bb3g5.js} +5 -5
  216. package/dist/chunks/{workspace-r9mregkx.js → pty-r9mregkx.js} +2 -2
  217. package/dist/chunks/{workspace-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{workspace-nqbxdrg1.js → pty-rjnqjvjb.js} +20 -20
  219. package/dist/chunks/{workspace-rkdvqggb.js → pty-rkdvqggb.js} +5 -5
  220. package/dist/chunks/{workspace-hmdanemn.js → pty-rmg0m3t1.js} +8 -8
  221. package/dist/chunks/{workspace-5f01x7n9.js → pty-rx2s3z3c.js} +11 -11
  222. package/dist/chunks/{workspace-vq2k7p93.js → pty-s222w9ys.js} +5 -5
  223. package/dist/chunks/{workspace-1d95ekjq.js → pty-s6wn0jv5.js} +3 -3
  224. package/dist/chunks/{workspace-8yydsbjd.js → pty-s7k5x4g9.js} +35 -35
  225. package/dist/chunks/{workspace-fcgp2376.js → pty-s8bmxf4b.js} +9 -9
  226. package/dist/chunks/{workspace-02nrjc1r.js → pty-s8d7rejh.js} +8 -8
  227. package/dist/chunks/{workspace-eeaf82dq.js → pty-sm965ndy.js} +8 -8
  228. package/dist/chunks/{workspace-1xvwk0cv.js → pty-syqyze50.js} +10 -10
  229. package/dist/chunks/{workspace-7pxsyzj5.js → pty-t04gerxp.js} +11 -11
  230. package/dist/chunks/{workspace-tn0aqsam.js → pty-t0fxg8b9.js} +5 -5
  231. package/dist/chunks/{workspace-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{workspace-hzp1jycy.js → pty-tc37dsfn.js} +13 -13
  233. package/dist/chunks/{workspace-akrnn5pm.js → pty-tdhe5xga.js} +8 -8
  234. package/dist/chunks/{workspace-tdstcens.js → pty-tdstcens.js} +1 -1
  235. package/dist/chunks/{workspace-50npgdc7.js → pty-tn7fkxn8.js} +7 -7
  236. package/dist/chunks/{workspace-tvtrv512.js → pty-tvtrv512.js} +1 -1
  237. package/dist/chunks/{workspace-1e30kv18.js → pty-v0af3wsg.js} +32 -32
  238. package/dist/chunks/{workspace-w97vtpxb.js → pty-v1h7jmyp.js} +1 -1
  239. package/dist/chunks/{workspace-xycdmsp4.js → pty-v220wb3t.js} +15 -15
  240. package/dist/chunks/{workspace-m9rx6d56.js → pty-v88sgxh0.js} +12 -12
  241. package/dist/chunks/{workspace-ycjb11n5.js → pty-v8jfbz3g.js} +6 -6
  242. package/dist/chunks/{workspace-veqvce7d.js → pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{workspace-hjf5bpgq.js → pty-vfy19pwe.js} +7 -7
  244. package/dist/chunks/{workspace-xwwstvfa.js → pty-vmgmz9ta.js} +6 -6
  245. package/dist/chunks/pty-vnkjks7b.js +18 -0
  246. package/dist/chunks/{workspace-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{workspace-w1ad28wa.js → pty-w1ad28wa.js} +2 -2
  248. package/dist/chunks/{workspace-ywg8wg6a.js → pty-w3tj97cz.js} +24 -24
  249. package/dist/chunks/{workspace-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{workspace-wd87259q.js → pty-wd87259q.js} +1 -1
  251. package/dist/chunks/{workspace-3a8f6y3z.js → pty-wt5vh4p5.js} +22 -22
  252. package/dist/chunks/{workspace-recbs16k.js → pty-wtpgbvbt.js} +17 -17
  253. package/dist/chunks/{workspace-mpwwdxs9.js → pty-wx6s0tts.js} +45 -45
  254. package/dist/chunks/{workspace-nnsszj5x.js → pty-wz87yraf.js} +11 -11
  255. package/dist/chunks/{workspace-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{workspace-006r7eq0.js → pty-x9h4gx6t.js} +36 -36
  257. package/dist/chunks/{workspace-649s63jv.js → pty-xey2vz2p.js} +13 -13
  258. package/dist/chunks/{workspace-xfkkasph.js → pty-xfkkasph.js} +1 -1
  259. package/dist/chunks/{workspace-12e7zsym.js → pty-xjr9ayca.js} +3 -3
  260. package/dist/chunks/{workspace-4zm0bscy.js → pty-xnwnz12t.js} +5 -5
  261. package/dist/chunks/{workspace-434vz9hf.js → pty-xr777zyz.js} +28 -28
  262. package/dist/chunks/{workspace-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{workspace-vmwh049b.js → pty-ybhbtxjg.js} +6 -6
  264. package/dist/chunks/{workspace-1mk85yvc.js → pty-yjq1h8wq.js} +8 -8
  265. package/dist/chunks/{workspace-cs2qrq3p.js → pty-ykprmxnv.js} +2 -2
  266. package/dist/chunks/{workspace-jycbwh61.js → pty-yqcj214x.js} +24 -24
  267. package/dist/chunks/{workspace-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{workspace-yrznvahk.js → pty-yrznvahk.js} +2 -2
  269. package/dist/chunks/{workspace-3v2xyvmb.js → pty-ywspvke4.js} +54 -54
  270. package/dist/chunks/{workspace-5jvmve75.js → pty-yx4zy76q.js} +4 -4
  271. package/dist/chunks/{workspace-pdztc32c.js → pty-yx6bawja.js} +34 -34
  272. package/dist/chunks/{workspace-5cf6kvbj.js → pty-yztwhtj4.js} +6 -6
  273. package/dist/chunks/{workspace-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{workspace-51rvfzgv.js → pty-z4jy6304.js} +7 -7
  275. package/dist/chunks/{workspace-z63w68vq.js → pty-z63w68vq.js} +2 -2
  276. package/dist/chunks/{workspace-nhg4bpe2.js → pty-z8av1v4k.js} +19 -19
  277. package/dist/chunks/{workspace-b4xn4rcy.js → pty-z8mhsqtq.js} +2 -2
  278. package/dist/chunks/{workspace-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{workspace-j42rmye3.js → pty-zffc062v.js} +20 -20
  280. package/dist/chunks/{workspace-yyy8dy43.js → pty-zgqa5fck.js} +14 -14
  281. package/dist/chunks/{workspace-pcjz9317.js → pty-zpfv5b56.js} +3 -3
  282. package/dist/chunks/{workspace-10ptdfmd.js → pty-zr15egg9.js} +19 -19
  283. package/dist/chunks/{workspace-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{workspace-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{workspace-5zrb9vnx.js → pty-zyr9wvqd.js} +15 -15
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +81 -81
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +122 -122
  294. package/dist/config/plugin/command.js +210 -210
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +124 -124
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +120 -120
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +122 -122
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +141 -141
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +121 -121
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +225 -225
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +94 -94
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +98 -98
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.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 +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +80 -80
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +101 -101
  468. package/dist/mcp/instructions.js +124 -124
  469. package/dist/mcp/oauth.js +77 -77
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +98 -98
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +99 -99
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +79 -79
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +101 -101
  486. package/dist/plugin/command.js +98 -98
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +1 -1
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +91 -91
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +69 -69
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +138 -138
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +3 -3
  543. package/dist/plugin/websearch/firecrawl.js +4 -4
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +2 -2
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +227 -227
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +79 -79
  553. package/dist/provider.js +100 -100
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +222 -222
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +115 -115
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +218 -218
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +106 -106
  622. package/dist/skill.js +109 -109
  623. package/dist/snapshot.js +90 -90
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +119 -119
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +123 -123
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +100 -100
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +110 -110
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +109 -109
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +7 -7
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +75 -75
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +97 -97
  686. package/package.json +8 -8
  687. package/dist/chunks/workspace-0mesazry.js +0 -4
  688. package/dist/chunks/workspace-jeys3fam.js +0 -247
  689. package/dist/chunks/workspace-v1faaxn9.js +0 -18
  690. /package/dist/chunks/{workspace-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{workspace-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{workspace-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{workspace-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{workspace-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{workspace-24dcb14g.js → pty-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{workspace-2710q6r3.js → pty-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{workspace-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{workspace-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{workspace-359p4xyc.js → pty-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{workspace-3asan66x.js → pty-3asan66x.js} +0 -0
  701. /package/dist/chunks/{workspace-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{workspace-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{workspace-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{workspace-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{workspace-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{workspace-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{workspace-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{workspace-53557ph1.js → pty-53557ph1.js} +0 -0
  709. /package/dist/chunks/{workspace-550bvhaj.js → pty-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{workspace-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{workspace-6prwharc.js → pty-6prwharc.js} +0 -0
  712. /package/dist/chunks/{workspace-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{workspace-7m9af43g.js → pty-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{workspace-822emrt2.js → pty-822emrt2.js} +0 -0
  715. /package/dist/chunks/{workspace-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{workspace-8n3pysct.js → pty-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{workspace-922hggd3.js → pty-922hggd3.js} +0 -0
  718. /package/dist/chunks/{workspace-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{workspace-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{workspace-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{workspace-af5trqkr.js → pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{workspace-afrmfg78.js → pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{workspace-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{workspace-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{workspace-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{workspace-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{workspace-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{workspace-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{workspace-d9fn303g.js → pty-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{workspace-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{workspace-dajrwvna.js → pty-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{workspace-dap0rakb.js → pty-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{workspace-df08tz66.js → pty-df08tz66.js} +0 -0
  734. /package/dist/chunks/{workspace-dy18nga0.js → pty-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{workspace-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{workspace-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{workspace-ec1grn59.js → pty-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{workspace-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{workspace-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{workspace-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{workspace-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{workspace-faypxj3z.js → pty-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{workspace-fd410y7t.js → pty-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{workspace-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{workspace-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{workspace-g86h250q.js → pty-g86h250q.js} +0 -0
  747. /package/dist/chunks/{workspace-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{workspace-gftt206x.js → pty-gftt206x.js} +0 -0
  749. /package/dist/chunks/{workspace-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{workspace-hk9envan.js → pty-hk9envan.js} +0 -0
  751. /package/dist/chunks/{workspace-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{workspace-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{workspace-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{workspace-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{workspace-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{workspace-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{workspace-mp448xyj.js → pty-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{workspace-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{workspace-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{workspace-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{workspace-njntx4h6.js → pty-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{workspace-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{workspace-q74kybfr.js → pty-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{workspace-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{workspace-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{workspace-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{workspace-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{workspace-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{workspace-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{workspace-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{workspace-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{workspace-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{workspace-twg0f83k.js → pty-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{workspace-w803qqfp.js → pty-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{workspace-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{workspace-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{workspace-wtztk69x.js → pty-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{workspace-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{workspace-x61499pn.js → pty-x61499pn.js} +0 -0
  780. /package/dist/chunks/{workspace-y44na4kk.js → pty-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{workspace-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{workspace-y8f7s663.js → pty-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{workspace-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{workspace-ym463w8f.js → pty-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{workspace-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./pty-dmje0bsk.js";
1
5
  import {
2
6
  Service81,
3
7
  node85
4
- } from "./workspace-yb45ra6v.js";
5
- import {
6
- Service80,
7
- node84
8
- } from "./workspace-hq5yce46.js";
8
+ } from "./pty-bavdgngm.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./workspace-2rmd4dmq.js";
10
+ Service50,
11
+ node53
12
+ } from "./pty-qfk7wg4g.js";
13
13
  import {
14
- Service61,
15
- node65
16
- } from "./workspace-ycjb11n5.js";
14
+ Service49,
15
+ node52
16
+ } from "./pty-v8jfbz3g.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./workspace-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./workspace-rhraev7y.js";
21
+ make17
22
+ } from "./pty-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service59
26
- } from "./workspace-n4r3xatb.js";
25
+ Service46
26
+ } from "./pty-dhmh7aw6.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./workspace-vmwh049b.js";
29
+ } from "./pty-ybhbtxjg.js";
30
30
  import {
31
- Service72,
32
- node76
33
- } from "./workspace-xycdmsp4.js";
31
+ Service68,
32
+ node72
33
+ } from "./pty-v220wb3t.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./workspace-qzz9148b.js";
36
+ } from "./pty-9172rkmk.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./workspace-hdkexvht.js";
39
+ } from "./pty-dxrx5bve.js";
40
40
  import {
41
41
  __export
42
- } from "./workspace-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service58,
47
+ Service: () => Service45,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node63,
49
+ layer: () => layer19,
50
+ node: () => node49,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service58 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
69
- const store = yield* Service72;
70
- const instances = yield* Service61;
71
- const bus = yield* Service80;
72
- const jobs = yield* Service76;
73
- const db = (yield* Service81).db;
68
+ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
69
+ const store = yield* Service68;
70
+ const instances = yield* Service49;
71
+ const bus = yield* Service81;
72
+ const jobs = yield* Service50;
73
+ const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,13 +82,13 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make19({
91
+ const coordinator = yield* make17({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service58.of({
112
+ return Service45.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node63 = makeGlobalNode({
132
- service: Service58,
133
- layer: layer22,
134
- deps: [node76, node65, node84, node85, node80]
131
+ var node49 = makeGlobalNode({
132
+ service: Service45,
133
+ layer: layer19,
134
+ deps: [node72, node52, node85, node86, node53]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service58, Service58.of({
136
+ var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service58, terminal2, layer22, node63, noopLayer3, exports_execution };
145
+ export { Service45, terminal2, layer19, node49, noopLayer3, exports_execution };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service80
3
- } from "./workspace-hq5yce46.js";
2
+ Service81
3
+ } from "./pty-bavdgngm.js";
4
4
  import {
5
- Service45,
6
- Event11
7
- } from "./workspace-b2gph9tb.js";
5
+ Service55,
6
+ Event10
7
+ } from "./pty-6kqz0sw2.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin20,
15
+ Plugin: () => Plugin16,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service80;
24
- const wellknown = yield* Service45;
23
+ const bus = yield* Service81;
24
+ const wellknown = yield* Service55;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin20 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin20, exports_plugin };
48
+ export { Plugin16, exports_plugin };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./workspace-yb45ra6v.js";
2
+ Service82,
3
+ node86
4
+ } from "./pty-dmje0bsk.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./workspace-02nrjc1r.js";
10
+ } from "./pty-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./workspace-5c4hm403.js";
13
+ } from "./pty-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./workspace-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service29,
25
+ Service: () => Service27,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node32,
29
+ node: () => node30,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service29 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service27 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
65
- key: Key4.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service29, Effect.gen(function* () {
79
- const { db } = yield* Service81;
78
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
79
+ const { db } = yield* Service82;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service29.of({ list, put, remove, load });
111
+ return Service27.of({ list, put, remove, load });
112
112
  }));
113
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node85] });
113
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node32, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node30, exports_instruction_entry };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./workspace-0paq2nw3.js";
4
+ } from "./pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./workspace-psgps3dv.js";
7
+ } from "./pty-850skrb0.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./workspace-kmxp3hgp.js";
11
+ } from "./pty-5exzrj16.js";
12
12
  import {
13
13
  __export
14
- } from "./workspace-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./workspace-dpkg50ah.js";
3
+ } from "./pty-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service2,
13
+ node: () => node3
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service2 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service2.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service2, node3, exports_update };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./workspace-tazgh4e4.js";
3
+ } from "./pty-tazgh4e4.js";
4
4
  import {
5
- ID7,
6
- Service57
7
- } from "./workspace-t4s2v6tf.js";
5
+ ID5,
6
+ Service35
7
+ } from "./pty-px1xpczn.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./workspace-5cmxdwv8.js";
10
+ } from "./pty-jexxy024.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./workspace-vmwh049b.js";
13
+ } from "./pty-ybhbtxjg.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./workspace-5c4hm403.js";
16
+ } from "./pty-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service57;
84
+ const snapshot = yield* Service35;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID7.make(from),
91
- to: ID7.make(to),
90
+ from: ID5.make(from),
91
+ to: ID5.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./pty-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: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make17 = (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(() => {
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make19, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./workspace-2a5m3afh.js";
3
+ } from "./pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./workspace-922hggd3.js";
6
+ } from "./pty-922hggd3.js";
7
7
  import {
8
8
  Service78
9
- } from "./workspace-h04b1w3t.js";
9
+ } from "./pty-e2673aay.js";
10
10
  import {
11
- Service55
12
- } from "./workspace-qre22asr.js";
11
+ Service62
12
+ } from "./pty-kxdabtfm.js";
13
13
  import {
14
- Service54
15
- } from "./workspace-zb3p66an.js";
14
+ Service61
15
+ } from "./pty-p9zf421h.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry4
21
- } from "./workspace-z9pg7np5.js";
21
+ } from "./pty-87gqba2t.js";
22
22
  import {
23
- Service71
24
- } from "./workspace-3v2xyvmb.js";
23
+ Service67
24
+ } from "./pty-ywspvke4.js";
25
25
  import {
26
- Service51
27
- } from "./workspace-nf6rxady.js";
26
+ Service66
27
+ } from "./pty-njv35c9c.js";
28
28
  import {
29
29
  __export
30
- } from "./workspace-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input6,
37
- Output: () => Output5,
38
- Plugin: () => Plugin21,
39
- name: () => name6,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input11,
37
+ Output: () => Output7,
38
+ Plugin: () => Plugin27,
39
+ name: () => name11,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name6 = "glob";
46
- var Input6 = Schema.Struct({
45
+ var name11 = "glob";
46
+ var Input11 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output5 = Schema.Array(Entry4);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output7 = Schema.Array(Entry4);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin21 = {
66
+ var Plugin27 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service55;
70
- const ripgrep = yield* Service54;
69
+ const environment = yield* Service62;
70
+ const ripgrep = yield* Service61;
71
71
  const location = yield* Service78;
72
- const access = yield* Service51;
73
- const permission = yield* Service71;
72
+ const access = yield* Service66;
73
+ const permission = yield* Service67;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name6,
75
+ name: name11,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input6,
79
- output: Output5,
78
+ input: Input11,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name6,
86
+ action: name11,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin21 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name6, Input6, Output5, toModelContent3, Plugin21, exports_glob };
128
+ export { name11, Input11, Output7, toModelContent5, Plugin27, exports_glob };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./workspace-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./workspace-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID8
3
- } from "./workspace-kmxp3hgp.js";
2
+ ID12
3
+ } from "./pty-5exzrj16.js";
4
4
  import {
5
- Service43
6
- } from "./workspace-hhw162s6.js";
5
+ Service40
6
+ } from "./pty-emvra4z4.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./workspace-kha6mgrg.js";
9
+ } from "./pty-pdnjh9qx.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service43;
29
+ const config = yield* Service40;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID8.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make4();
115
+ var VLLMPlugin2 = make5();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make4, VLLMPlugin2 };
137
+ export { make5, VLLMPlugin2 };