@opencode/core 0.0.0-dev-19992 → 0.0.0-dev-19993

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 (795) 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/{rpc-kz98t5xb.js → pty-026axa4a.js} +24 -24
  8. package/dist/chunks/{rpc-jpmjaseq.js → pty-02xe747d.js} +8 -8
  9. package/dist/chunks/{rpc-aqmrw25w.js → pty-038mqbwm.js} +5 -5
  10. package/dist/chunks/{rpc-bz2g5qqv.js → pty-050w92qt.js} +11 -11
  11. package/dist/chunks/{rpc-6ay8t20q.js → pty-062r8x8b.js} +83 -83
  12. package/dist/chunks/{rpc-m77ynzk7.js → pty-09tf4pjr.js} +83 -83
  13. package/dist/chunks/{rpc-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{rpc-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{rpc-camavqkh.js → pty-0tay0vp0.js} +15 -15
  16. package/dist/chunks/{rpc-q6zxb0dv.js → pty-0w94f9zc.js} +6 -6
  17. package/dist/chunks/{rpc-xyngvbdn.js → pty-1543s7pr.js} +4 -4
  18. package/dist/chunks/{rpc-pf2hb43r.js → pty-15zevn5w.js} +6 -6
  19. package/dist/chunks/{rpc-dc4azbw1.js → pty-192rtf0k.js} +29 -29
  20. package/dist/chunks/{rpc-7q9fqjem.js → pty-1avgqjfw.js} +11 -11
  21. package/dist/chunks/{rpc-wyzj5584.js → pty-1cd81313.js} +11 -11
  22. package/dist/chunks/{rpc-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{rpc-fwsv2j6h.js → pty-1m68c3fq.js} +11 -11
  24. package/dist/chunks/{rpc-cp75n9jp.js → pty-1sn1ktbx.js} +9 -9
  25. package/dist/chunks/{rpc-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  26. package/dist/chunks/{rpc-21r38tys.js → pty-21r38tys.js} +1 -1
  27. package/dist/chunks/{rpc-4nqx0pjw.js → pty-24dx1hrc.js} +10 -10
  28. package/dist/chunks/{rpc-5xbn3wz4.js → pty-29mx63hq.js} +24 -24
  29. package/dist/chunks/{rpc-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{rpc-8r8fhnyb.js → pty-2hvjkdzw.js} +3 -3
  31. package/dist/chunks/{rpc-6pzrsera.js → pty-2s238nn0.js} +169 -169
  32. package/dist/chunks/{rpc-yhs9sve9.js → pty-2sbg9ezb.js} +48 -48
  33. package/dist/chunks/{rpc-7eeptrcw.js → pty-2shksz5k.js} +13 -13
  34. package/dist/chunks/{rpc-h13tab88.js → pty-2sr83qrg.js} +1 -1
  35. package/dist/chunks/{rpc-0ke265bw.js → pty-2w6fc0zt.js} +5 -5
  36. package/dist/chunks/{rpc-4719gnan.js → pty-2yb6xvw8.js} +13 -13
  37. package/dist/chunks/{rpc-zn414pmx.js → pty-3cs1hnzz.js} +16 -16
  38. package/dist/chunks/{rpc-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{rpc-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{rpc-46zfe6jc.js → pty-3q7edt44.js} +14 -14
  41. package/dist/chunks/{rpc-7c7415gy.js → pty-3shkqxcj.js} +6 -6
  42. package/dist/chunks/{rpc-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{rpc-1v4ncvf1.js → pty-3srp75sn.js} +13 -13
  44. package/dist/chunks/{rpc-acpsw7f4.js → pty-3tjpy68d.js} +33 -33
  45. package/dist/chunks/{rpc-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{rpc-85ksh7tn.js → pty-41tykhqn.js} +8 -8
  47. package/dist/chunks/{rpc-62331pxr.js → pty-43kxyya3.js} +12 -12
  48. package/dist/chunks/pty-45th5jwr.js +18 -0
  49. package/dist/chunks/{rpc-nbze6fcs.js → pty-461fsfdt.js} +20 -20
  50. package/dist/chunks/{rpc-ywdz5hzb.js → pty-48yax929.js} +41 -41
  51. package/dist/chunks/{rpc-ykgervwn.js → pty-4cv6vszb.js} +22 -22
  52. package/dist/chunks/{rpc-g1sxm558.js → pty-4e8vs6eh.js} +8 -8
  53. package/dist/chunks/{rpc-gng7q7sj.js → pty-4efdx9rk.js} +16 -16
  54. package/dist/chunks/{rpc-kbw4jcdq.js → pty-4tajgtbv.js} +14 -14
  55. package/dist/chunks/pty-4wwmgmwd.js +26 -0
  56. package/dist/chunks/{rpc-h0c3er1k.js → pty-53gk70sf.js} +9 -9
  57. package/dist/chunks/{rpc-kj09xbws.js → pty-548d8qnr.js} +13 -13
  58. package/dist/chunks/{rpc-n73kz7xx.js → pty-570bm5aw.js} +19 -19
  59. package/dist/chunks/{rpc-5daktx2q.js → pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{rpc-dajadwvy.js → pty-5getdy1k.js} +15 -15
  61. package/dist/chunks/{rpc-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{rpc-x0sran1m.js → pty-5vdyt57w.js} +3 -3
  63. package/dist/chunks/{rpc-cmwkp3r5.js → pty-5yzzbxa7.js} +8 -8
  64. package/dist/chunks/{rpc-0jwsre1p.js → pty-607tc6va.js} +5 -5
  65. package/dist/chunks/{rpc-669tq793.js → pty-669tq793.js} +1 -1
  66. package/dist/chunks/{rpc-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{rpc-5bdbc12f.js → pty-6kg1vfnr.js} +8 -8
  68. package/dist/chunks/{rpc-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{rpc-9g3kc011.js → pty-6ng8rhkc.js} +5 -5
  70. package/dist/chunks/{rpc-qsjcxkdn.js → pty-6rjq4ad6.js} +4 -4
  71. package/dist/chunks/{rpc-b41t4wre.js → pty-6svx4vfh.js} +26 -26
  72. package/dist/chunks/{rpc-y8vnvn5j.js → pty-6wc135vc.js} +25 -25
  73. package/dist/chunks/{rpc-sgaqkpk5.js → pty-6y2kb6da.js} +16 -16
  74. package/dist/chunks/{rpc-8qqdpc26.js → pty-71y3c5ag.js} +27 -27
  75. package/dist/chunks/{rpc-37s12vcn.js → pty-78v47nsk.js} +5 -5
  76. package/dist/chunks/{rpc-yg16m4gh.js → pty-7b6h5z22.js} +23 -23
  77. package/dist/chunks/{rpc-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{rpc-33pnsvg8.js → pty-7g9sy6yd.js} +10 -10
  79. package/dist/chunks/{rpc-xqzh09xr.js → pty-7mr8gmff.js} +4 -4
  80. package/dist/chunks/{rpc-61d3hh45.js → pty-870m6jn5.js} +6 -6
  81. package/dist/chunks/{rpc-8grck6yx.js → pty-879k3rbz.js} +5 -5
  82. package/dist/chunks/{rpc-tcezcvh9.js → pty-89znhe33.js} +4 -4
  83. package/dist/chunks/{rpc-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{rpc-tsfg207r.js → pty-8exbzf8y.js} +17 -17
  85. package/dist/chunks/{rpc-pfherxsy.js → pty-8m27p9j3.js} +10 -10
  86. package/dist/chunks/{rpc-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{rpc-m4hm81g6.js → pty-8pf6zh8g.js} +7 -7
  88. package/dist/chunks/{rpc-nxbb8fxw.js → pty-8vhnwsrf.js} +70 -70
  89. package/dist/chunks/{rpc-h6r3nrb9.js → pty-8z00fdkb.js} +4 -4
  90. package/dist/chunks/{rpc-mf9m2v67.js → pty-93hpb89x.js} +3 -3
  91. package/dist/chunks/{rpc-tnb36c60.js → pty-9dvfkq0c.js} +9 -9
  92. package/dist/chunks/{rpc-vkjqcw97.js → pty-9j764z9f.js} +7 -7
  93. package/dist/chunks/{rpc-x7pv6ctg.js → pty-9n5gchmp.js} +26 -26
  94. package/dist/chunks/{rpc-dm31f7ef.js → pty-9pr215e3.js} +16 -16
  95. package/dist/chunks/{rpc-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{rpc-wgz7hchk.js → pty-a5cfpm61.js} +6 -6
  97. package/dist/chunks/{rpc-c8cgma2b.js → pty-a8mkfh3x.js} +11 -11
  98. package/dist/chunks/{rpc-aaet6srn.js → pty-aaet6srn.js} +2 -2
  99. package/dist/chunks/{rpc-2297m39m.js → pty-ab845m4a.js} +23 -23
  100. package/dist/chunks/{rpc-cdgvj2kx.js → pty-abcdk8h0.js} +43 -43
  101. package/dist/chunks/{rpc-8x7dr5w6.js → pty-aemqn3ez.js} +11 -11
  102. package/dist/chunks/{rpc-ndqtf2h8.js → pty-atfs7rhk.js} +9 -9
  103. package/dist/chunks/{rpc-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{rpc-x52z618e.js → pty-ba30f0re.js} +26 -26
  105. package/dist/chunks/{rpc-kg23xgw4.js → pty-bbd5t3cy.js} +29 -29
  106. package/dist/chunks/{rpc-9kmbd9mt.js → pty-be40ghdv.js} +2 -2
  107. package/dist/chunks/{rpc-hfdr1yjj.js → pty-bha4atvq.js} +4 -4
  108. package/dist/chunks/{rpc-zyjq4k38.js → pty-bhteabqx.js} +4 -4
  109. package/dist/chunks/{rpc-5rma0qs2.js → pty-bpckba2r.js} +12 -12
  110. package/dist/chunks/{rpc-j3tj37yg.js → pty-bqa7vndz.js} +24 -24
  111. package/dist/chunks/{rpc-masy0ksy.js → pty-bqjt5s0q.js} +39 -39
  112. package/dist/chunks/{rpc-2kxt5g9w.js → pty-c7w3tbrx.js} +9 -9
  113. package/dist/chunks/{rpc-bccxfgwn.js → pty-ca9wasfp.js} +18 -18
  114. package/dist/chunks/{rpc-b0mytkpx.js → pty-cbc0wxnt.js} +4 -4
  115. package/dist/chunks/{rpc-b4bwt3xa.js → pty-cfhq3gyz.js} +28 -28
  116. package/dist/chunks/{rpc-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{rpc-3j8kvhb5.js → pty-cp1t7mny.js} +23 -23
  118. package/dist/chunks/{rpc-j1xb3v0n.js → pty-czzrymxc.js} +19 -19
  119. package/dist/chunks/{rpc-4crtaem1.js → pty-d386qjdf.js} +3 -3
  120. package/dist/chunks/{rpc-gpgvdg4k.js → pty-d81wp89e.js} +15 -15
  121. package/dist/chunks/{rpc-v200xqhb.js → pty-d8sk975s.js} +24 -24
  122. package/dist/chunks/{rpc-7qg2jrvj.js → pty-dc0f92gk.js} +42 -42
  123. package/dist/chunks/{rpc-gamd18a2.js → pty-dh91zd6a.js} +11 -11
  124. package/dist/chunks/{rpc-g6q9qykm.js → pty-djszqvmq.js} +9 -9
  125. package/dist/chunks/{rpc-y71avatq.js → pty-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{rpc-g8g228df.js → pty-draats0m.js} +5 -5
  127. package/dist/chunks/{rpc-drwq78ky.js → pty-drwq78ky.js} +1 -1
  128. package/dist/chunks/{rpc-nnjbn8t1.js → pty-e163j4jp.js} +15 -15
  129. package/dist/chunks/{rpc-7fy22w40.js → pty-e2sckgsq.js} +24 -24
  130. package/dist/chunks/{rpc-krrb0sne.js → pty-e4y0dkgq.js} +17 -17
  131. package/dist/chunks/{rpc-7y2vz6we.js → pty-e91xfsxp.js} +2 -2
  132. package/dist/chunks/{rpc-s8d7rejh.js → pty-eaj1djv9.js} +6 -6
  133. package/dist/chunks/{rpc-b9ehjk15.js → pty-ecxgrer6.js} +42 -42
  134. package/dist/chunks/{rpc-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{rpc-z4s70jvx.js → pty-ehhpwfhw.js} +32 -32
  136. package/dist/chunks/{rpc-bpm8jz68.js → pty-emca911v.js} +8 -8
  137. package/dist/chunks/{rpc-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{rpc-x6z9f47m.js → pty-esmjnf1q.js} +6 -6
  139. package/dist/chunks/{rpc-deag6zkv.js → pty-et2qvwfy.js} +10 -10
  140. package/dist/chunks/{rpc-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{rpc-y0aq26gy.js → pty-eyx3sbbq.js} +4 -4
  142. package/dist/chunks/{rpc-nr54yvkx.js → pty-f22wqnxv.js} +11 -11
  143. package/dist/chunks/{rpc-f828m53h.js → pty-f828m53h.js} +2 -2
  144. package/dist/chunks/{rpc-byf9gwrr.js → pty-f8fgzrbf.js} +16 -16
  145. package/dist/chunks/{rpc-b8n6587t.js → pty-favr8gmm.js} +13 -13
  146. package/dist/chunks/{rpc-f7nmna5v.js → pty-feqpvc5c.js} +17 -17
  147. package/dist/chunks/{rpc-h57htbpc.js → pty-fmj93vfk.js} +12 -12
  148. package/dist/chunks/{rpc-qfent050.js → pty-frw7gw9n.js} +30 -30
  149. package/dist/chunks/{rpc-wcq0cga2.js → pty-fvkf5gpn.js} +5 -5
  150. package/dist/chunks/{rpc-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{rpc-s2scdk12.js → pty-fya5n5xa.js} +10 -10
  152. package/dist/chunks/{rpc-wrqzf6yv.js → pty-g2eett4k.js} +8 -8
  153. package/dist/chunks/{rpc-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{rpc-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{rpc-yrdhjzv2.js → pty-h0sprvfa.js} +46 -46
  156. package/dist/chunks/{rpc-2d5yg9xz.js → pty-h53kmbdm.js} +48 -48
  157. package/dist/chunks/{rpc-aacxctvt.js → pty-h61ncxx5.js} +8 -8
  158. package/dist/chunks/{rpc-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{rpc-1v9d934k.js → pty-ha666rq4.js} +3 -3
  160. package/dist/chunks/{rpc-2y0xkqje.js → pty-hm7r1852.js} +15 -15
  161. package/dist/chunks/{rpc-bz85s9hh.js → pty-hqmr0w3b.js} +1 -1
  162. package/dist/chunks/{rpc-xvr811ke.js → pty-hs74x4gh.js} +4 -4
  163. package/dist/chunks/{rpc-er62cyqb.js → pty-hsgwpaad.js} +12 -12
  164. package/dist/chunks/{rpc-vvaf4j8d.js → pty-hwdkr1sy.js} +9 -9
  165. package/dist/chunks/{rpc-x23ksf4z.js → pty-j1fnkb2v.js} +23 -23
  166. package/dist/chunks/{rpc-csw9sj5x.js → pty-j2zz4nqv.js} +15 -15
  167. package/dist/chunks/{rpc-j56e64zr.js → pty-j56e64zr.js} +1 -1
  168. package/dist/chunks/{rpc-q4r160dw.js → pty-j69p7kth.js} +22 -22
  169. package/dist/chunks/{rpc-jncpz27z.js → pty-j7c1rfea.js} +21 -21
  170. package/dist/chunks/{rpc-9xfcchtv.js → pty-jbtd89qx.js} +13 -13
  171. package/dist/chunks/{rpc-5113vt88.js → pty-jgq9btc2.js} +43 -43
  172. package/dist/chunks/{rpc-q4fmv0xv.js → pty-jgttmm4a.js} +5 -5
  173. package/dist/chunks/{rpc-4mwpykj0.js → pty-jhf3jymm.js} +6 -6
  174. package/dist/chunks/{rpc-bqp9ajbn.js → pty-jt4eq04m.js} +36 -36
  175. package/dist/chunks/{rpc-8bhhfc6h.js → pty-jz67am5p.js} +9 -9
  176. package/dist/chunks/{rpc-f5gy8qwh.js → pty-k1qrnqst.js} +8 -8
  177. package/dist/chunks/{rpc-me8pr9wv.js → pty-k5t1vn2m.js} +21 -21
  178. package/dist/chunks/{rpc-p3xc4xks.js → pty-kcnwc050.js} +27 -27
  179. package/dist/chunks/{rpc-fkjmw100.js → pty-knb7evpn.js} +6 -6
  180. package/dist/chunks/{rpc-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{rpc-tmw1rwa9.js → pty-m5j28g6y.js} +10 -10
  182. package/dist/chunks/{rpc-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{rpc-k1t2850w.js → pty-mbfxv7fw.js} +32 -32
  184. package/dist/chunks/{rpc-fmmg8gc5.js → pty-mfcw5yns.js} +5 -5
  185. package/dist/chunks/{rpc-mvfsc1pv.js → pty-mhkvc446.js} +3 -3
  186. package/dist/chunks/{rpc-3dfwtr57.js → pty-mkmvax1f.js} +8 -8
  187. package/dist/chunks/{rpc-gp5jhmvj.js → pty-mx7gy8pb.js} +5 -5
  188. package/dist/chunks/{rpc-whzfsptd.js → pty-mys1tqp3.js} +30 -30
  189. package/dist/chunks/{rpc-tafc1fk6.js → pty-nbgyd66e.js} +19 -19
  190. package/dist/chunks/{rpc-f0e6pqyf.js → pty-njs4fkas.js} +15 -15
  191. package/dist/chunks/{rpc-6ec6cttg.js → pty-nkasj3c8.js} +7 -7
  192. package/dist/chunks/{rpc-m2d0j7c0.js → pty-nscznvay.js} +9 -9
  193. package/dist/chunks/{rpc-vdbh6zs4.js → pty-nt2pe6m8.js} +21 -21
  194. package/dist/chunks/{rpc-15nepkqg.js → pty-nw53exab.js} +8 -8
  195. package/dist/chunks/{rpc-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{rpc-zh982f6d.js → pty-p1cpmwyf.js} +19 -19
  197. package/dist/chunks/{rpc-nxts5t6n.js → pty-p1zevnby.js} +31 -31
  198. package/dist/chunks/{rpc-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{rpc-xvehhaav.js → pty-p7p04q1a.js} +11 -11
  200. package/dist/chunks/{rpc-0se06039.js → pty-p7zm9vnn.js} +18 -18
  201. package/dist/chunks/{rpc-ehmp4g5w.js → pty-p8z07maz.js} +18 -18
  202. package/dist/chunks/{rpc-ykv3t8te.js → pty-pcfkrm12.js} +4 -4
  203. package/dist/chunks/{rpc-cr07tj7n.js → pty-pecb0brz.js} +5 -5
  204. package/dist/chunks/{rpc-3qxgsv5e.js → pty-pekx08ex.js} +24 -24
  205. package/dist/chunks/{rpc-a3hs1tdx.js → pty-pf0d5y53.js} +154 -154
  206. package/dist/chunks/{rpc-8tsdq50x.js → pty-ph842b28.js} +4 -4
  207. package/dist/chunks/{rpc-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{rpc-pknna89w.js → pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{rpc-t9zs3egg.js → pty-pmr4s4kc.js} +4 -4
  210. package/dist/chunks/{rpc-wpx0pb6f.js → pty-pvcnmygp.js} +18 -18
  211. package/dist/chunks/{rpc-a3b89sp2.js → pty-q40w5akv.js} +1 -1
  212. package/dist/chunks/{rpc-pnkbpv6t.js → pty-q58mka6k.js} +9 -9
  213. package/dist/chunks/{rpc-74daz04t.js → pty-qggqx5pb.js} +20 -20
  214. package/dist/chunks/{rpc-510m7gjw.js → pty-qjnxxf51.js} +5 -5
  215. package/dist/chunks/{rpc-3qw13626.js → pty-qr8qa9bm.js} +27 -27
  216. package/dist/chunks/{rpc-qcps4ny8.js → pty-qrrcqbrg.js} +11 -11
  217. package/dist/chunks/{rpc-qsdy395h.js → pty-qsdy395h.js} +1 -1
  218. package/dist/chunks/pty-qtvmxc8s.js +4 -0
  219. package/dist/chunks/{rpc-3vc7fpqj.js → pty-r7pg2k45.js} +28 -28
  220. package/dist/chunks/{rpc-b0dgvpy7.js → pty-r9w3djhf.js} +9 -9
  221. package/dist/chunks/{rpc-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{rpc-yrbh5b2w.js → pty-rf2pre7z.js} +16 -16
  223. package/dist/chunks/{rpc-98frrk71.js → pty-rgch3z0v.js} +18 -18
  224. package/dist/chunks/{rpc-d57gtw90.js → pty-rp6xkheg.js} +3 -3
  225. package/dist/chunks/{rpc-c2786m8r.js → pty-rrfm0vdv.js} +14 -14
  226. package/dist/chunks/{rpc-dm30ym2f.js → pty-rsf4gv7k.js} +20 -20
  227. package/dist/chunks/{rpc-xgsnkr8v.js → pty-rt43k5p5.js} +32 -32
  228. package/dist/chunks/{rpc-6rtsw9n4.js → pty-rxdxv3zs.js} +14 -14
  229. package/dist/chunks/{rpc-sgvwkv8e.js → pty-rzz4s24w.js} +25 -25
  230. package/dist/chunks/{rpc-ctzssw83.js → pty-s0agc963.js} +8 -8
  231. package/dist/chunks/{rpc-0ph59fht.js → pty-s1x3xehd.js} +2 -2
  232. package/dist/chunks/{rpc-tzb6e3r6.js → pty-s23akgaf.js} +5 -5
  233. package/dist/chunks/{rpc-ktjtecaw.js → pty-s4w9dbtc.js} +8 -8
  234. package/dist/chunks/{rpc-bgg2t0gn.js → pty-s9na07f2.js} +11 -11
  235. package/dist/chunks/{rpc-magykp64.js → pty-sez5jh81.js} +4 -4
  236. package/dist/chunks/{rpc-r0wq7eep.js → pty-sgb290x0.js} +17 -17
  237. package/dist/chunks/{rpc-c585n4t8.js → pty-sk7gk9f5.js} +10 -10
  238. package/dist/chunks/{rpc-bwdf5y29.js → pty-t3444mmx.js} +3 -3
  239. package/dist/chunks/{rpc-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{rpc-nhsqghgk.js → pty-tct3dq34.js} +43 -43
  241. package/dist/chunks/{rpc-tdstcens.js → pty-tdstcens.js} +1 -1
  242. package/dist/chunks/{rpc-wqhxb2kt.js → pty-texm17j6.js} +24 -24
  243. package/dist/chunks/{rpc-sxz6gkc3.js → pty-tkmwgdpd.js} +4 -4
  244. package/dist/chunks/{rpc-1rn8gmsz.js → pty-tms1td0z.js} +48 -48
  245. package/dist/chunks/{rpc-v64nhsy3.js → pty-tpnwfd5g.js} +6 -6
  246. package/dist/chunks/{rpc-tvtrv512.js → pty-tvtrv512.js} +1 -1
  247. package/dist/chunks/{rpc-cwtqxc7t.js → pty-typarb9b.js} +17 -17
  248. package/dist/chunks/{rpc-zcrspsvn.js → pty-tz4n1mmd.js} +4 -4
  249. package/dist/chunks/{rpc-y49qhy70.js → pty-v2cwp70s.js} +47 -47
  250. package/dist/chunks/{rpc-2edszpwc.js → pty-vbwvxk55.js} +4 -4
  251. package/dist/chunks/{rpc-veqvce7d.js → pty-veqvce7d.js} +1 -1
  252. package/dist/chunks/{rpc-06dxphr1.js → pty-vj81g6vn.js} +4 -4
  253. package/dist/chunks/{rpc-y468816p.js → pty-vqwxbh15.js} +13 -13
  254. package/dist/chunks/{rpc-vahxzr05.js → pty-vw2351hj.js} +5 -5
  255. package/dist/chunks/{rpc-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{rpc-kv8ny5cf.js → pty-w2xf1871.js} +21 -21
  257. package/dist/chunks/{rpc-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{rpc-pb1eahw5.js → pty-w97g4k0g.js} +8 -8
  259. package/dist/chunks/{rpc-wjnjc2hh.js → pty-w9ka22cp.js} +29 -29
  260. package/dist/chunks/{rpc-wd87259q.js → pty-wd87259q.js} +1 -1
  261. package/dist/chunks/{rpc-15rq8gy3.js → pty-wwpq4dkc.js} +321 -321
  262. package/dist/chunks/{rpc-pb231g4a.js → pty-wx15ps39.js} +11 -11
  263. package/dist/chunks/{rpc-c6s6jqnn.js → pty-x10m976v.js} +30 -30
  264. package/dist/chunks/{rpc-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{rpc-4nx2vdbr.js → pty-x2jawspn.js} +7 -7
  266. package/dist/chunks/{rpc-gg4dpy88.js → pty-x2rw7g36.js} +5 -5
  267. package/dist/chunks/{rpc-20b89835.js → pty-xc8wbe60.js} +25 -25
  268. package/dist/chunks/{rpc-wawr4bz0.js → pty-xcz1w3cx.js} +26 -26
  269. package/dist/chunks/{rpc-wrgat8t0.js → pty-xhrfypmh.js} +35 -35
  270. package/dist/chunks/{rpc-97fmyryk.js → pty-xj2v2q7r.js} +3 -3
  271. package/dist/chunks/{rpc-zp98706c.js → pty-xkr6cyjb.js} +16 -16
  272. package/dist/chunks/{rpc-hm0xnccw.js → pty-xvnj5msj.js} +3 -3
  273. package/dist/chunks/{rpc-ay8pchpw.js → pty-xya6rnzh.js} +5 -5
  274. package/dist/chunks/{rpc-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{rpc-psmbgs7g.js → pty-y9g97vsr.js} +30 -30
  276. package/dist/chunks/{rpc-f2n192rq.js → pty-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{rpc-7vb1rapr.js → pty-yrbxk7kt.js} +20 -20
  278. package/dist/chunks/{rpc-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{rpc-yrznvahk.js → pty-yrznvahk.js} +2 -2
  280. package/dist/chunks/{rpc-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{rpc-z63w68vq.js → pty-z63w68vq.js} +2 -2
  282. package/dist/chunks/{rpc-q9qmz9bt.js → pty-z7br6qex.js} +34 -34
  283. package/dist/chunks/{rpc-s1myyttd.js → pty-zab6dek8.js} +22 -22
  284. package/dist/chunks/{rpc-y375z6cy.js → pty-zcc1n10w.js} +6 -6
  285. package/dist/chunks/{rpc-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{rpc-1yv8ewat.js → pty-zg5t6seb.js} +11 -11
  287. package/dist/chunks/{rpc-86ptwy60.js → pty-zqpw1c2p.js} +24 -24
  288. package/dist/chunks/{rpc-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{rpc-wmk5945b.js → pty-zxeq00ty.js} +16 -16
  290. package/dist/chunks/{rpc-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +3 -3
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +68 -68
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +95 -95
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +112 -112
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +81 -81
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +85 -85
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +121 -121
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +104 -104
  648. package/dist/tool/plugin/subagent.js +216 -216
  649. package/dist/tool/plugin/webfetch.js +111 -111
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +97 -97
  696. package/package.json +8 -8
  697. package/dist/chunks/rpc-0mesazry.js +0 -4
  698. package/dist/chunks/rpc-619r8v3y.js +0 -18
  699. package/dist/chunks/rpc-jmgc3nby.js +0 -26
  700. /package/dist/chunks/{rpc-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{rpc-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{rpc-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{rpc-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{rpc-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{rpc-24dcb14g.js → pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{rpc-2710q6r3.js → pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{rpc-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{rpc-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{rpc-359p4xyc.js → pty-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{rpc-3asan66x.js → pty-3asan66x.js} +0 -0
  711. /package/dist/chunks/{rpc-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{rpc-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{rpc-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{rpc-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{rpc-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{rpc-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{rpc-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{rpc-53557ph1.js → pty-53557ph1.js} +0 -0
  719. /package/dist/chunks/{rpc-550bvhaj.js → pty-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{rpc-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{rpc-6prwharc.js → pty-6prwharc.js} +0 -0
  722. /package/dist/chunks/{rpc-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{rpc-7m9af43g.js → pty-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{rpc-822emrt2.js → pty-822emrt2.js} +0 -0
  725. /package/dist/chunks/{rpc-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{rpc-8n3pysct.js → pty-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{rpc-922hggd3.js → pty-922hggd3.js} +0 -0
  728. /package/dist/chunks/{rpc-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{rpc-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{rpc-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{rpc-af5trqkr.js → pty-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{rpc-afrmfg78.js → pty-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{rpc-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{rpc-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{rpc-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{rpc-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{rpc-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{rpc-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{rpc-d9fn303g.js → pty-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{rpc-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{rpc-dajrwvna.js → pty-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{rpc-dap0rakb.js → pty-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{rpc-df08tz66.js → pty-df08tz66.js} +0 -0
  744. /package/dist/chunks/{rpc-dy18nga0.js → pty-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{rpc-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{rpc-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{rpc-ec1grn59.js → pty-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{rpc-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{rpc-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{rpc-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{rpc-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{rpc-faypxj3z.js → pty-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{rpc-fd410y7t.js → pty-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{rpc-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{rpc-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{rpc-g86h250q.js → pty-g86h250q.js} +0 -0
  757. /package/dist/chunks/{rpc-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{rpc-gftt206x.js → pty-gftt206x.js} +0 -0
  759. /package/dist/chunks/{rpc-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{rpc-hk9envan.js → pty-hk9envan.js} +0 -0
  761. /package/dist/chunks/{rpc-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{rpc-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{rpc-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{rpc-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{rpc-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{rpc-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{rpc-mp448xyj.js → pty-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{rpc-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{rpc-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{rpc-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{rpc-njntx4h6.js → pty-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{rpc-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{rpc-q74kybfr.js → pty-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{rpc-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{rpc-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{rpc-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{rpc-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{rpc-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{rpc-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{rpc-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{rpc-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{rpc-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{rpc-twg0f83k.js → pty-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{rpc-w803qqfp.js → pty-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{rpc-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{rpc-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{rpc-wtztk69x.js → pty-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{rpc-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{rpc-x61499pn.js → pty-x61499pn.js} +0 -0
  790. /package/dist/chunks/{rpc-y44na4kk.js → pty-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{rpc-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{rpc-y8f7s663.js → pty-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{rpc-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{rpc-ym463w8f.js → pty-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{rpc-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./rpc-0paq2nw3.js";
4
+ } from "./pty-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./rpc-wjnjc2hh.js";
7
+ } from "./pty-w9ka22cp.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./rpc-kg23xgw4.js";
11
+ } from "./pty-bbd5t3cy.js";
12
12
  import {
13
13
  __export
14
- } from "./rpc-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./rpc-tvtrv512.js";
3
+ } from "./pty-tvtrv512.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./rpc-d57gtw90.js";
7
+ } from "./pty-rp6xkheg.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./rpc-gftt206x.js";
10
+ } from "./pty-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./rpc-mf9m2v67.js";
13
+ } from "./pty-93hpb89x.js";
14
14
  import {
15
15
  __export
16
- } from "./rpc-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service45,
22
+ Service: () => Service39,
23
23
  make: () => make17,
24
- node: () => node47
24
+ node: () => node41
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service45 extends Context.Service()("@opencode/Job") {
54
+ class Service39 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service45.of({
349
+ return Service39.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service45, make17);
362
- var node47 = makeGlobalNode({ service: Service45, layer, deps: [node86] });
361
+ var layer = Layer.effect(Service39, make17);
362
+ var node41 = makeGlobalNode({ service: Service39, layer, deps: [node86] });
363
363
 
364
- export { Service45, make17, node47, exports_job };
364
+ export { Service39, make17, node41, exports_job };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-pb231g4a.js";
3
+ } from "./pty-wx15ps39.js";
4
4
  import {
5
5
  call2
6
- } from "./rpc-56gdpj1q.js";
6
+ } from "./pty-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-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: () => Plugin35,
14
+ Plugin: () => Plugin9,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint6
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 endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint6 = "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 Plugin35 = define({
50
+ var Plugin9 = 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 Plugin35 = 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, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin35 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin35, exports_parallel };
96
+ export { endpoint6, Plugin9, exports_parallel };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./rpc-922hggd3.js";
4
+ } from "./pty-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service80,
9
9
  node84
10
- } from "./rpc-9g3kc011.js";
10
+ } from "./pty-6ng8rhkc.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./rpc-0ph59fht.js";
14
+ } from "./pty-s1x3xehd.js";
15
15
  import {
16
16
  create3
17
- } from "./rpc-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./rpc-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID4,
27
- Service: () => Service37,
27
+ Service: () => Service40,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
30
- noopLayer: () => noopLayer2
29
+ node: () => node42,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service37 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service40 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service37, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service80;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node40 = makeLocationNode({
144
- service: Service37,
143
+ var node42 = makeLocationNode({
144
+ service: Service40,
145
145
  layer,
146
146
  deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
148
+ var noopLayer3 = Layer.succeed(Service40, Service40.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error2, Service40, node42, noopLayer3, exports_snapshot2 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./rpc-922hggd3.js";
5
+ } from "./pty-922hggd3.js";
6
6
  import {
7
- Service54,
8
- node56
9
- } from "./rpc-me8pr9wv.js";
7
+ Service62,
8
+ node65
9
+ } from "./pty-k5t1vn2m.js";
10
10
  import {
11
11
  Content2
12
- } from "./rpc-3qw13626.js";
12
+ } from "./pty-qr8qa9bm.js";
13
13
  import {
14
14
  detect2
15
- } from "./rpc-3smtnn6g.js";
15
+ } from "./pty-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./rpc-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node9,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service8, Effect.gen(function* () {
330
- const environment = yield* Service54;
331
- return Service8.of({
329
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
330
+ const environment = yield* Service62;
331
+ return Service7.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node10 = makeLocationNode({ service: Service8, layer, deps: [node56] });
336
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node65] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./rpc-2edszpwc.js";
4
+ } from "./pty-vbwvxk55.js";
5
5
  import {
6
6
  create3
7
- } from "./rpc-rdw6cm16.js";
7
+ } from "./pty-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./rpc-yhs9sve9.js";
10
+ } from "./pty-2sbg9ezb.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event6,
21
- ID: () => ID5,
22
- Info: () => Info6,
20
+ Event: () => Event5,
21
+ ID: () => ID3,
22
+ Info: () => Info14,
23
23
  Name: () => Name2,
24
- Service: () => Service46,
24
+ Service: () => Service33,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node48,
29
+ node: () => node36,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event6 } from "@opencode/schema/skill";
37
+ import { Event as Event5 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info6 = Skill.Info;
43
- var ID5 = Skill.ID;
42
+ var Info14 = Skill.Info;
43
+ var ID3 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service46 extends Context.Service()("@opencode/Skill") {
74
+ class Service33 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service46, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID3.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID3.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID3.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID3.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service46.of({
100
+ return Service33.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node48 = makeLocationNode({
112
- service: Service46,
111
+ var node36 = makeLocationNode({
112
+ service: Service33,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service46, node48, exports_skill5, Event6 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info14, ID3, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./rpc-2edszpwc.js";
4
+ } from "./pty-vbwvxk55.js";
5
5
  import {
6
6
  create3
7
- } from "./rpc-rdw6cm16.js";
7
+ } from "./pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event13,
18
- ID: () => ID10,
19
- Info: () => Info24,
17
+ Event: () => Event17,
18
+ ID: () => ID14,
19
+ Info: () => Info28,
20
20
  Name: () => Name3,
21
- Service: () => Service66,
21
+ Service: () => Service68,
22
22
  defaultID: () => defaultID2,
23
- node: () => node70
23
+ node: () => node72
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event13 } from "@opencode/schema/agent";
30
+ import { Event as Event17 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID10 = Agent.ID;
33
+ var ID14 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID10.make("build");
35
+ var defaultID2 = ID14.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info24 = Agent.Info;
37
+ var Info28 = Agent.Info;
38
38
 
39
- class Service66 extends Context.Service()("@opencode/Agent") {
39
+ class Service68 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info24.default(id);
60
+ const defaults = Info28.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID10.make("build")));
82
+ const build = selectable(data.agents.get(ID14.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service66.of({
91
+ return Service68.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID10.make(id));
99
+ return state.get().agents.get(ID14.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID10.make(id);
104
+ const selected = ID14.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node70 = makeLocationNode({ service: Service66, layer, deps: [node87, Global.node] });
119
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID10, Name3, defaultID2, Color2, Info24, Service66, node70, exports_agent4, Event13 };
121
+ export { ID14, Name3, defaultID2, Color2, Info28, Service68, node72, exports_agent4, Event17 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./rpc-y71avatq.js";
3
+ } from "./pty-dpkg50ah.js";
4
4
  import {
5
- Service54,
6
- node56
7
- } from "./rpc-me8pr9wv.js";
5
+ Service62,
6
+ node65
7
+ } from "./pty-k5t1vn2m.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service15,
17
- node: () => node17,
16
+ Service: () => Service61,
17
+ node: () => node64,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service15 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service61 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service15, Effect.gen(function* () {
38
- const environment = yield* Service54;
37
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
38
+ const environment = yield* Service62;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service15.of({ withLock, write, writeTextPreservingBom });
59
+ return Service61.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node17 = makeLocationNode({ service: Service15, layer, deps: [node56] });
61
+ var node64 = makeLocationNode({ service: Service61, layer, deps: [node65] });
62
62
 
63
- export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
63
+ export { Service61, readText2, syncTextBom2, node64, exports_file_mutation };