@opencode/core 0.0.0-dev-19786 → 0.0.0-dev-19787

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 (794) 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 +68 -68
  7. package/dist/chunks/{worktree-yvtjrsq1.js → pty-00f2f7q8.js} +24 -24
  8. package/dist/chunks/{worktree-2vt4g46n.js → pty-02j327mk.js} +27 -27
  9. package/dist/chunks/{worktree-6j1m79c6.js → pty-08fd96st.js} +6 -6
  10. package/dist/chunks/{worktree-4y303w9z.js → pty-0en0hh3r.js} +4 -4
  11. package/dist/chunks/{worktree-y56ehv6b.js → pty-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{worktree-5n38ptm2.js → pty-0mwa6y39.js} +16 -16
  13. package/dist/chunks/{worktree-jp5vppjv.js → pty-0nw536sy.js} +4 -4
  14. package/dist/chunks/{worktree-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{worktree-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{worktree-fasg9v5a.js → pty-0s0a8jh1.js} +174 -174
  17. package/dist/chunks/{worktree-5rd22f3b.js → pty-0ymsz8rv.js} +8 -8
  18. package/dist/chunks/{worktree-mjhv1wha.js → pty-137n2cjd.js} +5 -5
  19. package/dist/chunks/{worktree-f2n192rq.js → pty-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{worktree-mvfsc1pv.js → pty-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{worktree-jw7v3n98.js → pty-1c5ncfj1.js} +26 -26
  22. package/dist/chunks/{worktree-egnx0mgt.js → pty-1cr9kxrr.js} +32 -32
  23. package/dist/chunks/{worktree-ys4bdtvd.js → pty-1csms2ve.js} +33 -33
  24. package/dist/chunks/{worktree-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{worktree-gdfmbz4s.js → pty-1e7y3jby.js} +5 -5
  26. package/dist/chunks/{worktree-a4vbyqq0.js → pty-1j7jhvrm.js} +18 -18
  27. package/dist/chunks/pty-1qqxsas6.js +252 -0
  28. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  29. package/dist/chunks/{worktree-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  30. package/dist/chunks/{worktree-21r38tys.js → pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{worktree-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  32. package/dist/chunks/{worktree-3ewed21c.js → pty-277eer69.js} +4 -4
  33. package/dist/chunks/{worktree-z63w68vq.js → pty-29x78va6.js} +6 -6
  34. package/dist/chunks/{worktree-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{worktree-dx2wdmpc.js → pty-2b210p4k.js} +23 -23
  36. package/dist/chunks/{worktree-kkr5cxbn.js → pty-2chp5681.js} +23 -23
  37. package/dist/chunks/{worktree-352dzxrn.js → pty-2em355j9.js} +50 -50
  38. package/dist/chunks/{worktree-cmv6f9bd.js → pty-2evd0k84.js} +30 -30
  39. package/dist/chunks/{worktree-1ze21cng.js → pty-2g7r5mvw.js} +11 -11
  40. package/dist/chunks/{worktree-48bv5w94.js → pty-2kv1txj9.js} +9 -9
  41. package/dist/chunks/{worktree-mqw5201m.js → pty-3b9qt4hj.js} +9 -9
  42. package/dist/chunks/{worktree-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{worktree-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{worktree-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{worktree-vg4nn9tt.js → pty-3sqv75dt.js} +11 -11
  46. package/dist/chunks/{worktree-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{worktree-y9qxyczm.js → pty-3zh6rxhw.js} +18 -18
  48. package/dist/chunks/{worktree-jencvzfg.js → pty-44jfm9c6.js} +7 -7
  49. package/dist/chunks/{worktree-egfnhzxk.js → pty-4b3p33ns.js} +42 -42
  50. package/dist/chunks/{worktree-2xc5n587.js → pty-4bgjx4y9.js} +38 -38
  51. package/dist/chunks/{worktree-04enqndv.js → pty-4h75thkr.js} +18 -18
  52. package/dist/chunks/{worktree-2a2zhc3v.js → pty-4jeaa92r.js} +6 -6
  53. package/dist/chunks/{worktree-5vkfrnd8.js → pty-4kyk22vj.js} +43 -43
  54. package/dist/chunks/{worktree-kej5q4ky.js → pty-4p0kgrzt.js} +1 -1
  55. package/dist/chunks/{worktree-rmc821pf.js → pty-4rr74z9v.js} +8 -8
  56. package/dist/chunks/{worktree-0ke265bw.js → pty-57ez7d0k.js} +5 -5
  57. package/dist/chunks/{worktree-atnvsyyy.js → pty-57q53s15.js} +11 -11
  58. package/dist/chunks/{worktree-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  59. package/dist/chunks/{worktree-5daktx2q.js → pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/pty-5qekf1cr.js +26 -0
  61. package/dist/chunks/{worktree-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{worktree-4ctxht0a.js → pty-5tvckp52.js} +26 -26
  63. package/dist/chunks/{worktree-efskn69j.js → pty-5xdv3y65.js} +24 -24
  64. package/dist/chunks/{worktree-br0tr5aq.js → pty-5yzzbxa7.js} +8 -8
  65. package/dist/chunks/{worktree-669tq793.js → pty-669tq793.js} +1 -1
  66. package/dist/chunks/{worktree-kjqh1yxe.js → pty-6avas0hs.js} +5 -5
  67. package/dist/chunks/{worktree-fr0wf22j.js → pty-6ejv29z8.js} +25 -25
  68. package/dist/chunks/{worktree-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{worktree-paegk39x.js → pty-6p3xbzsx.js} +4 -4
  70. package/dist/chunks/{worktree-hxy9p1j4.js → pty-6tc74vrw.js} +15 -15
  71. package/dist/chunks/{worktree-yx7aeq6j.js → pty-6vgkbqsf.js} +11 -11
  72. package/dist/chunks/{worktree-pfcm4e2t.js → pty-6wkd5avw.js} +30 -30
  73. package/dist/chunks/{worktree-t0w541at.js → pty-6zvnhsg3.js} +28 -28
  74. package/dist/chunks/{worktree-gck4x0yv.js → pty-74e549sx.js} +15 -15
  75. package/dist/chunks/{worktree-fxqygnfa.js → pty-7ac170kv.js} +4 -4
  76. package/dist/chunks/{worktree-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{worktree-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{worktree-v5zbexrb.js → pty-7nrhymjj.js} +24 -24
  79. package/dist/chunks/{worktree-wpm2rk0p.js → pty-7qq3ahcc.js} +6 -6
  80. package/dist/chunks/{worktree-g59fec1k.js → pty-7t8e8ps1.js} +11 -11
  81. package/dist/chunks/{worktree-n3k12czw.js → pty-7xnx6cga.js} +35 -35
  82. package/dist/chunks/{worktree-p44d8wdy.js → pty-809q4hne.js} +5 -5
  83. package/dist/chunks/{worktree-gmjjhz4f.js → pty-834a0b17.js} +7 -7
  84. package/dist/chunks/{worktree-11qxjnwn.js → pty-899tt7an.js} +26 -26
  85. package/dist/chunks/{worktree-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{worktree-yb3spt80.js → pty-8ev4rrc0.js} +4 -4
  87. package/dist/chunks/{worktree-mw934p8z.js → pty-8ha6ga5e.js} +8 -8
  88. package/dist/chunks/{worktree-k6c7vfzw.js → pty-8kgt14gf.js} +23 -23
  89. package/dist/chunks/{worktree-nx8bwbma.js → pty-8msxkbjy.js} +29 -29
  90. package/dist/chunks/{worktree-1xyq38ba.js → pty-8npqseq9.js} +15 -15
  91. package/dist/chunks/{worktree-qkvc6zdp.js → pty-8v55y81p.js} +26 -26
  92. package/dist/chunks/{worktree-emcas405.js → pty-8zqxjytc.js} +10 -10
  93. package/dist/chunks/{worktree-jkepba1g.js → pty-9mmr4cym.js} +17 -17
  94. package/dist/chunks/{worktree-yb90qen6.js → pty-9n4prt69.js} +13 -13
  95. package/dist/chunks/{worktree-gjg8myr7.js → pty-9sqkv26s.js} +44 -44
  96. package/dist/chunks/{worktree-zqeffdkx.js → pty-9yyvrqyy.js} +24 -24
  97. package/dist/chunks/{worktree-rswh72q4.js → pty-a5frg3c7.js} +9 -9
  98. package/dist/chunks/{worktree-aaet6srn.js → pty-aaet6srn.js} +2 -2
  99. package/dist/chunks/{worktree-h97ghsst.js → pty-abyxqag4.js} +4 -4
  100. package/dist/chunks/{worktree-cv42xg6h.js → pty-aqvz20a2.js} +10 -10
  101. package/dist/chunks/{worktree-cerv3vyz.js → pty-az62kead.js} +9 -9
  102. package/dist/chunks/{worktree-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{worktree-79m0gshw.js → pty-b6yzcphf.js} +11 -11
  104. package/dist/chunks/{worktree-91mgkbnq.js → pty-b785ew1k.js} +84 -84
  105. package/dist/chunks/{worktree-pqkghsa1.js → pty-bd89c7qa.js} +11 -11
  106. package/dist/chunks/{worktree-73vr0mv3.js → pty-be3g221r.js} +19 -19
  107. package/dist/chunks/{worktree-qbs3m11x.js → pty-bkjtrpfb.js} +24 -24
  108. package/dist/chunks/{worktree-891w0k4k.js → pty-bky20j8j.js} +9 -9
  109. package/dist/chunks/{worktree-2vkv0cnq.js → pty-bm3m92rh.js} +12 -12
  110. package/dist/chunks/{worktree-kxrysg97.js → pty-brqzv7bg.js} +28 -28
  111. package/dist/chunks/{worktree-98qyphw1.js → pty-bwbrqz0a.js} +10 -10
  112. package/dist/chunks/{worktree-tennbh37.js → pty-bxgqktpk.js} +24 -24
  113. package/dist/chunks/{worktree-x52bhdm3.js → pty-byqk2fv6.js} +24 -24
  114. package/dist/chunks/{worktree-bgrhz2qd.js → pty-c2qj7f61.js} +16 -16
  115. package/dist/chunks/{worktree-ea5pzae2.js → pty-c9g527t4.js} +34 -34
  116. package/dist/chunks/{worktree-3etfrgmm.js → pty-ch7ar4cr.js} +22 -22
  117. package/dist/chunks/{worktree-97w5rk9e.js → pty-cq9vh2fv.js} +8 -8
  118. package/dist/chunks/{worktree-cw30v4cn.js → pty-cy7q8w9z.js} +10 -10
  119. package/dist/chunks/{worktree-kcqxfy54.js → pty-czhz2k7d.js} +11 -11
  120. package/dist/chunks/{worktree-ptm80rvs.js → pty-d58ea4wx.js} +8 -8
  121. package/dist/chunks/{worktree-r1ab995x.js → pty-d7tjjqf6.js} +6 -6
  122. package/dist/chunks/{worktree-xp8r7stt.js → pty-dcsznwm0.js} +17 -17
  123. package/dist/chunks/{worktree-saaf3fxb.js → pty-dhwr7h25.js} +11 -11
  124. package/dist/chunks/{worktree-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{worktree-drwq78ky.js → pty-drwq78ky.js} +1 -1
  126. package/dist/chunks/{worktree-bpe9edxa.js → pty-e0r8ercz.js} +11 -11
  127. package/dist/chunks/{worktree-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{worktree-3h7n30se.js → pty-e41je68c.js} +3 -3
  129. package/dist/chunks/{worktree-bchad5r9.js → pty-e9wrjfx0.js} +50 -50
  130. package/dist/chunks/{worktree-7v1e5ggg.js → pty-eaznszq2.js} +26 -26
  131. package/dist/chunks/{worktree-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{worktree-5a2bhhk2.js → pty-eq9606cq.js} +42 -42
  133. package/dist/chunks/{worktree-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{worktree-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{worktree-qssnpgtf.js → pty-f1cvcqqp.js} +23 -23
  136. package/dist/chunks/{worktree-knb7evpn.js → pty-fkjmw100.js} +6 -6
  137. package/dist/chunks/{worktree-g8d3gcyj.js → pty-fm2qvscf.js} +7 -7
  138. package/dist/chunks/{worktree-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{worktree-jca4demv.js → pty-g2yz86wh.js} +2 -2
  140. package/dist/chunks/{worktree-vy52bkvf.js → pty-g9q532r4.js} +1 -1
  141. package/dist/chunks/{worktree-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{worktree-3ppptnan.js → pty-gjmk74th.js} +6 -6
  143. package/dist/chunks/{worktree-nrjsavn4.js → pty-gq6z7eg4.js} +26 -26
  144. package/dist/chunks/{worktree-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{worktree-40yvm8mv.js → pty-gydxxgyg.js} +15 -15
  146. package/dist/chunks/{worktree-2y34zzjz.js → pty-gzbkpp9m.js} +4 -4
  147. package/dist/chunks/{worktree-kj5jtrjw.js → pty-gzfs38sx.js} +23 -23
  148. package/dist/chunks/{worktree-tg3vth51.js → pty-h3c20vca.js} +4 -4
  149. package/dist/chunks/{worktree-8z00fdkb.js → pty-h6r3nrb9.js} +4 -4
  150. package/dist/chunks/{worktree-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{worktree-9t5725tz.js → pty-h8w3rnrc.js} +8 -8
  152. package/dist/chunks/{worktree-f828m53h.js → pty-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{worktree-p732wtvd.js → pty-hfs4qywr.js} +32 -32
  154. package/dist/chunks/{worktree-kkee341m.js → pty-hn8hcjvd.js} +3 -3
  155. package/dist/chunks/{worktree-8genm1rm.js → pty-hr990vwq.js} +40 -40
  156. package/dist/chunks/{worktree-67yjsjje.js → pty-hsv1w0ka.js} +64 -33
  157. package/dist/chunks/{worktree-x7pykh9x.js → pty-htekf6zf.js} +9 -9
  158. package/dist/chunks/{worktree-vpdbt6f3.js → pty-hyag3rfz.js} +11 -11
  159. package/dist/chunks/{worktree-x2fsbb45.js → pty-j2e43x50.js} +34 -34
  160. package/dist/chunks/{worktree-j56e64zr.js → pty-j56e64zr.js} +1 -1
  161. package/dist/chunks/{worktree-tcg29b4q.js → pty-j5786zrt.js} +1 -1
  162. package/dist/chunks/{worktree-8w211mg0.js → pty-jdbtptns.js} +30 -30
  163. package/dist/chunks/{worktree-gjtye2vm.js → pty-jnzdfagj.js} +5 -5
  164. package/dist/chunks/{worktree-s6srgh84.js → pty-jqe5ka82.js} +17 -17
  165. package/dist/chunks/{worktree-7s451enq.js → pty-k1gkpfdk.js} +8 -8
  166. package/dist/chunks/{worktree-k3c624dm.js → pty-k3c624dm.js} +3 -3
  167. package/dist/chunks/{worktree-c71z4xdm.js → pty-kb0jenp9.js} +20 -20
  168. package/dist/chunks/{worktree-7dqtr61s.js → pty-kbmk2nk1.js} +2 -2
  169. package/dist/chunks/{worktree-xjwkwtp6.js → pty-kk61yved.js} +15 -15
  170. package/dist/chunks/{worktree-2eqxfp0f.js → pty-kmrnkd77.js} +3 -3
  171. package/dist/chunks/{worktree-ksp79sx9.js → pty-kss3k1ej.js} +23 -23
  172. package/dist/chunks/{worktree-7qrhk883.js → pty-kz37x8hb.js} +83 -83
  173. package/dist/chunks/{worktree-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  174. package/dist/chunks/{worktree-jqbbnhze.js → pty-m2taxsaw.js} +10 -10
  175. package/dist/chunks/{worktree-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{worktree-ezhgv383.js → pty-m5mra8ny.js} +13 -13
  177. package/dist/chunks/{worktree-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{worktree-rqwdmbz9.js → pty-mg0hvqns.js} +24 -24
  179. package/dist/chunks/{worktree-ptwjer8q.js → pty-mv5tqpbn.js} +17 -17
  180. package/dist/chunks/{worktree-8zc4hgbz.js → pty-mwfspft0.js} +9 -9
  181. package/dist/chunks/{worktree-aqjys6xa.js → pty-mx4hjh21.js} +32 -32
  182. package/dist/chunks/{worktree-h9r9fv56.js → pty-mxr6rdrb.js} +16 -16
  183. package/dist/chunks/{worktree-mg4r3kp3.js → pty-n5zcbnsa.js} +36 -36
  184. package/dist/chunks/{worktree-ear7p3c0.js → pty-n7b52vzq.js} +20 -20
  185. package/dist/chunks/{worktree-c2kxfk76.js → pty-nam2k8jt.js} +10 -10
  186. package/dist/chunks/pty-nbctyxha.js +488 -0
  187. package/dist/chunks/{worktree-6jppzzhm.js → pty-nbqevg8t.js} +13 -13
  188. package/dist/chunks/{worktree-rymj624c.js → pty-npbak50e.js} +9 -9
  189. package/dist/chunks/{worktree-yjptyezs.js → pty-p1nm93x7.js} +5 -5
  190. package/dist/chunks/{worktree-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
  191. package/dist/chunks/{worktree-kq20shcj.js → pty-p3j3z1wm.js} +24 -24
  192. package/dist/chunks/{worktree-aemx4jfn.js → pty-p5hkqs15.js} +3 -3
  193. package/dist/chunks/{worktree-pb9y5tzb.js → pty-p8x8xcsb.js} +12 -12
  194. package/dist/chunks/{worktree-qh0240ge.js → pty-p91ndb2v.js} +46 -46
  195. package/dist/chunks/pty-pf31ssb9.js +18 -0
  196. package/dist/chunks/{worktree-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{worktree-pknna89w.js → pty-pknna89w.js} +1 -1
  198. package/dist/chunks/{worktree-wjahessk.js → pty-pwyph8fp.js} +11 -11
  199. package/dist/chunks/{worktree-cqastrjb.js → pty-pxnzv34t.js} +15 -15
  200. package/dist/chunks/{worktree-rswfs2n2.js → pty-q36t7h4b.js} +3 -3
  201. package/dist/chunks/{worktree-tpbw80pw.js → pty-q9k3nk2m.js} +12 -12
  202. package/dist/chunks/{worktree-as4zy6vm.js → pty-qf8xbt1v.js} +6 -6
  203. package/dist/chunks/{worktree-q12fs922.js → pty-qmg269n7.js} +13 -13
  204. package/dist/chunks/{worktree-eg49wf4x.js → pty-qph7hyw7.js} +4 -4
  205. package/dist/chunks/{worktree-sx1n432n.js → pty-qq11w61w.js} +4 -4
  206. package/dist/chunks/{worktree-68034420.js → pty-qqrhpyxk.js} +18 -18
  207. package/dist/chunks/{worktree-qsdy395h.js → pty-qsdy395h.js} +1 -1
  208. package/dist/chunks/{worktree-w418y777.js → pty-qtwarjwz.js} +11 -11
  209. package/dist/chunks/{worktree-nnxdhk5c.js → pty-qz49fwgp.js} +6 -6
  210. package/dist/chunks/{worktree-c765mh8b.js → pty-r2m716tb.js} +5 -5
  211. package/dist/chunks/{worktree-sncnr08v.js → pty-r3grxea3.js} +23 -23
  212. package/dist/chunks/{worktree-cxs7v5sj.js → pty-rbs0ef4y.js} +32 -32
  213. package/dist/chunks/{worktree-nv07z01f.js → pty-rccz2tys.js} +6 -6
  214. package/dist/chunks/{worktree-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{worktree-n6ewyaym.js → pty-rf9y12ds.js} +5 -5
  216. package/dist/chunks/{worktree-f79e7k6s.js → pty-rgt3cf1f.js} +10 -10
  217. package/dist/chunks/{worktree-fhs97t90.js → pty-rhafb4aa.js} +5 -5
  218. package/dist/chunks/{worktree-w1pnds27.js → pty-rjkasajw.js} +17 -17
  219. package/dist/chunks/{worktree-3z13rd8a.js → pty-rrnpfv6a.js} +20 -20
  220. package/dist/chunks/{worktree-3s6m3xx6.js → pty-rsd57mk1.js} +14 -14
  221. package/dist/chunks/{worktree-fdtfpwha.js → pty-s1mn6qcj.js} +8 -8
  222. package/dist/chunks/{worktree-qppnxmq1.js → pty-s1wc6ad4.js} +15 -15
  223. package/dist/chunks/{worktree-fzmcda3j.js → pty-s4ajyzwp.js} +17 -17
  224. package/dist/chunks/{worktree-yrznvahk.js → pty-s4enseaf.js} +2 -2
  225. package/dist/chunks/{worktree-pw2fq9db.js → pty-s6qp1k48.js} +5 -5
  226. package/dist/chunks/{worktree-02nrjc1r.js → pty-s8d7rejh.js} +8 -8
  227. package/dist/chunks/{worktree-y04dpqf4.js → pty-sbycj2hd.js} +15 -15
  228. package/dist/chunks/{worktree-vj52mgyq.js → pty-sd8zp0nj.js} +4 -4
  229. package/dist/chunks/{worktree-r2fqvpfx.js → pty-sk1rxzc5.js} +14 -14
  230. package/dist/chunks/{worktree-1xsagsv9.js → pty-ssr8tzqd.js} +7 -7
  231. package/dist/chunks/{worktree-z5hgzkz0.js → pty-stdr0dsx.js} +20 -20
  232. package/dist/chunks/{worktree-r3pbwjbk.js → pty-sy45410j.js} +20 -20
  233. package/dist/chunks/{worktree-rnjmkr11.js → pty-t4h1a8sm.js} +10 -10
  234. package/dist/chunks/{worktree-r43w5d2a.js → pty-t62nene4.js} +50 -50
  235. package/dist/chunks/{worktree-8cgz7b85.js → pty-t96c7fmv.js} +25 -25
  236. package/dist/chunks/{worktree-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{worktree-28gpn7ce.js → pty-tb60vd7q.js} +4 -4
  238. package/dist/chunks/{worktree-89znhe33.js → pty-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{worktree-tdstcens.js → pty-tdstcens.js} +1 -1
  240. package/dist/chunks/{worktree-rfdt8g4x.js → pty-teerv99t.js} +64 -64
  241. package/dist/chunks/{worktree-e516v6v9.js → pty-tk66bvfd.js} +20 -20
  242. package/dist/chunks/{worktree-0y84g9dp.js → pty-tqg72d4k.js} +17 -17
  243. package/dist/chunks/{worktree-9r04htgm.js → pty-tvkyymax.js} +6 -6
  244. package/dist/chunks/{worktree-tvtrv512.js → pty-tvtrv512.js} +1 -1
  245. package/dist/chunks/{worktree-p3srhck7.js → pty-v58jy1xd.js} +11 -11
  246. package/dist/chunks/{worktree-p1h8wft8.js → pty-v68hp2va.js} +47 -47
  247. package/dist/chunks/{worktree-veqvce7d.js → pty-veqvce7d.js} +1 -1
  248. package/dist/chunks/{worktree-p85a1qhf.js → pty-vjrtmzpa.js} +5 -5
  249. package/dist/chunks/{worktree-6e8z0jrw.js → pty-vk0pdsgf.js} +32 -32
  250. package/dist/chunks/{worktree-1x4qbafh.js → pty-vkwcxm6e.js} +5 -5
  251. package/dist/chunks/{worktree-s1ndejzt.js → pty-vqf3rr9z.js} +17 -17
  252. package/dist/chunks/{worktree-g190xswt.js → pty-vsp1fds9.js} +21 -21
  253. package/dist/chunks/{worktree-ay6nbv33.js → pty-vyhtd5az.js} +36 -36
  254. package/dist/chunks/{worktree-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{worktree-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{worktree-p3ms0v6j.js → pty-waqpjwb8.js} +3 -3
  257. package/dist/chunks/{worktree-an77xd2b.js → pty-wcs8mysc.js} +28 -28
  258. package/dist/chunks/{worktree-wd87259q.js → pty-wd87259q.js} +1 -1
  259. package/dist/chunks/{worktree-994b2pxg.js → pty-wr7ps67x.js} +5 -5
  260. package/dist/chunks/{worktree-pbsj02a2.js → pty-wvh43mtc.js} +21 -21
  261. package/dist/chunks/{worktree-cfqgz3t8.js → pty-wzdyyep8.js} +8 -8
  262. package/dist/chunks/{worktree-18e56dsp.js → pty-x0511brf.js} +4 -4
  263. package/dist/chunks/{worktree-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{worktree-fz3rwrdq.js → pty-x31dz1np.js} +41 -41
  265. package/dist/chunks/{worktree-zd4g673n.js → pty-x5pjsa02.js} +12 -12
  266. package/dist/chunks/{worktree-aar3e3j0.js → pty-xdw3myhw.js} +22 -22
  267. package/dist/chunks/{worktree-c746w9ce.js → pty-xgqsyfnn.js} +16 -16
  268. package/dist/chunks/{worktree-q3t37ft6.js → pty-xkhfjrgz.js} +3 -3
  269. package/dist/chunks/{worktree-rwcdkc4s.js → pty-xseb90fg.js} +10 -10
  270. package/dist/chunks/{worktree-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{worktree-dpkg50ah.js → pty-y71avatq.js} +4 -4
  272. package/dist/chunks/{worktree-y89k24cj.js → pty-ynxbryrd.js} +20 -20
  273. package/dist/chunks/{worktree-0c8jn50h.js → pty-yqngptm3.js} +19 -19
  274. package/dist/chunks/{worktree-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{worktree-r90yh4s3.js → pty-ywdxak5q.js} +37 -37
  276. package/dist/chunks/{worktree-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{worktree-gnykwcvs.js → pty-z27wwaqb.js} +11 -11
  278. package/dist/chunks/{worktree-tn0aqsam.js → pty-z3pw5915.js} +5 -5
  279. package/dist/chunks/{worktree-wjrcy753.js → pty-z50h5snd.js} +20 -20
  280. package/dist/chunks/{worktree-6ycjtwdb.js → pty-z62c9ayt.js} +12 -12
  281. package/dist/chunks/{worktree-gst7axd9.js → pty-zav06jzw.js} +4 -4
  282. package/dist/chunks/{worktree-3f2v0gwp.js → pty-ze9yakes.js} +14 -14
  283. package/dist/chunks/{worktree-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{worktree-npp86ptg.js → pty-zg25sgvs.js} +9 -9
  285. package/dist/chunks/{worktree-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-hptze64w.js → pty-zvkwbpx3.js} +13 -13
  287. package/dist/chunks/{worktree-jn8151j6.js → pty-zwp73gaw.js} +17 -17
  288. package/dist/chunks/{worktree-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{worktree-cbch6rr6.js → pty-zy742dcv.js} +32 -32
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +121 -121
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +367 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +4 -4
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +358 -358
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +129 -129
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +355 -355
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +95 -95
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +329 -329
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +348 -348
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +228 -228
  557. package/dist/project/schema.js +4 -4
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +97 -97
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +127 -127
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +218 -218
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +11 -11
  626. package/dist/shell.js +137 -137
  627. package/dist/skill/discovery.js +4 -4
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +122 -122
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +107 -107
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/types/job.d.ts +3 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/worktree-0mesazry.js +0 -4
  696. package/dist/chunks/worktree-9sh4wc5j.js +0 -18
  697. package/dist/chunks/worktree-cvb3zs8g.js +0 -26
  698. package/dist/chunks/worktree-nvmavsm4.js +0 -252
  699. package/dist/chunks/worktree-qqfjyj17.js +0 -488
  700. /package/dist/chunks/{worktree-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{worktree-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{worktree-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{worktree-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{worktree-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{worktree-24dcb14g.js → pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{worktree-2710q6r3.js → pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{worktree-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{worktree-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{worktree-359p4xyc.js → pty-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{worktree-3asan66x.js → pty-3asan66x.js} +0 -0
  711. /package/dist/chunks/{worktree-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{worktree-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{worktree-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{worktree-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{worktree-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{worktree-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{worktree-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{worktree-53557ph1.js → pty-53557ph1.js} +0 -0
  719. /package/dist/chunks/{worktree-550bvhaj.js → pty-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{worktree-6prwharc.js → pty-6prwharc.js} +0 -0
  721. /package/dist/chunks/{worktree-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{worktree-7m9af43g.js → pty-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{worktree-822emrt2.js → pty-822emrt2.js} +0 -0
  724. /package/dist/chunks/{worktree-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{worktree-8n3pysct.js → pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{worktree-922hggd3.js → pty-922hggd3.js} +0 -0
  727. /package/dist/chunks/{worktree-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{worktree-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{worktree-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{worktree-af5trqkr.js → pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{worktree-afrmfg78.js → pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{worktree-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{worktree-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{worktree-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{worktree-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{worktree-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{worktree-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{worktree-d9fn303g.js → pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{worktree-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{worktree-dajrwvna.js → pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{worktree-dap0rakb.js → pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{worktree-df08tz66.js → pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{worktree-dy18nga0.js → pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{worktree-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{worktree-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{worktree-ec1grn59.js → pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{worktree-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{worktree-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{worktree-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{worktree-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{worktree-faypxj3z.js → pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{worktree-fd410y7t.js → pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{worktree-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{worktree-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{worktree-g86h250q.js → pty-g86h250q.js} +0 -0
  756. /package/dist/chunks/{worktree-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{worktree-gftt206x.js → pty-gftt206x.js} +0 -0
  758. /package/dist/chunks/{worktree-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{worktree-hk9envan.js → pty-hk9envan.js} +0 -0
  760. /package/dist/chunks/{worktree-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{worktree-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{worktree-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{worktree-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{worktree-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{worktree-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{worktree-mp448xyj.js → pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{worktree-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{worktree-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{worktree-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{worktree-njntx4h6.js → pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{worktree-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{worktree-q74kybfr.js → pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{worktree-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{worktree-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{worktree-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{worktree-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{worktree-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{worktree-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{worktree-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{worktree-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{worktree-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{worktree-twg0f83k.js → pty-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{worktree-w803qqfp.js → pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{worktree-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{worktree-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{worktree-wtztk69x.js → pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{worktree-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{worktree-x61499pn.js → pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{worktree-y44na4kk.js → pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{worktree-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{worktree-y8f7s663.js → pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{worktree-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{worktree-ym463w8f.js → pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{worktree-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service83
3
- } from "./worktree-p3ms0v6j.js";
3
+ } from "./pty-waqpjwb8.js";
4
4
  import {
5
5
  Service82
6
- } from "./worktree-eg49wf4x.js";
6
+ } from "./pty-qph7hyw7.js";
7
7
  import {
8
- Service40
9
- } from "./worktree-3ppptnan.js";
8
+ Service51
9
+ } from "./pty-gjmk74th.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./worktree-fxbjtjnd.js";
12
+ } from "./pty-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./worktree-gftt206x.js";
15
+ } from "./pty-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,38 +20,38 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./worktree-gmjjhz4f.js";
23
+ } from "./pty-834a0b17.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./worktree-ec1grn59.js";
26
+ } from "./pty-ec1grn59.js";
27
27
  import {
28
28
  Service66
29
- } from "./worktree-tpbw80pw.js";
29
+ } from "./pty-q9k3nk2m.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service38
34
- } from "./worktree-y89k24cj.js";
33
+ Service49
34
+ } from "./pty-ynxbryrd.js";
35
35
  import {
36
- Service36
37
- } from "./worktree-mg4r3kp3.js";
36
+ Service47
37
+ } from "./pty-n5zcbnsa.js";
38
38
  import {
39
39
  prepare2
40
- } from "./worktree-h9r9fv56.js";
40
+ } from "./pty-mxr6rdrb.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./worktree-ear7p3c0.js";
45
+ } from "./pty-n7b52vzq.js";
46
46
  import {
47
47
  start2
48
- } from "./worktree-x7pykh9x.js";
48
+ } from "./pty-htekf6zf.js";
49
49
  import {
50
50
  get4
51
- } from "./worktree-891w0k4k.js";
51
+ } from "./pty-bky20j8j.js";
52
52
  import {
53
53
  __export
54
- } from "./worktree-9rqn6x4v.js";
54
+ } from "./pty-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -66,9 +66,9 @@ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service82;
67
67
  const database = yield* Service83;
68
68
  const store = yield* Service66;
69
- const instances = yield* Service40;
70
- const execution = yield* Service36;
71
- const admission = yield* Service38;
69
+ const instances = yield* Service51;
70
+ const execution = yield* Service47;
71
+ const admission = yield* Service49;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service40, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service51, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./worktree-eg49wf4x.js";
5
+ } from "./pty-qph7hyw7.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service6,
14
+ Service: () => Service4,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node8
16
+ layer: () => layer4,
17
+ node: () => node5
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service6 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service4 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service4, Effect.gen(function* () {
26
26
  const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service6.of({
29
+ return Service4.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node86] });
36
+ var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node86] });
37
37
 
38
- export { Updated2, Service6, layer6, node8, exports_sdk };
38
+ export { Updated2, Service4, layer4, node5, exports_sdk };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82
3
- } from "./worktree-eg49wf4x.js";
3
+ } from "./pty-qph7hyw7.js";
4
4
  import {
5
5
  key2
6
- } from "./worktree-8z00fdkb.js";
6
+ } from "./pty-h6r3nrb9.js";
7
7
  import {
8
- Event13
9
- } from "./worktree-pfcm4e2t.js";
8
+ Event19
9
+ } from "./pty-6wkd5avw.js";
10
10
  import {
11
- ID9
12
- } from "./worktree-nx8bwbma.js";
11
+ ID14
12
+ } from "./pty-8msxkbjy.js";
13
13
  import {
14
- ID8,
15
- Service54
16
- } from "./worktree-egnx0mgt.js";
14
+ ID13,
15
+ Service75
16
+ } from "./pty-1cr9kxrr.js";
17
17
  import {
18
- load2,
19
- derive2
20
- } from "./worktree-ksp79sx9.js";
18
+ load3,
19
+ derive3
20
+ } from "./pty-kss3k1ej.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID8.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service54;
29
+ const providers = yield* Service75;
30
30
  const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load2(baseURL, apiKey),
48
+ try: () => load3(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service63,
3
- node66,
2
+ Service53,
3
+ node56,
4
4
  canonical3
5
- } from "./worktree-cerv3vyz.js";
5
+ } from "./pty-az62kead.js";
6
6
  import {
7
- Service40,
8
- node42
9
- } from "./worktree-3ppptnan.js";
7
+ Service51,
8
+ node54
9
+ } from "./pty-gjmk74th.js";
10
10
  import {
11
- Service13
12
- } from "./worktree-7v1e5ggg.js";
11
+ Service62
12
+ } from "./pty-eaznszq2.js";
13
13
  import {
14
14
  layer2
15
- } from "./worktree-nvmavsm4.js";
15
+ } from "./pty-1qqxsas6.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service63, Effect.gen(function* () {
20
+ return Layer.effect(Service53, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service13);
30
+ const lifecycle = Context.get(exit.value, Service62);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node42.replace(Layer.succeed(Service40, {
57
+ node54.replace(Layer.succeed(Service51, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node66.replace(Layer.succeed(Service63, map))
61
+ node56.replace(Layer.succeed(Service53, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID14,
3
- Service68
4
- } from "./worktree-qssnpgtf.js";
2
+ ID10,
3
+ Service67
4
+ } from "./pty-f1cvcqqp.js";
5
5
  import {
6
6
  Ref2,
7
- Service53
8
- } from "./worktree-cxs7v5sj.js";
7
+ Service73
8
+ } from "./pty-rbs0ef4y.js";
9
9
  import {
10
10
  latest2,
11
- Service46
12
- } from "./worktree-qh0240ge.js";
11
+ Service69
12
+ } from "./pty-p91ndb2v.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./worktree-q3t37ft6.js";
15
+ } from "./pty-xkhfjrgz.js";
16
16
  import {
17
- Service41
18
- } from "./worktree-67yjsjje.js";
17
+ Service52
18
+ } from "./pty-hsv1w0ka.js";
19
19
  import {
20
20
  evaluate2,
21
- Service65
22
- } from "./worktree-352dzxrn.js";
21
+ Service64
22
+ } from "./pty-2em355j9.js";
23
23
  import {
24
- Service23
25
- } from "./worktree-91mgkbnq.js";
24
+ Service14
25
+ } from "./pty-b785ew1k.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./worktree-x1ezjp6w.js";
28
+ } from "./pty-x1ezjp6w.js";
29
29
  import {
30
- make5
31
- } from "./worktree-yx7aeq6j.js";
30
+ make10
31
+ } from "./pty-6vgkbqsf.js";
32
32
  import {
33
33
  __export
34
- } from "./worktree-9rqn6x4v.js";
34
+ } from "./pty-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input2,
40
- Output: () => Output2,
41
- Plugin: () => Plugin21,
39
+ Input: () => Input9,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin43,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description5,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input2 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output2 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin21 = {
89
+ var Plugin43 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service23;
93
- const jobs = yield* Service41;
94
- const agents = yield* Service68;
95
- const config = yield* Service46;
96
- const permission = yield* Service65;
97
- const models = yield* Service53;
98
- const subagents = yield* make5;
92
+ const sessions = yield* Service14;
93
+ const jobs = yield* Service52;
94
+ const agents = yield* Service67;
95
+ const config = yield* Service69;
96
+ const permission = yield* Service64;
97
+ const models = yield* Service73;
98
+ const subagents = yield* make10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin21 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description5,
121
+ input: Input9,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin21 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name2,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin21 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID14.make(input.agent),
171
+ agent: ID10.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name2];
221
+ const tool = event.tools[name9];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name2, Input2, Output2, description2, Plugin21, exports_subagent };
244
+ export { name9, Input9, Output5, description5, Plugin43, exports_subagent };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./worktree-3w5fmr99.js";
7
+ } from "./pty-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./worktree-k3c624dm.js";
11
+ } from "./pty-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./worktree-rdw6cm16.js";
14
+ } from "./pty-rdw6cm16.js";
15
15
  import {
16
- Service70,
17
- node73
18
- } from "./worktree-mqw5201m.js";
16
+ Service42,
17
+ node45
18
+ } from "./pty-3b9qt4hj.js";
19
19
  import {
20
- Service71,
21
- node74
22
- } from "./worktree-7s451enq.js";
20
+ Service68,
21
+ node72
22
+ } from "./pty-k1gkpfdk.js";
23
23
  import {
24
24
  match2
25
- } from "./worktree-y1fvbwt7.js";
25
+ } from "./pty-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./pty-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
34
+ Content: () => Content3,
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service69,
38
+ Service: () => Service41,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node72
41
+ node: () => node44
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service69 extends Context.Service()("@opencode/Tool") {
54
+ class Service41 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service69, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service70;
56
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
57
+ const hooks = yield* Service68;
58
+ const image = yield* Service42;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service69.of({
187
+ return Service41.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -272,10 +272,10 @@ function namespaceError(name) {
272
272
  return;
273
273
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
274
274
  }
275
- var node72 = makeLocationNode({
276
- service: Service69,
275
+ var node44 = makeLocationNode({
276
+ service: Service41,
277
277
  layer,
278
- deps: [node74, node73]
278
+ deps: [node72, node45]
279
279
  });
280
280
 
281
- export { RegistrationError2, Service69, node72, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
281
+ export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-vg4nn9tt.js";
3
+ } from "./pty-3sqv75dt.js";
4
4
  import {
5
5
  call2
6
- } from "./worktree-56gdpj1q.js";
6
+ } from "./pty-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin4,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://search.parallel.ai/mcp";
21
+ var endpoint2 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin37 = define({
50
+ var Plugin4 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin37 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin37 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint6, Plugin37, exports_parallel };
96
+ export { endpoint2, Plugin4, exports_parallel };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};