@opencode/core 0.0.0-dev-20000 → 0.0.0-dev-20001

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 (796) 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/{model-resolver-m7t37vek.js → persistent-pty-02vnja26.js} +2 -2
  8. package/dist/chunks/{model-resolver-05szsj41.js → persistent-pty-0301v5d4.js} +11 -11
  9. package/dist/chunks/{model-resolver-z4068eyq.js → persistent-pty-03wgpffp.js} +8 -8
  10. package/dist/chunks/{model-resolver-begh0jjd.js → persistent-pty-06j82gr5.js} +17 -17
  11. package/dist/chunks/{model-resolver-4hndnerf.js → persistent-pty-0jdct4vn.js} +6 -6
  12. package/dist/chunks/{model-resolver-2fgn2we9.js → persistent-pty-0ke265bw.js} +7 -7
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{model-resolver-xj9c03pw.js → persistent-pty-0shdscng.js} +68 -68
  16. package/dist/chunks/{model-resolver-tx9w5tca.js → persistent-pty-0xezjjjn.js} +8 -8
  17. package/dist/chunks/{model-resolver-zmf7epqt.js → persistent-pty-0ytdgy0f.js} +24 -24
  18. package/dist/chunks/{model-resolver-s0hza5ac.js → persistent-pty-1080qp6z.js} +4 -4
  19. package/dist/chunks/{model-resolver-fbfs1p3d.js → persistent-pty-12ygs1y2.js} +25 -25
  20. package/dist/chunks/persistent-pty-1b8jsvpy.js +252 -0
  21. package/dist/chunks/{model-resolver-bzpr344t.js → persistent-pty-1bmd05sh.js} +26 -26
  22. package/dist/chunks/{model-resolver-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{model-resolver-4z2468ba.js → persistent-pty-1js78yem.js} +22 -22
  24. package/dist/chunks/{model-resolver-dtqg9ce1.js → persistent-pty-1nwxscpy.js} +5 -5
  25. package/dist/chunks/{model-resolver-aczm2rxs.js → persistent-pty-1rf1qtgk.js} +28 -28
  26. package/dist/chunks/{model-resolver-n96ncz0a.js → persistent-pty-1vmwvk68.js} +35 -35
  27. package/dist/chunks/{model-resolver-0m8zc7zn.js → persistent-pty-1zpw9mw1.js} +12 -12
  28. package/dist/chunks/{model-resolver-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  30. package/dist/chunks/{model-resolver-thj49w3f.js → persistent-pty-251fq3yt.js} +7 -7
  31. package/dist/chunks/{model-resolver-3agcf731.js → persistent-pty-26s3bdt9.js} +43 -43
  32. package/dist/chunks/{model-resolver-wa5fn18k.js → persistent-pty-27b310mf.js} +11 -11
  33. package/dist/chunks/{model-resolver-krbbkavy.js → persistent-pty-28zq9rra.js} +14 -14
  34. package/dist/chunks/{model-resolver-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{model-resolver-2wkarfxb.js → persistent-pty-2jjexhp9.js} +17 -17
  36. package/dist/chunks/{model-resolver-mdm19ygt.js → persistent-pty-2kbmmw84.js} +17 -17
  37. package/dist/chunks/{model-resolver-x9mtwtp0.js → persistent-pty-2q6kkxxq.js} +4 -4
  38. package/dist/chunks/{model-resolver-28hv8daj.js → persistent-pty-2sjbwh8c.js} +13 -13
  39. package/dist/chunks/{model-resolver-4k3f784t.js → persistent-pty-2xfper2k.js} +9 -9
  40. package/dist/chunks/{model-resolver-tc4pcybw.js → persistent-pty-348snc1t.js} +36 -36
  41. package/dist/chunks/{model-resolver-g83zqadm.js → persistent-pty-37rrne4q.js} +1 -1
  42. package/dist/chunks/{model-resolver-sk1h1qsj.js → persistent-pty-3baz7vjv.js} +5 -5
  43. package/dist/chunks/{model-resolver-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{model-resolver-eg6f78tx.js → persistent-pty-3grpvr0x.js} +7 -7
  45. package/dist/chunks/{model-resolver-6a9wqxav.js → persistent-pty-3h6p5hfd.js} +21 -21
  46. package/dist/chunks/{model-resolver-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{model-resolver-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{model-resolver-44ke2mar.js → persistent-pty-3tq5qxbk.js} +8 -8
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-tz2bjj40.js → persistent-pty-3w0fmcng.js} +5 -5
  51. package/dist/chunks/{model-resolver-58jf3t5q.js → persistent-pty-3wggxd0g.js} +45 -45
  52. package/dist/chunks/{model-resolver-cb3fxghj.js → persistent-pty-4146b8yh.js} +3 -3
  53. package/dist/chunks/{model-resolver-qvb3nf84.js → persistent-pty-4c2df9zx.js} +8 -8
  54. package/dist/chunks/{model-resolver-pqfrnb1v.js → persistent-pty-4ddzh0v1.js} +10 -10
  55. package/dist/chunks/{model-resolver-xfv3pavf.js → persistent-pty-4eyny2x4.js} +24 -24
  56. package/dist/chunks/{model-resolver-qa42b0qm.js → persistent-pty-4n7mevx0.js} +30 -30
  57. package/dist/chunks/{model-resolver-g36s099n.js → persistent-pty-4tma0fsr.js} +11 -11
  58. package/dist/chunks/{model-resolver-yjptyezs.js → persistent-pty-510m7gjw.js} +5 -5
  59. package/dist/chunks/{model-resolver-t9w9gn5n.js → persistent-pty-532h92k8.js} +22 -22
  60. package/dist/chunks/{model-resolver-xfkkasph.js → persistent-pty-57b9ws8p.js} +7 -7
  61. package/dist/chunks/{model-resolver-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  62. package/dist/chunks/{model-resolver-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{model-resolver-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  64. package/dist/chunks/{model-resolver-a7k9f908.js → persistent-pty-5et4qy09.js} +15 -15
  65. package/dist/chunks/{model-resolver-qyb91t3f.js → persistent-pty-5fznqp73.js} +6 -6
  66. package/dist/chunks/{model-resolver-n71jfxt4.js → persistent-pty-5pp3ynyy.js} +85 -85
  67. package/dist/chunks/{model-resolver-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{model-resolver-g0445xdp.js → persistent-pty-5xtgfte3.js} +6 -6
  69. package/dist/chunks/{model-resolver-3fm5zfbn.js → persistent-pty-63t8mypd.js} +16 -16
  70. package/dist/chunks/{model-resolver-669tq793.js → persistent-pty-669tq793.js} +1 -1
  71. package/dist/chunks/{model-resolver-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{model-resolver-b66nv89x.js → persistent-pty-6v3qmmgj.js} +18 -18
  73. package/dist/chunks/{model-resolver-c488s98d.js → persistent-pty-74rrnwt7.js} +5 -5
  74. package/dist/chunks/{model-resolver-1jqe3dpm.js → persistent-pty-7ag8gg1a.js} +7 -7
  75. package/dist/chunks/{model-resolver-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{model-resolver-k0t2epba.js → persistent-pty-7crdshgt.js} +11 -11
  77. package/dist/chunks/{model-resolver-g0kbvjej.js → persistent-pty-7dvgeykw.js} +24 -24
  78. package/dist/chunks/persistent-pty-7fj5dwt0.js +18 -0
  79. package/dist/chunks/{model-resolver-qtv9ncch.js → persistent-pty-7kvmecgy.js} +18 -18
  80. package/dist/chunks/{model-resolver-7kpff7kp.js → persistent-pty-7sfnpa80.js} +8 -8
  81. package/dist/chunks/{model-resolver-nb8wcjkv.js → persistent-pty-7xpfs8hq.js} +19 -19
  82. package/dist/chunks/{model-resolver-fj98xnxf.js → persistent-pty-7zgnt065.js} +23 -23
  83. package/dist/chunks/{model-resolver-h01nhy7h.js → persistent-pty-89mvg365.js} +4 -4
  84. package/dist/chunks/{model-resolver-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{model-resolver-6wjgjjys.js → persistent-pty-8e18ys7f.js} +20 -20
  86. package/dist/chunks/{model-resolver-5t68c6r6.js → persistent-pty-91mb3y5y.js} +11 -11
  87. package/dist/chunks/{model-resolver-ra9qb9xd.js → persistent-pty-94acgbaq.js} +27 -27
  88. package/dist/chunks/{model-resolver-zz8q6pd3.js → persistent-pty-9pswcrc4.js} +18 -18
  89. package/dist/chunks/{model-resolver-4b6qd0e2.js → persistent-pty-9zjxkq4z.js} +3 -3
  90. package/dist/chunks/{model-resolver-qhmmrrfr.js → persistent-pty-a3n22e4k.js} +15 -15
  91. package/dist/chunks/{model-resolver-jca4demv.js → persistent-pty-a3r4dcrj.js} +2 -2
  92. package/dist/chunks/{model-resolver-w35rqvbd.js → persistent-pty-a8mfdwnk.js} +47 -47
  93. package/dist/chunks/{model-resolver-atazjj4k.js → persistent-pty-aa0gpb6n.js} +3 -3
  94. package/dist/chunks/{model-resolver-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{model-resolver-yt0fqk68.js → persistent-pty-af04s6ss.js} +5 -5
  96. package/dist/chunks/{model-resolver-9erfw3e9.js → persistent-pty-aqsacfjy.js} +10 -10
  97. package/dist/chunks/{model-resolver-yx9ma9ke.js → persistent-pty-arz3vx5k.js} +15 -15
  98. package/dist/chunks/{model-resolver-yr3ev74z.js → persistent-pty-b1rzham2.js} +8 -8
  99. package/dist/chunks/{model-resolver-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{model-resolver-jmjny7z7.js → persistent-pty-brkzx8ca.js} +44 -44
  101. package/dist/chunks/{model-resolver-fpq9acqp.js → persistent-pty-bw9zjykr.js} +6 -6
  102. package/dist/chunks/{model-resolver-v1n7f3bv.js → persistent-pty-bzw5p0v3.js} +38 -38
  103. package/dist/chunks/{model-resolver-bktrs35w.js → persistent-pty-c3ewdk9q.js} +35 -35
  104. package/dist/chunks/{model-resolver-my074bcz.js → persistent-pty-c3tmynma.js} +47 -47
  105. package/dist/chunks/{model-resolver-rfh2gm6b.js → persistent-pty-c5drhkvr.js} +15 -15
  106. package/dist/chunks/{model-resolver-76h15cea.js → persistent-pty-c8x40s92.js} +15 -15
  107. package/dist/chunks/{model-resolver-fj17ffs4.js → persistent-pty-c9ex5cwa.js} +81 -81
  108. package/dist/chunks/{model-resolver-g190xswt.js → persistent-pty-cavr175a.js} +4 -4
  109. package/dist/chunks/{model-resolver-cdfabfzn.js → persistent-pty-ccs2c1bh.js} +41 -41
  110. package/dist/chunks/{model-resolver-c6wsyg9f.js → persistent-pty-cehc4fcm.js} +7 -7
  111. package/dist/chunks/{model-resolver-jkh9wndb.js → persistent-pty-cq27jvec.js} +9 -9
  112. package/dist/chunks/{model-resolver-4j9e7cf8.js → persistent-pty-cqh1h3gn.js} +17 -17
  113. package/dist/chunks/{model-resolver-cggswk6d.js → persistent-pty-cr5b1n6y.js} +5 -5
  114. package/dist/chunks/{model-resolver-174jbkxj.js → persistent-pty-cw86rn5q.js} +11 -11
  115. package/dist/chunks/{model-resolver-79qaa2kf.js → persistent-pty-cwa6csj7.js} +9 -9
  116. package/dist/chunks/{model-resolver-vhh0q4nc.js → persistent-pty-cxbap5yk.js} +17 -17
  117. package/dist/chunks/{model-resolver-k922v2jb.js → persistent-pty-cy0spz2z.js} +36 -36
  118. package/dist/chunks/{model-resolver-7edpsxsq.js → persistent-pty-d16x3hw8.js} +22 -22
  119. package/dist/chunks/{model-resolver-vtr3qy6y.js → persistent-pty-d2s3wkz4.js} +9 -9
  120. package/dist/chunks/{model-resolver-d5fw341f.js → persistent-pty-d48vtfkp.js} +16 -16
  121. package/dist/chunks/{model-resolver-z9mxambq.js → persistent-pty-d4j0d6g7.js} +10 -10
  122. package/dist/chunks/{model-resolver-str9ee35.js → persistent-pty-d5b6jkc9.js} +5 -5
  123. package/dist/chunks/{model-resolver-zdewk29h.js → persistent-pty-de2bbkbe.js} +3 -3
  124. package/dist/chunks/{model-resolver-ck7nwdye.js → persistent-pty-df1v60n5.js} +8 -8
  125. package/dist/chunks/{model-resolver-k9d40v1y.js → persistent-pty-dg2cj1yd.js} +4 -4
  126. package/dist/chunks/{model-resolver-5qkxfyep.js → persistent-pty-dg5bcj4q.js} +6 -6
  127. package/dist/chunks/{model-resolver-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  128. package/dist/chunks/{model-resolver-bx0s8vkw.js → persistent-pty-dpdgxbb1.js} +15 -15
  129. package/dist/chunks/{model-resolver-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{model-resolver-f2f4fq37.js → persistent-pty-dra9bm4c.js} +12 -12
  131. package/dist/chunks/{model-resolver-0x74s4t4.js → persistent-pty-dsn3ey9m.js} +22 -22
  132. package/dist/chunks/{model-resolver-8v5x5jkq.js → persistent-pty-dw2g2n7y.js} +22 -22
  133. package/dist/chunks/{model-resolver-38xyry6s.js → persistent-pty-dy85ckvv.js} +29 -29
  134. package/dist/chunks/{model-resolver-mv0cq2z8.js → persistent-pty-e4erjdx3.js} +5 -5
  135. package/dist/chunks/{model-resolver-1s3p39g4.js → persistent-pty-e6hd9jay.js} +6 -6
  136. package/dist/chunks/{model-resolver-4xhhjths.js → persistent-pty-e942ejx1.js} +8 -8
  137. package/dist/chunks/{model-resolver-eaj1djv9.js → persistent-pty-eaj1djv9.js} +1 -1
  138. package/dist/chunks/{model-resolver-9a7hdk7d.js → persistent-pty-ed86yh56.js} +11 -11
  139. package/dist/chunks/{model-resolver-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-resolver-ashh1ge4.js → persistent-pty-efvcp6ns.js} +11 -11
  141. package/dist/chunks/{model-resolver-2k6pk5vr.js → persistent-pty-ejx6caqb.js} +4 -4
  142. package/dist/chunks/{model-resolver-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{model-resolver-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{model-resolver-s96k9d5p.js → persistent-pty-f1mqex3k.js} +27 -27
  145. package/dist/chunks/{model-resolver-sd9tm8pe.js → persistent-pty-f52kf95x.js} +14 -14
  146. package/dist/chunks/{model-resolver-cynj0k86.js → persistent-pty-factba7n.js} +3 -3
  147. package/dist/chunks/{model-resolver-pmt63s4b.js → persistent-pty-feex15hn.js} +16 -16
  148. package/dist/chunks/{model-resolver-v17cfwww.js → persistent-pty-fmgpc4my.js} +27 -27
  149. package/dist/chunks/{model-resolver-4fbyhaeh.js → persistent-pty-fmz924ae.js} +4 -4
  150. package/dist/chunks/{model-resolver-pk8w8bk6.js → persistent-pty-fq9618wy.js} +6 -6
  151. package/dist/chunks/{model-resolver-snvbvate.js → persistent-pty-ft0qtczr.js} +8 -8
  152. package/dist/chunks/{model-resolver-rweywjj1.js → persistent-pty-fwkkykk2.js} +10 -10
  153. package/dist/chunks/{model-resolver-vvge8z52.js → persistent-pty-g11rfc9f.js} +5 -5
  154. package/dist/chunks/{model-resolver-818pfwc9.js → persistent-pty-g8jasmdt.js} +8 -8
  155. package/dist/chunks/{model-resolver-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{model-resolver-84zcxbc9.js → persistent-pty-gg4dpy88.js} +5 -5
  157. package/dist/chunks/persistent-pty-ghg0rxwy.js +26 -0
  158. package/dist/chunks/{model-resolver-bha4atvq.js → persistent-pty-gnx4ytbv.js} +4 -4
  159. package/dist/chunks/{model-resolver-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{model-resolver-pdwdsh5k.js → persistent-pty-gwda3vg2.js} +11 -11
  161. package/dist/chunks/{model-resolver-spf3as2g.js → persistent-pty-h3ek80ta.js} +8 -8
  162. package/dist/chunks/{model-resolver-4wv1b6rs.js → persistent-pty-h4n5n8rw.js} +4 -4
  163. package/dist/chunks/{model-resolver-44h5tttr.js → persistent-pty-h6r3nrb9.js} +4 -4
  164. package/dist/chunks/{model-resolver-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{model-resolver-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{model-resolver-5hn0anhr.js → persistent-pty-hqt5d750.js} +19 -19
  167. package/dist/chunks/{model-resolver-qh2rvgcy.js → persistent-pty-hrqvzjyr.js} +18 -18
  168. package/dist/chunks/{model-resolver-vm3q9gwz.js → persistent-pty-hse91znn.js} +9 -9
  169. package/dist/chunks/{model-resolver-s4waqpsd.js → persistent-pty-j260a8hh.js} +13 -13
  170. package/dist/chunks/{model-resolver-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{model-resolver-yp71q2zj.js → persistent-pty-j8z3d1d1.js} +25 -25
  172. package/dist/chunks/{model-resolver-2ky1fxdg.js → persistent-pty-jatykmcp.js} +14 -14
  173. package/dist/chunks/{model-resolver-dm8zbqys.js → persistent-pty-jbbq3td5.js} +9 -9
  174. package/dist/chunks/{model-resolver-yyafvb72.js → persistent-pty-jbmcst8e.js} +3 -3
  175. package/dist/chunks/{model-resolver-q3t37ft6.js → persistent-pty-jexxy024.js} +3 -3
  176. package/dist/chunks/{model-resolver-1vpcg86p.js → persistent-pty-jpbtdz7j.js} +17 -17
  177. package/dist/chunks/{model-resolver-cz7kh7dr.js → persistent-pty-jptceg29.js} +33 -33
  178. package/dist/chunks/{model-resolver-7jasy514.js → persistent-pty-k17td3rr.js} +4 -4
  179. package/dist/chunks/{model-resolver-4arb9zza.js → persistent-pty-k1qrnqst.js} +8 -8
  180. package/dist/chunks/{model-resolver-sqy4ahhk.js → persistent-pty-k53npxr2.js} +1 -1
  181. package/dist/chunks/{model-resolver-qyyztgt2.js → persistent-pty-k5bqq78w.js} +5 -5
  182. package/dist/chunks/{model-resolver-3fpk5dv0.js → persistent-pty-k61k5w90.js} +26 -26
  183. package/dist/chunks/{model-resolver-dngkxtp1.js → persistent-pty-kmm1f1wa.js} +5 -5
  184. package/dist/chunks/{model-resolver-h6awx5kd.js → persistent-pty-kskhsqm3.js} +11 -11
  185. package/dist/chunks/{model-resolver-bjgp5qsh.js → persistent-pty-kygpjxdc.js} +8 -8
  186. package/dist/chunks/{model-resolver-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/{model-resolver-24dd53tp.js → persistent-pty-m2d0j7c0.js} +5 -5
  188. package/dist/chunks/{model-resolver-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{model-resolver-tbjske3a.js → persistent-pty-m3ktmgc5.js} +13 -13
  190. package/dist/chunks/{model-resolver-9ax1p4ye.js → persistent-pty-m4b2b706.js} +32 -32
  191. package/dist/chunks/{model-resolver-mdjvh782.js → persistent-pty-m688y65p.js} +11 -11
  192. package/dist/chunks/{model-resolver-6219dr34.js → persistent-pty-m7d2j08w.js} +4 -4
  193. package/dist/chunks/{model-resolver-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{model-resolver-mfqp6xfm.js → persistent-pty-mfqp6xfm.js} +2 -2
  195. package/dist/chunks/{model-resolver-8pccpkv9.js → persistent-pty-mzvzs703.js} +12 -12
  196. package/dist/chunks/{model-resolver-ed6vg7gg.js → persistent-pty-n3d06r9t.js} +24 -24
  197. package/dist/chunks/{model-resolver-whxapjwv.js → persistent-pty-n5mghb8v.js} +9 -9
  198. package/dist/chunks/{model-resolver-ckd8zaaf.js → persistent-pty-nax8v91w.js} +21 -21
  199. package/dist/chunks/{model-resolver-k64bnwpa.js → persistent-pty-nnspx4pw.js} +6 -6
  200. package/dist/chunks/{model-resolver-y0vc2xyv.js → persistent-pty-ns89s3d7.js} +15 -15
  201. package/dist/chunks/{model-resolver-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
  202. package/dist/chunks/{model-resolver-d14vprx8.js → persistent-pty-p127k79g.js} +8 -8
  203. package/dist/chunks/{model-resolver-tbz0fdvh.js → persistent-pty-p28j5sbe.js} +5 -5
  204. package/dist/chunks/{model-resolver-nz2zjb46.js → persistent-pty-p776grxc.js} +24 -24
  205. package/dist/chunks/{model-resolver-kh9zez9n.js → persistent-pty-p7y4s0m8.js} +12 -12
  206. package/dist/chunks/{model-resolver-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{model-resolver-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  208. package/dist/chunks/{model-resolver-a233dc7h.js → persistent-pty-pnnq9hbh.js} +26 -26
  209. package/dist/chunks/{model-resolver-5a56x6pe.js → persistent-pty-ppke3c5n.js} +3 -3
  210. package/dist/chunks/{model-resolver-7entrr9d.js → persistent-pty-pq009wkf.js} +27 -27
  211. package/dist/chunks/{model-resolver-9mxycm4n.js → persistent-pty-pq64y31t.js} +11 -11
  212. package/dist/chunks/{model-resolver-bgpjdstn.js → persistent-pty-q6t4s3zd.js} +1 -1
  213. package/dist/chunks/{model-resolver-fdv30zvt.js → persistent-pty-qa3qhgw8.js} +5 -5
  214. package/dist/chunks/{model-resolver-aqe8m42w.js → persistent-pty-qc5ntz1d.js} +26 -26
  215. package/dist/chunks/{model-resolver-pnc3prtr.js → persistent-pty-qcvmd6b9.js} +18 -18
  216. package/dist/chunks/{model-resolver-p13zq1q5.js → persistent-pty-qe6yd3vy.js} +20 -20
  217. package/dist/chunks/{model-resolver-6jd6xyvr.js → persistent-pty-qfckc8ww.js} +25 -25
  218. package/dist/chunks/{model-resolver-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
  219. package/dist/chunks/{model-resolver-nzrwgsp4.js → persistent-pty-qhc1hnsx.js} +7 -7
  220. package/dist/chunks/{model-resolver-nx8b8w69.js → persistent-pty-qj49ekh6.js} +5 -5
  221. package/dist/chunks/{model-resolver-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  222. package/dist/chunks/{model-resolver-nhjaecst.js → persistent-pty-qsf83v83.js} +33 -33
  223. package/dist/chunks/{model-resolver-9f502qc3.js → persistent-pty-qyc7x7z5.js} +21 -21
  224. package/dist/chunks/{model-resolver-n7xx8kr6.js → persistent-pty-r1hamq85.js} +21 -21
  225. package/dist/chunks/{model-resolver-j028xdjb.js → persistent-pty-r5x6zcsm.js} +3 -3
  226. package/dist/chunks/{model-resolver-tk3x1716.js → persistent-pty-r9byqgec.js} +13 -13
  227. package/dist/chunks/{model-resolver-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{model-resolver-zga4qn8p.js → persistent-pty-re97pqet.js} +13 -13
  229. package/dist/chunks/{model-resolver-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
  230. package/dist/chunks/{model-resolver-7c2qk6yp.js → persistent-pty-rkn362zb.js} +14 -14
  231. package/dist/chunks/{model-resolver-c2fgwm5w.js → persistent-pty-rnfswt5s.js} +33 -33
  232. package/dist/chunks/{model-resolver-zz841dsp.js → persistent-pty-rzpbq8m1.js} +15 -15
  233. package/dist/chunks/{model-resolver-ax3ghaez.js → persistent-pty-sjj5q5p7.js} +11 -11
  234. package/dist/chunks/{model-resolver-t44e5ekz.js → persistent-pty-svvemcs6.js} +3 -3
  235. package/dist/chunks/{model-resolver-pmr4s4kc.js → persistent-pty-sx1n432n.js} +4 -4
  236. package/dist/chunks/{model-resolver-mty6m7w9.js → persistent-pty-t35mr6en.js} +21 -21
  237. package/dist/chunks/{model-resolver-e4s55qb8.js → persistent-pty-t5ehz8va.js} +23 -23
  238. package/dist/chunks/{model-resolver-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{model-resolver-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{model-resolver-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  241. package/dist/chunks/{model-resolver-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{model-resolver-kstfjgce.js → persistent-pty-v710rhrc.js} +18 -18
  243. package/dist/chunks/{model-resolver-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  244. package/dist/chunks/{model-resolver-9h82tyv8.js → persistent-pty-vftqyr62.js} +25 -25
  245. package/dist/chunks/{model-resolver-c9fwgwbn.js → persistent-pty-vh5e817s.js} +19 -19
  246. package/dist/chunks/{model-resolver-fb5x04t9.js → persistent-pty-vpshg2tm.js} +4 -4
  247. package/dist/chunks/{model-resolver-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{model-resolver-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/persistent-pty-w53xn0nw.js +503 -0
  250. package/dist/chunks/{model-resolver-hw06r73w.js → persistent-pty-warmmh1m.js} +3 -3
  251. package/dist/chunks/{model-resolver-0tc3z27w.js → persistent-pty-wchatq2q.js} +17 -17
  252. package/dist/chunks/{model-resolver-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{model-resolver-71n90aqe.js → persistent-pty-wqgbc62j.js} +44 -44
  254. package/dist/chunks/{model-resolver-wwxnzhtj.js → persistent-pty-wrzkdsf5.js} +17 -17
  255. package/dist/chunks/{model-resolver-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{model-resolver-g0jvtwam.js → persistent-pty-x6vejd3b.js} +28 -28
  257. package/dist/chunks/{model-resolver-frznjamf.js → persistent-pty-x75m8cnz.js} +15 -15
  258. package/dist/chunks/{model-resolver-vqpavwsp.js → persistent-pty-xfbn00ej.js} +10 -10
  259. package/dist/chunks/{model-resolver-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{model-resolver-srfprz60.js → persistent-pty-y2m72ezy.js} +16 -16
  261. package/dist/chunks/{model-resolver-zp6gb285.js → persistent-pty-y2pttbdt.js} +6 -6
  262. package/dist/chunks/{model-resolver-bzgcn0jp.js → persistent-pty-y56ehv6b.js} +9 -9
  263. package/dist/chunks/{model-resolver-gyrg5twe.js → persistent-pty-y575bkyz.js} +43 -43
  264. package/dist/chunks/{model-resolver-h90v2x9d.js → persistent-pty-y6mhz57t.js} +4 -4
  265. package/dist/chunks/{model-resolver-xec6pqx5.js → persistent-pty-y7k45b13.js} +171 -171
  266. package/dist/chunks/{model-resolver-ycwdbjxs.js → persistent-pty-y81fdv5s.js} +5 -5
  267. package/dist/chunks/{model-resolver-gmjjhz4f.js → persistent-pty-ybhbtxjg.js} +3 -3
  268. package/dist/chunks/{model-resolver-xbtb5td3.js → persistent-pty-yfwykd95.js} +7 -7
  269. package/dist/chunks/{model-resolver-h8h70yyk.js → persistent-pty-yjdjwa94.js} +5 -5
  270. package/dist/chunks/{model-resolver-x9hfrad7.js → persistent-pty-ykr3afan.js} +10 -10
  271. package/dist/chunks/{model-resolver-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{model-resolver-vj84vw6v.js → persistent-pty-yrrfxzmt.js} +14 -14
  273. package/dist/chunks/{model-resolver-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  274. package/dist/chunks/{model-resolver-hj6m6sww.js → persistent-pty-yzzhc2zs.js} +23 -23
  275. package/dist/chunks/{model-resolver-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-resolver-r6k8j3qp.js → persistent-pty-z0wq6kh9.js} +39 -39
  277. package/dist/chunks/{model-resolver-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  278. package/dist/chunks/{model-resolver-zst1va42.js → persistent-pty-z9qyhhpt.js} +8 -8
  279. package/dist/chunks/{model-resolver-yvp2mdaf.js → persistent-pty-ze7293fq.js} +20 -20
  280. package/dist/chunks/{model-resolver-f73rjn58.js → persistent-pty-zee1rnkq.js} +4 -4
  281. package/dist/chunks/{model-resolver-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{model-resolver-9n0wq1sz.js → persistent-pty-zekjwgez.js} +10 -10
  283. package/dist/chunks/{model-resolver-zvwz45r0.js → persistent-pty-zg3tcem2.js} +9 -9
  284. package/dist/chunks/{model-resolver-3ksyz8es.js → persistent-pty-zhcafb9x.js} +28 -28
  285. package/dist/chunks/{model-resolver-awxzdy28.js → persistent-pty-zpqymkmv.js} +13 -13
  286. package/dist/chunks/{model-resolver-ez8b3w29.js → persistent-pty-zqm1r2z0.js} +11 -11
  287. package/dist/chunks/{model-resolver-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-resolver-4perdbh7.js → persistent-pty-zvberzsv.js} +15 -15
  289. package/dist/chunks/{model-resolver-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +11 -11
  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 +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  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 +129 -129
  308. package/dist/config/plugin/policy.js +123 -123
  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 +120 -120
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +123 -123
  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 +82 -82
  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 +369 -369
  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 +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +100 -100
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +99 -99
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +6 -6
  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 +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  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 +357 -357
  471. package/dist/location.js +82 -82
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +108 -108
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +83 -83
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +3 -3
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +119 -119
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +85 -85
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +89 -89
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +207 -207
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +105 -105
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +117 -117
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +117 -117
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +120 -120
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +106 -106
  647. package/dist/tool/plugin/subagent.js +216 -216
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +117 -117
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +93 -93
  695. package/package.json +8 -8
  696. package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
  697. package/dist/chunks/model-resolver-appk1rsm.js +0 -252
  698. package/dist/chunks/model-resolver-kdqm869a.js +0 -503
  699. package/dist/chunks/model-resolver-qpq35ba3.js +0 -26
  700. /package/dist/chunks/{model-resolver-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  701. /package/dist/chunks/{model-resolver-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{model-resolver-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{model-resolver-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{model-resolver-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{model-resolver-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{model-resolver-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{model-resolver-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{model-resolver-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{model-resolver-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{model-resolver-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  720. /package/dist/chunks/{model-resolver-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{model-resolver-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{model-resolver-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  723. /package/dist/chunks/{model-resolver-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{model-resolver-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{model-resolver-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  726. /package/dist/chunks/{model-resolver-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{model-resolver-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{model-resolver-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  729. /package/dist/chunks/{model-resolver-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{model-resolver-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{model-resolver-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{model-resolver-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{model-resolver-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{model-resolver-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{model-resolver-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{model-resolver-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{model-resolver-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{model-resolver-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{model-resolver-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{model-resolver-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{model-resolver-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{model-resolver-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{model-resolver-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{model-resolver-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{model-resolver-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{model-resolver-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{model-resolver-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{model-resolver-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{model-resolver-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{model-resolver-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{model-resolver-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{model-resolver-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{model-resolver-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  758. /package/dist/chunks/{model-resolver-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{model-resolver-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  760. /package/dist/chunks/{model-resolver-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{model-resolver-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  762. /package/dist/chunks/{model-resolver-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{model-resolver-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{model-resolver-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{model-resolver-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{model-resolver-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{model-resolver-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{model-resolver-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-resolver-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{model-resolver-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{model-resolver-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{model-resolver-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./model-resolver-4b6qd0e2.js";
3
+ } from "./persistent-pty-9zjxkq4z.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-fb5x04t9.js";
6
+ } from "./persistent-pty-vpshg2tm.js";
7
7
  import {
8
- Service59
9
- } from "./model-resolver-fpq9acqp.js";
8
+ Service62
9
+ } from "./persistent-pty-bw9zjykr.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./model-resolver-922hggd3.js";
12
+ } from "./persistent-pty-922hggd3.js";
13
13
  import {
14
- ID7,
15
- Service55
16
- } from "./model-resolver-yp71q2zj.js";
14
+ ID6,
15
+ Service47
16
+ } from "./persistent-pty-j8z3d1d1.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./persistent-pty-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./model-resolver-gftt206x.js";
22
+ } from "./persistent-pty-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./model-resolver-gmjjhz4f.js";
25
+ } from "./persistent-pty-ybhbtxjg.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./model-resolver-a1bz86dw.js";
28
+ } from "./persistent-pty-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./persistent-pty-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service59;
45
+ const instances = yield* Service62;
46
46
  const database = yield* Service84;
47
47
  const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service55;
50
- const original = input.session.revert?.snapshot ? ID7.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service47;
50
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service59;
77
+ const instances = yield* Service62;
78
78
  const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service55;
80
+ const snapshot = yield* Service47;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID7.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID7.make(message.snapshot.start));
114
+ files.set(file, ID6.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-fb5x04t9.js";
4
+ } from "./persistent-pty-vpshg2tm.js";
5
5
  import {
6
- Service63,
7
- node67
8
- } from "./model-resolver-z9mxambq.js";
6
+ Service71,
7
+ node75
8
+ } from "./persistent-pty-d4j0d6g7.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-rdw6cm16.js";
11
+ } from "./persistent-pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event13,
21
- ID: () => ID5,
22
- Input: () => Input14,
20
+ Event: () => Event4,
21
+ ID: () => ID4,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service51,
31
+ Service: () => Service20,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node55
33
+ node: () => node23
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event13 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event4 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service51 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service20 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service51, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
69
69
  const bus = yield* Service83;
70
- const kv = yield* Service63;
70
+ const kv = yield* Service71;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service51.of({
127
+ return Service20.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node55 = makeLocationNode({
188
- service: Service51,
187
+ var node23 = makeLocationNode({
188
+ service: Service20,
189
189
  layer,
190
- deps: [node87, node67]
190
+ deps: [node87, node75]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service51, node55, exports_websearch3, Event13 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event4 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options10,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options10 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options10, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service11
3
- } from "./model-resolver-8v5x5jkq.js";
2
+ Service8
3
+ } from "./persistent-pty-dw2g2n7y.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
9
  var exports_compaction2 = {};
10
10
  __export(exports_compaction2, {
11
11
  NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin35
12
+ Plugin: () => Plugin33
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin35 = define({
17
+ var Plugin33 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service11;
21
+ const compaction = yield* Service8;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin35 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin35, exports_compaction2 };
39
+ export { Plugin33, exports_compaction2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID10,
3
- Service70
4
- } from "./model-resolver-fbfs1p3d.js";
2
+ ID14,
3
+ Service76
4
+ } from "./persistent-pty-12ygs1y2.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service70;
12
+ const integrations = yield* Service76;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID10.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./persistent-pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
8
  Service79
9
- } from "./model-resolver-cggswk6d.js";
9
+ } from "./persistent-pty-cr5b1n6y.js";
10
10
  import {
11
- Service52
12
- } from "./model-resolver-ckd8zaaf.js";
11
+ Service56
12
+ } from "./persistent-pty-nax8v91w.js";
13
13
  import {
14
- Service18
15
- } from "./model-resolver-vj84vw6v.js";
14
+ Service26
15
+ } from "./persistent-pty-yrrfxzmt.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-resolver-qh2rvgcy.js";
21
+ } from "./persistent-pty-hrqvzjyr.js";
22
22
  import {
23
- Service74
24
- } from "./model-resolver-71n90aqe.js";
23
+ Service65
24
+ } from "./persistent-pty-wqgbc62j.js";
25
25
  import {
26
- Service21
27
- } from "./model-resolver-frznjamf.js";
26
+ Service17
27
+ } from "./persistent-pty-x75m8cnz.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./persistent-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: () => Input11,
37
- Output: () => Output8,
38
- Plugin: () => Plugin46,
39
- name: () => name11,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input2,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin35,
39
+ name: () => name2,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name11 = "glob";
46
- var Input11 = Schema.Struct({
45
+ var name2 = "glob";
46
+ var Input2 = 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 Input11 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent2 = (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 Plugin46 = {
66
+ var Plugin35 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service52;
70
- const ripgrep = yield* Service18;
69
+ const environment = yield* Service56;
70
+ const ripgrep = yield* Service26;
71
71
  const location = yield* Service79;
72
- const access = yield* Service21;
73
- const permission = yield* Service74;
72
+ const access = yield* Service17;
73
+ const permission = yield* Service65;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name2,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output8,
78
+ input: Input2,
79
+ output: Output2,
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: name11,
86
+ action: name2,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin46 = {
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: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(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 { name11, Input11, Output8, toModelContent6, Plugin46, exports_glob };
128
+ export { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./model-resolver-fb5x04t9.js";
3
+ } from "./persistent-pty-vpshg2tm.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./model-resolver-g0jvtwam.js";
6
+ Event19
7
+ } from "./persistent-pty-x6vejd3b.js";
8
8
  import {
9
- ID10,
9
+ ID14,
10
10
  MethodID2
11
- } from "./model-resolver-fbfs1p3d.js";
11
+ } from "./persistent-pty-12ygs1y2.js";
12
12
  import {
13
13
  key2
14
- } from "./model-resolver-44h5tttr.js";
14
+ } from "./persistent-pty-h6r3nrb9.js";
15
15
  import {
16
- Service19
17
- } from "./model-resolver-4arb9zza.js";
16
+ Service13
17
+ } from "./persistent-pty-k1qrnqst.js";
18
18
  import {
19
- ID9,
19
+ ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./model-resolver-38xyry6s.js";
22
+ } from "./persistent-pty-dy85ckvv.js";
23
23
  import {
24
- ID5,
25
- Input14,
24
+ ID4,
25
+ Input13,
26
26
  Response2
27
- } from "./model-resolver-6jd6xyvr.js";
27
+ } from "./persistent-pty-qfckc8ww.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID5
42
+ providerID: ID4
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
64
64
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
65
65
  function oauth(http) {
66
66
  return {
67
- integrationID: ID10.make("opencode"),
67
+ integrationID: ID14.make("opencode"),
68
68
  method: {
69
69
  id: methodID,
70
70
  type: "oauth",
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service19;
123
+ const managed = yield* Service13;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
153
153
  providers.update(providerID, (provider) => {
154
154
  if (source && source.provider !== provider)
155
155
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
156
- provider.integrationID = ID10.make("opencode");
156
+ provider.integrationID = ID14.make("opencode");
157
157
  if (item.canonical !== undefined)
158
158
  provider.canonical = item.canonical;
159
159
  if (item.name !== undefined)
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
223
223
  sourceConnection: snapshot.connection
224
224
  });
225
225
  }
226
- const item = providers.get(ID9.opencode);
226
+ const item = providers.get(ID13.opencode);
227
227
  if (!item)
228
228
  return;
229
229
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
235
235
  });
236
236
  });
237
237
  yield* ctx.model.transform((models) => {
238
- const item = models.provider.get(ID9.opencode);
238
+ const item = models.provider.get(ID13.opencode);
239
239
  if (!item)
240
240
  return;
241
241
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
269
269
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
270
270
  const token = credential.type === "oauth" ? credential.access : credential.key;
271
271
  const server = yield* normalizeServer(serverUrl(credential));
272
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
272
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
273
273
  query: input.query,
274
274
  providerID: descriptor.providerID
275
275
  }));
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID14,
3
- Service77
4
- } from "./model-resolver-6a9wqxav.js";
2
+ ID10,
3
+ Service68
4
+ } from "./persistent-pty-3h6p5hfd.js";
5
5
  import {
6
6
  Service79
7
- } from "./model-resolver-cggswk6d.js";
7
+ } from "./persistent-pty-cr5b1n6y.js";
8
8
  import {
9
- Service46
10
- } from "./model-resolver-v1n7f3bv.js";
9
+ Service51
10
+ } from "./persistent-pty-bzw5p0v3.js";
11
11
  import {
12
- Service42,
12
+ Service58,
13
13
  args2
14
- } from "./model-resolver-c9fwgwbn.js";
14
+ } from "./persistent-pty-vh5e817s.js";
15
15
  import {
16
- Service26
17
- } from "./model-resolver-fj17ffs4.js";
16
+ Service30
17
+ } from "./persistent-pty-c9ex5cwa.js";
18
18
  import {
19
19
  make10
20
- } from "./model-resolver-snvbvate.js";
20
+ } from "./persistent-pty-ft0qtczr.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./model-resolver-5daktx2q.js";
23
+ } from "./persistent-pty-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./persistent-pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command = {};
30
30
  __export(exports_command, {
31
31
  ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin11
32
+ Plugin: () => Plugin12
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin11 = define({
44
+ var Plugin12 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service46;
47
+ const config = yield* Service51;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,9 +56,9 @@ var Plugin11 = define({
56
56
  });
57
57
  const location = yield* Service79;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service42;
60
- const sessions = yield* Service26;
61
- const agents = yield* Service77;
59
+ const shell = yield* Service58;
60
+ const sessions = yield* Service30;
61
+ const agents = yield* Service68;
62
62
  const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin11 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin11, exports_command };
207
+ export { Plugin12, exports_command };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./persistent-pty-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make3(input) {
8
+ function make5(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make3 };
264
+ export { make5 };